LavaPack.loadBundle([[7572,{"@remix-run/router":5267,react:7592},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/**
 * React Router v6.30.4
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
!function(n,i){"object"==typeof r&&void 0!==t?i(r,e("react"),e("@remix-run/router")):"function"==typeof define&&define.amd?define(["exports","react","@remix-run/router"],i):i((n="undefined"!=typeof globalThis?globalThis:n||self).ReactRouter={},n.React,n.RemixRouter)}(this,function(e,t,r){function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var i=n(t);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o.apply(null,arguments)}const a=i.createContext(null);a.displayName="DataRouter";const s=i.createContext(null);s.displayName="DataRouterState";const u=i.createContext(null);u.displayName="Await";const l=i.createContext(null);l.displayName="Navigation";const c=i.createContext(null);c.displayName="Location";const f=i.createContext({outlet:null,matches:[],isDataRoute:!1});f.displayName="Route";const d=i.createContext(null);function h(){return null!=i.useContext(c)}function p(){return h()||r.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),i.useContext(c).location}d.displayName="RouteError";const b="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function m(e){i.useContext(l).static||i.useLayoutEffect(e)}function g(){let{isDataRoute:e}=i.useContext(f);return e?function(){let{router:e}=I(P.UseNavigateStable),t=M(k.UseNavigateStable),n=i.useRef(!1);return m(()=>{n.current=!0}),i.useCallback(function(i,a){void 0===a&&(a={}),r.UNSAFE_warning(n.current,b),n.current&&("number"==typeof i?e.navigate(i):e.navigate(i,o({fromRouteId:t},a)))},[e,t])}():function(){h()||r.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let e=i.useContext(a),{basename:t,future:n,navigator:o}=i.useContext(l),{matches:s}=i.useContext(f),{pathname:u}=p(),c=JSON.stringify(r.UNSAFE_getResolveToMatches(s,n.v7_relativeSplatPath)),d=i.useRef(!1);return m(()=>{d.current=!0}),i.useCallback(function(n,i){if(void 0===i&&(i={}),r.UNSAFE_warning(d.current,b),!d.current)return;if("number"==typeof n)return void o.go(n);let a=r.resolveTo(n,JSON.parse(c),u,"path"===i.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:r.joinPaths([t,a.pathname])),(i.replace?o.replace:o.push)(a,i.state,i)},[t,o,c,u,e])}()}const y=i.createContext(null);function v(e){let t=i.useContext(f).outlet;return t?i.createElement(y.Provider,{value:e},t):t}function w(e,t){let{relative:n}=void 0===t?{}:t,{future:o}=i.useContext(l),{matches:a}=i.useContext(f),{pathname:s}=p(),u=JSON.stringify(r.UNSAFE_getResolveToMatches(a,o.v7_relativeSplatPath));return i.useMemo(()=>r.resolveTo(e,JSON.parse(u),s,"path"===n),[e,u,s,n])}function _(e,t){return E(e,t)}function E(e,t,n,a){h()||r.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=i.useContext(l),{matches:u}=i.useContext(f),d=u[u.length-1],b=d?d.params:{},m=d?d.pathname:"/",g=d?d.pathnameBase:"/",y=d&&d.route;{let e=y&&y.path||"";B(m,!y||e.endsWith("*"),'You rendered descendant <Routes> (or called `useRoutes()`) at "'+m+'" (under <Route path="'+e+'">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won\'t match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="'+e+'"> to <Route path="'+("/"===e?"*":e+"/*")+'">.')}let v,w=p();if(t){var _;let e="string"==typeof t?r.parsePath(t):t;"/"===g||(null==(_=e.pathname)?void 0:_.startsWith(g))||r.UNSAFE_invariant(!1,'When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "'+g+'" but pathname "'+e.pathname+'" was given in the `location` prop.'),v=e}else v=w;let E=v.pathname||"/",j=E;if("/"!==g){let e=g.replace(/^\//,"").split("/");j="/"+E.replace(/^\//,"").split("/").slice(e.length).join("/")}let S=r.matchRoutes(e,{pathname:j});r.UNSAFE_warning(y||null!=S,'No routes matched location "'+v.pathname+v.search+v.hash+'" '),r.UNSAFE_warning(null==S||S[S.length-1].route.element!==undefined||S[S.length-1].route.Component!==undefined||S[S.length-1].route.lazy!==undefined,'Matched leaf route at location "'+v.pathname+v.search+v.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let T=O(S&&S.map(e=>Object.assign({},e,{params:Object.assign({},b,e.params),pathname:r.joinPaths([g,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?g:r.joinPaths([g,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),u,n,a);return t&&T?i.createElement(c.Provider,{value:{location:o({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:r.Action.Pop}},T):T}function j(){let e=L(),t=r.isRouteErrorResponse(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:o},s={padding:"2px 4px",backgroundColor:o},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=i.createElement(i.Fragment,null,i.createElement("p",null,"💿 Hey developer 👋"),i.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",i.createElement("code",{style:s},"ErrorBoundary")," or"," ",i.createElement("code",{style:s},"errorElement")," prop on your route.")),i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),n?i.createElement("pre",{style:a},n):null,u)}const S=i.createElement(j,null);class T extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==undefined?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==undefined?i.createElement(f.Provider,{value:this.props.routeContext},i.createElement(d.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function x(e){let{routeContext:t,match:r,children:n}=e,o=i.useContext(a);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),i.createElement(f.Provider,{value:t},n)}function O(e,t,n,o){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===o&&(o=null),null==e){var s;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(s=o)&&s.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let u=e,l=null==(a=n)?void 0:a.errors;if(null!=l){let e=u.findIndex(e=>e.route.id&&(null==l?void 0:l[e.route.id])!==undefined);e>=0||r.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(l).join(",")),u=u.slice(0,Math.min(u.length,e+1))}let c=!1,f=-1;if(n&&o&&o.v7_partialHydration)for(let e=0;e<u.length;e++){let t=u[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(f=e),t.route.id){let{loaderData:e,errors:r}=n,i=t.route.loader&&e[t.route.id]===undefined&&(!r||r[t.route.id]===undefined);if(t.route.lazy||i){c=!0,u=f>=0?u.slice(0,f+1):[u[0]];break}}}return u.reduceRight((e,r,o)=>{let a,s=!1,d=null,h=null;n&&(a=l&&r.route.id?l[r.route.id]:undefined,d=r.route.errorElement||S,c&&(f<0&&0===o?(B("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),s=!0,h=null):f===o&&(s=!0,h=r.route.hydrateFallbackElement||null)));let p=t.concat(u.slice(0,o+1)),b=()=>{let t;return t=a?d:s?h:r.route.Component?i.createElement(r.route.Component,null):r.route.element?r.route.element:e,i.createElement(x,{match:r,routeContext:{outlet:e,matches:p,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?i.createElement(T,{location:n.location,revalidation:n.revalidation,component:d,error:a,children:b(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):b()},null)}var P=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(P||{}),k=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(k||{});function A(e){return e+" must be used within a data router.  See https://reactrouter.com/v6/routers/picking-a-router."}function I(e){let t=i.useContext(a);return t||r.UNSAFE_invariant(!1,A(e)),t}function R(e){let t=i.useContext(s);return t||r.UNSAFE_invariant(!1,A(e)),t}function M(e){let t=function(e){let t=i.useContext(f);return t||r.UNSAFE_invariant(!1,A(e)),t}(e),n=t.matches[t.matches.length-1];return n.route.id||r.UNSAFE_invariant(!1,e+' can only be used on routes that contain a unique "id"'),n.route.id}function L(){var e;let t=i.useContext(d),r=R(k.UseRouteError),n=M(k.UseRouteError);return t!==undefined?t:null==(e=r.errors)?void 0:e[n]}function C(){let e=i.useContext(u);return null==e?void 0:e._data}let F=0;const N={};function B(e,t,n){t||N[e]||(N[e]=!0,r.UNSAFE_warning(!1,n))}const D={};const U=(e,t,r)=>{var n;D[n="⚠️ React Router Future Flag Warning: "+t+". You can use the `"+e+"` future flag to opt-in early. For more information, see "+r+"."]||(D[n]=!0,console.warn(n))};function H(e,t){(null==e?void 0:e.v7_startTransition)===undefined&&U("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(null==e?void 0:e.v7_relativeSplatPath)!==undefined||t&&t.v7_relativeSplatPath!==undefined||U("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(t.v7_fetcherPersist===undefined&&U("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),t.v7_normalizeFormMethod===undefined&&U("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),t.v7_partialHydration===undefined&&U("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),t.v7_skipActionErrorRevalidation===undefined&&U("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}const $=i.startTransition;function G(e){let{routes:t,future:r,state:n}=e;return E(t,undefined,n,r)}function W(e){r.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function z(e){let{basename:t="/",children:n=null,location:a,navigationType:s=r.Action.Pop,navigator:u,static:f=!1,future:d}=e;h()&&r.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=t.replace(/^\/*/,"/"),b=i.useMemo(()=>({basename:p,navigator:u,static:f,future:o({v7_relativeSplatPath:!1},d)}),[p,d,u,f]);"string"==typeof a&&(a=r.parsePath(a));let{pathname:m="/",search:g="",hash:y="",state:v=null,key:w="default"}=a,_=i.useMemo(()=>{let e=r.stripBasename(m,p);return null==e?null:{location:{pathname:e,search:g,hash:y,state:v,key:w},navigationType:s}},[p,m,g,y,v,w,s]);return r.UNSAFE_warning(null!=_,'<Router basename="'+p+'"> is not able to match the URL "'+m+g+y+"\" because it does not start with the basename, so the <Router> won't render anything."),null==_?null:i.createElement(l.Provider,{value:b},i.createElement(c.Provider,{children:n,value:_}))}var q=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(q||{});const V=new Promise(()=>{});class K extends i.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:n}=this.props,o=null,a=q.pending;if(n instanceof Promise)if(this.state.error){a=q.error;let e=this.state.error;o=Promise.reject().catch(()=>{}),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_error",{get:()=>e})}else n._tracked?(o=n,a="_error"in o?q.error:"_data"in o?q.success:q.pending):(a=q.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),o=n.then(e=>Object.defineProperty(n,"_data",{get:()=>e}),e=>Object.defineProperty(n,"_error",{get:()=>e})));else a=q.success,o=Promise.resolve(),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_data",{get:()=>n});if(a===q.error&&o._error instanceof r.AbortedDeferredError)throw V;if(a===q.error&&!t)throw o._error;if(a===q.error)return i.createElement(u.Provider,{value:o,children:t});if(a===q.success)return i.createElement(u.Provider,{value:o,children:e});throw o}}function Y(e){let{children:t}=e,r=C(),n="function"==typeof t?t(r):t;return i.createElement(i.Fragment,null,n)}function X(e,t){void 0===t&&(t=[]);let n=[];return i.Children.forEach(e,(e,o)=>{if(!i.isValidElement(e))return;let a=[...t,o];if(e.type===i.Fragment)return void n.push.apply(n,X(e.props.children,a));e.type!==W&&r.UNSAFE_invariant(!1,"["+("string"==typeof e.type?e.type:e.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),e.props.index&&e.props.children&&r.UNSAFE_invariant(!1,"An index route cannot have child routes.");let s={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=X(e.props.children,a)),n.push(s)}),n}function J(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&(e.element&&r.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:i.createElement(e.Component),Component:undefined})),e.HydrateFallback&&(e.hydrateFallbackElement&&r.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:i.createElement(e.HydrateFallback),HydrateFallback:undefined})),e.ErrorBoundary&&(e.errorElement&&r.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:i.createElement(e.ErrorBoundary),ErrorBoundary:undefined})),t}Object.defineProperty(e,"AbortedDeferredError",{enumerable:!0,get:function(){return r.AbortedDeferredError}}),Object.defineProperty(e,"NavigationType",{enumerable:!0,get:function(){return r.Action}}),Object.defineProperty(e,"createPath",{enumerable:!0,get:function(){return r.createPath}}),Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return r.defer}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return r.generatePath}}),Object.defineProperty(e,"isRouteErrorResponse",{enumerable:!0,get:function(){return r.isRouteErrorResponse}}),Object.defineProperty(e,"json",{enumerable:!0,get:function(){return r.json}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return r.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return r.matchRoutes}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return r.parsePath}}),Object.defineProperty(e,"redirect",{enumerable:!0,get:function(){return r.redirect}}),Object.defineProperty(e,"redirectDocument",{enumerable:!0,get:function(){return r.redirectDocument}}),Object.defineProperty(e,"replace",{enumerable:!0,get:function(){return r.replace}}),Object.defineProperty(e,"resolvePath",{enumerable:!0,get:function(){return r.resolvePath}}),e.Await=function(e){let{children:t,errorElement:r,resolve:n}=e;return i.createElement(K,{resolve:n,errorElement:r},i.createElement(Y,null,t))},e.MemoryRouter=function(e){let{basename:t,children:n,initialEntries:o,initialIndex:a,future:s}=e,u=i.useRef();null==u.current&&(u.current=r.createMemoryHistory({initialEntries:o,initialIndex:a,v5Compat:!0}));let l=u.current,[c,f]=i.useState({action:l.action,location:l.location}),{v7_startTransition:d}=s||{},h=i.useCallback(e=>{d&&$?$(()=>f(e)):f(e)},[f,d]);return i.useLayoutEffect(()=>l.listen(h),[l,h]),i.useEffect(()=>H(s),[s]),i.createElement(z,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:l,future:s})},e.Navigate=function(e){let{to:t,replace:n,state:o,relative:a}=e;h()||r.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:s,static:u}=i.useContext(l);r.UNSAFE_warning(!u,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=i.useContext(f),{pathname:d}=p(),b=g(),m=r.resolveTo(t,r.UNSAFE_getResolveToMatches(c,s.v7_relativeSplatPath),d,"path"===a),y=JSON.stringify(m);return i.useEffect(()=>b(JSON.parse(y),{replace:n,state:o,relative:a}),[b,y,a,n,o]),null},e.Outlet=function(e){return v(e.context)},e.Route=W,e.Router=z,e.RouterProvider=function(e){let{fallbackElement:t,router:n,future:o}=e,[u,l]=i.useState(n.state),{v7_startTransition:c}=o||{},f=i.useCallback(e=>{c&&$?$(()=>l(e)):l(e)},[l,c]);i.useLayoutEffect(()=>n.subscribe(f),[n,f]),i.useEffect(()=>{r.UNSAFE_warning(null==t||!n.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let d=i.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})}),[n]),h=n.basename||"/",p=i.useMemo(()=>({router:n,navigator:d,static:!1,basename:h}),[n,d,h]);return i.useEffect(()=>H(o,n.future),[n,o]),i.createElement(i.Fragment,null,i.createElement(a.Provider,{value:p},i.createElement(s.Provider,{value:u},i.createElement(z,{basename:h,location:u.location,navigationType:u.historyAction,navigator:d,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},u.initialized||n.future.v7_partialHydration?i.createElement(G,{routes:n.routes,future:n.future,state:u}):t))),null)},e.Routes=function(e){let{children:t,location:r}=e;return _(X(t),r)},e.UNSAFE_DataRouterContext=a,e.UNSAFE_DataRouterStateContext=s,e.UNSAFE_LocationContext=c,e.UNSAFE_NavigationContext=l,e.UNSAFE_RouteContext=f,e.UNSAFE_logV6DeprecationWarnings=H,e.UNSAFE_mapRouteProperties=J,e.UNSAFE_useRouteId=function(){return M(k.UseRouteId)},e.UNSAFE_useRoutesImpl=E,e.createMemoryRouter=function(e,t){return r.createRouter({basename:null==t?void 0:t.basename,future:o({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:r.createMemoryHistory({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:J,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()},e.createRoutesFromChildren=X,e.createRoutesFromElements=X,e.renderMatches=function(e){return O(e)},e.useActionData=function(){let e=R(k.UseActionData),t=M(k.UseLoaderData);return e.actionData?e.actionData[t]:undefined},e.useAsyncError=function(){let e=i.useContext(u);return null==e?void 0:e._error},e.useAsyncValue=C,e.useBlocker=function(e){let{router:t,basename:n}=I(P.UseBlocker),a=R(k.UseBlocker),[s,u]=i.useState(""),l=i.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===n)return e(t);let{currentLocation:i,nextLocation:a,historyAction:s}=t;return e({currentLocation:o({},i,{pathname:r.stripBasename(i.pathname,n)||i.pathname}),nextLocation:o({},a,{pathname:r.stripBasename(a.pathname,n)||a.pathname}),historyAction:s})},[n,e]);return i.useEffect(()=>{let e=String(++F);return u(e),()=>t.deleteBlocker(e)},[t]),i.useEffect(()=>{""!==s&&t.getBlocker(s,l)},[t,s,l]),s&&a.blockers.has(s)?a.blockers.get(s):r.IDLE_BLOCKER},e.useHref=function(e,t){let{relative:n}=void 0===t?{}:t;h()||r.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:a}=i.useContext(l),{hash:s,pathname:u,search:c}=w(e,{relative:n}),f=u;return"/"!==o&&(f="/"===u?o:r.joinPaths([o,u])),a.createHref({pathname:f,search:c,hash:s})},e.useInRouterContext=h,e.useLoaderData=function(){let e=R(k.UseLoaderData),t=M(k.UseLoaderData);return e.errors&&null!=e.errors[t]?(console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")"),undefined):e.loaderData[t]},e.useLocation=p,e.useMatch=function(e){h()||r.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:t}=p();return i.useMemo(()=>r.matchPath(e,r.UNSAFE_decodePath(t)),[t,e])},e.useMatches=function(){let{matches:e,loaderData:t}=R(k.UseMatches);return i.useMemo(()=>e.map(e=>r.UNSAFE_convertRouteMatchToUiMatch(e,t)),[e,t])},e.useNavigate=g,e.useNavigation=function(){return R(k.UseNavigation).navigation},e.useNavigationType=function(){return i.useContext(c).navigationType},e.useOutlet=v,e.useOutletContext=function(){return i.useContext(y)},e.useParams=function(){let{matches:e}=i.useContext(f),t=e[e.length-1];return t?t.params:{}},e.useResolvedPath=w,e.useRevalidator=function(){let e=I(P.UseRevalidator),t=R(k.UseRevalidator);return i.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])},e.useRouteError=L,e.useRouteLoaderData=function(e){return R(k.UseRouteLoaderData).loaderData[e]},e.useRoutes=_,Object.defineProperty(e,"__esModule",{value:!0})})}}},{package:"react-router-dom>react-router",file:"node_modules/react-router/dist/umd/react-router.development.js"}],[7573,{"@remix-run/router":5267,react:7592},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i;n=this,i=function(e,t,r){var n=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}(t);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(null,arguments)}const o=n.createContext(null),a=n.createContext(null),s=n.createContext(null),u=n.createContext(null),l=n.createContext(null),c=n.createContext({outlet:null,matches:[],isDataRoute:!1}),f=n.createContext(null);function d(){return null!=n.useContext(l)}function h(){return d()||r.UNSAFE_invariant(!1),n.useContext(l).location}function p(e){n.useContext(u).static||n.useLayoutEffect(e)}function b(){let{isDataRoute:e}=n.useContext(c);return e?function(){let{router:e}=O(T.UseNavigateStable),t=k(x.UseNavigateStable),r=n.useRef(!1);p(()=>{r.current=!0});let o=n.useCallback(function(n,o){void 0===o&&(o={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,i({fromRouteId:t},o)))},[e,t]);return o}():function(){d()||r.UNSAFE_invariant(!1);let e=n.useContext(o),{basename:t,future:i,navigator:a}=n.useContext(u),{matches:s}=n.useContext(c),{pathname:l}=h(),f=JSON.stringify(r.UNSAFE_getResolveToMatches(s,i.v7_relativeSplatPath)),b=n.useRef(!1);return p(()=>{b.current=!0}),n.useCallback(function(n,i){if(void 0===i&&(i={}),!b.current)return;if("number"==typeof n)return void a.go(n);let o=r.resolveTo(n,JSON.parse(f),l,"path"===i.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:r.joinPaths([t,o.pathname])),(i.replace?a.replace:a.push)(o,i.state,i)},[t,a,f,l,e])}()}const m=n.createContext(null);function g(e){let t=n.useContext(c).outlet;return t?n.createElement(m.Provider,{value:e},t):t}function y(e,t){let{relative:i}=void 0===t?{}:t,{future:o}=n.useContext(u),{matches:a}=n.useContext(c),{pathname:s}=h(),l=JSON.stringify(r.UNSAFE_getResolveToMatches(a,o.v7_relativeSplatPath));return n.useMemo(()=>r.resolveTo(e,JSON.parse(l),s,"path"===i),[e,l,s,i])}function v(e,t){return w(e,t)}function w(e,t,o,a){d()||r.UNSAFE_invariant(!1);let{navigator:s}=n.useContext(u),{matches:f}=n.useContext(c),p=f[f.length-1],b=p?p.params:{};!p||p.pathname;let m=p?p.pathnameBase:"/";p&&p.route;let g,y=h();if(t){var v;let e="string"==typeof t?r.parsePath(t):t;"/"===m||(null==(v=e.pathname)?void 0:v.startsWith(m))||r.UNSAFE_invariant(!1),g=e}else g=y;let w=g.pathname||"/",_=w;if("/"!==m){let e=m.replace(/^\//,"").split("/");_="/"+w.replace(/^\//,"").split("/").slice(e.length).join("/")}let E=r.matchRoutes(e,{pathname:_}),j=S(E&&E.map(e=>Object.assign({},e,{params:Object.assign({},b,e.params),pathname:r.joinPaths([m,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?m:r.joinPaths([m,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),f,o,a);return t&&j?n.createElement(l.Provider,{value:{location:i({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:r.Action.Pop}},j):j}const _=n.createElement(function(){let e=A(),t=r.isRouteErrorResponse(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null;return n.createElement(n.Fragment,null,n.createElement("h2",null,"Unexpected Application Error!"),n.createElement("h3",{style:{fontStyle:"italic"}},t),i?n.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},i):null,null)},null);class E extends n.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?n.createElement(c.Provider,{value:this.props.routeContext},n.createElement(f.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function j(e){let{routeContext:t,match:r,children:i}=e,a=n.useContext(o);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),n.createElement(c.Provider,{value:t},i)}function S(e,t,i,o){var a;if(void 0===t&&(t=[]),void 0===i&&(i=null),void 0===o&&(o=null),null==e){var s;if(!i)return null;if(i.errors)e=i.matches;else{if(!(null!=(s=o)&&s.v7_partialHydration&&0===t.length&&!i.initialized&&i.matches.length>0))return null;e=i.matches}}let u=e,l=null==(a=i)?void 0:a.errors;if(null!=l){let e=u.findIndex(e=>e.route.id&&void 0!==(null==l?void 0:l[e.route.id]));e>=0||r.UNSAFE_invariant(!1),u=u.slice(0,Math.min(u.length,e+1))}let c=!1,f=-1;if(i&&o&&o.v7_partialHydration)for(let e=0;e<u.length;e++){let t=u[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(f=e),t.route.id){let{loaderData:e,errors:r}=i,n=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||n){c=!0,u=f>=0?u.slice(0,f+1):[u[0]];break}}}return u.reduceRight((e,r,o)=>{let a,s=!1,d=null,h=null;var p;i&&(a=l&&r.route.id?l[r.route.id]:void 0,d=r.route.errorElement||_,c&&(f<0&&0===o?(M[p="route-fallback"]||(M[p]=!0),s=!0,h=null):f===o&&(s=!0,h=r.route.hydrateFallbackElement||null)));let b=t.concat(u.slice(0,o+1)),m=()=>{let t;return t=a?d:s?h:r.route.Component?n.createElement(r.route.Component,null):r.route.element?r.route.element:e,n.createElement(j,{match:r,routeContext:{outlet:e,matches:b,isDataRoute:null!=i},children:t})};return i&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?n.createElement(E,{location:i.location,revalidation:i.revalidation,component:d,error:a,children:m(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):m()},null)}var T=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(T||{}),x=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(x||{});function O(e){let t=n.useContext(o);return t||r.UNSAFE_invariant(!1),t}function P(e){let t=n.useContext(a);return t||r.UNSAFE_invariant(!1),t}function k(e){let t=function(){let e=n.useContext(c);return e||r.UNSAFE_invariant(!1),e}(),i=t.matches[t.matches.length-1];return i.route.id||r.UNSAFE_invariant(!1),i.route.id}function A(){var e;let t=n.useContext(f),r=P(x.UseRouteError),i=k(x.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[i]}function I(){let e=n.useContext(s);return null==e?void 0:e._data}let R=0;const M={};function L(e,t){null==e||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}const C=n.startTransition;function F(e){let{routes:t,future:r,state:n}=e;return w(t,void 0,n,r)}function N(e){r.UNSAFE_invariant(!1)}function B(e){let{basename:t="/",children:o=null,location:a,navigationType:s=r.Action.Pop,navigator:c,static:f=!1,future:h}=e;d()&&r.UNSAFE_invariant(!1);let p=t.replace(/^\/*/,"/"),b=n.useMemo(()=>({basename:p,navigator:c,static:f,future:i({v7_relativeSplatPath:!1},h)}),[p,h,c,f]);"string"==typeof a&&(a=r.parsePath(a));let{pathname:m="/",search:g="",hash:y="",state:v=null,key:w="default"}=a,_=n.useMemo(()=>{let e=r.stripBasename(m,p);return null==e?null:{location:{pathname:e,search:g,hash:y,state:v,key:w},navigationType:s}},[p,m,g,y,v,w,s]);return null==_?null:n.createElement(u.Provider,{value:b},n.createElement(l.Provider,{children:o,value:_}))}var D=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(D||{});const U=new Promise(()=>{});class H extends n.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:i}=this.props,o=null,a=D.pending;if(i instanceof Promise)if(this.state.error){a=D.error;let e=this.state.error;o=Promise.reject().catch(()=>{}),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_error",{get:()=>e})}else i._tracked?(o=i,a="_error"in o?D.error:"_data"in o?D.success:D.pending):(a=D.pending,Object.defineProperty(i,"_tracked",{get:()=>!0}),o=i.then(e=>Object.defineProperty(i,"_data",{get:()=>e}),e=>Object.defineProperty(i,"_error",{get:()=>e})));else a=D.success,o=Promise.resolve(),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_data",{get:()=>i});if(a===D.error&&o._error instanceof r.AbortedDeferredError)throw U;if(a===D.error&&!t)throw o._error;if(a===D.error)return n.createElement(s.Provider,{value:o,children:t});if(a===D.success)return n.createElement(s.Provider,{value:o,children:e});throw o}}function $(e){let{children:t}=e,r=I(),i="function"==typeof t?t(r):t;return n.createElement(n.Fragment,null,i)}function G(e,t){void 0===t&&(t=[]);let i=[];return n.Children.forEach(e,(e,o)=>{if(!n.isValidElement(e))return;let a=[...t,o];if(e.type===n.Fragment)return void i.push.apply(i,G(e.props.children,a));e.type!==N&&r.UNSAFE_invariant(!1),e.props.index&&e.props.children&&r.UNSAFE_invariant(!1);let s={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=G(e.props.children,a)),i.push(s)}),i}function W(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:n.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:n.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:n.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}Object.defineProperty(e,"AbortedDeferredError",{enumerable:!0,get:function(){return r.AbortedDeferredError}}),Object.defineProperty(e,"NavigationType",{enumerable:!0,get:function(){return r.Action}}),Object.defineProperty(e,"createPath",{enumerable:!0,get:function(){return r.createPath}}),Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return r.defer}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return r.generatePath}}),Object.defineProperty(e,"isRouteErrorResponse",{enumerable:!0,get:function(){return r.isRouteErrorResponse}}),Object.defineProperty(e,"json",{enumerable:!0,get:function(){return r.json}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return r.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return r.matchRoutes}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return r.parsePath}}),Object.defineProperty(e,"redirect",{enumerable:!0,get:function(){return r.redirect}}),Object.defineProperty(e,"redirectDocument",{enumerable:!0,get:function(){return r.redirectDocument}}),Object.defineProperty(e,"replace",{enumerable:!0,get:function(){return r.replace}}),Object.defineProperty(e,"resolvePath",{enumerable:!0,get:function(){return r.resolvePath}}),e.Await=function(e){let{children:t,errorElement:r,resolve:i}=e;return n.createElement(H,{resolve:i,errorElement:r},n.createElement($,null,t))},e.MemoryRouter=function(e){let{basename:t,children:i,initialEntries:o,initialIndex:a,future:s}=e,u=n.useRef();null==u.current&&(u.current=r.createMemoryHistory({initialEntries:o,initialIndex:a,v5Compat:!0}));let l=u.current,[c,f]=n.useState({action:l.action,location:l.location}),{v7_startTransition:d}=s||{},h=n.useCallback(e=>{d&&C?C(()=>f(e)):f(e)},[f,d]);return n.useLayoutEffect(()=>l.listen(h),[l,h]),n.useEffect(()=>L(s),[s]),n.createElement(B,{basename:t,children:i,location:c.location,navigationType:c.action,navigator:l,future:s})},e.Navigate=function(e){let{to:t,replace:i,state:o,relative:a}=e;d()||r.UNSAFE_invariant(!1);let{future:s,static:l}=n.useContext(u),{matches:f}=n.useContext(c),{pathname:p}=h(),m=b(),g=r.resolveTo(t,r.UNSAFE_getResolveToMatches(f,s.v7_relativeSplatPath),p,"path"===a),y=JSON.stringify(g);return n.useEffect(()=>m(JSON.parse(y),{replace:i,state:o,relative:a}),[m,y,a,i,o]),null},e.Outlet=function(e){return g(e.context)},e.Route=N,e.Router=B,e.RouterProvider=function(e){let{fallbackElement:t,router:r,future:i}=e,[s,u]=n.useState(r.state),{v7_startTransition:l}=i||{},c=n.useCallback(e=>{l&&C?C(()=>u(e)):u(e)},[u,l]);n.useLayoutEffect(()=>r.subscribe(c),[r,c]),n.useEffect(()=>{},[]);let f=n.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}),[r]),d=r.basename||"/",h=n.useMemo(()=>({router:r,navigator:f,static:!1,basename:d}),[r,f,d]);return n.useEffect(()=>L(i,r.future),[r,i]),n.createElement(n.Fragment,null,n.createElement(o.Provider,{value:h},n.createElement(a.Provider,{value:s},n.createElement(B,{basename:d,location:s.location,navigationType:s.historyAction,navigator:f,future:{v7_relativeSplatPath:r.future.v7_relativeSplatPath}},s.initialized||r.future.v7_partialHydration?n.createElement(F,{routes:r.routes,future:r.future,state:s}):t))),null)},e.Routes=function(e){let{children:t,location:r}=e;return v(G(t),r)},e.UNSAFE_DataRouterContext=o,e.UNSAFE_DataRouterStateContext=a,e.UNSAFE_LocationContext=l,e.UNSAFE_NavigationContext=u,e.UNSAFE_RouteContext=c,e.UNSAFE_logV6DeprecationWarnings=L,e.UNSAFE_mapRouteProperties=W,e.UNSAFE_useRouteId=function(){return k(x.UseRouteId)},e.UNSAFE_useRoutesImpl=w,e.createMemoryRouter=function(e,t){return r.createRouter({basename:null==t?void 0:t.basename,future:i({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:r.createMemoryHistory({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:W,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()},e.createRoutesFromChildren=G,e.createRoutesFromElements=G,e.renderMatches=function(e){return S(e)},e.useActionData=function(){let e=P(x.UseActionData),t=k(x.UseLoaderData);return e.actionData?e.actionData[t]:void 0},e.useAsyncError=function(){let e=n.useContext(s);return null==e?void 0:e._error},e.useAsyncValue=I,e.useBlocker=function(e){let{router:t,basename:o}=O(T.UseBlocker),a=P(x.UseBlocker),[s,u]=n.useState(""),l=n.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===o)return e(t);let{currentLocation:n,nextLocation:a,historyAction:s}=t;return e({currentLocation:i({},n,{pathname:r.stripBasename(n.pathname,o)||n.pathname}),nextLocation:i({},a,{pathname:r.stripBasename(a.pathname,o)||a.pathname}),historyAction:s})},[o,e]);return n.useEffect(()=>{let e=String(++R);return u(e),()=>t.deleteBlocker(e)},[t]),n.useEffect(()=>{""!==s&&t.getBlocker(s,l)},[t,s,l]),s&&a.blockers.has(s)?a.blockers.get(s):r.IDLE_BLOCKER},e.useHref=function(e,t){let{relative:i}=void 0===t?{}:t;d()||r.UNSAFE_invariant(!1);let{basename:o,navigator:a}=n.useContext(u),{hash:s,pathname:l,search:c}=y(e,{relative:i}),f=l;return"/"!==o&&(f="/"===l?o:r.joinPaths([o,l])),a.createHref({pathname:f,search:c,hash:s})},e.useInRouterContext=d,e.useLoaderData=function(){let e=P(x.UseLoaderData),t=k(x.UseLoaderData);if(!e.errors||null==e.errors[t])return e.loaderData[t];console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")")},e.useLocation=h,e.useMatch=function(e){d()||r.UNSAFE_invariant(!1);let{pathname:t}=h();return n.useMemo(()=>r.matchPath(e,r.UNSAFE_decodePath(t)),[t,e])},e.useMatches=function(){let{matches:e,loaderData:t}=P(x.UseMatches);return n.useMemo(()=>e.map(e=>r.UNSAFE_convertRouteMatchToUiMatch(e,t)),[e,t])},e.useNavigate=b,e.useNavigation=function(){return P(x.UseNavigation).navigation},e.useNavigationType=function(){return n.useContext(l).navigationType},e.useOutlet=g,e.useOutletContext=function(){return n.useContext(m)},e.useParams=function(){let{matches:e}=n.useContext(c),t=e[e.length-1];return t?t.params:{}},e.useResolvedPath=y,e.useRevalidator=function(){let e=O(T.UseRevalidator),t=P(x.UseRevalidator);return n.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])},e.useRouteError=A,e.useRouteLoaderData=function(e){return P(x.UseRouteLoaderData).loaderData[e]},e.useRoutes=v,Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof r&&void 0!==t?i(r,e("react"),e("@remix-run/router")):"function"==typeof define&&define.amd?define(["exports","react","@remix-run/router"],i):i((n="undefined"!=typeof globalThis?globalThis:n||self).ReactRouter={},n.React,n.RemixRouter)}}},{package:"react-router-dom>react-router",file:"node_modules/react-router/dist/umd/react-router.production.min.js"}],[7590,{"object-assign":7330},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){0}}},{package:"react",file:"node_modules/react/cjs/react.development.js"}],[7591,{"object-assign":7330},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("object-assign"),i=60103,o=60106;r.Fragment=60107,r.StrictMode=60108,r.Profiler=60114;var a=60109,s=60110,u=60112;r.Suspense=60113;var l=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;i=f("react.element"),o=f("react.portal"),r.Fragment=f("react.fragment"),r.StrictMode=f("react.strict_mode"),r.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),u=f("react.forward_ref"),r.Suspense=f("react.suspense"),l=f("react.memo"),c=f("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function m(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||p}function g(){}function y(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||p}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(h(85));this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=m.prototype;var v=y.prototype=new g;v.constructor=y,n(v,m.prototype),v.isPureReactComponent=!0;var w={current:null},_=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,r){var n,o={},a=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)_.call(t,n)&&!E.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:w.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var T=/\/+/g;function x(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function O(e,t,r,n,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var u=!1;if(null===e)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case i:case o:u=!0}}if(u)return a=a(u=e),e=""===n?"."+x(u,0):n,Array.isArray(a)?(r="",null!=e&&(r=e.replace(T,"$&/")+"/"),O(a,t,r,"",function(e){return e})):null!=a&&(S(a)&&(a=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,r+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(T,"$&/")+"/")+e)),t.push(a)),1;if(u=0,n=""===n?".":n+":",Array.isArray(e))for(var l=0;l<e.length;l++){var c=n+x(s=e[l],l);u+=O(s,t,r,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),l=0;!(s=e.next()).done;)u+=O(s=s.value,t,r,c=n+x(s,l++),a);else if("object"===s)throw t=""+e,Error(h(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return u}function P(e,t,r){if(null==e)return e;var n=[],i=0;return O(e,n,"","",function(e){return t.call(r,e,i++)}),n}function k(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}if(1===e._status)return e._result;throw e._result}var A={current:null};function I(){var e=A.current;if(null===e)throw Error(h(321));return e}var R={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:n};r.Children={map:P,forEach:function(e,t,r){P(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!S(e))throw Error(h(143));return e}},r.Component=m,r.PureComponent=y,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,r.cloneElement=function(e,t,r){if(null==e)throw Error(h(267,e));var o=n({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)_.call(t,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var f=0;f<c;f++)l[f]=arguments[f+2];o.children=l}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:u}},r.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},r.createElement=j,r.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:u,render:e}},r.isValidElement=S,r.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:k}},r.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},r.useCallback=function(e,t){return I().useCallback(e,t)},r.useContext=function(e,t){return I().useContext(e,t)},r.useDebugValue=function(){},r.useEffect=function(e,t){return I().useEffect(e,t)},r.useImperativeHandle=function(e,t,r){return I().useImperativeHandle(e,t,r)},r.useLayoutEffect=function(e,t){return I().useLayoutEffect(e,t)},r.useMemo=function(e,t){return I().useMemo(e,t)},r.useReducer=function(e,t,r){return I().useReducer(e,t,r)},r.useRef=function(e){return I().useRef(e)},r.useState=function(e){return I().useState(e)},r.version="17.0.2"}}},{package:"react",file:"node_modules/react/cjs/react.production.min.js"}],[7592,{"./cjs/react.development.js":7590,"./cjs/react.production.min.js":7591},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./cjs/react.production.min.js")}}},{package:"react",file:"node_modules/react/index.js"}],[7594,{"../../ours/errors":7613,"../../ours/primordials":7614,"../../ours/util":7615,"./end-of-stream":7600,"./utils":7609},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{SymbolDispose:n}=e("../../ours/primordials"),{AbortError:i,codes:o}=e("../../ours/errors"),{isNodeStream:a,isWebStream:s,kControllerErrorFunction:u}=e("./utils"),l=e("./end-of-stream"),{ERR_INVALID_ARG_TYPE:c}=o;let f;t.exports.addAbortSignal=function(e,r){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new c(t,"AbortSignal",e)})(e,"signal"),!a(r)&&!s(r))throw new c("stream",["ReadableStream","WritableStream","Stream"],r);return t.exports.addAbortSignalNoValidate(e,r)},t.exports.addAbortSignalNoValidate=function(t,r){if("object"!=typeof t||!("aborted"in t))return r;const o=a(r)?()=>{r.destroy(new i(undefined,{cause:t.reason}))}:()=>{r[u](new i(undefined,{cause:t.reason}))};if(t.aborted)o();else{f=f||e("../../ours/util").addAbortListener;const i=f(t,o);l(r,i[n])}return r}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/add-abort-signal.js"}],[7595,{"../../ours/primordials":7614,"../../ours/util":7615,buffer:6221},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{StringPrototypeSlice:n,SymbolIterator:i,TypedArrayPrototypeSet:o,Uint8Array:a}=e("../../ours/primordials"),{Buffer:s}=e("buffer"),{inspect:u}=e("../../ours/util");t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,r=""+t.data;for(;null!==(t=t.next);)r+=e+t.data;return r}concat(e){if(0===this.length)return s.alloc(0);const t=s.allocUnsafe(e>>>0);let r=this.head,n=0;for(;r;)o(t,r.data,n),n+=r.data.length,r=r.next;return t}consume(e,t){const r=this.head.data;if(e<r.length){const t=r.slice(0,e);return this.head.data=r.slice(e),t}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[i](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",r=this.head,i=0;do{const o=r.data;if(!(e>o.length)){e===o.length?(t+=o,++i,r.next?this.head=r.next:this.head=this.tail=null):(t+=n(o,0,e),this.head=r,r.data=n(o,e));break}t+=o,e-=o.length,++i}while(null!==(r=r.next));return this.length-=i,t}_getBuffer(e){const t=s.allocUnsafe(e),r=e;let n=this.head,i=0;do{const s=n.data;if(!(e>s.length)){e===s.length?(o(t,s,r-e),++i,n.next?this.head=n.next:this.head=this.tail=null):(o(t,new a(s.buffer,s.byteOffset,e),r-e),this.head=n,n.data=s.slice(e));break}o(t,s,r-e),e-=s.length,++i}while(null!==(n=n.next));return this.length-=i,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return u(this,{...t,depth:0,customInspect:!1})}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],[7596,{"../../ours/errors":7613,"./destroy":7597,"./duplex":7598,"./end-of-stream":7600,"./pipeline":7605,"./utils":7609},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{pipeline:n}=e("./pipeline"),i=e("./duplex"),{destroyer:o}=e("./destroy"),{isNodeStream:a,isReadable:s,isWritable:u,isWebStream:l,isTransformStream:c,isWritableStream:f,isReadableStream:d}=e("./utils"),{AbortError:h,codes:{ERR_INVALID_ARG_VALUE:p,ERR_MISSING_ARGS:b}}=e("../../ours/errors"),m=e("./end-of-stream");t.exports=function(...e){if(0===e.length)throw new b("streams");if(1===e.length)return i.from(e[0]);const t=[...e];if("function"==typeof e[0]&&(e[0]=i.from(e[0])),"function"==typeof e[e.length-1]){const t=e.length-1;e[t]=i.from(e[t])}for(let r=0;r<e.length;++r)if(a(e[r])||l(e[r])){if(r<e.length-1&&!(s(e[r])||d(e[r])||c(e[r])))throw new p(`streams[${r}]`,t[r],"must be readable");if(r>0&&!(u(e[r])||f(e[r])||c(e[r])))throw new p(`streams[${r}]`,t[r],"must be writable")}let r,g,y,v,w;const _=e[0],E=n(e,function(e){const t=v;v=null,t?t(e):e?w.destroy(e):S||j||w.destroy()}),j=!!(u(_)||f(_)||c(_)),S=!!(s(E)||d(E)||c(E));if(w=new i({writableObjectMode:!(null===_||_===undefined||!_.writableObjectMode),readableObjectMode:!(null===E||E===undefined||!E.readableObjectMode),writable:j,readable:S}),j){if(a(_))w._write=function(e,t,n){_.write(e,t)?n():r=n},w._final=function(e){_.end(),g=e},_.on("drain",function(){if(r){const e=r;r=null,e()}});else if(l(_)){const e=(c(_)?_.writable:_).getWriter();w._write=async function(t,r,n){try{await e.ready,e.write(t).catch(()=>{}),n()}catch(e){n(e)}},w._final=async function(t){try{await e.ready,e.close().catch(()=>{}),g=t}catch(e){t(e)}}}const e=c(E)?E.readable:E;m(e,()=>{if(g){const e=g;g=null,e()}})}if(S)if(a(E))E.on("readable",function(){if(y){const e=y;y=null,e()}}),E.on("end",function(){w.push(null)}),w._read=function(){for(;;){const e=E.read();if(null===e)return void(y=w._read);if(!w.push(e))return}};else if(l(E)){const e=(c(E)?E.readable:E).getReader();w._read=async function(){for(;;)try{const{value:t,done:r}=await e.read();if(!w.push(t))return;if(r)return void w.push(null)}catch{return}}}return w._destroy=function(e,t){e||null===v||(e=new h),y=null,r=null,g=null,null===v?t(e):(v=t,a(E)&&o(E,e))},w}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/compose.js"}],[7597,{"../../ours/errors":7613,"../../ours/primordials":7614,"./utils":7609,"process/":7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{aggregateTwoErrors:i,codes:{ERR_MULTIPLE_CALLBACK:o},AbortError:a}=e("../../ours/errors"),{Symbol:s}=e("../../ours/primordials"),{kIsDestroyed:u,isDestroyed:l,isFinished:c,isServerRequest:f}=e("./utils"),d=s("kDestroy"),h=s("kConstruct");function p(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function b(e,t,r){let i=!1;function o(t){if(i)return;i=!0;const o=e._readableState,a=e._writableState;p(t,a,o),a&&(a.closed=!0),o&&(o.closed=!0),"function"==typeof r&&r(t),t?n.nextTick(m,e,t):n.nextTick(g,e)}try{e._destroy(t||null,o)}catch(t){o(t)}}function m(e,t){y(e,t),g(e)}function g(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!==r&&r!==undefined&&r.emitClose||null!==t&&t!==undefined&&t.emitClose)&&e.emit("close")}function y(e,t){const r=e._readableState,n=e._writableState;null!==n&&n!==undefined&&n.errorEmitted||null!==r&&r!==undefined&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function v(e,t,r){const i=e._readableState,o=e._writableState;if(null!==o&&o!==undefined&&o.destroyed||null!==i&&i!==undefined&&i.destroyed)return this;null!==i&&i!==undefined&&i.autoDestroy||null!==o&&o!==undefined&&o.autoDestroy?e.destroy(t):t&&(t.stack,o&&!o.errored&&(o.errored=t),i&&!i.errored&&(i.errored=t),r?n.nextTick(y,e,t):y(e,t))}function w(e){let t=!1;function r(r){if(t)return void v(e,null!==r&&r!==undefined?r:new o);t=!0;const i=e._readableState,a=e._writableState,s=a||i;i&&(i.constructed=!0),a&&(a.constructed=!0),s.destroyed?e.emit(d,r):r?v(e,r,!0):n.nextTick(_,e)}try{e._construct(e=>{n.nextTick(r,e)})}catch(e){n.nextTick(r,e)}}function _(e){e.emit(h)}function E(e){return(null===e||e===undefined?undefined:e.setHeader)&&"function"==typeof e.abort}function j(e){e.emit("close")}function S(e,t){e.emit("error",t),n.nextTick(j,e)}t.exports={construct:function(e,t){if("function"!=typeof e._construct)return;const r=e._readableState,i=e._writableState;r&&(r.constructed=!1),i&&(i.constructed=!1),e.once(h,t),e.listenerCount(h)>1||n.nextTick(w,e)},destroyer:function(e,t){e&&!l(e)&&(t||c(e)||(t=new a),f(e)?(e.socket=null,e.destroy(t)):E(e)?e.abort():E(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(t):"function"==typeof e.close?e.close():t?n.nextTick(S,e,t):n.nextTick(j,e),e.destroyed||(e[u]=!0))},destroy:function(e,t){const r=this._readableState,n=this._writableState,o=n||r;return null!==n&&n!==undefined&&n.destroyed||null!==r&&r!==undefined&&r.destroyed?("function"==typeof t&&t(),this):(p(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),o.constructed?b(this,e,t):this.once(d,function(r){b(this,i(r,e),t)}),this)},undestroy:function(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:v}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/destroy.js"}],[7598,{"../../ours/primordials":7614,"./duplexify":7599,"./readable":7606,"./writable":7610},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:i,ObjectKeys:o,ObjectSetPrototypeOf:a}=e("../../ours/primordials");t.exports=l;const s=e("./readable"),u=e("./writable");a(l.prototype,s.prototype),a(l,s);{const e=o(u.prototype);for(let t=0;t<e.length;t++){const r=e[t];l.prototype[r]||(l.prototype[r]=u.prototype[r])}}function l(e){if(!(this instanceof l))return new l(e);s.call(this,e),u.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let c,f;function d(){return c===undefined&&(c={}),c}n(l.prototype,{writable:{__proto__:null,...i(u.prototype,"writable")},writableHighWaterMark:{__proto__:null,...i(u.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...i(u.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...i(u.prototype,"writableBuffer")},writableLength:{__proto__:null,...i(u.prototype,"writableLength")},writableFinished:{__proto__:null,...i(u.prototype,"writableFinished")},writableCorked:{__proto__:null,...i(u.prototype,"writableCorked")},writableEnded:{__proto__:null,...i(u.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...i(u.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),l.fromWeb=function(e,t){return d().newStreamDuplexFromReadableWritablePair(e,t)},l.toWeb=function(e){return d().newReadableWritablePairFromDuplex(e)},l.from=function(t){return f||(f=e("./duplexify")),f(t,"body")}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/duplex.js"}],[7599,{"../../ours/errors":7613,"../../ours/primordials":7614,"../../ours/util":7615,"./destroy":7597,"./duplex":7598,"./end-of-stream":7600,"./from":7601,"./readable":7606,"./utils":7609,"./writable":7610,"abort-controller":6057,buffer:6221,"process/":7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),i=e("buffer"),{isReadable:o,isWritable:a,isIterable:s,isNodeStream:u,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:f,isReadableStream:d,isWritableStream:h}=e("./utils"),p=e("./end-of-stream"),{AbortError:b,codes:{ERR_INVALID_ARG_TYPE:m,ERR_INVALID_RETURN_VALUE:g}}=e("../../ours/errors"),{destroyer:y}=e("./destroy"),v=e("./duplex"),w=e("./readable"),_=e("./writable"),{createDeferredPromise:E}=e("../../ours/util"),j=e("./from"),S=globalThis.Blob||i.Blob,T=void 0!==S?function(e){return e instanceof S}:function(e){return!1},x=globalThis.AbortController||e("abort-controller").AbortController,{FunctionPrototypeCall:O}=e("../../ours/primordials");class P extends v{constructor(e){super(e),!1===(null===e||e===undefined?undefined:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null===e||e===undefined?undefined:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function k(e){const t=e.readable&&"function"!=typeof e.readable.read?w.wrap(e.readable):e.readable,r=e.writable;let n,i,s,u,l,c=!!o(t),f=!!a(r);function d(e){const t=u;u=null,t?t(e):e&&l.destroy(e)}return l=new P({readableObjectMode:!(null===t||t===undefined||!t.readableObjectMode),writableObjectMode:!(null===r||r===undefined||!r.writableObjectMode),readable:c,writable:f}),f&&(p(r,e=>{f=!1,e&&y(t,e),d(e)}),l._write=function(e,t,i){r.write(e,t)?i():n=i},l._final=function(e){r.end(),i=e},r.on("drain",function(){if(n){const e=n;n=null,e()}}),r.on("finish",function(){if(i){const e=i;i=null,e()}})),c&&(p(t,e=>{c=!1,e&&y(t,e),d(e)}),t.on("readable",function(){if(s){const e=s;s=null,e()}}),t.on("end",function(){l.push(null)}),l._read=function(){for(;;){const e=t.read();if(null===e)return void(s=l._read);if(!l.push(e))return}}),l._destroy=function(e,o){e||null===u||(e=new b),s=null,n=null,i=null,null===u?o(e):(u=o,y(r,e),y(t,e))},l}t.exports=function e(t,r){if(f(t))return t;if(l(t))return k({readable:t});if(c(t))return k({writable:t});if(u(t))return k({writable:!1,readable:!1});if(d(t))return k({readable:w.fromWeb(t)});if(h(t))return k({writable:_.fromWeb(t)});if("function"==typeof t){const{value:e,write:i,final:o,destroy:a}=function(e){let{promise:t,resolve:r}=E();const i=new x,o=i.signal,a=e(async function*(){for(;;){const e=t;t=null;const{chunk:i,done:a,cb:s}=await e;if(n.nextTick(s),a)return;if(o.aborted)throw new b(undefined,{cause:o.reason});({promise:t,resolve:r}=E()),yield i}}(),{signal:o});return{value:a,write(e,t,n){const i=r;r=null,i({chunk:e,done:!1,cb:n})},final(e){const t=r;r=null,t({done:!0,cb:e})},destroy(e,t){i.abort(),t(e)}}}(t);if(s(e))return j(P,e,{objectMode:!0,write:i,final:o,destroy:a});const u=null===e||e===undefined?undefined:e.then;if("function"==typeof u){let t;const r=O(u,e,e=>{if(null!=e)throw new g("nully","body",e)},e=>{y(t,e)});return t=new P({objectMode:!0,readable:!1,write:i,final(e){o(async()=>{try{await r,n.nextTick(e,null)}catch(t){n.nextTick(e,t)}})},destroy:a})}throw new g("Iterable, AsyncIterable or AsyncFunction",r,e)}if(T(t))return e(t.arrayBuffer());if(s(t))return j(P,t,{objectMode:!0,writable:!1});if(d(null===t||t===undefined?undefined:t.readable)&&h(null===t||t===undefined?undefined:t.writable))return P.fromWeb(t);if("object"==typeof(null===t||t===undefined?undefined:t.writable)||"object"==typeof(null===t||t===undefined?undefined:t.readable)){return k({readable:null!==t&&t!==undefined&&t.readable?l(null===t||t===undefined?undefined:t.readable)?null===t||t===undefined?undefined:t.readable:e(t.readable):undefined,writable:null!==t&&t!==undefined&&t.writable?c(null===t||t===undefined?undefined:t.writable)?null===t||t===undefined?undefined:t.writable:e(t.writable):undefined})}const i=null===t||t===undefined?undefined:t.then;if("function"==typeof i){let e;return O(i,t,t=>{null!=t&&e.push(t),e.push(null)},t=>{y(e,t)}),e=new P({objectMode:!0,writable:!1,read(){}})}throw new m(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/duplexify.js"}],[7600,{"../../ours/errors":7613,"../../ours/primordials":7614,"../../ours/util":7615,"../validators":7611,"./utils":7609,"process/":7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{AbortError:i,codes:o}=e("../../ours/errors"),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_PREMATURE_CLOSE:s}=o,{kEmptyObject:u,once:l}=e("../../ours/util"),{validateAbortSignal:c,validateFunction:f,validateObject:d,validateBoolean:h}=e("../validators"),{Promise:p,PromisePrototypeThen:b,SymbolDispose:m}=e("../../ours/primordials"),{isClosed:g,isReadable:y,isReadableNodeStream:v,isReadableStream:w,isReadableFinished:_,isReadableErrored:E,isWritable:j,isWritableNodeStream:S,isWritableStream:T,isWritableFinished:x,isWritableErrored:O,isNodeStream:P,willEmitClose:k,kIsClosedPromise:A}=e("./utils");let I;const R=()=>{};function M(t,r,o){var h,p;if(2===arguments.length?(o=r,r=u):null==r?r=u:d(r,"options"),f(o,"callback"),c(r.signal,"options.signal"),o=l(o),w(t)||T(t))return function(t,r,o){let a=!1,s=R;if(r.signal)if(s=()=>{a=!0,o.call(t,new i(undefined,{cause:r.signal.reason}))},r.signal.aborted)n.nextTick(s);else{I=I||e("../../ours/util").addAbortListener;const n=I(r.signal,s),i=o;o=l((...e)=>{n[m](),i.apply(t,e)})}const u=(...e)=>{a||n.nextTick(()=>o.apply(t,e))};return b(t[A].promise,u,u),R}(t,r,o);if(!P(t))throw new a("stream",["ReadableStream","WritableStream","Stream"],t);const M=null!==(h=r.readable)&&h!==undefined?h:v(t),L=null!==(p=r.writable)&&p!==undefined?p:S(t),C=t._writableState,F=t._readableState,N=()=>{t.writable||U()};let B=k(t)&&v(t)===M&&S(t)===L,D=x(t,!1);const U=()=>{D=!0,t.destroyed&&(B=!1),(!B||t.readable&&!M)&&(M&&!H||o.call(t))};let H=_(t,!1);const $=()=>{H=!0,t.destroyed&&(B=!1),(!B||t.writable&&!L)&&(L&&!D||o.call(t))},G=e=>{o.call(t,e)};let W=g(t);const z=()=>{W=!0;const e=O(t)||E(t);return e&&"boolean"!=typeof e?o.call(t,e):M&&!H&&v(t,!0)&&!_(t,!1)?o.call(t,new s):!L||D||x(t,!1)?void o.call(t):o.call(t,new s)},q=()=>{W=!0;const e=O(t)||E(t);if(e&&"boolean"!=typeof e)return o.call(t,e);o.call(t)},V=()=>{t.req.on("finish",U)};!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?L&&!C&&(t.on("end",N),t.on("close",N)):(t.on("complete",U),B||t.on("abort",z),t.req?V():t.on("request",V)),B||"boolean"!=typeof t.aborted||t.on("aborted",z),t.on("end",$),t.on("finish",U),!1!==r.error&&t.on("error",G),t.on("close",z),W?n.nextTick(z):null!==C&&C!==undefined&&C.errorEmitted||null!==F&&F!==undefined&&F.errorEmitted?B||n.nextTick(q):(M||B&&!y(t)||!D&&!1!==j(t))&&(L||B&&!j(t)||!H&&!1!==y(t))?F&&t.req&&t.aborted&&n.nextTick(q):n.nextTick(q);const K=()=>{o=R,t.removeListener("aborted",z),t.removeListener("complete",U),t.removeListener("abort",z),t.removeListener("request",V),t.req&&t.req.removeListener("finish",U),t.removeListener("end",N),t.removeListener("close",N),t.removeListener("finish",U),t.removeListener("end",$),t.removeListener("error",G),t.removeListener("close",z)};if(r.signal&&!W){const a=()=>{const e=o;K(),e.call(t,new i(undefined,{cause:r.signal.reason}))};if(r.signal.aborted)n.nextTick(a);else{I=I||e("../../ours/util").addAbortListener;const n=I(r.signal,a),i=o;o=l((...e)=>{n[m](),i.apply(t,e)})}}return K}t.exports=M,t.exports.finished=function(e,t){var r;let n=!1;return null===t&&(t=u),null!==(r=t)&&r!==undefined&&r.cleanup&&(h(t.cleanup,"cleanup"),n=t.cleanup),new p((r,i)=>{const o=M(e,t,e=>{n&&o(),e?i(e):r()})})}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],[7601,{"../../ours/errors":7613,"../../ours/primordials":7614,buffer:6221,"process/":7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{PromisePrototypeThen:i,SymbolAsyncIterator:o,SymbolIterator:a}=e("../../ours/primordials"),{Buffer:s}=e("buffer"),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:l}=e("../../ours/errors").codes;t.exports=function(e,t,r){let c,f;if("string"==typeof t||t instanceof s)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});if(t&&t[o])f=!0,c=t[o]();else{if(!t||!t[a])throw new u("iterable",["Iterable"],t);f=!1,c=t[a]()}const d=new e({objectMode:!0,highWaterMark:1,...r});let h=!1;return d._read=function(){h||(h=!0,async function(){for(;;){try{const{value:e,done:t}=f?await c.next():c.next();if(t)d.push(null);else{const t=e&&"function"==typeof e.then?await e:e;if(null===t)throw h=!1,new l;if(d.push(t))continue;h=!1}}catch(e){d.destroy(e)}break}}())},d._destroy=function(e,t){i(async function(e){const t=e!==undefined&&null!==e,r="function"==typeof c.throw;if(t&&r){const{value:t,done:r}=await c.throw(e);if(await t,r)return}if("function"==typeof c.return){const{value:e}=await c.return();await e}}(e),()=>n.nextTick(t,e),r=>n.nextTick(t,r||e))},d}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/from.js"}],[7602,{"../../ours/primordials":7614,events:6529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ArrayIsArray:n,ObjectSetPrototypeOf:i}=e("../../ours/primordials"),{EventEmitter:o}=e("events");function a(e){o.call(this,e)}function s(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?n(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}i(a.prototype,o.prototype),i(a,o),a.prototype.pipe=function(e,t){const r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",u),r.on("close",l));let a=!1;function u(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){f(),0===o.listenerCount(this,"error")&&this.emit("error",e)}function f(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",u),r.removeListener("close",l),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",f),r.removeListener("close",f),e.removeListener("close",f)}return s(r,"error",c),s(e,"error",c),r.on("end",f),r.on("close",f),e.on("close",f),e.emit("pipe",r),e},t.exports={Stream:a,prependListener:s}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/legacy.js"}],[7603,{"../../ours/errors":7613,"../../ours/primordials":7614,"../../ours/util":7615,"../validators":7611,"./add-abort-signal":7594,"./compose":7596,"./end-of-stream":7600,"./utils":7609,"abort-controller":6057},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=globalThis.AbortController||e("abort-controller").AbortController,{codes:{ERR_INVALID_ARG_VALUE:i,ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:a,ERR_OUT_OF_RANGE:s},AbortError:u}=e("../../ours/errors"),{validateAbortSignal:l,validateInteger:c,validateObject:f}=e("../validators"),d=e("../../ours/primordials").Symbol("kWeak"),h=e("../../ours/primordials").Symbol("kResistStopPropagation"),{finished:p}=e("./end-of-stream"),b=e("./compose"),{addAbortSignalNoValidate:m}=e("./add-abort-signal"),{isWritable:g,isNodeStream:y}=e("./utils"),{deprecate:v}=e("../../ours/util"),{ArrayPrototypePush:w,Boolean:_,MathFloor:E,Number:j,NumberIsNaN:S,Promise:T,PromiseReject:x,PromiseResolve:O,PromisePrototypeThen:P,Symbol:k}=e("../../ours/primordials"),A=k("kEmpty"),I=k("kEof");function R(t,r){if("function"!=typeof t)throw new o("fn",["Function","AsyncFunction"],t);null!=r&&f(r,"options"),null!=(null===r||r===undefined?undefined:r.signal)&&l(r.signal,"options.signal");let n=1;null!=(null===r||r===undefined?undefined:r.concurrency)&&(n=E(r.concurrency));let i=n-1;return null!=(null===r||r===undefined?undefined:r.highWaterMark)&&(i=E(r.highWaterMark)),c(n,"options.concurrency",1),c(i,"options.highWaterMark",0),i+=n,async function*(){const o=e("../../ours/util").AbortSignalAny([null===r||r===undefined?undefined:r.signal].filter(_)),a=this,s=[],l={signal:o};let c,f,d=!1,h=0;function p(){d=!0,b()}function b(){h-=1,m()}function m(){f&&!d&&h<n&&s.length<i&&(f(),f=null)}!async function(){try{for await(let e of a){if(d)return;if(o.aborted)throw new u;try{if(e=t(e,l),e===A)continue;e=O(e)}catch(t){e=x(t)}h+=1,P(e,b,p),s.push(e),c&&(c(),c=null),!d&&(s.length>=i||h>=n)&&await new T(e=>{f=e})}s.push(I)}catch(e){const t=x(e);P(t,b,p),s.push(t)}finally{d=!0,c&&(c(),c=null)}}();try{for(;;){for(;s.length>0;){const e=await s[0];if(e===I)return;if(o.aborted)throw new u;e!==A&&(yield e),s.shift(),m()}await new T(e=>{c=e})}}finally{d=!0,f&&(f(),f=null)}}.call(this)}async function M(e,t=undefined){for await(const r of L.call(this,e,t))return!0;return!1}function L(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return R.call(this,async function(t,r){return await e(t,r)?t:A},t)}class C extends a{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function F(e){if(e=j(e),S(e))return 0;if(e<0)throw new s("number",">= 0",e);return e}t.exports.streamReturningOperators={asIndexedPairs:v(function(e=undefined){return null!=e&&f(e,"options"),null!=(null===e||e===undefined?undefined:e.signal)&&l(e.signal,"options.signal"),async function*(){let t=0;for await(const n of this){var r;if(null!==e&&e!==undefined&&null!==(r=e.signal)&&r!==undefined&&r.aborted)throw new u({cause:e.signal.reason});yield[t++,n]}}.call(this)},"readable.asIndexedPairs will be removed in a future version."),drop:function(e,t=undefined){return null!=t&&f(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&l(t.signal,"options.signal"),e=F(e),async function*(){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new u;for await(const r of this){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new u;e--<=0&&(yield r)}}.call(this)},filter:L,flatMap:function(e,t){const r=R.call(this,e,t);return async function*(){for await(const e of r)yield*e}.call(this)},map:R,take:function(e,t=undefined){return null!=t&&f(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&l(t.signal,"options.signal"),e=F(e),async function*(){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new u;for await(const r of this){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new u;if(e-- >0&&(yield r),e<=0)return}}.call(this)},compose:function(e,t){if(null!=t&&f(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&l(t.signal,"options.signal"),y(e)&&!g(e))throw new i("stream",e,"must be writable");const r=b(this,e);return null!==t&&t!==undefined&&t.signal&&m(t.signal,r),r}},t.exports.promiseReturningOperators={every:async function(e,t=undefined){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return!await M.call(this,async(...t)=>!await e(...t),t)},forEach:async function(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);for await(const r of R.call(this,async function(t,r){return await e(t,r),A},t));},reduce:async function(e,t,r){var i;if("function"!=typeof e)throw new o("reducer",["Function","AsyncFunction"],e);null!=r&&f(r,"options"),null!=(null===r||r===undefined?undefined:r.signal)&&l(r.signal,"options.signal");let a=arguments.length>1;if(null!==r&&r!==undefined&&null!==(i=r.signal)&&i!==undefined&&i.aborted){const e=new u(undefined,{cause:r.signal.reason});throw this.once("error",()=>{}),await p(this.destroy(e)),e}const s=new n,c=s.signal;if(null!==r&&r!==undefined&&r.signal){const e={once:!0,[d]:this,[h]:!0};r.signal.addEventListener("abort",()=>s.abort(),e)}let b=!1;try{for await(const n of this){var m;if(b=!0,null!==r&&r!==undefined&&null!==(m=r.signal)&&m!==undefined&&m.aborted)throw new u;a?t=await e(t,n,{signal:c}):(t=n,a=!0)}if(!b&&!a)throw new C}finally{s.abort()}return t},toArray:async function(e){null!=e&&f(e,"options"),null!=(null===e||e===undefined?undefined:e.signal)&&l(e.signal,"options.signal");const t=[];for await(const n of this){var r;if(null!==e&&e!==undefined&&null!==(r=e.signal)&&r!==undefined&&r.aborted)throw new u(undefined,{cause:e.signal.reason});w(t,n)}return t},some:M,find:async function(e,t){for await(const r of L.call(this,e,t))return r;return undefined}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/operators.js"}],[7604,{"../../ours/primordials":7614,"./transform":7608},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ObjectSetPrototypeOf:n}=e("../../ours/primordials");t.exports=o;const i=e("./transform");function o(e){if(!(this instanceof o))return new o(e);i.call(this,e)}n(o.prototype,i.prototype),n(o,i),o.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/passthrough.js"}],[7605,{"../../ours/errors":7613,"../../ours/primordials":7614,"../../ours/util":7615,"../validators":7611,"./destroy":7597,"./duplex":7598,"./end-of-stream":7600,"./passthrough":7604,"./readable":7606,"./utils":7609,"abort-controller":6057,"process/":7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{ArrayIsArray:i,Promise:o,SymbolAsyncIterator:a,SymbolDispose:s}=e("../../ours/primordials"),u=e("./end-of-stream"),{once:l}=e("../../ours/util"),c=e("./destroy"),f=e("./duplex"),{aggregateTwoErrors:d,codes:{ERR_INVALID_ARG_TYPE:h,ERR_INVALID_RETURN_VALUE:p,ERR_MISSING_ARGS:b,ERR_STREAM_DESTROYED:m,ERR_STREAM_PREMATURE_CLOSE:g},AbortError:y}=e("../../ours/errors"),{validateFunction:v,validateAbortSignal:w}=e("../validators"),{isIterable:_,isReadable:E,isReadableNodeStream:j,isNodeStream:S,isTransformStream:T,isWebStream:x,isReadableStream:O,isReadableFinished:P}=e("./utils"),k=globalThis.AbortController||e("abort-controller").AbortController;let A,I,R;function M(e,t,r){let n=!1;e.on("close",()=>{n=!0});return{destroy:t=>{n||(n=!0,c.destroyer(e,t||new m("pipe")))},cleanup:u(e,{readable:t,writable:r},e=>{n=!e})}}function L(t){if(_(t))return t;if(j(t))return async function*(t){I||(I=e("./readable"));yield*I.prototype[a].call(t)}(t);throw new h("val",["Readable","Iterable","AsyncIterable"],t)}async function C(e,t,r,{end:n}){let i,a=null;const s=e=>{if(e&&(i=e),a){const e=a;a=null,e()}},l=()=>new o((e,t)=>{i?t(i):a=()=>{i?t(i):e()}});t.on("drain",s);const c=u(t,{readable:!1},s);try{t.writableNeedDrain&&await l();for await(const r of e)t.write(r)||await l();n&&(t.end(),await l()),r()}catch(e){r(i!==e?d(i,e):e)}finally{c(),t.off("drain",s)}}async function F(e,t,r,{end:n}){T(t)&&(t=t.writable);const i=t.getWriter();try{for await(const t of e)await i.ready,i.write(t).catch(()=>{});await i.ready,n&&await i.close(),r()}catch(e){try{await i.abort(e),r(e)}catch(e){r(e)}}}function N(t,r,o){if(1===t.length&&i(t[0])&&(t=t[0]),t.length<2)throw new b("streams");const a=new k,u=a.signal,l=null===o||o===undefined?undefined:o.signal,c=[];function d(){U(new y)}let m,g,v;w(l,"options.signal"),R=R||e("../../ours/util").addAbortListener,l&&(m=R(l,d));const P=[];let I,N=0;function D(e){U(e,0===--N)}function U(e,t){var i;if(!e||g&&"ERR_STREAM_PREMATURE_CLOSE"!==g.code||(g=e),g||t){for(;P.length;)P.shift()(g);null===(i=m)||i===undefined?undefined:i[s](),a.abort(),t&&(g||c.forEach(e=>e()),n.nextTick(r,g,v))}}for(let G=0;G<t.length;G++){const W=t[G],z=G<t.length-1,q=G>0,V=z||!1!==(null===o||o===undefined?undefined:o.end),K=G===t.length-1;if(S(W)){if(V){const{destroy:X,cleanup:J}=M(W,z,q);P.push(X),E(W)&&K&&c.push(J)}function Y(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&D(e)}W.on("error",Y),E(W)&&K&&c.push(()=>{W.removeListener("error",Y)})}if(0===G)if("function"==typeof W){if(I=W({signal:u}),!_(I))throw new p("Iterable, AsyncIterable or Stream","source",I)}else I=_(W)||j(W)||T(W)?W:f.from(W);else if("function"==typeof W){var H;if(T(I))I=L(null===(H=I)||H===undefined?undefined:H.readable);else I=L(I);if(I=W(I,{signal:u}),z){if(!_(I,!0))throw new p("AsyncIterable",`transform[${G-1}]`,I)}else{var $;A||(A=e("./passthrough"));const Z=new A({objectMode:!0}),Q=null===($=I)||$===undefined?undefined:$.then;if("function"==typeof Q)N++,Q.call(I,e=>{v=e,null!=e&&Z.write(e),V&&Z.end(),n.nextTick(D)},e=>{Z.destroy(e),n.nextTick(D,e)});else if(_(I,!0))N++,C(I,Z,D,{end:V});else{if(!O(I)&&!T(I))throw new p("AsyncIterable or Promise","destination",I);{const re=I.readable||I;N++,C(re,Z,D,{end:V})}}I=Z;const{destroy:ee,cleanup:te}=M(I,!1,!0);P.push(ee),K&&c.push(te)}}else if(S(W)){if(j(I)){N+=2;const ne=B(I,W,D,{end:V});E(W)&&K&&c.push(ne)}else if(T(I)||O(I)){const ie=I.readable||I;N++,C(ie,W,D,{end:V})}else{if(!_(I))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],I);N++,C(I,W,D,{end:V})}I=W}else if(x(W)){if(j(I))N++,F(L(I),W,D,{end:V});else if(O(I)||_(I))N++,F(I,W,D,{end:V});else{if(!T(I))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],I);N++,F(I.readable,W,D,{end:V})}I=W}else I=f.from(W)}return(null!==u&&u!==undefined&&u.aborted||null!==l&&l!==undefined&&l.aborted)&&n.nextTick(d),I}function B(e,t,r,{end:i}){let o=!1;if(t.on("close",()=>{o||r(new g)}),e.pipe(t,{end:!1}),i){function a(){o=!0,t.end()}P(e)?n.nextTick(a):e.once("end",a)}else r();return u(e,{readable:!0,writable:!1},t=>{const n=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&n&&n.ended&&!n.errored&&!n.errorEmitted?e.once("end",r).once("error",r):r(t)}),u(t,{readable:!1,writable:!0},r)}t.exports={pipelineImpl:N,pipeline:function(...e){return N(e,l(function(e){return v(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/pipeline.js"}],[7606,{"../../ours/errors":7613,"../../ours/primordials":7614,"../../ours/util":7615,"../validators":7611,"./add-abort-signal":7594,"./buffer_list":7595,"./destroy":7597,"./duplex":7598,"./end-of-stream":7600,"./from":7601,"./legacy":7602,"./state":7607,buffer:6221,events:6529,"process/":7419,"string_decoder/":7999},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{ArrayPrototypeIndexOf:i,NumberIsInteger:o,NumberIsNaN:a,NumberParseInt:s,ObjectDefineProperties:u,ObjectKeys:l,ObjectSetPrototypeOf:c,Promise:f,SafeSet:d,SymbolAsyncDispose:h,SymbolAsyncIterator:p,Symbol:b}=e("../../ours/primordials");t.exports=V,V.ReadableState=q;const{EventEmitter:m}=e("events"),{Stream:g,prependListener:y}=e("./legacy"),{Buffer:v}=e("buffer"),{addAbortSignal:w}=e("./add-abort-signal"),_=e("./end-of-stream");let E=e("../../ours/util").debuglog("stream",e=>{E=e});const j=e("./buffer_list"),S=e("./destroy"),{getHighWaterMark:T,getDefaultHighWaterMark:x}=e("./state"),{aggregateTwoErrors:O,codes:{ERR_INVALID_ARG_TYPE:P,ERR_METHOD_NOT_IMPLEMENTED:k,ERR_OUT_OF_RANGE:A,ERR_STREAM_PUSH_AFTER_EOF:I,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:R},AbortError:M}=e("../../ours/errors"),{validateObject:L}=e("../validators"),C=b("kPaused"),{StringDecoder:F}=e("string_decoder/"),N=e("./from");c(V.prototype,g.prototype),c(V,g);const B=()=>{},{errorOrDestroy:D}=S,U=1,H=16,$=32,G=2048,W=4096;function z(e){return{enumerable:!1,get(){return 0!==(this.state&e)},set(t){t?this.state|=e:this.state&=~e}}}function q(t,r,n){"boolean"!=typeof n&&(n=r instanceof e("./duplex")),this.state=G|W|H|$,t&&t.objectMode&&(this.state|=U),n&&t&&t.readableObjectMode&&(this.state|=U),this.highWaterMark=t?T(this,t,"readableHighWaterMark",n):x(!1),this.buffer=new j,this.length=0,this.pipes=[],this.flowing=null,this[C]=null,t&&!1===t.emitClose&&(this.state&=~G),t&&!1===t.autoDestroy&&(this.state&=~W),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new F(t.encoding),this.encoding=t.encoding)}function V(t){if(!(this instanceof V))return new V(t);const r=this instanceof e("./duplex");this._readableState=new q(t,this,r),t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&!r&&w(t.signal,this)),g.call(this,t),S.construct(this,()=>{this._readableState.needReadable&&Q(this,this._readableState)})}function K(e,t,r,n){E("readableAddChunk",t);const i=e._readableState;let o;if(0===(i.state&U)&&("string"==typeof t?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?t=v.from(t,r).toString(i.encoding):(t=v.from(t,r),r=""))):t instanceof v?r="":g._isUint8Array(t)?(t=g._uint8ArrayToBuffer(t),r=""):null!=t&&(o=new P("chunk",["string","Buffer","Uint8Array"],t))),o)D(e,o);else if(null===t)i.state&=-9,function(e,t){if(E("onEofChunk"),t.ended)return;if(t.decoder){const e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?J(e):(t.needReadable=!1,t.emittedReadable=!0,Z(e))}(e,i);else if(0!==(i.state&U)||t&&t.length>0)if(n)if(4&i.state)D(e,new R);else{if(i.destroyed||i.errored)return!1;Y(e,i,t,!0)}else if(i.ended)D(e,new I);else{if(i.destroyed||i.errored)return!1;i.state&=-9,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||0!==t.length?Y(e,i,t,!1):Q(e,i)):Y(e,i,t,!1)}else n||(i.state&=-9,Q(e,i));return!i.ended&&(i.length<i.highWaterMark||0===i.length)}function Y(e,t,r,n){t.flowing&&0===t.length&&!t.sync&&e.listenerCount("data")>0?(65536&t.state?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),64&t.state&&J(e)),Q(e,t)}u(q.prototype,{objectMode:z(U),ended:z(2),endEmitted:z(4),reading:z(8),constructed:z(H),sync:z($),needReadable:z(64),emittedReadable:z(128),readableListening:z(256),resumeScheduled:z(512),errorEmitted:z(1024),emitClose:z(G),autoDestroy:z(W),destroyed:z(8192),closed:z(16384),closeEmitted:z(32768),multiAwaitDrain:z(65536),readingMore:z(1<<17),dataEmitted:z(1<<18)}),V.prototype.destroy=S.destroy,V.prototype._undestroy=S.undestroy,V.prototype._destroy=function(e,t){t(e)},V.prototype[m.captureRejectionSymbol]=function(e){this.destroy(e)},V.prototype[h]=function(){let e;return this.destroyed||(e=this.readableEnded?null:new M,this.destroy(e)),new f((t,r)=>_(this,n=>n&&n!==e?r(n):t(null)))},V.prototype.push=function(e,t){return K(this,e,t,!1)},V.prototype.unshift=function(e,t){return K(this,e,t,!0)},V.prototype.isPaused=function(){const e=this._readableState;return!0===e[C]||!1===e.flowing},V.prototype.setEncoding=function(e){const t=new F(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;const r=this._readableState.buffer;let n="";for(const e of r)n+=t.write(e);return r.clear(),""!==n&&r.push(n),this._readableState.length=n.length,this};function X(e,t){return e<=0||0===t.length&&t.ended?0:0!==(t.state&U)?1:a(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function J(e){const t=e._readableState;E("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(E("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(Z,e))}function Z(e){const t=e._readableState;E("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||t.errored||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,ie(e)}function Q(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,n.nextTick(ee,e,t))}function ee(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){const r=t.length;if(E("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function te(e){const t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!1===t[C]?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function re(e){E("readable nexttick read 0"),e.read(0)}function ne(e,t){E("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),ie(e),t.flowing&&!t.reading&&e.read(0)}function ie(e){const t=e._readableState;for(E("flow",t.flowing);t.flowing&&null!==e.read(););}function oe(e,t){"function"!=typeof e.read&&(e=V.wrap(e,{objectMode:!0}));const r=async function*(e,t){let r,n=B;function i(t){this===e?(n(),n=B):n=t}e.on("readable",i);const o=_(e,{writable:!1},e=>{r=e?O(r,e):null,n(),n=B});try{for(;;){const t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(r)throw r;if(null===r)return;await new f(i)}}}catch(e){throw r=O(r,e),r}finally{!r&&!1===(null===t||t===undefined?undefined:t.destroyOnReturn)||r!==undefined&&!e._readableState.autoDestroy?(e.off("readable",i),o()):S.destroyer(e,null)}}(e,t);return r.stream=e,r}function ae(e,t){if(0===t.length)return null;let r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function se(e){const t=e._readableState;E("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(ue,t,e))}function ue(e,t){if(E("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit("end"),t.writable&&!1===t.allowHalfOpen)n.nextTick(le,t);else if(e.autoDestroy){const e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function le(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let ce;function fe(){return ce===undefined&&(ce={}),ce}V.prototype.read=function(e){E("read",e),e===undefined?e=NaN:o(e)||(e=s(e,10));const t=this._readableState,r=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>1073741824)throw new A("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.state&=-129),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return E("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?se(this):J(this),null;if(0===(e=X(e,t))&&t.ended)return 0===t.length&&se(this),null;let n,i=!!(64&t.state);if(E("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,E("length less than watermark",i)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)i=!1,E("reading, ended or constructing",i);else if(i){E("do read"),t.state|=8|$,0===t.length&&(t.state|=64);try{this._read(t.highWaterMark)}catch(e){D(this,e)}t.state&=~$,t.reading||(e=X(r,t))}return n=e>0?ae(e,t):null,null===n?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&se(this)),null===n||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit("data",n)),n},V.prototype._read=function(e){throw new k("_read()")},V.prototype.pipe=function(e,t){const r=this,i=this._readableState;1===i.pipes.length&&(i.multiAwaitDrain||(i.multiAwaitDrain=!0,i.awaitDrainWriters=new d(i.awaitDrainWriters?[i.awaitDrainWriters]:[]))),i.pipes.push(e),E("pipe count=%d opts=%j",i.pipes.length,t);const o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?s:m;function a(t,n){E("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,function(){E("cleanup"),e.removeListener("close",p),e.removeListener("finish",b),u&&e.removeListener("drain",u);e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",s),r.removeListener("end",m),r.removeListener("data",f),l=!0,u&&i.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&u()}())}function s(){E("onend"),e.end()}let u;i.endEmitted?n.nextTick(o):r.once("end",o),e.on("unpipe",a);let l=!1;function c(){l||(1===i.pipes.length&&i.pipes[0]===e?(E("false write response, pause",0),i.awaitDrainWriters=e,i.multiAwaitDrain=!1):i.pipes.length>1&&i.pipes.includes(e)&&(E("false write response, pause",i.awaitDrainWriters.size),i.awaitDrainWriters.add(e)),r.pause()),u||(u=function(e,t){return function(){const r=e._readableState;r.awaitDrainWriters===t?(E("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(E("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(t)),r.awaitDrainWriters&&0!==r.awaitDrainWriters.size||!e.listenerCount("data")||e.resume()}}(r,e),e.on("drain",u))}function f(t){E("ondata");const r=e.write(t);E("dest.write",r),!1===r&&c()}function h(t){if(E("onerror",t),m(),e.removeListener("error",h),0===e.listenerCount("error")){const r=e._writableState||e._readableState;r&&!r.errorEmitted?D(e,t):e.emit("error",t)}}function p(){e.removeListener("finish",b),m()}function b(){E("onfinish"),e.removeListener("close",p),m()}function m(){E("unpipe"),r.unpipe(e)}return r.on("data",f),y(e,"error",h),e.once("close",p),e.once("finish",b),e.emit("pipe",r),!0===e.writableNeedDrain?c():i.flowing||(E("pipe resume"),r.resume()),e},V.prototype.unpipe=function(e){const t=this._readableState;if(0===t.pipes.length)return this;if(!e){const e=t.pipes;t.pipes=[],this.pause();for(let t=0;t<e.length;t++)e[t].emit("unpipe",this,{hasUnpiped:!1});return this}const r=i(t.pipes,e);return-1===r||(t.pipes.splice(r,1),0===t.pipes.length&&this.pause(),e.emit("unpipe",this,{hasUnpiped:!1})),this},V.prototype.on=function(e,t){const r=g.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,E("on readable",i.length,i.reading),i.length?J(this):i.reading||n.nextTick(re,this))),r},V.prototype.addListener=V.prototype.on,V.prototype.removeListener=function(e,t){const r=g.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(te,this),r},V.prototype.off=V.prototype.removeListener,V.prototype.removeAllListeners=function(e){const t=g.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||n.nextTick(te,this),t},V.prototype.resume=function(){const e=this._readableState;return e.flowing||(E("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(ne,e,t))}(this,e)),e[C]=!1,this},V.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[C]=!0,this},V.prototype.wrap=function(e){let t=!1;e.on("data",r=>{!this.push(r)&&e.pause&&(t=!0,e.pause())}),e.on("end",()=>{this.push(null)}),e.on("error",e=>{D(this,e)}),e.on("close",()=>{this.destroy()}),e.on("destroy",()=>{this.destroy()}),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};const r=l(e);for(let t=1;t<r.length;t++){const n=r[t];this[n]===undefined&&"function"==typeof e[n]&&(this[n]=e[n].bind(e))}return this},V.prototype[p]=function(){return oe(this)},V.prototype.iterator=function(e){return e!==undefined&&L(e,"options"),oe(this,e)},u(V.prototype,{readable:{__proto__:null,get(){const e=this._readableState;return!(!e||!1===e.readable||e.destroyed||e.errorEmitted||e.endEmitted)},set(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),u(q.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[C]},set(e){this[C]=!!e}}}),V._fromList=ae,V.from=function(e,t){return N(V,e,t)},V.fromWeb=function(e,t){return fe().newStreamReadableFromReadableStream(e,t)},V.toWeb=function(e,t){return fe().newReadableStreamFromStreamReadable(e,t)},V.wrap=function(e,t){var r,n;return new V({objectMode:null===(r=null!==(n=e.readableObjectMode)&&n!==undefined?n:e.objectMode)||r===undefined||r,...t,destroy(t,r){S.destroyer(e,t),r(t)}}).wrap(e)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/readable.js"}],[7607,{"../../ours/errors":7613,"../../ours/primordials":7614,"../validators":7611},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{MathFloor:n,NumberIsInteger:i}=e("../../ours/primordials"),{validateInteger:o}=e("../validators"),{ERR_INVALID_ARG_VALUE:a}=e("../../ours/errors").codes;let s=16384,u=16;function l(e){return e?u:s}t.exports={getHighWaterMark:function(e,t,r,o){const s=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,o,r);if(null!=s){if(!i(s)||s<0){throw new a(o?`options.${r}`:"options.highWaterMark",s)}return n(s)}return l(e.objectMode)},getDefaultHighWaterMark:l,setDefaultHighWaterMark:function(e,t){o(t,"value",0),e?u=t:s=t}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/state.js"}],[7608,{"../../ours/errors":7613,"../../ours/primordials":7614,"./duplex":7598,"./state":7607},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ObjectSetPrototypeOf:n,Symbol:i}=e("../../ours/primordials");t.exports=l;const{ERR_METHOD_NOT_IMPLEMENTED:o}=e("../../ours/errors").codes,a=e("./duplex"),{getHighWaterMark:s}=e("./state");n(l.prototype,a.prototype),n(l,a);const u=i("kCallback");function l(e){if(!(this instanceof l))return new l(e);const t=e?s(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),a.call(this,e),this._readableState.sync=!1,this[u]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function c(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush((t,r)=>{t?e?e(t):this.destroy(t):(null!=r&&this.push(r),this.push(null),e&&e())})}function f(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(e,t,r){throw new o("_transform()")},l.prototype._write=function(e,t,r){const n=this._readableState,i=this._writableState,o=n.length;this._transform(e,t,(e,t)=>{e?r(e):(null!=t&&this.push(t),i.ended||o===n.length||n.length<n.highWaterMark?r():this[u]=r)})},l.prototype._read=function(){if(this[u]){const e=this[u];this[u]=null,e()}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/transform.js"}],[7609,{"../../ours/primordials":7614},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{SymbolAsyncIterator:n,SymbolIterator:i,SymbolFor:o}=e("../../ours/primordials"),a=o("nodejs.stream.destroyed"),s=o("nodejs.stream.errored"),u=o("nodejs.stream.readable"),l=o("nodejs.stream.writable"),c=o("nodejs.stream.disturbed"),f=o("nodejs.webstream.isClosedPromise"),d=o("nodejs.webstream.controllerErrorFunction");function h(e,t=!1){var r;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(r=e._readableState)||r===undefined?undefined:r.readable)||e._writableState&&!e._readableState)}function p(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||t===undefined?undefined:t.writable))}function b(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function m(e){return!(!e||b(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function g(e){return!(!e||b(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function y(e){return!(!e||b(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function v(e){if(!b(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!!(e.destroyed||e[a]||null!==n&&n!==undefined&&n.destroyed)}function w(e){if(!p(e))return null;if(!0===e.writableEnded)return!0;const t=e._writableState;return(null===t||t===undefined||!t.errored)&&("boolean"!=typeof(null===t||t===undefined?undefined:t.ended)?null:t.ended)}function _(e,t){if(!h(e))return null;const r=e._readableState;return(null===r||r===undefined||!r.errored)&&("boolean"!=typeof(null===r||r===undefined?undefined:r.endEmitted)?null:!!(r.endEmitted||!1===t&&!0===r.ended&&0===r.length))}function E(e){return e&&null!=e[u]?e[u]:"boolean"!=typeof(null===e||e===undefined?undefined:e.readable)?null:!v(e)&&(h(e)&&e.readable&&!_(e))}function j(e){return e&&null!=e[l]?e[l]:"boolean"!=typeof(null===e||e===undefined?undefined:e.writable)?null:!v(e)&&(p(e)&&e.writable&&!w(e))}function S(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function T(e){return"boolean"==typeof e._sent100&&S(e)}t.exports={isDestroyed:v,kIsDestroyed:a,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&t!==undefined?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,r,n,i,o,a,u,l,c,f;return!(!e||!(null!==(t=null!==(r=null!==(n=null!==(i=null!==(o=null!==(a=e[s])&&a!==undefined?a:e.readableErrored)&&o!==undefined?o:e.writableErrored)&&i!==undefined?i:null===(u=e._readableState)||u===undefined?undefined:u.errorEmitted)&&n!==undefined?n:null===(l=e._writableState)||l===undefined?undefined:l.errorEmitted)&&r!==undefined?r:null===(c=e._readableState)||c===undefined?undefined:c.errored)&&t!==undefined?t:null===(f=e._writableState)||f===undefined?undefined:f.errored))},kIsErrored:s,isReadable:E,kIsReadable:u,kIsClosedPromise:f,kControllerErrorFunction:d,kIsWritable:l,isClosed:function(e){if(!b(e))return null;if("boolean"==typeof e.closed)return e.closed;const t=e._writableState,r=e._readableState;return"boolean"==typeof(null===t||t===undefined?undefined:t.closed)||"boolean"==typeof(null===r||r===undefined?undefined:r.closed)?(null===t||t===undefined?undefined:t.closed)||(null===r||r===undefined?undefined:r.closed):"boolean"==typeof e._closed&&S(e)?e._closed:null},isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return b(e)?!!v(e)||(!1===(null===t||t===undefined?undefined:t.readable)||!E(e))&&(!1===(null===t||t===undefined?undefined:t.writable)||!j(e)):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[n]:!1===t?"function"==typeof e[i]:"function"==typeof e[n]||"function"==typeof e[i])},isReadableNodeStream:h,isReadableStream:m,isReadableEnded:function(e){if(!h(e))return null;if(!0===e.readableEnded)return!0;const t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof(null===t||t===undefined?undefined:t.ended)?null:t.ended)},isReadableFinished:_,isReadableErrored:function(e){var t,r;return b(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||r===undefined?undefined:r.errored)&&t!==undefined?t:null:null},isNodeStream:b,isWebStream:function(e){return m(e)||g(e)||y(e)},isWritable:j,isWritableNodeStream:p,isWritableStream:g,isWritableEnded:w,isWritableFinished:function(e,t){if(!p(e))return null;if(!0===e.writableFinished)return!0;const r=e._writableState;return(null===r||r===undefined||!r.errored)&&("boolean"!=typeof(null===r||r===undefined?undefined:r.finished)?null:!!(r.finished||!1===t&&!0===r.ended&&0===r.length))},isWritableErrored:function(e){var t,r;return b(e)?e.writableErrored?e.writableErrored:null!==(t=null===(r=e._writableState)||r===undefined?undefined:r.errored)&&t!==undefined?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&(null===(t=e.req)||t===undefined?undefined:t.upgradeOrConnect)===undefined},isServerResponse:T,willEmitClose:function(e){if(!b(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!n&&T(e)||!!(n&&n.autoDestroy&&n.emitClose&&!1===n.closed)},isTransformStream:y}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/utils.js"}],[7610,{"../../ours/errors":7613,"../../ours/primordials":7614,"./add-abort-signal":7594,"./destroy":7597,"./duplex":7598,"./legacy":7602,"./state":7607,buffer:6221,events:6529,"process/":7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{ArrayPrototypeSlice:i,Error:o,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:s,ObjectDefineProperties:u,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:f,SymbolHasInstance:d}=e("../../ours/primordials");t.exports=L,L.WritableState=R;const{EventEmitter:h}=e("events"),p=e("./legacy").Stream,{Buffer:b}=e("buffer"),m=e("./destroy"),{addAbortSignal:g}=e("./add-abort-signal"),{getHighWaterMark:y,getDefaultHighWaterMark:v}=e("./state"),{ERR_INVALID_ARG_TYPE:w,ERR_METHOD_NOT_IMPLEMENTED:_,ERR_MULTIPLE_CALLBACK:E,ERR_STREAM_CANNOT_PIPE:j,ERR_STREAM_DESTROYED:S,ERR_STREAM_ALREADY_FINISHED:T,ERR_STREAM_NULL_VALUES:x,ERR_STREAM_WRITE_AFTER_END:O,ERR_UNKNOWN_ENCODING:P}=e("../../ours/errors").codes,{errorOrDestroy:k}=m;function A(){}l(L.prototype,p.prototype),l(L,p);const I=f("kOnFinished");function R(t,r,n){"boolean"!=typeof n&&(n=r instanceof e("./duplex")),this.objectMode=!(!t||!t.objectMode),n&&(this.objectMode=this.objectMode||!(!t||!t.writableObjectMode)),this.highWaterMark=t?y(this,t,"writableHighWaterMark",n):v(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const i=!(!t||!1!==t.decodeStrings);this.decodeStrings=!i,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=B.bind(undefined,r),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,M(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!t||!1!==t.emitClose,this.autoDestroy=!t||!1!==t.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[I]=[]}function M(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function L(t){const r=this instanceof e("./duplex");if(!r&&!a(L,this))return new L(t);this._writableState=new R(t,this,r),t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&g(t.signal,this)),p.call(this,t),m.construct(this,()=>{const e=this._writableState;e.writing||$(this,e),z(this,e)})}function C(e,t,r,i){const o=e._writableState;if("function"==typeof r)i=r,r=o.defaultEncoding;else{if(r){if("buffer"!==r&&!b.isEncoding(r))throw new P(r)}else r=o.defaultEncoding;"function"!=typeof i&&(i=A)}if(null===t)throw new x;if(!o.objectMode)if("string"==typeof t)!1!==o.decodeStrings&&(t=b.from(t,r),r="buffer");else if(t instanceof b)r="buffer";else{if(!p._isUint8Array(t))throw new w("chunk",["string","Buffer","Uint8Array"],t);t=p._uint8ArrayToBuffer(t),r="buffer"}let a;return o.ending?a=new O:o.destroyed&&(a=new S("write")),a?(n.nextTick(i,a),k(e,a,!0),a):(o.pendingcb++,function(e,t,r,n,i){const o=t.objectMode?1:r.length;t.length+=o;const a=t.length<t.highWaterMark;a||(t.needDrain=!0);t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:r,encoding:n,callback:i}),t.allBuffers&&"buffer"!==n&&(t.allBuffers=!1),t.allNoop&&i!==A&&(t.allNoop=!1)):(t.writelen=o,t.writecb=i,t.writing=!0,t.sync=!0,e._write(r,n,t.onwrite),t.sync=!1);return a&&!t.errored&&!t.destroyed}(e,o,t,r,i))}function F(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new S("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function N(e,t,r,n){--t.pendingcb,n(r),H(t),k(e,r)}function B(e,t){const r=e._writableState,i=r.sync,o=r.writecb;"function"==typeof o?(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t?(t.stack,r.errored||(r.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),i?n.nextTick(N,e,r,t,o):N(e,r,t,o)):(r.buffered.length>r.bufferedIndex&&$(e,r),i?null!==r.afterWriteTickInfo&&r.afterWriteTickInfo.cb===o?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:o,stream:e,state:r},n.nextTick(D,r.afterWriteTickInfo)):U(e,r,1,o))):k(e,new E)}function D({stream:e,state:t,count:r,cb:n}){return t.afterWriteTickInfo=null,U(e,t,r,n)}function U(e,t,r,n){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));r-- >0;)t.pendingcb--,n();t.destroyed&&H(t),z(e,t)}function H(e){if(e.writing)return;for(let r=e.bufferedIndex;r<e.buffered.length;++r){var t;const{chunk:n,callback:i}=e.buffered[r],o=e.objectMode?1:n.length;e.length-=o,i(null!==(t=e.errored)&&t!==undefined?t:new S("write"))}const r=e[I].splice(0);for(let t=0;t<r.length;t++){var n;r[t](null!==(n=e.errored)&&n!==undefined?n:new S("end"))}M(e)}function $(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;const{buffered:r,bufferedIndex:n,objectMode:o}=t,a=r.length-n;if(!a)return;let s=n;if(t.bufferProcessing=!0,a>1&&e._writev){t.pendingcb-=a-1;const n=t.allNoop?A:e=>{for(let t=s;t<r.length;++t)r[t].callback(e)},o=t.allNoop&&0===s?r:i(r,s);o.allBuffers=t.allBuffers,F(e,t,!0,t.length,o,"",n),M(t)}else{do{const{chunk:n,encoding:i,callback:a}=r[s];r[s++]=null;F(e,t,!1,o?1:n.length,n,i,a)}while(s<r.length&&!t.writing);s===r.length?M(t):s>256?(r.splice(0,s),t.bufferedIndex=0):t.bufferedIndex=s}t.bufferProcessing=!1}function G(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function W(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.finalCalled=!0,function(e,t){let r=!1;function i(i){if(r)k(e,null!==i&&i!==undefined?i:E());else if(r=!0,t.pendingcb--,i){const r=t[I].splice(0);for(let e=0;e<r.length;e++)r[e](i);k(e,i,t.sync)}else G(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,n.nextTick(q,e,t))}t.sync=!0,t.pendingcb++;try{e._final(i)}catch(e){i(e)}t.sync=!1}(e,t)))}function z(e,t,r){G(t)&&(W(e,t),0===t.pendingcb&&(r?(t.pendingcb++,n.nextTick((e,t)=>{G(t)?q(e,t):t.pendingcb--},e,t)):G(t)&&(t.pendingcb++,q(e,t))))}function q(e,t){t.pendingcb--,t.finished=!0;const r=t[I].splice(0);for(let e=0;e<r.length;e++)r[e]();if(e.emit("finish"),t.autoDestroy){const t=e._readableState;(!t||t.autoDestroy&&(t.endEmitted||!1===t.readable))&&e.destroy()}}R.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},s(R.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),s(L,d,{__proto__:null,value:function(e){return!!a(this,e)||this===L&&(e&&e._writableState instanceof R)}}),L.prototype.pipe=function(){k(this,new j)},L.prototype.write=function(e,t,r){return!0===C(this,e,t,r)},L.prototype.cork=function(){this._writableState.corked++},L.prototype.uncork=function(){const e=this._writableState;e.corked&&(e.corked--,e.writing||$(this,e))},L.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=c(e)),!b.isEncoding(e))throw new P(e);return this._writableState.defaultEncoding=e,this},L.prototype._write=function(e,t,r){if(!this._writev)throw new _("_write()");this._writev([{chunk:e,encoding:t}],r)},L.prototype._writev=null,L.prototype.end=function(e,t,r){const i=this._writableState;let a;if("function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&e!==undefined){const r=C(this,e,t);r instanceof o&&(a=r)}return i.corked&&(i.corked=1,this.uncork()),a||(i.errored||i.ending?i.finished?a=new T("end"):i.destroyed&&(a=new S("end")):(i.ending=!0,z(this,i,!0),i.ended=!0)),"function"==typeof r&&(a||i.finished?n.nextTick(r,a):i[I].push(r)),this},u(L.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get(){const e=this._writableState;return!(!e||!1===e.writable||e.destroyed||e.errored||e.ending||e.ended)},set(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){const e=this._writableState;return!!e&&(!e.destroyed&&!e.ending&&e.needDrain)}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});const V=m.destroy;let K;function Y(){return K===undefined&&(K={}),K}L.prototype.destroy=function(e,t){const r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[I].length)&&n.nextTick(H,r),V.call(this,e,t),this},L.prototype._undestroy=m.undestroy,L.prototype._destroy=function(e,t){t(e)},L.prototype[h.captureRejectionSymbol]=function(e){this.destroy(e)},L.fromWeb=function(e,t){return Y().newStreamWritableFromWritableStream(e,t)},L.toWeb=function(e){return Y().newWritableStreamFromStreamWritable(e)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/writable.js"}],[7611,{"../ours/errors":7613,"../ours/primordials":7614,"../ours/util":7615},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ArrayIsArray:n,ArrayPrototypeIncludes:i,ArrayPrototypeJoin:o,ArrayPrototypeMap:a,NumberIsInteger:s,NumberIsNaN:u,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:f,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:h,String:p,StringPrototypeToUpperCase:b,StringPrototypeTrim:m}=e("../ours/primordials"),{hideStackFrames:g,codes:{ERR_SOCKET_BAD_PORT:y,ERR_INVALID_ARG_TYPE:v,ERR_INVALID_ARG_VALUE:w,ERR_OUT_OF_RANGE:_,ERR_UNKNOWN_SIGNAL:E}}=e("../ours/errors"),{normalizeEncoding:j}=e("../ours/util"),{isAsyncFunction:S,isArrayBufferView:T}=e("../ours/util").types,x={};const O=/^[0-7]+$/;const P=g((e,t,r=c,n=l)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!s(e))throw new _(t,"an integer",e);if(e<r||e>n)throw new _(t,`>= ${r} && <= ${n}`,e)}),k=g((e,t,r=-2147483648,n=2147483647)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!s(e))throw new _(t,"an integer",e);if(e<r||e>n)throw new _(t,`>= ${r} && <= ${n}`,e)}),A=g((e,t,r=!1)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!s(e))throw new _(t,"an integer",e);const n=r?1:0,i=4294967295;if(e<n||e>i)throw new _(t,`>= ${n} && <= ${i}`,e)});function I(e,t){if("string"!=typeof e)throw new v(t,"string",e)}const R=g((e,t,r)=>{if(!i(r,e)){const n=o(a(r,e=>"string"==typeof e?`'${e}'`:p(e)),", ");throw new w(t,e,"must be one of: "+n)}});function M(e,t){if("boolean"!=typeof e)throw new v(t,"boolean",e)}function L(e,t,r){return null!=e&&d(e,t)?e[t]:r}const C=g((e,t,r=null)=>{const i=L(r,"allowArray",!1),o=L(r,"allowFunction",!1);if(!L(r,"nullable",!1)&&null===e||!i&&n(e)||"object"!=typeof e&&(!o||"function"!=typeof e))throw new v(t,"Object",e)}),F=g((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new v(t,"a dictionary",e)}),N=g((e,t,r=0)=>{if(!n(e))throw new v(t,"Array",e);if(e.length<r){throw new w(t,e,`must be longer than ${r}`)}});const B=g((e,t="buffer")=>{if(!T(e))throw new v(t,["Buffer","TypedArray","DataView"],e)});const D=g((e,t)=>{if(e!==undefined&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new v(t,"AbortSignal",e)}),U=g((e,t)=>{if("function"!=typeof e)throw new v(t,"Function",e)}),H=g((e,t)=>{if("function"!=typeof e||S(e))throw new v(t,"Function",e)}),$=g((e,t)=>{if(e!==undefined)throw new v(t,"undefined",e)});const G=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function W(e,t){if(void 0===e||!h(G,e))throw new w(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}t.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,r){if(void 0===e&&(e=r),"string"==typeof e){if(null===h(O,e))throw new w(t,e,"must be a 32-bit unsigned integer or an octal string");e=f(e,8)}return A(e,t),e},validateArray:N,validateStringArray:function(e,t){N(e,t);for(let r=0;r<e.length;r++)I(e[r],`${t}[${r}]`)},validateBooleanArray:function(e,t){N(e,t);for(let r=0;r<e.length;r++)M(e[r],`${t}[${r}]`)},validateAbortSignalArray:function(e,t){N(e,t);for(let r=0;r<e.length;r++){const n=e[r],i=`${t}[${r}]`;if(null==n)throw new v(i,"AbortSignal",n);D(n,i)}},validateBoolean:M,validateBuffer:B,validateDictionary:F,validateEncoding:function(e,t){const r=j(t),n=e.length;if("hex"===r&&n%2!=0)throw new w("encoding",t,`is invalid for data of length ${n}`)},validateFunction:U,validateInt32:k,validateInteger:P,validateNumber:function(e,t,r=undefined,n){if("number"!=typeof e)throw new v(t,"number",e);if(null!=r&&e<r||null!=n&&e>n||(null!=r||null!=n)&&u(e))throw new _(t,`${null!=r?`>= ${r}`:""}${null!=r&&null!=n?" && ":""}${null!=n?`<= ${n}`:""}`,e)},validateObject:C,validateOneOf:R,validatePlainFunction:H,validatePort:function(e,t="Port",r=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===m(e).length||+e!==+e>>>0||e>65535||0===e&&!r)throw new y(t,e,r);return 0|e},validateSignalName:function(e,t="signal"){if(I(e,t),x[e]===undefined){if(x[b(e)]!==undefined)throw new E(e+" (signals must use all capital letters)");throw new E(e)}},validateString:I,validateUint32:A,validateUndefined:$,validateUnion:function(e,t,r){if(!i(r,e))throw new v(t,`('${o(r,"|")}')`,e)},validateAbortSignal:D,validateLinkHeaderValue:function(e){if("string"==typeof e)return W(e,"hints"),e;if(n(e)){const t=e.length;let r="";if(0===t)return r;for(let n=0;n<t;n++){const i=e[n];W(i,"hints"),r+=i,n!==t-1&&(r+=", ")}return r}throw new w("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/validators.js"}],[7612,{"../stream":7617,"../stream/promises":7618},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../stream"),i=e("../stream/promises"),o=n.Readable.destroy;t.exports=n.Readable,t.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,t.exports._isUint8Array=n._isUint8Array,t.exports.isDisturbed=n.isDisturbed,t.exports.isErrored=n.isErrored,t.exports.isReadable=n.isReadable,t.exports.Readable=n.Readable,t.exports.Writable=n.Writable,t.exports.Duplex=n.Duplex,t.exports.Transform=n.Transform,t.exports.PassThrough=n.PassThrough,t.exports.addAbortSignal=n.addAbortSignal,t.exports.finished=n.finished,t.exports.destroy=n.destroy,t.exports.destroy=o,t.exports.pipeline=n.pipeline,t.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get:()=>i}),t.exports.Stream=n.Stream,t.exports.default=t.exports}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/browser.js"}],[7613,{"./primordials":7614,"./util/inspect":7616},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{format:n,inspect:i}=e("./util/inspect"),{AggregateError:o}=e("./primordials"),a=globalThis.AggregateError||o,s=Symbol("kIsNodeError"),u=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,c={};function f(e,t){if(!e)throw new c.ERR_INTERNAL_ASSERTION(t)}function d(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function h(e,t,r){r||(r=Error);class i extends r{constructor(...r){super(function(e,t,r){if("function"==typeof t)return f(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const i=(t.match(/%[dfijoOs]/g)||[]).length;return f(i===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${i}).`),0===r.length?t:n(t,...r)}(e,t,r))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=e,i.prototype[s]=!0,c[e]=i}function p(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}class b extends Error{constructor(e="The operation was aborted",t=undefined){if(t!==undefined&&"object"!=typeof t)throw new c.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}}h("ERR_ASSERTION","%s",Error),h("ERR_INVALID_ARG_TYPE",(e,t,r)=>{f("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";const o=[],a=[],s=[];for(const e of t)f("string"==typeof e,"All expected entries have to be of type string"),u.includes(e)?o.push(e.toLowerCase()):l.test(e)?a.push(e):(f("object"!==e,'The value "object" should be written as "Object"'),s.push(e));if(a.length>0){const e=o.indexOf("object");-1!==e&&(o.splice(o,e,1),a.push("Object"))}if(o.length>0){switch(o.length){case 1:n+=`of type ${o[0]}`;break;case 2:n+=`one of type ${o[0]} or ${o[1]}`;break;default:{const e=o.pop();n+=`one of type ${o.join(", ")}, or ${e}`}}(a.length>0||s.length>0)&&(n+=" or ")}if(a.length>0){switch(a.length){case 1:n+=`an instance of ${a[0]}`;break;case 2:n+=`an instance of ${a[0]} or ${a[1]}`;break;default:{const e=a.pop();n+=`an instance of ${a.join(", ")}, or ${e}`}}s.length>0&&(n+=" or ")}switch(s.length){case 0:break;case 1:s[0].toLowerCase()!==s[0]&&(n+="an "),n+=`${s[0]}`;break;case 2:n+=`one of ${s[0]} or ${s[1]}`;break;default:{const e=s.pop();n+=`one of ${s.join(", ")}, or ${e}`}}if(null==r)n+=`. Received ${r}`;else if("function"==typeof r&&r.name)n+=`. Received function ${r.name}`;else if("object"==typeof r){var c;if(null!==(c=r.constructor)&&c!==undefined&&c.name)n+=`. Received an instance of ${r.constructor.name}`;else{n+=`. Received ${i(r,{depth:-1})}`}}else{let e=i(r,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),n+=`. Received type ${typeof r} (${e})`}return n},TypeError),h("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=i(t);n.length>128&&(n=n.slice(0,128)+"...");return`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError),h("ERR_INVALID_RETURN_VALUE",(e,t,r)=>{var n;return`Expected ${e} to be returned from the "${t}" function but got ${null!==r&&r!==undefined&&null!==(n=r.constructor)&&n!==undefined&&n.name?`instance of ${r.constructor.name}`:"type "+typeof r}.`},TypeError),h("ERR_MISSING_ARGS",(...e)=>{let t;f(e.length>0,"At least one arg needs to be specified");const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map(e=>`"${e}"`).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const r=e.pop();t+=`The ${e.join(", ")}, and ${r} arguments`}}return`${t} must be specified`},TypeError),h("ERR_OUT_OF_RANGE",(e,t,r)=>{let n;if(f(t,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32)n=d(String(r));else if("bigint"==typeof r){n=String(r);const e=BigInt(2)**BigInt(32);(r>e||r<-e)&&(n=d(n)),n+="n"}else n=i(r);return`The value of "${e}" is out of range. It must be ${t}. Received ${n}`},RangeError),h("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),h("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),h("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),h("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),h("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),h("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),h("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),h("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),h("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),h("ERR_STREAM_WRITE_AFTER_END","write after end",Error),h("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:b,aggregateTwoErrors:p(function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new a([t,e],t.message);return r.code=t.code,r}return e||t}),hideStackFrames:p,codes:c}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/errors.js"}],[7614,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){class n extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let t="";for(let r=0;r<e.length;r++)t+=`    ${e[r].stack}\n`;super(t),this.name="AggregateError",this.errors=e}}t.exports={AggregateError:n,ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,t)=>e.includes(t),ArrayPrototypeIndexOf:(e,t)=>e.indexOf(t),ArrayPrototypeJoin:(e,t)=>e.join(t),ArrayPrototypeMap:(e,t)=>e.map(t),ArrayPrototypePop:(e,t)=>e.pop(t),ArrayPrototypePush:(e,t)=>e.push(t),ArrayPrototypeSlice:(e,t,r)=>e.slice(t,r),Error:Error,FunctionPrototypeCall:(e,t,...r)=>e.call(t,...r),FunctionPrototypeSymbolHasInstance:(e,t)=>Function.prototype[Symbol.hasInstance].call(e,t),MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,t)=>Object.defineProperties(e,t),ObjectDefineProperty:(e,t,r)=>Object.defineProperty(e,t,r),ObjectGetOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,t)=>Object.setPrototypeOf(e,t),Promise:Promise,PromisePrototypeCatch:(e,t)=>e.catch(t),PromisePrototypeThen:(e,t,r)=>e.then(t,r),PromiseReject:e=>Promise.reject(e),PromiseResolve:e=>Promise.resolve(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,t)=>e.test(t),SafeSet:Set,String:String,StringPrototypeSlice:(e,t,r)=>e.slice(t,r),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet:(e,t,r)=>e.set(t,r),Boolean:Boolean,Uint8Array:Uint8Array}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/primordials.js"}],[7615,{"./errors":7613,"./primordials":7614,"./util/inspect":7616,"abort-controller":6057,buffer:6221,events:6529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("buffer"),{format:i,inspect:o}=e("./util/inspect"),{codes:{ERR_INVALID_ARG_TYPE:a}}=e("./errors"),{kResistStopPropagation:s,AggregateError:u,SymbolDispose:l}=e("./primordials"),c=globalThis.AbortSignal||e("abort-controller").AbortSignal,f=globalThis.AbortController||e("abort-controller").AbortController,d=Object.getPrototypeOf(async function(){}).constructor,h=globalThis.Blob||n.Blob,p=void 0!==h?function(e){return e instanceof h}:function(e){return!1},b=(e,t)=>{if(e!==undefined&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new a(t,"AbortSignal",e)};t.exports={AggregateError:u,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...r){t||(t=!0,e.apply(this,r))}},createDeferredPromise:function(){let e,t;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}},promisify:e=>new Promise((t,r)=>{e((e,...n)=>e?r(e):t(...n))}),debuglog:()=>function(){},format:i,inspect:o,types:{isAsyncFunction:e=>e instanceof d,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:p,deprecate:(e,t)=>e,addAbortListener:e("events").addAbortListener||function(e,t){if(e===undefined)throw new a("signal","AbortSignal",e);let r;return b(e,"signal"),((e,t)=>{if("function"!=typeof e)throw new a(t,"Function",e)})(t,"listener"),e.aborted?queueMicrotask(()=>t()):(e.addEventListener("abort",t,{__proto__:null,once:!0,[s]:!0}),r=()=>{e.removeEventListener("abort",t)}),{__proto__:null,[l](){var e;null===(e=r)||e===undefined?undefined:e()}}},AbortSignalAny:c.any||function(e){if(1===e.length)return e[0];const t=new f,r=()=>t.abort();return e.forEach(e=>{b(e,"signals"),e.addEventListener("abort",r,{once:!0})}),t.signal.addEventListener("abort",()=>{e.forEach(e=>e.removeEventListener("abort",r))},{once:!0}),t.signal}},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/util.js"}],[7616,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={format:(e,...t)=>e.replace(/%([sdifj])/g,function(...[e,r]){const n=t.shift();if("f"===r)return n.toFixed(6);if("j"===r)return JSON.stringify(n);if("s"===r&&"object"==typeof n){return`${n.constructor!==Object?n.constructor.name:""} {}`.trim()}return n.toString()}),inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/util/inspect.js"}],[7617,{"./internal/streams/add-abort-signal":7594,"./internal/streams/compose":7596,"./internal/streams/destroy":7597,"./internal/streams/duplex":7598,"./internal/streams/end-of-stream":7600,"./internal/streams/legacy":7602,"./internal/streams/operators":7603,"./internal/streams/passthrough":7604,"./internal/streams/pipeline":7605,"./internal/streams/readable":7606,"./internal/streams/state":7607,"./internal/streams/transform":7608,"./internal/streams/utils":7609,"./internal/streams/writable":7610,"./ours/errors":7613,"./ours/primordials":7614,"./ours/util":7615,"./stream/promises":7618,buffer:6221},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{Buffer:n}=e("buffer"),{ObjectDefineProperty:i,ObjectKeys:o,ReflectApply:a}=e("./ours/primordials"),{promisify:{custom:s}}=e("./ours/util"),{streamReturningOperators:u,promiseReturningOperators:l}=e("./internal/streams/operators"),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=e("./ours/errors"),f=e("./internal/streams/compose"),{setDefaultHighWaterMark:d,getDefaultHighWaterMark:h}=e("./internal/streams/state"),{pipeline:p}=e("./internal/streams/pipeline"),{destroyer:b}=e("./internal/streams/destroy"),m=e("./internal/streams/end-of-stream"),g=e("./stream/promises"),y=e("./internal/streams/utils"),v=t.exports=e("./internal/streams/legacy").Stream;v.isDestroyed=y.isDestroyed,v.isDisturbed=y.isDisturbed,v.isErrored=y.isErrored,v.isReadable=y.isReadable,v.isWritable=y.isWritable,v.Readable=e("./internal/streams/readable");for(const _ of o(u)){const E=u[_];function j(...e){if(new.target)throw c();return v.Readable.from(a(E,this,e))}i(j,"name",{__proto__:null,value:E.name}),i(j,"length",{__proto__:null,value:E.length}),i(v.Readable.prototype,_,{__proto__:null,value:j,enumerable:!1,configurable:!0,writable:!0})}for(const S of o(l)){const T=l[S];function x(...e){if(new.target)throw c();return a(T,this,e)}i(x,"name",{__proto__:null,value:T.name}),i(x,"length",{__proto__:null,value:T.length}),i(v.Readable.prototype,S,{__proto__:null,value:x,enumerable:!1,configurable:!0,writable:!0})}v.Writable=e("./internal/streams/writable"),v.Duplex=e("./internal/streams/duplex"),v.Transform=e("./internal/streams/transform"),v.PassThrough=e("./internal/streams/passthrough"),v.pipeline=p;const{addAbortSignal:w}=e("./internal/streams/add-abort-signal");v.addAbortSignal=w,v.finished=m,v.destroy=b,v.compose=f,v.setDefaultHighWaterMark=d,v.getDefaultHighWaterMark=h,i(v,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>g}),i(p,s,{__proto__:null,enumerable:!0,get:()=>g.pipeline}),i(m,s,{__proto__:null,enumerable:!0,get:()=>g.finished}),v.Stream=v,v._isUint8Array=function(e){return e instanceof Uint8Array},v._uint8ArrayToBuffer=function(e){return n.from(e.buffer,e.byteOffset,e.byteLength)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/stream.js"}],[7618,{"../../lib/stream.js":7617,"../internal/streams/end-of-stream":7600,"../internal/streams/pipeline":7605,"../internal/streams/utils":7609,"../ours/primordials":7614},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ArrayPrototypePop:n,Promise:i}=e("../ours/primordials"),{isIterable:o,isNodeStream:a,isWebStream:s}=e("../internal/streams/utils"),{pipelineImpl:u}=e("../internal/streams/pipeline"),{finished:l}=e("../internal/streams/end-of-stream");e("../../lib/stream.js"),t.exports={finished:l,pipeline:function(...e){return new i((t,r)=>{let i,l;const c=e[e.length-1];if(c&&"object"==typeof c&&!a(c)&&!o(c)&&!s(c)){const t=n(e);i=t.signal,l=t.end}u(e,(e,n)=>{e?r(e):t(n)},{signal:i,end:l})})}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/stream/promises.js"}],[7635,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(i){return"function"==typeof i?i(r,n,e):t(i)}}}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=n();i.withExtraArgument=n;var o=i;r.default=o}}},{package:"redux-thunk",file:"node_modules/redux-thunk/lib/index.js"}],[7636,{"@babel/runtime/helpers/objectSpread2":716},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var i=n(e("@babel/runtime/helpers/objectSpread2"));function o(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 a="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function l(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 c(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof t&&void 0===r&&(r=t,t=undefined),void 0!==r){if("function"!=typeof r)throw new Error(o(1));return r(c)(e,t)}if("function"!=typeof e)throw new Error(o(2));var i=e,s=t,f=[],d=f,h=!1;function p(){d===f&&(d=f.slice())}function b(){if(h)throw new Error(o(3));return s}function m(e){if("function"!=typeof e)throw new Error(o(4));if(h)throw new Error(o(5));var t=!0;return p(),d.push(e),function(){if(t){if(h)throw new Error(o(6));t=!1,p();var r=d.indexOf(e);d.splice(r,1),f=null}}}function g(e){if(!l(e))throw new Error(o(7));if(void 0===e.type)throw new Error(o(8));if(h)throw new Error(o(9));try{h=!0,s=i(s,e)}finally{h=!1}for(var t=f=d,r=0;r<t.length;r++){(0,t[r])()}return e}return g({type:u.INIT}),(n={dispatch:g,subscribe:m,getState:b,replaceReducer:function(e){if("function"!=typeof e)throw new Error(o(10));i=e,g({type:u.REPLACE})}})[a]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(o(11));function r(){e.next&&e.next(b())}return r(),{unsubscribe:t(r)}}})[a]=function(){return this},e},n}var f=c;function d(e,t){return function(){return t(e.apply(this,arguments))}}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}r.__DO_NOT_USE__ActionTypes=u,r.applyMiddleware=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(o(15))},a={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},s=t.map(function(e){return e(a)});return n=h.apply(void 0,s)(r.dispatch),i.default(i.default({},r),{},{dispatch:n})}}},r.bindActionCreators=function(e,t){if("function"==typeof e)return d(e,t);if("object"!=typeof e||null===e)throw new Error(o(16));var r={};for(var n in e){var i=e[n];"function"==typeof i&&(r[n]=d(i,t))}return r},r.combineReducers=function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];0,"function"==typeof e[i]&&(r[i]=e[i])}var a,s=Object.keys(r);try{!function(e){Object.keys(e).forEach(function(t){var r=e[t];if(void 0===r(undefined,{type:u.INIT}))throw new Error(o(12));if(void 0===r(undefined,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))})}(r)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var n=!1,i={},u=0;u<s.length;u++){var l=s[u],c=r[l],f=e[l],d=c(f,t);if(void 0===d){t&&t.type;throw new Error(o(14))}i[l]=d,n=n||d!==f}return(n=n||s.length!==Object.keys(e).length)?i:e}},r.compose=h,r.createStore=c,r.legacy_createStore=f}}},{package:"redux",file:"node_modules/redux/lib/redux.js"}],[7643,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,u={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(u,{createSelector:()=>q,createSelectorCreator:()=>z,createStructuredSelector:()=>V,lruMemoize:()=>B,referenceEqualityCheck:()=>F,setGlobalDevModeChecks:()=>c,unstable_autotrackMemoize:()=>D,weakMapMemoize:()=>W}),t.exports=(n=u,((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of a(t))s.call(e,u)||u===r||i(e,u,{get:()=>t[u],enumerable:!(n=o(t,u))||n.enumerable});return e})(i({},"__esModule",{value:!0}),n));var l={inputStabilityCheck:"once",identityFunctionCheck:"once"},c=e=>{Object.assign(l,e)},f=Symbol("NOT_FOUND");function d(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}var h=e=>Array.isArray(e)?e:[e];function p(e){const t=Array.isArray(e[0])?e[0]:e;return function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){const r=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw new TypeError(`${t}[${r}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function b(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var m=0,g=null,y=class{revision=m;_value;_lastValue;_isEqual=v;constructor(e,t=v){this._value=this._lastValue=e,this._isEqual=t}get value(){return g?.add(this),this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++m)}};function v(e,t){return e===t}var w=class{_cachedValue;_cachedRevision=-1;_deps=[];hits=0;fn;constructor(e){this.fn=e}clear(){this._cachedValue=void 0,this._cachedRevision=-1,this._deps=[],this.hits=0}get value(){if(this.revision>this._cachedRevision){const{fn:e}=this,t=new Set,r=g;g=t,this._cachedValue=e(),g=r,this.hits++,this._deps=Array.from(t),this._cachedRevision=this.revision}return g?.add(this),this._cachedValue}get revision(){return Math.max(...this._deps.map(e=>e.revision),0)}};function _(e){return e instanceof y||console.warn("Not a valid cell! ",e),e.value}var E=(e,t)=>!1;function j(){return function(e,t=v){return new y(e,t)}(null,E)}function S(e,t){!function(e,t){if(!(e instanceof y))throw new TypeError("setValue must be passed a tracked store created with `createStorage`.");e.value=e._lastValue=t}(e,t)}var T=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=j()),_(t)},x=e=>{const t=e.collectionTag;null!==t&&S(t,null)},O=(Symbol(),0),P=Object.getPrototypeOf({}),k=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy(this,A);tag=j();tags={};children={};collectionTag=null;id=O++},A={get:(e,t)=>function(){const{value:r}=e,n=Reflect.get(r,t);if("symbol"==typeof t)return n;if(t in P)return n;if("object"==typeof n&&null!==n){let r=e.children[t];return void 0===r&&(r=e.children[t]=M(n)),r.tag&&_(r.tag),r.proxy}{let r=e.tags[t];return void 0===r&&(r=e.tags[t]=j(),r.value=n),_(r),n}}(),ownKeys:e=>(T(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},I=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],R);tag=j();tags={};children={};collectionTag=null;id=O++},R={get:([e],t)=>("length"===t&&T(e),A.get(e,t)),ownKeys:([e])=>A.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>A.getOwnPropertyDescriptor(e,t),has:([e],t)=>A.has(e,t)};function M(e){return Array.isArray(e)?new I(e):new k(e)}function L(e,t){const{value:r,tags:n,children:i}=e;if(e.value=t,Array.isArray(r)&&Array.isArray(t)&&r.length!==t.length)x(e);else if(r!==t){let n=0,i=0,o=!1;for(const e in r)n++;for(const e in t)if(i++,!(e in r)){o=!0;break}(o||n!==i)&&x(e)}for(const i in n){const o=r[i],a=t[i];o!==a&&(x(e),S(n[i],a)),"object"==typeof a&&null!==a&&delete n[i]}for(const e in i){const r=i[e],n=t[e];r.value!==n&&("object"==typeof n&&null!==n?L(r,n):(C(r),delete i[e]))}}function C(e){e.tag&&S(e.tag,null),x(e);for(const t in e.tags)S(e.tags[t],null);for(const t in e.children)C(e.children[t])}var F=(e,t)=>e===t;function N(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;const{length:n}=t;for(let i=0;i<n;i++)if(!e(t[i],r[i]))return!1;return!0}}function B(e,t){const r="object"==typeof t?t:{equalityCheck:t},{equalityCheck:n=F,maxSize:i=1,resultEqualityCheck:o}=r,a=N(n);let s=0;const u=i<=1?function(e){let t;return{get:r=>t&&e(t.key,r)?t.value:f,put(e,r){t={key:e,value:r}},getEntries:()=>t?[t]:[],clear(){t=void 0}}}(a):function(e,t){let r=[];function n(e){const n=r.findIndex(r=>t(e,r.key));if(n>-1){const e=r[n];return n>0&&(r.splice(n,1),r.unshift(e)),e.value}return f}return{get:n,put:function(t,i){n(t)===f&&(r.unshift({key:t,value:i}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(i,a);function l(){let t=u.get(arguments);if(t===f){if(t=e.apply(null,arguments),s++,o){const e=u.getEntries().find(e=>o(e.value,t));e&&(t=e.value,0!==s&&s--)}u.put(arguments,t)}return t}return l.clearCache=()=>{u.clear(),l.resetResultsCount()},l.resultsCount=()=>s,l.resetResultsCount=()=>{s=0},l}function D(e){const t=M([]);let r=null;const n=N(F),i=(d(o=()=>e.apply(null,t.proxy),"the first parameter to `createCache` must be a function"),new w(o));var o;function a(){return n(r,arguments)||(L(t,arguments),r=arguments),i.value}return a.clearCache=()=>i.clear(),a}var U="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},H=0,$=1;function G(){return{s:H,v:void 0,o:null,p:null}}function W(e,t={}){let r=G();const{resultEqualityCheck:n}=t;let i,o=0;function a(){let t=r;const{length:a}=arguments;for(let e=0,r=a;e<r;e++){const r=arguments[e];if("function"==typeof r||"object"==typeof r&&null!==r){let e=t.o;null===e&&(t.o=e=new WeakMap);const n=e.get(r);void 0===n?(t=G(),e.set(r,t)):t=n}else{let e=t.p;null===e&&(t.p=e=new Map);const n=e.get(r);void 0===n?(t=G(),e.set(r,t)):t=n}}const s=t;let u;if(t.s===$)u=t.v;else if(u=e.apply(null,arguments),o++,n){const e=i?.deref?.()??i;null!=e&&n(e,u)&&(u=e,0!==o&&o--);i="object"==typeof u&&null!==u||"function"==typeof u?new U(u):u}return s.s=$,s.v=u,u}return a.clearCache=()=>{r=G(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function z(e,...t){const r="function"==typeof e?{memoize:e,memoizeOptions:t}:e,n=(...e)=>{let t,n=0,i=0,o={},a=e.pop();"object"==typeof a&&(o=a,a=e.pop()),d(a,`createSelector expects an output function after the inputs, but received: [${typeof a}]`);const s={...r,...o},{memoize:u,memoizeOptions:l=[],argsMemoize:c=W,argsMemoizeOptions:f=[],devModeChecks:m={}}=s,g=h(l),y=h(f),v=p(e),w=u(function(){return n++,a.apply(null,arguments)},...g);const _=c(function(){i++;const e=b(v,arguments);return t=w.apply(null,e),t},...y);return Object.assign(_,{resultFunc:a,memoizedResultFunc:w,dependencies:v,dependencyRecomputations:()=>i,resetDependencyRecomputations:()=>{i=0},lastResult:()=>t,recomputations:()=>n,resetRecomputations:()=>{n=0},memoize:u,argsMemoize:c})};return Object.assign(n,{withTypes:()=>n}),n}var q=z(W),V=Object.assign((e,t=q)=>{!function(e,t="expected an object, instead received "+typeof e){if("object"!=typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);const r=Object.keys(e);return t(r.map(t=>e[t]),(...e)=>e.reduce((e,t,n)=>(e[r[n]]=t,e),{}))},{withTypes:()=>V})}}},{package:"reselect",file:"node_modules/reselect/dist/cjs/reselect.cjs"}],[7644,{buffer:6221},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function r(t){return t instanceof e?e.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}t.exports=function(e){return(e=e||{}).circles?function(e){var t=[],n=[];return e.proto?function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return i(o,e);if(o instanceof Map)return new Map(i(Array.from(o),e));if(o instanceof Set)return new Set(i(Array.from(o),e));var a={};for(var s in t.push(o),n.push(a),o){var u=o[s];if("object"!=typeof u||null===u)a[s]=u;else if(u instanceof Date)a[s]=new Date(u);else if(u instanceof Map)a[s]=new Map(i(Array.from(u),e));else if(u instanceof Set)a[s]=new Set(i(Array.from(u),e));else if(ArrayBuffer.isView(u))a[s]=r(u);else{var l=t.indexOf(u);a[s]=-1!==l?n[l]:e(u)}}return t.pop(),n.pop(),a}:function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return i(o,e);if(o instanceof Map)return new Map(i(Array.from(o),e));if(o instanceof Set)return new Set(i(Array.from(o),e));var a={};for(var s in t.push(o),n.push(a),o)if(!1!==Object.hasOwnProperty.call(o,s)){var u=o[s];if("object"!=typeof u||null===u)a[s]=u;else if(u instanceof Date)a[s]=new Date(u);else if(u instanceof Map)a[s]=new Map(i(Array.from(u),e));else if(u instanceof Set)a[s]=new Set(i(Array.from(u),e));else if(ArrayBuffer.isView(u))a[s]=r(u);else{var l=t.indexOf(u);a[s]=-1!==l?n[l]:e(u)}}return t.pop(),n.pop(),a};function i(e,i){for(var o=Object.keys(e),a=new Array(o.length),s=0;s<o.length;s++){var u=o[s],l=e[u];if("object"!=typeof l||null===l)a[u]=l;else if(l instanceof Date)a[u]=new Date(l);else if(ArrayBuffer.isView(l))a[u]=r(l);else{var c=t.indexOf(l);a[u]=-1!==c?n[c]:i(l)}}return a}}(e):e.proto?function e(n){if("object"!=typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return t(n,e);if(n instanceof Map)return new Map(t(Array.from(n),e));if(n instanceof Set)return new Set(t(Array.from(n),e));var i={};for(var o in n){var a=n[o];"object"!=typeof a||null===a?i[o]=a:a instanceof Date?i[o]=new Date(a):a instanceof Map?i[o]=new Map(t(Array.from(a),e)):a instanceof Set?i[o]=new Set(t(Array.from(a),e)):ArrayBuffer.isView(a)?i[o]=r(a):i[o]=e(a)}return i}:function e(n){if("object"!=typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return t(n,e);if(n instanceof Map)return new Map(t(Array.from(n),e));if(n instanceof Set)return new Set(t(Array.from(n),e));var i={};for(var o in n)if(!1!==Object.hasOwnProperty.call(n,o)){var a=n[o];"object"!=typeof a||null===a?i[o]=a:a instanceof Date?i[o]=new Date(a):a instanceof Map?i[o]=new Map(t(Array.from(a),e)):a instanceof Set?i[o]=new Set(t(Array.from(a),e)):ArrayBuffer.isView(a)?i[o]=r(a):i[o]=e(a)}return i};function t(e,t){for(var n=Object.keys(e),i=new Array(n.length),o=0;o<n.length;o++){var a=n[o],s=e[a];"object"!=typeof s||null===s?i[a]=s:s instanceof Date?i[a]=new Date(s):ArrayBuffer.isView(s)?i[a]=r(s):i[a]=t(s)}return i}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/snaps-utils>rfdc",file:"node_modules/rfdc/index.js"}],[7645,{buffer:6221,"hash-base":7646,inherits:6823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("buffer").Buffer,i=e("inherits"),o=e("hash-base"),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],u=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function h(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<<t|e>>>32-t}function b(e,t,r,n,i,o,a,s){return p(e+(t^r^n)+o+a|0,s)+i|0}function m(e,t,r,n,i,o,a,s){return p(e+(t&r|~t&n)+o+a|0,s)+i|0}function g(e,t,r,n,i,o,a,s){return p(e+((t|~r)^n)+o+a|0,s)+i|0}function y(e,t,r,n,i,o,a,s){return p(e+(t&n|r&~n)+o+a|0,s)+i|0}function v(e,t,r,n,i,o,a,s){return p(e+(t^(r|~n))+o+a|0,s)+i|0}i(h,o),h.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,h=0|this._e,w=0|this._a,_=0|this._b,E=0|this._c,j=0|this._d,S=0|this._e,T=0;T<80;T+=1){var x,O;T<16?(x=b(r,n,i,o,h,e[s[T]],f[0],l[T]),O=v(w,_,E,j,S,e[u[T]],d[0],c[T])):T<32?(x=m(r,n,i,o,h,e[s[T]],f[1],l[T]),O=y(w,_,E,j,S,e[u[T]],d[1],c[T])):T<48?(x=g(r,n,i,o,h,e[s[T]],f[2],l[T]),O=g(w,_,E,j,S,e[u[T]],d[2],c[T])):T<64?(x=y(r,n,i,o,h,e[s[T]],f[3],l[T]),O=m(w,_,E,j,S,e[u[T]],d[3],c[T])):(x=v(r,n,i,o,h,e[s[T]],f[4],l[T]),O=b(w,_,E,j,S,e[u[T]],d[4],c[T])),r=h,h=o,o=p(i,10),i=n,n=x,w=S,S=j,j=p(E,10),E=_,_=O}var P=this._b+i+j|0;this._b=this._c+o+S|0,this._c=this._d+h+w|0,this._d=this._e+r+_|0,this._e=this._a+n+E|0,this._a=P},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=h}}},{package:"ethereumjs-util>create-hash>ripemd160",file:"node_modules/ripemd160/index.js"}],[7646,{inherits:6823,"readable-stream":7661,"safe-buffer":7886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,i=e("readable-stream").Transform;function o(e){i.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(o,i),o.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var r=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)r[this._blockOffset++]=e[i++];for(var a=0,s=8*e.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();e!==undefined&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base",file:"node_modules/ripemd160/node_modules/hash-base/index.js"}],[7647,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={};function i(e,t,r){r||(r=Error);var i=function(e){var r,n;function i(r,n,i){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,i))||this}return n=e,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=e,n[e]=i}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(e){return String(e)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),i("ERR_INVALID_ARG_TYPE",function(e,t,r){var n,i,a,s;if("string"==typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(r===undefined||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var u=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(u," ").concat(n," ").concat(o(t,"type"))}return s+=". Received type ".concat(typeof r)},TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/errors-browser.js"}],[7648,{"./_stream_readable":7650,"./_stream_writable":7652,_process:7419,inherits:6823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=l;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(l,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var u=a[s];l.prototype[u]||(l.prototype[u]=o.prototype[u])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",c)))}function c(){this._writableState.ended||r.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js"}],[7649,{"./_stream_transform":7651,inherits:6823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=i;var n=e("./_stream_transform");function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}e("inherits")(i,n),i.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_passthrough.js"}],[7650,{"../errors":7647,"./_stream_duplex":7648,"./internal/streams/async_iterator":7653,"./internal/streams/buffer_list":7654,"./internal/streams/destroy":7655,"./internal/streams/from":7657,"./internal/streams/state":7659,"./internal/streams/stream":7660,_process:7419,buffer:6221,events:6529,inherits:6823,"string_decoder/":7999,util:6173},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;t.exports=S,S.ReadableState=j;e("events").EventEmitter;var i=function(e,t){return e.listeners(t).length},o=e("./internal/streams/stream"),a=e("buffer").Buffer,s=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,l=e("util");u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,f,d,h=e("./internal/streams/buffer_list"),p=e("./internal/streams/destroy"),b=e("./internal/streams/state").getHighWaterMark,m=e("../errors").codes,g=m.ERR_INVALID_ARG_TYPE,y=m.ERR_STREAM_PUSH_AFTER_EOF,v=m.ERR_METHOD_NOT_IMPLEMENTED,w=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(S,o);var _=p.errorOrDestroy,E=["error","close","destroy","pause","resume"];function j(t,r,i){n=n||e("./_stream_duplex"),t=t||{},"boolean"!=typeof i&&(i=r instanceof n),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",i),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(c||(c=e("string_decoder/").StringDecoder),this.decoder=new c(t.encoding),this.encoding=t.encoding)}function S(t){if(n=n||e("./_stream_duplex"),!(this instanceof S))return new S(t);var r=this instanceof n;this._readableState=new j(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),o.call(this)}function T(e,t,r,n,i){u("readableAddChunk",t);var o,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?k(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}(e,l);else if(i||(o=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof s||"string"==typeof t||t===undefined||e.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(l,t)),o)_(e,o);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)l.endEmitted?_(e,new w):x(e,l,t,!0);else if(l.ended)_(e,new y);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?x(e,l,t,!1):I(e,l)):x(e,l,t,!1)}else n||(l.reading=!1,I(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function x(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&k(e)),I(e,t)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=p.destroy,S.prototype._undestroy=p.undestroy,S.prototype._destroy=function(e,t){t(e)},S.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=a.from(e,t),t=""),r=!0),T(this,e,t,!1,r)},S.prototype.unshift=function(e){return T(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(t){c||(c=e("string_decoder/").StringDecoder);var r=new c(t);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=r.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var O=1073741824;function P(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=O?e=O:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(A,e))}function A(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,F(e)}function I(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(R,e,t))}function R(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(u("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function M(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function L(e){u("readable nexttick read 0"),e.read(0)}function C(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),F(e),t.flowing&&!t.reading&&e.read(0)}function F(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function B(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(D,t,e))}function D(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function U(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}S.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):k(this),null;if(0===(e=P(e,t))&&t.ended)return 0===t.length&&B(this),null;var n,i=t.needReadable;return u("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",i=!0),t.ended||t.reading?u("reading or ended",i=!1):i&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=P(r,t))),null===(n=e>0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&B(this)),null!==n&&this.emit("data",n),n},S.prototype._read=function(e){_(this,new v("_read()"))},S.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,u("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?l:m;function s(t,r){u("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",b),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",l),n.removeListener("end",m),n.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}o.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",s);var c=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,F(e))}}(n);e.on("drain",c);var f=!1;function d(t){u("ondata");var r=e.write(t);u("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==U(o.pipes,e))&&!f&&(u("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function h(t){u("onerror",t),m(),e.removeListener("error",h),0===i(e,"error")&&_(e,t)}function p(){e.removeListener("finish",b),m()}function b(){u("onfinish"),e.removeListener("close",p),m()}function m(){u("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",p),e.once("finish",b),e.emit("pipe",n),o.flowing||(u("pipe resume"),n.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=U(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},S.prototype.on=function(e,t){var n=o.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,u("on readable",i.length,i.reading),i.length?k(this):i.reading||r.nextTick(L,this))),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(M,this),n},S.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||r.nextTick(M,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(C,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(u("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&i!==undefined)&&((r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause())))}),e)this[i]===undefined&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<E.length;o++)e.on(E[o],this.emit.bind(this,E[o]));return this._read=function(t){u("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return f===undefined&&(f=e("./internal/streams/async_iterator")),f(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),S._fromList=N,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(t,r){return d===undefined&&(d=e("./internal/streams/from")),d(S,t,r)})}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_readable.js"}],[7651,{"../errors":7647,"./_stream_duplex":7648,inherits:6823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=c;var n=e("../errors").codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,u=e("./_stream_duplex");function l(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush(function(t,r){d(e,t,r)})}function d(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(c,u),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new i("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js"}],[7652,{"../errors":7647,"./_stream_duplex":7648,"./internal/streams/destroy":7655,"./internal/streams/state":7659,"./internal/streams/stream":7660,_process:7419,buffer:6221,inherits:6823,"util-deprecate":8066},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var i;t.exports=S,S.WritableState=j;var o={deprecate:e("util-deprecate")},a=e("./internal/streams/stream"),s=e("buffer").Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,c=e("./internal/streams/destroy"),f=e("./internal/streams/state").getHighWaterMark,d=e("../errors").codes,h=d.ERR_INVALID_ARG_TYPE,p=d.ERR_METHOD_NOT_IMPLEMENTED,b=d.ERR_MULTIPLE_CALLBACK,m=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,v=d.ERR_STREAM_WRITE_AFTER_END,w=d.ERR_UNKNOWN_ENCODING,_=c.errorOrDestroy;function E(){}function j(t,o,a){i=i||e("./_stream_duplex"),t=t||{},"boolean"!=typeof a&&(a=o instanceof i),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,o=n.writecb;if("function"!=typeof o)throw new b;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,o){--t.pendingcb,n?(r.nextTick(o,i),r.nextTick(A,e,t),e._writableState.errorEmitted=!0,_(e,i)):(o(i),e._writableState.errorEmitted=!0,_(e,i),A(e,t))}(e,n,i,t,o);else{var a=P(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||O(e,n),i?r.nextTick(x,e,n,a,o):x(e,n,a,o)}}(o,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function S(t){var r=this instanceof(i=i||e("./_stream_duplex"));if(!r&&!l.call(S,this))return new S(t);this._writableState=new j(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),a.call(this)}function T(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function x(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),A(e,t)}function O(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,o=new Array(i),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)o[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;o.allBuffers=u,T(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,f=r.callback;if(T(e,t,!1,t.objectMode?1:l.length,l,c,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final(function(r){t.pendingcb--,r&&_(e,r),t.prefinished=!0,e.emit("prefinish"),A(e,t)})}function A(e,t){var n=P(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,r.nextTick(k,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return n}e("inherits")(S,a),j.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(j.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===S&&(e&&e._writableState instanceof j)}})):l=function(e){return e instanceof this},S.prototype.pipe=function(){_(this,new m)},S.prototype.write=function(e,t,n){var i,o=this._writableState,a=!1,l=!o.objectMode&&(i=e,s.isBuffer(i)||i instanceof u);return l&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(n=t,t=null),l?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=E),o.ending?function(e,t){var n=new v;_(e,n),r.nextTick(t,n)}(this,n):(l||function(e,t,n,i){var o;return null===n?o=new y:"string"==typeof n||t.objectMode||(o=new h("chunk",["string","Buffer"],n)),!o||(_(e,o),r.nextTick(i,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=s.from(t,r));return t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var u=t.objectMode?1:n.length;t.length+=u;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,u,n,i,o);return l}(this,o,l,e,t,n)),a},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},S.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,r){r(new p("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,n){var i=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&e!==undefined&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,n){t.ending=!0,A(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=c.destroy,S.prototype._undestroy=c.undestroy,S.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_writable.js"}],[7653,{"./end-of-stream":7656,_process:7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=e("./end-of-stream"),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),f=Symbol("handlePromise"),d=Symbol("stream");function h(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(null!==t){var r=e[d].read();null!==r&&(e[c]=null,e[a]=null,e[s]=null,t(h(r,!1)))}}function b(e){r.nextTick(p,e)}var m=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((i(n={get stream(){return this[d]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(h(undefined,!0));if(this[d].destroyed)return new Promise(function(t,n){r.nextTick(function(){e[u]?n(e[u]):t(h(undefined,!0))})});var n,i=this[c];if(i)n=new Promise(function(e,t){return function(r,n){e.then(function(){t[l]?r(h(undefined,!0)):t[f](r,n)},n)}}(i,this));else{var o=this[d].read();if(null!==o)return Promise.resolve(h(o,!1));n=new Promise(this[f])}return this[c]=n,n}},Symbol.asyncIterator,function(){return this}),i(n,"return",function(){var e=this;return new Promise(function(t,r){e[d].destroy(null,function(e){e?r(e):t(h(undefined,!0))})})}),n),m);t.exports=function(e){var t,r=Object.create(g,(i(t={},d,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var n=r[d].read();n?(r[c]=null,r[a]=null,r[s]=null,e(h(n,!1))):(r[a]=e,r[s]=t)},writable:!0}),t));return r[c]=null,o(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[s];return null!==t&&(r[c]=null,r[a]=null,r[s]=null,t(e)),void(r[u]=e)}var n=r[a];null!==n&&(r[c]=null,r[a]=null,r[s]=null,n(h(undefined,!0))),r[l]=!0}),e.on("readable",b.bind(null,r)),r}}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/async_iterator.js"}],[7654,{buffer:6221,util:6173},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var u=e("buffer").Buffer,l=e("util").inspect,c=l&&l.custom||"inspect";function f(e,t,r){u.prototype.copy.call(e,t,r)}t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),r=this.head,n=0;r;)f(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,r),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],[7655,{_process:7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function r(e,t){i(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return s||u?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/destroy.js"}],[7656,{"../../../errors":7647},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,u=function(){t.writable||c()},l=t._writableState&&t._writableState.finished,c=function(){s=!1,l=!0,a||o.call(t)},f=t._readableState&&t._readableState.endEmitted,d=function(){a=!1,f=!0,s||o.call(t)},h=function(e){o.call(t,e)},p=function(){var e;return a&&!f?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!l?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},b=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",c),t.on("abort",p),t.req?b():t.on("request",b)),t.on("end",d),t.on("finish",c),!1!==r.error&&t.on("error",h),t.on("close",p),function(){t.removeListener("complete",c),t.removeListener("abort",p),t.removeListener("request",b),t.req&&t.req.removeListener("finish",c),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",c),t.removeListener("end",d),t.removeListener("error",h),t.removeListener("close",p)}}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],[7657,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){throw new Error("Readable.from is not available in the browser")}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/from-browser.js"}],[7658,{"../../../errors":7647,"./end-of-stream":7656},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;var i=e("../../../errors").codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e){e()}function l(e,t){return e.pipe(t)}t.exports=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var c,f=function(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}(r);if(Array.isArray(r[0])&&(r=r[0]),r.length<2)throw new o("streams");var d=r.map(function(t,i){var o=i<r.length-1;return function(t,r,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;t.on("close",function(){s=!0}),n===undefined&&(n=e("./end-of-stream")),n(t,{readable:r,writable:i},function(e){if(e)return o(e);s=!0,o()});var u=!1;return function(e){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,i>0,function(e){c||(c=e),e&&d.forEach(u),o||(d.forEach(u),f(c))})});return r.reduce(l)}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],[7659,{"../../../errors":7647},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/state.js"}],[7660,{events:6529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("events").EventEmitter}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/stream-browser.js"}],[7661,{"./lib/_stream_duplex.js":7648,"./lib/_stream_passthrough.js":7649,"./lib/_stream_readable.js":7650,"./lib/_stream_transform.js":7651,"./lib/_stream_writable.js":7652,"./lib/internal/streams/end-of-stream.js":7656,"./lib/internal/streams/pipeline.js":7658},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(r=t.exports=e("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js"),r.finished=e("./lib/internal/streams/end-of-stream.js"),r.pipeline=e("./lib/internal/streams/pipeline.js")}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/readable-browser.js"}],[7662,{"bn.js":6170,buffer:6221},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.getLength=r.decode=r.encode=void 0;var i=n(e("bn.js"));function o(e,t){if("0"===e[0]&&"0"===e[1])throw new Error("invalid RLP: extra zeros");return parseInt(e,t)}function a(e,r){if(e<56)return t.from([e+r]);var n=l(e),i=l(r+55+n.length/2);return t.from(i+n,"hex")}function s(e){var r,n,i,a,u,l=[],c=e[0];if(c<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(c<=183){if(r=c-127,i=128===c?t.from([]):e.slice(1,r),2===r&&i[0]<128)throw new Error("invalid rlp encoding: byte must be less 0x80");return{data:i,remainder:e.slice(r)}}if(c<=191){if(n=c-182,e.length-1<n)throw new Error("invalid RLP: not enough bytes for string length");if((r=o(e.slice(1,n).toString("hex"),16))<=55)throw new Error("invalid RLP: expected string length to be greater than 55");if((i=e.slice(n,r+n)).length<r)throw new Error("invalid RLP: not enough bytes for string");return{data:i,remainder:e.slice(r+n)}}if(c<=247){for(r=c-191,a=e.slice(1,r);a.length;)u=s(a),l.push(u.data),a=u.remainder;return{data:l,remainder:e.slice(r)}}var f=(n=c-246)+(r=o(e.slice(1,n).toString("hex"),16));if(f>e.length)throw new Error("invalid rlp: total length is larger than the data");if(0===(a=e.slice(n,f)).length)throw new Error("invalid rlp, List has a invalid length");for(;a.length;)u=s(a),l.push(u.data),a=u.remainder;return{data:l,remainder:e.slice(f)}}function u(e){return"0x"===e.slice(0,2)}function l(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");var t=e.toString(16);return t.length%2?"0"+t:t}function c(e){if(!t.isBuffer(e)){if("string"==typeof e)return u(e)?t.from((n="string"!=typeof(o=e)?o:u(o)?o.slice(2):o).length%2?"0"+n:n,"hex"):t.from(e);if("number"==typeof e||"bigint"==typeof e)return e?(r=l(e),t.from(r,"hex")):t.from([]);if(null===e||e===undefined)return t.from([]);if(e instanceof Uint8Array)return t.from(e);if(i.default.isBN(e))return t.from(e.toArray());throw new Error("invalid type")}var r,n,o;return e}r.encode=function e(r){if(Array.isArray(r)){for(var n=[],i=0;i<r.length;i++)n.push(e(r[i]));var o=t.concat(n);return t.concat([a(o.length,192),o])}var s=c(r);return 1===s.length&&s[0]<128?s:t.concat([a(s.length,128),s])},r.decode=function(e,r){if(void 0===r&&(r=!1),!e||0===e.length)return t.from([]);var n=s(c(e));if(r)return n;if(0!==n.remainder.length)throw new Error("invalid remainder");return n.data},r.getLength=function(e){if(!e||0===e.length)return t.from([]);var r=c(e),n=r[0];if(n<=127)return r.length;if(n<=183)return n-127;if(n<=191)return n-182;if(n<=247)return n-191;var i=n-246;return i+o(r.slice(1,i).toString("hex"),16)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util>rlp",file:"node_modules/rlp/dist.browser/index.js"}],[7663,{"./internal/AsyncSubject":7664,"./internal/BehaviorSubject":7665,"./internal/Notification":7666,"./internal/Observable":7668,"./internal/ReplaySubject":7669,"./internal/Scheduler":7670,"./internal/Subject":7671,"./internal/Subscriber":7672,"./internal/Subscription":7673,"./internal/config":7674,"./internal/firstValueFrom":7675,"./internal/lastValueFrom":7676,"./internal/observable/ConnectableObservable":7677,"./internal/observable/bindCallback":7678,"./internal/observable/bindNodeCallback":7680,"./internal/observable/combineLatest":7681,"./internal/observable/concat":7682,"./internal/observable/connectable":7683,"./internal/observable/defer":7684,"./internal/observable/dom/animationFrames":7685,"./internal/observable/empty":7686,"./internal/observable/forkJoin":7687,"./internal/observable/from":7688,"./internal/observable/fromEvent":7689,"./internal/observable/fromEventPattern":7690,"./internal/observable/generate":7692,"./internal/observable/iif":7693,"./internal/observable/interval":7695,"./internal/observable/merge":7696,"./internal/observable/never":7697,"./internal/observable/of":7698,"./internal/observable/onErrorResumeNext":7699,"./internal/observable/pairs":7700,"./internal/observable/partition":7701,"./internal/observable/race":7702,"./internal/observable/range":7703,"./internal/observable/throwError":7704,"./internal/observable/timer":7705,"./internal/observable/using":7706,"./internal/observable/zip":7707,"./internal/operators/audit":7709,"./internal/operators/auditTime":7710,"./internal/operators/buffer":7711,"./internal/operators/bufferCount":7712,"./internal/operators/bufferTime":7713,"./internal/operators/bufferToggle":7714,"./internal/operators/bufferWhen":7715,"./internal/operators/catchError":7716,"./internal/operators/combineAll":7717,"./internal/operators/combineLatestAll":7719,"./internal/operators/combineLatestWith":7720,"./internal/operators/concatAll":7722,"./internal/operators/concatMap":7723,"./internal/operators/concatMapTo":7724,"./internal/operators/concatWith":7725,"./internal/operators/connect":7726,"./internal/operators/count":7727,"./internal/operators/debounce":7728,"./internal/operators/debounceTime":7729,"./internal/operators/defaultIfEmpty":7730,"./internal/operators/delay":7731,"./internal/operators/delayWhen":7732,"./internal/operators/dematerialize":7733,"./internal/operators/distinct":7734,"./internal/operators/distinctUntilChanged":7735,"./internal/operators/distinctUntilKeyChanged":7736,"./internal/operators/elementAt":7737,"./internal/operators/endWith":7738,"./internal/operators/every":7739,"./internal/operators/exhaust":7740,"./internal/operators/exhaustAll":7741,"./internal/operators/exhaustMap":7742,"./internal/operators/expand":7743,"./internal/operators/filter":7744,"./internal/operators/finalize":7745,"./internal/operators/find":7746,"./internal/operators/findIndex":7747,"./internal/operators/first":7748,"./internal/operators/flatMap":7749,"./internal/operators/groupBy":7750,"./internal/operators/ignoreElements":7751,"./internal/operators/isEmpty":7752,"./internal/operators/last":7754,"./internal/operators/map":7755,"./internal/operators/mapTo":7756,"./internal/operators/materialize":7757,"./internal/operators/max":7758,"./internal/operators/mergeAll":7760,"./internal/operators/mergeMap":7762,"./internal/operators/mergeMapTo":7763,"./internal/operators/mergeScan":7764,"./internal/operators/mergeWith":7765,"./internal/operators/min":7766,"./internal/operators/multicast":7767,"./internal/operators/observeOn":7768,"./internal/operators/onErrorResumeNextWith":7769,"./internal/operators/pairwise":7770,"./internal/operators/pluck":7771,"./internal/operators/publish":7772,"./internal/operators/publishBehavior":7773,"./internal/operators/publishLast":7774,"./internal/operators/publishReplay":7775,"./internal/operators/raceWith":7776,"./internal/operators/reduce":7777,"./internal/operators/refCount":7778,"./internal/operators/repeat":7779,"./internal/operators/repeatWhen":7780,"./internal/operators/retry":7781,"./internal/operators/retryWhen":7782,"./internal/operators/sample":7783,"./internal/operators/sampleTime":7784,"./internal/operators/scan":7785,"./internal/operators/sequenceEqual":7787,"./internal/operators/share":7788,"./internal/operators/shareReplay":7789,"./internal/operators/single":7790,"./internal/operators/skip":7791,"./internal/operators/skipLast":7792,"./internal/operators/skipUntil":7793,"./internal/operators/skipWhile":7794,"./internal/operators/startWith":7795,"./internal/operators/subscribeOn":7796,"./internal/operators/switchAll":7797,"./internal/operators/switchMap":7798,"./internal/operators/switchMapTo":7799,"./internal/operators/switchScan":7800,"./internal/operators/take":7801,"./internal/operators/takeLast":7802,"./internal/operators/takeUntil":7803,"./internal/operators/takeWhile":7804,"./internal/operators/tap":7805,"./internal/operators/throttle":7806,"./internal/operators/throttleTime":7807,"./internal/operators/throwIfEmpty":7808,"./internal/operators/timeInterval":7809,"./internal/operators/timeout":7810,"./internal/operators/timeoutWith":7811,"./internal/operators/timestamp":7812,"./internal/operators/toArray":7813,"./internal/operators/window":7814,"./internal/operators/windowCount":7815,"./internal/operators/windowTime":7816,"./internal/operators/windowToggle":7817,"./internal/operators/windowWhen":7818,"./internal/operators/withLatestFrom":7819,"./internal/operators/zipAll":7821,"./internal/operators/zipWith":7822,"./internal/scheduled/scheduled":7829,"./internal/scheduler/VirtualTimeScheduler":7839,"./internal/scheduler/animationFrame":7840,"./internal/scheduler/asap":7842,"./internal/scheduler/async":7843,"./internal/scheduler/queue":7848,"./internal/symbol/observable":7851,"./internal/types":7852,"./internal/util/ArgumentOutOfRangeError":7853,"./internal/util/EmptyError":7854,"./internal/util/NotFoundError":7856,"./internal/util/ObjectUnsubscribedError":7857,"./internal/util/SequenceError":7858,"./internal/util/UnsubscriptionError":7859,"./internal/util/identity":7868,"./internal/util/isObservable":7875,"./internal/util/noop":7881,"./internal/util/pipe":7883},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.interval=r.iif=r.generate=r.fromEventPattern=r.fromEvent=r.from=r.forkJoin=r.empty=r.defer=r.connectable=r.concat=r.combineLatest=r.bindNodeCallback=r.bindCallback=r.UnsubscriptionError=r.TimeoutError=r.SequenceError=r.ObjectUnsubscribedError=r.NotFoundError=r.EmptyError=r.ArgumentOutOfRangeError=r.firstValueFrom=r.lastValueFrom=r.isObservable=r.identity=r.noop=r.pipe=r.NotificationKind=r.Notification=r.Subscriber=r.Subscription=r.Scheduler=r.VirtualAction=r.VirtualTimeScheduler=r.animationFrameScheduler=r.animationFrame=r.queueScheduler=r.queue=r.asyncScheduler=r.async=r.asapScheduler=r.asap=r.AsyncSubject=r.ReplaySubject=r.BehaviorSubject=r.Subject=r.animationFrames=r.observable=r.ConnectableObservable=r.Observable=void 0,r.filter=r.expand=r.exhaustMap=r.exhaustAll=r.exhaust=r.every=r.endWith=r.elementAt=r.distinctUntilKeyChanged=r.distinctUntilChanged=r.distinct=r.dematerialize=r.delayWhen=r.delay=r.defaultIfEmpty=r.debounceTime=r.debounce=r.count=r.connect=r.concatWith=r.concatMapTo=r.concatMap=r.concatAll=r.combineLatestWith=r.combineLatestAll=r.combineAll=r.catchError=r.bufferWhen=r.bufferToggle=r.bufferTime=r.bufferCount=r.buffer=r.auditTime=r.audit=r.config=r.NEVER=r.EMPTY=r.scheduled=r.zip=r.using=r.timer=r.throwError=r.range=r.race=r.partition=r.pairs=r.onErrorResumeNext=r.of=r.never=r.merge=void 0,r.switchMap=r.switchAll=r.subscribeOn=r.startWith=r.skipWhile=r.skipUntil=r.skipLast=r.skip=r.single=r.shareReplay=r.share=r.sequenceEqual=r.scan=r.sampleTime=r.sample=r.refCount=r.retryWhen=r.retry=r.repeatWhen=r.repeat=r.reduce=r.raceWith=r.publishReplay=r.publishLast=r.publishBehavior=r.publish=r.pluck=r.pairwise=r.onErrorResumeNextWith=r.observeOn=r.multicast=r.min=r.mergeWith=r.mergeScan=r.mergeMapTo=r.mergeMap=r.flatMap=r.mergeAll=r.max=r.materialize=r.mapTo=r.map=r.last=r.isEmpty=r.ignoreElements=r.groupBy=r.first=r.findIndex=r.find=r.finalize=void 0,r.zipWith=r.zipAll=r.withLatestFrom=r.windowWhen=r.windowToggle=r.windowTime=r.windowCount=r.window=r.toArray=r.timestamp=r.timeoutWith=r.timeout=r.timeInterval=r.throwIfEmpty=r.throttleTime=r.throttle=r.tap=r.takeWhile=r.takeUntil=r.takeLast=r.take=r.switchScan=r.switchMapTo=void 0;var o=e("./internal/Observable");Object.defineProperty(r,"Observable",{enumerable:!0,get:function(){return o.Observable}});var a=e("./internal/observable/ConnectableObservable");Object.defineProperty(r,"ConnectableObservable",{enumerable:!0,get:function(){return a.ConnectableObservable}});var s=e("./internal/symbol/observable");Object.defineProperty(r,"observable",{enumerable:!0,get:function(){return s.observable}});var u=e("./internal/observable/dom/animationFrames");Object.defineProperty(r,"animationFrames",{enumerable:!0,get:function(){return u.animationFrames}});var l=e("./internal/Subject");Object.defineProperty(r,"Subject",{enumerable:!0,get:function(){return l.Subject}});var c=e("./internal/BehaviorSubject");Object.defineProperty(r,"BehaviorSubject",{enumerable:!0,get:function(){return c.BehaviorSubject}});var f=e("./internal/ReplaySubject");Object.defineProperty(r,"ReplaySubject",{enumerable:!0,get:function(){return f.ReplaySubject}});var d=e("./internal/AsyncSubject");Object.defineProperty(r,"AsyncSubject",{enumerable:!0,get:function(){return d.AsyncSubject}});var h=e("./internal/scheduler/asap");Object.defineProperty(r,"asap",{enumerable:!0,get:function(){return h.asap}}),Object.defineProperty(r,"asapScheduler",{enumerable:!0,get:function(){return h.asapScheduler}});var p=e("./internal/scheduler/async");Object.defineProperty(r,"async",{enumerable:!0,get:function(){return p.async}}),Object.defineProperty(r,"asyncScheduler",{enumerable:!0,get:function(){return p.asyncScheduler}});var b=e("./internal/scheduler/queue");Object.defineProperty(r,"queue",{enumerable:!0,get:function(){return b.queue}}),Object.defineProperty(r,"queueScheduler",{enumerable:!0,get:function(){return b.queueScheduler}});var m=e("./internal/scheduler/animationFrame");Object.defineProperty(r,"animationFrame",{enumerable:!0,get:function(){return m.animationFrame}}),Object.defineProperty(r,"animationFrameScheduler",{enumerable:!0,get:function(){return m.animationFrameScheduler}});var g=e("./internal/scheduler/VirtualTimeScheduler");Object.defineProperty(r,"VirtualTimeScheduler",{enumerable:!0,get:function(){return g.VirtualTimeScheduler}}),Object.defineProperty(r,"VirtualAction",{enumerable:!0,get:function(){return g.VirtualAction}});var y=e("./internal/Scheduler");Object.defineProperty(r,"Scheduler",{enumerable:!0,get:function(){return y.Scheduler}});var v=e("./internal/Subscription");Object.defineProperty(r,"Subscription",{enumerable:!0,get:function(){return v.Subscription}});var w=e("./internal/Subscriber");Object.defineProperty(r,"Subscriber",{enumerable:!0,get:function(){return w.Subscriber}});var _=e("./internal/Notification");Object.defineProperty(r,"Notification",{enumerable:!0,get:function(){return _.Notification}}),Object.defineProperty(r,"NotificationKind",{enumerable:!0,get:function(){return _.NotificationKind}});var E=e("./internal/util/pipe");Object.defineProperty(r,"pipe",{enumerable:!0,get:function(){return E.pipe}});var j=e("./internal/util/noop");Object.defineProperty(r,"noop",{enumerable:!0,get:function(){return j.noop}});var S=e("./internal/util/identity");Object.defineProperty(r,"identity",{enumerable:!0,get:function(){return S.identity}});var T=e("./internal/util/isObservable");Object.defineProperty(r,"isObservable",{enumerable:!0,get:function(){return T.isObservable}});var x=e("./internal/lastValueFrom");Object.defineProperty(r,"lastValueFrom",{enumerable:!0,get:function(){return x.lastValueFrom}});var O=e("./internal/firstValueFrom");Object.defineProperty(r,"firstValueFrom",{enumerable:!0,get:function(){return O.firstValueFrom}});var P=e("./internal/util/ArgumentOutOfRangeError");Object.defineProperty(r,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return P.ArgumentOutOfRangeError}});var k=e("./internal/util/EmptyError");Object.defineProperty(r,"EmptyError",{enumerable:!0,get:function(){return k.EmptyError}});var A=e("./internal/util/NotFoundError");Object.defineProperty(r,"NotFoundError",{enumerable:!0,get:function(){return A.NotFoundError}});var I=e("./internal/util/ObjectUnsubscribedError");Object.defineProperty(r,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return I.ObjectUnsubscribedError}});var R=e("./internal/util/SequenceError");Object.defineProperty(r,"SequenceError",{enumerable:!0,get:function(){return R.SequenceError}});var M=e("./internal/operators/timeout");Object.defineProperty(r,"TimeoutError",{enumerable:!0,get:function(){return M.TimeoutError}});var L=e("./internal/util/UnsubscriptionError");Object.defineProperty(r,"UnsubscriptionError",{enumerable:!0,get:function(){return L.UnsubscriptionError}});var C=e("./internal/observable/bindCallback");Object.defineProperty(r,"bindCallback",{enumerable:!0,get:function(){return C.bindCallback}});var F=e("./internal/observable/bindNodeCallback");Object.defineProperty(r,"bindNodeCallback",{enumerable:!0,get:function(){return F.bindNodeCallback}});var N=e("./internal/observable/combineLatest");Object.defineProperty(r,"combineLatest",{enumerable:!0,get:function(){return N.combineLatest}});var B=e("./internal/observable/concat");Object.defineProperty(r,"concat",{enumerable:!0,get:function(){return B.concat}});var D=e("./internal/observable/connectable");Object.defineProperty(r,"connectable",{enumerable:!0,get:function(){return D.connectable}});var U=e("./internal/observable/defer");Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return U.defer}});var H=e("./internal/observable/empty");Object.defineProperty(r,"empty",{enumerable:!0,get:function(){return H.empty}});var $=e("./internal/observable/forkJoin");Object.defineProperty(r,"forkJoin",{enumerable:!0,get:function(){return $.forkJoin}});var G=e("./internal/observable/from");Object.defineProperty(r,"from",{enumerable:!0,get:function(){return G.from}});var W=e("./internal/observable/fromEvent");Object.defineProperty(r,"fromEvent",{enumerable:!0,get:function(){return W.fromEvent}});var z=e("./internal/observable/fromEventPattern");Object.defineProperty(r,"fromEventPattern",{enumerable:!0,get:function(){return z.fromEventPattern}});var q=e("./internal/observable/generate");Object.defineProperty(r,"generate",{enumerable:!0,get:function(){return q.generate}});var V=e("./internal/observable/iif");Object.defineProperty(r,"iif",{enumerable:!0,get:function(){return V.iif}});var K=e("./internal/observable/interval");Object.defineProperty(r,"interval",{enumerable:!0,get:function(){return K.interval}});var Y=e("./internal/observable/merge");Object.defineProperty(r,"merge",{enumerable:!0,get:function(){return Y.merge}});var X=e("./internal/observable/never");Object.defineProperty(r,"never",{enumerable:!0,get:function(){return X.never}});var J=e("./internal/observable/of");Object.defineProperty(r,"of",{enumerable:!0,get:function(){return J.of}});var Z=e("./internal/observable/onErrorResumeNext");Object.defineProperty(r,"onErrorResumeNext",{enumerable:!0,get:function(){return Z.onErrorResumeNext}});var Q=e("./internal/observable/pairs");Object.defineProperty(r,"pairs",{enumerable:!0,get:function(){return Q.pairs}});var ee=e("./internal/observable/partition");Object.defineProperty(r,"partition",{enumerable:!0,get:function(){return ee.partition}});var te=e("./internal/observable/race");Object.defineProperty(r,"race",{enumerable:!0,get:function(){return te.race}});var re=e("./internal/observable/range");Object.defineProperty(r,"range",{enumerable:!0,get:function(){return re.range}});var ne=e("./internal/observable/throwError");Object.defineProperty(r,"throwError",{enumerable:!0,get:function(){return ne.throwError}});var ie=e("./internal/observable/timer");Object.defineProperty(r,"timer",{enumerable:!0,get:function(){return ie.timer}});var oe=e("./internal/observable/using");Object.defineProperty(r,"using",{enumerable:!0,get:function(){return oe.using}});var ae=e("./internal/observable/zip");Object.defineProperty(r,"zip",{enumerable:!0,get:function(){return ae.zip}});var se=e("./internal/scheduled/scheduled");Object.defineProperty(r,"scheduled",{enumerable:!0,get:function(){return se.scheduled}});var ue=e("./internal/observable/empty");Object.defineProperty(r,"EMPTY",{enumerable:!0,get:function(){return ue.EMPTY}});var le=e("./internal/observable/never");Object.defineProperty(r,"NEVER",{enumerable:!0,get:function(){return le.NEVER}}),i(e("./internal/types"),r);var ce=e("./internal/config");Object.defineProperty(r,"config",{enumerable:!0,get:function(){return ce.config}});var fe=e("./internal/operators/audit");Object.defineProperty(r,"audit",{enumerable:!0,get:function(){return fe.audit}});var de=e("./internal/operators/auditTime");Object.defineProperty(r,"auditTime",{enumerable:!0,get:function(){return de.auditTime}});var he=e("./internal/operators/buffer");Object.defineProperty(r,"buffer",{enumerable:!0,get:function(){return he.buffer}});var pe=e("./internal/operators/bufferCount");Object.defineProperty(r,"bufferCount",{enumerable:!0,get:function(){return pe.bufferCount}});var be=e("./internal/operators/bufferTime");Object.defineProperty(r,"bufferTime",{enumerable:!0,get:function(){return be.bufferTime}});var me=e("./internal/operators/bufferToggle");Object.defineProperty(r,"bufferToggle",{enumerable:!0,get:function(){return me.bufferToggle}});var ge=e("./internal/operators/bufferWhen");Object.defineProperty(r,"bufferWhen",{enumerable:!0,get:function(){return ge.bufferWhen}});var ye=e("./internal/operators/catchError");Object.defineProperty(r,"catchError",{enumerable:!0,get:function(){return ye.catchError}});var ve=e("./internal/operators/combineAll");Object.defineProperty(r,"combineAll",{enumerable:!0,get:function(){return ve.combineAll}});var we=e("./internal/operators/combineLatestAll");Object.defineProperty(r,"combineLatestAll",{enumerable:!0,get:function(){return we.combineLatestAll}});var _e=e("./internal/operators/combineLatestWith");Object.defineProperty(r,"combineLatestWith",{enumerable:!0,get:function(){return _e.combineLatestWith}});var Ee=e("./internal/operators/concatAll");Object.defineProperty(r,"concatAll",{enumerable:!0,get:function(){return Ee.concatAll}});var je=e("./internal/operators/concatMap");Object.defineProperty(r,"concatMap",{enumerable:!0,get:function(){return je.concatMap}});var Se=e("./internal/operators/concatMapTo");Object.defineProperty(r,"concatMapTo",{enumerable:!0,get:function(){return Se.concatMapTo}});var Te=e("./internal/operators/concatWith");Object.defineProperty(r,"concatWith",{enumerable:!0,get:function(){return Te.concatWith}});var xe=e("./internal/operators/connect");Object.defineProperty(r,"connect",{enumerable:!0,get:function(){return xe.connect}});var Oe=e("./internal/operators/count");Object.defineProperty(r,"count",{enumerable:!0,get:function(){return Oe.count}});var Pe=e("./internal/operators/debounce");Object.defineProperty(r,"debounce",{enumerable:!0,get:function(){return Pe.debounce}});var ke=e("./internal/operators/debounceTime");Object.defineProperty(r,"debounceTime",{enumerable:!0,get:function(){return ke.debounceTime}});var Ae=e("./internal/operators/defaultIfEmpty");Object.defineProperty(r,"defaultIfEmpty",{enumerable:!0,get:function(){return Ae.defaultIfEmpty}});var Ie=e("./internal/operators/delay");Object.defineProperty(r,"delay",{enumerable:!0,get:function(){return Ie.delay}});var Re=e("./internal/operators/delayWhen");Object.defineProperty(r,"delayWhen",{enumerable:!0,get:function(){return Re.delayWhen}});var Me=e("./internal/operators/dematerialize");Object.defineProperty(r,"dematerialize",{enumerable:!0,get:function(){return Me.dematerialize}});var Le=e("./internal/operators/distinct");Object.defineProperty(r,"distinct",{enumerable:!0,get:function(){return Le.distinct}});var Ce=e("./internal/operators/distinctUntilChanged");Object.defineProperty(r,"distinctUntilChanged",{enumerable:!0,get:function(){return Ce.distinctUntilChanged}});var Fe=e("./internal/operators/distinctUntilKeyChanged");Object.defineProperty(r,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Fe.distinctUntilKeyChanged}});var Ne=e("./internal/operators/elementAt");Object.defineProperty(r,"elementAt",{enumerable:!0,get:function(){return Ne.elementAt}});var Be=e("./internal/operators/endWith");Object.defineProperty(r,"endWith",{enumerable:!0,get:function(){return Be.endWith}});var De=e("./internal/operators/every");Object.defineProperty(r,"every",{enumerable:!0,get:function(){return De.every}});var Ue=e("./internal/operators/exhaust");Object.defineProperty(r,"exhaust",{enumerable:!0,get:function(){return Ue.exhaust}});var He=e("./internal/operators/exhaustAll");Object.defineProperty(r,"exhaustAll",{enumerable:!0,get:function(){return He.exhaustAll}});var $e=e("./internal/operators/exhaustMap");Object.defineProperty(r,"exhaustMap",{enumerable:!0,get:function(){return $e.exhaustMap}});var Ge=e("./internal/operators/expand");Object.defineProperty(r,"expand",{enumerable:!0,get:function(){return Ge.expand}});var We=e("./internal/operators/filter");Object.defineProperty(r,"filter",{enumerable:!0,get:function(){return We.filter}});var ze=e("./internal/operators/finalize");Object.defineProperty(r,"finalize",{enumerable:!0,get:function(){return ze.finalize}});var qe=e("./internal/operators/find");Object.defineProperty(r,"find",{enumerable:!0,get:function(){return qe.find}});var Ve=e("./internal/operators/findIndex");Object.defineProperty(r,"findIndex",{enumerable:!0,get:function(){return Ve.findIndex}});var Ke=e("./internal/operators/first");Object.defineProperty(r,"first",{enumerable:!0,get:function(){return Ke.first}});var Ye=e("./internal/operators/groupBy");Object.defineProperty(r,"groupBy",{enumerable:!0,get:function(){return Ye.groupBy}});var Xe=e("./internal/operators/ignoreElements");Object.defineProperty(r,"ignoreElements",{enumerable:!0,get:function(){return Xe.ignoreElements}});var Je=e("./internal/operators/isEmpty");Object.defineProperty(r,"isEmpty",{enumerable:!0,get:function(){return Je.isEmpty}});var Ze=e("./internal/operators/last");Object.defineProperty(r,"last",{enumerable:!0,get:function(){return Ze.last}});var Qe=e("./internal/operators/map");Object.defineProperty(r,"map",{enumerable:!0,get:function(){return Qe.map}});var et=e("./internal/operators/mapTo");Object.defineProperty(r,"mapTo",{enumerable:!0,get:function(){return et.mapTo}});var tt=e("./internal/operators/materialize");Object.defineProperty(r,"materialize",{enumerable:!0,get:function(){return tt.materialize}});var rt=e("./internal/operators/max");Object.defineProperty(r,"max",{enumerable:!0,get:function(){return rt.max}});var nt=e("./internal/operators/mergeAll");Object.defineProperty(r,"mergeAll",{enumerable:!0,get:function(){return nt.mergeAll}});var it=e("./internal/operators/flatMap");Object.defineProperty(r,"flatMap",{enumerable:!0,get:function(){return it.flatMap}});var ot=e("./internal/operators/mergeMap");Object.defineProperty(r,"mergeMap",{enumerable:!0,get:function(){return ot.mergeMap}});var at=e("./internal/operators/mergeMapTo");Object.defineProperty(r,"mergeMapTo",{enumerable:!0,get:function(){return at.mergeMapTo}});var st=e("./internal/operators/mergeScan");Object.defineProperty(r,"mergeScan",{enumerable:!0,get:function(){return st.mergeScan}});var ut=e("./internal/operators/mergeWith");Object.defineProperty(r,"mergeWith",{enumerable:!0,get:function(){return ut.mergeWith}});var lt=e("./internal/operators/min");Object.defineProperty(r,"min",{enumerable:!0,get:function(){return lt.min}});var ct=e("./internal/operators/multicast");Object.defineProperty(r,"multicast",{enumerable:!0,get:function(){return ct.multicast}});var ft=e("./internal/operators/observeOn");Object.defineProperty(r,"observeOn",{enumerable:!0,get:function(){return ft.observeOn}});var dt=e("./internal/operators/onErrorResumeNextWith");Object.defineProperty(r,"onErrorResumeNextWith",{enumerable:!0,get:function(){return dt.onErrorResumeNextWith}});var ht=e("./internal/operators/pairwise");Object.defineProperty(r,"pairwise",{enumerable:!0,get:function(){return ht.pairwise}});var pt=e("./internal/operators/pluck");Object.defineProperty(r,"pluck",{enumerable:!0,get:function(){return pt.pluck}});var bt=e("./internal/operators/publish");Object.defineProperty(r,"publish",{enumerable:!0,get:function(){return bt.publish}});var mt=e("./internal/operators/publishBehavior");Object.defineProperty(r,"publishBehavior",{enumerable:!0,get:function(){return mt.publishBehavior}});var gt=e("./internal/operators/publishLast");Object.defineProperty(r,"publishLast",{enumerable:!0,get:function(){return gt.publishLast}});var yt=e("./internal/operators/publishReplay");Object.defineProperty(r,"publishReplay",{enumerable:!0,get:function(){return yt.publishReplay}});var vt=e("./internal/operators/raceWith");Object.defineProperty(r,"raceWith",{enumerable:!0,get:function(){return vt.raceWith}});var wt=e("./internal/operators/reduce");Object.defineProperty(r,"reduce",{enumerable:!0,get:function(){return wt.reduce}});var _t=e("./internal/operators/repeat");Object.defineProperty(r,"repeat",{enumerable:!0,get:function(){return _t.repeat}});var Et=e("./internal/operators/repeatWhen");Object.defineProperty(r,"repeatWhen",{enumerable:!0,get:function(){return Et.repeatWhen}});var jt=e("./internal/operators/retry");Object.defineProperty(r,"retry",{enumerable:!0,get:function(){return jt.retry}});var St=e("./internal/operators/retryWhen");Object.defineProperty(r,"retryWhen",{enumerable:!0,get:function(){return St.retryWhen}});var Tt=e("./internal/operators/refCount");Object.defineProperty(r,"refCount",{enumerable:!0,get:function(){return Tt.refCount}});var xt=e("./internal/operators/sample");Object.defineProperty(r,"sample",{enumerable:!0,get:function(){return xt.sample}});var Ot=e("./internal/operators/sampleTime");Object.defineProperty(r,"sampleTime",{enumerable:!0,get:function(){return Ot.sampleTime}});var Pt=e("./internal/operators/scan");Object.defineProperty(r,"scan",{enumerable:!0,get:function(){return Pt.scan}});var kt=e("./internal/operators/sequenceEqual");Object.defineProperty(r,"sequenceEqual",{enumerable:!0,get:function(){return kt.sequenceEqual}});var At=e("./internal/operators/share");Object.defineProperty(r,"share",{enumerable:!0,get:function(){return At.share}});var It=e("./internal/operators/shareReplay");Object.defineProperty(r,"shareReplay",{enumerable:!0,get:function(){return It.shareReplay}});var Rt=e("./internal/operators/single");Object.defineProperty(r,"single",{enumerable:!0,get:function(){return Rt.single}});var Mt=e("./internal/operators/skip");Object.defineProperty(r,"skip",{enumerable:!0,get:function(){return Mt.skip}});var Lt=e("./internal/operators/skipLast");Object.defineProperty(r,"skipLast",{enumerable:!0,get:function(){return Lt.skipLast}});var Ct=e("./internal/operators/skipUntil");Object.defineProperty(r,"skipUntil",{enumerable:!0,get:function(){return Ct.skipUntil}});var Ft=e("./internal/operators/skipWhile");Object.defineProperty(r,"skipWhile",{enumerable:!0,get:function(){return Ft.skipWhile}});var Nt=e("./internal/operators/startWith");Object.defineProperty(r,"startWith",{enumerable:!0,get:function(){return Nt.startWith}});var Bt=e("./internal/operators/subscribeOn");Object.defineProperty(r,"subscribeOn",{enumerable:!0,get:function(){return Bt.subscribeOn}});var Dt=e("./internal/operators/switchAll");Object.defineProperty(r,"switchAll",{enumerable:!0,get:function(){return Dt.switchAll}});var Ut=e("./internal/operators/switchMap");Object.defineProperty(r,"switchMap",{enumerable:!0,get:function(){return Ut.switchMap}});var Ht=e("./internal/operators/switchMapTo");Object.defineProperty(r,"switchMapTo",{enumerable:!0,get:function(){return Ht.switchMapTo}});var $t=e("./internal/operators/switchScan");Object.defineProperty(r,"switchScan",{enumerable:!0,get:function(){return $t.switchScan}});var Gt=e("./internal/operators/take");Object.defineProperty(r,"take",{enumerable:!0,get:function(){return Gt.take}});var Wt=e("./internal/operators/takeLast");Object.defineProperty(r,"takeLast",{enumerable:!0,get:function(){return Wt.takeLast}});var zt=e("./internal/operators/takeUntil");Object.defineProperty(r,"takeUntil",{enumerable:!0,get:function(){return zt.takeUntil}});var qt=e("./internal/operators/takeWhile");Object.defineProperty(r,"takeWhile",{enumerable:!0,get:function(){return qt.takeWhile}});var Vt=e("./internal/operators/tap");Object.defineProperty(r,"tap",{enumerable:!0,get:function(){return Vt.tap}});var Kt=e("./internal/operators/throttle");Object.defineProperty(r,"throttle",{enumerable:!0,get:function(){return Kt.throttle}});var Yt=e("./internal/operators/throttleTime");Object.defineProperty(r,"throttleTime",{enumerable:!0,get:function(){return Yt.throttleTime}});var Xt=e("./internal/operators/throwIfEmpty");Object.defineProperty(r,"throwIfEmpty",{enumerable:!0,get:function(){return Xt.throwIfEmpty}});var Jt=e("./internal/operators/timeInterval");Object.defineProperty(r,"timeInterval",{enumerable:!0,get:function(){return Jt.timeInterval}});var Zt=e("./internal/operators/timeout");Object.defineProperty(r,"timeout",{enumerable:!0,get:function(){return Zt.timeout}});var Qt=e("./internal/operators/timeoutWith");Object.defineProperty(r,"timeoutWith",{enumerable:!0,get:function(){return Qt.timeoutWith}});var er=e("./internal/operators/timestamp");Object.defineProperty(r,"timestamp",{enumerable:!0,get:function(){return er.timestamp}});var tr=e("./internal/operators/toArray");Object.defineProperty(r,"toArray",{enumerable:!0,get:function(){return tr.toArray}});var rr=e("./internal/operators/window");Object.defineProperty(r,"window",{enumerable:!0,get:function(){return rr.window}});var nr=e("./internal/operators/windowCount");Object.defineProperty(r,"windowCount",{enumerable:!0,get:function(){return nr.windowCount}});var ir=e("./internal/operators/windowTime");Object.defineProperty(r,"windowTime",{enumerable:!0,get:function(){return ir.windowTime}});var or=e("./internal/operators/windowToggle");Object.defineProperty(r,"windowToggle",{enumerable:!0,get:function(){return or.windowToggle}});var ar=e("./internal/operators/windowWhen");Object.defineProperty(r,"windowWhen",{enumerable:!0,get:function(){return ar.windowWhen}});var sr=e("./internal/operators/withLatestFrom");Object.defineProperty(r,"withLatestFrom",{enumerable:!0,get:function(){return sr.withLatestFrom}});var ur=e("./internal/operators/zipAll");Object.defineProperty(r,"zipAll",{enumerable:!0,get:function(){return ur.zipAll}});var lr=e("./internal/operators/zipWith");Object.defineProperty(r,"zipWith",{enumerable:!0,get:function(){return lr.zipWith}})}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/index.js"}],[7664,{"./Subject":7671},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncSubject=void 0;var o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return i(t,e),t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t._hasValue,i=t._value,o=t.thrownError,a=t.isStopped,s=t._isComplete;r?e.error(o):(a||s)&&(n&&e.next(i),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var t=this,r=t._hasValue,n=t._value;t._isComplete||(this._isComplete=!0,r&&e.prototype.next.call(this,n),e.prototype.complete.call(this))},t}(e("./Subject").Subject);r.AsyncSubject=o}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/AsyncSubject.js"}],[7665,{"./Subject":7671},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.BehaviorSubject=void 0;var o=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return i(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){var e=this,t=e.hasError,r=e.thrownError,n=e._value;if(t)throw r;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(e("./Subject").Subject);r.BehaviorSubject=o}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/BehaviorSubject.js"}],[7666,{"./observable/empty":7686,"./observable/of":7698,"./observable/throwError":7704,"./util/isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.observeNotification=r.Notification=r.NotificationKind=void 0;var n=e("./observable/empty"),i=e("./observable/of"),o=e("./observable/throwError"),a=e("./util/isFunction");!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(r.NotificationKind||(r.NotificationKind={}));var s=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return u(this,e)},e.prototype.do=function(e,t,r){var n=this,i=n.kind,o=n.value,a=n.error;return"N"===i?null==e?void 0:e(o):"E"===i?null==t?void 0:t(a):null==r?void 0:r()},e.prototype.accept=function(e,t,r){var n;return a.isFunction(null===(n=e)||void 0===n?void 0:n.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this,t=e.kind,r=e.value,a=e.error,s="N"===t?i.of(r):"E"===t?o.throwError(function(){return a}):"C"===t?n.EMPTY:0;if(!s)throw new TypeError("Unexpected notification kind "+t);return s},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",undefined,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function u(e,t){var r,n,i,o=e,a=o.kind,s=o.value,u=o.error;if("string"!=typeof a)throw new TypeError('Invalid notification, missing "kind"');"N"===a?null===(r=t.next)||void 0===r||r.call(t,s):"E"===a?null===(n=t.error)||void 0===n||n.call(t,u):null===(i=t.complete)||void 0===i||i.call(t)}r.Notification=s,r.observeNotification=u}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/Notification.js"}],[7667,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t,r){return{kind:e,value:t,error:r}}Object.defineProperty(r,"__esModule",{value:!0}),r.createNotification=r.nextNotification=r.errorNotification=r.COMPLETE_NOTIFICATION=void 0,r.COMPLETE_NOTIFICATION=n("C",undefined,undefined),r.errorNotification=function(e){return n("E",undefined,e)},r.nextNotification=function(e){return n("N",e,undefined)},r.createNotification=n}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/NotificationFactories.js"}],[7668,{"./Subscriber":7672,"./Subscription":7673,"./config":7674,"./symbol/observable":7851,"./util/errorContext":7866,"./util/isFunction":7872,"./util/pipe":7883},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Observable=void 0;var n=e("./Subscriber"),i=e("./Subscription"),o=e("./symbol/observable"),a=e("./util/pipe"),s=e("./config"),u=e("./util/isFunction"),l=e("./util/errorContext"),c=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var o,a=this,s=(o=e)&&o instanceof n.Subscriber||function(e){return e&&u.isFunction(e.next)&&u.isFunction(e.error)&&u.isFunction(e.complete)}(o)&&i.isSubscription(o)?e:new n.SafeSubscriber(e,t,r);return l.errorContext(function(){var e=a,t=e.operator,r=e.source;s.add(t?t.call(s,r):r?a._subscribe(s):a._trySubscribe(s))}),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=f(t))(function(t,i){var o=new n.SafeSubscriber({next:function(t){try{e(t)}catch(e){i(e),o.unsubscribe()}},error:i,complete:t});r.subscribe(o)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[o.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=f(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function f(e){var t;return null!==(t=null!=e?e:s.config.Promise)&&void 0!==t?t:Promise}r.Observable=c}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/Observable.js"}],[7669,{"./Subject":7671,"./scheduler/dateTimestampProvider":7844},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.ReplaySubject=void 0;var o=e("./Subject"),a=e("./scheduler/dateTimestampProvider"),s=function(e){function t(t,r,n){void 0===t&&(t=Infinity),void 0===r&&(r=Infinity),void 0===n&&(n=a.dateTimestampProvider);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===Infinity,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,r),i}return i(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,a=r._timestampProvider,s=r._windowTime;n||(i.push(t),!o&&i.push(a.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<Infinity&&o<n.length&&n.splice(0,n.length-o),!i){for(var a=r.now(),s=0,u=1;u<n.length&&n[u]<=a;u+=2)s=u;s&&n.splice(0,s+1)}},t}(o.Subject);r.ReplaySubject=s}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/ReplaySubject.js"}],[7670,{"./scheduler/dateTimestampProvider":7844},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Scheduler=void 0;var n=e("./scheduler/dateTimestampProvider"),i=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=n.dateTimestampProvider.now,e}();r.Scheduler=i}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/Scheduler.js"}],[7671,{"./Observable":7668,"./Subscription":7673,"./util/ObjectUnsubscribedError":7857,"./util/arrRemove":7863,"./util/errorContext":7866},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.AnonymousSubject=r.Subject=void 0;var a=e("./Observable"),s=e("./Subscription"),u=e("./util/ObjectUnsubscribedError"),l=e("./util/arrRemove"),c=e("./util/errorContext"),f=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return i(t,e),t.prototype.lift=function(e){var t=new d(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new u.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;c.errorContext(function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=o(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;c.errorContext(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;c.errorContext(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?s.EMPTY_SUBSCRIPTION:(this.currentObservers=null,o.push(e),new s.Subscription(function(){t.currentObservers=null,l.arrRemove(o,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,i=t.isStopped;r?e.error(n):i&&e.complete()},t.prototype.asObservable=function(){var e=new a.Observable;return e.source=this,e},t.create=function(e,t){return new d(e,t)},t}(a.Observable);r.Subject=f;var d=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return i(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:s.EMPTY_SUBSCRIPTION},t}(f);r.AnonymousSubject=d}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/Subject.js"}],[7672,{"./NotificationFactories":7667,"./Subscription":7673,"./config":7674,"./scheduler/timeoutProvider":7849,"./util/errorContext":7866,"./util/isFunction":7872,"./util/noop":7881,"./util/reportUnhandledError":7884},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.EMPTY_OBSERVER=r.SafeSubscriber=r.Subscriber=void 0;var o=e("./util/isFunction"),a=e("./Subscription"),s=e("./config"),u=e("./util/reportUnhandledError"),l=e("./util/noop"),c=e("./NotificationFactories"),f=e("./scheduler/timeoutProvider"),d=e("./util/errorContext"),h=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,a.isSubscription(t)&&t.add(n)):n.destination=r.EMPTY_OBSERVER,n}return i(t,e),t.create=function(e,t,r){return new g(e,t,r)},t.prototype.next=function(e){this.isStopped?v(c.nextNotification(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?v(c.errorNotification(e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?v(c.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(a.Subscription);r.Subscriber=h;var p=Function.prototype.bind;function b(e,t){return p.call(e,t)}var m=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){y(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){y(e)}else y(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){y(e)}},e}(),g=function(e){function t(t,r,n){var i,a,u=e.call(this)||this;o.isFunction(t)||!t?i={next:null!=t?t:undefined,error:null!=r?r:undefined,complete:null!=n?n:undefined}:u&&s.config.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return u.unsubscribe()},i={next:t.next&&b(t.next,a),error:t.error&&b(t.error,a),complete:t.complete&&b(t.complete,a)}):i=t;return u.destination=new m(i),u}return i(t,e),t}(h);function y(e){s.config.useDeprecatedSynchronousErrorHandling?d.captureError(e):u.reportUnhandledError(e)}function v(e,t){var r=s.config.onStoppedNotification;r&&f.timeoutProvider.setTimeout(function(){return r(e,t)})}r.SafeSubscriber=g,r.EMPTY_OBSERVER={closed:!0,next:l.noop,error:function(e){throw e},complete:l.noop}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/Subscriber.js"}],[7673,{"./util/UnsubscriptionError":7859,"./util/arrRemove":7863,"./util/isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.isSubscription=r.EMPTY_SUBSCRIPTION=r.Subscription=void 0;var a=e("./util/isFunction"),s=e("./util/UnsubscriptionError"),u=e("./util/arrRemove"),l=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,r,u,l;if(!this.closed){this.closed=!0;var f=this._parentage;if(f)if(this._parentage=null,Array.isArray(f))try{for(var d=n(f),h=d.next();!h.done;h=d.next()){h.value.remove(this)}}catch(t){e={error:t}}finally{try{h&&!h.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}else f.remove(this);var p=this.initialTeardown;if(a.isFunction(p))try{p()}catch(e){l=e instanceof s.UnsubscriptionError?e.errors:[e]}var b=this._finalizers;if(b){this._finalizers=null;try{for(var m=n(b),g=m.next();!g.done;g=m.next()){var y=g.value;try{c(y)}catch(e){l=null!=l?l:[],e instanceof s.UnsubscriptionError?l=o(o([],i(l)),i(e.errors)):l.push(e)}}}catch(e){r={error:e}}finally{try{g&&!g.done&&(u=m.return)&&u.call(m)}finally{if(r)throw r.error}}}if(l)throw new s.UnsubscriptionError(l)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)c(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&u.arrRemove(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&u.arrRemove(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}();function c(e){a.isFunction(e)?e():e.unsubscribe()}r.Subscription=l,r.EMPTY_SUBSCRIPTION=l.EMPTY,r.isSubscription=function(e){return e instanceof l||e&&"closed"in e&&a.isFunction(e.remove)&&a.isFunction(e.add)&&a.isFunction(e.unsubscribe)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/Subscription.js"}],[7674,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.config=void 0,r.config={onUnhandledError:null,onStoppedNotification:null,Promise:undefined,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/config.js"}],[7675,{"./Subscriber":7672,"./util/EmptyError":7854},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.firstValueFrom=void 0;var n=e("./util/EmptyError"),i=e("./Subscriber");r.firstValueFrom=function(e,t){var r="object"==typeof t;return new Promise(function(o,a){var s=new i.SafeSubscriber({next:function(e){o(e),s.unsubscribe()},error:a,complete:function(){r?o(t.defaultValue):a(new n.EmptyError)}});e.subscribe(s)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/firstValueFrom.js"}],[7676,{"./util/EmptyError":7854},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.lastValueFrom=void 0;var n=e("./util/EmptyError");r.lastValueFrom=function(e,t){var r="object"==typeof t;return new Promise(function(i,o){var a,s=!1;e.subscribe({next:function(e){a=e,s=!0},error:o,complete:function(){s?i(a):r?i(t.defaultValue):o(new n.EmptyError)}})})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/lastValueFrom.js"}],[7677,{"../Observable":7668,"../Subscription":7673,"../operators/OperatorSubscriber":7708,"../operators/refCount":7778,"../util/lift":7879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.ConnectableObservable=void 0;var o=e("../Observable"),a=e("../Subscription"),s=e("../operators/refCount"),u=e("../operators/OperatorSubscriber"),l=e("../util/lift"),c=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,l.hasLift(t)&&(n.lift=t.lift),n}return i(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new a.Subscription;var r=this.getSubject();t.add(this.source.subscribe(u.createOperatorSubscriber(r,undefined,function(){e._teardown(),r.complete()},function(t){e._teardown(),r.error(t)},function(){return e._teardown()}))),t.closed&&(this._connection=null,t=a.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return s.refCount()(this)},t}(o.Observable);r.ConnectableObservable=c}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/ConnectableObservable.js"}],[7678,{"./bindCallbackInternals":7679},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bindCallback=void 0;var n=e("./bindCallbackInternals");r.bindCallback=function(e,t,r){return n.bindCallbackInternals(!1,e,t,r)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/bindCallback.js"}],[7679,{"../AsyncSubject":7664,"../Observable":7668,"../operators/observeOn":7768,"../operators/subscribeOn":7796,"../util/isScheduler":7878,"../util/mapOneOrManyArgs":7880},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.bindCallbackInternals=void 0;var o=e("../util/isScheduler"),a=e("../Observable"),s=e("../operators/subscribeOn"),u=e("../util/mapOneOrManyArgs"),l=e("../operators/observeOn"),c=e("../AsyncSubject");r.bindCallbackInternals=function e(t,r,f,d){if(f){if(!o.isScheduler(f))return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return e(t,r,d).apply(this,n).pipe(u.mapOneOrManyArgs(f))};d=f}return d?function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return e(t,r).apply(this,n).pipe(s.subscribeOn(d),l.observeOn(d))}:function(){for(var e=this,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var u=new c.AsyncSubject,l=!0;return new a.Observable(function(a){var s=u.subscribe(a);if(l){l=!1;var c=!1,f=!1;r.apply(e,i(i([],n(o)),[function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t){var n=e.shift();if(null!=n)return void u.error(n)}u.next(1<e.length?e:e[0]),f=!0,c&&u.complete()}])),f&&u.complete(),c=!0}return s})}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/bindCallbackInternals.js"}],[7680,{"./bindCallbackInternals":7679},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bindNodeCallback=void 0;var n=e("./bindCallbackInternals");r.bindNodeCallback=function(e,t,r){return n.bindCallbackInternals(!0,e,t,r)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/bindNodeCallback.js"}],[7681,{"../Observable":7668,"../operators/OperatorSubscriber":7708,"../util/args":7860,"../util/argsArgArrayOrObject":7861,"../util/createObject":7865,"../util/executeSchedule":7867,"../util/identity":7868,"../util/mapOneOrManyArgs":7880,"./from":7688},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestInit=r.combineLatest=void 0;var n=e("../Observable"),i=e("../util/argsArgArrayOrObject"),o=e("./from"),a=e("../util/identity"),s=e("../util/mapOneOrManyArgs"),u=e("../util/args"),l=e("../util/createObject"),c=e("../operators/OperatorSubscriber"),f=e("../util/executeSchedule");function d(e,t,r){return void 0===r&&(r=a.identity),function(n){h(t,function(){for(var i=e.length,a=new Array(i),s=i,u=i,l=function(i){h(t,function(){var l=o.from(e[i],t),f=!1;l.subscribe(c.createOperatorSubscriber(n,function(e){a[i]=e,f||(f=!0,u--),u||n.next(r(a.slice()))},function(){--s||n.complete()}))},n)},f=0;f<i;f++)l(f)},n)}}function h(e,t,r){e?f.executeSchedule(r,e,t):t()}r.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=u.popScheduler(e),c=u.popResultSelector(e),f=i.argsArgArrayOrObject(e),h=f.args,p=f.keys;if(0===h.length)return o.from([],r);var b=new n.Observable(d(h,r,p?function(e){return l.createObject(p,e)}:a.identity));return c?b.pipe(s.mapOneOrManyArgs(c)):b},r.combineLatestInit=d}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/combineLatest.js"}],[7682,{"../operators/concatAll":7722,"../util/args":7860,"./from":7688},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.concat=void 0;var n=e("../operators/concatAll"),i=e("../util/args"),o=e("./from");r.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.concatAll()(o.from(e,i.popScheduler(e)))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/concat.js"}],[7683,{"../Observable":7668,"../Subject":7671,"./defer":7684},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.connectable=void 0;var n=e("../Subject"),i=e("../Observable"),o=e("./defer"),a={connector:function(){return new n.Subject},resetOnDisconnect:!0};r.connectable=function(e,t){void 0===t&&(t=a);var r=null,n=t.connector,s=t.resetOnDisconnect,u=void 0===s||s,l=n(),c=new i.Observable(function(e){return l.subscribe(e)});return c.connect=function(){return r&&!r.closed||(r=o.defer(function(){return e}).subscribe(l),u&&r.add(function(){return l=n()})),r},c}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/connectable.js"}],[7684,{"../Observable":7668,"./innerFrom":7694},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.defer=void 0;var n=e("../Observable"),i=e("./innerFrom");r.defer=function(e){return new n.Observable(function(t){i.innerFrom(e()).subscribe(t)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/defer.js"}],[7685,{"../../Observable":7668,"../../scheduler/animationFrameProvider":7841,"../../scheduler/performanceTimestampProvider":7847},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrames=void 0;var n=e("../../Observable"),i=e("../../scheduler/performanceTimestampProvider"),o=e("../../scheduler/animationFrameProvider");function a(e){return new n.Observable(function(t){var r=e||i.performanceTimestampProvider,n=r.now(),a=0,s=function(){t.closed||(a=o.animationFrameProvider.requestAnimationFrame(function(i){a=0;var o=r.now();t.next({timestamp:e?o:i,elapsed:o-n}),s()}))};return s(),function(){a&&o.animationFrameProvider.cancelAnimationFrame(a)}})}r.animationFrames=function(e){return e?a(e):s};var s=a()}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/dom/animationFrames.js"}],[7686,{"../Observable":7668},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.empty=r.EMPTY=void 0;var n=e("../Observable");r.EMPTY=new n.Observable(function(e){return e.complete()}),r.empty=function(e){return e?function(e){return new n.Observable(function(t){return e.schedule(function(){return t.complete()})})}(e):r.EMPTY}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/empty.js"}],[7687,{"../Observable":7668,"../operators/OperatorSubscriber":7708,"../util/args":7860,"../util/argsArgArrayOrObject":7861,"../util/createObject":7865,"../util/mapOneOrManyArgs":7880,"./innerFrom":7694},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.forkJoin=void 0;var n=e("../Observable"),i=e("../util/argsArgArrayOrObject"),o=e("./innerFrom"),a=e("../util/args"),s=e("../operators/OperatorSubscriber"),u=e("../util/mapOneOrManyArgs"),l=e("../util/createObject");r.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.popResultSelector(e),c=i.argsArgArrayOrObject(e),f=c.args,d=c.keys,h=new n.Observable(function(e){var t=f.length;if(t)for(var r=new Array(t),n=t,i=t,a=function(t){var a=!1;o.innerFrom(f[t]).subscribe(s.createOperatorSubscriber(e,function(e){a||(a=!0,i--),r[t]=e},function(){return n--},undefined,function(){n&&a||(i||e.next(d?l.createObject(d,r):r),e.complete())}))},u=0;u<t;u++)a(u);else e.complete()});return r?h.pipe(u.mapOneOrManyArgs(r)):h}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/forkJoin.js"}],[7688,{"../scheduled/scheduled":7829,"./innerFrom":7694},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.from=void 0;var n=e("../scheduled/scheduled"),i=e("./innerFrom");r.from=function(e,t){return t?n.scheduled(e,t):i.innerFrom(e)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/from.js"}],[7689,{"../Observable":7668,"../observable/innerFrom":7694,"../operators/mergeMap":7762,"../util/isArrayLike":7869,"../util/isFunction":7872,"../util/mapOneOrManyArgs":7880},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(r,"__esModule",{value:!0}),r.fromEvent=void 0;var i=e("../observable/innerFrom"),o=e("../Observable"),a=e("../operators/mergeMap"),s=e("../util/isArrayLike"),u=e("../util/isFunction"),l=e("../util/mapOneOrManyArgs"),c=["addListener","removeListener"],f=["addEventListener","removeEventListener"],d=["on","off"];function h(e,t){return function(r){return function(n){return e[r](t,n)}}}r.fromEvent=function e(t,r,p,b){if(u.isFunction(p)&&(b=p,p=undefined),b)return e(t,r,p).pipe(l.mapOneOrManyArgs(b));var m=n(function(e){return u.isFunction(e.addEventListener)&&u.isFunction(e.removeEventListener)}(t)?f.map(function(e){return function(n){return t[e](r,n,p)}}):function(e){return u.isFunction(e.addListener)&&u.isFunction(e.removeListener)}(t)?c.map(h(t,r)):function(e){return u.isFunction(e.on)&&u.isFunction(e.off)}(t)?d.map(h(t,r)):[],2),g=m[0],y=m[1];if(!g&&s.isArrayLike(t))return a.mergeMap(function(t){return e(t,r,p)})(i.innerFrom(t));if(!g)throw new TypeError("Invalid event target");return new o.Observable(function(e){var t=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1<t.length?t:t[0])};return g(t),function(){return y(t)}})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/fromEvent.js"}],[7690,{"../Observable":7668,"../util/isFunction":7872,"../util/mapOneOrManyArgs":7880},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.fromEventPattern=void 0;var n=e("../Observable"),i=e("../util/isFunction"),o=e("../util/mapOneOrManyArgs");r.fromEventPattern=function e(t,r,a){return a?e(t,r).pipe(o.mapOneOrManyArgs(a)):new n.Observable(function(e){var n=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1===t.length?t[0]:t)},o=t(n);return i.isFunction(r)?function(){return r(n,o)}:undefined})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/fromEventPattern.js"}],[7691,{"../Observable":7668},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.fromSubscribable=void 0;var n=e("../Observable");r.fromSubscribable=function(e){return new n.Observable(function(t){return e.subscribe(t)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/fromSubscribable.js"}],[7692,{"../scheduled/scheduleIterable":7825,"../util/identity":7868,"../util/isScheduler":7878,"./defer":7684},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.generate=void 0;var i=e("../util/identity"),o=e("../util/isScheduler"),a=e("./defer"),s=e("../scheduled/scheduleIterable");r.generate=function(e,t,r,u,l){var c,f,d,h;function p(){var e;return n(this,function(n){switch(n.label){case 0:e=h,n.label=1;case 1:return t&&!t(e)?[3,4]:[4,d(e)];case 2:n.sent(),n.label=3;case 3:return e=r(e),[3,1];case 4:return[2]}})}return 1===arguments.length?(h=(c=e).initialState,t=c.condition,r=c.iterate,f=c.resultSelector,d=void 0===f?i.identity:f,l=c.scheduler):(h=e,!u||o.isScheduler(u)?(d=i.identity,l=u):d=u),a.defer(l?function(){return s.scheduleIterable(p(),l)}:p)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/generate.js"}],[7693,{"./defer":7684},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.iif=void 0;var n=e("./defer");r.iif=function(e,t,r){return n.defer(function(){return e()?t:r})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/iif.js"}],[7694,{"../Observable":7668,"../symbol/observable":7851,"../util/isArrayLike":7869,"../util/isAsyncIterable":7870,"../util/isFunction":7872,"../util/isInteropObservable":7873,"../util/isIterable":7874,"../util/isPromise":7876,"../util/isReadableStreamLike":7877,"../util/reportUnhandledError":7884,"../util/throwUnobservableError":7885},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},o=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof a?a(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,i,(t=e[r](t)).done,t.value)})}}},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.fromReadableStreamLike=r.fromAsyncIterable=r.fromIterable=r.fromPromise=r.fromArrayLike=r.fromInteropObservable=r.innerFrom=void 0;var s=e("../util/isArrayLike"),u=e("../util/isPromise"),l=e("../Observable"),c=e("../util/isInteropObservable"),f=e("../util/isAsyncIterable"),d=e("../util/throwUnobservableError"),h=e("../util/isIterable"),p=e("../util/isReadableStreamLike"),b=e("../util/isFunction"),m=e("../util/reportUnhandledError"),g=e("../symbol/observable");function y(e){return new l.Observable(function(t){var r=e[g.observable]();if(b.isFunction(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function v(e){return new l.Observable(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function w(e){return new l.Observable(function(t){e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,m.reportUnhandledError)})}function _(e){return new l.Observable(function(t){var r,n;try{for(var i=a(e),o=i.next();!o.done;o=i.next()){var s=o.value;if(t.next(s),t.closed)return}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}t.complete()})}function E(e){return new l.Observable(function(t){(function(e,t){var r,a,s,u;return n(this,void 0,void 0,function(){var n,l;return i(this,function(i){switch(i.label){case 0:i.trys.push([0,5,6,11]),r=o(e),i.label=1;case 1:return[4,r.next()];case 2:if((a=i.sent()).done)return[3,4];if(n=a.value,t.next(n),t.closed)return[2];i.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return l=i.sent(),s={error:l},[3,11];case 6:return i.trys.push([6,,9,10]),a&&!a.done&&(u=r.return)?[4,u.call(r)]:[3,8];case 7:i.sent(),i.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}function j(e){return E(p.readableStreamLikeToAsyncGenerator(e))}r.innerFrom=function(e){if(e instanceof l.Observable)return e;if(null!=e){if(c.isInteropObservable(e))return y(e);if(s.isArrayLike(e))return v(e);if(u.isPromise(e))return w(e);if(f.isAsyncIterable(e))return E(e);if(h.isIterable(e))return _(e);if(p.isReadableStreamLike(e))return j(e)}throw d.createInvalidObservableTypeError(e)},r.fromInteropObservable=y,r.fromArrayLike=v,r.fromPromise=w,r.fromIterable=_,r.fromAsyncIterable=E,r.fromReadableStreamLike=j}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/innerFrom.js"}],[7695,{"../scheduler/async":7843,"./timer":7705},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.interval=void 0;var n=e("../scheduler/async"),i=e("./timer");r.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=n.asyncScheduler),e<0&&(e=0),i.timer(e,e,t)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/interval.js"}],[7696,{"../operators/mergeAll":7760,"../util/args":7860,"./empty":7686,"./from":7688,"./innerFrom":7694},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.merge=void 0;var n=e("../operators/mergeAll"),i=e("./innerFrom"),o=e("./empty"),a=e("../util/args"),s=e("./from");r.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.popScheduler(e),u=a.popNumber(e,Infinity),l=e;return l.length?1===l.length?i.innerFrom(l[0]):n.mergeAll(u)(s.from(l,r)):o.EMPTY}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/merge.js"}],[7697,{"../Observable":7668,"../util/noop":7881},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.never=r.NEVER=void 0;var n=e("../Observable"),i=e("../util/noop");r.NEVER=new n.Observable(i.noop),r.never=function(){return r.NEVER}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/never.js"}],[7698,{"../util/args":7860,"./from":7688},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.of=void 0;var n=e("../util/args"),i=e("./from");r.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=n.popScheduler(e);return i.from(e,r)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/of.js"}],[7699,{"../Observable":7668,"../operators/OperatorSubscriber":7708,"../util/argsOrArgArray":7862,"../util/noop":7881,"./innerFrom":7694},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.onErrorResumeNext=void 0;var n=e("../Observable"),i=e("../util/argsOrArgArray"),o=e("../operators/OperatorSubscriber"),a=e("../util/noop"),s=e("./innerFrom");r.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.argsOrArgArray(e);return new n.Observable(function(e){var t=0,n=function(){if(t<r.length){var i=void 0;try{i=s.innerFrom(r[t++])}catch(e){return void n()}var u=new o.OperatorSubscriber(e,undefined,a.noop,a.noop);i.subscribe(u),u.add(n)}else e.complete()};n()})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/onErrorResumeNext.js"}],[7700,{"./from":7688},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pairs=void 0;var n=e("./from");r.pairs=function(e,t){return n.from(Object.entries(e),t)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/pairs.js"}],[7701,{"../operators/filter":7744,"../util/not":7882,"./innerFrom":7694},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.partition=void 0;var n=e("../util/not"),i=e("../operators/filter"),o=e("./innerFrom");r.partition=function(e,t,r){return[i.filter(t,r)(o.innerFrom(e)),i.filter(n.not(t,r))(o.innerFrom(e))]}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/partition.js"}],[7702,{"../Observable":7668,"../operators/OperatorSubscriber":7708,"../util/argsOrArgArray":7862,"./innerFrom":7694},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.raceInit=r.race=void 0;var n=e("../Observable"),i=e("./innerFrom"),o=e("../util/argsOrArgArray"),a=e("../operators/OperatorSubscriber");function s(e){return function(t){for(var r=[],n=function(n){r.push(i.innerFrom(e[n]).subscribe(a.createOperatorSubscriber(t,function(e){if(r){for(var i=0;i<r.length;i++)i!==n&&r[i].unsubscribe();r=null}t.next(e)})))},o=0;r&&!t.closed&&o<e.length;o++)n(o)}}r.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=o.argsOrArgArray(e)).length?i.innerFrom(e[0]):new n.Observable(s(e))},r.raceInit=s}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/race.js"}],[7703,{"../Observable":7668,"./empty":7686},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.range=void 0;var n=e("../Observable"),i=e("./empty");r.range=function(e,t,r){if(null==t&&(t=e,e=0),t<=0)return i.EMPTY;var o=t+e;return new n.Observable(r?function(t){var n=e;return r.schedule(function(){n<o?(t.next(n++),this.schedule()):t.complete()})}:function(t){for(var r=e;r<o&&!t.closed;)t.next(r++);t.complete()})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/range.js"}],[7704,{"../Observable":7668,"../util/isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.throwError=void 0;var n=e("../Observable"),i=e("../util/isFunction");r.throwError=function(e,t){var r=i.isFunction(e)?e:function(){return e},o=function(e){return e.error(r())};return new n.Observable(t?function(e){return t.schedule(o,0,e)}:o)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/throwError.js"}],[7705,{"../Observable":7668,"../scheduler/async":7843,"../util/isDate":7871,"../util/isScheduler":7878},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.timer=void 0;var n=e("../Observable"),i=e("../scheduler/async"),o=e("../util/isScheduler"),a=e("../util/isDate");r.timer=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r=i.async);var s=-1;return null!=t&&(o.isScheduler(t)?r=t:s=t),new n.Observable(function(t){var n=a.isValidDate(e)?+e-r.now():e;n<0&&(n=0);var i=0;return r.schedule(function(){t.closed||(t.next(i++),0<=s?this.schedule(undefined,s):t.complete())},n)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/timer.js"}],[7706,{"../Observable":7668,"./empty":7686,"./innerFrom":7694},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.using=void 0;var n=e("../Observable"),i=e("./innerFrom"),o=e("./empty");r.using=function(e,t){return new n.Observable(function(r){var n=e(),a=t(n);return(a?i.innerFrom(a):o.EMPTY).subscribe(r),function(){n&&n.unsubscribe()}})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/using.js"}],[7707,{"../Observable":7668,"../operators/OperatorSubscriber":7708,"../util/args":7860,"../util/argsOrArgArray":7862,"./empty":7686,"./innerFrom":7694},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.zip=void 0;var o=e("../Observable"),a=e("./innerFrom"),s=e("../util/argsOrArgArray"),u=e("./empty"),l=e("../operators/OperatorSubscriber"),c=e("../util/args");r.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=c.popResultSelector(e),f=s.argsOrArgArray(e);return f.length?new o.Observable(function(e){var t=f.map(function(){return[]}),o=f.map(function(){return!1});e.add(function(){t=o=null});for(var s=function(s){a.innerFrom(f[s]).subscribe(l.createOperatorSubscriber(e,function(a){if(t[s].push(a),t.every(function(e){return e.length})){var u=t.map(function(e){return e.shift()});e.next(r?r.apply(void 0,i([],n(u))):u),t.some(function(e,t){return!e.length&&o[t]})&&e.complete()}},function(){o[s]=!0,!t[s].length&&e.complete()}))},u=0;!e.closed&&u<f.length;u++)s(u);return function(){t=o=null}}):u.EMPTY}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/observable/zip.js"}],[7708,{"../Subscriber":7672},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.OperatorSubscriber=r.createOperatorSubscriber=void 0;var o=e("../Subscriber");r.createOperatorSubscriber=function(e,t,r,n,i){return new a(e,t,r,n,i)};var a=function(e){function t(t,r,n,i,o,a){var s=e.call(this,t)||this;return s.onFinalize=o,s.shouldUnsubscribe=a,s._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return i(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(o.Subscriber);r.OperatorSubscriber=a}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js"}],[7709,{"../observable/innerFrom":7694,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.audit=void 0;var n=e("../util/lift"),i=e("../observable/innerFrom"),o=e("./OperatorSubscriber");r.audit=function(e){return n.operate(function(t,r){var n=!1,a=null,s=null,u=!1,l=function(){if(null==s||s.unsubscribe(),s=null,n){n=!1;var e=a;a=null,r.next(e)}u&&r.complete()},c=function(){s=null,u&&r.complete()};t.subscribe(o.createOperatorSubscriber(r,function(t){n=!0,a=t,s||i.innerFrom(e(t)).subscribe(s=o.createOperatorSubscriber(r,l,c))},function(){u=!0,(!n||!s||s.closed)&&r.complete()}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/audit.js"}],[7710,{"../observable/timer":7705,"../scheduler/async":7843,"./audit":7709},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.auditTime=void 0;var n=e("../scheduler/async"),i=e("./audit"),o=e("../observable/timer");r.auditTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),i.audit(function(){return o.timer(e,t)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/auditTime.js"}],[7711,{"../observable/innerFrom":7694,"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buffer=void 0;var n=e("../util/lift"),i=e("../util/noop"),o=e("./OperatorSubscriber"),a=e("../observable/innerFrom");r.buffer=function(e){return n.operate(function(t,r){var n=[];return t.subscribe(o.createOperatorSubscriber(r,function(e){return n.push(e)},function(){r.next(n),r.complete()})),a.innerFrom(e).subscribe(o.createOperatorSubscriber(r,function(){var e=n;n=[],r.next(e)},i.noop)),function(){n=null}})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/buffer.js"}],[7712,{"../util/arrRemove":7863,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.bufferCount=void 0;var i=e("../util/lift"),o=e("./OperatorSubscriber"),a=e("../util/arrRemove");r.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,i.operate(function(r,i){var s=[],u=0;r.subscribe(o.createOperatorSubscriber(i,function(r){var o,l,c,f,d=null;u++%t===0&&s.push([]);try{for(var h=n(s),p=h.next();!p.done;p=h.next()){(g=p.value).push(r),e<=g.length&&(d=null!=d?d:[]).push(g)}}catch(e){o={error:e}}finally{try{p&&!p.done&&(l=h.return)&&l.call(h)}finally{if(o)throw o.error}}if(d)try{for(var b=n(d),m=b.next();!m.done;m=b.next()){var g=m.value;a.arrRemove(s,g),i.next(g)}}catch(e){c={error:e}}finally{try{m&&!m.done&&(f=b.return)&&f.call(b)}finally{if(c)throw c.error}}},function(){var e,t;try{for(var r=n(s),o=r.next();!o.done;o=r.next()){var a=o.value;i.next(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}i.complete()},undefined,function(){s=null}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/bufferCount.js"}],[7713,{"../Subscription":7673,"../scheduler/async":7843,"../util/args":7860,"../util/arrRemove":7863,"../util/executeSchedule":7867,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.bufferTime=void 0;var i=e("../Subscription"),o=e("../util/lift"),a=e("./OperatorSubscriber"),s=e("../util/arrRemove"),u=e("../scheduler/async"),l=e("../util/args"),c=e("../util/executeSchedule");r.bufferTime=function(e){for(var t,r,f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];var h=null!==(t=l.popScheduler(f))&&void 0!==t?t:u.asyncScheduler,p=null!==(r=f[0])&&void 0!==r?r:null,b=f[1]||Infinity;return o.operate(function(t,r){var o=[],u=!1,l=function(e){var t=e.buffer;e.subs.unsubscribe(),s.arrRemove(o,e),r.next(t),u&&f()},f=function(){if(o){var t=new i.Subscription;r.add(t);var n={buffer:[],subs:t};o.push(n),c.executeSchedule(t,h,function(){return l(n)},e)}};null!==p&&p>=0?c.executeSchedule(r,h,f,p,!0):u=!0,f();var d=a.createOperatorSubscriber(r,function(e){var t,r,i=o.slice();try{for(var a=n(i),s=a.next();!s.done;s=a.next()){var u=s.value,c=u.buffer;c.push(e),b<=c.length&&l(u)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},function(){for(;null==o?void 0:o.length;)r.next(o.shift().buffer);null==d||d.unsubscribe(),r.complete(),r.unsubscribe()},undefined,function(){return o=null});t.subscribe(d)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/bufferTime.js"}],[7714,{"../Subscription":7673,"../observable/innerFrom":7694,"../util/arrRemove":7863,"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.bufferToggle=void 0;var i=e("../Subscription"),o=e("../util/lift"),a=e("../observable/innerFrom"),s=e("./OperatorSubscriber"),u=e("../util/noop"),l=e("../util/arrRemove");r.bufferToggle=function(e,t){return o.operate(function(r,o){var c=[];a.innerFrom(e).subscribe(s.createOperatorSubscriber(o,function(e){var r=[];c.push(r);var n=new i.Subscription;n.add(a.innerFrom(t(e)).subscribe(s.createOperatorSubscriber(o,function(){l.arrRemove(c,r),o.next(r),n.unsubscribe()},u.noop)))},u.noop)),r.subscribe(s.createOperatorSubscriber(o,function(e){var t,r;try{for(var i=n(c),o=i.next();!o.done;o=i.next()){o.value.push(e)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},function(){for(;c.length>0;)o.next(c.shift());o.complete()}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/bufferToggle.js"}],[7715,{"../observable/innerFrom":7694,"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bufferWhen=void 0;var n=e("../util/lift"),i=e("../util/noop"),o=e("./OperatorSubscriber"),a=e("../observable/innerFrom");r.bufferWhen=function(e){return n.operate(function(t,r){var n=null,s=null,u=function(){null==s||s.unsubscribe();var t=n;n=[],t&&r.next(t),a.innerFrom(e()).subscribe(s=o.createOperatorSubscriber(r,u,i.noop))};u(),t.subscribe(o.createOperatorSubscriber(r,function(e){return null==n?void 0:n.push(e)},function(){n&&r.next(n),r.complete()},undefined,function(){return n=s=null}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/bufferWhen.js"}],[7716,{"../observable/innerFrom":7694,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.catchError=void 0;var n=e("../observable/innerFrom"),i=e("./OperatorSubscriber"),o=e("../util/lift");r.catchError=function e(t){return o.operate(function(r,o){var a,s=null,u=!1;s=r.subscribe(i.createOperatorSubscriber(o,undefined,undefined,function(i){a=n.innerFrom(t(i,e(t)(r))),s?(s.unsubscribe(),s=null,a.subscribe(o)):u=!0})),u&&(s.unsubscribe(),s=null,a.subscribe(o))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/catchError.js"}],[7717,{"./combineLatestAll":7719},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.combineAll=void 0;var n=e("./combineLatestAll");r.combineAll=n.combineLatestAll}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/combineAll.js"}],[7718,{"../observable/combineLatest":7681,"../util/args":7860,"../util/argsOrArgArray":7862,"../util/lift":7879,"../util/mapOneOrManyArgs":7880,"../util/pipe":7883},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatest=void 0;var o=e("../observable/combineLatest"),a=e("../util/lift"),s=e("../util/argsOrArgArray"),u=e("../util/mapOneOrManyArgs"),l=e("../util/pipe"),c=e("../util/args");r.combineLatest=function e(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var f=c.popResultSelector(t);return f?l.pipe(e.apply(void 0,i([],n(t))),u.mapOneOrManyArgs(f)):a.operate(function(e,r){o.combineLatestInit(i([e],n(s.argsOrArgArray(t))))(r)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/combineLatest.js"}],[7719,{"../observable/combineLatest":7681,"./joinAllInternals":7753},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestAll=void 0;var n=e("../observable/combineLatest"),i=e("./joinAllInternals");r.combineLatestAll=function(e){return i.joinAllInternals(n.combineLatest,e)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/combineLatestAll.js"}],[7720,{"./combineLatest":7718},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestWith=void 0;var o=e("./combineLatest");r.combineLatestWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.combineLatest.apply(void 0,i([],n(e)))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/combineLatestWith.js"}],[7721,{"../observable/from":7688,"../util/args":7860,"../util/lift":7879,"./concatAll":7722},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.concat=void 0;var o=e("../util/lift"),a=e("./concatAll"),s=e("../util/args"),u=e("../observable/from");r.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=s.popScheduler(e);return o.operate(function(t,o){a.concatAll()(u.from(i([t],n(e)),r)).subscribe(o)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/concat.js"}],[7722,{"./mergeAll":7760},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.concatAll=void 0;var n=e("./mergeAll");r.concatAll=function(){return n.mergeAll(1)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/concatAll.js"}],[7723,{"../util/isFunction":7872,"./mergeMap":7762},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.concatMap=void 0;var n=e("./mergeMap"),i=e("../util/isFunction");r.concatMap=function(e,t){return i.isFunction(t)?n.mergeMap(e,t,1):n.mergeMap(e,1)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/concatMap.js"}],[7724,{"../util/isFunction":7872,"./concatMap":7723},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.concatMapTo=void 0;var n=e("./concatMap"),i=e("../util/isFunction");r.concatMapTo=function(e,t){return i.isFunction(t)?n.concatMap(function(){return e},t):n.concatMap(function(){return e})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/concatMapTo.js"}],[7725,{"./concat":7721},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.concatWith=void 0;var o=e("./concat");r.concatWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.concat.apply(void 0,i([],n(e)))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/concatWith.js"}],[7726,{"../Subject":7671,"../observable/fromSubscribable":7691,"../observable/innerFrom":7694,"../util/lift":7879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.connect=void 0;var n=e("../Subject"),i=e("../observable/innerFrom"),o=e("../util/lift"),a=e("../observable/fromSubscribable"),s={connector:function(){return new n.Subject}};r.connect=function(e,t){void 0===t&&(t=s);var r=t.connector;return o.operate(function(t,n){var o=r();i.innerFrom(e(a.fromSubscribable(o))).subscribe(n),n.add(t.subscribe(o))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/connect.js"}],[7727,{"./reduce":7777},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.count=void 0;var n=e("./reduce");r.count=function(e){return n.reduce(function(t,r,n){return!e||e(r,n)?t+1:t},0)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/count.js"}],[7728,{"../observable/innerFrom":7694,"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.debounce=void 0;var n=e("../util/lift"),i=e("../util/noop"),o=e("./OperatorSubscriber"),a=e("../observable/innerFrom");r.debounce=function(e){return n.operate(function(t,r){var n=!1,s=null,u=null,l=function(){if(null==u||u.unsubscribe(),u=null,n){n=!1;var e=s;s=null,r.next(e)}};t.subscribe(o.createOperatorSubscriber(r,function(t){null==u||u.unsubscribe(),n=!0,s=t,u=o.createOperatorSubscriber(r,l,i.noop),a.innerFrom(e(t)).subscribe(u)},function(){l(),r.complete()},undefined,function(){s=u=null}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/debounce.js"}],[7729,{"../scheduler/async":7843,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.debounceTime=void 0;var n=e("../scheduler/async"),i=e("../util/lift"),o=e("./OperatorSubscriber");r.debounceTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),i.operate(function(r,n){var i=null,a=null,s=null,u=function(){if(i){i.unsubscribe(),i=null;var e=a;a=null,n.next(e)}};function l(){var r=s+e,o=t.now();if(o<r)return i=this.schedule(undefined,r-o),void n.add(i);u()}r.subscribe(o.createOperatorSubscriber(n,function(r){a=r,s=t.now(),i||(i=t.schedule(l,e),n.add(i))},function(){u(),n.complete()},undefined,function(){a=i=null}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/debounceTime.js"}],[773,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.chains=void 0,r.chains={mainnet:{name:"mainnet",chainId:1,networkId:1,defaultHardfork:"shanghai",consensus:{type:"pow",algorithm:"ethash",ethash:{}},comment:"The Ethereum main chain",url:"https://ethstats.net/",genesis:{gasLimit:5e3,difficulty:17179869184,nonce:"0x0000000000000042",extraData:"0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"},depositContractAddress:"0x00000000219ab540356cBB839Cbe05303d7705Fa",hardforks:[{name:"chainstart",block:0,forkHash:"0xfc64ec04"},{name:"homestead",block:115e4,forkHash:"0x97c2c34c"},{name:"dao",block:192e4,forkHash:"0x91d1f948"},{name:"tangerineWhistle",block:2463e3,forkHash:"0x7a64da13"},{name:"spuriousDragon",block:2675e3,forkHash:"0x3edd5b10"},{name:"byzantium",block:437e4,forkHash:"0xa00bc324"},{name:"constantinople",block:728e4,forkHash:"0x668db0af"},{name:"petersburg",block:728e4,forkHash:"0x668db0af"},{name:"istanbul",block:9069e3,forkHash:"0x879d6e30"},{name:"muirGlacier",block:92e5,forkHash:"0xe029e991"},{name:"berlin",block:12244e3,forkHash:"0x0eb440f6"},{name:"london",block:12965e3,forkHash:"0xb715077d"},{name:"arrowGlacier",block:13773e3,forkHash:"0x20c327fc"},{name:"grayGlacier",block:1505e4,forkHash:"0xf0afd0e3"},{name:"paris",ttd:"58750000000000000000000",block:15537394,forkHash:"0xf0afd0e3"},{name:"mergeForkIdTransition",block:null,forkHash:null},{name:"shanghai",block:null,timestamp:"1681338455",forkHash:"0xdce96c2d"},{name:"cancun",block:null,timestamp:"1710338135",forkHash:"0x9f3d2254"},{name:"prague",block:null}],bootstrapNodes:[{ip:"18.138.108.67",port:30303,id:"d860a01f9722d78051619d1e2351aba3f43f943f6f00718d1b9baa4101932a1f5011f16bb2b1bb35db20d6fe28fa0bf09636d26a87d31de9ec6203eeedb1f666",location:"ap-southeast-1-001",comment:"bootnode-aws-ap-southeast-1-001"},{ip:"3.209.45.79",port:30303,id:"22a8232c3abc76a16ae9d6c3b164f98775fe226f0917b0ca871128a74a8e9630b458460865bab457221f1d448dd9791d24c4e5d88786180ac185df813a68d4de",location:"us-east-1-001",comment:"bootnode-aws-us-east-1-001"},{ip:"65.108.70.101",port:30303,id:"2b252ab6a1d0f971d9722cb839a42cb81db019ba44c08754628ab4a823487071b5695317c8ccd085219c3a03af063495b2f1da8d18218da2d6a82981b45e6ffc",location:"eu-west-1-001",comment:"bootnode-hetzner-hel"},{ip:"157.90.35.166",port:30303,id:"4aeb4ab6c14b23e2c4cfdce879c04b0748a20d8e9b59e25ded2a08143e265c6c25936e74cbc8e641e3312ca288673d91f2f93f8e277de3cfa444ecdaaf982052",location:"eu-central-1-001",comment:"bootnode-hetzner-fsn"}],dnsNetworks:["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.mainnet.ethdisco.net"]},goerli:{name:"goerli",chainId:5,networkId:5,defaultHardfork:"shanghai",consensus:{type:"poa",algorithm:"clique",clique:{period:15,epoch:3e4}},comment:"Cross-client PoA test network",url:"https://github.com/goerli/testnet",genesis:{timestamp:"0x5c51a607",gasLimit:10485760,difficulty:1,nonce:"0x0000000000000000",extraData:"0x22466c6578692069732061207468696e6722202d204166726900000000000000e0a2bd4258d2768837baa26a28fe71dc079f84c70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},hardforks:[{name:"chainstart",block:0,forkHash:"0xa3f5ab08"},{name:"homestead",block:0,forkHash:"0xa3f5ab08"},{name:"tangerineWhistle",block:0,forkHash:"0xa3f5ab08"},{name:"spuriousDragon",block:0,forkHash:"0xa3f5ab08"},{name:"byzantium",block:0,forkHash:"0xa3f5ab08"},{name:"constantinople",block:0,forkHash:"0xa3f5ab08"},{name:"petersburg",block:0,forkHash:"0xa3f5ab08"},{name:"istanbul",block:1561651,forkHash:"0xc25efa5c"},{name:"berlin",block:4460644,forkHash:"0x757a1c47"},{name:"london",block:5062605,forkHash:"0xb8c6299d"},{name:"paris",ttd:"10790000",block:7382819,forkHash:"0xb8c6299d"},{name:"mergeForkIdTransition",block:null,forkHash:null},{name:"shanghai",block:null,timestamp:"1678832736",forkHash:"0xf9843abf"},{name:"cancun",block:null,timestamp:"1705473120",forkHash:"0x70cc14e2"}],bootstrapNodes:[{ip:"51.141.78.53",port:30303,id:"011f758e6552d105183b1761c5e2dea0111bc20fd5f6422bc7f91e0fabbec9a6595caf6239b37feb773dddd3f87240d99d859431891e4a642cf2a0a9e6cbb98a",location:"",comment:"Upstream bootnode 1"},{ip:"13.93.54.137",port:30303,id:"176b9417f511d05b6b2cf3e34b756cf0a7096b3094572a8f6ef4cdcb9d1f9d00683bf0f83347eebdf3b81c3521c2332086d9592802230bf528eaf606a1d9677b",location:"",comment:"Upstream bootnode 2"},{ip:"94.237.54.114",port:30313,id:"46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291",location:"",comment:"Upstream bootnode 3"},{ip:"18.218.250.66",port:30313,id:"b5948a2d3e9d486c4d75bf32713221c2bd6cf86463302339299bd227dc2e276cd5a1c7ca4f43a0e9122fe9af884efed563bd2a1fd28661f3b5f5ad7bf1de5949",location:"",comment:"Upstream bootnode 4"},{ip:"3.11.147.67",port:30303,id:"a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91",location:"",comment:"Ethereum Foundation bootnode"},{ip:"51.15.116.226",port:30303,id:"a869b02cec167211fb4815a82941db2e7ed2936fd90e78619c53eb17753fcf0207463e3419c264e2a1dd8786de0df7e68cf99571ab8aeb7c4e51367ef186b1dd",location:"",comment:"Goerli Initiative bootnode"},{ip:"51.15.119.157",port:30303,id:"807b37ee4816ecf407e9112224494b74dd5933625f655962d892f2f0f02d7fbbb3e2a94cf87a96609526f30c998fd71e93e2f53015c558ffc8b03eceaf30ee33",location:"",comment:"Goerli Initiative bootnode"},{ip:"51.15.119.157",port:40303,id:"a59e33ccd2b3e52d578f1fbd70c6f9babda2650f0760d6ff3b37742fdcdfdb3defba5d56d315b40c46b70198c7621e63ffa3f987389c7118634b0fefbbdfa7fd",location:"",comment:"Goerli Initiative bootnode"}],dnsNetworks:["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.goerli.ethdisco.net"]},sepolia:{name:"sepolia",chainId:11155111,networkId:11155111,defaultHardfork:"shanghai",consensus:{type:"pow",algorithm:"ethash",ethash:{}},comment:"PoW test network to replace Ropsten",url:"https://github.com/ethereum/go-ethereum/pull/23730",genesis:{timestamp:"0x6159af19",gasLimit:3e7,difficulty:131072,nonce:"0x0000000000000000",extraData:"0x5365706f6c69612c20417468656e732c204174746963612c2047726565636521"},hardforks:[{name:"chainstart",block:0,forkHash:"0xfe3366e7"},{name:"homestead",block:0,forkHash:"0xfe3366e7"},{name:"tangerineWhistle",block:0,forkHash:"0xfe3366e7"},{name:"spuriousDragon",block:0,forkHash:"0xfe3366e7"},{name:"byzantium",block:0,forkHash:"0xfe3366e7"},{name:"constantinople",block:0,forkHash:"0xfe3366e7"},{name:"petersburg",block:0,forkHash:"0xfe3366e7"},{name:"istanbul",block:0,forkHash:"0xfe3366e7"},{name:"muirGlacier",block:0,forkHash:"0xfe3366e7"},{name:"berlin",block:0,forkHash:"0xfe3366e7"},{name:"london",block:0,forkHash:"0xfe3366e7"},{name:"paris",ttd:"17000000000000000",block:1450409,forkHash:"0xfe3366e7"},{name:"mergeForkIdTransition",block:1735371,forkHash:"0xb96cbd13"},{name:"shanghai",block:null,timestamp:"1677557088",forkHash:"0xf7f9bc08"},{name:"cancun",block:null,timestamp:"1706655072",forkHash:"0x88cf81d9"}],bootstrapNodes:[{ip:"18.168.182.86",port:30303,id:"9246d00bc8fd1742e5ad2428b80fc4dc45d786283e05ef6edbd9002cbc335d40998444732fbe921cb88e1d2c73d1b1de53bae6a2237996e9bfe14f871baf7066",location:"",comment:"geth"},{ip:"52.14.151.177",port:30303,id:"ec66ddcf1a974950bd4c782789a7e04f8aa7110a72569b6e65fcd51e937e74eed303b1ea734e4d19cfaec9fbff9b6ee65bf31dcb50ba79acce9dd63a6aca61c7",location:"",comment:"besu"},{ip:"165.22.196.173",port:30303,id:"ce970ad2e9daa9e14593de84a8b49da3d54ccfdf83cbc4fe519cb8b36b5918ed4eab087dedd4a62479b8d50756b492d5f762367c8d20329a7854ec01547568a6",location:"",comment:"EF"},{ip:"65.108.95.67",port:30303,id:"075503b13ed736244896efcde2a992ec0b451357d46cb7a8132c0384721742597fc8f0d91bbb40bb52e7d6e66728d36a1fda09176294e4a30cfac55dcce26bc6",location:"",comment:"lodestar"}],dnsNetworks:["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.sepolia.ethdisco.net"]},holesky:{name:"holesky",chainId:17e3,networkId:17e3,defaultHardfork:"paris",consensus:{type:"pos",algorithm:"casper"},comment:"PoS test network to replace Goerli",url:"https://github.com/eth-clients/holesky/",genesis:{baseFeePerGas:"0x3B9ACA00",difficulty:"0x01",extraData:"0x",gasLimit:"0x17D7840",nonce:"0x0000000000001234",timestamp:"0x65156994"},hardforks:[{name:"chainstart",block:0,forkHash:"0xc61a6098"},{name:"homestead",block:0,forkHash:"0xc61a6098"},{name:"tangerineWhistle",block:0,forkHash:"0xc61a6098"},{name:"spuriousDragon",block:0,forkHash:"0xc61a6098"},{name:"byzantium",block:0,forkHash:"0xc61a6098"},{name:"constantinople",block:0,forkHash:"0xc61a6098"},{name:"petersburg",block:0,forkHash:"0xc61a6098"},{name:"istanbul",block:0,forkHash:"0xc61a6098"},{name:"muirGlacier",block:0,forkHash:"0xc61a6098"},{name:"berlin",block:0,forkHash:"0xc61a6098"},{name:"london",block:0,forkHash:"0xc61a6098"},{name:"paris",ttd:"0",block:0,forkHash:"0xc61a6098"},{name:"mergeForkIdTransition",block:0,forkHash:"0xc61a6098"},{name:"shanghai",block:null,timestamp:"1696000704",forkHash:"0xfd4f016b"},{name:"cancun",block:null,timestamp:"1707305664",forkHash:"0x9b192ad0"}],bootstrapNodes:[{ip:"146.190.13.128",port:30303,id:"ac906289e4b7f12df423d654c5a962b6ebe5b3a74cc9e06292a85221f9a64a6f1cfdd6b714ed6dacef51578f92b34c60ee91e9ede9c7f8fadc4d347326d95e2b",location:"",comment:"bootnode 1"},{ip:"178.128.136.233",port:30303,id:"a3435a0155a3e837c02f5e7f5662a2f1fbc25b48e4dc232016e1c51b544cb5b4510ef633ea3278c0e970fa8ad8141e2d4d0f9f95456c537ff05fdf9b31c15072",location:"",comment:"bootnode 2"}],dnsNetworks:["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.holesky.ethdisco.net"]},kaustinen6:{name:"kaustinen6",chainId:69420,networkId:69420,defaultHardfork:"osaka",consensus:{type:"pos",algorithm:"casper"},comment:"Verkle kaustinen testnet 6 (likely temporary, do not hard-wire into production code)",url:"https://github.com/eth-clients/kaustinen/",genesis:{difficulty:"0x01",extraData:"0x",gasLimit:"0x17D7840",nonce:"0x0000000000001234",timestamp:"0x66190fbc"},hardforks:[{name:"chainstart",block:0},{name:"homestead",block:0},{name:"tangerineWhistle",block:0},{name:"spuriousDragon",block:0},{name:"byzantium",block:0},{name:"constantinople",block:0},{name:"petersburg",block:0},{name:"istanbul",block:0},{name:"berlin",block:0},{name:"london",block:0},{name:"paris",ttd:"0",block:0},{name:"mergeForkIdTransition",block:0},{name:"shanghai",block:null,timestamp:"0"},{name:"osaka",block:null,timestamp:"1712848500"}],bootstrapNodes:[],dnsNetworks:[]}}}}},{package:"@ethereumjs/tx>@ethereumjs/common",file:"node_modules/@ethereumjs/common/dist/cjs/chains.js"}],[7730,{"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.defaultIfEmpty=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber");r.defaultIfEmpty=function(e){return n.operate(function(t,r){var n=!1;t.subscribe(i.createOperatorSubscriber(r,function(e){n=!0,r.next(e)},function(){n||r.next(e),r.complete()}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/defaultIfEmpty.js"}],[7731,{"../observable/timer":7705,"../scheduler/async":7843,"./delayWhen":7732},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.delay=void 0;var n=e("../scheduler/async"),i=e("./delayWhen"),o=e("../observable/timer");r.delay=function(e,t){void 0===t&&(t=n.asyncScheduler);var r=o.timer(e,t);return i.delayWhen(function(){return r})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/delay.js"}],[7732,{"../observable/concat":7682,"../observable/innerFrom":7694,"./ignoreElements":7751,"./mapTo":7756,"./mergeMap":7762,"./take":7801},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.delayWhen=void 0;var n=e("../observable/concat"),i=e("./take"),o=e("./ignoreElements"),a=e("./mapTo"),s=e("./mergeMap"),u=e("../observable/innerFrom");r.delayWhen=function e(t,r){return r?function(a){return n.concat(r.pipe(i.take(1),o.ignoreElements()),a.pipe(e(t)))}:s.mergeMap(function(e,r){return u.innerFrom(t(e,r)).pipe(i.take(1),a.mapTo(e))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/delayWhen.js"}],[7733,{"../Notification":7666,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.dematerialize=void 0;var n=e("../Notification"),i=e("../util/lift"),o=e("./OperatorSubscriber");r.dematerialize=function(){return i.operate(function(e,t){e.subscribe(o.createOperatorSubscriber(t,function(e){return n.observeNotification(e,t)}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/dematerialize.js"}],[7734,{"../observable/innerFrom":7694,"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.distinct=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber"),o=e("../util/noop"),a=e("../observable/innerFrom");r.distinct=function(e,t){return n.operate(function(r,n){var s=new Set;r.subscribe(i.createOperatorSubscriber(n,function(t){var r=e?e(t):t;s.has(r)||(s.add(r),n.next(t))})),t&&a.innerFrom(t).subscribe(i.createOperatorSubscriber(n,function(){return s.clear()},o.noop))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/distinct.js"}],[7735,{"../util/identity":7868,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.distinctUntilChanged=void 0;var n=e("../util/identity"),i=e("../util/lift"),o=e("./OperatorSubscriber");function a(e,t){return e===t}r.distinctUntilChanged=function(e,t){return void 0===t&&(t=n.identity),e=null!=e?e:a,i.operate(function(r,n){var i,a=!0;r.subscribe(o.createOperatorSubscriber(n,function(r){var o=t(r);!a&&e(i,o)||(a=!1,i=o,n.next(r))}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js"}],[7736,{"./distinctUntilChanged":7735},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.distinctUntilKeyChanged=void 0;var n=e("./distinctUntilChanged");r.distinctUntilKeyChanged=function(e,t){return n.distinctUntilChanged(function(r,n){return t?t(r[e],n[e]):r[e]===n[e]})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/distinctUntilKeyChanged.js"}],[7737,{"../util/ArgumentOutOfRangeError":7853,"./defaultIfEmpty":7730,"./filter":7744,"./take":7801,"./throwIfEmpty":7808},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.elementAt=void 0;var n=e("../util/ArgumentOutOfRangeError"),i=e("./filter"),o=e("./throwIfEmpty"),a=e("./defaultIfEmpty"),s=e("./take");r.elementAt=function(e,t){if(e<0)throw new n.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(u){return u.pipe(i.filter(function(t,r){return r===e}),s.take(1),r?a.defaultIfEmpty(t):o.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/elementAt.js"}],[7738,{"../observable/concat":7682,"../observable/of":7698},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.endWith=void 0;var o=e("../observable/concat"),a=e("../observable/of");r.endWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return o.concat(t,a.of.apply(void 0,i([],n(e))))}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/endWith.js"}],[7739,{"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.every=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber");r.every=function(e,t){return n.operate(function(r,n){var o=0;r.subscribe(i.createOperatorSubscriber(n,function(i){e.call(t,i,o++,r)||(n.next(!1),n.complete())},function(){n.next(!0),n.complete()}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/every.js"}],[774,{"./chains.js":773,"./crc.js":775,"./eips.js":776,"./enums.js":777,"./hardforks.js":778,"./utils.js":782,"@ethereumjs/util":817,events:6529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Common=void 0;const n=e("@ethereumjs/util"),i=e("events"),o=e("./chains.js"),a=e("./crc.js"),s=e("./eips.js"),u=e("./enums.js"),l=e("./hardforks.js"),c=e("./utils.js");class f{constructor(e){this._eips=[],this._paramsCache={},this._activatedEIPsCache=[],this.events=new i.EventEmitter,this._customChains=e.customChains??[],this._chainParams=this.setChain(e.chain),this.DEFAULT_HARDFORK=this._chainParams.defaultHardfork??u.Hardfork.Shanghai,this.HARDFORK_CHANGES=this.hardforks().map(e=>[e.name,l.hardforks[e.name]??(this._chainParams.customHardforks&&this._chainParams.customHardforks[e.name])]),this._hardfork=this.DEFAULT_HARDFORK,e.hardfork!==undefined&&this.setHardfork(e.hardfork),e.eips&&this.setEIPs(e.eips),this.customCrypto=e.customCrypto??{},0===Object.keys(this._paramsCache).length&&(this._buildParamsCache(),this._buildActivatedEIPsCache())}static custom(e,t={}){const r=t.baseChain??"mainnet",n={...f._getChainParams(r)};if(n.name="custom-chain","string"!=typeof e)return new f({chain:{...n,...e},...t});if(e===u.CustomChain.PolygonMainnet)return f.custom({name:u.CustomChain.PolygonMainnet,chainId:137,networkId:137},t);if(e===u.CustomChain.PolygonMumbai)return f.custom({name:u.CustomChain.PolygonMumbai,chainId:80001,networkId:80001},t);if(e===u.CustomChain.ArbitrumOne)return f.custom({name:u.CustomChain.ArbitrumOne,chainId:42161,networkId:42161},t);if(e===u.CustomChain.xDaiChain)return f.custom({name:u.CustomChain.xDaiChain,chainId:100,networkId:100},t);if(e===u.CustomChain.OptimisticKovan)return f.custom({name:u.CustomChain.OptimisticKovan,chainId:69,networkId:69},t);if(e===u.CustomChain.OptimisticEthereum)return f.custom({name:u.CustomChain.OptimisticEthereum,chainId:10,networkId:10},{hardfork:u.Hardfork.Berlin,...t});throw new Error(`Custom chain ${e} not supported`)}static fromGethGenesis(e,{chain:t,eips:r,genesisHash:n,hardfork:i,mergeForkIdPostMerge:o,customCrypto:a}){const s=(0,c.parseGethGenesis)(e,t,o),u=new f({chain:s.name??"custom",customChains:[s],eips:r,hardfork:i??s.hardfork,customCrypto:a});return n!==undefined&&u.setForkHashes(n),u}static isSupportedChainId(e){const t=this.getInitializedChains();return Boolean(t.names[e.toString()])}static _getChainParams(e,t){const r=this.getInitializedChains(t);if("number"==typeof e||"bigint"==typeof e){if(e=e.toString(),r.names[e]){return r[r.names[e]]}throw new Error(`Chain with ID ${e} not supported`)}if(r[e]!==undefined)return r[e];throw new Error(`Chain with name ${e} not supported`)}setChain(e){if("number"==typeof e||"bigint"==typeof e||"string"==typeof e)this._chainParams=f._getChainParams(e,this._customChains);else{if("object"!=typeof e)throw new Error("Wrong input format");{if(this._customChains.length>0)throw new Error("Chain must be a string, number, or bigint when initialized with customChains passed in");const t=["networkId","genesis","hardforks","bootstrapNodes"];for(const r of t)if(!(r in e))throw new Error(`Missing required chain parameter: ${r}`);this._chainParams=e}}for(const e of this.hardforks())if(e.block===undefined)throw new Error("Hardfork cannot have undefined block number");return this._chainParams}setHardfork(e){let t=!1;for(const r of this.HARDFORK_CHANGES)r[0]===e&&(this._hardfork!==e&&(this._hardfork=e,this._buildParamsCache(),this._buildActivatedEIPsCache(),this.events.emit("hardforkChanged",e)),t=!0);if(!t)throw new Error(`Hardfork with name ${e} not supported`)}getHardforkBy(e){const t=(0,n.toType)(e.blockNumber,n.TypeOutput.BigInt),r=(0,n.toType)(e.td,n.TypeOutput.BigInt),i=(0,n.toType)(e.timestamp,n.TypeOutput.BigInt),o=this.hardforks().filter(e=>null!==e.block||null!==e.ttd&&e.ttd!==undefined||e.timestamp!==undefined),a=o.findIndex(e=>null!==e.ttd&&e.ttd!==undefined);if(o.slice(a+1).findIndex(e=>null!==e.ttd&&e.ttd!==undefined)>=0)throw Error("More than one merge hardforks found with ttd specified");let s=o.findIndex(e=>t!==undefined&&null!==e.block&&BigInt(e.block)>t||i!==undefined&&e.timestamp!==undefined&&BigInt(e.timestamp)>i);if(-1===s)s=o.length;else if(0===s)throw Error("Must have at least one hardfork at block 0");if(i===undefined){s-=o.slice(0,s).reverse().findIndex(e=>null!==e.block||e.ttd!==undefined)}if(s-=1,null===o[s].block&&o[s].timestamp===undefined)(r===undefined||null===r||BigInt(o[s].ttd)>r)&&(s-=1);else if(a>=0&&r!==undefined&&null!==r){if(s>=a&&BigInt(o[a].ttd)>r)throw Error("Maximum HF determined by total difficulty is lower than the block number HF");if(s<a&&BigInt(o[a].ttd)<r)throw Error("HF determined by block number is lower than the minimum total difficulty HF")}const u=s;for(;s<o.length-1&&(o[s].block===o[s+1].block&&o[s].timestamp===o[s+1].timestamp);s++);if(i!==undefined){if(o.slice(0,u).reduce((e,t)=>Math.max(Number(t.timestamp??"0"),e),0)>i)throw Error("Maximum HF determined by timestamp is lower than the block number/ttd HF");if(o.slice(s+1).reduce((e,t)=>Math.min(Number(t.timestamp??i),e),Number(i))<i)throw Error("Maximum HF determined by block number/ttd is lower than timestamp HF")}return o[s].name}setHardforkBy(e){const t=this.getHardforkBy(e);return this.setHardfork(t),t}_getHardfork(e){const t=this.hardforks();for(const r of t)if(r.name===e)return r;return null}setEIPs(e=[]){for(const t of e){if(!(t in s.EIPs))throw new Error(`${t} not supported`);const e=this.gteHardfork(s.EIPs[t].minimumHardfork);if(!e)throw new Error(`${t} cannot be activated on hardfork ${this.hardfork()}, minimumHardfork: ${e}`)}this._eips=e,this._buildParamsCache(),this._buildActivatedEIPsCache();for(const t of e)if(s.EIPs[t].requiredEIPs!==undefined)for(const r of s.EIPs[t].requiredEIPs)if(!e.includes(r)&&!this.isActivatedEIP(r))throw new Error(`${t} requires EIP ${r}, but is not included in the EIP list`)}_mergeWithParamsCache(e){this._paramsCache.gasConfig={...this._paramsCache.gasConfig,...e.gasConfig},this._paramsCache.gasPrices={...this._paramsCache.gasPrices,...e.gasPrices},this._paramsCache.pow={...this._paramsCache.pow,...e.pow},this._paramsCache.sharding={...this._paramsCache.sharding,...e.sharding},this._paramsCache.vm={...this._paramsCache.vm,...e.vm}}_buildParamsCache(){this._paramsCache={};const e=this.hardfork();for(const t of this.HARDFORK_CHANGES){if("eips"in t[1]){const e=t[1].eips;for(const t of e){if(!(t in s.EIPs))throw new Error(`${t} not supported`);this._mergeWithParamsCache(s.EIPs[t])}}else this._mergeWithParamsCache(t[1]);if(t[0]===e)break}for(const e of this._eips){if(!(e in s.EIPs))throw new Error(`${e} not supported`);this._mergeWithParamsCache(s.EIPs[e])}}_buildActivatedEIPsCache(){this._activatedEIPsCache=[];for(const e of this.HARDFORK_CHANGES){const t=e[1];this.gteHardfork(t.name)&&"eips"in t&&(this._activatedEIPsCache=this._activatedEIPsCache.concat(t.eips))}this._activatedEIPsCache=this._activatedEIPsCache.concat(this._eips)}param(e,t){let r=null;return this._paramsCache[e]!==undefined&&this._paramsCache[e][t]!==undefined&&(r=this._paramsCache[e][t].v),BigInt(r??0)}paramByHardfork(e,t,r){let n=null;for(const i of this.HARDFORK_CHANGES){if("eips"in i[1]){const r=i[1].eips;for(const i of r){const r=this.paramByEIP(e,t,i);n="bigint"==typeof r?r:n}}else i[1][e]!==undefined&&i[1][e][t]!==undefined&&(n=i[1][e][t].v);if(i[0]===r)break}return BigInt(n??0)}paramByEIP(e,t,r){if(!(r in s.EIPs))throw new Error(`${r} not supported`);const n=s.EIPs[r];if(!(e in n))return undefined;if(n[e][t]===undefined)return undefined;const i=n[e][t].v;return BigInt(i)}paramByBlock(e,t,r,n,i){const o=this.getHardforkBy({blockNumber:r,td:n,timestamp:i});return this.paramByHardfork(e,t,o)}isActivatedEIP(e){return!!this._activatedEIPsCache.includes(e)}hardforkIsActiveOnBlock(e,t){t=(0,n.toType)(t,n.TypeOutput.BigInt),e=e??this._hardfork;const r=this.hardforkBlock(e);return"bigint"==typeof r&&r!==n.BIGINT_0&&t>=r}activeOnBlock(e){return this.hardforkIsActiveOnBlock(null,e)}hardforkGteHardfork(e,t){e=e??this._hardfork;const r=this.hardforks();let n=-1,i=-1,o=0;for(const a of r)a.name===e&&(n=o),a.name===t&&(i=o),o+=1;return n>=i&&-1!==i}gteHardfork(e){return this.hardforkGteHardfork(null,e)}hardforkBlock(e){e=e??this._hardfork;const t=this._getHardfork(e)?.block;return t===undefined||null===t?null:BigInt(t)}hardforkTimestamp(e){e=e??this._hardfork;const t=this._getHardfork(e)?.timestamp;return t===undefined||null===t?null:BigInt(t)}eipBlock(e){for(const t of this.HARDFORK_CHANGES){const r=t[1];if("eips"in r&&r.eips.includes(e))return this.hardforkBlock(t[0])}return null}eipTimestamp(e){for(const t of this.HARDFORK_CHANGES){const r=t[1];if("eips"in r&&r.eips.includes(e))return this.hardforkTimestamp(t[0])}return null}hardforkTTD(e){e=e??this._hardfork;const t=this._getHardfork(e)?.ttd;return t===undefined||null===t?null:BigInt(t)}nextHardforkBlockOrTimestamp(e){e=e??this._hardfork;const t=this.hardforks();let r=t.findIndex(t=>t.name===e);if(e===u.Hardfork.Paris&&(r-=1),r<0)return null;let n=t[r].timestamp??t[r].block;n=null!==n&&n!==undefined?Number(n):null;const i=t.slice(r+1).find(e=>{let t=e.timestamp??e.block;return t=null!==t&&t!==undefined?Number(t):null,e.name!==u.Hardfork.Paris&&null!==t&&t!==undefined&&t!==n});if(i===undefined)return null;const o=i.timestamp??i.block;return null===o||o===undefined?null:BigInt(o)}_calcForkHash(e,t){let r=new Uint8Array(0),i=0;for(const t of this.hardforks()){const{block:o,timestamp:a,name:s}=t;let l=a??o;if(l=null!==l?Number(l):null,"number"==typeof l&&0!==l&&l!==i&&s!==u.Hardfork.Paris){const e=(0,n.hexToBytes)(`0x${l.toString(16).padStart(16,"0")}`);r=(0,n.concatBytes)(r,e),i=l}if(t.name===e)break}const o=(0,n.concatBytes)(t,r);return(0,n.bytesToHex)((0,n.intToBytes)((0,a.crc32)(o)>>>0))}forkHash(e,t){e=e??this._hardfork;const r=this._getHardfork(e);if(null===r||null===r?.block&&r?.timestamp===undefined&&r?.ttd===undefined){throw new Error("No fork hash calculation possible for future hardfork")}if(null!==r?.forkHash&&r?.forkHash!==undefined)return r.forkHash;if(!t)throw new Error("genesisHash required for forkHash calculation");return this._calcForkHash(e,t)}hardforkForForkHash(e){const t=this.hardforks().filter(t=>t.forkHash===e);return t.length>=1?t[t.length-1]:null}setForkHashes(e){for(const t of this.hardforks()){const r=t.timestamp??t.block;null!==t.forkHash&&t.forkHash!==undefined||(null===r||r===undefined)&&void 0===t.ttd||(t.forkHash=this.forkHash(t.name,e))}}genesis(){return this._chainParams.genesis}hardforks(){const e=this._chainParams.hardforks;return this._chainParams.customHardforks!==undefined&&this._chainParams.customHardforks,e}bootstrapNodes(){return this._chainParams.bootstrapNodes}dnsNetworks(){return this._chainParams.dnsNetworks}hardfork(){return this._hardfork}chainId(){return BigInt(this._chainParams.chainId)}chainName(){return this._chainParams.name}networkId(){return BigInt(this._chainParams.networkId)}eips(){return this._eips}consensusType(){const e=this.hardfork();let t;for(const r of this.HARDFORK_CHANGES)if("consensus"in r[1]&&(t=r[1].consensus.type),r[0]===e)break;return t??this._chainParams.consensus.type}consensusAlgorithm(){const e=this.hardfork();let t;for(const r of this.HARDFORK_CHANGES)if("consensus"in r[1]&&(t=r[1].consensus.algorithm),r[0]===e)break;return t??this._chainParams.consensus.algorithm}consensusConfig(){const e=this.hardfork();let t;for(const r of this.HARDFORK_CHANGES){if("consensus"in r[1]){const e=r[1],n=e.consensus.algorithm;t=e.consensus[n]}if(r[0]===e)break}return t??this._chainParams.consensus[this.consensusAlgorithm()]??{}}copy(){const e=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return e.events=new i.EventEmitter,e}static getInitializedChains(e){const t={};for(const[e,r]of Object.entries(u.Chain))t[r]=e.toLowerCase();const r={...o.chains};if(e)for(const n of e){const{name:e}=n;t[n.chainId.toString()]=e,r[e]=n}return r.names=t,r}}r.Common=f}}},{package:"@ethereumjs/tx>@ethereumjs/common",file:"node_modules/@ethereumjs/common/dist/cjs/common.js"}],[7740,{"./exhaustAll":7741},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.exhaust=void 0;var n=e("./exhaustAll");r.exhaust=n.exhaustAll}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/exhaust.js"}],[7741,{"../util/identity":7868,"./exhaustMap":7742},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.exhaustAll=void 0;var n=e("./exhaustMap"),i=e("../util/identity");r.exhaustAll=function(){return n.exhaustMap(i.identity)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/exhaustAll.js"}],[7742,{"../observable/innerFrom":7694,"../util/lift":7879,"./OperatorSubscriber":7708,"./map":7755},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.exhaustMap=void 0;var n=e("./map"),i=e("../observable/innerFrom"),o=e("../util/lift"),a=e("./OperatorSubscriber");r.exhaustMap=function e(t,r){return r?function(o){return o.pipe(e(function(e,o){return i.innerFrom(t(e,o)).pipe(n.map(function(t,n){return r(e,t,o,n)}))}))}:o.operate(function(e,r){var n=0,o=null,s=!1;e.subscribe(a.createOperatorSubscriber(r,function(e){o||(o=a.createOperatorSubscriber(r,undefined,function(){o=null,s&&r.complete()}),i.innerFrom(t(e,n++)).subscribe(o))},function(){s=!0,!o&&r.complete()}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/exhaustMap.js"}],[7743,{"../util/lift":7879,"./mergeInternals":7761},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.expand=void 0;var n=e("../util/lift"),i=e("./mergeInternals");r.expand=function(e,t,r){return void 0===t&&(t=Infinity),t=(t||0)<1?Infinity:t,n.operate(function(n,o){return i.mergeInternals(n,o,e,t,undefined,!0,r)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/expand.js"}],[7744,{"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.filter=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber");r.filter=function(e,t){return n.operate(function(r,n){var o=0;r.subscribe(i.createOperatorSubscriber(n,function(r){return e.call(t,r,o++)&&n.next(r)}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/filter.js"}],[7745,{"../util/lift":7879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.finalize=void 0;var n=e("../util/lift");r.finalize=function(e){return n.operate(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/finalize.js"}],[7746,{"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createFind=r.find=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber");function o(e,t,r){var n="index"===r;return function(r,o){var a=0;r.subscribe(i.createOperatorSubscriber(o,function(i){var s=a++;e.call(t,i,s,r)&&(o.next(n?s:i),o.complete())},function(){o.next(n?-1:undefined),o.complete()}))}}r.find=function(e,t){return n.operate(o(e,t,"value"))},r.createFind=o}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/find.js"}],[7747,{"../util/lift":7879,"./find":7746},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.findIndex=void 0;var n=e("../util/lift"),i=e("./find");r.findIndex=function(e,t){return n.operate(i.createFind(e,t,"index"))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/findIndex.js"}],[7748,{"../util/EmptyError":7854,"../util/identity":7868,"./defaultIfEmpty":7730,"./filter":7744,"./take":7801,"./throwIfEmpty":7808},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.first=void 0;var n=e("../util/EmptyError"),i=e("./filter"),o=e("./take"),a=e("./defaultIfEmpty"),s=e("./throwIfEmpty"),u=e("../util/identity");r.first=function(e,t){var r=arguments.length>=2;return function(l){return l.pipe(e?i.filter(function(t,r){return e(t,r,l)}):u.identity,o.take(1),r?a.defaultIfEmpty(t):s.throwIfEmpty(function(){return new n.EmptyError}))}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/first.js"}],[7749,{"./mergeMap":7762},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.flatMap=void 0;var n=e("./mergeMap");r.flatMap=n.mergeMap}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/flatMap.js"}],[775,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.crc32=void 0;let n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];"undefined"!=typeof Int32Array&&(n=new Int32Array(n));r.crc32=(e,t)=>((e,t)=>{let r=0===t?0:-1^t;for(let t=0;t<e.length;t++)r=n[255&(r^e[t])]^r>>>8;return-1^r})(e,t)>>>0}}},{package:"@ethereumjs/tx>@ethereumjs/common",file:"node_modules/@ethereumjs/common/dist/cjs/crc.js"}],[7750,{"../Observable":7668,"../Subject":7671,"../observable/innerFrom":7694,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.groupBy=void 0;var n=e("../Observable"),i=e("../observable/innerFrom"),o=e("../Subject"),a=e("../util/lift"),s=e("./OperatorSubscriber");r.groupBy=function(e,t,r,u){return a.operate(function(a,l){var c;t&&"function"!=typeof t?(r=t.duration,c=t.element,u=t.connector):c=t;var f=new Map,d=function(e){f.forEach(e),e(l)},h=function(e){return d(function(t){return t.error(e)})},p=0,b=!1,m=new s.OperatorSubscriber(l,function(t){try{var a=e(t),d=f.get(a);if(!d){f.set(a,d=u?u():new o.Subject);var g=(v=a,w=d,(_=new n.Observable(function(e){p++;var t=w.subscribe(e);return function(){t.unsubscribe(),0===--p&&b&&m.unsubscribe()}})).key=v,_);if(l.next(g),r){var y=s.createOperatorSubscriber(d,function(){d.complete(),null==y||y.unsubscribe()},undefined,undefined,function(){return f.delete(a)});m.add(i.innerFrom(r(g)).subscribe(y))}}d.next(c?c(t):t)}catch(e){h(e)}var v,w,_},function(){return d(function(e){return e.complete()})},h,function(){return f.clear()},function(){return b=!0,0===p});a.subscribe(m)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/groupBy.js"}],[7751,{"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ignoreElements=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber"),o=e("../util/noop");r.ignoreElements=function(){return n.operate(function(e,t){e.subscribe(i.createOperatorSubscriber(t,o.noop))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/ignoreElements.js"}],[7752,{"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isEmpty=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber");r.isEmpty=function(){return n.operate(function(e,t){e.subscribe(i.createOperatorSubscriber(t,function(){t.next(!1),t.complete()},function(){t.next(!0),t.complete()}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/isEmpty.js"}],[7753,{"../util/identity":7868,"../util/mapOneOrManyArgs":7880,"../util/pipe":7883,"./mergeMap":7762,"./toArray":7813},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.joinAllInternals=void 0;var n=e("../util/identity"),i=e("../util/mapOneOrManyArgs"),o=e("../util/pipe"),a=e("./mergeMap"),s=e("./toArray");r.joinAllInternals=function(e,t){return o.pipe(s.toArray(),a.mergeMap(function(t){return e(t)}),t?i.mapOneOrManyArgs(t):n.identity)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/joinAllInternals.js"}],[7754,{"../util/EmptyError":7854,"../util/identity":7868,"./defaultIfEmpty":7730,"./filter":7744,"./takeLast":7802,"./throwIfEmpty":7808},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.last=void 0;var n=e("../util/EmptyError"),i=e("./filter"),o=e("./takeLast"),a=e("./throwIfEmpty"),s=e("./defaultIfEmpty"),u=e("../util/identity");r.last=function(e,t){var r=arguments.length>=2;return function(l){return l.pipe(e?i.filter(function(t,r){return e(t,r,l)}):u.identity,o.takeLast(1),r?s.defaultIfEmpty(t):a.throwIfEmpty(function(){return new n.EmptyError}))}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/last.js"}],[7755,{"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.map=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber");r.map=function(e,t){return n.operate(function(r,n){var o=0;r.subscribe(i.createOperatorSubscriber(n,function(r){n.next(e.call(t,r,o++))}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/map.js"}],[7756,{"./map":7755},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mapTo=void 0;var n=e("./map");r.mapTo=function(e){return n.map(function(){return e})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/mapTo.js"}],[7757,{"../Notification":7666,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.materialize=void 0;var n=e("../Notification"),i=e("../util/lift"),o=e("./OperatorSubscriber");r.materialize=function(){return i.operate(function(e,t){e.subscribe(o.createOperatorSubscriber(t,function(e){t.next(n.Notification.createNext(e))},function(){t.next(n.Notification.createComplete()),t.complete()},function(e){t.next(n.Notification.createError(e)),t.complete()}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/materialize.js"}],[7758,{"../util/isFunction":7872,"./reduce":7777},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.max=void 0;var n=e("./reduce"),i=e("../util/isFunction");r.max=function(e){return n.reduce(i.isFunction(e)?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/max.js"}],[7759,{"../observable/from":7688,"../util/args":7860,"../util/lift":7879,"./mergeAll":7760},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.merge=void 0;var o=e("../util/lift"),a=e("./mergeAll"),s=e("../util/args"),u=e("../observable/from");r.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=s.popScheduler(e),l=s.popNumber(e,Infinity);return o.operate(function(t,o){a.mergeAll(l)(u.from(i([t],n(e)),r)).subscribe(o)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/merge.js"}],[776,{"./enums.js":777},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EIPs=void 0;const n=e("./enums.js");var i;!function(e){e.Stagnant="stagnant",e.Draft="draft",e.Review="review",e.Final="final"}(i||(i={})),r.EIPs={1153:{comment:"Transient storage opcodes",url:"https://eips.ethereum.org/EIPS/eip-1153",status:i.Review,minimumHardfork:n.Hardfork.Chainstart,requiredEIPs:[],gasPrices:{tstore:{v:100,d:"Base fee of the TSTORE opcode"},tload:{v:100,d:"Base fee of the TLOAD opcode"}}},1559:{comment:"Fee market change for ETH 1.0 chain",url:"https://eips.ethereum.org/EIPS/eip-1559",status:i.Final,minimumHardfork:n.Hardfork.Berlin,requiredEIPs:[2930],gasConfig:{baseFeeMaxChangeDenominator:{v:8,d:"Maximum base fee change denominator"},elasticityMultiplier:{v:2,d:"Maximum block gas target elasticity"},initialBaseFee:{v:1e9,d:"Initial base fee on first EIP1559 block"}}},2565:{comment:"ModExp gas cost",url:"https://eips.ethereum.org/EIPS/eip-2565",status:i.Final,minimumHardfork:n.Hardfork.Byzantium,requiredEIPs:[],gasPrices:{modexpGquaddivisor:{v:3,d:"Gquaddivisor from modexp precompile for gas calculation"}}},2537:{comment:"BLS12-381 precompiles",url:"https://eips.ethereum.org/EIPS/eip-2537",status:"Draft",minimumHardfork:n.Hardfork.Chainstart,requiredEIPs:[],gasConfig:{},gasPrices:{Bls12381G1AddGas:{v:500,d:"Gas cost of a single BLS12-381 G1 addition precompile-call"},Bls12381G1MulGas:{v:12e3,d:"Gas cost of a single BLS12-381 G1 multiplication precompile-call"},Bls12381G2AddGas:{v:800,d:"Gas cost of a single BLS12-381 G2 addition precompile-call"},Bls12381G2MulGas:{v:45e3,d:"Gas cost of a single BLS12-381 G2 multiplication precompile-call"},Bls12381PairingBaseGas:{v:65e3,d:"Base gas cost of BLS12-381 pairing check"},Bls12381PairingPerPairGas:{v:43e3,d:"Per-pair gas cost of BLS12-381 pairing check"},Bls12381MapG1Gas:{v:5500,d:"Gas cost of BLS12-381 map field element to G1"},Bls12381MapG2Gas:{v:75e3,d:"Gas cost of BLS12-381 map field element to G2"}},vm:{},pow:{}},2718:{comment:"Typed Transaction Envelope",url:"https://eips.ethereum.org/EIPS/eip-2718",status:i.Final,minimumHardfork:n.Hardfork.Chainstart,requiredEIPs:[]},2929:{comment:"Gas cost increases for state access opcodes",url:"https://eips.ethereum.org/EIPS/eip-2929",status:i.Final,minimumHardfork:n.Hardfork.Chainstart,requiredEIPs:[],gasPrices:{coldsload:{v:2100,d:"Gas cost of the first read of storage from a given location (per transaction)"},coldaccountaccess:{v:2600,d:"Gas cost of the first read of a given address (per transaction)"},warmstorageread:{v:100,d:"Gas cost of reading storage locations which have already loaded 'cold'"},sstoreCleanGasEIP2200:{v:2900,d:"Once per SSTORE operation from clean non-zero to something else"},sstoreNoopGasEIP2200:{v:100,d:"Once per SSTORE operation if the value doesn't change"},sstoreDirtyGasEIP2200:{v:100,d:"Once per SSTORE operation if a dirty value is changed"},sstoreInitRefundEIP2200:{v:19900,d:"Once per SSTORE operation for resetting to the original zero value"},sstoreCleanRefundEIP2200:{v:4900,d:"Once per SSTORE operation for resetting to the original non-zero value"},call:{v:0,d:"Base fee of the CALL opcode"},callcode:{v:0,d:"Base fee of the CALLCODE opcode"},delegatecall:{v:0,d:"Base fee of the DELEGATECALL opcode"},staticcall:{v:0,d:"Base fee of the STATICCALL opcode"},balance:{v:0,d:"Base fee of the BALANCE opcode"},extcodesize:{v:0,d:"Base fee of the EXTCODESIZE opcode"},extcodecopy:{v:0,d:"Base fee of the EXTCODECOPY opcode"},extcodehash:{v:0,d:"Base fee of the EXTCODEHASH opcode"},sload:{v:0,d:"Base fee of the SLOAD opcode"},sstore:{v:0,d:"Base fee of the SSTORE opcode"}}},2930:{comment:"Optional access lists",url:"https://eips.ethereum.org/EIPS/eip-2930",status:i.Final,minimumHardfork:n.Hardfork.Istanbul,requiredEIPs:[2718,2929],gasPrices:{accessListStorageKeyCost:{v:1900,d:"Gas cost per storage key in an Access List transaction"},accessListAddressCost:{v:2400,d:"Gas cost per storage key in an Access List transaction"}}},2935:{comment:"Save historical block hashes in state (Verkle related usage, UNSTABLE)",url:"https://github.com/gballet/EIPs/pull/3/commits/2e9ac09a142b0d9fb4db0b8d4609f92e5d9990c5",status:i.Draft,minimumHardfork:n.Hardfork.Chainstart,requiredEIPs:[],vm:{historyStorageAddress:{v:BigInt("0x0aae40965e6800cd9b1f4b05ff21581047e3f91e"),d:"The address where the historical blockhashes are stored"},historyServeWindow:{v:BigInt(8192),d:"The amount of blocks to be served by the historical blockhash contract"}}},3074:{comment:"AUTH and AUTHCALL opcodes",url:"https://github.com/ethereum/EIPs/commit/eca4416ff3c025fcb6ec8cd4eac481e74e108481",status:i.Review,minimumHardfork:n.Hardfork.London,requiredEIPs:[],gasPrices:{auth:{v:3100,d:"Gas cost of the AUTH opcode"},authcall:{v:0,d:"Gas cost of the AUTHCALL opcode"},authcallValueTransfer:{v:6700,d:"Paid for CALL when the value transfer is non-zero"}}},3198:{comment:"BASEFEE opcode",url:"https://eips.ethereum.org/EIPS/eip-3198",status:i.Final,minimumHardfork:n.Hardfork.London,requiredEIPs:[],gasPrices:{basefee:{v:2,d:"Gas cost of the BASEFEE opcode"}}},3529:{comment:"Reduction in refunds",url:"https://eips.ethereum.org/EIPS/eip-3529",status:i.Final,minimumHardfork:n.Hardfork.Berlin,requiredEIPs:[2929],gasConfig:{maxRefundQuotient:{v:5,d:"Maximum refund quotient; max tx refund is min(tx.gasUsed/maxRefundQuotient, tx.gasRefund)"}},gasPrices:{selfdestructRefund:{v:0,d:"Refunded following a selfdestruct operation"},sstoreClearRefundEIP2200:{v:4800,d:"Once per SSTORE operation for clearing an originally existing storage slot"}}},3540:{comment:"EVM Object Format (EOF) v1",url:"https://eips.ethereum.org/EIPS/eip-3540",status:i.Review,minimumHardfork:n.Hardfork.London,requiredEIPs:[3541]},3541:{comment:"Reject new contracts starting with the 0xEF byte",url:"https://eips.ethereum.org/EIPS/eip-3541",status:i.Final,minimumHardfork:n.Hardfork.Berlin,requiredEIPs:[]},3554:{comment:"Difficulty Bomb Delay to December 1st 2021",url:"https://eips.ethereum.org/EIPS/eip-3554",status:i.Final,minimumHardfork:n.Hardfork.MuirGlacier,requiredEIPs:[],pow:{difficultyBombDelay:{v:95e5,d:"the amount of blocks to delay the difficulty bomb with"}}},3607:{comment:"Reject transactions from senders with deployed code",url:"https://eips.ethereum.org/EIPS/eip-3607",status:i.Final,minimumHardfork:n.Hardfork.Chainstart,requiredEIPs:[]},3651:{comment:"Warm COINBASE",url:"https://eips.ethereum.org/EIPS/eip-3651",status:i.Review,minimumHardfork:n.Hardfork.London,requiredEIPs:[2929]},3670:{comment:"EOF - Code Validation",url:"https://eips.ethereum.org/EIPS/eip-3670",status:"Review",minimumHardfork:n.Hardfork.London,requiredEIPs:[3540],gasConfig:{},gasPrices:{},vm:{},pow:{}},3675:{comment:"Upgrade consensus to Proof-of-Stake",url:"https://eips.ethereum.org/EIPS/eip-3675",status:i.Final,minimumHardfork:n.Hardfork.London,requiredEIPs:[]},3855:{comment:"PUSH0 instruction",url:"https://eips.ethereum.org/EIPS/eip-3855",status:i.Review,minimumHardfork:n.Hardfork.Chainstart,requiredEIPs:[],gasPrices:{push0:{v:2,d:"Base fee of the PUSH0 opcode"}}},3860:{comment:"Limit and meter initcode",url:"https://eips.ethereum.org/EIPS/eip-3860",status:i.Review,minimumHardfork:n.Hardfork.SpuriousDragon,requiredEIPs:[],gasPrices:{initCodeWordCost:{v:2,d:"Gas to pay for each word (32 bytes) of initcode when creating a contract"}},vm:{maxInitCodeSize:{v:49152,d:"Maximum length of initialization code when creating a contract"}}},4345:{comment:"Difficulty Bomb Delay to June 2022",url:"https://eips.ethereum.org/EIPS/eip-4345",status:i.Final,minimumHardfork:n.Hardfork.London,requiredEIPs:[],pow:{difficultyBombDelay:{v:107e5,d:"the amount of blocks to delay the difficulty bomb with"}}},4399:{comment:"Supplant DIFFICULTY opcode with PREVRANDAO",url:"https://eips.ethereum.org/EIPS/eip-4399",status:i.Review,minimumHardfork:n.Hardfork.London,requiredEIPs:[],gasPrices:{prevrandao:{v:2,d:"Base fee of the PREVRANDAO opcode (previously DIFFICULTY)"}}},4788:{comment:"Beacon block root in the EVM",url:"https://eips.ethereum.org/EIPS/eip-4788",status:i.Draft,minimumHardfork:n.Hardfork.Cancun,requiredEIPs:[],gasPrices:{},vm:{historicalRootsLength:{v:8191,d:"The modulo parameter of the beaconroot ring buffer in the beaconroot statefull precompile"}}},4844:{comment:"Shard Blob Transactions",url:"https://eips.ethereum.org/EIPS/eip-4844",status:i.Draft,minimumHardfork:n.Hardfork.Paris,requiredEIPs:[1559,2718,2930,4895],gasConfig:{blobGasPerBlob:{v:131072,d:"The base fee for blob gas per blob"},targetBlobGasPerBlock:{v:393216,d:"The target blob gas consumed per block"},maxblobGasPerBlock:{v:786432,d:"The max blob gas allowable per block"},blobGasPriceUpdateFraction:{v:3338477,d:"The denominator used in the exponential when calculating a blob gas price"}},gasPrices:{simpleGasPerBlob:{v:12e3,d:"The basic gas fee for each blob"},minBlobGasPrice:{v:1,d:"The minimum fee per blob gas"},kzgPointEvaluationGasPrecompilePrice:{v:5e4,d:"The fee associated with the point evaluation precompile"},blobhash:{v:3,d:"Base fee of the BLOBHASH opcode"}},sharding:{blobCommitmentVersionKzg:{v:1,d:"The number indicated a versioned hash is a KZG commitment"},fieldElementsPerBlob:{v:4096,d:"The number of field elements allowed per blob"}}},4895:{comment:"Beacon chain push withdrawals as operations",url:"https://eips.ethereum.org/EIPS/eip-4895",status:i.Review,minimumHardfork:n.Hardfork.Paris,requiredEIPs:[]},5133:{comment:"Delaying Difficulty Bomb to mid-September 2022",url:"https://eips.ethereum.org/EIPS/eip-5133",status:i.Draft,minimumHardfork:n.Hardfork.GrayGlacier,requiredEIPs:[],pow:{difficultyBombDelay:{v:114e5,d:"the amount of blocks to delay the difficulty bomb with"}}},5656:{comment:"MCOPY - Memory copying instruction",url:"https://eips.ethereum.org/EIPS/eip-5656",status:i.Draft,minimumHardfork:n.Hardfork.Shanghai,requiredEIPs:[],gasPrices:{mcopy:{v:3,d:"Base fee of the MCOPY opcode"}}},6110:{comment:"Supply validator deposits on chain",url:"https://eips.ethereum.org/EIPS/eip-6110",status:i.Draft,minimumHardfork:n.Hardfork.Cancun,requiredEIPs:[7685]},6780:{comment:"SELFDESTRUCT only in same transaction",url:"https://eips.ethereum.org/EIPS/eip-6780",status:i.Draft,minimumHardfork:n.Hardfork.London,requiredEIPs:[]},6800:{comment:"Ethereum state using a unified verkle tree (experimental)",url:"https://github.com/ethereum/EIPs/pull/6800",status:i.Draft,minimumHardfork:n.Hardfork.London,requiredEIPs:[],gasPrices:{create:{v:1e3,d:"Base fee of the CREATE opcode"},coldsload:{v:0,d:"Gas cost of the first read of storage from a given location (per transaction)"}},vm:{historyStorageAddress:{v:BigInt("0xfffffffffffffffffffffffffffffffffffffffe"),d:"The address where the historical blockhashes are stored"}}},7002:{comment:"Execution layer triggerable withdrawals (experimental)",url:"https://github.com/ethereum/EIPs/blob/3b5fcad6b35782f8aaeba7d4ac26004e8fbd720f/EIPS/eip-7002.md",status:i.Draft,minimumHardfork:n.Hardfork.Paris,requiredEIPs:[7685],vm:{withdrawalRequestType:{v:BigInt(1),d:"The withdrawal request type for EIP-7685"},excessWithdrawalsRequestStorageSlot:{v:BigInt(0),d:"The storage slot of the excess withdrawals"},withdrawalsRequestCountStorage:{v:BigInt(1),d:"The storage slot of the withdrawal request count"},withdrawalsRequestQueueHeadStorageSlot:{v:BigInt(2),d:"The storage slot of the withdrawal request head of the queue"},withdrawalsRequestTailHeadStorageSlot:{v:BigInt(3),d:"The storage slot of the withdrawal request tail of the queue"},withdrawalsRequestQueueStorageOffset:{v:BigInt(4),d:"The storage slot of the withdrawal request queue offset"},maxWithdrawalRequestsPerBlock:{v:BigInt(16),d:"The max withdrawal requests per block"},targetWithdrawalRequestsPerBlock:{v:BigInt(2),d:"The target withdrawal requests per block"},minWithdrawalRequestFee:{v:BigInt(1),d:"The minimum withdrawal request fee (in wei)"},withdrawalRequestFeeUpdateFraction:{v:BigInt(17),d:"The withdrawal request fee update fraction (used in the fake exponential)"},systemAddress:{v:BigInt("0xfffffffffffffffffffffffffffffffffffffffe"),d:"The system address to perform operations on the withdrawal requests predeploy address"},withdrawalRequestPredeployAddress:{v:BigInt("0x00A3ca265EBcb825B45F985A16CEFB49958cE017"),d:"Address of the validator excess address"}}},7251:{comment:"Execution layer triggered consolidations (experimental)",url:"https://eips.ethereum.org/EIPS/eip-7251",status:i.Draft,minimumHardfork:n.Hardfork.Paris,requiredEIPs:[7685],vm:{consolidationRequestType:{v:BigInt(2),d:"The withdrawal request type for EIP-7685"},systemAddress:{v:BigInt("0xfffffffffffffffffffffffffffffffffffffffe"),d:"The system address to perform operations on the consolidation requests predeploy address"},consolidationRequestPredeployAddress:{v:BigInt("0x00b42dbF2194e931E80326D950320f7d9Dbeac02"),d:"Address of the consolidations contract"}}},7516:{comment:"BLOBBASEFEE opcode",url:"https://eips.ethereum.org/EIPS/eip-7516",status:i.Draft,minimumHardfork:n.Hardfork.Paris,requiredEIPs:[4844],gasPrices:{blobbasefee:{v:2,d:"Gas cost of the BLOBBASEFEE opcode"}}},7685:{comment:"General purpose execution layer requests",url:"https://eips.ethereum.org/EIPS/eip-7685",status:i.Draft,minimumHardfork:n.Hardfork.Cancun,requiredEIPs:[3675],gasPrices:{}},7702:{comment:"Set EOA account code for one transaction",url:"https://github.com/ethereum/EIPs/blob/62419ca3f45375db00b04a368ea37c0bfb05386a/EIPS/eip-7702.md",status:i.Review,minimumHardfork:n.Hardfork.Cancun,requiredEIPs:[2718,2929,2930],gasPrices:{perAuthBaseCost:{v:2500,d:"Gas cost of each authority item"}}},7709:{comment:"Use historical block hashes saved in state for BLOCKHASH",url:"https://eips.ethereum.org/EIPS/eip-7709",status:i.Draft,minimumHardfork:n.Hardfork.Chainstart,requiredEIPs:[2935]}}}}},{package:"@ethereumjs/tx>@ethereumjs/common",file:"node_modules/@ethereumjs/common/dist/cjs/eips.js"}],[7760,{"../util/identity":7868,"./mergeMap":7762},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeAll=void 0;var n=e("./mergeMap"),i=e("../util/identity");r.mergeAll=function(e){return void 0===e&&(e=Infinity),n.mergeMap(i.identity,e)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/mergeAll.js"}],[7761,{"../observable/innerFrom":7694,"../util/executeSchedule":7867,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeInternals=void 0;var n=e("../observable/innerFrom"),i=e("../util/executeSchedule"),o=e("./OperatorSubscriber");r.mergeInternals=function(e,t,r,a,s,u,l,c){var f=[],d=0,h=0,p=!1,b=function(){!p||f.length||d||t.complete()},m=function(e){return d<a?g(e):f.push(e)},g=function(e){u&&t.next(e),d++;var c=!1;n.innerFrom(r(e,h++)).subscribe(o.createOperatorSubscriber(t,function(e){null==s||s(e),u?m(e):t.next(e)},function(){c=!0},undefined,function(){if(c)try{d--;for(var e=function(){var e=f.shift();l?i.executeSchedule(t,l,function(){return g(e)}):g(e)};f.length&&d<a;)e();b()}catch(e){t.error(e)}}))};return e.subscribe(o.createOperatorSubscriber(t,m,function(){p=!0,b()})),function(){null==c||c()}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js"}],[7762,{"../observable/innerFrom":7694,"../util/isFunction":7872,"../util/lift":7879,"./map":7755,"./mergeInternals":7761},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMap=void 0;var n=e("./map"),i=e("../observable/innerFrom"),o=e("../util/lift"),a=e("./mergeInternals"),s=e("../util/isFunction");r.mergeMap=function e(t,r,u){return void 0===u&&(u=Infinity),s.isFunction(r)?e(function(e,o){return n.map(function(t,n){return r(e,t,o,n)})(i.innerFrom(t(e,o)))},u):("number"==typeof r&&(u=r),o.operate(function(e,r){return a.mergeInternals(e,r,t,u)}))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js"}],[7763,{"../util/isFunction":7872,"./mergeMap":7762},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMapTo=void 0;var n=e("./mergeMap"),i=e("../util/isFunction");r.mergeMapTo=function(e,t,r){return void 0===r&&(r=Infinity),i.isFunction(t)?n.mergeMap(function(){return e},t,r):("number"==typeof t&&(r=t),n.mergeMap(function(){return e},r))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/mergeMapTo.js"}],[7764,{"../util/lift":7879,"./mergeInternals":7761},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeScan=void 0;var n=e("../util/lift"),i=e("./mergeInternals");r.mergeScan=function(e,t,r){return void 0===r&&(r=Infinity),n.operate(function(n,o){var a=t;return i.mergeInternals(n,o,function(t,r){return e(a,t,r)},r,function(e){a=e},!1,undefined,function(){return a=null})})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/mergeScan.js"}],[7765,{"./merge":7759},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.mergeWith=void 0;var o=e("./merge");r.mergeWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.merge.apply(void 0,i([],n(e)))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/mergeWith.js"}],[7766,{"../util/isFunction":7872,"./reduce":7777},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.min=void 0;var n=e("./reduce"),i=e("../util/isFunction");r.min=function(e){return n.reduce(i.isFunction(e)?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/min.js"}],[7767,{"../observable/ConnectableObservable":7677,"../util/isFunction":7872,"./connect":7726},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.multicast=void 0;var n=e("../observable/ConnectableObservable"),i=e("../util/isFunction"),o=e("./connect");r.multicast=function(e,t){var r=i.isFunction(e)?e:function(){return e};return i.isFunction(t)?o.connect(t,{connector:r}):function(e){return new n.ConnectableObservable(e,r)}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/multicast.js"}],[7768,{"../util/executeSchedule":7867,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.observeOn=void 0;var n=e("../util/executeSchedule"),i=e("../util/lift"),o=e("./OperatorSubscriber");r.observeOn=function(e,t){return void 0===t&&(t=0),i.operate(function(r,i){r.subscribe(o.createOperatorSubscriber(i,function(r){return n.executeSchedule(i,e,function(){return i.next(r)},t)},function(){return n.executeSchedule(i,e,function(){return i.complete()},t)},function(r){return n.executeSchedule(i,e,function(){return i.error(r)},t)}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/observeOn.js"}],[7769,{"../observable/onErrorResumeNext":7699,"../util/argsOrArgArray":7862},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.onErrorResumeNext=r.onErrorResumeNextWith=void 0;var o=e("../util/argsOrArgArray"),a=e("../observable/onErrorResumeNext");function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=o.argsOrArgArray(e);return function(e){return a.onErrorResumeNext.apply(void 0,i([e],n(r)))}}r.onErrorResumeNextWith=s,r.onErrorResumeNext=s}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/onErrorResumeNextWith.js"}],[777,{"@ethereumjs/util":817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CustomChain=r.ConsensusAlgorithm=r.ConsensusType=r.Hardfork=r.ChainGenesis=r.Chain=void 0;const n=e("@ethereumjs/util");var i;!function(e){e[e.Mainnet=1]="Mainnet",e[e.Goerli=5]="Goerli",e[e.Sepolia=11155111]="Sepolia",e[e.Holesky=17e3]="Holesky",e[e.Kaustinen6=69420]="Kaustinen6"}(i=r.Chain||(r.Chain={})),r.ChainGenesis={[i.Mainnet]:{name:"mainnet",blockNumber:n.BIGINT_0,stateRoot:(0,n.hexToBytes)("0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544")},[i.Goerli]:{name:"goerli",blockNumber:n.BIGINT_0,stateRoot:(0,n.hexToBytes)("0x5d6cded585e73c4e322c30c2f782a336316f17dd85a4863b9d838d2d4b8b3008")},[i.Sepolia]:{name:"sepolia",blockNumber:n.BIGINT_0,stateRoot:(0,n.hexToBytes)("0x5eb6e371a698b8d68f665192350ffcecbbbf322916f4b51bd79bb6887da3f494")},[i.Holesky]:{name:"holesky",blockNumber:n.BIGINT_0,stateRoot:(0,n.hexToBytes)("0x69d8c9d72f6fa4ad42d4702b433707212f90db395eb54dc20bc85de253788783")},[i.Kaustinen6]:{name:"kaustinen6",blockNumber:n.BIGINT_0,stateRoot:(0,n.hexToBytes)("0x1fbf85345a3cbba9a6d44f991b721e55620a22397c2a93ee8d5011136ac300ee")}},function(e){e.Chainstart="chainstart",e.Homestead="homestead",e.Dao="dao",e.TangerineWhistle="tangerineWhistle",e.SpuriousDragon="spuriousDragon",e.Byzantium="byzantium",e.Constantinople="constantinople",e.Petersburg="petersburg",e.Istanbul="istanbul",e.MuirGlacier="muirGlacier",e.Berlin="berlin",e.London="london",e.ArrowGlacier="arrowGlacier",e.GrayGlacier="grayGlacier",e.MergeForkIdTransition="mergeForkIdTransition",e.Paris="paris",e.Shanghai="shanghai",e.Cancun="cancun",e.Prague="prague",e.Osaka="osaka"}(r.Hardfork||(r.Hardfork={})),function(e){e.ProofOfStake="pos",e.ProofOfWork="pow",e.ProofOfAuthority="poa"}(r.ConsensusType||(r.ConsensusType={})),function(e){e.Ethash="ethash",e.Clique="clique",e.Casper="casper"}(r.ConsensusAlgorithm||(r.ConsensusAlgorithm={})),function(e){e.PolygonMainnet="polygon-mainnet",e.PolygonMumbai="polygon-mumbai",e.ArbitrumOne="arbitrum-one",e.xDaiChain="x-dai-chain",e.OptimisticKovan="optimistic-kovan",e.OptimisticEthereum="optimistic-ethereum"}(r.CustomChain||(r.CustomChain={}))}}},{package:"@ethereumjs/tx>@ethereumjs/common",file:"node_modules/@ethereumjs/common/dist/cjs/enums.js"}],[7770,{"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pairwise=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber");r.pairwise=function(){return n.operate(function(e,t){var r,n=!1;e.subscribe(i.createOperatorSubscriber(t,function(e){var i=r;r=e,n&&t.next([i,e]),n=!0}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/pairwise.js"}],[7771,{"./map":7755},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pluck=void 0;var n=e("./map");r.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.length;if(0===r)throw new Error("list of properties cannot be empty.");return n.map(function(t){for(var n=t,i=0;i<r;i++){var o=null==n?void 0:n[e[i]];if(void 0===o)return undefined;n=o}return n})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/pluck.js"}],[7772,{"../Subject":7671,"./connect":7726,"./multicast":7767},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.publish=void 0;var n=e("../Subject"),i=e("./multicast"),o=e("./connect");r.publish=function(e){return e?function(t){return o.connect(e)(t)}:function(e){return i.multicast(new n.Subject)(e)}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/publish.js"}],[7773,{"../BehaviorSubject":7665,"../observable/ConnectableObservable":7677},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.publishBehavior=void 0;var n=e("../BehaviorSubject"),i=e("../observable/ConnectableObservable");r.publishBehavior=function(e){return function(t){var r=new n.BehaviorSubject(e);return new i.ConnectableObservable(t,function(){return r})}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/publishBehavior.js"}],[7774,{"../AsyncSubject":7664,"../observable/ConnectableObservable":7677},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.publishLast=void 0;var n=e("../AsyncSubject"),i=e("../observable/ConnectableObservable");r.publishLast=function(){return function(e){var t=new n.AsyncSubject;return new i.ConnectableObservable(e,function(){return t})}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/publishLast.js"}],[7775,{"../ReplaySubject":7669,"../util/isFunction":7872,"./multicast":7767},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.publishReplay=void 0;var n=e("../ReplaySubject"),i=e("./multicast"),o=e("../util/isFunction");r.publishReplay=function(e,t,r,a){r&&!o.isFunction(r)&&(a=r);var s=o.isFunction(r)?r:undefined;return function(r){return i.multicast(new n.ReplaySubject(e,t,a),s)(r)}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/publishReplay.js"}],[7776,{"../observable/race":7702,"../util/identity":7868,"../util/lift":7879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.raceWith=void 0;var o=e("../observable/race"),a=e("../util/lift"),s=e("../util/identity");r.raceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?a.operate(function(t,r){o.raceInit(i([t],n(e)))(r)}):s.identity}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/raceWith.js"}],[7777,{"../util/lift":7879,"./scanInternals":7786},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.reduce=void 0;var n=e("./scanInternals"),i=e("../util/lift");r.reduce=function(e,t){return i.operate(n.scanInternals(e,t,arguments.length>=2,!1,!0))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/reduce.js"}],[7778,{"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.refCount=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber");r.refCount=function(){return n.operate(function(e,t){var r=null;e._refCount++;var n=i.createOperatorSubscriber(t,undefined,undefined,undefined,function(){if(!e||e._refCount<=0||0<--e._refCount)r=null;else{var n=e._connection,i=r;r=null,!n||i&&n!==i||n.unsubscribe(),t.unsubscribe()}});e.subscribe(n),n.closed||(r=e.connect())})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/refCount.js"}],[7779,{"../observable/empty":7686,"../observable/innerFrom":7694,"../observable/timer":7705,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.repeat=void 0;var n=e("../observable/empty"),i=e("../util/lift"),o=e("./OperatorSubscriber"),a=e("../observable/innerFrom"),s=e("../observable/timer");r.repeat=function(e){var t,r,u=Infinity;return null!=e&&("object"==typeof e?(t=e.count,u=void 0===t?Infinity:t,r=e.delay):u=e),u<=0?function(){return n.EMPTY}:i.operate(function(e,t){var n,i=0,l=function(){if(null==n||n.unsubscribe(),n=null,null!=r){var e="number"==typeof r?s.timer(r):a.innerFrom(r(i)),u=o.createOperatorSubscriber(t,function(){u.unsubscribe(),c()});e.subscribe(u)}else c()},c=function(){var r=!1;n=e.subscribe(o.createOperatorSubscriber(t,undefined,function(){++i<u?n?l():r=!0:t.complete()})),r&&l()};c()})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/repeat.js"}],[778,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),r.hardforks=r.Status=void 0,function(e){e.Draft="draft",e.Review="review",e.Final="final"}(n=r.Status||(r.Status={})),r.hardforks={chainstart:{name:"chainstart",comment:"Start of the Ethereum main chain",url:"",status:n.Final,gasConfig:{minGasLimit:{v:5e3,d:"Minimum the gas limit may ever be"},gasLimitBoundDivisor:{v:1024,d:"The bound divisor of the gas limit, used in update calculations"},maxRefundQuotient:{v:2,d:"Maximum refund quotient; max tx refund is min(tx.gasUsed/maxRefundQuotient, tx.gasRefund)"}},gasPrices:{base:{v:2,d:"Gas base cost, used e.g. for ChainID opcode (Istanbul)"},exp:{v:10,d:"Base fee of the EXP opcode"},expByte:{v:10,d:"Times ceil(log256(exponent)) for the EXP instruction"},keccak256:{v:30,d:"Base fee of the SHA3 opcode"},keccak256Word:{v:6,d:"Once per word of the SHA3 operation's data"},sload:{v:50,d:"Base fee of the SLOAD opcode"},sstoreSet:{v:2e4,d:"Once per SSTORE operation if the zeroness changes from zero"},sstoreReset:{v:5e3,d:"Once per SSTORE operation if the zeroness does not change from zero"},sstoreRefund:{v:15e3,d:"Once per SSTORE operation if the zeroness changes to zero"},jumpdest:{v:1,d:"Base fee of the JUMPDEST opcode"},log:{v:375,d:"Base fee of the LOG opcode"},logData:{v:8,d:"Per byte in a LOG* operation's data"},logTopic:{v:375,d:"Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas"},create:{v:32e3,d:"Base fee of the CREATE opcode"},call:{v:40,d:"Base fee of the CALL opcode"},callStipend:{v:2300,d:"Free gas given at beginning of call"},callValueTransfer:{v:9e3,d:"Paid for CALL when the value transfor is non-zero"},callNewAccount:{v:25e3,d:"Paid for CALL when the destination address didn't exist prior"},selfdestructRefund:{v:24e3,d:"Refunded following a selfdestruct operation"},memory:{v:3,d:"Times the address of the (highest referenced byte in memory + 1). NOTE: referencing happens on read, write and in instructions such as RETURN and CALL"},quadCoeffDiv:{v:512,d:"Divisor for the quadratic particle of the memory cost equation"},createData:{v:200,d:""},tx:{v:21e3,d:"Per transaction. NOTE: Not payable on data of calls between transactions"},txCreation:{v:32e3,d:"The cost of creating a contract via tx"},txDataZero:{v:4,d:"Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions"},txDataNonZero:{v:68,d:"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},copy:{v:3,d:"Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added"},ecRecover:{v:3e3,d:""},sha256:{v:60,d:""},sha256Word:{v:12,d:""},ripemd160:{v:600,d:""},ripemd160Word:{v:120,d:""},identity:{v:15,d:""},identityWord:{v:3,d:""},stop:{v:0,d:"Base fee of the STOP opcode"},add:{v:3,d:"Base fee of the ADD opcode"},mul:{v:5,d:"Base fee of the MUL opcode"},sub:{v:3,d:"Base fee of the SUB opcode"},div:{v:5,d:"Base fee of the DIV opcode"},sdiv:{v:5,d:"Base fee of the SDIV opcode"},mod:{v:5,d:"Base fee of the MOD opcode"},smod:{v:5,d:"Base fee of the SMOD opcode"},addmod:{v:8,d:"Base fee of the ADDMOD opcode"},mulmod:{v:8,d:"Base fee of the MULMOD opcode"},signextend:{v:5,d:"Base fee of the SIGNEXTEND opcode"},lt:{v:3,d:"Base fee of the LT opcode"},gt:{v:3,d:"Base fee of the GT opcode"},slt:{v:3,d:"Base fee of the SLT opcode"},sgt:{v:3,d:"Base fee of the SGT opcode"},eq:{v:3,d:"Base fee of the EQ opcode"},iszero:{v:3,d:"Base fee of the ISZERO opcode"},and:{v:3,d:"Base fee of the AND opcode"},or:{v:3,d:"Base fee of the OR opcode"},xor:{v:3,d:"Base fee of the XOR opcode"},not:{v:3,d:"Base fee of the NOT opcode"},byte:{v:3,d:"Base fee of the BYTE opcode"},address:{v:2,d:"Base fee of the ADDRESS opcode"},balance:{v:20,d:"Base fee of the BALANCE opcode"},origin:{v:2,d:"Base fee of the ORIGIN opcode"},caller:{v:2,d:"Base fee of the CALLER opcode"},callvalue:{v:2,d:"Base fee of the CALLVALUE opcode"},calldataload:{v:3,d:"Base fee of the CALLDATALOAD opcode"},calldatasize:{v:2,d:"Base fee of the CALLDATASIZE opcode"},calldatacopy:{v:3,d:"Base fee of the CALLDATACOPY opcode"},codesize:{v:2,d:"Base fee of the CODESIZE opcode"},codecopy:{v:3,d:"Base fee of the CODECOPY opcode"},gasprice:{v:2,d:"Base fee of the GASPRICE opcode"},extcodesize:{v:20,d:"Base fee of the EXTCODESIZE opcode"},extcodecopy:{v:20,d:"Base fee of the EXTCODECOPY opcode"},blockhash:{v:20,d:"Base fee of the BLOCKHASH opcode"},coinbase:{v:2,d:"Base fee of the COINBASE opcode"},timestamp:{v:2,d:"Base fee of the TIMESTAMP opcode"},number:{v:2,d:"Base fee of the NUMBER opcode"},difficulty:{v:2,d:"Base fee of the DIFFICULTY opcode"},gaslimit:{v:2,d:"Base fee of the GASLIMIT opcode"},pop:{v:2,d:"Base fee of the POP opcode"},mload:{v:3,d:"Base fee of the MLOAD opcode"},mstore:{v:3,d:"Base fee of the MSTORE opcode"},mstore8:{v:3,d:"Base fee of the MSTORE8 opcode"},sstore:{v:0,d:"Base fee of the SSTORE opcode"},jump:{v:8,d:"Base fee of the JUMP opcode"},jumpi:{v:10,d:"Base fee of the JUMPI opcode"},pc:{v:2,d:"Base fee of the PC opcode"},msize:{v:2,d:"Base fee of the MSIZE opcode"},gas:{v:2,d:"Base fee of the GAS opcode"},push:{v:3,d:"Base fee of the PUSH opcode"},dup:{v:3,d:"Base fee of the DUP opcode"},swap:{v:3,d:"Base fee of the SWAP opcode"},callcode:{v:40,d:"Base fee of the CALLCODE opcode"},return:{v:0,d:"Base fee of the RETURN opcode"},invalid:{v:0,d:"Base fee of the INVALID opcode"},selfdestruct:{v:0,d:"Base fee of the SELFDESTRUCT opcode"}},vm:{stackLimit:{v:1024,d:"Maximum size of VM stack allowed"},callCreateDepth:{v:1024,d:"Maximum depth of call/create stack"},maxExtraDataSize:{v:32,d:"Maximum size extra data may be after Genesis"}},pow:{minimumDifficulty:{v:131072,d:"The minimum that the difficulty may ever be"},difficultyBoundDivisor:{v:2048,d:"The bound divisor of the difficulty, used in the update calculations"},durationLimit:{v:13,d:"The decision boundary on the blocktime duration used to determine whether difficulty should go up or not"},epochDuration:{v:3e4,d:"Duration between proof-of-work epochs"},timebombPeriod:{v:1e5,d:"Exponential difficulty timebomb period"},minerReward:{v:BigInt("5000000000000000000"),d:"the amount a miner get rewarded for mining a block"},difficultyBombDelay:{v:0,d:"the amount of blocks to delay the difficulty bomb with"}}},homestead:{name:"homestead",comment:"Homestead hardfork with protocol and network changes",url:"https://eips.ethereum.org/EIPS/eip-606",status:n.Final,gasPrices:{delegatecall:{v:40,d:"Base fee of the DELEGATECALL opcode"}}},dao:{name:"dao",comment:"DAO rescue hardfork",url:"https://eips.ethereum.org/EIPS/eip-779",status:n.Final},tangerineWhistle:{name:"tangerineWhistle",comment:"Hardfork with gas cost changes for IO-heavy operations",url:"https://eips.ethereum.org/EIPS/eip-608",status:n.Final,gasPrices:{sload:{v:200,d:"Once per SLOAD operation"},call:{v:700,d:"Once per CALL operation & message call transaction"},extcodesize:{v:700,d:"Base fee of the EXTCODESIZE opcode"},extcodecopy:{v:700,d:"Base fee of the EXTCODECOPY opcode"},balance:{v:400,d:"Base fee of the BALANCE opcode"},delegatecall:{v:700,d:"Base fee of the DELEGATECALL opcode"},callcode:{v:700,d:"Base fee of the CALLCODE opcode"},selfdestruct:{v:5e3,d:"Base fee of the SELFDESTRUCT opcode"}}},spuriousDragon:{name:"spuriousDragon",comment:"HF with EIPs for simple replay attack protection, EXP cost increase, state trie clearing, contract code size limit",url:"https://eips.ethereum.org/EIPS/eip-607",status:n.Final,gasPrices:{expByte:{v:50,d:"Times ceil(log256(exponent)) for the EXP instruction"}},vm:{maxCodeSize:{v:24576,d:"Maximum length of contract code"}}},byzantium:{name:"byzantium",comment:"Hardfork with new precompiles, instructions and other protocol changes",url:"https://eips.ethereum.org/EIPS/eip-609",status:n.Final,gasPrices:{modexpGquaddivisor:{v:20,d:"Gquaddivisor from modexp precompile for gas calculation"},ecAdd:{v:500,d:"Gas costs for curve addition precompile"},ecMul:{v:4e4,d:"Gas costs for curve multiplication precompile"},ecPairing:{v:1e5,d:"Base gas costs for curve pairing precompile"},ecPairingWord:{v:8e4,d:"Gas costs regarding curve pairing precompile input length"},revert:{v:0,d:"Base fee of the REVERT opcode"},staticcall:{v:700,d:"Base fee of the STATICCALL opcode"},returndatasize:{v:2,d:"Base fee of the RETURNDATASIZE opcode"},returndatacopy:{v:3,d:"Base fee of the RETURNDATACOPY opcode"}},pow:{minerReward:{v:BigInt("3000000000000000000"),d:"the amount a miner get rewarded for mining a block"},difficultyBombDelay:{v:3e6,d:"the amount of blocks to delay the difficulty bomb with"}}},constantinople:{name:"constantinople",comment:"Postponed hardfork including EIP-1283 (SSTORE gas metering changes)",url:"https://eips.ethereum.org/EIPS/eip-1013",status:n.Final,gasPrices:{netSstoreNoopGas:{v:200,d:"Once per SSTORE operation if the value doesn't change"},netSstoreInitGas:{v:2e4,d:"Once per SSTORE operation from clean zero"},netSstoreCleanGas:{v:5e3,d:"Once per SSTORE operation from clean non-zero"},netSstoreDirtyGas:{v:200,d:"Once per SSTORE operation from dirty"},netSstoreClearRefund:{v:15e3,d:"Once per SSTORE operation for clearing an originally existing storage slot"},netSstoreResetRefund:{v:4800,d:"Once per SSTORE operation for resetting to the original non-zero value"},netSstoreResetClearRefund:{v:19800,d:"Once per SSTORE operation for resetting to the original zero value"},shl:{v:3,d:"Base fee of the SHL opcode"},shr:{v:3,d:"Base fee of the SHR opcode"},sar:{v:3,d:"Base fee of the SAR opcode"},extcodehash:{v:400,d:"Base fee of the EXTCODEHASH opcode"},create2:{v:32e3,d:"Base fee of the CREATE2 opcode"}},pow:{minerReward:{v:BigInt("2000000000000000000"),d:"The amount a miner gets rewarded for mining a block"},difficultyBombDelay:{v:5e6,d:"the amount of blocks to delay the difficulty bomb with"}}},petersburg:{name:"petersburg",comment:"Aka constantinopleFix, removes EIP-1283, activate together with or after constantinople",url:"https://eips.ethereum.org/EIPS/eip-1716",status:n.Final,gasPrices:{netSstoreNoopGas:{v:null,d:"Removed along EIP-1283"},netSstoreInitGas:{v:null,d:"Removed along EIP-1283"},netSstoreCleanGas:{v:null,d:"Removed along EIP-1283"},netSstoreDirtyGas:{v:null,d:"Removed along EIP-1283"},netSstoreClearRefund:{v:null,d:"Removed along EIP-1283"},netSstoreResetRefund:{v:null,d:"Removed along EIP-1283"},netSstoreResetClearRefund:{v:null,d:"Removed along EIP-1283"}}},istanbul:{name:"istanbul",comment:"HF targeted for December 2019 following the Constantinople/Petersburg HF",url:"https://eips.ethereum.org/EIPS/eip-1679",status:n.Final,gasConfig:{},gasPrices:{blake2Round:{v:1,d:"Gas cost per round for the Blake2 F precompile"},ecAdd:{v:150,d:"Gas costs for curve addition precompile"},ecMul:{v:6e3,d:"Gas costs for curve multiplication precompile"},ecPairing:{v:45e3,d:"Base gas costs for curve pairing precompile"},ecPairingWord:{v:34e3,d:"Gas costs regarding curve pairing precompile input length"},txDataNonZero:{v:16,d:"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},sstoreSentryGasEIP2200:{v:2300,d:"Minimum gas required to be present for an SSTORE call, not consumed"},sstoreNoopGasEIP2200:{v:800,d:"Once per SSTORE operation if the value doesn't change"},sstoreDirtyGasEIP2200:{v:800,d:"Once per SSTORE operation if a dirty value is changed"},sstoreInitGasEIP2200:{v:2e4,d:"Once per SSTORE operation from clean zero to non-zero"},sstoreInitRefundEIP2200:{v:19200,d:"Once per SSTORE operation for resetting to the original zero value"},sstoreCleanGasEIP2200:{v:5e3,d:"Once per SSTORE operation from clean non-zero to something else"},sstoreCleanRefundEIP2200:{v:4200,d:"Once per SSTORE operation for resetting to the original non-zero value"},sstoreClearRefundEIP2200:{v:15e3,d:"Once per SSTORE operation for clearing an originally existing storage slot"},balance:{v:700,d:"Base fee of the BALANCE opcode"},extcodehash:{v:700,d:"Base fee of the EXTCODEHASH opcode"},chainid:{v:2,d:"Base fee of the CHAINID opcode"},selfbalance:{v:5,d:"Base fee of the SELFBALANCE opcode"},sload:{v:800,d:"Base fee of the SLOAD opcode"}}},muirGlacier:{name:"muirGlacier",comment:"HF to delay the difficulty bomb",url:"https://eips.ethereum.org/EIPS/eip-2384",status:n.Final,pow:{difficultyBombDelay:{v:9e6,d:"the amount of blocks to delay the difficulty bomb with"}}},berlin:{name:"berlin",comment:"HF targeted for July 2020 following the Muir Glacier HF",url:"https://eips.ethereum.org/EIPS/eip-2070",status:n.Final,eips:[2565,2929,2718,2930]},london:{name:"london",comment:"HF targeted for July 2021 following the Berlin fork",url:"https://github.com/ethereum/eth1.0-specs/blob/master/network-upgrades/mainnet-upgrades/london.md",status:n.Final,eips:[1559,3198,3529,3541]},arrowGlacier:{name:"arrowGlacier",comment:"HF to delay the difficulty bomb",url:"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md",status:n.Final,eips:[4345]},grayGlacier:{name:"grayGlacier",comment:"Delaying the difficulty bomb to Mid September 2022",url:"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md",status:n.Final,eips:[5133]},paris:{name:"paris",comment:"Hardfork to upgrade the consensus mechanism to Proof-of-Stake",url:"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/merge.md",status:n.Final,consensus:{type:"pos",algorithm:"casper",casper:{}},eips:[3675,4399]},mergeForkIdTransition:{name:"mergeForkIdTransition",comment:"Pre-merge hardfork to fork off non-upgraded clients",url:"https://eips.ethereum.org/EIPS/eip-3675",status:n.Final,eips:[]},shanghai:{name:"shanghai",comment:"Next feature hardfork after the merge hardfork having withdrawals, warm coinbase, push0, limit/meter initcode",url:"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md",status:n.Final,eips:[3651,3855,3860,4895]},cancun:{name:"cancun",comment:"Next feature hardfork after shanghai, includes proto-danksharding EIP 4844 blobs (still WIP hence not for production use), transient storage opcodes, parent beacon block root availability in EVM, selfdestruct only in same transaction, and blob base fee opcode",url:"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md",status:n.Final,eips:[1153,4844,4788,5656,6780,7516]},prague:{name:"prague",comment:"Next feature hardfork after cancun, internally used for pectra testing/implementation (incomplete/experimental)",url:"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/prague.md",status:n.Draft,eips:[2537,2935,3074,6110,7002,7251,7685]},osaka:{name:"osaka",comment:"Next feature hardfork after prague, internally used for verkle testing/implementation (incomplete/experimental)",url:"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/osaka.md",status:n.Draft,eips:[2935,6800]}}}}},{package:"@ethereumjs/tx>@ethereumjs/common",file:"node_modules/@ethereumjs/common/dist/cjs/hardforks.js"}],[7780,{"../Subject":7671,"../observable/innerFrom":7694,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.repeatWhen=void 0;var n=e("../observable/innerFrom"),i=e("../Subject"),o=e("../util/lift"),a=e("./OperatorSubscriber");r.repeatWhen=function(e){return o.operate(function(t,r){var o,s,u=!1,l=!1,c=!1,f=function(){return c&&l&&(r.complete(),!0)},d=function(){c=!1,o=t.subscribe(a.createOperatorSubscriber(r,undefined,function(){c=!0,!f()&&(s||(s=new i.Subject,n.innerFrom(e(s)).subscribe(a.createOperatorSubscriber(r,function(){o?d():u=!0},function(){l=!0,f()}))),s).next()})),u&&(o.unsubscribe(),o=null,u=!1,d())};d()})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/repeatWhen.js"}],[7781,{"../observable/innerFrom":7694,"../observable/timer":7705,"../util/identity":7868,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.retry=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber"),o=e("../util/identity"),a=e("../observable/timer"),s=e("../observable/innerFrom");r.retry=function(e){var t;void 0===e&&(e=Infinity);var r=(t=e&&"object"==typeof e?e:{count:e}).count,u=void 0===r?Infinity:r,l=t.delay,c=t.resetOnSuccess,f=void 0!==c&&c;return u<=0?o.identity:n.operate(function(e,t){var r,n=0,o=function(){var c=!1;r=e.subscribe(i.createOperatorSubscriber(t,function(e){f&&(n=0),t.next(e)},undefined,function(e){if(n++<u){var f=function(){r?(r.unsubscribe(),r=null,o()):c=!0};if(null!=l){var d="number"==typeof l?a.timer(l):s.innerFrom(l(e,n)),h=i.createOperatorSubscriber(t,function(){h.unsubscribe(),f()},function(){t.complete()});d.subscribe(h)}else f()}else t.error(e)})),c&&(r.unsubscribe(),r=null,o())};o()})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/retry.js"}],[7782,{"../Subject":7671,"../observable/innerFrom":7694,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.retryWhen=void 0;var n=e("../observable/innerFrom"),i=e("../Subject"),o=e("../util/lift"),a=e("./OperatorSubscriber");r.retryWhen=function(e){return o.operate(function(t,r){var o,s,u=!1,l=function(){o=t.subscribe(a.createOperatorSubscriber(r,undefined,undefined,function(t){s||(s=new i.Subject,n.innerFrom(e(s)).subscribe(a.createOperatorSubscriber(r,function(){return o?l():u=!0}))),s&&s.next(t)})),u&&(o.unsubscribe(),o=null,u=!1,l())};l()})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/retryWhen.js"}],[7783,{"../observable/innerFrom":7694,"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sample=void 0;var n=e("../observable/innerFrom"),i=e("../util/lift"),o=e("../util/noop"),a=e("./OperatorSubscriber");r.sample=function(e){return i.operate(function(t,r){var i=!1,s=null;t.subscribe(a.createOperatorSubscriber(r,function(e){i=!0,s=e})),n.innerFrom(e).subscribe(a.createOperatorSubscriber(r,function(){if(i){i=!1;var e=s;s=null,r.next(e)}},o.noop))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/sample.js"}],[7784,{"../observable/interval":7695,"../scheduler/async":7843,"./sample":7783},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sampleTime=void 0;var n=e("../scheduler/async"),i=e("./sample"),o=e("../observable/interval");r.sampleTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),i.sample(o.interval(e,t))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/sampleTime.js"}],[7785,{"../util/lift":7879,"./scanInternals":7786},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.scan=void 0;var n=e("../util/lift"),i=e("./scanInternals");r.scan=function(e,t){return n.operate(i.scanInternals(e,t,arguments.length>=2,!0))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/scan.js"}],[7786,{"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.scanInternals=void 0;var n=e("./OperatorSubscriber");r.scanInternals=function(e,t,r,i,o){return function(a,s){var u=r,l=t,c=0;a.subscribe(n.createOperatorSubscriber(s,function(t){var r=c++;l=u?e(l,t,r):(u=!0,t),i&&s.next(l)},o&&function(){u&&s.next(l),s.complete()}))}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/scanInternals.js"}],[7787,{"../observable/innerFrom":7694,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sequenceEqual=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber"),o=e("../observable/innerFrom");r.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),n.operate(function(r,n){var a={buffer:[],complete:!1},s={buffer:[],complete:!1},u=function(e){n.next(e),n.complete()},l=function(e,r){var o=i.createOperatorSubscriber(n,function(n){var i=r.buffer,o=r.complete;0===i.length?o?u(!1):e.buffer.push(n):!t(n,i.shift())&&u(!1)},function(){e.complete=!0;var t=r.complete,n=r.buffer;t&&u(0===n.length),null==o||o.unsubscribe()});return o};r.subscribe(l(a,s)),o.innerFrom(e).subscribe(l(s,a))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/sequenceEqual.js"}],[7788,{"../Subject":7671,"../Subscriber":7672,"../observable/innerFrom":7694,"../util/lift":7879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.share=void 0;var o=e("../observable/innerFrom"),a=e("../Subject"),s=e("../Subscriber"),u=e("../util/lift");function l(e,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];if(!0!==t){if(!1!==t){var u=new s.SafeSubscriber({next:function(){u.unsubscribe(),e()}});return o.innerFrom(t.apply(void 0,i([],n(r)))).subscribe(u)}}else e()}r.share=function(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new a.Subject}:t,n=e.resetOnError,i=void 0===n||n,c=e.resetOnComplete,f=void 0===c||c,d=e.resetOnRefCountZero,h=void 0===d||d;return function(e){var t,n,a,c=0,d=!1,p=!1,b=function(){null==n||n.unsubscribe(),n=undefined},m=function(){b(),t=a=undefined,d=p=!1},g=function(){var e=t;m(),null==e||e.unsubscribe()};return u.operate(function(e,u){c++,p||d||b();var y=a=null!=a?a:r();u.add(function(){0!==--c||p||d||(n=l(g,h))}),y.subscribe(u),!t&&c>0&&(t=new s.SafeSubscriber({next:function(e){return y.next(e)},error:function(e){p=!0,b(),n=l(m,i,e),y.error(e)},complete:function(){d=!0,b(),n=l(m,f),y.complete()}}),o.innerFrom(e).subscribe(t))})(e)}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/share.js"}],[7789,{"../ReplaySubject":7669,"./share":7788},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.shareReplay=void 0;var n=e("../ReplaySubject"),i=e("./share");r.shareReplay=function(e,t,r){var o,a,s,u,l=!1;return e&&"object"==typeof e?(o=e.bufferSize,u=void 0===o?Infinity:o,a=e.windowTime,t=void 0===a?Infinity:a,l=void 0!==(s=e.refCount)&&s,r=e.scheduler):u=null!=e?e:Infinity,i.share({connector:function(){return new n.ReplaySubject(u,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:l})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/shareReplay.js"}],[779,{"./common.js":774,"./enums.js":777,"./interfaces.js":780,"./types.js":781,"./utils.js":782},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),i(e("./common.js"),r),i(e("./enums.js"),r),i(e("./interfaces.js"),r),i(e("./types.js"),r),i(e("./utils.js"),r)}}},{package:"@ethereumjs/tx>@ethereumjs/common",file:"node_modules/@ethereumjs/common/dist/cjs/index.js"}],[7790,{"../util/EmptyError":7854,"../util/NotFoundError":7856,"../util/SequenceError":7858,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.single=void 0;var n=e("../util/EmptyError"),i=e("../util/SequenceError"),o=e("../util/NotFoundError"),a=e("../util/lift"),s=e("./OperatorSubscriber");r.single=function(e){return a.operate(function(t,r){var a,u=!1,l=!1,c=0;t.subscribe(s.createOperatorSubscriber(r,function(n){l=!0,e&&!e(n,c++,t)||(u&&r.error(new i.SequenceError("Too many matching values")),u=!0,a=n)},function(){u?(r.next(a),r.complete()):r.error(l?new o.NotFoundError("No matching values"):new n.EmptyError)}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/single.js"}],[7791,{"./filter":7744},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.skip=void 0;var n=e("./filter");r.skip=function(e){return n.filter(function(t,r){return e<=r})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/skip.js"}],[7792,{"../util/identity":7868,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.skipLast=void 0;var n=e("../util/identity"),i=e("../util/lift"),o=e("./OperatorSubscriber");r.skipLast=function(e){return e<=0?n.identity:i.operate(function(t,r){var n=new Array(e),i=0;return t.subscribe(o.createOperatorSubscriber(r,function(t){var o=i++;if(o<e)n[o]=t;else{var a=o%e,s=n[a];n[a]=t,r.next(s)}})),function(){n=null}})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/skipLast.js"}],[7793,{"../observable/innerFrom":7694,"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.skipUntil=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber"),o=e("../observable/innerFrom"),a=e("../util/noop");r.skipUntil=function(e){return n.operate(function(t,r){var n=!1,s=i.createOperatorSubscriber(r,function(){null==s||s.unsubscribe(),n=!0},a.noop);o.innerFrom(e).subscribe(s),t.subscribe(i.createOperatorSubscriber(r,function(e){return n&&r.next(e)}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/skipUntil.js"}],[7794,{"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.skipWhile=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber");r.skipWhile=function(e){return n.operate(function(t,r){var n=!1,o=0;t.subscribe(i.createOperatorSubscriber(r,function(t){return(n||(n=!e(t,o++)))&&r.next(t)}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/skipWhile.js"}],[7795,{"../observable/concat":7682,"../util/args":7860,"../util/lift":7879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.startWith=void 0;var n=e("../observable/concat"),i=e("../util/args"),o=e("../util/lift");r.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.popScheduler(e);return o.operate(function(t,i){(r?n.concat(e,t,r):n.concat(e,t)).subscribe(i)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/startWith.js"}],[7796,{"../util/lift":7879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.subscribeOn=void 0;var n=e("../util/lift");r.subscribeOn=function(e,t){return void 0===t&&(t=0),n.operate(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/subscribeOn.js"}],[7797,{"../util/identity":7868,"./switchMap":7798},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.switchAll=void 0;var n=e("./switchMap"),i=e("../util/identity");r.switchAll=function(){return n.switchMap(i.identity)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/switchAll.js"}],[7798,{"../observable/innerFrom":7694,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.switchMap=void 0;var n=e("../observable/innerFrom"),i=e("../util/lift"),o=e("./OperatorSubscriber");r.switchMap=function(e,t){return i.operate(function(r,i){var a=null,s=0,u=!1,l=function(){return u&&!a&&i.complete()};r.subscribe(o.createOperatorSubscriber(i,function(r){null==a||a.unsubscribe();var u=0,c=s++;n.innerFrom(e(r,c)).subscribe(a=o.createOperatorSubscriber(i,function(e){return i.next(t?t(r,e,c,u++):e)},function(){a=null,l()}))},function(){u=!0,l()}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/switchMap.js"}],[7799,{"../util/isFunction":7872,"./switchMap":7798},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.switchMapTo=void 0;var n=e("./switchMap"),i=e("../util/isFunction");r.switchMapTo=function(e,t){return i.isFunction(t)?n.switchMap(function(){return e},t):n.switchMap(function(){return e})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/switchMapTo.js"}],[780,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0})}}},{package:"@ethereumjs/tx>@ethereumjs/common",file:"node_modules/@ethereumjs/common/dist/cjs/interfaces.js"}],[7800,{"../util/lift":7879,"./switchMap":7798},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.switchScan=void 0;var n=e("./switchMap"),i=e("../util/lift");r.switchScan=function(e,t){return i.operate(function(r,i){var o=t;return n.switchMap(function(t,r){return e(o,t,r)},function(e,t){return o=t,t})(r).subscribe(i),function(){o=null}})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/switchScan.js"}],[7801,{"../observable/empty":7686,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.take=void 0;var n=e("../observable/empty"),i=e("../util/lift"),o=e("./OperatorSubscriber");r.take=function(e){return e<=0?function(){return n.EMPTY}:i.operate(function(t,r){var n=0;t.subscribe(o.createOperatorSubscriber(r,function(t){++n<=e&&(r.next(t),e<=n&&r.complete())}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/take.js"}],[7802,{"../observable/empty":7686,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.takeLast=void 0;var i=e("../observable/empty"),o=e("../util/lift"),a=e("./OperatorSubscriber");r.takeLast=function(e){return e<=0?function(){return i.EMPTY}:o.operate(function(t,r){var i=[];t.subscribe(a.createOperatorSubscriber(r,function(t){i.push(t),e<i.length&&i.shift()},function(){var e,t;try{for(var o=n(i),a=o.next();!a.done;a=o.next()){var s=a.value;r.next(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}r.complete()},undefined,function(){i=null}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/takeLast.js"}],[7803,{"../observable/innerFrom":7694,"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.takeUntil=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber"),o=e("../observable/innerFrom"),a=e("../util/noop");r.takeUntil=function(e){return n.operate(function(t,r){o.innerFrom(e).subscribe(i.createOperatorSubscriber(r,function(){return r.complete()},a.noop)),!r.closed&&t.subscribe(r)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/takeUntil.js"}],[7804,{"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.takeWhile=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber");r.takeWhile=function(e,t){return void 0===t&&(t=!1),n.operate(function(r,n){var o=0;r.subscribe(i.createOperatorSubscriber(n,function(r){var i=e(r,o++);(i||t)&&n.next(r),!i&&n.complete()}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/takeWhile.js"}],[7805,{"../util/identity":7868,"../util/isFunction":7872,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.tap=void 0;var n=e("../util/isFunction"),i=e("../util/lift"),o=e("./OperatorSubscriber"),a=e("../util/identity");r.tap=function(e,t,r){var s=n.isFunction(e)||t||r?{next:e,error:t,complete:r}:e;return s?i.operate(function(e,t){var r;null===(r=s.subscribe)||void 0===r||r.call(s);var n=!0;e.subscribe(o.createOperatorSubscriber(t,function(e){var r;null===(r=s.next)||void 0===r||r.call(s,e),t.next(e)},function(){var e;n=!1,null===(e=s.complete)||void 0===e||e.call(s),t.complete()},function(e){var r;n=!1,null===(r=s.error)||void 0===r||r.call(s,e),t.error(e)},function(){var e,t;n&&(null===(e=s.unsubscribe)||void 0===e||e.call(s)),null===(t=s.finalize)||void 0===t||t.call(s)}))}):a.identity}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/tap.js"}],[7806,{"../observable/innerFrom":7694,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.throttle=void 0;var n=e("../util/lift"),i=e("./OperatorSubscriber"),o=e("../observable/innerFrom");r.throttle=function(e,t){return n.operate(function(r,n){var a=null!=t?t:{},s=a.leading,u=void 0===s||s,l=a.trailing,c=void 0!==l&&l,f=!1,d=null,h=null,p=!1,b=function(){null==h||h.unsubscribe(),h=null,c&&(y(),p&&n.complete())},m=function(){h=null,p&&n.complete()},g=function(t){return h=o.innerFrom(e(t)).subscribe(i.createOperatorSubscriber(n,b,m))},y=function(){if(f){f=!1;var e=d;d=null,n.next(e),!p&&g(e)}};r.subscribe(i.createOperatorSubscriber(n,function(e){f=!0,d=e,(!h||h.closed)&&(u?y():g(e))},function(){p=!0,(!(c&&f&&h)||h.closed)&&n.complete()}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/throttle.js"}],[7807,{"../observable/timer":7705,"../scheduler/async":7843,"./throttle":7806},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.throttleTime=void 0;var n=e("../scheduler/async"),i=e("./throttle"),o=e("../observable/timer");r.throttleTime=function(e,t,r){void 0===t&&(t=n.asyncScheduler);var a=o.timer(e,t);return i.throttle(function(){return a},r)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/throttleTime.js"}],[7808,{"../util/EmptyError":7854,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.throwIfEmpty=void 0;var n=e("../util/EmptyError"),i=e("../util/lift"),o=e("./OperatorSubscriber");function a(){return new n.EmptyError}r.throwIfEmpty=function(e){return void 0===e&&(e=a),i.operate(function(t,r){var n=!1;t.subscribe(o.createOperatorSubscriber(r,function(e){n=!0,r.next(e)},function(){return n?r.complete():r.error(e())}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/throwIfEmpty.js"}],[7809,{"../scheduler/async":7843,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TimeInterval=r.timeInterval=void 0;var n=e("../scheduler/async"),i=e("../util/lift"),o=e("./OperatorSubscriber");r.timeInterval=function(e){return void 0===e&&(e=n.asyncScheduler),i.operate(function(t,r){var n=e.now();t.subscribe(o.createOperatorSubscriber(r,function(t){var i=e.now(),o=i-n;n=i,r.next(new a(t,o))}))})};var a=function(e,t){this.value=e,this.interval=t};r.TimeInterval=a}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/timeInterval.js"}],[781,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0})}}},{package:"@ethereumjs/tx>@ethereumjs/common",file:"node_modules/@ethereumjs/common/dist/cjs/types.js"}],[7810,{"../observable/innerFrom":7694,"../scheduler/async":7843,"../util/createErrorClass":7864,"../util/executeSchedule":7867,"../util/isDate":7871,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.timeout=r.TimeoutError=void 0;var n=e("../scheduler/async"),i=e("../util/isDate"),o=e("../util/lift"),a=e("../observable/innerFrom"),s=e("../util/createErrorClass"),u=e("./OperatorSubscriber"),l=e("../util/executeSchedule");function c(e){throw new r.TimeoutError(e)}r.TimeoutError=s.createErrorClass(function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}}),r.timeout=function(e,t){var r=i.isValidDate(e)?{first:e}:"number"==typeof e?{each:e}:e,s=r.first,f=r.each,d=r.with,h=void 0===d?c:d,p=r.scheduler,b=void 0===p?null!=t?t:n.asyncScheduler:p,m=r.meta,g=void 0===m?null:m;if(null==s&&null==f)throw new TypeError("No timeout provided.");return o.operate(function(e,t){var r,n,i=null,o=0,c=function(e){n=l.executeSchedule(t,b,function(){try{r.unsubscribe(),a.innerFrom(h({meta:g,lastValue:i,seen:o})).subscribe(t)}catch(e){t.error(e)}},e)};r=e.subscribe(u.createOperatorSubscriber(t,function(e){null==n||n.unsubscribe(),o++,t.next(i=e),f>0&&c(f)},undefined,undefined,function(){(null==n?void 0:n.closed)||null==n||n.unsubscribe(),i=null})),!o&&c(null!=s?"number"==typeof s?s:+s-b.now():f)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/timeout.js"}],[7811,{"../scheduler/async":7843,"../util/isDate":7871,"./timeout":7810},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.timeoutWith=void 0;var n=e("../scheduler/async"),i=e("../util/isDate"),o=e("./timeout");r.timeoutWith=function(e,t,r){var a,s,u;if(r=null!=r?r:n.async,i.isValidDate(e)?a=e:"number"==typeof e&&(s=e),!t)throw new TypeError("No observable provided to switch to");if(u=function(){return t},null==a&&null==s)throw new TypeError("No timeout provided.");return o.timeout({first:a,each:s,scheduler:r,with:u})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/timeoutWith.js"}],[7812,{"../scheduler/dateTimestampProvider":7844,"./map":7755},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.timestamp=void 0;var n=e("../scheduler/dateTimestampProvider"),i=e("./map");r.timestamp=function(e){return void 0===e&&(e=n.dateTimestampProvider),i.map(function(t){return{value:t,timestamp:e.now()}})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/timestamp.js"}],[7813,{"../util/lift":7879,"./reduce":7777},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.toArray=void 0;var n=e("./reduce"),i=e("../util/lift"),o=function(e,t){return e.push(t),e};r.toArray=function(){return i.operate(function(e,t){n.reduce(o,[])(e).subscribe(t)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/toArray.js"}],[7814,{"../Subject":7671,"../observable/innerFrom":7694,"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.window=void 0;var n=e("../Subject"),i=e("../util/lift"),o=e("./OperatorSubscriber"),a=e("../util/noop"),s=e("../observable/innerFrom");r.window=function(e){return i.operate(function(t,r){var i=new n.Subject;r.next(i.asObservable());var u=function(e){i.error(e),r.error(e)};return t.subscribe(o.createOperatorSubscriber(r,function(e){return null==i?void 0:i.next(e)},function(){i.complete(),r.complete()},u)),s.innerFrom(e).subscribe(o.createOperatorSubscriber(r,function(){i.complete(),r.next(i=new n.Subject)},a.noop,u)),function(){null==i||i.unsubscribe(),i=null}})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/window.js"}],[7815,{"../Subject":7671,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.windowCount=void 0;var i=e("../Subject"),o=e("../util/lift"),a=e("./OperatorSubscriber");r.windowCount=function(e,t){void 0===t&&(t=0);var r=t>0?t:e;return o.operate(function(t,o){var s=[new i.Subject],u=0;o.next(s[0].asObservable()),t.subscribe(a.createOperatorSubscriber(o,function(t){var a,l;try{for(var c=n(s),f=c.next();!f.done;f=c.next()){f.value.next(t)}}catch(e){a={error:e}}finally{try{f&&!f.done&&(l=c.return)&&l.call(c)}finally{if(a)throw a.error}}var d=u-e+1;if(d>=0&&d%r===0&&s.shift().complete(),++u%r===0){var h=new i.Subject;s.push(h),o.next(h.asObservable())}},function(){for(;s.length>0;)s.shift().complete();o.complete()},function(e){for(;s.length>0;)s.shift().error(e);o.error(e)},function(){s=null}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/windowCount.js"}],[7816,{"../Subject":7671,"../Subscription":7673,"../scheduler/async":7843,"../util/args":7860,"../util/arrRemove":7863,"../util/executeSchedule":7867,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.windowTime=void 0;var n=e("../Subject"),i=e("../scheduler/async"),o=e("../Subscription"),a=e("../util/lift"),s=e("./OperatorSubscriber"),u=e("../util/arrRemove"),l=e("../util/args"),c=e("../util/executeSchedule");r.windowTime=function(e){for(var t,r,f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];var h=null!==(t=l.popScheduler(f))&&void 0!==t?t:i.asyncScheduler,p=null!==(r=f[0])&&void 0!==r?r:null,b=f[1]||Infinity;return a.operate(function(t,r){var i=[],a=!1,l=function(e){var t=e.window,r=e.subs;t.complete(),r.unsubscribe(),u.arrRemove(i,e),a&&f()},f=function(){if(i){var t=new o.Subscription;r.add(t);var a=new n.Subject,s={window:a,subs:t,seen:0};i.push(s),r.next(a.asObservable()),c.executeSchedule(t,h,function(){return l(s)},e)}};null!==p&&p>=0?c.executeSchedule(r,h,f,p,!0):a=!0,f();var d=function(e){return i.slice().forEach(e)},m=function(e){d(function(t){var r=t.window;return e(r)}),e(r),r.unsubscribe()};return t.subscribe(s.createOperatorSubscriber(r,function(e){d(function(t){t.window.next(e),b<=++t.seen&&l(t)})},function(){return m(function(e){return e.complete()})},function(e){return m(function(t){return t.error(e)})})),function(){i=null}})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/windowTime.js"}],[7817,{"../Subject":7671,"../Subscription":7673,"../observable/innerFrom":7694,"../util/arrRemove":7863,"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.windowToggle=void 0;var i=e("../Subject"),o=e("../Subscription"),a=e("../util/lift"),s=e("../observable/innerFrom"),u=e("./OperatorSubscriber"),l=e("../util/noop"),c=e("../util/arrRemove");r.windowToggle=function(e,t){return a.operate(function(r,a){var f=[],d=function(e){for(;0<f.length;)f.shift().error(e);a.error(e)};s.innerFrom(e).subscribe(u.createOperatorSubscriber(a,function(e){var r=new i.Subject;f.push(r);var n,h=new o.Subscription;try{n=s.innerFrom(t(e))}catch(e){return void d(e)}a.next(r.asObservable()),h.add(n.subscribe(u.createOperatorSubscriber(a,function(){c.arrRemove(f,r),r.complete(),h.unsubscribe()},l.noop,d)))},l.noop)),r.subscribe(u.createOperatorSubscriber(a,function(e){var t,r,i=f.slice();try{for(var o=n(i),a=o.next();!a.done;a=o.next()){a.value.next(e)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},function(){for(;0<f.length;)f.shift().complete();a.complete()},d,function(){for(;0<f.length;)f.shift().unsubscribe()}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/windowToggle.js"}],[7818,{"../Subject":7671,"../observable/innerFrom":7694,"../util/lift":7879,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.windowWhen=void 0;var n=e("../Subject"),i=e("../util/lift"),o=e("./OperatorSubscriber"),a=e("../observable/innerFrom");r.windowWhen=function(e){return i.operate(function(t,r){var i,s,u=function(e){i.error(e),r.error(e)},l=function(){var t;null==s||s.unsubscribe(),null==i||i.complete(),i=new n.Subject,r.next(i.asObservable());try{t=a.innerFrom(e())}catch(e){return void u(e)}t.subscribe(s=o.createOperatorSubscriber(r,l,l,u))};l(),t.subscribe(o.createOperatorSubscriber(r,function(e){return i.next(e)},function(){i.complete(),r.complete()},u,function(){null==s||s.unsubscribe(),i=null}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/windowWhen.js"}],[7819,{"../observable/innerFrom":7694,"../util/args":7860,"../util/identity":7868,"../util/lift":7879,"../util/noop":7881,"./OperatorSubscriber":7708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.withLatestFrom=void 0;var o=e("../util/lift"),a=e("./OperatorSubscriber"),s=e("../observable/innerFrom"),u=e("../util/identity"),l=e("../util/noop"),c=e("../util/args");r.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=c.popResultSelector(e);return o.operate(function(t,o){for(var c=e.length,f=new Array(c),d=e.map(function(){return!1}),h=!1,p=function(t){s.innerFrom(e[t]).subscribe(a.createOperatorSubscriber(o,function(e){f[t]=e,h||d[t]||(d[t]=!0,(h=d.every(u.identity))&&(d=null))},l.noop))},b=0;b<c;b++)p(b);t.subscribe(a.createOperatorSubscriber(o,function(e){if(h){var t=i([e],n(f));o.next(r?r.apply(void 0,i([],n(t))):t)}}))})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js"}],[782,{"./enums.js":777,"@ethereumjs/util":817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.parseGethGenesis=void 0;const n=e("@ethereumjs/util"),i=e("./enums.js");function o(e,t=!0){const{name:r,config:o,difficulty:a,mixHash:s,gasLimit:u,coinbase:l,baseFeePerGas:c,excessBlobGas:f,extraData:d,nonce:h,timestamp:p}=e,b=Number(p),{chainId:m,depositContractAddress:g}=o,y=""===d?"0x":d,v=(0,n.isHexString)(p)?p:(0,n.intToHex)(parseInt(p)),w=18!==h.length?function(e){return e&&"0x0"!==e?(0,n.isHexString)(e)?`0x${(0,n.stripHexPrefix)(e).padStart(16,"0")}`:`0x${e.padStart(16,"0")}`:"0x0000000000000000"}(h):h;if(o.eip155Block!==o.eip158Block)throw new Error("EIP155 block number must equal EIP 158 block number since both are part of SpuriousDragon hardfork and the client only supports activating the full hardfork");const _={name:r,chainId:m,networkId:m,depositContractAddress:g,genesis:{timestamp:v,gasLimit:u,difficulty:a,nonce:w,extraData:y,mixHash:s,coinbase:l,baseFeePerGas:c,excessBlobGas:f},hardfork:undefined,hardforks:[],bootstrapNodes:[],consensus:o.clique!==undefined?{type:"poa",algorithm:"clique",clique:{period:o.clique.period??o.clique.blockperiodseconds,epoch:o.clique.epoch??o.clique.epochlength}}:{type:"pow",algorithm:"ethash",ethash:{}}},E={[i.Hardfork.Homestead]:{name:"homesteadBlock"},[i.Hardfork.Dao]:{name:"daoForkBlock"},[i.Hardfork.TangerineWhistle]:{name:"eip150Block"},[i.Hardfork.SpuriousDragon]:{name:"eip155Block"},[i.Hardfork.Byzantium]:{name:"byzantiumBlock"},[i.Hardfork.Constantinople]:{name:"constantinopleBlock"},[i.Hardfork.Petersburg]:{name:"petersburgBlock"},[i.Hardfork.Istanbul]:{name:"istanbulBlock"},[i.Hardfork.MuirGlacier]:{name:"muirGlacierBlock"},[i.Hardfork.Berlin]:{name:"berlinBlock"},[i.Hardfork.London]:{name:"londonBlock"},[i.Hardfork.MergeForkIdTransition]:{name:"mergeForkBlock",postMerge:t},[i.Hardfork.Shanghai]:{name:"shanghaiTime",postMerge:!0,isTimestamp:!0},[i.Hardfork.Cancun]:{name:"cancunTime",postMerge:!0,isTimestamp:!0},[i.Hardfork.Prague]:{name:"pragueTime",postMerge:!0,isTimestamp:!0},[i.Hardfork.Osaka]:{name:"osakaTime",postMerge:!0,isTimestamp:!0}},j=Object.keys(E).reduce((e,t)=>(e[E[t].name]=t,e),{}),S=Object.keys(o).filter(e=>j[e]!==undefined&&o[e]!==undefined&&null!==o[e]);_.hardforks=S.map(e=>({name:j[e],block:!0===E[j[e]].isTimestamp||"number"!=typeof o[e]?null:o[e],timestamp:!0===E[j[e]].isTimestamp&&"number"==typeof o[e]?o[e]:undefined})).filter(e=>null!==e.block||e.timestamp!==undefined),_.hardforks.sort(function(e,t){return(e.block??Infinity)-(t.block??Infinity)}),_.hardforks.sort(function(e,t){return(e.timestamp??0)-(t.timestamp??0)});for(const e of _.hardforks)e.timestamp===b&&(e.timestamp=0);if(o.terminalTotalDifficulty!==undefined){const e={name:i.Hardfork.Paris,ttd:o.terminalTotalDifficulty,block:null},t=_.hardforks.findIndex(e=>!0===E[e.name]?.postMerge);-1!==t?_.hardforks.splice(t,0,e):_.hardforks.push(e)}const T=_.hardforks.length>0?_.hardforks.slice(-1)[0]:undefined;return _.hardfork=T?.name,_.hardforks.unshift({name:i.Hardfork.Chainstart,block:0}),_}r.parseGethGenesis=function(e,t,r){try{const n=["config","difficulty","gasLimit","nonce","alloc"];if(n.some(t=>!(t in e))){const t=n.filter(t=>!(t in e));throw new Error(`Invalid format, expected geth genesis field "${t}" missing`)}const i={...e};return t!==undefined&&(i.name=t),o(i,r)}catch(e){throw new Error(`Error parsing parameters file: ${e.message}`)}}}}},{package:"@ethereumjs/tx>@ethereumjs/common",file:"node_modules/@ethereumjs/common/dist/cjs/utils.js"}],[7820,{"../observable/zip":7707,"../util/lift":7879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.zip=void 0;var o=e("../observable/zip"),a=e("../util/lift");r.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.operate(function(t,r){o.zip.apply(void 0,i([t],n(e))).subscribe(r)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/zip.js"}],[7821,{"../observable/zip":7707,"./joinAllInternals":7753},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.zipAll=void 0;var n=e("../observable/zip"),i=e("./joinAllInternals");r.zipAll=function(e){return i.joinAllInternals(n.zip,e)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/zipAll.js"}],[7822,{"./zip":7820},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.zipWith=void 0;var o=e("./zip");r.zipWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.zip.apply(void 0,i([],n(e)))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/operators/zipWith.js"}],[7823,{"../Observable":7668},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleArray=void 0;var n=e("../Observable");r.scheduleArray=function(e,t){return new n.Observable(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduled/scheduleArray.js"}],[7824,{"../Observable":7668,"../util/executeSchedule":7867},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleAsyncIterable=void 0;var n=e("../Observable"),i=e("../util/executeSchedule");r.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new n.Observable(function(r){i.executeSchedule(r,t,function(){var n=e[Symbol.asyncIterator]();i.executeSchedule(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduled/scheduleAsyncIterable.js"}],[7825,{"../Observable":7668,"../symbol/iterator":7850,"../util/executeSchedule":7867,"../util/isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleIterable=void 0;var n=e("../Observable"),i=e("../symbol/iterator"),o=e("../util/isFunction"),a=e("../util/executeSchedule");r.scheduleIterable=function(e,t){return new n.Observable(function(r){var n;return a.executeSchedule(r,t,function(){n=e[i.iterator](),a.executeSchedule(r,t,function(){var e,t,i;try{t=(e=n.next()).value,i=e.done}catch(e){return void r.error(e)}i?r.complete():r.next(t)},0,!0)}),function(){return o.isFunction(null==n?void 0:n.return)&&n.return()}})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduled/scheduleIterable.js"}],[7826,{"../observable/innerFrom":7694,"../operators/observeOn":7768,"../operators/subscribeOn":7796},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleObservable=void 0;var n=e("../observable/innerFrom"),i=e("../operators/observeOn"),o=e("../operators/subscribeOn");r.scheduleObservable=function(e,t){return n.innerFrom(e).pipe(o.subscribeOn(t),i.observeOn(t))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduled/scheduleObservable.js"}],[7827,{"../observable/innerFrom":7694,"../operators/observeOn":7768,"../operators/subscribeOn":7796},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.schedulePromise=void 0;var n=e("../observable/innerFrom"),i=e("../operators/observeOn"),o=e("../operators/subscribeOn");r.schedulePromise=function(e,t){return n.innerFrom(e).pipe(o.subscribeOn(t),i.observeOn(t))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduled/schedulePromise.js"}],[7828,{"../util/isReadableStreamLike":7877,"./scheduleAsyncIterable":7824},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleReadableStreamLike=void 0;var n=e("./scheduleAsyncIterable"),i=e("../util/isReadableStreamLike");r.scheduleReadableStreamLike=function(e,t){return n.scheduleAsyncIterable(i.readableStreamLikeToAsyncGenerator(e),t)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduled/scheduleReadableStreamLike.js"}],[7829,{"../util/isArrayLike":7869,"../util/isAsyncIterable":7870,"../util/isInteropObservable":7873,"../util/isIterable":7874,"../util/isPromise":7876,"../util/isReadableStreamLike":7877,"../util/throwUnobservableError":7885,"./scheduleArray":7823,"./scheduleAsyncIterable":7824,"./scheduleIterable":7825,"./scheduleObservable":7826,"./schedulePromise":7827,"./scheduleReadableStreamLike":7828},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduled=void 0;var n=e("./scheduleObservable"),i=e("./schedulePromise"),o=e("./scheduleArray"),a=e("./scheduleIterable"),s=e("./scheduleAsyncIterable"),u=e("../util/isInteropObservable"),l=e("../util/isPromise"),c=e("../util/isArrayLike"),f=e("../util/isIterable"),d=e("../util/isAsyncIterable"),h=e("../util/throwUnobservableError"),p=e("../util/isReadableStreamLike"),b=e("./scheduleReadableStreamLike");r.scheduled=function(e,t){if(null!=e){if(u.isInteropObservable(e))return n.scheduleObservable(e,t);if(c.isArrayLike(e))return o.scheduleArray(e,t);if(l.isPromise(e))return i.schedulePromise(e,t);if(d.isAsyncIterable(e))return s.scheduleAsyncIterable(e,t);if(f.isIterable(e))return a.scheduleIterable(e,t);if(p.isReadableStreamLike(e))return b.scheduleReadableStreamLike(e,t)}throw h.createInvalidObservableTypeError(e)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js"}],[783,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){if(Array.isArray(e)){const t=[];let r=0;for(let i=0;i<e.length;i++){const o=n(e[i]);t.push(o),r+=o.length}return h(a(r,192),...t)}const t=g(e);return 1===t.length&&t[0]<128?t:h(a(t.length,128),t)}function i(e,t,r){if(r>e.length)throw new Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return e.slice(t,r)}function o(e){if(0===e[0])throw new Error("invalid RLP: extra zeros");return f(c(e))}function a(e,t){if(e<56)return Uint8Array.from([e+t]);const r=b(e),n=b(t+55+r.length/2);return Uint8Array.from(d(n+r))}function s(e,t=!1){if(null==e||0===e.length)return Uint8Array.from([]);const r=u(g(e));if(t)return{data:r.data,remainder:r.remainder.slice()};if(0!==r.remainder.length)throw new Error("invalid RLP: remainder must be zero");return r.data}function u(e){let t,r,n,a,s;const l=[],c=e[0];if(c<=127)return{data:e.slice(0,1),remainder:e.subarray(1)};if(c<=183){if(t=c-127,n=128===c?Uint8Array.from([]):i(e,1,t),2===t&&n[0]<128)throw new Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:n,remainder:e.subarray(t)}}if(c<=191){if(r=c-182,e.length-1<r)throw new Error("invalid RLP: not enough bytes for string length");if(t=o(i(e,1,r)),t<=55)throw new Error("invalid RLP: expected string length to be greater than 55");return n=i(e,r,t+r),{data:n,remainder:e.subarray(t+r)}}if(c<=247){for(t=c-191,a=i(e,1,t);a.length;)s=u(a),l.push(s.data),a=s.remainder;return{data:l,remainder:e.subarray(t)}}{if(r=c-246,t=o(i(e,1,r)),t<56)throw new Error("invalid RLP: encoded list too short");const n=r+t;if(n>e.length)throw new Error("invalid RLP: total length is larger than the data");for(a=i(e,r,n);a.length;)s=u(a),l.push(s.data),a=s.remainder;return{data:l,remainder:e.subarray(n)}}}Object.defineProperty(r,"__esModule",{value:!0}),r.RLP=r.utils=r.decode=r.encode=void 0,r.encode=n,r.decode=s;const l=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function c(e){let t="";for(let r=0;r<e.length;r++)t+=l[e[r]];return t}function f(e){const t=Number.parseInt(e,16);if(Number.isNaN(t))throw new Error("Invalid byte sequence");return t}function d(e){if("string"!=typeof e)throw new TypeError("hexToBytes: expected string, got "+typeof e);if(e.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const t=new Uint8Array(e.length/2);for(let r=0;r<t.length;r++){const n=2*r;t[r]=f(e.slice(n,n+2))}return t}function h(...e){if(1===e.length)return e[0];const t=e.reduce((e,t)=>e+t.length,0),r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){const i=e[t];r.set(i,n),n+=i.length}return r}function p(e){return(new TextEncoder).encode(e)}function b(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");const t=e.toString(16);return t.length%2?`0${t}`:t}function m(e){return e.length>=2&&"0"===e[0]&&"x"===e[1]}function g(e){if(e instanceof Uint8Array)return e;if("string"==typeof e)return m(e)?d((t="string"!=typeof(r=e)?r:m(r)?r.slice(2):r).length%2?`0${t}`:t):p(e);var t,r;if("number"==typeof e||"bigint"==typeof e)return e?d(b(e)):Uint8Array.from([]);if(null===e||e===undefined)return Uint8Array.from([]);throw new Error("toBytes: received unsupported type "+typeof e)}r.utils={bytesToHex:c,concatBytes:h,hexToBytes:d,utf8ToBytes:p},r.RLP={encode:n,decode:s}}}},{package:"@ethereumjs/tx>@ethereumjs/rlp",file:"node_modules/@ethereumjs/rlp/dist/cjs/index.js"}],[7830,{"../Subscription":7673},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.Action=void 0;var o=function(e){function t(t,r){return e.call(this)||this}return i(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(e("../Subscription").Subscription);r.Action=o}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/Action.js"}],[7831,{"./AsyncAction":7835,"./animationFrameProvider":7841},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AnimationFrameAction=void 0;var o=e("./AsyncAction"),a=e("./animationFrameProvider"),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return i(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=a.animationFrameProvider.requestAnimationFrame(function(){return t.flush(undefined)})))},t.prototype.recycleAsyncId=function(t,r,n){var i;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var o=t.actions;return null!=r&&r===t._scheduled&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==r&&(a.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=undefined),undefined},t}(o.AsyncAction);r.AnimationFrameAction=s}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameAction.js"}],[7832,{"./AsyncScheduler":7836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AnimationFrameScheduler=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.flush=function(e){var t;this._active=!0,e?t=e.id:(t=this._scheduled,this._scheduled=undefined);var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(e("./AsyncScheduler").AsyncScheduler);r.AnimationFrameScheduler=o}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameScheduler.js"}],[7833,{"./AsyncAction":7835,"./immediateProvider":7845},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsapAction=void 0;var o=e("./AsyncAction"),a=e("./immediateProvider"),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return i(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=a.immediateProvider.setImmediate(t.flush.bind(t,undefined))))},t.prototype.recycleAsyncId=function(t,r,n){var i;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var o=t.actions;return null!=r&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==r&&(a.immediateProvider.clearImmediate(r),t._scheduled===r&&(t._scheduled=undefined)),undefined},t}(o.AsyncAction);r.AsapAction=s}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/AsapAction.js"}],[7834,{"./AsyncScheduler":7836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsapScheduler=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=undefined;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(e("./AsyncScheduler").AsyncScheduler);r.AsapScheduler=o}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/AsapScheduler.js"}],[7835,{"../util/arrRemove":7863,"./Action":7830,"./intervalProvider":7846},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncAction=void 0;var o=e("./Action"),a=e("./intervalProvider"),s=e("../util/arrRemove"),u=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return i(t,e),t.prototype.schedule=function(e,t){var r;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),a.intervalProvider.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){return void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending?t:(null!=t&&a.intervalProvider.clearInterval(t),undefined)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,s.arrRemove(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(o.Action);r.AsyncAction=u}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js"}],[7836,{"../Scheduler":7670},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncScheduler=void 0;var o=e("../Scheduler"),a=function(e){function t(t,r){void 0===r&&(r=o.Scheduler.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return i(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(o.Scheduler);r.AsyncScheduler=a}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js"}],[7837,{"./AsyncAction":7835},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.QueueAction=void 0;var o=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return i(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.flush(this),0)},t}(e("./AsyncAction").AsyncAction);r.QueueAction=o}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/QueueAction.js"}],[7838,{"./AsyncScheduler":7836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.QueueScheduler=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(e("./AsyncScheduler").AsyncScheduler);r.QueueScheduler=o}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/QueueScheduler.js"}],[7839,{"../Subscription":7673,"./AsyncAction":7835,"./AsyncScheduler":7836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.VirtualAction=r.VirtualTimeScheduler=void 0;var o=e("./AsyncAction"),a=e("../Subscription"),s=function(e){function t(t,r){void 0===t&&(t=u),void 0===r&&(r=Infinity);var n=e.call(this,t,function(){return n.frame})||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return i(t,e),t.prototype.flush=function(){for(var e,t,r=this.actions,n=this.maxFrames;(t=r[0])&&t.delay<=n&&(r.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=r.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(e("./AsyncScheduler").AsyncScheduler);r.VirtualTimeScheduler=s;var u=function(e){function t(t,r,n){void 0===n&&(n=t.index+=1);var i=e.call(this,t,r)||this;return i.scheduler=t,i.work=r,i.index=n,i.active=!0,i.index=t.index=n,i}return i(t,e),t.prototype.schedule=function(r,n){if(void 0===n&&(n=0),Number.isFinite(n)){if(!this.id)return e.prototype.schedule.call(this,r,n);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(r,n)}return a.Subscription.EMPTY},t.prototype.requestAsyncId=function(e,r,n){void 0===n&&(n=0),this.delay=e.frame+n;var i=e.actions;return i.push(this),i.sort(t.sortActions),1},t.prototype.recycleAsyncId=function(e,t,r){return void 0===r&&(r=0),undefined},t.prototype._execute=function(t,r){if(!0===this.active)return e.prototype._execute.call(this,t,r)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(o.AsyncAction);r.VirtualAction=u}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/VirtualTimeScheduler.js"}],[784,{"./types.js":799,"./util.js":800,"@ethereumjs/common":779,"@ethereumjs/util":817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BaseTransaction=void 0;const n=e("@ethereumjs/common"),i=e("@ethereumjs/util"),o=e("./types.js"),a=e("./util.js");r.BaseTransaction=class{constructor(e,t){this.cache={hash:undefined,dataFee:undefined,senderPubKey:undefined},this.activeCapabilities=[],this.DEFAULT_CHAIN=n.Chain.Mainnet;const{nonce:r,gasLimit:o,to:s,value:u,data:l,v:c,r:f,s:d,type:h}=e;this._type=Number((0,i.bytesToBigInt)((0,i.toBytes)(h))),this.txOptions=t;const p=(0,i.toBytes)(""===s?"0x":s),b=(0,i.toBytes)(c),m=(0,i.toBytes)(f),g=(0,i.toBytes)(d);this.nonce=(0,i.bytesToBigInt)((0,i.toBytes)(r)),this.gasLimit=(0,i.bytesToBigInt)((0,i.toBytes)(o)),this.to=p.length>0?new i.Address(p):undefined,this.value=(0,i.bytesToBigInt)((0,i.toBytes)(u)),this.data=(0,i.toBytes)(""===l?"0x":l),this.v=b.length>0?(0,i.bytesToBigInt)(b):undefined,this.r=m.length>0?(0,i.bytesToBigInt)(m):undefined,this.s=g.length>0?(0,i.bytesToBigInt)(g):undefined,this._validateCannotExceedMaxInteger({value:this.value,r:this.r,s:this.s}),this._validateCannotExceedMaxInteger({gasLimit:this.gasLimit},64),this._validateCannotExceedMaxInteger({nonce:this.nonce},64,!0);const y=this.to===undefined||null===this.to,v=t.allowUnlimitedInitCodeSize??!1,w=t.common??this._getCommon();y&&w.isActivatedEIP(3860)&&!1===v&&(0,a.checkMaxInitCodeSize)(w,this.data.length)}get type(){return this._type}supports(e){return this.activeCapabilities.includes(e)}getValidationErrors(){const e=[];return this.isSigned()&&!this.verifySignature()&&e.push("Invalid Signature"),this.getBaseFee()>this.gasLimit&&e.push(`gasLimit is too low. given ${this.gasLimit}, need at least ${this.getBaseFee()}`),e}isValid(){return 0===this.getValidationErrors().length}getBaseFee(){const e=this.common.param("gasPrices","tx");let t=this.getDataFee();if(e&&(t+=e),this.common.gteHardfork("homestead")&&this.toCreationAddress()){const e=this.common.param("gasPrices","txCreation");e&&(t+=e)}return t}getDataFee(){const e=this.common.param("gasPrices","txDataZero"),t=this.common.param("gasPrices","txDataNonZero");let r=i.BIGINT_0;for(let n=0;n<this.data.length;n++)0===this.data[n]?r+=e:r+=t;if((this.to===undefined||null===this.to)&&this.common.isActivatedEIP(3860)){const e=BigInt(Math.ceil(this.data.length/32));r+=this.common.param("gasPrices","initCodeWordCost")*e}return r}toCreationAddress(){return this.to===undefined||0===this.to.bytes.length}isSigned(){const{v:e,r:t,s:r}=this;return e!==undefined&&t!==undefined&&r!==undefined}verifySignature(){try{const e=this.getSenderPublicKey();return 0!==(0,i.unpadBytes)(e).length}catch(e){return!1}}getSenderAddress(){return new i.Address((0,i.publicToAddress)(this.getSenderPublicKey()))}sign(e){if(32!==e.length){const e=this._errorMsg("Private key must be 32 bytes in length.");throw new Error(e)}let t=!1;this.type===o.TransactionType.Legacy&&this.common.gteHardfork("spuriousDragon")&&!this.supports(o.Capability.EIP155ReplayProtection)&&(this.activeCapabilities.push(o.Capability.EIP155ReplayProtection),t=!0);const r=this.getHashedMessageToSign(),n=this.common.customCrypto?.ecsign??i.ecsign,{v:a,r:s,s:u}=n(r,e),l=this.addSignature(a,s,u,!0);if(t){const e=this.activeCapabilities.indexOf(o.Capability.EIP155ReplayProtection);e>-1&&this.activeCapabilities.splice(e,1)}return l}toJSON(){return{type:(0,i.bigIntToHex)(BigInt(this.type)),nonce:(0,i.bigIntToHex)(this.nonce),gasLimit:(0,i.bigIntToHex)(this.gasLimit),to:this.to!==undefined?this.to.toString():undefined,value:(0,i.bigIntToHex)(this.value),data:(0,i.bytesToHex)(this.data),v:this.v!==undefined?(0,i.bigIntToHex)(this.v):undefined,r:this.r!==undefined?(0,i.bigIntToHex)(this.r):undefined,s:this.s!==undefined?(0,i.bigIntToHex)(this.s):undefined}}_getCommon(e,t){if(t!==undefined){const r=(0,i.bytesToBigInt)((0,i.toBytes)(t));if(e){if(e.chainId()!==r){const t=this._errorMsg(`The chain ID does not match the chain ID of Common. Got: ${r}, expected: ${e.chainId()}`);throw new Error(t)}return e.copy()}return n.Common.isSupportedChainId(r)?new n.Common({chain:r}):n.Common.custom({name:"custom-chain",networkId:r,chainId:r},{baseChain:this.DEFAULT_CHAIN})}return e?.copy()??new n.Common({chain:this.DEFAULT_CHAIN})}_validateCannotExceedMaxInteger(e,t=256,r=!1){for(const[n,o]of Object.entries(e))switch(t){case 64:if(r){if(o!==undefined&&o>=i.MAX_UINT64){const e=this._errorMsg(`${n} cannot equal or exceed MAX_UINT64 (2^64-1), given ${o}`);throw new Error(e)}}else if(o!==undefined&&o>i.MAX_UINT64){const e=this._errorMsg(`${n} cannot exceed MAX_UINT64 (2^64-1), given ${o}`);throw new Error(e)}break;case 256:if(r){if(o!==undefined&&o>=i.MAX_INTEGER){const e=this._errorMsg(`${n} cannot equal or exceed MAX_INTEGER (2^256-1), given ${o}`);throw new Error(e)}}else if(o!==undefined&&o>i.MAX_INTEGER){const e=this._errorMsg(`${n} cannot exceed MAX_INTEGER (2^256-1), given ${o}`);throw new Error(e)}break;default:{const e=this._errorMsg("unimplemented bits value");throw new Error(e)}}}static _validateNotArray(e){const t=["nonce","gasPrice","gasLimit","to","value","data","v","r","s","type","baseFee","maxFeePerGas","chainId"];for(const[r,n]of Object.entries(e))if(t.includes(r)&&Array.isArray(n))throw new Error(`${r} cannot be an array`)}_getSharedErrorPostfix(){let e="";try{e=this.isSigned()?(0,i.bytesToHex)(this.hash()):"not available (unsigned)"}catch(t){e="error"}let t="";try{t=this.isSigned().toString()}catch(t){e="error"}let r="";try{r=this.common.hardfork()}catch(e){r="error"}let n=`tx type=${this.type} hash=${e} nonce=${this.nonce} value=${this.value} `;return n+=`signed=${t} hf=${r}`,n}}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/baseTransaction.js"}],[7840,{"./AnimationFrameAction":7831,"./AnimationFrameScheduler":7832},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrame=r.animationFrameScheduler=void 0;var n=e("./AnimationFrameAction"),i=e("./AnimationFrameScheduler");r.animationFrameScheduler=new i.AnimationFrameScheduler(n.AnimationFrameAction),r.animationFrame=r.animationFrameScheduler}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/animationFrame.js"}],[7841,{"../Subscription":7673},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrameProvider=void 0;var o=e("../Subscription");r.animationFrameProvider={schedule:function(e){var t=requestAnimationFrame,n=cancelAnimationFrame,i=r.animationFrameProvider.delegate;i&&(t=i.requestAnimationFrame,n=i.cancelAnimationFrame);var a=t(function(t){n=undefined,e(t)});return new o.Subscription(function(){return null==n?void 0:n(a)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=r.animationFrameProvider.delegate;return((null==o?void 0:o.requestAnimationFrame)||requestAnimationFrame).apply(void 0,i([],n(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=r.animationFrameProvider.delegate;return((null==o?void 0:o.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,i([],n(e)))},delegate:undefined}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/animationFrameProvider.js"}],[7842,{"./AsapAction":7833,"./AsapScheduler":7834},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.asap=r.asapScheduler=void 0;var n=e("./AsapAction"),i=e("./AsapScheduler");r.asapScheduler=new i.AsapScheduler(n.AsapAction),r.asap=r.asapScheduler}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/asap.js"}],[7843,{"./AsyncAction":7835,"./AsyncScheduler":7836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.async=r.asyncScheduler=void 0;var n=e("./AsyncAction"),i=e("./AsyncScheduler");r.asyncScheduler=new i.AsyncScheduler(n.AsyncAction),r.async=r.asyncScheduler}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/async.js"}],[7844,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.dateTimestampProvider=void 0,r.dateTimestampProvider={now:function(){return(r.dateTimestampProvider.delegate||Date).now()},delegate:undefined}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/dateTimestampProvider.js"}],[7845,{"../util/Immediate":7855},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.immediateProvider=void 0;var o=e("../util/Immediate"),a=o.Immediate.setImmediate,s=o.Immediate.clearImmediate;r.immediateProvider={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=r.immediateProvider.delegate;return((null==o?void 0:o.setImmediate)||a).apply(void 0,i([],n(e)))},clearImmediate:function(e){var t=r.immediateProvider.delegate;return((null==t?void 0:t.clearImmediate)||s)(e)},delegate:undefined}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/immediateProvider.js"}],[7846,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.intervalProvider=void 0,r.intervalProvider={setInterval:function(e,t){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var s=r.intervalProvider.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,i([e,t],n(o))):setInterval.apply(void 0,i([e,t],n(o)))},clearInterval:function(e){var t=r.intervalProvider.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:undefined}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/intervalProvider.js"}],[7847,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.performanceTimestampProvider=void 0,r.performanceTimestampProvider={now:function(){return(r.performanceTimestampProvider.delegate||performance).now()},delegate:undefined}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/performanceTimestampProvider.js"}],[7848,{"./QueueAction":7837,"./QueueScheduler":7838},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.queue=r.queueScheduler=void 0;var n=e("./QueueAction"),i=e("./QueueScheduler");r.queueScheduler=new i.QueueScheduler(n.QueueAction),r.queue=r.queueScheduler}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/queue.js"}],[7849,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.timeoutProvider=void 0,r.timeoutProvider={setTimeout:function(e,t){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var s=r.timeoutProvider.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,i([e,t],n(o))):setTimeout.apply(void 0,i([e,t],n(o)))},clearTimeout:function(e){var t=r.timeoutProvider.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:undefined}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/scheduler/timeoutProvider.js"}],[785,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getEffectivePriorityFee=r.getUpfrontCost=void 0,r.getUpfrontCost=function(e,t){const r=e.maxPriorityFeePerGas,n=e.maxFeePerGas-t,i=(r<n?r:n)+t;return e.gasLimit*i+e.value},r.getEffectivePriorityFee=function(e,t){if(t===undefined||t>e.maxFeePerGas)throw new Error("Tx cannot pay baseFee");const r=e.maxFeePerGas-t;return e.maxPriorityFeePerGas<r?e.maxPriorityFeePerGas:r}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/capabilities/eip1559.js"}],[7850,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(r,"__esModule",{value:!0}),r.iterator=r.getSymbolIterator=void 0,r.getSymbolIterator=n,r.iterator=n()}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/symbol/iterator.js"}],[7851,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.observable=void 0,r.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/symbol/observable.js"}],[7852,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0})}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/types.js"}],[7853,{"./createErrorClass":7864},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ArgumentOutOfRangeError=void 0;var n=e("./createErrorClass");r.ArgumentOutOfRangeError=n.createErrorClass(function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/ArgumentOutOfRangeError.js"}],[7854,{"./createErrorClass":7864},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EmptyError=void 0;var n=e("./createErrorClass");r.EmptyError=n.createErrorClass(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/EmptyError.js"}],[7855,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TestTools=r.Immediate=void 0;var n,i=1,o={};function a(e){return e in o&&(delete o[e],!0)}r.Immediate={setImmediate:function(e){var t=i++;return o[t]=!0,n||(n=Promise.resolve()),n.then(function(){return a(t)&&e()}),t},clearImmediate:function(e){a(e)}},r.TestTools={pending:function(){return Object.keys(o).length}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/Immediate.js"}],[7856,{"./createErrorClass":7864},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.NotFoundError=void 0;var n=e("./createErrorClass");r.NotFoundError=n.createErrorClass(function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}})}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/NotFoundError.js"}],[7857,{"./createErrorClass":7864},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ObjectUnsubscribedError=void 0;var n=e("./createErrorClass");r.ObjectUnsubscribedError=n.createErrorClass(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/ObjectUnsubscribedError.js"}],[7858,{"./createErrorClass":7864},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SequenceError=void 0;var n=e("./createErrorClass");r.SequenceError=n.createErrorClass(function(e){return function(t){e(this),this.name="SequenceError",this.message=t}})}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/SequenceError.js"}],[7859,{"./createErrorClass":7864},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.UnsubscriptionError=void 0;var n=e("./createErrorClass");r.UnsubscriptionError=n.createErrorClass(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}})}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/UnsubscriptionError.js"}],[786,{"../util.js":800,"./legacy.js":789,"@ethereumjs/rlp":783,"@ethereumjs/util":817,"ethereum-cryptography/keccak.js":806},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.validateYParity=r.serialize=r.getHashedMessageToSign=void 0;const n=e("@ethereumjs/rlp"),i=e("@ethereumjs/util"),o=e("ethereum-cryptography/keccak.js"),a=e("../util.js"),s=e("./legacy.js");r.getHashedMessageToSign=function(e){return(e.common.customCrypto.keccak256??o.keccak256)(e.getMessageToSign())},r.serialize=function(e,t){return(0,i.concatBytes)((0,a.txTypeBytes)(e.type),n.RLP.encode(t??e.raw()))},r.validateYParity=function(e){const{v:t}=e;if(t!==undefined&&t!==i.BIGINT_0&&t!==i.BIGINT_1){const t=(0,s.errorMsg)(e,"The y-parity of the transaction should either be 0 or 1");throw new Error(t)}}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/capabilities/eip2718.js"}],[7860,{"./isFunction":7872,"./isScheduler":7878},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.popNumber=r.popScheduler=r.popResultSelector=void 0;var n=e("./isFunction"),i=e("./isScheduler");function o(e){return e[e.length-1]}r.popResultSelector=function(e){return n.isFunction(o(e))?e.pop():undefined},r.popScheduler=function(e){return i.isScheduler(o(e))?e.pop():undefined},r.popNumber=function(e,t){return"number"==typeof o(e)?e.pop():t}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/args.js"}],[7861,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.argsArgArrayOrObject=void 0;var n=Array.isArray,i=Object.getPrototypeOf,o=Object.prototype,a=Object.keys;r.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(n(t))return{args:t,keys:null};if((s=t)&&"object"==typeof s&&i(s)===o){var r=a(t);return{args:r.map(function(e){return t[e]}),keys:r}}}var s;return{args:e,keys:null}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/argsArgArrayOrObject.js"}],[7862,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.argsOrArgArray=void 0;var n=Array.isArray;r.argsOrArgArray=function(e){return 1===e.length&&n(e[0])?e[0]:e}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/argsOrArgArray.js"}],[7863,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.arrRemove=void 0,r.arrRemove=function(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/arrRemove.js"}],[7864,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createErrorClass=void 0,r.createErrorClass=function(e){var t=e(function(e){Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/createErrorClass.js"}],[7865,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createObject=void 0,r.createObject=function(e,t){return e.reduce(function(e,r,n){return e[r]=t[n],e},{})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/createObject.js"}],[7866,{"../config":7674},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.captureError=r.errorContext=void 0;var n=e("../config"),i=null;r.errorContext=function(e){if(n.config.useDeprecatedSynchronousErrorHandling){var t=!i;if(t&&(i={errorThrown:!1,error:null}),e(),t){var r=i,o=r.errorThrown,a=r.error;if(i=null,o)throw a}}else e()},r.captureError=function(e){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=e)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/errorContext.js"}],[7867,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.executeSchedule=void 0,r.executeSchedule=function(e,t,r,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=t.schedule(function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(o),!i)return o}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js"}],[7868,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.identity=void 0,r.identity=function(e){return e}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/identity.js"}],[7869,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isArrayLike=void 0,r.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/isArrayLike.js"}],[787,{"../util.js":800,"./legacy.js":789},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getDataFee=void 0;const n=e("../util.js"),i=e("./legacy.js");r.getDataFee=function(e){return i.getDataFee(e,BigInt(n.AccessLists.getDataFeeEIP2930(e.accessList,e.common)))}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/capabilities/eip2930.js"}],[7870,{"./isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isAsyncIterable=void 0;var n=e("./isFunction");r.isAsyncIterable=function(e){return Symbol.asyncIterator&&n.isFunction(null==e?void 0:e[Symbol.asyncIterator])}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/isAsyncIterable.js"}],[7871,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isValidDate=void 0,r.isValidDate=function(e){return e instanceof Date&&!isNaN(e)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/isDate.js"}],[7872,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isFunction=void 0,r.isFunction=function(e){return"function"==typeof e}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/isFunction.js"}],[7873,{"../symbol/observable":7851,"./isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isInteropObservable=void 0;var n=e("../symbol/observable"),i=e("./isFunction");r.isInteropObservable=function(e){return i.isFunction(e[n.observable])}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/isInteropObservable.js"}],[7874,{"../symbol/iterator":7850,"./isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isIterable=void 0;var n=e("../symbol/iterator"),i=e("./isFunction");r.isIterable=function(e){return i.isFunction(null==e?void 0:e[n.iterator])}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/isIterable.js"}],[7875,{"../Observable":7668,"./isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isObservable=void 0;var n=e("../Observable"),i=e("./isFunction");r.isObservable=function(e){return!!e&&(e instanceof n.Observable||i.isFunction(e.lift)&&i.isFunction(e.subscribe))}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/isObservable.js"}],[7876,{"./isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isPromise=void 0;var n=e("./isFunction");r.isPromise=function(e){return n.isFunction(null==e?void 0:e.then)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/isPromise.js"}],[7877,{"./isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},i=this&&this.__await||function(e){return this instanceof i?(this.v=e,this):new i(e)},o=this&&this.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),a=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){o[e]&&(n[e]=function(t){return new Promise(function(r,n){a.push([e,t,r,n])>1||u(e,t)})})}function u(e,t){try{(r=o[e](t)).value instanceof i?Promise.resolve(r.value.v).then(l,c):f(a[0][2],r)}catch(e){f(a[0][3],e)}var r}function l(e){u("next",e)}function c(e){u("throw",e)}function f(e,t){e(t),a.shift(),a.length&&u(a[0][0],a[0][1])}};Object.defineProperty(r,"__esModule",{value:!0}),r.isReadableStreamLike=r.readableStreamLikeToAsyncGenerator=void 0;var a=e("./isFunction");r.readableStreamLikeToAsyncGenerator=function(e){return o(this,arguments,function(){var t,r,o;return n(this,function(n){switch(n.label){case 0:t=e.getReader(),n.label=1;case 1:n.trys.push([1,,9,10]),n.label=2;case 2:return[4,i(t.read())];case 3:return r=n.sent(),o=r.value,r.done?[4,i(void 0)]:[3,5];case 4:return[2,n.sent()];case 5:return[4,i(o)];case 6:return[4,n.sent()];case 7:return n.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})},r.isReadableStreamLike=function(e){return a.isFunction(null==e?void 0:e.getReader)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/isReadableStreamLike.js"}],[7878,{"./isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isScheduler=void 0;var n=e("./isFunction");r.isScheduler=function(e){return e&&n.isFunction(e.schedule)}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/isScheduler.js"}],[7879,{"./isFunction":7872},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.operate=r.hasLift=void 0;var n=e("./isFunction");function i(e){return n.isFunction(null==e?void 0:e.lift)}r.hasLift=i,r.operate=function(e){return function(t){if(i(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/lift.js"}],[788,{"../util.js":800,"./legacy.js":789},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getDataFee=void 0;const n=e("../util.js"),i=e("./legacy.js");r.getDataFee=function(e){const t=BigInt(n.AccessLists.getDataFeeEIP2930(e.accessList,e.common)),r=BigInt(e.authorizationList.length*Number(e.common.param("gasPrices","perAuthBaseCost")));return i.getDataFee(e,t+r)}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/capabilities/eip7702.js"}],[7880,{"../operators/map":7755},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(r,"__esModule",{value:!0}),r.mapOneOrManyArgs=void 0;var o=e("../operators/map"),a=Array.isArray;r.mapOneOrManyArgs=function(e){return o.map(function(t){return function(e,t){return a(t)?e.apply(void 0,i([],n(t))):e(t)}(e,t)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js"}],[7881,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.noop=void 0,r.noop=function(){}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/noop.js"}],[7882,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.not=void 0,r.not=function(e,t){return function(r,n){return!e.call(t,r,n)}}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/not.js"}],[7883,{"./identity":7868},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pipeFromArray=r.pipe=void 0;var n=e("./identity");function i(e){return 0===e.length?n.identity:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}r.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)},r.pipeFromArray=i}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/pipe.js"}],[7884,{"../config":7674,"../scheduler/timeoutProvider":7849},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.reportUnhandledError=void 0;var n=e("../config"),i=e("../scheduler/timeoutProvider");r.reportUnhandledError=function(e){i.timeoutProvider.setTimeout(function(){var t=n.config.onUnhandledError;if(!t)throw e;t(e)})}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/reportUnhandledError.js"}],[7885,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createInvalidObservableTypeError=void 0,r.createInvalidObservableTypeError=function(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}}}},{package:"wait-on>rxjs",file:"node_modules/rxjs/dist/cjs/internal/util/throwUnobservableError.js"}],[7886,{buffer:6221},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
var n=e("buffer"),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,r),r.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return t!==undefined?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}}}},{package:"mockttp>express>safe-buffer",file:"node_modules/safe-buffer/index.js"}],[7887,{"call-bound":6242,"es-errors/type":6430,"is-regex":6840},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("call-bound"),i=e("is-regex"),o=n("RegExp.prototype.exec"),a=e("es-errors/type");t.exports=function(e){if(!i(e))throw new a("`regex` must be a RegExp");return function(t){return null!==o(e,t)}}}}},{package:"string.prototype.matchall>es-abstract>safe-regex-test",file:"node_modules/safe-regex-test/index.js"}],[7888,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{hasOwnProperty:n}=Object.prototype,i=h();i.configure=h,i.stringify=i,i.default=i,r.stringify=i,r.configure=h,t.exports=i;const o=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function a(e){return e.length<5e3&&!o.test(e)?`"${e}"`:JSON.stringify(e)}function s(e,t){if(e.length>200||t)return e.sort(t);for(let t=1;t<e.length;t++){const r=e[t];let n=t;for(;0!==n&&e[n-1]>r;)e[n]=e[n-1],n--;e[n]=r}return e}const u=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function l(e){return u.call(e)!==undefined&&0!==e.length}function c(e,t,r){e.length<r&&(r=e.length);const n=","===t?"":" ";let i=`"0":${n}${e[0]}`;for(let o=1;o<r;o++)i+=`${t}"${o}":${n}${e[o]}`;return i}function f(e,t){let r;if(n.call(e,t)){if(r=e[t],"number"!=typeof r)throw new TypeError(`The "${t}" argument must be of type number`);if(!Number.isInteger(r))throw new TypeError(`The "${t}" argument must be an integer`);if(r<1)throw new RangeError(`The "${t}" argument must be >= 1`)}return r===undefined?Infinity:r}function d(e){return 1===e?"1 item":`${e} items`}function h(e){const t=function(e){if(n.call(e,"strict")){const t=e.strict;if("boolean"!=typeof t)throw new TypeError('The "strict" argument must be of type boolean');if(t)return e=>{let t="Object can not safely be stringified. Received type "+typeof e;throw"function"!=typeof e&&(t+=` (${e.toString()})`),new Error(t)}}}(e={...e});t&&(e.bigint===undefined&&(e.bigint=!1),"circularValue"in e||(e.circularValue=Error));const r=function(e){if(n.call(e,"circularValue")){const t=e.circularValue;if("string"==typeof t)return`"${t}"`;if(null==t)return t;if(t===Error||t===TypeError)return{toString(){throw new TypeError("Converting circular structure to JSON")}};throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined')}return'"[Circular]"'}(e),i=function(e,t){let r;if(n.call(e,t)&&(r=e[t],"boolean"!=typeof r))throw new TypeError(`The "${t}" argument must be of type boolean`);return r===undefined||r}(e,"bigint"),o=function(e){let t;if(n.call(e,"deterministic")&&(t=e.deterministic,"boolean"!=typeof t&&"function"!=typeof t))throw new TypeError('The "deterministic" argument must be of type boolean or comparator function');return t===undefined||t}(e),u="function"==typeof o?o:undefined,h=f(e,"maximumDepth"),p=f(e,"maximumBreadth");function b(e,n,c,f,m,g){let y=n[e];switch("object"==typeof y&&null!==y&&"function"==typeof y.toJSON&&(y=y.toJSON(e)),y=f.call(n,e,y),typeof y){case"string":return a(y);case"object":{if(null===y)return"null";if(-1!==c.indexOf(y))return r;let e="",t=",";const n=g;if(Array.isArray(y)){if(0===y.length)return"[]";if(h<c.length+1)return'"[Array]"';c.push(y),""!==m&&(e+=`\n${g+=m}`,t=`,\n${g}`);const r=Math.min(y.length,p);let i=0;for(;i<r-1;i++){const r=b(String(i),y,c,f,m,g);e+=r!==undefined?r:"null",e+=t}const o=b(String(i),y,c,f,m,g);if(e+=o!==undefined?o:"null",y.length-1>p){e+=`${t}"... ${d(y.length-p-1)} not stringified"`}return""!==m&&(e+=`\n${n}`),c.pop(),`[${e}]`}let i=Object.keys(y);const v=i.length;if(0===v)return"{}";if(h<c.length+1)return'"[Object]"';let w="",_="";""!==m&&(t=`,\n${g+=m}`,w=" ");const E=Math.min(v,p);o&&!l(y)&&(i=s(i,u)),c.push(y);for(let r=0;r<E;r++){const n=i[r],o=b(n,y,c,f,m,g);o!==undefined&&(e+=`${_}${a(n)}:${w}${o}`,_=t)}if(v>p){e+=`${_}"...":${w}"${d(v-p)} not stringified"`,_=t}return""!==m&&_.length>1&&(e=`\n${g}${e}\n${n}`),c.pop(),`{${e}}`}case"number":return isFinite(y)?String(y):t?t(y):"null";case"boolean":return!0===y?"true":"false";case"undefined":return undefined;case"bigint":if(i)return String(y);default:return t?t(y):undefined}}function m(e,n,o,s,u,l){switch("object"==typeof n&&null!==n&&"function"==typeof n.toJSON&&(n=n.toJSON(e)),typeof n){case"string":return a(n);case"object":{if(null===n)return"null";if(-1!==o.indexOf(n))return r;const e=l;let t="",i=",";if(Array.isArray(n)){if(0===n.length)return"[]";if(h<o.length+1)return'"[Array]"';o.push(n),""!==u&&(t+=`\n${l+=u}`,i=`,\n${l}`);const r=Math.min(n.length,p);let a=0;for(;a<r-1;a++){const e=m(String(a),n[a],o,s,u,l);t+=e!==undefined?e:"null",t+=i}const c=m(String(a),n[a],o,s,u,l);if(t+=c!==undefined?c:"null",n.length-1>p){t+=`${i}"... ${d(n.length-p-1)} not stringified"`}return""!==u&&(t+=`\n${e}`),o.pop(),`[${t}]`}o.push(n);let c="";""!==u&&(i=`,\n${l+=u}`,c=" ");let f="";for(const e of s){const r=m(e,n[e],o,s,u,l);r!==undefined&&(t+=`${f}${a(e)}:${c}${r}`,f=i)}return""!==u&&f.length>1&&(t=`\n${l}${t}\n${e}`),o.pop(),`{${t}}`}case"number":return isFinite(n)?String(n):t?t(n):"null";case"boolean":return!0===n?"true":"false";case"undefined":return undefined;case"bigint":if(i)return String(n);default:return t?t(n):undefined}}function g(e,n,f,b,m){switch(typeof n){case"string":return a(n);case"object":{if(null===n)return"null";if("function"==typeof n.toJSON){if("object"!=typeof(n=n.toJSON(e)))return g(e,n,f,b,m);if(null===n)return"null"}if(-1!==f.indexOf(n))return r;const t=m;if(Array.isArray(n)){if(0===n.length)return"[]";if(h<f.length+1)return'"[Array]"';f.push(n);let e=`\n${m+=b}`;const r=`,\n${m}`,i=Math.min(n.length,p);let o=0;for(;o<i-1;o++){const t=g(String(o),n[o],f,b,m);e+=t!==undefined?t:"null",e+=r}const a=g(String(o),n[o],f,b,m);if(e+=a!==undefined?a:"null",n.length-1>p){e+=`${r}"... ${d(n.length-p-1)} not stringified"`}return e+=`\n${t}`,f.pop(),`[${e}]`}let i=Object.keys(n);const y=i.length;if(0===y)return"{}";if(h<f.length+1)return'"[Object]"';const v=`,\n${m+=b}`;let w="",_="",E=Math.min(y,p);l(n)&&(w+=c(n,v,p),i=i.slice(n.length),E-=n.length,_=v),o&&(i=s(i,u)),f.push(n);for(let e=0;e<E;e++){const t=i[e],r=g(t,n[t],f,b,m);r!==undefined&&(w+=`${_}${a(t)}: ${r}`,_=v)}if(y>p){w+=`${_}"...": "${d(y-p)} not stringified"`,_=v}return""!==_&&(w=`\n${m}${w}\n${t}`),f.pop(),`{${w}}`}case"number":return isFinite(n)?String(n):t?t(n):"null";case"boolean":return!0===n?"true":"false";case"undefined":return undefined;case"bigint":if(i)return String(n);default:return t?t(n):undefined}}function y(e,n,f){switch(typeof n){case"string":return a(n);case"object":{if(null===n)return"null";if("function"==typeof n.toJSON){if("object"!=typeof(n=n.toJSON(e)))return y(e,n,f);if(null===n)return"null"}if(-1!==f.indexOf(n))return r;let t="";const i=n.length!==undefined;if(i&&Array.isArray(n)){if(0===n.length)return"[]";if(h<f.length+1)return'"[Array]"';f.push(n);const e=Math.min(n.length,p);let r=0;for(;r<e-1;r++){const e=y(String(r),n[r],f);t+=e!==undefined?e:"null",t+=","}const i=y(String(r),n[r],f);if(t+=i!==undefined?i:"null",n.length-1>p){t+=`,"... ${d(n.length-p-1)} not stringified"`}return f.pop(),`[${t}]`}let b=Object.keys(n);const m=b.length;if(0===m)return"{}";if(h<f.length+1)return'"[Object]"';let g="",v=Math.min(m,p);i&&l(n)&&(t+=c(n,",",p),b=b.slice(n.length),v-=n.length,g=","),o&&(b=s(b,u)),f.push(n);for(let e=0;e<v;e++){const r=b[e],i=y(r,n[r],f);i!==undefined&&(t+=`${g}${a(r)}:${i}`,g=",")}if(m>p){t+=`${g}"...":"${d(m-p)} not stringified"`}return f.pop(),`{${t}}`}case"number":return isFinite(n)?String(n):t?t(n):"null";case"boolean":return!0===n?"true":"false";case"undefined":return undefined;case"bigint":if(i)return String(n);default:return t?t(n):undefined}}return function(e,t,r){if(arguments.length>1){let n="";if("number"==typeof r?n=" ".repeat(Math.min(r,10)):"string"==typeof r&&(n=r.slice(0,10)),null!=t){if("function"==typeof t)return b("",{"":e},[],t,n,"");if(Array.isArray(t))return m("",e,[],function(e){const t=new Set;for(const r of e)"string"!=typeof r&&"number"!=typeof r||t.add(String(r));return t}(t),n,"")}if(0!==n.length)return g("",e,[],n,"")}return y("",e,[])}}}}},{package:"@metamask/eth-json-rpc-middleware>safe-stable-stringify",file:"node_modules/safe-stable-stringify/index.js"}],[7889,{timers:6223},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){!function(n){const i=2147483647;function o(e){const t=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);let r=1779033703,n=3144134277,i=1013904242,o=2773480762,a=1359893119,s=2600822924,u=528734635,l=1541459225;const c=new Uint32Array(64);function f(e){let f=0,d=e.length;for(;d>=64;){let h,p,b,m,g,y=r,v=n,w=i,_=o,E=a,j=s,S=u,T=l;for(p=0;p<16;p++)b=f+4*p,c[p]=(255&e[b])<<24|(255&e[b+1])<<16|(255&e[b+2])<<8|255&e[b+3];for(p=16;p<64;p++)h=c[p-2],m=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,h=c[p-15],g=(h>>>7|h<<25)^(h>>>18|h<<14)^h>>>3,c[p]=(m+c[p-7]|0)+(g+c[p-16]|0)|0;for(p=0;p<64;p++)m=(((E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7))+(E&j^~E&S)|0)+(T+(t[p]+c[p]|0)|0)|0,g=((y>>>2|y<<30)^(y>>>13|y<<19)^(y>>>22|y<<10))+(y&v^y&w^v&w)|0,T=S,S=j,j=E,E=_+m|0,_=w,w=v,v=y,y=m+g|0;r=r+y|0,n=n+v|0,i=i+w|0,o=o+_|0,a=a+E|0,s=s+j|0,u=u+S|0,l=l+T|0,f+=64,d-=64}}f(e);let d,h=e.length%64,p=e.length/536870912|0,b=e.length<<3,m=h<56?56:120,g=e.slice(e.length-h,e.length);for(g.push(128),d=h+1;d<m;d++)g.push(0);return g.push(p>>>24&255),g.push(p>>>16&255),g.push(p>>>8&255),g.push(p>>>0&255),g.push(b>>>24&255),g.push(b>>>16&255),g.push(b>>>8&255),g.push(b>>>0&255),f(g),[r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255,l>>>24&255,l>>>16&255,l>>>8&255,l>>>0&255]}function a(e,t,r){e=e.length<=64?e:o(e);const n=64+t.length+4,i=new Array(n),a=new Array(64);let s,u=[];for(s=0;s<64;s++)i[s]=54;for(s=0;s<e.length;s++)i[s]^=e[s];for(s=0;s<t.length;s++)i[64+s]=t[s];for(s=n-4;s<n;s++)i[s]=0;for(s=0;s<64;s++)a[s]=92;for(s=0;s<e.length;s++)a[s]^=e[s];function l(){for(let e=n-1;e>=n-4;e--){if(i[e]++,i[e]<=255)return;i[e]=0}}for(;r>=32;)l(),u=u.concat(o(a.concat(o(i)))),r-=32;return r>0&&(l(),u=u.concat(o(a.concat(o(i))).slice(0,r))),u}function s(e,t,r,n,i){let o;for(f(e,16*(2*r-1),i,0,16),o=0;o<2*r;o++)c(e,16*o,i,16),l(i,n),f(i,0,e,t+16*o,16);for(o=0;o<r;o++)f(e,t+2*o*16,e,16*o,16);for(o=0;o<r;o++)f(e,t+16*(2*o+1),e,16*(o+r),16)}function u(e,t){return e<<t|e>>>32-t}function l(e,t){f(e,0,t,0,16);for(let e=8;e>0;e-=2)t[4]^=u(t[0]+t[12],7),t[8]^=u(t[4]+t[0],9),t[12]^=u(t[8]+t[4],13),t[0]^=u(t[12]+t[8],18),t[9]^=u(t[5]+t[1],7),t[13]^=u(t[9]+t[5],9),t[1]^=u(t[13]+t[9],13),t[5]^=u(t[1]+t[13],18),t[14]^=u(t[10]+t[6],7),t[2]^=u(t[14]+t[10],9),t[6]^=u(t[2]+t[14],13),t[10]^=u(t[6]+t[2],18),t[3]^=u(t[15]+t[11],7),t[7]^=u(t[3]+t[15],9),t[11]^=u(t[7]+t[3],13),t[15]^=u(t[11]+t[7],18),t[1]^=u(t[0]+t[3],7),t[2]^=u(t[1]+t[0],9),t[3]^=u(t[2]+t[1],13),t[0]^=u(t[3]+t[2],18),t[6]^=u(t[5]+t[4],7),t[7]^=u(t[6]+t[5],9),t[4]^=u(t[7]+t[6],13),t[5]^=u(t[4]+t[7],18),t[11]^=u(t[10]+t[9],7),t[8]^=u(t[11]+t[10],9),t[9]^=u(t[8]+t[11],13),t[10]^=u(t[9]+t[8],18),t[12]^=u(t[15]+t[14],7),t[13]^=u(t[12]+t[15],9),t[14]^=u(t[13]+t[12],13),t[15]^=u(t[14]+t[13],18);for(let r=0;r<16;++r)e[r]+=t[r]}function c(e,t,r,n){for(let i=0;i<n;i++)r[i]^=e[t+i]}function f(e,t,r,n,i){for(;i--;)r[n++]=e[t++]}function d(e){if(!e||"number"!=typeof e.length)return!1;for(let t=0;t<e.length;t++){const r=e[t];if("number"!=typeof r||r%1||r<0||r>=256)return!1}return!0}function h(e,t){if("number"!=typeof e||e%1)throw new Error("invalid "+t);return e}function p(t,r,n,o,u,l,p){if(n=h(n,"N"),o=h(o,"r"),u=h(u,"p"),l=h(l,"dkLen"),0===n||n&n-1)throw new Error("N must be power of 2");if(n>i/128/o)throw new Error("N too large");if(o>i/128/u)throw new Error("r too large");if(!d(t))throw new Error("password must be an array or buffer");if(t=Array.prototype.slice.call(t),!d(r))throw new Error("salt must be an array or buffer");r=Array.prototype.slice.call(r);let b=a(t,r,128*u*o);const m=new Uint32Array(32*u*o);for(let e=0;e<m.length;e++){const t=4*e;m[e]=(255&b[t+3])<<24|(255&b[t+2])<<16|(255&b[t+1])<<8|255&b[t+0]}const g=new Uint32Array(64*o),y=new Uint32Array(32*o*n),v=32*o,w=new Uint32Array(16),_=new Uint32Array(16),E=u*n*2;let j,S,T=0,x=null,O=!1,P=0,k=0;const A=p?parseInt(1e3/o):4294967295,I=void 0!==e?e:setTimeout,R=function(){if(O)return p(new Error("cancelled"),T/E);let e;switch(P){case 0:S=32*k*o,f(m,S,g,0,v),P=1,j=0;case 1:e=n-j,e>A&&(e=A);for(let t=0;t<e;t++)f(g,0,y,(j+t)*v,v),s(g,v,o,w,_);if(j+=e,T+=e,p){const e=parseInt(1e3*T/E);if(e!==x){if(O=p(null,T/E),O)break;x=e}}if(j<n)break;j=0,P=2;case 2:e=n-j,e>A&&(e=A);for(let t=0;t<e;t++){const e=g[16*(2*o-1)]&n-1;c(y,e*v,g,v),s(g,v,o,w,_)}if(j+=e,T+=e,p){const e=parseInt(1e3*T/E);if(e!==x){if(O=p(null,T/E),O)break;x=e}}if(j<n)break;if(f(g,0,m,S,v),k++,k<u){P=0;break}b=[];for(let e=0;e<m.length;e++)b.push(255&m[e]),b.push(m[e]>>8&255),b.push(m[e]>>16&255),b.push(m[e]>>24&255);const r=a(t,b,l);return p&&p(null,1,r),r}p&&I(R)};if(!p)for(;;){const e=R();if(e!=undefined)return e}R()}const b={scrypt:function(e,t,r,n,i,o,a){return new Promise(function(s,u){let l=0;a&&a(0),p(e,t,r,n,i,o,function(e,t,r){if(e)u(e);else if(r)a&&1!==l&&a(1),s(new Uint8Array(r));else if(a&&t!==l)return l=t,a(t)})})},syncScrypt:function(e,t,r,n,i,o){return new Uint8Array(p(e,t,r,n,i,o))}};void 0!==r?t.exports=b:"function"==typeof define&&define.amd?define(b):n&&(n.scrypt&&(n._scrypt=n.scrypt),n.scrypt=b)}(this)}).call(this)}).call(this,e("timers").setImmediate)}}},{package:"ethers>@ethersproject/json-wallets>scrypt-js",file:"node_modules/scrypt-js/scrypt.js"}],[789,{"../baseTransaction.js":784,"../types.js":799,"@ethereumjs/util":817,"ethereum-cryptography/keccak.js":806},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getEffectivePriorityFee=r.getSenderPublicKey=r.validateHighS=r.hash=r.getDataFee=r.isSigned=r.errorMsg=void 0;const n=e("@ethereumjs/util"),i=e("ethereum-cryptography/keccak.js"),o=e("../baseTransaction.js"),a=e("../types.js");function s(e,t){return`${t} (${e.errorStr()})`}function u(e){const{s:t}=e;if(e.common.gteHardfork("homestead")&&t!==undefined&&t>n.SECP256K1_ORDER_DIV_2){const t=s(e,"Invalid Signature: s-values greater than secp256k1n/2 are considered invalid");throw new Error(t)}}r.errorMsg=s,r.isSigned=function(e){const{v:t,r:r,s:n}=e;return t!==undefined&&r!==undefined&&n!==undefined},r.getDataFee=function(e,t){if(e.cache.dataFee&&e.cache.dataFee.hardfork===e.common.hardfork())return e.cache.dataFee.value;const r=o.BaseTransaction.prototype.getDataFee.bind(e)()+(t??0n);return Object.isFrozen(e)&&(e.cache.dataFee={value:r,hardfork:e.common.hardfork()}),r},r.hash=function(e){if(!e.isSigned()){const t=s(e,"Cannot call hash method if transaction is not signed");throw new Error(t)}const t=e.common.customCrypto.keccak256??i.keccak256;return Object.isFrozen(e)?(e.cache.hash||(e.cache.hash=t(e.serialize())),e.cache.hash):t(e.serialize())},r.validateHighS=u,r.getSenderPublicKey=function(e){if(e.cache.senderPubKey!==undefined)return e.cache.senderPubKey;const t=e.getMessageToVerifySignature(),{v:r,r:i,s:o}=e;u(e);try{const s=(e.common.customCrypto.ecrecover??n.ecrecover)(t,r,(0,n.bigIntToUnpaddedBytes)(i),(0,n.bigIntToUnpaddedBytes)(o),e.supports(a.Capability.EIP155ReplayProtection)?e.common.chainId():undefined);return Object.isFrozen(e)&&(e.cache.senderPubKey=s),s}catch(t){const r=s(e,"Invalid Signature");throw new Error(r)}},r.getEffectivePriorityFee=function(e,t){if(t!==undefined&&t>e)throw new Error("Tx cannot pay baseFee");return t===undefined?e:e-t}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/capabilities/legacy.js"}],[7890,{"./lib":7892,"./lib/elliptic":7891},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./lib")(e("./lib/elliptic"))}}},{package:"ethereumjs-util>ethereum-cryptography>secp256k1",file:"node_modules/secp256k1/elliptic.js"}],[7891,{elliptic:6408},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=new(0,e("elliptic").ec)("secp256k1"),i=n.curve,o=i.n.constructor;function a(e){const t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){let r=new o(t);if(r.cmp(i.p)>=0)return null;r=r.toRed(i.red);let a=r.redSqr().redIMul(r).redIAdd(i.b).redSqrt();3===e!==a.isOdd()&&(a=a.redNeg());const s=r.redSqr().redIMul(r);return a.redSqr().redISub(s.redIAdd(i.b)).isZero()?n.keyPair({pub:{x:r,y:a}}):null}(t,e.subarray(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){let a=new o(t),s=new o(r);if(a.cmp(i.p)>=0||s.cmp(i.p)>=0)return null;if(a=a.toRed(i.red),s=s.toRed(i.red),(6===e||7===e)&&s.isOdd()!==(7===e))return null;const u=a.redSqr().redIMul(a);return s.redSqr().redISub(u.redIAdd(i.b)).isZero()?n.keyPair({pub:{x:a,y:s}}):null}(t,e.subarray(1,33),e.subarray(33,65));default:return null}}function s(e,t){const r=t.encode(null,33===e.length);for(let t=0;t<e.length;++t)e[t]=r[t]}t.exports={contextRandomize:()=>0,privateKeyVerify(e){const t=new o(e);return t.cmp(i.n)<0&&!t.isZero()?0:1},privateKeyNegate(e){const t=new o(e),r=i.n.sub(t).umod(i.n).toArrayLike(Uint8Array,"be",32);return e.set(r),0},privateKeyTweakAdd(e,t){const r=new o(t);if(r.cmp(i.n)>=0)return 1;if(r.iadd(new o(e)),r.cmp(i.n)>=0&&r.isub(i.n),r.isZero())return 1;const n=r.toArrayLike(Uint8Array,"be",32);return e.set(n),0},privateKeyTweakMul(e,t){let r=new o(t);if(r.cmp(i.n)>=0||r.isZero())return 1;r.imul(new o(e)),r.cmp(i.n)>=0&&(r=r.umod(i.n));const n=r.toArrayLike(Uint8Array,"be",32);return e.set(n),0},publicKeyVerify:e=>null===a(e)?1:0,publicKeyCreate(e,t){const r=new o(t);if(r.cmp(i.n)>=0||r.isZero())return 1;return s(e,n.keyFromPrivate(t).getPublic()),0},publicKeyConvert(e,t){const r=a(t);if(null===r)return 1;return s(e,r.getPublic()),0},publicKeyNegate(e,t){const r=a(t);if(null===r)return 1;const n=r.getPublic();return n.y=n.y.redNeg(),s(e,n),0},publicKeyCombine(e,t){const r=new Array(t.length);for(let e=0;e<t.length;++e)if(r[e]=a(t[e]),null===r[e])return 1;let n=r[0].getPublic();for(let e=1;e<r.length;++e)n=n.add(r[e].pub);return n.isInfinity()?2:(s(e,n),0)},publicKeyTweakAdd(e,t,r){const n=a(t);if(null===n)return 1;if((r=new o(r)).cmp(i.n)>=0)return 2;const u=n.getPublic().add(i.g.mul(r));return u.isInfinity()?2:(s(e,u),0)},publicKeyTweakMul(e,t,r){const n=a(t);if(null===n)return 1;if((r=new o(r)).cmp(i.n)>=0||r.isZero())return 2;return s(e,n.getPublic().mul(r)),0},signatureNormalize(e){const t=new o(e.subarray(0,32)),r=new o(e.subarray(32,64));return t.cmp(i.n)>=0||r.cmp(i.n)>=0?1:(1===r.cmp(n.nh)&&e.set(i.n.sub(r).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport(e,t){const r=t.subarray(0,32),n=t.subarray(32,64);if(new o(r).cmp(i.n)>=0)return 1;if(new o(n).cmp(i.n)>=0)return 1;const{output:a}=e;let s=a.subarray(4,37);s[0]=0,s.set(r,1);let u=33,l=0;for(;u>1&&0===s[l]&&!(128&s[l+1]);--u,++l);if(s=s.subarray(l),128&s[0])return 1;if(u>1&&0===s[0]&&!(128&s[1]))return 1;let c=a.subarray(39,72);c[0]=0,c.set(n,1);let f=33,d=0;for(;f>1&&0===c[d]&&!(128&c[d+1]);--f,++d);return c=c.subarray(d),128&c[0]||f>1&&0===c[0]&&!(128&c[1])?1:(e.outputlen=6+u+f,a[0]=48,a[1]=e.outputlen-2,a[2]=2,a[3]=s.length,a.set(s,4),a[4+u]=2,a[5+u]=c.length,a.set(c,6+u),0)},signatureImport(e,t){if(t.length<8)return 1;if(t.length>72)return 1;if(48!==t[0])return 1;if(t[1]!==t.length-2)return 1;if(2!==t[2])return 1;const r=t[3];if(0===r)return 1;if(5+r>=t.length)return 1;if(2!==t[4+r])return 1;const n=t[5+r];if(0===n)return 1;if(6+r+n!==t.length)return 1;if(128&t[4])return 1;if(r>1&&0===t[4]&&!(128&t[5]))return 1;if(128&t[r+6])return 1;if(n>1&&0===t[r+6]&&!(128&t[r+7]))return 1;let a=t.subarray(4,4+r);if(33===a.length&&0===a[0]&&(a=a.subarray(1)),a.length>32)return 1;let s=t.subarray(6+r);if(33===s.length&&0===s[0]&&(s=s.slice(1)),s.length>32)throw new Error("S length is too long");let u=new o(a);u.cmp(i.n)>=0&&(u=new o(0));let l=new o(t.subarray(6+r));return l.cmp(i.n)>=0&&(l=new o(0)),e.set(u.toArrayLike(Uint8Array,"be",32),0),e.set(l.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign(e,t,r,a,s){if(s){const e=s;s=n=>{const i=e(t,r,null,a,n);if(!(i instanceof Uint8Array&&32===i.length))throw new Error("This is the way");return new o(i)}}const u=new o(r);if(u.cmp(i.n)>=0||u.isZero())return 1;let l;try{l=n.sign(t,r,{canonical:!0,k:s,pers:a})}catch(e){return 1}return e.signature.set(l.r.toArrayLike(Uint8Array,"be",32),0),e.signature.set(l.s.toArrayLike(Uint8Array,"be",32),32),e.recid=l.recoveryParam,0},ecdsaVerify(e,t,r){const s={r:e.subarray(0,32),s:e.subarray(32,64)},u=new o(s.r),l=new o(s.s);if(u.cmp(i.n)>=0||l.cmp(i.n)>=0)return 1;if(1===l.cmp(n.nh)||u.isZero()||l.isZero())return 3;const c=a(r);if(null===c)return 2;const f=c.getPublic();return n.verify(t,s,f)?0:3},ecdsaRecover(e,t,r,a){const u={r:t.slice(0,32),s:t.slice(32,64)},l=new o(u.r),c=new o(u.s);if(l.cmp(i.n)>=0||c.cmp(i.n)>=0)return 1;if(l.isZero()||c.isZero())return 2;let f;try{f=n.recoverPubKey(a,u,r)}catch(e){return 2}return s(e,f),0},ecdh(e,t,r,s,u,l,c){const f=a(t);if(null===f)return 1;const d=new o(r);if(d.cmp(i.n)>=0||d.isZero())return 2;const h=f.getPublic().mul(d);if(u===undefined){const t=h.encode(null,!0),r=n.hash().update(t).digest();for(let t=0;t<32;++t)e[t]=r[t]}else{l||(l=new Uint8Array(32));const t=h.getX().toArray("be",32);for(let e=0;e<32;++e)l[e]=t[e];c||(c=new Uint8Array(32));const r=h.getY().toArray("be",32);for(let e=0;e<32;++e)c[e]=r[e];const n=u(l,c,s);if(!(n instanceof Uint8Array&&n.length===e.length))return 2;e.set(n)}return 0}}}}},{package:"ethereumjs-util>ethereum-cryptography>secp256k1",file:"node_modules/secp256k1/lib/elliptic.js"}],[7892,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n="Impossible case. Please create issue.",i="The tweak was out of range or the resulted private key is invalid",o="The tweak was out of range or equal to zero",a="Unknow error on context randomization",s="Private Key is invalid",u="Public Key could not be parsed",l="Public Key serialization error",c="The sum of the public keys is not valid",f="Signature could not be parsed",d="The nonce generation function failed, or the private key was invalid",h="Public key could not be recover",p="Scalar was invalid (zero or overflow)";function b(e,t){if(!e)throw new Error(t)}function m(e,t,r){if(b(t instanceof Uint8Array,`Expected ${e} to be an Uint8Array`),r!==undefined)if(Array.isArray(r)){const n=`Expected ${e} to be an Uint8Array with length [${r.join(", ")}]`;b(r.includes(t.length),n)}else{const n=`Expected ${e} to be an Uint8Array with length ${r}`;b(t.length===r,n)}}function g(e){b("Boolean"===v(e),"Expected compressed to be a Boolean")}function y(e=e=>new Uint8Array(e),t){return"function"==typeof e&&(e=e(t)),m("output",e,t),e}function v(e){return Object.prototype.toString.call(e).slice(8,-1)}t.exports=e=>({contextRandomize(t){if(b(null===t||t instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),null!==t&&m("seed",t,32),1===e.contextRandomize(t))throw new Error(a)},privateKeyVerify:t=>(m("private key",t,32),0===e.privateKeyVerify(t)),privateKeyNegate(t){switch(m("private key",t,32),e.privateKeyNegate(t)){case 0:return t;case 1:throw new Error(n)}},privateKeyTweakAdd(t,r){switch(m("private key",t,32),m("tweak",r,32),e.privateKeyTweakAdd(t,r)){case 0:return t;case 1:throw new Error(i)}},privateKeyTweakMul(t,r){switch(m("private key",t,32),m("tweak",r,32),e.privateKeyTweakMul(t,r)){case 0:return t;case 1:throw new Error(o)}},publicKeyVerify:t=>(m("public key",t,[33,65]),0===e.publicKeyVerify(t)),publicKeyCreate(t,r=!0,n){switch(m("private key",t,32),g(r),n=y(n,r?33:65),e.publicKeyCreate(n,t)){case 0:return n;case 1:throw new Error(s);case 2:throw new Error(l)}},publicKeyConvert(t,r=!0,n){switch(m("public key",t,[33,65]),g(r),n=y(n,r?33:65),e.publicKeyConvert(n,t)){case 0:return n;case 1:throw new Error(u);case 2:throw new Error(l)}},publicKeyNegate(t,r=!0,i){switch(m("public key",t,[33,65]),g(r),i=y(i,r?33:65),e.publicKeyNegate(i,t)){case 0:return i;case 1:throw new Error(u);case 2:throw new Error(n);case 3:throw new Error(l)}},publicKeyCombine(t,r=!0,n){b(Array.isArray(t),"Expected public keys to be an Array"),b(t.length>0,"Expected public keys array will have more than zero items");for(const e of t)m("public key",e,[33,65]);switch(g(r),n=y(n,r?33:65),e.publicKeyCombine(n,t)){case 0:return n;case 1:throw new Error(u);case 2:throw new Error(c);case 3:throw new Error(l)}},publicKeyTweakAdd(t,r,n=!0,o){switch(m("public key",t,[33,65]),m("tweak",r,32),g(n),o=y(o,n?33:65),e.publicKeyTweakAdd(o,t,r)){case 0:return o;case 1:throw new Error(u);case 2:throw new Error(i)}},publicKeyTweakMul(t,r,n=!0,i){switch(m("public key",t,[33,65]),m("tweak",r,32),g(n),i=y(i,n?33:65),e.publicKeyTweakMul(i,t,r)){case 0:return i;case 1:throw new Error(u);case 2:throw new Error(o)}},signatureNormalize(t){switch(m("signature",t,64),e.signatureNormalize(t)){case 0:return t;case 1:throw new Error(f)}},signatureExport(t,r){m("signature",t,64);const i={output:r=y(r,72),outputlen:72};switch(e.signatureExport(i,t)){case 0:return r.slice(0,i.outputlen);case 1:throw new Error(f);case 2:throw new Error(n)}},signatureImport(t,r){switch(m("signature",t),r=y(r,64),e.signatureImport(r,t)){case 0:return r;case 1:throw new Error(f);case 2:throw new Error(n)}},ecdsaSign(t,r,i={},o){m("message",t,32),m("private key",r,32),b("Object"===v(i),"Expected options to be an Object"),i.data!==undefined&&m("options.data",i.data),i.noncefn!==undefined&&b("Function"===v(i.noncefn),"Expected options.noncefn to be a Function");const a={signature:o=y(o,64),recid:null};switch(e.ecdsaSign(a,t,r,i.data,i.noncefn)){case 0:return a;case 1:throw new Error(d);case 2:throw new Error(n)}},ecdsaVerify(t,r,n){switch(m("signature",t,64),m("message",r,32),m("public key",n,[33,65]),e.ecdsaVerify(t,r,n)){case 0:return!0;case 3:return!1;case 1:throw new Error(f);case 2:throw new Error(u)}},ecdsaRecover(t,r,i,o=!0,a){switch(m("signature",t,64),b("Number"===v(r)&&r>=0&&r<=3,"Expected recovery id to be a Number within interval [0, 3]"),m("message",i,32),g(o),a=y(a,o?33:65),e.ecdsaRecover(a,t,r,i)){case 0:return a;case 1:throw new Error(f);case 2:throw new Error(h);case 3:throw new Error(n)}},ecdh(t,r,n={},i){switch(m("public key",t,[33,65]),m("private key",r,32),b("Object"===v(n),"Expected options to be an Object"),n.data!==undefined&&m("options.data",n.data),n.hashfn!==undefined?(b("Function"===v(n.hashfn),"Expected options.hashfn to be a Function"),n.xbuf!==undefined&&m("options.xbuf",n.xbuf,32),n.ybuf!==undefined&&m("options.ybuf",n.ybuf,32),m("output",i)):i=y(i,32),e.ecdh(i,t,r,n.data,n.hashfn,n.xbuf,n.ybuf)){case 0:return i;case 1:throw new Error(u);case 2:throw new Error(p)}}})}}},{package:"ethereumjs-util>ethereum-cryptography>secp256k1",file:"node_modules/secp256k1/lib/index.js"}],[7893,{"../functions/cmp":7897,"../internal/debug":7922,"../internal/parse-options":7925,"../internal/re":7926,"./range":7894,"./semver":7895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=Symbol("SemVer ANY");class i{static get ANY(){return n}constructor(e,t){if(t=o(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=r[1]!==undefined?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return u(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new f(e.value,t).test(this.value):""===e.operator?""===e.value||new f(this.value,t).test(e.semver):(!(t=o(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(u(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(u(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}t.exports=i;const o=e("../internal/parse-options"),{safeRe:a,t:s}=e("../internal/re"),u=e("../functions/cmp"),l=e("../internal/debug"),c=e("./semver"),f=e("./range")}}},{package:"semver",file:"node_modules/semver/classes/comparator.js"}],[7894,{"../internal/constants":7921,"../internal/debug":7922,"../internal/lrucache":7924,"../internal/parse-options":7925,"../internal/re":7926,"./comparator":7893,"./semver":7895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=/\s+/g;class i{constructor(e,t){if(t=a(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.formatted=undefined,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(n," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!g(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&y(e[0])){this.set=[e];break}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&b)|(this.options.loose&&m))+":"+e,r=o.get(t);if(r)return r;const n=this.options.loose,i=n?c[f.HYPHENRANGELOOSE]:c[f.HYPHENRANGE];e=e.replace(i,A(this.options.includePrerelease)),u("hyphen replace",e),e=e.replace(c[f.COMPARATORTRIM],d),u("comparator trim",e),e=e.replace(c[f.TILDETRIM],h),u("tilde trim",e),e=e.replace(c[f.CARETTRIM],p),u("caret trim",e);let a=e.split(" ").map(e=>w(e,this.options)).join(" ").split(/\s+/).map(e=>k(e,this.options));n&&(a=a.filter(e=>(u("loose invalid filter",e,this.options),!!e.match(c[f.COMPARATORLOOSE])))),u("range list",a);const l=new Map,y=a.map(e=>new s(e,this.options));for(const e of y){if(g(e))return[e];l.set(e.value,e)}l.size>1&&l.has("")&&l.delete("");const v=[...l.values()];return o.set(t,v),v}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some(r=>v(r,t)&&e.set.some(e=>v(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(I(this.set[t],e,this.options))return!0;return!1}}t.exports=i;const o=new(e("../internal/lrucache")),a=e("../internal/parse-options"),s=e("./comparator"),u=e("../internal/debug"),l=e("./semver"),{safeRe:c,t:f,comparatorTrimReplace:d,tildeTrimReplace:h,caretTrimReplace:p}=e("../internal/re"),{FLAG_INCLUDE_PRERELEASE:b,FLAG_LOOSE:m}=e("../internal/constants"),g=e=>"<0.0.0-0"===e.value,y=e=>""===e.value,v=(e,t)=>{let r=!0;const n=e.slice();let i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r},w=(e,t)=>(e=e.replace(c[f.BUILD],""),u("comp",e,t),e=S(e,t),u("caret",e),e=E(e,t),u("tildes",e),e=x(e,t),u("xrange",e),e=P(e,t),u("stars",e),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,E=(e,t)=>e.trim().split(/\s+/).map(e=>j(e,t)).join(" "),j=(e,t)=>{const r=t.loose?c[f.TILDELOOSE]:c[f.TILDE];return e.replace(r,(t,r,n,i,o)=>{let a;return u("tilde",e,t,r,n,i,o),_(r)?a="":_(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:_(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(u("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,u("tilde return",a),a})},S=(e,t)=>e.trim().split(/\s+/).map(e=>T(e,t)).join(" "),T=(e,t)=>{u("caret",e,t);const r=t.loose?c[f.CARETLOOSE]:c[f.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,a)=>{let s;return u("caret",e,t,r,i,o,a),_(r)?s="":_(i)?s=`>=${r}.0.0${n} <${+r+1}.0.0-0`:_(o)?s="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(u("replaceCaret pr",a),s="0"===r?"0"===i?`>=${r}.${i}.${o}-${a} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${a} <${+r+1}.0.0-0`):(u("no pr"),s="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),u("caret return",s),s})},x=(e,t)=>(u("replaceXRanges",e,t),e.split(/\s+/).map(e=>O(e,t)).join(" ")),O=(e,t)=>{e=e.trim();const r=t.loose?c[f.XRANGELOOSE]:c[f.XRANGE];return e.replace(r,(r,n,i,o,a,s)=>{u("xRange",e,r,n,i,o,a,s);const l=_(i),c=l||_(o),f=c||_(a),d=f;return"="===n&&d&&(n=""),s=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(c&&(o=0),a=0,">"===n?(n=">=",c?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===n&&(n="<",c?i=+i+1:o=+o+1),"<"===n&&(s="-0"),r=`${n+i}.${o}.${a}${s}`):c?r=`>=${i}.0.0${s} <${+i+1}.0.0-0`:f&&(r=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`),u("xRange return",r),r})},P=(e,t)=>(u("replaceStars",e,t),e.trim().replace(c[f.STAR],"")),k=(e,t)=>(u("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?f.GTE0PRE:f.GTE0],"")),A=e=>(t,r,n,i,o,a,s,u,l,c,f,d)=>`${r=_(n)?"":_(i)?`>=${n}.0.0${e?"-0":""}`:_(o)?`>=${n}.${i}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${u=_(l)?"":_(c)?`<${+l+1}.0.0-0`:_(f)?`<${l}.${+c+1}.0-0`:d?`<=${l}.${c}.${f}-${d}`:e?`<${l}.${c}.${+f+1}-0`:`<=${u}`}`.trim(),I=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(u(e[r].semver),e[r].semver!==s.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}}}},{package:"semver",file:"node_modules/semver/classes/range.js"}],[7895,{"../internal/constants":7921,"../internal/debug":7922,"../internal/identifiers":7923,"../internal/parse-options":7925,"../internal/re":7926},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../internal/debug"),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=e("../internal/constants"),{safeRe:a,t:s}=e("../internal/re"),u=e("../internal/parse-options"),{compareIdentifiers:l}=e("../internal/identifiers");class c{constructor(e,t){if(t=u(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),r===undefined&&i===undefined)return 0;if(i===undefined)return 1;if(r===undefined)return-1;if(r!==i)return l(r,i)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const r=this.build[t],i=e.build[t];if(n("build compare",t,r,i),r===undefined&&i===undefined)return 0;if(i===undefined)return 1;if(r===undefined)return-1;if(r!==i)return l(r,i)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?a[s.PRERELEASELOOSE]:a[s.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}t.exports=c}}},{package:"semver",file:"node_modules/semver/classes/semver.js"}],[7896,{"./parse":7912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./parse");t.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}}}},{package:"semver",file:"node_modules/semver/functions/clean.js"}],[7897,{"./eq":7903,"./gt":7904,"./gte":7905,"./lt":7907,"./lte":7908,"./neq":7911},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./eq"),i=e("./neq"),o=e("./gt"),a=e("./gte"),s=e("./lt"),u=e("./lte");t.exports=(e,t,r,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,l);case"!=":return i(e,r,l);case">":return o(e,r,l);case">=":return a(e,r,l);case"<":return s(e,r,l);case"<=":return u(e,r,l);default:throw new TypeError(`Invalid operator: ${t}`)}}}}},{package:"semver",file:"node_modules/semver/functions/cmp.js"}],[7898,{"../classes/semver":7895,"../internal/re":7926,"./parse":7912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver"),i=e("./parse"),{safeRe:o,t:a}=e("../internal/re");t.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const n=t.includePrerelease?o[a.COERCERTLFULL]:o[a.COERCERTL];let i;for(;(i=n.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),n.lastIndex=i.index+i[1].length+i[2].length;n.lastIndex=-1}else r=e.match(t.includePrerelease?o[a.COERCEFULL]:o[a.COERCE]);if(null===r)return null;const s=r[2],u=r[3]||"0",l=r[4]||"0",c=t.includePrerelease&&r[5]?`-${r[5]}`:"",f=t.includePrerelease&&r[6]?`+${r[6]}`:"";return i(`${s}.${u}.${l}${c}${f}`,t)}}}},{package:"semver",file:"node_modules/semver/functions/coerce.js"}],[7899,{"../classes/semver":7895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t,r)=>{const i=new n(e,r),o=new n(t,r);return i.compare(o)||i.compareBuild(o)}}}},{package:"semver",file:"node_modules/semver/functions/compare-build.js"}],[790,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BYTES_PER_FIELD_ELEMENT=r.FIELD_ELEMENTS_PER_BLOB=r.MAX_TX_WRAP_KZG_COMMITMENTS=r.LIMIT_BLOBS_PER_TX=r.MAX_VERSIONED_HASHES_LIST_SIZE=r.MAX_ACCESS_LIST_SIZE=r.MAX_CALLDATA_SIZE=void 0,r.MAX_CALLDATA_SIZE=16777216,r.MAX_ACCESS_LIST_SIZE=16777216,r.MAX_VERSIONED_HASHES_LIST_SIZE=16777216,r.LIMIT_BLOBS_PER_TX=6,r.MAX_TX_WRAP_KZG_COMMITMENTS=16777216,r.FIELD_ELEMENTS_PER_BLOB=4096,r.BYTES_PER_FIELD_ELEMENT=32}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/constants.js"}],[7900,{"./compare":7901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t)=>n(e,t,!0)}}},{package:"semver",file:"node_modules/semver/functions/compare-loose.js"}],[7901,{"../classes/semver":7895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))}}},{package:"semver",file:"node_modules/semver/functions/compare.js"}],[7902,{"./parse.js":7912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./parse.js");t.exports=(e,t)=>{const r=n(e,null,!0),i=n(t,null,!0),o=r.compare(i);if(0===o)return null;const a=o>0,s=a?r:i,u=a?i:r,l=!!s.prerelease.length;if(!!u.prerelease.length&&!l){if(!u.patch&&!u.minor)return"major";if(0===u.compareMain(s))return u.minor&&!u.patch?"minor":"patch"}const c=l?"pre":"";return r.major!==i.major?c+"major":r.minor!==i.minor?c+"minor":r.patch!==i.patch?c+"patch":"prerelease"}}}},{package:"semver",file:"node_modules/semver/functions/diff.js"}],[7903,{"./compare":7901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>0===n(e,t,r)}}},{package:"semver",file:"node_modules/semver/functions/eq.js"}],[7904,{"./compare":7901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>n(e,t,r)>0}}},{package:"semver",file:"node_modules/semver/functions/gt.js"}],[7905,{"./compare":7901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>n(e,t,r)>=0}}},{package:"semver",file:"node_modules/semver/functions/gte.js"}],[7906,{"../classes/semver":7895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t,r,i,o)=>{"string"==typeof r&&(o=i,i=r,r=undefined);try{return new n(e instanceof n?e.version:e,r).inc(t,i,o).version}catch(e){return null}}}}},{package:"semver",file:"node_modules/semver/functions/inc.js"}],[7907,{"./compare":7901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>n(e,t,r)<0}}},{package:"semver",file:"node_modules/semver/functions/lt.js"}],[7908,{"./compare":7901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>n(e,t,r)<=0}}},{package:"semver",file:"node_modules/semver/functions/lte.js"}],[7909,{"../classes/semver":7895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t)=>new n(e,t).major}}},{package:"semver",file:"node_modules/semver/functions/major.js"}],[791,{"./baseTransaction.js":784,"./capabilities/eip1559.js":785,"./capabilities/eip2718.js":786,"./capabilities/eip2930.js":787,"./capabilities/legacy.js":789,"./types.js":799,"./util.js":800,"@ethereumjs/rlp":783,"@ethereumjs/util":817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FeeMarketEIP1559Transaction=void 0;const n=e("@ethereumjs/rlp"),i=e("@ethereumjs/util"),o=e("./baseTransaction.js"),a=e("./capabilities/eip1559.js"),s=e("./capabilities/eip2718.js"),u=e("./capabilities/eip2930.js"),l=e("./capabilities/legacy.js"),c=e("./types.js"),f=e("./util.js");class d extends o.BaseTransaction{constructor(e,t={}){super({...e,type:c.TransactionType.FeeMarketEIP1559},t);const{chainId:r,accessList:n,maxFeePerGas:a,maxPriorityFeePerGas:u}=e;if(this.common=this._getCommon(t.common,r),this.chainId=this.common.chainId(),!this.common.isActivatedEIP(1559))throw new Error("EIP-1559 not enabled on Common");this.activeCapabilities=this.activeCapabilities.concat([1559,2718,2930]);const d=f.AccessLists.getAccessListData(n??[]);if(this.accessList=d.accessList,this.AccessListJSON=d.AccessListJSON,f.AccessLists.verifyAccessList(this.accessList),this.maxFeePerGas=(0,i.bytesToBigInt)((0,i.toBytes)(a)),this.maxPriorityFeePerGas=(0,i.bytesToBigInt)((0,i.toBytes)(u)),this._validateCannotExceedMaxInteger({maxFeePerGas:this.maxFeePerGas,maxPriorityFeePerGas:this.maxPriorityFeePerGas}),o.BaseTransaction._validateNotArray(e),this.gasLimit*this.maxFeePerGas>i.MAX_INTEGER){const e=this._errorMsg("gasLimit * maxFeePerGas cannot exceed MAX_INTEGER (2^256-1)");throw new Error(e)}if(this.maxFeePerGas<this.maxPriorityFeePerGas){const e=this._errorMsg("maxFeePerGas cannot be less than maxPriorityFeePerGas (The total must be the larger of the two)");throw new Error(e)}s.validateYParity(this),l.validateHighS(this);(t?.freeze??!0)&&Object.freeze(this)}static fromTxData(e,t={}){return new d(e,t)}static fromSerializedTx(e,t={}){if(!1===(0,i.equalsBytes)(e.subarray(0,1),(0,f.txTypeBytes)(c.TransactionType.FeeMarketEIP1559)))throw new Error(`Invalid serialized tx input: not an EIP-1559 transaction (wrong tx type, expected: ${c.TransactionType.FeeMarketEIP1559}, received: ${(0,i.bytesToHex)(e.subarray(0,1))}`);const r=n.RLP.decode(e.subarray(1));if(!Array.isArray(r))throw new Error("Invalid serialized tx input: must be array");return d.fromValuesArray(r,t)}static fromValuesArray(e,t={}){if(9!==e.length&&12!==e.length)throw new Error("Invalid EIP-1559 transaction. Only expecting 9 values (for unsigned tx) or 12 values (for signed tx).");const[r,n,o,a,s,u,l,c,f,h,p,b]=e;return this._validateNotArray({chainId:r,v:h}),(0,i.validateNoLeadingZeroes)({nonce:n,maxPriorityFeePerGas:o,maxFeePerGas:a,gasLimit:s,value:l,v:h,r:p,s:b}),new d({chainId:(0,i.bytesToBigInt)(r),nonce:n,maxPriorityFeePerGas:o,maxFeePerGas:a,gasLimit:s,to:u,value:l,data:c,accessList:f??[],v:h!==undefined?(0,i.bytesToBigInt)(h):undefined,r:p,s:b},t)}getDataFee(){return u.getDataFee(this)}getEffectivePriorityFee(e){return a.getEffectivePriorityFee(this,e)}getUpfrontCost(e=i.BIGINT_0){return a.getUpfrontCost(this,e)}raw(){return[(0,i.bigIntToUnpaddedBytes)(this.chainId),(0,i.bigIntToUnpaddedBytes)(this.nonce),(0,i.bigIntToUnpaddedBytes)(this.maxPriorityFeePerGas),(0,i.bigIntToUnpaddedBytes)(this.maxFeePerGas),(0,i.bigIntToUnpaddedBytes)(this.gasLimit),this.to!==undefined?this.to.bytes:new Uint8Array(0),(0,i.bigIntToUnpaddedBytes)(this.value),this.data,this.accessList,this.v!==undefined?(0,i.bigIntToUnpaddedBytes)(this.v):new Uint8Array(0),this.r!==undefined?(0,i.bigIntToUnpaddedBytes)(this.r):new Uint8Array(0),this.s!==undefined?(0,i.bigIntToUnpaddedBytes)(this.s):new Uint8Array(0)]}serialize(){return s.serialize(this)}getMessageToSign(){return s.serialize(this,this.raw().slice(0,9))}getHashedMessageToSign(){return s.getHashedMessageToSign(this)}hash(){return l.hash(this)}getMessageToVerifySignature(){return this.getHashedMessageToSign()}getSenderPublicKey(){return l.getSenderPublicKey(this)}addSignature(e,t,r,n=!1){t=(0,i.toBytes)(t),r=(0,i.toBytes)(r);const o={...this.txOptions,common:this.common};return d.fromTxData({chainId:this.chainId,nonce:this.nonce,maxPriorityFeePerGas:this.maxPriorityFeePerGas,maxFeePerGas:this.maxFeePerGas,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,accessList:this.accessList,v:n?e-i.BIGINT_27:e,r:(0,i.bytesToBigInt)(t),s:(0,i.bytesToBigInt)(r)},o)}toJSON(){const e=f.AccessLists.getAccessListJSON(this.accessList);return{...super.toJSON(),chainId:(0,i.bigIntToHex)(this.chainId),maxPriorityFeePerGas:(0,i.bigIntToHex)(this.maxPriorityFeePerGas),maxFeePerGas:(0,i.bigIntToHex)(this.maxFeePerGas),accessList:e}}errorStr(){let e=this._getSharedErrorPostfix();return e+=` maxFeePerGas=${this.maxFeePerGas} maxPriorityFeePerGas=${this.maxPriorityFeePerGas}`,e}_errorMsg(e){return l.errorMsg(this,e)}}r.FeeMarketEIP1559Transaction=d}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/eip1559Transaction.js"}],[7910,{"../classes/semver":7895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t)=>new n(e,t).minor}}},{package:"semver",file:"node_modules/semver/functions/minor.js"}],[7911,{"./compare":7901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>0!==n(e,t,r)}}},{package:"semver",file:"node_modules/semver/functions/neq.js"}],[7912,{"../classes/semver":7895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}}}},{package:"semver",file:"node_modules/semver/functions/parse.js"}],[7913,{"../classes/semver":7895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t)=>new n(e,t).patch}}},{package:"semver",file:"node_modules/semver/functions/patch.js"}],[7914,{"./parse":7912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./parse");t.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}}}},{package:"semver",file:"node_modules/semver/functions/prerelease.js"}],[7915,{"./compare":7901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>n(t,e,r)}}},{package:"semver",file:"node_modules/semver/functions/rcompare.js"}],[7916,{"./compare-build":7899},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare-build");t.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))}}},{package:"semver",file:"node_modules/semver/functions/rsort.js"}],[7917,{"../classes/range":7894},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/range");t.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}}}},{package:"semver",file:"node_modules/semver/functions/satisfies.js"}],[7918,{"./compare-build":7899},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare-build");t.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))}}},{package:"semver",file:"node_modules/semver/functions/sort.js"}],[7919,{"./parse":7912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./parse");t.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}}}},{package:"semver",file:"node_modules/semver/functions/valid.js"}],[792,{"./baseTransaction.js":784,"./capabilities/eip2718.js":786,"./capabilities/eip2930.js":787,"./capabilities/legacy.js":789,"./types.js":799,"./util.js":800,"@ethereumjs/rlp":783,"@ethereumjs/util":817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AccessListEIP2930Transaction=void 0;const n=e("@ethereumjs/rlp"),i=e("@ethereumjs/util"),o=e("./baseTransaction.js"),a=e("./capabilities/eip2718.js"),s=e("./capabilities/eip2930.js"),u=e("./capabilities/legacy.js"),l=e("./types.js"),c=e("./util.js");class f extends o.BaseTransaction{constructor(e,t={}){super({...e,type:l.TransactionType.AccessListEIP2930},t);const{chainId:r,accessList:n,gasPrice:s}=e;if(this.common=this._getCommon(t.common,r),this.chainId=this.common.chainId(),!this.common.isActivatedEIP(2930))throw new Error("EIP-2930 not enabled on Common");this.activeCapabilities=this.activeCapabilities.concat([2718,2930]);const f=c.AccessLists.getAccessListData(n??[]);if(this.accessList=f.accessList,this.AccessListJSON=f.AccessListJSON,c.AccessLists.verifyAccessList(this.accessList),this.gasPrice=(0,i.bytesToBigInt)((0,i.toBytes)(s)),this._validateCannotExceedMaxInteger({gasPrice:this.gasPrice}),o.BaseTransaction._validateNotArray(e),this.gasPrice*this.gasLimit>i.MAX_INTEGER){const e=this._errorMsg("gasLimit * gasPrice cannot exceed MAX_INTEGER");throw new Error(e)}a.validateYParity(this),u.validateHighS(this);(t?.freeze??!0)&&Object.freeze(this)}static fromTxData(e,t={}){return new f(e,t)}static fromSerializedTx(e,t={}){if(!1===(0,i.equalsBytes)(e.subarray(0,1),(0,c.txTypeBytes)(l.TransactionType.AccessListEIP2930)))throw new Error(`Invalid serialized tx input: not an EIP-2930 transaction (wrong tx type, expected: ${l.TransactionType.AccessListEIP2930}, received: ${(0,i.bytesToHex)(e.subarray(0,1))}`);const r=n.RLP.decode(Uint8Array.from(e.subarray(1)));if(!Array.isArray(r))throw new Error("Invalid serialized tx input: must be array");return f.fromValuesArray(r,t)}static fromValuesArray(e,t={}){if(8!==e.length&&11!==e.length)throw new Error("Invalid EIP-2930 transaction. Only expecting 8 values (for unsigned tx) or 11 values (for signed tx).");const[r,n,o,a,s,u,l,c,d,h,p]=e;this._validateNotArray({chainId:r,v:d}),(0,i.validateNoLeadingZeroes)({nonce:n,gasPrice:o,gasLimit:a,value:u,v:d,r:h,s:p});return new f({chainId:(0,i.bytesToBigInt)(r),nonce:n,gasPrice:o,gasLimit:a,to:s,value:u,data:l,accessList:c??[],v:d!==undefined?(0,i.bytesToBigInt)(d):undefined,r:h,s:p},t)}getEffectivePriorityFee(e){return u.getEffectivePriorityFee(this.gasPrice,e)}getDataFee(){return s.getDataFee(this)}getUpfrontCost(){return this.gasLimit*this.gasPrice+this.value}raw(){return[(0,i.bigIntToUnpaddedBytes)(this.chainId),(0,i.bigIntToUnpaddedBytes)(this.nonce),(0,i.bigIntToUnpaddedBytes)(this.gasPrice),(0,i.bigIntToUnpaddedBytes)(this.gasLimit),this.to!==undefined?this.to.bytes:new Uint8Array(0),(0,i.bigIntToUnpaddedBytes)(this.value),this.data,this.accessList,this.v!==undefined?(0,i.bigIntToUnpaddedBytes)(this.v):new Uint8Array(0),this.r!==undefined?(0,i.bigIntToUnpaddedBytes)(this.r):new Uint8Array(0),this.s!==undefined?(0,i.bigIntToUnpaddedBytes)(this.s):new Uint8Array(0)]}serialize(){return a.serialize(this)}getMessageToSign(){return a.serialize(this,this.raw().slice(0,8))}getHashedMessageToSign(){return a.getHashedMessageToSign(this)}hash(){return u.hash(this)}getMessageToVerifySignature(){return this.getHashedMessageToSign()}getSenderPublicKey(){return u.getSenderPublicKey(this)}addSignature(e,t,r,n=!1){t=(0,i.toBytes)(t),r=(0,i.toBytes)(r);const o={...this.txOptions,common:this.common};return f.fromTxData({chainId:this.chainId,nonce:this.nonce,gasPrice:this.gasPrice,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,accessList:this.accessList,v:n?e-i.BIGINT_27:e,r:(0,i.bytesToBigInt)(t),s:(0,i.bytesToBigInt)(r)},o)}toJSON(){const e=c.AccessLists.getAccessListJSON(this.accessList);return{...super.toJSON(),chainId:(0,i.bigIntToHex)(this.chainId),gasPrice:(0,i.bigIntToHex)(this.gasPrice),accessList:e}}errorStr(){let e=this._getSharedErrorPostfix();return e+=` gasPrice=${this.gasPrice} accessListCount=${this.accessList?.length??0}`,e}_errorMsg(e){return u.errorMsg(this,e)}}r.AccessListEIP2930Transaction=f}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/eip2930Transaction.js"}],[7920,{"./classes/comparator":7893,"./classes/range":7894,"./classes/semver":7895,"./functions/clean":7896,"./functions/cmp":7897,"./functions/coerce":7898,"./functions/compare":7901,"./functions/compare-build":7899,"./functions/compare-loose":7900,"./functions/diff":7902,"./functions/eq":7903,"./functions/gt":7904,"./functions/gte":7905,"./functions/inc":7906,"./functions/lt":7907,"./functions/lte":7908,"./functions/major":7909,"./functions/minor":7910,"./functions/neq":7911,"./functions/parse":7912,"./functions/patch":7913,"./functions/prerelease":7914,"./functions/rcompare":7915,"./functions/rsort":7916,"./functions/satisfies":7917,"./functions/sort":7918,"./functions/valid":7919,"./internal/constants":7921,"./internal/identifiers":7923,"./internal/re":7926,"./ranges/gtr":7927,"./ranges/intersects":7928,"./ranges/ltr":7929,"./ranges/max-satisfying":7930,"./ranges/min-satisfying":7931,"./ranges/min-version":7932,"./ranges/outside":7933,"./ranges/simplify":7934,"./ranges/subset":7935,"./ranges/to-comparators":7936,"./ranges/valid":7937},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./internal/re"),i=e("./internal/constants"),o=e("./classes/semver"),a=e("./internal/identifiers"),s=e("./functions/parse"),u=e("./functions/valid"),l=e("./functions/clean"),c=e("./functions/inc"),f=e("./functions/diff"),d=e("./functions/major"),h=e("./functions/minor"),p=e("./functions/patch"),b=e("./functions/prerelease"),m=e("./functions/compare"),g=e("./functions/rcompare"),y=e("./functions/compare-loose"),v=e("./functions/compare-build"),w=e("./functions/sort"),_=e("./functions/rsort"),E=e("./functions/gt"),j=e("./functions/lt"),S=e("./functions/eq"),T=e("./functions/neq"),x=e("./functions/gte"),O=e("./functions/lte"),P=e("./functions/cmp"),k=e("./functions/coerce"),A=e("./classes/comparator"),I=e("./classes/range"),R=e("./functions/satisfies"),M=e("./ranges/to-comparators"),L=e("./ranges/max-satisfying"),C=e("./ranges/min-satisfying"),F=e("./ranges/min-version"),N=e("./ranges/valid"),B=e("./ranges/outside"),D=e("./ranges/gtr"),U=e("./ranges/ltr"),H=e("./ranges/intersects"),$=e("./ranges/simplify"),G=e("./ranges/subset");t.exports={parse:s,valid:u,clean:l,inc:c,diff:f,major:d,minor:h,patch:p,prerelease:b,compare:m,rcompare:g,compareLoose:y,compareBuild:v,sort:w,rsort:_,gt:E,lt:j,eq:S,neq:T,gte:x,lte:O,cmp:P,coerce:k,Comparator:A,Range:I,satisfies:R,toComparators:M,maxSatisfying:L,minSatisfying:C,minVersion:F,validRange:N,outside:B,gtr:D,ltr:U,intersects:H,simplifyRange:$,subset:G,SemVer:o,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}}}},{package:"semver",file:"node_modules/semver/index.js"}],[7921,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}}},{package:"semver",file:"node_modules/semver/internal/constants.js"}],[7922,{_process:7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){const r=("object"==typeof e&&e.env,()=>{});t.exports=r}).call(this)}).call(this,e("_process"))}}},{package:"semver",file:"node_modules/semver/internal/debug.js"}],[7923,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=/^[0-9]+$/,i=(e,t)=>{if("number"==typeof e&&"number"==typeof t)return e===t?0:e<t?-1:1;const r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1};t.exports={compareIdentifiers:i,rcompareIdentifiers:(e,t)=>i(t,e)}}}},{package:"semver",file:"node_modules/semver/internal/identifiers.js"}],[7924,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return t===undefined?undefined:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==undefined){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}}}},{package:"semver",file:"node_modules/semver/internal/lrucache.js"}],[7925,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=Object.freeze({loose:!0}),i=Object.freeze({});t.exports=e=>e?"object"!=typeof e?n:e:i}}},{package:"semver",file:"node_modules/semver/internal/parse-options.js"}],[7926,{"./constants":7921,"./debug":7922},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:o}=e("./constants"),a=e("./debug"),s=(r=t.exports={}).re=[],u=r.safeRe=[],l=r.src=[],c=r.safeSrc=[],f=r.t={};let d=0;const h="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",o],[h,i]],b=(e,t,r)=>{const n=(e=>{for(const[t,r]of p)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),i=d++;a(e,i,t),f[e]=i,l[i]=t,c[i]=n,s[i]=new RegExp(t,r?"g":undefined),u[i]=new RegExp(n,r?"g":undefined)};b("NUMERICIDENTIFIER","0|[1-9]\\d*"),b("NUMERICIDENTIFIERLOOSE","\\d+"),b("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),b("MAINVERSION",`(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})`),b("MAINVERSIONLOOSE",`(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})`),b("PRERELEASEIDENTIFIER",`(?:${l[f.NONNUMERICIDENTIFIER]}|${l[f.NUMERICIDENTIFIER]})`),b("PRERELEASEIDENTIFIERLOOSE",`(?:${l[f.NONNUMERICIDENTIFIER]}|${l[f.NUMERICIDENTIFIERLOOSE]})`),b("PRERELEASE",`(?:-(${l[f.PRERELEASEIDENTIFIER]}(?:\\.${l[f.PRERELEASEIDENTIFIER]})*))`),b("PRERELEASELOOSE",`(?:-?(${l[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[f.PRERELEASEIDENTIFIERLOOSE]})*))`),b("BUILDIDENTIFIER",`${h}+`),b("BUILD",`(?:\\+(${l[f.BUILDIDENTIFIER]}(?:\\.${l[f.BUILDIDENTIFIER]})*))`),b("FULLPLAIN",`v?${l[f.MAINVERSION]}${l[f.PRERELEASE]}?${l[f.BUILD]}?`),b("FULL",`^${l[f.FULLPLAIN]}$`),b("LOOSEPLAIN",`[v=\\s]*${l[f.MAINVERSIONLOOSE]}${l[f.PRERELEASELOOSE]}?${l[f.BUILD]}?`),b("LOOSE",`^${l[f.LOOSEPLAIN]}$`),b("GTLT","((?:<|>)?=?)"),b("XRANGEIDENTIFIERLOOSE",`${l[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),b("XRANGEIDENTIFIER",`${l[f.NUMERICIDENTIFIER]}|x|X|\\*`),b("XRANGEPLAIN",`[v=\\s]*(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:${l[f.PRERELEASE]})?${l[f.BUILD]}?)?)?`),b("XRANGEPLAINLOOSE",`[v=\\s]*(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:${l[f.PRERELEASELOOSE]})?${l[f.BUILD]}?)?)?`),b("XRANGE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAIN]}$`),b("XRANGELOOSE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAINLOOSE]}$`),b("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),b("COERCE",`${l[f.COERCEPLAIN]}(?:$|[^\\d])`),b("COERCEFULL",l[f.COERCEPLAIN]+`(?:${l[f.PRERELEASE]})?`+`(?:${l[f.BUILD]})?(?:$|[^\\d])`),b("COERCERTL",l[f.COERCE],!0),b("COERCERTLFULL",l[f.COERCEFULL],!0),b("LONETILDE","(?:~>?)"),b("TILDETRIM",`(\\s*)${l[f.LONETILDE]}\\s+`,!0),r.tildeTrimReplace="$1~",b("TILDE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAIN]}$`),b("TILDELOOSE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAINLOOSE]}$`),b("LONECARET","(?:\\^)"),b("CARETTRIM",`(\\s*)${l[f.LONECARET]}\\s+`,!0),r.caretTrimReplace="$1^",b("CARET",`^${l[f.LONECARET]}${l[f.XRANGEPLAIN]}$`),b("CARETLOOSE",`^${l[f.LONECARET]}${l[f.XRANGEPLAINLOOSE]}$`),b("COMPARATORLOOSE",`^${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]})$|^$`),b("COMPARATOR",`^${l[f.GTLT]}\\s*(${l[f.FULLPLAIN]})$|^$`),b("COMPARATORTRIM",`(\\s*)${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]}|${l[f.XRANGEPLAIN]})`,!0),r.comparatorTrimReplace="$1$2$3",b("HYPHENRANGE",`^\\s*(${l[f.XRANGEPLAIN]})\\s+-\\s+(${l[f.XRANGEPLAIN]})\\s*$`),b("HYPHENRANGELOOSE",`^\\s*(${l[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[f.XRANGEPLAINLOOSE]})\\s*$`),b("STAR","(<|>)?=?\\s*\\*"),b("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),b("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}},{package:"semver",file:"node_modules/semver/internal/re.js"}],[7927,{"./outside":7933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./outside");t.exports=(e,t,r)=>n(e,t,">",r)}}},{package:"semver",file:"node_modules/semver/ranges/gtr.js"}],[7928,{"../classes/range":7894},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/range");t.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))}}},{package:"semver",file:"node_modules/semver/ranges/intersects.js"}],[7929,{"./outside":7933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./outside");t.exports=(e,t,r)=>n(e,t,"<",r)}}},{package:"semver",file:"node_modules/semver/ranges/ltr.js"}],[793,{"./baseTransaction.js":784,"./capabilities/eip1559.js":785,"./capabilities/eip2718.js":786,"./capabilities/eip2930.js":787,"./capabilities/legacy.js":789,"./constants.js":790,"./types.js":799,"./util.js":800,"@ethereumjs/rlp":783,"@ethereumjs/util":817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BlobEIP4844Transaction=void 0;const n=e("@ethereumjs/rlp"),i=e("@ethereumjs/util"),o=e("./baseTransaction.js"),a=e("./capabilities/eip1559.js"),s=e("./capabilities/eip2718.js"),u=e("./capabilities/eip2930.js"),l=e("./capabilities/legacy.js"),c=e("./constants.js"),f=e("./types.js"),d=e("./util.js");class h extends o.BaseTransaction{constructor(e,t={}){super({...e,type:f.TransactionType.BlobEIP4844},t);const{chainId:r,accessList:n,maxFeePerGas:a,maxPriorityFeePerGas:u,maxFeePerBlobGas:h}=e;if(this.common=this._getCommon(t.common,r),this.chainId=this.common.chainId(),!this.common.isActivatedEIP(1559))throw new Error("EIP-1559 not enabled on Common");if(!this.common.isActivatedEIP(4844))throw new Error("EIP-4844 not enabled on Common");this.activeCapabilities=this.activeCapabilities.concat([1559,2718,2930]);const p=d.AccessLists.getAccessListData(n??[]);if(this.accessList=p.accessList,this.AccessListJSON=p.AccessListJSON,d.AccessLists.verifyAccessList(this.accessList),this.maxFeePerGas=(0,i.bytesToBigInt)((0,i.toBytes)(a)),this.maxPriorityFeePerGas=(0,i.bytesToBigInt)((0,i.toBytes)(u)),this._validateCannotExceedMaxInteger({maxFeePerGas:this.maxFeePerGas,maxPriorityFeePerGas:this.maxPriorityFeePerGas}),o.BaseTransaction._validateNotArray(e),this.gasLimit*this.maxFeePerGas>i.MAX_INTEGER){const e=this._errorMsg("gasLimit * maxFeePerGas cannot exceed MAX_INTEGER (2^256-1)");throw new Error(e)}if(this.maxFeePerGas<this.maxPriorityFeePerGas){const e=this._errorMsg("maxFeePerGas cannot be less than maxPriorityFeePerGas (The total must be the larger of the two)");throw new Error(e)}this.maxFeePerBlobGas=(0,i.bytesToBigInt)((0,i.toBytes)(""===(h??"")?"0x":h)),this.blobVersionedHashes=(e.blobVersionedHashes??[]).map(e=>(0,i.toBytes)(e)),s.validateYParity(this),l.validateHighS(this);for(const e of this.blobVersionedHashes){if(32!==e.length){const e=this._errorMsg("versioned hash is invalid length");throw new Error(e)}if(BigInt(e[0])!==this.common.param("sharding","blobCommitmentVersionKzg")){const e=this._errorMsg("versioned hash does not start with KZG commitment version");throw new Error(e)}}if(this.blobVersionedHashes.length>c.LIMIT_BLOBS_PER_TX){const e=this._errorMsg(`tx can contain at most ${c.LIMIT_BLOBS_PER_TX} blobs`);throw new Error(e)}if(0===this.blobVersionedHashes.length){const e=this._errorMsg("tx should contain at least one blob");throw new Error(e)}if(this.to===undefined){const e=this._errorMsg('tx should have a "to" field and cannot be used to create contracts');throw new Error(e)}this.blobs=e.blobs?.map(e=>(0,i.toBytes)(e)),this.kzgCommitments=e.kzgCommitments?.map(e=>(0,i.toBytes)(e)),this.kzgProofs=e.kzgProofs?.map(e=>(0,i.toBytes)(e));(t?.freeze??!0)&&Object.freeze(this)}static fromTxData(e,t){if(t?.common?.customCrypto?.kzg===undefined)throw new Error("A common object with customCrypto.kzg initialized required to instantiate a 4844 blob tx");const r=t.common.customCrypto.kzg;if(e.blobsData!==undefined){if(e.blobs!==undefined)throw new Error("cannot have both raw blobs data and encoded blobs in constructor");if(e.kzgCommitments!==undefined)throw new Error("cannot have both raw blobs data and KZG commitments in constructor");if(e.blobVersionedHashes!==undefined)throw new Error("cannot have both raw blobs data and versioned hashes in constructor");if(e.kzgProofs!==undefined)throw new Error("cannot have both raw blobs data and KZG proofs in constructor");e.blobs=(0,i.getBlobs)(e.blobsData.reduce((e,t)=>e+t)),e.kzgCommitments=(0,i.blobsToCommitments)(r,e.blobs),e.blobVersionedHashes=(0,i.commitmentsToVersionedHashes)(e.kzgCommitments),e.kzgProofs=(0,i.blobsToProofs)(r,e.blobs,e.kzgCommitments)}return new h(e,t)}getEffectivePriorityFee(e){return a.getEffectivePriorityFee(this,e)}static minimalFromNetworkWrapper(e,t){if(t?.common?.customCrypto?.kzg===undefined)throw new Error("A common object with customCrypto.kzg initialized required to instantiate a 4844 blob tx");return h.fromTxData({...e,blobs:undefined,kzgCommitments:undefined,kzgProofs:undefined},t)}static fromSerializedTx(e,t={}){if(t.common?.customCrypto?.kzg===undefined)throw new Error("A common object with customCrypto.kzg initialized required to instantiate a 4844 blob tx");if(!1===(0,i.equalsBytes)(e.subarray(0,1),(0,d.txTypeBytes)(f.TransactionType.BlobEIP4844)))throw new Error(`Invalid serialized tx input: not an EIP-4844 transaction (wrong tx type, expected: ${f.TransactionType.BlobEIP4844}, received: ${(0,i.bytesToHex)(e.subarray(0,1))}`);const r=n.RLP.decode(e.subarray(1));if(!Array.isArray(r))throw new Error("Invalid serialized tx input: must be array");return h.fromValuesArray(r,t)}static fromValuesArray(e,t={}){if(t.common?.customCrypto?.kzg===undefined)throw new Error("A common object with customCrypto.kzg initialized required to instantiate a 4844 blob tx");if(11!==e.length&&14!==e.length)throw new Error("Invalid EIP-4844 transaction. Only expecting 11 values (for unsigned tx) or 14 values (for signed tx).");const[r,n,o,a,s,u,l,c,f,d,p,b,m,g]=e;return this._validateNotArray({chainId:r,v:b}),(0,i.validateNoLeadingZeroes)({nonce:n,maxPriorityFeePerGas:o,maxFeePerGas:a,gasLimit:s,value:l,maxFeePerBlobGas:d,v:b,r:m,s:g}),new h({chainId:(0,i.bytesToBigInt)(r),nonce:n,maxPriorityFeePerGas:o,maxFeePerGas:a,gasLimit:s,to:u,value:l,data:c,accessList:f??[],maxFeePerBlobGas:d,blobVersionedHashes:p,v:b!==undefined?(0,i.bytesToBigInt)(b):undefined,r:m,s:g},t)}static fromSerializedBlobTxNetworkWrapper(e,t){if(!t||!t.common)throw new Error("common instance required to validate versioned hashes");if(t.common?.customCrypto?.kzg===undefined)throw new Error("A common object with customCrypto.kzg initialized required to instantiate a 4844 blob tx");if(!1===(0,i.equalsBytes)(e.subarray(0,1),(0,d.txTypeBytes)(f.TransactionType.BlobEIP4844)))throw new Error(`Invalid serialized tx input: not an EIP-4844 transaction (wrong tx type, expected: ${f.TransactionType.BlobEIP4844}, received: ${(0,i.bytesToHex)(e.subarray(0,1))}`);const r=n.RLP.decode(e.subarray(1));if(4!==r.length)throw Error("Expected 4 values in the deserialized network transaction");const[o,a,s,u]=r,l=h.fromValuesArray(o,{...t,freeze:!1});if(l.to===undefined)throw Error("BlobEIP4844Transaction can not be send without a valid `to`");const c=Number(t.common.param("sharding","blobCommitmentVersionKzg"));((e,t,r,n,o,a)=>{if(e.length!==t.length||t.length!==r.length)throw new Error("Number of blobVersionedHashes, blobs, and commitments not all equal");if(0===e.length)throw new Error("Invalid transaction with empty blobs");let s;try{s=a.verifyBlobKzgProofBatch(t,r,n)}catch(e){throw new Error(`KZG verification of blobs fail with error=${e}`)}if(!s)throw new Error("KZG proof cannot be verified from blobs/commitments");for(let t=0;t<e.length;t++){const n=(0,i.computeVersionedHash)(r[t],o);if(!(0,i.equalsBytes)(n,e[t]))throw new Error(`commitment for blob at index ${t} does not match versionedHash`)}})(l.blobVersionedHashes,a,s,u,c,t.common.customCrypto.kzg),l.blobs=a,l.kzgCommitments=s,l.kzgProofs=u;return(t?.freeze??!0)&&Object.freeze(l),l}getDataFee(){return u.getDataFee(this)}getUpfrontCost(e=i.BIGINT_0){return a.getUpfrontCost(this,e)}raw(){return[(0,i.bigIntToUnpaddedBytes)(this.chainId),(0,i.bigIntToUnpaddedBytes)(this.nonce),(0,i.bigIntToUnpaddedBytes)(this.maxPriorityFeePerGas),(0,i.bigIntToUnpaddedBytes)(this.maxFeePerGas),(0,i.bigIntToUnpaddedBytes)(this.gasLimit),this.to!==undefined?this.to.bytes:new Uint8Array(0),(0,i.bigIntToUnpaddedBytes)(this.value),this.data,this.accessList,(0,i.bigIntToUnpaddedBytes)(this.maxFeePerBlobGas),this.blobVersionedHashes,this.v!==undefined?(0,i.bigIntToUnpaddedBytes)(this.v):new Uint8Array(0),this.r!==undefined?(0,i.bigIntToUnpaddedBytes)(this.r):new Uint8Array(0),this.s!==undefined?(0,i.bigIntToUnpaddedBytes)(this.s):new Uint8Array(0)]}serialize(){return s.serialize(this)}serializeNetworkWrapper(){if(this.blobs===undefined||this.kzgCommitments===undefined||this.kzgProofs===undefined)throw new Error("cannot serialize network wrapper without blobs, KZG commitments and KZG proofs provided");return s.serialize(this,[this.raw(),this.blobs,this.kzgCommitments,this.kzgProofs])}getMessageToSign(){return s.serialize(this,this.raw().slice(0,11))}getHashedMessageToSign(){return s.getHashedMessageToSign(this)}hash(){return l.hash(this)}getMessageToVerifySignature(){return this.getHashedMessageToSign()}getSenderPublicKey(){return l.getSenderPublicKey(this)}static networkWrapperToJson(e,t){const r=this.fromSerializedBlobTxNetworkWrapper(e,t),n=d.AccessLists.getAccessListJSON(r.accessList);return{...r.toJSON(),chainId:(0,i.bigIntToHex)(r.chainId),maxPriorityFeePerGas:(0,i.bigIntToHex)(r.maxPriorityFeePerGas),maxFeePerGas:(0,i.bigIntToHex)(r.maxFeePerGas),accessList:n,maxFeePerBlobGas:(0,i.bigIntToHex)(r.maxFeePerBlobGas),blobVersionedHashes:r.blobVersionedHashes.map(e=>(0,i.bytesToHex)(e)),blobs:r.blobs.map(e=>(0,i.bytesToHex)(e)),kzgCommitments:r.kzgCommitments.map(e=>(0,i.bytesToHex)(e)),kzgProofs:r.kzgProofs.map(e=>(0,i.bytesToHex)(e))}}toJSON(){const e=d.AccessLists.getAccessListJSON(this.accessList);return{...super.toJSON(),chainId:(0,i.bigIntToHex)(this.chainId),maxPriorityFeePerGas:(0,i.bigIntToHex)(this.maxPriorityFeePerGas),maxFeePerGas:(0,i.bigIntToHex)(this.maxFeePerGas),accessList:e,maxFeePerBlobGas:(0,i.bigIntToHex)(this.maxFeePerBlobGas),blobVersionedHashes:this.blobVersionedHashes.map(e=>(0,i.bytesToHex)(e))}}addSignature(e,t,r,n=!1){t=(0,i.toBytes)(t),r=(0,i.toBytes)(r);const o={...this.txOptions,common:this.common};return h.fromTxData({chainId:this.chainId,nonce:this.nonce,maxPriorityFeePerGas:this.maxPriorityFeePerGas,maxFeePerGas:this.maxFeePerGas,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,accessList:this.accessList,v:n?e-i.BIGINT_27:e,r:(0,i.bytesToBigInt)(t),s:(0,i.bytesToBigInt)(r),maxFeePerBlobGas:this.maxFeePerBlobGas,blobVersionedHashes:this.blobVersionedHashes,blobs:this.blobs,kzgCommitments:this.kzgCommitments,kzgProofs:this.kzgProofs},o)}errorStr(){let e=this._getSharedErrorPostfix();return e+=` maxFeePerGas=${this.maxFeePerGas} maxPriorityFeePerGas=${this.maxPriorityFeePerGas}`,e}_errorMsg(e){return l.errorMsg(this,e)}numBlobs(){return this.blobVersionedHashes.length}}r.BlobEIP4844Transaction=h}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/eip4844Transaction.js"}],[7930,{"../classes/range":7894,"../classes/semver":7895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver"),i=e("../classes/range");t.exports=(e,t,r)=>{let o=null,a=null,s=null;try{s=new i(t,r)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(o&&-1!==a.compare(e)||(o=e,a=new n(o,r)))}),o}}}},{package:"semver",file:"node_modules/semver/ranges/max-satisfying.js"}],[7931,{"../classes/range":7894,"../classes/semver":7895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver"),i=e("../classes/range");t.exports=(e,t,r)=>{let o=null,a=null,s=null;try{s=new i(t,r)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(o&&1!==a.compare(e)||(o=e,a=new n(o,r)))}),o}}}},{package:"semver",file:"node_modules/semver/ranges/min-satisfying.js"}],[7932,{"../classes/range":7894,"../classes/semver":7895,"../functions/gt":7904},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver"),i=e("../classes/range"),o=e("../functions/gt");t.exports=(e,t)=>{e=new i(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const i=e.set[t];let a=null;i.forEach(e=>{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!o(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),!a||r&&!o(r,a)||(r=a)}return r&&e.test(r)?r:null}}}},{package:"semver",file:"node_modules/semver/ranges/min-version.js"}],[7933,{"../classes/comparator":7893,"../classes/range":7894,"../classes/semver":7895,"../functions/gt":7904,"../functions/gte":7905,"../functions/lt":7907,"../functions/lte":7908,"../functions/satisfies":7917},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver"),i=e("../classes/comparator"),{ANY:o}=i,a=e("../classes/range"),s=e("../functions/satisfies"),u=e("../functions/gt"),l=e("../functions/lt"),c=e("../functions/lte"),f=e("../functions/gte");t.exports=(e,t,r,d)=>{let h,p,b,m,g;switch(e=new n(e,d),t=new a(t,d),r){case">":h=u,p=c,b=l,m=">",g=">=";break;case"<":h=l,p=f,b=u,m="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let r=0;r<t.set.length;++r){const n=t.set[r];let a=null,s=null;if(n.forEach(e=>{e.semver===o&&(e=new i(">=0.0.0")),a=a||e,s=s||e,h(e.semver,a.semver,d)?a=e:b(e.semver,s.semver,d)&&(s=e)}),a.operator===m||a.operator===g)return!1;if((!s.operator||s.operator===m)&&p(e,s.semver))return!1;if(s.operator===g&&b(e,s.semver))return!1}return!0}}}},{package:"semver",file:"node_modules/semver/ranges/outside.js"}],[7934,{"../functions/compare.js":7901,"../functions/satisfies.js":7917},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../functions/satisfies.js"),i=e("../functions/compare.js");t.exports=(e,t,r)=>{const o=[];let a=null,s=null;const u=e.sort((e,t)=>i(e,t,r));for(const e of u){n(e,t,r)?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null)}a&&o.push([a,null]);const l=[];for(const[e,t]of o)e===t?l.push(e):t||e!==u[0]?t?e===u[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const c=l.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return c.length<f.length?c:t}}}},{package:"semver",file:"node_modules/semver/ranges/simplify.js"}],[7935,{"../classes/comparator.js":7893,"../classes/range.js":7894,"../functions/compare.js":7901,"../functions/satisfies.js":7917},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/range.js"),i=e("../classes/comparator.js"),{ANY:o}=i,a=e("../functions/satisfies.js"),s=e("../functions/compare.js"),u=[new i(">=0.0.0-0")],l=[new i(">=0.0.0")],c=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?u:l}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=l}const n=new Set;let i,c,h,p,b,m,g;for(const t of e)">"===t.operator||">="===t.operator?i=f(i,t,r):"<"===t.operator||"<="===t.operator?c=d(c,t,r):n.add(t.semver);if(n.size>1)return null;if(i&&c){if(h=s(i.semver,c.semver,r),h>0)return null;if(0===h&&(">="!==i.operator||"<="!==c.operator))return null}for(const e of n){if(i&&!a(e,String(i),r))return null;if(c&&!a(e,String(c),r))return null;for(const n of t)if(!a(e,String(n),r))return!1;return!0}let y=!(!c||r.includePrerelease||!c.semver.prerelease.length)&&c.semver,v=!(!i||r.includePrerelease||!i.semver.prerelease.length)&&i.semver;y&&1===y.prerelease.length&&"<"===c.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,i)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(p=f(i,e,r),p===e&&p!==i)return!1}else if(">="===i.operator&&!a(i.semver,String(e),r))return!1;if(c)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(b=d(c,e,r),b===e&&b!==c)return!1}else if("<="===c.operator&&!a(c.semver,String(e),r))return!1;if(!e.operator&&(c||i)&&0!==h)return!1}return!(i&&m&&!c&&0!==h)&&(!(c&&g&&!i&&0!==h)&&(!v&&!y))},f=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};t.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;e:for(const n of e.set){for(const e of t.set){const t=c(n,e,r);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}}}},{package:"semver",file:"node_modules/semver/ranges/subset.js"}],[7936,{"../classes/range":7894},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/range");t.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))}}},{package:"semver",file:"node_modules/semver/ranges/to-comparators.js"}],[7937,{"../classes/range":7894},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/range");t.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}}}},{package:"semver",file:"node_modules/semver/ranges/valid.js"}],[7938,{"define-data-property":6388,"es-errors/type":6430,"get-intrinsic":6584,gopd:6598,"has-property-descriptors":6788},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic"),i=e("define-data-property"),o=e("has-property-descriptors")(),a=e("gopd"),s=e("es-errors/type"),u=n("%Math.floor%");t.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,l=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(l=!1)}return(n||l||!r)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}}}},{package:"string.prototype.matchall>call-bind>set-function-length",file:"node_modules/set-function-length/index.js"}],[794,{"./baseTransaction.js":784,"./capabilities/eip1559.js":785,"./capabilities/eip2718.js":786,"./capabilities/eip7702.js":788,"./capabilities/legacy.js":789,"./types.js":799,"./util.js":800,"@ethereumjs/rlp":783,"@ethereumjs/util":817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EOACodeEIP7702Transaction=void 0;const n=e("@ethereumjs/rlp"),i=e("@ethereumjs/util"),o=e("./baseTransaction.js"),a=e("./capabilities/eip1559.js"),s=e("./capabilities/eip2718.js"),u=e("./capabilities/eip7702.js"),l=e("./capabilities/legacy.js"),c=e("./types.js"),f=e("./util.js");class d extends o.BaseTransaction{constructor(e,t={}){super({...e,type:c.TransactionType.EOACodeEIP7702},t);const{chainId:r,accessList:n,authorizationList:a,maxFeePerGas:u,maxPriorityFeePerGas:d}=e;if(this.common=this._getCommon(t.common,r),this.chainId=this.common.chainId(),!this.common.isActivatedEIP(7702))throw new Error("EIP-7702 not enabled on Common");this.activeCapabilities=this.activeCapabilities.concat([1559,2718,2930,7702]);const h=f.AccessLists.getAccessListData(n??[]);this.accessList=h.accessList,this.AccessListJSON=h.AccessListJSON,f.AccessLists.verifyAccessList(this.accessList);const p=f.AuthorizationLists.getAuthorizationListData(a??[]);if(this.authorizationList=p.authorizationList,this.AuthorizationListJSON=p.AuthorizationListJSON,f.AuthorizationLists.verifyAuthorizationList(this.authorizationList),this.maxFeePerGas=(0,i.bytesToBigInt)((0,i.toBytes)(u)),this.maxPriorityFeePerGas=(0,i.bytesToBigInt)((0,i.toBytes)(d)),this._validateCannotExceedMaxInteger({maxFeePerGas:this.maxFeePerGas,maxPriorityFeePerGas:this.maxPriorityFeePerGas}),o.BaseTransaction._validateNotArray(e),this.gasLimit*this.maxFeePerGas>i.MAX_INTEGER){const e=this._errorMsg("gasLimit * maxFeePerGas cannot exceed MAX_INTEGER (2^256-1)");throw new Error(e)}if(this.maxFeePerGas<this.maxPriorityFeePerGas){const e=this._errorMsg("maxFeePerGas cannot be less than maxPriorityFeePerGas (The total must be the larger of the two)");throw new Error(e)}s.validateYParity(this),l.validateHighS(this);(t?.freeze??!0)&&Object.freeze(this)}static fromTxData(e,t={}){return new d(e,t)}static fromSerializedTx(e,t={}){if(!1===(0,i.equalsBytes)(e.subarray(0,1),(0,f.txTypeBytes)(c.TransactionType.EOACodeEIP7702)))throw new Error(`Invalid serialized tx input: not an EIP-7702 transaction (wrong tx type, expected: ${c.TransactionType.EOACodeEIP7702}, received: ${(0,i.bytesToHex)(e.subarray(0,1))}`);const r=n.RLP.decode(e.subarray(1));if(!Array.isArray(r))throw new Error("Invalid serialized tx input: must be array");return d.fromValuesArray(r,t)}static fromValuesArray(e,t={}){if(10!==e.length&&13!==e.length)throw new Error("Invalid EIP-7702 transaction. Only expecting 10 values (for unsigned tx) or 13 values (for signed tx).");const[r,n,o,a,s,u,l,c,f,h,p,b,m]=e;return this._validateNotArray({chainId:r,v:p}),(0,i.validateNoLeadingZeroes)({nonce:n,maxPriorityFeePerGas:o,maxFeePerGas:a,gasLimit:s,value:l,v:p,r:b,s:m}),new d({chainId:(0,i.bytesToBigInt)(r),nonce:n,maxPriorityFeePerGas:o,maxFeePerGas:a,gasLimit:s,to:u,value:l,data:c,accessList:f??[],authorizationList:h??[],v:p!==undefined?(0,i.bytesToBigInt)(p):undefined,r:b,s:m},t)}getDataFee(){return u.getDataFee(this)}getEffectivePriorityFee(e){return a.getEffectivePriorityFee(this,e)}getUpfrontCost(e=i.BIGINT_0){return a.getUpfrontCost(this,e)}raw(){return[(0,i.bigIntToUnpaddedBytes)(this.chainId),(0,i.bigIntToUnpaddedBytes)(this.nonce),(0,i.bigIntToUnpaddedBytes)(this.maxPriorityFeePerGas),(0,i.bigIntToUnpaddedBytes)(this.maxFeePerGas),(0,i.bigIntToUnpaddedBytes)(this.gasLimit),this.to!==undefined?this.to.bytes:new Uint8Array(0),(0,i.bigIntToUnpaddedBytes)(this.value),this.data,this.accessList,this.authorizationList,this.v!==undefined?(0,i.bigIntToUnpaddedBytes)(this.v):new Uint8Array(0),this.r!==undefined?(0,i.bigIntToUnpaddedBytes)(this.r):new Uint8Array(0),this.s!==undefined?(0,i.bigIntToUnpaddedBytes)(this.s):new Uint8Array(0)]}serialize(){return s.serialize(this)}getMessageToSign(){return s.serialize(this,this.raw().slice(0,10))}getHashedMessageToSign(){return s.getHashedMessageToSign(this)}hash(){return l.hash(this)}getMessageToVerifySignature(){return this.getHashedMessageToSign()}getSenderPublicKey(){return l.getSenderPublicKey(this)}addSignature(e,t,r,n=!1){t=(0,i.toBytes)(t),r=(0,i.toBytes)(r);const o={...this.txOptions,common:this.common};return d.fromTxData({chainId:this.chainId,nonce:this.nonce,maxPriorityFeePerGas:this.maxPriorityFeePerGas,maxFeePerGas:this.maxFeePerGas,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,accessList:this.accessList,authorizationList:this.authorizationList,v:n?e-i.BIGINT_27:e,r:(0,i.bytesToBigInt)(t),s:(0,i.bytesToBigInt)(r)},o)}toJSON(){const e=f.AccessLists.getAccessListJSON(this.accessList);return{...super.toJSON(),chainId:(0,i.bigIntToHex)(this.chainId),maxPriorityFeePerGas:(0,i.bigIntToHex)(this.maxPriorityFeePerGas),maxFeePerGas:(0,i.bigIntToHex)(this.maxFeePerGas),accessList:e,authorizationList:this.AuthorizationListJSON}}errorStr(){let e=this._getSharedErrorPostfix();return e+=` maxFeePerGas=${this.maxFeePerGas} maxPriorityFeePerGas=${this.maxPriorityFeePerGas}`,e}_errorMsg(e){return l.errorMsg(this,e)}}r.EOACodeEIP7702Transaction=d}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/eip7702Transaction.js"}],[7940,{timers:6223},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){t.exports="function"==typeof e?e:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}}).call(this)}).call(this,e("timers").setImmediate)}}},{package:"eth-method-registry>@metamask/ethjs-query>promise-to-callback>set-immediate-shim",file:"node_modules/set-immediate-shim/index.js"}],[7941,{"safe-buffer":7886,"to-buffer":8010},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,i=e("to-buffer");function o(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){e=i(e,t||"utf8");for(var r=this._block,n=this._blockSize,o=e.length,a=this._len,s=0;s<o;){for(var u=a%n,l=Math.min(o-s,n-u),c=0;c<l;c++)r[u+c]=e[s+c];s+=l,(a+=l)%n===0&&this._update(r)}return this._len+=o,this},o.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=o}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/hash.js"}],[7942,{"./sha":7943,"./sha1":7944,"./sha224":7945,"./sha256":7946,"./sha384":7947,"./sha512":7948},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){var r=e.toLowerCase(),n=t.exports[r];if(!n)throw new Error(r+" is not supported (we accept pull requests)");return new n},t.exports.sha=e("./sha"),t.exports.sha1=e("./sha1"),t.exports.sha224=e("./sha224"),t.exports.sha256=e("./sha256"),t.exports.sha384=e("./sha384"),t.exports.sha512=e("./sha512")}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/index.js"}],[7943,{"./hash":7941,inherits:6823,"safe-buffer":7886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function f(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,u=0;u<16;++u)t[u]=e.readInt32BE(4*u);for(;u<80;++u)t[u]=t[u-3]^t[u-8]^t[u-14]^t[u-16];for(var d=0;d<80;++d){var h=~~(d/20),p=l(r)+f(h,n,i,o)+s+t[d]+a[h]|0;s=o,o=i,i=c(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},u.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha.js"}],[7944,{"./hash":7941,inherits:6823,"safe-buffer":7886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function l(e){return e<<1|e>>>31}function c(e){return e<<5|e>>>27}function f(e){return e<<30|e>>>2}function d(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,u=0;u<16;++u)t[u]=e.readInt32BE(4*u);for(;u<80;++u)t[u]=l(t[u-3]^t[u-8]^t[u-14]^t[u-16]);for(var h=0;h<80;++h){var p=~~(h/20),b=c(r)+d(p,n,i,o)+s+t[h]+a[p]|0;s=o,o=i,i=f(n),n=r,r=b}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},u.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha1.js"}],[7945,{"./hash":7941,"./sha256":7946,inherits:6823,"safe-buffer":7886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),i=e("./sha256"),o=e("./hash"),a=e("safe-buffer").Buffer,s=new Array(64);function u(){this.init(),this._w=s,o.call(this,64,56)}n(u,i),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha224.js"}],[7946,{"./hash":7941,inherits:6823,"safe-buffer":7886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function u(){this.init(),this._w=s,i.call(this,64,56)}function l(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function f(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function p(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}n(u,i),u.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},u.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,u=0|this._f,b=0|this._g,m=0|this._h,g=0;g<16;++g)t[g]=e.readInt32BE(4*g);for(;g<64;++g)t[g]=p(t[g-2])+t[g-7]+h(t[g-15])+t[g-16]|0;for(var y=0;y<64;++y){var v=m+d(s)+l(s,u,b)+a[y]+t[y]|0,w=f(r)+c(r,n,i)|0;m=b,b=u,u=s,s=o+v|0,o=i,i=n,n=r,r=v+w|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0,this._f=u+this._f|0,this._g=b+this._g|0,this._h=m+this._h|0},u.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha256.js"}],[7947,{"./hash":7941,"./sha512":7948,inherits:6823,"safe-buffer":7886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),i=e("./sha512"),o=e("./hash"),a=e("safe-buffer").Buffer,s=new Array(160);function u(){this.init(),this._w=s,o.call(this,128,112)}n(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha384.js"}],[7948,{"./hash":7941,inherits:6823,"safe-buffer":7886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function u(){this.init(),this._w=s,i.call(this,128,112)}function l(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function b(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function g(e,t){return e>>>0<t>>>0?1:0}n(u,i),u.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},u.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,u=0|this._fh,y=0|this._gh,v=0|this._hh,w=0|this._al,_=0|this._bl,E=0|this._cl,j=0|this._dl,S=0|this._el,T=0|this._fl,x=0|this._gl,O=0|this._hl,P=0;P<32;P+=2)t[P]=e.readInt32BE(4*P),t[P+1]=e.readInt32BE(4*P+4);for(;P<160;P+=2){var k=t[P-30],A=t[P-30+1],I=h(k,A),R=p(A,k),M=b(k=t[P-4],A=t[P-4+1]),L=m(A,k),C=t[P-14],F=t[P-14+1],N=t[P-32],B=t[P-32+1],D=R+F|0,U=I+C+g(D,R)|0;U=(U=U+M+g(D=D+L|0,L)|0)+N+g(D=D+B|0,B)|0,t[P]=U,t[P+1]=D}for(var H=0;H<160;H+=2){U=t[H],D=t[H+1];var $=c(r,n,i),G=c(w,_,E),W=f(r,w),z=f(w,r),q=d(s,S),V=d(S,s),K=a[H],Y=a[H+1],X=l(s,u,y),J=l(S,T,x),Z=O+V|0,Q=v+q+g(Z,O)|0;Q=(Q=(Q=Q+X+g(Z=Z+J|0,J)|0)+K+g(Z=Z+Y|0,Y)|0)+U+g(Z=Z+D|0,D)|0;var ee=z+G|0,te=W+$+g(ee,z)|0;v=y,O=x,y=u,x=T,u=s,T=S,s=o+Q+g(S=j+Z|0,j)|0,o=i,j=E,i=n,E=_,n=r,_=w,r=Q+te+g(w=Z+ee|0,Z)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+E|0,this._dl=this._dl+j|0,this._el=this._el+S|0,this._fl=this._fl+T|0,this._gl=this._gl+x|0,this._hl=this._hl+O|0,this._ah=this._ah+r+g(this._al,w)|0,this._bh=this._bh+n+g(this._bl,_)|0,this._ch=this._ch+i+g(this._cl,E)|0,this._dh=this._dh+o+g(this._dl,j)|0,this._eh=this._eh+s+g(this._el,S)|0,this._fh=this._fh+u+g(this._fl,T)|0,this._gh=this._gh+y+g(this._gl,x)|0,this._hh=this._hh+v+g(this._hl,O)|0},u.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha512.js"}],[7949,{"es-errors/type":6430,"object-inspect":7331},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("object-inspect"),i=e("es-errors/type"),o=function(e,t,r){for(var n,i=e;null!=(n=i.next);i=n)if(n.key===t)return i.next=n.next,r||(n.next=e.next,e.next=n),n};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+n(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return o(e,t,!0)}(e,t);return n&&r&&r===n&&(e=void undefined),!!n},get:function(t){return function(e,t){if(e){var r=o(e,t);return r&&r.value}undefined}(e,t)},has:function(t){return function(e,t){return!!e&&!!o(e,t)}(e,t)},set:function(t,r){e||(e={next:void undefined}),function(e,t,r){var n=o(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t}}}},{package:"string.prototype.matchall>side-channel>side-channel-list",file:"node_modules/side-channel-list/index.js"}],[795,{"@ethereumjs/util":817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.normalizeTxParams=void 0;const n=e("@ethereumjs/util");r.normalizeTxParams=e=>{const t=Object.assign({},e);return t.gasLimit=(0,n.toType)(t.gasLimit??t.gas,n.TypeOutput.BigInt),t.data=t.data===undefined?t.input:t.data,t.gasPrice=t.gasPrice!==undefined?BigInt(t.gasPrice):undefined,t.value=t.value!==undefined?BigInt(t.value):undefined,t.to=null!==t.to&&t.to!==undefined?(0,n.setLengthLeft)((0,n.toBytes)(t.to),20):null,t.v="0x0"===t.v?"0x":t.v,t.r="0x0"===t.r?"0x":t.r,t.s="0x0"===t.s?"0x":t.s,"0x"===t.v&&"0x"===t.r&&"0x"===t.s||(t.v=(0,n.toType)(t.v,n.TypeOutput.BigInt)),t}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/fromRpc.js"}],[7950,{"call-bound":6242,"es-errors/type":6430,"get-intrinsic":6584,"object-inspect":7331},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic"),i=e("call-bound"),o=e("object-inspect"),a=e("es-errors/type"),s=n("%Map%",!0),u=i("Map.prototype.get",!0),l=i("Map.prototype.set",!0),c=i("Map.prototype.has",!0),f=i("Map.prototype.delete",!0),d=i("Map.prototype.size",!0);t.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+o(e))},delete:function(t){if(e){var r=f(e,t);return 0===d(e)&&(e=void undefined),r}return!1},get:function(t){if(e)return u(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,r){e||(e=new s),l(e,t,r)}};return t}}}},{package:"string.prototype.matchall>side-channel>side-channel-map",file:"node_modules/side-channel-map/index.js"}],[7951,{"call-bound":6242,"es-errors/type":6430,"get-intrinsic":6584,"object-inspect":7331,"side-channel-map":7950},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic"),i=e("call-bound"),o=e("object-inspect"),a=e("side-channel-map"),s=e("es-errors/type"),u=n("%WeakMap%",!0),l=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),f=i("WeakMap.prototype.has",!0),d=i("WeakMap.prototype.delete",!0);t.exports=u?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+o(e))},delete:function(r){if(u&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(a&&t)return t.delete(r);return!1},get:function(r){return u&&r&&("object"==typeof r||"function"==typeof r)&&e?l(e,r):t&&t.get(r)},has:function(r){return u&&r&&("object"==typeof r||"function"==typeof r)&&e?f(e,r):!!t&&t.has(r)},set:function(r,n){u&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new u),c(e,r,n)):a&&(t||(t=a()),t.set(r,n))}};return r}:a}}},{package:"string.prototype.matchall>side-channel>side-channel-weakmap",file:"node_modules/side-channel-weakmap/index.js"}],[7952,{"es-errors/type":6430,"object-inspect":7331,"side-channel-list":7949,"side-channel-map":7950,"side-channel-weakmap":7951},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("es-errors/type"),i=e("object-inspect"),o=e("side-channel-list"),a=e("side-channel-map"),s=e("side-channel-weakmap")||a||o;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+i(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=s()),e.set(t,r)}};return t}}}},{package:"string.prototype.matchall>side-channel",file:"node_modules/side-channel/index.js"}],[7953,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=[{payable:!0,stateMutability:"payable",type:"fallback"},{constant:!0,inputs:[{name:"user",type:"address"},{name:"token",type:"address"}],name:"tokenBalance",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"users",type:"address[]"},{name:"tokens",type:"address[]"}],name:"balances",outputs:[{name:"",type:"uint256[]"}],payable:!1,stateMutability:"view",type:"function"}]}}},{package:"@metamask/assets-controllers>single-call-balance-checker-abi",file:"node_modules/single-call-balance-checker-abi/index.js"}],[7954,{"./ethersCompat":7955,"./types":7957,"./utils":7958,"@spruceid/siwe-parser":7960,"valid-url":8085},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.SiweMessage=void 0;const s=e("@spruceid/siwe-parser"),u=o(e("valid-url")),l=e("./ethersCompat"),c=e("./types"),f=e("./utils");r.SiweMessage=class{constructor(e){if("string"==typeof e){const t=new s.ParsedMessage(e);this.scheme=t.scheme,this.domain=t.domain,this.address=t.address,this.statement=t.statement,this.uri=t.uri,this.version=t.version,this.nonce=t.nonce,this.issuedAt=t.issuedAt,this.expirationTime=t.expirationTime,this.notBefore=t.notBefore,this.requestId=t.requestId,this.chainId=t.chainId,this.resources=t.resources}else this.scheme=null==e?void 0:e.scheme,this.domain=e.domain,this.address=e.address,this.statement=null==e?void 0:e.statement,this.uri=e.uri,this.version=e.version,this.chainId=e.chainId,this.nonce=e.nonce,this.issuedAt=null==e?void 0:e.issuedAt,this.expirationTime=null==e?void 0:e.expirationTime,this.notBefore=null==e?void 0:e.notBefore,this.requestId=null==e?void 0:e.requestId,this.resources=null==e?void 0:e.resources,"string"==typeof this.chainId&&(this.chainId=(0,s.parseIntegerNumber)(this.chainId));this.nonce=this.nonce||(0,f.generateNonce)(),this.validateMessage()}toMessage(){this.validateMessage();const e=`${this.scheme?`${this.scheme}://${this.domain}`:this.domain} wants you to sign in with your Ethereum account:`,t=`URI: ${this.uri}`;let r=[e,this.address].join("\n");const n=`Version: ${this.version}`;this.nonce||(this.nonce=(0,f.generateNonce)());const i=[t,n,"Chain ID: "+this.chainId||"1",`Nonce: ${this.nonce}`];if(this.issuedAt=this.issuedAt||(new Date).toISOString(),i.push(`Issued At: ${this.issuedAt}`),this.expirationTime){const e=`Expiration Time: ${this.expirationTime}`;i.push(e)}this.notBefore&&i.push(`Not Before: ${this.notBefore}`),this.requestId&&i.push(`Request ID: ${this.requestId}`),this.resources&&i.push(["Resources:",...this.resources.map(e=>`- ${e}`)].join("\n"));const o=i.join("\n");return r=[r,this.statement].join("\n\n"),this.statement&&(r+="\n"),[r,o].join("\n")}prepareMessage(){let e;return this.version,e=this.toMessage(),e}validate(e,t){return a(this,void 0,void 0,function*(){return console.warn("validate() has been deprecated, please update your code to use verify(). validate() may be removed in future versions."),this.verify({signature:e},{provider:t,suppressExceptions:!1}).then(({data:e})=>e).catch(({error:e})=>{throw e})})}verify(e,t={suppressExceptions:!1}){return a(this,void 0,void 0,function*(){return new Promise((r,n)=>{var i,o,a;const s=e=>t.suppressExceptions?r(e):n(e),u=(0,f.checkInvalidKeys)(e,c.VerifyParamsKeys);u.length>0&&s({success:!1,data:this,error:new Error(`${u.join(", ")} is/are not valid key(s) for VerifyParams.`)});const d=(0,f.checkInvalidKeys)(t,c.VerifyOptsKeys);u.length>0&&s({success:!1,data:this,error:new Error(`${d.join(", ")} is/are not valid key(s) for VerifyOpts.`)});const{signature:h,scheme:p,domain:b,nonce:m,time:g}=e;p&&p!==this.scheme&&s({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.SCHEME_MISMATCH,p,this.scheme)}),b&&b!==this.domain&&s({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.DOMAIN_MISMATCH,b,this.domain)}),m&&m!==this.nonce&&s({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.NONCE_MISMATCH,m,this.nonce)});const y=new Date(g||new Date);if(this.expirationTime){const e=new Date(this.expirationTime);y.getTime()>=e.getTime()&&s({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.EXPIRED_MESSAGE,`${y.toISOString()} < ${e.toISOString()}`,`${y.toISOString()} >= ${e.toISOString()}`)})}if(this.notBefore){const e=new Date(this.notBefore);y.getTime()<e.getTime()&&s({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.NOT_YET_VALID_MESSAGE,`${y.toISOString()} >= ${e.toISOString()}`,`${y.toISOString()} < ${e.toISOString()}`)})}let v,w;try{v=this.prepareMessage()}catch(e){s({success:!1,data:this,error:e})}try{w=(0,l.verifyMessage)(v,h)}catch(e){console.error(e)}if(w===this.address)return r({success:!0,data:this});{const n=(0,f.checkContractWalletSignature)(this,h,t.provider).then(e=>e?{success:!0,data:this}:{success:!1,data:this,error:new c.SiweError(c.SiweErrorType.INVALID_SIGNATURE,w,`Resolved address to be ${this.address}`)}).catch(e=>({success:!1,data:this,error:e}));Promise.all([n,null===(a=null===(o=null===(i=null==t?void 0:t.verificationFallback)||void 0===i?void 0:i.call(t,e,t,this,n))||void 0===o?void 0:o.then(e=>e))||void 0===a?void 0:a.catch(e=>e)]).then(([e,t])=>{if(t){if(t.success)return r(t);s(t)}else{if(e.success)return r(e);s(e)}})}})})}validateMessage(...e){var t;if(e.length>0)throw new c.SiweError(c.SiweErrorType.UNABLE_TO_PARSE,"Unexpected argument in the validateMessage function.");if(!this.domain||0===this.domain.length||!/[^#?]*/.test(this.domain))throw new c.SiweError(c.SiweErrorType.INVALID_DOMAIN,`${this.domain} to be a valid domain.`);if(!(0,s.isEIP55Address)(this.address))throw new c.SiweError(c.SiweErrorType.INVALID_ADDRESS,(0,l.getAddress)(this.address),this.address);if(!u.isUri(this.uri))throw new c.SiweError(c.SiweErrorType.INVALID_URI,`${this.uri} to be a valid uri.`);if("1"!==this.version)throw new c.SiweError(c.SiweErrorType.INVALID_MESSAGE_VERSION,"1",this.version);const r=null===(t=null==this?void 0:this.nonce)||void 0===t?void 0:t.match(/[a-zA-Z0-9]{8,}/);if(!r||this.nonce.length<8||r[0]!==this.nonce)throw new c.SiweError(c.SiweErrorType.INVALID_NONCE,`Length > 8 (${r.length}). Alphanumeric.`,this.nonce);if(this.issuedAt&&!(0,f.isValidISO8601Date)(this.issuedAt))throw new Error(c.SiweErrorType.INVALID_TIME_FORMAT);if(this.expirationTime&&!(0,f.isValidISO8601Date)(this.expirationTime))throw new Error(c.SiweErrorType.INVALID_TIME_FORMAT);if(this.notBefore&&!(0,f.isValidISO8601Date)(this.notBefore))throw new Error(c.SiweErrorType.INVALID_TIME_FORMAT)}}}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/client.js"}],[7955,{ethers:6523},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getAddress=r.hashMessage=r.verifyMessage=void 0;const n=e("ethers");let i=null,o=null,a=null;try{i=n.ethers.utils.verifyMessage,o=n.ethers.utils.hashMessage,a=n.ethers.utils.getAddress}catch(e){i=n.ethers.verifyMessage,o=n.ethers.hashMessage,a=n.ethers.getAddress}r.verifyMessage=i,r.hashMessage=o,r.getAddress=a}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/ethersCompat.js"}],[7956,{"./client":7954,"./types":7957,"./utils":7958},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),i(e("./client"),r),i(e("./types"),r),i(e("./utils"),r)}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/siwe.js"}],[7957,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SiweErrorType=r.SiweError=r.VerifyOptsKeys=r.VerifyParamsKeys=void 0,r.VerifyParamsKeys=["signature","scheme","domain","nonce","time"],r.VerifyOptsKeys=["provider","suppressExceptions","verificationFallback"];r.SiweError=class{constructor(e,t,r){this.type=e,this.expected=t,this.received=r}},function(e){e.EXPIRED_MESSAGE="Expired message.",e.INVALID_DOMAIN="Invalid domain.",e.SCHEME_MISMATCH="Scheme does not match provided scheme for verification.",e.DOMAIN_MISMATCH="Domain does not match provided domain for verification.",e.NONCE_MISMATCH="Nonce does not match provided nonce for verification.",e.INVALID_ADDRESS="Invalid address.",e.INVALID_URI="URI does not conform to RFC 3986.",e.INVALID_NONCE="Nonce size smaller then 8 characters or is not alphanumeric.",e.NOT_YET_VALID_MESSAGE="Message is not valid yet.",e.INVALID_SIGNATURE="Signature does not match address of the message.",e.INVALID_TIME_FORMAT="Invalid time format.",e.INVALID_MESSAGE_VERSION="Invalid message version.",e.UNABLE_TO_PARSE="Unable to parse the message."}(r.SiweErrorType||(r.SiweErrorType={}))}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/types.js"}],[7958,{"./ethersCompat":7955,"@stablelib/random":5358,ethers:6523},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.checkInvalidKeys=r.isValidISO8601Date=r.generateNonce=r.checkContractWalletSignature=void 0;const i=e("@stablelib/random"),o=e("ethers"),a=e("./ethersCompat"),s=["function isValidSignature(bytes32 _message, bytes _signature) public view returns (bytes4)"],u=/^(?<date>[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]))[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(.[0-9]+)?(([Zz])|([+|-]([01][0-9]|2[0-3]):[0-5][0-9]))$/;r.checkContractWalletSignature=(e,t,r)=>n(void 0,void 0,void 0,function*(){if(!r)return!1;const n=new o.Contract(e.address,s,r),i=(0,a.hashMessage)(e.prepareMessage());return"0x1626ba7e"===(yield n.isValidSignature(i,t))});r.generateNonce=()=>{const e=(0,i.randomStringForEntropy)(96);if(!e||e.length<8)throw new Error("Error during nonce creation.");return e};r.isValidISO8601Date=e=>{const t=u.exec(e);if(!e)return!1;const r=new Date(t.groups.date).toISOString(),n=u.exec(r);return t.groups.date===n.groups.date};r.checkInvalidKeys=(e,t)=>{const r=[];return Object.keys(e).forEach(e=>{t.includes(e)||r.push(e)}),r}}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/utils.js"}],[7959,{"./utils":7961,"apg-js/src/apg-api/api":6103,"apg-js/src/apg-lib/node-exports":6121},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.ParsedMessage=void 0;const o=i(e("apg-js/src/apg-api/api")),a=i(e("apg-js/src/apg-lib/node-exports")),s=e("./utils");class u{static generateApi(){const e=new o.default('\nsign-in-with-ethereum =\n    [ scheme "://" ] domain %s" wants you to sign in with your Ethereum account:" LF\n    address LF\n    LF\n    [ statement LF ]\n    LF\n    %s"URI: " URI LF\n    %s"Version: " version LF\n    %s"Chain ID: " chain-id LF\n    %s"Nonce: " nonce LF\n    %s"Issued At: " issued-at\n    [ LF %s"Expiration Time: " expiration-time ]\n    [ LF %s"Not Before: " not-before ]\n    [ LF %s"Request ID: " request-id ]\n    [ LF %s"Resources:"\n    resources ]\n\ndomain = authority\n\naddress = "0x" 40*40HEXDIG\n    ; Must also conform to captilization\n    ; checksum encoding specified in EIP-55\n    ; where applicable (EOAs).\n\nstatement = 1*( reserved / unreserved / " " )\n    ; The purpose is to exclude LF (line breaks).\n\nversion = "1"\n\nnonce = 8*( ALPHA / DIGIT )\n\nissued-at = date-time\nexpiration-time = date-time\nnot-before = date-time\n\nrequest-id = *pchar\n\nchain-id = 1*DIGIT\n    ; See EIP-155 for valid CHAIN_IDs.\n\nresources = *( LF resource )\n\nresource = "- " URI\n\n; ------------------------------------------------------------------------------\n; RFC 3986\n\nURI           = scheme ":" hier-part [ "?" query ] [ "#" fragment ]\n\nhier-part     = "//" authority path-abempty\n              / path-absolute\n              / path-rootless\n              / path-empty\n\nscheme        = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )\n\nauthority     = [ userinfo "@" ] host [ ":" port ]\nuserinfo      = *( unreserved / pct-encoded / sub-delims / ":" )\nhost          = IP-literal / IPv4address / reg-name\nport          = *DIGIT\n\nIP-literal    = "[" ( IPv6address / IPvFuture  ) "]"\n\nIPvFuture     = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )\n\nIPv6address   =                            6( h16 ":" ) ls32\n              /                       "::" 5( h16 ":" ) ls32\n              / [               h16 ] "::" 4( h16 ":" ) ls32\n              / [ *1( h16 ":" ) h16 ] "::" 3( h16 ":" ) ls32\n              / [ *2( h16 ":" ) h16 ] "::" 2( h16 ":" ) ls32\n              / [ *3( h16 ":" ) h16 ] "::"    h16 ":"   ls32\n              / [ *4( h16 ":" ) h16 ] "::"              ls32\n              / [ *5( h16 ":" ) h16 ] "::"              h16\n              / [ *6( h16 ":" ) h16 ] "::"\n\nh16           = 1*4HEXDIG\nls32          = ( h16 ":" h16 ) / IPv4address\nIPv4address   = dec-octet "." dec-octet "." dec-octet "." dec-octet\ndec-octet     = DIGIT                 ; 0-9\n                 / %x31-39 DIGIT         ; 10-99\n                 / "1" 2DIGIT            ; 100-199\n                 / "2" %x30-34 DIGIT     ; 200-249\n                 / "25" %x30-35          ; 250-255\n\nreg-name      = *( unreserved / pct-encoded / sub-delims )\n\npath-abempty  = *( "/" segment )\npath-absolute = "/" [ segment-nz *( "/" segment ) ]\npath-rootless = segment-nz *( "/" segment )\npath-empty    = 0pchar\n\nsegment       = *pchar\nsegment-nz    = 1*pchar\n\npchar         = unreserved / pct-encoded / sub-delims / ":" / "@"\n\nquery         = *( pchar / "/" / "?" )\n\nfragment      = *( pchar / "/" / "?" )\n\npct-encoded   = "%" HEXDIG HEXDIG\n\nunreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~"\nreserved      = gen-delims / sub-delims\ngen-delims    = ":" / "/" / "?" / "#" / "[" / "]" / "@"\nsub-delims    = "!" / "$" / "&" / "\'" / "(" / ")"\n              / "*" / "+" / "," / ";" / "="\n\n; ------------------------------------------------------------------------------\n; RFC 3339\n\ndate-fullyear   = 4DIGIT\ndate-month      = 2DIGIT  ; 01-12\ndate-mday       = 2DIGIT  ; 01-28, 01-29, 01-30, 01-31 based on\n                          ; month/year\ntime-hour       = 2DIGIT  ; 00-23\ntime-minute     = 2DIGIT  ; 00-59\ntime-second     = 2DIGIT  ; 00-58, 00-59, 00-60 based on leap second\n                          ; rules\ntime-secfrac    = "." 1*DIGIT\ntime-numoffset  = ("+" / "-") time-hour ":" time-minute\ntime-offset     = "Z" / time-numoffset\n\npartial-time    = time-hour ":" time-minute ":" time-second\n                  [time-secfrac]\nfull-date       = date-fullyear "-" date-month "-" date-mday\nfull-time       = partial-time time-offset\n\ndate-time       = full-date "T" full-time\n\n; ------------------------------------------------------------------------------\n; RFC 5234\n\nALPHA          =  %x41-5A / %x61-7A   ; A-Z / a-z\nLF             =  %x0A\n                  ; linefeed\nDIGIT          =  %x30-39\n                  ; 0-9\nHEXDIG         =  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n');if(e.generate(),e.errors.length)throw console.error(e.errorsToAscii()),console.error(e.linesToAscii()),console.log(e.displayAttributeErrors()),new Error("ABNF grammar has errors");return e.toObject()}}n=u,u.grammarObj=n.generateApi();r.ParsedMessage=class{constructor(e){const t=new a.default.parser;t.ast=new a.default.ast;const r=a.default.ids;t.ast.callbacks.scheme=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&0===n&&(o.scheme=a.default.utils.charsToString(t,n,i)),s};t.ast.callbacks.domain=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&(o.domain=a.default.utils.charsToString(t,n,i)),s};t.ast.callbacks.address=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&(o.address=a.default.utils.charsToString(t,n,i)),s};t.ast.callbacks.statement=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&(o.statement=a.default.utils.charsToString(t,n,i)),s};t.ast.callbacks.uri=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&(o.uri||(o.uri=a.default.utils.charsToString(t,n,i))),s};t.ast.callbacks.version=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&(o.version=a.default.utils.charsToString(t,n,i)),s};t.ast.callbacks["chain-id"]=function(e,t,n,i,o){const u=r.SEM_OK;return e===r.SEM_PRE&&(o.chainId=(0,s.parseIntegerNumber)(a.default.utils.charsToString(t,n,i))),u};t.ast.callbacks.nonce=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&(o.nonce=a.default.utils.charsToString(t,n,i)),s};t.ast.callbacks["issued-at"]=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&(o.issuedAt=a.default.utils.charsToString(t,n,i)),s};t.ast.callbacks["expiration-time"]=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&(o.expirationTime=a.default.utils.charsToString(t,n,i)),s};t.ast.callbacks["not-before"]=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&(o.notBefore=a.default.utils.charsToString(t,n,i)),s};t.ast.callbacks["request-id"]=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&(o.requestId=a.default.utils.charsToString(t,n,i)),s};t.ast.callbacks.resources=function(e,t,n,i,o){const s=r.SEM_OK;return e===r.SEM_PRE&&(o.resources=a.default.utils.charsToString(t,n,i).slice(3).split("\n- ")),s};const n=t.parse(u.grammarObj,"sign-in-with-ethereum",e);if(!n.success)throw new Error(`Invalid message: ${JSON.stringify(n)}`);const i={};t.ast.translate(i);for(const[e,t]of Object.entries(i))this[e]=t;if(0===this.domain.length)throw new Error("Domain cannot be empty.");if(!(0,s.isEIP55Address)(this.address))throw new Error("Address not conformant to EIP-55.")}}}}},{package:"@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser",file:"node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/abnf.js"}],[796,{"./eip1559Transaction.js":791,"./eip2930Transaction.js":792,"./eip4844Transaction.js":793,"./eip7702Transaction.js":794,"./legacyTransaction.js":797,"./transactionFactory.js":798,"./types.js":799},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.TransactionFactory=r.LegacyTransaction=r.EOACodeEIP7702Transaction=r.BlobEIP4844Transaction=r.AccessListEIP2930Transaction=r.FeeMarketEIP1559Transaction=void 0;var o=e("./eip1559Transaction.js");Object.defineProperty(r,"FeeMarketEIP1559Transaction",{enumerable:!0,get:function(){return o.FeeMarketEIP1559Transaction}});var a=e("./eip2930Transaction.js");Object.defineProperty(r,"AccessListEIP2930Transaction",{enumerable:!0,get:function(){return a.AccessListEIP2930Transaction}});var s=e("./eip4844Transaction.js");Object.defineProperty(r,"BlobEIP4844Transaction",{enumerable:!0,get:function(){return s.BlobEIP4844Transaction}});var u=e("./eip7702Transaction.js");Object.defineProperty(r,"EOACodeEIP7702Transaction",{enumerable:!0,get:function(){return u.EOACodeEIP7702Transaction}});var l=e("./legacyTransaction.js");Object.defineProperty(r,"LegacyTransaction",{enumerable:!0,get:function(){return l.LegacyTransaction}});var c=e("./transactionFactory.js");Object.defineProperty(r,"TransactionFactory",{enumerable:!0,get:function(){return c.TransactionFactory}}),i(e("./types.js"),r)}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/index.js"}],[7960,{"./abnf":7959,"./utils":7961},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.ParsedMessage=void 0;const o=e("./abnf");Object.defineProperty(r,"ParsedMessage",{enumerable:!0,get:function(){return o.ParsedMessage}}),i(e("./utils"),r)}}},{package:"@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser",file:"node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/parsers.js"}],[7961,{"@noble/hashes/sha3":5245,"@noble/hashes/utils":5247},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.parseIntegerNumber=r.isEIP55Address=void 0;const n=e("@noble/hashes/sha3"),i=e("@noble/hashes/utils");r.isEIP55Address=e=>{if(42!=e.length)return!1;const t=`${e}`.toLowerCase().replace("0x",""),r=(0,i.bytesToHex)((0,n.keccak_256)(t));let o="0x";for(let e=0;e<t.length;e++)parseInt(r[e],16)>=8?o+=t[e].toUpperCase():o+=t[e];return e===o};r.parseIntegerNumber=e=>{const t=parseInt(e);if(isNaN(t))throw new Error("Invalid number.");if(t===Infinity)throw new Error("Invalid number.");return t}}}},{package:"@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser",file:"node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/utils.js"}],[7964,{events:6529,inherits:6823,"readable-stream/lib/_stream_duplex.js":7966,"readable-stream/lib/_stream_passthrough.js":7967,"readable-stream/lib/_stream_readable.js":7968,"readable-stream/lib/_stream_transform.js":7969,"readable-stream/lib/_stream_writable.js":7970,"readable-stream/lib/internal/streams/end-of-stream.js":7974,"readable-stream/lib/internal/streams/pipeline.js":7976},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=i;var n=e("events").EventEmitter;function i(){n.call(this)}e("inherits")(i,n),i.Readable=e("readable-stream/lib/_stream_readable.js"),i.Writable=e("readable-stream/lib/_stream_writable.js"),i.Duplex=e("readable-stream/lib/_stream_duplex.js"),i.Transform=e("readable-stream/lib/_stream_transform.js"),i.PassThrough=e("readable-stream/lib/_stream_passthrough.js"),i.finished=e("readable-stream/lib/internal/streams/end-of-stream.js"),i.pipeline=e("readable-stream/lib/internal/streams/pipeline.js"),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",u),r.removeListener("error",l),e.removeListener("error",l),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",l),e.on("error",l),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}}}},{package:"stream-browserify",file:"node_modules/stream-browserify/index.js"}],[7965,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={};function i(e,t,r){r||(r=Error);var i=function(e){var r,n;function i(r,n,i){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,i))||this}return n=e,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=e,n[e]=i}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(e){return String(e)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),i("ERR_INVALID_ARG_TYPE",function(e,t,r){var n,i,a,s;if("string"==typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(r===undefined||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var u=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(u," ").concat(n," ").concat(o(t,"type"))}return s+=". Received type ".concat(typeof r)},TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js"}],[7966,{"./_stream_readable":7968,"./_stream_writable":7970,_process:7419,inherits:6823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=l;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(l,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var u=a[s];l.prototype[u]||(l.prototype[u]=o.prototype[u])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",c)))}function c(){this._writableState.ended||r.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js"}],[7967,{"./_stream_transform":7969,inherits:6823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=i;var n=e("./_stream_transform");function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}e("inherits")(i,n),i.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_passthrough.js"}],[7968,{"../errors":7965,"./_stream_duplex":7966,"./internal/streams/async_iterator":7971,"./internal/streams/buffer_list":7972,"./internal/streams/destroy":7973,"./internal/streams/from":7975,"./internal/streams/state":7977,"./internal/streams/stream":7978,_process:7419,buffer:6221,events:6529,inherits:6823,"string_decoder/":7999,util:6173},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;t.exports=S,S.ReadableState=j;e("events").EventEmitter;var i=function(e,t){return e.listeners(t).length},o=e("./internal/streams/stream"),a=e("buffer").Buffer,s=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,l=e("util");u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,f,d,h=e("./internal/streams/buffer_list"),p=e("./internal/streams/destroy"),b=e("./internal/streams/state").getHighWaterMark,m=e("../errors").codes,g=m.ERR_INVALID_ARG_TYPE,y=m.ERR_STREAM_PUSH_AFTER_EOF,v=m.ERR_METHOD_NOT_IMPLEMENTED,w=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(S,o);var _=p.errorOrDestroy,E=["error","close","destroy","pause","resume"];function j(t,r,i){n=n||e("./_stream_duplex"),t=t||{},"boolean"!=typeof i&&(i=r instanceof n),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",i),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(c||(c=e("string_decoder/").StringDecoder),this.decoder=new c(t.encoding),this.encoding=t.encoding)}function S(t){if(n=n||e("./_stream_duplex"),!(this instanceof S))return new S(t);var r=this instanceof n;this._readableState=new j(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),o.call(this)}function T(e,t,r,n,i){u("readableAddChunk",t);var o,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?k(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}(e,l);else if(i||(o=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof s||"string"==typeof t||t===undefined||e.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(l,t)),o)_(e,o);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)l.endEmitted?_(e,new w):x(e,l,t,!0);else if(l.ended)_(e,new y);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?x(e,l,t,!1):I(e,l)):x(e,l,t,!1)}else n||(l.reading=!1,I(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function x(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&k(e)),I(e,t)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=p.destroy,S.prototype._undestroy=p.undestroy,S.prototype._destroy=function(e,t){t(e)},S.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=a.from(e,t),t=""),r=!0),T(this,e,t,!1,r)},S.prototype.unshift=function(e){return T(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(t){c||(c=e("string_decoder/").StringDecoder);var r=new c(t);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=r.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var O=1073741824;function P(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=O?e=O:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(A,e))}function A(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,F(e)}function I(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(R,e,t))}function R(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(u("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function M(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function L(e){u("readable nexttick read 0"),e.read(0)}function C(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),F(e),t.flowing&&!t.reading&&e.read(0)}function F(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function B(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(D,t,e))}function D(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function U(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}S.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):k(this),null;if(0===(e=P(e,t))&&t.ended)return 0===t.length&&B(this),null;var n,i=t.needReadable;return u("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",i=!0),t.ended||t.reading?u("reading or ended",i=!1):i&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=P(r,t))),null===(n=e>0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&B(this)),null!==n&&this.emit("data",n),n},S.prototype._read=function(e){_(this,new v("_read()"))},S.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,u("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?l:m;function s(t,r){u("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",b),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",l),n.removeListener("end",m),n.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}o.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",s);var c=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,F(e))}}(n);e.on("drain",c);var f=!1;function d(t){u("ondata");var r=e.write(t);u("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==U(o.pipes,e))&&!f&&(u("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function h(t){u("onerror",t),m(),e.removeListener("error",h),0===i(e,"error")&&_(e,t)}function p(){e.removeListener("finish",b),m()}function b(){u("onfinish"),e.removeListener("close",p),m()}function m(){u("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",p),e.once("finish",b),e.emit("pipe",n),o.flowing||(u("pipe resume"),n.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=U(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},S.prototype.on=function(e,t){var n=o.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,u("on readable",i.length,i.reading),i.length?k(this):i.reading||r.nextTick(L,this))),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(M,this),n},S.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||r.nextTick(M,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(C,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(u("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&i!==undefined)&&((r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause())))}),e)this[i]===undefined&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<E.length;o++)e.on(E[o],this.emit.bind(this,E[o]));return this._read=function(t){u("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return f===undefined&&(f=e("./internal/streams/async_iterator")),f(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),S._fromList=N,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(t,r){return d===undefined&&(d=e("./internal/streams/from")),d(S,t,r)})}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_readable.js"}],[7969,{"../errors":7965,"./_stream_duplex":7966,inherits:6823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=c;var n=e("../errors").codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,u=e("./_stream_duplex");function l(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush(function(t,r){d(e,t,r)})}function d(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(c,u),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new i("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js"}],[797,{"./baseTransaction.js":784,"./capabilities/legacy.js":789,"./types.js":799,"@ethereumjs/rlp":783,"@ethereumjs/util":817,"ethereum-cryptography/keccak.js":806},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.LegacyTransaction=void 0;const n=e("@ethereumjs/rlp"),i=e("@ethereumjs/util"),o=e("ethereum-cryptography/keccak.js"),a=e("./baseTransaction.js"),s=e("./capabilities/legacy.js"),u=e("./types.js");function l(e,t){const r=Number(e),n=2*Number(t);return r===n+35||r===n+36}class c extends a.BaseTransaction{constructor(e,t={}){if(super({...e,type:u.TransactionType.Legacy},t),this.common=this._validateTxV(this.v,t.common),this.keccakFunction=this.common.customCrypto.keccak256??o.keccak256,this.gasPrice=(0,i.bytesToBigInt)((0,i.toBytes)(e.gasPrice)),this.gasPrice*this.gasLimit>i.MAX_INTEGER){const e=this._errorMsg("gas limit * gasPrice cannot exceed MAX_INTEGER (2^256-1)");throw new Error(e)}this._validateCannotExceedMaxInteger({gasPrice:this.gasPrice}),a.BaseTransaction._validateNotArray(e),this.common.gteHardfork("spuriousDragon")&&(this.isSigned()?l(this.v,this.common.chainId())&&this.activeCapabilities.push(u.Capability.EIP155ReplayProtection):this.activeCapabilities.push(u.Capability.EIP155ReplayProtection));(t?.freeze??!0)&&Object.freeze(this)}static fromTxData(e,t={}){return new c(e,t)}static fromSerializedTx(e,t={}){const r=n.RLP.decode(e);if(!Array.isArray(r))throw new Error("Invalid serialized tx input. Must be array");return this.fromValuesArray(r,t)}static fromValuesArray(e,t={}){if(6!==e.length&&9!==e.length)throw new Error("Invalid transaction. Only expecting 6 values (for unsigned tx) or 9 values (for signed tx).");const[r,n,o,a,s,u,l,f,d]=e;return(0,i.validateNoLeadingZeroes)({nonce:r,gasPrice:n,gasLimit:o,value:s,v:l,r:f,s:d}),new c({nonce:r,gasPrice:n,gasLimit:o,to:a,value:s,data:u,v:l,r:f,s:d},t)}getEffectivePriorityFee(e){return s.getEffectivePriorityFee(this.gasPrice,e)}raw(){return[(0,i.bigIntToUnpaddedBytes)(this.nonce),(0,i.bigIntToUnpaddedBytes)(this.gasPrice),(0,i.bigIntToUnpaddedBytes)(this.gasLimit),this.to!==undefined?this.to.bytes:new Uint8Array(0),(0,i.bigIntToUnpaddedBytes)(this.value),this.data,this.v!==undefined?(0,i.bigIntToUnpaddedBytes)(this.v):new Uint8Array(0),this.r!==undefined?(0,i.bigIntToUnpaddedBytes)(this.r):new Uint8Array(0),this.s!==undefined?(0,i.bigIntToUnpaddedBytes)(this.s):new Uint8Array(0)]}serialize(){return n.RLP.encode(this.raw())}getMessageToSign(){const e=[(0,i.bigIntToUnpaddedBytes)(this.nonce),(0,i.bigIntToUnpaddedBytes)(this.gasPrice),(0,i.bigIntToUnpaddedBytes)(this.gasLimit),this.to!==undefined?this.to.bytes:new Uint8Array(0),(0,i.bigIntToUnpaddedBytes)(this.value),this.data];return this.supports(u.Capability.EIP155ReplayProtection)&&(e.push((0,i.bigIntToUnpaddedBytes)(this.common.chainId())),e.push((0,i.unpadBytes)((0,i.toBytes)(0))),e.push((0,i.unpadBytes)((0,i.toBytes)(0)))),e}getHashedMessageToSign(){const e=this.getMessageToSign();return this.keccakFunction(n.RLP.encode(e))}getDataFee(){return s.getDataFee(this)}getUpfrontCost(){return this.gasLimit*this.gasPrice+this.value}hash(){return s.hash(this)}getMessageToVerifySignature(){if(!this.isSigned()){const e=this._errorMsg("This transaction is not signed");throw new Error(e)}return this.getHashedMessageToSign()}getSenderPublicKey(){return s.getSenderPublicKey(this)}addSignature(e,t,r,n=!1){t=(0,i.toBytes)(t),r=(0,i.toBytes)(r),n&&this.supports(u.Capability.EIP155ReplayProtection)&&(e+=this.common.chainId()*i.BIGINT_2+i.BIGINT_8);const o={...this.txOptions,common:this.common};return c.fromTxData({nonce:this.nonce,gasPrice:this.gasPrice,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,v:e,r:(0,i.bytesToBigInt)(t),s:(0,i.bytesToBigInt)(r)},o)}toJSON(){return{...super.toJSON(),gasPrice:(0,i.bigIntToHex)(this.gasPrice)}}_validateTxV(e,t){let r;const n=e!==undefined?Number(e):undefined;if(n!==undefined&&n<37&&27!==n&&28!==n)throw new Error(`Legacy txs need either v = 27/28 or v >= 37 (EIP-155 replay protection), got v = ${n}`);if(n!==undefined&&0!==n&&(!t||t.gteHardfork("spuriousDragon"))&&27!==n&&28!==n)if(t){if(!l(BigInt(n),t.chainId()))throw new Error(`Incompatible EIP155-based V ${n} and chain id ${t.chainId()}. See the Common parameter of the Transaction constructor to set the chain id.`)}else{let e;e=(n-35)%2==0?35:36,r=BigInt(n-e)/i.BIGINT_2}return this._getCommon(t,r)}errorStr(){let e=this._getSharedErrorPostfix();return e+=` gasPrice=${this.gasPrice}`,e}_errorMsg(e){return s.errorMsg(this,e)}}r.LegacyTransaction=c}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/legacyTransaction.js"}],[7970,{"../errors":7965,"./_stream_duplex":7966,"./internal/streams/destroy":7973,"./internal/streams/state":7977,"./internal/streams/stream":7978,_process:7419,buffer:6221,inherits:6823,"util-deprecate":8066},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var i;t.exports=S,S.WritableState=j;var o={deprecate:e("util-deprecate")},a=e("./internal/streams/stream"),s=e("buffer").Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,c=e("./internal/streams/destroy"),f=e("./internal/streams/state").getHighWaterMark,d=e("../errors").codes,h=d.ERR_INVALID_ARG_TYPE,p=d.ERR_METHOD_NOT_IMPLEMENTED,b=d.ERR_MULTIPLE_CALLBACK,m=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,v=d.ERR_STREAM_WRITE_AFTER_END,w=d.ERR_UNKNOWN_ENCODING,_=c.errorOrDestroy;function E(){}function j(t,o,a){i=i||e("./_stream_duplex"),t=t||{},"boolean"!=typeof a&&(a=o instanceof i),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,o=n.writecb;if("function"!=typeof o)throw new b;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,o){--t.pendingcb,n?(r.nextTick(o,i),r.nextTick(A,e,t),e._writableState.errorEmitted=!0,_(e,i)):(o(i),e._writableState.errorEmitted=!0,_(e,i),A(e,t))}(e,n,i,t,o);else{var a=P(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||O(e,n),i?r.nextTick(x,e,n,a,o):x(e,n,a,o)}}(o,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function S(t){var r=this instanceof(i=i||e("./_stream_duplex"));if(!r&&!l.call(S,this))return new S(t);this._writableState=new j(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),a.call(this)}function T(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function x(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),A(e,t)}function O(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,o=new Array(i),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)o[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;o.allBuffers=u,T(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,f=r.callback;if(T(e,t,!1,t.objectMode?1:l.length,l,c,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final(function(r){t.pendingcb--,r&&_(e,r),t.prefinished=!0,e.emit("prefinish"),A(e,t)})}function A(e,t){var n=P(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,r.nextTick(k,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return n}e("inherits")(S,a),j.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(j.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===S&&(e&&e._writableState instanceof j)}})):l=function(e){return e instanceof this},S.prototype.pipe=function(){_(this,new m)},S.prototype.write=function(e,t,n){var i,o=this._writableState,a=!1,l=!o.objectMode&&(i=e,s.isBuffer(i)||i instanceof u);return l&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(n=t,t=null),l?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=E),o.ending?function(e,t){var n=new v;_(e,n),r.nextTick(t,n)}(this,n):(l||function(e,t,n,i){var o;return null===n?o=new y:"string"==typeof n||t.objectMode||(o=new h("chunk",["string","Buffer"],n)),!o||(_(e,o),r.nextTick(i,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=s.from(t,r));return t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var u=t.objectMode?1:n.length;t.length+=u;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,u,n,i,o);return l}(this,o,l,e,t,n)),a},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},S.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,r){r(new p("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,n){var i=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&e!==undefined&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,n){t.ending=!0,A(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=c.destroy,S.prototype._undestroy=c.undestroy,S.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js"}],[7971,{"./end-of-stream":7974,_process:7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=e("./end-of-stream"),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),f=Symbol("handlePromise"),d=Symbol("stream");function h(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(null!==t){var r=e[d].read();null!==r&&(e[c]=null,e[a]=null,e[s]=null,t(h(r,!1)))}}function b(e){r.nextTick(p,e)}var m=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((i(n={get stream(){return this[d]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(h(undefined,!0));if(this[d].destroyed)return new Promise(function(t,n){r.nextTick(function(){e[u]?n(e[u]):t(h(undefined,!0))})});var n,i=this[c];if(i)n=new Promise(function(e,t){return function(r,n){e.then(function(){t[l]?r(h(undefined,!0)):t[f](r,n)},n)}}(i,this));else{var o=this[d].read();if(null!==o)return Promise.resolve(h(o,!1));n=new Promise(this[f])}return this[c]=n,n}},Symbol.asyncIterator,function(){return this}),i(n,"return",function(){var e=this;return new Promise(function(t,r){e[d].destroy(null,function(e){e?r(e):t(h(undefined,!0))})})}),n),m);t.exports=function(e){var t,r=Object.create(g,(i(t={},d,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var n=r[d].read();n?(r[c]=null,r[a]=null,r[s]=null,e(h(n,!1))):(r[a]=e,r[s]=t)},writable:!0}),t));return r[c]=null,o(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[s];return null!==t&&(r[c]=null,r[a]=null,r[s]=null,t(e)),void(r[u]=e)}var n=r[a];null!==n&&(r[c]=null,r[a]=null,r[s]=null,n(h(undefined,!0))),r[l]=!0}),e.on("readable",b.bind(null,r)),r}}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/async_iterator.js"}],[7972,{buffer:6221,util:6173},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var u=e("buffer").Buffer,l=e("util").inspect,c=l&&l.custom||"inspect";function f(e,t,r){u.prototype.copy.call(e,t,r)}t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),r=this.head,n=0;r;)f(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,r),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],[7973,{_process:7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function r(e,t){i(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return s||u?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js"}],[7974,{"../../../errors":7965},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,u=function(){t.writable||c()},l=t._writableState&&t._writableState.finished,c=function(){s=!1,l=!0,a||o.call(t)},f=t._readableState&&t._readableState.endEmitted,d=function(){a=!1,f=!0,s||o.call(t)},h=function(e){o.call(t,e)},p=function(){var e;return a&&!f?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!l?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},b=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",c),t.on("abort",p),t.req?b():t.on("request",b)),t.on("end",d),t.on("finish",c),!1!==r.error&&t.on("error",h),t.on("close",p),function(){t.removeListener("complete",c),t.removeListener("abort",p),t.removeListener("request",b),t.req&&t.req.removeListener("finish",c),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",c),t.removeListener("end",d),t.removeListener("error",h),t.removeListener("close",p)}}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],[7975,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){throw new Error("Readable.from is not available in the browser")}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/from-browser.js"}],[7976,{"../../../errors":7965,"./end-of-stream":7974},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;var i=e("../../../errors").codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e){e()}function l(e,t){return e.pipe(t)}t.exports=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var c,f=function(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}(r);if(Array.isArray(r[0])&&(r=r[0]),r.length<2)throw new o("streams");var d=r.map(function(t,i){var o=i<r.length-1;return function(t,r,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;t.on("close",function(){s=!0}),n===undefined&&(n=e("./end-of-stream")),n(t,{readable:r,writable:i},function(e){if(e)return o(e);s=!0,o()});var u=!1;return function(e){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,i>0,function(e){c||(c=e),e&&d.forEach(u),o||(d.forEach(u),f(c))})});return r.reduce(l)}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],[7977,{"../../../errors":7965},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js"}],[7978,{events:6529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("events").EventEmitter}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js"}],[7979,{"./lib/request":7981,"./lib/response":7982,"builtin-status-codes":6232,url:8043,xtend:8434},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./lib/request"),i=e("./lib/response"),o=e("xtend"),a=e("builtin-status-codes"),s=e("url"),u=r;u.request=function(e,t){e="string"==typeof e?s.parse(e):o(e);var r=-1===global.location.protocol.search(/^https?:$/)?"http:":"",i=e.protocol||r,a=e.hostname||e.host,u=e.port,l=e.path||"/";a&&-1!==a.indexOf(":")&&(a="["+a+"]"),e.url=(a?i+"//"+a:"")+(u?":"+u:"")+l,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var c=new n(e);return t&&c.on("response",t),c},u.get=function(e,t){var r=u.request(e,t);return r.end(),r},u.ClientRequest=n,u.IncomingMessage=i.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=a,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}}},{package:"stream-http",file:"node_modules/stream-http/index.js"}],[798,{"./eip1559Transaction.js":791,"./eip2930Transaction.js":792,"./eip4844Transaction.js":793,"./eip7702Transaction.js":794,"./fromRpc.js":795,"./legacyTransaction.js":797,"./types.js":799,"@ethereumjs/util":817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TransactionFactory=void 0;const n=e("@ethereumjs/util"),i=e("./eip1559Transaction.js"),o=e("./eip2930Transaction.js"),a=e("./eip4844Transaction.js"),s=e("./eip7702Transaction.js"),u=e("./fromRpc.js"),l=e("./legacyTransaction.js"),c=e("./types.js");class f{constructor(){}static fromTxData(e,t={}){if("type"in e&&e.type!==undefined){if((0,c.isLegacyTxData)(e))return l.LegacyTransaction.fromTxData(e,t);if((0,c.isAccessListEIP2930TxData)(e))return o.AccessListEIP2930Transaction.fromTxData(e,t);if((0,c.isFeeMarketEIP1559TxData)(e))return i.FeeMarketEIP1559Transaction.fromTxData(e,t);if((0,c.isBlobEIP4844TxData)(e))return a.BlobEIP4844Transaction.fromTxData(e,t);if((0,c.isEOACodeEIP7702TxData)(e))return s.EOACodeEIP7702Transaction.fromTxData(e,t);throw new Error(`Tx instantiation with type ${e?.type} not supported`)}return l.LegacyTransaction.fromTxData(e,t)}static fromSerializedData(e,t={}){if(!(e[0]<=127))return l.LegacyTransaction.fromSerializedTx(e,t);switch(e[0]){case c.TransactionType.AccessListEIP2930:return o.AccessListEIP2930Transaction.fromSerializedTx(e,t);case c.TransactionType.FeeMarketEIP1559:return i.FeeMarketEIP1559Transaction.fromSerializedTx(e,t);case c.TransactionType.BlobEIP4844:return a.BlobEIP4844Transaction.fromSerializedTx(e,t);case c.TransactionType.EOACodeEIP7702:return s.EOACodeEIP7702Transaction.fromSerializedTx(e,t);default:throw new Error(`TypedTransaction with ID ${e[0]} unknown`)}}static fromBlockBodyData(e,t={}){if(e instanceof Uint8Array)return this.fromSerializedData(e,t);if(Array.isArray(e))return l.LegacyTransaction.fromValuesArray(e,t);throw new Error("Cannot decode transaction: unknown type input")}static async fromJsonRpcProvider(e,t,r){const i=(0,n.getProvider)(e),o=await(0,n.fetchFromProvider)(i,{method:"eth_getTransactionByHash",params:[t]});if(null===o)throw new Error("No data returned from provider");return f.fromRPC(o,r)}static async fromRPC(e,t={}){return f.fromTxData((0,u.normalizeTxParams)(e),t)}}r.TransactionFactory=f}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/transactionFactory.js"}],[7980,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;function i(){if(n!==undefined)return n;if(global.XMLHttpRequest){n=new global.XMLHttpRequest;try{n.open("GET",global.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function o(e){var t=i();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}function a(e){return"function"==typeof e}r.fetch=a(global.fetch)&&a(global.ReadableStream),r.writableStream=a(global.WritableStream),r.abortController=a(global.AbortController),r.arraybuffer=r.fetch||o("arraybuffer"),r.msstream=!r.fetch&&o("ms-stream"),r.mozchunkedarraybuffer=!r.fetch&&o("moz-chunked-arraybuffer"),r.overrideMimeType=r.fetch||!!i()&&a(i().overrideMimeType),n=null}}},{package:"stream-http",file:"node_modules/stream-http/lib/capability.js"}],[7981,{"./capability":7980,"./response":7982,_process:7419,buffer:6221,inherits:6823,"readable-stream":7997},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r,n){(function(){var i=e("./capability"),o=e("inherits"),a=e("./response"),s=e("readable-stream"),u=a.IncomingMessage,l=a.readyStates;var c=t.exports=function(e){var t,r=this;s.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+n.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(t){r.setHeader(t,e.headers[t])});var o=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!i.abortController)o=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!i.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}r._mode=function(e,t){return i.fetch&&t?"fetch":i.mozchunkedarraybuffer?"moz-chunked-arraybuffer":i.msstream?"ms-stream":i.arraybuffer&&e?"arraybuffer":"text"}(t,o),r._fetchTimer=null,r._socketTimeout=null,r._socketTimer=null,r.on("finish",function(){r._onFinish()})};o(c,s.Writable),c.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===f.indexOf(r)&&(this._headers[r]={name:e,value:t})},c.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},c.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},c.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&0!==t.timeout&&e.setTimeout(t.timeout);var n=e._headers,o=null;"GET"!==t.method&&"HEAD"!==t.method&&(o=new Blob(e._body,{type:(n["content-type"]||{}).value||""}));var a=[];if(Object.keys(n).forEach(function(e){var t=n[e].name,r=n[e].value;Array.isArray(r)?r.forEach(function(e){a.push([t,e])}):a.push([t,r])}),"fetch"===e._mode){var s=null;if(i.abortController){var u=new AbortController;s=u.signal,e._fetchAbortController=u,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=global.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},t.requestTimeout))}global.fetch(e._opts.url,{method:e._opts.method,headers:a,body:o||undefined,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:s}).then(function(t){e._fetchResponse=t,e._resetTimers(!1),e._connect()},function(t){e._resetTimers(!0),e._destroyed||e.emit("error",t)})}else{var c=e._xhr=new global.XMLHttpRequest;try{c.open(e._opts.method,e._opts.url,!0)}catch(t){return void r.nextTick(function(){e.emit("error",t)})}"responseType"in c&&(c.responseType=e._mode),"withCredentials"in c&&(c.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in c&&c.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(c.timeout=t.requestTimeout,c.ontimeout=function(){e.emit("requestTimeout")}),a.forEach(function(e){c.setRequestHeader(e[0],e[1])}),e._response=null,c.onreadystatechange=function(){switch(c.readyState){case l.LOADING:case l.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(c.onprogress=function(){e._onXHRProgress()}),c.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{c.send(o)}catch(t){return void r.nextTick(function(){e.emit("error",t)})}}}},c.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}}(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))},c.prototype._connect=function(){var e=this;e._destroyed||(e._response=new u(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},c.prototype._write=function(e,t,r){this._body.push(e),r()},c.prototype._resetTimers=function(e){var t=this;global.clearTimeout(t._socketTimer),t._socketTimer=null,e?(global.clearTimeout(t._fetchTimer),t._fetchTimer=null):t._socketTimeout&&(t._socketTimer=global.setTimeout(function(){t.emit("timeout")},t._socketTimeout))},c.prototype.abort=c.prototype.destroy=function(e){var t=this;t._destroyed=!0,t._resetTimers(!0),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort(),e&&t.emit("error",e)},c.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=undefined),s.Writable.prototype.end.call(this,e,t,r)},c.prototype.setTimeout=function(e,t){var r=this;t&&r.once("timeout",t),r._socketTimeout=e,r._resetTimers(!1)},c.prototype.flushHeaders=function(){},c.prototype.setNoDelay=function(){},c.prototype.setSocketKeepAlive=function(){};var f=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this)}).call(this,e("_process"),e("buffer").Buffer)}}},{package:"stream-http",file:"node_modules/stream-http/lib/request.js"}],[7982,{"./capability":7980,_process:7419,buffer:6221,inherits:6823,"readable-stream":7997},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t,n){(function(){var i=e("./capability"),o=e("inherits"),a=e("readable-stream"),s=r.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},u=r.IncomingMessage=function(e,r,o,s){var u=this;if(a.Readable.call(u),u._mode=o,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){t.nextTick(function(){u.emit("close")})}),"fetch"===o){if(u._fetchResponse=r,u.url=r.url,u.statusCode=r.status,u.statusMessage=r.statusText,r.headers.forEach(function(e,t){u.headers[t.toLowerCase()]=e,u.rawHeaders.push(t,e)}),i.writableStream){var l=new WritableStream({write:function(e){return s(!1),new Promise(function(t,r){u._destroyed?r():u.push(n.from(e))?t():u._resumeFetch=t})},close:function(){s(!0),u._destroyed||u.push(null)},abort:function(e){s(!0),u._destroyed||u.emit("error",e)}});try{return void r.body.pipeTo(l).catch(function(e){s(!0),u._destroyed||u.emit("error",e)})}catch(p){}}var c=r.body.getReader();function h(){c.read().then(function(e){u._destroyed||(s(e.done),e.done?u.push(null):(u.push(n.from(e.value)),h()))}).catch(function(e){s(!0),u._destroyed||u.emit("error",e)})}h()}else{if(u._xhr=e,u._pos=0,u.url=e.responseURL,u.statusCode=e.status,u.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(u.headers[r]===undefined&&(u.headers[r]=[]),u.headers[r].push(t[2])):u.headers[r]!==undefined?u.headers[r]+=", "+t[2]:u.headers[r]=t[2],u.rawHeaders.push(t[1],t[2])}}),u._charset="x-user-defined",!i.overrideMimeType){var f=u.rawHeaders["mime-type"];if(f){var d=f.match(/;\s*charset=([^;])(;|$)/);d&&(u._charset=d[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};o(u,a.Readable),u.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},u.prototype._onXHRProgress=function(e){var t=this,r=t._xhr,i=null;switch(t._mode){case"text":if((i=r.responseText).length>t._pos){var o=i.substr(t._pos);if("x-user-defined"===t._charset){for(var a=n.alloc(o.length),u=0;u<o.length;u++)a[u]=255&o.charCodeAt(u);t.push(a)}else t.push(o,t._charset);t._pos=i.length}break;case"arraybuffer":if(r.readyState!==s.DONE||!r.response)break;i=r.response,t.push(n.from(new Uint8Array(i)));break;case"moz-chunked-arraybuffer":if(i=r.response,r.readyState!==s.LOADING||!i)break;t.push(n.from(new Uint8Array(i)));break;case"ms-stream":if(i=r.response,r.readyState!==s.LOADING)break;var l=new global.MSStreamReader;l.onprogress=function(){l.result.byteLength>t._pos&&(t.push(n.from(new Uint8Array(l.result.slice(t._pos)))),t._pos=l.result.byteLength)},l.onload=function(){e(!0),t.push(null)},l.readAsArrayBuffer(i)}t._xhr.readyState===s.DONE&&"ms-stream"!==t._mode&&(e(!0),t.push(null))}}).call(this)}).call(this,e("_process"),e("buffer").Buffer)}}},{package:"stream-http",file:"node_modules/stream-http/lib/response.js"}],[7983,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={};function i(e,t,r){r||(r=Error);var i=function(e){var r,n;function i(r,n,i){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,i))||this}return n=e,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=e,n[e]=i}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(e){return String(e)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),i("ERR_INVALID_ARG_TYPE",function(e,t,r){var n,i,a,s;if("string"==typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(r===undefined||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var u=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(u," ").concat(n," ").concat(o(t,"type"))}return s+=". Received type ".concat(typeof r)},TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/errors-browser.js"}],[7984,{"./_stream_readable":7986,"./_stream_writable":7988,_process:7419,inherits:6823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=l;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(l,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var u=a[s];l.prototype[u]||(l.prototype[u]=o.prototype[u])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",c)))}function c(){this._writableState.ended||r.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js"}],[7985,{"./_stream_transform":7987,inherits:6823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=i;var n=e("./_stream_transform");function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}e("inherits")(i,n),i.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js"}],[7986,{"../errors":7983,"./_stream_duplex":7984,"./internal/streams/async_iterator":7989,"./internal/streams/buffer_list":7990,"./internal/streams/destroy":7991,"./internal/streams/from":7993,"./internal/streams/state":7995,"./internal/streams/stream":7996,_process:7419,buffer:6221,events:6529,inherits:6823,"string_decoder/":7999,util:6173},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;t.exports=S,S.ReadableState=j;e("events").EventEmitter;var i=function(e,t){return e.listeners(t).length},o=e("./internal/streams/stream"),a=e("buffer").Buffer,s=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,l=e("util");u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,f,d,h=e("./internal/streams/buffer_list"),p=e("./internal/streams/destroy"),b=e("./internal/streams/state").getHighWaterMark,m=e("../errors").codes,g=m.ERR_INVALID_ARG_TYPE,y=m.ERR_STREAM_PUSH_AFTER_EOF,v=m.ERR_METHOD_NOT_IMPLEMENTED,w=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(S,o);var _=p.errorOrDestroy,E=["error","close","destroy","pause","resume"];function j(t,r,i){n=n||e("./_stream_duplex"),t=t||{},"boolean"!=typeof i&&(i=r instanceof n),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",i),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(c||(c=e("string_decoder/").StringDecoder),this.decoder=new c(t.encoding),this.encoding=t.encoding)}function S(t){if(n=n||e("./_stream_duplex"),!(this instanceof S))return new S(t);var r=this instanceof n;this._readableState=new j(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),o.call(this)}function T(e,t,r,n,i){u("readableAddChunk",t);var o,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?k(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}(e,l);else if(i||(o=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof s||"string"==typeof t||t===undefined||e.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(l,t)),o)_(e,o);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)l.endEmitted?_(e,new w):x(e,l,t,!0);else if(l.ended)_(e,new y);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?x(e,l,t,!1):I(e,l)):x(e,l,t,!1)}else n||(l.reading=!1,I(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function x(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&k(e)),I(e,t)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=p.destroy,S.prototype._undestroy=p.undestroy,S.prototype._destroy=function(e,t){t(e)},S.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=a.from(e,t),t=""),r=!0),T(this,e,t,!1,r)},S.prototype.unshift=function(e){return T(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(t){c||(c=e("string_decoder/").StringDecoder);var r=new c(t);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=r.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var O=1073741824;function P(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=O?e=O:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(A,e))}function A(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,F(e)}function I(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(R,e,t))}function R(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(u("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function M(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function L(e){u("readable nexttick read 0"),e.read(0)}function C(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),F(e),t.flowing&&!t.reading&&e.read(0)}function F(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function B(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(D,t,e))}function D(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function U(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}S.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):k(this),null;if(0===(e=P(e,t))&&t.ended)return 0===t.length&&B(this),null;var n,i=t.needReadable;return u("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",i=!0),t.ended||t.reading?u("reading or ended",i=!1):i&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=P(r,t))),null===(n=e>0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&B(this)),null!==n&&this.emit("data",n),n},S.prototype._read=function(e){_(this,new v("_read()"))},S.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,u("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?l:m;function s(t,r){u("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",b),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",l),n.removeListener("end",m),n.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}o.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",s);var c=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,F(e))}}(n);e.on("drain",c);var f=!1;function d(t){u("ondata");var r=e.write(t);u("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==U(o.pipes,e))&&!f&&(u("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function h(t){u("onerror",t),m(),e.removeListener("error",h),0===i(e,"error")&&_(e,t)}function p(){e.removeListener("finish",b),m()}function b(){u("onfinish"),e.removeListener("close",p),m()}function m(){u("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",p),e.once("finish",b),e.emit("pipe",n),o.flowing||(u("pipe resume"),n.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=U(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},S.prototype.on=function(e,t){var n=o.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,u("on readable",i.length,i.reading),i.length?k(this):i.reading||r.nextTick(L,this))),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(M,this),n},S.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||r.nextTick(M,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(C,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(u("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&i!==undefined)&&((r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause())))}),e)this[i]===undefined&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<E.length;o++)e.on(E[o],this.emit.bind(this,E[o]));return this._read=function(t){u("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return f===undefined&&(f=e("./internal/streams/async_iterator")),f(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),S._fromList=N,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(t,r){return d===undefined&&(d=e("./internal/streams/from")),d(S,t,r)})}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js"}],[7987,{"../errors":7983,"./_stream_duplex":7984,inherits:6823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=c;var n=e("../errors").codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,u=e("./_stream_duplex");function l(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush(function(t,r){d(e,t,r)})}function d(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(c,u),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new i("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js"}],[7988,{"../errors":7983,"./_stream_duplex":7984,"./internal/streams/destroy":7991,"./internal/streams/state":7995,"./internal/streams/stream":7996,_process:7419,buffer:6221,inherits:6823,"util-deprecate":8066},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var i;t.exports=S,S.WritableState=j;var o={deprecate:e("util-deprecate")},a=e("./internal/streams/stream"),s=e("buffer").Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,c=e("./internal/streams/destroy"),f=e("./internal/streams/state").getHighWaterMark,d=e("../errors").codes,h=d.ERR_INVALID_ARG_TYPE,p=d.ERR_METHOD_NOT_IMPLEMENTED,b=d.ERR_MULTIPLE_CALLBACK,m=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,v=d.ERR_STREAM_WRITE_AFTER_END,w=d.ERR_UNKNOWN_ENCODING,_=c.errorOrDestroy;function E(){}function j(t,o,a){i=i||e("./_stream_duplex"),t=t||{},"boolean"!=typeof a&&(a=o instanceof i),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,o=n.writecb;if("function"!=typeof o)throw new b;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,o){--t.pendingcb,n?(r.nextTick(o,i),r.nextTick(A,e,t),e._writableState.errorEmitted=!0,_(e,i)):(o(i),e._writableState.errorEmitted=!0,_(e,i),A(e,t))}(e,n,i,t,o);else{var a=P(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||O(e,n),i?r.nextTick(x,e,n,a,o):x(e,n,a,o)}}(o,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function S(t){var r=this instanceof(i=i||e("./_stream_duplex"));if(!r&&!l.call(S,this))return new S(t);this._writableState=new j(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),a.call(this)}function T(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function x(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),A(e,t)}function O(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,o=new Array(i),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)o[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;o.allBuffers=u,T(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,f=r.callback;if(T(e,t,!1,t.objectMode?1:l.length,l,c,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final(function(r){t.pendingcb--,r&&_(e,r),t.prefinished=!0,e.emit("prefinish"),A(e,t)})}function A(e,t){var n=P(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,r.nextTick(k,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return n}e("inherits")(S,a),j.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(j.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===S&&(e&&e._writableState instanceof j)}})):l=function(e){return e instanceof this},S.prototype.pipe=function(){_(this,new m)},S.prototype.write=function(e,t,n){var i,o=this._writableState,a=!1,l=!o.objectMode&&(i=e,s.isBuffer(i)||i instanceof u);return l&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(n=t,t=null),l?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=E),o.ending?function(e,t){var n=new v;_(e,n),r.nextTick(t,n)}(this,n):(l||function(e,t,n,i){var o;return null===n?o=new y:"string"==typeof n||t.objectMode||(o=new h("chunk",["string","Buffer"],n)),!o||(_(e,o),r.nextTick(i,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=s.from(t,r));return t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var u=t.objectMode?1:n.length;t.length+=u;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,u,n,i,o);return l}(this,o,l,e,t,n)),a},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},S.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,r){r(new p("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,n){var i=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&e!==undefined&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,n){t.ending=!0,A(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=c.destroy,S.prototype._undestroy=c.undestroy,S.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js"}],[7989,{"./end-of-stream":7992,_process:7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=e("./end-of-stream"),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),f=Symbol("handlePromise"),d=Symbol("stream");function h(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(null!==t){var r=e[d].read();null!==r&&(e[c]=null,e[a]=null,e[s]=null,t(h(r,!1)))}}function b(e){r.nextTick(p,e)}var m=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((i(n={get stream(){return this[d]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(h(undefined,!0));if(this[d].destroyed)return new Promise(function(t,n){r.nextTick(function(){e[u]?n(e[u]):t(h(undefined,!0))})});var n,i=this[c];if(i)n=new Promise(function(e,t){return function(r,n){e.then(function(){t[l]?r(h(undefined,!0)):t[f](r,n)},n)}}(i,this));else{var o=this[d].read();if(null!==o)return Promise.resolve(h(o,!1));n=new Promise(this[f])}return this[c]=n,n}},Symbol.asyncIterator,function(){return this}),i(n,"return",function(){var e=this;return new Promise(function(t,r){e[d].destroy(null,function(e){e?r(e):t(h(undefined,!0))})})}),n),m);t.exports=function(e){var t,r=Object.create(g,(i(t={},d,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var n=r[d].read();n?(r[c]=null,r[a]=null,r[s]=null,e(h(n,!1))):(r[a]=e,r[s]=t)},writable:!0}),t));return r[c]=null,o(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[s];return null!==t&&(r[c]=null,r[a]=null,r[s]=null,t(e)),void(r[u]=e)}var n=r[a];null!==n&&(r[c]=null,r[a]=null,r[s]=null,n(h(undefined,!0))),r[l]=!0}),e.on("readable",b.bind(null,r)),r}}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/async_iterator.js"}],[799,{"@ethereumjs/util":817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isEOACodeEIP7702TxData=r.isBlobEIP4844TxData=r.isFeeMarketEIP1559TxData=r.isAccessListEIP2930TxData=r.isLegacyTxData=r.isEOACodeEIP7702Tx=r.isBlobEIP4844Tx=r.isFeeMarketEIP1559Tx=r.isAccessListEIP2930Tx=r.isLegacyTx=r.TransactionType=r.isAuthorizationList=r.isAuthorizationListBytes=r.isAccessList=r.isAccessListBytes=r.Capability=void 0;const n=e("@ethereumjs/util");var i;function o(e){if(0===e.length)return!0;const t=e[0];return!!Array.isArray(t)}function a(e){if(0===e.length)return!0;const t=e[0];return!!Array.isArray(t)}!function(e){e[e.EIP155ReplayProtection=155]="EIP155ReplayProtection",e[e.EIP1559FeeMarket=1559]="EIP1559FeeMarket",e[e.EIP2718TypedTransaction=2718]="EIP2718TypedTransaction",e[e.EIP2930AccessLists=2930]="EIP2930AccessLists",e[e.EIP7702EOACode=7702]="EIP7702EOACode"}(r.Capability||(r.Capability={})),r.isAccessListBytes=o,r.isAccessList=function(e){return!o(e)},r.isAuthorizationListBytes=a,r.isAuthorizationList=function(e){return!a(e)},function(e){e[e.Legacy=0]="Legacy",e[e.AccessListEIP2930=1]="AccessListEIP2930",e[e.FeeMarketEIP1559=2]="FeeMarketEIP1559",e[e.BlobEIP4844=3]="BlobEIP4844",e[e.EOACodeEIP7702=4]="EOACodeEIP7702"}(i=r.TransactionType||(r.TransactionType={})),r.isLegacyTx=function(e){return e.type===i.Legacy},r.isAccessListEIP2930Tx=function(e){return e.type===i.AccessListEIP2930},r.isFeeMarketEIP1559Tx=function(e){return e.type===i.FeeMarketEIP1559},r.isBlobEIP4844Tx=function(e){return e.type===i.BlobEIP4844},r.isEOACodeEIP7702Tx=function(e){return e.type===i.EOACodeEIP7702},r.isLegacyTxData=function(e){return Number((0,n.bytesToBigInt)((0,n.toBytes)(e.type)))===i.Legacy},r.isAccessListEIP2930TxData=function(e){return Number((0,n.bytesToBigInt)((0,n.toBytes)(e.type)))===i.AccessListEIP2930},r.isFeeMarketEIP1559TxData=function(e){return Number((0,n.bytesToBigInt)((0,n.toBytes)(e.type)))===i.FeeMarketEIP1559},r.isBlobEIP4844TxData=function(e){return Number((0,n.bytesToBigInt)((0,n.toBytes)(e.type)))===i.BlobEIP4844},r.isEOACodeEIP7702TxData=function(e){return Number((0,n.bytesToBigInt)((0,n.toBytes)(e.type)))===i.EOACodeEIP7702}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/types.js"}],[7990,{buffer:6221,util:6173},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var u=e("buffer").Buffer,l=e("util").inspect,c=l&&l.custom||"inspect";function f(e,t,r){u.prototype.copy.call(e,t,r)}t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),r=this.head,n=0;r;)f(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,r),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],[7991,{_process:7419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function r(e,t){i(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return s||u?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js"}],[7992,{"../../../errors":7983},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,u=function(){t.writable||c()},l=t._writableState&&t._writableState.finished,c=function(){s=!1,l=!0,a||o.call(t)},f=t._readableState&&t._readableState.endEmitted,d=function(){a=!1,f=!0,s||o.call(t)},h=function(e){o.call(t,e)},p=function(){var e;return a&&!f?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!l?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},b=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",c),t.on("abort",p),t.req?b():t.on("request",b)),t.on("end",d),t.on("finish",c),!1!==r.error&&t.on("error",h),t.on("close",p),function(){t.removeListener("complete",c),t.removeListener("abort",p),t.removeListener("request",b),t.req&&t.req.removeListener("finish",c),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",c),t.removeListener("end",d),t.removeListener("error",h),t.removeListener("close",p)}}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],[7993,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){throw new Error("Readable.from is not available in the browser")}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/from-browser.js"}],[7994,{"../../../errors":7983,"./end-of-stream":7992},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;var i=e("../../../errors").codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e){e()}function l(e,t){return e.pipe(t)}t.exports=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var c,f=function(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}(r);if(Array.isArray(r[0])&&(r=r[0]),r.length<2)throw new o("streams");var d=r.map(function(t,i){var o=i<r.length-1;return function(t,r,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;t.on("close",function(){s=!0}),n===undefined&&(n=e("./end-of-stream")),n(t,{readable:r,writable:i},function(e){if(e)return o(e);s=!0,o()});var u=!1;return function(e){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,i>0,function(e){c||(c=e),e&&d.forEach(u),o||(d.forEach(u),f(c))})});return r.reduce(l)}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],[7995,{"../../../errors":7983},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/state.js"}],[7996,{events:6529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("events").EventEmitter}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js"}],[7997,{"./lib/_stream_duplex.js":7984,"./lib/_stream_passthrough.js":7985,"./lib/_stream_readable.js":7986,"./lib/_stream_transform.js":7987,"./lib/_stream_writable.js":7988,"./lib/internal/streams/end-of-stream.js":7992,"./lib/internal/streams/pipeline.js":7994},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(r=t.exports=e("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js"),r.finished=e("./lib/internal/streams/end-of-stream.js"),r.pipeline=e("./lib/internal/streams/pipeline.js")}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/readable-browser.js"}],[7999,{"safe-buffer":7886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return r!==undefined?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}r.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if((t=this.fillLast(e))===undefined)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if(i=a(t[n]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if(i=a(t[n]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}}},{package:"browserify>string_decoder",file:"node_modules/string_decoder/lib/string_decoder.js"}],[800,{"./types.js":799,"@ethereumjs/util":817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.txTypeBytes=r.AuthorizationLists=r.AccessLists=r.checkMaxInitCodeSize=void 0;const n=e("@ethereumjs/util"),i=e("./types.js");r.checkMaxInitCodeSize=function(e,t){const r=e.param("vm","maxInitCodeSize");if(r&&BigInt(t)>r)throw new Error(`the initcode size of this transaction is too large: it is ${t} while the max is ${e.param("vm","maxInitCodeSize")}`)};r.AccessLists=class{static getAccessListData(e){let t,r;if((0,i.isAccessList)(e)){t=e;const i=[];for(let t=0;t<e.length;t++){const r=e[t],o=(0,n.hexToBytes)(r.address),a=[];for(let e=0;e<r.storageKeys.length;e++)a.push((0,n.hexToBytes)(r.storageKeys[e]));i.push([o,a])}r=i}else{r=e??[];const i=[];for(let e=0;e<r.length;e++){const t=r[e],o=(0,n.bytesToHex)(t[0]),a=[];for(let e=0;e<t[1].length;e++)a.push((0,n.bytesToHex)(t[1][e]));const s={address:o,storageKeys:a};i.push(s)}t=i}return{AccessListJSON:t,accessList:r}}static verifyAccessList(e){for(let t=0;t<e.length;t++){const r=e[t],n=r[0],i=r[1];if(r[2]!==undefined)throw new Error("Access list item cannot have 3 elements. It can only have an address, and an array of storage slots.");if(20!==n.length)throw new Error("Invalid EIP-2930 transaction: address length should be 20 bytes");for(let e=0;e<i.length;e++)if(32!==i[e].length)throw new Error("Invalid EIP-2930 transaction: storage slot length should be 32 bytes")}}static getAccessListJSON(e){const t=[];for(let r=0;r<e.length;r++){const i=e[r],o={address:(0,n.bytesToHex)((0,n.setLengthLeft)(i[0],20)),storageKeys:[]},a=i[1];for(let e=0;e<a.length;e++){const t=a[e];o.storageKeys.push((0,n.bytesToHex)((0,n.setLengthLeft)(t,32)))}t.push(o)}return t}static getDataFeeEIP2930(e,t){const r=t.param("gasPrices","accessListStorageKeyCost"),n=t.param("gasPrices","accessListAddressCost");let i=0;for(let t=0;t<e.length;t++){i+=e[t][1].length}return e.length*Number(n)+i*Number(r)}};r.AuthorizationLists=class{static getAuthorizationListData(e){let t,r;if((0,i.isAuthorizationList)(e)){t=e;const i=[],o=["chainId","address","nonce","yParity","r","s"];for(let t=0;t<e.length;t++){const r=e[t];for(const e of o)if(r[e]===undefined)throw new Error(`EIP-7702 authorization list invalid: ${e} is not defined`);const a=(0,n.hexToBytes)(r.chainId),s=(0,n.hexToBytes)(r.address),u=(0,n.hexToBytes)(r.nonce),l=(0,n.hexToBytes)(r.yParity),c=(0,n.hexToBytes)(r.r),f=(0,n.hexToBytes)(r.s);i.push([a,s,u,l,c,f])}r=i}else{r=e??[];const i=[];for(let e=0;e<r.length;e++){const t=r[e],o={chainId:(0,n.bytesToHex)(t[0]),address:(0,n.bytesToHex)(t[1]),nonce:(0,n.bytesToHex)(t[2]),yParity:(0,n.bytesToHex)(t[3]),r:(0,n.bytesToHex)(t[4]),s:(0,n.bytesToHex)(t[5])};i.push(o)}t=i}return{AuthorizationListJSON:t,authorizationList:r}}static verifyAuthorizationList(e){for(let t=0;t<e.length;t++){const r=e[t],i=r[1],o=r[2],a=r[3],s=r[4],u=r[5];if((0,n.validateNoLeadingZeroes)({yParity:a,r:s,s:u,nonce:o}),20!==i.length)throw new Error("Invalid EIP-7702 transaction: address length should be 20 bytes")}}static getDataFeeEIP7702(e,t){const r=t.param("gasPrices","perAuthBaseCost");return e.length*Number(r)}},r.txTypeBytes=function(e){return(0,n.hexToBytes)(`0x${e.toString(16).padStart(2,"0")}`)}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/util.js"}],[8e3,{"is-hex-prefixed":6836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("is-hex-prefixed");t.exports=function(e){return"string"!=typeof e?e:n(e)?e.slice(2):e}}}},{package:"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix",file:"node_modules/strip-hex-prefix/src/index.js"}],[801,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function i(e){if("boolean"!=typeof e)throw new Error(`boolean expected, not ${e}`)}function o(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function a(e,...t){if(!o(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function s(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function u(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function l(e,t){a(e);const r=t.outputLen;if(e.length<r)throw new Error(`digestInto() expects output buffer of length at least ${r}`)}Object.defineProperty(r,"__esModule",{value:!0}),r.output=r.exists=r.hash=r.bytes=r.bool=r.number=r.isBytes=void 0,r.number=n,r.bool=i,r.isBytes=o,r.bytes=a,r.hash=s,r.exists=u,r.output=l;const c={number:n,bool:i,bytes:a,hash:s,exists:u,output:l};r.default=c}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/@ethereumjs/tx/node_modules/@noble/hashes/_assert.js"}],[8010,{isarray:6850,"safe-buffer":7886,"typed-array-buffer":8024},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,i=e("isarray"),o=e("typed-array-buffer"),a=ArrayBuffer.isView||function(e){try{return o(e),!0}catch(e){return!1}},s="undefined"!=typeof Uint8Array,u="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,l=u&&(n.prototype instanceof Uint8Array||n.TYPED_ARRAY_SUPPORT);t.exports=function(e,t){if(e instanceof n)return e;if("string"==typeof e)return n.from(e,t);if(u&&a(e)){if(0===e.byteLength)return n.alloc(0);if(l){var r=n.from(e.buffer,e.byteOffset,e.byteLength);if(r.byteLength===e.byteLength)return r}var o=e instanceof Uint8Array?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength),c=n.from(o);if(c.length===e.byteLength)return c}if(s&&e instanceof Uint8Array)return n.from(e);var f=i(e);if(f)for(var d=0;d<e.length;d+=1){var h=e[d];if("number"!=typeof h||h<0||h>255||~~h!==h)throw new RangeError("Array items must be numbers in the range 0-255.")}if(f||n.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return n.from(e);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}}}},{package:"@ngraveio/bc-ur>sha.js>to-buffer",file:"node_modules/to-buffer/index.js"}],[8015,{"./mixin-tracking":8017,"./util":8021},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.decorate=r.getDecoratorsForClass=r.directDecoratorSearch=r.deepDecoratorSearch=void 0;const n=e("./util"),i=e("./mixin-tracking"),o=(e,t)=>{var r,i;const o=(0,n.unique)([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),a={};for(let s of o)a[s]=(0,n.unique)([...null!==(r=null==e?void 0:e[s])&&void 0!==r?r:[],...null!==(i=null==t?void 0:t[s])&&void 0!==i?i:[]]);return a},a=(e,t)=>{var r,n,i,a;return{property:o(null!==(r=null==e?void 0:e.property)&&void 0!==r?r:{},null!==(n=null==t?void 0:t.property)&&void 0!==n?n:{}),method:o(null!==(i=null==e?void 0:e.method)&&void 0!==i?i:{},null!==(a=null==t?void 0:t.method)&&void 0!==a?a:{})}},s=(e,t)=>{var r,i,o,s,u,l;return{class:(0,n.unique)([...null!==(r=null==e?void 0:e.class)&&void 0!==r?r:[],...null!==(i=null==t?void 0:t.class)&&void 0!==i?i:[]]),static:a(null!==(o=null==e?void 0:e.static)&&void 0!==o?o:{},null!==(s=null==t?void 0:t.static)&&void 0!==s?s:{}),instance:a(null!==(u=null==e?void 0:e.instance)&&void 0!==u?u:{},null!==(l=null==t?void 0:t.instance)&&void 0!==l?l:{})}},u=new Map;r.deepDecoratorSearch=(...e)=>{const t=((...e)=>{var t;const r=new Set,o=new Set([...e]);for(;o.size>0;)for(let e of o){const a=[...(0,n.protoChain)(e.prototype).map(e=>e.constructor),...null!==(t=(0,i.getMixinsForClass)(e))&&void 0!==t?t:[]].filter(e=>!r.has(e));for(let e of a)o.add(e);r.add(e),o.delete(e)}return[...r]})(...e).map(e=>u.get(e)).filter(e=>!!e);return 0==t.length?{}:1==t.length?t[0]:t.reduce((e,t)=>s(e,t))};r.directDecoratorSearch=(...e)=>{const t=e.map(e=>(0,r.getDecoratorsForClass)(e));return 0===t.length?{}:1===t.length?t[0]:t.reduce((e,t)=>s(e,t))};r.getDecoratorsForClass=e=>{let t=u.get(e);return t||(t={},u.set(e,t)),t};r.decorate=e=>(...t)=>1===t.length?(e=>t=>{const n=(0,r.getDecoratorsForClass)(t);let i=n.class;return i||(i=[],n.class=i),i.push(e),e(t)})(e)(t[0]):(e=>(t,n,...i)=>{var o,a,s;const u="function"==typeof t?"static":"instance",l="function"==typeof t[n]?"method":"property",c="static"===u?t:t.constructor,f=(0,r.getDecoratorsForClass)(c),d=null!==(o=null==f?void 0:f[u])&&void 0!==o?o:{};f[u]=d;let h=null!==(a=null==d?void 0:d[l])&&void 0!==a?a:{};d[l]=h;let p=null!==(s=null==h?void 0:h[n])&&void 0!==s?s:[];return h[n]=p,p.push(e),e(t,n,...i)})(e)(...t)}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/decorator.js"}],[8016,{"./decorator":8015,"./mixin-tracking":8017,"./mixins":8018,"./settings":8020},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hasMixin=r.decorate=r.settings=r.mix=r.Mixin=void 0;var n=e("./mixins");Object.defineProperty(r,"Mixin",{enumerable:!0,get:function(){return n.Mixin}}),Object.defineProperty(r,"mix",{enumerable:!0,get:function(){return n.mix}});var i=e("./settings");Object.defineProperty(r,"settings",{enumerable:!0,get:function(){return i.settings}});var o=e("./decorator");Object.defineProperty(r,"decorate",{enumerable:!0,get:function(){return o.decorate}});var a=e("./mixin-tracking");Object.defineProperty(r,"hasMixin",{enumerable:!0,get:function(){return a.hasMixin}})}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/index.js"}],[8017,{"./util":8021},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hasMixin=r.registerMixins=r.getMixinsForClass=void 0;const n=e("./util"),i=new WeakMap;r.getMixinsForClass=e=>i.get(e);r.registerMixins=(e,t)=>i.set(e,t);r.hasMixin=(e,t)=>{if(e instanceof t)return!0;const r=e.constructor,o=new Set;let a=new Set;for(a.add(r);a.size>0;){if(a.has(t))return!0;a.forEach(e=>o.add(e));const e=new Set;a.forEach(t=>{var r;const s=null!==(r=i.get(t))&&void 0!==r?r:(0,n.protoChain)(t.prototype).map(e=>e.constructor).filter(e=>null!==e);s&&s.forEach(t=>{o.has(t)||a.has(t)||e.add(t)})}),a=e}return!1}}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/mixin-tracking.js"}],[8018,{"./decorator":8015,"./mixin-tracking":8017,"./proxy":8019,"./settings":8020,"./util":8021},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mix=r.Mixin=void 0;const n=e("./proxy"),i=e("./settings"),o=e("./util"),a=e("./decorator"),s=e("./mixin-tracking");function u(...e){var t,r,u;const c=e.map(e=>e.prototype),f=i.settings.initFunction;if(null!==f){const e=c.map(e=>e[f]).filter(e=>"function"==typeof e),t=function(...t){for(let r of e)r.apply(this,t)},r={[f]:t};c.push(r)}function d(...t){for(const r of e)(0,o.copyProps)(this,new r(...t));null!==f&&"function"==typeof this[f]&&this[f].apply(this,t)}d.prototype="copy"===i.settings.prototypeStrategy?(0,o.hardMixProtos)(c,d):(0,n.softMixProtos)(c,d),Object.setPrototypeOf(d,"copy"===i.settings.staticsStrategy?(0,o.hardMixProtos)(e,null,["prototype"]):(0,n.proxyMix)(e,Function.prototype));let h=d;if("none"!==i.settings.decoratorInheritance){const n="deep"===i.settings.decoratorInheritance?(0,a.deepDecoratorSearch)(...e):(0,a.directDecoratorSearch)(...e);for(let e of null!==(t=null==n?void 0:n.class)&&void 0!==t?t:[]){const t=e(h);t&&(h=t)}l(null!==(r=null==n?void 0:n.static)&&void 0!==r?r:{},h),l(null!==(u=null==n?void 0:n.instance)&&void 0!==u?u:{},h.prototype)}return(0,s.registerMixins)(h,e),h}r.Mixin=u;const l=(e,t)=>{const r=e.property,n=e.method;if(r)for(let e in r)for(let n of r[e])n(t,e);if(n)for(let e in n)for(let r of n[e])r(t,e,Object.getOwnPropertyDescriptor(t,e))};r.mix=(...e)=>t=>{const r=u(...e.concat([t]));return Object.defineProperty(r,"name",{value:t.name,writable:!1}),r}}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/mixins.js"}],[8019,{"./util":8021},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.softMixProtos=r.proxyMix=r.getIngredientWithProp=void 0;const n=e("./util");r.getIngredientWithProp=(e,t)=>{const r=t.map(e=>(0,n.protoChain)(e));let i=0,o=!0;for(;o;){o=!1;for(let n=t.length-1;n>=0;n--){const t=r[n][i];if(t!==undefined&&null!==t&&(o=!0,Object.getOwnPropertyDescriptor(t,e)!=undefined))return r[n][0]}i++}return undefined};r.proxyMix=(e,t=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(t,n)=>Object.getOwnPropertyDescriptor((0,r.getIngredientWithProp)(n,e)||{},n),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(n,i)=>(0,r.getIngredientWithProp)(i,e)!==undefined||t[i]!==undefined,get:(n,i)=>((0,r.getIngredientWithProp)(i,e)||t)[i],set(t,n,i){const o=(0,r.getIngredientWithProp)(n,e);if(o===undefined)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return o[n]=i,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>e.map(Object.getOwnPropertyNames).reduce((e,t)=>t.concat(e.filter(e=>t.indexOf(e)<0)))});r.softMixProtos=(e,t)=>(0,r.proxyMix)([...e,{constructor:t}])}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/proxy.js"}],[802,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.add5L=r.add5H=r.add4H=r.add4L=r.add3H=r.add3L=r.add=r.rotlBL=r.rotlBH=r.rotlSL=r.rotlSH=r.rotr32L=r.rotr32H=r.rotrBL=r.rotrBH=r.rotrSL=r.rotrSH=r.shrSL=r.shrSH=r.toBig=r.split=r.fromBig=void 0;const n=BigInt(2**32-1),i=BigInt(32);function o(e,t=!1){return t?{h:Number(e&n),l:Number(e>>i&n)}:{h:0|Number(e>>i&n),l:0|Number(e&n)}}function a(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let i=0;i<e.length;i++){const{h:a,l:s}=o(e[i],t);[r[i],n[i]]=[a,s]}return[r,n]}r.fromBig=o,r.split=a;const s=(e,t)=>BigInt(e>>>0)<<i|BigInt(t>>>0);r.toBig=s;const u=(e,t,r)=>e>>>r;r.shrSH=u;const l=(e,t,r)=>e<<32-r|t>>>r;r.shrSL=l;const c=(e,t,r)=>e>>>r|t<<32-r;r.rotrSH=c;const f=(e,t,r)=>e<<32-r|t>>>r;r.rotrSL=f;const d=(e,t,r)=>e<<64-r|t>>>r-32;r.rotrBH=d;const h=(e,t,r)=>e>>>r-32|t<<64-r;r.rotrBL=h;const p=(e,t)=>t;r.rotr32H=p;const b=(e,t)=>e;r.rotr32L=b;const m=(e,t,r)=>e<<r|t>>>32-r;r.rotlSH=m;const g=(e,t,r)=>t<<r|e>>>32-r;r.rotlSL=g;const y=(e,t,r)=>t<<r-32|e>>>64-r;r.rotlBH=y;const v=(e,t,r)=>e<<r-32|t>>>64-r;function w(e,t,r,n){const i=(t>>>0)+(n>>>0);return{h:e+r+(i/2**32|0)|0,l:0|i}}r.rotlBL=v,r.add=w;const _=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);r.add3L=_;const E=(e,t,r,n)=>t+r+n+(e/2**32|0)|0;r.add3H=E;const j=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);r.add4L=j;const S=(e,t,r,n,i)=>t+r+n+i+(e/2**32|0)|0;r.add4H=S;const T=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0);r.add5L=T;const x=(e,t,r,n,i,o)=>t+r+n+i+o+(e/2**32|0)|0;r.add5H=x;const O={fromBig:o,split:a,toBig:s,shrSH:u,shrSL:l,rotrSH:c,rotrSL:f,rotrBH:d,rotrBL:h,rotr32H:p,rotr32L:b,rotlSH:m,rotlSL:g,rotlBH:y,rotlBL:v,add:w,add3L:_,add3H:E,add4L:j,add4H:S,add5H:x,add5L:T};r.default=O}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/@ethereumjs/tx/node_modules/@noble/hashes/_u64.js"}],[8020,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.settings=void 0,r.settings={initFunction:null,staticsStrategy:"copy",prototypeStrategy:"copy",decoratorInheritance:"deep"}}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/settings.js"}]],[],{});