LavaPack.loadBundle([[5844,{"@remix-run/router":3771,react:5865},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/**
 * React Router v6.30.3
 *
 * 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)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o.apply(this,arguments)}const a=i.createContext(null);a.displayName="DataRouter";const s=i.createContext(null);s.displayName="DataRouterState";const l=i.createContext(null);l.displayName="Await";const u=i.createContext(null);u.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 m="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function b(e){i.useContext(u).static||i.useLayoutEffect(e)}function g(){let{isDataRoute:e}=i.useContext(f);return e?function(){let{router:e}=P(x.UseNavigateStable),t=I(j.UseNavigateStable),n=i.useRef(!1);return b(()=>{n.current=!0}),i.useCallback(function(i,a){void 0===a&&(a={}),r.UNSAFE_warning(n.current,m),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(u),{matches:s}=i.useContext(f),{pathname:l}=p(),c=JSON.stringify(r.UNSAFE_getResolveToMatches(s,n.v7_relativeSplatPath)),d=i.useRef(!1);return b(()=>{d.current=!0}),i.useCallback(function(n,i){if(void 0===i&&(i={}),r.UNSAFE_warning(d.current,m),!d.current)return;if("number"==typeof n)return void o.go(n);let a=r.resolveTo(n,JSON.parse(c),l,"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,l,e])}()}const y=i.createContext(null);function w(e){let t=i.useContext(f).outlet;return t?i.createElement(y.Provider,{value:e},t):t}function _(e,t){let{relative:n}=void 0===t?{}:t,{future:o}=i.useContext(u),{matches:a}=i.useContext(f),{pathname:s}=p(),l=JSON.stringify(r.UNSAFE_getResolveToMatches(a,o.v7_relativeSplatPath));return i.useMemo(()=>r.resolveTo(e,JSON.parse(l),s,"path"===n),[e,l,s,n])}function v(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(u),{matches:l}=i.useContext(f),d=l[l.length-1],m=d?d.params:{},b=d?d.pathname:"/",g=d?d.pathnameBase:"/",y=d&&d.route;{let e=y&&y.path||"";U(b,!y||e.endsWith("*"),'You rendered descendant <Routes> (or called `useRoutes()`) at "'+b+'" (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 w,_=p();if(t){var v;let e="string"==typeof t?r.parsePath(t):t;"/"===g||(null==(v=e.pathname)?void 0:v.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.'),w=e}else w=_;let E=w.pathname||"/",S=E;if("/"!==g){let e=g.replace(/^\//,"").split("/");S="/"+E.replace(/^\//,"").split("/").slice(e.length).join("/")}let A=r.matchRoutes(e,{pathname:S});r.UNSAFE_warning(y||null!=A,'No routes matched location "'+w.pathname+w.search+w.hash+'" '),r.UNSAFE_warning(null==A||A[A.length-1].route.element!==undefined||A[A.length-1].route.Component!==undefined||A[A.length-1].route.lazy!==undefined,'Matched leaf route at location "'+w.pathname+w.search+w.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=k(A&&A.map(e=>Object.assign({},e,{params:Object.assign({},m,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])})),l,n,a);return t&&T?i.createElement(c.Provider,{value:{location:o({pathname:"/",search:"",hash:"",state:null,key:"default"},w),navigationType:r.Action.Pop}},T):T}function S(){let e=N(),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},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=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,l)}const A=i.createElement(S,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 R(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 k(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 l=e,u=null==(a=n)?void 0:a.errors;if(null!=u){let e=l.findIndex(e=>e.route.id&&(null==u?void 0:u[e.route.id])!==undefined);e>=0||r.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(u).join(",")),l=l.slice(0,Math.min(l.length,e+1))}let c=!1,f=-1;if(n&&o&&o.v7_partialHydration)for(let e=0;e<l.length;e++){let t=l[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,l=f>=0?l.slice(0,f+1):[l[0]];break}}}return l.reduceRight((e,r,o)=>{let a,s=!1,d=null,h=null;n&&(a=u&&r.route.id?u[r.route.id]:undefined,d=r.route.errorElement||A,c&&(f<0&&0===o?(U("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(l.slice(0,o+1)),m=()=>{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(R,{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:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var x=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(x||{}),j=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}(j||{});function O(e){return e+" must be used within a data router.  See https://reactrouter.com/v6/routers/picking-a-router."}function P(e){let t=i.useContext(a);return t||r.UNSAFE_invariant(!1,O(e)),t}function M(e){let t=i.useContext(s);return t||r.UNSAFE_invariant(!1,O(e)),t}function I(e){let t=function(e){let t=i.useContext(f);return t||r.UNSAFE_invariant(!1,O(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 N(){var e;let t=i.useContext(d),r=M(j.UseRouteError),n=I(j.UseRouteError);return t!==undefined?t:null==(e=r.errors)?void 0:e[n]}function C(){let e=i.useContext(l);return null==e?void 0:e._data}let L=0;const D={};function U(e,t,n){t||D[e]||(D[e]=!0,r.UNSAFE_warning(!1,n))}const F={};const $=(e,t,r)=>{var n;F[n="⚠️ React Router Future Flag Warning: "+t+". You can use the `"+e+"` future flag to opt-in early. For more information, see "+r+"."]||(F[n]=!0,console.warn(n))};function B(e,t){(null==e?void 0:e.v7_startTransition)===undefined&&$("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||$("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&&$("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),t.v7_normalizeFormMethod===undefined&&$("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&&$("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),t.v7_skipActionErrorRevalidation===undefined&&$("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}const W=i.startTransition;function H(e){let{routes:t,future:r,state:n}=e;return E(t,undefined,n,r)}function q(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 V(e){let{basename:t="/",children:n=null,location:a,navigationType:s=r.Action.Pop,navigator:l,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(/^\/*/,"/"),m=i.useMemo(()=>({basename:p,navigator:l,static:f,future:o({v7_relativeSplatPath:!1},d)}),[p,d,l,f]);"string"==typeof a&&(a=r.parsePath(a));let{pathname:b="/",search:g="",hash:y="",state:w=null,key:_="default"}=a,v=i.useMemo(()=>{let e=r.stripBasename(b,p);return null==e?null:{location:{pathname:e,search:g,hash:y,state:w,key:_},navigationType:s}},[p,b,g,y,w,_,s]);return r.UNSAFE_warning(null!=v,'<Router basename="'+p+'"> is not able to match the URL "'+b+g+y+"\" because it does not start with the basename, so the <Router> won't render anything."),null==v?null:i.createElement(u.Provider,{value:m},i.createElement(c.Provider,{children:n,value:v}))}var G=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(G||{});const z=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=G.pending;if(n instanceof Promise)if(this.state.error){a=G.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?G.error:"_data"in o?G.success:G.pending):(a=G.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=G.success,o=Promise.resolve(),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_data",{get:()=>n});if(a===G.error&&o._error instanceof r.AbortedDeferredError)throw z;if(a===G.error&&!t)throw o._error;if(a===G.error)return i.createElement(l.Provider,{value:o,children:t});if(a===G.success)return i.createElement(l.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!==q&&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 Z(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,l=i.useRef();null==l.current&&(l.current=r.createMemoryHistory({initialEntries:o,initialIndex:a,v5Compat:!0}));let u=l.current,[c,f]=i.useState({action:u.action,location:u.location}),{v7_startTransition:d}=s||{},h=i.useCallback(e=>{d&&W?W(()=>f(e)):f(e)},[f,d]);return i.useLayoutEffect(()=>u.listen(h),[u,h]),i.useEffect(()=>B(s),[s]),i.createElement(V,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:u,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:l}=i.useContext(u);r.UNSAFE_warning(!l,"<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(),m=g(),b=r.resolveTo(t,r.UNSAFE_getResolveToMatches(c,s.v7_relativeSplatPath),d,"path"===a),y=JSON.stringify(b);return i.useEffect(()=>m(JSON.parse(y),{replace:n,state:o,relative:a}),[m,y,a,n,o]),null},e.Outlet=function(e){return w(e.context)},e.Route=q,e.Router=V,e.RouterProvider=function(e){let{fallbackElement:t,router:n,future:o}=e,[l,u]=i.useState(n.state),{v7_startTransition:c}=o||{},f=i.useCallback(e=>{c&&W?W(()=>u(e)):u(e)},[u,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(()=>B(o,n.future),[n,o]),i.createElement(i.Fragment,null,i.createElement(a.Provider,{value:p},i.createElement(s.Provider,{value:l},i.createElement(V,{basename:h,location:l.location,navigationType:l.historyAction,navigator:d,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},l.initialized||n.future.v7_partialHydration?i.createElement(H,{routes:n.routes,future:n.future,state:l}):t))),null)},e.Routes=function(e){let{children:t,location:r}=e;return v(X(t),r)},e.UNSAFE_DataRouterContext=a,e.UNSAFE_DataRouterStateContext=s,e.UNSAFE_LocationContext=c,e.UNSAFE_NavigationContext=u,e.UNSAFE_RouteContext=f,e.UNSAFE_logV6DeprecationWarnings=B,e.UNSAFE_mapRouteProperties=Z,e.UNSAFE_useRouteId=function(){return I(j.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:Z,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 k(e)},e.useActionData=function(){let e=M(j.UseActionData),t=I(j.UseLoaderData);return e.actionData?e.actionData[t]:undefined},e.useAsyncError=function(){let e=i.useContext(l);return null==e?void 0:e._error},e.useAsyncValue=C,e.useBlocker=function(e){let{router:t,basename:n}=P(x.UseBlocker),a=M(j.UseBlocker),[s,l]=i.useState(""),u=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(++L);return l(e),()=>t.deleteBlocker(e)},[t]),i.useEffect(()=>{""!==s&&t.getBlocker(s,u)},[t,s,u]),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(u),{hash:s,pathname:l,search:c}=_(e,{relative:n}),f=l;return"/"!==o&&(f="/"===l?o:r.joinPaths([o,l])),a.createHref({pathname:f,search:c,hash:s})},e.useInRouterContext=h,e.useLoaderData=function(){let e=M(j.UseLoaderData),t=I(j.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}=M(j.UseMatches);return i.useMemo(()=>e.map(e=>r.UNSAFE_convertRouteMatchToUiMatch(e,t)),[e,t])},e.useNavigate=g,e.useNavigation=function(){return M(j.UseNavigation).navigation},e.useNavigationType=function(){return i.useContext(c).navigationType},e.useOutlet=w,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=_,e.useRevalidator=function(){let e=P(x.UseRevalidator),t=M(j.UseRevalidator);return i.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])},e.useRouteError=N,e.useRouteLoaderData=function(e){return M(j.UseRouteLoaderData).loaderData[e]},e.useRoutes=v,Object.defineProperty(e,"__esModule",{value:!0})})}}},{package:"react-router-dom>react-router",file:"node_modules/react-router/dist/umd/react-router.development.js"}],[5845,{"@remix-run/router":3771,react:5865},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)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}const o=n.createContext(null),a=n.createContext(null),s=n.createContext(null),l=n.createContext(null),u=n.createContext(null),c=n.createContext({outlet:null,matches:[],isDataRoute:!1}),f=n.createContext(null);function d(){return null!=n.useContext(u)}function h(){return d()||r.UNSAFE_invariant(!1),n.useContext(u).location}function p(e){n.useContext(l).static||n.useLayoutEffect(e)}function m(){let{isDataRoute:e}=n.useContext(c);return e?function(){let{router:e}=k(T.UseNavigateStable),t=j(R.UseNavigateStable),r=n.useRef(!1);return p(()=>{r.current=!0}),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])}():function(){d()||r.UNSAFE_invariant(!1);let e=n.useContext(o),{basename:t,future:i,navigator:a}=n.useContext(l),{matches:s}=n.useContext(c),{pathname:u}=h(),f=JSON.stringify(r.UNSAFE_getResolveToMatches(s,i.v7_relativeSplatPath)),m=n.useRef(!1);return p(()=>{m.current=!0}),n.useCallback(function(n,i){if(void 0===i&&(i={}),!m.current)return;if("number"==typeof n)return void a.go(n);let o=r.resolveTo(n,JSON.parse(f),u,"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,u,e])}()}const b=n.createContext(null);function g(e){let t=n.useContext(c).outlet;return t?n.createElement(b.Provider,{value:e},t):t}function y(e,t){let{relative:i}=void 0===t?{}:t,{future:o}=n.useContext(l),{matches:a}=n.useContext(c),{pathname:s}=h(),u=JSON.stringify(r.UNSAFE_getResolveToMatches(a,o.v7_relativeSplatPath));return n.useMemo(()=>r.resolveTo(e,JSON.parse(u),s,"path"===i),[e,u,s,i])}function w(e,t){return _(e,t)}function _(e,t,o,a){d()||r.UNSAFE_invariant(!1);let{navigator:s}=n.useContext(l),{matches:f}=n.useContext(c),p=f[f.length-1],m=p?p.params:{};!p||p.pathname;let b=p?p.pathnameBase:"/";p&&p.route;let g,y=h();if(t){var w;let e="string"==typeof t?r.parsePath(t):t;"/"===b||(null==(w=e.pathname)?void 0:w.startsWith(b))||r.UNSAFE_invariant(!1),g=e}else g=y;let _=g.pathname||"/",v=_;if("/"!==b){let e=b.replace(/^\//,"").split("/");v="/"+_.replace(/^\//,"").split("/").slice(e.length).join("/")}let E=r.matchRoutes(e,{pathname:v}),S=A(E&&E.map(e=>Object.assign({},e,{params:Object.assign({},m,e.params),pathname:r.joinPaths([b,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?b:r.joinPaths([b,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),f,o,a);return t&&S?n.createElement(u.Provider,{value:{location:i({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:r.Action.Pop}},S):S}const v=n.createElement(function(){let e=O(),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 S(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 A(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 l=e,u=null==(a=i)?void 0:a.errors;if(null!=u){let e=l.findIndex(e=>e.route.id&&void 0!==(null==u?void 0:u[e.route.id]));e>=0||r.UNSAFE_invariant(!1),l=l.slice(0,Math.min(l.length,e+1))}let c=!1,f=-1;if(i&&o&&o.v7_partialHydration)for(let e=0;e<l.length;e++){let t=l[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,l=f>=0?l.slice(0,f+1):[l[0]];break}}}return l.reduceRight((e,r,o)=>{let a,s=!1,d=null,h=null;var p;i&&(a=u&&r.route.id?u[r.route.id]:void 0,d=r.route.errorElement||v,c&&(f<0&&0===o?(I[p="route-fallback"]||(I[p]=!0),s=!0,h=null):f===o&&(s=!0,h=r.route.hydrateFallbackElement||null)));let m=t.concat(l.slice(0,o+1)),b=()=>{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(S,{match:r,routeContext:{outlet:e,matches:m,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:b(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):b()},null)}var T=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(T||{}),R=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}(R||{});function k(e){let t=n.useContext(o);return t||r.UNSAFE_invariant(!1),t}function x(e){let t=n.useContext(a);return t||r.UNSAFE_invariant(!1),t}function j(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 O(){var e;let t=n.useContext(f),r=x(R.UseRouteError),i=j(R.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[i]}function P(){let e=n.useContext(s);return null==e?void 0:e._data}let M=0;const I={};function N(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 L(e){let{routes:t,future:r,state:n}=e;return _(t,void 0,n,r)}function D(e){r.UNSAFE_invariant(!1)}function U(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(/^\/*/,"/"),m=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:b="/",search:g="",hash:y="",state:w=null,key:_="default"}=a,v=n.useMemo(()=>{let e=r.stripBasename(b,p);return null==e?null:{location:{pathname:e,search:g,hash:y,state:w,key:_},navigationType:s}},[p,b,g,y,w,_,s]);return null==v?null:n.createElement(l.Provider,{value:m},n.createElement(u.Provider,{children:o,value:v}))}var F=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(F||{});const $=new Promise(()=>{});class B 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=F.pending;if(i instanceof Promise)if(this.state.error){a=F.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?F.error:"_data"in o?F.success:F.pending):(a=F.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=F.success,o=Promise.resolve(),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_data",{get:()=>i});if(a===F.error&&o._error instanceof r.AbortedDeferredError)throw $;if(a===F.error&&!t)throw o._error;if(a===F.error)return n.createElement(s.Provider,{value:o,children:t});if(a===F.success)return n.createElement(s.Provider,{value:o,children:e});throw o}}function W(e){let{children:t}=e,r=P(),i="function"==typeof t?t(r):t;return n.createElement(n.Fragment,null,i)}function H(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,H(e.props.children,a));e.type!==D&&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=H(e.props.children,a)),i.push(s)}),i}function q(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(B,{resolve:i,errorElement:r},n.createElement(W,null,t))},e.MemoryRouter=function(e){let{basename:t,children:i,initialEntries:o,initialIndex:a,future:s}=e,l=n.useRef();null==l.current&&(l.current=r.createMemoryHistory({initialEntries:o,initialIndex:a,v5Compat:!0}));let u=l.current,[c,f]=n.useState({action:u.action,location:u.location}),{v7_startTransition:d}=s||{},h=n.useCallback(e=>{d&&C?C(()=>f(e)):f(e)},[f,d]);return n.useLayoutEffect(()=>u.listen(h),[u,h]),n.useEffect(()=>N(s),[s]),n.createElement(U,{basename:t,children:i,location:c.location,navigationType:c.action,navigator:u,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:u}=n.useContext(l),{matches:f}=n.useContext(c),{pathname:p}=h(),b=m(),g=r.resolveTo(t,r.UNSAFE_getResolveToMatches(f,s.v7_relativeSplatPath),p,"path"===a),y=JSON.stringify(g);return n.useEffect(()=>b(JSON.parse(y),{replace:i,state:o,relative:a}),[b,y,a,i,o]),null},e.Outlet=function(e){return g(e.context)},e.Route=D,e.Router=U,e.RouterProvider=function(e){let{fallbackElement:t,router:r,future:i}=e,[s,l]=n.useState(r.state),{v7_startTransition:u}=i||{},c=n.useCallback(e=>{u&&C?C(()=>l(e)):l(e)},[l,u]);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(()=>N(i,r.future),[r,i]),n.createElement(n.Fragment,null,n.createElement(o.Provider,{value:h},n.createElement(a.Provider,{value:s},n.createElement(U,{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(L,{routes:r.routes,future:r.future,state:s}):t))),null)},e.Routes=function(e){let{children:t,location:r}=e;return w(H(t),r)},e.UNSAFE_DataRouterContext=o,e.UNSAFE_DataRouterStateContext=a,e.UNSAFE_LocationContext=u,e.UNSAFE_NavigationContext=l,e.UNSAFE_RouteContext=c,e.UNSAFE_logV6DeprecationWarnings=N,e.UNSAFE_mapRouteProperties=q,e.UNSAFE_useRouteId=function(){return j(R.UseRouteId)},e.UNSAFE_useRoutesImpl=_,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:q,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()},e.createRoutesFromChildren=H,e.createRoutesFromElements=H,e.renderMatches=function(e){return A(e)},e.useActionData=function(){let e=x(R.UseActionData),t=j(R.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=P,e.useBlocker=function(e){let{router:t,basename:o}=k(T.UseBlocker),a=x(R.UseBlocker),[s,l]=n.useState(""),u=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(++M);return l(e),()=>t.deleteBlocker(e)},[t]),n.useEffect(()=>{""!==s&&t.getBlocker(s,u)},[t,s,u]),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(l),{hash:s,pathname:u,search:c}=y(e,{relative:i}),f=u;return"/"!==o&&(f="/"===u?o:r.joinPaths([o,u])),a.createHref({pathname:f,search:c,hash:s})},e.useInRouterContext=d,e.useLoaderData=function(){let e=x(R.UseLoaderData),t=j(R.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}=x(R.UseMatches);return n.useMemo(()=>e.map(e=>r.UNSAFE_convertRouteMatchToUiMatch(e,t)),[e,t])},e.useNavigate=m,e.useNavigation=function(){return x(R.UseNavigation).navigation},e.useNavigationType=function(){return n.useContext(u).navigationType},e.useOutlet=g,e.useOutletContext=function(){return n.useContext(b)},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=k(T.UseRevalidator),t=x(R.UseRevalidator);return n.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])},e.useRouteError=O,e.useRouteLoaderData=function(e){return x(R.UseRouteLoaderData).loaderData[e]},e.useRoutes=w,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"}],[5861,{"object-assign":5649,react:5865},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-jsx-runtime.development.js"}],[5862,{"object-assign":5649,react:5865},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("object-assign");var n=e("react"),i=60103;if(r.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),r.Fragment=o("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)s.call(t,n)&&!l.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:o,_owner:a.current}}r.jsx=u,r.jsxs=u}}},{package:"react",file:"node_modules/react/cjs/react-jsx-runtime.production.min.js"}],[5863,{"object-assign":5649},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"}],[5864,{"object-assign":5649},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,l=60112;r.Suspense=60113;var u=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"),l=f("react.forward_ref"),r.Suspense=f("react.suspense"),u=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(){}},m={};function b(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||p}function g(){}function y(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||p}b.prototype.isReactComponent={},b.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")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=b.prototype;var w=y.prototype=new g;w.constructor=y,n(w,b.prototype),w.isPureReactComponent=!0;var _={current:null},v=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function S(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)v.call(t,n)&&!E.hasOwnProperty(n)&&(o[n]=t[n]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(n in l=e.defaultProps)void 0===o[n]&&(o[n]=l[n]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:_.current}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var T=/\/+/g;function R(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 k(e,t,r,n,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case i:case o:l=!0}}if(l)return a=a(l=e),e=""===n?"."+R(l,0):n,Array.isArray(a)?(r="",null!=e&&(r=e.replace(T,"$&/")+"/"),k(a,t,r,"",function(e){return e})):null!=a&&(A(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||l&&l.key===a.key?"":(""+a.key).replace(T,"$&/")+"/")+e)),t.push(a)),1;if(l=0,n=""===n?".":n+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=n+R(s=e[u],u);l+=k(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),u=0;!(s=e.next()).done;)l+=k(s=s.value,t,r,c=n+R(s,u++),a);else if("object"===s)throw t=""+e,Error(h(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function x(e,t,r){if(null==e)return e;var n=[],i=0;return k(e,n,"","",function(e){return t.call(r,e,i++)}),n}function j(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 O={current:null};function P(){var e=O.current;if(null===e)throw Error(h(321));return e}var M={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:_,IsSomeRendererActing:{current:!1},assign:n};r.Children={map:x,forEach:function(e,t,r){x(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return x(e,function(){t++}),t},toArray:function(e){return x(e,function(e){return e})||[]},only:function(e){if(!A(e))throw Error(h(143));return e}},r.Component=b,r.PureComponent=y,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,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,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=_.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)v.call(t,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){u=Array(c);for(var f=0;f<c;f++)u[f]=arguments[f+2];o.children=u}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:l}},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=S,r.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:l,render:e}},r.isValidElement=A,r.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:j}},r.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},r.useCallback=function(e,t){return P().useCallback(e,t)},r.useContext=function(e,t){return P().useContext(e,t)},r.useDebugValue=function(){},r.useEffect=function(e,t){return P().useEffect(e,t)},r.useImperativeHandle=function(e,t,r){return P().useImperativeHandle(e,t,r)},r.useLayoutEffect=function(e,t){return P().useLayoutEffect(e,t)},r.useMemo=function(e,t){return P().useMemo(e,t)},r.useReducer=function(e,t,r){return P().useReducer(e,t,r)},r.useRef=function(e){return P().useRef(e)},r.useState=function(e){return P().useState(e)},r.version="17.0.2"}}},{package:"react",file:"node_modules/react/cjs/react.production.min.js"}],[5865,{"./cjs/react.development.js":5863,"./cjs/react.production.min.js":5864},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"}],[5866,{"./cjs/react-jsx-runtime.development.js":5861,"./cjs/react-jsx-runtime.production.min.js":5862},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./cjs/react-jsx-runtime.production.min.js")}}},{package:"react",file:"node_modules/react/jsx-runtime.js"}],[5867,{"../../ours/errors":5886,"../../ours/primordials":5887,"../../ours/util":5888,"./end-of-stream":5873,"./utils":5882},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:l}=e("./utils"),u=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[l](new i(undefined,{cause:t.reason}))};if(t.aborted)o();else{f=f||e("../../ours/util").addAbortListener;const i=f(t,o);u(r,i[n])}return r}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/add-abort-signal.js"}],[5868,{"../../ours/primordials":5887,"../../ours/util":5888,buffer:4682},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:l}=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 l(this,{...t,depth:0,customInspect:!1})}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],[5869,{"../../ours/errors":5886,"./destroy":5870,"./duplex":5871,"./end-of-stream":5873,"./pipeline":5878,"./utils":5882},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:l,isWebStream:u,isTransformStream:c,isWritableStream:f,isReadableStream:d}=e("./utils"),{AbortError:h,codes:{ERR_INVALID_ARG_VALUE:p,ERR_MISSING_ARGS:m}}=e("../../ours/errors"),b=e("./end-of-stream");t.exports=function(...e){if(0===e.length)throw new m("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])||u(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&&!(l(e[r])||f(e[r])||c(e[r])))throw new p(`streams[${r}]`,t[r],"must be writable")}let r,g,y,w,_;const v=e[0],E=n(e,function(e){const t=w;w=null,t?t(e):e?_.destroy(e):A||S||_.destroy()}),S=!!(l(v)||f(v)||c(v)),A=!!(s(E)||d(E)||c(E));if(_=new i({writableObjectMode:!(null===v||v===undefined||!v.writableObjectMode),readableObjectMode:!(null===E||E===undefined||!E.readableObjectMode),writable:S,readable:A}),S){if(a(v))_._write=function(e,t,n){v.write(e,t)?n():r=n},_._final=function(e){v.end(),g=e},v.on("drain",function(){if(r){const e=r;r=null,e()}});else if(u(v)){const e=(c(v)?v.writable:v).getWriter();_._write=async function(t,r,n){try{await e.ready,e.write(t).catch(()=>{}),n()}catch(e){n(e)}},_._final=async function(t){try{await e.ready,e.close().catch(()=>{}),g=t}catch(e){t(e)}}}const e=c(E)?E.readable:E;b(e,()=>{if(g){const e=g;g=null,e()}})}if(A)if(a(E))E.on("readable",function(){if(y){const e=y;y=null,e()}}),E.on("end",function(){_.push(null)}),_._read=function(){for(;;){const e=E.read();if(null===e)return void(y=_._read);if(!_.push(e))return}};else if(u(E)){const e=(c(E)?E.readable:E).getReader();_._read=async function(){for(;;)try{const{value:t,done:r}=await e.read();if(!_.push(t))return;if(r)return void _.push(null)}catch{return}}}return _._destroy=function(e,t){e||null===w||(e=new h),y=null,r=null,g=null,null===w?t(e):(w=t,a(E)&&o(E,e))},_}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/compose.js"}],[5870,{"../../ours/errors":5886,"../../ours/primordials":5887,"./utils":5882,"process/":5698},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:l,isDestroyed:u,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 m(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(b,e,t):n.nextTick(g,e)}try{e._destroy(t||null,o)}catch(t){o(t)}}function b(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 w(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 _(e){let t=!1;function r(r){if(t)return void w(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?w(e,r,!0):n.nextTick(v,e)}try{e._construct(e=>{n.nextTick(r,e)})}catch(e){n.nextTick(r,e)}}function v(e){e.emit(h)}function E(e){return(null===e||e===undefined?undefined:e.setHeader)&&"function"==typeof e.abort}function S(e){e.emit("close")}function A(e,t){e.emit("error",t),n.nextTick(S,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(_,e)},destroyer:function(e,t){e&&!u(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(A,e,t):n.nextTick(S,e),e.destroyed||(e[l]=!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?m(this,e,t):this.once(d,function(r){m(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:w}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/destroy.js"}],[5871,{"../../ours/primordials":5887,"./duplexify":5872,"./readable":5879,"./writable":5883},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=u;const s=e("./readable"),l=e("./writable");a(u.prototype,s.prototype),a(u,s);{const e=o(l.prototype);for(let t=0;t<e.length;t++){const r=e[t];u.prototype[r]||(u.prototype[r]=l.prototype[r])}}function u(e){if(!(this instanceof u))return new u(e);s.call(this,e),l.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(u.prototype,{writable:{__proto__:null,...i(l.prototype,"writable")},writableHighWaterMark:{__proto__:null,...i(l.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...i(l.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...i(l.prototype,"writableBuffer")},writableLength:{__proto__:null,...i(l.prototype,"writableLength")},writableFinished:{__proto__:null,...i(l.prototype,"writableFinished")},writableCorked:{__proto__:null,...i(l.prototype,"writableCorked")},writableEnded:{__proto__:null,...i(l.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...i(l.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)}}}),u.fromWeb=function(e,t){return d().newStreamDuplexFromReadableWritablePair(e,t)},u.toWeb=function(e){return d().newReadableWritablePairFromDuplex(e)},u.from=function(t){return f||(f=e("./duplexify")),f(t,"body")}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/duplex.js"}],[5872,{"../../ours/errors":5886,"../../ours/primordials":5887,"../../ours/util":5888,"./destroy":5870,"./duplex":5871,"./end-of-stream":5873,"./from":5874,"./readable":5879,"./utils":5882,"./writable":5883,"abort-controller":4462,buffer:4682,"process/":5698},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:l,isReadableNodeStream:u,isWritableNodeStream:c,isDuplexNodeStream:f,isReadableStream:d,isWritableStream:h}=e("./utils"),p=e("./end-of-stream"),{AbortError:m,codes:{ERR_INVALID_ARG_TYPE:b,ERR_INVALID_RETURN_VALUE:g}}=e("../../ours/errors"),{destroyer:y}=e("./destroy"),w=e("./duplex"),_=e("./readable"),v=e("./writable"),{createDeferredPromise:E}=e("../../ours/util"),S=e("./from"),A=globalThis.Blob||i.Blob,T=void 0!==A?function(e){return e instanceof A}:function(e){return!1},R=globalThis.AbortController||e("abort-controller").AbortController,{FunctionPrototypeCall:k}=e("../../ours/primordials");class x extends w{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 j(e){const t=e.readable&&"function"!=typeof e.readable.read?_.wrap(e.readable):e.readable,r=e.writable;let n,i,s,l,u,c=!!o(t),f=!!a(r);function d(e){const t=l;l=null,t?t(e):e&&u.destroy(e)}return u=new x({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)}),u._write=function(e,t,i){r.write(e,t)?i():n=i},u._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(){u.push(null)}),u._read=function(){for(;;){const e=t.read();if(null===e)return void(s=u._read);if(!u.push(e))return}}),u._destroy=function(e,o){e||null===l||(e=new m),s=null,n=null,i=null,null===l?o(e):(l=o,y(r,e),y(t,e))},u}t.exports=function e(t,r){if(f(t))return t;if(u(t))return j({readable:t});if(c(t))return j({writable:t});if(l(t))return j({writable:!1,readable:!1});if(d(t))return j({readable:_.fromWeb(t)});if(h(t))return j({writable:v.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 R,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 m(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 S(x,e,{objectMode:!0,write:i,final:o,destroy:a});const l=null===e||e===undefined?undefined:e.then;if("function"==typeof l){let t;const r=k(l,e,e=>{if(null!=e)throw new g("nully","body",e)},e=>{y(t,e)});return t=new x({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 S(x,t,{objectMode:!0,writable:!1});if(d(null===t||t===undefined?undefined:t.readable)&&h(null===t||t===undefined?undefined:t.writable))return x.fromWeb(t);if("object"==typeof(null===t||t===undefined?undefined:t.writable)||"object"==typeof(null===t||t===undefined?undefined:t.readable)){return j({readable:null!==t&&t!==undefined&&t.readable?u(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 k(i,t,t=>{null!=t&&e.push(t),e.push(null)},t=>{y(e,t)}),e=new x({objectMode:!0,writable:!1,read(){}})}throw new b(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"}],[5873,{"../../ours/errors":5886,"../../ours/primordials":5887,"../../ours/util":5888,"../validators":5884,"./utils":5882,"process/":5698},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:l,once:u}=e("../../ours/util"),{validateAbortSignal:c,validateFunction:f,validateObject:d,validateBoolean:h}=e("../validators"),{Promise:p,PromisePrototypeThen:m,SymbolDispose:b}=e("../../ours/primordials"),{isClosed:g,isReadable:y,isReadableNodeStream:w,isReadableStream:_,isReadableFinished:v,isReadableErrored:E,isWritable:S,isWritableNodeStream:A,isWritableStream:T,isWritableFinished:R,isWritableErrored:k,isNodeStream:x,willEmitClose:j,kIsClosedPromise:O}=e("./utils");let P;const M=()=>{};function I(t,r,o){var h,p;if(2===arguments.length?(o=r,r=l):null==r?r=l:d(r,"options"),f(o,"callback"),c(r.signal,"options.signal"),o=u(o),_(t)||T(t))return function(t,r,o){let a=!1,s=M;if(r.signal)if(s=()=>{a=!0,o.call(t,new i(undefined,{cause:r.signal.reason}))},r.signal.aborted)n.nextTick(s);else{P=P||e("../../ours/util").addAbortListener;const n=P(r.signal,s),i=o;o=u((...e)=>{n[b](),i.apply(t,e)})}const l=(...e)=>{a||n.nextTick(()=>o.apply(t,e))};return m(t[O].promise,l,l),M}(t,r,o);if(!x(t))throw new a("stream",["ReadableStream","WritableStream","Stream"],t);const I=null!==(h=r.readable)&&h!==undefined?h:w(t),N=null!==(p=r.writable)&&p!==undefined?p:A(t),C=t._writableState,L=t._readableState,D=()=>{t.writable||$()};let U=j(t)&&w(t)===I&&A(t)===N,F=R(t,!1);const $=()=>{F=!0,t.destroyed&&(U=!1),(!U||t.readable&&!I)&&(I&&!B||o.call(t))};let B=v(t,!1);const W=()=>{B=!0,t.destroyed&&(U=!1),(!U||t.writable&&!N)&&(N&&!F||o.call(t))},H=e=>{o.call(t,e)};let q=g(t);const V=()=>{q=!0;const e=k(t)||E(t);return e&&"boolean"!=typeof e?o.call(t,e):I&&!B&&w(t,!0)&&!v(t,!1)?o.call(t,new s):!N||F||R(t,!1)?void o.call(t):o.call(t,new s)},G=()=>{q=!0;const e=k(t)||E(t);if(e&&"boolean"!=typeof e)return o.call(t,e);o.call(t)},z=()=>{t.req.on("finish",$)};!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?N&&!C&&(t.on("end",D),t.on("close",D)):(t.on("complete",$),U||t.on("abort",V),t.req?z():t.on("request",z)),U||"boolean"!=typeof t.aborted||t.on("aborted",V),t.on("end",W),t.on("finish",$),!1!==r.error&&t.on("error",H),t.on("close",V),q?n.nextTick(V):null!==C&&C!==undefined&&C.errorEmitted||null!==L&&L!==undefined&&L.errorEmitted?U||n.nextTick(G):(I||U&&!y(t)||!F&&!1!==S(t))&&(N||U&&!S(t)||!B&&!1!==y(t))?L&&t.req&&t.aborted&&n.nextTick(G):n.nextTick(G);const K=()=>{o=M,t.removeListener("aborted",V),t.removeListener("complete",$),t.removeListener("abort",V),t.removeListener("request",z),t.req&&t.req.removeListener("finish",$),t.removeListener("end",D),t.removeListener("close",D),t.removeListener("finish",$),t.removeListener("end",W),t.removeListener("error",H),t.removeListener("close",V)};if(r.signal&&!q){const a=()=>{const e=o;K(),e.call(t,new i(undefined,{cause:r.signal.reason}))};if(r.signal.aborted)n.nextTick(a);else{P=P||e("../../ours/util").addAbortListener;const n=P(r.signal,a),i=o;o=u((...e)=>{n[b](),i.apply(t,e)})}}return K}t.exports=I,t.exports.finished=function(e,t){var r;let n=!1;return null===t&&(t=l),null!==(r=t)&&r!==undefined&&r.cleanup&&(h(t.cleanup,"cleanup"),n=t.cleanup),new p((r,i)=>{const o=I(e,t,e=>{n&&o(),e?i(e):r()})})}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],[5874,{"../../ours/errors":5886,"../../ours/primordials":5887,buffer:4682,"process/":5698},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:l,ERR_STREAM_NULL_VALUES:u}=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 l("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 u;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"}],[5875,{"../../ours/primordials":5887,events:4978},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",l),r.on("close",u));let a=!1;function l(){a||(a=!0,e.end())}function u(){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",l),r.removeListener("close",u),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"}],[5876,{"../../ours/errors":5886,"../../ours/primordials":5887,"../../ours/util":5888,"../validators":5884,"./add-abort-signal":5867,"./compose":5869,"./end-of-stream":5873,"./utils":5882,"abort-controller":4462},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:l}=e("../../ours/errors"),{validateAbortSignal:u,validateInteger:c,validateObject:f}=e("../validators"),d=e("../../ours/primordials").Symbol("kWeak"),h=e("../../ours/primordials").Symbol("kResistStopPropagation"),{finished:p}=e("./end-of-stream"),m=e("./compose"),{addAbortSignalNoValidate:b}=e("./add-abort-signal"),{isWritable:g,isNodeStream:y}=e("./utils"),{deprecate:w}=e("../../ours/util"),{ArrayPrototypePush:_,Boolean:v,MathFloor:E,Number:S,NumberIsNaN:A,Promise:T,PromiseReject:R,PromiseResolve:k,PromisePrototypeThen:x,Symbol:j}=e("../../ours/primordials"),O=j("kEmpty"),P=j("kEof");function M(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)&&u(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(v)),a=this,s=[],u={signal:o};let c,f,d=!1,h=0;function p(){d=!0,m()}function m(){h-=1,b()}function b(){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 l;try{if(e=t(e,u),e===O)continue;e=k(e)}catch(t){e=R(t)}h+=1,x(e,m,p),s.push(e),c&&(c(),c=null),!d&&(s.length>=i||h>=n)&&await new T(e=>{f=e})}s.push(P)}catch(e){const t=R(e);x(t,m,p),s.push(t)}finally{d=!0,c&&(c(),c=null)}}();try{for(;;){for(;s.length>0;){const e=await s[0];if(e===P)return;if(o.aborted)throw new l;e!==O&&(yield e),s.shift(),b()}await new T(e=>{c=e})}}finally{d=!0,f&&(f(),f=null)}}.call(this)}async function I(e,t=undefined){for await(const r of N.call(this,e,t))return!0;return!1}function N(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return M.call(this,async function(t,r){return await e(t,r)?t:O},t)}class C extends a{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function L(e){if(e=S(e),A(e))return 0;if(e<0)throw new s("number",">= 0",e);return e}t.exports.streamReturningOperators={asIndexedPairs:w(function(e=undefined){return null!=e&&f(e,"options"),null!=(null===e||e===undefined?undefined:e.signal)&&u(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 l({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)&&u(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new l;for await(const r of this){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new l;e--<=0&&(yield r)}}.call(this)},filter:N,flatMap:function(e,t){const r=M.call(this,e,t);return async function*(){for await(const e of r)yield*e}.call(this)},map:M,take:function(e,t=undefined){return null!=t&&f(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&u(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new l;for await(const r of this){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new l;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)&&u(t.signal,"options.signal"),y(e)&&!g(e))throw new i("stream",e,"must be writable");const r=m(this,e);return null!==t&&t!==undefined&&t.signal&&b(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 I.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 M.call(this,async function(t,r){return await e(t,r),O},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)&&u(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 l(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 m=!1;try{for await(const n of this){var b;if(m=!0,null!==r&&r!==undefined&&null!==(b=r.signal)&&b!==undefined&&b.aborted)throw new l;a?t=await e(t,n,{signal:c}):(t=n,a=!0)}if(!m&&!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)&&u(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 l(undefined,{cause:e.signal.reason});_(t,n)}return t},some:I,find:async function(e,t){for await(const r of N.call(this,e,t))return r;return undefined}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/operators.js"}],[5877,{"../../ours/primordials":5887,"./transform":5881},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"}],[5878,{"../../ours/errors":5886,"../../ours/primordials":5887,"../../ours/util":5888,"../validators":5884,"./destroy":5870,"./duplex":5871,"./end-of-stream":5873,"./passthrough":5877,"./readable":5879,"./utils":5882,"abort-controller":4462,"process/":5698},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"),l=e("./end-of-stream"),{once:u}=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:m,ERR_STREAM_DESTROYED:b,ERR_STREAM_PREMATURE_CLOSE:g},AbortError:y}=e("../../ours/errors"),{validateFunction:w,validateAbortSignal:_}=e("../validators"),{isIterable:v,isReadable:E,isReadableNodeStream:S,isNodeStream:A,isTransformStream:T,isWebStream:R,isReadableStream:k,isReadableFinished:x}=e("./utils"),j=globalThis.AbortController||e("abort-controller").AbortController;let O,P,M;function I(e,t,r){let n=!1;e.on("close",()=>{n=!0});return{destroy:t=>{n||(n=!0,c.destroyer(e,t||new b("pipe")))},cleanup:l(e,{readable:t,writable:r},e=>{n=!e})}}function N(t){if(v(t))return t;if(S(t))return async function*(t){P||(P=e("./readable"));yield*P.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()}},u=()=>new o((e,t)=>{i?t(i):a=()=>{i?t(i):e()}});t.on("drain",s);const c=l(t,{readable:!1},s);try{t.writableNeedDrain&&await u();for await(const r of e)t.write(r)||await u();n&&(t.end(),await u()),r()}catch(e){r(i!==e?d(i,e):e)}finally{c(),t.off("drain",s)}}async function L(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 D(t,r,o){if(1===t.length&&i(t[0])&&(t=t[0]),t.length<2)throw new m("streams");const a=new j,l=a.signal,u=null===o||o===undefined?undefined:o.signal,c=[];function d(){$(new y)}let b,g,w;_(u,"options.signal"),M=M||e("../../ours/util").addAbortListener,u&&(b=M(u,d));const x=[];let P,D=0;function F(e){$(e,0===--D)}function $(e,t){var i;if(!e||g&&"ERR_STREAM_PREMATURE_CLOSE"!==g.code||(g=e),g||t){for(;x.length;)x.shift()(g);null===(i=b)||i===undefined?undefined:i[s](),a.abort(),t&&(g||c.forEach(e=>e()),n.nextTick(r,g,w))}}for(let H=0;H<t.length;H++){const q=t[H],V=H<t.length-1,G=H>0,z=V||!1!==(null===o||o===undefined?undefined:o.end),K=H===t.length-1;if(A(q)){if(z){const{destroy:X,cleanup:Z}=I(q,V,G);x.push(X),E(q)&&K&&c.push(Z)}function Y(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&F(e)}q.on("error",Y),E(q)&&K&&c.push(()=>{q.removeListener("error",Y)})}if(0===H)if("function"==typeof q){if(P=q({signal:l}),!v(P))throw new p("Iterable, AsyncIterable or Stream","source",P)}else P=v(q)||S(q)||T(q)?q:f.from(q);else if("function"==typeof q){var B;if(T(P))P=N(null===(B=P)||B===undefined?undefined:B.readable);else P=N(P);if(P=q(P,{signal:l}),V){if(!v(P,!0))throw new p("AsyncIterable",`transform[${H-1}]`,P)}else{var W;O||(O=e("./passthrough"));const J=new O({objectMode:!0}),Q=null===(W=P)||W===undefined?undefined:W.then;if("function"==typeof Q)D++,Q.call(P,e=>{w=e,null!=e&&J.write(e),z&&J.end(),n.nextTick(F)},e=>{J.destroy(e),n.nextTick(F,e)});else if(v(P,!0))D++,C(P,J,F,{end:z});else{if(!k(P)&&!T(P))throw new p("AsyncIterable or Promise","destination",P);{const re=P.readable||P;D++,C(re,J,F,{end:z})}}P=J;const{destroy:ee,cleanup:te}=I(P,!1,!0);x.push(ee),K&&c.push(te)}}else if(A(q)){if(S(P)){D+=2;const ne=U(P,q,F,{end:z});E(q)&&K&&c.push(ne)}else if(T(P)||k(P)){const ie=P.readable||P;D++,C(ie,q,F,{end:z})}else{if(!v(P))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);D++,C(P,q,F,{end:z})}P=q}else if(R(q)){if(S(P))D++,L(N(P),q,F,{end:z});else if(k(P)||v(P))D++,L(P,q,F,{end:z});else{if(!T(P))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);D++,L(P.readable,q,F,{end:z})}P=q}else P=f.from(q)}return(null!==l&&l!==undefined&&l.aborted||null!==u&&u!==undefined&&u.aborted)&&n.nextTick(d),P}function U(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()}x(e)?n.nextTick(a):e.once("end",a)}else r();return l(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)}),l(t,{readable:!1,writable:!0},r)}t.exports={pipelineImpl:D,pipeline:function(...e){return D(e,u(function(e){return w(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/pipeline.js"}],[5879,{"../../ours/errors":5886,"../../ours/primordials":5887,"../../ours/util":5888,"../validators":5884,"./add-abort-signal":5867,"./buffer_list":5868,"./destroy":5870,"./duplex":5871,"./end-of-stream":5873,"./from":5874,"./legacy":5875,"./state":5880,buffer:4682,events:4978,"process/":5698,"string_decoder/":6274},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:l,ObjectKeys:u,ObjectSetPrototypeOf:c,Promise:f,SafeSet:d,SymbolAsyncDispose:h,SymbolAsyncIterator:p,Symbol:m}=e("../../ours/primordials");t.exports=z,z.ReadableState=G;const{EventEmitter:b}=e("events"),{Stream:g,prependListener:y}=e("./legacy"),{Buffer:w}=e("buffer"),{addAbortSignal:_}=e("./add-abort-signal"),v=e("./end-of-stream");let E=e("../../ours/util").debuglog("stream",e=>{E=e});const S=e("./buffer_list"),A=e("./destroy"),{getHighWaterMark:T,getDefaultHighWaterMark:R}=e("./state"),{aggregateTwoErrors:k,codes:{ERR_INVALID_ARG_TYPE:x,ERR_METHOD_NOT_IMPLEMENTED:j,ERR_OUT_OF_RANGE:O,ERR_STREAM_PUSH_AFTER_EOF:P,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:M},AbortError:I}=e("../../ours/errors"),{validateObject:N}=e("../validators"),C=m("kPaused"),{StringDecoder:L}=e("string_decoder/"),D=e("./from");c(z.prototype,g.prototype),c(z,g);const U=()=>{},{errorOrDestroy:F}=A,$=1,B=16,W=32,H=2048,q=4096;function V(e){return{enumerable:!1,get(){return 0!==(this.state&e)},set(t){t?this.state|=e:this.state&=~e}}}function G(t,r,n){"boolean"!=typeof n&&(n=r instanceof e("./duplex")),this.state=H|q|B|W,t&&t.objectMode&&(this.state|=$),n&&t&&t.readableObjectMode&&(this.state|=$),this.highWaterMark=t?T(this,t,"readableHighWaterMark",n):R(!1),this.buffer=new S,this.length=0,this.pipes=[],this.flowing=null,this[C]=null,t&&!1===t.emitClose&&(this.state&=~H),t&&!1===t.autoDestroy&&(this.state&=~q),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new L(t.encoding),this.encoding=t.encoding)}function z(t){if(!(this instanceof z))return new z(t);const r=this instanceof e("./duplex");this._readableState=new G(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&&_(t.signal,this)),g.call(this,t),A.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&$)&&("string"==typeof t?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?t=w.from(t,r).toString(i.encoding):(t=w.from(t,r),r=""))):t instanceof w?r="":g._isUint8Array(t)?(t=g._uint8ArrayToBuffer(t),r=""):null!=t&&(o=new x("chunk",["string","Buffer","Uint8Array"],t))),o)F(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?Z(e):(t.needReadable=!1,t.emittedReadable=!0,J(e))}(e,i);else if(0!==(i.state&$)||t&&t.length>0)if(n)if(4&i.state)F(e,new M);else{if(i.destroyed||i.errored)return!1;Y(e,i,t,!0)}else if(i.ended)F(e,new P);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&&Z(e)),Q(e,t)}l(G.prototype,{objectMode:V($),ended:V(2),endEmitted:V(4),reading:V(8),constructed:V(B),sync:V(W),needReadable:V(64),emittedReadable:V(128),readableListening:V(256),resumeScheduled:V(512),errorEmitted:V(1024),emitClose:V(H),autoDestroy:V(q),destroyed:V(8192),closed:V(16384),closeEmitted:V(32768),multiAwaitDrain:V(65536),readingMore:V(1<<17),dataEmitted:V(1<<18)}),z.prototype.destroy=A.destroy,z.prototype._undestroy=A.undestroy,z.prototype._destroy=function(e,t){t(e)},z.prototype[b.captureRejectionSymbol]=function(e){this.destroy(e)},z.prototype[h]=function(){let e;return this.destroyed||(e=this.readableEnded?null:new I,this.destroy(e)),new f((t,r)=>v(this,n=>n&&n!==e?r(n):t(null)))},z.prototype.push=function(e,t){return K(this,e,t,!1)},z.prototype.unshift=function(e,t){return K(this,e,t,!0)},z.prototype.isPaused=function(){const e=this._readableState;return!0===e[C]||!1===e.flowing},z.prototype.setEncoding=function(e){const t=new L(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&$)?1:a(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function Z(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(J,e))}function J(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=z.wrap(e,{objectMode:!0}));const r=async function*(e,t){let r,n=U;function i(t){this===e?(n(),n=U):n=t}e.on("readable",i);const o=v(e,{writable:!1},e=>{r=e?k(r,e):null,n(),n=U});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=k(r,e),r}finally{!r&&!1===(null===t||t===undefined?undefined:t.destroyOnReturn)||r!==undefined&&!e._readableState.autoDestroy?(e.off("readable",i),o()):A.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(le,t,e))}function le(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(ue,t);else if(e.autoDestroy){const e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function ue(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let ce;function fe(){return ce===undefined&&(ce={}),ce}z.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 O("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):Z(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|W,0===t.length&&(t.state|=64);try{this._read(t.highWaterMark)}catch(e){F(this,e)}t.state&=~W,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},z.prototype._read=function(e){throw new j("_read()")},z.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:b;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",m),l&&e.removeListener("drain",l);e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",s),r.removeListener("end",b),r.removeListener("data",f),u=!0,l&&i.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&l()}())}function s(){E("onend"),e.end()}let l;i.endEmitted?n.nextTick(o):r.once("end",o),e.on("unpipe",a);let u=!1;function c(){u||(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()),l||(l=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",l))}function f(t){E("ondata");const r=e.write(t);E("dest.write",r),!1===r&&c()}function h(t){if(E("onerror",t),b(),e.removeListener("error",h),0===e.listenerCount("error")){const r=e._writableState||e._readableState;r&&!r.errorEmitted?F(e,t):e.emit("error",t)}}function p(){e.removeListener("finish",m),b()}function m(){E("onfinish"),e.removeListener("close",p),b()}function b(){E("unpipe"),r.unpipe(e)}return r.on("data",f),y(e,"error",h),e.once("close",p),e.once("finish",m),e.emit("pipe",r),!0===e.writableNeedDrain?c():i.flowing||(E("pipe resume"),r.resume()),e},z.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},z.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?Z(this):i.reading||n.nextTick(re,this))),r},z.prototype.addListener=z.prototype.on,z.prototype.removeListener=function(e,t){const r=g.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(te,this),r},z.prototype.off=z.prototype.removeListener,z.prototype.removeAllListeners=function(e){const t=g.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||n.nextTick(te,this),t},z.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},z.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},z.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=>{F(this,e)}),e.on("close",()=>{this.destroy()}),e.on("destroy",()=>{this.destroy()}),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};const r=u(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},z.prototype[p]=function(){return oe(this)},z.prototype.iterator=function(e){return e!==undefined&&N(e,"options"),oe(this,e)},l(z.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}}}),l(G.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[C]},set(e){this[C]=!!e}}}),z._fromList=ae,z.from=function(e,t){return D(z,e,t)},z.fromWeb=function(e,t){return fe().newStreamReadableFromReadableStream(e,t)},z.toWeb=function(e,t){return fe().newReadableStreamFromStreamReadable(e,t)},z.wrap=function(e,t){var r,n;return new z({objectMode:null===(r=null!==(n=e.readableObjectMode)&&n!==undefined?n:e.objectMode)||r===undefined||r,...t,destroy(t,r){A.destroyer(e,t),r(t)}}).wrap(e)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/readable.js"}],[5880,{"../../ours/errors":5886,"../../ours/primordials":5887,"../validators":5884},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,l=16;function u(e){return e?l: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 u(e.objectMode)},getDefaultHighWaterMark:u,setDefaultHighWaterMark:function(e,t){o(t,"value",0),e?l=t:s=t}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/state.js"}],[5881,{"../../ours/errors":5886,"../../ours/primordials":5887,"./duplex":5871,"./state":5880},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=u;const{ERR_METHOD_NOT_IMPLEMENTED:o}=e("../../ours/errors").codes,a=e("./duplex"),{getHighWaterMark:s}=e("./state");n(u.prototype,a.prototype),n(u,a);const l=i("kCallback");function u(e){if(!(this instanceof u))return new u(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[l]=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)}u.prototype._final=c,u.prototype._transform=function(e,t,r){throw new o("_transform()")},u.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[l]=r)})},u.prototype._read=function(){if(this[l]){const e=this[l];this[l]=null,e()}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/transform.js"}],[5882,{"../../ours/primordials":5887},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"),l=o("nodejs.stream.readable"),u=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 m(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function b(e){return!(!e||m(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function g(e){return!(!e||m(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function y(e){return!(!e||m(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function w(e){if(!m(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 _(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 v(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[l]?e[l]:"boolean"!=typeof(null===e||e===undefined?undefined:e.readable)?null:!w(e)&&(h(e)&&e.readable&&!v(e))}function S(e){return e&&null!=e[u]?e[u]:"boolean"!=typeof(null===e||e===undefined?undefined:e.writable)?null:!w(e)&&(p(e)&&e.writable&&!_(e))}function A(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&&A(e)}t.exports={isDestroyed:w,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,l,u,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===(l=e._readableState)||l===undefined?undefined:l.errorEmitted)&&n!==undefined?n:null===(u=e._writableState)||u===undefined?undefined:u.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:l,kIsClosedPromise:f,kControllerErrorFunction:d,kIsWritable:u,isClosed:function(e){if(!m(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&&A(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 m(e)?!!w(e)||(!1===(null===t||t===undefined?undefined:t.readable)||!E(e))&&(!1===(null===t||t===undefined?undefined:t.writable)||!S(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:b,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:v,isReadableErrored:function(e){var t,r;return m(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||r===undefined?undefined:r.errored)&&t!==undefined?t:null:null},isNodeStream:m,isWebStream:function(e){return b(e)||g(e)||y(e)},isWritable:S,isWritableNodeStream:p,isWritableStream:g,isWritableEnded:_,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 m(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(!m(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"}],[5883,{"../../ours/errors":5886,"../../ours/primordials":5887,"./add-abort-signal":5867,"./destroy":5870,"./duplex":5871,"./legacy":5875,"./state":5880,buffer:4682,events:4978,"process/":5698},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:l,ObjectSetPrototypeOf:u,StringPrototypeToLowerCase:c,Symbol:f,SymbolHasInstance:d}=e("../../ours/primordials");t.exports=N,N.WritableState=M;const{EventEmitter:h}=e("events"),p=e("./legacy").Stream,{Buffer:m}=e("buffer"),b=e("./destroy"),{addAbortSignal:g}=e("./add-abort-signal"),{getHighWaterMark:y,getDefaultHighWaterMark:w}=e("./state"),{ERR_INVALID_ARG_TYPE:_,ERR_METHOD_NOT_IMPLEMENTED:v,ERR_MULTIPLE_CALLBACK:E,ERR_STREAM_CANNOT_PIPE:S,ERR_STREAM_DESTROYED:A,ERR_STREAM_ALREADY_FINISHED:T,ERR_STREAM_NULL_VALUES:R,ERR_STREAM_WRITE_AFTER_END:k,ERR_UNKNOWN_ENCODING:x}=e("../../ours/errors").codes,{errorOrDestroy:j}=b;function O(){}u(N.prototype,p.prototype),u(N,p);const P=f("kOnFinished");function M(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):w(!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=U.bind(undefined,r),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,I(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[P]=[]}function I(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function N(t){const r=this instanceof e("./duplex");if(!r&&!a(N,this))return new N(t);this._writableState=new M(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),b.construct(this,()=>{const e=this._writableState;e.writing||W(this,e),V(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&&!m.isEncoding(r))throw new x(r)}else r=o.defaultEncoding;"function"!=typeof i&&(i=O)}if(null===t)throw new R;if(!o.objectMode)if("string"==typeof t)!1!==o.decodeStrings&&(t=m.from(t,r),r="buffer");else if(t instanceof m)r="buffer";else{if(!p._isUint8Array(t))throw new _("chunk",["string","Buffer","Uint8Array"],t);t=p._uint8ArrayToBuffer(t),r="buffer"}let a;return o.ending?a=new k:o.destroyed&&(a=new A("write")),a?(n.nextTick(i,a),j(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!==O&&(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 L(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new A("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function D(e,t,r,n){--t.pendingcb,n(r),B(t),j(e,r)}function U(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(D,e,r,t,o):D(e,r,t,o)):(r.buffered.length>r.bufferedIndex&&W(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(F,r.afterWriteTickInfo)):$(e,r,1,o))):j(e,new E)}function F({stream:e,state:t,count:r,cb:n}){return t.afterWriteTickInfo=null,$(e,t,r,n)}function $(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&&B(t),V(e,t)}function B(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 A("write"))}const r=e[P].splice(0);for(let t=0;t<r.length;t++){var n;r[t](null!==(n=e.errored)&&n!==undefined?n:new A("end"))}I(e)}function W(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?O: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,L(e,t,!0,t.length,o,"",n),I(t)}else{do{const{chunk:n,encoding:i,callback:a}=r[s];r[s++]=null;L(e,t,!1,o?1:n.length,n,i,a)}while(s<r.length&&!t.writing);s===r.length?I(t):s>256?(r.splice(0,s),t.bufferedIndex=0):t.bufferedIndex=s}t.bufferProcessing=!1}function H(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 q(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)j(e,null!==i&&i!==undefined?i:E());else if(r=!0,t.pendingcb--,i){const r=t[P].splice(0);for(let e=0;e<r.length;e++)r[e](i);j(e,i,t.sync)}else H(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,n.nextTick(G,e,t))}t.sync=!0,t.pendingcb++;try{e._final(i)}catch(e){i(e)}t.sync=!1}(e,t)))}function V(e,t,r){H(t)&&(q(e,t),0===t.pendingcb&&(r?(t.pendingcb++,n.nextTick((e,t)=>{H(t)?G(e,t):t.pendingcb--},e,t)):H(t)&&(t.pendingcb++,G(e,t))))}function G(e,t){t.pendingcb--,t.finished=!0;const r=t[P].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()}}M.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},s(M.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),s(N,d,{__proto__:null,value:function(e){return!!a(this,e)||this===N&&(e&&e._writableState instanceof M)}}),N.prototype.pipe=function(){j(this,new S)},N.prototype.write=function(e,t,r){return!0===C(this,e,t,r)},N.prototype.cork=function(){this._writableState.corked++},N.prototype.uncork=function(){const e=this._writableState;e.corked&&(e.corked--,e.writing||W(this,e))},N.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=c(e)),!m.isEncoding(e))throw new x(e);return this._writableState.defaultEncoding=e,this},N.prototype._write=function(e,t,r){if(!this._writev)throw new v("_write()");this._writev([{chunk:e,encoding:t}],r)},N.prototype._writev=null,N.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 A("end")):(i.ending=!0,V(this,i,!0),i.ended=!0)),"function"==typeof r&&(a||i.finished?n.nextTick(r,a):i[P].push(r)),this},l(N.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 z=b.destroy;let K;function Y(){return K===undefined&&(K={}),K}N.prototype.destroy=function(e,t){const r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[P].length)&&n.nextTick(B,r),z.call(this,e,t),this},N.prototype._undestroy=b.undestroy,N.prototype._destroy=function(e,t){t(e)},N.prototype[h.captureRejectionSymbol]=function(e){this.destroy(e)},N.fromWeb=function(e,t){return Y().newStreamWritableFromWritableStream(e,t)},N.toWeb=function(e){return Y().newWritableStreamFromStreamWritable(e)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/writable.js"}],[5884,{"../ours/errors":5886,"../ours/primordials":5887,"../ours/util":5888},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:l,NumberMAX_SAFE_INTEGER:u,NumberMIN_SAFE_INTEGER:c,NumberParseInt:f,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:h,String:p,StringPrototypeToUpperCase:m,StringPrototypeTrim:b}=e("../ours/primordials"),{hideStackFrames:g,codes:{ERR_SOCKET_BAD_PORT:y,ERR_INVALID_ARG_TYPE:w,ERR_INVALID_ARG_VALUE:_,ERR_OUT_OF_RANGE:v,ERR_UNKNOWN_SIGNAL:E}}=e("../ours/errors"),{normalizeEncoding:S}=e("../ours/util"),{isAsyncFunction:A,isArrayBufferView:T}=e("../ours/util").types,R={};const k=/^[0-7]+$/;const x=g((e,t,r=c,n=u)=>{if("number"!=typeof e)throw new w(t,"number",e);if(!s(e))throw new v(t,"an integer",e);if(e<r||e>n)throw new v(t,`>= ${r} && <= ${n}`,e)}),j=g((e,t,r=-2147483648,n=2147483647)=>{if("number"!=typeof e)throw new w(t,"number",e);if(!s(e))throw new v(t,"an integer",e);if(e<r||e>n)throw new v(t,`>= ${r} && <= ${n}`,e)}),O=g((e,t,r=!1)=>{if("number"!=typeof e)throw new w(t,"number",e);if(!s(e))throw new v(t,"an integer",e);const n=r?1:0,i=4294967295;if(e<n||e>i)throw new v(t,`>= ${n} && <= ${i}`,e)});function P(e,t){if("string"!=typeof e)throw new w(t,"string",e)}const M=g((e,t,r)=>{if(!i(r,e)){const n=o(a(r,e=>"string"==typeof e?`'${e}'`:p(e)),", ");throw new _(t,e,"must be one of: "+n)}});function I(e,t){if("boolean"!=typeof e)throw new w(t,"boolean",e)}function N(e,t,r){return null!=e&&d(e,t)?e[t]:r}const C=g((e,t,r=null)=>{const i=N(r,"allowArray",!1),o=N(r,"allowFunction",!1);if(!N(r,"nullable",!1)&&null===e||!i&&n(e)||"object"!=typeof e&&(!o||"function"!=typeof e))throw new w(t,"Object",e)}),L=g((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new w(t,"a dictionary",e)}),D=g((e,t,r=0)=>{if(!n(e))throw new w(t,"Array",e);if(e.length<r){throw new _(t,e,`must be longer than ${r}`)}});const U=g((e,t="buffer")=>{if(!T(e))throw new w(t,["Buffer","TypedArray","DataView"],e)});const F=g((e,t)=>{if(e!==undefined&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new w(t,"AbortSignal",e)}),$=g((e,t)=>{if("function"!=typeof e)throw new w(t,"Function",e)}),B=g((e,t)=>{if("function"!=typeof e||A(e))throw new w(t,"Function",e)}),W=g((e,t)=>{if(e!==undefined)throw new w(t,"undefined",e)});const H=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function q(e,t){if(void 0===e||!h(H,e))throw new _(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(k,e))throw new _(t,e,"must be a 32-bit unsigned integer or an octal string");e=f(e,8)}return O(e,t),e},validateArray:D,validateStringArray:function(e,t){D(e,t);for(let r=0;r<e.length;r++)P(e[r],`${t}[${r}]`)},validateBooleanArray:function(e,t){D(e,t);for(let r=0;r<e.length;r++)I(e[r],`${t}[${r}]`)},validateAbortSignalArray:function(e,t){D(e,t);for(let r=0;r<e.length;r++){const n=e[r],i=`${t}[${r}]`;if(null==n)throw new w(i,"AbortSignal",n);F(n,i)}},validateBoolean:I,validateBuffer:U,validateDictionary:L,validateEncoding:function(e,t){const r=S(t),n=e.length;if("hex"===r&&n%2!=0)throw new _("encoding",t,`is invalid for data of length ${n}`)},validateFunction:$,validateInt32:j,validateInteger:x,validateNumber:function(e,t,r=undefined,n){if("number"!=typeof e)throw new w(t,"number",e);if(null!=r&&e<r||null!=n&&e>n||(null!=r||null!=n)&&l(e))throw new v(t,`${null!=r?`>= ${r}`:""}${null!=r&&null!=n?" && ":""}${null!=n?`<= ${n}`:""}`,e)},validateObject:C,validateOneOf:M,validatePlainFunction:B,validatePort:function(e,t="Port",r=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===b(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(P(e,t),R[e]===undefined){if(R[m(e)]!==undefined)throw new E(e+" (signals must use all capital letters)");throw new E(e)}},validateString:P,validateUint32:O,validateUndefined:W,validateUnion:function(e,t,r){if(!i(r,e))throw new w(t,`('${o(r,"|")}')`,e)},validateAbortSignal:F,validateLinkHeaderValue:function(e){if("string"==typeof e)return q(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];q(i,"hints"),r+=i,n!==t-1&&(r+=", ")}return r}throw new _("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"}],[5885,{"../stream":5890,"../stream/promises":5891},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"}],[5886,{"./primordials":5887,"./util/inspect":5889},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"),l=["string","function","number","object","Function","Object","boolean","bigint","symbol"],u=/^([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 m 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"),l.includes(e)?o.push(e.toLowerCase()):u.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:m,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"}],[5887,{},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"}],[5888,{"./errors":5886,"./primordials":5887,"./util/inspect":5889,"abort-controller":4462,buffer:4682,events:4978},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:l,SymbolDispose:u}=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},m=(e,t)=>{if(e!==undefined&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new a(t,"AbortSignal",e)};t.exports={AggregateError:l,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 m(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,[u](){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=>{m(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"}],[5889,{},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"}],[5890,{"./internal/streams/add-abort-signal":5867,"./internal/streams/compose":5869,"./internal/streams/destroy":5870,"./internal/streams/duplex":5871,"./internal/streams/end-of-stream":5873,"./internal/streams/legacy":5875,"./internal/streams/operators":5876,"./internal/streams/passthrough":5877,"./internal/streams/pipeline":5878,"./internal/streams/readable":5879,"./internal/streams/state":5880,"./internal/streams/transform":5881,"./internal/streams/utils":5882,"./internal/streams/writable":5883,"./ours/errors":5886,"./ours/primordials":5887,"./ours/util":5888,"./stream/promises":5891,buffer:4682},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:l,promiseReturningOperators:u}=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:m}=e("./internal/streams/destroy"),b=e("./internal/streams/end-of-stream"),g=e("./stream/promises"),y=e("./internal/streams/utils"),w=t.exports=e("./internal/streams/legacy").Stream;w.isDestroyed=y.isDestroyed,w.isDisturbed=y.isDisturbed,w.isErrored=y.isErrored,w.isReadable=y.isReadable,w.isWritable=y.isWritable,w.Readable=e("./internal/streams/readable");for(const v of o(l)){const E=l[v];function S(...e){if(new.target)throw c();return w.Readable.from(a(E,this,e))}i(S,"name",{__proto__:null,value:E.name}),i(S,"length",{__proto__:null,value:E.length}),i(w.Readable.prototype,v,{__proto__:null,value:S,enumerable:!1,configurable:!0,writable:!0})}for(const A of o(u)){const T=u[A];function R(...e){if(new.target)throw c();return a(T,this,e)}i(R,"name",{__proto__:null,value:T.name}),i(R,"length",{__proto__:null,value:T.length}),i(w.Readable.prototype,A,{__proto__:null,value:R,enumerable:!1,configurable:!0,writable:!0})}w.Writable=e("./internal/streams/writable"),w.Duplex=e("./internal/streams/duplex"),w.Transform=e("./internal/streams/transform"),w.PassThrough=e("./internal/streams/passthrough"),w.pipeline=p;const{addAbortSignal:_}=e("./internal/streams/add-abort-signal");w.addAbortSignal=_,w.finished=b,w.destroy=m,w.compose=f,w.setDefaultHighWaterMark=d,w.getDefaultHighWaterMark=h,i(w,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>g}),i(p,s,{__proto__:null,enumerable:!0,get:()=>g.pipeline}),i(b,s,{__proto__:null,enumerable:!0,get:()=>g.finished}),w.Stream=w,w._isUint8Array=function(e){return e instanceof Uint8Array},w._uint8ArrayToBuffer=function(e){return n.from(e.buffer,e.byteOffset,e.byteLength)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/stream.js"}],[5891,{"../../lib/stream.js":5890,"../internal/streams/end-of-stream":5873,"../internal/streams/pipeline":5878,"../internal/streams/utils":5882,"../ours/primordials":5887},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:l}=e("../internal/streams/pipeline"),{finished:u}=e("../internal/streams/end-of-stream");e("../../lib/stream.js"),t.exports={finished:u,pipeline:function(...e){return new i((t,r)=>{let i,u;const c=e[e.length-1];if(c&&"object"==typeof c&&!a(c)&&!o(c)&&!s(c)){const t=n(e);i=t.signal,u=t.end}l(e,(e,n)=>{e?r(e):t(n)},{signal:i,end:u})})}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/stream/promises.js"}],[5908,{},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"}],[5909,{"@babel/runtime/helpers/objectSpread2":661},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(".")},l={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function u(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 m(){if(h)throw new Error(o(3));return s}function b(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(!u(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:l.INIT}),(n={dispatch:g,subscribe:b,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(o(10));i=e,g({type:l.REPLACE})}})[a]=function(){var e,t=b;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(o(11));function r(){e.next&&e.next(m())}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=l,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:l.INIT}))throw new Error(o(12));if(void 0===r(undefined,{type:l.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={},l=0;l<s.length;l++){var u=s[l],c=r[u],f=e[u],d=c(f,t);if(void 0===d){t&&t.type;throw new Error(o(14))}i[u]=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"}],[5916,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(r=t.exports=function(e){return String(e).replace(r.expr,"")}).expr=/\/+$/}}},{package:"remove-trailing-slash",file:"node_modules/remove-trailing-slash/index.js"}],[5917,{},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,l={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(l,{createSelector:()=>G,createSelectorCreator:()=>V,createStructuredSelector:()=>z,lruMemoize:()=>U,referenceEqualityCheck:()=>L,setGlobalDevModeChecks:()=>c,unstable_autotrackMemoize:()=>F,weakMapMemoize:()=>q}),t.exports=(n=l,((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of a(t))s.call(e,l)||l===r||i(e,l,{get:()=>t[l],enumerable:!(n=o(t,l))||n.enumerable});return e})(i({},"__esModule",{value:!0}),n));var u={inputStabilityCheck:"once",identityFunctionCheck:"once"},c=e=>{Object.assign(u,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 m(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var b=0,g=null,y=class{revision=b;_value;_lastValue;_isEqual=w;constructor(e,t=w){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=++b)}};function w(e,t){return e===t}var _=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 v(e){return e instanceof y||console.warn("Not a valid cell! ",e),e.value}var E=(e,t)=>!1;function S(){return function(e,t=w){return new y(e,t)}(null,E)}function A(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=S()),v(t)},R=e=>{const t=e.collectionTag;null!==t&&A(t,null)},k=(Symbol(),0),x=Object.getPrototypeOf({}),j=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy(this,O);tag=S();tags={};children={};collectionTag=null;id=k++},O={get:(e,t)=>function(){const{value:r}=e,n=Reflect.get(r,t);if("symbol"==typeof t)return n;if(t in x)return n;if("object"==typeof n&&null!==n){let r=e.children[t];return void 0===r&&(r=e.children[t]=I(n)),r.tag&&v(r.tag),r.proxy}{let r=e.tags[t];return void 0===r&&(r=e.tags[t]=S(),r.value=n),v(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)},P=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],M);tag=S();tags={};children={};collectionTag=null;id=k++},M={get:([e],t)=>("length"===t&&T(e),O.get(e,t)),ownKeys:([e])=>O.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>O.getOwnPropertyDescriptor(e,t),has:([e],t)=>O.has(e,t)};function I(e){return Array.isArray(e)?new P(e):new j(e)}function N(e,t){const{value:r,tags:n,children:i}=e;if(e.value=t,Array.isArray(r)&&Array.isArray(t)&&r.length!==t.length)R(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)&&R(e)}for(const i in n){const o=r[i],a=t[i];o!==a&&(R(e),A(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?N(r,n):(C(r),delete i[e]))}}function C(e){e.tag&&A(e.tag,null),R(e);for(const t in e.tags)A(e.tags[t],null);for(const t in e.children)C(e.children[t])}var L=(e,t)=>e===t;function D(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 U(e,t){const r="object"==typeof t?t:{equalityCheck:t},{equalityCheck:n=L,maxSize:i=1,resultEqualityCheck:o}=r,a=D(n);let s=0;const l=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 u(){let t=l.get(arguments);if(t===f){if(t=e.apply(null,arguments),s++,o){const e=l.getEntries().find(e=>o(e.value,t));e&&(t=e.value,0!==s&&s--)}l.put(arguments,t)}return t}return u.clearCache=()=>{l.clear(),u.resetResultsCount()},u.resultsCount=()=>s,u.resetResultsCount=()=>{s=0},u}function F(e){const t=I([]);let r=null;const n=D(L),i=(d(o=()=>e.apply(null,t.proxy),"the first parameter to `createCache` must be a function"),new _(o));var o;function a(){return n(r,arguments)||(N(t,arguments),r=arguments),i.value}return a.clearCache=()=>i.clear(),a}var $="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},B=0,W=1;function H(){return{s:B,v:void 0,o:null,p:null}}function q(e,t={}){let r=H();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=H(),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=H(),e.set(r,t)):t=n}}const s=t;let l;if(t.s===W)l=t.v;else if(l=e.apply(null,arguments),o++,n){const e=i?.deref?.()??i;null!=e&&n(e,l)&&(l=e,0!==o&&o--);i="object"==typeof l&&null!==l||"function"==typeof l?new $(l):l}return s.s=W,s.v=l,l}return a.clearCache=()=>{r=H(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function V(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:l,memoizeOptions:u=[],argsMemoize:c=q,argsMemoizeOptions:f=[],devModeChecks:b={}}=s,g=h(u),y=h(f),w=p(e),_=l(function(){return n++,a.apply(null,arguments)},...g);const v=c(function(){i++;const e=m(w,arguments);return t=_.apply(null,e),t},...y);return Object.assign(v,{resultFunc:a,memoizedResultFunc:_,dependencies:w,dependencyRecomputations:()=>i,resetDependencyRecomputations:()=>{i=0},lastResult:()=>t,recomputations:()=>n,resetRecomputations:()=>{n=0},memoize:l,argsMemoize:c})};return Object.assign(n,{withTypes:()=>n}),n}var G=V(q),z=Object.assign((e,t=G)=>{!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:()=>z})}}},{package:"reselect",file:"node_modules/reselect/dist/cjs/reselect.cjs"}],[5918,{buffer:4682},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 l=o[s];if("object"!=typeof l||null===l)a[s]=l;else if(l instanceof Date)a[s]=new Date(l);else if(l instanceof Map)a[s]=new Map(i(Array.from(l),e));else if(l instanceof Set)a[s]=new Set(i(Array.from(l),e));else if(ArrayBuffer.isView(l))a[s]=r(l);else{var u=t.indexOf(l);a[s]=-1!==u?n[u]:e(l)}}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 l=o[s];if("object"!=typeof l||null===l)a[s]=l;else if(l instanceof Date)a[s]=new Date(l);else if(l instanceof Map)a[s]=new Map(i(Array.from(l),e));else if(l instanceof Set)a[s]=new Set(i(Array.from(l),e));else if(ArrayBuffer.isView(l))a[s]=r(l);else{var u=t.indexOf(l);a[s]=-1!==u?n[u]:e(l)}}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 l=o[s],u=e[l];if("object"!=typeof u||null===u)a[l]=u;else if(u instanceof Date)a[l]=new Date(u);else if(ArrayBuffer.isView(u))a[l]=r(u);else{var c=t.indexOf(u);a[l]=-1!==c?n[c]:i(u)}}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"}],[5920,{buffer:4682,"hash-base":5921,inherits:5224},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],l=[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],u=[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 m(e,t,r,n,i,o,a,s){return p(e+(t^r^n)+o+a|0,s)+i|0}function b(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 w(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,_=0|this._a,v=0|this._b,E=0|this._c,S=0|this._d,A=0|this._e,T=0;T<80;T+=1){var R,k;T<16?(R=m(r,n,i,o,h,e[s[T]],f[0],u[T]),k=w(_,v,E,S,A,e[l[T]],d[0],c[T])):T<32?(R=b(r,n,i,o,h,e[s[T]],f[1],u[T]),k=y(_,v,E,S,A,e[l[T]],d[1],c[T])):T<48?(R=g(r,n,i,o,h,e[s[T]],f[2],u[T]),k=g(_,v,E,S,A,e[l[T]],d[2],c[T])):T<64?(R=y(r,n,i,o,h,e[s[T]],f[3],u[T]),k=b(_,v,E,S,A,e[l[T]],d[3],c[T])):(R=w(r,n,i,o,h,e[s[T]],f[4],u[T]),k=m(_,v,E,S,A,e[l[T]],d[4],c[T])),r=h,h=o,o=p(i,10),i=n,n=R,_=A,A=S,S=p(E,10),E=v,v=k}var x=this._b+i+S|0;this._b=this._c+o+A|0,this._c=this._d+h+_|0,this._d=this._e+r+v|0,this._e=this._a+n+E|0,this._a=x},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"}],[5921,{inherits:5224,"readable-stream":5936,"safe-buffer":6161},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"}],[5922,{},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 l=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(l," ").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"}],[5923,{"./_stream_readable":5925,"./_stream_writable":5927,_process:5698,inherits:5224},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=u;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(u,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var l=a[s];u.prototype[l]||(u.prototype[l]=o.prototype[l])}function u(e){if(!(this instanceof u))return new u(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(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.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"}],[5924,{"./_stream_transform":5926,inherits:5224},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"}],[5925,{"../errors":5922,"./_stream_duplex":5923,"./internal/streams/async_iterator":5928,"./internal/streams/buffer_list":5929,"./internal/streams/destroy":5930,"./internal/streams/from":5932,"./internal/streams/state":5934,"./internal/streams/stream":5935,_process:5698,buffer:4682,events:4978,inherits:5224,"string_decoder/":6274,util:4634},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;t.exports=A,A.ReadableState=S;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 l,u=e("util");l=u&&u.debuglog?u.debuglog("stream"):function(){};var c,f,d,h=e("./internal/streams/buffer_list"),p=e("./internal/streams/destroy"),m=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,g=b.ERR_INVALID_ARG_TYPE,y=b.ERR_STREAM_PUSH_AFTER_EOF,w=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(A,o);var v=p.errorOrDestroy,E=["error","close","destroy","pause","resume"];function S(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=m(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 A(t){if(n=n||e("./_stream_duplex"),!(this instanceof A))return new A(t);var r=this instanceof n;this._readableState=new S(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){l("readableAddChunk",t);var o,u=e._readableState;if(null===t)u.reading=!1,function(e,t){if(l("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?j(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,u);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}(u,t)),o)v(e,o);else if(u.objectMode||t&&t.length>0)if("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)u.endEmitted?v(e,new _):R(e,u,t,!0);else if(u.ended)v(e,new y);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?R(e,u,t,!1):P(e,u)):R(e,u,t,!1)}else n||(u.reading=!1,P(e,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function R(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&&j(e)),P(e,t)}Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),A.prototype.destroy=p.destroy,A.prototype._undestroy=p.undestroy,A.prototype._destroy=function(e,t){t(e)},A.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)},A.prototype.unshift=function(e){return T(this,e,null,!0,!1)},A.prototype.isPaused=function(){return!1===this._readableState.flowing},A.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 k=1073741824;function x(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>=k?e=k:(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 j(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(O,e))}function O(e){var t=e._readableState;l("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,L(e)}function P(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(M,e,t))}function M(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(l("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function I(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 N(e){l("readable nexttick read 0"),e.read(0)}function C(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function D(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 U(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(F,t,e))}function F(e,t){if(l("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 $(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}A.prototype.read=function(e){l("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 l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):j(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&U(this),null;var n,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",i=!0),t.ended||t.reading?l("reading or ended",i=!1):i&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(r,t))),null===(n=e>0?D(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&&U(this)),null!==n&&this.emit("data",n),n},A.prototype._read=function(e){v(this,new w("_read()"))},A.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,l("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:b;function s(t,r){l("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),e.removeListener("close",p),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",u),n.removeListener("end",b),n.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){l("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;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,L(e))}}(n);e.on("drain",c);var f=!1;function d(t){l("ondata");var r=e.write(t);l("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==$(o.pipes,e))&&!f&&(l("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function h(t){l("onerror",t),b(),e.removeListener("error",h),0===i(e,"error")&&v(e,t)}function p(){e.removeListener("finish",m),b()}function m(){l("onfinish"),e.removeListener("close",p),b()}function b(){l("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",m),e.emit("pipe",n),o.flowing||(l("pipe resume"),n.resume()),e},A.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=$(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},A.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,l("on readable",i.length,i.reading),i.length?j(this):i.reading||r.nextTick(N,this))),n},A.prototype.addListener=A.prototype.on,A.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(I,this),n},A.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||r.nextTick(I,this),t},A.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(C,e,t))}(this,e)),e.paused=!1,this},A.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(l("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){(l("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){l("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(A.prototype[Symbol.asyncIterator]=function(){return f===undefined&&(f=e("./internal/streams/async_iterator")),f(this)}),Object.defineProperty(A.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(A.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(A.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),A._fromList=D,Object.defineProperty(A.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(A.from=function(t,r){return d===undefined&&(d=e("./internal/streams/from")),d(A,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"}],[5926,{"../errors":5922,"./_stream_duplex":5923,inherits:5224},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,l=e("./_stream_duplex");function u(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);l.call(this,e),this._transformState={afterTransform:u.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,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.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){l.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"}],[5927,{"../errors":5922,"./_stream_duplex":5923,"./internal/streams/destroy":5930,"./internal/streams/state":5934,"./internal/streams/stream":5935,_process:5698,buffer:4682,inherits:5224,"util-deprecate":6341},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=A,A.WritableState=S;var o={deprecate:e("util-deprecate")},a=e("./internal/streams/stream"),s=e("buffer").Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,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,m=d.ERR_MULTIPLE_CALLBACK,b=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,_=d.ERR_UNKNOWN_ENCODING,v=c.errorOrDestroy;function E(){}function S(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 m;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(O,e,t),e._writableState.errorEmitted=!0,v(e,i)):(o(i),e._writableState.errorEmitted=!0,v(e,i),O(e,t))}(e,n,i,t,o);else{var a=x(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||k(e,n),i?r.nextTick(R,e,n,a,o):R(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 A(t){var r=this instanceof(i=i||e("./_stream_duplex"));if(!r&&!u.call(A,this))return new A(t);this._writableState=new S(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 R(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),O(e,t)}function k(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,l=!0;r;)o[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;o.allBuffers=l,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 u=r.chunk,c=r.encoding,f=r.callback;if(T(e,t,!1,t.objectMode?1:u.length,u,c,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function x(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function j(e,t){e._final(function(r){t.pendingcb--,r&&v(e,r),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var n=x(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(j,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")(A,a),S.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(S.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]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||this===A&&(e&&e._writableState instanceof S)}})):u=function(e){return e instanceof this},A.prototype.pipe=function(){v(this,new b)},A.prototype.write=function(e,t,n){var i,o=this._writableState,a=!1,u=!o.objectMode&&(i=e,s.isBuffer(i)||i instanceof l);return u&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=E),o.ending?function(e,t){var n=new w;v(e,n),r.nextTick(t,n)}(this,n):(u||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||(v(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 l=t.objectMode?1:n.length;t.length+=l;var u=t.length<t.highWaterMark;u||(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,l,n,i,o);return u}(this,o,u,e,t,n)),a},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||k(this,e))},A.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 _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,r){r(new p("_write()"))},A.prototype._writev=null,A.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,O(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=c.destroy,A.prototype._undestroy=c.undestroy,A.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"}],[5928,{"./end-of-stream":5931,_process:5698},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"),l=Symbol("error"),u=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 m(e){r.nextTick(p,e)}var b=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((i(n={get stream(){return this[d]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(h(undefined,!0));if(this[d].destroyed)return new Promise(function(t,n){r.nextTick(function(){e[l]?n(e[l]):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[u]?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),b);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,l,{value:null,writable:!0}),i(t,u,{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[l]=e)}var n=r[a];null!==n&&(r[c]=null,r[a]=null,r[s]=null,n(h(undefined,!0))),r[u]=!0}),e.on("readable",m.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"}],[5929,{buffer:4682,util:4634},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 l=e("buffer").Buffer,u=e("util").inspect,c=u&&u.custom||"inspect";function f(e,t,r){l.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 l.alloc(0);for(var t=l.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=l.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 u(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"}],[5930,{_process:5698},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,l=this._writableState&&this._writableState.destroyed;return s||l?(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"}],[5931,{"../../../errors":5922},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,l=function(){t.writable||c()},u=t._writableState&&t._writableState.finished,c=function(){s=!1,u=!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&&!u?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},m=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",c),t.on("abort",p),t.req?m():t.on("request",m)),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",m),t.req&&t.req.removeListener("finish",c),t.removeListener("end",l),t.removeListener("close",l),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"}],[5932,{},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"}],[5933,{"../../../errors":5922,"./end-of-stream":5931},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 l(e){e()}function u(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 l=!1;return function(e){if(!s&&!l)return l=!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(l),o||(d.forEach(l),f(c))})});return r.reduce(u)}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],[5934,{"../../../errors":5922},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"}],[5935,{events:4978},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"}],[5936,{"./lib/_stream_duplex.js":5923,"./lib/_stream_passthrough.js":5924,"./lib/_stream_readable.js":5925,"./lib/_stream_transform.js":5926,"./lib/_stream_writable.js":5927,"./lib/internal/streams/end-of-stream.js":5931,"./lib/internal/streams/pipeline.js":5933},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"}],[5937,{"bn.js":4621,buffer:4682},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=u(e),i=u(r+55+n.length/2);return t.from(i+n,"hex")}function s(e){var r,n,i,a,l,u=[],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;)l=s(a),u.push(l.data),a=l.remainder;return{data:u,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;)l=s(a),u.push(l.data),a=l.remainder;return{data:u,remainder:e.slice(f)}}function l(e){return"0x"===e.slice(0,2)}function u(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 l(e)?t.from((n="string"!=typeof(o=e)?o:l(o)?o.slice(2):o).length%2?"0"+n:n,"hex"):t.from(e);if("number"==typeof e||"bigint"==typeof e)return e?(r=u(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"}],[6161,{buffer:4682},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:"koa>content-disposition>safe-buffer",file:"node_modules/safe-buffer/index.js"}],[6162,{"call-bound":4701,"es-errors/type":4877,"is-regex":5242},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"}],[6163,{},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 l=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function u(e){return l.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),l="function"==typeof o?o:undefined,h=f(e,"maximumDepth"),p=f(e,"maximumBreadth");function m(e,n,c,f,b,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),""!==b&&(e+=`\n${g+=b}`,t=`,\n${g}`);const r=Math.min(y.length,p);let i=0;for(;i<r-1;i++){const r=m(String(i),y,c,f,b,g);e+=r!==undefined?r:"null",e+=t}const o=m(String(i),y,c,f,b,g);if(e+=o!==undefined?o:"null",y.length-1>p){e+=`${t}"... ${d(y.length-p-1)} not stringified"`}return""!==b&&(e+=`\n${n}`),c.pop(),`[${e}]`}let i=Object.keys(y);const w=i.length;if(0===w)return"{}";if(h<c.length+1)return'"[Object]"';let _="",v="";""!==b&&(t=`,\n${g+=b}`,_=" ");const E=Math.min(w,p);o&&!u(y)&&(i=s(i,l)),c.push(y);for(let r=0;r<E;r++){const n=i[r],o=m(n,y,c,f,b,g);o!==undefined&&(e+=`${v}${a(n)}:${_}${o}`,v=t)}if(w>p){e+=`${v}"...":${_}"${d(w-p)} not stringified"`,v=t}return""!==b&&v.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 b(e,n,o,s,l,u){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=u;let t="",i=",";if(Array.isArray(n)){if(0===n.length)return"[]";if(h<o.length+1)return'"[Array]"';o.push(n),""!==l&&(t+=`\n${u+=l}`,i=`,\n${u}`);const r=Math.min(n.length,p);let a=0;for(;a<r-1;a++){const e=b(String(a),n[a],o,s,l,u);t+=e!==undefined?e:"null",t+=i}const c=b(String(a),n[a],o,s,l,u);if(t+=c!==undefined?c:"null",n.length-1>p){t+=`${i}"... ${d(n.length-p-1)} not stringified"`}return""!==l&&(t+=`\n${e}`),o.pop(),`[${t}]`}o.push(n);let c="";""!==l&&(i=`,\n${u+=l}`,c=" ");let f="";for(const e of s){const r=b(e,n[e],o,s,l,u);r!==undefined&&(t+=`${f}${a(e)}:${c}${r}`,f=i)}return""!==l&&f.length>1&&(t=`\n${u}${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,m,b){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,m,b);if(null===n)return"null"}if(-1!==f.indexOf(n))return r;const t=b;if(Array.isArray(n)){if(0===n.length)return"[]";if(h<f.length+1)return'"[Array]"';f.push(n);let e=`\n${b+=m}`;const r=`,\n${b}`,i=Math.min(n.length,p);let o=0;for(;o<i-1;o++){const t=g(String(o),n[o],f,m,b);e+=t!==undefined?t:"null",e+=r}const a=g(String(o),n[o],f,m,b);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 w=`,\n${b+=m}`;let _="",v="",E=Math.min(y,p);u(n)&&(_+=c(n,w,p),i=i.slice(n.length),E-=n.length,v=w),o&&(i=s(i,l)),f.push(n);for(let e=0;e<E;e++){const t=i[e],r=g(t,n[t],f,m,b);r!==undefined&&(_+=`${v}${a(t)}: ${r}`,v=w)}if(y>p){_+=`${v}"...": "${d(y-p)} not stringified"`,v=w}return""!==v&&(_=`\n${b}${_}\n${t}`),f.pop(),`{${_}}`}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 m=Object.keys(n);const b=m.length;if(0===b)return"{}";if(h<f.length+1)return'"[Object]"';let g="",w=Math.min(b,p);i&&u(n)&&(t+=c(n,",",p),m=m.slice(n.length),w-=n.length,g=","),o&&(m=s(m,l)),f.push(n);for(let e=0;e<w;e++){const r=m[e],i=y(r,n[r],f);i!==undefined&&(t+=`${g}${a(r)}:${i}`,g=",")}if(b>p){t+=`${g}"...":"${d(b-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 m("",{"":e},[],t,n,"");if(Array.isArray(t))return b("",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"}],[6164,{timers:4684},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,l=528734635,u=1541459225;const c=new Uint32Array(64);function f(e){let f=0,d=e.length;for(;d>=64;){let h,p,m,b,g,y=r,w=n,_=i,v=o,E=a,S=s,A=l,T=u;for(p=0;p<16;p++)m=f+4*p,c[p]=(255&e[m])<<24|(255&e[m+1])<<16|(255&e[m+2])<<8|255&e[m+3];for(p=16;p<64;p++)h=c[p-2],b=(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]=(b+c[p-7]|0)+(g+c[p-16]|0)|0;for(p=0;p<64;p++)b=(((E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7))+(E&S^~E&A)|0)+(T+(t[p]+c[p]|0)|0)|0,g=((y>>>2|y<<30)^(y>>>13|y<<19)^(y>>>22|y<<10))+(y&w^y&_^w&_)|0,T=A,A=S,S=E,E=v+b|0,v=_,_=w,w=y,y=b+g|0;r=r+y|0,n=n+w|0,i=i+_|0,o=o+v|0,a=a+E|0,s=s+S|0,l=l+A|0,u=u+T|0,f+=64,d-=64}}f(e);let d,h=e.length%64,p=e.length/536870912|0,m=e.length<<3,b=h<56?56:120,g=e.slice(e.length-h,e.length);for(g.push(128),d=h+1;d<b;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(m>>>24&255),g.push(m>>>16&255),g.push(m>>>8&255),g.push(m>>>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,l>>>24&255,l>>>16&255,l>>>8&255,l>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>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,l=[];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 u(){for(let e=n-1;e>=n-4;e--){if(i[e]++,i[e]<=255)return;i[e]=0}}for(;r>=32;)u(),l=l.concat(o(a.concat(o(i)))),r-=32;return r>0&&(u(),l=l.concat(o(a.concat(o(i))).slice(0,r))),l}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),u(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 l(e,t){return e<<t|e>>>32-t}function u(e,t){f(e,0,t,0,16);for(let e=8;e>0;e-=2)t[4]^=l(t[0]+t[12],7),t[8]^=l(t[4]+t[0],9),t[12]^=l(t[8]+t[4],13),t[0]^=l(t[12]+t[8],18),t[9]^=l(t[5]+t[1],7),t[13]^=l(t[9]+t[5],9),t[1]^=l(t[13]+t[9],13),t[5]^=l(t[1]+t[13],18),t[14]^=l(t[10]+t[6],7),t[2]^=l(t[14]+t[10],9),t[6]^=l(t[2]+t[14],13),t[10]^=l(t[6]+t[2],18),t[3]^=l(t[15]+t[11],7),t[7]^=l(t[3]+t[15],9),t[11]^=l(t[7]+t[3],13),t[15]^=l(t[11]+t[7],18),t[1]^=l(t[0]+t[3],7),t[2]^=l(t[1]+t[0],9),t[3]^=l(t[2]+t[1],13),t[0]^=l(t[3]+t[2],18),t[6]^=l(t[5]+t[4],7),t[7]^=l(t[6]+t[5],9),t[4]^=l(t[7]+t[6],13),t[5]^=l(t[4]+t[7],18),t[11]^=l(t[10]+t[9],7),t[8]^=l(t[11]+t[10],9),t[9]^=l(t[8]+t[11],13),t[10]^=l(t[9]+t[8],18),t[12]^=l(t[15]+t[14],7),t[13]^=l(t[12]+t[15],9),t[14]^=l(t[13]+t[12],13),t[15]^=l(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,l,u,p){if(n=h(n,"N"),o=h(o,"r"),l=h(l,"p"),u=h(u,"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/l)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 m=a(t,r,128*l*o);const b=new Uint32Array(32*l*o);for(let e=0;e<b.length;e++){const t=4*e;b[e]=(255&m[t+3])<<24|(255&m[t+2])<<16|(255&m[t+1])<<8|255&m[t+0]}const g=new Uint32Array(64*o),y=new Uint32Array(32*o*n),w=32*o,_=new Uint32Array(16),v=new Uint32Array(16),E=l*n*2;let S,A,T=0,R=null,k=!1,x=0,j=0;const O=p?parseInt(1e3/o):4294967295,P=void 0!==e?e:setTimeout,M=function(){if(k)return p(new Error("cancelled"),T/E);let e;switch(x){case 0:A=32*j*o,f(b,A,g,0,w),x=1,S=0;case 1:e=n-S,e>O&&(e=O);for(let t=0;t<e;t++)f(g,0,y,(S+t)*w,w),s(g,w,o,_,v);if(S+=e,T+=e,p){const e=parseInt(1e3*T/E);if(e!==R){if(k=p(null,T/E),k)break;R=e}}if(S<n)break;S=0,x=2;case 2:e=n-S,e>O&&(e=O);for(let t=0;t<e;t++){const e=g[16*(2*o-1)]&n-1;c(y,e*w,g,w),s(g,w,o,_,v)}if(S+=e,T+=e,p){const e=parseInt(1e3*T/E);if(e!==R){if(k=p(null,T/E),k)break;R=e}}if(S<n)break;if(f(g,0,b,A,w),j++,j<l){x=0;break}m=[];for(let e=0;e<b.length;e++)m.push(255&b[e]),m.push(b[e]>>8&255),m.push(b[e]>>16&255),m.push(b[e]>>24&255);const r=a(t,m,u);return p&&p(null,1,r),r}p&&P(M)};if(!p)for(;;){const e=M();if(e!=undefined)return e}M()}const m={scrypt:function(e,t,r,n,i,o,a){return new Promise(function(s,l){let u=0;a&&a(0),p(e,t,r,n,i,o,function(e,t,r){if(e)l(e);else if(r)a&&1!==u&&a(1),s(new Uint8Array(r));else if(a&&t!==u)return u=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=m:"function"==typeof define&&define.amd?define(m):n&&(n.scrypt&&(n._scrypt=n.scrypt),n.scrypt=m)}(this)}).call(this)}).call(this,e("timers").setImmediate)}}},{package:"ethers>@ethersproject/json-wallets>scrypt-js",file:"node_modules/scrypt-js/scrypt.js"}],[6165,{"./lib":6167,"./lib/elliptic":6166},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./lib")(e("./lib/elliptic"))}}},{package:"ganache>secp256k1",file:"node_modules/secp256k1/elliptic.js"}],[6166,{elliptic:4855},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 l=a.redSqr().redIMul(a);return s.redSqr().redISub(l.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 l=n.getPublic().add(i.g.mul(r));return l.isInfinity()?2:(s(e,l),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 l=33,u=0;for(;l>1&&0===s[u]&&!(128&s[u+1]);--l,++u);if(s=s.subarray(u),128&s[0])return 1;if(l>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+l+f,a[0]=48,a[1]=e.outputlen-2,a[2]=2,a[3]=s.length,a.set(s,4),a[4+l]=2,a[5+l]=c.length,a.set(c,6+l),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 l=new o(a);l.cmp(i.n)>=0&&(l=new o(0));let u=new o(t.subarray(6+r));return u.cmp(i.n)>=0&&(u=new o(0)),e.set(l.toArrayLike(Uint8Array,"be",32),0),e.set(u.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 l=new o(r);if(l.cmp(i.n)>=0||l.isZero())return 1;let u;try{u=n.sign(t,r,{canonical:!0,k:s,pers:a})}catch(e){return 1}return e.signature.set(u.r.toArrayLike(Uint8Array,"be",32),0),e.signature.set(u.s.toArrayLike(Uint8Array,"be",32),32),e.recid=u.recoveryParam,0},ecdsaVerify(e,t,r){const s={r:e.subarray(0,32),s:e.subarray(32,64)},l=new o(s.r),u=new o(s.s);if(l.cmp(i.n)>=0||u.cmp(i.n)>=0)return 1;if(1===u.cmp(n.nh)||l.isZero()||u.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 l={r:t.slice(0,32),s:t.slice(32,64)},u=new o(l.r),c=new o(l.s);if(u.cmp(i.n)>=0||c.cmp(i.n)>=0)return 1;if(u.isZero()||c.isZero())return 2;let f;try{f=n.recoverPubKey(a,l,r)}catch(e){return 2}return s(e,f),0},ecdh(e,t,r,s,l,u,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(l===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{u||(u=new Uint8Array(32));const t=h.getX().toArray("be",32);for(let e=0;e<32;++e)u[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=l(u,c,s);if(!(n instanceof Uint8Array&&n.length===e.length))return 2;e.set(n)}return 0}}}}},{package:"ganache>secp256k1",file:"node_modules/secp256k1/lib/elliptic.js"}],[6167,{},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",l="Public Key could not be parsed",u="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 m(e,t){if(!e)throw new Error(t)}function b(e,t,r){if(m(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(", ")}]`;m(r.includes(t.length),n)}else{const n=`Expected ${e} to be an Uint8Array with length ${r}`;m(t.length===r,n)}}function g(e){m("Boolean"===w(e),"Expected compressed to be a Boolean")}function y(e=e=>new Uint8Array(e),t){return"function"==typeof e&&(e=e(t)),b("output",e,t),e}function w(e){return Object.prototype.toString.call(e).slice(8,-1)}t.exports=e=>({contextRandomize(t){if(m(null===t||t instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),null!==t&&b("seed",t,32),1===e.contextRandomize(t))throw new Error(a)},privateKeyVerify:t=>(b("private key",t,32),0===e.privateKeyVerify(t)),privateKeyNegate(t){switch(b("private key",t,32),e.privateKeyNegate(t)){case 0:return t;case 1:throw new Error(n)}},privateKeyTweakAdd(t,r){switch(b("private key",t,32),b("tweak",r,32),e.privateKeyTweakAdd(t,r)){case 0:return t;case 1:throw new Error(i)}},privateKeyTweakMul(t,r){switch(b("private key",t,32),b("tweak",r,32),e.privateKeyTweakMul(t,r)){case 0:return t;case 1:throw new Error(o)}},publicKeyVerify:t=>(b("public key",t,[33,65]),0===e.publicKeyVerify(t)),publicKeyCreate(t,r=!0,n){switch(b("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(u)}},publicKeyConvert(t,r=!0,n){switch(b("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(l);case 2:throw new Error(u)}},publicKeyNegate(t,r=!0,i){switch(b("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(l);case 2:throw new Error(n);case 3:throw new Error(u)}},publicKeyCombine(t,r=!0,n){m(Array.isArray(t),"Expected public keys to be an Array"),m(t.length>0,"Expected public keys array will have more than zero items");for(const e of t)b("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(l);case 2:throw new Error(c);case 3:throw new Error(u)}},publicKeyTweakAdd(t,r,n=!0,o){switch(b("public key",t,[33,65]),b("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(l);case 2:throw new Error(i)}},publicKeyTweakMul(t,r,n=!0,i){switch(b("public key",t,[33,65]),b("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(l);case 2:throw new Error(o)}},signatureNormalize(t){switch(b("signature",t,64),e.signatureNormalize(t)){case 0:return t;case 1:throw new Error(f)}},signatureExport(t,r){b("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(b("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){b("message",t,32),b("private key",r,32),m("Object"===w(i),"Expected options to be an Object"),i.data!==undefined&&b("options.data",i.data),i.noncefn!==undefined&&m("Function"===w(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(b("signature",t,64),b("message",r,32),b("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(l)}},ecdsaRecover(t,r,i,o=!0,a){switch(b("signature",t,64),m("Number"===w(r)&&r>=0&&r<=3,"Expected recovery id to be a Number within interval [0, 3]"),b("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(b("public key",t,[33,65]),b("private key",r,32),m("Object"===w(n),"Expected options to be an Object"),n.data!==undefined&&b("options.data",n.data),n.hashfn!==undefined?(m("Function"===w(n.hashfn),"Expected options.hashfn to be a Function"),n.xbuf!==undefined&&b("options.xbuf",n.xbuf,32),n.ybuf!==undefined&&b("options.ybuf",n.ybuf,32),b("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(l);case 2:throw new Error(p)}}})}}},{package:"ganache>secp256k1",file:"node_modules/secp256k1/lib/index.js"}],[6168,{"../functions/cmp":6172,"../internal/debug":6197,"../internal/parse-options":6200,"../internal/re":6201,"./range":6169,"./semver":6170},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(" "),u("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,u("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(u("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 l(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("="))||(!!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(l(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"),l=e("../functions/cmp"),u=e("../internal/debug"),c=e("./semver"),f=e("./range")}}},{package:"semver",file:"node_modules/semver/classes/comparator.js"}],[6169,{"../internal/constants":6196,"../internal/debug":6197,"../internal/lrucache":6199,"../internal/parse-options":6200,"../internal/re":6201,"./comparator":6168,"./semver":6170},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&&m)|(this.options.loose&&b))+":"+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,O(this.options.includePrerelease)),l("hyphen replace",e),e=e.replace(c[f.COMPARATORTRIM],d),l("comparator trim",e),e=e.replace(c[f.TILDETRIM],h),l("tilde trim",e),e=e.replace(c[f.CARETTRIM],p),l("caret trim",e);let a=e.split(" ").map(e=>_(e,this.options)).join(" ").split(/\s+/).map(e=>j(e,this.options));n&&(a=a.filter(e=>(l("loose invalid filter",e,this.options),!!e.match(c[f.COMPARATORLOOSE])))),l("range list",a);const u=new Map,y=a.map(e=>new s(e,this.options));for(const e of y){if(g(e))return[e];u.set(e.value,e)}u.size>1&&u.has("")&&u.delete("");const w=[...u.values()];return o.set(t,w),w}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some(r=>w(r,t)&&e.set.some(e=>w(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 u(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(P(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"),l=e("../internal/debug"),u=e("./semver"),{safeRe:c,t:f,comparatorTrimReplace:d,tildeTrimReplace:h,caretTrimReplace:p}=e("../internal/re"),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:b}=e("../internal/constants"),g=e=>"<0.0.0-0"===e.value,y=e=>""===e.value,w=(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},_=(e,t)=>(e=e.replace(c[f.BUILD],""),l("comp",e,t),e=A(e,t),l("caret",e),e=E(e,t),l("tildes",e),e=R(e,t),l("xrange",e),e=x(e,t),l("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,E=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{const r=t.loose?c[f.TILDELOOSE]:c[f.TILDE];return e.replace(r,(t,r,n,i,o)=>{let a;return l("tilde",e,t,r,n,i,o),v(r)?a="":v(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:v(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(l("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,l("tilde return",a),a})},A=(e,t)=>e.trim().split(/\s+/).map(e=>T(e,t)).join(" "),T=(e,t)=>{l("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 l("caret",e,t,r,i,o,a),v(r)?s="":v(i)?s=`>=${r}.0.0${n} <${+r+1}.0.0-0`:v(o)?s="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(l("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`):(l("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`),l("caret return",s),s})},R=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map(e=>k(e,t)).join(" ")),k=(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)=>{l("xRange",e,r,n,i,o,a,s);const u=v(i),c=u||v(o),f=c||v(a),d=f;return"="===n&&d&&(n=""),s=t.includePrerelease?"-0":"",u?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`),l("xRange return",r),r})},x=(e,t)=>(l("replaceStars",e,t),e.trim().replace(c[f.STAR],"")),j=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?f.GTE0PRE:f.GTE0],"")),O=e=>(t,r,n,i,o,a,s,l,u,c,f,d)=>`${r=v(n)?"":v(i)?`>=${n}.0.0${e?"-0":""}`:v(o)?`>=${n}.${i}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=v(u)?"":v(c)?`<${+u+1}.0.0-0`:v(f)?`<${u}.${+c+1}.0-0`:d?`<=${u}.${c}.${f}-${d}`:e?`<${u}.${c}.${+f+1}-0`:`<=${l}`}`.trim(),P=(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(l(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"}],[6170,{"../internal/constants":6196,"../internal/debug":6197,"../internal/identifiers":6198,"../internal/parse-options":6200,"../internal/re":6201},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"),l=e("../internal/parse-options"),{compareIdentifiers:u}=e("../internal/identifiers");class c{constructor(e,t){if(t=l(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 u(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 u(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===u(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"}],[6171,{"./parse":6187},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"}],[6172,{"./eq":6178,"./gt":6179,"./gte":6180,"./lt":6182,"./lte":6183,"./neq":6186},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"),l=e("./lte");t.exports=(e,t,r,u)=>{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,u);case"!=":return i(e,r,u);case">":return o(e,r,u);case">=":return a(e,r,u);case"<":return s(e,r,u);case"<=":return l(e,r,u);default:throw new TypeError(`Invalid operator: ${t}`)}}}}},{package:"semver",file:"node_modules/semver/functions/cmp.js"}],[6173,{"../classes/semver":6170,"../internal/re":6201,"./parse":6187},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],l=r[3]||"0",u=r[4]||"0",c=t.includePrerelease&&r[5]?`-${r[5]}`:"",f=t.includePrerelease&&r[6]?`+${r[6]}`:"";return i(`${s}.${l}.${u}${c}${f}`,t)}}}},{package:"semver",file:"node_modules/semver/functions/coerce.js"}],[6174,{"../classes/semver":6170},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"}],[6175,{"./compare":6176},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"}],[6176,{"../classes/semver":6170},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"}],[6177,{"./parse.js":6187},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,l=a?i:r,u=!!s.prerelease.length;if(!!l.prerelease.length&&!u){if(!l.patch&&!l.minor)return"major";if(0===l.compareMain(s))return l.minor&&!l.patch?"minor":"patch"}const c=u?"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"}],[6178,{"./compare":6176},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"}],[6179,{"./compare":6176},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"}],[6180,{"./compare":6176},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"}],[6181,{"../classes/semver":6170},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"}],[6182,{"./compare":6176},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"}],[6183,{"./compare":6176},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"}],[6184,{"../classes/semver":6170},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"}],[6185,{"../classes/semver":6170},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"}],[6186,{"./compare":6176},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"}],[6187,{"../classes/semver":6170},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"}],[6188,{"../classes/semver":6170},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"}],[6189,{"./parse":6187},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"}],[6190,{"./compare":6176},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"}],[6191,{"./compare-build":6174},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"}],[6192,{"../classes/range":6169},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"}],[6193,{"./compare-build":6174},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"}],[6194,{"./parse":6187},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"}],[6195,{"./classes/comparator":6168,"./classes/range":6169,"./classes/semver":6170,"./functions/clean":6171,"./functions/cmp":6172,"./functions/coerce":6173,"./functions/compare":6176,"./functions/compare-build":6174,"./functions/compare-loose":6175,"./functions/diff":6177,"./functions/eq":6178,"./functions/gt":6179,"./functions/gte":6180,"./functions/inc":6181,"./functions/lt":6182,"./functions/lte":6183,"./functions/major":6184,"./functions/minor":6185,"./functions/neq":6186,"./functions/parse":6187,"./functions/patch":6188,"./functions/prerelease":6189,"./functions/rcompare":6190,"./functions/rsort":6191,"./functions/satisfies":6192,"./functions/sort":6193,"./functions/valid":6194,"./internal/constants":6196,"./internal/identifiers":6198,"./internal/re":6201,"./ranges/gtr":6202,"./ranges/intersects":6203,"./ranges/ltr":6204,"./ranges/max-satisfying":6205,"./ranges/min-satisfying":6206,"./ranges/min-version":6207,"./ranges/outside":6208,"./ranges/simplify":6209,"./ranges/subset":6210,"./ranges/to-comparators":6211,"./ranges/valid":6212},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"),l=e("./functions/valid"),u=e("./functions/clean"),c=e("./functions/inc"),f=e("./functions/diff"),d=e("./functions/major"),h=e("./functions/minor"),p=e("./functions/patch"),m=e("./functions/prerelease"),b=e("./functions/compare"),g=e("./functions/rcompare"),y=e("./functions/compare-loose"),w=e("./functions/compare-build"),_=e("./functions/sort"),v=e("./functions/rsort"),E=e("./functions/gt"),S=e("./functions/lt"),A=e("./functions/eq"),T=e("./functions/neq"),R=e("./functions/gte"),k=e("./functions/lte"),x=e("./functions/cmp"),j=e("./functions/coerce"),O=e("./classes/comparator"),P=e("./classes/range"),M=e("./functions/satisfies"),I=e("./ranges/to-comparators"),N=e("./ranges/max-satisfying"),C=e("./ranges/min-satisfying"),L=e("./ranges/min-version"),D=e("./ranges/valid"),U=e("./ranges/outside"),F=e("./ranges/gtr"),$=e("./ranges/ltr"),B=e("./ranges/intersects"),W=e("./ranges/simplify"),H=e("./ranges/subset");t.exports={parse:s,valid:l,clean:u,inc:c,diff:f,major:d,minor:h,patch:p,prerelease:m,compare:b,rcompare:g,compareLoose:y,compareBuild:w,sort:_,rsort:v,gt:E,lt:S,eq:A,neq:T,gte:R,lte:k,cmp:x,coerce:j,Comparator:O,Range:P,satisfies:M,toComparators:I,maxSatisfying:N,minSatisfying:C,minVersion:L,validRange:D,outside:U,gtr:F,ltr:$,intersects:B,simplifyRange:W,subset:H,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"}],[6196,{},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"}],[6197,{_process:5698},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"}],[6198,{},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"}],[6199,{},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"}],[6200,{},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"}],[6201,{"./constants":6196,"./debug":6197},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=[],l=r.safeRe=[],u=r.src=[],c=r.safeSrc=[],f=r.t={};let d=0;const h="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",o],[h,i]],m=(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,u[i]=t,c[i]=n,s[i]=new RegExp(t,r?"g":undefined),l[i]=new RegExp(n,r?"g":undefined)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),m("MAINVERSION",`(${u[f.NUMERICIDENTIFIER]})\\.(${u[f.NUMERICIDENTIFIER]})\\.(${u[f.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[f.NUMERICIDENTIFIERLOOSE]})\\.(${u[f.NUMERICIDENTIFIERLOOSE]})\\.(${u[f.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[f.NONNUMERICIDENTIFIER]}|${u[f.NUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[f.NONNUMERICIDENTIFIER]}|${u[f.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASE",`(?:-(${u[f.PRERELEASEIDENTIFIER]}(?:\\.${u[f.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[f.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${h}+`),m("BUILD",`(?:\\+(${u[f.BUILDIDENTIFIER]}(?:\\.${u[f.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[f.MAINVERSION]}${u[f.PRERELEASE]}?${u[f.BUILD]}?`),m("FULL",`^${u[f.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[f.MAINVERSIONLOOSE]}${u[f.PRERELEASELOOSE]}?${u[f.BUILD]}?`),m("LOOSE",`^${u[f.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[f.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[f.XRANGEIDENTIFIER]})(?:\\.(${u[f.XRANGEIDENTIFIER]})(?:\\.(${u[f.XRANGEIDENTIFIER]})(?:${u[f.PRERELEASE]})?${u[f.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[f.XRANGEIDENTIFIERLOOSE]})(?:${u[f.PRERELEASELOOSE]})?${u[f.BUILD]}?)?)?`),m("XRANGE",`^${u[f.GTLT]}\\s*${u[f.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[f.GTLT]}\\s*${u[f.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),m("COERCE",`${u[f.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",u[f.COERCEPLAIN]+`(?:${u[f.PRERELEASE]})?`+`(?:${u[f.BUILD]})?(?:$|[^\\d])`),m("COERCERTL",u[f.COERCE],!0),m("COERCERTLFULL",u[f.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[f.LONETILDE]}\\s+`,!0),r.tildeTrimReplace="$1~",m("TILDE",`^${u[f.LONETILDE]}${u[f.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[f.LONETILDE]}${u[f.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[f.LONECARET]}\\s+`,!0),r.caretTrimReplace="$1^",m("CARET",`^${u[f.LONECARET]}${u[f.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[f.LONECARET]}${u[f.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[f.GTLT]}\\s*(${u[f.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[f.GTLT]}\\s*(${u[f.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[f.GTLT]}\\s*(${u[f.LOOSEPLAIN]}|${u[f.XRANGEPLAIN]})`,!0),r.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[f.XRANGEPLAIN]})\\s+-\\s+(${u[f.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[f.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}},{package:"semver",file:"node_modules/semver/internal/re.js"}],[6202,{"./outside":6208},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"}],[6203,{"../classes/range":6169},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"}],[6204,{"./outside":6208},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"}],[6205,{"../classes/range":6169,"../classes/semver":6170},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"}],[6206,{"../classes/range":6169,"../classes/semver":6170},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"}],[6207,{"../classes/range":6169,"../classes/semver":6170,"../functions/gt":6179},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"}],[6208,{"../classes/comparator":6168,"../classes/range":6169,"../classes/semver":6170,"../functions/gt":6179,"../functions/gte":6180,"../functions/lt":6182,"../functions/lte":6183,"../functions/satisfies":6192},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"),l=e("../functions/gt"),u=e("../functions/lt"),c=e("../functions/lte"),f=e("../functions/gte");t.exports=(e,t,r,d)=>{let h,p,m,b,g;switch(e=new n(e,d),t=new a(t,d),r){case">":h=l,p=c,m=u,b=">",g=">=";break;case"<":h=u,p=f,m=l,b="<",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:m(e.semver,s.semver,d)&&(s=e)}),a.operator===b||a.operator===g)return!1;if((!s.operator||s.operator===b)&&p(e,s.semver))return!1;if(s.operator===g&&m(e,s.semver))return!1}return!0}}}},{package:"semver",file:"node_modules/semver/ranges/outside.js"}],[6209,{"../functions/compare.js":6176,"../functions/satisfies.js":6192},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 l=e.sort((e,t)=>i(e,t,r));for(const e of l){n(e,t,r)?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null)}a&&o.push([a,null]);const u=[];for(const[e,t]of o)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");const c=u.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"}],[6210,{"../classes/comparator.js":6168,"../classes/range.js":6169,"../functions/compare.js":6176,"../functions/satisfies.js":6192},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"),l=[new i(">=0.0.0-0")],u=[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?l:u}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=u}const n=new Set;let i,c,h,p,m,b,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,w=!(!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,b=b||"<"===e.operator||"<="===e.operator,i)if(w&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===w.major&&e.semver.minor===w.minor&&e.semver.patch===w.patch&&(w=!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(m=d(c,e,r),m===e&&m!==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&&b&&!c&&0!==h)&&(!(c&&g&&!i&&0!==h)&&(!w&&!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"}],[6211,{"../classes/range":6169},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"}],[6212,{"../classes/range":6169},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"}],[6213,{"define-data-property":4836,"es-errors/type":4877,"get-intrinsic":5033,gopd:5046,"has-property-descriptors":5188},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"),l=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||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!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"}],[6215,{timers:4684},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"}],[6216,{"safe-buffer":6161,"to-buffer":6285},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 l=a%n,u=Math.min(o-s,n-l),c=0;c<u;c++)r[l+c]=e[s+c];s+=u,(a+=u)%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"}],[6217,{"./sha":6218,"./sha1":6219,"./sha224":6220,"./sha256":6221,"./sha384":6222,"./sha512":6223},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"}],[6218,{"./hash":6216,inherits:5224,"safe-buffer":6161},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 l(){this.init(),this._w=s,i.call(this,64,56)}function u(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(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.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,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=t[l-3]^t[l-8]^t[l-14]^t[l-16];for(var d=0;d<80;++d){var h=~~(d/20),p=u(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},l.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=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha.js"}],[6219,{"./hash":6216,inherits:5224,"safe-buffer":6161},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 l(){this.init(),this._w=s,i.call(this,64,56)}function u(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(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.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,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=u(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var h=0;h<80;++h){var p=~~(h/20),m=c(r)+d(p,n,i,o)+s+t[h]+a[p]|0;s=o,o=i,i=f(n),n=r,r=m}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},l.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=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha1.js"}],[6220,{"./hash":6216,"./sha256":6221,inherits:5224,"safe-buffer":6161},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 l(){this.init(),this._w=s,o.call(this,64,56)}n(l,i),l.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},l.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=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha224.js"}],[6221,{"./hash":6216,inherits:5224,"safe-buffer":6161},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 l(){this.init(),this._w=s,i.call(this,64,56)}function u(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(l,i),l.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},l.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,l=0|this._f,m=0|this._g,b=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 w=b+d(s)+u(s,l,m)+a[y]+t[y]|0,_=f(r)+c(r,n,i)|0;b=m,m=l,l=s,s=o+w|0,o=i,i=n,n=r,r=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=l+this._f|0,this._g=m+this._g|0,this._h=b+this._h|0},l.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=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha256.js"}],[6222,{"./hash":6216,"./sha512":6223,inherits:5224,"safe-buffer":6161},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 l(){this.init(),this._w=s,o.call(this,128,112)}n(l,i),l.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},l.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=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha384.js"}],[6223,{"./hash":6216,inherits:5224,"safe-buffer":6161},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 l(){this.init(),this._w=s,i.call(this,128,112)}function u(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 m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function b(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(l,i),l.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},l.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,l=0|this._fh,y=0|this._gh,w=0|this._hh,_=0|this._al,v=0|this._bl,E=0|this._cl,S=0|this._dl,A=0|this._el,T=0|this._fl,R=0|this._gl,k=0|this._hl,x=0;x<32;x+=2)t[x]=e.readInt32BE(4*x),t[x+1]=e.readInt32BE(4*x+4);for(;x<160;x+=2){var j=t[x-30],O=t[x-30+1],P=h(j,O),M=p(O,j),I=m(j=t[x-4],O=t[x-4+1]),N=b(O,j),C=t[x-14],L=t[x-14+1],D=t[x-32],U=t[x-32+1],F=M+L|0,$=P+C+g(F,M)|0;$=($=$+I+g(F=F+N|0,N)|0)+D+g(F=F+U|0,U)|0,t[x]=$,t[x+1]=F}for(var B=0;B<160;B+=2){$=t[B],F=t[B+1];var W=c(r,n,i),H=c(_,v,E),q=f(r,_),V=f(_,r),G=d(s,A),z=d(A,s),K=a[B],Y=a[B+1],X=u(s,l,y),Z=u(A,T,R),J=k+z|0,Q=w+G+g(J,k)|0;Q=(Q=(Q=Q+X+g(J=J+Z|0,Z)|0)+K+g(J=J+Y|0,Y)|0)+$+g(J=J+F|0,F)|0;var ee=V+H|0,te=q+W+g(ee,V)|0;w=y,k=R,y=l,R=T,l=s,T=A,s=o+Q+g(A=S+J|0,S)|0,o=i,S=E,i=n,E=v,n=r,v=_,r=Q+te+g(_=J+ee|0,J)|0}this._al=this._al+_|0,this._bl=this._bl+v|0,this._cl=this._cl+E|0,this._dl=this._dl+S|0,this._el=this._el+A|0,this._fl=this._fl+T|0,this._gl=this._gl+R|0,this._hl=this._hl+k|0,this._ah=this._ah+r+g(this._al,_)|0,this._bh=this._bh+n+g(this._bl,v)|0,this._ch=this._ch+i+g(this._cl,E)|0,this._dh=this._dh+o+g(this._dl,S)|0,this._eh=this._eh+s+g(this._el,A)|0,this._fh=this._fh+l+g(this._fl,T)|0,this._gh=this._gh+y+g(this._gl,R)|0,this._hh=this._hh+w+g(this._hl,k)|0},l.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=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha512.js"}],[6224,{"es-errors/type":4877,"object-inspect":5650},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"}],[6225,{"call-bound":4701,"es-errors/type":4877,"get-intrinsic":5033,"object-inspect":5650},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),l=i("Map.prototype.get",!0),u=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 l(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,r){e||(e=new s),u(e,t,r)}};return t}}}},{package:"string.prototype.matchall>side-channel>side-channel-map",file:"node_modules/side-channel-map/index.js"}],[6226,{"call-bound":4701,"es-errors/type":4877,"get-intrinsic":5033,"object-inspect":5650,"side-channel-map":6225},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"),l=n("%WeakMap%",!0),u=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=l?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(l&&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 l&&r&&("object"==typeof r||"function"==typeof r)&&e?u(e,r):t&&t.get(r)},has:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?f(e,r):!!t&&t.has(r)},set:function(r,n){l&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new l),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"}],[6227,{"es-errors/type":4877,"object-inspect":5650,"side-channel-list":6224,"side-channel-map":6225,"side-channel-weakmap":6226},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"}],[6228,{},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"}],[6229,{"./ethersCompat":6230,"./types":6232,"./utils":6233,"@spruceid/siwe-parser":6235,"valid-url":6360},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{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.SiweMessage=void 0;const s=e("@spruceid/siwe-parser"),l=o(e("valid-url")),u=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),l=(0,f.checkInvalidKeys)(e,c.VerifyParamsKeys);l.length>0&&s({success:!1,data:this,error:new Error(`${l.join(", ")} is/are not valid key(s) for VerifyParams.`)});const d=(0,f.checkInvalidKeys)(t,c.VerifyOptsKeys);l.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:m,nonce:b,time:g}=e;p&&p!==this.scheme&&s({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.SCHEME_MISMATCH,p,this.scheme)}),m&&m!==this.domain&&s({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.DOMAIN_MISMATCH,m,this.domain)}),b&&b!==this.nonce&&s({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.NONCE_MISMATCH,b,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 w,_;try{w=this.prepareMessage()}catch(e){s({success:!1,data:this,error:e})}try{_=(0,u.verifyMessage)(w,h)}catch(e){console.error(e)}if(_===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,_,`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,u.getAddress)(this.address),this.address);if(!l.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"}],[6230,{ethers:4973},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"}],[6231,{"./client":6229,"./types":6232,"./utils":6233},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"}],[6232,{},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"}],[6233,{"./ethersCompat":6230,"@stablelib/random":3786,ethers:4973},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{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((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)"],l=/^(?<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=l.exec(e);if(!e)return!1;const r=new Date(t.groups.date).toISOString(),n=l.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"}],[6234,{"./utils":6236,"apg-js/src/apg-api/api":4509,"apg-js/src/apg-lib/node-exports":4527},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 l{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=l,l.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 l=r.SEM_OK;return e===r.SEM_PRE&&(o.chainId=(0,s.parseIntegerNumber)(a.default.utils.charsToString(t,n,i))),l};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(l.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"}],[6235,{"./abnf":6234,"./utils":6236},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"}],[6236,{"@noble/hashes/sha3":3749,"@noble/hashes/utils":3751},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"}],[6239,{events:4978,inherits:5224,"readable-stream/lib/_stream_duplex.js":6241,"readable-stream/lib/_stream_passthrough.js":6242,"readable-stream/lib/_stream_readable.js":6243,"readable-stream/lib/_stream_transform.js":6244,"readable-stream/lib/_stream_writable.js":6245,"readable-stream/lib/internal/streams/end-of-stream.js":6249,"readable-stream/lib/internal/streams/pipeline.js":6251},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",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(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",l),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",u),e.on("error",u),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"}],[6240,{},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 l=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(l," ").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"}],[6241,{"./_stream_readable":6243,"./_stream_writable":6245,_process:5698,inherits:5224},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=u;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(u,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var l=a[s];u.prototype[l]||(u.prototype[l]=o.prototype[l])}function u(e){if(!(this instanceof u))return new u(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(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.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"}],[6242,{"./_stream_transform":6244,inherits:5224},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"}],[6243,{"../errors":6240,"./_stream_duplex":6241,"./internal/streams/async_iterator":6246,"./internal/streams/buffer_list":6247,"./internal/streams/destroy":6248,"./internal/streams/from":6250,"./internal/streams/state":6252,"./internal/streams/stream":6253,_process:5698,buffer:4682,events:4978,inherits:5224,"string_decoder/":6274,util:4634},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;t.exports=A,A.ReadableState=S;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 l,u=e("util");l=u&&u.debuglog?u.debuglog("stream"):function(){};var c,f,d,h=e("./internal/streams/buffer_list"),p=e("./internal/streams/destroy"),m=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,g=b.ERR_INVALID_ARG_TYPE,y=b.ERR_STREAM_PUSH_AFTER_EOF,w=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(A,o);var v=p.errorOrDestroy,E=["error","close","destroy","pause","resume"];function S(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=m(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 A(t){if(n=n||e("./_stream_duplex"),!(this instanceof A))return new A(t);var r=this instanceof n;this._readableState=new S(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){l("readableAddChunk",t);var o,u=e._readableState;if(null===t)u.reading=!1,function(e,t){if(l("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?j(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,u);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}(u,t)),o)v(e,o);else if(u.objectMode||t&&t.length>0)if("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)u.endEmitted?v(e,new _):R(e,u,t,!0);else if(u.ended)v(e,new y);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?R(e,u,t,!1):P(e,u)):R(e,u,t,!1)}else n||(u.reading=!1,P(e,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function R(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&&j(e)),P(e,t)}Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),A.prototype.destroy=p.destroy,A.prototype._undestroy=p.undestroy,A.prototype._destroy=function(e,t){t(e)},A.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)},A.prototype.unshift=function(e){return T(this,e,null,!0,!1)},A.prototype.isPaused=function(){return!1===this._readableState.flowing},A.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 k=1073741824;function x(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>=k?e=k:(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 j(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(O,e))}function O(e){var t=e._readableState;l("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,L(e)}function P(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(M,e,t))}function M(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(l("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function I(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 N(e){l("readable nexttick read 0"),e.read(0)}function C(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function D(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 U(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(F,t,e))}function F(e,t){if(l("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 $(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}A.prototype.read=function(e){l("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 l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):j(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&U(this),null;var n,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",i=!0),t.ended||t.reading?l("reading or ended",i=!1):i&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(r,t))),null===(n=e>0?D(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&&U(this)),null!==n&&this.emit("data",n),n},A.prototype._read=function(e){v(this,new w("_read()"))},A.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,l("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:b;function s(t,r){l("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),e.removeListener("close",p),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",u),n.removeListener("end",b),n.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){l("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;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,L(e))}}(n);e.on("drain",c);var f=!1;function d(t){l("ondata");var r=e.write(t);l("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==$(o.pipes,e))&&!f&&(l("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function h(t){l("onerror",t),b(),e.removeListener("error",h),0===i(e,"error")&&v(e,t)}function p(){e.removeListener("finish",m),b()}function m(){l("onfinish"),e.removeListener("close",p),b()}function b(){l("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",m),e.emit("pipe",n),o.flowing||(l("pipe resume"),n.resume()),e},A.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=$(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},A.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,l("on readable",i.length,i.reading),i.length?j(this):i.reading||r.nextTick(N,this))),n},A.prototype.addListener=A.prototype.on,A.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(I,this),n},A.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||r.nextTick(I,this),t},A.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(C,e,t))}(this,e)),e.paused=!1,this},A.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(l("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){(l("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){l("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(A.prototype[Symbol.asyncIterator]=function(){return f===undefined&&(f=e("./internal/streams/async_iterator")),f(this)}),Object.defineProperty(A.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(A.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(A.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),A._fromList=D,Object.defineProperty(A.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(A.from=function(t,r){return d===undefined&&(d=e("./internal/streams/from")),d(A,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"}],[6244,{"../errors":6240,"./_stream_duplex":6241,inherits:5224},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,l=e("./_stream_duplex");function u(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);l.call(this,e),this._transformState={afterTransform:u.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,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.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){l.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"}],[6245,{"../errors":6240,"./_stream_duplex":6241,"./internal/streams/destroy":6248,"./internal/streams/state":6252,"./internal/streams/stream":6253,_process:5698,buffer:4682,inherits:5224,"util-deprecate":6341},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=A,A.WritableState=S;var o={deprecate:e("util-deprecate")},a=e("./internal/streams/stream"),s=e("buffer").Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,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,m=d.ERR_MULTIPLE_CALLBACK,b=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,_=d.ERR_UNKNOWN_ENCODING,v=c.errorOrDestroy;function E(){}function S(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 m;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(O,e,t),e._writableState.errorEmitted=!0,v(e,i)):(o(i),e._writableState.errorEmitted=!0,v(e,i),O(e,t))}(e,n,i,t,o);else{var a=x(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||k(e,n),i?r.nextTick(R,e,n,a,o):R(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 A(t){var r=this instanceof(i=i||e("./_stream_duplex"));if(!r&&!u.call(A,this))return new A(t);this._writableState=new S(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 R(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),O(e,t)}function k(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,l=!0;r;)o[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;o.allBuffers=l,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 u=r.chunk,c=r.encoding,f=r.callback;if(T(e,t,!1,t.objectMode?1:u.length,u,c,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function x(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function j(e,t){e._final(function(r){t.pendingcb--,r&&v(e,r),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var n=x(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(j,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")(A,a),S.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(S.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]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||this===A&&(e&&e._writableState instanceof S)}})):u=function(e){return e instanceof this},A.prototype.pipe=function(){v(this,new b)},A.prototype.write=function(e,t,n){var i,o=this._writableState,a=!1,u=!o.objectMode&&(i=e,s.isBuffer(i)||i instanceof l);return u&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=E),o.ending?function(e,t){var n=new w;v(e,n),r.nextTick(t,n)}(this,n):(u||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||(v(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 l=t.objectMode?1:n.length;t.length+=l;var u=t.length<t.highWaterMark;u||(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,l,n,i,o);return u}(this,o,u,e,t,n)),a},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||k(this,e))},A.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 _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,r){r(new p("_write()"))},A.prototype._writev=null,A.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,O(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=c.destroy,A.prototype._undestroy=c.undestroy,A.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"}],[6246,{"./end-of-stream":6249,_process:5698},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"),l=Symbol("error"),u=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 m(e){r.nextTick(p,e)}var b=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((i(n={get stream(){return this[d]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(h(undefined,!0));if(this[d].destroyed)return new Promise(function(t,n){r.nextTick(function(){e[l]?n(e[l]):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[u]?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),b);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,l,{value:null,writable:!0}),i(t,u,{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[l]=e)}var n=r[a];null!==n&&(r[c]=null,r[a]=null,r[s]=null,n(h(undefined,!0))),r[u]=!0}),e.on("readable",m.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"}],[6247,{buffer:4682,util:4634},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 l=e("buffer").Buffer,u=e("util").inspect,c=u&&u.custom||"inspect";function f(e,t,r){l.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 l.alloc(0);for(var t=l.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=l.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 u(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"}],[6248,{_process:5698},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,l=this._writableState&&this._writableState.destroyed;return s||l?(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"}],[6249,{"../../../errors":6240},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,l=function(){t.writable||c()},u=t._writableState&&t._writableState.finished,c=function(){s=!1,u=!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&&!u?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},m=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",c),t.on("abort",p),t.req?m():t.on("request",m)),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",m),t.req&&t.req.removeListener("finish",c),t.removeListener("end",l),t.removeListener("close",l),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"}],[6250,{},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"}],[6251,{"../../../errors":6240,"./end-of-stream":6249},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 l(e){e()}function u(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 l=!1;return function(e){if(!s&&!l)return l=!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(l),o||(d.forEach(l),f(c))})});return r.reduce(u)}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],[6252,{"../../../errors":6240},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"}],[6253,{events:4978},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"}],[6254,{"./lib/request":6256,"./lib/response":6257,"builtin-status-codes":4691,url:6318,xtend:6380},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"),l=r;l.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,l=e.port,u=e.path||"/";a&&-1!==a.indexOf(":")&&(a="["+a+"]"),e.url=(a?i+"//"+a:"")+(l?":"+l:"")+u,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var c=new n(e);return t&&c.on("response",t),c},l.get=function(e,t){var r=l.request(e,t);return r.end(),r},l.ClientRequest=n,l.IncomingMessage=i.IncomingMessage,l.Agent=function(){},l.Agent.defaultMaxSockets=4,l.globalAgent=new l.Agent,l.STATUS_CODES=a,l.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"}],[6255,{},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"}],[6256,{"./capability":6255,"./response":6257,_process:5698,buffer:4682,inherits:5224,"readable-stream":6272},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"),l=a.IncomingMessage,u=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 l=new AbortController;s=l.signal,e._fetchAbortController=l,"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 u.LOADING:case u.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 l(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"}],[6257,{"./capability":6255,_process:5698,buffer:4682,inherits:5224,"readable-stream":6272},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},l=r.IncomingMessage=function(e,r,o,s){var l=this;if(a.Readable.call(l),l._mode=o,l.headers={},l.rawHeaders=[],l.trailers={},l.rawTrailers=[],l.on("end",function(){t.nextTick(function(){l.emit("close")})}),"fetch"===o){if(l._fetchResponse=r,l.url=r.url,l.statusCode=r.status,l.statusMessage=r.statusText,r.headers.forEach(function(e,t){l.headers[t.toLowerCase()]=e,l.rawHeaders.push(t,e)}),i.writableStream){var u=new WritableStream({write:function(e){return s(!1),new Promise(function(t,r){l._destroyed?r():l.push(n.from(e))?t():l._resumeFetch=t})},close:function(){s(!0),l._destroyed||l.push(null)},abort:function(e){s(!0),l._destroyed||l.emit("error",e)}});try{return void r.body.pipeTo(u).catch(function(e){s(!0),l._destroyed||l.emit("error",e)})}catch(p){}}var c=r.body.getReader();function h(){c.read().then(function(e){l._destroyed||(s(e.done),e.done?l.push(null):(l.push(n.from(e.value)),h()))}).catch(function(e){s(!0),l._destroyed||l.emit("error",e)})}h()}else{if(l._xhr=e,l._pos=0,l.url=e.responseURL,l.statusCode=e.status,l.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?(l.headers[r]===undefined&&(l.headers[r]=[]),l.headers[r].push(t[2])):l.headers[r]!==undefined?l.headers[r]+=", "+t[2]:l.headers[r]=t[2],l.rawHeaders.push(t[1],t[2])}}),l._charset="x-user-defined",!i.overrideMimeType){var f=l.rawHeaders["mime-type"];if(f){var d=f.match(/;\s*charset=([^;])(;|$)/);d&&(l._charset=d[1].toLowerCase())}l._charset||(l._charset="utf-8")}}};o(l,a.Readable),l.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},l.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),l=0;l<o.length;l++)a[l]=255&o.charCodeAt(l);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 u=new global.MSStreamReader;u.onprogress=function(){u.result.byteLength>t._pos&&(t.push(n.from(new Uint8Array(u.result.slice(t._pos)))),t._pos=u.result.byteLength)},u.onload=function(){e(!0),t.push(null)},u.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"}],[6258,{},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 l=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(l," ").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"}],[6259,{"./_stream_readable":6261,"./_stream_writable":6263,_process:5698,inherits:5224},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=u;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(u,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var l=a[s];u.prototype[l]||(u.prototype[l]=o.prototype[l])}function u(e){if(!(this instanceof u))return new u(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(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.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"}],[626,{"../../../shared/constants/app":6386,"../../../shared/lib/translate":6523,"../../../ui/helpers/utils/util":7805,"../lib/util":395,"@metamask/etherscan-link":2493,"@metamask/transaction-controller":3604,lodash:5447,"webextension-polyfill":6374},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("webextension-polyfill"))&&n.__esModule?n:{default:n},o=e("@metamask/etherscan-link"),a=e("lodash"),s=e("@metamask/transaction-controller"),l=e("../lib/util"),u=e("../../../shared/constants/app"),c=e("../../../ui/helpers/utils/util"),f=e("../../../shared/lib/translate");r.default=class{reload(){i.default.runtime.reload()}async openTab(e){return await i.default.tabs.create(e)}async openWindow(e){return await i.default.windows.create(e)}async focusWindow(e){await i.default.windows.update(e,{focused:!0})}async updateWindowPosition(e,t,r){await i.default.windows.update(e,{left:t,top:r})}async getLastFocusedWindow(){return await i.default.windows.getLastFocused()}async closeCurrentWindow(){const e=await i.default.windows.getCurrent();i.default.windows.remove(e.id)}getVersion(){return i.default.runtime.getManifest().version}getExtensionURL(e=null,t=null){let r=i.default.runtime.getURL("home.html");return e&&(r+=`#${e}`),t&&(r+=`?${t}`),r}openExtensionInBrowser(e=null,t=null,r=!1){const n=this.getExtensionURL(e,t,r);this.openTab({url:n}),(0,l.getEnvironmentType)()===u.ENVIRONMENT_TYPE_BACKGROUND||r||window.close()}getPlatformInfo(e){try{return void e(i.default.runtime.getPlatformInfo())}catch(t){return void e(t)}}async showTransactionNotification(e,t){const{status:r,txReceipt:{status:n}={}}=e;if(r===s.TransactionStatus.confirmed)"0x0"===n?await this._showFailedTransaction(e,"Transaction encountered an error."):await this._showConfirmedTransaction(e,t);else if(r===s.TransactionStatus.failed){var i;null!==(i=e.error)&&void 0!==i&&null!==(i=i.message)&&void 0!==i&&i.includes("EthAppNftNotSupported")?await this._showFailedTransaction(e,(0,f.t)("ledgerEthAppNftNotSupportedNotification")):await this._showFailedTransaction(e)}}addOnRemovedListener(e){i.default.windows.onRemoved.addListener(e)}addTabRemovedListener(e){i.default.tabs.onRemoved.addListener(e)}removeTabRemovedListener(e){i.default.tabs.onRemoved.removeListener(e)}addTabUpdatedListener(e){i.default.tabs.onUpdated.addListener(e)}removeTabUpdatedListener(e){i.default.tabs.onUpdated.removeListener(e)}async getAllWindows(){return await i.default.windows.getAll()}async getActiveTabs(){return await i.default.tabs.query({active:!0})}async currentTab(){return await i.default.tabs.getCurrent()}async switchToTab(e){return await i.default.tabs.update(e,{highlighted:!0})}async switchToAnotherURL(e,t){await i.default.tabs.update(e,{url:t})}async closeTab(e){await i.default.tabs.remove(e)}async _showConfirmedTransaction(e,t){this._subscribeToNotificationClicked();const r=(0,o.getBlockExplorerLink)(e,t),n=parseInt(e.txParams.nonce,16),i=(0,a.startCase)((0,a.toLower)((0,c.getURLHostName)(r).replace(/([.]\w+)$/u,""))),s=(0,f.t)("notificationTransactionSuccessTitle");let l=(0,f.t)("notificationTransactionSuccessMessage",n);r.length&&(l+=` ${(0,f.t)("notificationTransactionSuccessView",i)}`),await this._showNotification(s,l,r)}async _showFailedTransaction(e,t){const r=parseInt(e.txParams.nonce,16),n=(0,f.t)("notificationTransactionFailedTitle"),i=(0,f.t)("notificationTransactionFailedMessage",r,t||e.error.message);await this._showNotification(n,i)}async _showNotification(e,t,r){const n=await i.default.runtime.getURL("../../images/icon-64.png");await i.default.notifications.create(r,{type:"basic",title:e,iconUrl:n,message:t})}_subscribeToNotificationClicked(){i.default.notifications.onClicked.hasListener(this._viewOnEtherscan)||i.default.notifications.onClicked.addListener(this._viewOnEtherscan)}_viewOnEtherscan(e){e.startsWith("https://")&&i.default.tabs.create({url:e})}}}}},{package:"$root$",file:"app/scripts/platforms/extension.js"}],[6260,{"./_stream_transform":6262,inherits:5224},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"}],[6261,{"../errors":6258,"./_stream_duplex":6259,"./internal/streams/async_iterator":6264,"./internal/streams/buffer_list":6265,"./internal/streams/destroy":6266,"./internal/streams/from":6268,"./internal/streams/state":6270,"./internal/streams/stream":6271,_process:5698,buffer:4682,events:4978,inherits:5224,"string_decoder/":6274,util:4634},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;t.exports=A,A.ReadableState=S;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 l,u=e("util");l=u&&u.debuglog?u.debuglog("stream"):function(){};var c,f,d,h=e("./internal/streams/buffer_list"),p=e("./internal/streams/destroy"),m=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,g=b.ERR_INVALID_ARG_TYPE,y=b.ERR_STREAM_PUSH_AFTER_EOF,w=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(A,o);var v=p.errorOrDestroy,E=["error","close","destroy","pause","resume"];function S(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=m(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 A(t){if(n=n||e("./_stream_duplex"),!(this instanceof A))return new A(t);var r=this instanceof n;this._readableState=new S(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){l("readableAddChunk",t);var o,u=e._readableState;if(null===t)u.reading=!1,function(e,t){if(l("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?j(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,u);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}(u,t)),o)v(e,o);else if(u.objectMode||t&&t.length>0)if("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)u.endEmitted?v(e,new _):R(e,u,t,!0);else if(u.ended)v(e,new y);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?R(e,u,t,!1):P(e,u)):R(e,u,t,!1)}else n||(u.reading=!1,P(e,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function R(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&&j(e)),P(e,t)}Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),A.prototype.destroy=p.destroy,A.prototype._undestroy=p.undestroy,A.prototype._destroy=function(e,t){t(e)},A.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)},A.prototype.unshift=function(e){return T(this,e,null,!0,!1)},A.prototype.isPaused=function(){return!1===this._readableState.flowing},A.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 k=1073741824;function x(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>=k?e=k:(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 j(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(O,e))}function O(e){var t=e._readableState;l("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,L(e)}function P(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(M,e,t))}function M(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(l("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function I(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 N(e){l("readable nexttick read 0"),e.read(0)}function C(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function D(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 U(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(F,t,e))}function F(e,t){if(l("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 $(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}A.prototype.read=function(e){l("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 l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):j(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&U(this),null;var n,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",i=!0),t.ended||t.reading?l("reading or ended",i=!1):i&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(r,t))),null===(n=e>0?D(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&&U(this)),null!==n&&this.emit("data",n),n},A.prototype._read=function(e){v(this,new w("_read()"))},A.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,l("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:b;function s(t,r){l("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),e.removeListener("close",p),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",u),n.removeListener("end",b),n.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){l("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;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,L(e))}}(n);e.on("drain",c);var f=!1;function d(t){l("ondata");var r=e.write(t);l("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==$(o.pipes,e))&&!f&&(l("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function h(t){l("onerror",t),b(),e.removeListener("error",h),0===i(e,"error")&&v(e,t)}function p(){e.removeListener("finish",m),b()}function m(){l("onfinish"),e.removeListener("close",p),b()}function b(){l("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",m),e.emit("pipe",n),o.flowing||(l("pipe resume"),n.resume()),e},A.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=$(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},A.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,l("on readable",i.length,i.reading),i.length?j(this):i.reading||r.nextTick(N,this))),n},A.prototype.addListener=A.prototype.on,A.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(I,this),n},A.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||r.nextTick(I,this),t},A.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(C,e,t))}(this,e)),e.paused=!1,this},A.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(l("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){(l("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){l("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(A.prototype[Symbol.asyncIterator]=function(){return f===undefined&&(f=e("./internal/streams/async_iterator")),f(this)}),Object.defineProperty(A.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(A.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(A.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),A._fromList=D,Object.defineProperty(A.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(A.from=function(t,r){return d===undefined&&(d=e("./internal/streams/from")),d(A,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"}],[6262,{"../errors":6258,"./_stream_duplex":6259,inherits:5224},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,l=e("./_stream_duplex");function u(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);l.call(this,e),this._transformState={afterTransform:u.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,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.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){l.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"}],[6263,{"../errors":6258,"./_stream_duplex":6259,"./internal/streams/destroy":6266,"./internal/streams/state":6270,"./internal/streams/stream":6271,_process:5698,buffer:4682,inherits:5224,"util-deprecate":6341},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=A,A.WritableState=S;var o={deprecate:e("util-deprecate")},a=e("./internal/streams/stream"),s=e("buffer").Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,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,m=d.ERR_MULTIPLE_CALLBACK,b=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,_=d.ERR_UNKNOWN_ENCODING,v=c.errorOrDestroy;function E(){}function S(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 m;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(O,e,t),e._writableState.errorEmitted=!0,v(e,i)):(o(i),e._writableState.errorEmitted=!0,v(e,i),O(e,t))}(e,n,i,t,o);else{var a=x(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||k(e,n),i?r.nextTick(R,e,n,a,o):R(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 A(t){var r=this instanceof(i=i||e("./_stream_duplex"));if(!r&&!u.call(A,this))return new A(t);this._writableState=new S(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 R(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),O(e,t)}function k(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,l=!0;r;)o[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;o.allBuffers=l,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 u=r.chunk,c=r.encoding,f=r.callback;if(T(e,t,!1,t.objectMode?1:u.length,u,c,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function x(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function j(e,t){e._final(function(r){t.pendingcb--,r&&v(e,r),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var n=x(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(j,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")(A,a),S.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(S.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]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||this===A&&(e&&e._writableState instanceof S)}})):u=function(e){return e instanceof this},A.prototype.pipe=function(){v(this,new b)},A.prototype.write=function(e,t,n){var i,o=this._writableState,a=!1,u=!o.objectMode&&(i=e,s.isBuffer(i)||i instanceof l);return u&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=E),o.ending?function(e,t){var n=new w;v(e,n),r.nextTick(t,n)}(this,n):(u||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||(v(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 l=t.objectMode?1:n.length;t.length+=l;var u=t.length<t.highWaterMark;u||(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,l,n,i,o);return u}(this,o,u,e,t,n)),a},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||k(this,e))},A.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 _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,r){r(new p("_write()"))},A.prototype._writev=null,A.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,O(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=c.destroy,A.prototype._undestroy=c.undestroy,A.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"}],[6264,{"./end-of-stream":6267,_process:5698},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"),l=Symbol("error"),u=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 m(e){r.nextTick(p,e)}var b=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((i(n={get stream(){return this[d]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(h(undefined,!0));if(this[d].destroyed)return new Promise(function(t,n){r.nextTick(function(){e[l]?n(e[l]):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[u]?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),b);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,l,{value:null,writable:!0}),i(t,u,{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[l]=e)}var n=r[a];null!==n&&(r[c]=null,r[a]=null,r[s]=null,n(h(undefined,!0))),r[u]=!0}),e.on("readable",m.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"}],[6265,{buffer:4682,util:4634},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 l=e("buffer").Buffer,u=e("util").inspect,c=u&&u.custom||"inspect";function f(e,t,r){l.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 l.alloc(0);for(var t=l.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=l.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 u(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"}],[6266,{_process:5698},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,l=this._writableState&&this._writableState.destroyed;return s||l?(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"}],[6267,{"../../../errors":6258},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,l=function(){t.writable||c()},u=t._writableState&&t._writableState.finished,c=function(){s=!1,u=!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&&!u?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},m=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",c),t.on("abort",p),t.req?m():t.on("request",m)),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",m),t.req&&t.req.removeListener("finish",c),t.removeListener("end",l),t.removeListener("close",l),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"}],[6268,{},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"}],[6269,{"../../../errors":6258,"./end-of-stream":6267},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 l(e){e()}function u(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 l=!1;return function(e){if(!s&&!l)return l=!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(l),o||(d.forEach(l),f(c))})});return r.reduce(u)}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],[6270,{"../../../errors":6258},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"}],[6271,{events:4978},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"}],[6272,{"./lib/_stream_duplex.js":6259,"./lib/_stream_passthrough.js":6260,"./lib/_stream_readable.js":6261,"./lib/_stream_transform.js":6262,"./lib/_stream_writable.js":6263,"./lib/internal/streams/end-of-stream.js":6267,"./lib/internal/streams/pipeline.js":6269},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"}],[6274,{"safe-buffer":6161},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=l,this.end=u,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 l(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 u(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"}],[6275,{"is-hex-prefixed":5237},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"}],[6277,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const n=e=>{const t=s(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{const r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),i(r,t)||a(e)},getConflictingClassGroupIds:(e,t)=>{const i=r[e]||[];return t&&n[e]?[...i,...n[e]]:i}}},i=(e,t)=>{if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?i(e.slice(1),n):undefined;if(o)return o;if(0===t.validators.length)return undefined;const a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},o=/^\[(.+)\]$/,a=e=>{if(o.test(e)){const t=o.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},s=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return f(Object.entries(e.classGroups),r).forEach(([e,r])=>{l(r,n,e,t)}),n},l=(e,t,r,n)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:u(t,e)).classGroupId=r)}if("function"==typeof e)return c(e)?void l(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach(([e,i])=>{l(i,u(t,e),r,n)})})},u=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},c=e=>e.isThemeGetter,f=(e,t)=>t?e.map(([e,r])=>[e,r.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[t+e,r])):e)]):e,d=e=>{if(e<1)return{get:()=>undefined,set:()=>{}};let t=0,r=new Map,n=new Map;const i=(i,o)=>{r.set(i,o),t++,t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return t!==undefined?t:(t=n.get(e))!==undefined?(i(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):i(e,t)}}},h=e=>{const{separator:t,experimentalParseClassName:r}=e,n=1===t.length,i=t[0],o=t.length,a=e=>{const r=[];let a,s=0,l=0;for(let u=0;u<e.length;u++){let c=e[u];if(0===s){if(c===i&&(n||e.slice(u,u+o)===t)){r.push(e.slice(l,u)),l=u+o;continue}if("/"===c){a=u;continue}}"["===c?s++:"]"===c&&s--}const u=0===r.length?e:e.substring(l),c=u.startsWith("!");return{modifiers:r,hasImportantModifier:c,baseClassName:c?u.substring(1):u,maybePostfixModifierPosition:a&&a>l?a-l:undefined}};return r?e=>r({className:e,parseClassName:a}):a},p=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t},m=/\s+/;function b(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=g(e))&&(n&&(n+=" "),n+=t);return n}const g=e=>{if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=g(e[n]))&&(r&&(r+=" "),r+=t);return r};function y(e,...t){let r,i,o,a=function(l){const u=t.reduce((e,t)=>t(e),e());return r=(e=>({cache:d(e.cacheSize),parseClassName:h(e),...n(e)}))(u),i=r.cache.get,o=r.cache.set,a=s,s(l)};function s(e){const t=i(e);if(t)return t;const n=((e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(m);let s="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{modifiers:l,hasImportantModifier:u,baseClassName:c,maybePostfixModifierPosition:f}=r(t);let d=Boolean(f),h=n(d?c.substring(0,f):c);if(!h){if(!d){s=t+(s.length>0?" "+s:s);continue}if(h=n(c),!h){s=t+(s.length>0?" "+s:s);continue}d=!1}const m=p(l).join(":"),b=u?m+"!":m,g=b+h;if(o.includes(g))continue;o.push(g);const y=i(h,d);for(let e=0;e<y.length;++e){const t=y[e];o.push(b+t)}s=t+(s.length>0?" "+s:s)}return s})(e,r);return o(e,n),n}return function(){return a(b.apply(null,arguments))}}const w=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},_=/^\[(?:([a-z-]+):)?(.+)\]$/i,v=/^\d+\/\d+$/,E=new Set(["px","full","screen"]),S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,T=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,R=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,k=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,x=e=>O(e)||E.has(e)||v.test(e),j=e=>H(e,"length",q),O=e=>Boolean(e)&&!Number.isNaN(Number(e)),P=e=>H(e,"number",O),M=e=>Boolean(e)&&Number.isInteger(Number(e)),I=e=>e.endsWith("%")&&O(e.slice(0,-1)),N=e=>_.test(e),C=e=>S.test(e),L=new Set(["length","size","percentage"]),D=e=>H(e,L,V),U=e=>H(e,"position",V),F=new Set(["image","url"]),$=e=>H(e,F,z),B=e=>H(e,"",G),W=()=>!0,H=(e,t,r)=>{const n=_.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},q=e=>A.test(e)&&!T.test(e),V=()=>!1,G=e=>R.test(e),z=e=>k.test(e),K=Object.defineProperty({__proto__:null,isAny:W,isArbitraryImage:$,isArbitraryLength:j,isArbitraryNumber:P,isArbitraryPosition:U,isArbitraryShadow:B,isArbitrarySize:D,isArbitraryValue:N,isInteger:M,isLength:x,isNumber:O,isPercent:I,isTshirtSize:C},Symbol.toStringTag,{value:"Module"}),Y=()=>{const e=w("colors"),t=w("spacing"),r=w("blur"),n=w("brightness"),i=w("borderColor"),o=w("borderRadius"),a=w("borderSpacing"),s=w("borderWidth"),l=w("contrast"),u=w("grayscale"),c=w("hueRotate"),f=w("invert"),d=w("gap"),h=w("gradientColorStops"),p=w("gradientColorStopPositions"),m=w("inset"),b=w("margin"),g=w("opacity"),y=w("padding"),_=w("saturate"),v=w("scale"),E=w("sepia"),S=w("skew"),A=w("space"),T=w("translate"),R=()=>["auto",N,t],k=()=>[N,t],L=()=>["",x,j],F=()=>["auto",O,N],H=()=>["","0",N],q=()=>[O,N];return{cacheSize:500,separator:":",theme:{colors:[W],spacing:[x,j],blur:["none","",C,N],brightness:q(),borderColor:[e],borderRadius:["none","","full",C,N],borderSpacing:k(),borderWidth:L(),contrast:q(),grayscale:H(),hueRotate:q(),invert:H(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[I,j],inset:R(),margin:R(),opacity:q(),padding:k(),saturate:q(),scale:q(),sepia:H(),skew:q(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[C]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",N]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",M,N]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",M,N]}],"grid-cols":[{"grid-cols":[W]}],"col-start-end":[{col:["auto",{span:["full",M,N]},N]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[W]}],"row-start-end":[{row:["auto",{span:[M,N]},N]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[C]},C]}],h:[{h:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",C,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",P]}],"font-family":[{font:[W]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",N]}],"line-clamp":[{"line-clamp":["none",O,P]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",x,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",x,j]}],"underline-offset":[{"underline-offset":["auto",x,N]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",U]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",D]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},$]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[x,N]}],"outline-w":[{outline:[x,j]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[x,j]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",C,B]}],"shadow-color":[{shadow:[W]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",C,N]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[_]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[v]}],"scale-x":[{"scale-x":[v]}],"scale-y":[{"scale-y":[v]}],rotate:[{rotate:[M,N]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[x,j,P]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},X=(e,{cacheSize:t,prefix:r,separator:n,experimentalParseClassName:i,extend:o={},override:a={}})=>{Z(e,"cacheSize",t),Z(e,"prefix",r),Z(e,"separator",n),Z(e,"experimentalParseClassName",i);for(const t in a)J(e[t],a[t]);for(const t in o)Q(e[t],o[t]);return e},Z=(e,t,r)=>{r!==undefined&&(e[t]=r)},J=(e,t)=>{if(t)for(const r in t)Z(e,r,t[r])},Q=(e,t)=>{if(t)for(const r in t){const n=t[r];n!==undefined&&(e[r]=(e[r]||[]).concat(n))}},ee=y(Y);r.createTailwindMerge=y,r.extendTailwindMerge=(e,...t)=>"function"==typeof e?y(Y,e,...t):y(()=>X(Y(),e),...t),r.fromTheme=w,r.getDefaultConfig=Y,r.mergeConfigs=X,r.twJoin=b,r.twMerge=ee,r.validators=K}}},{package:"@metamask/design-system-react>tailwind-merge",file:"node_modules/tailwind-merge/dist/bundle-cjs.js"}],[6285,{isarray:5253,"safe-buffer":6161,"typed-array-buffer":6299},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,l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,u=l&&(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(l&&a(e)){if(0===e.byteLength)return n.alloc(0);if(u){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"}],[6297,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i,o,a,s,l,u,c,f,d,h,p,m,b,g,y,w,_,v,E,S,A,T,R,k,x,j,O,P,M,I;!function(e){var r="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function n(e,t){return e!==r&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(r,n){return e[r]=t?t(r,n):n}}"function"==typeof define&&define.amd?define("tslib",["exports"],function(t){e(n(r,n(t)))}):"object"==typeof t&&"object"==typeof t.exports?e(n(r,n(t.exports))):e(n(r))}(function(e){var t=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=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)},i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},a=function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},s=function(e,t){return function(r,n){t(r,n,e)}},l=function(e,t,r,n,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=n.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?n.static?e:e.prototype:null,f=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),d=!1,h=r.length-1;h>=0;h--){var p={};for(var m in n)p[m]="access"===m?{}:n[m];for(var m in n.access)p.access[m]=n.access[m];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var b=(0,r[h])("accessor"===l?{get:f.get,set:f.set}:f[u],p);if("accessor"===l){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw new TypeError("Object expected");(s=a(b.get))&&(f.get=s),(s=a(b.set))&&(f.set=s),(s=a(b.init))&&i.unshift(s)}else(s=a(b))&&("field"===l?i.unshift(s):f[u]=s)}c&&Object.defineProperty(c,n.name,f),d=!0},u=function(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0},c=function(e){return"symbol"==typeof e?e:"".concat(e)},f=function(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},d=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},p=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(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},m=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||P(t,e,r)},P=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]},b=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.")},g=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},y=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e},w=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n},_=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},v=function(e){return this instanceof v?(this.v=e,this):new v(e)},E=function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n={},a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||s(e,t)})},t&&(n[e]=t(n[e])))}function s(e,t){try{(r=i[e](t)).value instanceof v?Promise.resolve(r.value.v).then(l,u):c(o[0][2],r)}catch(e){c(o[0][3],e)}var r}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}},S=function(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:v(e[n](t)),done:!1}:i?i(t):t}:i}},A=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=b(e),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)})}}},T=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};R=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&P(t,e,n);return r(t,e),t},k=function(e){return e&&e.__esModule?e:{default:e}},x=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},j=function(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r},O=function(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)},M=function(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t};var N="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};I=function(e){function t(t){e.error=e.hasError?new N(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function r(){for(;e.stack.length;){var n=e.stack.pop();try{var i=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(i).then(r,function(e){return t(e),r()})}catch(e){t(e)}}if(e.hasError)throw e.error}()},e("__extends",n),e("__assign",i),e("__rest",o),e("__decorate",a),e("__param",s),e("__esDecorate",l),e("__runInitializers",u),e("__propKey",c),e("__setFunctionName",f),e("__metadata",d),e("__awaiter",h),e("__generator",p),e("__exportStar",m),e("__createBinding",P),e("__values",b),e("__read",g),e("__spread",y),e("__spreadArrays",w),e("__spreadArray",_),e("__await",v),e("__asyncGenerator",E),e("__asyncDelegator",S),e("__asyncValues",A),e("__makeTemplateObject",T),e("__importStar",R),e("__importDefault",k),e("__classPrivateFieldGet",x),e("__classPrivateFieldSet",j),e("__classPrivateFieldIn",O),e("__addDisposableResource",M),e("__disposeResources",I)})}}},{package:"tslib",file:"node_modules/tslib/tslib.js"}],[6298,{crypto:4634},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(t){var r=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t<e.length;t++)r[t]=e[t];return r},n=function(){throw new Error("no PRNG")},i=new Uint8Array(16),o=new Uint8Array(32);o[0]=9;var a=r(),s=r([1]),l=r([56129,1]),u=r([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),c=r([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),f=r([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),d=r([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),h=r([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function p(e,t,r,n){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function m(e,t,r,n,i){var o,a=0;for(o=0;o<i;o++)a|=e[t+o]^r[n+o];return(1&a-1>>>8)-1}function b(e,t,r,n){return m(e,t,r,n,16)}function g(e,t,r,n){return m(e,t,r,n,32)}function y(e,t,r,n){!function(e,t,r,n){for(var i,o=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,c=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,f=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,d=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,b=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,g=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,y=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,w=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,_=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,v=o,E=a,S=s,A=l,T=u,R=c,k=f,x=d,j=h,O=p,P=m,M=b,I=g,N=y,C=w,L=_,D=0;D<20;D+=2)v^=(i=(I^=(i=(j^=(i=(T^=(i=v+I|0)<<7|i>>>25)+v|0)<<9|i>>>23)+T|0)<<13|i>>>19)+j|0)<<18|i>>>14,R^=(i=(E^=(i=(N^=(i=(O^=(i=R+E|0)<<7|i>>>25)+R|0)<<9|i>>>23)+O|0)<<13|i>>>19)+N|0)<<18|i>>>14,P^=(i=(k^=(i=(S^=(i=(C^=(i=P+k|0)<<7|i>>>25)+P|0)<<9|i>>>23)+C|0)<<13|i>>>19)+S|0)<<18|i>>>14,L^=(i=(M^=(i=(x^=(i=(A^=(i=L+M|0)<<7|i>>>25)+L|0)<<9|i>>>23)+A|0)<<13|i>>>19)+x|0)<<18|i>>>14,v^=(i=(A^=(i=(S^=(i=(E^=(i=v+A|0)<<7|i>>>25)+v|0)<<9|i>>>23)+E|0)<<13|i>>>19)+S|0)<<18|i>>>14,R^=(i=(T^=(i=(x^=(i=(k^=(i=R+T|0)<<7|i>>>25)+R|0)<<9|i>>>23)+k|0)<<13|i>>>19)+x|0)<<18|i>>>14,P^=(i=(O^=(i=(j^=(i=(M^=(i=P+O|0)<<7|i>>>25)+P|0)<<9|i>>>23)+M|0)<<13|i>>>19)+j|0)<<18|i>>>14,L^=(i=(C^=(i=(N^=(i=(I^=(i=L+C|0)<<7|i>>>25)+L|0)<<9|i>>>23)+I|0)<<13|i>>>19)+N|0)<<18|i>>>14;v=v+o|0,E=E+a|0,S=S+s|0,A=A+l|0,T=T+u|0,R=R+c|0,k=k+f|0,x=x+d|0,j=j+h|0,O=O+p|0,P=P+m|0,M=M+b|0,I=I+g|0,N=N+y|0,C=C+w|0,L=L+_|0,e[0]=v>>>0&255,e[1]=v>>>8&255,e[2]=v>>>16&255,e[3]=v>>>24&255,e[4]=E>>>0&255,e[5]=E>>>8&255,e[6]=E>>>16&255,e[7]=E>>>24&255,e[8]=S>>>0&255,e[9]=S>>>8&255,e[10]=S>>>16&255,e[11]=S>>>24&255,e[12]=A>>>0&255,e[13]=A>>>8&255,e[14]=A>>>16&255,e[15]=A>>>24&255,e[16]=T>>>0&255,e[17]=T>>>8&255,e[18]=T>>>16&255,e[19]=T>>>24&255,e[20]=R>>>0&255,e[21]=R>>>8&255,e[22]=R>>>16&255,e[23]=R>>>24&255,e[24]=k>>>0&255,e[25]=k>>>8&255,e[26]=k>>>16&255,e[27]=k>>>24&255,e[28]=x>>>0&255,e[29]=x>>>8&255,e[30]=x>>>16&255,e[31]=x>>>24&255,e[32]=j>>>0&255,e[33]=j>>>8&255,e[34]=j>>>16&255,e[35]=j>>>24&255,e[36]=O>>>0&255,e[37]=O>>>8&255,e[38]=O>>>16&255,e[39]=O>>>24&255,e[40]=P>>>0&255,e[41]=P>>>8&255,e[42]=P>>>16&255,e[43]=P>>>24&255,e[44]=M>>>0&255,e[45]=M>>>8&255,e[46]=M>>>16&255,e[47]=M>>>24&255,e[48]=I>>>0&255,e[49]=I>>>8&255,e[50]=I>>>16&255,e[51]=I>>>24&255,e[52]=N>>>0&255,e[53]=N>>>8&255,e[54]=N>>>16&255,e[55]=N>>>24&255,e[56]=C>>>0&255,e[57]=C>>>8&255,e[58]=C>>>16&255,e[59]=C>>>24&255,e[60]=L>>>0&255,e[61]=L>>>8&255,e[62]=L>>>16&255,e[63]=L>>>24&255}(e,t,r,n)}function w(e,t,r,n){!function(e,t,r,n){for(var i,o=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,c=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,f=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,d=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,b=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,g=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,y=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,w=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,_=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,v=0;v<20;v+=2)o^=(i=(g^=(i=(h^=(i=(u^=(i=o+g|0)<<7|i>>>25)+o|0)<<9|i>>>23)+u|0)<<13|i>>>19)+h|0)<<18|i>>>14,c^=(i=(a^=(i=(y^=(i=(p^=(i=c+a|0)<<7|i>>>25)+c|0)<<9|i>>>23)+p|0)<<13|i>>>19)+y|0)<<18|i>>>14,m^=(i=(f^=(i=(s^=(i=(w^=(i=m+f|0)<<7|i>>>25)+m|0)<<9|i>>>23)+w|0)<<13|i>>>19)+s|0)<<18|i>>>14,_^=(i=(b^=(i=(d^=(i=(l^=(i=_+b|0)<<7|i>>>25)+_|0)<<9|i>>>23)+l|0)<<13|i>>>19)+d|0)<<18|i>>>14,o^=(i=(l^=(i=(s^=(i=(a^=(i=o+l|0)<<7|i>>>25)+o|0)<<9|i>>>23)+a|0)<<13|i>>>19)+s|0)<<18|i>>>14,c^=(i=(u^=(i=(d^=(i=(f^=(i=c+u|0)<<7|i>>>25)+c|0)<<9|i>>>23)+f|0)<<13|i>>>19)+d|0)<<18|i>>>14,m^=(i=(p^=(i=(h^=(i=(b^=(i=m+p|0)<<7|i>>>25)+m|0)<<9|i>>>23)+b|0)<<13|i>>>19)+h|0)<<18|i>>>14,_^=(i=(w^=(i=(y^=(i=(g^=(i=_+w|0)<<7|i>>>25)+_|0)<<9|i>>>23)+g|0)<<13|i>>>19)+y|0)<<18|i>>>14;e[0]=o>>>0&255,e[1]=o>>>8&255,e[2]=o>>>16&255,e[3]=o>>>24&255,e[4]=c>>>0&255,e[5]=c>>>8&255,e[6]=c>>>16&255,e[7]=c>>>24&255,e[8]=m>>>0&255,e[9]=m>>>8&255,e[10]=m>>>16&255,e[11]=m>>>24&255,e[12]=_>>>0&255,e[13]=_>>>8&255,e[14]=_>>>16&255,e[15]=_>>>24&255,e[16]=f>>>0&255,e[17]=f>>>8&255,e[18]=f>>>16&255,e[19]=f>>>24&255,e[20]=d>>>0&255,e[21]=d>>>8&255,e[22]=d>>>16&255,e[23]=d>>>24&255,e[24]=h>>>0&255,e[25]=h>>>8&255,e[26]=h>>>16&255,e[27]=h>>>24&255,e[28]=p>>>0&255,e[29]=p>>>8&255,e[30]=p>>>16&255,e[31]=p>>>24&255}(e,t,r,n)}var _=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function v(e,t,r,n,i,o,a){var s,l,u=new Uint8Array(16),c=new Uint8Array(64);for(l=0;l<16;l++)u[l]=0;for(l=0;l<8;l++)u[l]=o[l];for(;i>=64;){for(y(c,u,a,_),l=0;l<64;l++)e[t+l]=r[n+l]^c[l];for(s=1,l=8;l<16;l++)s=s+(255&u[l])|0,u[l]=255&s,s>>>=8;i-=64,t+=64,n+=64}if(i>0)for(y(c,u,a,_),l=0;l<i;l++)e[t+l]=r[n+l]^c[l];return 0}function E(e,t,r,n,i){var o,a,s=new Uint8Array(16),l=new Uint8Array(64);for(a=0;a<16;a++)s[a]=0;for(a=0;a<8;a++)s[a]=n[a];for(;r>=64;){for(y(l,s,i,_),a=0;a<64;a++)e[t+a]=l[a];for(o=1,a=8;a<16;a++)o=o+(255&s[a])|0,s[a]=255&o,o>>>=8;r-=64,t+=64}if(r>0)for(y(l,s,i,_),a=0;a<r;a++)e[t+a]=l[a];return 0}function S(e,t,r,n,i){var o=new Uint8Array(32);w(o,n,i,_);for(var a=new Uint8Array(8),s=0;s<8;s++)a[s]=n[s+16];return E(e,t,r,a,o)}function A(e,t,r,n,i,o,a){var s=new Uint8Array(32);w(s,o,a,_);for(var l=new Uint8Array(8),u=0;u<8;u++)l[u]=o[u+16];return v(e,t,r,n,i,l,s)}var T=function(e){var t,r,n,i,o,a,s,l;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,r=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),i=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|i<<9),o=255&e[8]|(255&e[9])<<8,this.r[4]=255&(i>>>4|o<<12),this.r[5]=o>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(o>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),l=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|l<<8),this.r[9]=l>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function R(e,t,r,n,i,o){var a=new T(o);return a.update(r,n,i),a.finish(e,t),0}function k(e,t,r,n,i,o){var a=new Uint8Array(16);return R(a,0,r,n,i,o),b(e,t,a,0)}function x(e,t,r,n,i){var o;if(r<32)return-1;for(A(e,0,t,0,r,n,i),R(e,16,e,32,r-32,e),o=0;o<16;o++)e[o]=0;return 0}function j(e,t,r,n,i){var o,a=new Uint8Array(32);if(r<32)return-1;if(S(a,0,32,n,i),0!==k(t,16,t,32,r-32,a))return-1;for(A(e,0,t,0,r,n,i),o=0;o<32;o++)e[o]=0;return 0}function O(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function P(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function M(e,t,r){for(var n,i=~(r-1),o=0;o<16;o++)n=i&(e[o]^t[o]),e[o]^=n,t[o]^=n}function I(e,t){var n,i,o,a=r(),s=r();for(n=0;n<16;n++)s[n]=t[n];for(P(s),P(s),P(s),i=0;i<2;i++){for(a[0]=s[0]-65517,n=1;n<15;n++)a[n]=s[n]-65535-(a[n-1]>>16&1),a[n-1]&=65535;a[15]=s[15]-32767-(a[14]>>16&1),o=a[15]>>16&1,a[14]&=65535,M(s,a,1-o)}for(n=0;n<16;n++)e[2*n]=255&s[n],e[2*n+1]=s[n]>>8}function N(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return I(r,e),I(n,t),g(r,0,n,0)}function C(e){var t=new Uint8Array(32);return I(t,e),1&t[0]}function L(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function D(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function U(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function F(e,t,r){var n,i,o=0,a=0,s=0,l=0,u=0,c=0,f=0,d=0,h=0,p=0,m=0,b=0,g=0,y=0,w=0,_=0,v=0,E=0,S=0,A=0,T=0,R=0,k=0,x=0,j=0,O=0,P=0,M=0,I=0,N=0,C=0,L=r[0],D=r[1],U=r[2],F=r[3],$=r[4],B=r[5],W=r[6],H=r[7],q=r[8],V=r[9],G=r[10],z=r[11],K=r[12],Y=r[13],X=r[14],Z=r[15];o+=(n=t[0])*L,a+=n*D,s+=n*U,l+=n*F,u+=n*$,c+=n*B,f+=n*W,d+=n*H,h+=n*q,p+=n*V,m+=n*G,b+=n*z,g+=n*K,y+=n*Y,w+=n*X,_+=n*Z,a+=(n=t[1])*L,s+=n*D,l+=n*U,u+=n*F,c+=n*$,f+=n*B,d+=n*W,h+=n*H,p+=n*q,m+=n*V,b+=n*G,g+=n*z,y+=n*K,w+=n*Y,_+=n*X,v+=n*Z,s+=(n=t[2])*L,l+=n*D,u+=n*U,c+=n*F,f+=n*$,d+=n*B,h+=n*W,p+=n*H,m+=n*q,b+=n*V,g+=n*G,y+=n*z,w+=n*K,_+=n*Y,v+=n*X,E+=n*Z,l+=(n=t[3])*L,u+=n*D,c+=n*U,f+=n*F,d+=n*$,h+=n*B,p+=n*W,m+=n*H,b+=n*q,g+=n*V,y+=n*G,w+=n*z,_+=n*K,v+=n*Y,E+=n*X,S+=n*Z,u+=(n=t[4])*L,c+=n*D,f+=n*U,d+=n*F,h+=n*$,p+=n*B,m+=n*W,b+=n*H,g+=n*q,y+=n*V,w+=n*G,_+=n*z,v+=n*K,E+=n*Y,S+=n*X,A+=n*Z,c+=(n=t[5])*L,f+=n*D,d+=n*U,h+=n*F,p+=n*$,m+=n*B,b+=n*W,g+=n*H,y+=n*q,w+=n*V,_+=n*G,v+=n*z,E+=n*K,S+=n*Y,A+=n*X,T+=n*Z,f+=(n=t[6])*L,d+=n*D,h+=n*U,p+=n*F,m+=n*$,b+=n*B,g+=n*W,y+=n*H,w+=n*q,_+=n*V,v+=n*G,E+=n*z,S+=n*K,A+=n*Y,T+=n*X,R+=n*Z,d+=(n=t[7])*L,h+=n*D,p+=n*U,m+=n*F,b+=n*$,g+=n*B,y+=n*W,w+=n*H,_+=n*q,v+=n*V,E+=n*G,S+=n*z,A+=n*K,T+=n*Y,R+=n*X,k+=n*Z,h+=(n=t[8])*L,p+=n*D,m+=n*U,b+=n*F,g+=n*$,y+=n*B,w+=n*W,_+=n*H,v+=n*q,E+=n*V,S+=n*G,A+=n*z,T+=n*K,R+=n*Y,k+=n*X,x+=n*Z,p+=(n=t[9])*L,m+=n*D,b+=n*U,g+=n*F,y+=n*$,w+=n*B,_+=n*W,v+=n*H,E+=n*q,S+=n*V,A+=n*G,T+=n*z,R+=n*K,k+=n*Y,x+=n*X,j+=n*Z,m+=(n=t[10])*L,b+=n*D,g+=n*U,y+=n*F,w+=n*$,_+=n*B,v+=n*W,E+=n*H,S+=n*q,A+=n*V,T+=n*G,R+=n*z,k+=n*K,x+=n*Y,j+=n*X,O+=n*Z,b+=(n=t[11])*L,g+=n*D,y+=n*U,w+=n*F,_+=n*$,v+=n*B,E+=n*W,S+=n*H,A+=n*q,T+=n*V,R+=n*G,k+=n*z,x+=n*K,j+=n*Y,O+=n*X,P+=n*Z,g+=(n=t[12])*L,y+=n*D,w+=n*U,_+=n*F,v+=n*$,E+=n*B,S+=n*W,A+=n*H,T+=n*q,R+=n*V,k+=n*G,x+=n*z,j+=n*K,O+=n*Y,P+=n*X,M+=n*Z,y+=(n=t[13])*L,w+=n*D,_+=n*U,v+=n*F,E+=n*$,S+=n*B,A+=n*W,T+=n*H,R+=n*q,k+=n*V,x+=n*G,j+=n*z,O+=n*K,P+=n*Y,M+=n*X,I+=n*Z,w+=(n=t[14])*L,_+=n*D,v+=n*U,E+=n*F,S+=n*$,A+=n*B,T+=n*W,R+=n*H,k+=n*q,x+=n*V,j+=n*G,O+=n*z,P+=n*K,M+=n*Y,I+=n*X,N+=n*Z,_+=(n=t[15])*L,a+=38*(E+=n*U),s+=38*(S+=n*F),l+=38*(A+=n*$),u+=38*(T+=n*B),c+=38*(R+=n*W),f+=38*(k+=n*H),d+=38*(x+=n*q),h+=38*(j+=n*V),p+=38*(O+=n*G),m+=38*(P+=n*z),b+=38*(M+=n*K),g+=38*(I+=n*Y),y+=38*(N+=n*X),w+=38*(C+=n*Z),o=(n=(o+=38*(v+=n*D))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),s=(n=s+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),w=(n=w+i+65535)-65536*(i=Math.floor(n/65536)),_=(n=_+i+65535)-65536*(i=Math.floor(n/65536)),o=(n=(o+=i-1+37*(i-1))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),s=(n=s+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),w=(n=w+i+65535)-65536*(i=Math.floor(n/65536)),_=(n=_+i+65535)-65536*(i=Math.floor(n/65536)),o+=i-1+37*(i-1),e[0]=o,e[1]=a,e[2]=s,e[3]=l,e[4]=u,e[5]=c,e[6]=f,e[7]=d,e[8]=h,e[9]=p,e[10]=m,e[11]=b,e[12]=g,e[13]=y,e[14]=w,e[15]=_}function $(e,t){F(e,t,t)}function B(e,t){var n,i=r();for(n=0;n<16;n++)i[n]=t[n];for(n=253;n>=0;n--)$(i,i),2!==n&&4!==n&&F(i,i,t);for(n=0;n<16;n++)e[n]=i[n]}function W(e,t){var n,i=r();for(n=0;n<16;n++)i[n]=t[n];for(n=250;n>=0;n--)$(i,i),1!==n&&F(i,i,t);for(n=0;n<16;n++)e[n]=i[n]}function H(e,t,n){var i,o,a=new Uint8Array(32),s=new Float64Array(80),u=r(),c=r(),f=r(),d=r(),h=r(),p=r();for(o=0;o<31;o++)a[o]=t[o];for(a[31]=127&t[31]|64,a[0]&=248,L(s,n),o=0;o<16;o++)c[o]=s[o],d[o]=u[o]=f[o]=0;for(u[0]=d[0]=1,o=254;o>=0;--o)M(u,c,i=a[o>>>3]>>>(7&o)&1),M(f,d,i),D(h,u,f),U(u,u,f),D(f,c,d),U(c,c,d),$(d,h),$(p,u),F(u,f,u),F(f,c,h),D(h,u,f),U(u,u,f),$(c,u),U(f,d,p),F(u,f,l),D(u,u,d),F(f,f,u),F(u,d,p),F(d,c,s),$(c,h),M(u,c,i),M(f,d,i);for(o=0;o<16;o++)s[o+16]=u[o],s[o+32]=f[o],s[o+48]=c[o],s[o+64]=d[o];var m=s.subarray(32),b=s.subarray(16);return B(m,m),F(b,b,m),I(e,b),0}function q(e,t){return H(e,t,o)}function V(e,t){return n(t,32),q(e,t)}function G(e,t,r){var n=new Uint8Array(32);return H(n,r,t),w(e,i,n,_)}T.prototype.blocks=function(e,t,r){for(var n,i,o,a,s,l,u,c,f,d,h,p,m,b,g,y,w,_,v,E=this.fin?0:2048,S=this.h[0],A=this.h[1],T=this.h[2],R=this.h[3],k=this.h[4],x=this.h[5],j=this.h[6],O=this.h[7],P=this.h[8],M=this.h[9],I=this.r[0],N=this.r[1],C=this.r[2],L=this.r[3],D=this.r[4],U=this.r[5],F=this.r[6],$=this.r[7],B=this.r[8],W=this.r[9];r>=16;)d=f=0,d+=(S+=8191&(n=255&e[t+0]|(255&e[t+1])<<8))*I,d+=(A+=8191&(n>>>13|(i=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*W),d+=(T+=8191&(i>>>10|(o=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*B),d+=(R+=8191&(o>>>7|(a=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*$),f=(d+=(k+=8191&(a>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*F))>>>13,d&=8191,d+=(x+=s>>>1&8191)*(5*U),d+=(j+=8191&(s>>>14|(l=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*D),d+=(O+=8191&(l>>>11|(u=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*L),d+=(P+=8191&(u>>>8|(c=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*C),h=f+=(d+=(M+=c>>>5|E)*(5*N))>>>13,h+=S*N,h+=A*I,h+=T*(5*W),h+=R*(5*B),f=(h+=k*(5*$))>>>13,h&=8191,h+=x*(5*F),h+=j*(5*U),h+=O*(5*D),h+=P*(5*L),f+=(h+=M*(5*C))>>>13,h&=8191,p=f,p+=S*C,p+=A*N,p+=T*I,p+=R*(5*W),f=(p+=k*(5*B))>>>13,p&=8191,p+=x*(5*$),p+=j*(5*F),p+=O*(5*U),p+=P*(5*D),m=f+=(p+=M*(5*L))>>>13,m+=S*L,m+=A*C,m+=T*N,m+=R*I,f=(m+=k*(5*W))>>>13,m&=8191,m+=x*(5*B),m+=j*(5*$),m+=O*(5*F),m+=P*(5*U),b=f+=(m+=M*(5*D))>>>13,b+=S*D,b+=A*L,b+=T*C,b+=R*N,f=(b+=k*I)>>>13,b&=8191,b+=x*(5*W),b+=j*(5*B),b+=O*(5*$),b+=P*(5*F),g=f+=(b+=M*(5*U))>>>13,g+=S*U,g+=A*D,g+=T*L,g+=R*C,f=(g+=k*N)>>>13,g&=8191,g+=x*I,g+=j*(5*W),g+=O*(5*B),g+=P*(5*$),y=f+=(g+=M*(5*F))>>>13,y+=S*F,y+=A*U,y+=T*D,y+=R*L,f=(y+=k*C)>>>13,y&=8191,y+=x*N,y+=j*I,y+=O*(5*W),y+=P*(5*B),w=f+=(y+=M*(5*$))>>>13,w+=S*$,w+=A*F,w+=T*U,w+=R*D,f=(w+=k*L)>>>13,w&=8191,w+=x*C,w+=j*N,w+=O*I,w+=P*(5*W),_=f+=(w+=M*(5*B))>>>13,_+=S*B,_+=A*$,_+=T*F,_+=R*U,f=(_+=k*D)>>>13,_&=8191,_+=x*L,_+=j*C,_+=O*N,_+=P*I,v=f+=(_+=M*(5*W))>>>13,v+=S*W,v+=A*B,v+=T*$,v+=R*F,f=(v+=k*U)>>>13,v&=8191,v+=x*D,v+=j*L,v+=O*C,v+=P*N,S=d=8191&(f=(f=((f+=(v+=M*I)>>>13)<<2)+f|0)+(d&=8191)|0),A=h+=f>>>=13,T=p&=8191,R=m&=8191,k=b&=8191,x=g&=8191,j=y&=8191,O=w&=8191,P=_&=8191,M=v&=8191,t+=16,r-=16;this.h[0]=S,this.h[1]=A,this.h[2]=T,this.h[3]=R,this.h[4]=k,this.h[5]=x,this.h[6]=j,this.h[7]=O,this.h[8]=P,this.h[9]=M},T.prototype.finish=function(e,t){var r,n,i,o,a=new Uint16Array(10);if(this.leftover){for(o=this.leftover,this.buffer[o++]=1;o<16;o++)this.buffer[o]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,o=2;o<10;o++)this.h[o]+=r,r=this.h[o]>>>13,this.h[o]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,a[0]=this.h[0]+5,r=a[0]>>>13,a[0]&=8191,o=1;o<10;o++)a[o]=this.h[o]+r,r=a[o]>>>13,a[o]&=8191;for(a[9]-=8192,n=(1^r)-1,o=0;o<10;o++)a[o]&=n;for(n=~n,o=0;o<10;o++)this.h[o]=this.h[o]&n|a[o];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),i=this.h[0]+this.pad[0],this.h[0]=65535&i,o=1;o<8;o++)i=(this.h[o]+this.pad[o]|0)+(i>>>16)|0,this.h[o]=65535&i;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},T.prototype.update=function(e,t,r){var n,i;if(this.leftover){for((i=16-this.leftover)>r&&(i=r),n=0;n<i;n++)this.buffer[this.leftover+n]=e[t+n];if(r-=i,t+=i,this.leftover+=i,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(r>=16&&(i=r-r%16,this.blocks(e,t,i),t+=i,r-=i),r){for(n=0;n<r;n++)this.buffer[this.leftover+n]=e[t+n];this.leftover+=r}};var z=x,K=j;var Y=[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];function X(e,t,r,n){for(var i,o,a,s,l,u,c,f,d,h,p,m,b,g,y,w,_,v,E,S,A,T,R,k,x,j,O=new Int32Array(16),P=new Int32Array(16),M=e[0],I=e[1],N=e[2],C=e[3],L=e[4],D=e[5],U=e[6],F=e[7],$=t[0],B=t[1],W=t[2],H=t[3],q=t[4],V=t[5],G=t[6],z=t[7],K=0;n>=128;){for(E=0;E<16;E++)S=8*E+K,O[E]=r[S+0]<<24|r[S+1]<<16|r[S+2]<<8|r[S+3],P[E]=r[S+4]<<24|r[S+5]<<16|r[S+6]<<8|r[S+7];for(E=0;E<80;E++)if(i=M,o=I,a=N,s=C,l=L,u=D,c=U,F,d=$,h=B,p=W,m=H,b=q,g=V,y=G,z,R=65535&(T=z),k=T>>>16,x=65535&(A=F),j=A>>>16,R+=65535&(T=(q>>>14|L<<18)^(q>>>18|L<<14)^(L>>>9|q<<23)),k+=T>>>16,x+=65535&(A=(L>>>14|q<<18)^(L>>>18|q<<14)^(q>>>9|L<<23)),j+=A>>>16,R+=65535&(T=q&V^~q&G),k+=T>>>16,x+=65535&(A=L&D^~L&U),j+=A>>>16,R+=65535&(T=Y[2*E+1]),k+=T>>>16,x+=65535&(A=Y[2*E]),j+=A>>>16,A=O[E%16],k+=(T=P[E%16])>>>16,x+=65535&A,j+=A>>>16,x+=(k+=(R+=65535&T)>>>16)>>>16,R=65535&(T=v=65535&R|k<<16),k=T>>>16,x=65535&(A=_=65535&x|(j+=x>>>16)<<16),j=A>>>16,R+=65535&(T=($>>>28|M<<4)^(M>>>2|$<<30)^(M>>>7|$<<25)),k+=T>>>16,x+=65535&(A=(M>>>28|$<<4)^($>>>2|M<<30)^($>>>7|M<<25)),j+=A>>>16,k+=(T=$&B^$&W^B&W)>>>16,x+=65535&(A=M&I^M&N^I&N),j+=A>>>16,f=65535&(x+=(k+=(R+=65535&T)>>>16)>>>16)|(j+=x>>>16)<<16,w=65535&R|k<<16,R=65535&(T=m),k=T>>>16,x=65535&(A=s),j=A>>>16,k+=(T=v)>>>16,x+=65535&(A=_),j+=A>>>16,I=i,N=o,C=a,L=s=65535&(x+=(k+=(R+=65535&T)>>>16)>>>16)|(j+=x>>>16)<<16,D=l,U=u,F=c,M=f,B=d,W=h,H=p,q=m=65535&R|k<<16,V=b,G=g,z=y,$=w,E%16==15)for(S=0;S<16;S++)A=O[S],R=65535&(T=P[S]),k=T>>>16,x=65535&A,j=A>>>16,A=O[(S+9)%16],R+=65535&(T=P[(S+9)%16]),k+=T>>>16,x+=65535&A,j+=A>>>16,_=O[(S+1)%16],R+=65535&(T=((v=P[(S+1)%16])>>>1|_<<31)^(v>>>8|_<<24)^(v>>>7|_<<25)),k+=T>>>16,x+=65535&(A=(_>>>1|v<<31)^(_>>>8|v<<24)^_>>>7),j+=A>>>16,_=O[(S+14)%16],k+=(T=((v=P[(S+14)%16])>>>19|_<<13)^(_>>>29|v<<3)^(v>>>6|_<<26))>>>16,x+=65535&(A=(_>>>19|v<<13)^(v>>>29|_<<3)^_>>>6),j+=A>>>16,j+=(x+=(k+=(R+=65535&T)>>>16)>>>16)>>>16,O[S]=65535&x|j<<16,P[S]=65535&R|k<<16;R=65535&(T=$),k=T>>>16,x=65535&(A=M),j=A>>>16,A=e[0],k+=(T=t[0])>>>16,x+=65535&A,j+=A>>>16,j+=(x+=(k+=(R+=65535&T)>>>16)>>>16)>>>16,e[0]=M=65535&x|j<<16,t[0]=$=65535&R|k<<16,R=65535&(T=B),k=T>>>16,x=65535&(A=I),j=A>>>16,A=e[1],k+=(T=t[1])>>>16,x+=65535&A,j+=A>>>16,j+=(x+=(k+=(R+=65535&T)>>>16)>>>16)>>>16,e[1]=I=65535&x|j<<16,t[1]=B=65535&R|k<<16,R=65535&(T=W),k=T>>>16,x=65535&(A=N),j=A>>>16,A=e[2],k+=(T=t[2])>>>16,x+=65535&A,j+=A>>>16,j+=(x+=(k+=(R+=65535&T)>>>16)>>>16)>>>16,e[2]=N=65535&x|j<<16,t[2]=W=65535&R|k<<16,R=65535&(T=H),k=T>>>16,x=65535&(A=C),j=A>>>16,A=e[3],k+=(T=t[3])>>>16,x+=65535&A,j+=A>>>16,j+=(x+=(k+=(R+=65535&T)>>>16)>>>16)>>>16,e[3]=C=65535&x|j<<16,t[3]=H=65535&R|k<<16,R=65535&(T=q),k=T>>>16,x=65535&(A=L),j=A>>>16,A=e[4],k+=(T=t[4])>>>16,x+=65535&A,j+=A>>>16,j+=(x+=(k+=(R+=65535&T)>>>16)>>>16)>>>16,e[4]=L=65535&x|j<<16,t[4]=q=65535&R|k<<16,R=65535&(T=V),k=T>>>16,x=65535&(A=D),j=A>>>16,A=e[5],k+=(T=t[5])>>>16,x+=65535&A,j+=A>>>16,j+=(x+=(k+=(R+=65535&T)>>>16)>>>16)>>>16,e[5]=D=65535&x|j<<16,t[5]=V=65535&R|k<<16,R=65535&(T=G),k=T>>>16,x=65535&(A=U),j=A>>>16,A=e[6],k+=(T=t[6])>>>16,x+=65535&A,j+=A>>>16,j+=(x+=(k+=(R+=65535&T)>>>16)>>>16)>>>16,e[6]=U=65535&x|j<<16,t[6]=G=65535&R|k<<16,R=65535&(T=z),k=T>>>16,x=65535&(A=F),j=A>>>16,A=e[7],k+=(T=t[7])>>>16,x+=65535&A,j+=A>>>16,j+=(x+=(k+=(R+=65535&T)>>>16)>>>16)>>>16,e[7]=F=65535&x|j<<16,t[7]=z=65535&R|k<<16,K+=128,n-=128}return n}function Z(e,t,r){var n,i=new Int32Array(8),o=new Int32Array(8),a=new Uint8Array(256),s=r;for(i[0]=1779033703,i[1]=3144134277,i[2]=1013904242,i[3]=2773480762,i[4]=1359893119,i[5]=2600822924,i[6]=528734635,i[7]=1541459225,o[0]=4089235720,o[1]=2227873595,o[2]=4271175723,o[3]=1595750129,o[4]=2917565137,o[5]=725511199,o[6]=4215389547,o[7]=327033209,X(i,o,t,r),r%=128,n=0;n<r;n++)a[n]=t[s-r+n];for(a[r]=128,a[(r=256-128*(r<112?1:0))-9]=0,p(a,r-8,s/536870912|0,s<<3),X(i,o,a,r),n=0;n<8;n++)p(e,8*n,i[n],o[n]);return 0}function J(e,t){var n=r(),i=r(),o=r(),a=r(),s=r(),l=r(),u=r(),f=r(),d=r();U(n,e[1],e[0]),U(d,t[1],t[0]),F(n,n,d),D(i,e[0],e[1]),D(d,t[0],t[1]),F(i,i,d),F(o,e[3],t[3]),F(o,o,c),F(a,e[2],t[2]),D(a,a,a),U(s,i,n),U(l,a,o),D(u,a,o),D(f,i,n),F(e[0],s,l),F(e[1],f,u),F(e[2],u,l),F(e[3],s,f)}function Q(e,t,r){var n;for(n=0;n<4;n++)M(e[n],t[n],r)}function ee(e,t){var n=r(),i=r(),o=r();B(o,t[2]),F(n,t[0],o),F(i,t[1],o),I(e,i),e[31]^=C(n)<<7}function te(e,t,r){var n,i;for(O(e[0],a),O(e[1],s),O(e[2],s),O(e[3],a),i=255;i>=0;--i)Q(e,t,n=r[i/8|0]>>(7&i)&1),J(t,e),J(e,e),Q(e,t,n)}function re(e,t){var n=[r(),r(),r(),r()];O(n[0],f),O(n[1],d),O(n[2],s),F(n[3],f,d),te(e,n,t)}function ne(e,t,i){var o,a=new Uint8Array(64),s=[r(),r(),r(),r()];for(i||n(t,32),Z(a,t,32),a[0]&=248,a[31]&=127,a[31]|=64,re(s,a),ee(e,s),o=0;o<32;o++)t[o+32]=e[o];return 0}var ie=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function oe(e,t){var r,n,i,o;for(n=63;n>=32;--n){for(r=0,i=n-32,o=n-12;i<o;++i)t[i]+=r-16*t[n]*ie[i-(n-32)],r=Math.floor((t[i]+128)/256),t[i]-=256*r;t[i]+=r,t[n]=0}for(r=0,i=0;i<32;i++)t[i]+=r-(t[31]>>4)*ie[i],r=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=r*ie[i];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function ae(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;oe(e,r)}function se(e,t,n,i){var o,a,s=new Uint8Array(64),l=new Uint8Array(64),u=new Uint8Array(64),c=new Float64Array(64),f=[r(),r(),r(),r()];Z(s,i,32),s[0]&=248,s[31]&=127,s[31]|=64;var d=n+64;for(o=0;o<n;o++)e[64+o]=t[o];for(o=0;o<32;o++)e[32+o]=s[32+o];for(Z(u,e.subarray(32),n+32),ae(u),re(f,u),ee(e,f),o=32;o<64;o++)e[o]=i[o];for(Z(l,e,n+64),ae(l),o=0;o<64;o++)c[o]=0;for(o=0;o<32;o++)c[o]=u[o];for(o=0;o<32;o++)for(a=0;a<32;a++)c[o+a]+=l[o]*s[a];return oe(e.subarray(32),c),d}function le(e,t,n,i){var o,l=new Uint8Array(32),c=new Uint8Array(64),f=[r(),r(),r(),r()],d=[r(),r(),r(),r()];if(n<64)return-1;if(function(e,t){var n=r(),i=r(),o=r(),l=r(),c=r(),f=r(),d=r();return O(e[2],s),L(e[1],t),$(o,e[1]),F(l,o,u),U(o,o,e[2]),D(l,e[2],l),$(c,l),$(f,c),F(d,f,c),F(n,d,o),F(n,n,l),W(n,n),F(n,n,o),F(n,n,l),F(n,n,l),F(e[0],n,l),$(i,e[0]),F(i,i,l),N(i,o)&&F(e[0],e[0],h),$(i,e[0]),F(i,i,l),N(i,o)?-1:(C(e[0])===t[31]>>7&&U(e[0],a,e[0]),F(e[3],e[0],e[1]),0)}(d,i))return-1;for(o=0;o<n;o++)e[o]=t[o];for(o=0;o<32;o++)e[o+32]=i[o];if(Z(c,e,n),ae(c),te(f,d,c),re(d,t.subarray(32)),J(f,d),ee(l,f),n-=64,g(t,0,l,0)){for(o=0;o<n;o++)e[o]=0;return-1}for(o=0;o<n;o++)e[o]=t[o+64];return n}var ue=16,ce=64,fe=32,de=64;function he(e,t){if(32!==e.length)throw new Error("bad key size");if(24!==t.length)throw new Error("bad nonce size")}function pe(){for(var e=0;e<arguments.length;e++)if(!(arguments[e]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function me(e){for(var t=0;t<e.length;t++)e[t]=0}t.lowlevel={crypto_core_hsalsa20:w,crypto_stream_xor:A,crypto_stream:S,crypto_stream_salsa20_xor:v,crypto_stream_salsa20:E,crypto_onetimeauth:R,crypto_onetimeauth_verify:k,crypto_verify_16:b,crypto_verify_32:g,crypto_secretbox:x,crypto_secretbox_open:j,crypto_scalarmult:H,crypto_scalarmult_base:q,crypto_box_beforenm:G,crypto_box_afternm:z,crypto_box:function(e,t,r,n,i,o){var a=new Uint8Array(32);return G(a,i,o),z(e,t,r,n,a)},crypto_box_open:function(e,t,r,n,i,o){var a=new Uint8Array(32);return G(a,i,o),K(e,t,r,n,a)},crypto_box_keypair:V,crypto_hash:Z,crypto_sign:se,crypto_sign_keypair:ne,crypto_sign_open:le,crypto_secretbox_KEYBYTES:32,crypto_secretbox_NONCEBYTES:24,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:ue,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:32,crypto_box_SECRETKEYBYTES:32,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:24,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:ce,crypto_sign_PUBLICKEYBYTES:fe,crypto_sign_SECRETKEYBYTES:de,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64,gf:r,D:u,L:ie,pack25519:I,unpack25519:L,M:F,A:D,S:$,Z:U,pow2523:W,add:J,set25519:O,modL:oe,scalarmult:te,scalarbase:re},t.randomBytes=function(e){var t=new Uint8Array(e);return n(t,e),t},t.secretbox=function(e,t,r){pe(e,t,r),he(r,t);for(var n=new Uint8Array(32+e.length),i=new Uint8Array(n.length),o=0;o<e.length;o++)n[o+32]=e[o];return x(i,n,n.length,t,r),i.subarray(ue)},t.secretbox.open=function(e,t,r){pe(e,t,r),he(r,t);for(var n=new Uint8Array(ue+e.length),i=new Uint8Array(n.length),o=0;o<e.length;o++)n[o+ue]=e[o];return n.length<32||0!==j(i,n,n.length,t,r)?null:i.subarray(32)},t.secretbox.keyLength=32,t.secretbox.nonceLength=24,t.secretbox.overheadLength=ue,t.scalarMult=function(e,t){if(pe(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var r=new Uint8Array(32);return H(r,e,t),r},t.scalarMult.base=function(e){if(pe(e),32!==e.length)throw new Error("bad n size");var t=new Uint8Array(32);return q(t,e),t},t.scalarMult.scalarLength=32,t.scalarMult.groupElementLength=32,t.box=function(e,r,n,i){var o=t.box.before(n,i);return t.secretbox(e,r,o)},t.box.before=function(e,t){pe(e,t),function(e,t){if(32!==e.length)throw new Error("bad public key size");if(32!==t.length)throw new Error("bad secret key size")}(e,t);var r=new Uint8Array(32);return G(r,e,t),r},t.box.after=t.secretbox,t.box.open=function(e,r,n,i){var o=t.box.before(n,i);return t.secretbox.open(e,r,o)},t.box.open.after=t.secretbox.open,t.box.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(32);return V(e,t),{publicKey:e,secretKey:t}},t.box.keyPair.fromSecretKey=function(e){if(pe(e),32!==e.length)throw new Error("bad secret key size");var t=new Uint8Array(32);return q(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},t.box.publicKeyLength=32,t.box.secretKeyLength=32,t.box.sharedKeyLength=32,t.box.nonceLength=24,t.box.overheadLength=t.secretbox.overheadLength,t.sign=function(e,t){if(pe(e,t),t.length!==de)throw new Error("bad secret key size");var r=new Uint8Array(ce+e.length);return se(r,e,e.length,t),r},t.sign.open=function(e,t){if(pe(e,t),t.length!==fe)throw new Error("bad public key size");var r=new Uint8Array(e.length),n=le(r,e,e.length,t);if(n<0)return null;for(var i=new Uint8Array(n),o=0;o<i.length;o++)i[o]=r[o];return i},t.sign.detached=function(e,r){for(var n=t.sign(e,r),i=new Uint8Array(ce),o=0;o<i.length;o++)i[o]=n[o];return i},t.sign.detached.verify=function(e,t,r){if(pe(e,t,r),t.length!==ce)throw new Error("bad signature size");if(r.length!==fe)throw new Error("bad public key size");var n,i=new Uint8Array(ce+e.length),o=new Uint8Array(ce+e.length);for(n=0;n<ce;n++)i[n]=t[n];for(n=0;n<e.length;n++)i[n+ce]=e[n];return le(o,i,i.length,r)>=0},t.sign.keyPair=function(){var e=new Uint8Array(fe),t=new Uint8Array(de);return ne(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(pe(e),e.length!==de)throw new Error("bad secret key size");for(var t=new Uint8Array(fe),r=0;r<t.length;r++)t[r]=e[32+r];return{publicKey:t,secretKey:new Uint8Array(e)}},t.sign.keyPair.fromSeed=function(e){if(pe(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(fe),r=new Uint8Array(de),n=0;n<32;n++)r[n]=e[n];return ne(t,r,!0),{publicKey:t,secretKey:r}},t.sign.publicKeyLength=fe,t.sign.secretKeyLength=de,t.sign.seedLength=32,t.sign.signatureLength=ce,t.hash=function(e){pe(e);var t=new Uint8Array(64);return Z(t,e,e.length),t},t.hash.hashLength=64,t.verify=function(e,t){return pe(e,t),0!==e.length&&0!==t.length&&(e.length===t.length&&0===m(e,0,t,0,e.length))},t.setPRNG=function(e){n=e},function(){var r="undefined"!=typeof self?self.crypto||self.msCrypto:null;if(r&&r.getRandomValues){t.setPRNG(function(e,t){var n,i=new Uint8Array(t);for(n=0;n<t;n+=65536)r.getRandomValues(i.subarray(n,n+Math.min(t-n,65536)));for(n=0;n<t;n++)e[n]=i[n];me(i)})}else void 0!==e&&(r=e("crypto"))&&r.randomBytes&&t.setPRNG(function(e,t){var n,i=r.randomBytes(t);for(n=0;n<t;n++)e[n]=i[n];me(i)})}()}(void 0!==t&&t.exports?t.exports:self.nacl=self.nacl||{})}}},{package:"tweetnacl",file:"node_modules/tweetnacl/nacl-fast.js"}],[6299,{"call-bound":4701,"es-errors/type":4877,"is-typed-array":5249},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("es-errors/type"),i=e("call-bound")("TypedArray.prototype.buffer",!0),o=e("is-typed-array");t.exports=i||function(e){if(!o(e))throw new n("Not a Typed Array");return e.buffer}}}},{package:"string.prototype.matchall>es-abstract>typed-array-buffer",file:"node_modules/typed-array-buffer/index.js"}],[6302,{crypto:6303},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e,n){"object"==typeof r&&void 0!==t?n(r):"function"==typeof define&&define.amd?define(["exports"],n):n(e.ULID={})}(this,function(t){function r(e){var t=new Error(e);return t.source="ulid",t}var n="0123456789ABCDEFGHJKMNPQRSTVWXYZ",i=32,o=Math.pow(2,48)-1;function a(e,t,r){return t>e.length-1?e:e.substr(0,t)+r+e.substr(t+1)}function s(e){for(var t=undefined,i=e.length,o=void 0,s=void 0;!t&&i-- >=0;){if(o=e[i],-1===(s=n.indexOf(o)))throw r("incorrectly encoded string");31!==s?t=a(e,i,n[s+1]):e=a(e,i,n[0])}if("string"==typeof t)return t;throw r("cannot increment this string")}function l(e){var t=Math.floor(e()*i);return t===i&&(t=31),n.charAt(t)}function u(e,t){if(isNaN(e))throw new Error(e+" must be a number");if(e>o)throw r("cannot encode time greater than "+o);if(e<0)throw r("time must be positive");if(!1===Number.isInteger(e))throw r("time must be an integer");for(var a=void 0,s="";t>0;t--)s=n.charAt(a=e%i)+s,e=(e-a)/i;return s}function c(e,t){for(var r="";e>0;e--)r=l(t)+r;return r}function f(){var t=arguments.length>0&&arguments[0]!==undefined&&arguments[0],n=arguments[1];n||(n="undefined"!=typeof window?window:null);var i=n&&(n.crypto||n.msCrypto);if(i)return function(){var e=new Uint8Array(1);return i.getRandomValues(e),e[0]/255};try{var o=e("crypto");return function(){return o.randomBytes(1).readUInt8()/255}}catch(e){}if(t){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch(e){}return function(){return Math.random()}}throw r("secure crypto unusable, insecure Math.random not allowed")}function d(e){return e||(e=f()),function(t){return isNaN(t)&&(t=Date.now()),u(t,10)+c(16,e)}}var h=d();t.replaceCharAt=a,t.incrementBase32=s,t.randomChar=l,t.encodeTime=u,t.encodeRandom=c,t.decodeTime=function(e){if(26!==e.length)throw r("malformed ulid");var t=e.substr(0,10).split("").reverse().reduce(function(e,t,o){var a=n.indexOf(t);if(-1===a)throw r("invalid character found: "+t);return e+a*Math.pow(i,o)},0);if(t>o)throw r("malformed ulid, timestamp too large");return t},t.detectPrng=f,t.factory=d,t.monotonicFactory=function(e){e||(e=f());var t=0,r=void 0;return function(n){if(isNaN(n)&&(n=Date.now()),n<=t){var i=r=s(r);return u(t,10)+i}t=n;var o=r=c(16,e);return u(n,10)+o}},t.ulid=h,Object.defineProperty(t,"__esModule",{value:!0})})}}},{package:"@metamask/keyring-controller>ulid",file:"node_modules/ulid/dist/index.umd.js"}],[6303,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){}}},{package:"@metamask/keyring-controller>ulid",file:"node_modules/ulid/stubs/crypto.js"}],[6316,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
!function(e,n){"object"==typeof r&&void 0!==t?n(r):"function"==typeof define&&define.amd?define(["exports"],n):n(e.URI=e.URI||{})}(this,function(e){function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,i=1;i<n;++i)t[i]=t[i].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return e===undefined?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function i(e){return e.toUpperCase()}function o(e){var n="[A-Za-z]",i="[0-9]",o=t(i,"[A-Fa-f]"),a=r(r("%[EFef]"+o+"%"+o+o+"%"+o+o)+"|"+r("%[89A-Fa-f]"+o+"%"+o+o)+"|"+r("%"+o+o)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",l=t("[\\:\\/\\?\\#\\[\\]\\@]",s),u=e?"[\\uE000-\\uF8FF]":"[]",c=t(n,i,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=r(n+t(n,i,"[\\+\\-\\.]")+"*"),d=r(r(a+"|"+t(c,s,"[\\:]"))+"*"),h=(r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("[1-9]"+i)+"|"+i),r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("0?[1-9]"+i)+"|0?0?"+i)),p=r(h+"\\."+h+"\\."+h+"\\."+h),m=r(o+"{1,4}"),b=r(r(m+"\\:"+m)+"|"+p),g=r(r(m+"\\:")+"{6}"+b),y=r("\\:\\:"+r(m+"\\:")+"{5}"+b),w=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+b),_=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+b),v=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+b),E=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+b),S=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+b),A=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),T=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),R=r([g,y,w,_,v,E,S,A,T].join("|")),k=r(r(c+"|"+a)+"+"),x=(r(R+"\\%25"+k),r(R+r("\\%25|\\%(?!"+o+"{2})")+k)),j=r("[vV]"+o+"+\\."+t(c,s,"[\\:]")+"+"),O=r("\\["+r(x+"|"+R+"|"+j)+"\\]"),P=r(r(a+"|"+t(c,s))+"*"),M=r(O+"|"+p+"(?!"+P+")|"+P),I=r(i+"*"),N=r(r(d+"@")+"?"+M+r("\\:"+I)+"?"),C=r(a+"|"+t(c,s,"[\\:\\@]")),L=r(C+"*"),D=r(C+"+"),U=r(r(a+"|"+t(c,s,"[\\@]"))+"+"),F=r(r("\\/"+L)+"*"),$=r("\\/"+r(D+F)+"?"),B=r(U+F),W=r(D+F),H="(?!"+C+")",q=(r(F+"|"+$+"|"+B+"|"+W+"|"+H),r(r(C+"|"+t("[\\/\\?]",u))+"*")),V=r(r(C+"|[\\/\\?]")+"*"),G=r(r("\\/\\/"+N+F)+"|"+$+"|"+W+"|"+H),z=r(f+"\\:"+G+r("\\?"+q)+"?"+r("\\#"+V)+"?"),K=r(r("\\/\\/"+N+F)+"|"+$+"|"+B+"|"+H),Y=r(K+r("\\?"+q)+"?"+r("\\#"+V)+"?");r(z+"|"+Y),r(f+"\\:"+G+r("\\?"+q)+"?"),r(r("\\/\\/("+r("("+d+")@")+"?("+M+")"+r("\\:("+I+")")+"?)")+"?("+F+"|"+$+"|"+W+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+d+")@")+"?("+M+")"+r("\\:("+I+")")+"?)")+"?("+F+"|"+$+"|"+B+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+d+")@")+"?("+M+")"+r("\\:("+I+")")+"?)")+"?("+F+"|"+$+"|"+W+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r("("+d+")@"),r("\\:("+I+")");return{NOT_SCHEME:new RegExp(t("[^]",n,i,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",c,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",c,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",c,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",c,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",c,s,"[\\:\\@\\/\\?]",u),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",c,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",c,s),"g"),UNRESERVED:new RegExp(c,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",c,l),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+p+")$"),IPV6ADDRESS:new RegExp("^\\[?("+R+")"+r(r("\\%25|\\%(?!"+o+"{2})")+"("+k+")")+"?\\]?$")}}var a=o(!1),s=o(!0),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=undefined;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},u=2147483647,c=36,f=/^xn--/,d=/[^\0-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,b=String.fromCharCode;function g(e){throw new RangeError(p[e])}function y(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);var i=function(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}((e=e.replace(h,".")).split("."),t).join(".");return n+i}function w(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t}var _=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c},v=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},E=function(e,t,r){var n=0;for(e=r?m(e/700):e>>1,e+=m(e/t);e>455;n+=c)e=m(e/35);return m(n+36*e/(e+38))},S=function(e){var t=[],r=e.length,n=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&g("not-basic"),t.push(e.charCodeAt(s));for(var l=a>0?a+1:0;l<r;){for(var f=n,d=1,h=c;;h+=c){l>=r&&g("invalid-input");var p=_(e.charCodeAt(l++));(p>=c||p>m((u-n)/d))&&g("overflow"),n+=p*d;var b=h<=o?1:h>=o+26?26:h-o;if(p<b)break;var y=c-b;d>m(u/y)&&g("overflow"),d*=y}var w=t.length+1;o=E(n-f,w,0==f),m(n/w)>u-i&&g("overflow"),i+=m(n/w),n%=w,t.splice(n++,0,i)}return String.fromCodePoint.apply(String,t)},A=function(e){var t=[],r=(e=w(e)).length,n=128,i=0,o=72,a=!0,s=!1,l=undefined;try{for(var f,d=e[Symbol.iterator]();!(a=(f=d.next()).done);a=!0){var h=f.value;h<128&&t.push(b(h))}}catch(e){s=!0,l=e}finally{try{!a&&d.return&&d.return()}finally{if(s)throw l}}var p=t.length,y=p;for(p&&t.push("-");y<r;){var _=u,S=!0,A=!1,T=undefined;try{for(var R,k=e[Symbol.iterator]();!(S=(R=k.next()).done);S=!0){var x=R.value;x>=n&&x<_&&(_=x)}}catch(e){A=!0,T=e}finally{try{!S&&k.return&&k.return()}finally{if(A)throw T}}var j=y+1;_-n>m((u-i)/j)&&g("overflow"),i+=(_-n)*j,n=_;var O=!0,P=!1,M=undefined;try{for(var I,N=e[Symbol.iterator]();!(O=(I=N.next()).done);O=!0){var C=I.value;if(C<n&&++i>u&&g("overflow"),C==n){for(var L=i,D=c;;D+=c){var U=D<=o?1:D>=o+26?26:D-o;if(L<U)break;var F=L-U,$=c-U;t.push(b(v(U+F%$,0))),L=m(F/$)}t.push(b(v(L,0))),o=E(i,j,y==p),i=0,++y}}}catch(e){P=!0,M=e}finally{try{!O&&N.return&&N.return()}finally{if(P)throw M}}++i,++n}return t.join("")},T=function(e){return y(e,function(e){return d.test(e)?"xn--"+A(e):e})},R=function(e){return y(e,function(e){return f.test(e)?S(e.slice(4).toLowerCase()):e})},k={};function x(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function j(e){for(var t="",r=0,n=e.length;r<n;){var i=parseInt(e.substr(r+1,2),16);if(i<128)t+=String.fromCharCode(i),r+=3;else if(i>=194&&i<224){if(n-r>=6){var o=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&i)<<6|63&o)}else t+=e.substr(r,6);r+=6}else if(i>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function O(e,t){function r(e){var r=j(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),e.userinfo!==undefined&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,x).replace(t.PCT_ENCODED,i)),e.host!==undefined&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,x).replace(t.PCT_ENCODED,i)),e.path!==undefined&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,x).replace(t.PCT_ENCODED,i)),e.query!==undefined&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,x).replace(t.PCT_ENCODED,i)),e.fragment!==undefined&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,x).replace(t.PCT_ENCODED,i)),e}function P(e){return e.replace(/^0*(.*)/,"$1")||"0"}function M(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=l(r,2)[1];return n?n.split(".").map(P).join("."):e}function I(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=l(r,3),i=n[1],o=n[2];if(i){for(var a=i.toLowerCase().split("::").reverse(),s=l(a,2),u=s[0],c=s[1],f=c?c.split(":").map(P):[],d=u.split(":").map(P),h=t.IPV4ADDRESS.test(d[d.length-1]),p=h?7:8,m=d.length-p,b=Array(p),g=0;g<p;++g)b[g]=f[g]||d[m+g]||"";h&&(b[p-1]=M(b[p-1],t));var y=b.reduce(function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e},[]).sort(function(e,t){return t.length-e.length})[0],w=void 0;if(y&&y.length>1){var _=b.slice(0,y.index),v=b.slice(y.index+y.length);w=_.join(":")+"::"+v.join(":")}else w=b.join(":");return o&&(w+="%"+o),w}return e}var N=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,C="".match(/(){0}/)[1]===undefined;function L(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r={},n=!1!==t.iri?s:a;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(N);if(i){C?(r.scheme=i[1],r.userinfo=i[3],r.host=i[4],r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=i[7],r.fragment=i[8],isNaN(r.port)&&(r.port=i[5])):(r.scheme=i[1]||undefined,r.userinfo=-1!==e.indexOf("@")?i[3]:undefined,r.host=-1!==e.indexOf("//")?i[4]:undefined,r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=-1!==e.indexOf("?")?i[7]:undefined,r.fragment=-1!==e.indexOf("#")?i[8]:undefined,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:undefined)),r.host&&(r.host=I(M(r.host,n),n)),r.scheme!==undefined||r.userinfo!==undefined||r.host!==undefined||r.port!==undefined||r.path||r.query!==undefined?r.scheme===undefined?r.reference="relative":r.fragment===undefined?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var o=k[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)O(r,n);else{if(r.host&&(t.domainHost||o&&o.domainHost))try{r.host=T(r.host.replace(n.PCT_ENCODED,j).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}O(r,a)}o&&o.parse&&o.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}var D=/^\.\.?\//,U=/^\/\.(\/|$)/,F=/^\/\.\.(\/|$)/,$=/^\/?(?:.|\n)*?(?=\/|$)/;function B(e){for(var t=[];e.length;)if(e.match(D))e=e.replace(D,"");else if(e.match(U))e=e.replace(U,"/");else if(e.match(F))e=e.replace(F,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match($);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function W(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r=t.iri?s:a,n=[],i=k[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?R(e.host):T(e.host.replace(r.PCT_ENCODED,j).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}O(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var o=function(e,t){var r=!1!==t.iri?s:a,n=[];return e.userinfo!==undefined&&(n.push(e.userinfo),n.push("@")),e.host!==undefined&&n.push(I(M(String(e.host),r),r).replace(r.IPV6ADDRESS,function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"})),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):undefined}(e,t);if(o!==undefined&&("suffix"!==t.reference&&n.push("//"),n.push(o),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),e.path!==undefined){var l=e.path;t.absolutePath||i&&i.absolutePath||(l=B(l)),o===undefined&&(l=l.replace(/^\/\//,"/%2F")),n.push(l)}return e.query!==undefined&&(n.push("?"),n.push(e.query)),e.fragment!==undefined&&(n.push("#"),n.push(e.fragment)),n.join("")}function H(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},n={};return arguments[3]||(e=L(W(e,r),r),t=L(W(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=B(t.path||""),n.query=t.query):(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=B(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=B(t.path):(e.userinfo===undefined&&e.host===undefined&&e.port===undefined||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=B(n.path)),n.query=t.query):(n.path=e.path,t.query!==undefined?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function q(e,t){return e&&e.toString().replace(t&&t.iri?s.PCT_ENCODED:a.PCT_ENCODED,j)}var V={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=undefined),e.path||(e.path="/"),e}},G={scheme:"https",domainHost:V.domainHost,parse:V.parse,serialize:V.serialize};function z(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var K={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=z(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=undefined,r.query=undefined,r},serialize:function(e,t){if(e.port!==(z(e)?443:80)&&""!==e.port||(e.port=undefined),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=undefined),e.resourceName){var r=e.resourceName.split("?"),n=l(r,2),i=n[0],o=n[1];e.path=i&&"/"!==i?i:undefined,e.query=o,e.resourceName=undefined}return e.fragment=undefined,e}},Y={scheme:"wss",domainHost:K.domainHost,parse:K.parse,serialize:K.serialize},X={},Z="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",J="[0-9A-Fa-f]",Q=r(r("%[EFef]"+J+"%"+J+J+"%"+J+J)+"|"+r("%[89A-Fa-f]"+J+"%"+J+J)+"|"+r("%"+J+J)),ee=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),te=new RegExp(Z,"g"),re=new RegExp(Q,"g"),ne=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',ee),"g"),ie=new RegExp(t("[^]",Z,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),oe=ie;function ae(e){var t=j(e);return t.match(te)?t:e}var se={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=undefined,r.query){for(var i=!1,o={},a=r.query.split("&"),s=0,l=a.length;s<l;++s){var u=a[s].split("=");switch(u[0]){case"to":for(var c=u[1].split(","),f=0,d=c.length;f<d;++f)n.push(c[f]);break;case"subject":r.subject=q(u[1],t);break;case"body":r.body=q(u[1],t);break;default:i=!0,o[q(u[0],t)]=q(u[1],t)}}i&&(r.headers=o)}r.query=undefined;for(var h=0,p=n.length;h<p;++h){var m=n[h].split("@");if(m[0]=q(m[0]),t.unicodeSupport)m[1]=q(m[1],t).toLowerCase();else try{m[1]=T(q(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[h]=m.join("@")}return r},serialize:function(e,t){var r,n=e,o=(r=e.to)!==undefined&&null!==r?r instanceof Array?r:"number"!=typeof r.length||r.split||r.setInterval||r.call?[r]:Array.prototype.slice.call(r):[];if(o){for(var a=0,s=o.length;a<s;++a){var l=String(o[a]),u=l.lastIndexOf("@"),c=l.slice(0,u).replace(re,ae).replace(re,i).replace(ne,x),f=l.slice(u+1);try{f=t.iri?R(f):T(q(f,t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}o[a]=c+"@"+f}n.path=o.join(",")}var d=e.headers=e.headers||{};e.subject&&(d.subject=e.subject),e.body&&(d.body=e.body);var h=[];for(var p in d)d[p]!==X[p]&&h.push(p.replace(re,ae).replace(re,i).replace(ie,x)+"="+d[p].replace(re,ae).replace(re,i).replace(oe,x));return h.length&&(n.query=h.join("&")),n}},le=/^([^\:]+)\:(.*)/,ue={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(le),n=e;if(r){var i=t.scheme||n.scheme||"urn",o=r[1].toLowerCase(),a=r[2],s=i+":"+(t.nid||o),l=k[s];n.nid=o,n.nss=a,n.path=undefined,l&&(n=l.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,i=r+":"+(t.nid||n),o=k[i];o&&(e=o.serialize(e,t));var a=e,s=e.nss;return a.path=(n||t.nid)+":"+s,a}},ce=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,fe={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=undefined,t.tolerant||r.uuid&&r.uuid.match(ce)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};k[V.scheme]=V,k[G.scheme]=G,k[K.scheme]=K,k[Y.scheme]=Y,k[se.scheme]=se,k[ue.scheme]=ue,k[fe.scheme]=fe,e.SCHEMES=k,e.pctEncChar=x,e.pctDecChars=j,e.parse=L,e.removeDotSegments=B,e.serialize=W,e.resolveComponents=H,e.resolve=function(e,t,r){var n=function(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}({scheme:"null"},r);return W(H(L(e,n),L(t,n),n,!0),n)},e.normalize=function(e,t){return"string"==typeof e?e=W(L(e,t),t):"object"===n(e)&&(e=L(W(e,t),t)),e},e.equal=function(e,t,r){return"string"==typeof e?e=W(L(e,r),r):"object"===n(e)&&(e=W(e,r)),"string"==typeof t?t=W(L(t,r),r):"object"===n(t)&&(t=W(t,r)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?s.ESCAPE:a.ESCAPE,x)},e.unescapeComponent=q,Object.defineProperty(e,"__esModule",{value:!0})})}}},{package:"uri-js",file:"node_modules/uri-js/dist/es5/uri.all.js"}],[6317,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e){var n="object"==typeof r&&r&&!r.nodeType&&r,i="object"==typeof t&&t&&!t.nodeType&&t,o="object"==typeof global&&global;o.global!==o&&o.window!==o&&o.self!==o||(e=o);var a,s,l=2147483647,u=36,c=/^xn--/,f=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,m=String.fromCharCode;function b(e){throw new RangeError(h[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(d,".")).split("."),t).join(".")}function w(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function _(e){return g(e,function(e){var t="";return e>65535&&(t+=m((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=m(e)}).join("")}function v(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:u}function E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function S(e,t,r){var n=0;for(e=r?p(e/700):e>>1,e+=p(e/t);e>455;n+=u)e=p(e/35);return p(n+36*e/(e+38))}function A(e){var t,r,n,i,o,a,s,c,f,d,h=[],m=e.length,g=0,y=128,w=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&b("not-basic"),h.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<m;){for(o=g,a=1,s=u;i>=m&&b("invalid-input"),((c=v(e.charCodeAt(i++)))>=u||c>p((l-g)/a))&&b("overflow"),g+=c*a,!(c<(f=s<=w?1:s>=w+26?26:s-w));s+=u)a>p(l/(d=u-f))&&b("overflow"),a*=d;w=S(g-o,t=h.length+1,0==o),p(g/t)>l-y&&b("overflow"),y+=p(g/t),g%=t,h.splice(g++,0,y)}return _(h)}function T(e){var t,r,n,i,o,a,s,c,f,d,h,g,y,_,v,A=[];for(g=(e=w(e)).length,t=128,r=0,o=72,a=0;a<g;++a)(h=e[a])<128&&A.push(m(h));for(n=i=A.length,i&&A.push("-");n<g;){for(s=l,a=0;a<g;++a)(h=e[a])>=t&&h<s&&(s=h);for(s-t>p((l-r)/(y=n+1))&&b("overflow"),r+=(s-t)*y,t=s,a=0;a<g;++a)if((h=e[a])<t&&++r>l&&b("overflow"),h==t){for(c=r,f=u;!(c<(d=f<=o?1:f>=o+26?26:f-o));f+=u)v=c-d,_=u-d,A.push(m(E(d+v%_,0))),c=p(v/_);A.push(m(E(c,0))),o=S(r,y,n==i),r=0,++n}++r,++t}return A.join("")}if(a={version:"1.4.1",ucs2:{decode:w,encode:_},decode:A,encode:T,toASCII:function(e){return y(e,function(e){return f.test(e)?"xn--"+T(e):e})},toUnicode:function(e){return y(e,function(e){return c.test(e)?A(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return a});else if(n&&i)if(t.exports==n)i.exports=a;else for(s in a)a.hasOwnProperty(s)&&(n[s]=a[s]);else e.punycode=a}(this)}}},{package:"browserify>url>punycode",file:"node_modules/url/node_modules/punycode/punycode.js"}],[6318,{"punycode/":6317,qs:5768},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("punycode/");function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),c=["%","/","?",";","#"].concat(u),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=e("qs");function y(e,t,r){if(e&&"object"==typeof e&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}i.prototype.parse=function(e,t,r){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(a);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(a);if(y=y.trim(),!r&&1===e.split("#").length){var w=s.exec(y);if(w)return this.path=y,this.href=y,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=o.exec(y);if(_){var v=(_=_[0]).toLowerCase();this.protocol=v,y=y.substr(_.length)}if(r||_||y.match(/^\/\/[^@/]+@[^@/]+/)){var E="//"===y.substr(0,2);!E||_&&m[_]||(y=y.substr(2),this.slashes=!0)}if(!m[_]&&(E||_&&!b[_])){for(var S,A,T=-1,R=0;R<f.length;R++){-1!==(k=y.indexOf(f[R]))&&(-1===T||k<T)&&(T=k)}-1!==(A=-1===T?y.lastIndexOf("@"):y.lastIndexOf("@",T))&&(S=y.slice(0,A),y=y.slice(A+1),this.auth=decodeURIComponent(S)),T=-1;for(R=0;R<c.length;R++){var k;-1!==(k=y.indexOf(c[R]))&&(-1===T||k<T)&&(T=k)}-1===T&&(T=y.length),this.host=y.slice(0,T),y=y.slice(T),this.parseHost(),this.hostname=this.hostname||"";var x="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!x)for(var j=this.hostname.split(/\./),O=(R=0,j.length);R<O;R++){var P=j[R];if(P&&!P.match(d)){for(var M="",I=0,N=P.length;I<N;I++)P.charCodeAt(I)>127?M+="x":M+=P[I];if(!M.match(d)){var C=j.slice(0,R),L=j.slice(R+1),D=P.match(h);D&&(C.push(D[1]),L.unshift(D[2])),L.length&&(y="/"+L.join(".")+y),this.hostname=C.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),x||(this.hostname=n.toASCII(this.hostname));var U=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+U,this.href+=this.host,x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!p[v])for(R=0,O=u.length;R<O;R++){var $=u[R];if(-1!==y.indexOf($)){var B=encodeURIComponent($);B===$&&(B=escape($)),y=y.split($).join(B)}}var W=y.indexOf("#");-1!==W&&(this.hash=y.substr(W),y=y.slice(0,W));var H=y.indexOf("?");if(-1!==H?(this.search=y.substr(H),this.query=y.substr(H+1),t&&(this.query=g.parse(this.query)),y=y.slice(0,H)):t&&(this.search="",this.query={}),y&&(this.pathname=y),b[v]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var q=this.search||"";this.path=U+q}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(o=g.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(a=a.replace("#","%23"))+n},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if("string"==typeof e){var t=new i;t.parse(e,!1,!0),e=t}for(var r=new i,n=Object.keys(this),o=0;o<n.length;o++){var a=n[o];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(r[u]=e[u])}return b[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!b[e.protocol]){for(var c=Object.keys(e),f=0;f<c.length;f++){var d=c[f];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||m[e.protocol])r.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),r.pathname=h.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var p=r.pathname||"",g=r.search||"";r.path=p+g}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var y=r.pathname&&"/"===r.pathname.charAt(0),w=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=w||y||r.host&&e.pathname,v=_,E=r.pathname&&r.pathname.split("/")||[],S=(h=e.pathname&&e.pathname.split("/")||[],r.protocol&&!b[r.protocol]);if(S&&(r.hostname="",r.port=null,r.host&&(""===E[0]?E[0]=r.host:E.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),_=_&&(""===h[0]||""===E[0])),w)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,E=h;else if(h.length)E||(E=[]),E.pop(),E=E.concat(h),r.search=e.search,r.query=e.query;else if(null!=e.search){if(S)r.host=E.shift(),r.hostname=r.host,(x=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=x.shift(),r.hostname=x.shift(),r.host=r.hostname);return r.search=e.search,r.query=e.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var A=E.slice(-1)[0],T=(r.host||e.host||E.length>1)&&("."===A||".."===A)||""===A,R=0,k=E.length;k>=0;k--)"."===(A=E[k])?E.splice(k,1):".."===A?(E.splice(k,1),R++):R&&(E.splice(k,1),R--);if(!_&&!v)for(;R--;R)E.unshift("..");!_||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),T&&"/"!==E.join("/").substr(-1)&&E.push("");var x,j=""===E[0]||E[0]&&"/"===E[0].charAt(0);S&&(r.hostname=j?"":E.length?E.shift():"",r.host=r.hostname,(x=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=x.shift(),r.hostname=x.shift(),r.host=r.hostname));return(_=_||r.host&&E.length)&&!j&&E.unshift(""),E.length>0?r.pathname=E.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},r.parse=y,r.resolve=function(e,t){return y(e,!1,!0).resolve(t)},r.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},r.format=function(e){return"string"==typeof e&&(e=y(e)),e instanceof i?e.format():i.prototype.format.call(e)},r.Url=i}}},{package:"browserify>url",file:"node_modules/url/url.js"}],[6319,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.assignRef=void 0,r.assignRef=function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/assignRef.js"}],[6320,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createCallbackRef=void 0,r.createCallbackRef=function(e){var t=null;return{get current(){return t},set current(r){var n=t;n!==r&&(t=r,e(r,n))}}}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/createRef.js"}],[6321,{"./assignRef":6319,"./createRef":6320,"./mergeRef":6322,"./refToCallback":6323,"./transformRef":6324,"./useMergeRef":6325,"./useRef":6326,"./useTransformRef":6327},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useRefToCallback=r.refToCallback=r.transformRef=r.useTransformRef=r.useMergeRefs=r.mergeRefs=r.createCallbackRef=r.useCallbackRef=r.assignRef=void 0;var n=e("./assignRef");Object.defineProperty(r,"assignRef",{enumerable:!0,get:function(){return n.assignRef}});var i=e("./useRef");Object.defineProperty(r,"useCallbackRef",{enumerable:!0,get:function(){return i.useCallbackRef}});var o=e("./createRef");Object.defineProperty(r,"createCallbackRef",{enumerable:!0,get:function(){return o.createCallbackRef}});var a=e("./mergeRef");Object.defineProperty(r,"mergeRefs",{enumerable:!0,get:function(){return a.mergeRefs}});var s=e("./useMergeRef");Object.defineProperty(r,"useMergeRefs",{enumerable:!0,get:function(){return s.useMergeRefs}});var l=e("./useTransformRef");Object.defineProperty(r,"useTransformRef",{enumerable:!0,get:function(){return l.useTransformRef}});var u=e("./transformRef");Object.defineProperty(r,"transformRef",{enumerable:!0,get:function(){return u.transformRef}});var c=e("./refToCallback");Object.defineProperty(r,"refToCallback",{enumerable:!0,get:function(){return c.refToCallback}}),Object.defineProperty(r,"useRefToCallback",{enumerable:!0,get:function(){return c.useRefToCallback}})}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/index.js"}],[6322,{"./assignRef":6319,"./createRef":6320},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeRefs=void 0;var n=e("./assignRef"),i=e("./createRef");r.mergeRefs=function(e){return(0,i.createCallbackRef)(function(t){return e.forEach(function(e){return(0,n.assignRef)(e,t)})})}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/mergeRef.js"}],[6323,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return function(t){"function"==typeof e?e(t):e&&(e.current=t)}}Object.defineProperty(r,"__esModule",{value:!0}),r.useRefToCallback=r.refToCallback=void 0,r.refToCallback=n;var i=function(){return null},o=new WeakMap;r.useRefToCallback=function(e){return function(e){var t=e||i,r=o.get(t);if(r)return r;var a=n(t);return o.set(t,a),a}(e)}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/refToCallback.js"}],[6324,{"./assignRef":6319,"./createRef":6320},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.transformRef=void 0;var n=e("./assignRef"),i=e("./createRef");r.transformRef=function(e,t){return(0,i.createCallbackRef)(function(r){return(0,n.assignRef)(e,t(r))})}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/transformRef.js"}],[6325,{"./assignRef":6319,"./useRef":6326},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useMergeRefs=void 0;var n=e("./assignRef"),i=e("./useRef");r.useMergeRefs=function(e,t){return(0,i.useCallbackRef)(t||null,function(t){return e.forEach(function(e){return(0,n.assignRef)(e,t)})})}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useMergeRef.js"}],[6326,{react:5865},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useCallbackRef=void 0;var n=e("react");r.useCallbackRef=function(e,t){var r=(0,n.useState)(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(e){var t=r.value;t!==e&&(r.value=e,r.callback(e,t))}}}})[0];return r.callback=t,r.facade}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useRef.js"}],[6327,{"./assignRef":6319,"./useRef":6326},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useTransformRef=void 0;var n=e("./assignRef"),i=e("./useRef");r.useTransformRef=function(e,t){return(0,i.useCallbackRef)(null,function(r){return(0,n.assignRef)(e,t(r))})}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useTransformRef.js"}],[6329,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.setConfig=r.config=void 0,r.config={onError:function(e){return console.error(e)}};r.setConfig=function(e){Object.assign(r.config,e)}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/config.js"}],[6330,{"detect-node-es":4845},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.env=void 0;var n=e("detect-node-es");r.env={isNode:n.isNode,forceCache:!1}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/env.js"}],[6331,{react:5865,tslib:6297},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.exportSidecar=void 0;var n=e("tslib"),i=n.__importStar(e("react")),o=function(e){var t=e.sideCar,r=n.__rest(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return i.createElement(o,n.__assign({},r))};o.isSideCarExport=!0,r.exportSidecar=function(e,t){return e.useMedium(t),o}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/exports.js"}],[6332,{"./hook":6333,react:5865,tslib:6297},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sidecar=void 0;var n=e("tslib"),i=n.__importStar(e("react")),o=e("./hook");r.sidecar=function(e,t){var r=function(){return t};return function(a){var s=(0,o.useSidecar)(e,a.sideCar),l=s[0];return s[1]&&t?r:l?i.createElement(l,n.__assign({},a)):null}}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/hoc.js"}],[6333,{"./env":6330,react:5865},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useSidecar=void 0;var n=e("react"),i=e("./env"),o=new WeakMap,a={};r.useSidecar=function(e,t){var r=t&&t.options||a;return i.env.isNode&&!r.ssr?[null,null]:function(e,t){var r=t&&t.options||a,s=i.env.forceCache||i.env.isNode&&!!r.ssr||!r.async,l=(0,n.useState)(s?function(){return o.get(e)}:undefined),u=l[0],c=l[1],f=(0,n.useState)(null),d=f[0],h=f[1];return(0,n.useEffect)(function(){u||e().then(function(r){var n,i=t?t.read():r.default||r;if(!i)throw console.error("Sidecar error: with importer",e),t?(console.error("Sidecar error: with medium",t),n=new Error("Sidecar medium was not found")):n=new Error("Sidecar was not found in exports"),h(function(){return n}),n;o.set(e,i),c(function(){return i})},function(e){return h(function(){return e})})},[]),[u,d]}(e,t)}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/hook.js"}],[6334,{"./config":6329,"./exports":6331,"./hoc":6332,"./hook":6333,"./medium":6335,"./renderProp":6336},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.exportSidecar=r.renderCar=r.createSidecarMedium=r.createMedium=r.setConfig=r.useSidecar=r.sidecar=void 0;var n=e("./hoc");Object.defineProperty(r,"sidecar",{enumerable:!0,get:function(){return n.sidecar}});var i=e("./hook");Object.defineProperty(r,"useSidecar",{enumerable:!0,get:function(){return i.useSidecar}});var o=e("./config");Object.defineProperty(r,"setConfig",{enumerable:!0,get:function(){return o.setConfig}});var a=e("./medium");Object.defineProperty(r,"createMedium",{enumerable:!0,get:function(){return a.createMedium}}),Object.defineProperty(r,"createSidecarMedium",{enumerable:!0,get:function(){return a.createSidecarMedium}});var s=e("./renderProp");Object.defineProperty(r,"renderCar",{enumerable:!0,get:function(){return s.renderCar}});var l=e("./exports");Object.defineProperty(r,"exportSidecar",{enumerable:!0,get:function(){return l.exportSidecar}})}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/index.js"}],[6335,{tslib:6297},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createSidecarMedium=r.createMedium=void 0;var n=e("tslib");function i(e){return e}function o(e,t){void 0===t&&(t=i);var r=[],n=!1;return{read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var i=t(e,n);return r.push(i),function(){r=r.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var i=r;r=[],i.forEach(e),t=r}var o=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}}r.createMedium=function(e,t){return void 0===t&&(t=i),o(e,t)},r.createSidecarMedium=function(e){void 0===e&&(e={});var t=o(null);return t.options=n.__assign({async:!0,ssr:!1},e),t}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/medium.js"}],[6336,{react:5865,tslib:6297},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.renderCar=void 0;var n=e("tslib"),i=n.__importStar(e("react")),o=e("react");r.renderCar=function(e,t){function r(t){var r=t.stateRef,a=t.props,s=(0,o.useCallback)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,o.useLayoutEffect)(function(){r.current(e)}),null},[]);return i.createElement(e,n.__assign({},a,{children:s}))}var a=i.memo(function(e){var t=e.stateRef,r=e.defaultState,n=e.children,i=(0,o.useState)(r.current),a=i[0],s=i[1];return(0,o.useEffect)(function(){t.current=s},[]),n.apply(void 0,a)},function(){return!0});return function(e){var n=i.useRef(t(e)),o=i.useRef(function(e){return n.current=e});return i.createElement(i.Fragment,null,i.createElement(r,{stateRef:o,props:e}),i.createElement(a,{stateRef:o,defaultState:n,children:e.children}))}}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/renderProp.js"}],[6340,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e){var t,r,n,i=String.fromCharCode;function o(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function a(e){if(e>=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}function s(e,t){return i(e>>t&63|128)}function l(e){if(!(4294967168&e))return i(e);var t="";return 4294965248&e?4294901760&e?4292870144&e||(t=i(e>>18&7|240),t+=s(e,12),t+=s(e,6)):(a(e),t=i(e>>12&15|224),t+=s(e,6)):t=i(e>>6&31|192),t+=i(63&e|128)}function u(){if(n>=r)throw Error("Invalid byte index");var e=255&t[n];if(n++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function c(){var e,i;if(n>r)throw Error("Invalid byte index");if(n==r)return!1;if(e=255&t[n],n++,!(128&e))return e;if(192==(224&e)){if((i=(31&e)<<6|u())>=128)return i;throw Error("Invalid continuation byte")}if(224==(240&e)){if((i=(15&e)<<12|u()<<6|u())>=2048)return a(i),i;throw Error("Invalid continuation byte")}if(240==(248&e)&&(i=(7&e)<<18|u()<<12|u()<<6|u())>=65536&&i<=1114111)return i;throw Error("Invalid UTF-8 detected")}e.version="3.0.0",e.encode=function(e){for(var t=o(e),r=t.length,n=-1,i="";++n<r;)i+=l(t[n]);return i},e.decode=function(e){t=o(e),r=t.length,n=0;for(var a,s=[];!1!==(a=c());)s.push(a);return function(e){for(var t,r=e.length,n=-1,o="";++n<r;)(t=e[n])>65535&&(o+=i((t-=65536)>>>10&1023|55296),t=56320|1023&t),o+=i(t);return o}(s)}}(void 0===r?this.utf8={}:r)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>utf8",file:"node_modules/utf8/utf8.js"}],[6341,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){try{if(!global.localStorage)return!1}catch(e){return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}}},{package:"@storybook/react>util-deprecate",file:"node_modules/util-deprecate/browser.js"}],[6342,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}}}},{package:"browserify>util",file:"node_modules/util/support/isBufferBrowser.js"}],[6343,{"is-arguments":5228,"is-generator-function":5236,"is-typed-array":5249,"which-typed-array":6378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("is-arguments"),i=e("is-generator-function"),o=e("which-typed-array"),a=e("is-typed-array");function s(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=s(Object.prototype.toString),f=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(l)var p=s(BigInt.prototype.valueOf);if(u)var m=s(Symbol.prototype.valueOf);function b(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function g(e){return"[object Map]"===c(e)}function y(e){return"[object Set]"===c(e)}function w(e){return"[object WeakMap]"===c(e)}function _(e){return"[object WeakSet]"===c(e)}function v(e){return"[object ArrayBuffer]"===c(e)}function E(e){return"undefined"!=typeof ArrayBuffer&&(v.working?v(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===c(e)}function A(e){return"undefined"!=typeof DataView&&(S.working?S(e):e instanceof DataView)}r.isArgumentsObject=n,r.isGeneratorFunction=i,r.isTypedArray=a,r.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},r.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||A(e)},r.isUint8Array=function(e){return"Uint8Array"===o(e)},r.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},r.isUint16Array=function(e){return"Uint16Array"===o(e)},r.isUint32Array=function(e){return"Uint32Array"===o(e)},r.isInt8Array=function(e){return"Int8Array"===o(e)},r.isInt16Array=function(e){return"Int16Array"===o(e)},r.isInt32Array=function(e){return"Int32Array"===o(e)},r.isFloat32Array=function(e){return"Float32Array"===o(e)},r.isFloat64Array=function(e){return"Float64Array"===o(e)},r.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},r.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},g.working="undefined"!=typeof Map&&g(new Map),r.isMap=function(e){return"undefined"!=typeof Map&&(g.working?g(e):e instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set),r.isSet=function(e){return"undefined"!=typeof Set&&(y.working?y(e):e instanceof Set)},w.working="undefined"!=typeof WeakMap&&w(new WeakMap),r.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(w.working?w(e):e instanceof WeakMap)},_.working="undefined"!=typeof WeakSet&&_(new WeakSet),r.isWeakSet=function(e){return _(e)},v.working="undefined"!=typeof ArrayBuffer&&v(new ArrayBuffer),r.isArrayBuffer=E,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),r.isDataView=A;var T="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:undefined;function R(e){return"[object SharedArrayBuffer]"===c(e)}function k(e){return void 0!==T&&(void 0===R.working&&(R.working=R(new T)),R.working?R(e):e instanceof T)}function x(e){return b(e,f)}function j(e){return b(e,d)}function O(e){return b(e,h)}function P(e){return l&&b(e,p)}function M(e){return u&&b(e,m)}r.isSharedArrayBuffer=k,r.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},r.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},r.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},r.isGeneratorObject=function(e){return"[object Generator]"===c(e)},r.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},r.isNumberObject=x,r.isStringObject=j,r.isBooleanObject=O,r.isBigIntObject=P,r.isSymbolObject=M,r.isBoxedPrimitive=function(e){return x(e)||j(e)||O(e)||P(e)||M(e)},r.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(E(e)||k(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(r,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})}}},{package:"browserify>util",file:"node_modules/util/support/types.js"}],[6344,{"./support/isBuffer":6342,"./support/types":6343,_process:5698,inherits:5224},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;r.format=function(e){if(!g(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(e).replace(i,function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),l=n[r];r<o;l=n[++r])m(l)||!_(l)?a+=" "+l:a+=" "+s(l);return a},r.deprecate=function(e,n){if(void 0!==t&&!0===t.noDeprecation)return e;if(void 0===t)return function(){return r.deprecate(e,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(n);t.traceDeprecation?console.trace(n):console.error(n),i=!0}return e.apply(this,arguments)}};var o={},a=/^$/;function s(e,t){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(t)?n.showHidden=t:t&&r._extend(n,t),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),c(n,e,n.depth)}function l(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function u(e,t){return e}function c(e,t,n){if(e.customInspect&&t&&S(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return g(i)||(i=c(e,i,n)),i}var o=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(g(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(b(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,t);if(o)return o;var a=Object.keys(t),s=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),E(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(t);if(0===a.length){if(S(t)){var l=t.name?": "+t.name:"";return e.stylize("[Function"+l+"]","special")}if(w(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(v(t))return e.stylize(Date.prototype.toString.call(t),"date");if(E(t))return f(t)}var u,_="",A=!1,T=["{","}"];(h(t)&&(A=!0,T=["[","]"]),S(t))&&(_=" [Function"+(t.name?": "+t.name:"")+"]");return w(t)&&(_=" "+RegExp.prototype.toString.call(t)),v(t)&&(_=" "+Date.prototype.toUTCString.call(t)),E(t)&&(_=" "+f(t)),0!==a.length||A&&0!=t.length?n<0?w(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=A?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)k(t,String(a))?o.push(d(e,t,r,n,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(d(e,t,r,n,i,!0))}),o}(e,t,n,s,a):a.map(function(r){return d(e,t,n,s,r,A)}),e.seen.pop(),function(e,t,r){var n=e.reduce(function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(u,_,T)):T[0]+_+T[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),k(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=m(r)?c(e,l.value,null):c(e,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return"  "+e}).join("\n").slice(2):"\n"+s.split("\n").map(function(e){return"   "+e}).join("\n")):s=e.stylize("[Circular]","special")),y(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function m(e){return null===e}function b(e){return"number"==typeof e}function g(e){return"string"==typeof e}function y(e){return void 0===e}function w(e){return _(e)&&"[object RegExp]"===A(e)}function _(e){return"object"==typeof e&&null!==e}function v(e){return _(e)&&"[object Date]"===A(e)}function E(e){return _(e)&&("[object Error]"===A(e)||e instanceof Error)}function S(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function T(e){return e<10?"0"+e.toString(10):e.toString(10)}r.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(a.test(e)){var n=t.pid;o[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else o[e]=function(){};return o[e]},r.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.types=e("./support/types"),r.isArray=h,r.isBoolean=p,r.isNull=m,r.isNullOrUndefined=function(e){return null==e},r.isNumber=b,r.isString=g,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=y,r.isRegExp=w,r.types.isRegExp=w,r.isObject=_,r.isDate=v,r.types.isDate=v,r.isError=E,r.types.isNativeError=E,r.isFunction=S,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.log=function(){var e,t;console.log("%s - %s",(e=new Date,t=[T(e.getHours()),T(e.getMinutes()),T(e.getSeconds())].join(":"),[e.getDate(),R[e.getMonth()],t].join(" ")),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!_(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var x="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):undefined;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}r.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(x&&e[x]){var t;if("function"!=typeof(t=e[x]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,x,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,n){e?r(e):t(n)});try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),x&&Object.defineProperty(t,x,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},r.promisify.custom=x,r.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,r).then(function(e){t.nextTick(a.bind(null,null,e))},function(e){t.nextTick(j.bind(null,e,a))})}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),Object.defineProperties(r,n(e)),r}}).call(this)}).call(this,e("_process"))}}},{package:"browserify>util",file:"node_modules/util/util.js"}],[6345,{"./nil.js":6347,"./parse.js":6348,"./stringify.js":6352,"./v1.js":6353,"./v3.js":6354,"./v4.js":6356,"./v5.js":6357,"./validate.js":6358,"./version.js":6359},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return f.default}});var n=d(e("./v1.js")),i=d(e("./v3.js")),o=d(e("./v4.js")),a=d(e("./v5.js")),s=d(e("./nil.js")),l=d(e("./version.js")),u=d(e("./validate.js")),c=d(e("./stringify.js")),f=d(e("./parse.js"));function d(e){return e&&e.__esModule?e:{default:e}}}}},{package:"uuid",file:"node_modules/uuid/dist/index.js"}],[6346,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return 14+(e+64>>>9<<4)+1}function i(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,n,o,a){return i((s=i(i(t,e),i(n,a)))<<(l=o)|s>>>32-l,r);var s,l}function a(e,t,r,n,i,a,s){return o(t&r|~t&n,e,t,i,a,s)}function s(e,t,r,n,i,a,s){return o(t&n|r&~n,e,t,i,a,s)}function l(e,t,r,n,i,a,s){return o(t^r^n,e,t,i,a,s)}function u(e,t,r,n,i,a,s){return o(r^(t|~n),e,t,i,a,s)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var c=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){const t=[],r=32*e.length,n="0123456789abcdef";for(let i=0;i<r;i+=8){const r=e[i>>5]>>>i%32&255,o=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[n(t)-1]=t;let r=1732584193,o=-271733879,c=-1732584194,f=271733878;for(let t=0;t<e.length;t+=16){const n=r,d=o,h=c,p=f;r=a(r,o,c,f,e[t],7,-680876936),f=a(f,r,o,c,e[t+1],12,-389564586),c=a(c,f,r,o,e[t+2],17,606105819),o=a(o,c,f,r,e[t+3],22,-1044525330),r=a(r,o,c,f,e[t+4],7,-176418897),f=a(f,r,o,c,e[t+5],12,1200080426),c=a(c,f,r,o,e[t+6],17,-1473231341),o=a(o,c,f,r,e[t+7],22,-45705983),r=a(r,o,c,f,e[t+8],7,1770035416),f=a(f,r,o,c,e[t+9],12,-1958414417),c=a(c,f,r,o,e[t+10],17,-42063),o=a(o,c,f,r,e[t+11],22,-1990404162),r=a(r,o,c,f,e[t+12],7,1804603682),f=a(f,r,o,c,e[t+13],12,-40341101),c=a(c,f,r,o,e[t+14],17,-1502002290),o=a(o,c,f,r,e[t+15],22,1236535329),r=s(r,o,c,f,e[t+1],5,-165796510),f=s(f,r,o,c,e[t+6],9,-1069501632),c=s(c,f,r,o,e[t+11],14,643717713),o=s(o,c,f,r,e[t],20,-373897302),r=s(r,o,c,f,e[t+5],5,-701558691),f=s(f,r,o,c,e[t+10],9,38016083),c=s(c,f,r,o,e[t+15],14,-660478335),o=s(o,c,f,r,e[t+4],20,-405537848),r=s(r,o,c,f,e[t+9],5,568446438),f=s(f,r,o,c,e[t+14],9,-1019803690),c=s(c,f,r,o,e[t+3],14,-187363961),o=s(o,c,f,r,e[t+8],20,1163531501),r=s(r,o,c,f,e[t+13],5,-1444681467),f=s(f,r,o,c,e[t+2],9,-51403784),c=s(c,f,r,o,e[t+7],14,1735328473),o=s(o,c,f,r,e[t+12],20,-1926607734),r=l(r,o,c,f,e[t+5],4,-378558),f=l(f,r,o,c,e[t+8],11,-2022574463),c=l(c,f,r,o,e[t+11],16,1839030562),o=l(o,c,f,r,e[t+14],23,-35309556),r=l(r,o,c,f,e[t+1],4,-1530992060),f=l(f,r,o,c,e[t+4],11,1272893353),c=l(c,f,r,o,e[t+7],16,-155497632),o=l(o,c,f,r,e[t+10],23,-1094730640),r=l(r,o,c,f,e[t+13],4,681279174),f=l(f,r,o,c,e[t],11,-358537222),c=l(c,f,r,o,e[t+3],16,-722521979),o=l(o,c,f,r,e[t+6],23,76029189),r=l(r,o,c,f,e[t+9],4,-640364487),f=l(f,r,o,c,e[t+12],11,-421815835),c=l(c,f,r,o,e[t+15],16,530742520),o=l(o,c,f,r,e[t+2],23,-995338651),r=u(r,o,c,f,e[t],6,-198630844),f=u(f,r,o,c,e[t+7],10,1126891415),c=u(c,f,r,o,e[t+14],15,-1416354905),o=u(o,c,f,r,e[t+5],21,-57434055),r=u(r,o,c,f,e[t+12],6,1700485571),f=u(f,r,o,c,e[t+3],10,-1894986606),c=u(c,f,r,o,e[t+10],15,-1051523),o=u(o,c,f,r,e[t+1],21,-2054922799),r=u(r,o,c,f,e[t+8],6,1873313359),f=u(f,r,o,c,e[t+15],10,-30611744),c=u(c,f,r,o,e[t+6],15,-1560198380),o=u(o,c,f,r,e[t+13],21,1309151649),r=u(r,o,c,f,e[t+4],6,-145523070),f=u(f,r,o,c,e[t+11],10,-1120210379),c=u(c,f,r,o,e[t+2],15,718787259),o=u(o,c,f,r,e[t+9],21,-343485551),r=i(r,n),o=i(o,d),c=i(c,h),f=i(f,p)}return[r,o,c,f]}(function(e){if(0===e.length)return[];const t=8*e.length,r=new Uint32Array(n(t));for(let n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))};r.default=c}}},{package:"uuid",file:"node_modules/uuid/dist/md5-browser.js"}],[6347,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default="00000000-0000-0000-0000-000000000000"}}},{package:"uuid",file:"node_modules/uuid/dist/nil.js"}],[6348,{"./validate.js":6358},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("./validate.js"))&&n.__esModule?n:{default:n};var o=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};r.default=o}}},{package:"uuid",file:"node_modules/uuid/dist/parse.js"}],[6349,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i}}},{package:"uuid",file:"node_modules/uuid/dist/regex.js"}],[6350,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){let n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)};const i=new Uint8Array(16)}}},{package:"uuid",file:"node_modules/uuid/dist/rng-browser.js"}],[6351,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function i(e,t){return e<<t|e>>>32-t}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=function(e){const t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const o=e.length/4+2,a=Math.ceil(o/16),s=new Array(a);for(let t=0;t<a;++t){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];s[t]=r}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<a;++e){const o=new Uint32Array(80);for(let t=0;t<16;++t)o[t]=s[e][t];for(let e=16;e<80;++e)o[e]=i(o[e-3]^o[e-8]^o[e-14]^o[e-16],1);let a=r[0],l=r[1],u=r[2],c=r[3],f=r[4];for(let e=0;e<80;++e){const r=Math.floor(e/20),s=i(a,5)+n(r,l,u,c)+f+t[r]+o[e]>>>0;f=c,c=u,u=i(l,30)>>>0,l=a,a=s}r[0]=r[0]+a>>>0,r[1]=r[1]+l>>>0,r[2]=r[2]+u>>>0,r[3]=r[3]+c>>>0,r[4]=r[4]+f>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]};r.default=o}}},{package:"uuid",file:"node_modules/uuid/dist/sha1-browser.js"}],[6352,{"./validate.js":6358},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("./validate.js"))&&n.__esModule?n:{default:n};const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).substr(1));var a=function(e,t=0){const r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,i.default)(r))throw TypeError("Stringified UUID is invalid");return r};r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/stringify.js"}],[6353,{"./rng.js":6350,"./stringify.js":6352},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./rng.js")),i=o(e("./stringify.js"));function o(e){return e&&e.__esModule?e:{default:e}}let a,s,l=0,u=0;var c=function(e,t,r){let o=t&&r||0;const c=t||new Array(16);let f=(e=e||{}).node||a,d=e.clockseq!==undefined?e.clockseq:s;if(null==f||null==d){const t=e.random||(e.rng||n.default)();null==f&&(f=a=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==d&&(d=s=16383&(t[6]<<8|t[7]))}let h=e.msecs!==undefined?e.msecs:Date.now(),p=e.nsecs!==undefined?e.nsecs:u+1;const m=h-l+(p-u)/1e4;if(m<0&&e.clockseq===undefined&&(d=d+1&16383),(m<0||h>l)&&e.nsecs===undefined&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=h,u=p,s=d,h+=122192928e5;const b=(1e4*(268435455&h)+p)%4294967296;c[o++]=b>>>24&255,c[o++]=b>>>16&255,c[o++]=b>>>8&255,c[o++]=255&b;const g=h/4294967296*1e4&268435455;c[o++]=g>>>8&255,c[o++]=255&g,c[o++]=g>>>24&15|16,c[o++]=g>>>16&255,c[o++]=d>>>8|128,c[o++]=255&d;for(let e=0;e<6;++e)c[o+e]=f[e];return t||(0,i.default)(c)};r.default=c}}},{package:"uuid",file:"node_modules/uuid/dist/v1.js"}],[6354,{"./md5.js":6346,"./v35.js":6355},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./v35.js")),i=o(e("./md5.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v3",48,i.default);r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/v3.js"}],[6355,{"./parse.js":6348,"./stringify.js":6352},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r){function o(e,o,a,s){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof o&&(o=(0,i.default)(o)),16!==o.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+e.length);if(l.set(o),l.set(e,o.length),l=r(l),l[6]=15&l[6]|t,l[8]=63&l[8]|128,a){s=s||0;for(let e=0;e<16;++e)a[s+e]=l[e];return a}return(0,n.default)(l)}try{o.name=e}catch(e){}return o.DNS=a,o.URL=s,o},r.URL=r.DNS=void 0;var n=o(e("./stringify.js")),i=o(e("./parse.js"));function o(e){return e&&e.__esModule?e:{default:e}}const a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";r.DNS=a;const s="6ba7b811-9dad-11d1-80b4-00c04fd430c8";r.URL=s}}},{package:"uuid",file:"node_modules/uuid/dist/v35.js"}],[6356,{"./rng.js":6350,"./stringify.js":6352},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./rng.js")),i=o(e("./stringify.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,r){const o=(e=e||{}).random||(e.rng||n.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=o[e];return t}return(0,i.default)(o)};r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/v4.js"}],[6357,{"./sha1.js":6351,"./v35.js":6355},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./v35.js")),i=o(e("./sha1.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v5",80,i.default);r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/v5.js"}],[6358,{"./regex.js":6349},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("./regex.js"))&&n.__esModule?n:{default:n};var o=function(e){return"string"==typeof e&&i.default.test(e)};r.default=o}}},{package:"uuid",file:"node_modules/uuid/dist/validate.js"}],[6359,{"./validate.js":6358},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("./validate.js"))&&n.__esModule?n:{default:n};var o=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};r.default=o}}},{package:"uuid",file:"node_modules/uuid/dist/version.js"}],[6360,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e){e.exports.is_uri=r,e.exports.is_http_uri=n,e.exports.is_https_uri=i,e.exports.is_web_uri=o,e.exports.isUri=r,e.exports.isHttpUri=n,e.exports.isHttpsUri=i,e.exports.isWebUri=o;var t=function(e){return e.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/)};function r(e){if(e&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(e)&&!/%[^0-9a-f]/i.test(e)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(e)){var r,n,i,o,a,s="",l="";if(s=(r=t(e))[1],n=r[2],i=r[3],o=r[4],a=r[5],s&&s.length&&i.length>=0){if(n&&n.length){if(0!==i.length&&!/^\//.test(i))return}else if(/^\/\//.test(i))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(s.toLowerCase()))return l+=s+":",n&&n.length&&(l+="//"+n),l+=i,o&&o.length&&(l+="?"+o),a&&a.length&&(l+="#"+a),l}}}function n(e,n){if(r(e)){var i,o,a,s,l="",u="",c="",f="";if(l=(i=t(e))[1],u=i[2],o=i[3],a=i[4],s=i[5],l){if(n){if("https"!=l.toLowerCase())return}else if("http"!=l.toLowerCase())return;if(u)return/:(\d+)$/.test(u)&&(c=u.match(/:(\d+)$/)[0],u=u.replace(/:\d+$/,"")),f+=l+":",f+="//"+u,c&&(f+=c),f+=o,a&&a.length&&(f+="?"+a),s&&s.length&&(f+="#"+s),f}}}function i(e){return n(e,!0)}function o(e){return n(e)||i(e)}}(t)}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>valid-url",file:"node_modules/valid-url/index.js"}],[6361,{builtins:4692},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),i=e("builtins"),o=["node_modules","favicon.ico"];var a=function(e,t){var r={validForNewPackages:0===t.length&&0===e.length,validForOldPackages:0===t.length,warnings:e,errors:t};return r.warnings.length||delete r.warnings,r.errors.length||delete r.errors,r};t.exports=function(e){var t=[],r=[];if(null===e)return r.push("name cannot be null"),a(t,r);if(e===undefined)return r.push("name cannot be undefined"),a(t,r);if("string"!=typeof e)return r.push("name must be a string"),a(t,r);if(e.length||r.push("name length must be greater than zero"),e.match(/^\./)&&r.push("name cannot start with a period"),e.match(/^_/)&&r.push("name cannot start with an underscore"),e.trim()!==e&&r.push("name cannot contain leading or trailing spaces"),o.forEach(function(t){e.toLowerCase()===t&&r.push(t+" is a blacklisted name")}),i({version:"*"}).forEach(function(r){e.toLowerCase()===r&&t.push(r+" is a core module name")}),e.length>214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push('name can no longer contain special characters ("~\'!()*")'),encodeURIComponent(e)!==e){var s=e.match(n);if(s){var l=s[1],u=s[2];if(encodeURIComponent(l)===l&&encodeURIComponent(u)===u)return a(t,r)}r.push("name can only contain URL-friendly characters")}return a(t,r)}}}},{package:"@metamask/snaps-utils>validate-npm-package-name",file:"node_modules/validate-npm-package-name/lib/index.js"}],[6371,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},i=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},o=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),a=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function s(){}s.prototype={};var l=r.Script=function(e){if(!(this instanceof l))return new l(e);this.code=e};l.prototype.runInContext=function(e){if(!(e instanceof s))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,l=r.eval,u=r.execScript;!l&&u&&(u.call(r,"null"),l=r.eval),i(n(e),function(t){r[t]=e[t]}),i(a,function(t){e[t]&&(r[t]=e[t])});var c=n(r),f=l.call(r,this.code);return i(n(r),function(t){(t in e||-1===function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1}(c,t))&&(e[t]=r[t])}),i(a,function(t){t in e||o(e,t,r[t])}),document.body.removeChild(t),f},l.prototype.runInThisContext=function(){return(0,eval)(this.code)},l.prototype.runInNewContext=function(e){var t=l.createContext(e),r=this.runInContext(t);return e&&i(n(t),function(r){e[r]=t[r]}),r},i(n(l.prototype),function(e){r[e]=l[e]=function(t){var r=l(t);return r[e].apply(r,[].slice.call(arguments,1))}}),r.isContext=function(e){return e instanceof s},r.createScript=function(e){return r.Script(e)},r.createContext=l.createContext=function(e){var t=new s;return"object"==typeof e&&i(n(e),function(r){t[r]=e[r]}),t}}}},{package:"browserify>vm-browserify",file:"node_modules/vm-browserify/index.js"}],[6372,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=function(){};t.exports=n}}},{package:"react-popper>warning",file:"node_modules/warning/warning.js"}],[6374,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e,n){if("function"==typeof define&&define.amd)define("webextension-polyfill",["module"],n);else if(void 0!==r)n(t);else{var i={exports:{}};n(i),e.browser=i.exports}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,function(e){if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const t="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0},elements:{createSidebarPane:{minArgs:1,maxArgs:1}}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},goBack:{minArgs:0,maxArgs:1},goForward:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class i extends WeakMap{constructor(e,t=undefined){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const o=(t,r)=>(...n)=>{e.runtime.lastError?t.reject(new Error(e.runtime.lastError.message)):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?t.resolve(n[0]):t.resolve(n)},a=e=>1==e?"argument":"arguments",s=(e,t,r)=>new Proxy(t,{apply:(t,n,i)=>r.call(n,e,...i)});let l=Function.call.bind(Object.prototype.hasOwnProperty);const u=(e,t={},r={})=>{let n=Object.create(null),i={has:(t,r)=>r in e||r in n,get(i,c,f){if(c in n)return n[c];if(!(c in e))return undefined;let d=e[c];if("function"==typeof d)if("function"==typeof t[c])d=s(e,e[c],t[c]);else if(l(r,c)){let t=((e,t)=>function(r,...n){if(n.length<t.minArgs)throw new Error(`Expected at least ${t.minArgs} ${a(t.minArgs)} for ${e}(), got ${n.length}`);if(n.length>t.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((i,a)=>{if(t.fallbackToNoCallback)try{r[e](...n,o({resolve:i,reject:a},t))}catch(o){console.warn(`${e} API method doesn't seem to support the callback parameter, falling back to call it without a callback: `,o),r[e](...n),t.fallbackToNoCallback=!1,t.noCallback=!0,i()}else t.noCallback?(r[e](...n),i()):r[e](...n,o({resolve:i,reject:a},t))})})(c,r[c]);d=s(e,e[c],t)}else d=d.bind(e);else if("object"==typeof d&&null!==d&&(l(t,c)||l(r,c)))d=u(d,t[c],r[c]);else{if(!l(r,"*"))return Object.defineProperty(n,c,{configurable:!0,enumerable:!0,get:()=>e[c],set(t){e[c]=t}}),d;d=u(d,t[c],r["*"])}return n[c]=d,d},set:(t,r,i,o)=>(r in n?n[r]=i:e[r]=i,!0),defineProperty:(e,t,r)=>Reflect.defineProperty(n,t,r),deleteProperty:(e,t)=>Reflect.deleteProperty(n,t)},c=Object.create(e);return new Proxy(c,i)},c=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener:(t,r)=>t.hasListener(e.get(r)),removeListener(t,r){t.removeListener(e.get(r))}}),f=new i(e=>"function"!=typeof e?e:function(t){const r=u(t,{},{getContent:{minArgs:0,maxArgs:0}});e(r)});let d=!1;const h=new i(e=>"function"!=typeof e?e:function(t,n,i){let o,a,s=!1,l=new Promise(e=>{o=function(t){d||(console.warn(r,(new Error).stack),d=!0),s=!0,e(t)}});try{a=e(t,n,o)}catch(e){a=Promise.reject(e)}const u=!0!==a&&((c=a)&&"object"==typeof c&&"function"==typeof c.then);var c;if(!0!==a&&!u&&!s)return!1;const f=e=>{e.then(e=>{i(e)},e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",i({__mozWebExtensionPolyfillReject__:!0,message:t})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return f(u?a:l),!0}),p=({reject:r,resolve:n},i)=>{e.runtime.lastError?e.runtime.lastError.message===t?n():r(new Error(e.runtime.lastError.message)):i&&i.__mozWebExtensionPolyfillReject__?r(new Error(i.message)):n(i)},m=(e,t,r,...n)=>{if(n.length<t.minArgs)throw new Error(`Expected at least ${t.minArgs} ${a(t.minArgs)} for ${e}(), got ${n.length}`);if(n.length>t.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,t)=>{const i=p.bind(null,{resolve:e,reject:t});n.push(i),r.sendMessage(...n)})},b={devtools:{network:{onRequestFinished:c(f)}},runtime:{onMessage:c(h),onMessageExternal:c(h),sendMessage:m.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:m.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},g={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{"*":g},services:{"*":g},websites:{"*":g}},u(e,b,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser})}}},{package:"webextension-polyfill",file:"node_modules/webextension-polyfill/dist/browser-polyfill.js"}],[6378,{"available-typed-arrays":4556,"call-bind":4700,"call-bound":4701,"for-each":5027,"get-proto":5037,gopd:5046,"has-tostringtag/shams":5191},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("for-each"),i=e("available-typed-arrays"),o=e("call-bind"),a=e("call-bound"),s=e("gopd"),l=e("get-proto"),u=a("Object.prototype.toString"),c=e("has-tostringtag/shams")(),f="undefined"==typeof globalThis?global:globalThis,d=i(),h=a("String.prototype.slice"),p=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},m={__proto__:null};n(d,c&&s&&l?function(e){var t=new f[e];if(Symbol.toStringTag in t&&l){var r=l(t),n=s(r,Symbol.toStringTag);if(!n&&r){var i=l(r);n=s(i,Symbol.toStringTag)}m["$"+e]=o(n.get)}}:function(e){var t=new f[e],r=t.slice||t.set;r&&(m["$"+e]=o(r))});t.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=h(u(e),8,-1);return p(d,t)>-1?t:"Object"===t&&function(e){var t=!1;return n(m,function(r,n){if(!t)try{r(e),t=h(n,1)}catch(e){}}),t}(e)}return s?function(e){var t=!1;return n(m,function(r,n){if(!t)try{"$"+r(e)===n&&(t=h(n,1))}catch(e){}}),t}(e):null}}}},{package:"browserify>util>which-typed-array",file:"node_modules/which-typed-array/index.js"}],[6379,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function e(t,r){if(t&&r)return e(t)(r);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(e){n[e]=t[e]}),n;function n(){for(var e=new Array(arguments.length),r=0;r<e.length;r++)e[r]=arguments[r];var n=t.apply(this,e),i=e[e.length-1];return"function"==typeof n&&n!==i&&Object.keys(i).forEach(function(e){n[e]=i[e]}),n}}}}},{package:"@metamask/object-multiplex>once>wrappy",file:"node_modules/wrappy/wrappy.js"}],[6380,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var i in r)n.call(r,i)&&(e[i]=r[i])}return e};var n=Object.prototype.hasOwnProperty}}},{package:"watchify>xtend",file:"node_modules/xtend/immutable.js"}],[6381,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={name:"metamask-crx",version:"13.21.0",private:!0,repository:{type:"git",url:"https://github.com/MetaMask/metamask-extension.git"},scripts:{webpack:"tsx ./development/webpack/launch.ts","webpack:clearcache":"./development/clear-webpack-cache.js","webpack:tsc":"tsc -p ./development/webpack/tsconfig.webpack.json","webpack:lavamoat":"NODE_OPTIONS=--no-deprecation lavamoat --policy lavamoat/webpack/build/policy.json --override lavamoat/webpack/build/policy-override.json ./development/.webpack/launch.js","webpack:lavamoat:build":"yarn webpack:lavamoat -- --env production --no-cache","webpack:lavamoat:policy:build":"yarn webpack:lavamoat --writeAutoPolicy -- --env production --no-cache","webpack:lavamoat:policy:mv2":"concurrently 'yarn webpack:lavamoat:build --generatePolicy -v 2' 'yarn webpack:lavamoat:build --generatePolicy -v 2 --type flask' 'yarn webpack:lavamoat:build --generatePolicy -v 2 --type beta' 'yarn webpack:lavamoat:build --generatePolicy -v 2 --type experimental' --kill-others-on-fail","webpack:lavamoat:policy:mv3":"concurrently 'yarn webpack:lavamoat:build --generatePolicy' 'yarn webpack:lavamoat:build --generatePolicy --type flask' 'yarn webpack:lavamoat:build --generatePolicy --type beta' 'yarn webpack:lavamoat:build --generatePolicy --type experimental' --kill-others-on-fail",foundryup:"yarn mm-foundryup",postinstall:"yarn webpack:clearcache && yarn foundryup","env:e2e":"SEGMENT_HOST='https://api.segment.io' SEGMENT_WRITE_KEY='FAKE' yarn",start:"yarn build:dev dev --apply-lavamoat=false --snow=false","start:with-state":"node ./app/scripts/start-with-wallet-state.mjs","start:mv2":"ENABLE_MV3=false yarn build:dev dev --apply-lavamoat=false --snow=false","start:flask":"yarn start --build-type flask","start:beta":"yarn start --build-type beta","start:flask:mv2":"ENABLE_MV3=false yarn start --build-type flask --apply-lavamoat=false --snow=false","start:lavamoat":"yarn build:dev dev --apply-lavamoat=true",dist:"yarn build dist","dist:mv2":"ENABLE_MV3=false yarn build dist",build:"yarn lavamoat:build","build:dev":"node development/build/index.js","circular-deps:check":"tsx development/circular-deps.ts check","circular-deps:update":"tsx development/circular-deps.ts update","start:test":"yarn env:e2e build:dev testDev --apply-lavamoat=false","start:test:flask":"yarn start:test --build-type flask --apply-lavamoat=false","start:test:mv2:flask":"ENABLE_MV3=false yarn start:test:flask --apply-lavamoat=false --snow=false","start:test:mv2":"ENABLE_MV3=false BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn start:test --apply-lavamoat=false --snow=false","build:test":"yarn env:e2e build test","build:test:dev":"yarn env:e2e build:dev testDev --apply-lavamoat=false","build:test:beta":"yarn build:test --build-type beta","build:test:flask":"yarn build:test --build-type flask","build:test:flask:mv2":"ENABLE_MV3=false yarn build:test:flask","build:test:mv2":"ENABLE_MV3=false BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn build:test","build:test:webpack":"BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn env:e2e webpack --env production --test --browser=chrome --browser=firefox --no-cache --zip","build:test:webpack:mv2":"BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn env:e2e webpack --env production --test --browser=chrome --browser=firefox --no-cache --zip -v 2",test:"yarn lint && yarn test:unit",dapp:"node development/static-server.js node_modules/@metamask/test-dapp/dist --port 8080","dapp-multichain":"node development/static-server.js node_modules/@metamask/test-dapp-multichain/build --port 8080","dapp-solana":"node development/static-server.js node_modules/@metamask/test-dapp-solana/dist --port 8080","dapp-tron":"node development/static-server.js node_modules/@metamask/test-dapp-tron/dist --port 8080","dapp-chain":"GANACHE_ARGS='-b 2' concurrently -k -n ganache,dapp -p '[{time}][{name}]' 'yarn ganache:start' 'sleep 5 && yarn dapp'",forwarder:"node ./development/static-server.js ./node_modules/@metamask/forwarder/dist/ --port 9010","dapp-forwarder":"concurrently -k -n forwarder,dapp -p '[{time}][{name}]' 'yarn forwarder' 'yarn dapp'","test:unit":"jest","test:unit:update-baseline":"UPDATE_BASELINE=ratchet yarn test:unit","test:unit:update-baseline:strict":"UPDATE_BASELINE=strict yarn test:unit",anvil:"node_modules/.bin/anvil","test:unit:watch":"jest --watch","test:unit:coverage":"jest --coverage","test:unit:webpack":"tsx --test development/webpack/test/*.test.ts","test:unit:webpack:coverage":"nyc --reporter=html --reporter=json --reporter=text --report-dir=./coverage/webpack tsx --test development/webpack/test/*.test.ts","test:integration":"yarn webpack-cli build --config ./development/webpack/webpack.integration.tests.config.ts && jest --config jest.integration.config.js","test:integration:update-baseline":"UPDATE_BASELINE=ratchet yarn test:integration","test:integration:update-baseline:strict":"UPDATE_BASELINE=strict yarn test:integration","test:integration:coverage":"yarn test:integration --coverage","test:e2e:chrome":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.ts","test:e2e:chrome:dist":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.ts --dist","test:e2e:chrome:flask":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.ts --build-type flask","test:api-specs":"SELENIUM_BROWSER=chrome tsx test/e2e/run-openrpc-api-test-coverage.ts","test:api-specs-multichain":"SELENIUM_BROWSER=chrome ts-node test/e2e/run-api-specs-multichain.ts","test:e2e:swap":"yarn playwright test --project=swap","test:e2e:global":"yarn playwright test --project=global","test:e2e:benchmark":"yarn tsx test/e2e/benchmarks/run-benchmark.ts","test:e2e:pw:report":"yarn playwright show-report public/playwright/playwright-reports/html","test:e2e:chrome:rpc":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.ts --rpc","test:e2e:chrome:multi-provider":"MULTIPROVIDER=true SELENIUM_BROWSER=chrome tsx test/e2e/run-all.ts --multi-provider","test:e2e:firefox":"SELENIUM_BROWSER=firefox tsx test/e2e/run-all.ts","test:e2e:firefox:dist":"SELENIUM_BROWSER=firefox tsx test/e2e/run-all.ts --dist","test:e2e:firefox:flask":"SELENIUM_BROWSER=firefox tsx test/e2e/run-all.ts --build-type flask","test:e2e:single":"node test/e2e/run-e2e-test.js","ganache:start":"./development/run-ganache.sh","sentry:publish":"node ./development/sentry-publish.js",lint:"yarn lint:prettier && yarn lint:eslint && yarn lint:tsc && yarn lint:styles && yarn lint:images","lint:fix":"yarn lint:prettier:fix && yarn lint:eslint:fix && yarn lint:styles:fix && yarn circular-deps:update && yarn lint:images:fix && yarn lint:baseline:fix","lint:prettier":"prettier --check --cache -- '**/*.{json,md,mdx,yml}'","lint:prettier:fix":"prettier --write --cache -- '**/*.{json,md,mdx,yml}'","lint:changed":"node development/lint-changed.mts","lint:changed:fix":"node development/lint-changed.mts --fix","lint:changelog":"auto-changelog validate --prettier","lint:changelog:rc":"auto-changelog validate --prettier --rc","lint:debug":"DEBUG=eslint:cli-engine yarn lint","lint:eslint":"eslint . --ext js,ts,tsx,snap --cache --cache-location node_modules/.cache/eslint/.eslint-cache","lint:eslint:fix":"yarn lint:eslint --fix --cache --cache-location node_modules/.cache/eslint/.eslint-cache","lint:lockfile:dedupe":"yarn dedupe --check","lint:lockfile:dedupe:fix":"yarn dedupe","lint:lockfile":'lockfile-lint --path yarn.lock --allowed-hosts npm yarn github.com codeload.github.com --empty-hostname true --allowed-schemes "https:" "git+https:" "npm:" "patch:" "workspace:"',"lint:shellcheck":"./development/shellcheck.sh","lint:styles":"stylelint '*/**/*.scss'","lint:styles:fix":"yarn lint:styles --fix","lint:tsc":"tsc","lint:images":"tsx development/optimize-media.mts","lint:images:fix":"tsx development/optimize-media.mts --fix","lint:baseline":"node development/lint-baseline.mts","lint:baseline:fix":"node development/lint-baseline.mts --fix","validate-source-maps":"node ./development/sourcemap-validator.js","verify-locales":"node ./development/verify-locale-strings.js","verify-locales:fix":"node ./development/verify-locale-strings.js --fix","mozilla-lint":"addons-linter dist/firefox","devtools:react":"react-devtools","devtools:redux":"remotedev --hostname=localhost --port=8000","start:dev":"concurrently -k -n build,react,redux yarn:start yarn:devtools:react yarn:devtools:redux",announce:"node development/announcer.js",storybook:"storybook dev -p 6006 -c .storybook","storybook:build":"storybook build -c .storybook -o storybook-build","storybook:deploy":"storybook-to-ghpages --existing-output-dir storybook-build --remote storybook --branch stable","update-changelog":"auto-changelog update --rc --autoCategorize --useChangelogEntry --useShortPrLink --requirePrNumbers","generate:migration":"./development/generate-migration.sh","lavamoat:build":"lavamoat development/build/index.js --policy lavamoat/build-system/policy.json --policyOverride lavamoat/build-system/policy-override.json","lavamoat:build:auto":"yarn lavamoat:build --writeAutoPolicy","lavamoat:debug:build":"yarn lavamoat:build --writeAutoPolicyDebug --policydebug lavamoat/build-system/policy-debug.json","lavamoat:debug:webapp":"WRITE_AUTO_POLICY_DEBUG=1 yarn lavamoat:webapp:auto","lavamoat:webapp:auto":"ENABLE_MV3=true node ./development/generate-lavamoat-policies.js --devMode=true","lavamoat:auto":"yarn lavamoat:build:auto && yarn lavamoat:webapp:auto && yarn webpack:tsc && yarn webpack:lavamoat:policy:build && yarn webpack:lavamoat:policy:mv2 && yarn webpack:lavamoat:policy:mv3","ts-migration:dashboard:build":"tsx development/ts-migration-dashboard/scripts/build-app.ts","ts-migration:dashboard:deploy":"gh-pages --dist development/ts-migration-dashboard/build/final --remote ts-migration-dashboard","ts-migration:dashboard:watch":"yarn ts-migration:dashboard:build --watch","ts-migration:enumerate":"tsx development/ts-migration-dashboard/scripts/write-list-of-files-to-convert.ts","test-storybook":"test-storybook -c .storybook","test-storybook:ci":'concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn storybook:build && yarn http-server storybook-build --port 6006 " "wait-on tcp:6006 && echo \'Build done. Running storybook tests...\' && yarn test-storybook"',"githooks:install":"husky install","fitness-functions":"tsx development/fitness-functions/index.ts","generate-beta-commit":"node ./development/generate-beta-commit.js","validate-branch-name":"validate-branch-name","add-release-label-to-pr-and-linked-issues":"ts-node ./.github/scripts/add-release-label-to-pr-and-linked-issues.ts","check-pr-has-required-labels":"ts-node ./.github/scripts/check-pr-has-required-labels.ts","close-release-bug-report-issue":"ts-node ./.github/scripts/close-release-bug-report-issue.ts","check-template-and-add-labels":"ts-node ./.github/scripts/check-template-and-add-labels.ts","create-bug-report-issue":"ts-node ./.github/scripts/create-bug-report-issue.ts",audit:"yarn npm audit --recursive --environment production --severity moderate --ignore '@metamask/types (deprecation)'","download-builds":"tsx .devcontainer/download-builds.ts","stable-sync-legacy":"node development/stable-sync-legacy.js","update-mock-cdn":"node test/e2e/mock-cdn/update-mock-cdn-files.js","update-snap-binary":"tsx test/e2e/mock-response-data/snaps/update-snap-binary.ts","attributions:check":"./development/attributions-check.sh","attributions:generate":"./development/generate-attributions.sh","yarn-binary:download":"corepack pack -o .yarn/yarn-corepack.tgz","yarn-binary:hydrate":"corepack hydrate .yarn/yarn-corepack.tgz --activate"},resolutions:{"jest-clean-console-reporter/chalk":"^4.1.2",chokidar:"^3.6.0","@types/react":"^17.0.11","bn.js":"^5.2.1","ganache/abstract-level":"1.0.4","git-url-parse@^12.0.0":"^13.1.0","glob-parent":"^6.0.2","js-sha3":"^0.9.2","ast-types":"^0.14.2","acorn@^7.0.0":"patch:acorn@npm:7.4.1#.yarn/patches/acorn-npm-7.4.1-f450b4646c.patch","acorn@^7.4.1":"patch:acorn@npm:7.4.1#.yarn/patches/acorn-npm-7.4.1-f450b4646c.patch","acorn@^7.1.1":"patch:acorn@npm:7.4.1#.yarn/patches/acorn-npm-7.4.1-f450b4646c.patch","object.values@^1.1.5":"patch:object.values@npm%3A1.1.5#./.yarn/patches/object.values-npm-1.1.5-f1de7f3742.patch","error@^7.0.0":"patch:error@npm%3A7.0.2#./.yarn/patches/error-npm-7.0.2-6dfbeab4da.patch","eslint-import-resolver-typescript@^2.5.0":"patch:eslint-import-resolver-typescript@npm%3A2.5.0#./.yarn/patches/eslint-import-resolver-typescript-npm-2.5.0-3b8adf0d03.patch","borc@^2.1.2":"patch:borc@npm%3A2.1.2#./.yarn/patches/borc-npm-2.1.2-8ffcc2dd81.patch","convert-source-map@^1.7.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@1.7.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^1.0.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@~1.1.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^0.3.3":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^1.5.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^1.6.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","abort-controller@^3.0.0":"patch:abort-controller@npm%3A3.0.0#./.yarn/patches/abort-controller-npm-3.0.0-2f3a9a2bcb.patch","await-semaphore@^0.1.3":"patch:await-semaphore@npm%3A0.1.3#./.yarn/patches/await-semaphore-npm-0.1.3-b7a0001fab.patch","eslint@npm:^8.7.0":"patch:eslint@npm%3A8.57.0#~/.yarn/patches/eslint-npm-8.57.0-4286e12a3a.patch","ethereumjs-util@^7.0.10":"patch:ethereumjs-util@npm%3A7.1.5#./.yarn/patches/ethereumjs-util-npm-7.1.5-5bb4d00000.patch","gulp-sourcemaps@^3.0.0":"patch:gulp-sourcemaps@npm%3A3.0.0#./.yarn/patches/gulp-sourcemaps-npm-3.0.0-1ae0fbef6d.patch","inline-source-map@~0.6.0":"patch:inline-source-map@npm%3A0.6.2#./.yarn/patches/inline-source-map-npm-0.6.2-96902459a0.patch","plugin-error@^1.0.1":"patch:plugin-error@npm%3A1.0.1#./.yarn/patches/plugin-error-npm-1.0.1-7d15e880d6.patch","plugin-error@1.0.1":"patch:plugin-error@npm%3A1.0.1#./.yarn/patches/plugin-error-npm-1.0.1-7d15e880d6.patch","ws@8.13.0":"^8.17.1","jsdom@^16.7.0":"patch:jsdom@npm%3A16.7.0#./.yarn/patches/jsdom-npm-16.7.0-216c5c4bf9.patch",trim:"^0.0.3","@eslint/eslintrc@npm:^2.1.4":"patch:@eslint/eslintrc@npm%3A2.1.4#~/.yarn/patches/@eslint-eslintrc-npm-2.1.4-1ff4b5f908.patch","@fortawesome/fontawesome-free@^5.13.0":"patch:@fortawesome/fontawesome-free@npm%3A5.13.0#./.yarn/patches/@fortawesome-fontawesome-free-npm-5.13.0-f20fc0388d.patch","fast-json-patch@^3.1.0":"patch:fast-json-patch@npm%3A3.1.1#./.yarn/patches/fast-json-patch-npm-3.1.1-7e8bb70a45.patch","watchify@^4.0.0":"patch:watchify@npm%3A4.0.0#./.yarn/patches/watchify-npm-4.0.0-4fd965dd49.patch","undeclared-identifiers@^1.1.2":"patch:undeclared-identifiers@npm%3A1.1.2#./.yarn/patches/undeclared-identifiers-npm-1.1.2-13d6792e9e.patch","stylelint@^13.6.1":"patch:stylelint@npm%3A13.6.1#./.yarn/patches/stylelint-npm-13.6.1-47aaddf62b.patch","symbol-observable":"^2.0.3",tar:"^7.5.9","async-done@~1.3.2":"patch:async-done@npm%3A1.3.2#./.yarn/patches/async-done-npm-1.3.2-1f0a4a8997.patch","async-done@^1.2.0":"patch:async-done@npm%3A1.3.2#./.yarn/patches/async-done-npm-1.3.2-1f0a4a8997.patch","async-done@^1.2.2":"patch:async-done@npm%3A1.3.2#./.yarn/patches/async-done-npm-1.3.2-1f0a4a8997.patch","fast-json-patch@^3.1.1":"patch:fast-json-patch@npm%3A3.1.1#./.yarn/patches/fast-json-patch-npm-3.1.1-7e8bb70a45.patch","@types/readable-stream-2@^2.3.15":"npm:@types/readable-stream@^2.3.15","@types/readable-stream-3@^4.0.4":"npm:@types/readable-stream@^4.0.4","readable-stream-2@^2.3.3":"npm:readable-stream@^2.3.3","readable-stream-3@^3.6.2":"npm:readable-stream@^3.6.2","@metamask/snaps-sdk":"^10.4.0","@babel/core":"patch:@babel/core@npm%3A7.25.9#~/.yarn/patches/@babel-core-npm-7.25.9-4ae3bff7f3.patch","@babel/runtime":"patch:@babel/runtime@npm%3A7.26.10#~/.yarn/patches/@babel-runtime-npm-7.26.10-fe8c62510a.patch","@spruceid/siwe-parser@npm:2.1.0":"patch:@spruceid/siwe-parser@npm%3A2.1.0#~/.yarn/patches/@spruceid-siwe-parser-npm-2.1.0-060b7ede7a.patch","ts-mixer@npm:^6.0.3":"patch:ts-mixer@npm%3A6.0.4#~/.yarn/patches/ts-mixer-npm-6.0.4-5d9747bdf5.patch","@json-schema-spec/json-pointer@npm:^0.1.2":"patch:@json-schema-spec/json-pointer@npm%3A0.1.2#~/.yarn/patches/@json-schema-spec-json-pointer-npm-0.1.2-3d06119887.patch","@json-schema-tools/reference-resolver@npm:^1.2.6":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","@json-schema-tools/reference-resolver@npm:1.2.4":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","@json-schema-tools/reference-resolver@npm:^1.2.4":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","@json-schema-tools/reference-resolver@npm:^1.2.1":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","path-to-regexp":"1.9.0","@ledgerhq/cryptoassets-evm-signatures/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@ledgerhq/domain-service/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@ledgerhq/evm-tools/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@ledgerhq/hw-app-eth/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@slack/webhook/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@stellar/stellar-sdk/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@ledgerhq/hw-app-eth@npm:^6.42.0":"patch:@ledgerhq/hw-app-eth@npm%3A6.42.2#~/.yarn/patches/@ledgerhq-hw-app-eth-npm-6.42.2-46a44bfbf5.patch","@ledgerhq/evm-tools@npm:^1.3.0":"patch:@ledgerhq/evm-tools@npm%3A1.3.0#~/.yarn/patches/@ledgerhq-evm-tools-npm-1.3.0-57435278f6.patch","cross-spawn@npm:^5.0.1":"^7.0.6","secp256k1@npm:^4.0.0":"4.0.4","secp256k1@npm:^4.0.1":"4.0.4","secp256k1@npm:4.0.2":"4.0.4","secp256k1@npm:4.0.3":"4.0.4","tslib@npm:^2.0.0":"~2.6.0","tslib@npm:^2.0.1":"~2.6.0","tslib@npm:^2.0.3":"~2.6.0","tslib@npm:^2.1.0":"~2.6.0","tslib@npm:^2.3.0":"~2.6.0","tslib@npm:^2.3.1":"~2.6.0","tslib@npm:^2.4.0":"~2.6.0","tslib@npm:^2.6.2":"~2.6.0","gridplus-sdk/elliptic":"^6.6.1","@ethereumjs/tx":"patch:@ethereumjs/tx@npm%3A5.4.0#~/.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch","@ledgerhq/errors":"^6.21.0","@trezor/connect-web":"~9.6.0","nanoid@npm:^5.1.5":"^3.3.8",lodash:"patch:lodash@npm%3A4.17.23#~/.yarn/patches/lodash-npm-4.17.23-50bdb1c01a.patch",dompurify:"patch:dompurify@npm%3A3.2.5#~/.yarn/patches/dompurify-npm-3.2.5-d9af707abe.patch","jsonpath-plus":"^10.3.0","@endo/env-options@npm:^1.1.11":"patch:@endo/env-options@npm%3A1.1.11#~/.yarn/patches/@endo-env-options-npm-1.1.11-1b7fae374a.patch","@endo/env-options@npm:^1.1.8":"patch:@endo/env-options@npm%3A1.1.11#~/.yarn/patches/@endo-env-options-npm-1.1.11-1b7fae374a.patch","@metamask/jazzicon@npm:^2.0.0":"patch:@metamask/jazzicon@npm%3A2.0.0#~/.yarn/patches/@metamask-jazzicon-npm-2.0.0-36957be38d.patch","@rive-app/canvas@npm:2.31.5":"patch:@rive-app/canvas@patch%3A@rive-app/canvas@patch%253A@rive-app/canvas@npm%25253A2.31.5%2523~/.yarn/patches/@rive-app-canvas-npm-2.31.5-df519c6e0f.patch%253A%253Aversion=2.31.5&hash=1ed092%23~/.yarn/patches/@rive-app-canvas-patch-9b746e9393.patch%3A%3Aversion=2.31.5&hash=19c5d0#~/.yarn/patches/@rive-app-canvas-patch-03752f0c3b.patch","tailwindcss@npm:^3.0.0":"patch:tailwindcss@npm%3A3.4.17#~/.yarn/patches/tailwindcss-npm-3.4.17-403059edc1.patch","@metamask/bridge-controller@npm:^64.3.0":"patch:@metamask/bridge-controller@npm%3A64.0.0#~/.yarn/patches/@metamask-bridge-controller-npm-64.0.0-956740f7c8.patch","which@npm:^1.2.12":"^4.0.0","which@npm:^1.2.14":"^4.0.0","which@npm:^1.3.1":"^4.0.0","qs@npm:6.13.0":"^6.14.1","@metamask/bridge-status-controller":"64.3.0","@ledgerhq/hw-transport-webhid@npm:^6.31.0":"patch:@ledgerhq/hw-transport-webhid@npm%3A6.31.0#~/.yarn/patches/@ledgerhq-hw-transport-webhid-npm-6.31.0-efbecf27ab.patch","fast-xml-parser":"^5.3.6","@metamask/snaps-controllers":"^18.0.0"},dependencies:{"@babel/runtime":"patch:@babel/runtime@npm%3A7.26.10#~/.yarn/patches/@babel-runtime-npm-7.26.10-fe8c62510a.patch","@blockaid/ppom_release":"^1.5.3","@date-io/luxon":"^1.3.13","@ensdomains/content-hash":"^2.5.7","@ethereumjs/tx":"patch:@ethereumjs/tx@npm%3A5.4.0#~/.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch","@ethersproject/abi":"^5.6.4","@ethersproject/bignumber":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/contracts":"^5.7.0","@ethersproject/hdnode":"^5.6.2","@ethersproject/providers":"^5.7.2","@ethersproject/transactions":"^5.7.0","@fortawesome/fontawesome-free":"^5.13.0","@keystonehq/bc-ur-registry-eth":"^0.22.1","@lavamoat/lavadome-react":"0.0.20","@lavamoat/snow":"^2.0.4","@lavamoat/webpack":"1.5.8","@ledgerhq/errors":"^6.21.0","@ledgerhq/hw-app-eth":"^6.42.0","@ledgerhq/hw-transport":"^6.31.0","@ledgerhq/hw-transport-webhid":"^6.31.0","@material-ui/core":"^4.12.4","@material-ui/pickers":"^3.3.11","@metamask/abi-utils":"^3.0.0","@metamask/account-api":"^0.12.0","@metamask/account-tree-controller":"^4.1.0","@metamask/account-watcher":"^4.1.3","@metamask/accounts-controller":"^35.0.2","@metamask/address-book-controller":"^7.0.1","@metamask/announcement-controller":"^8.0.0","@metamask/approval-controller":"^8.0.0","@metamask/assets-controller":"^2.0.0","@metamask/assets-controllers":"^99.4.0","@metamask/base-controller":"^9.0.0","@metamask/bitcoin-wallet-snap":"^1.10.0","@metamask/bridge-controller":"^65.3.0","@metamask/bridge-status-controller":"^64.4.4","@metamask/browser-passworder":"^6.0.0","@metamask/chain-agnostic-permission":"^1.3.0","@metamask/claims-controller":"^0.4.2","@metamask/connectivity-controller":"^0.1.0","@metamask/contract-metadata":"^2.5.0","@metamask/controller-utils":"^11.18.0","@metamask/core-backend":"^5.0.0","@metamask/delegation-controller":"^1.0.0","@metamask/delegation-core":"^0.2.0-rc.1","@metamask/delegation-deployments":"^0.15.0","@metamask/design-system-react":"^0.7.0","@metamask/design-system-tailwind-preset":"^0.6.1","@metamask/design-tokens":"^8.1.1","@metamask/eip-5792-middleware":"^2.1.0","@metamask/eip-7702-internal-rpc-middleware":"^0.1.0","@metamask/ens-controller":"^18.0.0","@metamask/ens-resolver-snap":"^1.1.0","@metamask/error-reporting-service":"^3.0.0","@metamask/eth-json-rpc-filters":"^9.0.0","@metamask/eth-json-rpc-middleware":"^23.1.0","@metamask/eth-ledger-bridge-keyring":"11.3.0","@metamask/eth-qr-keyring":"^1.1.0","@metamask/eth-sig-util":"^8.2.0","@metamask/eth-snap-keyring":"^18.0.2","@metamask/eth-token-tracker":"^10.0.2","@metamask/eth-trezor-keyring":"^9.0.0","@metamask/etherscan-link":"^3.0.0","@metamask/gas-fee-controller":"^25.0.0","@metamask/gator-permissions-controller":"^1.1.2","@metamask/gator-permissions-snap":"^1.1.1","@metamask/hw-wallet-sdk":"^0.5.0","@metamask/institutional-wallet-snap":"1.3.4","@metamask/jazzicon":"patch:@metamask/jazzicon@npm%3A2.0.0#~/.yarn/patches/@metamask-jazzicon-npm-2.0.0-36957be38d.patch","@metamask/json-rpc-engine":"^10.2.1","@metamask/json-rpc-middleware-stream":"^8.0.4","@metamask/kernel-browser-runtime":"^0.4.0","@metamask/kernel-shims":"^0.3.0","@metamask/kernel-ui":"^0.3.0","@metamask/kernel-utils":"^0.3.0","@metamask/keyring-api":"^21.4.0","@metamask/keyring-controller":"^25.1.0","@metamask/keyring-internal-api":"^9.1.0","@metamask/keyring-internal-snap-client":"^8.0.0","@metamask/keyring-snap-client":"^8.1.0","@metamask/keyring-utils":"^3.1.0","@metamask/logger":"^0.5.0","@metamask/logging-controller":"^7.0.0","@metamask/logo":"^4.0.0","@metamask/message-manager":"^14.0.0","@metamask/message-signing-snap":"1.1.4","@metamask/messenger":"^0.3.0","@metamask/metamask-eth-abis":"^3.1.1","@metamask/multichain-account-service":"^6.0.0","@metamask/multichain-api-client":"^0.10.1","@metamask/multichain-api-middleware":"^1.2.5","@metamask/multichain-network-controller":"^2.0.0","@metamask/multichain-transactions-controller":"^6.0.0","@metamask/name-controller":"^9.0.0","@metamask/network-controller":"^30.0.0","@metamask/network-enablement-controller":"^4.1.0","@metamask/notification-services-controller":"^22.0.0","@metamask/object-multiplex":"^2.0.0","@metamask/obs-store":"^9.0.0","@metamask/permission-controller":"^12.1.0","@metamask/permission-log-controller":"^5.0.0","@metamask/permissions-kernel-snap":"^1.0.0","@metamask/phishing-controller":"^15.0.0","@metamask/polling-controller":"^16.0.2","@metamask/post-message-stream":"^10.0.0","@metamask/ppom-validator":"0.39.0","@metamask/preinstalled-example-snap":"^0.7.2","@metamask/profile-metrics-controller":"^3.0.0","@metamask/profile-sync-controller":"^27.1.0","@metamask/providers":"^22.1.1","@metamask/rate-limit-controller":"^7.0.0","@metamask/remote-feature-flag-controller":"^3.0.0","@metamask/rpc-errors":"^7.0.0","@metamask/safe-event-emitter":"^3.1.1","@metamask/scure-bip39":"^2.0.3","@metamask/seedless-onboarding-controller":"^8.0.0","@metamask/selected-network-controller":"^25.0.0","@metamask/shield-controller":"^5.0.1","@metamask/signature-controller":"^39.0.1","@metamask/smart-transactions-controller":"^22.5.0","@metamask/snaps-controllers":"^18.0.0","@metamask/snaps-execution-environments":"^11.0.0","@metamask/snaps-rpc-methods":"^14.3.0","@metamask/snaps-sdk":"^10.4.0","@metamask/snaps-utils":"^12.1.0","@metamask/solana-wallet-snap":"^2.7.3","@metamask/solana-wallet-standard":"^0.6.0","@metamask/storage-service":"^1.0.0","@metamask/streams":"^0.4.0","@metamask/subscription-controller":"^6.0.0","@metamask/transaction-controller":"^62.16.0","@metamask/transaction-pay-controller":"^12.2.0","@metamask/tron-wallet-snap":"^1.21.1","@metamask/user-operation-controller":"^40.0.0","@metamask/utils":"^11.4.2","@ngraveio/bc-ur":"^1.1.13","@noble/hashes":"^1.3.3","@popperjs/core":"^2.4.0","@reduxjs/toolkit":"patch:@reduxjs/toolkit@npm%3A1.9.7#~/.yarn/patches/@reduxjs-toolkit-npm-1.9.7-b14925495c.patch","@rive-app/react-canvas":"patch:@rive-app/react-canvas@npm%3A4.23.3#~/.yarn/patches/@rive-app-react-canvas-npm-4.23.3-3ab1940c19.patch","@scure/base":"^1.2.5","@segment/loosely-validate-event":"^2.0.0","@sentry/browser":"patch:@sentry/browser@npm%3A8.33.1#~/.yarn/patches/@sentry-browser-npm-8.33.1-4405cafca3.patch","@sentry/types":"^8.33.1","@sentry/utils":"^8.33.1","@solana/addresses":"2.0.0-rc.4","@swc/core":"^1.13.2","@tanstack/react-query":"^4.36.1","@tanstack/react-virtual":"^3.10.8","@trezor/connect-web":"~9.6.0","@zxing/browser":"^0.1.5","@zxing/library":"0.21.3","await-semaphore":"^0.1.3","base32-encode":"^1.2.0","base64-js":"^1.5.1","bignumber.js":"^4.1.0","bitcoin-address-validation":"^2.2.3","bn.js":"^5.2.1",bowser:"^2.11.0","chart.js":"^4.4.1",classnames:"^2.2.6",cockatiel:"^3.1.2","copy-to-clipboard":"^3.3.3","cron-parser":"^4.5.0","currency-formatter":"^1.4.2","deep-freeze-strict":"1.1.1",dompurify:"patch:dompurify@npm%3A3.2.5#~/.yarn/patches/dompurify-npm-3.2.5-d9af707abe.patch","eth-chainlist":"~0.0.498","eth-ens-namehash":"^2.0.8","eth-lattice-keyring":"patch:eth-lattice-keyring@npm%3A0.12.4#~/.yarn/patches/eth-lattice-keyring-npm-0.12.4-c5fb3fcf54.patch","eth-method-registry":"^4.0.0","ethereum-cryptography":"^3.2.0","ethereumjs-util":"^7.0.10","extension-port-stream":"^5.0.3","fast-json-patch":"^3.1.1","fast-json-stable-stringify":"^2.1.0","fuse.js":"^3.2.0",he:"^1.2.0","human-standard-token-abi":"^2.0.0","humanize-duration":"^3.32.1",immer:"^9.0.6","ip-regex":"^4.3.0","is-retry-allowed":"^2.2.0","jest-junit":"^14.0.1","labeled-stream-splicer":"^2.0.2","lavamoat-browserify":"^19.0.2","lightweight-charts":"^5.1.0",localforage:"^1.9.0",lodash:"^4.17.23",loglevel:"^1.8.1","lottie-web":"^5.12.2",luxon:"^3.2.1",nanoid:"^3.3.8",pify:"^5.0.0","prop-types":"^15.6.1",punycode:"^2.1.1","qrcode-generator":"^2.0.4","qrcode.react":"^4.2.0",react:"^17.0.2","react-beautiful-dnd":"^13.1.1","react-chartjs-2":"^5.2.0","react-compiler-runtime":"^1.0.0","react-dom":"^17.0.2","react-focus-lock":"^2.9.4","react-idle-timer":"4.5.6","react-markdown":"^6.0.3","react-popper":"^2.2.3","react-redux":"^7.2.9","react-router-dom":"^6.28.0","react-simple-file-input":"^2.0.0","react-tippy":"^1.2.2","react-toggle-button":"^2.2.0","react-transition-group":"^4.4.5","readable-stream":"^4.7.0",redux:"^4.0.5","redux-thunk":"^2.3.0","remove-trailing-slash":"^0.1.1",reselect:"^5.1.1",ses:"^1.1.0","ts-mixer":"patch:ts-mixer@npm%3A6.0.4#~/.yarn/patches/ts-mixer-npm-6.0.4-5d9747bdf5.patch",tslib:"~2.6.0","unicode-confusables":"^0.1.1","uri-js":"^4.4.1",uuid:"^8.3.2",xml2js:"^0.6.2"},devDependencies:{"@actions/core":"^1.10.0","@actions/github":"^5.1.1","@babel/code-frame":"^7.25.9","@babel/core":"patch:@babel/core@npm%3A7.25.9#~/.yarn/patches/@babel-core-npm-7.25.9-4ae3bff7f3.patch","@babel/eslint-parser":"^7.25.9","@babel/eslint-plugin":"^7.25.9","@babel/plugin-transform-logical-assignment-operators":"^7.25.9","@babel/preset-env":"^7.25.9","@babel/preset-react":"^7.25.9","@babel/preset-typescript":"^7.25.9","@babel/register":"^7.25.9","@jest/globals":"^29.7.0","@lavamoat/allow-scripts":"^3.4.3","@lavamoat/lavadome-core":"0.0.20","@lavamoat/lavapack":"^7.0.22","@lydell/node-pty":"^1.1.0","@metamask/api-specs":"^0.13.0","@metamask/auto-changelog":"^5.3.1","@metamask/build-utils":"^3.0.0","@metamask/eslint-config":"^12.0.0","@metamask/eslint-config-jest":"^12.0.0","@metamask/eslint-config-mocha":"^12.0.0","@metamask/eslint-config-nodejs":"^12.0.0","@metamask/eslint-config-typescript":"^12.0.0","@metamask/eslint-plugin-design-tokens":"^1.1.0","@metamask/eth-json-rpc-provider":"^6.0.0","@metamask/forwarder":"^1.1.0","@metamask/foundryup":"^1.0.1","@metamask/phishing-warning":"^5.1.0","@metamask/preferences-controller":"^21.0.0","@metamask/snap-account-abstraction-keyring-site":"^1.0.0","@metamask/snap-simple-keyring-site":"^2.0.0","@metamask/superstruct":"^3.2.1","@metamask/test-bundler":"^1.0.0","@metamask/test-dapp":"9.3.0","@metamask/test-dapp-multichain":"^0.17.0","@metamask/test-dapp-solana":"^0.3.1","@metamask/test-dapp-tron":"^0.3.1","@metamask/test-snaps":"^3.4.0","@noble/ciphers":"^1.3.0","@noble/curves":"^1.9.2","@octokit/types":"^14.0.0","@open-rpc/meta-schema":"^1.14.6","@open-rpc/mock-server":"^1.7.5","@open-rpc/schema-utils-js":"^2.0.5","@open-rpc/test-coverage":"^2.2.4","@playwright/test":"^1.54.2","@pmmmwh/react-refresh-webpack-plugin":"^0.6.2","@sentry/cli":"^2.56.0","@sentry/node":"^10.30.0","@slack/types":"^2.14.0","@slack/webhook":"^7.0.5","@storybook/addon-a11y":"^7.6.21","@storybook/addon-actions":"^7.6.21","@storybook/addon-docs":"^7.6.21","@storybook/addon-essentials":"^7.6.21","@storybook/addons":"^7.6.21","@storybook/api":"^7.6.21","@storybook/client-api":"^7.6.21","@storybook/components":"^7.6.21","@storybook/react":"^7.6.21","@storybook/react-webpack5":"^7.6.21","@storybook/storybook-deployer":"^2.8.16","@storybook/test-runner":"^0.14.1","@storybook/theming":"^7.6.21","@swc/helpers":"^0.5.17","@swc/types":"^0.1.23","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^12.1.5","@testing-library/react-hooks":"^8.0.1","@testing-library/user-event":"^14.6.1","@toruslabs/eccrypto":"^6.1.0","@tsconfig/node22":"^22.0.0","@types/babelify":"^7.3.7","@types/browserify":"^12.0.37","@types/chrome":"^0.0.268","@types/currency-formatter":"^1.5.1","@types/eslint-plugin-tailwindcss":"^3","@types/fs-extra":"^9.0.13","@types/gulp":"^4.0.9","@types/gulp-autoprefixer":"^0.0.33","@types/gulp-sass":"^5.0.0","@types/gulp-sourcemaps":"^0.0.35","@types/he":"^1","@types/humanize-duration":"^3.27.4","@types/jest":"^29.5.12","@types/jsonwebtoken":"^9.0.10","@types/luxon":"^3.4.2","@types/madge":"^5.0.3","@types/micromatch":"^4","@types/mocha":"^10.0.3","@types/node":"^20","@types/path-browserify":"^1.0.2","@types/pify":"^5.0.1","@types/react":"^17.0.11","@types/react-beautiful-dnd":"^13","@types/react-dom":"^17.0.11","@types/react-redux":"^7.1.25","@types/react-router-dom":"^5.3.3","@types/readable-stream":"4.0.4","@types/readable-stream-2":"^2.3.15","@types/readable-stream-3":"^4.0.4","@types/redux-mock-store":"1.0.6","@types/remote-redux-devtools":"^0.5.5","@types/selenium-webdriver":"^4.1.28","@types/serve-handler":"^6.1.4","@types/sinon":"^10.0.13","@types/sprintf-js":"^1","@types/unzipper":"^0.10.10","@types/w3c-web-hid":"^1.0.3","@types/watchify":"^3.11.1","@types/webextension-polyfill":"^0.10.4","@types/ws":"^8.5.10","@types/xml2js":"^0","@types/yargs":"^17.0.32","@types/yargs-parser":"^21.0.3","@typescript-eslint/eslint-plugin":"^7.10.0","@typescript-eslint/parser":"^7.10.0","@viem/anvil":"^0.0.10","@welldone-software/why-did-you-render":"^8.0.3","addons-linter":"^9.5.0",autoprefixer:"^10.4.19",axios:"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","babel-plugin-react-compiler":"^1.0.0",babelify:"^10.0.0","bify-module-groups":"^2.0.0",browserify:"^17.0.0",browserslist:"^4.28.1",bs58:"^6.0.0",buffer:"^6.0.3",chalk:"^4.1.2",chokidar:"^3.6.0",commander:"^14.0.0",concurrently:"^8.2.2","copy-webpack-plugin":"^13.0.1","core-js-pure":"^3.38.0","crypto-browserify":"^3.12.0","css-loader":"^6.10.0","css-to-xpath":"^0.1.0",csstype:"^3.0.11",del:"^6.1.1",depcheck:"^1.4.3","detect-port":"^1.5.1",dotenv:"^16.4.5",duplexify:"^4.1.1",eslint:"patch:eslint@npm%3A8.57.0#~/.yarn/patches/eslint-npm-8.57.0-4286e12a3a.patch","eslint-config-prettier":"^10.1.5","eslint-import-resolver-node":"^0.3.4","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"41.1.2","eslint-plugin-mocha":"^10.1.0","eslint-plugin-n":"^15.7.0","eslint-plugin-prettier":"^5.5.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-react":"^7.37.5","eslint-plugin-react-compiler":"19.1.0-rc.2","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-storybook":"^0.6.15","eslint-plugin-tailwindcss":"^3.18.0",eta:"^3.2.0",ethers:"^5.7.0","fake-indexeddb":"^6.1.0","fancy-log":"^1.3.3","fast-glob":"^3.2.2",fflate:"^0.8.2","fs-extra":"^8.1.0",ganache:"patch:ganache@npm%3A7.9.2#~/.yarn/patches/ganache-npm-7.9.2-a70dc8da34.patch","gh-pages":"^5.0.0",globby:"^11.0.4",gulp:"^4.0.2","gulp-autoprefixer":"^8.0.0","gulp-livereload":"4.0.0","gulp-postcss":"^9.0.1","gulp-sass":"^5.1.0","gulp-sort":"^2.0.0","gulp-sourcemaps":"^3.0.0","gulp-watch":"^5.0.1","gulp-zip":"^5.1.0","html-bundler-webpack-plugin":"patch:html-bundler-webpack-plugin@npm%3A4.22.0#~/.yarn/patches/html-bundler-webpack-plugin-npm-4.22.0-5c9a1ad61e.patch","http-server":"^14.1.1","https-browserify":"^1.0.0",husky:"^8.0.3",ini:"^3.0.0",jest:"^29.7.0","jest-canvas-mock":"^2.3.1","jest-clean-console-reporter":"^0.3.0","jest-environment-jsdom":"patch:jest-environment-jsdom@npm%3A29.7.0#~/.yarn/patches/jest-environment-jsdom-npm-29.7.0-0b72dd0e0b.patch","jest-fixed-jsdom":"^0.0.9","jest-preview":"^0.3.1",jsdom:"^16.7.0","json-schema-to-ts":"^3.0.1",jsonwebtoken:"^9.0.2",koa:"^3.1.1",lavamoat:"10.0.5","lavamoat-viz":"^7.0.5",level:"^8.0.1","lockfile-lint":"^4.10.6","loose-envify":"^1.4.0",madge:"^8.0.0",micromatch:"^4.0.8","mini-css-extract-plugin":"^2.9.1",mocha:"^10.2.0","mocha-junit-reporter":"^2.2.1",mockttp:"^3.10.1","navigator.locks":"^0.8.6",nock:"patch:nock@npm%3A13.5.4#~/.yarn/patches/nock-npm-13.5.4-2c4f77b249.patch","node-fetch":"^2.6.1",nyc:"^15.1.0",octokit:"^4.1.3","path-browserify":"^1.0.1",postcss:"^8.4.32","postcss-discard-font-face":"^3.0.0","postcss-loader":"^8.1.1","postcss-rtlcss":"^4.0.9",prettier:"^3.6.2","prettier-2":"npm:prettier@^2.8.8","prettier-eslint":"^16.4.2","prettier-plugin-sort-json":"^4.1.1",process:"^0.11.10",pumpify:"^2.0.1",randomcolor:"^0.5.4","react-compiler-webpack":"^1.0.0","react-devtools":"^6.1.5","react-devtools-core":"^6.1.5","react-syntax-highlighter":"^15.5.0","read-installed":"^4.0.3","readable-stream-2":"^2.3.3","readable-stream-3":"^3.6.2","redux-mock-store":"^1.5.4","remote-redux-devtools":"^0.5.16","resolve-url-loader":"^3.1.5","sass-embedded":"^1.71.0","sass-loader":"^14.1.1","schema-utils":"^4.2.0","selenium-webdriver":"^4.31.0",semver:"^7.5.4","serve-handler":"^6.1.2",sharp:"^0.34.2",sinon:"^9.0.0","source-map":"^0.7.4","source-map-explorer":"^2.4.2","sprintf-js":"^1.1.3",storybook:"^7.6.21","stream-browserify":"^3.0.0","stream-http":"^3.2.0","string.prototype.matchall":"^4.0.2","style-loader":"^0.21.0",stylelint:"^13.6.1",tailwindcss:"patch:tailwindcss@npm%3A3.4.17#~/.yarn/patches/tailwindcss-npm-3.4.17-403059edc1.patch",terser:"^5.44.1","terser-webpack-plugin":"^5.3.16",through2:"^4.0.2","ts-node":"^10.9.2",tsx:"^4.20.6",tweetnacl:"^1.0.3",typescript:"~5.6.0",unzipper:"^0.12.3",viem:"^2.21.8",vinyl:"^2.2.1","vinyl-buffer":"^1.0.1","vinyl-source-stream":"^2.0.0","vinyl-sourcemaps-apply":"^0.2.1","wait-on":"^7.0.1",watchify:"^4.0.0","webextension-polyfill":"^0.8.0",webpack:"^5.104.1","webpack-cli":"^6.0.1","webpack-dev-server":"^5.2.2",ws:"^8.17.1",yaml:"^2.4.1",yargs:"^17.7.2","yargs-parser":"^21.1.1"},engines:{node:">=24.13.0",yarn:"^4.12.0"},lavamoat:{allowScripts:{$root$:!0,"@lavamoat/lavadome-core>@lavamoat/preinstall-always-fail":!1,"@metamask/kernel-browser-runtime>@metamask/kernel-store>better-sqlite3":!1,"@metamask/streams":!1,"@metamask/test-dapp-solana>@solana/spl-token>@solana/buffer-layout-utils>bigint-buffer":!1,"@sentry/cli":!0,"@storybook/test-runner>@storybook/core-common>esbuild":!1,"@swc/core":!0,"@trezor/connect-web>@trezor/connect>@trezor/protobuf>protobufjs":!1,"@trezor/connect-web>@trezor/connect>@trezor/transport>usb":!1,"@trezor/connect-web>@trezor/connect>@trezor/utxo-lib>blake-hash":!1,"@trezor/connect-web>@trezor/connect>@trezor/utxo-lib>tiny-secp256k1":!1,"core-js-pure":!0,"eth-lattice-keyring>gridplus-sdk":!1,"ethereumjs-util>ethereum-cryptography>keccak":!1,"ganache>@trufflesuite/bigint-buffer":!1,"ganache>@trufflesuite/uws-js-unofficial>bufferutil":!1,"ganache>@trufflesuite/uws-js-unofficial>utf-8-validate":!1,"ganache>bufferutil":!1,"ganache>keccak":!1,"ganache>leveldown":!1,"ganache>secp256k1":!1,"ganache>utf-8-validate":!1,"jest-preview":!1,"level>classic-level":!1,"react-devtools>electron":!0,"resolve-url-loader>es6-iterator>es5-ext":!1,sharp:!0,"tsx>esbuild":!0,"ws>bufferutil":!1,"ws>utf-8-validate":!1}},packageManager:"yarn@4.12.0",foundryup:{binaries:["anvil"],checksums:{algorithm:"sha256",binaries:{anvil:{"darwin-amd64":"8404e555223fe884557d5e22de494baf8b5f0b82c6f87a4c790c5150e546c9d0","darwin-arm64":"888500bc210752e71a355ed4d492ad6dcb4c0ef54d283c105a29a5ccc73d0dbd","linux-amd64":"6104069b183fa0f3cdcb692681da9dbd203a3c1bceb435853bbf7abd991c649e","linux-arm64":"d66ed8f848e829882ebb65d28aaac72aeab6a101655bb62147186040655928b5","win32-amd64":"6c71d9a7be39ed32b53c89bdbc83aa748f41587517212ffe2a8b955c3e9c2e9b"}}},version:"v0.3.0"}}}}},{package:"$root$",file:"package.json"}],[6384,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Web3ShimUsageAlertStates=r.TOGGLEABLE_ALERT_TYPES=r.AlertTypes=void 0;let n=r.AlertTypes=function(e){return e.unconnectedAccount="unconnectedAccount",e.web3ShimUsage="web3ShimUsage",e.invalidCustomNetwork="invalidCustomNetwork",e.smartTransactionsMigration="smartTransactionsMigration",e}({});r.TOGGLEABLE_ALERT_TYPES=[n.unconnectedAccount,n.web3ShimUsage,n.smartTransactionsMigration];r.Web3ShimUsageAlertStates=function(e){return e[e.recorded=1]="recorded",e[e.dismissed=2]="dismissed",e}({})}}},{package:"$root$",file:"shared/constants/alerts.ts"}],[6385,{"../lib/trace":6518,"./metametrics":6402},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.StorageWriteErrorType=r.PasswordChangeToastType=r.ClaimSubmitToastType=r.AccountOverviewTabKey=r.ACCOUNT_OVERVIEW_TAB_KEY_TO_TRACE_NAME_MAP=r.ACCOUNT_OVERVIEW_TAB_KEY_TO_METAMETRICS_EVENT_NAME_MAP=void 0;var n=e("../lib/trace"),i=e("./metametrics");let o=r.AccountOverviewTabKey=function(e){return e.Tokens="tokens",e.Nfts="nfts",e.Activity="activity",e.DeFi="defi",e.Perps="perps",e}({});r.ACCOUNT_OVERVIEW_TAB_KEY_TO_METAMETRICS_EVENT_NAME_MAP={[o.Tokens]:i.MetaMetricsEventName.TokenScreenOpened,[o.DeFi]:i.MetaMetricsEventName.DeFiScreenOpened,[o.Activity]:i.MetaMetricsEventName.ActivityScreenOpened,[o.Perps]:i.MetaMetricsEventName.PerpsScreenOpened},r.ACCOUNT_OVERVIEW_TAB_KEY_TO_TRACE_NAME_MAP={[o.Tokens]:n.TraceName.AccountOverviewAssetListTab,[o.Nfts]:n.TraceName.AccountOverviewNftsTab,[o.Activity]:n.TraceName.AccountOverviewActivityTab,[o.DeFi]:n.TraceName.AccountOverviewDeFiTab,[o.Perps]:n.TraceName.AccountOverviewPerpsTab};r.PasswordChangeToastType=function(e){return e.Success="success",e.Errored="errored",e}({}),r.ClaimSubmitToastType=function(e){return e.Success="success",e.Errored="errored",e.DraftSaved="draft-saved",e.DraftSaveFailed="draft-save-failed",e.DraftDeleted="draft-deleted",e.DraftDeleteFailed="draft-delete-failed",e}({}),r.StorageWriteErrorType=function(e){return e.Default="default",e.FileErrorNoSpace="file-error-no-space",e}({})}}},{package:"$root$",file:"shared/constants/app-state.ts"}],[6386,{"./permissions":6410,"@metamask/snaps-rpc-methods":3338},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.UNKNOWN_TICKER_SYMBOL=r.TRACE_ENABLED_SIGN_METHODS=r.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES=r.SMART_TRANSACTION_CONFIRMATION_TYPES=r.POLLING_TOKEN_ENVIRONMENT_TYPES=r.PLATFORM_YANDEX=r.PLATFORM_WHALE=r.PLATFORM_VIVALDI=r.PLATFORM_UCBROWSER=r.PLATFORM_SILK=r.PLATFORM_SAMSUNG=r.PLATFORM_QQBROWSER=r.PLATFORM_PUFFIN=r.PLATFORM_OTHER=r.PLATFORM_OPERA=r.PLATFORM_MISES=r.PLATFORM_MAXTHON=r.PLATFORM_LEMUR=r.PLATFORM_KIWI=r.PLATFORM_FIREFOX=r.PLATFORM_EDGE_ANDROID=r.PLATFORM_EDGE=r.PLATFORM_COCCOC=r.PLATFORM_CHROMIUM=r.PLATFORM_CHROME=r.PLATFORM_BRAVE=r.PLATFORM=r.OS=r.ORIGIN_METAMASK=r.METAMASK_PROD_CHROME_ID=r.METAMASK_MMI_PROD_CHROME_ID=r.METAMASK_MMI_BETA_CHROME_ID=r.METAMASK_FLASK_CHROME_ID=r.METAMASK_BETA_CHROME_ID=r.MESSAGE_TYPE=r.INSTALL_TYPE=r.HYPERLIQUID_APPROVAL_TYPE=r.GMX_APPROVAL_TYPE=r.FIREFOX_BUILD_IDS=r.ENVIRONMENT_TYPE_SIDEPANEL=r.ENVIRONMENT_TYPE_POPUP=r.ENVIRONMENT_TYPE_NOTIFICATION=r.ENVIRONMENT_TYPE_FULLSCREEN=r.ENVIRONMENT_TYPE_BACKGROUND=r.DOWNLOAD_MOBILE_APP_SLIDE_ID=r.DEVICE_TYPE=r.CHROME_BUILD_IDS=r.ASTERDEX_APPROVAL_TYPE=void 0;var n=e("@metamask/snaps-rpc-methods"),i=e("./permissions");const o=r.ENVIRONMENT_TYPE_POPUP="popup",a=r.ENVIRONMENT_TYPE_NOTIFICATION="notification",s=r.ENVIRONMENT_TYPE_FULLSCREEN="fullscreen",l=r.ENVIRONMENT_TYPE_SIDEPANEL="sidepanel",u=r.ENVIRONMENT_TYPE_BACKGROUND="background",c=r.PLATFORM_BRAVE="Brave",f=r.PLATFORM_CHROME="Chrome",d=r.PLATFORM_CHROMIUM="Chromium",h=r.PLATFORM_COCCOC="CocCoc",p=r.PLATFORM_EDGE="Edge",m=r.PLATFORM_EDGE_ANDROID="EdgeAndroid",b=r.PLATFORM_FIREFOX="Firefox",g=r.PLATFORM_KIWI="Kiwi",y=r.PLATFORM_LEMUR="Lemur",w=r.PLATFORM_MAXTHON="Maxthon",_=r.PLATFORM_MISES="Mises",v=r.PLATFORM_OPERA="Opera",E=r.PLATFORM_OTHER="Other",S=r.PLATFORM_PUFFIN="Puffin",A=r.PLATFORM_QQBROWSER="QQBrowser",T=r.PLATFORM_SAMSUNG="Samsung",R=r.PLATFORM_SILK="Silk",k=r.PLATFORM_UCBROWSER="UCBrowser",x=r.PLATFORM_VIVALDI="Vivaldi",j=r.PLATFORM_WHALE="Whale",O=r.PLATFORM_YANDEX="Yandex",P=(r.PLATFORM={BRAVE:c,CHROME:f,CHROMIUM:d,COCCOC:h,EDGE:p,EDGE_ANDROID:m,FIREFOX:b,KIWI:g,LEMUR:y,MAXTHON:w,MISES:_,OPERA:v,OTHER:E,PUFFIN:S,QQBROWSER:A,SAMSUNG:T,SILK:R,UCBROWSER:k,VIVALDI:x,WHALE:j,YANDEX:O},r.INSTALL_TYPE={ADMIN:"admin",DEVELOPMENT:"development",NORMAL:"normal",SIDELOAD:"sideload",OTHER:"other",UNKNOWN:"unknown"},r.DEVICE_TYPE={DESKTOP:"desktop",MOBILE:"mobile"},r.OS={ANDROID:"Android",IOS:"iOS",LINUX:"Linux",MACOS:"macOS",UNKNOWN:"unknown",WINDOWS:"Windows",OTHER:"Other"},r.MESSAGE_TYPE={ADD_ETHEREUM_CHAIN:"wallet_addEthereumChain",ETH_ACCOUNTS:i.RestrictedMethods.eth_accounts,ETH_DECRYPT:"eth_decrypt",ETH_CHAIN_ID:"eth_chainId",ETH_GET_ENCRYPTION_PUBLIC_KEY:"eth_getEncryptionPublicKey",ETH_GET_BLOCK_BY_NUMBER:"eth_getBlockByNumber",ETH_REQUEST_ACCOUNTS:"eth_requestAccounts",ETH_SEND_TRANSACTION:"eth_sendTransaction",ETH_SEND_RAW_TRANSACTION:"eth_sendRawTransaction",ETH_SIGN_TRANSACTION:"eth_signTransaction",ETH_SIGN_TYPED_DATA:"eth_signTypedData",ETH_SIGN_TYPED_DATA_V1:"eth_signTypedData_v1",ETH_SIGN_TYPED_DATA_V3:"eth_signTypedData_v3",ETH_SIGN_TYPED_DATA_V4:"eth_signTypedData_v4",GET_PROVIDER_STATE:"metamask_getProviderState",LOG_WEB3_SHIM_USAGE:"metamask_logWeb3ShimUsage",PERSONAL_SIGN:"personal_sign",SEND_METADATA:"metamask_sendDomainMetadata",SWITCH_ETHEREUM_CHAIN:"wallet_switchEthereumChain",TRANSACTION:"transaction",WALLET_CREATE_SESSION:"wallet_createSession",WALLET_GET_CALLS_STATUS:"wallet_getCallsStatus",WALLET_GET_CAPABILITIES:"wallet_getCapabilities",WALLET_GET_SESSION:"wallet_getSession",WALLET_INVOKE_METHOD:"wallet_invokeMethod",WALLET_REQUEST_PERMISSIONS:"wallet_requestPermissions",WALLET_REVOKE_SESSION:"wallet_revokeSession",WALLET_SEND_CALLS:"wallet_sendCalls",WALLET_SESSION_CHANGED:"wallet_sessionChanged",WATCH_ASSET:"wallet_watchAsset",WATCH_ASSET_LEGACY:"metamask_watchAsset",SNAP_DIALOG_ALERT:n.DIALOG_APPROVAL_TYPES.alert,SNAP_DIALOG_CONFIRMATION:n.DIALOG_APPROVAL_TYPES.confirmation,SNAP_DIALOG_PROMPT:n.DIALOG_APPROVAL_TYPES.prompt,SNAP_DIALOG_DEFAULT:n.DIALOG_APPROVAL_TYPES.default,HYPERLIQUID_REFERRAL_CONSENT:"hyperliquid_referral_consent",ASTERDEX_REFERRAL_CONSENT:"asterdex_referral_consent",GMX_REFERRAL_CONSENT:"gmx_referral_consent"}),M=(r.HYPERLIQUID_APPROVAL_TYPE=P.HYPERLIQUID_REFERRAL_CONSENT,r.ASTERDEX_APPROVAL_TYPE=P.ASTERDEX_REFERRAL_CONSENT,r.GMX_APPROVAL_TYPE=P.GMX_REFERRAL_CONSENT,r.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES={confirmAccountCreation:"snap_manageAccounts:confirmAccountCreation",confirmAccountRemoval:"snap_manageAccounts:confirmAccountRemoval",showSnapAccountRedirect:"snap_manageAccounts:showSnapAccountRedirect"},r.SMART_TRANSACTION_CONFIRMATION_TYPES={showSmartTransactionStatusPage:"smartTransaction:showSmartTransactionStatusPage"},r.POLLING_TOKEN_ENVIRONMENT_TYPES={[o]:"popupGasPollTokens",[a]:"notificationGasPollTokens",[s]:"fullScreenGasPollTokens",[l]:"sidePanelGasPollTokens",[u]:"none"},r.ORIGIN_METAMASK="metamask",r.METAMASK_BETA_CHROME_ID="pbbkamfgmaedccnfkmjcofcecjhfgldn"),I=r.METAMASK_PROD_CHROME_ID="nkbihfbeogaeaoehlefnkodbefgpgknn",N=r.METAMASK_FLASK_CHROME_ID="ljfoeinjpaedjfecbmggjgodbgkmjkjk",C=r.METAMASK_MMI_BETA_CHROME_ID="kmbhbcbadohhhgdgihejcicbgcehoaeg",L=r.METAMASK_MMI_PROD_CHROME_ID="ikkihjamdhfiojpdbnfllpjigpneipbc";r.CHROME_BUILD_IDS=[M,I,N,C,L],r.FIREFOX_BUILD_IDS=["webextension-beta@metamask.io","webextension@metamask.io","webextension-flask@metamask.io"],r.UNKNOWN_TICKER_SYMBOL="UNKNOWN",r.TRACE_ENABLED_SIGN_METHODS=[P.ETH_SIGN_TYPED_DATA,P.ETH_SIGN_TYPED_DATA_V1,P.ETH_SIGN_TYPED_DATA_V3,P.ETH_SIGN_TYPED_DATA_V4,P.PERSONAL_SIGN],r.DOWNLOAD_MOBILE_APP_SLIDE_ID="downloadMobileApp"}}},{package:"$root$",file:"shared/constants/app.ts"}]],[],{});