LavaPack.loadBundle([["/home/runner/work/metamask-extension/metamask-extension/node_modules/react-router/dist/umd/react-router.development.js",{"@remix-run/router":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@remix-run/router/dist/router.cjs.js",react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){
/**
 * React Router v6.30.4
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
!function(r,o){"object"==typeof n&&void 0!==t?o(n,e("react"),e("@remix-run/router")):"function"==typeof define&&define.amd?define(["exports","react","@remix-run/router"],o):o((r="undefined"!=typeof globalThis?globalThis:r||self).ReactRouter={},r.React,r.RemixRouter)}(this,function(e,t,n){function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var o=r(t);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}const i=o.createContext(null);i.displayName="DataRouter";const a=o.createContext(null);a.displayName="DataRouterState";const u=o.createContext(null);u.displayName="Await";const l=o.createContext(null);l.displayName="Navigation";const d=o.createContext(null);d.displayName="Location";const c=o.createContext({outlet:null,matches:[],isDataRoute:!1});c.displayName="Route";const m=o.createContext(null);function f(){return null!=o.useContext(d)}function h(){return f()||n.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),o.useContext(d).location}m.displayName="RouteError";const p="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function b(e){o.useContext(l).static||o.useLayoutEffect(e)}function _(){let{isDataRoute:e}=o.useContext(c);return e?function(){let{router:e}=I(T.UseNavigateStable),t=M(A.UseNavigateStable),r=o.useRef(!1);return b(()=>{r.current=!0}),o.useCallback(function(o,i){void 0===i&&(i={}),n.UNSAFE_warning(r.current,p),r.current&&("number"==typeof o?e.navigate(o):e.navigate(o,s({fromRouteId:t},i)))},[e,t])}():function(){f()||n.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let e=o.useContext(i),{basename:t,future:r,navigator:s}=o.useContext(l),{matches:a}=o.useContext(c),{pathname:u}=h(),d=JSON.stringify(n.UNSAFE_getResolveToMatches(a,r.v7_relativeSplatPath)),m=o.useRef(!1);return b(()=>{m.current=!0}),o.useCallback(function(r,o){if(void 0===o&&(o={}),n.UNSAFE_warning(m.current,p),!m.current)return;if("number"==typeof r)return void s.go(r);let i=n.resolveTo(r,JSON.parse(d),u,"path"===o.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:n.joinPaths([t,i.pathname])),(o.replace?s.replace:s.push)(i,o.state,o)},[t,s,d,u,e])}()}const w=o.createContext(null);function g(e){let t=o.useContext(c).outlet;return t?o.createElement(w.Provider,{value:e},t):t}function y(e,t){let{relative:r}=void 0===t?{}:t,{future:s}=o.useContext(l),{matches:i}=o.useContext(c),{pathname:a}=h(),u=JSON.stringify(n.UNSAFE_getResolveToMatches(i,s.v7_relativeSplatPath));return o.useMemo(()=>n.resolveTo(e,JSON.parse(u),a,"path"===r),[e,u,a,r])}function k(e,t){return v(e,t)}function v(e,t,r,i){f()||n.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=o.useContext(l),{matches:u}=o.useContext(c),m=u[u.length-1],p=m?m.params:{},b=m?m.pathname:"/",_=m?m.pathnameBase:"/",w=m&&m.route;{let e=w&&w.path||"";U(b,!w||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 g,y=h();if(t){var k;let e="string"==typeof t?n.parsePath(t):t;"/"===_||(null==(k=e.pathname)?void 0:k.startsWith(_))||n.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 "'+_+'" but pathname "'+e.pathname+'" was given in the `location` prop.'),g=e}else g=y;let v=g.pathname||"/",x=v;if("/"!==_){let e=_.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(e.length).join("/")}let E=n.matchRoutes(e,{pathname:x});n.UNSAFE_warning(w||null!=E,'No routes matched location "'+g.pathname+g.search+g.hash+'" '),n.UNSAFE_warning(null==E||E[E.length-1].route.element!==undefined||E[E.length-1].route.Component!==undefined||E[E.length-1].route.lazy!==undefined,'Matched leaf route at location "'+g.pathname+g.search+g.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 j=R(E&&E.map(e=>Object.assign({},e,{params:Object.assign({},p,e.params),pathname:n.joinPaths([_,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?_:n.joinPaths([_,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),u,r,i);return t&&j?o.createElement(d.Provider,{value:{location:s({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:n.Action.Pop}},j):j}function x(){let e=N(),t=n.isRouteErrorResponse(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,s="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:s},a={padding:"2px 4px",backgroundColor:s},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=o.createElement(o.Fragment,null,o.createElement("p",null,"💿 Hey developer 👋"),o.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",o.createElement("code",{style:a},"ErrorBoundary")," or"," ",o.createElement("code",{style:a},"errorElement")," prop on your route.")),o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),r?o.createElement("pre",{style:i},r):null,u)}const E=o.createElement(x,null);class j extends o.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?o.createElement(c.Provider,{value:this.props.routeContext},o.createElement(m.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function S(e){let{routeContext:t,match:n,children:r}=e,s=o.useContext(i);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),o.createElement(c.Provider,{value:t},r)}function R(e,t,r,s){var i;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===s&&(s=null),null==e){var a;if(!r)return null;if(r.errors)e=r.matches;else{if(!(null!=(a=s)&&a.v7_partialHydration&&0===t.length&&!r.initialized&&r.matches.length>0))return null;e=r.matches}}let u=e,l=null==(i=r)?void 0:i.errors;if(null!=l){let e=u.findIndex(e=>e.route.id&&(null==l?void 0:l[e.route.id])!==undefined);e>=0||n.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(l).join(",")),u=u.slice(0,Math.min(u.length,e+1))}let d=!1,c=-1;if(r&&s&&s.v7_partialHydration)for(let e=0;e<u.length;e++){let t=u[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:n}=r,o=t.route.loader&&e[t.route.id]===undefined&&(!n||n[t.route.id]===undefined);if(t.route.lazy||o){d=!0,u=c>=0?u.slice(0,c+1):[u[0]];break}}}return u.reduceRight((e,n,s)=>{let i,a=!1,m=null,f=null;r&&(i=l&&n.route.id?l[n.route.id]:undefined,m=n.route.errorElement||E,d&&(c<0&&0===s?(U("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),a=!0,f=null):c===s&&(a=!0,f=n.route.hydrateFallbackElement||null)));let h=t.concat(u.slice(0,s+1)),p=()=>{let t;return t=i?m:a?f:n.route.Component?o.createElement(n.route.Component,null):n.route.element?n.route.element:e,o.createElement(S,{match:n,routeContext:{outlet:e,matches:h,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===s)?o.createElement(j,{location:r.location,revalidation:r.revalidation,component:m,error:i,children:p(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):p()},null)}var T=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(T||{}),A=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}(A||{});function O(e){return e+" must be used within a data router.  See https://reactrouter.com/v6/routers/picking-a-router."}function I(e){let t=o.useContext(i);return t||n.UNSAFE_invariant(!1,O(e)),t}function P(e){let t=o.useContext(a);return t||n.UNSAFE_invariant(!1,O(e)),t}function M(e){let t=function(e){let t=o.useContext(c);return t||n.UNSAFE_invariant(!1,O(e)),t}(e),r=t.matches[t.matches.length-1];return r.route.id||n.UNSAFE_invariant(!1,e+' can only be used on routes that contain a unique "id"'),r.route.id}function N(){var e;let t=o.useContext(m),n=P(A.UseRouteError),r=M(A.UseRouteError);return t!==undefined?t:null==(e=n.errors)?void 0:e[r]}function C(){let e=o.useContext(u);return null==e?void 0:e._data}let L=0;const D={};function U(e,t,r){t||D[e]||(D[e]=!0,n.UNSAFE_warning(!1,r))}const $={};const F=(e,t,n)=>{var r;$[r="⚠️ React Router Future Flag Warning: "+t+". You can use the `"+e+"` future flag to opt-in early. For more information, see "+n+"."]||($[r]=!0,console.warn(r))};function B(e,t){(null==e?void 0:e.v7_startTransition)===undefined&&F("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||F("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&&F("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),t.v7_normalizeFormMethod===undefined&&F("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&&F("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),t.v7_skipActionErrorRevalidation===undefined&&F("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}const W=o.startTransition;function H(e){let{routes:t,future:n,state:r}=e;return v(t,undefined,r,n)}function q(e){n.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:r=null,location:i,navigationType:a=n.Action.Pop,navigator:u,static:c=!1,future:m}=e;f()&&n.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=t.replace(/^\/*/,"/"),p=o.useMemo(()=>({basename:h,navigator:u,static:c,future:s({v7_relativeSplatPath:!1},m)}),[h,m,u,c]);"string"==typeof i&&(i=n.parsePath(i));let{pathname:b="/",search:_="",hash:w="",state:g=null,key:y="default"}=i,k=o.useMemo(()=>{let e=n.stripBasename(b,h);return null==e?null:{location:{pathname:e,search:_,hash:w,state:g,key:y},navigationType:a}},[h,b,_,w,g,y,a]);return n.UNSAFE_warning(null!=k,'<Router basename="'+h+'"> is not able to match the URL "'+b+_+w+"\" because it does not start with the basename, so the <Router> won't render anything."),null==k?null:o.createElement(l.Provider,{value:p},o.createElement(d.Provider,{children:r,value:k}))}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 o.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:r}=this.props,s=null,i=G.pending;if(r instanceof Promise)if(this.state.error){i=G.error;let e=this.state.error;s=Promise.reject().catch(()=>{}),Object.defineProperty(s,"_tracked",{get:()=>!0}),Object.defineProperty(s,"_error",{get:()=>e})}else r._tracked?(s=r,i="_error"in s?G.error:"_data"in s?G.success:G.pending):(i=G.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),s=r.then(e=>Object.defineProperty(r,"_data",{get:()=>e}),e=>Object.defineProperty(r,"_error",{get:()=>e})));else i=G.success,s=Promise.resolve(),Object.defineProperty(s,"_tracked",{get:()=>!0}),Object.defineProperty(s,"_data",{get:()=>r});if(i===G.error&&s._error instanceof n.AbortedDeferredError)throw z;if(i===G.error&&!t)throw s._error;if(i===G.error)return o.createElement(u.Provider,{value:s,children:t});if(i===G.success)return o.createElement(u.Provider,{value:s,children:e});throw s}}function Y(e){let{children:t}=e,n=C(),r="function"==typeof t?t(n):t;return o.createElement(o.Fragment,null,r)}function X(e,t){void 0===t&&(t=[]);let r=[];return o.Children.forEach(e,(e,s)=>{if(!o.isValidElement(e))return;let i=[...t,s];if(e.type===o.Fragment)return void r.push.apply(r,X(e.props.children,i));e.type!==q&&n.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&&n.UNSAFE_invariant(!1,"An index route cannot have child routes.");let a={id:e.props.id||i.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&&(a.children=X(e.props.children,i)),r.push(a)}),r}function J(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&(e.element&&n.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:o.createElement(e.Component),Component:undefined})),e.HydrateFallback&&(e.hydrateFallbackElement&&n.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:o.createElement(e.HydrateFallback),HydrateFallback:undefined})),e.ErrorBoundary&&(e.errorElement&&n.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:o.createElement(e.ErrorBoundary),ErrorBoundary:undefined})),t}Object.defineProperty(e,"AbortedDeferredError",{enumerable:!0,get:function(){return n.AbortedDeferredError}}),Object.defineProperty(e,"NavigationType",{enumerable:!0,get:function(){return n.Action}}),Object.defineProperty(e,"createPath",{enumerable:!0,get:function(){return n.createPath}}),Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return n.defer}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return n.generatePath}}),Object.defineProperty(e,"isRouteErrorResponse",{enumerable:!0,get:function(){return n.isRouteErrorResponse}}),Object.defineProperty(e,"json",{enumerable:!0,get:function(){return n.json}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return n.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return n.matchRoutes}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return n.parsePath}}),Object.defineProperty(e,"redirect",{enumerable:!0,get:function(){return n.redirect}}),Object.defineProperty(e,"redirectDocument",{enumerable:!0,get:function(){return n.redirectDocument}}),Object.defineProperty(e,"replace",{enumerable:!0,get:function(){return n.replace}}),Object.defineProperty(e,"resolvePath",{enumerable:!0,get:function(){return n.resolvePath}}),e.Await=function(e){let{children:t,errorElement:n,resolve:r}=e;return o.createElement(K,{resolve:r,errorElement:n},o.createElement(Y,null,t))},e.MemoryRouter=function(e){let{basename:t,children:r,initialEntries:s,initialIndex:i,future:a}=e,u=o.useRef();null==u.current&&(u.current=n.createMemoryHistory({initialEntries:s,initialIndex:i,v5Compat:!0}));let l=u.current,[d,c]=o.useState({action:l.action,location:l.location}),{v7_startTransition:m}=a||{},f=o.useCallback(e=>{m&&W?W(()=>c(e)):c(e)},[c,m]);return o.useLayoutEffect(()=>l.listen(f),[l,f]),o.useEffect(()=>B(a),[a]),o.createElement(V,{basename:t,children:r,location:d.location,navigationType:d.action,navigator:l,future:a})},e.Navigate=function(e){let{to:t,replace:r,state:s,relative:i}=e;f()||n.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:a,static:u}=o.useContext(l);n.UNSAFE_warning(!u,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:d}=o.useContext(c),{pathname:m}=h(),p=_(),b=n.resolveTo(t,n.UNSAFE_getResolveToMatches(d,a.v7_relativeSplatPath),m,"path"===i),w=JSON.stringify(b);return o.useEffect(()=>p(JSON.parse(w),{replace:r,state:s,relative:i}),[p,w,i,r,s]),null},e.Outlet=function(e){return g(e.context)},e.Route=q,e.Router=V,e.RouterProvider=function(e){let{fallbackElement:t,router:r,future:s}=e,[u,l]=o.useState(r.state),{v7_startTransition:d}=s||{},c=o.useCallback(e=>{d&&W?W(()=>l(e)):l(e)},[l,d]);o.useLayoutEffect(()=>r.subscribe(c),[r,c]),o.useEffect(()=>{n.UNSAFE_warning(null==t||!r.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let m=o.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]),f=r.basename||"/",h=o.useMemo(()=>({router:r,navigator:m,static:!1,basename:f}),[r,m,f]);return o.useEffect(()=>B(s,r.future),[r,s]),o.createElement(o.Fragment,null,o.createElement(i.Provider,{value:h},o.createElement(a.Provider,{value:u},o.createElement(V,{basename:f,location:u.location,navigationType:u.historyAction,navigator:m,future:{v7_relativeSplatPath:r.future.v7_relativeSplatPath}},u.initialized||r.future.v7_partialHydration?o.createElement(H,{routes:r.routes,future:r.future,state:u}):t))),null)},e.Routes=function(e){let{children:t,location:n}=e;return k(X(t),n)},e.UNSAFE_DataRouterContext=i,e.UNSAFE_DataRouterStateContext=a,e.UNSAFE_LocationContext=d,e.UNSAFE_NavigationContext=l,e.UNSAFE_RouteContext=c,e.UNSAFE_logV6DeprecationWarnings=B,e.UNSAFE_mapRouteProperties=J,e.UNSAFE_useRouteId=function(){return M(A.UseRouteId)},e.UNSAFE_useRoutesImpl=v,e.createMemoryRouter=function(e,t){return n.createRouter({basename:null==t?void 0:t.basename,future:s({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:n.createMemoryHistory({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:J,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()},e.createRoutesFromChildren=X,e.createRoutesFromElements=X,e.renderMatches=function(e){return R(e)},e.useActionData=function(){let e=P(A.UseActionData),t=M(A.UseLoaderData);return e.actionData?e.actionData[t]:undefined},e.useAsyncError=function(){let e=o.useContext(u);return null==e?void 0:e._error},e.useAsyncValue=C,e.useBlocker=function(e){let{router:t,basename:r}=I(T.UseBlocker),i=P(A.UseBlocker),[a,u]=o.useState(""),l=o.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===r)return e(t);let{currentLocation:o,nextLocation:i,historyAction:a}=t;return e({currentLocation:s({},o,{pathname:n.stripBasename(o.pathname,r)||o.pathname}),nextLocation:s({},i,{pathname:n.stripBasename(i.pathname,r)||i.pathname}),historyAction:a})},[r,e]);return o.useEffect(()=>{let e=String(++L);return u(e),()=>t.deleteBlocker(e)},[t]),o.useEffect(()=>{""!==a&&t.getBlocker(a,l)},[t,a,l]),a&&i.blockers.has(a)?i.blockers.get(a):n.IDLE_BLOCKER},e.useHref=function(e,t){let{relative:r}=void 0===t?{}:t;f()||n.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:i}=o.useContext(l),{hash:a,pathname:u,search:d}=y(e,{relative:r}),c=u;return"/"!==s&&(c="/"===u?s:n.joinPaths([s,u])),i.createHref({pathname:c,search:d,hash:a})},e.useInRouterContext=f,e.useLoaderData=function(){let e=P(A.UseLoaderData),t=M(A.UseLoaderData);return e.errors&&null!=e.errors[t]?(console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")"),undefined):e.loaderData[t]},e.useLocation=h,e.useMatch=function(e){f()||n.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:t}=h();return o.useMemo(()=>n.matchPath(e,n.UNSAFE_decodePath(t)),[t,e])},e.useMatches=function(){let{matches:e,loaderData:t}=P(A.UseMatches);return o.useMemo(()=>e.map(e=>n.UNSAFE_convertRouteMatchToUiMatch(e,t)),[e,t])},e.useNavigate=_,e.useNavigation=function(){return P(A.UseNavigation).navigation},e.useNavigationType=function(){return o.useContext(d).navigationType},e.useOutlet=g,e.useOutletContext=function(){return o.useContext(w)},e.useParams=function(){let{matches:e}=o.useContext(c),t=e[e.length-1];return t?t.params:{}},e.useResolvedPath=y,e.useRevalidator=function(){let e=I(T.UseRevalidator),t=P(A.UseRevalidator);return o.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])},e.useRouteError=N,e.useRouteLoaderData=function(e){return P(A.UseRouteLoaderData).loaderData[e]},e.useRoutes=k,Object.defineProperty(e,"__esModule",{value:!0})})}}},{package:"react-router-dom>react-router",file:"node_modules/react-router/dist/umd/react-router.development.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react-router/dist/umd/react-router.production.min.js",{"@remix-run/router":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@remix-run/router/dist/router.cjs.js",react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,o;r=this,o=function(e,t,n){var r=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}(t);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(null,arguments)}const s=r.createContext(null),i=r.createContext(null),a=r.createContext(null),u=r.createContext(null),l=r.createContext(null),d=r.createContext({outlet:null,matches:[],isDataRoute:!1}),c=r.createContext(null);function m(){return null!=r.useContext(l)}function f(){return m()||n.UNSAFE_invariant(!1),r.useContext(l).location}function h(e){r.useContext(u).static||r.useLayoutEffect(e)}function p(){let{isDataRoute:e}=r.useContext(d);return e?function(){let{router:e}=R(j.UseNavigateStable),t=A(S.UseNavigateStable),n=r.useRef(!1);h(()=>{n.current=!0});let s=r.useCallback(function(r,s){void 0===s&&(s={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,o({fromRouteId:t},s)))},[e,t]);return s}():function(){m()||n.UNSAFE_invariant(!1);let e=r.useContext(s),{basename:t,future:o,navigator:i}=r.useContext(u),{matches:a}=r.useContext(d),{pathname:l}=f(),c=JSON.stringify(n.UNSAFE_getResolveToMatches(a,o.v7_relativeSplatPath)),p=r.useRef(!1);return h(()=>{p.current=!0}),r.useCallback(function(r,o){if(void 0===o&&(o={}),!p.current)return;if("number"==typeof r)return void i.go(r);let s=n.resolveTo(r,JSON.parse(c),l,"path"===o.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:n.joinPaths([t,s.pathname])),(o.replace?i.replace:i.push)(s,o.state,o)},[t,i,c,l,e])}()}const b=r.createContext(null);function _(e){let t=r.useContext(d).outlet;return t?r.createElement(b.Provider,{value:e},t):t}function w(e,t){let{relative:o}=void 0===t?{}:t,{future:s}=r.useContext(u),{matches:i}=r.useContext(d),{pathname:a}=f(),l=JSON.stringify(n.UNSAFE_getResolveToMatches(i,s.v7_relativeSplatPath));return r.useMemo(()=>n.resolveTo(e,JSON.parse(l),a,"path"===o),[e,l,a,o])}function g(e,t){return y(e,t)}function y(e,t,s,i){m()||n.UNSAFE_invariant(!1);let{navigator:a}=r.useContext(u),{matches:c}=r.useContext(d),h=c[c.length-1],p=h?h.params:{};!h||h.pathname;let b=h?h.pathnameBase:"/";h&&h.route;let _,w=f();if(t){var g;let e="string"==typeof t?n.parsePath(t):t;"/"===b||(null==(g=e.pathname)?void 0:g.startsWith(b))||n.UNSAFE_invariant(!1),_=e}else _=w;let y=_.pathname||"/",k=y;if("/"!==b){let e=b.replace(/^\//,"").split("/");k="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let v=n.matchRoutes(e,{pathname:k}),x=E(v&&v.map(e=>Object.assign({},e,{params:Object.assign({},p,e.params),pathname:n.joinPaths([b,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?b:n.joinPaths([b,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),c,s,i);return t&&x?r.createElement(l.Provider,{value:{location:o({pathname:"/",search:"",hash:"",state:null,key:"default"},_),navigationType:n.Action.Pop}},x):x}const k=r.createElement(function(){let e=O(),t=n.isRouteErrorResponse(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),o=e instanceof Error?e.stack:null;return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),o?r.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},o):null,null)},null);class v extends r.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?r.createElement(d.Provider,{value:this.props.routeContext},r.createElement(c.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function x(e){let{routeContext:t,match:n,children:o}=e,i=r.useContext(s);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(d.Provider,{value:t},o)}function E(e,t,o,s){var i;if(void 0===t&&(t=[]),void 0===o&&(o=null),void 0===s&&(s=null),null==e){var a;if(!o)return null;if(o.errors)e=o.matches;else{if(!(null!=(a=s)&&a.v7_partialHydration&&0===t.length&&!o.initialized&&o.matches.length>0))return null;e=o.matches}}let u=e,l=null==(i=o)?void 0:i.errors;if(null!=l){let e=u.findIndex(e=>e.route.id&&void 0!==(null==l?void 0:l[e.route.id]));e>=0||n.UNSAFE_invariant(!1),u=u.slice(0,Math.min(u.length,e+1))}let d=!1,c=-1;if(o&&s&&s.v7_partialHydration)for(let e=0;e<u.length;e++){let t=u[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:n}=o,r=t.route.loader&&void 0===e[t.route.id]&&(!n||void 0===n[t.route.id]);if(t.route.lazy||r){d=!0,u=c>=0?u.slice(0,c+1):[u[0]];break}}}return u.reduceRight((e,n,s)=>{let i,a=!1,m=null,f=null;var h;o&&(i=l&&n.route.id?l[n.route.id]:void 0,m=n.route.errorElement||k,d&&(c<0&&0===s?(M[h="route-fallback"]||(M[h]=!0),a=!0,f=null):c===s&&(a=!0,f=n.route.hydrateFallbackElement||null)));let p=t.concat(u.slice(0,s+1)),b=()=>{let t;return t=i?m:a?f:n.route.Component?r.createElement(n.route.Component,null):n.route.element?n.route.element:e,r.createElement(x,{match:n,routeContext:{outlet:e,matches:p,isDataRoute:null!=o},children:t})};return o&&(n.route.ErrorBoundary||n.route.errorElement||0===s)?r.createElement(v,{location:o.location,revalidation:o.revalidation,component:m,error:i,children:b(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):b()},null)}var j=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(j||{}),S=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}(S||{});function R(e){let t=r.useContext(s);return t||n.UNSAFE_invariant(!1),t}function T(e){let t=r.useContext(i);return t||n.UNSAFE_invariant(!1),t}function A(e){let t=function(){let e=r.useContext(d);return e||n.UNSAFE_invariant(!1),e}(),o=t.matches[t.matches.length-1];return o.route.id||n.UNSAFE_invariant(!1),o.route.id}function O(){var e;let t=r.useContext(c),n=T(S.UseRouteError),o=A(S.UseRouteError);return void 0!==t?t:null==(e=n.errors)?void 0:e[o]}function I(){let e=r.useContext(a);return null==e?void 0:e._data}let P=0;const M={};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=r.startTransition;function L(e){let{routes:t,future:n,state:r}=e;return y(t,void 0,r,n)}function D(e){n.UNSAFE_invariant(!1)}function U(e){let{basename:t="/",children:s=null,location:i,navigationType:a=n.Action.Pop,navigator:d,static:c=!1,future:f}=e;m()&&n.UNSAFE_invariant(!1);let h=t.replace(/^\/*/,"/"),p=r.useMemo(()=>({basename:h,navigator:d,static:c,future:o({v7_relativeSplatPath:!1},f)}),[h,f,d,c]);"string"==typeof i&&(i=n.parsePath(i));let{pathname:b="/",search:_="",hash:w="",state:g=null,key:y="default"}=i,k=r.useMemo(()=>{let e=n.stripBasename(b,h);return null==e?null:{location:{pathname:e,search:_,hash:w,state:g,key:y},navigationType:a}},[h,b,_,w,g,y,a]);return null==k?null:r.createElement(u.Provider,{value:p},r.createElement(l.Provider,{children:s,value:k}))}var $=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}($||{});const F=new Promise(()=>{});class B extends r.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:o}=this.props,s=null,i=$.pending;if(o instanceof Promise)if(this.state.error){i=$.error;let e=this.state.error;s=Promise.reject().catch(()=>{}),Object.defineProperty(s,"_tracked",{get:()=>!0}),Object.defineProperty(s,"_error",{get:()=>e})}else o._tracked?(s=o,i="_error"in s?$.error:"_data"in s?$.success:$.pending):(i=$.pending,Object.defineProperty(o,"_tracked",{get:()=>!0}),s=o.then(e=>Object.defineProperty(o,"_data",{get:()=>e}),e=>Object.defineProperty(o,"_error",{get:()=>e})));else i=$.success,s=Promise.resolve(),Object.defineProperty(s,"_tracked",{get:()=>!0}),Object.defineProperty(s,"_data",{get:()=>o});if(i===$.error&&s._error instanceof n.AbortedDeferredError)throw F;if(i===$.error&&!t)throw s._error;if(i===$.error)return r.createElement(a.Provider,{value:s,children:t});if(i===$.success)return r.createElement(a.Provider,{value:s,children:e});throw s}}function W(e){let{children:t}=e,n=I(),o="function"==typeof t?t(n):t;return r.createElement(r.Fragment,null,o)}function H(e,t){void 0===t&&(t=[]);let o=[];return r.Children.forEach(e,(e,s)=>{if(!r.isValidElement(e))return;let i=[...t,s];if(e.type===r.Fragment)return void o.push.apply(o,H(e.props.children,i));e.type!==D&&n.UNSAFE_invariant(!1),e.props.index&&e.props.children&&n.UNSAFE_invariant(!1);let a={id:e.props.id||i.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&&(a.children=H(e.props.children,i)),o.push(a)}),o}function q(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:r.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:r.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:r.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}Object.defineProperty(e,"AbortedDeferredError",{enumerable:!0,get:function(){return n.AbortedDeferredError}}),Object.defineProperty(e,"NavigationType",{enumerable:!0,get:function(){return n.Action}}),Object.defineProperty(e,"createPath",{enumerable:!0,get:function(){return n.createPath}}),Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return n.defer}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return n.generatePath}}),Object.defineProperty(e,"isRouteErrorResponse",{enumerable:!0,get:function(){return n.isRouteErrorResponse}}),Object.defineProperty(e,"json",{enumerable:!0,get:function(){return n.json}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return n.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return n.matchRoutes}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return n.parsePath}}),Object.defineProperty(e,"redirect",{enumerable:!0,get:function(){return n.redirect}}),Object.defineProperty(e,"redirectDocument",{enumerable:!0,get:function(){return n.redirectDocument}}),Object.defineProperty(e,"replace",{enumerable:!0,get:function(){return n.replace}}),Object.defineProperty(e,"resolvePath",{enumerable:!0,get:function(){return n.resolvePath}}),e.Await=function(e){let{children:t,errorElement:n,resolve:o}=e;return r.createElement(B,{resolve:o,errorElement:n},r.createElement(W,null,t))},e.MemoryRouter=function(e){let{basename:t,children:o,initialEntries:s,initialIndex:i,future:a}=e,u=r.useRef();null==u.current&&(u.current=n.createMemoryHistory({initialEntries:s,initialIndex:i,v5Compat:!0}));let l=u.current,[d,c]=r.useState({action:l.action,location:l.location}),{v7_startTransition:m}=a||{},f=r.useCallback(e=>{m&&C?C(()=>c(e)):c(e)},[c,m]);return r.useLayoutEffect(()=>l.listen(f),[l,f]),r.useEffect(()=>N(a),[a]),r.createElement(U,{basename:t,children:o,location:d.location,navigationType:d.action,navigator:l,future:a})},e.Navigate=function(e){let{to:t,replace:o,state:s,relative:i}=e;m()||n.UNSAFE_invariant(!1);let{future:a,static:l}=r.useContext(u),{matches:c}=r.useContext(d),{pathname:h}=f(),b=p(),_=n.resolveTo(t,n.UNSAFE_getResolveToMatches(c,a.v7_relativeSplatPath),h,"path"===i),w=JSON.stringify(_);return r.useEffect(()=>b(JSON.parse(w),{replace:o,state:s,relative:i}),[b,w,i,o,s]),null},e.Outlet=function(e){return _(e.context)},e.Route=D,e.Router=U,e.RouterProvider=function(e){let{fallbackElement:t,router:n,future:o}=e,[a,u]=r.useState(n.state),{v7_startTransition:l}=o||{},d=r.useCallback(e=>{l&&C?C(()=>u(e)):u(e)},[u,l]);r.useLayoutEffect(()=>n.subscribe(d),[n,d]),r.useEffect(()=>{},[]);let c=r.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]),m=n.basename||"/",f=r.useMemo(()=>({router:n,navigator:c,static:!1,basename:m}),[n,c,m]);return r.useEffect(()=>N(o,n.future),[n,o]),r.createElement(r.Fragment,null,r.createElement(s.Provider,{value:f},r.createElement(i.Provider,{value:a},r.createElement(U,{basename:m,location:a.location,navigationType:a.historyAction,navigator:c,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},a.initialized||n.future.v7_partialHydration?r.createElement(L,{routes:n.routes,future:n.future,state:a}):t))),null)},e.Routes=function(e){let{children:t,location:n}=e;return g(H(t),n)},e.UNSAFE_DataRouterContext=s,e.UNSAFE_DataRouterStateContext=i,e.UNSAFE_LocationContext=l,e.UNSAFE_NavigationContext=u,e.UNSAFE_RouteContext=d,e.UNSAFE_logV6DeprecationWarnings=N,e.UNSAFE_mapRouteProperties=q,e.UNSAFE_useRouteId=function(){return A(S.UseRouteId)},e.UNSAFE_useRoutesImpl=y,e.createMemoryRouter=function(e,t){return n.createRouter({basename:null==t?void 0:t.basename,future:o({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:n.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 E(e)},e.useActionData=function(){let e=T(S.UseActionData),t=A(S.UseLoaderData);return e.actionData?e.actionData[t]:void 0},e.useAsyncError=function(){let e=r.useContext(a);return null==e?void 0:e._error},e.useAsyncValue=I,e.useBlocker=function(e){let{router:t,basename:s}=R(j.UseBlocker),i=T(S.UseBlocker),[a,u]=r.useState(""),l=r.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===s)return e(t);let{currentLocation:r,nextLocation:i,historyAction:a}=t;return e({currentLocation:o({},r,{pathname:n.stripBasename(r.pathname,s)||r.pathname}),nextLocation:o({},i,{pathname:n.stripBasename(i.pathname,s)||i.pathname}),historyAction:a})},[s,e]);return r.useEffect(()=>{let e=String(++P);return u(e),()=>t.deleteBlocker(e)},[t]),r.useEffect(()=>{""!==a&&t.getBlocker(a,l)},[t,a,l]),a&&i.blockers.has(a)?i.blockers.get(a):n.IDLE_BLOCKER},e.useHref=function(e,t){let{relative:o}=void 0===t?{}:t;m()||n.UNSAFE_invariant(!1);let{basename:s,navigator:i}=r.useContext(u),{hash:a,pathname:l,search:d}=w(e,{relative:o}),c=l;return"/"!==s&&(c="/"===l?s:n.joinPaths([s,l])),i.createHref({pathname:c,search:d,hash:a})},e.useInRouterContext=m,e.useLoaderData=function(){let e=T(S.UseLoaderData),t=A(S.UseLoaderData);if(!e.errors||null==e.errors[t])return e.loaderData[t];console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")")},e.useLocation=f,e.useMatch=function(e){m()||n.UNSAFE_invariant(!1);let{pathname:t}=f();return r.useMemo(()=>n.matchPath(e,n.UNSAFE_decodePath(t)),[t,e])},e.useMatches=function(){let{matches:e,loaderData:t}=T(S.UseMatches);return r.useMemo(()=>e.map(e=>n.UNSAFE_convertRouteMatchToUiMatch(e,t)),[e,t])},e.useNavigate=p,e.useNavigation=function(){return T(S.UseNavigation).navigation},e.useNavigationType=function(){return r.useContext(l).navigationType},e.useOutlet=_,e.useOutletContext=function(){return r.useContext(b)},e.useParams=function(){let{matches:e}=r.useContext(d),t=e[e.length-1];return t?t.params:{}},e.useResolvedPath=w,e.useRevalidator=function(){let e=R(j.UseRevalidator),t=T(S.UseRevalidator);return r.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])},e.useRouteError=O,e.useRouteLoaderData=function(e){return T(S.UseRouteLoaderData).loaderData[e]},e.useRoutes=g,Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof n&&void 0!==t?o(n,e("react"),e("@remix-run/router")):"function"==typeof define&&define.amd?define(["exports","react","@remix-run/router"],o):o((r="undefined"!=typeof globalThis?globalThis:r||self).ReactRouter={},r.React,r.RemixRouter)}}},{package:"react-router-dom>react-router",file:"node_modules/react-router/dist/umd/react-router.production.min.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react.development.js",{"object-assign":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-assign/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){0}}},{package:"react",file:"node_modules/react/cjs/react.development.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react.production.min.js",{"object-assign":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-assign/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("object-assign"),o=60103,s=60106;n.Fragment=60107,n.StrictMode=60108,n.Profiler=60114;var i=60109,a=60110,u=60112;n.Suspense=60113;var l=60115,d=60116;if("function"==typeof Symbol&&Symbol.for){var c=Symbol.for;o=c("react.element"),s=c("react.portal"),n.Fragment=c("react.fragment"),n.StrictMode=c("react.strict_mode"),n.Profiler=c("react.profiler"),i=c("react.provider"),a=c("react.context"),u=c("react.forward_ref"),n.Suspense=c("react.suspense"),l=c("react.memo"),d=c("react.lazy")}var m="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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 h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p={};function b(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||h}function _(){}function w(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||h}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=b.prototype;var g=w.prototype=new _;g.constructor=w,r(g,b.prototype),g.isPureReactComponent=!0;var y={current:null},k=Object.prototype.hasOwnProperty,v={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,s={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,r)&&!v.hasOwnProperty(r)&&(s[r]=t[r]);var u=arguments.length-2;if(1===u)s.children=n;else if(1<u){for(var l=Array(u),d=0;d<u;d++)l[d]=arguments[d+2];s.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===s[r]&&(s[r]=u[r]);return{$$typeof:o,type:e,key:i,ref:a,props:s,_owner:y.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var j=/\/+/g;function S(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 R(e,t,n,r,i){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var u=!1;if(null===e)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case o:case s:u=!0}}if(u)return i=i(u=e),e=""===r?"."+S(u,0):r,Array.isArray(i)?(n="",null!=e&&(n=e.replace(j,"$&/")+"/"),R(i,t,n,"",function(e){return e})):null!=i&&(E(i)&&(i=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,n+(!i.key||u&&u.key===i.key?"":(""+i.key).replace(j,"$&/")+"/")+e)),t.push(i)),1;if(u=0,r=""===r?".":r+":",Array.isArray(e))for(var l=0;l<e.length;l++){var d=r+S(a=e[l],l);u+=R(a,t,n,d,i)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=m&&e[m]||e["@@iterator"])?e:null}(e),"function"==typeof d)for(e=d.call(e),l=0;!(a=e.next()).done;)u+=R(a=a.value,t,n,d=r+S(a,l++),i);else if("object"===a)throw t=""+e,Error(f(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return u}function T(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",function(e){return t.call(n,e,o++)}),r}function A(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 I(){var e=O.current;if(null===e)throw Error(f(321));return e}var P={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:y,IsSomeRendererActing:{current:!1},assign:r};n.Children={map:T,forEach:function(e,t,n){T(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return T(e,function(){t++}),t},toArray:function(e){return T(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error(f(143));return e}},n.Component=b,n.PureComponent=w,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,n.cloneElement=function(e,t,n){if(null==e)throw Error(f(267,e));var s=r({},e.props),i=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=y.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(d in t)k.call(t,d)&&!v.hasOwnProperty(d)&&(s[d]=void 0===t[d]&&void 0!==l?l[d]:t[d])}var d=arguments.length-2;if(1===d)s.children=n;else if(1<d){l=Array(d);for(var c=0;c<d;c++)l[c]=arguments[c+2];s.children=l}return{$$typeof:o,type:e.type,key:i,ref:a,props:s,_owner:u}},n.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:a,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},n.createElement=x,n.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:u,render:e}},n.isValidElement=E,n.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:A}},n.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},n.useCallback=function(e,t){return I().useCallback(e,t)},n.useContext=function(e,t){return I().useContext(e,t)},n.useDebugValue=function(){},n.useEffect=function(e,t){return I().useEffect(e,t)},n.useImperativeHandle=function(e,t,n){return I().useImperativeHandle(e,t,n)},n.useLayoutEffect=function(e,t){return I().useLayoutEffect(e,t)},n.useMemo=function(e,t){return I().useMemo(e,t)},n.useReducer=function(e,t,n){return I().useReducer(e,t,n)},n.useRef=function(e){return I().useRef(e)},n.useState=function(e){return I().useState(e)},n.version="17.0.2"}}},{package:"react",file:"node_modules/react/cjs/react.production.min.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js",{"./cjs/react.development.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react.development.js","./cjs/react.production.min.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react.production.min.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=e("./cjs/react.production.min.js")}}},{package:"react",file:"node_modules/react/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{SymbolDispose:r}=e("../../ours/primordials"),{AbortError:o,codes:s}=e("../../ours/errors"),{isNodeStream:i,isWebStream:a,kControllerErrorFunction:u}=e("./utils"),l=e("./end-of-stream"),{ERR_INVALID_ARG_TYPE:d}=s;let c;t.exports.addAbortSignal=function(e,n){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new d(t,"AbortSignal",e)})(e,"signal"),!i(n)&&!a(n))throw new d("stream",["ReadableStream","WritableStream","Stream"],n);return t.exports.addAbortSignalNoValidate(e,n)},t.exports.addAbortSignalNoValidate=function(t,n){if("object"!=typeof t||!("aborted"in t))return n;const s=i(n)?()=>{n.destroy(new o(undefined,{cause:t.reason}))}:()=>{n[u](new o(undefined,{cause:t.reason}))};if(t.aborted)s();else{c=c||e("../../ours/util").addAbortListener;const o=c(t,s);l(n,o[r])}return n}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/add-abort-signal.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/buffer_list.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{StringPrototypeSlice:r,SymbolIterator:o,TypedArrayPrototypeSet:s,Uint8Array:i}=e("../../ours/primordials"),{Buffer:a}=e("buffer"),{inspect:u}=e("../../ours/util");t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,n=""+t.data;for(;null!==(t=t.next);)n+=e+t.data;return n}concat(e){if(0===this.length)return a.alloc(0);const t=a.allocUnsafe(e>>>0);let n=this.head,r=0;for(;n;)s(t,n.data,r),r+=n.data.length,n=n.next;return t}consume(e,t){const n=this.head.data;if(e<n.length){const t=n.slice(0,e);return this.head.data=n.slice(e),t}return e===n.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[o](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",n=this.head,o=0;do{const s=n.data;if(!(e>s.length)){e===s.length?(t+=s,++o,n.next?this.head=n.next:this.head=this.tail=null):(t+=r(s,0,e),this.head=n,n.data=r(s,e));break}t+=s,e-=s.length,++o}while(null!==(n=n.next));return this.length-=o,t}_getBuffer(e){const t=a.allocUnsafe(e),n=e;let r=this.head,o=0;do{const a=r.data;if(!(e>a.length)){e===a.length?(s(t,a,n-e),++o,r.next?this.head=r.next:this.head=this.tail=null):(s(t,new i(a.buffer,a.byteOffset,e),n-e),this.head=r,r.data=a.slice(e));break}s(t,a,n-e),e-=a.length,++o}while(null!==(r=r.next));return this.length-=o,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return u(this,{...t,depth:0,customInspect:!1})}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/compose.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./pipeline":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/pipeline.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{pipeline:r}=e("./pipeline"),o=e("./duplex"),{destroyer:s}=e("./destroy"),{isNodeStream:i,isReadable:a,isWritable:u,isWebStream:l,isTransformStream:d,isWritableStream:c,isReadableStream:m}=e("./utils"),{AbortError:f,codes:{ERR_INVALID_ARG_VALUE:h,ERR_MISSING_ARGS:p}}=e("../../ours/errors"),b=e("./end-of-stream");t.exports=function(...e){if(0===e.length)throw new p("streams");if(1===e.length)return o.from(e[0]);const t=[...e];if("function"==typeof e[0]&&(e[0]=o.from(e[0])),"function"==typeof e[e.length-1]){const t=e.length-1;e[t]=o.from(e[t])}for(let n=0;n<e.length;++n)if(i(e[n])||l(e[n])){if(n<e.length-1&&!(a(e[n])||m(e[n])||d(e[n])))throw new h(`streams[${n}]`,t[n],"must be readable");if(n>0&&!(u(e[n])||c(e[n])||d(e[n])))throw new h(`streams[${n}]`,t[n],"must be writable")}let n,_,w,g,y;const k=e[0],v=r(e,function(e){const t=g;g=null,t?t(e):e?y.destroy(e):E||x||y.destroy()}),x=!!(u(k)||c(k)||d(k)),E=!!(a(v)||m(v)||d(v));if(y=new o({writableObjectMode:!(null===k||k===undefined||!k.writableObjectMode),readableObjectMode:!(null===v||v===undefined||!v.readableObjectMode),writable:x,readable:E}),x){if(i(k))y._write=function(e,t,r){k.write(e,t)?r():n=r},y._final=function(e){k.end(),_=e},k.on("drain",function(){if(n){const e=n;n=null,e()}});else if(l(k)){const e=(d(k)?k.writable:k).getWriter();y._write=async function(t,n,r){try{await e.ready,e.write(t).catch(()=>{}),r()}catch(e){r(e)}},y._final=async function(t){try{await e.ready,e.close().catch(()=>{}),_=t}catch(e){t(e)}}}const e=d(v)?v.readable:v;b(e,()=>{if(_){const e=_;_=null,e()}})}if(E)if(i(v))v.on("readable",function(){if(w){const e=w;w=null,e()}}),v.on("end",function(){y.push(null)}),y._read=function(){for(;;){const e=v.read();if(null===e)return void(w=y._read);if(!y.push(e))return}};else if(l(v)){const e=(d(v)?v.readable:v).getReader();y._read=async function(){for(;;)try{const{value:t,done:n}=await e.read();if(!y.push(t))return;if(n)return void y.push(null)}catch{return}}}return y._destroy=function(e,t){e||null===g||(e=new f),w=null,n=null,_=null,null===g?t(e):(g=t,i(v)&&s(v,e))},y}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/compose.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("process/"),{aggregateTwoErrors:o,codes:{ERR_MULTIPLE_CALLBACK:s},AbortError:i}=e("../../ours/errors"),{Symbol:a}=e("../../ours/primordials"),{kIsDestroyed:u,isDestroyed:l,isFinished:d,isServerRequest:c}=e("./utils"),m=a("kDestroy"),f=a("kConstruct");function h(e,t,n){e&&(e.stack,t&&!t.errored&&(t.errored=e),n&&!n.errored&&(n.errored=e))}function p(e,t,n){let o=!1;function s(t){if(o)return;o=!0;const s=e._readableState,i=e._writableState;h(t,i,s),i&&(i.closed=!0),s&&(s.closed=!0),"function"==typeof n&&n(t),t?r.nextTick(b,e,t):r.nextTick(_,e)}try{e._destroy(t||null,s)}catch(t){s(t)}}function b(e,t){w(e,t),_(e)}function _(e){const t=e._readableState,n=e._writableState;n&&(n.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!==n&&n!==undefined&&n.emitClose||null!==t&&t!==undefined&&t.emitClose)&&e.emit("close")}function w(e,t){const n=e._readableState,r=e._writableState;null!==r&&r!==undefined&&r.errorEmitted||null!==n&&n!==undefined&&n.errorEmitted||(r&&(r.errorEmitted=!0),n&&(n.errorEmitted=!0),e.emit("error",t))}function g(e,t,n){const o=e._readableState,s=e._writableState;if(null!==s&&s!==undefined&&s.destroyed||null!==o&&o!==undefined&&o.destroyed)return this;null!==o&&o!==undefined&&o.autoDestroy||null!==s&&s!==undefined&&s.autoDestroy?e.destroy(t):t&&(t.stack,s&&!s.errored&&(s.errored=t),o&&!o.errored&&(o.errored=t),n?r.nextTick(w,e,t):w(e,t))}function y(e){let t=!1;function n(n){if(t)return void g(e,null!==n&&n!==undefined?n:new s);t=!0;const o=e._readableState,i=e._writableState,a=i||o;o&&(o.constructed=!0),i&&(i.constructed=!0),a.destroyed?e.emit(m,n):n?g(e,n,!0):r.nextTick(k,e)}try{e._construct(e=>{r.nextTick(n,e)})}catch(e){r.nextTick(n,e)}}function k(e){e.emit(f)}function v(e){return(null===e||e===undefined?undefined:e.setHeader)&&"function"==typeof e.abort}function x(e){e.emit("close")}function E(e,t){e.emit("error",t),r.nextTick(x,e)}t.exports={construct:function(e,t){if("function"!=typeof e._construct)return;const n=e._readableState,o=e._writableState;n&&(n.constructed=!1),o&&(o.constructed=!1),e.once(f,t),e.listenerCount(f)>1||r.nextTick(y,e)},destroyer:function(e,t){e&&!l(e)&&(t||d(e)||(t=new i),c(e)?(e.socket=null,e.destroy(t)):v(e)?e.abort():v(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(t):"function"==typeof e.close?e.close():t?r.nextTick(E,e,t):r.nextTick(x,e),e.destroyed||(e[u]=!0))},destroy:function(e,t){const n=this._readableState,r=this._writableState,s=r||n;return null!==r&&r!==undefined&&r.destroyed||null!==n&&n!==undefined&&n.destroyed?("function"==typeof t&&t(),this):(h(e,r,n),r&&(r.destroyed=!0),n&&(n.destroyed=!0),s.constructed?p(this,e,t):this.once(m,function(n){p(this,o(n,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:g}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/destroy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./duplexify":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplexify.js","./readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/readable.js","./writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/writable.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{ObjectDefineProperties:r,ObjectGetOwnPropertyDescriptor:o,ObjectKeys:s,ObjectSetPrototypeOf:i}=e("../../ours/primordials");t.exports=l;const a=e("./readable"),u=e("./writable");i(l.prototype,a.prototype),i(l,a);{const e=s(u.prototype);for(let t=0;t<e.length;t++){const n=e[t];l.prototype[n]||(l.prototype[n]=u.prototype[n])}}function l(e){if(!(this instanceof l))return new l(e);a.call(this,e),u.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let d,c;function m(){return d===undefined&&(d={}),d}r(l.prototype,{writable:{__proto__:null,...o(u.prototype,"writable")},writableHighWaterMark:{__proto__:null,...o(u.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...o(u.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...o(u.prototype,"writableBuffer")},writableLength:{__proto__:null,...o(u.prototype,"writableLength")},writableFinished:{__proto__:null,...o(u.prototype,"writableFinished")},writableCorked:{__proto__:null,...o(u.prototype,"writableCorked")},writableEnded:{__proto__:null,...o(u.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...o(u.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),l.fromWeb=function(e,t){return m().newStreamDuplexFromReadableWritablePair(e,t)},l.toWeb=function(e){return m().newReadableWritablePairFromDuplex(e)},l.from=function(t){return c||(c=e("./duplexify")),c(t,"body")}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/duplex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplexify.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/from.js","./readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/readable.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","./writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/writable.js","abort-controller":"/home/runner/work/metamask-extension/metamask-extension/node_modules/abort-controller/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("process/"),o=e("buffer"),{isReadable:s,isWritable:i,isIterable:a,isNodeStream:u,isReadableNodeStream:l,isWritableNodeStream:d,isDuplexNodeStream:c,isReadableStream:m,isWritableStream:f}=e("./utils"),h=e("./end-of-stream"),{AbortError:p,codes:{ERR_INVALID_ARG_TYPE:b,ERR_INVALID_RETURN_VALUE:_}}=e("../../ours/errors"),{destroyer:w}=e("./destroy"),g=e("./duplex"),y=e("./readable"),k=e("./writable"),{createDeferredPromise:v}=e("../../ours/util"),x=e("./from"),E=globalThis.Blob||o.Blob,j=void 0!==E?function(e){return e instanceof E}:function(e){return!1},S=globalThis.AbortController||e("abort-controller").AbortController,{FunctionPrototypeCall:R}=e("../../ours/primordials");class T extends g{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 A(e){const t=e.readable&&"function"!=typeof e.readable.read?y.wrap(e.readable):e.readable,n=e.writable;let r,o,a,u,l,d=!!s(t),c=!!i(n);function m(e){const t=u;u=null,t?t(e):e&&l.destroy(e)}return l=new T({readableObjectMode:!(null===t||t===undefined||!t.readableObjectMode),writableObjectMode:!(null===n||n===undefined||!n.writableObjectMode),readable:d,writable:c}),c&&(h(n,e=>{c=!1,e&&w(t,e),m(e)}),l._write=function(e,t,o){n.write(e,t)?o():r=o},l._final=function(e){n.end(),o=e},n.on("drain",function(){if(r){const e=r;r=null,e()}}),n.on("finish",function(){if(o){const e=o;o=null,e()}})),d&&(h(t,e=>{d=!1,e&&w(t,e),m(e)}),t.on("readable",function(){if(a){const e=a;a=null,e()}}),t.on("end",function(){l.push(null)}),l._read=function(){for(;;){const e=t.read();if(null===e)return void(a=l._read);if(!l.push(e))return}}),l._destroy=function(e,s){e||null===u||(e=new p),a=null,r=null,o=null,null===u?s(e):(u=s,w(n,e),w(t,e))},l}t.exports=function e(t,n){if(c(t))return t;if(l(t))return A({readable:t});if(d(t))return A({writable:t});if(u(t))return A({writable:!1,readable:!1});if(m(t))return A({readable:y.fromWeb(t)});if(f(t))return A({writable:k.fromWeb(t)});if("function"==typeof t){const{value:e,write:o,final:s,destroy:i}=function(e){let{promise:t,resolve:n}=v();const o=new S,s=o.signal,i=e(async function*(){for(;;){const e=t;t=null;const{chunk:o,done:i,cb:a}=await e;if(r.nextTick(a),i)return;if(s.aborted)throw new p(undefined,{cause:s.reason});({promise:t,resolve:n}=v()),yield o}}(),{signal:s});return{value:i,write(e,t,r){const o=n;n=null,o({chunk:e,done:!1,cb:r})},final(e){const t=n;n=null,t({done:!0,cb:e})},destroy(e,t){o.abort(),t(e)}}}(t);if(a(e))return x(T,e,{objectMode:!0,write:o,final:s,destroy:i});const u=null===e||e===undefined?undefined:e.then;if("function"==typeof u){let t;const n=R(u,e,e=>{if(null!=e)throw new _("nully","body",e)},e=>{w(t,e)});return t=new T({objectMode:!0,readable:!1,write:o,final(e){s(async()=>{try{await n,r.nextTick(e,null)}catch(t){r.nextTick(e,t)}})},destroy:i})}throw new _("Iterable, AsyncIterable or AsyncFunction",n,e)}if(j(t))return e(t.arrayBuffer());if(a(t))return x(T,t,{objectMode:!0,writable:!1});if(m(null===t||t===undefined?undefined:t.readable)&&f(null===t||t===undefined?undefined:t.writable))return T.fromWeb(t);if("object"==typeof(null===t||t===undefined?undefined:t.writable)||"object"==typeof(null===t||t===undefined?undefined:t.readable)){return A({readable:null!==t&&t!==undefined&&t.readable?l(null===t||t===undefined?undefined:t.readable)?null===t||t===undefined?undefined:t.readable:e(t.readable):undefined,writable:null!==t&&t!==undefined&&t.writable?d(null===t||t===undefined?undefined:t.writable)?null===t||t===undefined?undefined:t.writable:e(t.writable):undefined})}const o=null===t||t===undefined?undefined:t.then;if("function"==typeof o){let e;return R(o,t,t=>{null!=t&&e.push(t),e.push(null)},t=>{w(e,t)}),e=new T({objectMode:!0,writable:!1,read(){}})}throw new b(n,["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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("process/"),{AbortError:o,codes:s}=e("../../ours/errors"),{ERR_INVALID_ARG_TYPE:i,ERR_STREAM_PREMATURE_CLOSE:a}=s,{kEmptyObject:u,once:l}=e("../../ours/util"),{validateAbortSignal:d,validateFunction:c,validateObject:m,validateBoolean:f}=e("../validators"),{Promise:h,PromisePrototypeThen:p,SymbolDispose:b}=e("../../ours/primordials"),{isClosed:_,isReadable:w,isReadableNodeStream:g,isReadableStream:y,isReadableFinished:k,isReadableErrored:v,isWritable:x,isWritableNodeStream:E,isWritableStream:j,isWritableFinished:S,isWritableErrored:R,isNodeStream:T,willEmitClose:A,kIsClosedPromise:O}=e("./utils");let I;const P=()=>{};function M(t,n,s){var f,h;if(2===arguments.length?(s=n,n=u):null==n?n=u:m(n,"options"),c(s,"callback"),d(n.signal,"options.signal"),s=l(s),y(t)||j(t))return function(t,n,s){let i=!1,a=P;if(n.signal)if(a=()=>{i=!0,s.call(t,new o(undefined,{cause:n.signal.reason}))},n.signal.aborted)r.nextTick(a);else{I=I||e("../../ours/util").addAbortListener;const r=I(n.signal,a),o=s;s=l((...e)=>{r[b](),o.apply(t,e)})}const u=(...e)=>{i||r.nextTick(()=>s.apply(t,e))};return p(t[O].promise,u,u),P}(t,n,s);if(!T(t))throw new i("stream",["ReadableStream","WritableStream","Stream"],t);const M=null!==(f=n.readable)&&f!==undefined?f:g(t),N=null!==(h=n.writable)&&h!==undefined?h:E(t),C=t._writableState,L=t._readableState,D=()=>{t.writable||F()};let U=A(t)&&g(t)===M&&E(t)===N,$=S(t,!1);const F=()=>{$=!0,t.destroyed&&(U=!1),(!U||t.readable&&!M)&&(M&&!B||s.call(t))};let B=k(t,!1);const W=()=>{B=!0,t.destroyed&&(U=!1),(!U||t.writable&&!N)&&(N&&!$||s.call(t))},H=e=>{s.call(t,e)};let q=_(t);const V=()=>{q=!0;const e=R(t)||v(t);return e&&"boolean"!=typeof e?s.call(t,e):M&&!B&&g(t,!0)&&!k(t,!1)?s.call(t,new a):!N||$||S(t,!1)?void s.call(t):s.call(t,new a)},G=()=>{q=!0;const e=R(t)||v(t);if(e&&"boolean"!=typeof e)return s.call(t,e);s.call(t)},z=()=>{t.req.on("finish",F)};!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?N&&!C&&(t.on("end",D),t.on("close",D)):(t.on("complete",F),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",F),!1!==n.error&&t.on("error",H),t.on("close",V),q?r.nextTick(V):null!==C&&C!==undefined&&C.errorEmitted||null!==L&&L!==undefined&&L.errorEmitted?U||r.nextTick(G):(M||U&&!w(t)||!$&&!1!==x(t))&&(N||U&&!x(t)||!B&&!1!==w(t))?L&&t.req&&t.aborted&&r.nextTick(G):r.nextTick(G);const K=()=>{s=P,t.removeListener("aborted",V),t.removeListener("complete",F),t.removeListener("abort",V),t.removeListener("request",z),t.req&&t.req.removeListener("finish",F),t.removeListener("end",D),t.removeListener("close",D),t.removeListener("finish",F),t.removeListener("end",W),t.removeListener("error",H),t.removeListener("close",V)};if(n.signal&&!q){const i=()=>{const e=s;K(),e.call(t,new o(undefined,{cause:n.signal.reason}))};if(n.signal.aborted)r.nextTick(i);else{I=I||e("../../ours/util").addAbortListener;const r=I(n.signal,i),o=s;s=l((...e)=>{r[b](),o.apply(t,e)})}}return K}t.exports=M,t.exports.finished=function(e,t){var n;let r=!1;return null===t&&(t=u),null!==(n=t)&&n!==undefined&&n.cleanup&&(f(t.cleanup,"cleanup"),r=t.cleanup),new h((n,o)=>{const s=M(e,t,e=>{r&&s(),e?o(e):n()})})}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/from.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("process/"),{PromisePrototypeThen:o,SymbolAsyncIterator:s,SymbolIterator:i}=e("../../ours/primordials"),{Buffer:a}=e("buffer"),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:l}=e("../../ours/errors").codes;t.exports=function(e,t,n){let d,c;if("string"==typeof t||t instanceof a)return new e({objectMode:!0,...n,read(){this.push(t),this.push(null)}});if(t&&t[s])c=!0,d=t[s]();else{if(!t||!t[i])throw new u("iterable",["Iterable"],t);c=!1,d=t[i]()}const m=new e({objectMode:!0,highWaterMark:1,...n});let f=!1;return m._read=function(){f||(f=!0,async function(){for(;;){try{const{value:e,done:t}=c?await d.next():d.next();if(t)m.push(null);else{const t=e&&"function"==typeof e.then?await e:e;if(null===t)throw f=!1,new l;if(m.push(t))continue;f=!1}}catch(e){m.destroy(e)}break}}())},m._destroy=function(e,t){o(async function(e){const t=e!==undefined&&null!==e,n="function"==typeof d.throw;if(t&&n){const{value:t,done:n}=await d.throw(e);if(await t,n)return}if("function"==typeof d.return){const{value:e}=await d.return();await e}}(e),()=>r.nextTick(t,e),n=>r.nextTick(t,n||e))},m}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/from.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/legacy.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{ArrayIsArray:r,ObjectSetPrototypeOf:o}=e("../../ours/primordials"),{EventEmitter:s}=e("events");function i(e){s.call(this,e)}function a(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?r(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}o(i.prototype,s.prototype),o(i,s),i.prototype.pipe=function(e,t){const n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",u),n.on("close",l));let i=!1;function u(){i||(i=!0,e.end())}function l(){i||(i=!0,"function"==typeof e.destroy&&e.destroy())}function d(e){c(),0===s.listenerCount(this,"error")&&this.emit("error",e)}function c(){n.removeListener("data",r),e.removeListener("drain",o),n.removeListener("end",u),n.removeListener("close",l),n.removeListener("error",d),e.removeListener("error",d),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return a(n,"error",d),a(e,"error",d),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e},t.exports={Stream:i,prependListener:a}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/legacy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/operators.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js","./add-abort-signal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js","./compose":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/compose.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","abort-controller":"/home/runner/work/metamask-extension/metamask-extension/node_modules/abort-controller/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=globalThis.AbortController||e("abort-controller").AbortController,{codes:{ERR_INVALID_ARG_VALUE:o,ERR_INVALID_ARG_TYPE:s,ERR_MISSING_ARGS:i,ERR_OUT_OF_RANGE:a},AbortError:u}=e("../../ours/errors"),{validateAbortSignal:l,validateInteger:d,validateObject:c}=e("../validators"),m=e("../../ours/primordials").Symbol("kWeak"),f=e("../../ours/primordials").Symbol("kResistStopPropagation"),{finished:h}=e("./end-of-stream"),p=e("./compose"),{addAbortSignalNoValidate:b}=e("./add-abort-signal"),{isWritable:_,isNodeStream:w}=e("./utils"),{deprecate:g}=e("../../ours/util"),{ArrayPrototypePush:y,Boolean:k,MathFloor:v,Number:x,NumberIsNaN:E,Promise:j,PromiseReject:S,PromiseResolve:R,PromisePrototypeThen:T,Symbol:A}=e("../../ours/primordials"),O=A("kEmpty"),I=A("kEof");function P(t,n){if("function"!=typeof t)throw new s("fn",["Function","AsyncFunction"],t);null!=n&&c(n,"options"),null!=(null===n||n===undefined?undefined:n.signal)&&l(n.signal,"options.signal");let r=1;null!=(null===n||n===undefined?undefined:n.concurrency)&&(r=v(n.concurrency));let o=r-1;return null!=(null===n||n===undefined?undefined:n.highWaterMark)&&(o=v(n.highWaterMark)),d(r,"options.concurrency",1),d(o,"options.highWaterMark",0),o+=r,async function*(){const s=e("../../ours/util").AbortSignalAny([null===n||n===undefined?undefined:n.signal].filter(k)),i=this,a=[],l={signal:s};let d,c,m=!1,f=0;function h(){m=!0,p()}function p(){f-=1,b()}function b(){c&&!m&&f<r&&a.length<o&&(c(),c=null)}!async function(){try{for await(let e of i){if(m)return;if(s.aborted)throw new u;try{if(e=t(e,l),e===O)continue;e=R(e)}catch(t){e=S(t)}f+=1,T(e,p,h),a.push(e),d&&(d(),d=null),!m&&(a.length>=o||f>=r)&&await new j(e=>{c=e})}a.push(I)}catch(e){const t=S(e);T(t,p,h),a.push(t)}finally{m=!0,d&&(d(),d=null)}}();try{for(;;){for(;a.length>0;){const e=await a[0];if(e===I)return;if(s.aborted)throw new u;e!==O&&(yield e),a.shift(),b()}await new j(e=>{d=e})}}finally{m=!0,c&&(c(),c=null)}}.call(this)}async function M(e,t=undefined){for await(const n of N.call(this,e,t))return!0;return!1}function N(e,t){if("function"!=typeof e)throw new s("fn",["Function","AsyncFunction"],e);return P.call(this,async function(t,n){return await e(t,n)?t:O},t)}class C extends i{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function L(e){if(e=x(e),E(e))return 0;if(e<0)throw new a("number",">= 0",e);return e}t.exports.streamReturningOperators={asIndexedPairs:g(function(e=undefined){return null!=e&&c(e,"options"),null!=(null===e||e===undefined?undefined:e.signal)&&l(e.signal,"options.signal"),async function*(){let t=0;for await(const r of this){var n;if(null!==e&&e!==undefined&&null!==(n=e.signal)&&n!==undefined&&n.aborted)throw new u({cause:e.signal.reason});yield[t++,r]}}.call(this)},"readable.asIndexedPairs will be removed in a future version."),drop:function(e,t=undefined){return null!=t&&c(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&l(t.signal,"options.signal"),e=L(e),async function*(){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new u;for await(const n of this){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new u;e--<=0&&(yield n)}}.call(this)},filter:N,flatMap:function(e,t){const n=P.call(this,e,t);return async function*(){for await(const e of n)yield*e}.call(this)},map:P,take:function(e,t=undefined){return null!=t&&c(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&l(t.signal,"options.signal"),e=L(e),async function*(){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new u;for await(const n of this){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new u;if(e-- >0&&(yield n),e<=0)return}}.call(this)},compose:function(e,t){if(null!=t&&c(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&l(t.signal,"options.signal"),w(e)&&!_(e))throw new o("stream",e,"must be writable");const n=p(this,e);return null!==t&&t!==undefined&&t.signal&&b(t.signal,n),n}},t.exports.promiseReturningOperators={every:async function(e,t=undefined){if("function"!=typeof e)throw new s("fn",["Function","AsyncFunction"],e);return!await M.call(this,async(...t)=>!await e(...t),t)},forEach:async function(e,t){if("function"!=typeof e)throw new s("fn",["Function","AsyncFunction"],e);for await(const n of P.call(this,async function(t,n){return await e(t,n),O},t));},reduce:async function(e,t,n){var o;if("function"!=typeof e)throw new s("reducer",["Function","AsyncFunction"],e);null!=n&&c(n,"options"),null!=(null===n||n===undefined?undefined:n.signal)&&l(n.signal,"options.signal");let i=arguments.length>1;if(null!==n&&n!==undefined&&null!==(o=n.signal)&&o!==undefined&&o.aborted){const e=new u(undefined,{cause:n.signal.reason});throw this.once("error",()=>{}),await h(this.destroy(e)),e}const a=new r,d=a.signal;if(null!==n&&n!==undefined&&n.signal){const e={once:!0,[m]:this,[f]:!0};n.signal.addEventListener("abort",()=>a.abort(),e)}let p=!1;try{for await(const r of this){var b;if(p=!0,null!==n&&n!==undefined&&null!==(b=n.signal)&&b!==undefined&&b.aborted)throw new u;i?t=await e(t,r,{signal:d}):(t=r,i=!0)}if(!p&&!i)throw new C}finally{a.abort()}return t},toArray:async function(e){null!=e&&c(e,"options"),null!=(null===e||e===undefined?undefined:e.signal)&&l(e.signal,"options.signal");const t=[];for await(const r of this){var n;if(null!==e&&e!==undefined&&null!==(n=e.signal)&&n!==undefined&&n.aborted)throw new u(undefined,{cause:e.signal.reason});y(t,r)}return t},some:M,find:async function(e,t){for await(const n of N.call(this,e,t))return n;return undefined}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/operators.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/passthrough.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/transform.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{ObjectSetPrototypeOf:r}=e("../../ours/primordials");t.exports=s;const o=e("./transform");function s(e){if(!(this instanceof s))return new s(e);o.call(this,e)}r(s.prototype,o.prototype),r(s,o),s.prototype._transform=function(e,t,n){n(null,e)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/passthrough.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/pipeline.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./passthrough":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/passthrough.js","./readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/readable.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","abort-controller":"/home/runner/work/metamask-extension/metamask-extension/node_modules/abort-controller/browser.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("process/"),{ArrayIsArray:o,Promise:s,SymbolAsyncIterator:i,SymbolDispose:a}=e("../../ours/primordials"),u=e("./end-of-stream"),{once:l}=e("../../ours/util"),d=e("./destroy"),c=e("./duplex"),{aggregateTwoErrors:m,codes:{ERR_INVALID_ARG_TYPE:f,ERR_INVALID_RETURN_VALUE:h,ERR_MISSING_ARGS:p,ERR_STREAM_DESTROYED:b,ERR_STREAM_PREMATURE_CLOSE:_},AbortError:w}=e("../../ours/errors"),{validateFunction:g,validateAbortSignal:y}=e("../validators"),{isIterable:k,isReadable:v,isReadableNodeStream:x,isNodeStream:E,isTransformStream:j,isWebStream:S,isReadableStream:R,isReadableFinished:T}=e("./utils"),A=globalThis.AbortController||e("abort-controller").AbortController;let O,I,P;function M(e,t,n){let r=!1;e.on("close",()=>{r=!0});return{destroy:t=>{r||(r=!0,d.destroyer(e,t||new b("pipe")))},cleanup:u(e,{readable:t,writable:n},e=>{r=!e})}}function N(t){if(k(t))return t;if(x(t))return async function*(t){I||(I=e("./readable"));yield*I.prototype[i].call(t)}(t);throw new f("val",["Readable","Iterable","AsyncIterable"],t)}async function C(e,t,n,{end:r}){let o,i=null;const a=e=>{if(e&&(o=e),i){const e=i;i=null,e()}},l=()=>new s((e,t)=>{o?t(o):i=()=>{o?t(o):e()}});t.on("drain",a);const d=u(t,{readable:!1},a);try{t.writableNeedDrain&&await l();for await(const n of e)t.write(n)||await l();r&&(t.end(),await l()),n()}catch(e){n(o!==e?m(o,e):e)}finally{d(),t.off("drain",a)}}async function L(e,t,n,{end:r}){j(t)&&(t=t.writable);const o=t.getWriter();try{for await(const t of e)await o.ready,o.write(t).catch(()=>{});await o.ready,r&&await o.close(),n()}catch(e){try{await o.abort(e),n(e)}catch(e){n(e)}}}function D(t,n,s){if(1===t.length&&o(t[0])&&(t=t[0]),t.length<2)throw new p("streams");const i=new A,u=i.signal,l=null===s||s===undefined?undefined:s.signal,d=[];function m(){F(new w)}let b,_,g;y(l,"options.signal"),P=P||e("../../ours/util").addAbortListener,l&&(b=P(l,m));const T=[];let I,D=0;function $(e){F(e,0===--D)}function F(e,t){var o;if(!e||_&&"ERR_STREAM_PREMATURE_CLOSE"!==_.code||(_=e),_||t){for(;T.length;)T.shift()(_);null===(o=b)||o===undefined?undefined:o[a](),i.abort(),t&&(_||d.forEach(e=>e()),r.nextTick(n,_,g))}}for(let H=0;H<t.length;H++){const q=t[H],V=H<t.length-1,G=H>0,z=V||!1!==(null===s||s===undefined?undefined:s.end),K=H===t.length-1;if(E(q)){if(z){const{destroy:X,cleanup:J}=M(q,V,G);T.push(X),v(q)&&K&&d.push(J)}function Y(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&$(e)}q.on("error",Y),v(q)&&K&&d.push(()=>{q.removeListener("error",Y)})}if(0===H)if("function"==typeof q){if(I=q({signal:u}),!k(I))throw new h("Iterable, AsyncIterable or Stream","source",I)}else I=k(q)||x(q)||j(q)?q:c.from(q);else if("function"==typeof q){var B;if(j(I))I=N(null===(B=I)||B===undefined?undefined:B.readable);else I=N(I);if(I=q(I,{signal:u}),V){if(!k(I,!0))throw new h("AsyncIterable",`transform[${H-1}]`,I)}else{var W;O||(O=e("./passthrough"));const Z=new O({objectMode:!0}),Q=null===(W=I)||W===undefined?undefined:W.then;if("function"==typeof Q)D++,Q.call(I,e=>{g=e,null!=e&&Z.write(e),z&&Z.end(),r.nextTick($)},e=>{Z.destroy(e),r.nextTick($,e)});else if(k(I,!0))D++,C(I,Z,$,{end:z});else{if(!R(I)&&!j(I))throw new h("AsyncIterable or Promise","destination",I);{const ne=I.readable||I;D++,C(ne,Z,$,{end:z})}}I=Z;const{destroy:ee,cleanup:te}=M(I,!1,!0);T.push(ee),K&&d.push(te)}}else if(E(q)){if(x(I)){D+=2;const re=U(I,q,$,{end:z});v(q)&&K&&d.push(re)}else if(j(I)||R(I)){const oe=I.readable||I;D++,C(oe,q,$,{end:z})}else{if(!k(I))throw new f("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],I);D++,C(I,q,$,{end:z})}I=q}else if(S(q)){if(x(I))D++,L(N(I),q,$,{end:z});else if(R(I)||k(I))D++,L(I,q,$,{end:z});else{if(!j(I))throw new f("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],I);D++,L(I.readable,q,$,{end:z})}I=q}else I=c.from(q)}return(null!==u&&u!==undefined&&u.aborted||null!==l&&l!==undefined&&l.aborted)&&r.nextTick(m),I}function U(e,t,n,{end:o}){let s=!1;if(t.on("close",()=>{s||n(new _)}),e.pipe(t,{end:!1}),o){function i(){s=!0,t.end()}T(e)?r.nextTick(i):e.once("end",i)}else n();return u(e,{readable:!0,writable:!1},t=>{const r=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&r&&r.ended&&!r.errored&&!r.errorEmitted?e.once("end",n).once("error",n):n(t)}),u(t,{readable:!1,writable:!0},n)}t.exports={pipelineImpl:D,pipeline:function(...e){return D(e,l(function(e){return g(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/pipeline.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/readable.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js","./add-abort-signal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js","./buffer_list":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/buffer_list.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/from.js","./legacy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/legacy.js","./state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/state.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js","string_decoder/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/string_decoder/lib/string_decoder.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("process/"),{ArrayPrototypeIndexOf:o,NumberIsInteger:s,NumberIsNaN:i,NumberParseInt:a,ObjectDefineProperties:u,ObjectKeys:l,ObjectSetPrototypeOf:d,Promise:c,SafeSet:m,SymbolAsyncDispose:f,SymbolAsyncIterator:h,Symbol:p}=e("../../ours/primordials");t.exports=z,z.ReadableState=G;const{EventEmitter:b}=e("events"),{Stream:_,prependListener:w}=e("./legacy"),{Buffer:g}=e("buffer"),{addAbortSignal:y}=e("./add-abort-signal"),k=e("./end-of-stream");let v=e("../../ours/util").debuglog("stream",e=>{v=e});const x=e("./buffer_list"),E=e("./destroy"),{getHighWaterMark:j,getDefaultHighWaterMark:S}=e("./state"),{aggregateTwoErrors:R,codes:{ERR_INVALID_ARG_TYPE:T,ERR_METHOD_NOT_IMPLEMENTED:A,ERR_OUT_OF_RANGE:O,ERR_STREAM_PUSH_AFTER_EOF:I,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:P},AbortError:M}=e("../../ours/errors"),{validateObject:N}=e("../validators"),C=p("kPaused"),{StringDecoder:L}=e("string_decoder/"),D=e("./from");d(z.prototype,_.prototype),d(z,_);const U=()=>{},{errorOrDestroy:$}=E,F=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,n,r){"boolean"!=typeof r&&(r=n instanceof e("./duplex")),this.state=H|q|B|W,t&&t.objectMode&&(this.state|=F),r&&t&&t.readableObjectMode&&(this.state|=F),this.highWaterMark=t?j(this,t,"readableHighWaterMark",r):S(!1),this.buffer=new x,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 n=this instanceof e("./duplex");this._readableState=new G(t,this,n),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&&!n&&y(t.signal,this)),_.call(this,t),E.construct(this,()=>{this._readableState.needReadable&&Q(this,this._readableState)})}function K(e,t,n,r){v("readableAddChunk",t);const o=e._readableState;let s;if(0===(o.state&F)&&("string"==typeof t?(n=n||o.defaultEncoding,o.encoding!==n&&(r&&o.encoding?t=g.from(t,n).toString(o.encoding):(t=g.from(t,n),n=""))):t instanceof g?n="":_._isUint8Array(t)?(t=_._uint8ArrayToBuffer(t),n=""):null!=t&&(s=new T("chunk",["string","Buffer","Uint8Array"],t))),s)$(e,s);else if(null===t)o.state&=-9,function(e,t){if(v("onEofChunk"),t.ended)return;if(t.decoder){const e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?J(e):(t.needReadable=!1,t.emittedReadable=!0,Z(e))}(e,o);else if(0!==(o.state&F)||t&&t.length>0)if(r)if(4&o.state)$(e,new P);else{if(o.destroyed||o.errored)return!1;Y(e,o,t,!0)}else if(o.ended)$(e,new I);else{if(o.destroyed||o.errored)return!1;o.state&=-9,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?Y(e,o,t,!1):Q(e,o)):Y(e,o,t,!1)}else r||(o.state&=-9,Q(e,o));return!o.ended&&(o.length<o.highWaterMark||0===o.length)}function Y(e,t,n,r){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",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),64&t.state&&J(e)),Q(e,t)}u(G.prototype,{objectMode:V(F),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=E.destroy,z.prototype._undestroy=E.undestroy,z.prototype._destroy=function(e,t){t(e)},z.prototype[b.captureRejectionSymbol]=function(e){this.destroy(e)},z.prototype[f]=function(){let e;return this.destroyed||(e=this.readableEnded?null:new M,this.destroy(e)),new c((t,n)=>k(this,r=>r&&r!==e?n(r):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 n=this._readableState.buffer;let r="";for(const e of n)r+=t.write(e);return n.clear(),""!==r&&n.push(r),this._readableState.length=r.length,this};function X(e,t){return e<=0||0===t.length&&t.ended?0:0!==(t.state&F)?1:i(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function J(e){const t=e._readableState;v("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(v("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(Z,e))}function Z(e){const t=e._readableState;v("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,oe(e)}function Q(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,r.nextTick(ee,e,t))}function ee(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){const n=t.length;if(v("maybeReadMore read 0"),e.read(0),n===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 ne(e){v("readable nexttick read 0"),e.read(0)}function re(e,t){v("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),oe(e),t.flowing&&!t.reading&&e.read(0)}function oe(e){const t=e._readableState;for(v("flow",t.flowing);t.flowing&&null!==e.read(););}function se(e,t){"function"!=typeof e.read&&(e=z.wrap(e,{objectMode:!0}));const n=async function*(e,t){let n,r=U;function o(t){this===e?(r(),r=U):r=t}e.on("readable",o);const s=k(e,{writable:!1},e=>{n=e?R(n,e):null,r(),r=U});try{for(;;){const t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(n)throw n;if(null===n)return;await new c(o)}}}catch(e){throw n=R(n,e),n}finally{!n&&!1===(null===t||t===undefined?undefined:t.destroyOnReturn)||n!==undefined&&!e._readableState.autoDestroy?(e.off("readable",o),s()):E.destroyer(e,null)}}(e,t);return n.stream=e,n}function ie(e,t){if(0===t.length)return null;let n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n}function ae(e){const t=e._readableState;v("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(ue,t,e))}function ue(e,t){if(v("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)r.nextTick(le,t);else if(e.autoDestroy){const e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function le(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let de;function ce(){return de===undefined&&(de={}),de}z.prototype.read=function(e){v("read",e),e===undefined?e=NaN:s(e)||(e=a(e,10));const t=this._readableState,n=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 v("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?ae(this):J(this),null;if(0===(e=X(e,t))&&t.ended)return 0===t.length&&ae(this),null;let r,o=!!(64&t.state);if(v("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&(o=!0,v("length less than watermark",o)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)o=!1,v("reading, ended or constructing",o);else if(o){v("do read"),t.state|=8|W,0===t.length&&(t.state|=64);try{this._read(t.highWaterMark)}catch(e){$(this,e)}t.state&=~W,t.reading||(e=X(n,t))}return r=e>0?ie(e,t):null,null===r?(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),n!==e&&t.ended&&ae(this)),null===r||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit("data",r)),r},z.prototype._read=function(e){throw new A("_read()")},z.prototype.pipe=function(e,t){const n=this,o=this._readableState;1===o.pipes.length&&(o.multiAwaitDrain||(o.multiAwaitDrain=!0,o.awaitDrainWriters=new m(o.awaitDrainWriters?[o.awaitDrainWriters]:[]))),o.pipes.push(e),v("pipe count=%d opts=%j",o.pipes.length,t);const s=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?a:b;function i(t,r){v("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,function(){v("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),u&&e.removeListener("drain",u);e.removeListener("error",f),e.removeListener("unpipe",i),n.removeListener("end",a),n.removeListener("end",b),n.removeListener("data",c),l=!0,u&&o.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&u()}())}function a(){v("onend"),e.end()}let u;o.endEmitted?r.nextTick(s):n.once("end",s),e.on("unpipe",i);let l=!1;function d(){l||(1===o.pipes.length&&o.pipes[0]===e?(v("false write response, pause",0),o.awaitDrainWriters=e,o.multiAwaitDrain=!1):o.pipes.length>1&&o.pipes.includes(e)&&(v("false write response, pause",o.awaitDrainWriters.size),o.awaitDrainWriters.add(e)),n.pause()),u||(u=function(e,t){return function(){const n=e._readableState;n.awaitDrainWriters===t?(v("pipeOnDrain",1),n.awaitDrainWriters=null):n.multiAwaitDrain&&(v("pipeOnDrain",n.awaitDrainWriters.size),n.awaitDrainWriters.delete(t)),n.awaitDrainWriters&&0!==n.awaitDrainWriters.size||!e.listenerCount("data")||e.resume()}}(n,e),e.on("drain",u))}function c(t){v("ondata");const n=e.write(t);v("dest.write",n),!1===n&&d()}function f(t){if(v("onerror",t),b(),e.removeListener("error",f),0===e.listenerCount("error")){const n=e._writableState||e._readableState;n&&!n.errorEmitted?$(e,t):e.emit("error",t)}}function h(){e.removeListener("finish",p),b()}function p(){v("onfinish"),e.removeListener("close",h),b()}function b(){v("unpipe"),n.unpipe(e)}return n.on("data",c),w(e,"error",f),e.once("close",h),e.once("finish",p),e.emit("pipe",n),!0===e.writableNeedDrain?d():o.flowing||(v("pipe resume"),n.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 n=o(t.pipes,e);return-1===n||(t.pipes.splice(n,1),0===t.pipes.length&&this.pause(),e.emit("unpipe",this,{hasUnpiped:!1})),this},z.prototype.on=function(e,t){const n=_.prototype.on.call(this,e,t),o=this._readableState;return"data"===e?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,v("on readable",o.length,o.reading),o.length?J(this):o.reading||r.nextTick(ne,this))),n},z.prototype.addListener=z.prototype.on,z.prototype.removeListener=function(e,t){const n=_.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(te,this),n},z.prototype.off=z.prototype.removeListener,z.prototype.removeAllListeners=function(e){const t=_.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||r.nextTick(te,this),t},z.prototype.resume=function(){const e=this._readableState;return e.flowing||(v("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(re,e,t))}(this,e)),e[C]=!1,this},z.prototype.pause=function(){return v("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(v("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[C]=!0,this},z.prototype.wrap=function(e){let t=!1;e.on("data",n=>{!this.push(n)&&e.pause&&(t=!0,e.pause())}),e.on("end",()=>{this.push(null)}),e.on("error",e=>{$(this,e)}),e.on("close",()=>{this.destroy()}),e.on("destroy",()=>{this.destroy()}),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};const n=l(e);for(let t=1;t<n.length;t++){const r=n[t];this[r]===undefined&&"function"==typeof e[r]&&(this[r]=e[r].bind(e))}return this},z.prototype[h]=function(){return se(this)},z.prototype.iterator=function(e){return e!==undefined&&N(e,"options"),se(this,e)},u(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}}}),u(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=ie,z.from=function(e,t){return D(z,e,t)},z.fromWeb=function(e,t){return ce().newStreamReadableFromReadableStream(e,t)},z.toWeb=function(e,t){return ce().newReadableStreamFromStreamReadable(e,t)},z.wrap=function(e,t){var n,r;return new z({objectMode:null===(n=null!==(r=e.readableObjectMode)&&r!==undefined?r:e.objectMode)||n===undefined||n,...t,destroy(t,n){E.destroyer(e,t),n(t)}}).wrap(e)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/readable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/state.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{MathFloor:r,NumberIsInteger:o}=e("../../ours/primordials"),{validateInteger:s}=e("../validators"),{ERR_INVALID_ARG_VALUE:i}=e("../../ours/errors").codes;let a=16384,u=16;function l(e){return e?u:a}t.exports={getHighWaterMark:function(e,t,n,s){const a=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,s,n);if(null!=a){if(!o(a)||a<0){throw new i(s?`options.${n}`:"options.highWaterMark",a)}return r(a)}return l(e.objectMode)},getDefaultHighWaterMark:l,setDefaultHighWaterMark:function(e,t){s(t,"value",0),e?u=t:a=t}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/state.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/transform.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/state.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{ObjectSetPrototypeOf:r,Symbol:o}=e("../../ours/primordials");t.exports=l;const{ERR_METHOD_NOT_IMPLEMENTED:s}=e("../../ours/errors").codes,i=e("./duplex"),{getHighWaterMark:a}=e("./state");r(l.prototype,i.prototype),r(l,i);const u=o("kCallback");function l(e){if(!(this instanceof l))return new l(e);const t=e?a(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),i.call(this,e),this._readableState.sync=!1,this[u]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",c)}function d(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush((t,n)=>{t?e?e(t):this.destroy(t):(null!=n&&this.push(n),this.push(null),e&&e())})}function c(){this._final!==d&&d.call(this)}l.prototype._final=d,l.prototype._transform=function(e,t,n){throw new s("_transform()")},l.prototype._write=function(e,t,n){const r=this._readableState,o=this._writableState,s=r.length;this._transform(e,t,(e,t)=>{e?n(e):(null!=t&&this.push(t),o.ended||s===r.length||r.length<r.highWaterMark?n():this[u]=n)})},l.prototype._read=function(){if(this[u]){const e=this[u];this[u]=null,e()}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/transform.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{SymbolAsyncIterator:r,SymbolIterator:o,SymbolFor:s}=e("../../ours/primordials"),i=s("nodejs.stream.destroyed"),a=s("nodejs.stream.errored"),u=s("nodejs.stream.readable"),l=s("nodejs.stream.writable"),d=s("nodejs.stream.disturbed"),c=s("nodejs.webstream.isClosedPromise"),m=s("nodejs.webstream.controllerErrorFunction");function f(e,t=!1){var n;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(n=e._readableState)||n===undefined?undefined:n.readable)||e._writableState&&!e._readableState)}function h(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 p(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||p(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function _(e){return!(!e||p(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function w(e){return!(!e||p(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function g(e){if(!p(e))return null;const t=e._writableState,n=e._readableState,r=t||n;return!!(e.destroyed||e[i]||null!==r&&r!==undefined&&r.destroyed)}function y(e){if(!h(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 k(e,t){if(!f(e))return null;const n=e._readableState;return(null===n||n===undefined||!n.errored)&&("boolean"!=typeof(null===n||n===undefined?undefined:n.endEmitted)?null:!!(n.endEmitted||!1===t&&!0===n.ended&&0===n.length))}function v(e){return e&&null!=e[u]?e[u]:"boolean"!=typeof(null===e||e===undefined?undefined:e.readable)?null:!g(e)&&(f(e)&&e.readable&&!k(e))}function x(e){return e&&null!=e[l]?e[l]:"boolean"!=typeof(null===e||e===undefined?undefined:e.writable)?null:!g(e)&&(h(e)&&e.writable&&!y(e))}function E(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function j(e){return"boolean"==typeof e._sent100&&E(e)}t.exports={isDestroyed:g,kIsDestroyed:i,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[d])&&t!==undefined?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:d,isErrored:function(e){var t,n,r,o,s,i,u,l,d,c;return!(!e||!(null!==(t=null!==(n=null!==(r=null!==(o=null!==(s=null!==(i=e[a])&&i!==undefined?i:e.readableErrored)&&s!==undefined?s:e.writableErrored)&&o!==undefined?o:null===(u=e._readableState)||u===undefined?undefined:u.errorEmitted)&&r!==undefined?r:null===(l=e._writableState)||l===undefined?undefined:l.errorEmitted)&&n!==undefined?n:null===(d=e._readableState)||d===undefined?undefined:d.errored)&&t!==undefined?t:null===(c=e._writableState)||c===undefined?undefined:c.errored))},kIsErrored:a,isReadable:v,kIsReadable:u,kIsClosedPromise:c,kControllerErrorFunction:m,kIsWritable:l,isClosed:function(e){if(!p(e))return null;if("boolean"==typeof e.closed)return e.closed;const t=e._writableState,n=e._readableState;return"boolean"==typeof(null===t||t===undefined?undefined:t.closed)||"boolean"==typeof(null===n||n===undefined?undefined:n.closed)?(null===t||t===undefined?undefined:t.closed)||(null===n||n===undefined?undefined:n.closed):"boolean"==typeof e._closed&&E(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 p(e)?!!g(e)||(!1===(null===t||t===undefined?undefined:t.readable)||!v(e))&&(!1===(null===t||t===undefined?undefined:t.writable)||!x(e)):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[r]:!1===t?"function"==typeof e[o]:"function"==typeof e[r]||"function"==typeof e[o])},isReadableNodeStream:f,isReadableStream:b,isReadableEnded:function(e){if(!f(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:k,isReadableErrored:function(e){var t,n;return p(e)?e.readableErrored?e.readableErrored:null!==(t=null===(n=e._readableState)||n===undefined?undefined:n.errored)&&t!==undefined?t:null:null},isNodeStream:p,isWebStream:function(e){return b(e)||_(e)||w(e)},isWritable:x,isWritableNodeStream:h,isWritableStream:_,isWritableEnded:y,isWritableFinished:function(e,t){if(!h(e))return null;if(!0===e.writableFinished)return!0;const n=e._writableState;return(null===n||n===undefined||!n.errored)&&("boolean"!=typeof(null===n||n===undefined?undefined:n.finished)?null:!!(n.finished||!1===t&&!0===n.ended&&0===n.length))},isWritableErrored:function(e){var t,n;return p(e)?e.writableErrored?e.writableErrored:null!==(t=null===(n=e._writableState)||n===undefined?undefined:n.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:j,willEmitClose:function(e){if(!p(e))return null;const t=e._writableState,n=e._readableState,r=t||n;return!r&&j(e)||!!(r&&r.autoDestroy&&r.emitClose&&!1===r.closed)},isTransformStream:w}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/writable.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./add-abort-signal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./legacy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/legacy.js","./state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/state.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("process/"),{ArrayPrototypeSlice:o,Error:s,FunctionPrototypeSymbolHasInstance:i,ObjectDefineProperty:a,ObjectDefineProperties:u,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:d,Symbol:c,SymbolHasInstance:m}=e("../../ours/primordials");t.exports=N,N.WritableState=P;const{EventEmitter:f}=e("events"),h=e("./legacy").Stream,{Buffer:p}=e("buffer"),b=e("./destroy"),{addAbortSignal:_}=e("./add-abort-signal"),{getHighWaterMark:w,getDefaultHighWaterMark:g}=e("./state"),{ERR_INVALID_ARG_TYPE:y,ERR_METHOD_NOT_IMPLEMENTED:k,ERR_MULTIPLE_CALLBACK:v,ERR_STREAM_CANNOT_PIPE:x,ERR_STREAM_DESTROYED:E,ERR_STREAM_ALREADY_FINISHED:j,ERR_STREAM_NULL_VALUES:S,ERR_STREAM_WRITE_AFTER_END:R,ERR_UNKNOWN_ENCODING:T}=e("../../ours/errors").codes,{errorOrDestroy:A}=b;function O(){}l(N.prototype,h.prototype),l(N,h);const I=c("kOnFinished");function P(t,n,r){"boolean"!=typeof r&&(r=n instanceof e("./duplex")),this.objectMode=!(!t||!t.objectMode),r&&(this.objectMode=this.objectMode||!(!t||!t.writableObjectMode)),this.highWaterMark=t?w(this,t,"writableHighWaterMark",r):g(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const o=!(!t||!1!==t.decodeStrings);this.decodeStrings=!o,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,n),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,M(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!t||!1!==t.emitClose,this.autoDestroy=!t||!1!==t.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[I]=[]}function M(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function N(t){const n=this instanceof e("./duplex");if(!n&&!i(N,this))return new N(t);this._writableState=new P(t,this,n),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&&_(t.signal,this)),h.call(this,t),b.construct(this,()=>{const e=this._writableState;e.writing||W(this,e),V(this,e)})}function C(e,t,n,o){const s=e._writableState;if("function"==typeof n)o=n,n=s.defaultEncoding;else{if(n){if("buffer"!==n&&!p.isEncoding(n))throw new T(n)}else n=s.defaultEncoding;"function"!=typeof o&&(o=O)}if(null===t)throw new S;if(!s.objectMode)if("string"==typeof t)!1!==s.decodeStrings&&(t=p.from(t,n),n="buffer");else if(t instanceof p)n="buffer";else{if(!h._isUint8Array(t))throw new y("chunk",["string","Buffer","Uint8Array"],t);t=h._uint8ArrayToBuffer(t),n="buffer"}let i;return s.ending?i=new R:s.destroyed&&(i=new E("write")),i?(r.nextTick(o,i),A(e,i,!0),i):(s.pendingcb++,function(e,t,n,r,o){const s=t.objectMode?1:n.length;t.length+=s;const i=t.length<t.highWaterMark;i||(t.needDrain=!0);t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:n,encoding:r,callback:o}),t.allBuffers&&"buffer"!==r&&(t.allBuffers=!1),t.allNoop&&o!==O&&(t.allNoop=!1)):(t.writelen=s,t.writecb=o,t.writing=!0,t.sync=!0,e._write(n,r,t.onwrite),t.sync=!1);return i&&!t.errored&&!t.destroyed}(e,s,t,n,o))}function L(e,t,n,r,o,s,i){t.writelen=r,t.writecb=i,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new E("write")):n?e._writev(o,t.onwrite):e._write(o,s,t.onwrite),t.sync=!1}function D(e,t,n,r){--t.pendingcb,r(n),B(t),A(e,n)}function U(e,t){const n=e._writableState,o=n.sync,s=n.writecb;"function"==typeof s?(n.writing=!1,n.writecb=null,n.length-=n.writelen,n.writelen=0,t?(t.stack,n.errored||(n.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),o?r.nextTick(D,e,n,t,s):D(e,n,t,s)):(n.buffered.length>n.bufferedIndex&&W(e,n),o?null!==n.afterWriteTickInfo&&n.afterWriteTickInfo.cb===s?n.afterWriteTickInfo.count++:(n.afterWriteTickInfo={count:1,cb:s,stream:e,state:n},r.nextTick($,n.afterWriteTickInfo)):F(e,n,1,s))):A(e,new v)}function $({stream:e,state:t,count:n,cb:r}){return t.afterWriteTickInfo=null,F(e,t,n,r)}function F(e,t,n,r){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));n-- >0;)t.pendingcb--,r();t.destroyed&&B(t),V(e,t)}function B(e){if(e.writing)return;for(let n=e.bufferedIndex;n<e.buffered.length;++n){var t;const{chunk:r,callback:o}=e.buffered[n],s=e.objectMode?1:r.length;e.length-=s,o(null!==(t=e.errored)&&t!==undefined?t:new E("write"))}const n=e[I].splice(0);for(let t=0;t<n.length;t++){var r;n[t](null!==(r=e.errored)&&r!==undefined?r:new E("end"))}M(e)}function W(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;const{buffered:n,bufferedIndex:r,objectMode:s}=t,i=n.length-r;if(!i)return;let a=r;if(t.bufferProcessing=!0,i>1&&e._writev){t.pendingcb-=i-1;const r=t.allNoop?O:e=>{for(let t=a;t<n.length;++t)n[t].callback(e)},s=t.allNoop&&0===a?n:o(n,a);s.allBuffers=t.allBuffers,L(e,t,!0,t.length,s,"",r),M(t)}else{do{const{chunk:r,encoding:o,callback:i}=n[a];n[a++]=null;L(e,t,!1,s?1:r.length,r,o,i)}while(a<n.length&&!t.writing);a===n.length?M(t):a>256?(n.splice(0,a),t.bufferedIndex=0):t.bufferedIndex=a}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 n=!1;function o(o){if(n)A(e,null!==o&&o!==undefined?o:v());else if(n=!0,t.pendingcb--,o){const n=t[I].splice(0);for(let e=0;e<n.length;e++)n[e](o);A(e,o,t.sync)}else H(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,r.nextTick(G,e,t))}t.sync=!0,t.pendingcb++;try{e._final(o)}catch(e){o(e)}t.sync=!1}(e,t)))}function V(e,t,n){H(t)&&(q(e,t),0===t.pendingcb&&(n?(t.pendingcb++,r.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 n=t[I].splice(0);for(let e=0;e<n.length;e++)n[e]();if(e.emit("finish"),t.autoDestroy){const t=e._readableState;(!t||t.autoDestroy&&(t.endEmitted||!1===t.readable))&&e.destroy()}}P.prototype.getBuffer=function(){return o(this.buffered,this.bufferedIndex)},a(P.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),a(N,m,{__proto__:null,value:function(e){return!!i(this,e)||this===N&&(e&&e._writableState instanceof P)}}),N.prototype.pipe=function(){A(this,new x)},N.prototype.write=function(e,t,n){return!0===C(this,e,t,n)},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=d(e)),!p.isEncoding(e))throw new T(e);return this._writableState.defaultEncoding=e,this},N.prototype._write=function(e,t,n){if(!this._writev)throw new k("_write()");this._writev([{chunk:e,encoding:t}],n)},N.prototype._writev=null,N.prototype.end=function(e,t,n){const o=this._writableState;let i;if("function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&e!==undefined){const n=C(this,e,t);n instanceof s&&(i=n)}return o.corked&&(o.corked=1,this.uncork()),i||(o.errored||o.ending?o.finished?i=new j("end"):o.destroyed&&(i=new E("end")):(o.ending=!0,V(this,o,!0),o.ended=!0)),"function"==typeof n&&(i||o.finished?r.nextTick(n,i):o[I].push(n)),this},u(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 n=this._writableState;return!n.destroyed&&(n.bufferedIndex<n.buffered.length||n[I].length)&&r.nextTick(B,n),z.call(this,e,t),this},N.prototype._undestroy=b.undestroy,N.prototype._destroy=function(e,t){t(e)},N.prototype[f.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js",{"../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{ArrayIsArray:r,ArrayPrototypeIncludes:o,ArrayPrototypeJoin:s,ArrayPrototypeMap:i,NumberIsInteger:a,NumberIsNaN:u,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:d,NumberParseInt:c,ObjectPrototypeHasOwnProperty:m,RegExpPrototypeExec:f,String:h,StringPrototypeToUpperCase:p,StringPrototypeTrim:b}=e("../ours/primordials"),{hideStackFrames:_,codes:{ERR_SOCKET_BAD_PORT:w,ERR_INVALID_ARG_TYPE:g,ERR_INVALID_ARG_VALUE:y,ERR_OUT_OF_RANGE:k,ERR_UNKNOWN_SIGNAL:v}}=e("../ours/errors"),{normalizeEncoding:x}=e("../ours/util"),{isAsyncFunction:E,isArrayBufferView:j}=e("../ours/util").types,S={};const R=/^[0-7]+$/;const T=_((e,t,n=d,r=l)=>{if("number"!=typeof e)throw new g(t,"number",e);if(!a(e))throw new k(t,"an integer",e);if(e<n||e>r)throw new k(t,`>= ${n} && <= ${r}`,e)}),A=_((e,t,n=-2147483648,r=2147483647)=>{if("number"!=typeof e)throw new g(t,"number",e);if(!a(e))throw new k(t,"an integer",e);if(e<n||e>r)throw new k(t,`>= ${n} && <= ${r}`,e)}),O=_((e,t,n=!1)=>{if("number"!=typeof e)throw new g(t,"number",e);if(!a(e))throw new k(t,"an integer",e);const r=n?1:0,o=4294967295;if(e<r||e>o)throw new k(t,`>= ${r} && <= ${o}`,e)});function I(e,t){if("string"!=typeof e)throw new g(t,"string",e)}const P=_((e,t,n)=>{if(!o(n,e)){const r=s(i(n,e=>"string"==typeof e?`'${e}'`:h(e)),", ");throw new y(t,e,"must be one of: "+r)}});function M(e,t){if("boolean"!=typeof e)throw new g(t,"boolean",e)}function N(e,t,n){return null!=e&&m(e,t)?e[t]:n}const C=_((e,t,n=null)=>{const o=N(n,"allowArray",!1),s=N(n,"allowFunction",!1);if(!N(n,"nullable",!1)&&null===e||!o&&r(e)||"object"!=typeof e&&(!s||"function"!=typeof e))throw new g(t,"Object",e)}),L=_((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new g(t,"a dictionary",e)}),D=_((e,t,n=0)=>{if(!r(e))throw new g(t,"Array",e);if(e.length<n){throw new y(t,e,`must be longer than ${n}`)}});const U=_((e,t="buffer")=>{if(!j(e))throw new g(t,["Buffer","TypedArray","DataView"],e)});const $=_((e,t)=>{if(e!==undefined&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new g(t,"AbortSignal",e)}),F=_((e,t)=>{if("function"!=typeof e)throw new g(t,"Function",e)}),B=_((e,t)=>{if("function"!=typeof e||E(e))throw new g(t,"Function",e)}),W=_((e,t)=>{if(e!==undefined)throw new g(t,"undefined",e)});const H=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function q(e,t){if(void 0===e||!f(H,e))throw new y(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,n){if(void 0===e&&(e=n),"string"==typeof e){if(null===f(R,e))throw new y(t,e,"must be a 32-bit unsigned integer or an octal string");e=c(e,8)}return O(e,t),e},validateArray:D,validateStringArray:function(e,t){D(e,t);for(let n=0;n<e.length;n++)I(e[n],`${t}[${n}]`)},validateBooleanArray:function(e,t){D(e,t);for(let n=0;n<e.length;n++)M(e[n],`${t}[${n}]`)},validateAbortSignalArray:function(e,t){D(e,t);for(let n=0;n<e.length;n++){const r=e[n],o=`${t}[${n}]`;if(null==r)throw new g(o,"AbortSignal",r);$(r,o)}},validateBoolean:M,validateBuffer:U,validateDictionary:L,validateEncoding:function(e,t){const n=x(t),r=e.length;if("hex"===n&&r%2!=0)throw new y("encoding",t,`is invalid for data of length ${r}`)},validateFunction:F,validateInt32:A,validateInteger:T,validateNumber:function(e,t,n=undefined,r){if("number"!=typeof e)throw new g(t,"number",e);if(null!=n&&e<n||null!=r&&e>r||(null!=n||null!=r)&&u(e))throw new k(t,`${null!=n?`>= ${n}`:""}${null!=n&&null!=r?" && ":""}${null!=r?`<= ${r}`:""}`,e)},validateObject:C,validateOneOf:P,validatePlainFunction:B,validatePort:function(e,t="Port",n=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===b(e).length||+e!==+e>>>0||e>65535||0===e&&!n)throw new w(t,e,n);return 0|e},validateSignalName:function(e,t="signal"){if(I(e,t),S[e]===undefined){if(S[p(e)]!==undefined)throw new v(e+" (signals must use all capital letters)");throw new v(e)}},validateString:I,validateUint32:O,validateUndefined:W,validateUnion:function(e,t,n){if(!o(n,e))throw new g(t,`('${s(n,"|")}')`,e)},validateAbortSignal:$,validateLinkHeaderValue:function(e){if("string"==typeof e)return q(e,"hints"),e;if(r(e)){const t=e.length;let n="";if(0===t)return n;for(let r=0;r<t;r++){const o=e[r];q(o,"hints"),n+=o,r!==t-1&&(n+=", ")}return n}throw new y("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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/browser.js",{"../stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream.js","../stream/promises":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream/promises.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../stream"),o=e("../stream/promises"),s=r.Readable.destroy;t.exports=r.Readable,t.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,t.exports._isUint8Array=r._isUint8Array,t.exports.isDisturbed=r.isDisturbed,t.exports.isErrored=r.isErrored,t.exports.isReadable=r.isReadable,t.exports.Readable=r.Readable,t.exports.Writable=r.Writable,t.exports.Duplex=r.Duplex,t.exports.Transform=r.Transform,t.exports.PassThrough=r.PassThrough,t.exports.addAbortSignal=r.addAbortSignal,t.exports.finished=r.finished,t.exports.destroy=r.destroy,t.exports.destroy=s,t.exports.pipeline=r.pipeline,t.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get:()=>o}),t.exports.Stream=r.Stream,t.exports.default=t.exports}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js",{"./primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./util/inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util/inspect.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{format:r,inspect:o}=e("./util/inspect"),{AggregateError:s}=e("./primordials"),i=globalThis.AggregateError||s,a=Symbol("kIsNodeError"),u=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,d={};function c(e,t){if(!e)throw new d.ERR_INTERNAL_ASSERTION(t)}function m(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function f(e,t,n){n||(n=Error);class o extends n{constructor(...n){super(function(e,t,n){if("function"==typeof t)return c(t.length<=n.length,`Code: ${e}; The provided arguments length (${n.length}) does not match the required ones (${t.length}).`),t(...n);const o=(t.match(/%[dfijoOs]/g)||[]).length;return c(o===n.length,`Code: ${e}; The provided arguments length (${n.length}) does not match the required ones (${o}).`),0===n.length?t:r(t,...n)}(e,t,n))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(o.prototype,{name:{value:n.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),o.prototype.code=e,o.prototype[a]=!0,d[e]=o}function h(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}class p extends Error{constructor(e="The operation was aborted",t=undefined){if(t!==undefined&&"object"!=typeof t)throw new d.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}}f("ERR_ASSERTION","%s",Error),f("ERR_INVALID_ARG_TYPE",(e,t,n)=>{c("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let r="The ";e.endsWith(" argument")?r+=`${e} `:r+=`"${e}" ${e.includes(".")?"property":"argument"} `,r+="must be ";const s=[],i=[],a=[];for(const e of t)c("string"==typeof e,"All expected entries have to be of type string"),u.includes(e)?s.push(e.toLowerCase()):l.test(e)?i.push(e):(c("object"!==e,'The value "object" should be written as "Object"'),a.push(e));if(i.length>0){const e=s.indexOf("object");-1!==e&&(s.splice(s,e,1),i.push("Object"))}if(s.length>0){switch(s.length){case 1:r+=`of type ${s[0]}`;break;case 2:r+=`one of type ${s[0]} or ${s[1]}`;break;default:{const e=s.pop();r+=`one of type ${s.join(", ")}, or ${e}`}}(i.length>0||a.length>0)&&(r+=" or ")}if(i.length>0){switch(i.length){case 1:r+=`an instance of ${i[0]}`;break;case 2:r+=`an instance of ${i[0]} or ${i[1]}`;break;default:{const e=i.pop();r+=`an instance of ${i.join(", ")}, or ${e}`}}a.length>0&&(r+=" or ")}switch(a.length){case 0:break;case 1:a[0].toLowerCase()!==a[0]&&(r+="an "),r+=`${a[0]}`;break;case 2:r+=`one of ${a[0]} or ${a[1]}`;break;default:{const e=a.pop();r+=`one of ${a.join(", ")}, or ${e}`}}if(null==n)r+=`. Received ${n}`;else if("function"==typeof n&&n.name)r+=`. Received function ${n.name}`;else if("object"==typeof n){var d;if(null!==(d=n.constructor)&&d!==undefined&&d.name)r+=`. Received an instance of ${n.constructor.name}`;else{r+=`. Received ${o(n,{depth:-1})}`}}else{let e=o(n,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),r+=`. Received type ${typeof n} (${e})`}return r},TypeError),f("ERR_INVALID_ARG_VALUE",(e,t,n="is invalid")=>{let r=o(t);r.length>128&&(r=r.slice(0,128)+"...");return`The ${e.includes(".")?"property":"argument"} '${e}' ${n}. Received ${r}`},TypeError),f("ERR_INVALID_RETURN_VALUE",(e,t,n)=>{var r;return`Expected ${e} to be returned from the "${t}" function but got ${null!==n&&n!==undefined&&null!==(r=n.constructor)&&r!==undefined&&r.name?`instance of ${n.constructor.name}`:"type "+typeof n}.`},TypeError),f("ERR_MISSING_ARGS",(...e)=>{let t;c(e.length>0,"At least one arg needs to be specified");const n=e.length;switch(e=(Array.isArray(e)?e:[e]).map(e=>`"${e}"`).join(" or "),n){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const n=e.pop();t+=`The ${e.join(", ")}, and ${n} arguments`}}return`${t} must be specified`},TypeError),f("ERR_OUT_OF_RANGE",(e,t,n)=>{let r;if(c(t,'Missing "range" argument'),Number.isInteger(n)&&Math.abs(n)>2**32)r=m(String(n));else if("bigint"==typeof n){r=String(n);const e=BigInt(2)**BigInt(32);(n>e||n<-e)&&(r=m(r)),r+="n"}else r=o(n);return`The value of "${e}" is out of range. It must be ${t}. Received ${r}`},RangeError),f("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),f("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),f("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),f("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),f("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),f("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),f("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),f("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),f("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),f("ERR_STREAM_WRITE_AFTER_END","write after end",Error),f("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:p,aggregateTwoErrors:h(function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const n=new i([t,e],t.message);return n.code=t.code,n}return e||t}),hideStackFrames:h,codes:d}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/errors.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){class r extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let t="";for(let n=0;n<e.length;n++)t+=`    ${e[n].stack}\n`;super(t),this.name="AggregateError",this.errors=e}}t.exports={AggregateError:r,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,n)=>e.slice(t,n),Error:Error,FunctionPrototypeCall:(e,t,...n)=>e.call(t,...n),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,n)=>Object.defineProperty(e,t,n),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,n)=>e.then(t,n),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,n)=>e.slice(t,n),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,n)=>e.set(t,n),Boolean:Boolean,Uint8Array:Uint8Array}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/primordials.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js",{"./errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","./primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./util/inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util/inspect.js","abort-controller":"/home/runner/work/metamask-extension/metamask-extension/node_modules/abort-controller/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("buffer"),{format:o,inspect:s}=e("./util/inspect"),{codes:{ERR_INVALID_ARG_TYPE:i}}=e("./errors"),{kResistStopPropagation:a,AggregateError:u,SymbolDispose:l}=e("./primordials"),d=globalThis.AbortSignal||e("abort-controller").AbortSignal,c=globalThis.AbortController||e("abort-controller").AbortController,m=Object.getPrototypeOf(async function(){}).constructor,f=globalThis.Blob||r.Blob,h=void 0!==f?function(e){return e instanceof f}:function(e){return!1},p=(e,t)=>{if(e!==undefined&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new i(t,"AbortSignal",e)};t.exports={AggregateError:u,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...n){t||(t=!0,e.apply(this,n))}},createDeferredPromise:function(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}},promisify:e=>new Promise((t,n)=>{e((e,...r)=>e?n(e):t(...r))}),debuglog:()=>function(){},format:o,inspect:s,types:{isAsyncFunction:e=>e instanceof m,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:h,deprecate:(e,t)=>e,addAbortListener:e("events").addAbortListener||function(e,t){if(e===undefined)throw new i("signal","AbortSignal",e);let n;return p(e,"signal"),((e,t)=>{if("function"!=typeof e)throw new i(t,"Function",e)})(t,"listener"),e.aborted?queueMicrotask(()=>t()):(e.addEventListener("abort",t,{__proto__:null,once:!0,[a]:!0}),n=()=>{e.removeEventListener("abort",t)}),{__proto__:null,[l](){var e;null===(e=n)||e===undefined?undefined:e()}}},AbortSignalAny:d.any||function(e){if(1===e.length)return e[0];const t=new c,n=()=>t.abort();return e.forEach(e=>{p(e,"signals"),e.addEventListener("abort",n,{once:!0})}),t.signal.addEventListener("abort",()=>{e.forEach(e=>e.removeEventListener("abort",n))},{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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util/inspect.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports={format:(e,...t)=>e.replace(/%([sdifj])/g,function(...[e,n]){const r=t.shift();if("f"===n)return r.toFixed(6);if("j"===n)return JSON.stringify(r);if("s"===n&&"object"==typeof r){return`${r.constructor!==Object?r.constructor.name:""} {}`.trim()}return r.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream.js",{"./internal/streams/add-abort-signal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js","./internal/streams/compose":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/compose.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./internal/streams/end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./internal/streams/legacy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/legacy.js","./internal/streams/operators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/operators.js","./internal/streams/passthrough":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/passthrough.js","./internal/streams/pipeline":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/pipeline.js","./internal/streams/readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/readable.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/transform.js","./internal/streams/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","./internal/streams/writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/writable.js","./ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","./ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","./stream/promises":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream/promises.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{Buffer:r}=e("buffer"),{ObjectDefineProperty:o,ObjectKeys:s,ReflectApply:i}=e("./ours/primordials"),{promisify:{custom:a}}=e("./ours/util"),{streamReturningOperators:u,promiseReturningOperators:l}=e("./internal/streams/operators"),{codes:{ERR_ILLEGAL_CONSTRUCTOR:d}}=e("./ours/errors"),c=e("./internal/streams/compose"),{setDefaultHighWaterMark:m,getDefaultHighWaterMark:f}=e("./internal/streams/state"),{pipeline:h}=e("./internal/streams/pipeline"),{destroyer:p}=e("./internal/streams/destroy"),b=e("./internal/streams/end-of-stream"),_=e("./stream/promises"),w=e("./internal/streams/utils"),g=t.exports=e("./internal/streams/legacy").Stream;g.isDestroyed=w.isDestroyed,g.isDisturbed=w.isDisturbed,g.isErrored=w.isErrored,g.isReadable=w.isReadable,g.isWritable=w.isWritable,g.Readable=e("./internal/streams/readable");for(const k of s(u)){const v=u[k];function x(...e){if(new.target)throw d();return g.Readable.from(i(v,this,e))}o(x,"name",{__proto__:null,value:v.name}),o(x,"length",{__proto__:null,value:v.length}),o(g.Readable.prototype,k,{__proto__:null,value:x,enumerable:!1,configurable:!0,writable:!0})}for(const E of s(l)){const j=l[E];function S(...e){if(new.target)throw d();return i(j,this,e)}o(S,"name",{__proto__:null,value:j.name}),o(S,"length",{__proto__:null,value:j.length}),o(g.Readable.prototype,E,{__proto__:null,value:S,enumerable:!1,configurable:!0,writable:!0})}g.Writable=e("./internal/streams/writable"),g.Duplex=e("./internal/streams/duplex"),g.Transform=e("./internal/streams/transform"),g.PassThrough=e("./internal/streams/passthrough"),g.pipeline=h;const{addAbortSignal:y}=e("./internal/streams/add-abort-signal");g.addAbortSignal=y,g.finished=b,g.destroy=p,g.compose=c,g.setDefaultHighWaterMark=m,g.getDefaultHighWaterMark=f,o(g,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>_}),o(h,a,{__proto__:null,enumerable:!0,get:()=>_.pipeline}),o(b,a,{__proto__:null,enumerable:!0,get:()=>_.finished}),g.Stream=g,g._isUint8Array=function(e){return e instanceof Uint8Array},g._uint8ArrayToBuffer=function(e){return r.from(e.buffer,e.byteOffset,e.byteLength)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/stream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream/promises.js",{"../../lib/stream.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream.js","../internal/streams/end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","../internal/streams/pipeline":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/pipeline.js","../internal/streams/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{ArrayPrototypePop:r,Promise:o}=e("../ours/primordials"),{isIterable:s,isNodeStream:i,isWebStream:a}=e("../internal/streams/utils"),{pipelineImpl:u}=e("../internal/streams/pipeline"),{finished:l}=e("../internal/streams/end-of-stream");e("../../lib/stream.js"),t.exports={finished:l,pipeline:function(...e){return new o((t,n)=>{let o,l;const d=e[e.length-1];if(d&&"object"==typeof d&&!i(d)&&!s(d)&&!a(d)){const t=r(e);o=t.signal,l=t.end}u(e,(e,r)=>{e?n(e):t(r)},{signal:o,end:l})})}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/stream/promises.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/redux-thunk/lib/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r();o.withExtraArgument=r;var s=o;n.default=s}}},{package:"redux-thunk",file:"node_modules/redux-thunk/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/redux/lib/redux.js",{"@babel/runtime/helpers/objectSpread2":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@babel/runtime/helpers/objectSpread2.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=r(e("@babel/runtime/helpers/objectSpread2"));function s(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 i="function"==typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function l(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function d(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(s(0));if("function"==typeof t&&void 0===n&&(n=t,t=undefined),void 0!==n){if("function"!=typeof n)throw new Error(s(1));return n(d)(e,t)}if("function"!=typeof e)throw new Error(s(2));var o=e,a=t,c=[],m=c,f=!1;function h(){m===c&&(m=c.slice())}function p(){if(f)throw new Error(s(3));return a}function b(e){if("function"!=typeof e)throw new Error(s(4));if(f)throw new Error(s(5));var t=!0;return h(),m.push(e),function(){if(t){if(f)throw new Error(s(6));t=!1,h();var n=m.indexOf(e);m.splice(n,1),c=null}}}function _(e){if(!l(e))throw new Error(s(7));if(void 0===e.type)throw new Error(s(8));if(f)throw new Error(s(9));try{f=!0,a=o(a,e)}finally{f=!1}for(var t=c=m,n=0;n<t.length;n++){(0,t[n])()}return e}return _({type:u.INIT}),(r={dispatch:_,subscribe:b,getState:p,replaceReducer:function(e){if("function"!=typeof e)throw new Error(s(10));o=e,_({type:u.REPLACE})}})[i]=function(){var e,t=b;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(s(11));function n(){e.next&&e.next(p())}return n(),{unsubscribe:t(n)}}})[i]=function(){return this},e},r}var c=d;function m(e,t){return function(){return t(e.apply(this,arguments))}}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];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))}})}n.__DO_NOT_USE__ActionTypes=u,n.applyMiddleware=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(s(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},a=t.map(function(e){return e(i)});return r=f.apply(void 0,a)(n.dispatch),o.default(o.default({},n),{},{dispatch:r})}}},n.bindActionCreators=function(e,t){if("function"==typeof e)return m(e,t);if("object"!=typeof e||null===e)throw new Error(s(16));var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=m(o,t))}return n},n.combineReducers=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(undefined,{type:u.INIT}))throw new Error(s(12));if(void 0===n(undefined,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(s(13))})}(n)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},u=0;u<a.length;u++){var l=a[u],d=n[l],c=e[l],m=d(c,t);if(void 0===m){t&&t.type;throw new Error(s(14))}o[l]=m,r=r||m!==c}return(r=r||a.length!==Object.keys(e).length)?o:e}},n.compose=f,n.createStore=d,n.legacy_createStore=c}}},{package:"redux",file:"node_modules/redux/lib/redux.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/reselect/dist/cjs/reselect.cjs",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,u={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(u,{createSelector:()=>G,createSelectorCreator:()=>V,createStructuredSelector:()=>z,lruMemoize:()=>U,referenceEqualityCheck:()=>L,setGlobalDevModeChecks:()=>d,unstable_autotrackMemoize:()=>$,weakMapMemoize:()=>q}),t.exports=(r=u,((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of i(t))a.call(e,u)||u===n||o(e,u,{get:()=>t[u],enumerable:!(r=s(t,u))||r.enumerable});return e})(o({},"__esModule",{value:!0}),r));var l={inputStabilityCheck:"once",identityFunctionCheck:"once"},d=e=>{Object.assign(l,e)},c=Symbol("NOT_FOUND");function m(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}var f=e=>Array.isArray(e)?e:[e];function h(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 n=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw new TypeError(`${t}[${n}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function p(e,t){const n=[],{length:r}=e;for(let o=0;o<r;o++)n.push(e[o].apply(null,t));return n}var b=0,_=null,w=class{revision=b;_value;_lastValue;_isEqual=g;constructor(e,t=g){this._value=this._lastValue=e,this._isEqual=t}get value(){return _?.add(this),this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++b)}};function g(e,t){return e===t}var y=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,n=_;_=t,this._cachedValue=e(),_=n,this.hits++,this._deps=Array.from(t),this._cachedRevision=this.revision}return _?.add(this),this._cachedValue}get revision(){return Math.max(...this._deps.map(e=>e.revision),0)}};function k(e){return e instanceof w||console.warn("Not a valid cell! ",e),e.value}var v=(e,t)=>!1;function x(){return function(e,t=g){return new w(e,t)}(null,v)}function E(e,t){!function(e,t){if(!(e instanceof w))throw new TypeError("setValue must be passed a tracked store created with `createStorage`.");e.value=e._lastValue=t}(e,t)}var j=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=x()),k(t)},S=e=>{const t=e.collectionTag;null!==t&&E(t,null)},R=(Symbol(),0),T=Object.getPrototypeOf({}),A=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy(this,O);tag=x();tags={};children={};collectionTag=null;id=R++},O={get:(e,t)=>function(){const{value:n}=e,r=Reflect.get(n,t);if("symbol"==typeof t)return r;if(t in T)return r;if("object"==typeof r&&null!==r){let n=e.children[t];return void 0===n&&(n=e.children[t]=M(r)),n.tag&&k(n.tag),n.proxy}{let n=e.tags[t];return void 0===n&&(n=e.tags[t]=x(),n.value=r),k(n),r}}(),ownKeys:e=>(j(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},I=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],P);tag=x();tags={};children={};collectionTag=null;id=R++},P={get:([e],t)=>("length"===t&&j(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 M(e){return Array.isArray(e)?new I(e):new A(e)}function N(e,t){const{value:n,tags:r,children:o}=e;if(e.value=t,Array.isArray(n)&&Array.isArray(t)&&n.length!==t.length)S(e);else if(n!==t){let r=0,o=0,s=!1;for(const e in n)r++;for(const e in t)if(o++,!(e in n)){s=!0;break}(s||r!==o)&&S(e)}for(const o in r){const s=n[o],i=t[o];s!==i&&(S(e),E(r[o],i)),"object"==typeof i&&null!==i&&delete r[o]}for(const e in o){const n=o[e],r=t[e];n.value!==r&&("object"==typeof r&&null!==r?N(n,r):(C(n),delete o[e]))}}function C(e){e.tag&&E(e.tag,null),S(e);for(const t in e.tags)E(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,n){if(null===t||null===n||t.length!==n.length)return!1;const{length:r}=t;for(let o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}}function U(e,t){const n="object"==typeof t?t:{equalityCheck:t},{equalityCheck:r=L,maxSize:o=1,resultEqualityCheck:s}=n,i=D(r);let a=0;const u=o<=1?function(e){let t;return{get:n=>t&&e(t.key,n)?t.value:c,put(e,n){t={key:e,value:n}},getEntries:()=>t?[t]:[],clear(){t=void 0}}}(i):function(e,t){let n=[];function r(e){const r=n.findIndex(n=>t(e,n.key));if(r>-1){const e=n[r];return r>0&&(n.splice(r,1),n.unshift(e)),e.value}return c}return{get:r,put:function(t,o){r(t)===c&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(o,i);function l(){let t=u.get(arguments);if(t===c){if(t=e.apply(null,arguments),a++,s){const e=u.getEntries().find(e=>s(e.value,t));e&&(t=e.value,0!==a&&a--)}u.put(arguments,t)}return t}return l.clearCache=()=>{u.clear(),l.resetResultsCount()},l.resultsCount=()=>a,l.resetResultsCount=()=>{a=0},l}function $(e){const t=M([]);let n=null;const r=D(L),o=(m(s=()=>e.apply(null,t.proxy),"the first parameter to `createCache` must be a function"),new y(s));var s;function i(){return r(n,arguments)||(N(t,arguments),n=arguments),o.value}return i.clearCache=()=>o.clear(),i}var F="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 n=H();const{resultEqualityCheck:r}=t;let o,s=0;function i(){let t=n;const{length:i}=arguments;for(let e=0,n=i;e<n;e++){const n=arguments[e];if("function"==typeof n||"object"==typeof n&&null!==n){let e=t.o;null===e&&(t.o=e=new WeakMap);const r=e.get(n);void 0===r?(t=H(),e.set(n,t)):t=r}else{let e=t.p;null===e&&(t.p=e=new Map);const r=e.get(n);void 0===r?(t=H(),e.set(n,t)):t=r}}const a=t;let u;if(t.s===W)u=t.v;else if(u=e.apply(null,arguments),s++,r){const e=o?.deref?.()??o;null!=e&&r(e,u)&&(u=e,0!==s&&s--);o="object"==typeof u&&null!==u||"function"==typeof u?new F(u):u}return a.s=W,a.v=u,u}return i.clearCache=()=>{n=H(),i.resetResultsCount()},i.resultsCount=()=>s,i.resetResultsCount=()=>{s=0},i}function V(e,...t){const n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t,r=0,o=0,s={},i=e.pop();"object"==typeof i&&(s=i,i=e.pop()),m(i,`createSelector expects an output function after the inputs, but received: [${typeof i}]`);const a={...n,...s},{memoize:u,memoizeOptions:l=[],argsMemoize:d=q,argsMemoizeOptions:c=[],devModeChecks:b={}}=a,_=f(l),w=f(c),g=h(e),y=u(function(){return r++,i.apply(null,arguments)},..._);const k=d(function(){o++;const e=p(g,arguments);return t=y.apply(null,e),t},...w);return Object.assign(k,{resultFunc:i,memoizedResultFunc:y,dependencies:g,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>t,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:u,argsMemoize:d})};return Object.assign(r,{withTypes:()=>r}),r}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 n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>z})}}},{package:"reselect",file:"node_modules/reselect/dist/cjs/reselect.cjs"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/rfdc/index.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){function n(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=[],r=[];return e.proto?function e(s){if("object"!=typeof s||null===s)return s;if(s instanceof Date)return new Date(s);if(Array.isArray(s))return o(s,e);if(s instanceof Map)return new Map(o(Array.from(s),e));if(s instanceof Set)return new Set(o(Array.from(s),e));var i={};for(var a in t.push(s),r.push(i),s){var u=s[a];if("object"!=typeof u||null===u)i[a]=u;else if(u instanceof Date)i[a]=new Date(u);else if(u instanceof Map)i[a]=new Map(o(Array.from(u),e));else if(u instanceof Set)i[a]=new Set(o(Array.from(u),e));else if(ArrayBuffer.isView(u))i[a]=n(u);else{var l=t.indexOf(u);i[a]=-1!==l?r[l]:e(u)}}return t.pop(),r.pop(),i}:function e(s){if("object"!=typeof s||null===s)return s;if(s instanceof Date)return new Date(s);if(Array.isArray(s))return o(s,e);if(s instanceof Map)return new Map(o(Array.from(s),e));if(s instanceof Set)return new Set(o(Array.from(s),e));var i={};for(var a in t.push(s),r.push(i),s)if(!1!==Object.hasOwnProperty.call(s,a)){var u=s[a];if("object"!=typeof u||null===u)i[a]=u;else if(u instanceof Date)i[a]=new Date(u);else if(u instanceof Map)i[a]=new Map(o(Array.from(u),e));else if(u instanceof Set)i[a]=new Set(o(Array.from(u),e));else if(ArrayBuffer.isView(u))i[a]=n(u);else{var l=t.indexOf(u);i[a]=-1!==l?r[l]:e(u)}}return t.pop(),r.pop(),i};function o(e,o){for(var s=Object.keys(e),i=new Array(s.length),a=0;a<s.length;a++){var u=s[a],l=e[u];if("object"!=typeof l||null===l)i[u]=l;else if(l instanceof Date)i[u]=new Date(l);else if(ArrayBuffer.isView(l))i[u]=n(l);else{var d=t.indexOf(l);i[u]=-1!==d?r[d]:o(l)}}return i}}(e):e.proto?function e(r){if("object"!=typeof r||null===r)return r;if(r instanceof Date)return new Date(r);if(Array.isArray(r))return t(r,e);if(r instanceof Map)return new Map(t(Array.from(r),e));if(r instanceof Set)return new Set(t(Array.from(r),e));var o={};for(var s in r){var i=r[s];"object"!=typeof i||null===i?o[s]=i:i instanceof Date?o[s]=new Date(i):i instanceof Map?o[s]=new Map(t(Array.from(i),e)):i instanceof Set?o[s]=new Set(t(Array.from(i),e)):ArrayBuffer.isView(i)?o[s]=n(i):o[s]=e(i)}return o}:function e(r){if("object"!=typeof r||null===r)return r;if(r instanceof Date)return new Date(r);if(Array.isArray(r))return t(r,e);if(r instanceof Map)return new Map(t(Array.from(r),e));if(r instanceof Set)return new Set(t(Array.from(r),e));var o={};for(var s in r)if(!1!==Object.hasOwnProperty.call(r,s)){var i=r[s];"object"!=typeof i||null===i?o[s]=i:i instanceof Date?o[s]=new Date(i):i instanceof Map?o[s]=new Map(t(Array.from(i),e)):i instanceof Set?o[s]=new Set(t(Array.from(i),e)):ArrayBuffer.isView(i)?o[s]=n(i):o[s]=e(i)}return o};function t(e,t){for(var r=Object.keys(e),o=new Array(r.length),s=0;s<r.length;s++){var i=r[s],a=e[i];"object"!=typeof a||null===a?o[i]=a:a instanceof Date?o[i]=new Date(a):ArrayBuffer.isView(a)?o[i]=n(a):o[i]=t(a)}return o}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/snaps-utils>rfdc",file:"node_modules/rfdc/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/index.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","hash-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/hash-base/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("buffer").Buffer,o=e("inherits"),s=e("hash-base"),i=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],u=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],d=[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],c=[0,1518500249,1859775393,2400959708,2840853838],m=[1352829926,1548603684,1836072691,2053994217,0];function f(){s.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function h(e,t){return e<<t|e>>>32-t}function p(e,t,n,r,o,s,i,a){return h(e+(t^n^r)+s+i|0,a)+o|0}function b(e,t,n,r,o,s,i,a){return h(e+(t&n|~t&r)+s+i|0,a)+o|0}function _(e,t,n,r,o,s,i,a){return h(e+((t|~n)^r)+s+i|0,a)+o|0}function w(e,t,n,r,o,s,i,a){return h(e+(t&r|n&~r)+s+i|0,a)+o|0}function g(e,t,n,r,o,s,i,a){return h(e+(t^(n|~r))+s+i|0,a)+o|0}o(f,s),f.prototype._update=function(){for(var e=i,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,o=0|this._c,s=0|this._d,f=0|this._e,y=0|this._a,k=0|this._b,v=0|this._c,x=0|this._d,E=0|this._e,j=0;j<80;j+=1){var S,R;j<16?(S=p(n,r,o,s,f,e[a[j]],c[0],l[j]),R=g(y,k,v,x,E,e[u[j]],m[0],d[j])):j<32?(S=b(n,r,o,s,f,e[a[j]],c[1],l[j]),R=w(y,k,v,x,E,e[u[j]],m[1],d[j])):j<48?(S=_(n,r,o,s,f,e[a[j]],c[2],l[j]),R=_(y,k,v,x,E,e[u[j]],m[2],d[j])):j<64?(S=w(n,r,o,s,f,e[a[j]],c[3],l[j]),R=b(y,k,v,x,E,e[u[j]],m[3],d[j])):(S=g(n,r,o,s,f,e[a[j]],c[4],l[j]),R=p(y,k,v,x,E,e[u[j]],m[4],d[j])),n=f,f=s,s=h(o,10),o=r,r=S,y=E,E=x,x=h(v,10),v=k,k=R}var T=this._b+o+x|0;this._b=this._c+s+E|0,this._c=this._d+f+y|0,this._d=this._e+n+k|0,this._e=this._a+r+v|0,this._a=T},f.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=r.alloc?r.alloc(20):new r(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=f}}},{package:"ethereumjs-util>create-hash>ripemd160",file:"node_modules/ripemd160/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/hash-base/index.js",{inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","readable-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/readable-browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("safe-buffer").Buffer,o=e("readable-stream").Transform;function s(e){o.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(s,o),s.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(e){r=e}n(r)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},s.prototype.update=function(e,t){if(function(e,t){if(!r.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");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,o=0;this._blockOffset+e.length-o>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)n[s++]=e[o++];this._update(),this._blockOffset=0}for(;o<e.length;)n[this._blockOffset++]=e[o++];for(var i=0,a=8*e.length;a>0;++i)this._length[i]+=a,(a=this._length[i]/4294967296|0)>0&&(this._length[i]-=4294967296*a);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.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 n=0;n<4;++n)this._length[n]=0;return t},s.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=s}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base",file:"node_modules/ripemd160/node_modules/hash-base/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r={};function o(e,t,n){n||(n=Error);var o=function(e){var n,r;function o(n,r,o){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,o))||this}return r=e,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,o}(n);o.prototype.name=n.name,o.prototype.code=e,r[e]=o}function s(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}o("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),o("ERR_INVALID_ARG_TYPE",function(e,t,n){var r,o,i,a;if("string"==typeof t&&(o="not ",t.substr(!i||i<0?0:+i,o.length)===o)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(n===undefined||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(r," ").concat(s(t,"type"));else{var u=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(u," ").concat(r," ").concat(s(t,"type"))}return a+=". Received type ".concat(typeof n)},TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/errors-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js",{"./_stream_readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_readable.js","./_stream_writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_writable.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=l;var o=e("./_stream_readable"),s=e("./_stream_writable");e("inherits")(l,o);for(var i=r(s.prototype),a=0;a<i.length;a++){var u=i[a];l.prototype[u]||(l.prototype[u]=s.prototype[u])}function l(e){if(!(this instanceof l))return new l(e);o.call(this,e),s.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",d)))}function d(){this._writableState.ended||n.nextTick(c,this)}function c(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_passthrough.js",{"./_stream_transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=o;var r=e("./_stream_transform");function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}e("inherits")(o,r),o.prototype._transform=function(e,t,n){n(null,e)}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_passthrough.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_readable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/async_iterator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/async_iterator.js","./internal/streams/buffer_list":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/buffer_list.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/from-browser.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","string_decoder/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/string_decoder/lib/string_decoder.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r;t.exports=E,E.ReadableState=x;e("events").EventEmitter;var o=function(e,t){return e.listeners(t).length},s=e("./internal/streams/stream"),i=e("buffer").Buffer,a=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,l=e("util");u=l&&l.debuglog?l.debuglog("stream"):function(){};var d,c,m,f=e("./internal/streams/buffer_list"),h=e("./internal/streams/destroy"),p=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,_=b.ERR_INVALID_ARG_TYPE,w=b.ERR_STREAM_PUSH_AFTER_EOF,g=b.ERR_METHOD_NOT_IMPLEMENTED,y=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(E,s);var k=h.errorOrDestroy,v=["error","close","destroy","pause","resume"];function x(t,n,o){r=r||e("./_stream_duplex"),t=t||{},"boolean"!=typeof o&&(o=n instanceof r),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=p(this,t,"readableHighWaterMark",o),this.buffer=new f,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&&(d||(d=e("string_decoder/").StringDecoder),this.decoder=new d(t.encoding),this.encoding=t.encoding)}function E(t){if(r=r||e("./_stream_duplex"),!(this instanceof E))return new E(t);var n=this instanceof r;this._readableState=new x(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function j(e,t,n,r,o){u("readableAddChunk",t);var s,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,l);else if(o||(s=function(e,t){var n;r=t,i.isBuffer(r)||r instanceof a||"string"==typeof t||t===undefined||e.objectMode||(n=new _("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(l,t)),s)k(e,s);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===i.prototype||(t=function(e){return i.from(e)}(t)),r)l.endEmitted?k(e,new y):S(e,l,t,!0);else if(l.ended)k(e,new w);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(t=l.decoder.write(t),l.objectMode||0!==t.length?S(e,l,t,!1):I(e,l)):S(e,l,t,!1)}else r||(l.reading=!1,I(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function S(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&A(e)),I(e,t)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=h.destroy,E.prototype._undestroy=h.undestroy,E.prototype._destroy=function(e,t){t(e)},E.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=i.from(e,t),t=""),n=!0),j(this,e,t,!1,n)},E.prototype.unshift=function(e){return j(this,e,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(t){d||(d=e("string_decoder/").StringDecoder);var n=new d(t);this._readableState.decoder=n,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,o="";null!==r;)o+=n.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==o&&this._readableState.buffer.push(o),this._readableState.length=o.length,this};var R=1073741824;function T(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>=R?e=R:(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 A(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(O,e))}function O(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(u("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function M(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function N(e){u("readable nexttick read 0"),e.read(0)}function C(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function U(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick($,t,e))}function $(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}E.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):A(this),null;if(0===(e=T(e,t))&&t.ended)return 0===t.length&&U(this),null;var r,o=t.needReadable;return u("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",o=!0),t.ended||t.reading?u("reading or ended",o=!1):o&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=T(n,t))),null===(r=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),n!==e&&t.ended&&U(this)),null!==r&&this.emit("data",r),r},E.prototype._read=function(e){k(this,new g("_read()"))},E.prototype.pipe=function(e,t){var r=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=e;break;case 1:s.pipes=[s.pipes,e];break;default:s.pipes.push(e)}s.pipesCount+=1,u("pipe count=%d opts=%j",s.pipesCount,t);var i=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:b;function a(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",d),e.removeListener("error",f),e.removeListener("unpipe",a),r.removeListener("end",l),r.removeListener("end",b),r.removeListener("data",m),c=!0,!s.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function l(){u("onend"),e.end()}s.endEmitted?n.nextTick(i):r.once("end",i),e.on("unpipe",a);var d=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,L(e))}}(r);e.on("drain",d);var c=!1;function m(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===s.pipesCount&&s.pipes===e||s.pipesCount>1&&-1!==F(s.pipes,e))&&!c&&(u("false write response, pause",s.awaitDrain),s.awaitDrain++),r.pause())}function f(t){u("onerror",t),b(),e.removeListener("error",f),0===o(e,"error")&&k(e,t)}function h(){e.removeListener("finish",p),b()}function p(){u("onfinish"),e.removeListener("close",h),b()}function b(){u("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",h),e.once("finish",p),e.emit("pipe",r),s.flowing||(u("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,n={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,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<o;s++)r[s].emit("unpipe",this,{hasUnpiped:!1});return this}var i=F(t.pipes,e);return-1===i||(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},E.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t),o=this._readableState;return"data"===e?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,u("on readable",o.length,o.reading),o.length?A(this):o.reading||n.nextTick(N,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(M,this),r},E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||n.nextTick(M,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(C,e,t))}(this,e)),e.paused=!1,this},E.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",function(){if(u("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){(u("wrapped data"),n.decoder&&(o=n.decoder.write(o)),!n.objectMode||null!==o&&o!==undefined)&&((n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause())))}),e)this[o]===undefined&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var s=0;s<v.length;s++)e.on(v[s],this.emit.bind(this,v[s]));return this._read=function(t){u("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return c===undefined&&(c=e("./internal/streams/async_iterator")),c(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),E._fromList=D,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(t,n){return m===undefined&&(m=e("./internal/streams/from")),m(E,t,n)})}).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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=d;var r=e("../errors").codes,o=r.ERR_METHOD_NOT_IMPLEMENTED,s=r.ERR_MULTIPLE_CALLBACK,i=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,u=e("./_stream_duplex");function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new s);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function d(e){if(!(this instanceof d))return new d(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",c)}function c(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?m(this,null,null):this._flush(function(t,n){m(e,t,n)})}function m(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new a;if(e._transformState.transforming)throw new i;return e.push(null)}e("inherits")(d,u),d.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},d.prototype._transform=function(e,t,n){n(new o("_transform()"))},d.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},d.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))},d.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_writable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","util-deprecate":"/home/runner/work/metamask-extension/metamask-extension/node_modules/util-deprecate/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var o;t.exports=E,E.WritableState=x;var s={deprecate:e("util-deprecate")},i=e("./internal/streams/stream"),a=e("buffer").Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,d=e("./internal/streams/destroy"),c=e("./internal/streams/state").getHighWaterMark,m=e("../errors").codes,f=m.ERR_INVALID_ARG_TYPE,h=m.ERR_METHOD_NOT_IMPLEMENTED,p=m.ERR_MULTIPLE_CALLBACK,b=m.ERR_STREAM_CANNOT_PIPE,_=m.ERR_STREAM_DESTROYED,w=m.ERR_STREAM_NULL_VALUES,g=m.ERR_STREAM_WRITE_AFTER_END,y=m.ERR_UNKNOWN_ENCODING,k=d.errorOrDestroy;function v(){}function x(t,s,i){o=o||e("./_stream_duplex"),t=t||{},"boolean"!=typeof i&&(i=s instanceof o),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=c(this,t,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,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 r=e._writableState,o=r.sync,s=r.writecb;if("function"!=typeof s)throw new p;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,o,s){--t.pendingcb,r?(n.nextTick(s,o),n.nextTick(O,e,t),e._writableState.errorEmitted=!0,k(e,o)):(s(o),e._writableState.errorEmitted=!0,k(e,o),O(e,t))}(e,r,o,t,s);else{var i=T(r)||e.destroyed;i||r.corked||r.bufferProcessing||!r.bufferedRequest||R(e,r),o?n.nextTick(S,e,r,i,s):S(e,r,i,s)}}(s,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 r(this)}function E(t){var n=this instanceof(o=o||e("./_stream_duplex"));if(!n&&!l.call(E,this))return new E(t);this._writableState=new x(t,this,n),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)),i.call(this)}function j(e,t,n,r,o,s,i){t.writelen=r,t.writecb=i,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new _("write")):n?e._writev(o,t.onwrite):e._write(o,s,t.onwrite),t.sync=!1}function S(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),O(e,t)}function R(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var o=t.bufferedRequestCount,s=new Array(o),i=t.corkedRequestsFree;i.entry=n;for(var a=0,u=!0;n;)s[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;s.allBuffers=u,j(e,t,!0,t.length,s,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,d=n.encoding,c=n.callback;if(j(e,t,!1,t.objectMode?1:l.length,l,d,c),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function T(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final(function(n){t.pendingcb--,n&&k(e,n),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var r=T(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var o=e._readableState;(!o||o.autoDestroy&&o.endEmitted)&&e.destroy()}return r}e("inherits")(E,i),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===E&&(e&&e._writableState instanceof x)}})):l=function(e){return e instanceof this},E.prototype.pipe=function(){k(this,new b)},E.prototype.write=function(e,t,r){var o,s=this._writableState,i=!1,l=!s.objectMode&&(o=e,a.isBuffer(o)||o instanceof u);return l&&!a.isBuffer(e)&&(e=function(e){return a.from(e)}(e)),"function"==typeof t&&(r=t,t=null),l?t="buffer":t||(t=s.defaultEncoding),"function"!=typeof r&&(r=v),s.ending?function(e,t){var r=new g;k(e,r),n.nextTick(t,r)}(this,r):(l||function(e,t,r,o){var s;return null===r?s=new w:"string"==typeof r||t.objectMode||(s=new f("chunk",["string","Buffer"],r)),!s||(k(e,s),n.nextTick(o,s),!1)}(this,s,e,r))&&(s.pendingcb++,i=function(e,t,n,r,o,s){if(!n){var i=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=a.from(t,n));return t}(t,r,o);r!==i&&(n=!0,o="buffer",r=i)}var u=t.objectMode?1:r.length;t.length+=u;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:s,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else j(e,t,!1,u,r,o,s);return l}(this,s,l,e,t,r)),i},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||R(this,e))},E.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 y(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,n){n(new h("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var o=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&e!==undefined&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,r){t.ending=!0,O(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=d.destroy,E.prototype._undestroy=d.undestroy,E.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/async_iterator.js",{"./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r;function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=e("./end-of-stream"),i=Symbol("lastResolve"),a=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),d=Symbol("lastPromise"),c=Symbol("handlePromise"),m=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){var t=e[i];if(null!==t){var n=e[m].read();null!==n&&(e[d]=null,e[i]=null,e[a]=null,t(f(n,!1)))}}function p(e){n.nextTick(h,e)}var b=Object.getPrototypeOf(function(){}),_=Object.setPrototypeOf((o(r={get stream(){return this[m]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(f(undefined,!0));if(this[m].destroyed)return new Promise(function(t,r){n.nextTick(function(){e[u]?r(e[u]):t(f(undefined,!0))})});var r,o=this[d];if(o)r=new Promise(function(e,t){return function(n,r){e.then(function(){t[l]?n(f(undefined,!0)):t[c](n,r)},r)}}(o,this));else{var s=this[m].read();if(null!==s)return Promise.resolve(f(s,!1));r=new Promise(this[c])}return this[d]=r,r}},Symbol.asyncIterator,function(){return this}),o(r,"return",function(){var e=this;return new Promise(function(t,n){e[m].destroy(null,function(e){e?n(e):t(f(undefined,!0))})})}),r),b);t.exports=function(e){var t,n=Object.create(_,(o(t={},m,{value:e,writable:!0}),o(t,i,{value:null,writable:!0}),o(t,a,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,l,{value:e._readableState.endEmitted,writable:!0}),o(t,c,{value:function(e,t){var r=n[m].read();r?(n[d]=null,n[i]=null,n[a]=null,e(f(r,!1))):(n[i]=e,n[a]=t)},writable:!0}),t));return n[d]=null,s(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[a];return null!==t&&(n[d]=null,n[i]=null,n[a]=null,t(e)),void(n[u]=e)}var r=n[i];null!==r&&(n[d]=null,n[i]=null,n[a]=null,r(f(undefined,!0))),n[l]=!0}),e.on("readable",p.bind(null,n)),n}}).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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/buffer_list.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function a(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var u=e("buffer").Buffer,l=e("util").inspect,d=l&&l.custom||"inspect";function c(e,t,n){u.prototype.copy.call(e,t,n)}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,n,r;return t=e,(n=[{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,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),n=this.head,r=0;n;)c(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var o=t.data,s=e>o.length?o.length:e;if(s===o.length?r+=o:r+=o.slice(0,e),0===(e-=s)){s===o.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(s));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,s),0===(e-=s)){s===o.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(s));break}++r}return this.length-=r,t}},{key:d,value:function(e,t){return l(this,o(o({},t),{},{depth:0,customInspect:!1}))}}])&&i(t.prototype,n),r&&i(t,r),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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/destroy.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){function n(e,t){o(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(e,t){e.emit("error",t)}t.exports={destroy:function(t,s){var i=this,a=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return a||u?(s?s(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(o,this,t)):e.nextTick(o,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!s&&t?i._writableState?i._writableState.errorEmitted?e.nextTick(r,i):(i._writableState.errorEmitted=!0,e.nextTick(n,i,t)):e.nextTick(n,i,t):s?(e.nextTick(r,i),s(t)):e.nextTick(r,i)}),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 n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}t.exports=function e(t,n,s){if("function"==typeof n)return e(t,null,n);n||(n={}),s=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r)}}}(s||o);var i=n.readable||!1!==n.readable&&t.readable,a=n.writable||!1!==n.writable&&t.writable,u=function(){t.writable||d()},l=t._writableState&&t._writableState.finished,d=function(){a=!1,l=!0,i||s.call(t)},c=t._readableState&&t._readableState.endEmitted,m=function(){i=!1,c=!0,a||s.call(t)},f=function(e){s.call(t,e)},h=function(){var e;return i&&!c?(t._readableState&&t._readableState.ended||(e=new r),s.call(t,e)):a&&!l?(t._writableState&&t._writableState.ended||(e=new r),s.call(t,e)):void 0},p=function(){t.req.on("finish",d)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?a&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",d),t.on("abort",h),t.req?p():t.on("request",p)),t.on("end",m),t.on("finish",d),!1!==n.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",d),t.removeListener("abort",h),t.removeListener("request",p),t.req&&t.req.removeListener("finish",d),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",d),t.removeListener("end",m),t.removeListener("error",f),t.removeListener("close",h)}}}}},{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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/from-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/pipeline.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r;var o=e("../../../errors").codes,s=o.ERR_MISSING_ARGS,i=o.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function u(e){e()}function l(e,t){return e.pipe(t)}t.exports=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var d,c=function(e){return e.length?"function"!=typeof e[e.length-1]?a:e.pop():a}(n);if(Array.isArray(n[0])&&(n=n[0]),n.length<2)throw new s("streams");var m=n.map(function(t,o){var s=o<n.length-1;return function(t,n,o,s){s=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(s);var a=!1;t.on("close",function(){a=!0}),r===undefined&&(r=e("./end-of-stream")),r(t,{readable:n,writable:o},function(e){if(e)return s(e);a=!0,s()});var u=!1;return function(e){if(!a&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void s(e||new i("pipe"))}}(t,s,o>0,function(e){d||(d=e),e&&m.forEach(u),s||(m.forEach(u),c(d))})});return n.reduce(l)}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/state.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,n,o){var s=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,o,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0)throw new r(o?n:"highWaterMark",s);return Math.floor(s)}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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/stream-browser.js",{events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/readable-browser.js",{"./lib/_stream_duplex.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js","./lib/_stream_passthrough.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_passthrough.js","./lib/_stream_readable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_readable.js","./lib/_stream_transform.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js","./lib/_stream_writable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_writable.js","./lib/internal/streams/end-of-stream.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./lib/internal/streams/pipeline.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/pipeline.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js"),n.finished=e("./lib/internal/streams/end-of-stream.js"),n.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/rlp/dist.browser/index.js",{"bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(t){(function(){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.getLength=n.decode=n.encode=void 0;var o=r(e("bn.js"));function s(e,t){if("0"===e[0]&&"0"===e[1])throw new Error("invalid RLP: extra zeros");return parseInt(e,t)}function i(e,n){if(e<56)return t.from([e+n]);var r=l(e),o=l(n+55+r.length/2);return t.from(o+r,"hex")}function a(e){var n,r,o,i,u,l=[],d=e[0];if(d<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(d<=183){if(n=d-127,o=128===d?t.from([]):e.slice(1,n),2===n&&o[0]<128)throw new Error("invalid rlp encoding: byte must be less 0x80");return{data:o,remainder:e.slice(n)}}if(d<=191){if(r=d-182,e.length-1<r)throw new Error("invalid RLP: not enough bytes for string length");if((n=s(e.slice(1,r).toString("hex"),16))<=55)throw new Error("invalid RLP: expected string length to be greater than 55");if((o=e.slice(r,n+r)).length<n)throw new Error("invalid RLP: not enough bytes for string");return{data:o,remainder:e.slice(n+r)}}if(d<=247){for(n=d-191,i=e.slice(1,n);i.length;)u=a(i),l.push(u.data),i=u.remainder;return{data:l,remainder:e.slice(n)}}var c=(r=d-246)+(n=s(e.slice(1,r).toString("hex"),16));if(c>e.length)throw new Error("invalid rlp: total length is larger than the data");if(0===(i=e.slice(r,c)).length)throw new Error("invalid rlp, List has a invalid length");for(;i.length;)u=a(i),l.push(u.data),i=u.remainder;return{data:l,remainder:e.slice(c)}}function u(e){return"0x"===e.slice(0,2)}function l(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");var t=e.toString(16);return t.length%2?"0"+t:t}function d(e){if(!t.isBuffer(e)){if("string"==typeof e)return u(e)?t.from((r="string"!=typeof(s=e)?s:u(s)?s.slice(2):s).length%2?"0"+r:r,"hex"):t.from(e);if("number"==typeof e||"bigint"==typeof e)return e?(n=l(e),t.from(n,"hex")):t.from([]);if(null===e||e===undefined)return t.from([]);if(e instanceof Uint8Array)return t.from(e);if(o.default.isBN(e))return t.from(e.toArray());throw new Error("invalid type")}var n,r,s;return e}n.encode=function e(n){if(Array.isArray(n)){for(var r=[],o=0;o<n.length;o++)r.push(e(n[o]));var s=t.concat(r);return t.concat([i(s.length,192),s])}var a=d(n);return 1===a.length&&a[0]<128?a:t.concat([i(a.length,128),a])},n.decode=function(e,n){if(void 0===n&&(n=!1),!e||0===e.length)return t.from([]);var r=a(d(e));if(n)return r;if(0!==r.remainder.length)throw new Error("invalid remainder");return r.data},n.getLength=function(e){if(!e||0===e.length)return t.from([]);var n=d(e),r=n[0];if(r<=127)return n.length;if(r<=183)return r-127;if(r<=191)return r-182;if(r<=247)return r-191;var o=r-246;return o+s(n.slice(1,o).toString("hex"),16)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util>rlp",file:"node_modules/rlp/dist.browser/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
var r=e("buffer"),o=r.Buffer;function s(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=r:(s(r,n),n.Buffer=i),i.prototype=Object.create(o.prototype),s(o,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return t!==undefined?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}}}},{package:"mockttp>express>safe-buffer",file:"node_modules/safe-buffer/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-regex-test/index.js",{"call-bound":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bound/index.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","is-regex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-regex/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("call-bound"),o=e("is-regex"),s=r("RegExp.prototype.exec"),i=e("es-errors/type");t.exports=function(e){if(!o(e))throw new i("`regex` must be a RegExp");return function(t){return null!==s(e,t)}}}}},{package:"string.prototype.matchall>es-abstract>safe-regex-test",file:"node_modules/safe-regex-test/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-stable-stringify/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{hasOwnProperty:r}=Object.prototype,o=f();o.configure=f,o.stringify=o,o.default=o,n.stringify=o,n.configure=f,t.exports=o;const s=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function i(e){return e.length<5e3&&!s.test(e)?`"${e}"`:JSON.stringify(e)}function a(e,t){if(e.length>200||t)return e.sort(t);for(let t=1;t<e.length;t++){const n=e[t];let r=t;for(;0!==r&&e[r-1]>n;)e[r]=e[r-1],r--;e[r]=n}return e}const u=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function l(e){return u.call(e)!==undefined&&0!==e.length}function d(e,t,n){e.length<n&&(n=e.length);const r=","===t?"":" ";let o=`"0":${r}${e[0]}`;for(let s=1;s<n;s++)o+=`${t}"${s}":${r}${e[s]}`;return o}function c(e,t){let n;if(r.call(e,t)){if(n=e[t],"number"!=typeof n)throw new TypeError(`The "${t}" argument must be of type number`);if(!Number.isInteger(n))throw new TypeError(`The "${t}" argument must be an integer`);if(n<1)throw new RangeError(`The "${t}" argument must be >= 1`)}return n===undefined?Infinity:n}function m(e){return 1===e?"1 item":`${e} items`}function f(e){const t=function(e){if(r.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 n=function(e){if(r.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),o=function(e,t){let n;if(r.call(e,t)&&(n=e[t],"boolean"!=typeof n))throw new TypeError(`The "${t}" argument must be of type boolean`);return n===undefined||n}(e,"bigint"),s=function(e){let t;if(r.call(e,"deterministic")&&(t=e.deterministic,"boolean"!=typeof t&&"function"!=typeof t))throw new TypeError('The "deterministic" argument must be of type boolean or comparator function');return t===undefined||t}(e),u="function"==typeof s?s:undefined,f=c(e,"maximumDepth"),h=c(e,"maximumBreadth");function p(e,r,d,c,b,_){let w=r[e];switch("object"==typeof w&&null!==w&&"function"==typeof w.toJSON&&(w=w.toJSON(e)),w=c.call(r,e,w),typeof w){case"string":return i(w);case"object":{if(null===w)return"null";if(-1!==d.indexOf(w))return n;let e="",t=",";const r=_;if(Array.isArray(w)){if(0===w.length)return"[]";if(f<d.length+1)return'"[Array]"';d.push(w),""!==b&&(e+=`\n${_+=b}`,t=`,\n${_}`);const n=Math.min(w.length,h);let o=0;for(;o<n-1;o++){const n=p(String(o),w,d,c,b,_);e+=n!==undefined?n:"null",e+=t}const s=p(String(o),w,d,c,b,_);if(e+=s!==undefined?s:"null",w.length-1>h){e+=`${t}"... ${m(w.length-h-1)} not stringified"`}return""!==b&&(e+=`\n${r}`),d.pop(),`[${e}]`}let o=Object.keys(w);const g=o.length;if(0===g)return"{}";if(f<d.length+1)return'"[Object]"';let y="",k="";""!==b&&(t=`,\n${_+=b}`,y=" ");const v=Math.min(g,h);s&&!l(w)&&(o=a(o,u)),d.push(w);for(let n=0;n<v;n++){const r=o[n],s=p(r,w,d,c,b,_);s!==undefined&&(e+=`${k}${i(r)}:${y}${s}`,k=t)}if(g>h){e+=`${k}"...":${y}"${m(g-h)} not stringified"`,k=t}return""!==b&&k.length>1&&(e=`\n${_}${e}\n${r}`),d.pop(),`{${e}}`}case"number":return isFinite(w)?String(w):t?t(w):"null";case"boolean":return!0===w?"true":"false";case"undefined":return undefined;case"bigint":if(o)return String(w);default:return t?t(w):undefined}}function b(e,r,s,a,u,l){switch("object"==typeof r&&null!==r&&"function"==typeof r.toJSON&&(r=r.toJSON(e)),typeof r){case"string":return i(r);case"object":{if(null===r)return"null";if(-1!==s.indexOf(r))return n;const e=l;let t="",o=",";if(Array.isArray(r)){if(0===r.length)return"[]";if(f<s.length+1)return'"[Array]"';s.push(r),""!==u&&(t+=`\n${l+=u}`,o=`,\n${l}`);const n=Math.min(r.length,h);let i=0;for(;i<n-1;i++){const e=b(String(i),r[i],s,a,u,l);t+=e!==undefined?e:"null",t+=o}const d=b(String(i),r[i],s,a,u,l);if(t+=d!==undefined?d:"null",r.length-1>h){t+=`${o}"... ${m(r.length-h-1)} not stringified"`}return""!==u&&(t+=`\n${e}`),s.pop(),`[${t}]`}s.push(r);let d="";""!==u&&(o=`,\n${l+=u}`,d=" ");let c="";for(const e of a){const n=b(e,r[e],s,a,u,l);n!==undefined&&(t+=`${c}${i(e)}:${d}${n}`,c=o)}return""!==u&&c.length>1&&(t=`\n${l}${t}\n${e}`),s.pop(),`{${t}}`}case"number":return isFinite(r)?String(r):t?t(r):"null";case"boolean":return!0===r?"true":"false";case"undefined":return undefined;case"bigint":if(o)return String(r);default:return t?t(r):undefined}}function _(e,r,c,p,b){switch(typeof r){case"string":return i(r);case"object":{if(null===r)return"null";if("function"==typeof r.toJSON){if("object"!=typeof(r=r.toJSON(e)))return _(e,r,c,p,b);if(null===r)return"null"}if(-1!==c.indexOf(r))return n;const t=b;if(Array.isArray(r)){if(0===r.length)return"[]";if(f<c.length+1)return'"[Array]"';c.push(r);let e=`\n${b+=p}`;const n=`,\n${b}`,o=Math.min(r.length,h);let s=0;for(;s<o-1;s++){const t=_(String(s),r[s],c,p,b);e+=t!==undefined?t:"null",e+=n}const i=_(String(s),r[s],c,p,b);if(e+=i!==undefined?i:"null",r.length-1>h){e+=`${n}"... ${m(r.length-h-1)} not stringified"`}return e+=`\n${t}`,c.pop(),`[${e}]`}let o=Object.keys(r);const w=o.length;if(0===w)return"{}";if(f<c.length+1)return'"[Object]"';const g=`,\n${b+=p}`;let y="",k="",v=Math.min(w,h);l(r)&&(y+=d(r,g,h),o=o.slice(r.length),v-=r.length,k=g),s&&(o=a(o,u)),c.push(r);for(let e=0;e<v;e++){const t=o[e],n=_(t,r[t],c,p,b);n!==undefined&&(y+=`${k}${i(t)}: ${n}`,k=g)}if(w>h){y+=`${k}"...": "${m(w-h)} not stringified"`,k=g}return""!==k&&(y=`\n${b}${y}\n${t}`),c.pop(),`{${y}}`}case"number":return isFinite(r)?String(r):t?t(r):"null";case"boolean":return!0===r?"true":"false";case"undefined":return undefined;case"bigint":if(o)return String(r);default:return t?t(r):undefined}}function w(e,r,c){switch(typeof r){case"string":return i(r);case"object":{if(null===r)return"null";if("function"==typeof r.toJSON){if("object"!=typeof(r=r.toJSON(e)))return w(e,r,c);if(null===r)return"null"}if(-1!==c.indexOf(r))return n;let t="";const o=r.length!==undefined;if(o&&Array.isArray(r)){if(0===r.length)return"[]";if(f<c.length+1)return'"[Array]"';c.push(r);const e=Math.min(r.length,h);let n=0;for(;n<e-1;n++){const e=w(String(n),r[n],c);t+=e!==undefined?e:"null",t+=","}const o=w(String(n),r[n],c);if(t+=o!==undefined?o:"null",r.length-1>h){t+=`,"... ${m(r.length-h-1)} not stringified"`}return c.pop(),`[${t}]`}let p=Object.keys(r);const b=p.length;if(0===b)return"{}";if(f<c.length+1)return'"[Object]"';let _="",g=Math.min(b,h);o&&l(r)&&(t+=d(r,",",h),p=p.slice(r.length),g-=r.length,_=","),s&&(p=a(p,u)),c.push(r);for(let e=0;e<g;e++){const n=p[e],o=w(n,r[n],c);o!==undefined&&(t+=`${_}${i(n)}:${o}`,_=",")}if(b>h){t+=`${_}"...":"${m(b-h)} not stringified"`}return c.pop(),`{${t}}`}case"number":return isFinite(r)?String(r):t?t(r):"null";case"boolean":return!0===r?"true":"false";case"undefined":return undefined;case"bigint":if(o)return String(r);default:return t?t(r):undefined}}return function(e,t,n){if(arguments.length>1){let r="";if("number"==typeof n?r=" ".repeat(Math.min(n,10)):"string"==typeof n&&(r=n.slice(0,10)),null!=t){if("function"==typeof t)return p("",{"":e},[],t,r,"");if(Array.isArray(t))return b("",e,[],function(e){const t=new Set;for(const n of e)"string"!=typeof n&&"number"!=typeof n||t.add(String(n));return t}(t),r,"")}if(0!==r.length)return _("",e,[],r,"")}return w("",e,[])}}}}},{package:"@metamask/eth-json-rpc-middleware>safe-stable-stringify",file:"node_modules/safe-stable-stringify/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/scrypt-js/scrypt.js",{timers:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/timers-browserify/main.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){!function(r){const o=2147483647;function s(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 n=1779033703,r=3144134277,o=1013904242,s=2773480762,i=1359893119,a=2600822924,u=528734635,l=1541459225;const d=new Uint32Array(64);function c(e){let c=0,m=e.length;for(;m>=64;){let f,h,p,b,_,w=n,g=r,y=o,k=s,v=i,x=a,E=u,j=l;for(h=0;h<16;h++)p=c+4*h,d[h]=(255&e[p])<<24|(255&e[p+1])<<16|(255&e[p+2])<<8|255&e[p+3];for(h=16;h<64;h++)f=d[h-2],b=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,f=d[h-15],_=(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3,d[h]=(b+d[h-7]|0)+(_+d[h-16]|0)|0;for(h=0;h<64;h++)b=(((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&x^~v&E)|0)+(j+(t[h]+d[h]|0)|0)|0,_=((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+(w&g^w&y^g&y)|0,j=E,E=x,x=v,v=k+b|0,k=y,y=g,g=w,w=b+_|0;n=n+w|0,r=r+g|0,o=o+y|0,s=s+k|0,i=i+v|0,a=a+x|0,u=u+E|0,l=l+j|0,c+=64,m-=64}}c(e);let m,f=e.length%64,h=e.length/536870912|0,p=e.length<<3,b=f<56?56:120,_=e.slice(e.length-f,e.length);for(_.push(128),m=f+1;m<b;m++)_.push(0);return _.push(h>>>24&255),_.push(h>>>16&255),_.push(h>>>8&255),_.push(h>>>0&255),_.push(p>>>24&255),_.push(p>>>16&255),_.push(p>>>8&255),_.push(p>>>0&255),c(_),[n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255,l>>>24&255,l>>>16&255,l>>>8&255,l>>>0&255]}function i(e,t,n){e=e.length<=64?e:s(e);const r=64+t.length+4,o=new Array(r),i=new Array(64);let a,u=[];for(a=0;a<64;a++)o[a]=54;for(a=0;a<e.length;a++)o[a]^=e[a];for(a=0;a<t.length;a++)o[64+a]=t[a];for(a=r-4;a<r;a++)o[a]=0;for(a=0;a<64;a++)i[a]=92;for(a=0;a<e.length;a++)i[a]^=e[a];function l(){for(let e=r-1;e>=r-4;e--){if(o[e]++,o[e]<=255)return;o[e]=0}}for(;n>=32;)l(),u=u.concat(s(i.concat(s(o)))),n-=32;return n>0&&(l(),u=u.concat(s(i.concat(s(o))).slice(0,n))),u}function a(e,t,n,r,o){let s;for(c(e,16*(2*n-1),o,0,16),s=0;s<2*n;s++)d(e,16*s,o,16),l(o,r),c(o,0,e,t+16*s,16);for(s=0;s<n;s++)c(e,t+2*s*16,e,16*s,16);for(s=0;s<n;s++)c(e,t+16*(2*s+1),e,16*(s+n),16)}function u(e,t){return e<<t|e>>>32-t}function l(e,t){c(e,0,t,0,16);for(let e=8;e>0;e-=2)t[4]^=u(t[0]+t[12],7),t[8]^=u(t[4]+t[0],9),t[12]^=u(t[8]+t[4],13),t[0]^=u(t[12]+t[8],18),t[9]^=u(t[5]+t[1],7),t[13]^=u(t[9]+t[5],9),t[1]^=u(t[13]+t[9],13),t[5]^=u(t[1]+t[13],18),t[14]^=u(t[10]+t[6],7),t[2]^=u(t[14]+t[10],9),t[6]^=u(t[2]+t[14],13),t[10]^=u(t[6]+t[2],18),t[3]^=u(t[15]+t[11],7),t[7]^=u(t[3]+t[15],9),t[11]^=u(t[7]+t[3],13),t[15]^=u(t[11]+t[7],18),t[1]^=u(t[0]+t[3],7),t[2]^=u(t[1]+t[0],9),t[3]^=u(t[2]+t[1],13),t[0]^=u(t[3]+t[2],18),t[6]^=u(t[5]+t[4],7),t[7]^=u(t[6]+t[5],9),t[4]^=u(t[7]+t[6],13),t[5]^=u(t[4]+t[7],18),t[11]^=u(t[10]+t[9],7),t[8]^=u(t[11]+t[10],9),t[9]^=u(t[8]+t[11],13),t[10]^=u(t[9]+t[8],18),t[12]^=u(t[15]+t[14],7),t[13]^=u(t[12]+t[15],9),t[14]^=u(t[13]+t[12],13),t[15]^=u(t[14]+t[13],18);for(let n=0;n<16;++n)e[n]+=t[n]}function d(e,t,n,r){for(let o=0;o<r;o++)n[o]^=e[t+o]}function c(e,t,n,r,o){for(;o--;)n[r++]=e[t++]}function m(e){if(!e||"number"!=typeof e.length)return!1;for(let t=0;t<e.length;t++){const n=e[t];if("number"!=typeof n||n%1||n<0||n>=256)return!1}return!0}function f(e,t){if("number"!=typeof e||e%1)throw new Error("invalid "+t);return e}function h(t,n,r,s,u,l,h){if(r=f(r,"N"),s=f(s,"r"),u=f(u,"p"),l=f(l,"dkLen"),0===r||r&r-1)throw new Error("N must be power of 2");if(r>o/128/s)throw new Error("N too large");if(s>o/128/u)throw new Error("r too large");if(!m(t))throw new Error("password must be an array or buffer");if(t=Array.prototype.slice.call(t),!m(n))throw new Error("salt must be an array or buffer");n=Array.prototype.slice.call(n);let p=i(t,n,128*u*s);const b=new Uint32Array(32*u*s);for(let e=0;e<b.length;e++){const t=4*e;b[e]=(255&p[t+3])<<24|(255&p[t+2])<<16|(255&p[t+1])<<8|255&p[t+0]}const _=new Uint32Array(64*s),w=new Uint32Array(32*s*r),g=32*s,y=new Uint32Array(16),k=new Uint32Array(16),v=u*r*2;let x,E,j=0,S=null,R=!1,T=0,A=0;const O=h?parseInt(1e3/s):4294967295,I=void 0!==e?e:setTimeout,P=function(){if(R)return h(new Error("cancelled"),j/v);let e;switch(T){case 0:E=32*A*s,c(b,E,_,0,g),T=1,x=0;case 1:e=r-x,e>O&&(e=O);for(let t=0;t<e;t++)c(_,0,w,(x+t)*g,g),a(_,g,s,y,k);if(x+=e,j+=e,h){const e=parseInt(1e3*j/v);if(e!==S){if(R=h(null,j/v),R)break;S=e}}if(x<r)break;x=0,T=2;case 2:e=r-x,e>O&&(e=O);for(let t=0;t<e;t++){const e=_[16*(2*s-1)]&r-1;d(w,e*g,_,g),a(_,g,s,y,k)}if(x+=e,j+=e,h){const e=parseInt(1e3*j/v);if(e!==S){if(R=h(null,j/v),R)break;S=e}}if(x<r)break;if(c(_,0,b,E,g),A++,A<u){T=0;break}p=[];for(let e=0;e<b.length;e++)p.push(255&b[e]),p.push(b[e]>>8&255),p.push(b[e]>>16&255),p.push(b[e]>>24&255);const n=i(t,p,l);return h&&h(null,1,n),n}h&&I(P)};if(!h)for(;;){const e=P();if(e!=undefined)return e}P()}const p={scrypt:function(e,t,n,r,o,s,i){return new Promise(function(a,u){let l=0;i&&i(0),h(e,t,n,r,o,s,function(e,t,n){if(e)u(e);else if(n)i&&1!==l&&i(1),a(new Uint8Array(n));else if(i&&t!==l)return l=t,i(t)})})},syncScrypt:function(e,t,n,r,o,s){return new Uint8Array(h(e,t,n,r,o,s))}};void 0!==n?t.exports=p:"function"==typeof define&&define.amd?define(p):r&&(r.scrypt&&(r._scrypt=r.scrypt),r.scrypt=p)}(this)}).call(this)}).call(this,e("timers").setImmediate)}}},{package:"ethers>@ethersproject/json-wallets>scrypt-js",file:"node_modules/scrypt-js/scrypt.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/elliptic.js",{"./lib":"/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/lib/index.js","./lib/elliptic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/lib/elliptic.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=e("./lib")(e("./lib/elliptic"))}}},{package:"ethereumjs-util>ethereum-cryptography>secp256k1",file:"node_modules/secp256k1/elliptic.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/lib/elliptic.js",{elliptic:"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=new(0,e("elliptic").ec)("secp256k1"),o=r.curve,s=o.n.constructor;function i(e){const t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){let n=new s(t);if(n.cmp(o.p)>=0)return null;n=n.toRed(o.red);let i=n.redSqr().redIMul(n).redIAdd(o.b).redSqrt();3===e!==i.isOdd()&&(i=i.redNeg());const a=n.redSqr().redIMul(n);return i.redSqr().redISub(a.redIAdd(o.b)).isZero()?r.keyPair({pub:{x:n,y:i}}):null}(t,e.subarray(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,n){let i=new s(t),a=new s(n);if(i.cmp(o.p)>=0||a.cmp(o.p)>=0)return null;if(i=i.toRed(o.red),a=a.toRed(o.red),(6===e||7===e)&&a.isOdd()!==(7===e))return null;const u=i.redSqr().redIMul(i);return a.redSqr().redISub(u.redIAdd(o.b)).isZero()?r.keyPair({pub:{x:i,y:a}}):null}(t,e.subarray(1,33),e.subarray(33,65));default:return null}}function a(e,t){const n=t.encode(null,33===e.length);for(let t=0;t<e.length;++t)e[t]=n[t]}t.exports={contextRandomize:()=>0,privateKeyVerify(e){const t=new s(e);return t.cmp(o.n)<0&&!t.isZero()?0:1},privateKeyNegate(e){const t=new s(e),n=o.n.sub(t).umod(o.n).toArrayLike(Uint8Array,"be",32);return e.set(n),0},privateKeyTweakAdd(e,t){const n=new s(t);if(n.cmp(o.n)>=0)return 1;if(n.iadd(new s(e)),n.cmp(o.n)>=0&&n.isub(o.n),n.isZero())return 1;const r=n.toArrayLike(Uint8Array,"be",32);return e.set(r),0},privateKeyTweakMul(e,t){let n=new s(t);if(n.cmp(o.n)>=0||n.isZero())return 1;n.imul(new s(e)),n.cmp(o.n)>=0&&(n=n.umod(o.n));const r=n.toArrayLike(Uint8Array,"be",32);return e.set(r),0},publicKeyVerify:e=>null===i(e)?1:0,publicKeyCreate(e,t){const n=new s(t);if(n.cmp(o.n)>=0||n.isZero())return 1;return a(e,r.keyFromPrivate(t).getPublic()),0},publicKeyConvert(e,t){const n=i(t);if(null===n)return 1;return a(e,n.getPublic()),0},publicKeyNegate(e,t){const n=i(t);if(null===n)return 1;const r=n.getPublic();return r.y=r.y.redNeg(),a(e,r),0},publicKeyCombine(e,t){const n=new Array(t.length);for(let e=0;e<t.length;++e)if(n[e]=i(t[e]),null===n[e])return 1;let r=n[0].getPublic();for(let e=1;e<n.length;++e)r=r.add(n[e].pub);return r.isInfinity()?2:(a(e,r),0)},publicKeyTweakAdd(e,t,n){const r=i(t);if(null===r)return 1;if((n=new s(n)).cmp(o.n)>=0)return 2;const u=r.getPublic().add(o.g.mul(n));return u.isInfinity()?2:(a(e,u),0)},publicKeyTweakMul(e,t,n){const r=i(t);if(null===r)return 1;if((n=new s(n)).cmp(o.n)>=0||n.isZero())return 2;return a(e,r.getPublic().mul(n)),0},signatureNormalize(e){const t=new s(e.subarray(0,32)),n=new s(e.subarray(32,64));return t.cmp(o.n)>=0||n.cmp(o.n)>=0?1:(1===n.cmp(r.nh)&&e.set(o.n.sub(n).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport(e,t){const n=t.subarray(0,32),r=t.subarray(32,64);if(new s(n).cmp(o.n)>=0)return 1;if(new s(r).cmp(o.n)>=0)return 1;const{output:i}=e;let a=i.subarray(4,37);a[0]=0,a.set(n,1);let u=33,l=0;for(;u>1&&0===a[l]&&!(128&a[l+1]);--u,++l);if(a=a.subarray(l),128&a[0])return 1;if(u>1&&0===a[0]&&!(128&a[1]))return 1;let d=i.subarray(39,72);d[0]=0,d.set(r,1);let c=33,m=0;for(;c>1&&0===d[m]&&!(128&d[m+1]);--c,++m);return d=d.subarray(m),128&d[0]||c>1&&0===d[0]&&!(128&d[1])?1:(e.outputlen=6+u+c,i[0]=48,i[1]=e.outputlen-2,i[2]=2,i[3]=a.length,i.set(a,4),i[4+u]=2,i[5+u]=d.length,i.set(d,6+u),0)},signatureImport(e,t){if(t.length<8)return 1;if(t.length>72)return 1;if(48!==t[0])return 1;if(t[1]!==t.length-2)return 1;if(2!==t[2])return 1;const n=t[3];if(0===n)return 1;if(5+n>=t.length)return 1;if(2!==t[4+n])return 1;const r=t[5+n];if(0===r)return 1;if(6+n+r!==t.length)return 1;if(128&t[4])return 1;if(n>1&&0===t[4]&&!(128&t[5]))return 1;if(128&t[n+6])return 1;if(r>1&&0===t[n+6]&&!(128&t[n+7]))return 1;let i=t.subarray(4,4+n);if(33===i.length&&0===i[0]&&(i=i.subarray(1)),i.length>32)return 1;let a=t.subarray(6+n);if(33===a.length&&0===a[0]&&(a=a.slice(1)),a.length>32)throw new Error("S length is too long");let u=new s(i);u.cmp(o.n)>=0&&(u=new s(0));let l=new s(t.subarray(6+n));return l.cmp(o.n)>=0&&(l=new s(0)),e.set(u.toArrayLike(Uint8Array,"be",32),0),e.set(l.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign(e,t,n,i,a){if(a){const e=a;a=r=>{const o=e(t,n,null,i,r);if(!(o instanceof Uint8Array&&32===o.length))throw new Error("This is the way");return new s(o)}}const u=new s(n);if(u.cmp(o.n)>=0||u.isZero())return 1;let l;try{l=r.sign(t,n,{canonical:!0,k:a,pers:i})}catch(e){return 1}return e.signature.set(l.r.toArrayLike(Uint8Array,"be",32),0),e.signature.set(l.s.toArrayLike(Uint8Array,"be",32),32),e.recid=l.recoveryParam,0},ecdsaVerify(e,t,n){const a={r:e.subarray(0,32),s:e.subarray(32,64)},u=new s(a.r),l=new s(a.s);if(u.cmp(o.n)>=0||l.cmp(o.n)>=0)return 1;if(1===l.cmp(r.nh)||u.isZero()||l.isZero())return 3;const d=i(n);if(null===d)return 2;const c=d.getPublic();return r.verify(t,a,c)?0:3},ecdsaRecover(e,t,n,i){const u={r:t.slice(0,32),s:t.slice(32,64)},l=new s(u.r),d=new s(u.s);if(l.cmp(o.n)>=0||d.cmp(o.n)>=0)return 1;if(l.isZero()||d.isZero())return 2;let c;try{c=r.recoverPubKey(i,u,n)}catch(e){return 2}return a(e,c),0},ecdh(e,t,n,a,u,l,d){const c=i(t);if(null===c)return 1;const m=new s(n);if(m.cmp(o.n)>=0||m.isZero())return 2;const f=c.getPublic().mul(m);if(u===undefined){const t=f.encode(null,!0),n=r.hash().update(t).digest();for(let t=0;t<32;++t)e[t]=n[t]}else{l||(l=new Uint8Array(32));const t=f.getX().toArray("be",32);for(let e=0;e<32;++e)l[e]=t[e];d||(d=new Uint8Array(32));const n=f.getY().toArray("be",32);for(let e=0;e<32;++e)d[e]=n[e];const r=u(l,d,a);if(!(r instanceof Uint8Array&&r.length===e.length))return 2;e.set(r)}return 0}}}}},{package:"ethereumjs-util>ethereum-cryptography>secp256k1",file:"node_modules/secp256k1/lib/elliptic.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/lib/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r="Impossible case. Please create issue.",o="The tweak was out of range or the resulted private key is invalid",s="The tweak was out of range or equal to zero",i="Unknow error on context randomization",a="Private Key is invalid",u="Public Key could not be parsed",l="Public Key serialization error",d="The sum of the public keys is not valid",c="Signature could not be parsed",m="The nonce generation function failed, or the private key was invalid",f="Public key could not be recover",h="Scalar was invalid (zero or overflow)";function p(e,t){if(!e)throw new Error(t)}function b(e,t,n){if(p(t instanceof Uint8Array,`Expected ${e} to be an Uint8Array`),n!==undefined)if(Array.isArray(n)){const r=`Expected ${e} to be an Uint8Array with length [${n.join(", ")}]`;p(n.includes(t.length),r)}else{const r=`Expected ${e} to be an Uint8Array with length ${n}`;p(t.length===n,r)}}function _(e){p("Boolean"===g(e),"Expected compressed to be a Boolean")}function w(e=e=>new Uint8Array(e),t){return"function"==typeof e&&(e=e(t)),b("output",e,t),e}function g(e){return Object.prototype.toString.call(e).slice(8,-1)}t.exports=e=>({contextRandomize(t){if(p(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(i)},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(r)}},privateKeyTweakAdd(t,n){switch(b("private key",t,32),b("tweak",n,32),e.privateKeyTweakAdd(t,n)){case 0:return t;case 1:throw new Error(o)}},privateKeyTweakMul(t,n){switch(b("private key",t,32),b("tweak",n,32),e.privateKeyTweakMul(t,n)){case 0:return t;case 1:throw new Error(s)}},publicKeyVerify:t=>(b("public key",t,[33,65]),0===e.publicKeyVerify(t)),publicKeyCreate(t,n=!0,r){switch(b("private key",t,32),_(n),r=w(r,n?33:65),e.publicKeyCreate(r,t)){case 0:return r;case 1:throw new Error(a);case 2:throw new Error(l)}},publicKeyConvert(t,n=!0,r){switch(b("public key",t,[33,65]),_(n),r=w(r,n?33:65),e.publicKeyConvert(r,t)){case 0:return r;case 1:throw new Error(u);case 2:throw new Error(l)}},publicKeyNegate(t,n=!0,o){switch(b("public key",t,[33,65]),_(n),o=w(o,n?33:65),e.publicKeyNegate(o,t)){case 0:return o;case 1:throw new Error(u);case 2:throw new Error(r);case 3:throw new Error(l)}},publicKeyCombine(t,n=!0,r){p(Array.isArray(t),"Expected public keys to be an Array"),p(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(_(n),r=w(r,n?33:65),e.publicKeyCombine(r,t)){case 0:return r;case 1:throw new Error(u);case 2:throw new Error(d);case 3:throw new Error(l)}},publicKeyTweakAdd(t,n,r=!0,s){switch(b("public key",t,[33,65]),b("tweak",n,32),_(r),s=w(s,r?33:65),e.publicKeyTweakAdd(s,t,n)){case 0:return s;case 1:throw new Error(u);case 2:throw new Error(o)}},publicKeyTweakMul(t,n,r=!0,o){switch(b("public key",t,[33,65]),b("tweak",n,32),_(r),o=w(o,r?33:65),e.publicKeyTweakMul(o,t,n)){case 0:return o;case 1:throw new Error(u);case 2:throw new Error(s)}},signatureNormalize(t){switch(b("signature",t,64),e.signatureNormalize(t)){case 0:return t;case 1:throw new Error(c)}},signatureExport(t,n){b("signature",t,64);const o={output:n=w(n,72),outputlen:72};switch(e.signatureExport(o,t)){case 0:return n.slice(0,o.outputlen);case 1:throw new Error(c);case 2:throw new Error(r)}},signatureImport(t,n){switch(b("signature",t),n=w(n,64),e.signatureImport(n,t)){case 0:return n;case 1:throw new Error(c);case 2:throw new Error(r)}},ecdsaSign(t,n,o={},s){b("message",t,32),b("private key",n,32),p("Object"===g(o),"Expected options to be an Object"),o.data!==undefined&&b("options.data",o.data),o.noncefn!==undefined&&p("Function"===g(o.noncefn),"Expected options.noncefn to be a Function");const i={signature:s=w(s,64),recid:null};switch(e.ecdsaSign(i,t,n,o.data,o.noncefn)){case 0:return i;case 1:throw new Error(m);case 2:throw new Error(r)}},ecdsaVerify(t,n,r){switch(b("signature",t,64),b("message",n,32),b("public key",r,[33,65]),e.ecdsaVerify(t,n,r)){case 0:return!0;case 3:return!1;case 1:throw new Error(c);case 2:throw new Error(u)}},ecdsaRecover(t,n,o,s=!0,i){switch(b("signature",t,64),p("Number"===g(n)&&n>=0&&n<=3,"Expected recovery id to be a Number within interval [0, 3]"),b("message",o,32),_(s),i=w(i,s?33:65),e.ecdsaRecover(i,t,n,o)){case 0:return i;case 1:throw new Error(c);case 2:throw new Error(f);case 3:throw new Error(r)}},ecdh(t,n,r={},o){switch(b("public key",t,[33,65]),b("private key",n,32),p("Object"===g(r),"Expected options to be an Object"),r.data!==undefined&&b("options.data",r.data),r.hashfn!==undefined?(p("Function"===g(r.hashfn),"Expected options.hashfn to be a Function"),r.xbuf!==undefined&&b("options.xbuf",r.xbuf,32),r.ybuf!==undefined&&b("options.ybuf",r.ybuf,32),b("output",o)):o=w(o,32),e.ecdh(o,t,n,r.data,r.hashfn,r.xbuf,r.ybuf)){case 0:return o;case 1:throw new Error(u);case 2:throw new Error(h)}}})}}},{package:"ethereumjs-util>ethereum-cryptography>secp256k1",file:"node_modules/secp256k1/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/comparator.js",{"../functions/cmp":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/cmp.js","../internal/debug":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/debug.js","../internal/parse-options":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/parse-options.js","../internal/re":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js","./range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","./semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=Symbol("SemVer ANY");class o{static get ANY(){return r}constructor(e,t){if(t=s(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==undefined?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new d(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return u(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new c(e.value,t).test(this.value):""===e.operator?""===e.value||new c(this.value,t).test(e.semver):(!(t=s(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(u(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(u(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}t.exports=o;const s=e("../internal/parse-options"),{safeRe:i,t:a}=e("../internal/re"),u=e("../functions/cmp"),l=e("../internal/debug"),d=e("./semver"),c=e("./range")}}},{package:"semver",file:"node_modules/semver/classes/comparator.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js",{"../internal/constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/constants.js","../internal/debug":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/debug.js","../internal/lrucache":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/lrucache.js","../internal/parse-options":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/parse-options.js","../internal/re":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js","./comparator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/comparator.js","./semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=/\s+/g;class o{constructor(e,t){if(t=i(t),e instanceof o)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new o(e.raw,t);if(e instanceof a)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(r," "),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=>!_(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&&w(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&&p)|(this.options.loose&&b))+":"+e,n=s.get(t);if(n)return n;const r=this.options.loose,o=r?d[c.HYPHENRANGELOOSE]:d[c.HYPHENRANGE];e=e.replace(o,O(this.options.includePrerelease)),u("hyphen replace",e),e=e.replace(d[c.COMPARATORTRIM],m),u("comparator trim",e),e=e.replace(d[c.TILDETRIM],f),u("tilde trim",e),e=e.replace(d[c.CARETTRIM],h),u("caret trim",e);let i=e.split(" ").map(e=>y(e,this.options)).join(" ").split(/\s+/).map(e=>A(e,this.options));r&&(i=i.filter(e=>(u("loose invalid filter",e,this.options),!!e.match(d[c.COMPARATORLOOSE])))),u("range list",i);const l=new Map,w=i.map(e=>new a(e,this.options));for(const e of w){if(_(e))return[e];l.set(e.value,e)}l.size>1&&l.has("")&&l.delete("");const g=[...l.values()];return s.set(t,g),g}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Range is required");return this.set.some(n=>g(n,t)&&e.set.some(e=>g(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(I(this.set[t],e,this.options))return!0;return!1}}t.exports=o;const s=new(e("../internal/lrucache")),i=e("../internal/parse-options"),a=e("./comparator"),u=e("../internal/debug"),l=e("./semver"),{safeRe:d,t:c,comparatorTrimReplace:m,tildeTrimReplace:f,caretTrimReplace:h}=e("../internal/re"),{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:b}=e("../internal/constants"),_=e=>"<0.0.0-0"===e.value,w=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every(e=>o.intersects(e,t)),o=r.pop();return n},y=(e,t)=>(e=e.replace(d[c.BUILD],""),u("comp",e,t),e=E(e,t),u("caret",e),e=v(e,t),u("tildes",e),e=S(e,t),u("xrange",e),e=T(e,t),u("stars",e),e),k=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map(e=>x(e,t)).join(" "),x=(e,t)=>{const n=t.loose?d[c.TILDELOOSE]:d[c.TILDE];return e.replace(n,(t,n,r,o,s)=>{let i;return u("tilde",e,t,n,r,o,s),k(n)?i="":k(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:k(o)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:s?(u("replaceTilde pr",s),i=`>=${n}.${r}.${o}-${s} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${o} <${n}.${+r+1}.0-0`,u("tilde return",i),i})},E=(e,t)=>e.trim().split(/\s+/).map(e=>j(e,t)).join(" "),j=(e,t)=>{u("caret",e,t);const n=t.loose?d[c.CARETLOOSE]:d[c.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,o,s,i)=>{let a;return u("caret",e,t,n,o,s,i),k(n)?a="":k(o)?a=`>=${n}.0.0${r} <${+n+1}.0.0-0`:k(s)?a="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:i?(u("replaceCaret pr",i),a="0"===n?"0"===o?`>=${n}.${o}.${s}-${i} <${n}.${o}.${+s+1}-0`:`>=${n}.${o}.${s}-${i} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${s}-${i} <${+n+1}.0.0-0`):(u("no pr"),a="0"===n?"0"===o?`>=${n}.${o}.${s}${r} <${n}.${o}.${+s+1}-0`:`>=${n}.${o}.${s}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${s} <${+n+1}.0.0-0`),u("caret return",a),a})},S=(e,t)=>(u("replaceXRanges",e,t),e.split(/\s+/).map(e=>R(e,t)).join(" ")),R=(e,t)=>{e=e.trim();const n=t.loose?d[c.XRANGELOOSE]:d[c.XRANGE];return e.replace(n,(n,r,o,s,i,a)=>{u("xRange",e,n,r,o,s,i,a);const l=k(o),d=l||k(s),c=d||k(i),m=c;return"="===r&&m&&(r=""),a=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&m?(d&&(s=0),i=0,">"===r?(r=">=",d?(o=+o+1,s=0,i=0):(s=+s+1,i=0)):"<="===r&&(r="<",d?o=+o+1:s=+s+1),"<"===r&&(a="-0"),n=`${r+o}.${s}.${i}${a}`):d?n=`>=${o}.0.0${a} <${+o+1}.0.0-0`:c&&(n=`>=${o}.${s}.0${a} <${o}.${+s+1}.0-0`),u("xRange return",n),n})},T=(e,t)=>(u("replaceStars",e,t),e.trim().replace(d[c.STAR],"")),A=(e,t)=>(u("replaceGTE0",e,t),e.trim().replace(d[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),O=e=>(t,n,r,o,s,i,a,u,l,d,c,m)=>`${n=k(r)?"":k(o)?`>=${r}.0.0${e?"-0":""}`:k(s)?`>=${r}.${o}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${u=k(l)?"":k(d)?`<${+l+1}.0.0-0`:k(c)?`<${l}.${+d+1}.0-0`:m?`<=${l}.${d}.${c}-${m}`:e?`<${l}.${d}.${+c+1}-0`:`<=${u}`}`.trim(),I=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(u(e[n].semver),e[n].semver!==a.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}}}},{package:"semver",file:"node_modules/semver/classes/range.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js",{"../internal/constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/constants.js","../internal/debug":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/debug.js","../internal/identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/identifiers.js","../internal/parse-options":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/parse-options.js","../internal/re":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../internal/debug"),{MAX_LENGTH:o,MAX_SAFE_INTEGER:s}=e("../internal/constants"),{safeRe:i,t:a}=e("../internal/re"),u=e("../internal/parse-options"),{compareIdentifiers:l}=e("../internal/identifiers");class d{constructor(e,t){if(t=u(t),e instanceof d){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>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[a.LOOSE]:i[a.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<s)return t}return e}):this.prerelease=[],this.build=n[5]?n[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(r("SemVer.compare",this.version,this.options,e),!(e instanceof d)){if("string"==typeof e&&e===this.version)return 0;e=new d(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof d||(e=new d(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 d||(e=new d(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 n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),n===undefined&&o===undefined)return 0;if(o===undefined)return 1;if(n===undefined)return-1;if(n!==o)return l(n,o)}while(++t)}compareBuild(e){e instanceof d||(e=new d(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("build compare",t,n,o),n===undefined&&o===undefined)return 0;if(o===undefined)return 1;if(n===undefined)return-1;if(n!==o)return l(n,o)}while(++t)}inc(e,t,n){if(e.startsWith("pre")){if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?i[a.PRERELEASELOOSE]:i[a.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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);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(n)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}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=d}}},{package:"semver",file:"node_modules/semver/classes/semver.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/clean.js",{"./parse":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./parse");t.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}}}},{package:"semver",file:"node_modules/semver/functions/clean.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/cmp.js",{"./eq":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/eq.js","./gt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gt.js","./gte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gte.js","./lt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lt.js","./lte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lte.js","./neq":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/neq.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./eq"),o=e("./neq"),s=e("./gt"),i=e("./gte"),a=e("./lt"),u=e("./lte");t.exports=(e,t,n,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return o(e,n,l);case">":return s(e,n,l);case">=":return i(e,n,l);case"<":return a(e,n,l);case"<=":return u(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}}}},{package:"semver",file:"node_modules/semver/functions/cmp.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/coerce.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js","../internal/re":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js","./parse":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver"),o=e("./parse"),{safeRe:s,t:i}=e("../internal/re");t.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?s[i.COERCERTLFULL]:s[i.COERCERTL];let o;for(;(o=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&o.index+o[0].length===n.index+n[0].length||(n=o),r.lastIndex=o.index+o[1].length+o[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?s[i.COERCEFULL]:s[i.COERCE]);if(null===n)return null;const a=n[2],u=n[3]||"0",l=n[4]||"0",d=t.includePrerelease&&n[5]?`-${n[5]}`:"",c=t.includePrerelease&&n[6]?`+${n[6]}`:"";return o(`${a}.${u}.${l}${d}${c}`,t)}}}},{package:"semver",file:"node_modules/semver/functions/coerce.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-build.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver");t.exports=(e,t,n)=>{const o=new r(e,n),s=new r(t,n);return o.compare(s)||o.compareBuild(s)}}}},{package:"semver",file:"node_modules/semver/functions/compare-build.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-loose.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./compare");t.exports=(e,t)=>r(e,t,!0)}}},{package:"semver",file:"node_modules/semver/functions/compare-loose.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver");t.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))}}},{package:"semver",file:"node_modules/semver/functions/compare.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/diff.js",{"./parse.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./parse.js");t.exports=(e,t)=>{const n=r(e,null,!0),o=r(t,null,!0),s=n.compare(o);if(0===s)return null;const i=s>0,a=i?n:o,u=i?o:n,l=!!a.prerelease.length;if(!!u.prerelease.length&&!l){if(!u.patch&&!u.minor)return"major";if(0===u.compareMain(a))return u.minor&&!u.patch?"minor":"patch"}const d=l?"pre":"";return n.major!==o.major?d+"major":n.minor!==o.minor?d+"minor":n.patch!==o.patch?d+"patch":"prerelease"}}}},{package:"semver",file:"node_modules/semver/functions/diff.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/eq.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./compare");t.exports=(e,t,n)=>0===r(e,t,n)}}},{package:"semver",file:"node_modules/semver/functions/eq.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gt.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./compare");t.exports=(e,t,n)=>r(e,t,n)>0}}},{package:"semver",file:"node_modules/semver/functions/gt.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gte.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./compare");t.exports=(e,t,n)=>r(e,t,n)>=0}}},{package:"semver",file:"node_modules/semver/functions/gte.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/inc.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver");t.exports=(e,t,n,o,s)=>{"string"==typeof n&&(s=o,o=n,n=undefined);try{return new r(e instanceof r?e.version:e,n).inc(t,o,s).version}catch(e){return null}}}}},{package:"semver",file:"node_modules/semver/functions/inc.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lt.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./compare");t.exports=(e,t,n)=>r(e,t,n)<0}}},{package:"semver",file:"node_modules/semver/functions/lt.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lte.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./compare");t.exports=(e,t,n)=>r(e,t,n)<=0}}},{package:"semver",file:"node_modules/semver/functions/lte.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/major.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver");t.exports=(e,t)=>new r(e,t).major}}},{package:"semver",file:"node_modules/semver/functions/major.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/minor.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver");t.exports=(e,t)=>new r(e,t).minor}}},{package:"semver",file:"node_modules/semver/functions/minor.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/neq.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./compare");t.exports=(e,t,n)=>0!==r(e,t,n)}}},{package:"semver",file:"node_modules/semver/functions/neq.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver");t.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}}}},{package:"semver",file:"node_modules/semver/functions/parse.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/patch.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver");t.exports=(e,t)=>new r(e,t).patch}}},{package:"semver",file:"node_modules/semver/functions/patch.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/prerelease.js",{"./parse":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./parse");t.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}}}},{package:"semver",file:"node_modules/semver/functions/prerelease.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/rcompare.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./compare");t.exports=(e,t,n)=>r(t,e,n)}}},{package:"semver",file:"node_modules/semver/functions/rcompare.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/rsort.js",{"./compare-build":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-build.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./compare-build");t.exports=(e,t)=>e.sort((e,n)=>r(n,e,t))}}},{package:"semver",file:"node_modules/semver/functions/rsort.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/satisfies.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/range");t.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}}}},{package:"semver",file:"node_modules/semver/functions/satisfies.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/sort.js",{"./compare-build":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-build.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./compare-build");t.exports=(e,t)=>e.sort((e,n)=>r(e,n,t))}}},{package:"semver",file:"node_modules/semver/functions/sort.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/valid.js",{"./parse":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./parse");t.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}}}},{package:"semver",file:"node_modules/semver/functions/valid.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/index.js",{"./classes/comparator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/comparator.js","./classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","./classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js","./functions/clean":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/clean.js","./functions/cmp":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/cmp.js","./functions/coerce":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/coerce.js","./functions/compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js","./functions/compare-build":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-build.js","./functions/compare-loose":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-loose.js","./functions/diff":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/diff.js","./functions/eq":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/eq.js","./functions/gt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gt.js","./functions/gte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gte.js","./functions/inc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/inc.js","./functions/lt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lt.js","./functions/lte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lte.js","./functions/major":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/major.js","./functions/minor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/minor.js","./functions/neq":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/neq.js","./functions/parse":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js","./functions/patch":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/patch.js","./functions/prerelease":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/prerelease.js","./functions/rcompare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/rcompare.js","./functions/rsort":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/rsort.js","./functions/satisfies":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/satisfies.js","./functions/sort":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/sort.js","./functions/valid":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/valid.js","./internal/constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/constants.js","./internal/identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/identifiers.js","./internal/re":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js","./ranges/gtr":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/gtr.js","./ranges/intersects":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/intersects.js","./ranges/ltr":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/ltr.js","./ranges/max-satisfying":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/max-satisfying.js","./ranges/min-satisfying":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/min-satisfying.js","./ranges/min-version":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/min-version.js","./ranges/outside":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/outside.js","./ranges/simplify":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/simplify.js","./ranges/subset":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/subset.js","./ranges/to-comparators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/to-comparators.js","./ranges/valid":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/valid.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./internal/re"),o=e("./internal/constants"),s=e("./classes/semver"),i=e("./internal/identifiers"),a=e("./functions/parse"),u=e("./functions/valid"),l=e("./functions/clean"),d=e("./functions/inc"),c=e("./functions/diff"),m=e("./functions/major"),f=e("./functions/minor"),h=e("./functions/patch"),p=e("./functions/prerelease"),b=e("./functions/compare"),_=e("./functions/rcompare"),w=e("./functions/compare-loose"),g=e("./functions/compare-build"),y=e("./functions/sort"),k=e("./functions/rsort"),v=e("./functions/gt"),x=e("./functions/lt"),E=e("./functions/eq"),j=e("./functions/neq"),S=e("./functions/gte"),R=e("./functions/lte"),T=e("./functions/cmp"),A=e("./functions/coerce"),O=e("./classes/comparator"),I=e("./classes/range"),P=e("./functions/satisfies"),M=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"),$=e("./ranges/gtr"),F=e("./ranges/ltr"),B=e("./ranges/intersects"),W=e("./ranges/simplify"),H=e("./ranges/subset");t.exports={parse:a,valid:u,clean:l,inc:d,diff:c,major:m,minor:f,patch:h,prerelease:p,compare:b,rcompare:_,compareLoose:w,compareBuild:g,sort:y,rsort:k,gt:v,lt:x,eq:E,neq:j,gte:S,lte:R,cmp:T,coerce:A,Comparator:O,Range:I,satisfies:P,toComparators:M,maxSatisfying:N,minSatisfying:C,minVersion:L,validRange:D,outside:U,gtr:$,ltr:F,intersects:B,simplifyRange:W,subset:H,SemVer:s,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:i.compareIdentifiers,rcompareIdentifiers:i.rcompareIdentifiers}}}},{package:"semver",file:"node_modules/semver/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/constants.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/debug.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){const n=("object"==typeof e&&e.env,()=>{});t.exports=n}).call(this)}).call(this,e("_process"))}}},{package:"semver",file:"node_modules/semver/internal/debug.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/identifiers.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=/^[0-9]+$/,o=(e,t)=>{if("number"==typeof e&&"number"==typeof t)return e===t?0:e<t?-1:1;const n=r.test(e),o=r.test(t);return n&&o&&(e=+e,t=+t),e===t?0:n&&!o?-1:o&&!n?1:e<t?-1:1};t.exports={compareIdentifiers:o,rcompareIdentifiers:(e,t)=>o(t,e)}}}},{package:"semver",file:"node_modules/semver/internal/identifiers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/lrucache.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/parse-options.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=Object.freeze({loose:!0}),o=Object.freeze({});t.exports=e=>e?"object"!=typeof e?r:e:o}}},{package:"semver",file:"node_modules/semver/internal/parse-options.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js",{"./constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/constants.js","./debug":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/debug.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:s}=e("./constants"),i=e("./debug"),a=(n=t.exports={}).re=[],u=n.safeRe=[],l=n.src=[],d=n.safeSrc=[],c=n.t={};let m=0;const f="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",s],[f,o]],p=(e,t,n)=>{const r=(e=>{for(const[t,n]of h)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),o=m++;i(e,o,t),c[e]=o,l[o]=t,d[o]=r,a[o]=new RegExp(t,n?"g":undefined),u[o]=new RegExp(r,n?"g":undefined)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),p("MAINVERSION",`(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${l[c.NONNUMERICIDENTIFIER]}|${l[c.NUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${l[c.NONNUMERICIDENTIFIER]}|${l[c.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASE",`(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${f}+`),p("BUILD",`(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`),p("FULL",`^${l[c.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`),p("LOOSE",`^${l[c.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${l[c.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`),p("XRANGE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),p("COERCE",`${l[c.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",l[c.COERCEPLAIN]+`(?:${l[c.PRERELEASE]})?`+`(?:${l[c.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",l[c.COERCE],!0),p("COERCERTLFULL",l[c.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${l[c.LONETILDE]}\\s+`,!0),n.tildeTrimReplace="$1~",p("TILDE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${l[c.LONECARET]}\\s+`,!0),n.caretTrimReplace="$1^",p("CARET",`^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`,!0),n.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}},{package:"semver",file:"node_modules/semver/internal/re.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/gtr.js",{"./outside":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/outside.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./outside");t.exports=(e,t,n)=>r(e,t,">",n)}}},{package:"semver",file:"node_modules/semver/ranges/gtr.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/intersects.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/range");t.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))}}},{package:"semver",file:"node_modules/semver/ranges/intersects.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/ltr.js",{"./outside":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/outside.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("./outside");t.exports=(e,t,n)=>r(e,t,"<",n)}}},{package:"semver",file:"node_modules/semver/ranges/ltr.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/max-satisfying.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver"),o=e("../classes/range");t.exports=(e,t,n)=>{let s=null,i=null,a=null;try{a=new o(t,n)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(s&&-1!==i.compare(e)||(s=e,i=new r(s,n)))}),s}}}},{package:"semver",file:"node_modules/semver/ranges/max-satisfying.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/min-satisfying.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver"),o=e("../classes/range");t.exports=(e,t,n)=>{let s=null,i=null,a=null;try{a=new o(t,n)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(s&&1!==i.compare(e)||(s=e,i=new r(s,n)))}),s}}}},{package:"semver",file:"node_modules/semver/ranges/min-satisfying.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/min-version.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js","../functions/gt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gt.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver"),o=e("../classes/range"),s=e("../functions/gt");t.exports=(e,t)=>{e=new o(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const o=e.set[t];let i=null;o.forEach(e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!s(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),!i||n&&!s(n,i)||(n=i)}return n&&e.test(n)?n:null}}}},{package:"semver",file:"node_modules/semver/ranges/min-version.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/outside.js",{"../classes/comparator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/comparator.js","../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js","../functions/gt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gt.js","../functions/gte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gte.js","../functions/lt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lt.js","../functions/lte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lte.js","../functions/satisfies":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/satisfies.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/semver"),o=e("../classes/comparator"),{ANY:s}=o,i=e("../classes/range"),a=e("../functions/satisfies"),u=e("../functions/gt"),l=e("../functions/lt"),d=e("../functions/lte"),c=e("../functions/gte");t.exports=(e,t,n,m)=>{let f,h,p,b,_;switch(e=new r(e,m),t=new i(t,m),n){case">":f=u,h=d,p=l,b=">",_=">=";break;case"<":f=l,h=c,p=u,b="<",_="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,m))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let i=null,a=null;if(r.forEach(e=>{e.semver===s&&(e=new o(">=0.0.0")),i=i||e,a=a||e,f(e.semver,i.semver,m)?i=e:p(e.semver,a.semver,m)&&(a=e)}),i.operator===b||i.operator===_)return!1;if((!a.operator||a.operator===b)&&h(e,a.semver))return!1;if(a.operator===_&&p(e,a.semver))return!1}return!0}}}},{package:"semver",file:"node_modules/semver/ranges/outside.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/simplify.js",{"../functions/compare.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js","../functions/satisfies.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/satisfies.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../functions/satisfies.js"),o=e("../functions/compare.js");t.exports=(e,t,n)=>{const s=[];let i=null,a=null;const u=e.sort((e,t)=>o(e,t,n));for(const e of u){r(e,t,n)?(a=e,i||(i=e)):(a&&s.push([i,a]),a=null,i=null)}i&&s.push([i,null]);const l=[];for(const[e,t]of s)e===t?l.push(e):t||e!==u[0]?t?e===u[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const d=l.join(" || "),c="string"==typeof t.raw?t.raw:String(t);return d.length<c.length?d:t}}}},{package:"semver",file:"node_modules/semver/ranges/simplify.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/subset.js",{"../classes/comparator.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/comparator.js","../classes/range.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","../functions/compare.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js","../functions/satisfies.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/satisfies.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/range.js"),o=e("../classes/comparator.js"),{ANY:s}=o,i=e("../functions/satisfies.js"),a=e("../functions/compare.js"),u=[new o(">=0.0.0-0")],l=[new o(">=0.0.0")],d=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===s){if(1===t.length&&t[0].semver===s)return!0;e=n.includePrerelease?u:l}if(1===t.length&&t[0].semver===s){if(n.includePrerelease)return!0;t=l}const r=new Set;let o,d,f,h,p,b,_;for(const t of e)">"===t.operator||">="===t.operator?o=c(o,t,n):"<"===t.operator||"<="===t.operator?d=m(d,t,n):r.add(t.semver);if(r.size>1)return null;if(o&&d){if(f=a(o.semver,d.semver,n),f>0)return null;if(0===f&&(">="!==o.operator||"<="!==d.operator))return null}for(const e of r){if(o&&!i(e,String(o),n))return null;if(d&&!i(e,String(d),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}let w=!(!d||n.includePrerelease||!d.semver.prerelease.length)&&d.semver,g=!(!o||n.includePrerelease||!o.semver.prerelease.length)&&o.semver;w&&1===w.prerelease.length&&"<"===d.operator&&0===w.prerelease[0]&&(w=!1);for(const e of t){if(_=_||">"===e.operator||">="===e.operator,b=b||"<"===e.operator||"<="===e.operator,o)if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),">"===e.operator||">="===e.operator){if(h=c(o,e,n),h===e&&h!==o)return!1}else if(">="===o.operator&&!i(o.semver,String(e),n))return!1;if(d)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=m(d,e,n),p===e&&p!==d)return!1}else if("<="===d.operator&&!i(d.semver,String(e),n))return!1;if(!e.operator&&(d||o)&&0!==f)return!1}return!(o&&b&&!d&&0!==f)&&(!(d&&_&&!o&&0!==f)&&(!g&&!w))},c=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},m=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};t.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=d(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}}}},{package:"semver",file:"node_modules/semver/ranges/subset.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/to-comparators.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/range");t.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))}}},{package:"semver",file:"node_modules/semver/ranges/to-comparators.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/valid.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("../classes/range");t.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}}}},{package:"semver",file:"node_modules/semver/ranges/valid.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/set-function-length/index.js",{"define-data-property":"/home/runner/work/metamask-extension/metamask-extension/node_modules/define-data-property/index.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","get-intrinsic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/get-intrinsic/index.js",gopd:"/home/runner/work/metamask-extension/metamask-extension/node_modules/gopd/index.js","has-property-descriptors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/has-property-descriptors/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("get-intrinsic"),o=e("define-data-property"),s=e("has-property-descriptors")(),i=e("gopd"),a=e("es-errors/type"),u=r("%Math.floor%");t.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new a("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in e&&i){var d=i(e,"length");d&&!d.configurable&&(r=!1),d&&!d.writable&&(l=!1)}return(r||l||!n)&&(s?o(e,"length",t,!0,!0):o(e,"length",t)),e}}}},{package:"string.prototype.matchall>call-bind>set-function-length",file:"node_modules/set-function-length/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/set-immediate-shim/index.js",{timers:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/timers-browserify/main.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js",{"safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js","to-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/to-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("safe-buffer").Buffer,o=e("to-buffer");function s(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}s.prototype.update=function(e,t){e=o(e,t||"utf8");for(var n=this._block,r=this._blockSize,s=e.length,i=this._len,a=0;a<s;){for(var u=i%r,l=Math.min(s-a,r-u),d=0;d<l;d++)n[u+d]=e[a+d];a+=l,(i+=l)%r===0&&this._update(n)}return this._len+=s,this},s.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 n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,o=(n-r)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var s=this._hash();return e?s.toString(e):s},s.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=s}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/hash.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/index.js",{"./sha":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha.js","./sha1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha1.js","./sha224":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha224.js","./sha256":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha256.js","./sha384":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha384.js","./sha512":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha512.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e){var n=e.toLowerCase(),r=t.exports[n];if(!r)throw new Error(n+" is not supported (we accept pull requests)");return new r},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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("inherits"),o=e("./hash"),s=e("safe-buffer").Buffer,i=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,o.call(this,64,56)}function l(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function c(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(u,o),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t=this._w,n=0|this._a,r=0|this._b,o=0|this._c,s=0|this._d,a=0|this._e,u=0;u<16;++u)t[u]=e.readInt32BE(4*u);for(;u<80;++u)t[u]=t[u-3]^t[u-8]^t[u-14]^t[u-16];for(var m=0;m<80;++m){var f=~~(m/20),h=l(n)+c(f,r,o,s)+a+t[m]+i[f]|0;a=s,s=o,o=d(r),r=n,n=h}this._a=n+this._a|0,this._b=r+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=a+this._e|0},u.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha1.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("inherits"),o=e("./hash"),s=e("safe-buffer").Buffer,i=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,o.call(this,64,56)}function l(e){return e<<1|e>>>31}function d(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function m(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(u,o),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t=this._w,n=0|this._a,r=0|this._b,o=0|this._c,s=0|this._d,a=0|this._e,u=0;u<16;++u)t[u]=e.readInt32BE(4*u);for(;u<80;++u)t[u]=l(t[u-3]^t[u-8]^t[u-14]^t[u-16]);for(var f=0;f<80;++f){var h=~~(f/20),p=d(n)+m(h,r,o,s)+a+t[f]+i[h]|0;a=s,s=o,o=c(r),r=n,n=p}this._a=n+this._a|0,this._b=r+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=a+this._e|0},u.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha224.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js","./sha256":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha256.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("inherits"),o=e("./sha256"),s=e("./hash"),i=e("safe-buffer").Buffer,a=new Array(64);function u(){this.init(),this._w=a,s.call(this,64,56)}r(u,o),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var e=i.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha224.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha256.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("inherits"),o=e("./hash"),s=e("safe-buffer").Buffer,i=[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],a=new Array(64);function u(){this.init(),this._w=a,o.call(this,64,56)}function l(e,t,n){return n^e&(t^n)}function d(e,t,n){return e&t|n&(e|t)}function c(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function m(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function h(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}r(u,o),u.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},u.prototype._update=function(e){for(var t=this._w,n=0|this._a,r=0|this._b,o=0|this._c,s=0|this._d,a=0|this._e,u=0|this._f,p=0|this._g,b=0|this._h,_=0;_<16;++_)t[_]=e.readInt32BE(4*_);for(;_<64;++_)t[_]=h(t[_-2])+t[_-7]+f(t[_-15])+t[_-16]|0;for(var w=0;w<64;++w){var g=b+m(a)+l(a,u,p)+i[w]+t[w]|0,y=c(n)+d(n,r,o)|0;b=p,p=u,u=a,a=s+g|0,s=o,o=r,r=n,n=g+y|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=a+this._e|0,this._f=u+this._f|0,this._g=p+this._g|0,this._h=b+this._h|0},u.prototype._hash=function(){var e=s.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha256.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha384.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js","./sha512":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha512.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("inherits"),o=e("./sha512"),s=e("./hash"),i=e("safe-buffer").Buffer,a=new Array(160);function u(){this.init(),this._w=a,s.call(this,128,112)}r(u,o),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var e=i.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha384.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha512.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("inherits"),o=e("./hash"),s=e("safe-buffer").Buffer,i=[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],a=new Array(160);function u(){this.init(),this._w=a,o.call(this,128,112)}function l(e,t,n){return n^e&(t^n)}function d(e,t,n){return e&t|n&(e|t)}function c(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function m(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function p(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 _(e,t){return e>>>0<t>>>0?1:0}r(u,o),u.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},u.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,o=0|this._ch,s=0|this._dh,a=0|this._eh,u=0|this._fh,w=0|this._gh,g=0|this._hh,y=0|this._al,k=0|this._bl,v=0|this._cl,x=0|this._dl,E=0|this._el,j=0|this._fl,S=0|this._gl,R=0|this._hl,T=0;T<32;T+=2)t[T]=e.readInt32BE(4*T),t[T+1]=e.readInt32BE(4*T+4);for(;T<160;T+=2){var A=t[T-30],O=t[T-30+1],I=f(A,O),P=h(O,A),M=p(A=t[T-4],O=t[T-4+1]),N=b(O,A),C=t[T-14],L=t[T-14+1],D=t[T-32],U=t[T-32+1],$=P+L|0,F=I+C+_($,P)|0;F=(F=F+M+_($=$+N|0,N)|0)+D+_($=$+U|0,U)|0,t[T]=F,t[T+1]=$}for(var B=0;B<160;B+=2){F=t[B],$=t[B+1];var W=d(n,r,o),H=d(y,k,v),q=c(n,y),V=c(y,n),G=m(a,E),z=m(E,a),K=i[B],Y=i[B+1],X=l(a,u,w),J=l(E,j,S),Z=R+z|0,Q=g+G+_(Z,R)|0;Q=(Q=(Q=Q+X+_(Z=Z+J|0,J)|0)+K+_(Z=Z+Y|0,Y)|0)+F+_(Z=Z+$|0,$)|0;var ee=V+H|0,te=q+W+_(ee,V)|0;g=w,R=S,w=u,S=j,u=a,j=E,a=s+Q+_(E=x+Z|0,x)|0,s=o,x=v,o=r,v=k,r=n,k=y,n=Q+te+_(y=Z+ee|0,Z)|0}this._al=this._al+y|0,this._bl=this._bl+k|0,this._cl=this._cl+v|0,this._dl=this._dl+x|0,this._el=this._el+E|0,this._fl=this._fl+j|0,this._gl=this._gl+S|0,this._hl=this._hl+R|0,this._ah=this._ah+n+_(this._al,y)|0,this._bh=this._bh+r+_(this._bl,k)|0,this._ch=this._ch+o+_(this._cl,v)|0,this._dh=this._dh+s+_(this._dl,x)|0,this._eh=this._eh+a+_(this._el,E)|0,this._fh=this._fh+u+_(this._fl,j)|0,this._gh=this._gh+w+_(this._gl,S)|0,this._hh=this._hh+g+_(this._hl,R)|0},u.prototype._hash=function(){var e=s.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha512.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-list/index.js",{"es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","object-inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-inspect/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("object-inspect"),o=e("es-errors/type"),s=function(e,t,n){for(var r,o=e;null!=(r=o.next);o=r)if(r.key===t)return o.next=r.next,n||(r.next=e.next,e.next=r),r};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+r(e))},delete:function(t){var n=e&&e.next,r=function(e,t){if(e)return s(e,t,!0)}(e,t);return r&&n&&n===r&&(e=void undefined),!!r},get:function(t){return function(e,t){if(e){var n=s(e,t);return n&&n.value}undefined}(e,t)},has:function(t){return function(e,t){return!!e&&!!s(e,t)}(e,t)},set:function(t,n){e||(e={next:void undefined}),function(e,t,n){var r=s(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}}}},{package:"string.prototype.matchall>side-channel>side-channel-list",file:"node_modules/side-channel-list/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-map/index.js",{"call-bound":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bound/index.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","get-intrinsic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/get-intrinsic/index.js","object-inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-inspect/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("get-intrinsic"),o=e("call-bound"),s=e("object-inspect"),i=e("es-errors/type"),a=r("%Map%",!0),u=o("Map.prototype.get",!0),l=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),c=o("Map.prototype.delete",!0),m=o("Map.prototype.size",!0);t.exports=!!a&&function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+s(e))},delete:function(t){if(e){var n=c(e,t);return 0===m(e)&&(e=void undefined),n}return!1},get:function(t){if(e)return u(e,t)},has:function(t){return!!e&&d(e,t)},set:function(t,n){e||(e=new a),l(e,t,n)}};return t}}}},{package:"string.prototype.matchall>side-channel>side-channel-map",file:"node_modules/side-channel-map/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-weakmap/index.js",{"call-bound":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bound/index.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","get-intrinsic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/get-intrinsic/index.js","object-inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-inspect/index.js","side-channel-map":"/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-map/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("get-intrinsic"),o=e("call-bound"),s=e("object-inspect"),i=e("side-channel-map"),a=e("es-errors/type"),u=r("%WeakMap%",!0),l=o("WeakMap.prototype.get",!0),d=o("WeakMap.prototype.set",!0),c=o("WeakMap.prototype.has",!0),m=o("WeakMap.prototype.delete",!0);t.exports=u?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+s(e))},delete:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return m(e,n)}else if(i&&t)return t.delete(n);return!1},get:function(n){return u&&n&&("object"==typeof n||"function"==typeof n)&&e?l(e,n):t&&t.get(n)},has:function(n){return u&&n&&("object"==typeof n||"function"==typeof n)&&e?c(e,n):!!t&&t.has(n)},set:function(n,r){u&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new u),d(e,n,r)):i&&(t||(t=i()),t.set(n,r))}};return n}:i}}},{package:"string.prototype.matchall>side-channel>side-channel-weakmap",file:"node_modules/side-channel-weakmap/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel/index.js",{"es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","object-inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-inspect/index.js","side-channel-list":"/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-list/index.js","side-channel-map":"/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-map/index.js","side-channel-weakmap":"/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-weakmap/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("es-errors/type"),o=e("object-inspect"),s=e("side-channel-list"),i=e("side-channel-map"),a=e("side-channel-weakmap")||i||s;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+o(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,n){e||(e=a()),e.set(t,n)}};return t}}}},{package:"string.prototype.matchall>side-channel",file:"node_modules/side-channel/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/single-call-balance-checker-abi/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/client.js",{"./ethersCompat":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/ethersCompat.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/types.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/utils.js","@spruceid/siwe-parser":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/parsers.js","valid-url":"/home/runner/work/metamask-extension/metamask-extension/node_modules/valid-url/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){r===undefined&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||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)&&r(t,e,n);return o(t,e),t},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,s){function i(e){try{u(r.next(e))}catch(e){s(e)}}function a(e){try{u(r.throw(e))}catch(e){s(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(n,"__esModule",{value:!0}),n.SiweMessage=void 0;const a=e("@spruceid/siwe-parser"),u=s(e("valid-url")),l=e("./ethersCompat"),d=e("./types"),c=e("./utils");n.SiweMessage=class{constructor(e){if("string"==typeof e){const t=new a.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,a.parseIntegerNumber)(this.chainId));this.nonce=this.nonce||(0,c.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 n=[e,this.address].join("\n");const r=`Version: ${this.version}`;this.nonce||(this.nonce=(0,c.generateNonce)());const o=[t,r,"Chain ID: "+this.chainId||"1",`Nonce: ${this.nonce}`];if(this.issuedAt=this.issuedAt||(new Date).toISOString(),o.push(`Issued At: ${this.issuedAt}`),this.expirationTime){const e=`Expiration Time: ${this.expirationTime}`;o.push(e)}this.notBefore&&o.push(`Not Before: ${this.notBefore}`),this.requestId&&o.push(`Request ID: ${this.requestId}`),this.resources&&o.push(["Resources:",...this.resources.map(e=>`- ${e}`)].join("\n"));const s=o.join("\n");return n=[n,this.statement].join("\n\n"),this.statement&&(n+="\n"),[n,s].join("\n")}prepareMessage(){let e;return this.version,e=this.toMessage(),e}validate(e,t){return i(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 i(this,void 0,void 0,function*(){return new Promise((n,r)=>{var o,s,i;const a=e=>t.suppressExceptions?n(e):r(e),u=(0,c.checkInvalidKeys)(e,d.VerifyParamsKeys);u.length>0&&a({success:!1,data:this,error:new Error(`${u.join(", ")} is/are not valid key(s) for VerifyParams.`)});const m=(0,c.checkInvalidKeys)(t,d.VerifyOptsKeys);u.length>0&&a({success:!1,data:this,error:new Error(`${m.join(", ")} is/are not valid key(s) for VerifyOpts.`)});const{signature:f,scheme:h,domain:p,nonce:b,time:_}=e;h&&h!==this.scheme&&a({success:!1,data:this,error:new d.SiweError(d.SiweErrorType.SCHEME_MISMATCH,h,this.scheme)}),p&&p!==this.domain&&a({success:!1,data:this,error:new d.SiweError(d.SiweErrorType.DOMAIN_MISMATCH,p,this.domain)}),b&&b!==this.nonce&&a({success:!1,data:this,error:new d.SiweError(d.SiweErrorType.NONCE_MISMATCH,b,this.nonce)});const w=new Date(_||new Date);if(this.expirationTime){const e=new Date(this.expirationTime);w.getTime()>=e.getTime()&&a({success:!1,data:this,error:new d.SiweError(d.SiweErrorType.EXPIRED_MESSAGE,`${w.toISOString()} < ${e.toISOString()}`,`${w.toISOString()} >= ${e.toISOString()}`)})}if(this.notBefore){const e=new Date(this.notBefore);w.getTime()<e.getTime()&&a({success:!1,data:this,error:new d.SiweError(d.SiweErrorType.NOT_YET_VALID_MESSAGE,`${w.toISOString()} >= ${e.toISOString()}`,`${w.toISOString()} < ${e.toISOString()}`)})}let g,y;try{g=this.prepareMessage()}catch(e){a({success:!1,data:this,error:e})}try{y=(0,l.verifyMessage)(g,f)}catch(e){console.error(e)}if(y===this.address)return n({success:!0,data:this});{const r=(0,c.checkContractWalletSignature)(this,f,t.provider).then(e=>e?{success:!0,data:this}:{success:!1,data:this,error:new d.SiweError(d.SiweErrorType.INVALID_SIGNATURE,y,`Resolved address to be ${this.address}`)}).catch(e=>({success:!1,data:this,error:e}));Promise.all([r,null===(i=null===(s=null===(o=null==t?void 0:t.verificationFallback)||void 0===o?void 0:o.call(t,e,t,this,r))||void 0===s?void 0:s.then(e=>e))||void 0===i?void 0:i.catch(e=>e)]).then(([e,t])=>{if(t){if(t.success)return n(t);a(t)}else{if(e.success)return n(e);a(e)}})}})})}validateMessage(...e){var t;if(e.length>0)throw new d.SiweError(d.SiweErrorType.UNABLE_TO_PARSE,"Unexpected argument in the validateMessage function.");if(!this.domain||0===this.domain.length||!/[^#?]*/.test(this.domain))throw new d.SiweError(d.SiweErrorType.INVALID_DOMAIN,`${this.domain} to be a valid domain.`);if(!(0,a.isEIP55Address)(this.address))throw new d.SiweError(d.SiweErrorType.INVALID_ADDRESS,(0,l.getAddress)(this.address),this.address);if(!u.isUri(this.uri))throw new d.SiweError(d.SiweErrorType.INVALID_URI,`${this.uri} to be a valid uri.`);if("1"!==this.version)throw new d.SiweError(d.SiweErrorType.INVALID_MESSAGE_VERSION,"1",this.version);const n=null===(t=null==this?void 0:this.nonce)||void 0===t?void 0:t.match(/[a-zA-Z0-9]{8,}/);if(!n||this.nonce.length<8||n[0]!==this.nonce)throw new d.SiweError(d.SiweErrorType.INVALID_NONCE,`Length > 8 (${n.length}). Alphanumeric.`,this.nonce);if(this.issuedAt&&!(0,c.isValidISO8601Date)(this.issuedAt))throw new Error(d.SiweErrorType.INVALID_TIME_FORMAT);if(this.expirationTime&&!(0,c.isValidISO8601Date)(this.expirationTime))throw new Error(d.SiweErrorType.INVALID_TIME_FORMAT);if(this.notBefore&&!(0,c.isValidISO8601Date)(this.notBefore))throw new Error(d.SiweErrorType.INVALID_TIME_FORMAT)}}}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/client.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/ethersCompat.js",{ethers:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getAddress=n.hashMessage=n.verifyMessage=void 0;const r=e("ethers");let o=null,s=null,i=null;try{o=r.ethers.utils.verifyMessage,s=r.ethers.utils.hashMessage,i=r.ethers.utils.getAddress}catch(e){o=r.ethers.verifyMessage,s=r.ethers.hashMessage,i=r.ethers.getAddress}n.verifyMessage=o,n.hashMessage=s,n.getAddress=i}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/ethersCompat.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/siwe.js",{"./client":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/client.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/types.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){r===undefined&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),o(e("./client"),n),o(e("./types"),n),o(e("./utils"),n)}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/siwe.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/types.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SiweErrorType=n.SiweError=n.VerifyOptsKeys=n.VerifyParamsKeys=void 0,n.VerifyParamsKeys=["signature","scheme","domain","nonce","time"],n.VerifyOptsKeys=["provider","suppressExceptions","verificationFallback"];n.SiweError=class{constructor(e,t,n){this.type=e,this.expected=t,this.received=n}},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."}(n.SiweErrorType||(n.SiweErrorType={}))}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/types.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/utils.js",{"./ethersCompat":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/ethersCompat.js","@stablelib/random":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@stablelib/random/lib/random.js",ethers:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,s){function i(e){try{u(r.next(e))}catch(e){s(e)}}function a(e){try{u(r.throw(e))}catch(e){s(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(n,"__esModule",{value:!0}),n.checkInvalidKeys=n.isValidISO8601Date=n.generateNonce=n.checkContractWalletSignature=void 0;const o=e("@stablelib/random"),s=e("ethers"),i=e("./ethersCompat"),a=["function isValidSignature(bytes32 _message, bytes _signature) public view returns (bytes4)"],u=/^(?<date>[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]))[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(.[0-9]+)?(([Zz])|([+|-]([01][0-9]|2[0-3]):[0-5][0-9]))$/;n.checkContractWalletSignature=(e,t,n)=>r(void 0,void 0,void 0,function*(){if(!n)return!1;const r=new s.Contract(e.address,a,n),o=(0,i.hashMessage)(e.prepareMessage());return"0x1626ba7e"===(yield r.isValidSignature(o,t))});n.generateNonce=()=>{const e=(0,o.randomStringForEntropy)(96);if(!e||e.length<8)throw new Error("Error during nonce creation.");return e};n.isValidISO8601Date=e=>{const t=u.exec(e);if(!e)return!1;const n=new Date(t.groups.date).toISOString(),r=u.exec(n);return t.groups.date===r.groups.date};n.checkInvalidKeys=(e,t)=>{const n=[];return Object.keys(e).forEach(e=>{t.includes(e)||n.push(e)}),n}}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/abnf.js",{"./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/utils.js","apg-js/src/apg-api/api":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/api.js","apg-js/src/apg-lib/node-exports":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/node-exports.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.ParsedMessage=void 0;const s=o(e("apg-js/src/apg-api/api")),i=o(e("apg-js/src/apg-lib/node-exports")),a=e("./utils");class u{static generateApi(){const e=new s.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()}}r=u,u.grammarObj=r.generateApi();n.ParsedMessage=class{constructor(e){const t=new i.default.parser;t.ast=new i.default.ast;const n=i.default.ids;t.ast.callbacks.scheme=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&0===r&&(s.scheme=i.default.utils.charsToString(t,r,o)),a};t.ast.callbacks.domain=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&(s.domain=i.default.utils.charsToString(t,r,o)),a};t.ast.callbacks.address=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&(s.address=i.default.utils.charsToString(t,r,o)),a};t.ast.callbacks.statement=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&(s.statement=i.default.utils.charsToString(t,r,o)),a};t.ast.callbacks.uri=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&(s.uri||(s.uri=i.default.utils.charsToString(t,r,o))),a};t.ast.callbacks.version=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&(s.version=i.default.utils.charsToString(t,r,o)),a};t.ast.callbacks["chain-id"]=function(e,t,r,o,s){const u=n.SEM_OK;return e===n.SEM_PRE&&(s.chainId=(0,a.parseIntegerNumber)(i.default.utils.charsToString(t,r,o))),u};t.ast.callbacks.nonce=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&(s.nonce=i.default.utils.charsToString(t,r,o)),a};t.ast.callbacks["issued-at"]=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&(s.issuedAt=i.default.utils.charsToString(t,r,o)),a};t.ast.callbacks["expiration-time"]=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&(s.expirationTime=i.default.utils.charsToString(t,r,o)),a};t.ast.callbacks["not-before"]=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&(s.notBefore=i.default.utils.charsToString(t,r,o)),a};t.ast.callbacks["request-id"]=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&(s.requestId=i.default.utils.charsToString(t,r,o)),a};t.ast.callbacks.resources=function(e,t,r,o,s){const a=n.SEM_OK;return e===n.SEM_PRE&&(s.resources=i.default.utils.charsToString(t,r,o).slice(3).split("\n- ")),a};const r=t.parse(u.grammarObj,"sign-in-with-ethereum",e);if(!r.success)throw new Error(`Invalid message: ${JSON.stringify(r)}`);const o={};t.ast.translate(o);for(const[e,t]of Object.entries(o))this[e]=t;if(0===this.domain.length)throw new Error("Domain cannot be empty.");if(!(0,a.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/parsers.js",{"./abnf":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/abnf.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){r===undefined&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),n.ParsedMessage=void 0;const s=e("./abnf");Object.defineProperty(n,"ParsedMessage",{enumerable:!0,get:function(){return s.ParsedMessage}}),o(e("./utils"),n)}}},{package:"@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser",file:"node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/parsers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/utils.js",{"@noble/hashes/sha3":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@noble/hashes/sha3.js","@noble/hashes/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.parseIntegerNumber=n.isEIP55Address=void 0;const r=e("@noble/hashes/sha3"),o=e("@noble/hashes/utils");n.isEIP55Address=e=>{if(42!=e.length)return!1;const t=`${e}`.toLowerCase().replace("0x",""),n=(0,o.bytesToHex)((0,r.keccak_256)(t));let s="0x";for(let e=0;e<t.length;e++)parseInt(n[e],16)>=8?s+=t[e].toUpperCase():s+=t[e];return e===s};n.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/index.js",{events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","readable-stream/lib/_stream_duplex.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js","readable-stream/lib/_stream_passthrough.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_passthrough.js","readable-stream/lib/_stream_readable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_readable.js","readable-stream/lib/_stream_transform.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js","readable-stream/lib/_stream_writable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js","readable-stream/lib/internal/streams/end-of-stream.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","readable-stream/lib/internal/streams/pipeline.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/pipeline.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=o;var r=e("events").EventEmitter;function o(){r.call(this)}e("inherits")(o,r),o.Readable=e("readable-stream/lib/_stream_readable.js"),o.Writable=e("readable-stream/lib/_stream_writable.js"),o.Duplex=e("readable-stream/lib/_stream_duplex.js"),o.Transform=e("readable-stream/lib/_stream_transform.js"),o.PassThrough=e("readable-stream/lib/_stream_passthrough.js"),o.finished=e("readable-stream/lib/internal/streams/end-of-stream.js"),o.pipeline=e("readable-stream/lib/internal/streams/pipeline.js"),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function s(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",s),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",u));var i=!1;function a(){i||(i=!0,e.end())}function u(){i||(i=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(d(),0===r.listenerCount(this,"error"))throw e}function d(){n.removeListener("data",o),e.removeListener("drain",s),n.removeListener("end",a),n.removeListener("close",u),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",d),n.removeListener("close",d),e.removeListener("close",d)}return n.on("error",l),e.on("error",l),n.on("end",d),n.on("close",d),e.on("close",d),e.emit("pipe",n),e}}}},{package:"stream-browserify",file:"node_modules/stream-browserify/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r={};function o(e,t,n){n||(n=Error);var o=function(e){var n,r;function o(n,r,o){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,o))||this}return r=e,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,o}(n);o.prototype.name=n.name,o.prototype.code=e,r[e]=o}function s(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}o("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),o("ERR_INVALID_ARG_TYPE",function(e,t,n){var r,o,i,a;if("string"==typeof t&&(o="not ",t.substr(!i||i<0?0:+i,o.length)===o)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(n===undefined||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(r," ").concat(s(t,"type"));else{var u=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(u," ").concat(r," ").concat(s(t,"type"))}return a+=". Received type ".concat(typeof n)},TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js",{"./_stream_readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_readable.js","./_stream_writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=l;var o=e("./_stream_readable"),s=e("./_stream_writable");e("inherits")(l,o);for(var i=r(s.prototype),a=0;a<i.length;a++){var u=i[a];l.prototype[u]||(l.prototype[u]=s.prototype[u])}function l(e){if(!(this instanceof l))return new l(e);o.call(this,e),s.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",d)))}function d(){this._writableState.ended||n.nextTick(c,this)}function c(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_passthrough.js",{"./_stream_transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=o;var r=e("./_stream_transform");function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}e("inherits")(o,r),o.prototype._transform=function(e,t,n){n(null,e)}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_passthrough.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_readable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/async_iterator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/async_iterator.js","./internal/streams/buffer_list":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/buffer_list.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/from-browser.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","string_decoder/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/string_decoder/lib/string_decoder.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r;t.exports=E,E.ReadableState=x;e("events").EventEmitter;var o=function(e,t){return e.listeners(t).length},s=e("./internal/streams/stream"),i=e("buffer").Buffer,a=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,l=e("util");u=l&&l.debuglog?l.debuglog("stream"):function(){};var d,c,m,f=e("./internal/streams/buffer_list"),h=e("./internal/streams/destroy"),p=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,_=b.ERR_INVALID_ARG_TYPE,w=b.ERR_STREAM_PUSH_AFTER_EOF,g=b.ERR_METHOD_NOT_IMPLEMENTED,y=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(E,s);var k=h.errorOrDestroy,v=["error","close","destroy","pause","resume"];function x(t,n,o){r=r||e("./_stream_duplex"),t=t||{},"boolean"!=typeof o&&(o=n instanceof r),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=p(this,t,"readableHighWaterMark",o),this.buffer=new f,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&&(d||(d=e("string_decoder/").StringDecoder),this.decoder=new d(t.encoding),this.encoding=t.encoding)}function E(t){if(r=r||e("./_stream_duplex"),!(this instanceof E))return new E(t);var n=this instanceof r;this._readableState=new x(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function j(e,t,n,r,o){u("readableAddChunk",t);var s,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,l);else if(o||(s=function(e,t){var n;r=t,i.isBuffer(r)||r instanceof a||"string"==typeof t||t===undefined||e.objectMode||(n=new _("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(l,t)),s)k(e,s);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===i.prototype||(t=function(e){return i.from(e)}(t)),r)l.endEmitted?k(e,new y):S(e,l,t,!0);else if(l.ended)k(e,new w);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(t=l.decoder.write(t),l.objectMode||0!==t.length?S(e,l,t,!1):I(e,l)):S(e,l,t,!1)}else r||(l.reading=!1,I(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function S(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&A(e)),I(e,t)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=h.destroy,E.prototype._undestroy=h.undestroy,E.prototype._destroy=function(e,t){t(e)},E.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=i.from(e,t),t=""),n=!0),j(this,e,t,!1,n)},E.prototype.unshift=function(e){return j(this,e,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(t){d||(d=e("string_decoder/").StringDecoder);var n=new d(t);this._readableState.decoder=n,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,o="";null!==r;)o+=n.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==o&&this._readableState.buffer.push(o),this._readableState.length=o.length,this};var R=1073741824;function T(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>=R?e=R:(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 A(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(O,e))}function O(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(u("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function M(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function N(e){u("readable nexttick read 0"),e.read(0)}function C(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function U(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick($,t,e))}function $(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}E.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):A(this),null;if(0===(e=T(e,t))&&t.ended)return 0===t.length&&U(this),null;var r,o=t.needReadable;return u("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",o=!0),t.ended||t.reading?u("reading or ended",o=!1):o&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=T(n,t))),null===(r=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),n!==e&&t.ended&&U(this)),null!==r&&this.emit("data",r),r},E.prototype._read=function(e){k(this,new g("_read()"))},E.prototype.pipe=function(e,t){var r=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=e;break;case 1:s.pipes=[s.pipes,e];break;default:s.pipes.push(e)}s.pipesCount+=1,u("pipe count=%d opts=%j",s.pipesCount,t);var i=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:b;function a(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",d),e.removeListener("error",f),e.removeListener("unpipe",a),r.removeListener("end",l),r.removeListener("end",b),r.removeListener("data",m),c=!0,!s.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function l(){u("onend"),e.end()}s.endEmitted?n.nextTick(i):r.once("end",i),e.on("unpipe",a);var d=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,L(e))}}(r);e.on("drain",d);var c=!1;function m(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===s.pipesCount&&s.pipes===e||s.pipesCount>1&&-1!==F(s.pipes,e))&&!c&&(u("false write response, pause",s.awaitDrain),s.awaitDrain++),r.pause())}function f(t){u("onerror",t),b(),e.removeListener("error",f),0===o(e,"error")&&k(e,t)}function h(){e.removeListener("finish",p),b()}function p(){u("onfinish"),e.removeListener("close",h),b()}function b(){u("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",h),e.once("finish",p),e.emit("pipe",r),s.flowing||(u("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,n={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,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<o;s++)r[s].emit("unpipe",this,{hasUnpiped:!1});return this}var i=F(t.pipes,e);return-1===i||(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},E.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t),o=this._readableState;return"data"===e?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,u("on readable",o.length,o.reading),o.length?A(this):o.reading||n.nextTick(N,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(M,this),r},E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||n.nextTick(M,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(C,e,t))}(this,e)),e.paused=!1,this},E.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",function(){if(u("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){(u("wrapped data"),n.decoder&&(o=n.decoder.write(o)),!n.objectMode||null!==o&&o!==undefined)&&((n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause())))}),e)this[o]===undefined&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var s=0;s<v.length;s++)e.on(v[s],this.emit.bind(this,v[s]));return this._read=function(t){u("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return c===undefined&&(c=e("./internal/streams/async_iterator")),c(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),E._fromList=D,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(t,n){return m===undefined&&(m=e("./internal/streams/from")),m(E,t,n)})}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_readable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=d;var r=e("../errors").codes,o=r.ERR_METHOD_NOT_IMPLEMENTED,s=r.ERR_MULTIPLE_CALLBACK,i=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,u=e("./_stream_duplex");function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new s);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function d(e){if(!(this instanceof d))return new d(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",c)}function c(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?m(this,null,null):this._flush(function(t,n){m(e,t,n)})}function m(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new a;if(e._transformState.transforming)throw new i;return e.push(null)}e("inherits")(d,u),d.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},d.prototype._transform=function(e,t,n){n(new o("_transform()"))},d.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},d.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))},d.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","util-deprecate":"/home/runner/work/metamask-extension/metamask-extension/node_modules/util-deprecate/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var o;t.exports=E,E.WritableState=x;var s={deprecate:e("util-deprecate")},i=e("./internal/streams/stream"),a=e("buffer").Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,d=e("./internal/streams/destroy"),c=e("./internal/streams/state").getHighWaterMark,m=e("../errors").codes,f=m.ERR_INVALID_ARG_TYPE,h=m.ERR_METHOD_NOT_IMPLEMENTED,p=m.ERR_MULTIPLE_CALLBACK,b=m.ERR_STREAM_CANNOT_PIPE,_=m.ERR_STREAM_DESTROYED,w=m.ERR_STREAM_NULL_VALUES,g=m.ERR_STREAM_WRITE_AFTER_END,y=m.ERR_UNKNOWN_ENCODING,k=d.errorOrDestroy;function v(){}function x(t,s,i){o=o||e("./_stream_duplex"),t=t||{},"boolean"!=typeof i&&(i=s instanceof o),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=c(this,t,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,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 r=e._writableState,o=r.sync,s=r.writecb;if("function"!=typeof s)throw new p;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,o,s){--t.pendingcb,r?(n.nextTick(s,o),n.nextTick(O,e,t),e._writableState.errorEmitted=!0,k(e,o)):(s(o),e._writableState.errorEmitted=!0,k(e,o),O(e,t))}(e,r,o,t,s);else{var i=T(r)||e.destroyed;i||r.corked||r.bufferProcessing||!r.bufferedRequest||R(e,r),o?n.nextTick(S,e,r,i,s):S(e,r,i,s)}}(s,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 r(this)}function E(t){var n=this instanceof(o=o||e("./_stream_duplex"));if(!n&&!l.call(E,this))return new E(t);this._writableState=new x(t,this,n),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)),i.call(this)}function j(e,t,n,r,o,s,i){t.writelen=r,t.writecb=i,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new _("write")):n?e._writev(o,t.onwrite):e._write(o,s,t.onwrite),t.sync=!1}function S(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),O(e,t)}function R(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var o=t.bufferedRequestCount,s=new Array(o),i=t.corkedRequestsFree;i.entry=n;for(var a=0,u=!0;n;)s[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;s.allBuffers=u,j(e,t,!0,t.length,s,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,d=n.encoding,c=n.callback;if(j(e,t,!1,t.objectMode?1:l.length,l,d,c),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function T(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final(function(n){t.pendingcb--,n&&k(e,n),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var r=T(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var o=e._readableState;(!o||o.autoDestroy&&o.endEmitted)&&e.destroy()}return r}e("inherits")(E,i),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===E&&(e&&e._writableState instanceof x)}})):l=function(e){return e instanceof this},E.prototype.pipe=function(){k(this,new b)},E.prototype.write=function(e,t,r){var o,s=this._writableState,i=!1,l=!s.objectMode&&(o=e,a.isBuffer(o)||o instanceof u);return l&&!a.isBuffer(e)&&(e=function(e){return a.from(e)}(e)),"function"==typeof t&&(r=t,t=null),l?t="buffer":t||(t=s.defaultEncoding),"function"!=typeof r&&(r=v),s.ending?function(e,t){var r=new g;k(e,r),n.nextTick(t,r)}(this,r):(l||function(e,t,r,o){var s;return null===r?s=new w:"string"==typeof r||t.objectMode||(s=new f("chunk",["string","Buffer"],r)),!s||(k(e,s),n.nextTick(o,s),!1)}(this,s,e,r))&&(s.pendingcb++,i=function(e,t,n,r,o,s){if(!n){var i=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=a.from(t,n));return t}(t,r,o);r!==i&&(n=!0,o="buffer",r=i)}var u=t.objectMode?1:r.length;t.length+=u;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:s,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else j(e,t,!1,u,r,o,s);return l}(this,s,l,e,t,r)),i},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||R(this,e))},E.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 y(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,n){n(new h("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var o=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&e!==undefined&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,r){t.ending=!0,O(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=d.destroy,E.prototype._undestroy=d.undestroy,E.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/async_iterator.js",{"./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r;function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=e("./end-of-stream"),i=Symbol("lastResolve"),a=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),d=Symbol("lastPromise"),c=Symbol("handlePromise"),m=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){var t=e[i];if(null!==t){var n=e[m].read();null!==n&&(e[d]=null,e[i]=null,e[a]=null,t(f(n,!1)))}}function p(e){n.nextTick(h,e)}var b=Object.getPrototypeOf(function(){}),_=Object.setPrototypeOf((o(r={get stream(){return this[m]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(f(undefined,!0));if(this[m].destroyed)return new Promise(function(t,r){n.nextTick(function(){e[u]?r(e[u]):t(f(undefined,!0))})});var r,o=this[d];if(o)r=new Promise(function(e,t){return function(n,r){e.then(function(){t[l]?n(f(undefined,!0)):t[c](n,r)},r)}}(o,this));else{var s=this[m].read();if(null!==s)return Promise.resolve(f(s,!1));r=new Promise(this[c])}return this[d]=r,r}},Symbol.asyncIterator,function(){return this}),o(r,"return",function(){var e=this;return new Promise(function(t,n){e[m].destroy(null,function(e){e?n(e):t(f(undefined,!0))})})}),r),b);t.exports=function(e){var t,n=Object.create(_,(o(t={},m,{value:e,writable:!0}),o(t,i,{value:null,writable:!0}),o(t,a,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,l,{value:e._readableState.endEmitted,writable:!0}),o(t,c,{value:function(e,t){var r=n[m].read();r?(n[d]=null,n[i]=null,n[a]=null,e(f(r,!1))):(n[i]=e,n[a]=t)},writable:!0}),t));return n[d]=null,s(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[a];return null!==t&&(n[d]=null,n[i]=null,n[a]=null,t(e)),void(n[u]=e)}var r=n[i];null!==r&&(n[d]=null,n[i]=null,n[a]=null,r(f(undefined,!0))),n[l]=!0}),e.on("readable",p.bind(null,n)),n}}).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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/buffer_list.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function a(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var u=e("buffer").Buffer,l=e("util").inspect,d=l&&l.custom||"inspect";function c(e,t,n){u.prototype.copy.call(e,t,n)}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,n,r;return t=e,(n=[{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,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),n=this.head,r=0;n;)c(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var o=t.data,s=e>o.length?o.length:e;if(s===o.length?r+=o:r+=o.slice(0,e),0===(e-=s)){s===o.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(s));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,s),0===(e-=s)){s===o.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(s));break}++r}return this.length-=r,t}},{key:d,value:function(e,t){return l(this,o(o({},t),{},{depth:0,customInspect:!1}))}}])&&i(t.prototype,n),r&&i(t,r),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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){function n(e,t){o(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(e,t){e.emit("error",t)}t.exports={destroy:function(t,s){var i=this,a=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return a||u?(s?s(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(o,this,t)):e.nextTick(o,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!s&&t?i._writableState?i._writableState.errorEmitted?e.nextTick(r,i):(i._writableState.errorEmitted=!0,e.nextTick(n,i,t)):e.nextTick(n,i,t):s?(e.nextTick(r,i),s(t)):e.nextTick(r,i)}),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 n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}t.exports=function e(t,n,s){if("function"==typeof n)return e(t,null,n);n||(n={}),s=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r)}}}(s||o);var i=n.readable||!1!==n.readable&&t.readable,a=n.writable||!1!==n.writable&&t.writable,u=function(){t.writable||d()},l=t._writableState&&t._writableState.finished,d=function(){a=!1,l=!0,i||s.call(t)},c=t._readableState&&t._readableState.endEmitted,m=function(){i=!1,c=!0,a||s.call(t)},f=function(e){s.call(t,e)},h=function(){var e;return i&&!c?(t._readableState&&t._readableState.ended||(e=new r),s.call(t,e)):a&&!l?(t._writableState&&t._writableState.ended||(e=new r),s.call(t,e)):void 0},p=function(){t.req.on("finish",d)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?a&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",d),t.on("abort",h),t.req?p():t.on("request",p)),t.on("end",m),t.on("finish",d),!1!==n.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",d),t.removeListener("abort",h),t.removeListener("request",p),t.req&&t.req.removeListener("finish",d),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",d),t.removeListener("end",m),t.removeListener("error",f),t.removeListener("close",h)}}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/from-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/pipeline.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r;var o=e("../../../errors").codes,s=o.ERR_MISSING_ARGS,i=o.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function u(e){e()}function l(e,t){return e.pipe(t)}t.exports=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var d,c=function(e){return e.length?"function"!=typeof e[e.length-1]?a:e.pop():a}(n);if(Array.isArray(n[0])&&(n=n[0]),n.length<2)throw new s("streams");var m=n.map(function(t,o){var s=o<n.length-1;return function(t,n,o,s){s=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(s);var a=!1;t.on("close",function(){a=!0}),r===undefined&&(r=e("./end-of-stream")),r(t,{readable:n,writable:o},function(e){if(e)return s(e);a=!0,s()});var u=!1;return function(e){if(!a&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void s(e||new i("pipe"))}}(t,s,o>0,function(e){d||(d=e),e&&m.forEach(u),s||(m.forEach(u),c(d))})});return n.reduce(l)}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,n,o){var s=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,o,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0)throw new r(o?n:"highWaterMark",s);return Math.floor(s)}return e.objectMode?16:16384}}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js",{events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/index.js",{"./lib/request":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/request.js","./lib/response":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/response.js","builtin-status-codes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/builtin-status-codes/browser.js",url:"/home/runner/work/metamask-extension/metamask-extension/node_modules/url/url.js",xtend:"/home/runner/work/metamask-extension/metamask-extension/node_modules/xtend/immutable.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("./lib/request"),o=e("./lib/response"),s=e("xtend"),i=e("builtin-status-codes"),a=e("url"),u=n;u.request=function(e,t){e="string"==typeof e?a.parse(e):s(e);var n=-1===global.location.protocol.search(/^https?:$/)?"http:":"",o=e.protocol||n,i=e.hostname||e.host,u=e.port,l=e.path||"/";i&&-1!==i.indexOf(":")&&(i="["+i+"]"),e.url=(i?o+"//"+i:"")+(u?":"+u:"")+l,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var d=new r(e);return t&&d.on("response",t),d},u.get=function(e,t){var n=u.request(e,t);return n.end(),n},u.ClientRequest=r,u.IncomingMessage=o.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=i,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}}},{package:"stream-http",file:"node_modules/stream-http/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/capability.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r;function o(){if(r!==undefined)return r;if(global.XMLHttpRequest){r=new global.XMLHttpRequest;try{r.open("GET",global.XDomainRequest?"/":"https://example.com")}catch(e){r=null}}else r=null;return r}function s(e){var t=o();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}function i(e){return"function"==typeof e}n.fetch=i(global.fetch)&&i(global.ReadableStream),n.writableStream=i(global.WritableStream),n.abortController=i(global.AbortController),n.arraybuffer=n.fetch||s("arraybuffer"),n.msstream=!n.fetch&&s("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&s("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||!!o()&&i(o().overrideMimeType),r=null}}},{package:"stream-http",file:"node_modules/stream-http/lib/capability.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/request.js",{"./capability":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/capability.js","./response":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/response.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","readable-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/readable-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n,r){(function(){var o=e("./capability"),s=e("inherits"),i=e("./response"),a=e("readable-stream"),u=i.IncomingMessage,l=i.readyStates;var d=t.exports=function(e){var t,n=this;a.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+r.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(t){n.setHeader(t,e.headers[t])});var s=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!o.abortController)s=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!o.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}n._mode=function(e,t){return o.fetch&&t?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&e?"arraybuffer":"text"}(t,s),n._fetchTimer=null,n._socketTimeout=null,n._socketTimer=null,n.on("finish",function(){n._onFinish()})};s(d,a.Writable),d.prototype.setHeader=function(e,t){var n=e.toLowerCase();-1===c.indexOf(n)&&(this._headers[n]={name:e,value:t})},d.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},d.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},d.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&0!==t.timeout&&e.setTimeout(t.timeout);var r=e._headers,s=null;"GET"!==t.method&&"HEAD"!==t.method&&(s=new Blob(e._body,{type:(r["content-type"]||{}).value||""}));var i=[];if(Object.keys(r).forEach(function(e){var t=r[e].name,n=r[e].value;Array.isArray(n)?n.forEach(function(e){i.push([t,e])}):i.push([t,n])}),"fetch"===e._mode){var a=null;if(o.abortController){var u=new AbortController;a=u.signal,e._fetchAbortController=u,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=global.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},t.requestTimeout))}global.fetch(e._opts.url,{method:e._opts.method,headers:i,body:s||undefined,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:a}).then(function(t){e._fetchResponse=t,e._resetTimers(!1),e._connect()},function(t){e._resetTimers(!0),e._destroyed||e.emit("error",t)})}else{var d=e._xhr=new global.XMLHttpRequest;try{d.open(e._opts.method,e._opts.url,!0)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}"responseType"in d&&(d.responseType=e._mode),"withCredentials"in d&&(d.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in d&&d.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(d.timeout=t.requestTimeout,d.ontimeout=function(){e.emit("requestTimeout")}),i.forEach(function(e){d.setRequestHeader(e[0],e[1])}),e._response=null,d.onreadystatechange=function(){switch(d.readyState){case l.LOADING:case l.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(d.onprogress=function(){e._onXHRProgress()}),d.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{d.send(s)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}}}},d.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)))},d.prototype._connect=function(){var e=this;e._destroyed||(e._response=new u(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},d.prototype._write=function(e,t,n){this._body.push(e),n()},d.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))},d.prototype.abort=d.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)},d.prototype.end=function(e,t,n){"function"==typeof e&&(n=e,e=undefined),a.Writable.prototype.end.call(this,e,t,n)},d.prototype.setTimeout=function(e,t){var n=this;t&&n.once("timeout",t),n._socketTimeout=e,n._resetTimers(!1)},d.prototype.flushHeaders=function(){},d.prototype.setNoDelay=function(){},d.prototype.setSocketKeepAlive=function(){};var c=["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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/response.js",{"./capability":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/capability.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","readable-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/readable-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(t,r){(function(){var o=e("./capability"),s=e("inherits"),i=e("readable-stream"),a=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},u=n.IncomingMessage=function(e,n,s,a){var u=this;if(i.Readable.call(u),u._mode=s,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){t.nextTick(function(){u.emit("close")})}),"fetch"===s){if(u._fetchResponse=n,u.url=n.url,u.statusCode=n.status,u.statusMessage=n.statusText,n.headers.forEach(function(e,t){u.headers[t.toLowerCase()]=e,u.rawHeaders.push(t,e)}),o.writableStream){var l=new WritableStream({write:function(e){return a(!1),new Promise(function(t,n){u._destroyed?n():u.push(r.from(e))?t():u._resumeFetch=t})},close:function(){a(!0),u._destroyed||u.push(null)},abort:function(e){a(!0),u._destroyed||u.emit("error",e)}});try{return void n.body.pipeTo(l).catch(function(e){a(!0),u._destroyed||u.emit("error",e)})}catch(h){}}var d=n.body.getReader();function f(){d.read().then(function(e){u._destroyed||(a(e.done),e.done?u.push(null):(u.push(r.from(e.value)),f()))}).catch(function(e){a(!0),u._destroyed||u.emit("error",e)})}f()}else{if(u._xhr=e,u._pos=0,u.url=e.responseURL,u.statusCode=e.status,u.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(u.headers[n]===undefined&&(u.headers[n]=[]),u.headers[n].push(t[2])):u.headers[n]!==undefined?u.headers[n]+=", "+t[2]:u.headers[n]=t[2],u.rawHeaders.push(t[1],t[2])}}),u._charset="x-user-defined",!o.overrideMimeType){var c=u.rawHeaders["mime-type"];if(c){var m=c.match(/;\s*charset=([^;])(;|$)/);m&&(u._charset=m[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};s(u,i.Readable),u.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},u.prototype._onXHRProgress=function(e){var t=this,n=t._xhr,o=null;switch(t._mode){case"text":if((o=n.responseText).length>t._pos){var s=o.substr(t._pos);if("x-user-defined"===t._charset){for(var i=r.alloc(s.length),u=0;u<s.length;u++)i[u]=255&s.charCodeAt(u);t.push(i)}else t.push(s,t._charset);t._pos=o.length}break;case"arraybuffer":if(n.readyState!==a.DONE||!n.response)break;o=n.response,t.push(r.from(new Uint8Array(o)));break;case"moz-chunked-arraybuffer":if(o=n.response,n.readyState!==a.LOADING||!o)break;t.push(r.from(new Uint8Array(o)));break;case"ms-stream":if(o=n.response,n.readyState!==a.LOADING)break;var l=new global.MSStreamReader;l.onprogress=function(){l.result.byteLength>t._pos&&(t.push(r.from(new Uint8Array(l.result.slice(t._pos)))),t._pos=l.result.byteLength)},l.onload=function(){e(!0),t.push(null)},l.readAsArrayBuffer(o)}t._xhr.readyState===a.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r={};function o(e,t,n){n||(n=Error);var o=function(e){var n,r;function o(n,r,o){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,o))||this}return r=e,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,o}(n);o.prototype.name=n.name,o.prototype.code=e,r[e]=o}function s(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}o("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),o("ERR_INVALID_ARG_TYPE",function(e,t,n){var r,o,i,a;if("string"==typeof t&&(o="not ",t.substr(!i||i<0?0:+i,o.length)===o)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(n===undefined||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(r," ").concat(s(t,"type"));else{var u=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(u," ").concat(r," ").concat(s(t,"type"))}return a+=". Received type ".concat(typeof n)},TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/errors-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js",{"./_stream_readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js","./_stream_writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=l;var o=e("./_stream_readable"),s=e("./_stream_writable");e("inherits")(l,o);for(var i=r(s.prototype),a=0;a<i.length;a++){var u=i[a];l.prototype[u]||(l.prototype[u]=s.prototype[u])}function l(e){if(!(this instanceof l))return new l(e);o.call(this,e),s.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",d)))}function d(){this._writableState.ended||n.nextTick(c,this)}function c(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js",{"./_stream_transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=o;var r=e("./_stream_transform");function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}e("inherits")(o,r),o.prototype._transform=function(e,t,n){n(null,e)}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/async_iterator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/async_iterator.js","./internal/streams/buffer_list":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/buffer_list.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/from-browser.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","string_decoder/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/string_decoder/lib/string_decoder.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r;t.exports=E,E.ReadableState=x;e("events").EventEmitter;var o=function(e,t){return e.listeners(t).length},s=e("./internal/streams/stream"),i=e("buffer").Buffer,a=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,l=e("util");u=l&&l.debuglog?l.debuglog("stream"):function(){};var d,c,m,f=e("./internal/streams/buffer_list"),h=e("./internal/streams/destroy"),p=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,_=b.ERR_INVALID_ARG_TYPE,w=b.ERR_STREAM_PUSH_AFTER_EOF,g=b.ERR_METHOD_NOT_IMPLEMENTED,y=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(E,s);var k=h.errorOrDestroy,v=["error","close","destroy","pause","resume"];function x(t,n,o){r=r||e("./_stream_duplex"),t=t||{},"boolean"!=typeof o&&(o=n instanceof r),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=p(this,t,"readableHighWaterMark",o),this.buffer=new f,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&&(d||(d=e("string_decoder/").StringDecoder),this.decoder=new d(t.encoding),this.encoding=t.encoding)}function E(t){if(r=r||e("./_stream_duplex"),!(this instanceof E))return new E(t);var n=this instanceof r;this._readableState=new x(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function j(e,t,n,r,o){u("readableAddChunk",t);var s,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,l);else if(o||(s=function(e,t){var n;r=t,i.isBuffer(r)||r instanceof a||"string"==typeof t||t===undefined||e.objectMode||(n=new _("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(l,t)),s)k(e,s);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===i.prototype||(t=function(e){return i.from(e)}(t)),r)l.endEmitted?k(e,new y):S(e,l,t,!0);else if(l.ended)k(e,new w);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(t=l.decoder.write(t),l.objectMode||0!==t.length?S(e,l,t,!1):I(e,l)):S(e,l,t,!1)}else r||(l.reading=!1,I(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function S(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&A(e)),I(e,t)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=h.destroy,E.prototype._undestroy=h.undestroy,E.prototype._destroy=function(e,t){t(e)},E.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=i.from(e,t),t=""),n=!0),j(this,e,t,!1,n)},E.prototype.unshift=function(e){return j(this,e,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(t){d||(d=e("string_decoder/").StringDecoder);var n=new d(t);this._readableState.decoder=n,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,o="";null!==r;)o+=n.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==o&&this._readableState.buffer.push(o),this._readableState.length=o.length,this};var R=1073741824;function T(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>=R?e=R:(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 A(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(O,e))}function O(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(u("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function M(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function N(e){u("readable nexttick read 0"),e.read(0)}function C(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function U(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick($,t,e))}function $(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}E.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):A(this),null;if(0===(e=T(e,t))&&t.ended)return 0===t.length&&U(this),null;var r,o=t.needReadable;return u("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",o=!0),t.ended||t.reading?u("reading or ended",o=!1):o&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=T(n,t))),null===(r=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),n!==e&&t.ended&&U(this)),null!==r&&this.emit("data",r),r},E.prototype._read=function(e){k(this,new g("_read()"))},E.prototype.pipe=function(e,t){var r=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=e;break;case 1:s.pipes=[s.pipes,e];break;default:s.pipes.push(e)}s.pipesCount+=1,u("pipe count=%d opts=%j",s.pipesCount,t);var i=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:b;function a(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",d),e.removeListener("error",f),e.removeListener("unpipe",a),r.removeListener("end",l),r.removeListener("end",b),r.removeListener("data",m),c=!0,!s.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function l(){u("onend"),e.end()}s.endEmitted?n.nextTick(i):r.once("end",i),e.on("unpipe",a);var d=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,L(e))}}(r);e.on("drain",d);var c=!1;function m(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===s.pipesCount&&s.pipes===e||s.pipesCount>1&&-1!==F(s.pipes,e))&&!c&&(u("false write response, pause",s.awaitDrain),s.awaitDrain++),r.pause())}function f(t){u("onerror",t),b(),e.removeListener("error",f),0===o(e,"error")&&k(e,t)}function h(){e.removeListener("finish",p),b()}function p(){u("onfinish"),e.removeListener("close",h),b()}function b(){u("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",h),e.once("finish",p),e.emit("pipe",r),s.flowing||(u("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,n={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,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<o;s++)r[s].emit("unpipe",this,{hasUnpiped:!1});return this}var i=F(t.pipes,e);return-1===i||(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},E.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t),o=this._readableState;return"data"===e?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,u("on readable",o.length,o.reading),o.length?A(this):o.reading||n.nextTick(N,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(M,this),r},E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||n.nextTick(M,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(C,e,t))}(this,e)),e.paused=!1,this},E.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",function(){if(u("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){(u("wrapped data"),n.decoder&&(o=n.decoder.write(o)),!n.objectMode||null!==o&&o!==undefined)&&((n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause())))}),e)this[o]===undefined&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var s=0;s<v.length;s++)e.on(v[s],this.emit.bind(this,v[s]));return this._read=function(t){u("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return c===undefined&&(c=e("./internal/streams/async_iterator")),c(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),E._fromList=D,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(t,n){return m===undefined&&(m=e("./internal/streams/from")),m(E,t,n)})}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=d;var r=e("../errors").codes,o=r.ERR_METHOD_NOT_IMPLEMENTED,s=r.ERR_MULTIPLE_CALLBACK,i=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,u=e("./_stream_duplex");function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new s);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function d(e){if(!(this instanceof d))return new d(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",c)}function c(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?m(this,null,null):this._flush(function(t,n){m(e,t,n)})}function m(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new a;if(e._transformState.transforming)throw new i;return e.push(null)}e("inherits")(d,u),d.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},d.prototype._transform=function(e,t,n){n(new o("_transform()"))},d.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},d.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))},d.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","util-deprecate":"/home/runner/work/metamask-extension/metamask-extension/node_modules/util-deprecate/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var o;t.exports=E,E.WritableState=x;var s={deprecate:e("util-deprecate")},i=e("./internal/streams/stream"),a=e("buffer").Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,d=e("./internal/streams/destroy"),c=e("./internal/streams/state").getHighWaterMark,m=e("../errors").codes,f=m.ERR_INVALID_ARG_TYPE,h=m.ERR_METHOD_NOT_IMPLEMENTED,p=m.ERR_MULTIPLE_CALLBACK,b=m.ERR_STREAM_CANNOT_PIPE,_=m.ERR_STREAM_DESTROYED,w=m.ERR_STREAM_NULL_VALUES,g=m.ERR_STREAM_WRITE_AFTER_END,y=m.ERR_UNKNOWN_ENCODING,k=d.errorOrDestroy;function v(){}function x(t,s,i){o=o||e("./_stream_duplex"),t=t||{},"boolean"!=typeof i&&(i=s instanceof o),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=c(this,t,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,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 r=e._writableState,o=r.sync,s=r.writecb;if("function"!=typeof s)throw new p;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,o,s){--t.pendingcb,r?(n.nextTick(s,o),n.nextTick(O,e,t),e._writableState.errorEmitted=!0,k(e,o)):(s(o),e._writableState.errorEmitted=!0,k(e,o),O(e,t))}(e,r,o,t,s);else{var i=T(r)||e.destroyed;i||r.corked||r.bufferProcessing||!r.bufferedRequest||R(e,r),o?n.nextTick(S,e,r,i,s):S(e,r,i,s)}}(s,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 r(this)}function E(t){var n=this instanceof(o=o||e("./_stream_duplex"));if(!n&&!l.call(E,this))return new E(t);this._writableState=new x(t,this,n),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)),i.call(this)}function j(e,t,n,r,o,s,i){t.writelen=r,t.writecb=i,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new _("write")):n?e._writev(o,t.onwrite):e._write(o,s,t.onwrite),t.sync=!1}function S(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),O(e,t)}function R(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var o=t.bufferedRequestCount,s=new Array(o),i=t.corkedRequestsFree;i.entry=n;for(var a=0,u=!0;n;)s[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;s.allBuffers=u,j(e,t,!0,t.length,s,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,d=n.encoding,c=n.callback;if(j(e,t,!1,t.objectMode?1:l.length,l,d,c),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function T(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final(function(n){t.pendingcb--,n&&k(e,n),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var r=T(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var o=e._readableState;(!o||o.autoDestroy&&o.endEmitted)&&e.destroy()}return r}e("inherits")(E,i),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===E&&(e&&e._writableState instanceof x)}})):l=function(e){return e instanceof this},E.prototype.pipe=function(){k(this,new b)},E.prototype.write=function(e,t,r){var o,s=this._writableState,i=!1,l=!s.objectMode&&(o=e,a.isBuffer(o)||o instanceof u);return l&&!a.isBuffer(e)&&(e=function(e){return a.from(e)}(e)),"function"==typeof t&&(r=t,t=null),l?t="buffer":t||(t=s.defaultEncoding),"function"!=typeof r&&(r=v),s.ending?function(e,t){var r=new g;k(e,r),n.nextTick(t,r)}(this,r):(l||function(e,t,r,o){var s;return null===r?s=new w:"string"==typeof r||t.objectMode||(s=new f("chunk",["string","Buffer"],r)),!s||(k(e,s),n.nextTick(o,s),!1)}(this,s,e,r))&&(s.pendingcb++,i=function(e,t,n,r,o,s){if(!n){var i=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=a.from(t,n));return t}(t,r,o);r!==i&&(n=!0,o="buffer",r=i)}var u=t.objectMode?1:r.length;t.length+=u;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:s,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else j(e,t,!1,u,r,o,s);return l}(this,s,l,e,t,r)),i},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||R(this,e))},E.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 y(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,n){n(new h("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var o=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&e!==undefined&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,r){t.ending=!0,O(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=d.destroy,E.prototype._undestroy=d.undestroy,E.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/async_iterator.js",{"./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r;function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=e("./end-of-stream"),i=Symbol("lastResolve"),a=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),d=Symbol("lastPromise"),c=Symbol("handlePromise"),m=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){var t=e[i];if(null!==t){var n=e[m].read();null!==n&&(e[d]=null,e[i]=null,e[a]=null,t(f(n,!1)))}}function p(e){n.nextTick(h,e)}var b=Object.getPrototypeOf(function(){}),_=Object.setPrototypeOf((o(r={get stream(){return this[m]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(f(undefined,!0));if(this[m].destroyed)return new Promise(function(t,r){n.nextTick(function(){e[u]?r(e[u]):t(f(undefined,!0))})});var r,o=this[d];if(o)r=new Promise(function(e,t){return function(n,r){e.then(function(){t[l]?n(f(undefined,!0)):t[c](n,r)},r)}}(o,this));else{var s=this[m].read();if(null!==s)return Promise.resolve(f(s,!1));r=new Promise(this[c])}return this[d]=r,r}},Symbol.asyncIterator,function(){return this}),o(r,"return",function(){var e=this;return new Promise(function(t,n){e[m].destroy(null,function(e){e?n(e):t(f(undefined,!0))})})}),r),b);t.exports=function(e){var t,n=Object.create(_,(o(t={},m,{value:e,writable:!0}),o(t,i,{value:null,writable:!0}),o(t,a,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,l,{value:e._readableState.endEmitted,writable:!0}),o(t,c,{value:function(e,t){var r=n[m].read();r?(n[d]=null,n[i]=null,n[a]=null,e(f(r,!1))):(n[i]=e,n[a]=t)},writable:!0}),t));return n[d]=null,s(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[a];return null!==t&&(n[d]=null,n[i]=null,n[a]=null,t(e)),void(n[u]=e)}var r=n[i];null!==r&&(n[d]=null,n[i]=null,n[a]=null,r(f(undefined,!0))),n[l]=!0}),e.on("readable",p.bind(null,n)),n}}).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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/buffer_list.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function a(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var u=e("buffer").Buffer,l=e("util").inspect,d=l&&l.custom||"inspect";function c(e,t,n){u.prototype.copy.call(e,t,n)}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,n,r;return t=e,(n=[{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,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),n=this.head,r=0;n;)c(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var o=t.data,s=e>o.length?o.length:e;if(s===o.length?r+=o:r+=o.slice(0,e),0===(e-=s)){s===o.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(s));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,s),0===(e-=s)){s===o.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(s));break}++r}return this.length-=r,t}},{key:d,value:function(e,t){return l(this,o(o({},t),{},{depth:0,customInspect:!1}))}}])&&i(t.prototype,n),r&&i(t,r),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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){function n(e,t){o(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(e,t){e.emit("error",t)}t.exports={destroy:function(t,s){var i=this,a=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return a||u?(s?s(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(o,this,t)):e.nextTick(o,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!s&&t?i._writableState?i._writableState.errorEmitted?e.nextTick(r,i):(i._writableState.errorEmitted=!0,e.nextTick(n,i,t)):e.nextTick(n,i,t):s?(e.nextTick(r,i),s(t)):e.nextTick(r,i)}),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 n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}t.exports=function e(t,n,s){if("function"==typeof n)return e(t,null,n);n||(n={}),s=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r)}}}(s||o);var i=n.readable||!1!==n.readable&&t.readable,a=n.writable||!1!==n.writable&&t.writable,u=function(){t.writable||d()},l=t._writableState&&t._writableState.finished,d=function(){a=!1,l=!0,i||s.call(t)},c=t._readableState&&t._readableState.endEmitted,m=function(){i=!1,c=!0,a||s.call(t)},f=function(e){s.call(t,e)},h=function(){var e;return i&&!c?(t._readableState&&t._readableState.ended||(e=new r),s.call(t,e)):a&&!l?(t._writableState&&t._writableState.ended||(e=new r),s.call(t,e)):void 0},p=function(){t.req.on("finish",d)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?a&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",d),t.on("abort",h),t.req?p():t.on("request",p)),t.on("end",m),t.on("finish",d),!1!==n.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",d),t.removeListener("abort",h),t.removeListener("request",p),t.req&&t.req.removeListener("finish",d),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",d),t.removeListener("end",m),t.removeListener("error",f),t.removeListener("close",h)}}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/from-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/pipeline.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r;var o=e("../../../errors").codes,s=o.ERR_MISSING_ARGS,i=o.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function u(e){e()}function l(e,t){return e.pipe(t)}t.exports=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var d,c=function(e){return e.length?"function"!=typeof e[e.length-1]?a:e.pop():a}(n);if(Array.isArray(n[0])&&(n=n[0]),n.length<2)throw new s("streams");var m=n.map(function(t,o){var s=o<n.length-1;return function(t,n,o,s){s=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(s);var a=!1;t.on("close",function(){a=!0}),r===undefined&&(r=e("./end-of-stream")),r(t,{readable:n,writable:o},function(e){if(e)return s(e);a=!0,s()});var u=!1;return function(e){if(!a&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void s(e||new i("pipe"))}}(t,s,o>0,function(e){d||(d=e),e&&m.forEach(u),s||(m.forEach(u),c(d))})});return n.reduce(l)}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/state.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,n,o){var s=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,o,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0)throw new r(o?n:"highWaterMark",s);return Math.floor(s)}return e.objectMode?16:16384}}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/state.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js",{events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/readable-browser.js",{"./lib/_stream_duplex.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js","./lib/_stream_passthrough.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js","./lib/_stream_readable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js","./lib/_stream_transform.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js","./lib/_stream_writable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js","./lib/internal/streams/end-of-stream.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./lib/internal/streams/pipeline.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/pipeline.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js"),n.finished=e("./lib/internal/streams/end-of-stream.js"),n.pipeline=e("./lib/internal/streams/pipeline.js")}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/readable-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/string_decoder/lib/string_decoder.js",{"safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("safe-buffer").Buffer,o=r.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 s(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&&(r.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=d,this.end=c,t=3;break;default:return this.write=m,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=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 n!==undefined?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function d(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?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-n))}function c(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function m(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}n.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if((t=this.fillLast(e))===undefined)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},s.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var o=i(t[r]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--r<n||-2===o)return 0;if(o=i(t[r]),o>=0)return o>0&&(e.lastNeed=o-2),o;if(--r<n||-2===o)return 0;if(o=i(t[r]),o>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},s.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/strip-hex-prefix/src/index.js",{"is-hex-prefixed":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-hex-prefixed/src/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("is-hex-prefixed");t.exports=function(e){return"string"!=typeof e?e:r(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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/to-buffer/index.js",{isarray:"/home/runner/work/metamask-extension/metamask-extension/node_modules/isarray/index.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js","typed-array-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/typed-array-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("safe-buffer").Buffer,o=e("isarray"),s=e("typed-array-buffer"),i=ArrayBuffer.isView||function(e){try{return s(e),!0}catch(e){return!1}},a="undefined"!=typeof Uint8Array,u="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,l=u&&(r.prototype instanceof Uint8Array||r.TYPED_ARRAY_SUPPORT);t.exports=function(e,t){if(e instanceof r)return e;if("string"==typeof e)return r.from(e,t);if(u&&i(e)){if(0===e.byteLength)return r.alloc(0);if(l){var n=r.from(e.buffer,e.byteOffset,e.byteLength);if(n.byteLength===e.byteLength)return n}var s=e instanceof Uint8Array?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength),d=r.from(s);if(d.length===e.byteLength)return d}if(a&&e instanceof Uint8Array)return r.from(e);var c=o(e);if(c)for(var m=0;m<e.length;m+=1){var f=e[m];if("number"!=typeof f||f<0||f>255||~~f!==f)throw new RangeError("Array items must be numbers in the range 0-255.")}if(c||r.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return r.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/tslib/tslib.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,o,s,i,a,u,l,d,c,m,f,h,p,b,_,w,g,y,k,v,x,E,j,S,R,T,A,O,I,P,M;!function(e){var n="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function r(e,t){return e!==n&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(n,r){return e[n]=t?t(n,r):r}}"function"==typeof define&&define.amd?define("tslib",["exports"],function(t){e(r(n,r(t)))}):"object"==typeof t&&"object"==typeof t.exports?e(r(n,r(t.exports))):e(r(n))}(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])};r=function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)},o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=function(e,t,n,r){var o,s=arguments.length,i=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(s<3?o(i):s>3?o(t,n,i):o(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},a=function(e,t){return function(n,r){t(n,r,e)}},u=function(e,t,n,r,o,s){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,u=r.kind,l="getter"===u?"get":"setter"===u?"set":"value",d=!t&&e?r.static?e:e.prototype:null,c=t||(d?Object.getOwnPropertyDescriptor(d,r.name):{}),m=!1,f=n.length-1;f>=0;f--){var h={};for(var p in r)h[p]="access"===p?{}:r[p];for(var p in r.access)h.access[p]=r.access[p];h.addInitializer=function(e){if(m)throw new TypeError("Cannot add initializers after decoration has completed");s.push(i(e||null))};var b=(0,n[f])("accessor"===u?{get:c.get,set:c.set}:c[l],h);if("accessor"===u){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw new TypeError("Object expected");(a=i(b.get))&&(c.get=a),(a=i(b.set))&&(c.set=a),(a=i(b.init))&&o.unshift(a)}else(a=i(b))&&("field"===u?o.unshift(a):c[l]=a)}d&&Object.defineProperty(d,r.name,c),m=!0},l=function(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0},d=function(e){return"symbol"==typeof e?e:"".concat(e)},c=function(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})},m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},f=function(e,t,n,r){return new(n||(n=Promise))(function(o,s){function i(e){try{u(r.next(e))}catch(e){s(e)}}function a(e){try{u(r.throw(e))}catch(e){s(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,a)}u((r=r.apply(e,t||[])).next())})},h=function(e,t){var n,r,o,s,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},p=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||I(t,e,n)},I=Object.create?function(e,t,n,r){r===undefined&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},_=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,s=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=s.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(o)throw o.error}}return i},w=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_(arguments[t]));return e},g=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var s=arguments[t],i=0,a=s.length;i<a;i++,o++)r[o]=s[i];return r},y=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,s=t.length;o<s;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},k=function(e){return this instanceof k?(this.v=e,this):new k(e)},v=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),s=[];return r={},i("next"),i("throw"),i("return",function(e){return function(t){return Promise.resolve(t).then(e,l)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){o[e]&&(r[e]=function(t){return new Promise(function(n,r){s.push([e,t,n,r])>1||a(e,t)})},t&&(r[e]=t(r[e])))}function a(e,t){try{(n=o[e](t)).value instanceof k?Promise.resolve(n.value.v).then(u,l):d(s[0][2],n)}catch(e){d(s[0][3],e)}var n}function u(e){a("next",e)}function l(e){a("throw",e)}function d(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}},x=function(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:k(e[r](t)),done:!1}:o?o(t):t}:o}},E=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,o,(t=e[n](t)).done,t.value)})}}},j=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var n=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};S=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)&&I(t,e,r);return n(t,e),t},R=function(e){return e&&e.__esModule?e:{default:e}},T=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},A=function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},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)},P=function(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t};var N="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};M=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 n(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(n,function(e){return t(e),n()})}catch(e){t(e)}}if(e.hasError)throw e.error}()},e("__extends",r),e("__assign",o),e("__rest",s),e("__decorate",i),e("__param",a),e("__esDecorate",u),e("__runInitializers",l),e("__propKey",d),e("__setFunctionName",c),e("__metadata",m),e("__awaiter",f),e("__generator",h),e("__exportStar",p),e("__createBinding",I),e("__values",b),e("__read",_),e("__spread",w),e("__spreadArrays",g),e("__spreadArray",y),e("__await",k),e("__asyncGenerator",v),e("__asyncDelegator",x),e("__asyncValues",E),e("__makeTemplateObject",j),e("__importStar",S),e("__importDefault",R),e("__classPrivateFieldGet",T),e("__classPrivateFieldSet",A),e("__classPrivateFieldIn",O),e("__addDisposableResource",P),e("__disposeResources",M)})}}},{package:"tslib",file:"node_modules/tslib/tslib.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/tweetnacl/nacl-fast.js",{crypto:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){!function(t){var n=function(e){var t,n=new Float64Array(16);if(e)for(t=0;t<e.length;t++)n[t]=e[t];return n},r=function(){throw new Error("no PRNG")},o=new Uint8Array(16),s=new Uint8Array(32);s[0]=9;var i=n(),a=n([1]),u=n([56129,1]),l=n([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),d=n([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),c=n([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),m=n([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),f=n([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function h(e,t,n,r){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n,e[t+4]=r>>24&255,e[t+5]=r>>16&255,e[t+6]=r>>8&255,e[t+7]=255&r}function p(e,t,n,r,o){var s,i=0;for(s=0;s<o;s++)i|=e[t+s]^n[r+s];return(1&i-1>>>8)-1}function b(e,t,n,r){return p(e,t,n,r,16)}function _(e,t,n,r){return p(e,t,n,r,32)}function w(e,t,n,r){!function(e,t,n,r){for(var o,s=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,u=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,l=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,d=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,m=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,f=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,p=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,b=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,_=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,w=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,g=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,y=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,k=s,v=i,x=a,E=u,j=l,S=d,R=c,T=m,A=f,O=h,I=p,P=b,M=_,N=w,C=g,L=y,D=0;D<20;D+=2)k^=(o=(M^=(o=(A^=(o=(j^=(o=k+M|0)<<7|o>>>25)+k|0)<<9|o>>>23)+j|0)<<13|o>>>19)+A|0)<<18|o>>>14,S^=(o=(v^=(o=(N^=(o=(O^=(o=S+v|0)<<7|o>>>25)+S|0)<<9|o>>>23)+O|0)<<13|o>>>19)+N|0)<<18|o>>>14,I^=(o=(R^=(o=(x^=(o=(C^=(o=I+R|0)<<7|o>>>25)+I|0)<<9|o>>>23)+C|0)<<13|o>>>19)+x|0)<<18|o>>>14,L^=(o=(P^=(o=(T^=(o=(E^=(o=L+P|0)<<7|o>>>25)+L|0)<<9|o>>>23)+E|0)<<13|o>>>19)+T|0)<<18|o>>>14,k^=(o=(E^=(o=(x^=(o=(v^=(o=k+E|0)<<7|o>>>25)+k|0)<<9|o>>>23)+v|0)<<13|o>>>19)+x|0)<<18|o>>>14,S^=(o=(j^=(o=(T^=(o=(R^=(o=S+j|0)<<7|o>>>25)+S|0)<<9|o>>>23)+R|0)<<13|o>>>19)+T|0)<<18|o>>>14,I^=(o=(O^=(o=(A^=(o=(P^=(o=I+O|0)<<7|o>>>25)+I|0)<<9|o>>>23)+P|0)<<13|o>>>19)+A|0)<<18|o>>>14,L^=(o=(C^=(o=(N^=(o=(M^=(o=L+C|0)<<7|o>>>25)+L|0)<<9|o>>>23)+M|0)<<13|o>>>19)+N|0)<<18|o>>>14;k=k+s|0,v=v+i|0,x=x+a|0,E=E+u|0,j=j+l|0,S=S+d|0,R=R+c|0,T=T+m|0,A=A+f|0,O=O+h|0,I=I+p|0,P=P+b|0,M=M+_|0,N=N+w|0,C=C+g|0,L=L+y|0,e[0]=k>>>0&255,e[1]=k>>>8&255,e[2]=k>>>16&255,e[3]=k>>>24&255,e[4]=v>>>0&255,e[5]=v>>>8&255,e[6]=v>>>16&255,e[7]=v>>>24&255,e[8]=x>>>0&255,e[9]=x>>>8&255,e[10]=x>>>16&255,e[11]=x>>>24&255,e[12]=E>>>0&255,e[13]=E>>>8&255,e[14]=E>>>16&255,e[15]=E>>>24&255,e[16]=j>>>0&255,e[17]=j>>>8&255,e[18]=j>>>16&255,e[19]=j>>>24&255,e[20]=S>>>0&255,e[21]=S>>>8&255,e[22]=S>>>16&255,e[23]=S>>>24&255,e[24]=R>>>0&255,e[25]=R>>>8&255,e[26]=R>>>16&255,e[27]=R>>>24&255,e[28]=T>>>0&255,e[29]=T>>>8&255,e[30]=T>>>16&255,e[31]=T>>>24&255,e[32]=A>>>0&255,e[33]=A>>>8&255,e[34]=A>>>16&255,e[35]=A>>>24&255,e[36]=O>>>0&255,e[37]=O>>>8&255,e[38]=O>>>16&255,e[39]=O>>>24&255,e[40]=I>>>0&255,e[41]=I>>>8&255,e[42]=I>>>16&255,e[43]=I>>>24&255,e[44]=P>>>0&255,e[45]=P>>>8&255,e[46]=P>>>16&255,e[47]=P>>>24&255,e[48]=M>>>0&255,e[49]=M>>>8&255,e[50]=M>>>16&255,e[51]=M>>>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,n,r)}function g(e,t,n,r){!function(e,t,n,r){for(var o,s=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,u=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,l=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,d=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,m=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,f=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,p=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,b=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,_=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,w=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,g=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,y=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,k=0;k<20;k+=2)s^=(o=(_^=(o=(f^=(o=(l^=(o=s+_|0)<<7|o>>>25)+s|0)<<9|o>>>23)+l|0)<<13|o>>>19)+f|0)<<18|o>>>14,d^=(o=(i^=(o=(w^=(o=(h^=(o=d+i|0)<<7|o>>>25)+d|0)<<9|o>>>23)+h|0)<<13|o>>>19)+w|0)<<18|o>>>14,p^=(o=(c^=(o=(a^=(o=(g^=(o=p+c|0)<<7|o>>>25)+p|0)<<9|o>>>23)+g|0)<<13|o>>>19)+a|0)<<18|o>>>14,y^=(o=(b^=(o=(m^=(o=(u^=(o=y+b|0)<<7|o>>>25)+y|0)<<9|o>>>23)+u|0)<<13|o>>>19)+m|0)<<18|o>>>14,s^=(o=(u^=(o=(a^=(o=(i^=(o=s+u|0)<<7|o>>>25)+s|0)<<9|o>>>23)+i|0)<<13|o>>>19)+a|0)<<18|o>>>14,d^=(o=(l^=(o=(m^=(o=(c^=(o=d+l|0)<<7|o>>>25)+d|0)<<9|o>>>23)+c|0)<<13|o>>>19)+m|0)<<18|o>>>14,p^=(o=(h^=(o=(f^=(o=(b^=(o=p+h|0)<<7|o>>>25)+p|0)<<9|o>>>23)+b|0)<<13|o>>>19)+f|0)<<18|o>>>14,y^=(o=(g^=(o=(w^=(o=(_^=(o=y+g|0)<<7|o>>>25)+y|0)<<9|o>>>23)+_|0)<<13|o>>>19)+w|0)<<18|o>>>14;e[0]=s>>>0&255,e[1]=s>>>8&255,e[2]=s>>>16&255,e[3]=s>>>24&255,e[4]=d>>>0&255,e[5]=d>>>8&255,e[6]=d>>>16&255,e[7]=d>>>24&255,e[8]=p>>>0&255,e[9]=p>>>8&255,e[10]=p>>>16&255,e[11]=p>>>24&255,e[12]=y>>>0&255,e[13]=y>>>8&255,e[14]=y>>>16&255,e[15]=y>>>24&255,e[16]=c>>>0&255,e[17]=c>>>8&255,e[18]=c>>>16&255,e[19]=c>>>24&255,e[20]=m>>>0&255,e[21]=m>>>8&255,e[22]=m>>>16&255,e[23]=m>>>24&255,e[24]=f>>>0&255,e[25]=f>>>8&255,e[26]=f>>>16&255,e[27]=f>>>24&255,e[28]=h>>>0&255,e[29]=h>>>8&255,e[30]=h>>>16&255,e[31]=h>>>24&255}(e,t,n,r)}var y=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function k(e,t,n,r,o,s,i){var a,u,l=new Uint8Array(16),d=new Uint8Array(64);for(u=0;u<16;u++)l[u]=0;for(u=0;u<8;u++)l[u]=s[u];for(;o>=64;){for(w(d,l,i,y),u=0;u<64;u++)e[t+u]=n[r+u]^d[u];for(a=1,u=8;u<16;u++)a=a+(255&l[u])|0,l[u]=255&a,a>>>=8;o-=64,t+=64,r+=64}if(o>0)for(w(d,l,i,y),u=0;u<o;u++)e[t+u]=n[r+u]^d[u];return 0}function v(e,t,n,r,o){var s,i,a=new Uint8Array(16),u=new Uint8Array(64);for(i=0;i<16;i++)a[i]=0;for(i=0;i<8;i++)a[i]=r[i];for(;n>=64;){for(w(u,a,o,y),i=0;i<64;i++)e[t+i]=u[i];for(s=1,i=8;i<16;i++)s=s+(255&a[i])|0,a[i]=255&s,s>>>=8;n-=64,t+=64}if(n>0)for(w(u,a,o,y),i=0;i<n;i++)e[t+i]=u[i];return 0}function x(e,t,n,r,o){var s=new Uint8Array(32);g(s,r,o,y);for(var i=new Uint8Array(8),a=0;a<8;a++)i[a]=r[a+16];return v(e,t,n,i,s)}function E(e,t,n,r,o,s,i){var a=new Uint8Array(32);g(a,s,i,y);for(var u=new Uint8Array(8),l=0;l<8;l++)u[l]=s[l+16];return k(e,t,n,r,o,u,a)}var j=function(e){var t,n,r,o,s,i,a,u;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,n=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|n<<3),r=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(n>>>10|r<<6),o=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(r>>>7|o<<9),s=255&e[8]|(255&e[9])<<8,this.r[4]=255&(o>>>4|s<<12),this.r[5]=s>>>1&8190,i=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(s>>>14|i<<2),a=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(i>>>11|a<<5),u=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(a>>>8|u<<8),this.r[9]=u>>>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 S(e,t,n,r,o,s){var i=new j(s);return i.update(n,r,o),i.finish(e,t),0}function R(e,t,n,r,o,s){var i=new Uint8Array(16);return S(i,0,n,r,o,s),b(e,t,i,0)}function T(e,t,n,r,o){var s;if(n<32)return-1;for(E(e,0,t,0,n,r,o),S(e,16,e,32,n-32,e),s=0;s<16;s++)e[s]=0;return 0}function A(e,t,n,r,o){var s,i=new Uint8Array(32);if(n<32)return-1;if(x(i,0,32,r,o),0!==R(t,16,t,32,n-32,i))return-1;for(E(e,0,t,0,n,r,o),s=0;s<32;s++)e[s]=0;return 0}function O(e,t){var n;for(n=0;n<16;n++)e[n]=0|t[n]}function I(e){var t,n,r=1;for(t=0;t<16;t++)n=e[t]+r+65535,r=Math.floor(n/65536),e[t]=n-65536*r;e[0]+=r-1+37*(r-1)}function P(e,t,n){for(var r,o=~(n-1),s=0;s<16;s++)r=o&(e[s]^t[s]),e[s]^=r,t[s]^=r}function M(e,t){var r,o,s,i=n(),a=n();for(r=0;r<16;r++)a[r]=t[r];for(I(a),I(a),I(a),o=0;o<2;o++){for(i[0]=a[0]-65517,r=1;r<15;r++)i[r]=a[r]-65535-(i[r-1]>>16&1),i[r-1]&=65535;i[15]=a[15]-32767-(i[14]>>16&1),s=i[15]>>16&1,i[14]&=65535,P(a,i,1-s)}for(r=0;r<16;r++)e[2*r]=255&a[r],e[2*r+1]=a[r]>>8}function N(e,t){var n=new Uint8Array(32),r=new Uint8Array(32);return M(n,e),M(r,t),_(n,0,r,0)}function C(e){var t=new Uint8Array(32);return M(t,e),1&t[0]}function L(e,t){var n;for(n=0;n<16;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}function D(e,t,n){for(var r=0;r<16;r++)e[r]=t[r]+n[r]}function U(e,t,n){for(var r=0;r<16;r++)e[r]=t[r]-n[r]}function $(e,t,n){var r,o,s=0,i=0,a=0,u=0,l=0,d=0,c=0,m=0,f=0,h=0,p=0,b=0,_=0,w=0,g=0,y=0,k=0,v=0,x=0,E=0,j=0,S=0,R=0,T=0,A=0,O=0,I=0,P=0,M=0,N=0,C=0,L=n[0],D=n[1],U=n[2],$=n[3],F=n[4],B=n[5],W=n[6],H=n[7],q=n[8],V=n[9],G=n[10],z=n[11],K=n[12],Y=n[13],X=n[14],J=n[15];s+=(r=t[0])*L,i+=r*D,a+=r*U,u+=r*$,l+=r*F,d+=r*B,c+=r*W,m+=r*H,f+=r*q,h+=r*V,p+=r*G,b+=r*z,_+=r*K,w+=r*Y,g+=r*X,y+=r*J,i+=(r=t[1])*L,a+=r*D,u+=r*U,l+=r*$,d+=r*F,c+=r*B,m+=r*W,f+=r*H,h+=r*q,p+=r*V,b+=r*G,_+=r*z,w+=r*K,g+=r*Y,y+=r*X,k+=r*J,a+=(r=t[2])*L,u+=r*D,l+=r*U,d+=r*$,c+=r*F,m+=r*B,f+=r*W,h+=r*H,p+=r*q,b+=r*V,_+=r*G,w+=r*z,g+=r*K,y+=r*Y,k+=r*X,v+=r*J,u+=(r=t[3])*L,l+=r*D,d+=r*U,c+=r*$,m+=r*F,f+=r*B,h+=r*W,p+=r*H,b+=r*q,_+=r*V,w+=r*G,g+=r*z,y+=r*K,k+=r*Y,v+=r*X,x+=r*J,l+=(r=t[4])*L,d+=r*D,c+=r*U,m+=r*$,f+=r*F,h+=r*B,p+=r*W,b+=r*H,_+=r*q,w+=r*V,g+=r*G,y+=r*z,k+=r*K,v+=r*Y,x+=r*X,E+=r*J,d+=(r=t[5])*L,c+=r*D,m+=r*U,f+=r*$,h+=r*F,p+=r*B,b+=r*W,_+=r*H,w+=r*q,g+=r*V,y+=r*G,k+=r*z,v+=r*K,x+=r*Y,E+=r*X,j+=r*J,c+=(r=t[6])*L,m+=r*D,f+=r*U,h+=r*$,p+=r*F,b+=r*B,_+=r*W,w+=r*H,g+=r*q,y+=r*V,k+=r*G,v+=r*z,x+=r*K,E+=r*Y,j+=r*X,S+=r*J,m+=(r=t[7])*L,f+=r*D,h+=r*U,p+=r*$,b+=r*F,_+=r*B,w+=r*W,g+=r*H,y+=r*q,k+=r*V,v+=r*G,x+=r*z,E+=r*K,j+=r*Y,S+=r*X,R+=r*J,f+=(r=t[8])*L,h+=r*D,p+=r*U,b+=r*$,_+=r*F,w+=r*B,g+=r*W,y+=r*H,k+=r*q,v+=r*V,x+=r*G,E+=r*z,j+=r*K,S+=r*Y,R+=r*X,T+=r*J,h+=(r=t[9])*L,p+=r*D,b+=r*U,_+=r*$,w+=r*F,g+=r*B,y+=r*W,k+=r*H,v+=r*q,x+=r*V,E+=r*G,j+=r*z,S+=r*K,R+=r*Y,T+=r*X,A+=r*J,p+=(r=t[10])*L,b+=r*D,_+=r*U,w+=r*$,g+=r*F,y+=r*B,k+=r*W,v+=r*H,x+=r*q,E+=r*V,j+=r*G,S+=r*z,R+=r*K,T+=r*Y,A+=r*X,O+=r*J,b+=(r=t[11])*L,_+=r*D,w+=r*U,g+=r*$,y+=r*F,k+=r*B,v+=r*W,x+=r*H,E+=r*q,j+=r*V,S+=r*G,R+=r*z,T+=r*K,A+=r*Y,O+=r*X,I+=r*J,_+=(r=t[12])*L,w+=r*D,g+=r*U,y+=r*$,k+=r*F,v+=r*B,x+=r*W,E+=r*H,j+=r*q,S+=r*V,R+=r*G,T+=r*z,A+=r*K,O+=r*Y,I+=r*X,P+=r*J,w+=(r=t[13])*L,g+=r*D,y+=r*U,k+=r*$,v+=r*F,x+=r*B,E+=r*W,j+=r*H,S+=r*q,R+=r*V,T+=r*G,A+=r*z,O+=r*K,I+=r*Y,P+=r*X,M+=r*J,g+=(r=t[14])*L,y+=r*D,k+=r*U,v+=r*$,x+=r*F,E+=r*B,j+=r*W,S+=r*H,R+=r*q,T+=r*V,A+=r*G,O+=r*z,I+=r*K,P+=r*Y,M+=r*X,N+=r*J,y+=(r=t[15])*L,i+=38*(v+=r*U),a+=38*(x+=r*$),u+=38*(E+=r*F),l+=38*(j+=r*B),d+=38*(S+=r*W),c+=38*(R+=r*H),m+=38*(T+=r*q),f+=38*(A+=r*V),h+=38*(O+=r*G),p+=38*(I+=r*z),b+=38*(P+=r*K),_+=38*(M+=r*Y),w+=38*(N+=r*X),g+=38*(C+=r*J),s=(r=(s+=38*(k+=r*D))+(o=1)+65535)-65536*(o=Math.floor(r/65536)),i=(r=i+o+65535)-65536*(o=Math.floor(r/65536)),a=(r=a+o+65535)-65536*(o=Math.floor(r/65536)),u=(r=u+o+65535)-65536*(o=Math.floor(r/65536)),l=(r=l+o+65535)-65536*(o=Math.floor(r/65536)),d=(r=d+o+65535)-65536*(o=Math.floor(r/65536)),c=(r=c+o+65535)-65536*(o=Math.floor(r/65536)),m=(r=m+o+65535)-65536*(o=Math.floor(r/65536)),f=(r=f+o+65535)-65536*(o=Math.floor(r/65536)),h=(r=h+o+65535)-65536*(o=Math.floor(r/65536)),p=(r=p+o+65535)-65536*(o=Math.floor(r/65536)),b=(r=b+o+65535)-65536*(o=Math.floor(r/65536)),_=(r=_+o+65535)-65536*(o=Math.floor(r/65536)),w=(r=w+o+65535)-65536*(o=Math.floor(r/65536)),g=(r=g+o+65535)-65536*(o=Math.floor(r/65536)),y=(r=y+o+65535)-65536*(o=Math.floor(r/65536)),s=(r=(s+=o-1+37*(o-1))+(o=1)+65535)-65536*(o=Math.floor(r/65536)),i=(r=i+o+65535)-65536*(o=Math.floor(r/65536)),a=(r=a+o+65535)-65536*(o=Math.floor(r/65536)),u=(r=u+o+65535)-65536*(o=Math.floor(r/65536)),l=(r=l+o+65535)-65536*(o=Math.floor(r/65536)),d=(r=d+o+65535)-65536*(o=Math.floor(r/65536)),c=(r=c+o+65535)-65536*(o=Math.floor(r/65536)),m=(r=m+o+65535)-65536*(o=Math.floor(r/65536)),f=(r=f+o+65535)-65536*(o=Math.floor(r/65536)),h=(r=h+o+65535)-65536*(o=Math.floor(r/65536)),p=(r=p+o+65535)-65536*(o=Math.floor(r/65536)),b=(r=b+o+65535)-65536*(o=Math.floor(r/65536)),_=(r=_+o+65535)-65536*(o=Math.floor(r/65536)),w=(r=w+o+65535)-65536*(o=Math.floor(r/65536)),g=(r=g+o+65535)-65536*(o=Math.floor(r/65536)),y=(r=y+o+65535)-65536*(o=Math.floor(r/65536)),s+=o-1+37*(o-1),e[0]=s,e[1]=i,e[2]=a,e[3]=u,e[4]=l,e[5]=d,e[6]=c,e[7]=m,e[8]=f,e[9]=h,e[10]=p,e[11]=b,e[12]=_,e[13]=w,e[14]=g,e[15]=y}function F(e,t){$(e,t,t)}function B(e,t){var r,o=n();for(r=0;r<16;r++)o[r]=t[r];for(r=253;r>=0;r--)F(o,o),2!==r&&4!==r&&$(o,o,t);for(r=0;r<16;r++)e[r]=o[r]}function W(e,t){var r,o=n();for(r=0;r<16;r++)o[r]=t[r];for(r=250;r>=0;r--)F(o,o),1!==r&&$(o,o,t);for(r=0;r<16;r++)e[r]=o[r]}function H(e,t,r){var o,s,i=new Uint8Array(32),a=new Float64Array(80),l=n(),d=n(),c=n(),m=n(),f=n(),h=n();for(s=0;s<31;s++)i[s]=t[s];for(i[31]=127&t[31]|64,i[0]&=248,L(a,r),s=0;s<16;s++)d[s]=a[s],m[s]=l[s]=c[s]=0;for(l[0]=m[0]=1,s=254;s>=0;--s)P(l,d,o=i[s>>>3]>>>(7&s)&1),P(c,m,o),D(f,l,c),U(l,l,c),D(c,d,m),U(d,d,m),F(m,f),F(h,l),$(l,c,l),$(c,d,f),D(f,l,c),U(l,l,c),F(d,l),U(c,m,h),$(l,c,u),D(l,l,m),$(c,c,l),$(l,m,h),$(m,d,a),F(d,f),P(l,d,o),P(c,m,o);for(s=0;s<16;s++)a[s+16]=l[s],a[s+32]=c[s],a[s+48]=d[s],a[s+64]=m[s];var p=a.subarray(32),b=a.subarray(16);return B(p,p),$(b,b,p),M(e,b),0}function q(e,t){return H(e,t,s)}function V(e,t){return r(t,32),q(e,t)}function G(e,t,n){var r=new Uint8Array(32);return H(r,n,t),g(e,o,r,y)}j.prototype.blocks=function(e,t,n){for(var r,o,s,i,a,u,l,d,c,m,f,h,p,b,_,w,g,y,k,v=this.fin?0:2048,x=this.h[0],E=this.h[1],j=this.h[2],S=this.h[3],R=this.h[4],T=this.h[5],A=this.h[6],O=this.h[7],I=this.h[8],P=this.h[9],M=this.r[0],N=this.r[1],C=this.r[2],L=this.r[3],D=this.r[4],U=this.r[5],$=this.r[6],F=this.r[7],B=this.r[8],W=this.r[9];n>=16;)m=c=0,m+=(x+=8191&(r=255&e[t+0]|(255&e[t+1])<<8))*M,m+=(E+=8191&(r>>>13|(o=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*W),m+=(j+=8191&(o>>>10|(s=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*B),m+=(S+=8191&(s>>>7|(i=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*F),c=(m+=(R+=8191&(i>>>4|(a=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*$))>>>13,m&=8191,m+=(T+=a>>>1&8191)*(5*U),m+=(A+=8191&(a>>>14|(u=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*D),m+=(O+=8191&(u>>>11|(l=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*L),m+=(I+=8191&(l>>>8|(d=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*C),f=c+=(m+=(P+=d>>>5|v)*(5*N))>>>13,f+=x*N,f+=E*M,f+=j*(5*W),f+=S*(5*B),c=(f+=R*(5*F))>>>13,f&=8191,f+=T*(5*$),f+=A*(5*U),f+=O*(5*D),f+=I*(5*L),c+=(f+=P*(5*C))>>>13,f&=8191,h=c,h+=x*C,h+=E*N,h+=j*M,h+=S*(5*W),c=(h+=R*(5*B))>>>13,h&=8191,h+=T*(5*F),h+=A*(5*$),h+=O*(5*U),h+=I*(5*D),p=c+=(h+=P*(5*L))>>>13,p+=x*L,p+=E*C,p+=j*N,p+=S*M,c=(p+=R*(5*W))>>>13,p&=8191,p+=T*(5*B),p+=A*(5*F),p+=O*(5*$),p+=I*(5*U),b=c+=(p+=P*(5*D))>>>13,b+=x*D,b+=E*L,b+=j*C,b+=S*N,c=(b+=R*M)>>>13,b&=8191,b+=T*(5*W),b+=A*(5*B),b+=O*(5*F),b+=I*(5*$),_=c+=(b+=P*(5*U))>>>13,_+=x*U,_+=E*D,_+=j*L,_+=S*C,c=(_+=R*N)>>>13,_&=8191,_+=T*M,_+=A*(5*W),_+=O*(5*B),_+=I*(5*F),w=c+=(_+=P*(5*$))>>>13,w+=x*$,w+=E*U,w+=j*D,w+=S*L,c=(w+=R*C)>>>13,w&=8191,w+=T*N,w+=A*M,w+=O*(5*W),w+=I*(5*B),g=c+=(w+=P*(5*F))>>>13,g+=x*F,g+=E*$,g+=j*U,g+=S*D,c=(g+=R*L)>>>13,g&=8191,g+=T*C,g+=A*N,g+=O*M,g+=I*(5*W),y=c+=(g+=P*(5*B))>>>13,y+=x*B,y+=E*F,y+=j*$,y+=S*U,c=(y+=R*D)>>>13,y&=8191,y+=T*L,y+=A*C,y+=O*N,y+=I*M,k=c+=(y+=P*(5*W))>>>13,k+=x*W,k+=E*B,k+=j*F,k+=S*$,c=(k+=R*U)>>>13,k&=8191,k+=T*D,k+=A*L,k+=O*C,k+=I*N,x=m=8191&(c=(c=((c+=(k+=P*M)>>>13)<<2)+c|0)+(m&=8191)|0),E=f+=c>>>=13,j=h&=8191,S=p&=8191,R=b&=8191,T=_&=8191,A=w&=8191,O=g&=8191,I=y&=8191,P=k&=8191,t+=16,n-=16;this.h[0]=x,this.h[1]=E,this.h[2]=j,this.h[3]=S,this.h[4]=R,this.h[5]=T,this.h[6]=A,this.h[7]=O,this.h[8]=I,this.h[9]=P},j.prototype.finish=function(e,t){var n,r,o,s,i=new Uint16Array(10);if(this.leftover){for(s=this.leftover,this.buffer[s++]=1;s<16;s++)this.buffer[s]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(n=this.h[1]>>>13,this.h[1]&=8191,s=2;s<10;s++)this.h[s]+=n,n=this.h[s]>>>13,this.h[s]&=8191;for(this.h[0]+=5*n,n=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=n,n=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=n,i[0]=this.h[0]+5,n=i[0]>>>13,i[0]&=8191,s=1;s<10;s++)i[s]=this.h[s]+n,n=i[s]>>>13,i[s]&=8191;for(i[9]-=8192,r=(1^n)-1,s=0;s<10;s++)i[s]&=r;for(r=~r,s=0;s<10;s++)this.h[s]=this.h[s]&r|i[s];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),o=this.h[0]+this.pad[0],this.h[0]=65535&o,s=1;s<8;s++)o=(this.h[s]+this.pad[s]|0)+(o>>>16)|0,this.h[s]=65535&o;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},j.prototype.update=function(e,t,n){var r,o;if(this.leftover){for((o=16-this.leftover)>n&&(o=n),r=0;r<o;r++)this.buffer[this.leftover+r]=e[t+r];if(n-=o,t+=o,this.leftover+=o,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(n>=16&&(o=n-n%16,this.blocks(e,t,o),t+=o,n-=o),n){for(r=0;r<n;r++)this.buffer[this.leftover+r]=e[t+r];this.leftover+=n}};var z=T,K=A;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,n,r){for(var o,s,i,a,u,l,d,c,m,f,h,p,b,_,w,g,y,k,v,x,E,j,S,R,T,A,O=new Int32Array(16),I=new Int32Array(16),P=e[0],M=e[1],N=e[2],C=e[3],L=e[4],D=e[5],U=e[6],$=e[7],F=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;r>=128;){for(v=0;v<16;v++)x=8*v+K,O[v]=n[x+0]<<24|n[x+1]<<16|n[x+2]<<8|n[x+3],I[v]=n[x+4]<<24|n[x+5]<<16|n[x+6]<<8|n[x+7];for(v=0;v<80;v++)if(o=P,s=M,i=N,a=C,u=L,l=D,d=U,$,m=F,f=B,h=W,p=H,b=q,_=V,w=G,z,S=65535&(j=z),R=j>>>16,T=65535&(E=$),A=E>>>16,S+=65535&(j=(q>>>14|L<<18)^(q>>>18|L<<14)^(L>>>9|q<<23)),R+=j>>>16,T+=65535&(E=(L>>>14|q<<18)^(L>>>18|q<<14)^(q>>>9|L<<23)),A+=E>>>16,S+=65535&(j=q&V^~q&G),R+=j>>>16,T+=65535&(E=L&D^~L&U),A+=E>>>16,S+=65535&(j=Y[2*v+1]),R+=j>>>16,T+=65535&(E=Y[2*v]),A+=E>>>16,E=O[v%16],R+=(j=I[v%16])>>>16,T+=65535&E,A+=E>>>16,T+=(R+=(S+=65535&j)>>>16)>>>16,S=65535&(j=k=65535&S|R<<16),R=j>>>16,T=65535&(E=y=65535&T|(A+=T>>>16)<<16),A=E>>>16,S+=65535&(j=(F>>>28|P<<4)^(P>>>2|F<<30)^(P>>>7|F<<25)),R+=j>>>16,T+=65535&(E=(P>>>28|F<<4)^(F>>>2|P<<30)^(F>>>7|P<<25)),A+=E>>>16,R+=(j=F&B^F&W^B&W)>>>16,T+=65535&(E=P&M^P&N^M&N),A+=E>>>16,c=65535&(T+=(R+=(S+=65535&j)>>>16)>>>16)|(A+=T>>>16)<<16,g=65535&S|R<<16,S=65535&(j=p),R=j>>>16,T=65535&(E=a),A=E>>>16,R+=(j=k)>>>16,T+=65535&(E=y),A+=E>>>16,M=o,N=s,C=i,L=a=65535&(T+=(R+=(S+=65535&j)>>>16)>>>16)|(A+=T>>>16)<<16,D=u,U=l,$=d,P=c,B=m,W=f,H=h,q=p=65535&S|R<<16,V=b,G=_,z=w,F=g,v%16==15)for(x=0;x<16;x++)E=O[x],S=65535&(j=I[x]),R=j>>>16,T=65535&E,A=E>>>16,E=O[(x+9)%16],S+=65535&(j=I[(x+9)%16]),R+=j>>>16,T+=65535&E,A+=E>>>16,y=O[(x+1)%16],S+=65535&(j=((k=I[(x+1)%16])>>>1|y<<31)^(k>>>8|y<<24)^(k>>>7|y<<25)),R+=j>>>16,T+=65535&(E=(y>>>1|k<<31)^(y>>>8|k<<24)^y>>>7),A+=E>>>16,y=O[(x+14)%16],R+=(j=((k=I[(x+14)%16])>>>19|y<<13)^(y>>>29|k<<3)^(k>>>6|y<<26))>>>16,T+=65535&(E=(y>>>19|k<<13)^(k>>>29|y<<3)^y>>>6),A+=E>>>16,A+=(T+=(R+=(S+=65535&j)>>>16)>>>16)>>>16,O[x]=65535&T|A<<16,I[x]=65535&S|R<<16;S=65535&(j=F),R=j>>>16,T=65535&(E=P),A=E>>>16,E=e[0],R+=(j=t[0])>>>16,T+=65535&E,A+=E>>>16,A+=(T+=(R+=(S+=65535&j)>>>16)>>>16)>>>16,e[0]=P=65535&T|A<<16,t[0]=F=65535&S|R<<16,S=65535&(j=B),R=j>>>16,T=65535&(E=M),A=E>>>16,E=e[1],R+=(j=t[1])>>>16,T+=65535&E,A+=E>>>16,A+=(T+=(R+=(S+=65535&j)>>>16)>>>16)>>>16,e[1]=M=65535&T|A<<16,t[1]=B=65535&S|R<<16,S=65535&(j=W),R=j>>>16,T=65535&(E=N),A=E>>>16,E=e[2],R+=(j=t[2])>>>16,T+=65535&E,A+=E>>>16,A+=(T+=(R+=(S+=65535&j)>>>16)>>>16)>>>16,e[2]=N=65535&T|A<<16,t[2]=W=65535&S|R<<16,S=65535&(j=H),R=j>>>16,T=65535&(E=C),A=E>>>16,E=e[3],R+=(j=t[3])>>>16,T+=65535&E,A+=E>>>16,A+=(T+=(R+=(S+=65535&j)>>>16)>>>16)>>>16,e[3]=C=65535&T|A<<16,t[3]=H=65535&S|R<<16,S=65535&(j=q),R=j>>>16,T=65535&(E=L),A=E>>>16,E=e[4],R+=(j=t[4])>>>16,T+=65535&E,A+=E>>>16,A+=(T+=(R+=(S+=65535&j)>>>16)>>>16)>>>16,e[4]=L=65535&T|A<<16,t[4]=q=65535&S|R<<16,S=65535&(j=V),R=j>>>16,T=65535&(E=D),A=E>>>16,E=e[5],R+=(j=t[5])>>>16,T+=65535&E,A+=E>>>16,A+=(T+=(R+=(S+=65535&j)>>>16)>>>16)>>>16,e[5]=D=65535&T|A<<16,t[5]=V=65535&S|R<<16,S=65535&(j=G),R=j>>>16,T=65535&(E=U),A=E>>>16,E=e[6],R+=(j=t[6])>>>16,T+=65535&E,A+=E>>>16,A+=(T+=(R+=(S+=65535&j)>>>16)>>>16)>>>16,e[6]=U=65535&T|A<<16,t[6]=G=65535&S|R<<16,S=65535&(j=z),R=j>>>16,T=65535&(E=$),A=E>>>16,E=e[7],R+=(j=t[7])>>>16,T+=65535&E,A+=E>>>16,A+=(T+=(R+=(S+=65535&j)>>>16)>>>16)>>>16,e[7]=$=65535&T|A<<16,t[7]=z=65535&S|R<<16,K+=128,r-=128}return r}function J(e,t,n){var r,o=new Int32Array(8),s=new Int32Array(8),i=new Uint8Array(256),a=n;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,s[0]=4089235720,s[1]=2227873595,s[2]=4271175723,s[3]=1595750129,s[4]=2917565137,s[5]=725511199,s[6]=4215389547,s[7]=327033209,X(o,s,t,n),n%=128,r=0;r<n;r++)i[r]=t[a-n+r];for(i[n]=128,i[(n=256-128*(n<112?1:0))-9]=0,h(i,n-8,a/536870912|0,a<<3),X(o,s,i,n),r=0;r<8;r++)h(e,8*r,o[r],s[r]);return 0}function Z(e,t){var r=n(),o=n(),s=n(),i=n(),a=n(),u=n(),l=n(),c=n(),m=n();U(r,e[1],e[0]),U(m,t[1],t[0]),$(r,r,m),D(o,e[0],e[1]),D(m,t[0],t[1]),$(o,o,m),$(s,e[3],t[3]),$(s,s,d),$(i,e[2],t[2]),D(i,i,i),U(a,o,r),U(u,i,s),D(l,i,s),D(c,o,r),$(e[0],a,u),$(e[1],c,l),$(e[2],l,u),$(e[3],a,c)}function Q(e,t,n){var r;for(r=0;r<4;r++)P(e[r],t[r],n)}function ee(e,t){var r=n(),o=n(),s=n();B(s,t[2]),$(r,t[0],s),$(o,t[1],s),M(e,o),e[31]^=C(r)<<7}function te(e,t,n){var r,o;for(O(e[0],i),O(e[1],a),O(e[2],a),O(e[3],i),o=255;o>=0;--o)Q(e,t,r=n[o/8|0]>>(7&o)&1),Z(t,e),Z(e,e),Q(e,t,r)}function ne(e,t){var r=[n(),n(),n(),n()];O(r[0],c),O(r[1],m),O(r[2],a),$(r[3],c,m),te(e,r,t)}function re(e,t,o){var s,i=new Uint8Array(64),a=[n(),n(),n(),n()];for(o||r(t,32),J(i,t,32),i[0]&=248,i[31]&=127,i[31]|=64,ne(a,i),ee(e,a),s=0;s<32;s++)t[s+32]=e[s];return 0}var oe=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 se(e,t){var n,r,o,s;for(r=63;r>=32;--r){for(n=0,o=r-32,s=r-12;o<s;++o)t[o]+=n-16*t[r]*oe[o-(r-32)],n=Math.floor((t[o]+128)/256),t[o]-=256*n;t[o]+=n,t[r]=0}for(n=0,o=0;o<32;o++)t[o]+=n-(t[31]>>4)*oe[o],n=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=n*oe[o];for(r=0;r<32;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function ie(e){var t,n=new Float64Array(64);for(t=0;t<64;t++)n[t]=e[t];for(t=0;t<64;t++)e[t]=0;se(e,n)}function ae(e,t,r,o){var s,i,a=new Uint8Array(64),u=new Uint8Array(64),l=new Uint8Array(64),d=new Float64Array(64),c=[n(),n(),n(),n()];J(a,o,32),a[0]&=248,a[31]&=127,a[31]|=64;var m=r+64;for(s=0;s<r;s++)e[64+s]=t[s];for(s=0;s<32;s++)e[32+s]=a[32+s];for(J(l,e.subarray(32),r+32),ie(l),ne(c,l),ee(e,c),s=32;s<64;s++)e[s]=o[s];for(J(u,e,r+64),ie(u),s=0;s<64;s++)d[s]=0;for(s=0;s<32;s++)d[s]=l[s];for(s=0;s<32;s++)for(i=0;i<32;i++)d[s+i]+=u[s]*a[i];return se(e.subarray(32),d),m}function ue(e,t,r,o){var s,u=new Uint8Array(32),d=new Uint8Array(64),c=[n(),n(),n(),n()],m=[n(),n(),n(),n()];if(r<64)return-1;if(function(e,t){var r=n(),o=n(),s=n(),u=n(),d=n(),c=n(),m=n();return O(e[2],a),L(e[1],t),F(s,e[1]),$(u,s,l),U(s,s,e[2]),D(u,e[2],u),F(d,u),F(c,d),$(m,c,d),$(r,m,s),$(r,r,u),W(r,r),$(r,r,s),$(r,r,u),$(r,r,u),$(e[0],r,u),F(o,e[0]),$(o,o,u),N(o,s)&&$(e[0],e[0],f),F(o,e[0]),$(o,o,u),N(o,s)?-1:(C(e[0])===t[31]>>7&&U(e[0],i,e[0]),$(e[3],e[0],e[1]),0)}(m,o))return-1;for(s=0;s<r;s++)e[s]=t[s];for(s=0;s<32;s++)e[s+32]=o[s];if(J(d,e,r),ie(d),te(c,m,d),ne(m,t.subarray(32)),Z(c,m),ee(u,c),r-=64,_(t,0,u,0)){for(s=0;s<r;s++)e[s]=0;return-1}for(s=0;s<r;s++)e[s]=t[s+64];return r}var le=16,de=64,ce=32,me=64;function fe(e,t){if(32!==e.length)throw new Error("bad key size");if(24!==t.length)throw new Error("bad nonce size")}function he(){for(var e=0;e<arguments.length;e++)if(!(arguments[e]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function pe(e){for(var t=0;t<e.length;t++)e[t]=0}t.lowlevel={crypto_core_hsalsa20:g,crypto_stream_xor:E,crypto_stream:x,crypto_stream_salsa20_xor:k,crypto_stream_salsa20:v,crypto_onetimeauth:S,crypto_onetimeauth_verify:R,crypto_verify_16:b,crypto_verify_32:_,crypto_secretbox:T,crypto_secretbox_open:A,crypto_scalarmult:H,crypto_scalarmult_base:q,crypto_box_beforenm:G,crypto_box_afternm:z,crypto_box:function(e,t,n,r,o,s){var i=new Uint8Array(32);return G(i,o,s),z(e,t,n,r,i)},crypto_box_open:function(e,t,n,r,o,s){var i=new Uint8Array(32);return G(i,o,s),K(e,t,n,r,i)},crypto_box_keypair:V,crypto_hash:J,crypto_sign:ae,crypto_sign_keypair:re,crypto_sign_open:ue,crypto_secretbox_KEYBYTES:32,crypto_secretbox_NONCEBYTES:24,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:le,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:de,crypto_sign_PUBLICKEYBYTES:ce,crypto_sign_SECRETKEYBYTES:me,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64,gf:n,D:l,L:oe,pack25519:M,unpack25519:L,M:$,A:D,S:F,Z:U,pow2523:W,add:Z,set25519:O,modL:se,scalarmult:te,scalarbase:ne},t.randomBytes=function(e){var t=new Uint8Array(e);return r(t,e),t},t.secretbox=function(e,t,n){he(e,t,n),fe(n,t);for(var r=new Uint8Array(32+e.length),o=new Uint8Array(r.length),s=0;s<e.length;s++)r[s+32]=e[s];return T(o,r,r.length,t,n),o.subarray(le)},t.secretbox.open=function(e,t,n){he(e,t,n),fe(n,t);for(var r=new Uint8Array(le+e.length),o=new Uint8Array(r.length),s=0;s<e.length;s++)r[s+le]=e[s];return r.length<32||0!==A(o,r,r.length,t,n)?null:o.subarray(32)},t.secretbox.keyLength=32,t.secretbox.nonceLength=24,t.secretbox.overheadLength=le,t.scalarMult=function(e,t){if(he(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var n=new Uint8Array(32);return H(n,e,t),n},t.scalarMult.base=function(e){if(he(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,n,r,o){var s=t.box.before(r,o);return t.secretbox(e,n,s)},t.box.before=function(e,t){he(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 n=new Uint8Array(32);return G(n,e,t),n},t.box.after=t.secretbox,t.box.open=function(e,n,r,o){var s=t.box.before(r,o);return t.secretbox.open(e,n,s)},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(he(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(he(e,t),t.length!==me)throw new Error("bad secret key size");var n=new Uint8Array(de+e.length);return ae(n,e,e.length,t),n},t.sign.open=function(e,t){if(he(e,t),t.length!==ce)throw new Error("bad public key size");var n=new Uint8Array(e.length),r=ue(n,e,e.length,t);if(r<0)return null;for(var o=new Uint8Array(r),s=0;s<o.length;s++)o[s]=n[s];return o},t.sign.detached=function(e,n){for(var r=t.sign(e,n),o=new Uint8Array(de),s=0;s<o.length;s++)o[s]=r[s];return o},t.sign.detached.verify=function(e,t,n){if(he(e,t,n),t.length!==de)throw new Error("bad signature size");if(n.length!==ce)throw new Error("bad public key size");var r,o=new Uint8Array(de+e.length),s=new Uint8Array(de+e.length);for(r=0;r<de;r++)o[r]=t[r];for(r=0;r<e.length;r++)o[r+de]=e[r];return ue(s,o,o.length,n)>=0},t.sign.keyPair=function(){var e=new Uint8Array(ce),t=new Uint8Array(me);return re(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(he(e),e.length!==me)throw new Error("bad secret key size");for(var t=new Uint8Array(ce),n=0;n<t.length;n++)t[n]=e[32+n];return{publicKey:t,secretKey:new Uint8Array(e)}},t.sign.keyPair.fromSeed=function(e){if(he(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(ce),n=new Uint8Array(me),r=0;r<32;r++)n[r]=e[r];return re(t,n,!0),{publicKey:t,secretKey:n}},t.sign.publicKeyLength=ce,t.sign.secretKeyLength=me,t.sign.seedLength=32,t.sign.signatureLength=de,t.hash=function(e){he(e);var t=new Uint8Array(64);return J(t,e,e.length),t},t.hash.hashLength=64,t.verify=function(e,t){return he(e,t),0!==e.length&&0!==t.length&&(e.length===t.length&&0===p(e,0,t,0,e.length))},t.setPRNG=function(e){r=e},function(){var n="undefined"!=typeof self?self.crypto||self.msCrypto:null;if(n&&n.getRandomValues){t.setPRNG(function(e,t){var r,o=new Uint8Array(t);for(r=0;r<t;r+=65536)n.getRandomValues(o.subarray(r,r+Math.min(t-r,65536)));for(r=0;r<t;r++)e[r]=o[r];pe(o)})}else void 0!==e&&(n=e("crypto"))&&n.randomBytes&&t.setPRNG(function(e,t){var r,o=n.randomBytes(t);for(r=0;r<t;r++)e[r]=o[r];pe(o)})}()}(void 0!==t&&t.exports?t.exports:self.nacl=self.nacl||{})}}},{package:"tweetnacl",file:"node_modules/tweetnacl/nacl-fast.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/typed-array-buffer/index.js",{"call-bound":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bound/index.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","is-typed-array":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-typed-array/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("es-errors/type"),o=e("call-bound")("TypedArray.prototype.buffer",!0),s=e("is-typed-array");t.exports=o||function(e){if(!s(e))throw new r("Not a Typed Array");return e.buffer}}}},{package:"string.prototype.matchall>es-abstract>typed-array-buffer",file:"node_modules/typed-array-buffer/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ulid/dist/index.umd.js",{crypto:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ulid/stubs/crypto.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?r(n):"function"==typeof define&&define.amd?define(["exports"],r):r(e.ULID={})}(this,function(t){function n(e){var t=new Error(e);return t.source="ulid",t}var r="0123456789ABCDEFGHJKMNPQRSTVWXYZ",o=32,s=Math.pow(2,48)-1;function i(e,t,n){return t>e.length-1?e:e.substr(0,t)+n+e.substr(t+1)}function a(e){for(var t=undefined,o=e.length,s=void 0,a=void 0;!t&&o-- >=0;){if(s=e[o],-1===(a=r.indexOf(s)))throw n("incorrectly encoded string");31!==a?t=i(e,o,r[a+1]):e=i(e,o,r[0])}if("string"==typeof t)return t;throw n("cannot increment this string")}function u(e){var t=Math.floor(e()*o);return t===o&&(t=31),r.charAt(t)}function l(e,t){if(isNaN(e))throw new Error(e+" must be a number");if(e>s)throw n("cannot encode time greater than "+s);if(e<0)throw n("time must be positive");if(!1===Number.isInteger(e))throw n("time must be an integer");for(var i=void 0,a="";t>0;t--)a=r.charAt(i=e%o)+a,e=(e-i)/o;return a}function d(e,t){for(var n="";e>0;e--)n=u(t)+n;return n}function c(){var t=arguments.length>0&&arguments[0]!==undefined&&arguments[0],r=arguments[1];r||(r="undefined"!=typeof window?window:null);var o=r&&(r.crypto||r.msCrypto);if(o)return function(){var e=new Uint8Array(1);return o.getRandomValues(e),e[0]/255};try{var s=e("crypto");return function(){return s.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 n("secure crypto unusable, insecure Math.random not allowed")}function m(e){return e||(e=c()),function(t){return isNaN(t)&&(t=Date.now()),l(t,10)+d(16,e)}}var f=m();t.replaceCharAt=i,t.incrementBase32=a,t.randomChar=u,t.encodeTime=l,t.encodeRandom=d,t.decodeTime=function(e){if(26!==e.length)throw n("malformed ulid");var t=e.substr(0,10).split("").reverse().reduce(function(e,t,s){var i=r.indexOf(t);if(-1===i)throw n("invalid character found: "+t);return e+i*Math.pow(o,s)},0);if(t>s)throw n("malformed ulid, timestamp too large");return t},t.detectPrng=c,t.factory=m,t.monotonicFactory=function(e){e||(e=c());var t=0,n=void 0;return function(r){if(isNaN(r)&&(r=Date.now()),r<=t){var o=n=a(n);return l(t,10)+o}t=r;var s=n=d(16,e);return l(r,10)+s}},t.ulid=f,Object.defineProperty(t,"__esModule",{value:!0})})}}},{package:"@metamask/keyring-controller>ulid",file:"node_modules/ulid/dist/index.umd.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ulid/stubs/crypto.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){}}},{package:"@metamask/keyring-controller>ulid",file:"node_modules/ulid/stubs/crypto.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uri-js/dist/es5/uri.all.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
!function(e,r){"object"==typeof n&&void 0!==t?r(n):"function"==typeof define&&define.amd?define(["exports"],r):r(e.URI=e.URI||{})}(this,function(e){function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,o=1;o<r;++o)t[o]=t[o].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return e===undefined?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function s(e){var r="[A-Za-z]",o="[0-9]",s=t(o,"[A-Fa-f]"),i=n(n("%[EFef]"+s+"%"+s+s+"%"+s+s)+"|"+n("%[89A-Fa-f]"+s+"%"+s+s)+"|"+n("%"+s+s)),a="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",a),l=e?"[\\uE000-\\uF8FF]":"[]",d=t(r,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),c=n(r+t(r,o,"[\\+\\-\\.]")+"*"),m=n(n(i+"|"+t(d,a,"[\\:]"))+"*"),f=(n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("[1-9]"+o)+"|"+o),n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("0?[1-9]"+o)+"|0?0?"+o)),h=n(f+"\\."+f+"\\."+f+"\\."+f),p=n(s+"{1,4}"),b=n(n(p+"\\:"+p)+"|"+h),_=n(n(p+"\\:")+"{6}"+b),w=n("\\:\\:"+n(p+"\\:")+"{5}"+b),g=n(n(p)+"?\\:\\:"+n(p+"\\:")+"{4}"+b),y=n(n(n(p+"\\:")+"{0,1}"+p)+"?\\:\\:"+n(p+"\\:")+"{3}"+b),k=n(n(n(p+"\\:")+"{0,2}"+p)+"?\\:\\:"+n(p+"\\:")+"{2}"+b),v=n(n(n(p+"\\:")+"{0,3}"+p)+"?\\:\\:"+p+"\\:"+b),x=n(n(n(p+"\\:")+"{0,4}"+p)+"?\\:\\:"+b),E=n(n(n(p+"\\:")+"{0,5}"+p)+"?\\:\\:"+p),j=n(n(n(p+"\\:")+"{0,6}"+p)+"?\\:\\:"),S=n([_,w,g,y,k,v,x,E,j].join("|")),R=n(n(d+"|"+i)+"+"),T=(n(S+"\\%25"+R),n(S+n("\\%25|\\%(?!"+s+"{2})")+R)),A=n("[vV]"+s+"+\\."+t(d,a,"[\\:]")+"+"),O=n("\\["+n(T+"|"+S+"|"+A)+"\\]"),I=n(n(i+"|"+t(d,a))+"*"),P=n(O+"|"+h+"(?!"+I+")|"+I),M=n(o+"*"),N=n(n(m+"@")+"?"+P+n("\\:"+M)+"?"),C=n(i+"|"+t(d,a,"[\\:\\@]")),L=n(C+"*"),D=n(C+"+"),U=n(n(i+"|"+t(d,a,"[\\@]"))+"+"),$=n(n("\\/"+L)+"*"),F=n("\\/"+n(D+$)+"?"),B=n(U+$),W=n(D+$),H="(?!"+C+")",q=(n($+"|"+F+"|"+B+"|"+W+"|"+H),n(n(C+"|"+t("[\\/\\?]",l))+"*")),V=n(n(C+"|[\\/\\?]")+"*"),G=n(n("\\/\\/"+N+$)+"|"+F+"|"+W+"|"+H),z=n(c+"\\:"+G+n("\\?"+q)+"?"+n("\\#"+V)+"?"),K=n(n("\\/\\/"+N+$)+"|"+F+"|"+B+"|"+H),Y=n(K+n("\\?"+q)+"?"+n("\\#"+V)+"?");n(z+"|"+Y),n(c+"\\:"+G+n("\\?"+q)+"?"),n(n("\\/\\/("+n("("+m+")@")+"?("+P+")"+n("\\:("+M+")")+"?)")+"?("+$+"|"+F+"|"+W+"|"+H+")"),n("\\?("+q+")"),n("\\#("+V+")"),n(n("\\/\\/("+n("("+m+")@")+"?("+P+")"+n("\\:("+M+")")+"?)")+"?("+$+"|"+F+"|"+B+"|"+H+")"),n("\\?("+q+")"),n("\\#("+V+")"),n(n("\\/\\/("+n("("+m+")@")+"?("+P+")"+n("\\:("+M+")")+"?)")+"?("+$+"|"+F+"|"+W+"|"+H+")"),n("\\?("+q+")"),n("\\#("+V+")"),n("("+m+")@"),n("\\:("+M+")");return{NOT_SCHEME:new RegExp(t("[^]",r,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",d,a),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",d,a),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",d,a),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",d,a),"g"),NOT_QUERY:new RegExp(t("[^\\%]",d,a,"[\\:\\@\\/\\?]",l),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",d,a,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",d,a),"g"),UNRESERVED:new RegExp(d,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",d,u),"g"),PCT_ENCODED:new RegExp(i,"g"),IPV4ADDRESS:new RegExp("^("+h+")$"),IPV6ADDRESS:new RegExp("^\\[?("+S+")"+n(n("\\%25|\\%(?!"+s+"{2})")+"("+R+")")+"?\\]?$")}}var i=s(!1),a=s(!0),u=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,s=undefined;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,s=e}finally{try{!r&&a.return&&a.return()}finally{if(o)throw s}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=2147483647,d=36,c=/^xn--/,m=/[^\0-\x7E]/,f=/[\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,b=String.fromCharCode;function _(e){throw new RangeError(h[e])}function w(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var o=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(f,".")).split("."),t).join(".");return r+o}function g(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var s=e.charCodeAt(n++);56320==(64512&s)?t.push(((1023&o)<<10)+(1023&s)+65536):(t.push(o),n--)}else t.push(o)}return t}var y=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:d},k=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},v=function(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=d)e=p(e/35);return p(r+36*e/(e+38))},x=function(e){var t=[],n=e.length,r=0,o=128,s=72,i=e.lastIndexOf("-");i<0&&(i=0);for(var a=0;a<i;++a)e.charCodeAt(a)>=128&&_("not-basic"),t.push(e.charCodeAt(a));for(var u=i>0?i+1:0;u<n;){for(var c=r,m=1,f=d;;f+=d){u>=n&&_("invalid-input");var h=y(e.charCodeAt(u++));(h>=d||h>p((l-r)/m))&&_("overflow"),r+=h*m;var b=f<=s?1:f>=s+26?26:f-s;if(h<b)break;var w=d-b;m>p(l/w)&&_("overflow"),m*=w}var g=t.length+1;s=v(r-c,g,0==c),p(r/g)>l-o&&_("overflow"),o+=p(r/g),r%=g,t.splice(r++,0,o)}return String.fromCodePoint.apply(String,t)},E=function(e){var t=[],n=(e=g(e)).length,r=128,o=0,s=72,i=!0,a=!1,u=undefined;try{for(var c,m=e[Symbol.iterator]();!(i=(c=m.next()).done);i=!0){var f=c.value;f<128&&t.push(b(f))}}catch(e){a=!0,u=e}finally{try{!i&&m.return&&m.return()}finally{if(a)throw u}}var h=t.length,w=h;for(h&&t.push("-");w<n;){var y=l,x=!0,E=!1,j=undefined;try{for(var S,R=e[Symbol.iterator]();!(x=(S=R.next()).done);x=!0){var T=S.value;T>=r&&T<y&&(y=T)}}catch(e){E=!0,j=e}finally{try{!x&&R.return&&R.return()}finally{if(E)throw j}}var A=w+1;y-r>p((l-o)/A)&&_("overflow"),o+=(y-r)*A,r=y;var O=!0,I=!1,P=undefined;try{for(var M,N=e[Symbol.iterator]();!(O=(M=N.next()).done);O=!0){var C=M.value;if(C<r&&++o>l&&_("overflow"),C==r){for(var L=o,D=d;;D+=d){var U=D<=s?1:D>=s+26?26:D-s;if(L<U)break;var $=L-U,F=d-U;t.push(b(k(U+$%F,0))),L=p($/F)}t.push(b(k(L,0))),s=v(o,A,w==h),o=0,++w}}}catch(e){I=!0,P=e}finally{try{!O&&N.return&&N.return()}finally{if(I)throw P}}++o,++r}return t.join("")},j=function(e){return w(e,function(e){return m.test(e)?"xn--"+E(e):e})},S=function(e){return w(e,function(e){return c.test(e)?x(e.slice(4).toLowerCase()):e})},R={};function T(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 A(e){for(var t="",n=0,r=e.length;n<r;){var o=parseInt(e.substr(n+1,2),16);if(o<128)t+=String.fromCharCode(o),n+=3;else if(o>=194&&o<224){if(r-n>=6){var s=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&o)<<6|63&s)}else t+=e.substr(n,6);n+=6}else if(o>=224){if(r-n>=9){var i=parseInt(e.substr(n+4,2),16),a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&i)<<6|63&a)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function O(e,t){function n(e){var n=A(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),e.userinfo!==undefined&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,T).replace(t.PCT_ENCODED,o)),e.host!==undefined&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,T).replace(t.PCT_ENCODED,o)),e.path!==undefined&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,T).replace(t.PCT_ENCODED,o)),e.query!==undefined&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,T).replace(t.PCT_ENCODED,o)),e.fragment!==undefined&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,T).replace(t.PCT_ENCODED,o)),e}function I(e){return e.replace(/^0*(.*)/,"$1")||"0"}function P(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=u(n,2)[1];return r?r.split(".").map(I).join("."):e}function M(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=u(n,3),o=r[1],s=r[2];if(o){for(var i=o.toLowerCase().split("::").reverse(),a=u(i,2),l=a[0],d=a[1],c=d?d.split(":").map(I):[],m=l.split(":").map(I),f=t.IPV4ADDRESS.test(m[m.length-1]),h=f?7:8,p=m.length-h,b=Array(h),_=0;_<h;++_)b[_]=c[_]||m[p+_]||"";f&&(b[h-1]=P(b[h-1],t));var w=b.reduce(function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e},[]).sort(function(e,t){return t.length-e.length})[0],g=void 0;if(w&&w.length>1){var y=b.slice(0,w.index),k=b.slice(w.index+w.length);g=y.join(":")+"::"+k.join(":")}else g=b.join(":");return s&&(g+="%"+s),g}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]:{},n={},r=!1!==t.iri?a:i;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(N);if(o){C?(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5])):(n.scheme=o[1]||undefined,n.userinfo=-1!==e.indexOf("@")?o[3]:undefined,n.host=-1!==e.indexOf("//")?o[4]:undefined,n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=-1!==e.indexOf("?")?o[7]:undefined,n.fragment=-1!==e.indexOf("#")?o[8]:undefined,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:undefined)),n.host&&(n.host=M(P(n.host,r),r)),n.scheme!==undefined||n.userinfo!==undefined||n.host!==undefined||n.port!==undefined||n.path||n.query!==undefined?n.scheme===undefined?n.reference="relative":n.fragment===undefined?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var s=R[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||s&&s.unicodeSupport)O(n,r);else{if(n.host&&(t.domainHost||s&&s.domainHost))try{n.host=j(n.host.replace(r.PCT_ENCODED,A).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}O(n,i)}s&&s.parse&&s.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}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($))e=e.replace($,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(F);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function W(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n=t.iri?a:i,r=[],o=R[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?S(e.host):j(e.host.replace(n.PCT_ENCODED,A).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}O(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var s=function(e,t){var n=!1!==t.iri?a:i,r=[];return e.userinfo!==undefined&&(r.push(e.userinfo),r.push("@")),e.host!==undefined&&r.push(M(P(String(e.host),n),n).replace(n.IPV6ADDRESS,function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"})),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):undefined}(e,t);if(s!==undefined&&("suffix"!==t.reference&&r.push("//"),r.push(s),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),e.path!==undefined){var u=e.path;t.absolutePath||o&&o.absolutePath||(u=B(u)),s===undefined&&(u=u.replace(/^\/\//,"/%2F")),r.push(u)}return e.query!==undefined&&(r.push("?"),r.push(e.query)),e.fragment!==undefined&&(r.push("#"),r.push(e.fragment)),r.join("")}function H(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},r={};return arguments[3]||(e=L(W(e,n),n),t=L(W(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=B(t.path||""),r.query=t.query):(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=B(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=B(t.path):(e.userinfo===undefined&&e.host===undefined&&e.port===undefined||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=B(r.path)),r.query=t.query):(r.path=e.path,t.query!==undefined?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function q(e,t){return e&&e.toString().replace(t&&t.iri?a.PCT_ENCODED:i.PCT_ENCODED,A)}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 n="https"===String(e.scheme).toLowerCase();return e.port!==(n?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 n=e;return n.secure=z(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=undefined,n.query=undefined,n},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 n=e.resourceName.split("?"),r=u(n,2),o=r[0],s=r[1];e.path=o&&"/"!==o?o:undefined,e.query=s,e.resourceName=undefined}return e.fragment=undefined,e}},Y={scheme:"wss",domainHost:K.domainHost,parse:K.parse,serialize:K.serialize},X={},J="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Z="[0-9A-Fa-f]",Q=n(n("%[EFef]"+Z+"%"+Z+Z+"%"+Z+Z)+"|"+n("%[89A-Fa-f]"+Z+"%"+Z+Z)+"|"+n("%"+Z+Z)),ee=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),te=new RegExp(J,"g"),ne=new RegExp(Q,"g"),re=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',ee),"g"),oe=new RegExp(t("[^]",J,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),se=oe;function ie(e){var t=A(e);return t.match(te)?t:e}var ae={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=undefined,n.query){for(var o=!1,s={},i=n.query.split("&"),a=0,u=i.length;a<u;++a){var l=i[a].split("=");switch(l[0]){case"to":for(var d=l[1].split(","),c=0,m=d.length;c<m;++c)r.push(d[c]);break;case"subject":n.subject=q(l[1],t);break;case"body":n.body=q(l[1],t);break;default:o=!0,s[q(l[0],t)]=q(l[1],t)}}o&&(n.headers=s)}n.query=undefined;for(var f=0,h=r.length;f<h;++f){var p=r[f].split("@");if(p[0]=q(p[0]),t.unicodeSupport)p[1]=q(p[1],t).toLowerCase();else try{p[1]=j(q(p[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}r[f]=p.join("@")}return n},serialize:function(e,t){var n,r=e,s=(n=e.to)!==undefined&&null!==n?n instanceof Array?n:"number"!=typeof n.length||n.split||n.setInterval||n.call?[n]:Array.prototype.slice.call(n):[];if(s){for(var i=0,a=s.length;i<a;++i){var u=String(s[i]),l=u.lastIndexOf("@"),d=u.slice(0,l).replace(ne,ie).replace(ne,o).replace(re,T),c=u.slice(l+1);try{c=t.iri?S(c):j(q(c,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}s[i]=d+"@"+c}r.path=s.join(",")}var m=e.headers=e.headers||{};e.subject&&(m.subject=e.subject),e.body&&(m.body=e.body);var f=[];for(var h in m)m[h]!==X[h]&&f.push(h.replace(ne,ie).replace(ne,o).replace(oe,T)+"="+m[h].replace(ne,ie).replace(ne,o).replace(se,T));return f.length&&(r.query=f.join("&")),r}},ue=/^([^\:]+)\:(.*)/,le={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(ue),r=e;if(n){var o=t.scheme||r.scheme||"urn",s=n[1].toLowerCase(),i=n[2],a=o+":"+(t.nid||s),u=R[a];r.nid=s,r.nss=i,r.path=undefined,u&&(r=u.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,o=n+":"+(t.nid||r),s=R[o];s&&(e=s.serialize(e,t));var i=e,a=e.nss;return i.path=(r||t.nid)+":"+a,i}},de=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ce={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=undefined,t.tolerant||n.uuid&&n.uuid.match(de)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};R[V.scheme]=V,R[G.scheme]=G,R[K.scheme]=K,R[Y.scheme]=Y,R[ae.scheme]=ae,R[le.scheme]=le,R[ce.scheme]=ce,e.SCHEMES=R,e.pctEncChar=T,e.pctDecChars=A,e.parse=L,e.removeDotSegments=B,e.serialize=W,e.resolveComponents=H,e.resolve=function(e,t,n){var r=function(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}({scheme:"null"},n);return W(H(L(e,r),L(t,r),r,!0),r)},e.normalize=function(e,t){return"string"==typeof e?e=W(L(e,t),t):"object"===r(e)&&(e=L(W(e,t),t)),e},e.equal=function(e,t,n){return"string"==typeof e?e=W(L(e,n),n):"object"===r(e)&&(e=W(e,n)),"string"==typeof t?t=W(L(t,n),n):"object"===r(t)&&(t=W(t,n)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?a.ESCAPE:i.ESCAPE,T)},e.unescapeComponent=q,Object.defineProperty(e,"__esModule",{value:!0})})}}},{package:"uri-js",file:"node_modules/uri-js/dist/es5/uri.all.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/url/node_modules/punycode/punycode.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){!function(e){var r="object"==typeof n&&n&&!n.nodeType&&n,o="object"==typeof t&&t&&!t.nodeType&&t,s="object"==typeof global&&global;s.global!==s&&s.window!==s&&s.self!==s||(e=s);var i,a,u=2147483647,l=36,d=/^xn--/,c=/[^\x20-\x7E]/,m=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,p=String.fromCharCode;function b(e){throw new RangeError(f[e])}function _(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function w(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+_((e=e.replace(m,".")).split("."),t).join(".")}function g(e){for(var t,n,r=[],o=0,s=e.length;o<s;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<s?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function y(e){return _(e,function(e){var t="";return e>65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)}).join("")}function k(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:l}function v(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function x(e,t,n){var r=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;r+=l)e=h(e/35);return h(r+36*e/(e+38))}function E(e){var t,n,r,o,s,i,a,d,c,m,f=[],p=e.length,_=0,w=128,g=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&b("not-basic"),f.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<p;){for(s=_,i=1,a=l;o>=p&&b("invalid-input"),((d=k(e.charCodeAt(o++)))>=l||d>h((u-_)/i))&&b("overflow"),_+=d*i,!(d<(c=a<=g?1:a>=g+26?26:a-g));a+=l)i>h(u/(m=l-c))&&b("overflow"),i*=m;g=x(_-s,t=f.length+1,0==s),h(_/t)>u-w&&b("overflow"),w+=h(_/t),_%=t,f.splice(_++,0,w)}return y(f)}function j(e){var t,n,r,o,s,i,a,d,c,m,f,_,w,y,k,E=[];for(_=(e=g(e)).length,t=128,n=0,s=72,i=0;i<_;++i)(f=e[i])<128&&E.push(p(f));for(r=o=E.length,o&&E.push("-");r<_;){for(a=u,i=0;i<_;++i)(f=e[i])>=t&&f<a&&(a=f);for(a-t>h((u-n)/(w=r+1))&&b("overflow"),n+=(a-t)*w,t=a,i=0;i<_;++i)if((f=e[i])<t&&++n>u&&b("overflow"),f==t){for(d=n,c=l;!(d<(m=c<=s?1:c>=s+26?26:c-s));c+=l)k=d-m,y=l-m,E.push(p(v(m+k%y,0))),d=h(k/y);E.push(p(v(d,0))),s=x(n,w,r==o),n=0,++r}++n,++t}return E.join("")}if(i={version:"1.4.1",ucs2:{decode:g,encode:y},decode:E,encode:j,toASCII:function(e){return w(e,function(e){return c.test(e)?"xn--"+j(e):e})},toUnicode:function(e){return w(e,function(e){return d.test(e)?E(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return i});else if(r&&o)if(t.exports==r)o.exports=i;else for(a in i)i.hasOwnProperty(a)&&(r[a]=i[a]);else e.punycode=i}(this)}}},{package:"browserify>url>punycode",file:"node_modules/url/node_modules/punycode/punycode.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/url/url.js",{"punycode/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/url/node_modules/punycode/punycode.js",qs:"/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("punycode/");function o(){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 s=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),d=["%","/","?",";","#"].concat(l),c=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},p={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},_=e("qs");function w(e,t,n){if(e&&"object"==typeof e&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),i=-1!==o&&o<e.indexOf("#")?"?":"#",u=e.split(i);u[0]=u[0].replace(/\\/g,"/");var w=e=u.join(i);if(w=w.trim(),!n&&1===e.split("#").length){var g=a.exec(w);if(g)return this.path=w,this.href=w,this.pathname=g[1],g[2]?(this.search=g[2],this.query=t?_.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var y=s.exec(w);if(y){var k=(y=y[0]).toLowerCase();this.protocol=k,w=w.substr(y.length)}if(n||y||w.match(/^\/\/[^@/]+@[^@/]+/)){var v="//"===w.substr(0,2);!v||y&&p[y]||(w=w.substr(2),this.slashes=!0)}if(!p[y]&&(v||y&&!b[y])){for(var x,E,j=-1,S=0;S<c.length;S++){-1!==(R=w.indexOf(c[S]))&&(-1===j||R<j)&&(j=R)}-1!==(E=-1===j?w.lastIndexOf("@"):w.lastIndexOf("@",j))&&(x=w.slice(0,E),w=w.slice(E+1),this.auth=decodeURIComponent(x)),j=-1;for(S=0;S<d.length;S++){var R;-1!==(R=w.indexOf(d[S]))&&(-1===j||R<j)&&(j=R)}-1===j&&(j=w.length),this.host=w.slice(0,j),w=w.slice(j),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var A=this.hostname.split(/\./),O=(S=0,A.length);S<O;S++){var I=A[S];if(I&&!I.match(m)){for(var P="",M=0,N=I.length;M<N;M++)I.charCodeAt(M)>127?P+="x":P+=I[M];if(!P.match(m)){var C=A.slice(0,S),L=A.slice(S+1),D=I.match(f);D&&(C.push(D[1]),L.unshift(D[2])),L.length&&(w="/"+L.join(".")+w),this.hostname=C.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var U=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+U,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!h[k])for(S=0,O=l.length;S<O;S++){var F=l[S];if(-1!==w.indexOf(F)){var B=encodeURIComponent(F);B===F&&(B=escape(F)),w=w.split(F).join(B)}}var W=w.indexOf("#");-1!==W&&(this.hash=w.substr(W),w=w.slice(0,W));var H=w.indexOf("?");if(-1!==H?(this.search=w.substr(H),this.query=w.substr(H+1),t&&(this.query=_.parse(this.query)),w=w.slice(0,H)):t&&(this.search="",this.query={}),w&&(this.pathname=w),b[k]&&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},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,s="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(s=_.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var i=this.search||s&&"?"+s||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),i&&"?"!==i.charAt(0)&&(i="?"+i),t+o+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(i=i.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(w(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if("string"==typeof e){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),s=0;s<r.length;s++){var i=r[s];n[i]=this[i]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),u=0;u<a.length;u++){var l=a[u];"protocol"!==l&&(n[l]=e[l])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.pathname="/",n.path=n.pathname),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var d=Object.keys(e),c=0;c<d.length;c++){var m=d[c];n[m]=e[m]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||p[e.protocol])n.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),n.pathname=f.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var h=n.pathname||"",_=n.search||"";n.path=h+_}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var w=n.pathname&&"/"===n.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=g||w||n.host&&e.pathname,k=y,v=n.pathname&&n.pathname.split("/")||[],x=(f=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(x&&(n.hostname="",n.port=null,n.host&&(""===v[0]?v[0]=n.host:v.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),y=y&&(""===f[0]||""===v[0])),g)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,v=f;else if(f.length)v||(v=[]),v.pop(),v=v.concat(f),n.search=e.search,n.query=e.query;else if(null!=e.search){if(x)n.host=v.shift(),n.hostname=n.host,(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.hostname=T.shift(),n.host=n.hostname);return n.search=e.search,n.query=e.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!v.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=v.slice(-1)[0],j=(n.host||e.host||v.length>1)&&("."===E||".."===E)||""===E,S=0,R=v.length;R>=0;R--)"."===(E=v[R])?v.splice(R,1):".."===E?(v.splice(R,1),S++):S&&(v.splice(R,1),S--);if(!y&&!k)for(;S--;S)v.unshift("..");!y||""===v[0]||v[0]&&"/"===v[0].charAt(0)||v.unshift(""),j&&"/"!==v.join("/").substr(-1)&&v.push("");var T,A=""===v[0]||v[0]&&"/"===v[0].charAt(0);x&&(n.hostname=A?"":v.length?v.shift():"",n.host=n.hostname,(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.hostname=T.shift(),n.host=n.hostname));return(y=y||n.host&&v.length)&&!A&&v.unshift(""),v.length>0?n.pathname=v.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},n.parse=w,n.resolve=function(e,t){return w(e,!1,!0).resolve(t)},n.resolveObject=function(e,t){return e?w(e,!1,!0).resolveObject(t):t},n.format=function(e){return"string"==typeof e&&(e=w(e)),e instanceof o?e.format():o.prototype.format.call(e)},n.Url=o}}},{package:"browserify>url",file:"node_modules/url/url.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/utf8/utf8.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){!function(e){var t,n,r,o=String.fromCharCode;function s(e){for(var t,n,r=[],o=0,s=e.length;o<s;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<s?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function i(e){if(e>=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}function a(e,t){return o(e>>t&63|128)}function u(e){if(!(4294967168&e))return o(e);var t="";return 4294965248&e?4294901760&e?4292870144&e||(t=o(e>>18&7|240),t+=a(e,12),t+=a(e,6)):(i(e),t=o(e>>12&15|224),t+=a(e,6)):t=o(e>>6&31|192),t+=o(63&e|128)}function l(){if(r>=n)throw Error("Invalid byte index");var e=255&t[r];if(r++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function d(){var e,o;if(r>n)throw Error("Invalid byte index");if(r==n)return!1;if(e=255&t[r],r++,!(128&e))return e;if(192==(224&e)){if((o=(31&e)<<6|l())>=128)return o;throw Error("Invalid continuation byte")}if(224==(240&e)){if((o=(15&e)<<12|l()<<6|l())>=2048)return i(o),o;throw Error("Invalid continuation byte")}if(240==(248&e)&&(o=(7&e)<<18|l()<<12|l()<<6|l())>=65536&&o<=1114111)return o;throw Error("Invalid UTF-8 detected")}e.version="3.0.0",e.encode=function(e){for(var t=s(e),n=t.length,r=-1,o="";++r<n;)o+=u(t[r]);return o},e.decode=function(e){t=s(e),n=t.length,r=0;for(var i,a=[];!1!==(i=d());)a.push(i);return function(e){for(var t,n=e.length,r=-1,s="";++r<n;)(t=e[r])>65535&&(s+=o((t-=65536)>>>10&1023|55296),t=56320|1023&t),s+=o(t);return s}(a)}}(void 0===n?this.utf8={}:n)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>utf8",file:"node_modules/utf8/utf8.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/util-deprecate/browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(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(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}}},{package:"@storybook/react>util-deprecate",file:"node_modules/util-deprecate/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/util/support/isBufferBrowser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/util/support/types.js",{"is-arguments":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-arguments/index.js","is-generator-function":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-generator-function/index.js","is-typed-array":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-typed-array/index.js","which-typed-array":"/home/runner/work/metamask-extension/metamask-extension/node_modules/which-typed-array/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("is-arguments"),o=e("is-generator-function"),s=e("which-typed-array"),i=e("is-typed-array");function a(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,d=a(Object.prototype.toString),c=a(Number.prototype.valueOf),m=a(String.prototype.valueOf),f=a(Boolean.prototype.valueOf);if(u)var h=a(BigInt.prototype.valueOf);if(l)var p=a(Symbol.prototype.valueOf);function b(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function _(e){return"[object Map]"===d(e)}function w(e){return"[object Set]"===d(e)}function g(e){return"[object WeakMap]"===d(e)}function y(e){return"[object WeakSet]"===d(e)}function k(e){return"[object ArrayBuffer]"===d(e)}function v(e){return"undefined"!=typeof ArrayBuffer&&(k.working?k(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===d(e)}function E(e){return"undefined"!=typeof DataView&&(x.working?x(e):e instanceof DataView)}n.isArgumentsObject=r,n.isGeneratorFunction=o,n.isTypedArray=i,n.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},n.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):i(e)||E(e)},n.isUint8Array=function(e){return"Uint8Array"===s(e)},n.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===s(e)},n.isUint16Array=function(e){return"Uint16Array"===s(e)},n.isUint32Array=function(e){return"Uint32Array"===s(e)},n.isInt8Array=function(e){return"Int8Array"===s(e)},n.isInt16Array=function(e){return"Int16Array"===s(e)},n.isInt32Array=function(e){return"Int32Array"===s(e)},n.isFloat32Array=function(e){return"Float32Array"===s(e)},n.isFloat64Array=function(e){return"Float64Array"===s(e)},n.isBigInt64Array=function(e){return"BigInt64Array"===s(e)},n.isBigUint64Array=function(e){return"BigUint64Array"===s(e)},_.working="undefined"!=typeof Map&&_(new Map),n.isMap=function(e){return"undefined"!=typeof Map&&(_.working?_(e):e instanceof Map)},w.working="undefined"!=typeof Set&&w(new Set),n.isSet=function(e){return"undefined"!=typeof Set&&(w.working?w(e):e instanceof Set)},g.working="undefined"!=typeof WeakMap&&g(new WeakMap),n.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(g.working?g(e):e instanceof WeakMap)},y.working="undefined"!=typeof WeakSet&&y(new WeakSet),n.isWeakSet=function(e){return y(e)},k.working="undefined"!=typeof ArrayBuffer&&k(new ArrayBuffer),n.isArrayBuffer=v,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),n.isDataView=E;var j="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:undefined;function S(e){return"[object SharedArrayBuffer]"===d(e)}function R(e){return void 0!==j&&(void 0===S.working&&(S.working=S(new j)),S.working?S(e):e instanceof j)}function T(e){return b(e,c)}function A(e){return b(e,m)}function O(e){return b(e,f)}function I(e){return u&&b(e,h)}function P(e){return l&&b(e,p)}n.isSharedArrayBuffer=R,n.isAsyncFunction=function(e){return"[object AsyncFunction]"===d(e)},n.isMapIterator=function(e){return"[object Map Iterator]"===d(e)},n.isSetIterator=function(e){return"[object Set Iterator]"===d(e)},n.isGeneratorObject=function(e){return"[object Generator]"===d(e)},n.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===d(e)},n.isNumberObject=T,n.isStringObject=A,n.isBooleanObject=O,n.isBigIntObject=I,n.isSymbolObject=P,n.isBoxedPrimitive=function(e){return T(e)||A(e)||O(e)||I(e)||P(e)},n.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(v(e)||R(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(n,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})}}},{package:"browserify>util",file:"node_modules/util/support/types.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/util/util.js",{"./support/isBuffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/util/support/isBufferBrowser.js","./support/types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/util/support/types.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(t){(function(){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},o=/%[sdj%]/g;n.format=function(e){if(!_(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(a(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,s=r.length,i=String(e).replace(o,function(e){if("%%"===e)return"%";if(n>=s)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),u=r[n];n<s;u=r[++n])p(u)||!y(u)?i+=" "+u:i+=" "+a(u);return i},n.deprecate=function(e,r){if(void 0!==t&&!0===t.noDeprecation)return e;if(void 0===t)return function(){return n.deprecate(e,r).apply(this,arguments)};var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(r);t.traceDeprecation?console.trace(r):console.error(r),o=!0}return e.apply(this,arguments)}};var s={},i=/^$/;function a(e,t){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(t)?r.showHidden=t:t&&n._extend(r,t),w(r.showHidden)&&(r.showHidden=!1),w(r.depth)&&(r.depth=2),w(r.colors)&&(r.colors=!1),w(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),d(r,e,r.depth)}function u(e,t){var n=a.styles[t];return n?"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m":e}function l(e,t){return e}function d(e,t,r){if(e.customInspect&&t&&x(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(r,e);return _(o)||(o=d(e,o,r)),o}var s=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(_(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(b(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(p(t))return e.stylize("null","null")}(e,t);if(s)return s;var i=Object.keys(t),a=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),v(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return c(t);if(0===i.length){if(x(t)){var u=t.name?": "+t.name:"";return e.stylize("[Function"+u+"]","special")}if(g(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(v(t))return c(t)}var l,y="",E=!1,j=["{","}"];(f(t)&&(E=!0,j=["[","]"]),x(t))&&(y=" [Function"+(t.name?": "+t.name:"")+"]");return g(t)&&(y=" "+RegExp.prototype.toString.call(t)),k(t)&&(y=" "+Date.prototype.toUTCString.call(t)),v(t)&&(y=" "+c(t)),0!==i.length||E&&0!=t.length?r<0?g(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=E?function(e,t,n,r,o){for(var s=[],i=0,a=t.length;i<a;++i)R(t,String(i))?s.push(m(e,t,n,r,String(i),!0)):s.push("");return o.forEach(function(o){o.match(/^\d+$/)||s.push(m(e,t,n,r,o,!0))}),s}(e,t,r,a,i):i.map(function(n){return m(e,t,r,a,n,E)}),e.seen.pop(),function(e,t,n){var r=e.reduce(function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,y,j)):j[0]+y+j[1]}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,n,r,o,s){var i,a,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?a=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(a=e.stylize("[Setter]","special")),R(r,o)||(i="["+o+"]"),a||(e.seen.indexOf(u.value)<0?(a=p(n)?d(e,u.value,null):d(e,u.value,n-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map(function(e){return"  "+e}).join("\n").slice(2):"\n"+a.split("\n").map(function(e){return"   "+e}).join("\n")):a=e.stylize("[Circular]","special")),w(i)){if(s&&o.match(/^\d+$/))return a;(i=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.slice(1,-1),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+a}function f(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function p(e){return null===e}function b(e){return"number"==typeof e}function _(e){return"string"==typeof e}function w(e){return void 0===e}function g(e){return y(e)&&"[object RegExp]"===E(e)}function y(e){return"object"==typeof e&&null!==e}function k(e){return y(e)&&"[object Date]"===E(e)}function v(e){return y(e)&&("[object Error]"===E(e)||e instanceof Error)}function x(e){return"function"==typeof e}function E(e){return Object.prototype.toString.call(e)}function j(e){return e<10?"0"+e.toString(10):e.toString(10)}n.debuglog=function(e){if(e=e.toUpperCase(),!s[e])if(i.test(e)){var r=t.pid;s[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else s[e]=function(){};return s[e]},n.inspect=a,a.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]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.types=e("./support/types"),n.isArray=f,n.isBoolean=h,n.isNull=p,n.isNullOrUndefined=function(e){return null==e},n.isNumber=b,n.isString=_,n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=w,n.isRegExp=g,n.types.isRegExp=g,n.isObject=y,n.isDate=k,n.types.isDate=k,n.isError=v,n.types.isNativeError=v,n.isFunction=x,n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},n.isBuffer=e("./support/isBuffer");var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.log=function(){var e,t;console.log("%s - %s",(e=new Date,t=[j(e.getHours()),j(e.getMinutes()),j(e.getSeconds())].join(":"),[e.getDate(),S[e.getMonth()],t].join(" ")),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!y(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):undefined;function A(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}n.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),o=[],s=0;s<arguments.length;s++)o.push(arguments[s]);o.push(function(e,r){e?n(e):t(r)});try{e.apply(this,o)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),T&&Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},n.promisify.custom=T,n.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var o=n.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var s=this,i=function(){return o.apply(s,arguments)};e.apply(this,n).then(function(e){t.nextTick(i.bind(null,null,e))},function(e){t.nextTick(A.bind(null,e,i))})}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,r(e)),n}}).call(this)}).call(this,e("_process"))}}},{package:"browserify>util",file:"node_modules/util/util.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/index.js",{"./nil.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/nil.js","./parse.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/parse.js","./stringify.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/stringify.js","./v1.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v1.js","./v3.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v3.js","./v4.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v4.js","./v5.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v5.js","./validate.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/validate.js","./version.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/version.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"v3",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,"v4",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(n,"v5",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(n,"NIL",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(n,"version",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(n,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(n,"parse",{enumerable:!0,get:function(){return c.default}});var r=m(e("./v1.js")),o=m(e("./v3.js")),s=m(e("./v4.js")),i=m(e("./v5.js")),a=m(e("./nil.js")),u=m(e("./version.js")),l=m(e("./validate.js")),d=m(e("./stringify.js")),c=m(e("./parse.js"));function m(e){return e&&e.__esModule?e:{default:e}}}}},{package:"uuid",file:"node_modules/uuid/dist/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/md5-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e){return 14+(e+64>>>9<<4)+1}function o(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function s(e,t,n,r,s,i){return o((a=o(o(t,e),o(r,i)))<<(u=s)|a>>>32-u,n);var a,u}function i(e,t,n,r,o,i,a){return s(t&n|~t&r,e,t,o,i,a)}function a(e,t,n,r,o,i,a){return s(t&r|n&~r,e,t,o,i,a)}function u(e,t,n,r,o,i,a){return s(t^n^r,e,t,o,i,a)}function l(e,t,n,r,o,i,a){return s(n^(t|~r),e,t,o,i,a)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var d=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){const t=[],n=32*e.length,r="0123456789abcdef";for(let o=0;o<n;o+=8){const n=e[o>>5]>>>o%32&255,s=parseInt(r.charAt(n>>>4&15)+r.charAt(15&n),16);t.push(s)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[r(t)-1]=t;let n=1732584193,s=-271733879,d=-1732584194,c=271733878;for(let t=0;t<e.length;t+=16){const r=n,m=s,f=d,h=c;n=i(n,s,d,c,e[t],7,-680876936),c=i(c,n,s,d,e[t+1],12,-389564586),d=i(d,c,n,s,e[t+2],17,606105819),s=i(s,d,c,n,e[t+3],22,-1044525330),n=i(n,s,d,c,e[t+4],7,-176418897),c=i(c,n,s,d,e[t+5],12,1200080426),d=i(d,c,n,s,e[t+6],17,-1473231341),s=i(s,d,c,n,e[t+7],22,-45705983),n=i(n,s,d,c,e[t+8],7,1770035416),c=i(c,n,s,d,e[t+9],12,-1958414417),d=i(d,c,n,s,e[t+10],17,-42063),s=i(s,d,c,n,e[t+11],22,-1990404162),n=i(n,s,d,c,e[t+12],7,1804603682),c=i(c,n,s,d,e[t+13],12,-40341101),d=i(d,c,n,s,e[t+14],17,-1502002290),s=i(s,d,c,n,e[t+15],22,1236535329),n=a(n,s,d,c,e[t+1],5,-165796510),c=a(c,n,s,d,e[t+6],9,-1069501632),d=a(d,c,n,s,e[t+11],14,643717713),s=a(s,d,c,n,e[t],20,-373897302),n=a(n,s,d,c,e[t+5],5,-701558691),c=a(c,n,s,d,e[t+10],9,38016083),d=a(d,c,n,s,e[t+15],14,-660478335),s=a(s,d,c,n,e[t+4],20,-405537848),n=a(n,s,d,c,e[t+9],5,568446438),c=a(c,n,s,d,e[t+14],9,-1019803690),d=a(d,c,n,s,e[t+3],14,-187363961),s=a(s,d,c,n,e[t+8],20,1163531501),n=a(n,s,d,c,e[t+13],5,-1444681467),c=a(c,n,s,d,e[t+2],9,-51403784),d=a(d,c,n,s,e[t+7],14,1735328473),s=a(s,d,c,n,e[t+12],20,-1926607734),n=u(n,s,d,c,e[t+5],4,-378558),c=u(c,n,s,d,e[t+8],11,-2022574463),d=u(d,c,n,s,e[t+11],16,1839030562),s=u(s,d,c,n,e[t+14],23,-35309556),n=u(n,s,d,c,e[t+1],4,-1530992060),c=u(c,n,s,d,e[t+4],11,1272893353),d=u(d,c,n,s,e[t+7],16,-155497632),s=u(s,d,c,n,e[t+10],23,-1094730640),n=u(n,s,d,c,e[t+13],4,681279174),c=u(c,n,s,d,e[t],11,-358537222),d=u(d,c,n,s,e[t+3],16,-722521979),s=u(s,d,c,n,e[t+6],23,76029189),n=u(n,s,d,c,e[t+9],4,-640364487),c=u(c,n,s,d,e[t+12],11,-421815835),d=u(d,c,n,s,e[t+15],16,530742520),s=u(s,d,c,n,e[t+2],23,-995338651),n=l(n,s,d,c,e[t],6,-198630844),c=l(c,n,s,d,e[t+7],10,1126891415),d=l(d,c,n,s,e[t+14],15,-1416354905),s=l(s,d,c,n,e[t+5],21,-57434055),n=l(n,s,d,c,e[t+12],6,1700485571),c=l(c,n,s,d,e[t+3],10,-1894986606),d=l(d,c,n,s,e[t+10],15,-1051523),s=l(s,d,c,n,e[t+1],21,-2054922799),n=l(n,s,d,c,e[t+8],6,1873313359),c=l(c,n,s,d,e[t+15],10,-30611744),d=l(d,c,n,s,e[t+6],15,-1560198380),s=l(s,d,c,n,e[t+13],21,1309151649),n=l(n,s,d,c,e[t+4],6,-145523070),c=l(c,n,s,d,e[t+11],10,-1120210379),d=l(d,c,n,s,e[t+2],15,718787259),s=l(s,d,c,n,e[t+9],21,-343485551),n=o(n,r),s=o(s,m),d=o(d,f),c=o(c,h)}return[n,s,d,c]}(function(e){if(0===e.length)return[];const t=8*e.length,n=new Uint32Array(r(t));for(let r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))};n.default=d}}},{package:"uuid",file:"node_modules/uuid/dist/md5-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/nil.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default="00000000-0000-0000-0000-000000000000"}}},{package:"uuid",file:"node_modules/uuid/dist/nil.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/parse.js",{"./validate.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/validate.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,o=(r=e("./validate.js"))&&r.__esModule?r:{default:r};var s=function(e){if(!(0,o.default)(e))throw TypeError("Invalid UUID");let t;const n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};n.default=s}}},{package:"uuid",file:"node_modules/uuid/dist/parse.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/regex.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.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"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/rng-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){let r;Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){if(!r&&(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)};const o=new Uint8Array(16)}}},{package:"uuid",file:"node_modules/uuid/dist/rng-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/sha1-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function o(e,t){return e<<t|e>>>32-t}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var s=function(e){const t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const s=e.length/4+2,i=Math.ceil(s/16),a=new Array(i);for(let t=0;t<i;++t){const n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];a[t]=n}a[i-1][14]=8*(e.length-1)/Math.pow(2,32),a[i-1][14]=Math.floor(a[i-1][14]),a[i-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<i;++e){const s=new Uint32Array(80);for(let t=0;t<16;++t)s[t]=a[e][t];for(let e=16;e<80;++e)s[e]=o(s[e-3]^s[e-8]^s[e-14]^s[e-16],1);let i=n[0],u=n[1],l=n[2],d=n[3],c=n[4];for(let e=0;e<80;++e){const n=Math.floor(e/20),a=o(i,5)+r(n,u,l,d)+c+t[n]+s[e]>>>0;c=d,d=l,l=o(u,30)>>>0,u=i,i=a}n[0]=n[0]+i>>>0,n[1]=n[1]+u>>>0,n[2]=n[2]+l>>>0,n[3]=n[3]+d>>>0,n[4]=n[4]+c>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]};n.default=s}}},{package:"uuid",file:"node_modules/uuid/dist/sha1-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/stringify.js",{"./validate.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/validate.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,o=(r=e("./validate.js"))&&r.__esModule?r:{default:r};const s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).substr(1));var i=function(e,t=0){const n=(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase();if(!(0,o.default)(n))throw TypeError("Stringified UUID is invalid");return n};n.default=i}}},{package:"uuid",file:"node_modules/uuid/dist/stringify.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v1.js",{"./rng.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/rng-browser.js","./stringify.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/stringify.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=s(e("./rng.js")),o=s(e("./stringify.js"));function s(e){return e&&e.__esModule?e:{default:e}}let i,a,u=0,l=0;var d=function(e,t,n){let s=t&&n||0;const d=t||new Array(16);let c=(e=e||{}).node||i,m=e.clockseq!==undefined?e.clockseq:a;if(null==c||null==m){const t=e.random||(e.rng||r.default)();null==c&&(c=i=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==m&&(m=a=16383&(t[6]<<8|t[7]))}let f=e.msecs!==undefined?e.msecs:Date.now(),h=e.nsecs!==undefined?e.nsecs:l+1;const p=f-u+(h-l)/1e4;if(p<0&&e.clockseq===undefined&&(m=m+1&16383),(p<0||f>u)&&e.nsecs===undefined&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=f,l=h,a=m,f+=122192928e5;const b=(1e4*(268435455&f)+h)%4294967296;d[s++]=b>>>24&255,d[s++]=b>>>16&255,d[s++]=b>>>8&255,d[s++]=255&b;const _=f/4294967296*1e4&268435455;d[s++]=_>>>8&255,d[s++]=255&_,d[s++]=_>>>24&15|16,d[s++]=_>>>16&255,d[s++]=m>>>8|128,d[s++]=255&m;for(let e=0;e<6;++e)d[s+e]=c[e];return t||(0,o.default)(d)};n.default=d}}},{package:"uuid",file:"node_modules/uuid/dist/v1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v3.js",{"./md5.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/md5-browser.js","./v35.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v35.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=s(e("./v35.js")),o=s(e("./md5.js"));function s(e){return e&&e.__esModule?e:{default:e}}var i=(0,r.default)("v3",48,o.default);n.default=i}}},{package:"uuid",file:"node_modules/uuid/dist/v3.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v35.js",{"./parse.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/parse.js","./stringify.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/stringify.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){function s(e,s,i,a){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof s&&(s=(0,o.default)(s)),16!==s.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let u=new Uint8Array(16+e.length);if(u.set(s),u.set(e,s.length),u=n(u),u[6]=15&u[6]|t,u[8]=63&u[8]|128,i){a=a||0;for(let e=0;e<16;++e)i[a+e]=u[e];return i}return(0,r.default)(u)}try{s.name=e}catch(e){}return s.DNS=i,s.URL=a,s},n.URL=n.DNS=void 0;var r=s(e("./stringify.js")),o=s(e("./parse.js"));function s(e){return e&&e.__esModule?e:{default:e}}const i="6ba7b810-9dad-11d1-80b4-00c04fd430c8";n.DNS=i;const a="6ba7b811-9dad-11d1-80b4-00c04fd430c8";n.URL=a}}},{package:"uuid",file:"node_modules/uuid/dist/v35.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v4.js",{"./rng.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/rng-browser.js","./stringify.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/stringify.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=s(e("./rng.js")),o=s(e("./stringify.js"));function s(e){return e&&e.__esModule?e:{default:e}}var i=function(e,t,n){const s=(e=e||{}).random||(e.rng||r.default)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=s[e];return t}return(0,o.default)(s)};n.default=i}}},{package:"uuid",file:"node_modules/uuid/dist/v4.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v5.js",{"./sha1.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/sha1-browser.js","./v35.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v35.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=s(e("./v35.js")),o=s(e("./sha1.js"));function s(e){return e&&e.__esModule?e:{default:e}}var i=(0,r.default)("v5",80,o.default);n.default=i}}},{package:"uuid",file:"node_modules/uuid/dist/v5.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/validate.js",{"./regex.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/regex.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,o=(r=e("./regex.js"))&&r.__esModule?r:{default:r};var s=function(e){return"string"==typeof e&&o.default.test(e)};n.default=s}}},{package:"uuid",file:"node_modules/uuid/dist/validate.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/version.js",{"./validate.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/validate.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,o=(r=e("./validate.js"))&&r.__esModule?r:{default:r};var s=function(e){if(!(0,o.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};n.default=s}}},{package:"uuid",file:"node_modules/uuid/dist/version.js"}]],[],{});