LavaPack.loadBundle([["/home/runner/work/metamask-extension/metamask-extension/node_modules/react-router-dom/dist/umd/react-router-dom.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","react-dom":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react-dom/index.js","react-router":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react-router/dist/main.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){
/**
 * React Router DOM 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("react-dom"),e("react-router"),e("@remix-run/router")):"function"==typeof define&&define.amd?define(["exports","react","react-dom","react-router","@remix-run/router"],o):o((r="undefined"!=typeof globalThis?globalThis:r||self).ReactRouterDOM={},r.React,r.ReactDOM,r.ReactRouter,r.RemixRouter)}(this,function(e,t,n,r,o){function s(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 a=s(t),i=s(n);function u(){return u=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},u.apply(null,arguments)}function l(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}const c="get",d="application/x-www-form-urlencoded";function m(e){return null!=e&&"string"==typeof e.tagName}function f(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}let h=null;const p=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function b(e){return null==e||p.has(e)?e:(o.UNSAFE_warning(!1,'"'+e+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` and will default to "'+d+'"'),null)}function g(e,t){let n,r,s,a,i;if(m(u=e)&&"form"===u.tagName.toLowerCase()){let i=e.getAttribute("action");r=i?o.stripBasename(i,t):null,n=e.getAttribute("method")||c,s=b(e.getAttribute("enctype"))||d,a=new FormData(e)}else if(function(e){return m(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return m(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||i.getAttribute("action");if(r=u?o.stripBasename(u,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||c,s=b(e.getAttribute("formenctype"))||b(i.getAttribute("enctype"))||d,a=new FormData(i,e),!function(){if(null===h)try{new FormData(document.createElement("form"),0),h=!1}catch(e){h=!0}return h}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?t+".":"";a.append(e+"x","0"),a.append(e+"y","0")}else t&&a.append(t,r)}}else{if(m(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=c,r=null,s=d,i=e}var u;return a&&"text/plain"===s&&(i=a,a=undefined),{action:r,method:n.toLowerCase(),encType:s,formData:a,body:i}}const y=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],_=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],w=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function k(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=u({},t,{errors:v(t.errors)})),t}function v(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&"RouteErrorResponse"===r.__type)n[e]=new o.UNSAFE_ErrorResponseImpl(r.status,r.statusText,r.data,!0===r.internal);else if(r&&"Error"===r.__type){if(r.__subType){let t=window[r.__subType];if("function"==typeof t)try{let o=new t(r.message);o.stack="",n[e]=o}catch(e){}}if(null==n[e]){let t=new Error(r.message);t.stack="",n[e]=t}}else n[e]=r;return n}const x=a.createContext({isTransitioning:!1});x.displayName="ViewTransition";const E=a.createContext(new Map);E.displayName="Fetchers";const j=a.startTransition,S=i.flushSync,A=a.useId;function R(e){S?S(e):e()}class T{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}const O=a.memo(P);function P(e){let{routes:t,future:n,state:o}=e;return r.UNSAFE_useRoutesImpl(t,undefined,o,n)}function N(e){let{basename:t,children:n,future:o,history:s}=e,[i,u]=a.useState({action:s.action,location:s.location}),{v7_startTransition:l}=o||{},c=a.useCallback(e=>{l&&j?j(()=>u(e)):u(e)},[u,l]);return a.useLayoutEffect(()=>s.listen(c),[s,c]),a.useEffect(()=>r.UNSAFE_logV6DeprecationWarnings(o),[o]),a.createElement(r.Router,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:s,future:o})}N.displayName="unstable_HistoryRouter";const I="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,M=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,L=a.forwardRef(function(e,t){let n,{onClick:s,relative:i,reloadDocument:c,replace:d,state:m,target:f,to:h,preventScrollReset:p,viewTransition:b}=e,g=l(e,y),{basename:_}=a.useContext(r.UNSAFE_NavigationContext),w=!1;if("string"==typeof h&&M.test(h)&&(n=h,I))try{let e=new URL(window.location.href),t=h.startsWith("//")?new URL(e.protocol+h):new URL(h),n=o.stripBasename(t.pathname,_);t.origin===e.origin&&null!=n?h=n+t.search+t.hash:w=!0}catch(e){o.UNSAFE_warning(!1,'<Link to="'+h+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let k=r.useHref(h,{relative:i}),v=V(h,{replace:d,state:m,target:f,preventScrollReset:p,relative:i,viewTransition:b});return a.createElement("a",u({},g,{href:n||k,onClick:w||c?s:function(e){s&&s(e),e.defaultPrevented||v(e)},ref:t,target:f}))});L.displayName="Link";const C=a.forwardRef(function(e,t){let{"aria-current":n="page",caseSensitive:s=!1,className:i="",end:c=!1,style:d,to:m,viewTransition:f,children:h}=e,p=l(e,_),b=r.useResolvedPath(m,{relative:p.relative}),g=r.useLocation(),y=a.useContext(r.UNSAFE_DataRouterStateContext),{navigator:w,basename:k}=a.useContext(r.UNSAFE_NavigationContext),v=null!=y&&Z(b)&&!0===f,x=w.encodeLocation?w.encodeLocation(b).pathname:b.pathname,E=g.pathname,j=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;s||(E=E.toLowerCase(),j=j?j.toLowerCase():null,x=x.toLowerCase()),j&&k&&(j=o.stripBasename(j,k)||j);const S="/"!==x&&x.endsWith("/")?x.length-1:x.length;let A,R=E===x||!c&&E.startsWith(x)&&"/"===E.charAt(S),T=null!=j&&(j===x||!c&&j.startsWith(x)&&"/"===j.charAt(x.length)),O={isActive:R,isPending:T,isTransitioning:v},P=R?n:undefined;A="function"==typeof i?i(O):[i,R?"active":null,T?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let N="function"==typeof d?d(O):d;return a.createElement(L,u({},p,{"aria-current":P,className:A,ref:t,style:N,to:m,viewTransition:f}),"function"==typeof h?h(O):h)});C.displayName="NavLink";const D=a.forwardRef((e,t)=>{let{fetcherKey:n,navigate:r,reloadDocument:o,replace:s,state:i,method:d=c,action:m,onSubmit:f,relative:h,preventScrollReset:p,viewTransition:b}=e,g=l(e,w),y=z(),_=K(m,{relative:h}),k="get"===d.toLowerCase()?"get":"post";return a.createElement("form",u({ref:t,method:k,action:_,onSubmit:o?f:e=>{if(f&&f(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,o=(null==t?void 0:t.getAttribute("formmethod"))||d;y(t||e.currentTarget,{fetcherKey:n,method:o,navigate:r,replace:s,state:i,relative:h,preventScrollReset:p,viewTransition:b})}},g))});function U(e){let{getKey:t,storageKey:n}=e;return J({getKey:t,storageKey:n}),null}D.displayName="Form",U.displayName="ScrollRestoration";var F=function(e){return e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState",e}(F||{}),B=function(e){return e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration",e}(B||{});function $(e){return e+" must be used within a data router.  See https://reactrouter.com/v6/routers/picking-a-router."}function W(e){let t=a.useContext(r.UNSAFE_DataRouterContext);return t||o.UNSAFE_invariant(!1,$(e)),t}function H(e){let t=a.useContext(r.UNSAFE_DataRouterStateContext);return t||o.UNSAFE_invariant(!1,$(e)),t}function V(e,t){let{target:n,replace:o,state:s,preventScrollReset:i,relative:u,viewTransition:l}=void 0===t?{}:t,c=r.useNavigate(),d=r.useLocation(),m=r.useResolvedPath(e,{relative:u});return a.useCallback(t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=o!==undefined?o:r.createPath(d)===r.createPath(m);c(e,{replace:n,state:s,preventScrollReset:i,relative:u,viewTransition:l})}},[d,c,m,o,s,n,e,i,u,l])}let q=0,G=()=>"__"+String(++q)+"__";function z(){let{router:e}=W(F.UseSubmit),{basename:t}=a.useContext(r.UNSAFE_NavigationContext),n=r.UNSAFE_useRouteId();return a.useCallback(function(r,o){void 0===o&&(o={}),function(){if("undefined"==typeof document)throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}();let{action:s,method:a,encType:i,formData:u,body:l}=g(r,t);if(!1===o.navigate){let t=o.fetcherKey||G();e.fetch(t,n,o.action||s,{preventScrollReset:o.preventScrollReset,formData:u,body:l,formMethod:o.method||a,formEncType:o.encType||i,flushSync:o.flushSync})}else e.navigate(o.action||s,{preventScrollReset:o.preventScrollReset,formData:u,body:l,formMethod:o.method||a,formEncType:o.encType||i,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[e,t,n])}function K(e,t){let{relative:n}=void 0===t?{}:t,{basename:s}=a.useContext(r.UNSAFE_NavigationContext),i=a.useContext(r.UNSAFE_RouteContext);i||o.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[l]=i.matches.slice(-1),c=u({},r.useResolvedPath(e||".",{relative:n})),d=r.useLocation();if(null==e){c.search=d.search;let e=new URLSearchParams(c.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();c.search=n?"?"+n:""}}return e&&"."!==e||!l.route.index||(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),"/"!==s&&(c.pathname="/"===c.pathname?s:o.joinPaths([s,c.pathname])),r.createPath(c)}const Y="react-router-scroll-positions";let X={};function J(e){let{getKey:t,storageKey:n}=void 0===e?{}:e,{router:s}=W(F.UseScrollRestoration),{restoreScrollPosition:i,preventScrollReset:l}=H(B.UseScrollRestoration),{basename:c}=a.useContext(r.UNSAFE_NavigationContext),d=r.useLocation(),m=r.useMatches(),f=r.useNavigation();a.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),function(e,t){let{capture:n}=t||{};a.useEffect(()=>{let t=null!=n?{capture:n}:undefined;return window.addEventListener("pagehide",e,t),()=>{window.removeEventListener("pagehide",e,t)}},[e,n])}(a.useCallback(()=>{if("idle"===f.state){let e=(t?t(d,m):null)||d.key;X[e]=window.scrollY}try{sessionStorage.setItem(n||Y,JSON.stringify(X))}catch(e){o.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+e+").")}window.history.scrollRestoration="auto"},[n,t,f.state,d,m])),"undefined"!=typeof document&&(a.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(n||Y);e&&(X=JSON.parse(e))}catch(e){}},[n]),a.useLayoutEffect(()=>{let e=t&&"/"!==c?(e,n)=>t(u({},e,{pathname:o.stripBasename(e.pathname,c)||e.pathname}),n):t,n=null==s?void 0:s.enableScrollRestoration(X,()=>window.scrollY,e);return()=>n&&n()},[s,c,t]),a.useLayoutEffect(()=>{if(!1!==i)if("number"!=typeof i){if(d.hash){let e=document.getElementById(decodeURIComponent(d.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==l&&window.scrollTo(0,0)}else window.scrollTo(0,i)},[d,i,l]))}function Z(e,t){void 0===t&&(t={});let n=a.useContext(x);null==n&&o.UNSAFE_invariant(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=W(F.useViewTransitionState),i=r.useResolvedPath(e,{relative:t.relative});if(!n.isTransitioning)return!1;let u=o.stripBasename(n.currentLocation.pathname,s)||n.currentLocation.pathname,l=o.stripBasename(n.nextLocation.pathname,s)||n.nextLocation.pathname;return null!=o.matchPath(i.pathname,l)||null!=o.matchPath(i.pathname,u)}Object.defineProperty(e,"AbortedDeferredError",{enumerable:!0,get:function(){return r.AbortedDeferredError}}),Object.defineProperty(e,"Await",{enumerable:!0,get:function(){return r.Await}}),Object.defineProperty(e,"MemoryRouter",{enumerable:!0,get:function(){return r.MemoryRouter}}),Object.defineProperty(e,"Navigate",{enumerable:!0,get:function(){return r.Navigate}}),Object.defineProperty(e,"NavigationType",{enumerable:!0,get:function(){return r.NavigationType}}),Object.defineProperty(e,"Outlet",{enumerable:!0,get:function(){return r.Outlet}}),Object.defineProperty(e,"Route",{enumerable:!0,get:function(){return r.Route}}),Object.defineProperty(e,"Router",{enumerable:!0,get:function(){return r.Router}}),Object.defineProperty(e,"Routes",{enumerable:!0,get:function(){return r.Routes}}),Object.defineProperty(e,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return r.UNSAFE_DataRouterContext}}),Object.defineProperty(e,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return r.UNSAFE_DataRouterStateContext}}),Object.defineProperty(e,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return r.UNSAFE_LocationContext}}),Object.defineProperty(e,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return r.UNSAFE_NavigationContext}}),Object.defineProperty(e,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return r.UNSAFE_RouteContext}}),Object.defineProperty(e,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return r.UNSAFE_useRouteId}}),Object.defineProperty(e,"createMemoryRouter",{enumerable:!0,get:function(){return r.createMemoryRouter}}),Object.defineProperty(e,"createPath",{enumerable:!0,get:function(){return r.createPath}}),Object.defineProperty(e,"createRoutesFromChildren",{enumerable:!0,get:function(){return r.createRoutesFromChildren}}),Object.defineProperty(e,"createRoutesFromElements",{enumerable:!0,get:function(){return r.createRoutesFromElements}}),Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return r.defer}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return r.generatePath}}),Object.defineProperty(e,"isRouteErrorResponse",{enumerable:!0,get:function(){return r.isRouteErrorResponse}}),Object.defineProperty(e,"json",{enumerable:!0,get:function(){return r.json}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return r.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return r.matchRoutes}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return r.parsePath}}),Object.defineProperty(e,"redirect",{enumerable:!0,get:function(){return r.redirect}}),Object.defineProperty(e,"redirectDocument",{enumerable:!0,get:function(){return r.redirectDocument}}),Object.defineProperty(e,"renderMatches",{enumerable:!0,get:function(){return r.renderMatches}}),Object.defineProperty(e,"replace",{enumerable:!0,get:function(){return r.replace}}),Object.defineProperty(e,"resolvePath",{enumerable:!0,get:function(){return r.resolvePath}}),Object.defineProperty(e,"useActionData",{enumerable:!0,get:function(){return r.useActionData}}),Object.defineProperty(e,"useAsyncError",{enumerable:!0,get:function(){return r.useAsyncError}}),Object.defineProperty(e,"useAsyncValue",{enumerable:!0,get:function(){return r.useAsyncValue}}),Object.defineProperty(e,"useBlocker",{enumerable:!0,get:function(){return r.useBlocker}}),Object.defineProperty(e,"useHref",{enumerable:!0,get:function(){return r.useHref}}),Object.defineProperty(e,"useInRouterContext",{enumerable:!0,get:function(){return r.useInRouterContext}}),Object.defineProperty(e,"useLoaderData",{enumerable:!0,get:function(){return r.useLoaderData}}),Object.defineProperty(e,"useLocation",{enumerable:!0,get:function(){return r.useLocation}}),Object.defineProperty(e,"useMatch",{enumerable:!0,get:function(){return r.useMatch}}),Object.defineProperty(e,"useMatches",{enumerable:!0,get:function(){return r.useMatches}}),Object.defineProperty(e,"useNavigate",{enumerable:!0,get:function(){return r.useNavigate}}),Object.defineProperty(e,"useNavigation",{enumerable:!0,get:function(){return r.useNavigation}}),Object.defineProperty(e,"useNavigationType",{enumerable:!0,get:function(){return r.useNavigationType}}),Object.defineProperty(e,"useOutlet",{enumerable:!0,get:function(){return r.useOutlet}}),Object.defineProperty(e,"useOutletContext",{enumerable:!0,get:function(){return r.useOutletContext}}),Object.defineProperty(e,"useParams",{enumerable:!0,get:function(){return r.useParams}}),Object.defineProperty(e,"useResolvedPath",{enumerable:!0,get:function(){return r.useResolvedPath}}),Object.defineProperty(e,"useRevalidator",{enumerable:!0,get:function(){return r.useRevalidator}}),Object.defineProperty(e,"useRouteError",{enumerable:!0,get:function(){return r.useRouteError}}),Object.defineProperty(e,"useRouteLoaderData",{enumerable:!0,get:function(){return r.useRouteLoaderData}}),Object.defineProperty(e,"useRoutes",{enumerable:!0,get:function(){return r.useRoutes}}),Object.defineProperty(e,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return o.UNSAFE_ErrorResponseImpl}}),e.BrowserRouter=function(e){let{basename:t,children:n,future:s,window:i}=e,u=a.useRef();null==u.current&&(u.current=o.createBrowserHistory({window:i,v5Compat:!0}));let l=u.current,[c,d]=a.useState({action:l.action,location:l.location}),{v7_startTransition:m}=s||{},f=a.useCallback(e=>{m&&j?j(()=>d(e)):d(e)},[d,m]);return a.useLayoutEffect(()=>l.listen(f),[l,f]),a.useEffect(()=>r.UNSAFE_logV6DeprecationWarnings(s),[s]),a.createElement(r.Router,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:l,future:s})},e.Form=D,e.HashRouter=function(e){let{basename:t,children:n,future:s,window:i}=e,u=a.useRef();null==u.current&&(u.current=o.createHashHistory({window:i,v5Compat:!0}));let l=u.current,[c,d]=a.useState({action:l.action,location:l.location}),{v7_startTransition:m}=s||{},f=a.useCallback(e=>{m&&j?j(()=>d(e)):d(e)},[d,m]);return a.useLayoutEffect(()=>l.listen(f),[l,f]),a.useEffect(()=>r.UNSAFE_logV6DeprecationWarnings(s),[s]),a.createElement(r.Router,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:l,future:s})},e.Link=L,e.NavLink=C,e.RouterProvider=function(e){let{fallbackElement:t,router:n,future:s}=e,[i,u]=a.useState(n.state),[l,c]=a.useState(),[d,m]=a.useState({isTransitioning:!1}),[f,h]=a.useState(),[p,b]=a.useState(),[g,y]=a.useState(),_=a.useRef(new Map),{v7_startTransition:w}=s||{},k=a.useCallback(e=>{w?function(e){j?j(e):e()}(e):e()},[w]),v=a.useCallback((e,t)=>{let{deletedFetchers:r,flushSync:o,viewTransitionOpts:s}=t;e.fetchers.forEach((e,t)=>{e.data!==undefined&&_.current.set(t,e.data)}),r.forEach(e=>_.current.delete(e));let a=null==n.window||null==n.window.document||"function"!=typeof n.window.document.startViewTransition;if(s&&!a){if(o){R(()=>{p&&(f&&f.resolve(),p.skipTransition()),m({isTransitioning:!0,flushSync:!0,currentLocation:s.currentLocation,nextLocation:s.nextLocation})});let t=n.window.document.startViewTransition(()=>{R(()=>u(e))});return t.finished.finally(()=>{R(()=>{h(undefined),b(undefined),c(undefined),m({isTransitioning:!1})})}),void R(()=>b(t))}p?(f&&f.resolve(),p.skipTransition(),y({state:e,currentLocation:s.currentLocation,nextLocation:s.nextLocation})):(c(e),m({isTransitioning:!0,flushSync:!1,currentLocation:s.currentLocation,nextLocation:s.nextLocation}))}else o?R(()=>u(e)):k(()=>u(e))},[n.window,p,f,_,k]);a.useLayoutEffect(()=>n.subscribe(v),[n,v]),a.useEffect(()=>{d.isTransitioning&&!d.flushSync&&h(new T)},[d]),a.useEffect(()=>{if(f&&l&&n.window){let e=l,t=f.promise,r=n.window.document.startViewTransition(async()=>{k(()=>u(e)),await t});r.finished.finally(()=>{h(undefined),b(undefined),c(undefined),m({isTransitioning:!1})}),b(r)}},[k,l,f,n.window]),a.useEffect(()=>{f&&l&&i.location.key===l.location.key&&f.resolve()},[f,p,i.location,l]),a.useEffect(()=>{!d.isTransitioning&&g&&(c(g.state),m({isTransitioning:!0,flushSync:!1,currentLocation:g.currentLocation,nextLocation:g.nextLocation}),y(undefined))},[d.isTransitioning,g]),a.useEffect(()=>{o.UNSAFE_warning(null==t||!n.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let S=a.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]),A=n.basename||"/",P=a.useMemo(()=>({router:n,navigator:S,static:!1,basename:A}),[n,S,A]),N=a.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return a.useEffect(()=>r.UNSAFE_logV6DeprecationWarnings(s,n.future),[s,n.future]),a.createElement(a.Fragment,null,a.createElement(r.UNSAFE_DataRouterContext.Provider,{value:P},a.createElement(r.UNSAFE_DataRouterStateContext.Provider,{value:i},a.createElement(E.Provider,{value:_.current},a.createElement(x.Provider,{value:d},a.createElement(r.Router,{basename:A,location:i.location,navigationType:i.historyAction,navigator:S,future:N},i.initialized||n.future.v7_partialHydration?a.createElement(O,{routes:n.routes,future:n.future,state:i}):t))))),null)},e.ScrollRestoration=U,e.UNSAFE_FetchersContext=E,e.UNSAFE_ViewTransitionContext=x,e.UNSAFE_useScrollRestoration=J,e.createBrowserRouter=function(e,t){return o.createRouter({basename:null==t?void 0:t.basename,future:u({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:o.createBrowserHistory({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||k(),routes:e,mapRouteProperties:r.UNSAFE_mapRouteProperties,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()},e.createHashRouter=function(e,t){return o.createRouter({basename:null==t?void 0:t.basename,future:u({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:o.createHashHistory({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||k(),routes:e,mapRouteProperties:r.UNSAFE_mapRouteProperties,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()},e.createSearchParams=f,e.unstable_HistoryRouter=N,e.unstable_usePrompt=function(e){let{when:t,message:n}=e,o=r.useBlocker(t);a.useEffect(()=>{if("blocked"===o.state){window.confirm(n)?setTimeout(o.proceed,0):o.reset()}},[o,n]),a.useEffect(()=>{"blocked"!==o.state||t||o.reset()},[o,t])},e.useBeforeUnload=function(e,t){let{capture:n}=t||{};a.useEffect(()=>{let t=null!=n?{capture:n}:undefined;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}},[e,n])},e.useFetcher=function(e){var t;let{key:n}=void 0===e?{}:e,{router:s}=W(F.UseFetcher),i=H(B.UseFetcher),l=a.useContext(E),c=a.useContext(r.UNSAFE_RouteContext),d=null==(t=c.matches[c.matches.length-1])?void 0:t.route.id;l||o.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),c||o.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),null==d&&o.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let m=A?A():"",[f,h]=a.useState(n||m);n&&n!==f?h(n):f||h(G()),a.useEffect(()=>(s.getFetcher(f),()=>{s.deleteFetcher(f)}),[s,f]);let p=a.useCallback((e,t)=>{d||o.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),s.fetch(f,d,e,t)},[f,d,s]),b=z(),g=a.useCallback((e,t)=>{b(e,u({},t,{navigate:!1,fetcherKey:f}))},[f,b]),y=a.useMemo(()=>{let e=a.forwardRef((e,t)=>a.createElement(D,u({},e,{navigate:!1,fetcherKey:f,ref:t})));return e.displayName="fetcher.Form",e},[f]),_=i.fetchers.get(f)||o.IDLE_FETCHER,w=l.get(f);return a.useMemo(()=>u({Form:y,submit:g,load:p},_,{data:w}),[y,g,p,_,w])},e.useFetchers=function(){let e=H(B.UseFetchers);return Array.from(e.fetchers.entries()).map(e=>{let[t,n]=e;return u({},n,{key:t})})},e.useFormAction=K,e.useLinkClickHandler=V,e.useSearchParams=function(e){o.UNSAFE_warning("undefined"!=typeof URLSearchParams,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=a.useRef(f(e)),n=a.useRef(!1),s=r.useLocation(),i=a.useMemo(()=>function(e,t){let n=f(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(s.search,n.current?null:t.current),[s.search]),u=r.useNavigate(),l=a.useCallback((e,t)=>{const r=f("function"==typeof e?e(i):e);n.current=!0,u("?"+r,t)},[u,i]);return[i,l]},e.useSubmit=z,e.useViewTransitionState=Z,Object.defineProperty(e,"__esModule",{value:!0})})}}},{package:"react-router-dom",file:"node_modules/react-router-dom/dist/umd/react-router-dom.development.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react-router-dom/dist/umd/react-router-dom.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","react-dom":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react-dom/index.js","react-router":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react-router/dist/main.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,r,o){function s(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 a=s(t),i=s(n);function u(){return u=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},u.apply(null,arguments)}function l(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}const c="get",d="application/x-www-form-urlencoded";function m(e){return null!=e&&"string"==typeof e.tagName}function f(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}let h=null;const p=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function b(e){return null==e||p.has(e)?e:null}function g(e,t){let n,r,s,a,i;if(m(u=e)&&"form"===u.tagName.toLowerCase()){let i=e.getAttribute("action");r=i?o.stripBasename(i,t):null,n=e.getAttribute("method")||c,s=b(e.getAttribute("enctype"))||d,a=new FormData(e)}else if(function(e){return m(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return m(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||i.getAttribute("action");if(r=u?o.stripBasename(u,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||c,s=b(e.getAttribute("formenctype"))||b(i.getAttribute("enctype"))||d,a=new FormData(i,e),!function(){if(null===h)try{new FormData(document.createElement("form"),0),h=!1}catch(e){h=!0}return h}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?t+".":"";a.append(e+"x","0"),a.append(e+"y","0")}else t&&a.append(t,r)}}else{if(m(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=c,r=null,s=d,i=e}var u;return a&&"text/plain"===s&&(i=a,a=void 0),{action:r,method:n.toLowerCase(),encType:s,formData:a,body:i}}const y=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],_=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],w=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function k(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=u({},t,{errors:v(t.errors)})),t}function v(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,s]of t)if(s&&"RouteErrorResponse"===s.__type)n[r]=new o.UNSAFE_ErrorResponseImpl(s.status,s.statusText,s.data,!0===s.internal);else if(s&&"Error"===s.__type){if(s.__subType){let t=window[s.__subType];if("function"==typeof t)try{let e=new t(s.message);e.stack="",n[r]=e}catch(e){}}if(null==n[r]){let e=new Error(s.message);e.stack="",n[r]=e}}else n[r]=s;return n}const x=a.createContext({isTransitioning:!1}),E=a.createContext(new Map),j=a.startTransition,S=i.flushSync,A=a.useId;function R(e){S?S(e):e()}class T{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}const O=a.memo(function(e){let{routes:t,future:n,state:o}=e;return r.UNSAFE_useRoutesImpl(t,void 0,o,n)}),P="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,N=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,I=a.forwardRef(function(e,t){let n,{onClick:s,relative:i,reloadDocument:c,replace:d,state:m,target:f,to:h,preventScrollReset:p,viewTransition:b}=e,g=l(e,y),{basename:_}=a.useContext(r.UNSAFE_NavigationContext),w=!1;if("string"==typeof h&&N.test(h)&&(n=h,P))try{let e=new URL(window.location.href),t=h.startsWith("//")?new URL(e.protocol+h):new URL(h),n=o.stripBasename(t.pathname,_);t.origin===e.origin&&null!=n?h=n+t.search+t.hash:w=!0}catch(e){}let k=r.useHref(h,{relative:i}),v=B(h,{replace:d,state:m,target:f,preventScrollReset:p,relative:i,viewTransition:b});return a.createElement("a",u({},g,{href:n||k,onClick:w||c?s:function(e){s&&s(e),e.defaultPrevented||v(e)},ref:t,target:f}))}),M=a.forwardRef(function(e,t){let{"aria-current":n="page",caseSensitive:s=!1,className:i="",end:c=!1,style:d,to:m,viewTransition:f,children:h}=e,p=l(e,_),b=r.useResolvedPath(m,{relative:p.relative}),g=r.useLocation(),y=a.useContext(r.UNSAFE_DataRouterStateContext),{navigator:w,basename:k}=a.useContext(r.UNSAFE_NavigationContext),v=null!=y&&K(b)&&!0===f,x=w.encodeLocation?w.encodeLocation(b).pathname:b.pathname,E=g.pathname,j=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;s||(E=E.toLowerCase(),j=j?j.toLowerCase():null,x=x.toLowerCase()),j&&k&&(j=o.stripBasename(j,k)||j);const S="/"!==x&&x.endsWith("/")?x.length-1:x.length;let A,R=E===x||!c&&E.startsWith(x)&&"/"===E.charAt(S),T=null!=j&&(j===x||!c&&j.startsWith(x)&&"/"===j.charAt(x.length)),O={isActive:R,isPending:T,isTransitioning:v},P=R?n:void 0;A="function"==typeof i?i(O):[i,R?"active":null,T?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let N="function"==typeof d?d(O):d;return a.createElement(I,u({},p,{"aria-current":P,className:A,ref:t,style:N,to:m,viewTransition:f}),"function"==typeof h?h(O):h)}),L=a.forwardRef((e,t)=>{let{fetcherKey:n,navigate:r,reloadDocument:o,replace:s,state:i,method:d=c,action:m,onSubmit:f,relative:h,preventScrollReset:p,viewTransition:b}=e,g=l(e,w),y=H(),_=V(m,{relative:h}),k="get"===d.toLowerCase()?"get":"post";return a.createElement("form",u({ref:t,method:k,action:_,onSubmit:o?f:e=>{if(f&&f(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,o=(null==t?void 0:t.getAttribute("formmethod"))||d;y(t||e.currentTarget,{fetcherKey:n,method:o,navigate:r,replace:s,state:i,relative:h,preventScrollReset:p,viewTransition:b})}},g))});var C=function(e){return e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState",e}(C||{}),D=function(e){return e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration",e}(D||{});function U(e){let t=a.useContext(r.UNSAFE_DataRouterContext);return t||o.UNSAFE_invariant(!1),t}function F(e){let t=a.useContext(r.UNSAFE_DataRouterStateContext);return t||o.UNSAFE_invariant(!1),t}function B(e,t){let{target:n,replace:o,state:s,preventScrollReset:i,relative:u,viewTransition:l}=void 0===t?{}:t,c=r.useNavigate(),d=r.useLocation(),m=r.useResolvedPath(e,{relative:u});return a.useCallback(t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==o?o:r.createPath(d)===r.createPath(m);c(e,{replace:n,state:s,preventScrollReset:i,relative:u,viewTransition:l})}},[d,c,m,o,s,n,e,i,u,l])}let $=0,W=()=>"__"+String(++$)+"__";function H(){let{router:e}=U(C.UseSubmit),{basename:t}=a.useContext(r.UNSAFE_NavigationContext),n=r.UNSAFE_useRouteId();return a.useCallback(function(r,o){void 0===o&&(o={}),function(){if("undefined"==typeof document)throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}();let{action:s,method:a,encType:i,formData:u,body:l}=g(r,t);if(!1===o.navigate){let t=o.fetcherKey||W();e.fetch(t,n,o.action||s,{preventScrollReset:o.preventScrollReset,formData:u,body:l,formMethod:o.method||a,formEncType:o.encType||i,flushSync:o.flushSync})}else e.navigate(o.action||s,{preventScrollReset:o.preventScrollReset,formData:u,body:l,formMethod:o.method||a,formEncType:o.encType||i,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[e,t,n])}function V(e,t){let{relative:n}=void 0===t?{}:t,{basename:s}=a.useContext(r.UNSAFE_NavigationContext),i=a.useContext(r.UNSAFE_RouteContext);i||o.UNSAFE_invariant(!1);let[l]=i.matches.slice(-1),c=u({},r.useResolvedPath(e||".",{relative:n})),d=r.useLocation();if(null==e){c.search=d.search;let e=new URLSearchParams(c.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();c.search=n?"?"+n:""}}return e&&"."!==e||!l.route.index||(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),"/"!==s&&(c.pathname="/"===c.pathname?s:o.joinPaths([s,c.pathname])),r.createPath(c)}const q="react-router-scroll-positions";let G={};function z(e){let{getKey:t,storageKey:n}=void 0===e?{}:e,{router:s}=U(C.UseScrollRestoration),{restoreScrollPosition:i,preventScrollReset:l}=F(D.UseScrollRestoration),{basename:c}=a.useContext(r.UNSAFE_NavigationContext),d=r.useLocation(),m=r.useMatches(),f=r.useNavigation();a.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),function(e){let{capture:t}={};a.useEffect(()=>{let n=null!=t?{capture:t}:void 0;return window.addEventListener("pagehide",e,n),()=>{window.removeEventListener("pagehide",e,n)}},[e,t])}(a.useCallback(()=>{if("idle"===f.state){let e=(t?t(d,m):null)||d.key;G[e]=window.scrollY}try{sessionStorage.setItem(n||q,JSON.stringify(G))}catch(e){}window.history.scrollRestoration="auto"},[n,t,f.state,d,m])),"undefined"!=typeof document&&(a.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(n||q);e&&(G=JSON.parse(e))}catch(e){}},[n]),a.useLayoutEffect(()=>{let e=t&&"/"!==c?(e,n)=>t(u({},e,{pathname:o.stripBasename(e.pathname,c)||e.pathname}),n):t,n=null==s?void 0:s.enableScrollRestoration(G,()=>window.scrollY,e);return()=>n&&n()},[s,c,t]),a.useLayoutEffect(()=>{if(!1!==i)if("number"!=typeof i){if(d.hash){let e=document.getElementById(decodeURIComponent(d.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==l&&window.scrollTo(0,0)}else window.scrollTo(0,i)},[d,i,l]))}function K(e,t){void 0===t&&(t={});let n=a.useContext(x);null==n&&o.UNSAFE_invariant(!1);let{basename:s}=U(C.useViewTransitionState),i=r.useResolvedPath(e,{relative:t.relative});if(!n.isTransitioning)return!1;let u=o.stripBasename(n.currentLocation.pathname,s)||n.currentLocation.pathname,l=o.stripBasename(n.nextLocation.pathname,s)||n.nextLocation.pathname;return null!=o.matchPath(i.pathname,l)||null!=o.matchPath(i.pathname,u)}Object.defineProperty(e,"AbortedDeferredError",{enumerable:!0,get:function(){return r.AbortedDeferredError}}),Object.defineProperty(e,"Await",{enumerable:!0,get:function(){return r.Await}}),Object.defineProperty(e,"MemoryRouter",{enumerable:!0,get:function(){return r.MemoryRouter}}),Object.defineProperty(e,"Navigate",{enumerable:!0,get:function(){return r.Navigate}}),Object.defineProperty(e,"NavigationType",{enumerable:!0,get:function(){return r.NavigationType}}),Object.defineProperty(e,"Outlet",{enumerable:!0,get:function(){return r.Outlet}}),Object.defineProperty(e,"Route",{enumerable:!0,get:function(){return r.Route}}),Object.defineProperty(e,"Router",{enumerable:!0,get:function(){return r.Router}}),Object.defineProperty(e,"Routes",{enumerable:!0,get:function(){return r.Routes}}),Object.defineProperty(e,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return r.UNSAFE_DataRouterContext}}),Object.defineProperty(e,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return r.UNSAFE_DataRouterStateContext}}),Object.defineProperty(e,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return r.UNSAFE_LocationContext}}),Object.defineProperty(e,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return r.UNSAFE_NavigationContext}}),Object.defineProperty(e,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return r.UNSAFE_RouteContext}}),Object.defineProperty(e,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return r.UNSAFE_useRouteId}}),Object.defineProperty(e,"createMemoryRouter",{enumerable:!0,get:function(){return r.createMemoryRouter}}),Object.defineProperty(e,"createPath",{enumerable:!0,get:function(){return r.createPath}}),Object.defineProperty(e,"createRoutesFromChildren",{enumerable:!0,get:function(){return r.createRoutesFromChildren}}),Object.defineProperty(e,"createRoutesFromElements",{enumerable:!0,get:function(){return r.createRoutesFromElements}}),Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return r.defer}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return r.generatePath}}),Object.defineProperty(e,"isRouteErrorResponse",{enumerable:!0,get:function(){return r.isRouteErrorResponse}}),Object.defineProperty(e,"json",{enumerable:!0,get:function(){return r.json}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return r.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return r.matchRoutes}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return r.parsePath}}),Object.defineProperty(e,"redirect",{enumerable:!0,get:function(){return r.redirect}}),Object.defineProperty(e,"redirectDocument",{enumerable:!0,get:function(){return r.redirectDocument}}),Object.defineProperty(e,"renderMatches",{enumerable:!0,get:function(){return r.renderMatches}}),Object.defineProperty(e,"replace",{enumerable:!0,get:function(){return r.replace}}),Object.defineProperty(e,"resolvePath",{enumerable:!0,get:function(){return r.resolvePath}}),Object.defineProperty(e,"useActionData",{enumerable:!0,get:function(){return r.useActionData}}),Object.defineProperty(e,"useAsyncError",{enumerable:!0,get:function(){return r.useAsyncError}}),Object.defineProperty(e,"useAsyncValue",{enumerable:!0,get:function(){return r.useAsyncValue}}),Object.defineProperty(e,"useBlocker",{enumerable:!0,get:function(){return r.useBlocker}}),Object.defineProperty(e,"useHref",{enumerable:!0,get:function(){return r.useHref}}),Object.defineProperty(e,"useInRouterContext",{enumerable:!0,get:function(){return r.useInRouterContext}}),Object.defineProperty(e,"useLoaderData",{enumerable:!0,get:function(){return r.useLoaderData}}),Object.defineProperty(e,"useLocation",{enumerable:!0,get:function(){return r.useLocation}}),Object.defineProperty(e,"useMatch",{enumerable:!0,get:function(){return r.useMatch}}),Object.defineProperty(e,"useMatches",{enumerable:!0,get:function(){return r.useMatches}}),Object.defineProperty(e,"useNavigate",{enumerable:!0,get:function(){return r.useNavigate}}),Object.defineProperty(e,"useNavigation",{enumerable:!0,get:function(){return r.useNavigation}}),Object.defineProperty(e,"useNavigationType",{enumerable:!0,get:function(){return r.useNavigationType}}),Object.defineProperty(e,"useOutlet",{enumerable:!0,get:function(){return r.useOutlet}}),Object.defineProperty(e,"useOutletContext",{enumerable:!0,get:function(){return r.useOutletContext}}),Object.defineProperty(e,"useParams",{enumerable:!0,get:function(){return r.useParams}}),Object.defineProperty(e,"useResolvedPath",{enumerable:!0,get:function(){return r.useResolvedPath}}),Object.defineProperty(e,"useRevalidator",{enumerable:!0,get:function(){return r.useRevalidator}}),Object.defineProperty(e,"useRouteError",{enumerable:!0,get:function(){return r.useRouteError}}),Object.defineProperty(e,"useRouteLoaderData",{enumerable:!0,get:function(){return r.useRouteLoaderData}}),Object.defineProperty(e,"useRoutes",{enumerable:!0,get:function(){return r.useRoutes}}),Object.defineProperty(e,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return o.UNSAFE_ErrorResponseImpl}}),e.BrowserRouter=function(e){let{basename:t,children:n,future:s,window:i}=e,u=a.useRef();null==u.current&&(u.current=o.createBrowserHistory({window:i,v5Compat:!0}));let l=u.current,[c,d]=a.useState({action:l.action,location:l.location}),{v7_startTransition:m}=s||{},f=a.useCallback(e=>{m&&j?j(()=>d(e)):d(e)},[d,m]);return a.useLayoutEffect(()=>l.listen(f),[l,f]),a.useEffect(()=>r.UNSAFE_logV6DeprecationWarnings(s),[s]),a.createElement(r.Router,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:l,future:s})},e.Form=L,e.HashRouter=function(e){let{basename:t,children:n,future:s,window:i}=e,u=a.useRef();null==u.current&&(u.current=o.createHashHistory({window:i,v5Compat:!0}));let l=u.current,[c,d]=a.useState({action:l.action,location:l.location}),{v7_startTransition:m}=s||{},f=a.useCallback(e=>{m&&j?j(()=>d(e)):d(e)},[d,m]);return a.useLayoutEffect(()=>l.listen(f),[l,f]),a.useEffect(()=>r.UNSAFE_logV6DeprecationWarnings(s),[s]),a.createElement(r.Router,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:l,future:s})},e.Link=I,e.NavLink=M,e.RouterProvider=function(e){let{fallbackElement:t,router:n,future:o}=e,[s,i]=a.useState(n.state),[u,l]=a.useState(),[c,d]=a.useState({isTransitioning:!1}),[m,f]=a.useState(),[h,p]=a.useState(),[b,g]=a.useState(),y=a.useRef(new Map),{v7_startTransition:_}=o||{},w=a.useCallback(e=>{_?function(e){j?j(e):e()}(e):e()},[_]),k=a.useCallback((e,t)=>{let{deletedFetchers:r,flushSync:o,viewTransitionOpts:s}=t;e.fetchers.forEach((e,t)=>{void 0!==e.data&&y.current.set(t,e.data)}),r.forEach(e=>y.current.delete(e));let a=null==n.window||null==n.window.document||"function"!=typeof n.window.document.startViewTransition;if(s&&!a){if(o){R(()=>{h&&(m&&m.resolve(),h.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:s.currentLocation,nextLocation:s.nextLocation})});let t=n.window.document.startViewTransition(()=>{R(()=>i(e))});return t.finished.finally(()=>{R(()=>{f(void 0),p(void 0),l(void 0),d({isTransitioning:!1})})}),void R(()=>p(t))}h?(m&&m.resolve(),h.skipTransition(),g({state:e,currentLocation:s.currentLocation,nextLocation:s.nextLocation})):(l(e),d({isTransitioning:!0,flushSync:!1,currentLocation:s.currentLocation,nextLocation:s.nextLocation}))}else o?R(()=>i(e)):w(()=>i(e))},[n.window,h,m,y,w]);a.useLayoutEffect(()=>n.subscribe(k),[n,k]),a.useEffect(()=>{c.isTransitioning&&!c.flushSync&&f(new T)},[c]),a.useEffect(()=>{if(m&&u&&n.window){let e=u,t=m.promise,r=n.window.document.startViewTransition(async()=>{w(()=>i(e)),await t});r.finished.finally(()=>{f(void 0),p(void 0),l(void 0),d({isTransitioning:!1})}),p(r)}},[w,u,m,n.window]),a.useEffect(()=>{m&&u&&s.location.key===u.location.key&&m.resolve()},[m,h,s.location,u]),a.useEffect(()=>{!c.isTransitioning&&b&&(l(b.state),d({isTransitioning:!0,flushSync:!1,currentLocation:b.currentLocation,nextLocation:b.nextLocation}),g(void 0))},[c.isTransitioning,b]),a.useEffect(()=>{},[]);let v=a.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]),S=n.basename||"/",A=a.useMemo(()=>({router:n,navigator:v,static:!1,basename:S}),[n,v,S]),P=a.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return a.useEffect(()=>r.UNSAFE_logV6DeprecationWarnings(o,n.future),[o,n.future]),a.createElement(a.Fragment,null,a.createElement(r.UNSAFE_DataRouterContext.Provider,{value:A},a.createElement(r.UNSAFE_DataRouterStateContext.Provider,{value:s},a.createElement(E.Provider,{value:y.current},a.createElement(x.Provider,{value:c},a.createElement(r.Router,{basename:S,location:s.location,navigationType:s.historyAction,navigator:v,future:P},s.initialized||n.future.v7_partialHydration?a.createElement(O,{routes:n.routes,future:n.future,state:s}):t))))),null)},e.ScrollRestoration=function(e){let{getKey:t,storageKey:n}=e;return z({getKey:t,storageKey:n}),null},e.UNSAFE_FetchersContext=E,e.UNSAFE_ViewTransitionContext=x,e.UNSAFE_useScrollRestoration=z,e.createBrowserRouter=function(e,t){return o.createRouter({basename:null==t?void 0:t.basename,future:u({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:o.createBrowserHistory({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||k(),routes:e,mapRouteProperties:r.UNSAFE_mapRouteProperties,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()},e.createHashRouter=function(e,t){return o.createRouter({basename:null==t?void 0:t.basename,future:u({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:o.createHashHistory({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||k(),routes:e,mapRouteProperties:r.UNSAFE_mapRouteProperties,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()},e.createSearchParams=f,e.unstable_HistoryRouter=function(e){let{basename:t,children:n,future:o,history:s}=e,[i,u]=a.useState({action:s.action,location:s.location}),{v7_startTransition:l}=o||{},c=a.useCallback(e=>{l&&j?j(()=>u(e)):u(e)},[u,l]);return a.useLayoutEffect(()=>s.listen(c),[s,c]),a.useEffect(()=>r.UNSAFE_logV6DeprecationWarnings(o),[o]),a.createElement(r.Router,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:s,future:o})},e.unstable_usePrompt=function(e){let{when:t,message:n}=e,o=r.useBlocker(t);a.useEffect(()=>{"blocked"===o.state&&(window.confirm(n)?setTimeout(o.proceed,0):o.reset())},[o,n]),a.useEffect(()=>{"blocked"!==o.state||t||o.reset()},[o,t])},e.useBeforeUnload=function(e,t){let{capture:n}=t||{};a.useEffect(()=>{let t=null!=n?{capture:n}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}},[e,n])},e.useFetcher=function(e){var t;let{key:n}=void 0===e?{}:e,{router:s}=U(C.UseFetcher),i=F(D.UseFetcher),l=a.useContext(E),c=a.useContext(r.UNSAFE_RouteContext),d=null==(t=c.matches[c.matches.length-1])?void 0:t.route.id;l||o.UNSAFE_invariant(!1),c||o.UNSAFE_invariant(!1),null==d&&o.UNSAFE_invariant(!1);let m=A?A():"",[f,h]=a.useState(n||m);n&&n!==f?h(n):f||h(W()),a.useEffect(()=>(s.getFetcher(f),()=>{s.deleteFetcher(f)}),[s,f]);let p=a.useCallback((e,t)=>{d||o.UNSAFE_invariant(!1),s.fetch(f,d,e,t)},[f,d,s]),b=H(),g=a.useCallback((e,t)=>{b(e,u({},t,{navigate:!1,fetcherKey:f}))},[f,b]),y=a.useMemo(()=>a.forwardRef((e,t)=>a.createElement(L,u({},e,{navigate:!1,fetcherKey:f,ref:t}))),[f]),_=i.fetchers.get(f)||o.IDLE_FETCHER,w=l.get(f);return a.useMemo(()=>u({Form:y,submit:g,load:p},_,{data:w}),[y,g,p,_,w])},e.useFetchers=function(){let e=F(D.UseFetchers);return Array.from(e.fetchers.entries()).map(e=>{let[t,n]=e;return u({},n,{key:t})})},e.useFormAction=V,e.useLinkClickHandler=B,e.useSearchParams=function(e){let t=a.useRef(f(e)),n=a.useRef(!1),o=r.useLocation(),s=a.useMemo(()=>function(e,t){let n=f(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(o.search,n.current?null:t.current),[o.search]),i=r.useNavigate(),u=a.useCallback((e,t)=>{const r=f("function"==typeof e?e(s):e);n.current=!0,i("?"+r,t)},[i,s]);return[s,u]},e.useSubmit=H,e.useViewTransitionState=K,Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof n&&void 0!==t?o(n,e("react"),e("react-dom"),e("react-router"),e("@remix-run/router")):"function"==typeof define&&define.amd?define(["exports","react","react-dom","react-router","@remix-run/router"],o):o((r="undefined"!=typeof globalThis?globalThis:r||self).ReactRouterDOM={},r.React,r.ReactDOM,r.ReactRouter,r.RemixRouter)}}},{package:"react-router-dom",file:"node_modules/react-router-dom/dist/umd/react-router-dom.production.min.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react-router/dist/main.js",{"./umd/react-router.development.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react-router/dist/umd/react-router.development.js","./umd/react-router.production.min.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react-router/dist/umd/react-router.production.min.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=e("./umd/react-router.production.min.js")}}},{package:"react-router-dom>react-router",file:"node_modules/react-router/dist/main.js"}],["/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 a=o.createContext(null);a.displayName="DataRouter";const i=o.createContext(null);i.displayName="DataRouterState";const u=o.createContext(null);u.displayName="Await";const l=o.createContext(null);l.displayName="Navigation";const c=o.createContext(null);c.displayName="Location";const d=o.createContext({outlet:null,matches:[],isDataRoute:!1});d.displayName="Route";const m=o.createContext(null);function f(){return null!=o.useContext(c)}function h(){return f()||n.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),o.useContext(c).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 g(){let{isDataRoute:e}=o.useContext(d);return e?function(){let{router:e}=P(R.UseNavigateStable),t=I(T.UseNavigateStable),r=o.useRef(!1);return b(()=>{r.current=!0}),o.useCallback(function(o,a){void 0===a&&(a={}),n.UNSAFE_warning(r.current,p),r.current&&("number"==typeof o?e.navigate(o):e.navigate(o,s({fromRouteId:t},a)))},[e,t])}():function(){f()||n.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let e=o.useContext(a),{basename:t,future:r,navigator:s}=o.useContext(l),{matches:i}=o.useContext(d),{pathname:u}=h(),c=JSON.stringify(n.UNSAFE_getResolveToMatches(i,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 a=n.resolveTo(r,JSON.parse(c),u,"path"===o.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:n.joinPaths([t,a.pathname])),(o.replace?s.replace:s.push)(a,o.state,o)},[t,s,c,u,e])}()}const y=o.createContext(null);function _(e){let t=o.useContext(d).outlet;return t?o.createElement(y.Provider,{value:e},t):t}function w(e,t){let{relative:r}=void 0===t?{}:t,{future:s}=o.useContext(l),{matches:a}=o.useContext(d),{pathname:i}=h(),u=JSON.stringify(n.UNSAFE_getResolveToMatches(a,s.v7_relativeSplatPath));return o.useMemo(()=>n.resolveTo(e,JSON.parse(u),i,"path"===r),[e,u,i,r])}function k(e,t){return v(e,t)}function v(e,t,r,a){f()||n.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=o.useContext(l),{matches:u}=o.useContext(d),m=u[u.length-1],p=m?m.params:{},b=m?m.pathname:"/",g=m?m.pathnameBase:"/",y=m&&m.route;{let e=y&&y.path||"";U(b,!y||e.endsWith("*"),'You rendered descendant <Routes> (or called `useRoutes()`) at "'+b+'" (under <Route path="'+e+'">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won\'t match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="'+e+'"> to <Route path="'+("/"===e?"*":e+"/*")+'">.')}let _,w=h();if(t){var k;let e="string"==typeof t?n.parsePath(t):t;"/"===g||(null==(k=e.pathname)?void 0:k.startsWith(g))||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 "'+g+'" but pathname "'+e.pathname+'" was given in the `location` prop.'),_=e}else _=w;let v=_.pathname||"/",x=v;if("/"!==g){let e=g.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(e.length).join("/")}let E=n.matchRoutes(e,{pathname:x});n.UNSAFE_warning(y||null!=E,'No routes matched location "'+_.pathname+_.search+_.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 "'+_.pathname+_.search+_.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=A(E&&E.map(e=>Object.assign({},e,{params:Object.assign({},p,e.params),pathname:n.joinPaths([g,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?g:n.joinPaths([g,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),u,r,a);return t&&j?o.createElement(c.Provider,{value:{location:s({pathname:"/",search:"",hash:"",state:null,key:"default"},_),navigationType:n.Action.Pop}},j):j}function x(){let e=M(),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)",a={padding:"0.5rem",backgroundColor:s},i={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:i},"ErrorBoundary")," or"," ",o.createElement("code",{style:i},"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:a},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(d.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(a);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),o.createElement(d.Provider,{value:t},r)}function A(e,t,r,s){var a;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===s&&(s=null),null==e){var i;if(!r)return null;if(r.errors)e=r.matches;else{if(!(null!=(i=s)&&i.v7_partialHydration&&0===t.length&&!r.initialized&&r.matches.length>0))return null;e=r.matches}}let u=e,l=null==(a=r)?void 0:a.errors;if(null!=l){let e=u.findIndex(e=>e.route.id&&(null==l?void 0:l[e.route.id])!==undefined);e>=0||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 c=!1,d=-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)&&(d=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){c=!0,u=d>=0?u.slice(0,d+1):[u[0]];break}}}return u.reduceRight((e,n,s)=>{let a,i=!1,m=null,f=null;r&&(a=l&&n.route.id?l[n.route.id]:undefined,m=n.route.errorElement||E,c&&(d<0&&0===s?(U("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),i=!0,f=null):d===s&&(i=!0,f=n.route.hydrateFallbackElement||null)));let h=t.concat(u.slice(0,s+1)),p=()=>{let t;return t=a?m:i?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:a,children:p(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):p()},null)}var R=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(R||{}),T=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}(T||{});function O(e){return e+" must be used within a data router.  See https://reactrouter.com/v6/routers/picking-a-router."}function P(e){let t=o.useContext(a);return t||n.UNSAFE_invariant(!1,O(e)),t}function N(e){let t=o.useContext(i);return t||n.UNSAFE_invariant(!1,O(e)),t}function I(e){let t=function(e){let t=o.useContext(d);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 M(){var e;let t=o.useContext(m),n=N(T.UseRouteError),r=I(T.UseRouteError);return t!==undefined?t:null==(e=n.errors)?void 0:e[r]}function L(){let e=o.useContext(u);return null==e?void 0:e._data}let C=0;const D={};function U(e,t,r){t||D[e]||(D[e]=!0,n.UNSAFE_warning(!1,r))}const F={};const B=(e,t,n)=>{var r;F[r="⚠️ React Router Future Flag Warning: "+t+". You can use the `"+e+"` future flag to opt-in early. For more information, see "+n+"."]||(F[r]=!0,console.warn(r))};function $(e,t){(null==e?void 0:e.v7_startTransition)===undefined&&B("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||B("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&&B("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),t.v7_normalizeFormMethod===undefined&&B("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&&B("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),t.v7_skipActionErrorRevalidation===undefined&&B("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 V(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 q(e){let{basename:t="/",children:r=null,location:a,navigationType:i=n.Action.Pop,navigator:u,static:d=!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:d,future:s({v7_relativeSplatPath:!1},m)}),[h,m,u,d]);"string"==typeof a&&(a=n.parsePath(a));let{pathname:b="/",search:g="",hash:y="",state:_=null,key:w="default"}=a,k=o.useMemo(()=>{let e=n.stripBasename(b,h);return null==e?null:{location:{pathname:e,search:g,hash:y,state:_,key:w},navigationType:i}},[h,b,g,y,_,w,i]);return n.UNSAFE_warning(null!=k,'<Router basename="'+h+'"> is not able to match the URL "'+b+g+y+"\" because it does not start with the basename, so the <Router> won't render anything."),null==k?null:o.createElement(l.Provider,{value:p},o.createElement(c.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,a=G.pending;if(r instanceof Promise)if(this.state.error){a=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,a="_error"in s?G.error:"_data"in s?G.success:G.pending):(a=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 a=G.success,s=Promise.resolve(),Object.defineProperty(s,"_tracked",{get:()=>!0}),Object.defineProperty(s,"_data",{get:()=>r});if(a===G.error&&s._error instanceof n.AbortedDeferredError)throw z;if(a===G.error&&!t)throw s._error;if(a===G.error)return o.createElement(u.Provider,{value:s,children:t});if(a===G.success)return o.createElement(u.Provider,{value:s,children:e});throw s}}function Y(e){let{children:t}=e,n=L(),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 a=[...t,s];if(e.type===o.Fragment)return void r.push.apply(r,X(e.props.children,a));e.type!==V&&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 i={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=X(e.props.children,a)),r.push(i)}),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:a,future:i}=e,u=o.useRef();null==u.current&&(u.current=n.createMemoryHistory({initialEntries:s,initialIndex:a,v5Compat:!0}));let l=u.current,[c,d]=o.useState({action:l.action,location:l.location}),{v7_startTransition:m}=i||{},f=o.useCallback(e=>{m&&W?W(()=>d(e)):d(e)},[d,m]);return o.useLayoutEffect(()=>l.listen(f),[l,f]),o.useEffect(()=>$(i),[i]),o.createElement(q,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:l,future:i})},e.Navigate=function(e){let{to:t,replace:r,state:s,relative:a}=e;f()||n.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:i,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:c}=o.useContext(d),{pathname:m}=h(),p=g(),b=n.resolveTo(t,n.UNSAFE_getResolveToMatches(c,i.v7_relativeSplatPath),m,"path"===a),y=JSON.stringify(b);return o.useEffect(()=>p(JSON.parse(y),{replace:r,state:s,relative:a}),[p,y,a,r,s]),null},e.Outlet=function(e){return _(e.context)},e.Route=V,e.Router=q,e.RouterProvider=function(e){let{fallbackElement:t,router:r,future:s}=e,[u,l]=o.useState(r.state),{v7_startTransition:c}=s||{},d=o.useCallback(e=>{c&&W?W(()=>l(e)):l(e)},[l,c]);o.useLayoutEffect(()=>r.subscribe(d),[r,d]),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(()=>$(s,r.future),[r,s]),o.createElement(o.Fragment,null,o.createElement(a.Provider,{value:h},o.createElement(i.Provider,{value:u},o.createElement(q,{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=a,e.UNSAFE_DataRouterStateContext=i,e.UNSAFE_LocationContext=c,e.UNSAFE_NavigationContext=l,e.UNSAFE_RouteContext=d,e.UNSAFE_logV6DeprecationWarnings=$,e.UNSAFE_mapRouteProperties=J,e.UNSAFE_useRouteId=function(){return I(T.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 A(e)},e.useActionData=function(){let e=N(T.UseActionData),t=I(T.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=L,e.useBlocker=function(e){let{router:t,basename:r}=P(R.UseBlocker),a=N(T.UseBlocker),[i,u]=o.useState(""),l=o.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===r)return e(t);let{currentLocation:o,nextLocation:a,historyAction:i}=t;return e({currentLocation:s({},o,{pathname:n.stripBasename(o.pathname,r)||o.pathname}),nextLocation:s({},a,{pathname:n.stripBasename(a.pathname,r)||a.pathname}),historyAction:i})},[r,e]);return o.useEffect(()=>{let e=String(++C);return u(e),()=>t.deleteBlocker(e)},[t]),o.useEffect(()=>{""!==i&&t.getBlocker(i,l)},[t,i,l]),i&&a.blockers.has(i)?a.blockers.get(i):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:a}=o.useContext(l),{hash:i,pathname:u,search:c}=w(e,{relative:r}),d=u;return"/"!==s&&(d="/"===u?s:n.joinPaths([s,u])),a.createHref({pathname:d,search:c,hash:i})},e.useInRouterContext=f,e.useLoaderData=function(){let e=N(T.UseLoaderData),t=I(T.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}=N(T.UseMatches);return o.useMemo(()=>e.map(e=>n.UNSAFE_convertRouteMatchToUiMatch(e,t)),[e,t])},e.useNavigate=g,e.useNavigation=function(){return N(T.UseNavigation).navigation},e.useNavigationType=function(){return o.useContext(c).navigationType},e.useOutlet=_,e.useOutletContext=function(){return o.useContext(y)},e.useParams=function(){let{matches:e}=o.useContext(d),t=e[e.length-1];return t?t.params:{}},e.useResolvedPath=w,e.useRevalidator=function(){let e=P(R.UseRevalidator),t=N(T.UseRevalidator);return o.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])},e.useRouteError=M,e.useRouteLoaderData=function(e){return N(T.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),a=r.createContext(null),i=r.createContext(null),u=r.createContext(null),l=r.createContext(null),c=r.createContext({outlet:null,matches:[],isDataRoute:!1}),d=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(c);return e?function(){let{router:e}=A(j.UseNavigateStable),t=T(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:a}=r.useContext(u),{matches:i}=r.useContext(c),{pathname:l}=f(),d=JSON.stringify(n.UNSAFE_getResolveToMatches(i,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 a.go(r);let s=n.resolveTo(r,JSON.parse(d),l,"path"===o.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:n.joinPaths([t,s.pathname])),(o.replace?a.replace:a.push)(s,o.state,o)},[t,a,d,l,e])}()}const b=r.createContext(null);function g(e){let t=r.useContext(c).outlet;return t?r.createElement(b.Provider,{value:e},t):t}function y(e,t){let{relative:o}=void 0===t?{}:t,{future:s}=r.useContext(u),{matches:a}=r.useContext(c),{pathname:i}=f(),l=JSON.stringify(n.UNSAFE_getResolveToMatches(a,s.v7_relativeSplatPath));return r.useMemo(()=>n.resolveTo(e,JSON.parse(l),i,"path"===o),[e,l,i,o])}function _(e,t){return w(e,t)}function w(e,t,s,a){m()||n.UNSAFE_invariant(!1);let{navigator:i}=r.useContext(u),{matches:d}=r.useContext(c),h=d[d.length-1],p=h?h.params:{};!h||h.pathname;let b=h?h.pathnameBase:"/";h&&h.route;let g,y=f();if(t){var _;let e="string"==typeof t?n.parsePath(t):t;"/"===b||(null==(_=e.pathname)?void 0:_.startsWith(b))||n.UNSAFE_invariant(!1),g=e}else g=y;let w=g.pathname||"/",k=w;if("/"!==b){let e=b.replace(/^\//,"").split("/");k="/"+w.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,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?b:n.joinPaths([b,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),d,s,a);return t&&x?r.createElement(l.Provider,{value:{location:o({pathname:"/",search:"",hash:"",state:null,key:"default"},g),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(c.Provider,{value:this.props.routeContext},r.createElement(d.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function x(e){let{routeContext:t,match:n,children:o}=e,a=r.useContext(s);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(c.Provider,{value:t},o)}function E(e,t,o,s){var a;if(void 0===t&&(t=[]),void 0===o&&(o=null),void 0===s&&(s=null),null==e){var i;if(!o)return null;if(o.errors)e=o.matches;else{if(!(null!=(i=s)&&i.v7_partialHydration&&0===t.length&&!o.initialized&&o.matches.length>0))return null;e=o.matches}}let u=e,l=null==(a=o)?void 0:a.errors;if(null!=l){let e=u.findIndex(e=>e.route.id&&void 0!==(null==l?void 0:l[e.route.id]));e>=0||n.UNSAFE_invariant(!1),u=u.slice(0,Math.min(u.length,e+1))}let c=!1,d=-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)&&(d=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){c=!0,u=d>=0?u.slice(0,d+1):[u[0]];break}}}return u.reduceRight((e,n,s)=>{let a,i=!1,m=null,f=null;var h;o&&(a=l&&n.route.id?l[n.route.id]:void 0,m=n.route.errorElement||k,c&&(d<0&&0===s?(I[h="route-fallback"]||(I[h]=!0),i=!0,f=null):d===s&&(i=!0,f=n.route.hydrateFallbackElement||null)));let p=t.concat(u.slice(0,s+1)),b=()=>{let t;return t=a?m:i?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:a,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 A(e){let t=r.useContext(s);return t||n.UNSAFE_invariant(!1),t}function R(e){let t=r.useContext(a);return t||n.UNSAFE_invariant(!1),t}function T(e){let t=function(){let e=r.useContext(c);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(d),n=R(S.UseRouteError),o=T(S.UseRouteError);return void 0!==t?t:null==(e=n.errors)?void 0:e[o]}function P(){let e=r.useContext(i);return null==e?void 0:e._data}let N=0;const I={};function M(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 L=r.startTransition;function C(e){let{routes:t,future:n,state:r}=e;return w(t,void 0,r,n)}function D(e){n.UNSAFE_invariant(!1)}function U(e){let{basename:t="/",children:s=null,location:a,navigationType:i=n.Action.Pop,navigator:c,static:d=!1,future:f}=e;m()&&n.UNSAFE_invariant(!1);let h=t.replace(/^\/*/,"/"),p=r.useMemo(()=>({basename:h,navigator:c,static:d,future:o({v7_relativeSplatPath:!1},f)}),[h,f,c,d]);"string"==typeof a&&(a=n.parsePath(a));let{pathname:b="/",search:g="",hash:y="",state:_=null,key:w="default"}=a,k=r.useMemo(()=>{let e=n.stripBasename(b,h);return null==e?null:{location:{pathname:e,search:g,hash:y,state:_,key:w},navigationType:i}},[h,b,g,y,_,w,i]);return null==k?null:r.createElement(u.Provider,{value:p},r.createElement(l.Provider,{children:s,value:k}))}var F=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(F||{});const B=new Promise(()=>{});class $ 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,a=F.pending;if(o instanceof Promise)if(this.state.error){a=F.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,a="_error"in s?F.error:"_data"in s?F.success:F.pending):(a=F.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 a=F.success,s=Promise.resolve(),Object.defineProperty(s,"_tracked",{get:()=>!0}),Object.defineProperty(s,"_data",{get:()=>o});if(a===F.error&&s._error instanceof n.AbortedDeferredError)throw B;if(a===F.error&&!t)throw s._error;if(a===F.error)return r.createElement(i.Provider,{value:s,children:t});if(a===F.success)return r.createElement(i.Provider,{value:s,children:e});throw s}}function W(e){let{children:t}=e,n=P(),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 a=[...t,s];if(e.type===r.Fragment)return void o.push.apply(o,H(e.props.children,a));e.type!==D&&n.UNSAFE_invariant(!1),e.props.index&&e.props.children&&n.UNSAFE_invariant(!1);let i={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=H(e.props.children,a)),o.push(i)}),o}function V(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($,{resolve:o,errorElement:n},r.createElement(W,null,t))},e.MemoryRouter=function(e){let{basename:t,children:o,initialEntries:s,initialIndex:a,future:i}=e,u=r.useRef();null==u.current&&(u.current=n.createMemoryHistory({initialEntries:s,initialIndex:a,v5Compat:!0}));let l=u.current,[c,d]=r.useState({action:l.action,location:l.location}),{v7_startTransition:m}=i||{},f=r.useCallback(e=>{m&&L?L(()=>d(e)):d(e)},[d,m]);return r.useLayoutEffect(()=>l.listen(f),[l,f]),r.useEffect(()=>M(i),[i]),r.createElement(U,{basename:t,children:o,location:c.location,navigationType:c.action,navigator:l,future:i})},e.Navigate=function(e){let{to:t,replace:o,state:s,relative:a}=e;m()||n.UNSAFE_invariant(!1);let{future:i,static:l}=r.useContext(u),{matches:d}=r.useContext(c),{pathname:h}=f(),b=p(),g=n.resolveTo(t,n.UNSAFE_getResolveToMatches(d,i.v7_relativeSplatPath),h,"path"===a),y=JSON.stringify(g);return r.useEffect(()=>b(JSON.parse(y),{replace:o,state:s,relative:a}),[b,y,a,o,s]),null},e.Outlet=function(e){return g(e.context)},e.Route=D,e.Router=U,e.RouterProvider=function(e){let{fallbackElement:t,router:n,future:o}=e,[i,u]=r.useState(n.state),{v7_startTransition:l}=o||{},c=r.useCallback(e=>{l&&L?L(()=>u(e)):u(e)},[u,l]);r.useLayoutEffect(()=>n.subscribe(c),[n,c]),r.useEffect(()=>{},[]);let d=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:d,static:!1,basename:m}),[n,d,m]);return r.useEffect(()=>M(o,n.future),[n,o]),r.createElement(r.Fragment,null,r.createElement(s.Provider,{value:f},r.createElement(a.Provider,{value:i},r.createElement(U,{basename:m,location:i.location,navigationType:i.historyAction,navigator:d,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},i.initialized||n.future.v7_partialHydration?r.createElement(C,{routes:n.routes,future:n.future,state:i}):t))),null)},e.Routes=function(e){let{children:t,location:n}=e;return _(H(t),n)},e.UNSAFE_DataRouterContext=s,e.UNSAFE_DataRouterStateContext=a,e.UNSAFE_LocationContext=l,e.UNSAFE_NavigationContext=u,e.UNSAFE_RouteContext=c,e.UNSAFE_logV6DeprecationWarnings=M,e.UNSAFE_mapRouteProperties=V,e.UNSAFE_useRouteId=function(){return T(S.UseRouteId)},e.UNSAFE_useRoutesImpl=w,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:V,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=R(S.UseActionData),t=T(S.UseLoaderData);return e.actionData?e.actionData[t]:void 0},e.useAsyncError=function(){let e=r.useContext(i);return null==e?void 0:e._error},e.useAsyncValue=P,e.useBlocker=function(e){let{router:t,basename:s}=A(j.UseBlocker),a=R(S.UseBlocker),[i,u]=r.useState(""),l=r.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===s)return e(t);let{currentLocation:r,nextLocation:a,historyAction:i}=t;return e({currentLocation:o({},r,{pathname:n.stripBasename(r.pathname,s)||r.pathname}),nextLocation:o({},a,{pathname:n.stripBasename(a.pathname,s)||a.pathname}),historyAction:i})},[s,e]);return r.useEffect(()=>{let e=String(++N);return u(e),()=>t.deleteBlocker(e)},[t]),r.useEffect(()=>{""!==i&&t.getBlocker(i,l)},[t,i,l]),i&&a.blockers.has(i)?a.blockers.get(i):n.IDLE_BLOCKER},e.useHref=function(e,t){let{relative:o}=void 0===t?{}:t;m()||n.UNSAFE_invariant(!1);let{basename:s,navigator:a}=r.useContext(u),{hash:i,pathname:l,search:c}=y(e,{relative:o}),d=l;return"/"!==s&&(d="/"===l?s:n.joinPaths([s,l])),a.createHref({pathname:d,search:c,hash:i})},e.useInRouterContext=m,e.useLoaderData=function(){let e=R(S.UseLoaderData),t=T(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}=R(S.UseMatches);return r.useMemo(()=>e.map(e=>n.UNSAFE_convertRouteMatchToUiMatch(e,t)),[e,t])},e.useNavigate=p,e.useNavigation=function(){return R(S.UseNavigation).navigation},e.useNavigationType=function(){return r.useContext(l).navigationType},e.useOutlet=g,e.useOutletContext=function(){return r.useContext(b)},e.useParams=function(){let{matches:e}=r.useContext(c),t=e[e.length-1];return t?t.params:{}},e.useResolvedPath=y,e.useRevalidator=function(){let e=A(j.UseRevalidator),t=R(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 R(S.UseRouteLoaderData).loaderData[e]},e.useRoutes=_,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 a=60109,i=60110,u=60112;n.Suspense=60113;var l=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;o=d("react.element"),s=d("react.portal"),n.Fragment=d("react.fragment"),n.StrictMode=d("react.strict_mode"),n.Profiler=d("react.profiler"),a=d("react.provider"),i=d("react.context"),u=d("react.forward_ref"),n.Suspense=d("react.suspense"),l=d("react.memo"),c=d("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 g(){}function y(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")},g.prototype=b.prototype;var _=y.prototype=new g;_.constructor=y,r(_,b.prototype),_.isPureReactComponent=!0;var w={current:null},k=Object.prototype.hasOwnProperty,v={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,s={},a=null,i=null;if(null!=t)for(r in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+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),c=0;c<u;c++)l[c]=arguments[c+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:a,ref:i,props:s,_owner:w.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 A(e,t,n,r,a){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var u=!1;if(null===e)u=!0;else switch(i){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case o:case s:u=!0}}if(u)return a=a(u=e),e=""===r?"."+S(u,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(j,"$&/")+"/"),A(a,t,n,"",function(e){return e})):null!=a&&(E(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(j,"$&/")+"/")+e)),t.push(a)),1;if(u=0,r=""===r?".":r+":",Array.isArray(e))for(var l=0;l<e.length;l++){var c=r+S(i=e[l],l);u+=A(i,t,n,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=m&&e[m]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),l=0;!(i=e.next()).done;)u+=A(i=i.value,t,n,c=r+S(i,l++),a);else if("object"===i)throw t=""+e,Error(f(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return u}function R(e,t,n){if(null==e)return e;var r=[],o=0;return A(e,r,"","",function(e){return t.call(n,e,o++)}),r}function T(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}if(1===e._status)return e._result;throw e._result}var O={current:null};function P(){var e=O.current;if(null===e)throw Error(f(321));return e}var N={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};n.Children={map:R,forEach:function(e,t,n){R(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error(f(143));return e}},n.Component=b,n.PureComponent=y,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,n.cloneElement=function(e,t,n){if(null==e)throw Error(f(267,e));var s=r({},e.props),a=e.key,i=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,u=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)k.call(t,c)&&!v.hasOwnProperty(c)&&(s[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)s.children=n;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];s.children=l}return{$$typeof:o,type:e.type,key:a,ref:i,props:s,_owner:u}},n.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:i,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_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:c,_payload:{_status:-1,_result:e},_init:T}},n.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},n.useCallback=function(e,t){return P().useCallback(e,t)},n.useContext=function(e,t){return P().useContext(e,t)},n.useDebugValue=function(){},n.useEffect=function(e,t){return P().useEffect(e,t)},n.useImperativeHandle=function(e,t,n){return P().useImperativeHandle(e,t,n)},n.useLayoutEffect=function(e,t){return P().useLayoutEffect(e,t)},n.useMemo=function(e,t){return P().useMemo(e,t)},n.useReducer=function(e,t,n){return P().useReducer(e,t,n)},n.useRef=function(e){return P().useRef(e)},n.useState=function(e){return P().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:a,isWebStream:i,kControllerErrorFunction:u}=e("./utils"),l=e("./end-of-stream"),{ERR_INVALID_ARG_TYPE:c}=s;let d;t.exports.addAbortSignal=function(e,n){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new c(t,"AbortSignal",e)})(e,"signal"),!a(n)&&!i(n))throw new c("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=a(n)?()=>{n.destroy(new o(undefined,{cause:t.reason}))}:()=>{n[u](new o(undefined,{cause:t.reason}))};if(t.aborted)s();else{d=d||e("../../ours/util").addAbortListener;const o=d(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:a}=e("../../ours/primordials"),{Buffer:i}=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 i.alloc(0);const t=i.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=i.allocUnsafe(e),n=e;let r=this.head,o=0;do{const i=r.data;if(!(e>i.length)){e===i.length?(s(t,i,n-e),++o,r.next?this.head=r.next:this.head=this.tail=null):(s(t,new a(i.buffer,i.byteOffset,e),n-e),this.head=r,r.data=i.slice(e));break}s(t,i,n-e),e-=i.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:a,isReadable:i,isWritable:u,isWebStream:l,isTransformStream:c,isWritableStream:d,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(a(e[n])||l(e[n])){if(n<e.length-1&&!(i(e[n])||m(e[n])||c(e[n])))throw new h(`streams[${n}]`,t[n],"must be readable");if(n>0&&!(u(e[n])||d(e[n])||c(e[n])))throw new h(`streams[${n}]`,t[n],"must be writable")}let n,g,y,_,w;const k=e[0],v=r(e,function(e){const t=_;_=null,t?t(e):e?w.destroy(e):E||x||w.destroy()}),x=!!(u(k)||d(k)||c(k)),E=!!(i(v)||m(v)||c(v));if(w=new o({writableObjectMode:!(null===k||k===undefined||!k.writableObjectMode),readableObjectMode:!(null===v||v===undefined||!v.readableObjectMode),writable:x,readable:E}),x){if(a(k))w._write=function(e,t,r){k.write(e,t)?r():n=r},w._final=function(e){k.end(),g=e},k.on("drain",function(){if(n){const e=n;n=null,e()}});else if(l(k)){const e=(c(k)?k.writable:k).getWriter();w._write=async function(t,n,r){try{await e.ready,e.write(t).catch(()=>{}),r()}catch(e){r(e)}},w._final=async function(t){try{await e.ready,e.close().catch(()=>{}),g=t}catch(e){t(e)}}}const e=c(v)?v.readable:v;b(e,()=>{if(g){const e=g;g=null,e()}})}if(E)if(a(v))v.on("readable",function(){if(y){const e=y;y=null,e()}}),v.on("end",function(){w.push(null)}),w._read=function(){for(;;){const e=v.read();if(null===e)return void(y=w._read);if(!w.push(e))return}};else if(l(v)){const e=(c(v)?v.readable:v).getReader();w._read=async function(){for(;;)try{const{value:t,done:n}=await e.read();if(!w.push(t))return;if(n)return void w.push(null)}catch{return}}}return w._destroy=function(e,t){e||null===_||(e=new f),y=null,n=null,g=null,null===_?t(e):(_=t,a(v)&&s(v,e))},w}}}},{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:a}=e("../../ours/errors"),{Symbol:i}=e("../../ours/primordials"),{kIsDestroyed:u,isDestroyed:l,isFinished:c,isServerRequest:d}=e("./utils"),m=i("kDestroy"),f=i("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,a=e._writableState;h(t,a,s),a&&(a.closed=!0),s&&(s.closed=!0),"function"==typeof n&&n(t),t?r.nextTick(b,e,t):r.nextTick(g,e)}try{e._destroy(t||null,s)}catch(t){s(t)}}function b(e,t){y(e,t),g(e)}function g(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 y(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 _(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(y,e,t):y(e,t))}function w(e){let t=!1;function n(n){if(t)return void _(e,null!==n&&n!==undefined?n:new s);t=!0;const o=e._readableState,a=e._writableState,i=a||o;o&&(o.constructed=!0),a&&(a.constructed=!0),i.destroyed?e.emit(m,n):n?_(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(w,e)},destroyer:function(e,t){e&&!l(e)&&(t||c(e)||(t=new a),d(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:_}}}},{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:a}=e("../../ours/primordials");t.exports=l;const i=e("./readable"),u=e("./writable");a(l.prototype,i.prototype),a(l,i);{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);i.call(this,e),u.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let c,d;function m(){return c===undefined&&(c={}),c}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 d||(d=e("./duplexify")),d(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:a,isIterable:i,isNodeStream:u,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:d,isReadableStream:m,isWritableStream:f}=e("./utils"),h=e("./end-of-stream"),{AbortError:p,codes:{ERR_INVALID_ARG_TYPE:b,ERR_INVALID_RETURN_VALUE:g}}=e("../../ours/errors"),{destroyer:y}=e("./destroy"),_=e("./duplex"),w=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:A}=e("../../ours/primordials");class R extends _{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 T(e){const t=e.readable&&"function"!=typeof e.readable.read?w.wrap(e.readable):e.readable,n=e.writable;let r,o,i,u,l,c=!!s(t),d=!!a(n);function m(e){const t=u;u=null,t?t(e):e&&l.destroy(e)}return l=new R({readableObjectMode:!(null===t||t===undefined||!t.readableObjectMode),writableObjectMode:!(null===n||n===undefined||!n.writableObjectMode),readable:c,writable:d}),d&&(h(n,e=>{d=!1,e&&y(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()}})),c&&(h(t,e=>{c=!1,e&&y(t,e),m(e)}),t.on("readable",function(){if(i){const e=i;i=null,e()}}),t.on("end",function(){l.push(null)}),l._read=function(){for(;;){const e=t.read();if(null===e)return void(i=l._read);if(!l.push(e))return}}),l._destroy=function(e,s){e||null===u||(e=new p),i=null,r=null,o=null,null===u?s(e):(u=s,y(n,e),y(t,e))},l}t.exports=function e(t,n){if(d(t))return t;if(l(t))return T({readable:t});if(c(t))return T({writable:t});if(u(t))return T({writable:!1,readable:!1});if(m(t))return T({readable:w.fromWeb(t)});if(f(t))return T({writable:k.fromWeb(t)});if("function"==typeof t){const{value:e,write:o,final:s,destroy:a}=function(e){let{promise:t,resolve:n}=v();const o=new S,s=o.signal,a=e(async function*(){for(;;){const e=t;t=null;const{chunk:o,done:a,cb:i}=await e;if(r.nextTick(i),a)return;if(s.aborted)throw new p(undefined,{cause:s.reason});({promise:t,resolve:n}=v()),yield o}}(),{signal:s});return{value:a,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(i(e))return x(R,e,{objectMode:!0,write:o,final:s,destroy:a});const u=null===e||e===undefined?undefined:e.then;if("function"==typeof u){let t;const n=A(u,e,e=>{if(null!=e)throw new g("nully","body",e)},e=>{y(t,e)});return t=new R({objectMode:!0,readable:!1,write:o,final(e){s(async()=>{try{await n,r.nextTick(e,null)}catch(t){r.nextTick(e,t)}})},destroy:a})}throw new g("Iterable, AsyncIterable or AsyncFunction",n,e)}if(j(t))return e(t.arrayBuffer());if(i(t))return x(R,t,{objectMode:!0,writable:!1});if(m(null===t||t===undefined?undefined:t.readable)&&f(null===t||t===undefined?undefined:t.writable))return R.fromWeb(t);if("object"==typeof(null===t||t===undefined?undefined:t.writable)||"object"==typeof(null===t||t===undefined?undefined:t.readable)){return T({readable:null!==t&&t!==undefined&&t.readable?l(null===t||t===undefined?undefined:t.readable)?null===t||t===undefined?undefined:t.readable:e(t.readable):undefined,writable:null!==t&&t!==undefined&&t.writable?c(null===t||t===undefined?undefined:t.writable)?null===t||t===undefined?undefined:t.writable:e(t.writable):undefined})}const o=null===t||t===undefined?undefined:t.then;if("function"==typeof o){let e;return A(o,t,t=>{null!=t&&e.push(t),e.push(null)},t=>{y(e,t)}),e=new R({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:a,ERR_STREAM_PREMATURE_CLOSE:i}=s,{kEmptyObject:u,once:l}=e("../../ours/util"),{validateAbortSignal:c,validateFunction:d,validateObject:m,validateBoolean:f}=e("../validators"),{Promise:h,PromisePrototypeThen:p,SymbolDispose:b}=e("../../ours/primordials"),{isClosed:g,isReadable:y,isReadableNodeStream:_,isReadableStream:w,isReadableFinished:k,isReadableErrored:v,isWritable:x,isWritableNodeStream:E,isWritableStream:j,isWritableFinished:S,isWritableErrored:A,isNodeStream:R,willEmitClose:T,kIsClosedPromise:O}=e("./utils");let P;const N=()=>{};function I(t,n,s){var f,h;if(2===arguments.length?(s=n,n=u):null==n?n=u:m(n,"options"),d(s,"callback"),c(n.signal,"options.signal"),s=l(s),w(t)||j(t))return function(t,n,s){let a=!1,i=N;if(n.signal)if(i=()=>{a=!0,s.call(t,new o(undefined,{cause:n.signal.reason}))},n.signal.aborted)r.nextTick(i);else{P=P||e("../../ours/util").addAbortListener;const r=P(n.signal,i),o=s;s=l((...e)=>{r[b](),o.apply(t,e)})}const u=(...e)=>{a||r.nextTick(()=>s.apply(t,e))};return p(t[O].promise,u,u),N}(t,n,s);if(!R(t))throw new a("stream",["ReadableStream","WritableStream","Stream"],t);const I=null!==(f=n.readable)&&f!==undefined?f:_(t),M=null!==(h=n.writable)&&h!==undefined?h:E(t),L=t._writableState,C=t._readableState,D=()=>{t.writable||B()};let U=T(t)&&_(t)===I&&E(t)===M,F=S(t,!1);const B=()=>{F=!0,t.destroyed&&(U=!1),(!U||t.readable&&!I)&&(I&&!$||s.call(t))};let $=k(t,!1);const W=()=>{$=!0,t.destroyed&&(U=!1),(!U||t.writable&&!M)&&(M&&!F||s.call(t))},H=e=>{s.call(t,e)};let V=g(t);const q=()=>{V=!0;const e=A(t)||v(t);return e&&"boolean"!=typeof e?s.call(t,e):I&&!$&&_(t,!0)&&!k(t,!1)?s.call(t,new i):!M||F||S(t,!1)?void s.call(t):s.call(t,new i)},G=()=>{V=!0;const e=A(t)||v(t);if(e&&"boolean"!=typeof e)return s.call(t,e);s.call(t)},z=()=>{t.req.on("finish",B)};!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?M&&!L&&(t.on("end",D),t.on("close",D)):(t.on("complete",B),U||t.on("abort",q),t.req?z():t.on("request",z)),U||"boolean"!=typeof t.aborted||t.on("aborted",q),t.on("end",W),t.on("finish",B),!1!==n.error&&t.on("error",H),t.on("close",q),V?r.nextTick(q):null!==L&&L!==undefined&&L.errorEmitted||null!==C&&C!==undefined&&C.errorEmitted?U||r.nextTick(G):(I||U&&!y(t)||!F&&!1!==x(t))&&(M||U&&!x(t)||!$&&!1!==y(t))?C&&t.req&&t.aborted&&r.nextTick(G):r.nextTick(G);const K=()=>{s=N,t.removeListener("aborted",q),t.removeListener("complete",B),t.removeListener("abort",q),t.removeListener("request",z),t.req&&t.req.removeListener("finish",B),t.removeListener("end",D),t.removeListener("close",D),t.removeListener("finish",B),t.removeListener("end",W),t.removeListener("error",H),t.removeListener("close",q)};if(n.signal&&!V){const a=()=>{const e=s;K(),e.call(t,new o(undefined,{cause:n.signal.reason}))};if(n.signal.aborted)r.nextTick(a);else{P=P||e("../../ours/util").addAbortListener;const r=P(n.signal,a),o=s;s=l((...e)=>{r[b](),o.apply(t,e)})}}return K}t.exports=I,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=I(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:a}=e("../../ours/primordials"),{Buffer:i}=e("buffer"),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:l}=e("../../ours/errors").codes;t.exports=function(e,t,n){let c,d;if("string"==typeof t||t instanceof i)return new e({objectMode:!0,...n,read(){this.push(t),this.push(null)}});if(t&&t[s])d=!0,c=t[s]();else{if(!t||!t[a])throw new u("iterable",["Iterable"],t);d=!1,c=t[a]()}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}=d?await c.next():c.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 c.throw;if(t&&n){const{value:t,done:n}=await c.throw(e);if(await t,n)return}if("function"==typeof c.return){const{value:e}=await c.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 a(e){s.call(this,e)}function i(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(a.prototype,s.prototype),o(a,s),a.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 a=!1;function u(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){d(),0===s.listenerCount(this,"error")&&this.emit("error",e)}function d(){n.removeListener("data",r),e.removeListener("drain",o),n.removeListener("end",u),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",d),n.removeListener("close",d),e.removeListener("close",d)}return i(n,"error",c),i(e,"error",c),n.on("end",d),n.on("close",d),e.on("close",d),e.emit("pipe",n),e},t.exports={Stream:a,prependListener:i}}}},{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:a,ERR_OUT_OF_RANGE:i},AbortError:u}=e("../../ours/errors"),{validateAbortSignal:l,validateInteger:c,validateObject:d}=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:g,isNodeStream:y}=e("./utils"),{deprecate:_}=e("../../ours/util"),{ArrayPrototypePush:w,Boolean:k,MathFloor:v,Number:x,NumberIsNaN:E,Promise:j,PromiseReject:S,PromiseResolve:A,PromisePrototypeThen:R,Symbol:T}=e("../../ours/primordials"),O=T("kEmpty"),P=T("kEof");function N(t,n){if("function"!=typeof t)throw new s("fn",["Function","AsyncFunction"],t);null!=n&&d(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)),c(r,"options.concurrency",1),c(o,"options.highWaterMark",0),o+=r,async function*(){const s=e("../../ours/util").AbortSignalAny([null===n||n===undefined?undefined:n.signal].filter(k)),a=this,i=[],l={signal:s};let c,d,m=!1,f=0;function h(){m=!0,p()}function p(){f-=1,b()}function b(){d&&!m&&f<r&&i.length<o&&(d(),d=null)}!async function(){try{for await(let e of a){if(m)return;if(s.aborted)throw new u;try{if(e=t(e,l),e===O)continue;e=A(e)}catch(t){e=S(t)}f+=1,R(e,p,h),i.push(e),c&&(c(),c=null),!m&&(i.length>=o||f>=r)&&await new j(e=>{d=e})}i.push(P)}catch(e){const t=S(e);R(t,p,h),i.push(t)}finally{m=!0,c&&(c(),c=null)}}();try{for(;;){for(;i.length>0;){const e=await i[0];if(e===P)return;if(s.aborted)throw new u;e!==O&&(yield e),i.shift(),b()}await new j(e=>{c=e})}}finally{m=!0,d&&(d(),d=null)}}.call(this)}async function I(e,t=undefined){for await(const n of M.call(this,e,t))return!0;return!1}function M(e,t){if("function"!=typeof e)throw new s("fn",["Function","AsyncFunction"],e);return N.call(this,async function(t,n){return await e(t,n)?t:O},t)}class L extends a{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function C(e){if(e=x(e),E(e))return 0;if(e<0)throw new i("number",">= 0",e);return e}t.exports.streamReturningOperators={asIndexedPairs:_(function(e=undefined){return null!=e&&d(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&&d(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&l(t.signal,"options.signal"),e=C(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:M,flatMap:function(e,t){const n=N.call(this,e,t);return async function*(){for await(const e of n)yield*e}.call(this)},map:N,take:function(e,t=undefined){return null!=t&&d(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&l(t.signal,"options.signal"),e=C(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&&d(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&l(t.signal,"options.signal"),y(e)&&!g(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 I.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 N.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&&d(n,"options"),null!=(null===n||n===undefined?undefined:n.signal)&&l(n.signal,"options.signal");let a=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 i=new r,c=i.signal;if(null!==n&&n!==undefined&&n.signal){const e={once:!0,[m]:this,[f]:!0};n.signal.addEventListener("abort",()=>i.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;a?t=await e(t,r,{signal:c}):(t=r,a=!0)}if(!p&&!a)throw new L}finally{i.abort()}return t},toArray:async function(e){null!=e&&d(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});w(t,r)}return t},some:I,find:async function(e,t){for await(const n of M.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:a,SymbolDispose:i}=e("../../ours/primordials"),u=e("./end-of-stream"),{once:l}=e("../../ours/util"),c=e("./destroy"),d=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:g},AbortError:y}=e("../../ours/errors"),{validateFunction:_,validateAbortSignal:w}=e("../validators"),{isIterable:k,isReadable:v,isReadableNodeStream:x,isNodeStream:E,isTransformStream:j,isWebStream:S,isReadableStream:A,isReadableFinished:R}=e("./utils"),T=globalThis.AbortController||e("abort-controller").AbortController;let O,P,N;function I(e,t,n){let r=!1;e.on("close",()=>{r=!0});return{destroy:t=>{r||(r=!0,c.destroyer(e,t||new b("pipe")))},cleanup:u(e,{readable:t,writable:n},e=>{r=!e})}}function M(t){if(k(t))return t;if(x(t))return async function*(t){P||(P=e("./readable"));yield*P.prototype[a].call(t)}(t);throw new f("val",["Readable","Iterable","AsyncIterable"],t)}async function L(e,t,n,{end:r}){let o,a=null;const i=e=>{if(e&&(o=e),a){const e=a;a=null,e()}},l=()=>new s((e,t)=>{o?t(o):a=()=>{o?t(o):e()}});t.on("drain",i);const c=u(t,{readable:!1},i);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{c(),t.off("drain",i)}}async function C(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 a=new T,u=a.signal,l=null===s||s===undefined?undefined:s.signal,c=[];function m(){B(new y)}let b,g,_;w(l,"options.signal"),N=N||e("../../ours/util").addAbortListener,l&&(b=N(l,m));const R=[];let P,D=0;function F(e){B(e,0===--D)}function B(e,t){var o;if(!e||g&&"ERR_STREAM_PREMATURE_CLOSE"!==g.code||(g=e),g||t){for(;R.length;)R.shift()(g);null===(o=b)||o===undefined?undefined:o[i](),a.abort(),t&&(g||c.forEach(e=>e()),r.nextTick(n,g,_))}}for(let H=0;H<t.length;H++){const V=t[H],q=H<t.length-1,G=H>0,z=q||!1!==(null===s||s===undefined?undefined:s.end),K=H===t.length-1;if(E(V)){if(z){const{destroy:X,cleanup:J}=I(V,q,G);R.push(X),v(V)&&K&&c.push(J)}function Y(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&F(e)}V.on("error",Y),v(V)&&K&&c.push(()=>{V.removeListener("error",Y)})}if(0===H)if("function"==typeof V){if(P=V({signal:u}),!k(P))throw new h("Iterable, AsyncIterable or Stream","source",P)}else P=k(V)||x(V)||j(V)?V:d.from(V);else if("function"==typeof V){var $;if(j(P))P=M(null===($=P)||$===undefined?undefined:$.readable);else P=M(P);if(P=V(P,{signal:u}),q){if(!k(P,!0))throw new h("AsyncIterable",`transform[${H-1}]`,P)}else{var W;O||(O=e("./passthrough"));const Z=new O({objectMode:!0}),Q=null===(W=P)||W===undefined?undefined:W.then;if("function"==typeof Q)D++,Q.call(P,e=>{_=e,null!=e&&Z.write(e),z&&Z.end(),r.nextTick(F)},e=>{Z.destroy(e),r.nextTick(F,e)});else if(k(P,!0))D++,L(P,Z,F,{end:z});else{if(!A(P)&&!j(P))throw new h("AsyncIterable or Promise","destination",P);{const ne=P.readable||P;D++,L(ne,Z,F,{end:z})}}P=Z;const{destroy:ee,cleanup:te}=I(P,!1,!0);R.push(ee),K&&c.push(te)}}else if(E(V)){if(x(P)){D+=2;const re=U(P,V,F,{end:z});v(V)&&K&&c.push(re)}else if(j(P)||A(P)){const oe=P.readable||P;D++,L(oe,V,F,{end:z})}else{if(!k(P))throw new f("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);D++,L(P,V,F,{end:z})}P=V}else if(S(V)){if(x(P))D++,C(M(P),V,F,{end:z});else if(A(P)||k(P))D++,C(P,V,F,{end:z});else{if(!j(P))throw new f("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);D++,C(P.readable,V,F,{end:z})}P=V}else P=d.from(V)}return(null!==u&&u!==undefined&&u.aborted||null!==l&&l!==undefined&&l.aborted)&&r.nextTick(m),P}function U(e,t,n,{end:o}){let s=!1;if(t.on("close",()=>{s||n(new g)}),e.pipe(t,{end:!1}),o){function a(){s=!0,t.end()}R(e)?r.nextTick(a):e.once("end",a)}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 _(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:a,NumberParseInt:i,ObjectDefineProperties:u,ObjectKeys:l,ObjectSetPrototypeOf:c,Promise:d,SafeSet:m,SymbolAsyncDispose:f,SymbolAsyncIterator:h,Symbol:p}=e("../../ours/primordials");t.exports=z,z.ReadableState=G;const{EventEmitter:b}=e("events"),{Stream:g,prependListener:y}=e("./legacy"),{Buffer:_}=e("buffer"),{addAbortSignal:w}=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:A,codes:{ERR_INVALID_ARG_TYPE:R,ERR_METHOD_NOT_IMPLEMENTED:T,ERR_OUT_OF_RANGE:O,ERR_STREAM_PUSH_AFTER_EOF:P,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:N},AbortError:I}=e("../../ours/errors"),{validateObject:M}=e("../validators"),L=p("kPaused"),{StringDecoder:C}=e("string_decoder/"),D=e("./from");c(z.prototype,g.prototype),c(z,g);const U=()=>{},{errorOrDestroy:F}=E,B=1,$=16,W=32,H=2048,V=4096;function q(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|V|$|W,t&&t.objectMode&&(this.state|=B),r&&t&&t.readableObjectMode&&(this.state|=B),this.highWaterMark=t?j(this,t,"readableHighWaterMark",r):S(!1),this.buffer=new x,this.length=0,this.pipes=[],this.flowing=null,this[L]=null,t&&!1===t.emitClose&&(this.state&=~H),t&&!1===t.autoDestroy&&(this.state&=~V),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new C(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&&w(t.signal,this)),g.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&B)&&("string"==typeof t?(n=n||o.defaultEncoding,o.encoding!==n&&(r&&o.encoding?t=_.from(t,n).toString(o.encoding):(t=_.from(t,n),n=""))):t instanceof _?n="":g._isUint8Array(t)?(t=g._uint8ArrayToBuffer(t),n=""):null!=t&&(s=new R("chunk",["string","Buffer","Uint8Array"],t))),s)F(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&B)||t&&t.length>0)if(r)if(4&o.state)F(e,new N);else{if(o.destroyed||o.errored)return!1;Y(e,o,t,!0)}else if(o.ended)F(e,new P);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:q(B),ended:q(2),endEmitted:q(4),reading:q(8),constructed:q($),sync:q(W),needReadable:q(64),emittedReadable:q(128),readableListening:q(256),resumeScheduled:q(512),errorEmitted:q(1024),emitClose:q(H),autoDestroy:q(V),destroyed:q(8192),closed:q(16384),closeEmitted:q(32768),multiAwaitDrain:q(65536),readingMore:q(1<<17),dataEmitted:q(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 I,this.destroy(e)),new d((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[L]||!1===e.flowing},z.prototype.setEncoding=function(e){const t=new C(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&B)?1:a(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function J(e){const t=e._readableState;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[L]?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?A(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 d(o)}}}catch(e){throw n=A(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 ae(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 ie(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 ce;function de(){return ce===undefined&&(ce={}),ce}z.prototype.read=function(e){v("read",e),e===undefined?e=NaN:s(e)||(e=i(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?ie(this):J(this),null;if(0===(e=X(e,t))&&t.ended)return 0===t.length&&ie(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){F(this,e)}t.state&=~W,t.reading||(e=X(n,t))}return r=e>0?ae(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&&ie(this)),null===r||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit("data",r)),r},z.prototype._read=function(e){throw new T("_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?i:b;function a(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",a),n.removeListener("end",i),n.removeListener("end",b),n.removeListener("data",d),l=!0,u&&o.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&u()}())}function i(){v("onend"),e.end()}let u;o.endEmitted?r.nextTick(s):n.once("end",s),e.on("unpipe",a);let l=!1;function c(){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 d(t){v("ondata");const n=e.write(t);v("dest.write",n),!1===n&&c()}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?F(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",d),y(e,"error",f),e.once("close",h),e.once("finish",p),e.emit("pipe",n),!0===e.writableNeedDrain?c():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=g.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=g.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=g.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[L]=!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[L]=!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=>{F(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&&M(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[L]},set(e){this[L]=!!e}}}),z._fromList=ae,z.from=function(e,t){return D(z,e,t)},z.fromWeb=function(e,t){return de().newStreamReadableFromReadableStream(e,t)},z.toWeb=function(e,t){return de().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:a}=e("../../ours/errors").codes;let i=16384,u=16;function l(e){return e?u:i}t.exports={getHighWaterMark:function(e,t,n,s){const i=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,s,n);if(null!=i){if(!o(i)||i<0){throw new a(s?`options.${n}`:"options.highWaterMark",i)}return r(i)}return l(e.objectMode)},getDefaultHighWaterMark:l,setDefaultHighWaterMark:function(e,t){s(t,"value",0),e?u=t:i=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,a=e("./duplex"),{getHighWaterMark:i}=e("./state");r(l.prototype,a.prototype),r(l,a);const u=o("kCallback");function l(e){if(!(this instanceof l))return new l(e);const t=e?i(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),a.call(this,e),this._readableState.sync=!1,this[u]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function c(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 d(){this._final!==c&&c.call(this)}l.prototype._final=c,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"),a=s("nodejs.stream.destroyed"),i=s("nodejs.stream.errored"),u=s("nodejs.stream.readable"),l=s("nodejs.stream.writable"),c=s("nodejs.stream.disturbed"),d=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 g(e){return!(!e||p(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function y(e){return!(!e||p(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function _(e){if(!p(e))return null;const t=e._writableState,n=e._readableState,r=t||n;return!!(e.destroyed||e[a]||null!==r&&r!==undefined&&r.destroyed)}function w(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:!_(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:!_(e)&&(h(e)&&e.writable&&!w(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:_,kIsDestroyed:a,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&t!==undefined?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,n,r,o,s,a,u,l,c,d;return!(!e||!(null!==(t=null!==(n=null!==(r=null!==(o=null!==(s=null!==(a=e[i])&&a!==undefined?a: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===(c=e._readableState)||c===undefined?undefined:c.errored)&&t!==undefined?t:null===(d=e._writableState)||d===undefined?undefined:d.errored))},kIsErrored:i,isReadable:v,kIsReadable:u,kIsClosedPromise:d,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)?!!_(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)||g(e)||y(e)},isWritable:x,isWritableNodeStream:h,isWritableStream:g,isWritableEnded:w,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:y}}}},{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:a,ObjectDefineProperty:i,ObjectDefineProperties:u,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:d,SymbolHasInstance:m}=e("../../ours/primordials");t.exports=M,M.WritableState=N;const{EventEmitter:f}=e("events"),h=e("./legacy").Stream,{Buffer:p}=e("buffer"),b=e("./destroy"),{addAbortSignal:g}=e("./add-abort-signal"),{getHighWaterMark:y,getDefaultHighWaterMark:_}=e("./state"),{ERR_INVALID_ARG_TYPE:w,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:A,ERR_UNKNOWN_ENCODING:R}=e("../../ours/errors").codes,{errorOrDestroy:T}=b;function O(){}l(M.prototype,h.prototype),l(M,h);const P=d("kOnFinished");function N(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?y(this,t,"writableHighWaterMark",r):_(!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,I(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!t||!1!==t.emitClose,this.autoDestroy=!t||!1!==t.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[P]=[]}function I(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function M(t){const n=this instanceof e("./duplex");if(!n&&!a(M,this))return new M(t);this._writableState=new N(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&&g(t.signal,this)),h.call(this,t),b.construct(this,()=>{const e=this._writableState;e.writing||W(this,e),q(this,e)})}function L(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 R(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 w("chunk",["string","Buffer","Uint8Array"],t);t=h._uint8ArrayToBuffer(t),n="buffer"}let a;return s.ending?a=new A:s.destroyed&&(a=new E("write")),a?(r.nextTick(o,a),T(e,a,!0),a):(s.pendingcb++,function(e,t,n,r,o){const s=t.objectMode?1:n.length;t.length+=s;const a=t.length<t.highWaterMark;a||(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 a&&!t.errored&&!t.destroyed}(e,s,t,n,o))}function C(e,t,n,r,o,s,a){t.writelen=r,t.writecb=a,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),$(t),T(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(F,n.afterWriteTickInfo)):B(e,n,1,s))):T(e,new v)}function F({stream:e,state:t,count:n,cb:r}){return t.afterWriteTickInfo=null,B(e,t,n,r)}function B(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&&$(t),q(e,t)}function $(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[P].splice(0);for(let t=0;t<n.length;t++){var r;n[t](null!==(r=e.errored)&&r!==undefined?r:new E("end"))}I(e)}function W(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;const{buffered:n,bufferedIndex:r,objectMode:s}=t,a=n.length-r;if(!a)return;let i=r;if(t.bufferProcessing=!0,a>1&&e._writev){t.pendingcb-=a-1;const r=t.allNoop?O:e=>{for(let t=i;t<n.length;++t)n[t].callback(e)},s=t.allNoop&&0===i?n:o(n,i);s.allBuffers=t.allBuffers,C(e,t,!0,t.length,s,"",r),I(t)}else{do{const{chunk:r,encoding:o,callback:a}=n[i];n[i++]=null;C(e,t,!1,s?1:r.length,r,o,a)}while(i<n.length&&!t.writing);i===n.length?I(t):i>256?(n.splice(0,i),t.bufferedIndex=0):t.bufferedIndex=i}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 V(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)T(e,null!==o&&o!==undefined?o:v());else if(n=!0,t.pendingcb--,o){const n=t[P].splice(0);for(let e=0;e<n.length;e++)n[e](o);T(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 q(e,t,n){H(t)&&(V(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[P].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()}}N.prototype.getBuffer=function(){return o(this.buffered,this.bufferedIndex)},i(N.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),i(M,m,{__proto__:null,value:function(e){return!!a(this,e)||this===M&&(e&&e._writableState instanceof N)}}),M.prototype.pipe=function(){T(this,new x)},M.prototype.write=function(e,t,n){return!0===L(this,e,t,n)},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){const e=this._writableState;e.corked&&(e.corked--,e.writing||W(this,e))},M.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=c(e)),!p.isEncoding(e))throw new R(e);return this._writableState.defaultEncoding=e,this},M.prototype._write=function(e,t,n){if(!this._writev)throw new k("_write()");this._writev([{chunk:e,encoding:t}],n)},M.prototype._writev=null,M.prototype.end=function(e,t,n){const o=this._writableState;let a;if("function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&e!==undefined){const n=L(this,e,t);n instanceof s&&(a=n)}return o.corked&&(o.corked=1,this.uncork()),a||(o.errored||o.ending?o.finished?a=new j("end"):o.destroyed&&(a=new E("end")):(o.ending=!0,q(this,o,!0),o.ended=!0)),"function"==typeof n&&(a||o.finished?r.nextTick(n,a):o[P].push(n)),this},u(M.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}M.prototype.destroy=function(e,t){const n=this._writableState;return!n.destroyed&&(n.bufferedIndex<n.buffered.length||n[P].length)&&r.nextTick($,n),z.call(this,e,t),this},M.prototype._undestroy=b.undestroy,M.prototype._destroy=function(e,t){t(e)},M.prototype[f.captureRejectionSymbol]=function(e){this.destroy(e)},M.fromWeb=function(e,t){return Y().newStreamWritableFromWritableStream(e,t)},M.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:a,NumberIsInteger:i,NumberIsNaN:u,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:d,ObjectPrototypeHasOwnProperty:m,RegExpPrototypeExec:f,String:h,StringPrototypeToUpperCase:p,StringPrototypeTrim:b}=e("../ours/primordials"),{hideStackFrames:g,codes:{ERR_SOCKET_BAD_PORT:y,ERR_INVALID_ARG_TYPE:_,ERR_INVALID_ARG_VALUE:w,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 A=/^[0-7]+$/;const R=g((e,t,n=c,r=l)=>{if("number"!=typeof e)throw new _(t,"number",e);if(!i(e))throw new k(t,"an integer",e);if(e<n||e>r)throw new k(t,`>= ${n} && <= ${r}`,e)}),T=g((e,t,n=-2147483648,r=2147483647)=>{if("number"!=typeof e)throw new _(t,"number",e);if(!i(e))throw new k(t,"an integer",e);if(e<n||e>r)throw new k(t,`>= ${n} && <= ${r}`,e)}),O=g((e,t,n=!1)=>{if("number"!=typeof e)throw new _(t,"number",e);if(!i(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 P(e,t){if("string"!=typeof e)throw new _(t,"string",e)}const N=g((e,t,n)=>{if(!o(n,e)){const r=s(a(n,e=>"string"==typeof e?`'${e}'`:h(e)),", ");throw new w(t,e,"must be one of: "+r)}});function I(e,t){if("boolean"!=typeof e)throw new _(t,"boolean",e)}function M(e,t,n){return null!=e&&m(e,t)?e[t]:n}const L=g((e,t,n=null)=>{const o=M(n,"allowArray",!1),s=M(n,"allowFunction",!1);if(!M(n,"nullable",!1)&&null===e||!o&&r(e)||"object"!=typeof e&&(!s||"function"!=typeof e))throw new _(t,"Object",e)}),C=g((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new _(t,"a dictionary",e)}),D=g((e,t,n=0)=>{if(!r(e))throw new _(t,"Array",e);if(e.length<n){throw new w(t,e,`must be longer than ${n}`)}});const U=g((e,t="buffer")=>{if(!j(e))throw new _(t,["Buffer","TypedArray","DataView"],e)});const F=g((e,t)=>{if(e!==undefined&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new _(t,"AbortSignal",e)}),B=g((e,t)=>{if("function"!=typeof e)throw new _(t,"Function",e)}),$=g((e,t)=>{if("function"!=typeof e||E(e))throw new _(t,"Function",e)}),W=g((e,t)=>{if(e!==undefined)throw new _(t,"undefined",e)});const H=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function V(e,t){if(void 0===e||!f(H,e))throw new w(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}t.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,n){if(void 0===e&&(e=n),"string"==typeof e){if(null===f(A,e))throw new w(t,e,"must be a 32-bit unsigned integer or an octal string");e=d(e,8)}return O(e,t),e},validateArray:D,validateStringArray:function(e,t){D(e,t);for(let n=0;n<e.length;n++)P(e[n],`${t}[${n}]`)},validateBooleanArray:function(e,t){D(e,t);for(let n=0;n<e.length;n++)I(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 _(o,"AbortSignal",r);F(r,o)}},validateBoolean:I,validateBuffer:U,validateDictionary:C,validateEncoding:function(e,t){const n=x(t),r=e.length;if("hex"===n&&r%2!=0)throw new w("encoding",t,`is invalid for data of length ${r}`)},validateFunction:B,validateInt32:T,validateInteger:R,validateNumber:function(e,t,n=undefined,r){if("number"!=typeof e)throw new _(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:L,validateOneOf:N,validatePlainFunction:$,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 y(t,e,n);return 0|e},validateSignalName:function(e,t="signal"){if(P(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:P,validateUint32:O,validateUndefined:W,validateUnion:function(e,t,n){if(!o(n,e))throw new _(t,`('${s(n,"|")}')`,e)},validateAbortSignal:F,validateLinkHeaderValue:function(e){if("string"==typeof e)return V(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];V(o,"hints"),n+=o,r!==t-1&&(n+=", ")}return n}throw new w("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/validators.js"}],["/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"),a=globalThis.AggregateError||s,i=Symbol("kIsNodeError"),u=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,c={};function d(e,t){if(!e)throw new c.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 d(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 d(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[i]=!0,c[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 c.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)=>{d("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=[],a=[],i=[];for(const e of t)d("string"==typeof e,"All expected entries have to be of type string"),u.includes(e)?s.push(e.toLowerCase()):l.test(e)?a.push(e):(d("object"!==e,'The value "object" should be written as "Object"'),i.push(e));if(a.length>0){const e=s.indexOf("object");-1!==e&&(s.splice(s,e,1),a.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}`}}(a.length>0||i.length>0)&&(r+=" or ")}if(a.length>0){switch(a.length){case 1:r+=`an instance of ${a[0]}`;break;case 2:r+=`an instance of ${a[0]} or ${a[1]}`;break;default:{const e=a.pop();r+=`an instance of ${a.join(", ")}, or ${e}`}}i.length>0&&(r+=" or ")}switch(i.length){case 0:break;case 1:i[0].toLowerCase()!==i[0]&&(r+="an "),r+=`${i[0]}`;break;case 2:r+=`one of ${i[0]} or ${i[1]}`;break;default:{const e=i.pop();r+=`one of ${i.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 c;if(null!==(c=n.constructor)&&c!==undefined&&c.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;d(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(d(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 a([t,e],t.message);return n.code=t.code,n}return e||t}),hideStackFrames:h,codes:c}}}},{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:a}}=e("./errors"),{kResistStopPropagation:i,AggregateError:u,SymbolDispose:l}=e("./primordials"),c=globalThis.AbortSignal||e("abort-controller").AbortSignal,d=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 a(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 a("signal","AbortSignal",e);let n;return p(e,"signal"),((e,t)=>{if("function"!=typeof e)throw new a(t,"Function",e)})(t,"listener"),e.aborted?queueMicrotask(()=>t()):(e.addEventListener("abort",t,{__proto__:null,once:!0,[i]:!0}),n=()=>{e.removeEventListener("abort",t)}),{__proto__:null,[l](){var e;null===(e=n)||e===undefined?undefined:e()}}},AbortSignalAny:c.any||function(e){if(1===e.length)return e[0];const t=new d,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:a}=e("./ours/primordials"),{promisify:{custom:i}}=e("./ours/util"),{streamReturningOperators:u,promiseReturningOperators:l}=e("./internal/streams/operators"),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=e("./ours/errors"),d=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"),g=e("./stream/promises"),y=e("./internal/streams/utils"),_=t.exports=e("./internal/streams/legacy").Stream;_.isDestroyed=y.isDestroyed,_.isDisturbed=y.isDisturbed,_.isErrored=y.isErrored,_.isReadable=y.isReadable,_.isWritable=y.isWritable,_.Readable=e("./internal/streams/readable");for(const k of s(u)){const v=u[k];function x(...e){if(new.target)throw c();return _.Readable.from(a(v,this,e))}o(x,"name",{__proto__:null,value:v.name}),o(x,"length",{__proto__:null,value:v.length}),o(_.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 c();return a(j,this,e)}o(S,"name",{__proto__:null,value:j.name}),o(S,"length",{__proto__:null,value:j.length}),o(_.Readable.prototype,E,{__proto__:null,value:S,enumerable:!1,configurable:!0,writable:!0})}_.Writable=e("./internal/streams/writable"),_.Duplex=e("./internal/streams/duplex"),_.Transform=e("./internal/streams/transform"),_.PassThrough=e("./internal/streams/passthrough"),_.pipeline=h;const{addAbortSignal:w}=e("./internal/streams/add-abort-signal");_.addAbortSignal=w,_.finished=b,_.destroy=p,_.compose=d,_.setDefaultHighWaterMark=m,_.getDefaultHighWaterMark=f,o(_,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>g}),o(h,i,{__proto__:null,enumerable:!0,get:()=>g.pipeline}),o(b,i,{__proto__:null,enumerable:!0,get:()=>g.finished}),_.Stream=_,_._isUint8Array=function(e){return e instanceof Uint8Array},_._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:a,isWebStream:i}=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 c=e[e.length-1];if(c&&"object"==typeof c&&!a(c)&&!s(c)&&!i(c)){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 a="function"==typeof Symbol&&Symbol.observable||"@@observable",i=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function l(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,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(c)(e,t)}if("function"!=typeof e)throw new Error(s(2));var o=e,i=t,d=[],m=d,f=!1;function h(){m===d&&(m=d.slice())}function p(){if(f)throw new Error(s(3));return i}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),d=null}}}function g(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,i=o(i,e)}finally{f=!1}for(var t=d=m,n=0;n<t.length;n++){(0,t[n])()}return e}return g({type:u.INIT}),(r={dispatch:g,subscribe:b,getState:p,replaceReducer:function(e){if("function"!=typeof e)throw new Error(s(10));o=e,g({type:u.REPLACE})}})[a]=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)}}})[a]=function(){return this},e},r}var d=c;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))},a={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map(function(e){return e(a)});return r=f.apply(void 0,i)(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 a,i=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){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},u=0;u<i.length;u++){var l=i[u],c=n[l],d=e[l],m=c(d,t);if(void 0===m){t&&t.type;throw new Error(s(14))}o[l]=m,r=r||m!==d}return(r=r||i.length!==Object.keys(e).length)?o:e}},n.compose=f,n.createStore=c,n.legacy_createStore=d}}},{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,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,u={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(u,{createSelector:()=>G,createSelectorCreator:()=>q,createStructuredSelector:()=>z,lruMemoize:()=>U,referenceEqualityCheck:()=>C,setGlobalDevModeChecks:()=>c,unstable_autotrackMemoize:()=>F,weakMapMemoize:()=>V}),t.exports=(r=u,((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of a(t))i.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"},c=e=>{Object.assign(l,e)},d=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,g=null,y=class{revision=b;_value;_lastValue;_isEqual=_;constructor(e,t=_){this._value=this._lastValue=e,this._isEqual=t}get value(){return g?.add(this),this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++b)}};function _(e,t){return e===t}var w=class{_cachedValue;_cachedRevision=-1;_deps=[];hits=0;fn;constructor(e){this.fn=e}clear(){this._cachedValue=void 0,this._cachedRevision=-1,this._deps=[],this.hits=0}get value(){if(this.revision>this._cachedRevision){const{fn:e}=this,t=new Set,n=g;g=t,this._cachedValue=e(),g=n,this.hits++,this._deps=Array.from(t),this._cachedRevision=this.revision}return g?.add(this),this._cachedValue}get revision(){return Math.max(...this._deps.map(e=>e.revision),0)}};function k(e){return e instanceof y||console.warn("Not a valid cell! ",e),e.value}var v=(e,t)=>!1;function x(){return function(e,t=_){return new y(e,t)}(null,v)}function E(e,t){!function(e,t){if(!(e instanceof y))throw new TypeError("setValue must be passed a tracked store created with `createStorage`.");e.value=e._lastValue=t}(e,t)}var 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)},A=(Symbol(),0),R=Object.getPrototypeOf({}),T=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=A++},O={get:(e,t)=>function(){const{value:n}=e,r=Reflect.get(n,t);if("symbol"==typeof t)return r;if(t in R)return r;if("object"==typeof r&&null!==r){let n=e.children[t];return void 0===n&&(n=e.children[t]=I(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)},P=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],N);tag=x();tags={};children={};collectionTag=null;id=A++},N={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 I(e){return Array.isArray(e)?new P(e):new T(e)}function M(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],a=t[o];s!==a&&(S(e),E(r[o],a)),"object"==typeof a&&null!==a&&delete r[o]}for(const e in o){const n=o[e],r=t[e];n.value!==r&&("object"==typeof r&&null!==r?M(n,r):(L(n),delete o[e]))}}function L(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)L(e.children[t])}var C=(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=C,maxSize:o=1,resultEqualityCheck:s}=n,a=D(r);let i=0;const u=o<=1?function(e){let t;return{get:n=>t&&e(t.key,n)?t.value:d,put(e,n){t={key:e,value:n}},getEntries:()=>t?[t]:[],clear(){t=void 0}}}(a):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 d}return{get:r,put:function(t,o){r(t)===d&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(o,a);function l(){let t=u.get(arguments);if(t===d){if(t=e.apply(null,arguments),i++,s){const e=u.getEntries().find(e=>s(e.value,t));e&&(t=e.value,0!==i&&i--)}u.put(arguments,t)}return t}return l.clearCache=()=>{u.clear(),l.resetResultsCount()},l.resultsCount=()=>i,l.resetResultsCount=()=>{i=0},l}function F(e){const t=I([]);let n=null;const r=D(C),o=(m(s=()=>e.apply(null,t.proxy),"the first parameter to `createCache` must be a function"),new w(s));var s;function a(){return r(n,arguments)||(M(t,arguments),n=arguments),o.value}return a.clearCache=()=>o.clear(),a}var B="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},$=0,W=1;function H(){return{s:$,v:void 0,o:null,p:null}}function V(e,t={}){let n=H();const{resultEqualityCheck:r}=t;let o,s=0;function a(){let t=n;const{length:a}=arguments;for(let e=0,n=a;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 i=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 B(u):u}return i.s=W,i.v=u,u}return a.clearCache=()=>{n=H(),a.resetResultsCount()},a.resultsCount=()=>s,a.resetResultsCount=()=>{s=0},a}function q(e,...t){const n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t,r=0,o=0,s={},a=e.pop();"object"==typeof a&&(s=a,a=e.pop()),m(a,`createSelector expects an output function after the inputs, but received: [${typeof a}]`);const i={...n,...s},{memoize:u,memoizeOptions:l=[],argsMemoize:c=V,argsMemoizeOptions:d=[],devModeChecks:b={}}=i,g=f(l),y=f(d),_=h(e),w=u(function(){return r++,a.apply(null,arguments)},...g);const k=c(function(){o++;const e=p(_,arguments);return t=w.apply(null,e),t},...y);return Object.assign(k,{resultFunc:a,memoizedResultFunc:w,dependencies:_,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>t,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:u,argsMemoize:c})};return Object.assign(r,{withTypes:()=>r}),r}var G=q(V),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 a={};for(var i in t.push(s),r.push(a),s){var u=s[i];if("object"!=typeof u||null===u)a[i]=u;else if(u instanceof Date)a[i]=new Date(u);else if(u instanceof Map)a[i]=new Map(o(Array.from(u),e));else if(u instanceof Set)a[i]=new Set(o(Array.from(u),e));else if(ArrayBuffer.isView(u))a[i]=n(u);else{var l=t.indexOf(u);a[i]=-1!==l?r[l]:e(u)}}return t.pop(),r.pop(),a}: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 a={};for(var i in t.push(s),r.push(a),s)if(!1!==Object.hasOwnProperty.call(s,i)){var u=s[i];if("object"!=typeof u||null===u)a[i]=u;else if(u instanceof Date)a[i]=new Date(u);else if(u instanceof Map)a[i]=new Map(o(Array.from(u),e));else if(u instanceof Set)a[i]=new Set(o(Array.from(u),e));else if(ArrayBuffer.isView(u))a[i]=n(u);else{var l=t.indexOf(u);a[i]=-1!==l?r[l]:e(u)}}return t.pop(),r.pop(),a};function o(e,o){for(var s=Object.keys(e),a=new Array(s.length),i=0;i<s.length;i++){var u=s[i],l=e[u];if("object"!=typeof l||null===l)a[u]=l;else if(l instanceof Date)a[u]=new Date(l);else if(ArrayBuffer.isView(l))a[u]=n(l);else{var c=t.indexOf(l);a[u]=-1!==c?r[c]:o(l)}}return a}}(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 a=r[s];"object"!=typeof a||null===a?o[s]=a:a instanceof Date?o[s]=new Date(a):a instanceof Map?o[s]=new Map(t(Array.from(a),e)):a instanceof Set?o[s]=new Set(t(Array.from(a),e)):ArrayBuffer.isView(a)?o[s]=n(a):o[s]=e(a)}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 a=r[s];"object"!=typeof a||null===a?o[s]=a:a instanceof Date?o[s]=new Date(a):a instanceof Map?o[s]=new Map(t(Array.from(a),e)):a instanceof Set?o[s]=new Set(t(Array.from(a),e)):ArrayBuffer.isView(a)?o[s]=n(a):o[s]=e(a)}return o};function t(e,t){for(var r=Object.keys(e),o=new Array(r.length),s=0;s<r.length;s++){var a=r[s],i=e[a];"object"!=typeof i||null===i?o[a]=i:i instanceof Date?o[a]=new Date(i):ArrayBuffer.isView(i)?o[a]=n(i):o[a]=t(i)}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"),a=new Array(16),i=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],u=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[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,a,i){return h(e+(t^n^r)+s+a|0,i)+o|0}function b(e,t,n,r,o,s,a,i){return h(e+(t&n|~t&r)+s+a|0,i)+o|0}function g(e,t,n,r,o,s,a,i){return h(e+((t|~n)^r)+s+a|0,i)+o|0}function y(e,t,n,r,o,s,a,i){return h(e+(t&r|n&~r)+s+a|0,i)+o|0}function _(e,t,n,r,o,s,a,i){return h(e+(t^(n|~r))+s+a|0,i)+o|0}o(f,s),f.prototype._update=function(){for(var e=a,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,w=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,A;j<16?(S=p(n,r,o,s,f,e[i[j]],d[0],l[j]),A=_(w,k,v,x,E,e[u[j]],m[0],c[j])):j<32?(S=b(n,r,o,s,f,e[i[j]],d[1],l[j]),A=y(w,k,v,x,E,e[u[j]],m[1],c[j])):j<48?(S=g(n,r,o,s,f,e[i[j]],d[2],l[j]),A=g(w,k,v,x,E,e[u[j]],m[2],c[j])):j<64?(S=y(n,r,o,s,f,e[i[j]],d[3],l[j]),A=b(w,k,v,x,E,e[u[j]],m[3],c[j])):(S=_(n,r,o,s,f,e[i[j]],d[4],l[j]),A=p(w,k,v,x,E,e[u[j]],m[4],c[j])),n=f,f=s,s=h(o,10),o=r,r=S,w=E,E=x,x=h(v,10),v=k,k=A}var R=this._b+o+x|0;this._b=this._c+s+E|0,this._c=this._d+f+w|0,this._d=this._e+n+k|0,this._e=this._a+r+v|0,this._a=R},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 a=0,i=8*e.length;i>0;++a)this._length[a]+=i,(i=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*i);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,a,i;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,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"))i="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";i='The "'.concat(e,'" ').concat(u," ").concat(r," ").concat(s(t,"type"))}return i+=". 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 a=r(s.prototype),i=0;i<a.length;i++){var u=a[i];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",c)))}function c(){this._writableState.ended||n.nextTick(d,this)}function d(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"),a=e("buffer").Buffer,i=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,l=e("util");u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,d,m,f=e("./internal/streams/buffer_list"),h=e("./internal/streams/destroy"),p=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,g=b.ERR_INVALID_ARG_TYPE,y=b.ERR_STREAM_PUSH_AFTER_EOF,_=b.ERR_METHOD_NOT_IMPLEMENTED,w=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&&(c||(c=e("string_decoder/").StringDecoder),this.decoder=new c(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?T(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,l);else if(o||(s=function(e,t){var n;r=t,a.isBuffer(r)||r instanceof i||"string"==typeof t||t===undefined||e.objectMode||(n=new g("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)===a.prototype||(t=function(e){return a.from(e)}(t)),r)l.endEmitted?k(e,new w):S(e,l,t,!0);else if(l.ended)k(e,new y);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):P(e,l)):S(e,l,t,!1)}else r||(l.reading=!1,P(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&&T(e)),P(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=a.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){c||(c=e("string_decoder/").StringDecoder);var n=new c(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 A=1073741824;function R(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>=A?e=A:(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 T(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,C(e)}function P(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(N,e,t))}function N(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 I(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function M(e){u("readable nexttick read 0"),e.read(0)}function L(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),C(e),t.flowing&&!t.reading&&e.read(0)}function C(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(F,t,e))}function F(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 B(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):T(this),null;if(0===(e=R(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=R(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 _("_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 a=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:b;function i(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",c),e.removeListener("error",f),e.removeListener("unpipe",i),r.removeListener("end",l),r.removeListener("end",b),r.removeListener("data",m),d=!0,!s.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}s.endEmitted?n.nextTick(a):r.once("end",a),e.on("unpipe",i);var c=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,C(e))}}(r);e.on("drain",c);var d=!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!==B(s.pipes,e))&&!d&&(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 a=B(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,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?T(this):o.reading||n.nextTick(M,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(I,this),r},E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||n.nextTick(I,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(L,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 d===undefined&&(d=e("./internal/streams/async_iterator")),d(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=c;var r=e("../errors").codes,o=r.ERR_METHOD_NOT_IMPLEMENTED,s=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=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 c(e){if(!(this instanceof c))return new c(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){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 i;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(c,u),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,n){n(new o("_transform()"))},c.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)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js"}],["/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")},a=e("./internal/streams/stream"),i=e("buffer").Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,c=e("./internal/streams/destroy"),d=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,g=m.ERR_STREAM_DESTROYED,y=m.ERR_STREAM_NULL_VALUES,_=m.ERR_STREAM_WRITE_AFTER_END,w=m.ERR_UNKNOWN_ENCODING,k=c.errorOrDestroy;function v(){}function x(t,s,a){o=o||e("./_stream_duplex"),t=t||{},"boolean"!=typeof a&&(a=s instanceof o),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=d(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===t.decodeStrings;this.decodeStrings=!i,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 a=R(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||A(e,r),o?n.nextTick(S,e,r,a,s):S(e,r,a,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)),a.call(this)}function j(e,t,n,r,o,s,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("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 A(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var o=t.bufferedRequestCount,s=new Array(o),a=t.corkedRequestsFree;a.entry=n;for(var i=0,u=!0;n;)s[i]=n,n.isBuf||(u=!1),n=n.next,i+=1;s.allBuffers=u,j(e,t,!0,t.length,s,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,d=n.callback;if(j(e,t,!1,t.objectMode?1:l.length,l,c,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function R(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function T(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=R(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(T,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,a),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,a=!1,l=!s.objectMode&&(o=e,i.isBuffer(o)||o instanceof u);return l&&!i.isBuffer(e)&&(e=function(e){return i.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 _;k(e,r),n.nextTick(t,r)}(this,r):(l||function(e,t,r,o){var s;return null===r?s=new y:"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++,a=function(e,t,n,r,o,s){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=i.from(t,n));return t}(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}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 c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:s,next:null},c?c.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)),a},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||A(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 w(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=c.destroy,E.prototype._undestroy=c.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"),a=Symbol("lastResolve"),i=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),m=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var n=e[m].read();null!==n&&(e[c]=null,e[a]=null,e[i]=null,t(f(n,!1)))}}function p(e){n.nextTick(h,e)}var b=Object.getPrototypeOf(function(){}),g=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[c];if(o)r=new Promise(function(e,t){return function(n,r){e.then(function(){t[l]?n(f(undefined,!0)):t[d](n,r)},r)}}(o,this));else{var s=this[m].read();if(null!==s)return Promise.resolve(f(s,!1));r=new Promise(this[d])}return this[c]=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(g,(o(t={},m,{value:e,writable:!0}),o(t,a,{value:null,writable:!0}),o(t,i,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,l,{value:e._readableState.endEmitted,writable:!0}),o(t,d,{value:function(e,t){var r=n[m].read();r?(n[c]=null,n[a]=null,n[i]=null,e(f(r,!1))):(n[a]=e,n[i]=t)},writable:!0}),t));return n[c]=null,s(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[i];return null!==t&&(n[c]=null,n[a]=null,n[i]=null,t(e)),void(n[u]=e)}var r=n[a];null!==r&&(n[c]=null,n[a]=null,n[i]=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=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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,i(r.key),r)}}function i(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,c=l&&l.custom||"inspect";function d(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;)d(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:c,value:function(e,t){return l(this,o(o({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,n),r&&a(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 a=this,i=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return i||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?a._writableState?a._writableState.errorEmitted?e.nextTick(r,a):(a._writableState.errorEmitted=!0,e.nextTick(n,a,t)):e.nextTick(n,a,t):s?(e.nextTick(r,a),s(t)):e.nextTick(r,a)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var 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 a=n.readable||!1!==n.readable&&t.readable,i=n.writable||!1!==n.writable&&t.writable,u=function(){t.writable||c()},l=t._writableState&&t._writableState.finished,c=function(){i=!1,l=!0,a||s.call(t)},d=t._readableState&&t._readableState.endEmitted,m=function(){a=!1,d=!0,i||s.call(t)},f=function(e){s.call(t,e)},h=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new r),s.call(t,e)):i&&!l?(t._writableState&&t._writableState.ended||(e=new r),s.call(t,e)):void 0},p=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?i&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",c),t.on("abort",h),t.req?p():t.on("request",p)),t.on("end",m),t.on("finish",c),!1!==n.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",c),t.removeListener("abort",h),t.removeListener("request",p),t.req&&t.req.removeListener("finish",c),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",c),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,a=o.ERR_STREAM_DESTROYED;function i(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 c,d=function(e){return e.length?"function"!=typeof e[e.length-1]?i:e.pop():i}(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 i=!1;t.on("close",function(){i=!0}),r===undefined&&(r=e("./end-of-stream")),r(t,{readable:n,writable:o},function(e){if(e)return s(e);i=!0,s()});var u=!1;return function(e){if(!i&&!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 a("pipe"))}}(t,s,o>0,function(e){c||(c=e),e&&m.forEach(u),s||(m.forEach(u),d(c))})});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 a(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 i(e){var n,r,o,a,u,l=[],c=e[0];if(c<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(c<=183){if(n=c-127,o=128===c?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(c<=191){if(r=c-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(c<=247){for(n=c-191,a=e.slice(1,n);a.length;)u=i(a),l.push(u.data),a=u.remainder;return{data:l,remainder:e.slice(n)}}var d=(r=c-246)+(n=s(e.slice(1,r).toString("hex"),16));if(d>e.length)throw new Error("invalid rlp: total length is larger than the data");if(0===(a=e.slice(r,d)).length)throw new Error("invalid rlp, List has a invalid length");for(;a.length;)u=i(a),l.push(u.data),a=u.remainder;return{data:l,remainder:e.slice(d)}}function u(e){return"0x"===e.slice(0,2)}function l(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");var t=e.toString(16);return t.length%2?"0"+t:t}function c(e){if(!t.isBuffer(e)){if("string"==typeof e)return u(e)?t.from((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([a(s.length,192),s])}var i=c(n);return 1===i.length&&i[0]<128?i:t.concat([a(i.length,128),i])},n.decode=function(e,n){if(void 0===n&&(n=!1),!e||0===e.length)return t.from([]);var r=i(c(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=c(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 a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=r:(s(r,n),n.Buffer=a),a.prototype=Object.create(o.prototype),s(o,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.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},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.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"),a=e("es-errors/type");t.exports=function(e){if(!o(e))throw new a("`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 a(e){return e.length<5e3&&!s.test(e)?`"${e}"`:JSON.stringify(e)}function i(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 c(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 d(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=d(e,"maximumDepth"),h=d(e,"maximumBreadth");function p(e,r,c,d,b,g){let y=r[e];switch("object"==typeof y&&null!==y&&"function"==typeof y.toJSON&&(y=y.toJSON(e)),y=d.call(r,e,y),typeof y){case"string":return a(y);case"object":{if(null===y)return"null";if(-1!==c.indexOf(y))return n;let e="",t=",";const r=g;if(Array.isArray(y)){if(0===y.length)return"[]";if(f<c.length+1)return'"[Array]"';c.push(y),""!==b&&(e+=`\n${g+=b}`,t=`,\n${g}`);const n=Math.min(y.length,h);let o=0;for(;o<n-1;o++){const n=p(String(o),y,c,d,b,g);e+=n!==undefined?n:"null",e+=t}const s=p(String(o),y,c,d,b,g);if(e+=s!==undefined?s:"null",y.length-1>h){e+=`${t}"... ${m(y.length-h-1)} not stringified"`}return""!==b&&(e+=`\n${r}`),c.pop(),`[${e}]`}let o=Object.keys(y);const _=o.length;if(0===_)return"{}";if(f<c.length+1)return'"[Object]"';let w="",k="";""!==b&&(t=`,\n${g+=b}`,w=" ");const v=Math.min(_,h);s&&!l(y)&&(o=i(o,u)),c.push(y);for(let n=0;n<v;n++){const r=o[n],s=p(r,y,c,d,b,g);s!==undefined&&(e+=`${k}${a(r)}:${w}${s}`,k=t)}if(_>h){e+=`${k}"...":${w}"${m(_-h)} not stringified"`,k=t}return""!==b&&k.length>1&&(e=`\n${g}${e}\n${r}`),c.pop(),`{${e}}`}case"number":return isFinite(y)?String(y):t?t(y):"null";case"boolean":return!0===y?"true":"false";case"undefined":return undefined;case"bigint":if(o)return String(y);default:return t?t(y):undefined}}function b(e,r,s,i,u,l){switch("object"==typeof r&&null!==r&&"function"==typeof r.toJSON&&(r=r.toJSON(e)),typeof r){case"string":return a(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 a=0;for(;a<n-1;a++){const e=b(String(a),r[a],s,i,u,l);t+=e!==undefined?e:"null",t+=o}const c=b(String(a),r[a],s,i,u,l);if(t+=c!==undefined?c:"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 c="";""!==u&&(o=`,\n${l+=u}`,c=" ");let d="";for(const e of i){const n=b(e,r[e],s,i,u,l);n!==undefined&&(t+=`${d}${a(e)}:${c}${n}`,d=o)}return""!==u&&d.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 g(e,r,d,p,b){switch(typeof r){case"string":return a(r);case"object":{if(null===r)return"null";if("function"==typeof r.toJSON){if("object"!=typeof(r=r.toJSON(e)))return g(e,r,d,p,b);if(null===r)return"null"}if(-1!==d.indexOf(r))return n;const t=b;if(Array.isArray(r)){if(0===r.length)return"[]";if(f<d.length+1)return'"[Array]"';d.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=g(String(s),r[s],d,p,b);e+=t!==undefined?t:"null",e+=n}const a=g(String(s),r[s],d,p,b);if(e+=a!==undefined?a:"null",r.length-1>h){e+=`${n}"... ${m(r.length-h-1)} not stringified"`}return e+=`\n${t}`,d.pop(),`[${e}]`}let o=Object.keys(r);const y=o.length;if(0===y)return"{}";if(f<d.length+1)return'"[Object]"';const _=`,\n${b+=p}`;let w="",k="",v=Math.min(y,h);l(r)&&(w+=c(r,_,h),o=o.slice(r.length),v-=r.length,k=_),s&&(o=i(o,u)),d.push(r);for(let e=0;e<v;e++){const t=o[e],n=g(t,r[t],d,p,b);n!==undefined&&(w+=`${k}${a(t)}: ${n}`,k=_)}if(y>h){w+=`${k}"...": "${m(y-h)} not stringified"`,k=_}return""!==k&&(w=`\n${b}${w}\n${t}`),d.pop(),`{${w}}`}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 y(e,r,d){switch(typeof r){case"string":return a(r);case"object":{if(null===r)return"null";if("function"==typeof r.toJSON){if("object"!=typeof(r=r.toJSON(e)))return y(e,r,d);if(null===r)return"null"}if(-1!==d.indexOf(r))return n;let t="";const o=r.length!==undefined;if(o&&Array.isArray(r)){if(0===r.length)return"[]";if(f<d.length+1)return'"[Array]"';d.push(r);const e=Math.min(r.length,h);let n=0;for(;n<e-1;n++){const e=y(String(n),r[n],d);t+=e!==undefined?e:"null",t+=","}const o=y(String(n),r[n],d);if(t+=o!==undefined?o:"null",r.length-1>h){t+=`,"... ${m(r.length-h-1)} not stringified"`}return d.pop(),`[${t}]`}let p=Object.keys(r);const b=p.length;if(0===b)return"{}";if(f<d.length+1)return'"[Object]"';let g="",_=Math.min(b,h);o&&l(r)&&(t+=c(r,",",h),p=p.slice(r.length),_-=r.length,g=","),s&&(p=i(p,u)),d.push(r);for(let e=0;e<_;e++){const n=p[e],o=y(n,r[n],d);o!==undefined&&(t+=`${g}${a(n)}:${o}`,g=",")}if(b>h){t+=`${g}"...":"${m(b-h)} not stringified"`}return d.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 g("",e,[],r,"")}return y("",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,a=1359893119,i=2600822924,u=528734635,l=1541459225;const c=new Uint32Array(64);function d(e){let d=0,m=e.length;for(;m>=64;){let f,h,p,b,g,y=n,_=r,w=o,k=s,v=a,x=i,E=u,j=l;for(h=0;h<16;h++)p=d+4*h,c[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=c[h-2],b=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,f=c[h-15],g=(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3,c[h]=(b+c[h-7]|0)+(g+c[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]+c[h]|0)|0)|0,g=((y>>>2|y<<30)^(y>>>13|y<<19)^(y>>>22|y<<10))+(y&_^y&w^_&w)|0,j=E,E=x,x=v,v=k+b|0,k=w,w=_,_=y,y=b+g|0;n=n+y|0,r=r+_|0,o=o+w|0,s=s+k|0,a=a+v|0,i=i+x|0,u=u+E|0,l=l+j|0,d+=64,m-=64}}d(e);let m,f=e.length%64,h=e.length/536870912|0,p=e.length<<3,b=f<56?56:120,g=e.slice(e.length-f,e.length);for(g.push(128),m=f+1;m<b;m++)g.push(0);return g.push(h>>>24&255),g.push(h>>>16&255),g.push(h>>>8&255),g.push(h>>>0&255),g.push(p>>>24&255),g.push(p>>>16&255),g.push(p>>>8&255),g.push(p>>>0&255),d(g),[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,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255,l>>>24&255,l>>>16&255,l>>>8&255,l>>>0&255]}function a(e,t,n){e=e.length<=64?e:s(e);const r=64+t.length+4,o=new Array(r),a=new Array(64);let i,u=[];for(i=0;i<64;i++)o[i]=54;for(i=0;i<e.length;i++)o[i]^=e[i];for(i=0;i<t.length;i++)o[64+i]=t[i];for(i=r-4;i<r;i++)o[i]=0;for(i=0;i<64;i++)a[i]=92;for(i=0;i<e.length;i++)a[i]^=e[i];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(a.concat(s(o)))),n-=32;return n>0&&(l(),u=u.concat(s(a.concat(s(o))).slice(0,n))),u}function i(e,t,n,r,o){let s;for(d(e,16*(2*n-1),o,0,16),s=0;s<2*n;s++)c(e,16*s,o,16),l(o,r),d(o,0,e,t+16*s,16);for(s=0;s<n;s++)d(e,t+2*s*16,e,16*s,16);for(s=0;s<n;s++)d(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){d(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 c(e,t,n,r){for(let o=0;o<r;o++)n[o]^=e[t+o]}function d(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=a(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 g=new Uint32Array(64*s),y=new Uint32Array(32*s*r),_=32*s,w=new Uint32Array(16),k=new Uint32Array(16),v=u*r*2;let x,E,j=0,S=null,A=!1,R=0,T=0;const O=h?parseInt(1e3/s):4294967295,P=void 0!==e?e:setTimeout,N=function(){if(A)return h(new Error("cancelled"),j/v);let e;switch(R){case 0:E=32*T*s,d(b,E,g,0,_),R=1,x=0;case 1:e=r-x,e>O&&(e=O);for(let t=0;t<e;t++)d(g,0,y,(x+t)*_,_),i(g,_,s,w,k);if(x+=e,j+=e,h){const e=parseInt(1e3*j/v);if(e!==S){if(A=h(null,j/v),A)break;S=e}}if(x<r)break;x=0,R=2;case 2:e=r-x,e>O&&(e=O);for(let t=0;t<e;t++){const e=g[16*(2*s-1)]&r-1;c(y,e*_,g,_),i(g,_,s,w,k)}if(x+=e,j+=e,h){const e=parseInt(1e3*j/v);if(e!==S){if(A=h(null,j/v),A)break;S=e}}if(x<r)break;if(d(g,0,b,E,_),T++,T<u){R=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=a(t,p,l);return h&&h(null,1,n),n}h&&P(N)};if(!h)for(;;){const e=N();if(e!=undefined)return e}N()}const p={scrypt:function(e,t,n,r,o,s,a){return new Promise(function(i,u){let l=0;a&&a(0),h(e,t,n,r,o,s,function(e,t,n){if(e)u(e);else if(n)a&&1!==l&&a(1),i(new Uint8Array(n));else if(a&&t!==l)return l=t,a(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 a(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 a=n.redSqr().redIMul(n).redIAdd(o.b).redSqrt();3===e!==a.isOdd()&&(a=a.redNeg());const i=n.redSqr().redIMul(n);return a.redSqr().redISub(i.redIAdd(o.b)).isZero()?r.keyPair({pub:{x:n,y:a}}):null}(t,e.subarray(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,n){let a=new s(t),i=new s(n);if(a.cmp(o.p)>=0||i.cmp(o.p)>=0)return null;if(a=a.toRed(o.red),i=i.toRed(o.red),(6===e||7===e)&&i.isOdd()!==(7===e))return null;const u=a.redSqr().redIMul(a);return i.redSqr().redISub(u.redIAdd(o.b)).isZero()?r.keyPair({pub:{x:a,y:i}}):null}(t,e.subarray(1,33),e.subarray(33,65));default:return null}}function i(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===a(e)?1:0,publicKeyCreate(e,t){const n=new s(t);if(n.cmp(o.n)>=0||n.isZero())return 1;return i(e,r.keyFromPrivate(t).getPublic()),0},publicKeyConvert(e,t){const n=a(t);if(null===n)return 1;return i(e,n.getPublic()),0},publicKeyNegate(e,t){const n=a(t);if(null===n)return 1;const r=n.getPublic();return r.y=r.y.redNeg(),i(e,r),0},publicKeyCombine(e,t){const n=new Array(t.length);for(let e=0;e<t.length;++e)if(n[e]=a(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:(i(e,r),0)},publicKeyTweakAdd(e,t,n){const r=a(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:(i(e,u),0)},publicKeyTweakMul(e,t,n){const r=a(t);if(null===r)return 1;if((n=new s(n)).cmp(o.n)>=0||n.isZero())return 2;return i(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:a}=e;let i=a.subarray(4,37);i[0]=0,i.set(n,1);let u=33,l=0;for(;u>1&&0===i[l]&&!(128&i[l+1]);--u,++l);if(i=i.subarray(l),128&i[0])return 1;if(u>1&&0===i[0]&&!(128&i[1]))return 1;let c=a.subarray(39,72);c[0]=0,c.set(r,1);let d=33,m=0;for(;d>1&&0===c[m]&&!(128&c[m+1]);--d,++m);return c=c.subarray(m),128&c[0]||d>1&&0===c[0]&&!(128&c[1])?1:(e.outputlen=6+u+d,a[0]=48,a[1]=e.outputlen-2,a[2]=2,a[3]=i.length,a.set(i,4),a[4+u]=2,a[5+u]=c.length,a.set(c,6+u),0)},signatureImport(e,t){if(t.length<8)return 1;if(t.length>72)return 1;if(48!==t[0])return 1;if(t[1]!==t.length-2)return 1;if(2!==t[2])return 1;const 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 a=t.subarray(4,4+n);if(33===a.length&&0===a[0]&&(a=a.subarray(1)),a.length>32)return 1;let i=t.subarray(6+n);if(33===i.length&&0===i[0]&&(i=i.slice(1)),i.length>32)throw new Error("S length is too long");let u=new s(a);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,a,i){if(i){const e=i;i=r=>{const o=e(t,n,null,a,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:i,pers:a})}catch(e){return 1}return e.signature.set(l.r.toArrayLike(Uint8Array,"be",32),0),e.signature.set(l.s.toArrayLike(Uint8Array,"be",32),32),e.recid=l.recoveryParam,0},ecdsaVerify(e,t,n){const i={r:e.subarray(0,32),s:e.subarray(32,64)},u=new s(i.r),l=new s(i.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 c=a(n);if(null===c)return 2;const d=c.getPublic();return r.verify(t,i,d)?0:3},ecdsaRecover(e,t,n,a){const u={r:t.slice(0,32),s:t.slice(32,64)},l=new s(u.r),c=new s(u.s);if(l.cmp(o.n)>=0||c.cmp(o.n)>=0)return 1;if(l.isZero()||c.isZero())return 2;let d;try{d=r.recoverPubKey(a,u,n)}catch(e){return 2}return i(e,d),0},ecdh(e,t,n,i,u,l,c){const d=a(t);if(null===d)return 1;const m=new s(n);if(m.cmp(o.n)>=0||m.isZero())return 2;const f=d.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];c||(c=new Uint8Array(32));const n=f.getY().toArray("be",32);for(let e=0;e<32;++e)c[e]=n[e];const r=u(l,c,i);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",a="Unknow error on context randomization",i="Private Key is invalid",u="Public Key could not be parsed",l="Public Key serialization error",c="The sum of the public keys is not valid",d="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 g(e){p("Boolean"===_(e),"Expected compressed to be a Boolean")}function y(e=e=>new Uint8Array(e),t){return"function"==typeof e&&(e=e(t)),b("output",e,t),e}function _(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(a)},privateKeyVerify:t=>(b("private key",t,32),0===e.privateKeyVerify(t)),privateKeyNegate(t){switch(b("private key",t,32),e.privateKeyNegate(t)){case 0:return t;case 1:throw new Error(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),g(n),r=y(r,n?33:65),e.publicKeyCreate(r,t)){case 0:return r;case 1:throw new Error(i);case 2:throw new Error(l)}},publicKeyConvert(t,n=!0,r){switch(b("public key",t,[33,65]),g(n),r=y(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]),g(n),o=y(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(g(n),r=y(r,n?33:65),e.publicKeyCombine(r,t)){case 0:return r;case 1:throw new Error(u);case 2:throw new Error(c);case 3:throw new Error(l)}},publicKeyTweakAdd(t,n,r=!0,s){switch(b("public key",t,[33,65]),b("tweak",n,32),g(r),s=y(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),g(r),o=y(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(d)}},signatureExport(t,n){b("signature",t,64);const o={output:n=y(n,72),outputlen:72};switch(e.signatureExport(o,t)){case 0:return n.slice(0,o.outputlen);case 1:throw new Error(d);case 2:throw new Error(r)}},signatureImport(t,n){switch(b("signature",t),n=y(n,64),e.signatureImport(n,t)){case 0:return n;case 1:throw new Error(d);case 2:throw new Error(r)}},ecdsaSign(t,n,o={},s){b("message",t,32),b("private key",n,32),p("Object"===_(o),"Expected options to be an Object"),o.data!==undefined&&b("options.data",o.data),o.noncefn!==undefined&&p("Function"===_(o.noncefn),"Expected options.noncefn to be a Function");const a={signature:s=y(s,64),recid:null};switch(e.ecdsaSign(a,t,n,o.data,o.noncefn)){case 0:return a;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(d);case 2:throw new Error(u)}},ecdsaRecover(t,n,o,s=!0,a){switch(b("signature",t,64),p("Number"===_(n)&&n>=0&&n<=3,"Expected recovery id to be a Number within interval [0, 3]"),b("message",o,32),g(s),a=y(a,s?33:65),e.ecdsaRecover(a,t,n,o)){case 0:return a;case 1:throw new Error(d);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"===_(r),"Expected options to be an Object"),r.data!==undefined&&b("options.data",r.data),r.hashfn!==undefined?(p("Function"===_(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=y(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?a[i.COMPARATORLOOSE]:a[i.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 c(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 c(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 d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(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:a,t:i}=e("../internal/re"),u=e("../functions/cmp"),l=e("../internal/debug"),c=e("./semver"),d=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=a(t),e instanceof o)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new o(e.raw,t);if(e instanceof i)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=>!g(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&y(e[0])){this.set=[e];break}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&p)|(this.options.loose&&b))+":"+e,n=s.get(t);if(n)return n;const r=this.options.loose,o=r?c[d.HYPHENRANGELOOSE]:c[d.HYPHENRANGE];e=e.replace(o,O(this.options.includePrerelease)),u("hyphen replace",e),e=e.replace(c[d.COMPARATORTRIM],m),u("comparator trim",e),e=e.replace(c[d.TILDETRIM],f),u("tilde trim",e),e=e.replace(c[d.CARETTRIM],h),u("caret trim",e);let a=e.split(" ").map(e=>w(e,this.options)).join(" ").split(/\s+/).map(e=>T(e,this.options));r&&(a=a.filter(e=>(u("loose invalid filter",e,this.options),!!e.match(c[d.COMPARATORLOOSE])))),u("range list",a);const l=new Map,y=a.map(e=>new i(e,this.options));for(const e of y){if(g(e))return[e];l.set(e.value,e)}l.size>1&&l.has("")&&l.delete("");const _=[...l.values()];return s.set(t,_),_}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Range is required");return this.set.some(n=>_(n,t)&&e.set.some(e=>_(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(P(this.set[t],e,this.options))return!0;return!1}}t.exports=o;const s=new(e("../internal/lrucache")),a=e("../internal/parse-options"),i=e("./comparator"),u=e("../internal/debug"),l=e("./semver"),{safeRe:c,t:d,comparatorTrimReplace:m,tildeTrimReplace:f,caretTrimReplace:h}=e("../internal/re"),{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:b}=e("../internal/constants"),g=e=>"<0.0.0-0"===e.value,y=e=>""===e.value,_=(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},w=(e,t)=>(e=e.replace(c[d.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=R(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?c[d.TILDELOOSE]:c[d.TILDE];return e.replace(n,(t,n,r,o,s)=>{let a;return u("tilde",e,t,n,r,o,s),k(n)?a="":k(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:k(o)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:s?(u("replaceTilde pr",s),a=`>=${n}.${r}.${o}-${s} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${o} <${n}.${+r+1}.0-0`,u("tilde return",a),a})},E=(e,t)=>e.trim().split(/\s+/).map(e=>j(e,t)).join(" "),j=(e,t)=>{u("caret",e,t);const n=t.loose?c[d.CARETLOOSE]:c[d.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,o,s,a)=>{let i;return u("caret",e,t,n,o,s,a),k(n)?i="":k(o)?i=`>=${n}.0.0${r} <${+n+1}.0.0-0`:k(s)?i="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(u("replaceCaret pr",a),i="0"===n?"0"===o?`>=${n}.${o}.${s}-${a} <${n}.${o}.${+s+1}-0`:`>=${n}.${o}.${s}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${s}-${a} <${+n+1}.0.0-0`):(u("no pr"),i="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",i),i})},S=(e,t)=>(u("replaceXRanges",e,t),e.split(/\s+/).map(e=>A(e,t)).join(" ")),A=(e,t)=>{e=e.trim();const n=t.loose?c[d.XRANGELOOSE]:c[d.XRANGE];return e.replace(n,(n,r,o,s,a,i)=>{u("xRange",e,n,r,o,s,a,i);const l=k(o),c=l||k(s),d=c||k(a),m=d;return"="===r&&m&&(r=""),i=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&m?(c&&(s=0),a=0,">"===r?(r=">=",c?(o=+o+1,s=0,a=0):(s=+s+1,a=0)):"<="===r&&(r="<",c?o=+o+1:s=+s+1),"<"===r&&(i="-0"),n=`${r+o}.${s}.${a}${i}`):c?n=`>=${o}.0.0${i} <${+o+1}.0.0-0`:d&&(n=`>=${o}.${s}.0${i} <${o}.${+s+1}.0-0`),u("xRange return",n),n})},R=(e,t)=>(u("replaceStars",e,t),e.trim().replace(c[d.STAR],"")),T=(e,t)=>(u("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?d.GTE0PRE:d.GTE0],"")),O=e=>(t,n,r,o,s,a,i,u,l,c,d,m)=>`${n=k(r)?"":k(o)?`>=${r}.0.0${e?"-0":""}`:k(s)?`>=${r}.${o}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${u=k(l)?"":k(c)?`<${+l+1}.0.0-0`:k(d)?`<${l}.${+c+1}.0-0`:m?`<=${l}.${c}.${d}-${m}`:e?`<${l}.${c}.${+d+1}-0`:`<=${u}`}`.trim(),P=(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!==i.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:a,t:i}=e("../internal/re"),u=e("../internal/parse-options"),{compareIdentifiers:l}=e("../internal/identifiers");class c{constructor(e,t){if(t=u(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>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?a[i.LOOSE]:a[i.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 c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const 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 c||(e=new c(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?a[i.PRERELEASELOOSE]:a[i.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=c}}},{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"),a=e("./gte"),i=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 a(e,n,l);case"<":return i(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:a}=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[a.COERCERTLFULL]:s[a.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[a.COERCEFULL]:s[a.COERCE]);if(null===n)return null;const i=n[2],u=n[3]||"0",l=n[4]||"0",c=t.includePrerelease&&n[5]?`-${n[5]}`:"",d=t.includePrerelease&&n[6]?`+${n[6]}`:"";return o(`${i}.${u}.${l}${c}${d}`,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 a=s>0,i=a?n:o,u=a?o:n,l=!!i.prerelease.length;if(!!u.prerelease.length&&!l){if(!u.patch&&!u.minor)return"major";if(0===u.compareMain(i))return u.minor&&!u.patch?"minor":"patch"}const c=l?"pre":"";return n.major!==o.major?c+"major":n.minor!==o.minor?c+"minor":n.patch!==o.patch?c+"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"),a=e("./internal/identifiers"),i=e("./functions/parse"),u=e("./functions/valid"),l=e("./functions/clean"),c=e("./functions/inc"),d=e("./functions/diff"),m=e("./functions/major"),f=e("./functions/minor"),h=e("./functions/patch"),p=e("./functions/prerelease"),b=e("./functions/compare"),g=e("./functions/rcompare"),y=e("./functions/compare-loose"),_=e("./functions/compare-build"),w=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"),A=e("./functions/lte"),R=e("./functions/cmp"),T=e("./functions/coerce"),O=e("./classes/comparator"),P=e("./classes/range"),N=e("./functions/satisfies"),I=e("./ranges/to-comparators"),M=e("./ranges/max-satisfying"),L=e("./ranges/min-satisfying"),C=e("./ranges/min-version"),D=e("./ranges/valid"),U=e("./ranges/outside"),F=e("./ranges/gtr"),B=e("./ranges/ltr"),$=e("./ranges/intersects"),W=e("./ranges/simplify"),H=e("./ranges/subset");t.exports={parse:i,valid:u,clean:l,inc:c,diff:d,major:m,minor:f,patch:h,prerelease:p,compare:b,rcompare:g,compareLoose:y,compareBuild:_,sort:w,rsort:k,gt:v,lt:x,eq:E,neq:j,gte:S,lte:A,cmp:R,coerce:T,Comparator:O,Range:P,satisfies:N,toComparators:I,maxSatisfying:M,minSatisfying:L,minVersion:C,validRange:D,outside:U,gtr:F,ltr:B,intersects:$,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:a.compareIdentifiers,rcompareIdentifiers:a.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"),a=e("./debug"),i=(n=t.exports={}).re=[],u=n.safeRe=[],l=n.src=[],c=n.safeSrc=[],d=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++;a(e,o,t),d[e]=o,l[o]=t,c[o]=r,i[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[d.NUMERICIDENTIFIER]})\\.(${l[d.NUMERICIDENTIFIER]})\\.(${l[d.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${l[d.NUMERICIDENTIFIERLOOSE]})\\.(${l[d.NUMERICIDENTIFIERLOOSE]})\\.(${l[d.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${l[d.NONNUMERICIDENTIFIER]}|${l[d.NUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${l[d.NONNUMERICIDENTIFIER]}|${l[d.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASE",`(?:-(${l[d.PRERELEASEIDENTIFIER]}(?:\\.${l[d.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${l[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[d.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${f}+`),p("BUILD",`(?:\\+(${l[d.BUILDIDENTIFIER]}(?:\\.${l[d.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${l[d.MAINVERSION]}${l[d.PRERELEASE]}?${l[d.BUILD]}?`),p("FULL",`^${l[d.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${l[d.MAINVERSIONLOOSE]}${l[d.PRERELEASELOOSE]}?${l[d.BUILD]}?`),p("LOOSE",`^${l[d.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${l[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${l[d.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${l[d.XRANGEIDENTIFIER]})(?:\\.(${l[d.XRANGEIDENTIFIER]})(?:\\.(${l[d.XRANGEIDENTIFIER]})(?:${l[d.PRERELEASE]})?${l[d.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${l[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[d.XRANGEIDENTIFIERLOOSE]})(?:${l[d.PRERELEASELOOSE]})?${l[d.BUILD]}?)?)?`),p("XRANGE",`^${l[d.GTLT]}\\s*${l[d.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${l[d.GTLT]}\\s*${l[d.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),p("COERCE",`${l[d.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",l[d.COERCEPLAIN]+`(?:${l[d.PRERELEASE]})?`+`(?:${l[d.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",l[d.COERCE],!0),p("COERCERTLFULL",l[d.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${l[d.LONETILDE]}\\s+`,!0),n.tildeTrimReplace="$1~",p("TILDE",`^${l[d.LONETILDE]}${l[d.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${l[d.LONETILDE]}${l[d.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${l[d.LONECARET]}\\s+`,!0),n.caretTrimReplace="$1^",p("CARET",`^${l[d.LONECARET]}${l[d.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${l[d.LONECARET]}${l[d.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${l[d.GTLT]}\\s*(${l[d.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${l[d.GTLT]}\\s*(${l[d.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${l[d.GTLT]}\\s*(${l[d.LOOSEPLAIN]}|${l[d.XRANGEPLAIN]})`,!0),n.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${l[d.XRANGEPLAIN]})\\s+-\\s+(${l[d.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${l[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[d.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,a=null,i=null;try{i=new o(t,n)}catch(e){return null}return e.forEach(e=>{i.test(e)&&(s&&-1!==a.compare(e)||(s=e,a=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,a=null,i=null;try{i=new o(t,n)}catch(e){return null}return e.forEach(e=>{i.test(e)&&(s&&1!==a.compare(e)||(s=e,a=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 a=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">=":a&&!s(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),!a||n&&!s(n,a)||(n=a)}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,a=e("../classes/range"),i=e("../functions/satisfies"),u=e("../functions/gt"),l=e("../functions/lt"),c=e("../functions/lte"),d=e("../functions/gte");t.exports=(e,t,n,m)=>{let f,h,p,b,g;switch(e=new r(e,m),t=new a(t,m),n){case">":f=u,h=c,p=l,b=">",g=">=";break;case"<":f=l,h=d,p=u,b="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,m))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let a=null,i=null;if(r.forEach(e=>{e.semver===s&&(e=new o(">=0.0.0")),a=a||e,i=i||e,f(e.semver,a.semver,m)?a=e:p(e.semver,i.semver,m)&&(i=e)}),a.operator===b||a.operator===g)return!1;if((!i.operator||i.operator===b)&&h(e,i.semver))return!1;if(i.operator===g&&p(e,i.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 a=null,i=null;const u=e.sort((e,t)=>o(e,t,n));for(const e of u){r(e,t,n)?(i=e,a||(a=e)):(i&&s.push([a,i]),i=null,a=null)}a&&s.push([a,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 c=l.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return c.length<d.length?c: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,a=e("../functions/satisfies.js"),i=e("../functions/compare.js"),u=[new o(">=0.0.0-0")],l=[new o(">=0.0.0")],c=(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,c,f,h,p,b,g;for(const t of e)">"===t.operator||">="===t.operator?o=d(o,t,n):"<"===t.operator||"<="===t.operator?c=m(c,t,n):r.add(t.semver);if(r.size>1)return null;if(o&&c){if(f=i(o.semver,c.semver,n),f>0)return null;if(0===f&&(">="!==o.operator||"<="!==c.operator))return null}for(const e of r){if(o&&!a(e,String(o),n))return null;if(c&&!a(e,String(c),n))return null;for(const r of t)if(!a(e,String(r),n))return!1;return!0}let y=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver,_=!(!o||n.includePrerelease||!o.semver.prerelease.length)&&o.semver;y&&1===y.prerelease.length&&"<"===c.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,b=b||"<"===e.operator||"<="===e.operator,o)if(_&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===_.major&&e.semver.minor===_.minor&&e.semver.patch===_.patch&&(_=!1),">"===e.operator||">="===e.operator){if(h=d(o,e,n),h===e&&h!==o)return!1}else if(">="===o.operator&&!a(o.semver,String(e),n))return!1;if(c)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(p=m(c,e,n),p===e&&p!==c)return!1}else if("<="===c.operator&&!a(c.semver,String(e),n))return!1;if(!e.operator&&(c||o)&&0!==f)return!1}return!(o&&b&&!c&&0!==f)&&(!(c&&g&&!o&&0!==f)&&(!_&&!y))},d=(e,t,n)=>{if(!e)return t;const r=i(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=i(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=c(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")(),a=e("gopd"),i=e("es-errors/type"),u=r("%Math.floor%");t.exports=function(e,t){if("function"!=typeof e)throw new i("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new i("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(r=!1),c&&!c.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,a=this._len,i=0;i<s;){for(var u=a%r,l=Math.min(s-i,r-u),c=0;c<l;c++)n[u+c]=e[i+c];i+=l,(a+=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,a=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function u(){this.init(),this._w=i,o.call(this,64,56)}function l(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function d(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,i=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)+d(f,r,o,s)+i+t[m]+a[f]|0;i=s,s=o,o=c(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=i+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,a=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function u(){this.init(),this._w=i,o.call(this,64,56)}function l(e){return e<<1|e>>>31}function c(e){return e<<5|e>>>27}function d(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,i=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=c(n)+m(h,r,o,s)+i+t[f]+a[h]|0;i=s,s=o,o=d(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=i+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"),a=e("safe-buffer").Buffer,i=new Array(64);function u(){this.init(),this._w=i,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=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=u}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha224.js"}],["/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,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],i=new Array(64);function u(){this.init(),this._w=i,o.call(this,64,56)}function l(e,t,n){return n^e&(t^n)}function c(e,t,n){return e&t|n&(e|t)}function d(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,i=0|this._e,u=0|this._f,p=0|this._g,b=0|this._h,g=0;g<16;++g)t[g]=e.readInt32BE(4*g);for(;g<64;++g)t[g]=h(t[g-2])+t[g-7]+f(t[g-15])+t[g-16]|0;for(var y=0;y<64;++y){var _=b+m(i)+l(i,u,p)+a[y]+t[y]|0,w=d(n)+c(n,r,o)|0;b=p,p=u,u=i,i=s+_|0,s=o,o=r,r=n,n=_+w|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=i+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"),a=e("safe-buffer").Buffer,i=new Array(160);function u(){this.init(),this._w=i,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=a.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,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],i=new Array(160);function u(){this.init(),this._w=i,o.call(this,128,112)}function l(e,t,n){return n^e&(t^n)}function c(e,t,n){return e&t|n&(e|t)}function d(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 g(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,i=0|this._eh,u=0|this._fh,y=0|this._gh,_=0|this._hh,w=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,A=0|this._hl,R=0;R<32;R+=2)t[R]=e.readInt32BE(4*R),t[R+1]=e.readInt32BE(4*R+4);for(;R<160;R+=2){var T=t[R-30],O=t[R-30+1],P=f(T,O),N=h(O,T),I=p(T=t[R-4],O=t[R-4+1]),M=b(O,T),L=t[R-14],C=t[R-14+1],D=t[R-32],U=t[R-32+1],F=N+C|0,B=P+L+g(F,N)|0;B=(B=B+I+g(F=F+M|0,M)|0)+D+g(F=F+U|0,U)|0,t[R]=B,t[R+1]=F}for(var $=0;$<160;$+=2){B=t[$],F=t[$+1];var W=c(n,r,o),H=c(w,k,v),V=d(n,w),q=d(w,n),G=m(i,E),z=m(E,i),K=a[$],Y=a[$+1],X=l(i,u,y),J=l(E,j,S),Z=A+z|0,Q=_+G+g(Z,A)|0;Q=(Q=(Q=Q+X+g(Z=Z+J|0,J)|0)+K+g(Z=Z+Y|0,Y)|0)+B+g(Z=Z+F|0,F)|0;var ee=q+H|0,te=V+W+g(ee,q)|0;_=y,A=S,y=u,S=j,u=i,j=E,i=s+Q+g(E=x+Z|0,x)|0,s=o,x=v,o=r,v=k,r=n,k=w,n=Q+te+g(w=Z+ee|0,Z)|0}this._al=this._al+w|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+A|0,this._ah=this._ah+n+g(this._al,w)|0,this._bh=this._bh+r+g(this._bl,k)|0,this._ch=this._ch+o+g(this._cl,v)|0,this._dh=this._dh+s+g(this._dl,x)|0,this._eh=this._eh+i+g(this._el,E)|0,this._fh=this._fh+u+g(this._fl,j)|0,this._gh=this._gh+y+g(this._gl,S)|0,this._hh=this._hh+_+g(this._hl,A)|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"),a=e("es-errors/type"),i=r("%Map%",!0),u=o("Map.prototype.get",!0),l=o("Map.prototype.set",!0),c=o("Map.prototype.has",!0),d=o("Map.prototype.delete",!0),m=o("Map.prototype.size",!0);t.exports=!!i&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+s(e))},delete:function(t){if(e){var n=d(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&&c(e,t)},set:function(t,n){e||(e=new i),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"),a=e("side-channel-map"),i=e("es-errors/type"),u=r("%WeakMap%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),d=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 i("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(a&&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?d(e,n):!!t&&t.has(n)},set:function(n,r){u&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new u),c(e,n,r)):a&&(t||(t=a()),t.set(n,r))}};return n}:a}}},{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"),a=e("side-channel-map"),i=e("side-channel-weakmap")||a||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=i()),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},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,s){function a(e){try{u(r.next(e))}catch(e){s(e)}}function i(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(a,i)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(n,"__esModule",{value:!0}),n.SiweMessage=void 0;const i=e("@spruceid/siwe-parser"),u=s(e("valid-url")),l=e("./ethersCompat"),c=e("./types"),d=e("./utils");n.SiweMessage=class{constructor(e){if("string"==typeof e){const t=new i.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,i.parseIntegerNumber)(this.chainId));this.nonce=this.nonce||(0,d.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,d.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 a(this,void 0,void 0,function*(){return console.warn("validate() has been deprecated, please update your code to use verify(). validate() may be removed in future versions."),this.verify({signature:e},{provider:t,suppressExceptions:!1}).then(({data:e})=>e).catch(({error:e})=>{throw e})})}verify(e,t={suppressExceptions:!1}){return a(this,void 0,void 0,function*(){return new Promise((n,r)=>{var o,s,a;const i=e=>t.suppressExceptions?n(e):r(e),u=(0,d.checkInvalidKeys)(e,c.VerifyParamsKeys);u.length>0&&i({success:!1,data:this,error:new Error(`${u.join(", ")} is/are not valid key(s) for VerifyParams.`)});const m=(0,d.checkInvalidKeys)(t,c.VerifyOptsKeys);u.length>0&&i({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:g}=e;h&&h!==this.scheme&&i({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.SCHEME_MISMATCH,h,this.scheme)}),p&&p!==this.domain&&i({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.DOMAIN_MISMATCH,p,this.domain)}),b&&b!==this.nonce&&i({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.NONCE_MISMATCH,b,this.nonce)});const y=new Date(g||new Date);if(this.expirationTime){const e=new Date(this.expirationTime);y.getTime()>=e.getTime()&&i({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.EXPIRED_MESSAGE,`${y.toISOString()} < ${e.toISOString()}`,`${y.toISOString()} >= ${e.toISOString()}`)})}if(this.notBefore){const e=new Date(this.notBefore);y.getTime()<e.getTime()&&i({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.NOT_YET_VALID_MESSAGE,`${y.toISOString()} >= ${e.toISOString()}`,`${y.toISOString()} < ${e.toISOString()}`)})}let _,w;try{_=this.prepareMessage()}catch(e){i({success:!1,data:this,error:e})}try{w=(0,l.verifyMessage)(_,f)}catch(e){console.error(e)}if(w===this.address)return n({success:!0,data:this});{const r=(0,d.checkContractWalletSignature)(this,f,t.provider).then(e=>e?{success:!0,data:this}:{success:!1,data:this,error:new c.SiweError(c.SiweErrorType.INVALID_SIGNATURE,w,`Resolved address to be ${this.address}`)}).catch(e=>({success:!1,data:this,error:e}));Promise.all([r,null===(a=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===a?void 0:a.catch(e=>e)]).then(([e,t])=>{if(t){if(t.success)return n(t);i(t)}else{if(e.success)return n(e);i(e)}})}})})}validateMessage(...e){var t;if(e.length>0)throw new c.SiweError(c.SiweErrorType.UNABLE_TO_PARSE,"Unexpected argument in the validateMessage function.");if(!this.domain||0===this.domain.length||!/[^#?]*/.test(this.domain))throw new c.SiweError(c.SiweErrorType.INVALID_DOMAIN,`${this.domain} to be a valid domain.`);if(!(0,i.isEIP55Address)(this.address))throw new c.SiweError(c.SiweErrorType.INVALID_ADDRESS,(0,l.getAddress)(this.address),this.address);if(!u.isUri(this.uri))throw new c.SiweError(c.SiweErrorType.INVALID_URI,`${this.uri} to be a valid uri.`);if("1"!==this.version)throw new c.SiweError(c.SiweErrorType.INVALID_MESSAGE_VERSION,"1",this.version);const 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 c.SiweError(c.SiweErrorType.INVALID_NONCE,`Length > 8 (${n.length}). Alphanumeric.`,this.nonce);if(this.issuedAt&&!(0,d.isValidISO8601Date)(this.issuedAt))throw new Error(c.SiweErrorType.INVALID_TIME_FORMAT);if(this.expirationTime&&!(0,d.isValidISO8601Date)(this.expirationTime))throw new Error(c.SiweErrorType.INVALID_TIME_FORMAT);if(this.notBefore&&!(0,d.isValidISO8601Date)(this.notBefore))throw new Error(c.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,a=null;try{o=r.ethers.utils.verifyMessage,s=r.ethers.utils.hashMessage,a=r.ethers.utils.getAddress}catch(e){o=r.ethers.verifyMessage,s=r.ethers.hashMessage,a=r.ethers.getAddress}n.verifyMessage=o,n.hashMessage=s,n.getAddress=a}}},{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 a(e){try{u(r.next(e))}catch(e){s(e)}}function i(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(a,i)}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"),a=e("./ethersCompat"),i=["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,i,n),o=(0,a.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")),a=o(e("apg-js/src/apg-lib/node-exports")),i=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 a.default.parser;t.ast=new a.default.ast;const n=a.default.ids;t.ast.callbacks.scheme=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&0===r&&(s.scheme=a.default.utils.charsToString(t,r,o)),i};t.ast.callbacks.domain=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&(s.domain=a.default.utils.charsToString(t,r,o)),i};t.ast.callbacks.address=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&(s.address=a.default.utils.charsToString(t,r,o)),i};t.ast.callbacks.statement=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&(s.statement=a.default.utils.charsToString(t,r,o)),i};t.ast.callbacks.uri=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&(s.uri||(s.uri=a.default.utils.charsToString(t,r,o))),i};t.ast.callbacks.version=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&(s.version=a.default.utils.charsToString(t,r,o)),i};t.ast.callbacks["chain-id"]=function(e,t,r,o,s){const u=n.SEM_OK;return e===n.SEM_PRE&&(s.chainId=(0,i.parseIntegerNumber)(a.default.utils.charsToString(t,r,o))),u};t.ast.callbacks.nonce=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&(s.nonce=a.default.utils.charsToString(t,r,o)),i};t.ast.callbacks["issued-at"]=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&(s.issuedAt=a.default.utils.charsToString(t,r,o)),i};t.ast.callbacks["expiration-time"]=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&(s.expirationTime=a.default.utils.charsToString(t,r,o)),i};t.ast.callbacks["not-before"]=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&(s.notBefore=a.default.utils.charsToString(t,r,o)),i};t.ast.callbacks["request-id"]=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&(s.requestId=a.default.utils.charsToString(t,r,o)),i};t.ast.callbacks.resources=function(e,t,r,o,s){const i=n.SEM_OK;return e===n.SEM_PRE&&(s.resources=a.default.utils.charsToString(t,r,o).slice(3).split("\n- ")),i};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,i.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",i),n.on("close",u));var a=!1;function i(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===r.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",o),e.removeListener("drain",s),n.removeListener("end",i),n.removeListener("close",u),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",l),e.on("error",l),n.on("end",c),n.on("close",c),e.on("close",c),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,a,i;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,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"))i="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";i='The "'.concat(e,'" ').concat(u," ").concat(r," ").concat(s(t,"type"))}return i+=". 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 a=r(s.prototype),i=0;i<a.length;i++){var u=a[i];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",c)))}function c(){this._writableState.ended||n.nextTick(d,this)}function d(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"),a=e("buffer").Buffer,i=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,l=e("util");u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,d,m,f=e("./internal/streams/buffer_list"),h=e("./internal/streams/destroy"),p=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,g=b.ERR_INVALID_ARG_TYPE,y=b.ERR_STREAM_PUSH_AFTER_EOF,_=b.ERR_METHOD_NOT_IMPLEMENTED,w=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&&(c||(c=e("string_decoder/").StringDecoder),this.decoder=new c(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?T(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,l);else if(o||(s=function(e,t){var n;r=t,a.isBuffer(r)||r instanceof i||"string"==typeof t||t===undefined||e.objectMode||(n=new g("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)===a.prototype||(t=function(e){return a.from(e)}(t)),r)l.endEmitted?k(e,new w):S(e,l,t,!0);else if(l.ended)k(e,new y);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):P(e,l)):S(e,l,t,!1)}else r||(l.reading=!1,P(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&&T(e)),P(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=a.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){c||(c=e("string_decoder/").StringDecoder);var n=new c(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 A=1073741824;function R(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>=A?e=A:(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 T(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,C(e)}function P(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(N,e,t))}function N(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 I(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function M(e){u("readable nexttick read 0"),e.read(0)}function L(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),C(e),t.flowing&&!t.reading&&e.read(0)}function C(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(F,t,e))}function F(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 B(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):T(this),null;if(0===(e=R(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=R(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 _("_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 a=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:b;function i(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",c),e.removeListener("error",f),e.removeListener("unpipe",i),r.removeListener("end",l),r.removeListener("end",b),r.removeListener("data",m),d=!0,!s.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}s.endEmitted?n.nextTick(a):r.once("end",a),e.on("unpipe",i);var c=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,C(e))}}(r);e.on("drain",c);var d=!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!==B(s.pipes,e))&&!d&&(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 a=B(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,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?T(this):o.reading||n.nextTick(M,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(I,this),r},E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||n.nextTick(I,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(L,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 d===undefined&&(d=e("./internal/streams/async_iterator")),d(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=c;var r=e("../errors").codes,o=r.ERR_METHOD_NOT_IMPLEMENTED,s=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=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 c(e){if(!(this instanceof c))return new c(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){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 i;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(c,u),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,n){n(new o("_transform()"))},c.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)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js"}],["/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")},a=e("./internal/streams/stream"),i=e("buffer").Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,c=e("./internal/streams/destroy"),d=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,g=m.ERR_STREAM_DESTROYED,y=m.ERR_STREAM_NULL_VALUES,_=m.ERR_STREAM_WRITE_AFTER_END,w=m.ERR_UNKNOWN_ENCODING,k=c.errorOrDestroy;function v(){}function x(t,s,a){o=o||e("./_stream_duplex"),t=t||{},"boolean"!=typeof a&&(a=s instanceof o),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=d(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===t.decodeStrings;this.decodeStrings=!i,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 a=R(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||A(e,r),o?n.nextTick(S,e,r,a,s):S(e,r,a,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)),a.call(this)}function j(e,t,n,r,o,s,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("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 A(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var o=t.bufferedRequestCount,s=new Array(o),a=t.corkedRequestsFree;a.entry=n;for(var i=0,u=!0;n;)s[i]=n,n.isBuf||(u=!1),n=n.next,i+=1;s.allBuffers=u,j(e,t,!0,t.length,s,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,d=n.callback;if(j(e,t,!1,t.objectMode?1:l.length,l,c,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function R(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function T(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=R(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(T,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,a),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,a=!1,l=!s.objectMode&&(o=e,i.isBuffer(o)||o instanceof u);return l&&!i.isBuffer(e)&&(e=function(e){return i.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 _;k(e,r),n.nextTick(t,r)}(this,r):(l||function(e,t,r,o){var s;return null===r?s=new y:"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++,a=function(e,t,n,r,o,s){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=i.from(t,n));return t}(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}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 c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:s,next:null},c?c.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)),a},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||A(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 w(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=c.destroy,E.prototype._undestroy=c.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"),a=Symbol("lastResolve"),i=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),m=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var n=e[m].read();null!==n&&(e[c]=null,e[a]=null,e[i]=null,t(f(n,!1)))}}function p(e){n.nextTick(h,e)}var b=Object.getPrototypeOf(function(){}),g=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[c];if(o)r=new Promise(function(e,t){return function(n,r){e.then(function(){t[l]?n(f(undefined,!0)):t[d](n,r)},r)}}(o,this));else{var s=this[m].read();if(null!==s)return Promise.resolve(f(s,!1));r=new Promise(this[d])}return this[c]=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(g,(o(t={},m,{value:e,writable:!0}),o(t,a,{value:null,writable:!0}),o(t,i,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,l,{value:e._readableState.endEmitted,writable:!0}),o(t,d,{value:function(e,t){var r=n[m].read();r?(n[c]=null,n[a]=null,n[i]=null,e(f(r,!1))):(n[a]=e,n[i]=t)},writable:!0}),t));return n[c]=null,s(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[i];return null!==t&&(n[c]=null,n[a]=null,n[i]=null,t(e)),void(n[u]=e)}var r=n[a];null!==r&&(n[c]=null,n[a]=null,n[i]=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=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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,i(r.key),r)}}function i(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,c=l&&l.custom||"inspect";function d(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;)d(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:c,value:function(e,t){return l(this,o(o({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,n),r&&a(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 a=this,i=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return i||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?a._writableState?a._writableState.errorEmitted?e.nextTick(r,a):(a._writableState.errorEmitted=!0,e.nextTick(n,a,t)):e.nextTick(n,a,t):s?(e.nextTick(r,a),s(t)):e.nextTick(r,a)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var 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 a=n.readable||!1!==n.readable&&t.readable,i=n.writable||!1!==n.writable&&t.writable,u=function(){t.writable||c()},l=t._writableState&&t._writableState.finished,c=function(){i=!1,l=!0,a||s.call(t)},d=t._readableState&&t._readableState.endEmitted,m=function(){a=!1,d=!0,i||s.call(t)},f=function(e){s.call(t,e)},h=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new r),s.call(t,e)):i&&!l?(t._writableState&&t._writableState.ended||(e=new r),s.call(t,e)):void 0},p=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?i&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",c),t.on("abort",h),t.req?p():t.on("request",p)),t.on("end",m),t.on("finish",c),!1!==n.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",c),t.removeListener("abort",h),t.removeListener("request",p),t.req&&t.req.removeListener("finish",c),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",c),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,a=o.ERR_STREAM_DESTROYED;function i(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 c,d=function(e){return e.length?"function"!=typeof e[e.length-1]?i:e.pop():i}(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 i=!1;t.on("close",function(){i=!0}),r===undefined&&(r=e("./end-of-stream")),r(t,{readable:n,writable:o},function(e){if(e)return s(e);i=!0,s()});var u=!1;return function(e){if(!i&&!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 a("pipe"))}}(t,s,o>0,function(e){c||(c=e),e&&m.forEach(u),s||(m.forEach(u),d(c))})});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"),a=e("builtin-status-codes"),i=e("url"),u=n;u.request=function(e,t){e="string"==typeof e?i.parse(e):s(e);var n=-1===global.location.protocol.search(/^https?:$/)?"http:":"",o=e.protocol||n,a=e.hostname||e.host,u=e.port,l=e.path||"/";a&&-1!==a.indexOf(":")&&(a="["+a+"]"),e.url=(a?o+"//"+a:"")+(u?":"+u:"")+l,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var c=new r(e);return t&&c.on("response",t),c},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=a,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}}},{package:"stream-http",file:"node_modules/stream-http/index.js"}],["/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 a(e){return"function"==typeof e}n.fetch=a(global.fetch)&&a(global.ReadableStream),n.writableStream=a(global.WritableStream),n.abortController=a(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()&&a(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"),a=e("./response"),i=e("readable-stream"),u=a.IncomingMessage,l=a.readyStates;var c=t.exports=function(e){var t,n=this;i.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(c,i.Writable),c.prototype.setHeader=function(e,t){var n=e.toLowerCase();-1===d.indexOf(n)&&(this._headers[n]={name:e,value:t})},c.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},c.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},c.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&0!==t.timeout&&e.setTimeout(t.timeout);var r=e._headers,s=null;"GET"!==t.method&&"HEAD"!==t.method&&(s=new Blob(e._body,{type:(r["content-type"]||{}).value||""}));var a=[];if(Object.keys(r).forEach(function(e){var t=r[e].name,n=r[e].value;Array.isArray(n)?n.forEach(function(e){a.push([t,e])}):a.push([t,n])}),"fetch"===e._mode){var i=null;if(o.abortController){var u=new AbortController;i=u.signal,e._fetchAbortController=u,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=global.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},t.requestTimeout))}global.fetch(e._opts.url,{method:e._opts.method,headers:a,body:s||undefined,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:i}).then(function(t){e._fetchResponse=t,e._resetTimers(!1),e._connect()},function(t){e._resetTimers(!0),e._destroyed||e.emit("error",t)})}else{var c=e._xhr=new global.XMLHttpRequest;try{c.open(e._opts.method,e._opts.url,!0)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}"responseType"in c&&(c.responseType=e._mode),"withCredentials"in c&&(c.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in c&&c.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(c.timeout=t.requestTimeout,c.ontimeout=function(){e.emit("requestTimeout")}),a.forEach(function(e){c.setRequestHeader(e[0],e[1])}),e._response=null,c.onreadystatechange=function(){switch(c.readyState){case l.LOADING:case l.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(c.onprogress=function(){e._onXHRProgress()}),c.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{c.send(s)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}}}},c.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}}(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))},c.prototype._connect=function(){var e=this;e._destroyed||(e._response=new u(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},c.prototype._write=function(e,t,n){this._body.push(e),n()},c.prototype._resetTimers=function(e){var t=this;global.clearTimeout(t._socketTimer),t._socketTimer=null,e?(global.clearTimeout(t._fetchTimer),t._fetchTimer=null):t._socketTimeout&&(t._socketTimer=global.setTimeout(function(){t.emit("timeout")},t._socketTimeout))},c.prototype.abort=c.prototype.destroy=function(e){var t=this;t._destroyed=!0,t._resetTimers(!0),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort(),e&&t.emit("error",e)},c.prototype.end=function(e,t,n){"function"==typeof e&&(n=e,e=undefined),i.Writable.prototype.end.call(this,e,t,n)},c.prototype.setTimeout=function(e,t){var n=this;t&&n.once("timeout",t),n._socketTimeout=e,n._resetTimers(!1)},c.prototype.flushHeaders=function(){},c.prototype.setNoDelay=function(){},c.prototype.setSocketKeepAlive=function(){};var d=["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"),a=e("readable-stream"),i=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},u=n.IncomingMessage=function(e,n,s,i){var u=this;if(a.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 i(!1),new Promise(function(t,n){u._destroyed?n():u.push(r.from(e))?t():u._resumeFetch=t})},close:function(){i(!0),u._destroyed||u.push(null)},abort:function(e){i(!0),u._destroyed||u.emit("error",e)}});try{return void n.body.pipeTo(l).catch(function(e){i(!0),u._destroyed||u.emit("error",e)})}catch(h){}}var c=n.body.getReader();function f(){c.read().then(function(e){u._destroyed||(i(e.done),e.done?u.push(null):(u.push(r.from(e.value)),f()))}).catch(function(e){i(!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 d=u.rawHeaders["mime-type"];if(d){var m=d.match(/;\s*charset=([^;])(;|$)/);m&&(u._charset=m[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};s(u,a.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 a=r.alloc(s.length),u=0;u<s.length;u++)a[u]=255&s.charCodeAt(u);t.push(a)}else t.push(s,t._charset);t._pos=o.length}break;case"arraybuffer":if(n.readyState!==i.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!==i.LOADING||!o)break;t.push(r.from(new Uint8Array(o)));break;case"ms-stream":if(o=n.response,n.readyState!==i.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===i.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,a,i;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,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"))i="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";i='The "'.concat(e,'" ').concat(u," ").concat(r," ").concat(s(t,"type"))}return i+=". 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 a=r(s.prototype),i=0;i<a.length;i++){var u=a[i];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",c)))}function c(){this._writableState.ended||n.nextTick(d,this)}function d(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"),a=e("buffer").Buffer,i=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,l=e("util");u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,d,m,f=e("./internal/streams/buffer_list"),h=e("./internal/streams/destroy"),p=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,g=b.ERR_INVALID_ARG_TYPE,y=b.ERR_STREAM_PUSH_AFTER_EOF,_=b.ERR_METHOD_NOT_IMPLEMENTED,w=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&&(c||(c=e("string_decoder/").StringDecoder),this.decoder=new c(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?T(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,l);else if(o||(s=function(e,t){var n;r=t,a.isBuffer(r)||r instanceof i||"string"==typeof t||t===undefined||e.objectMode||(n=new g("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)===a.prototype||(t=function(e){return a.from(e)}(t)),r)l.endEmitted?k(e,new w):S(e,l,t,!0);else if(l.ended)k(e,new y);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):P(e,l)):S(e,l,t,!1)}else r||(l.reading=!1,P(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&&T(e)),P(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=a.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){c||(c=e("string_decoder/").StringDecoder);var n=new c(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 A=1073741824;function R(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>=A?e=A:(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 T(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,C(e)}function P(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(N,e,t))}function N(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 I(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function M(e){u("readable nexttick read 0"),e.read(0)}function L(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),C(e),t.flowing&&!t.reading&&e.read(0)}function C(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(F,t,e))}function F(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 B(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):T(this),null;if(0===(e=R(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=R(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 _("_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 a=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:b;function i(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",c),e.removeListener("error",f),e.removeListener("unpipe",i),r.removeListener("end",l),r.removeListener("end",b),r.removeListener("data",m),d=!0,!s.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}s.endEmitted?n.nextTick(a):r.once("end",a),e.on("unpipe",i);var c=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,C(e))}}(r);e.on("drain",c);var d=!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!==B(s.pipes,e))&&!d&&(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 a=B(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,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?T(this):o.reading||n.nextTick(M,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(I,this),r},E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||n.nextTick(I,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(L,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 d===undefined&&(d=e("./internal/streams/async_iterator")),d(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=c;var r=e("../errors").codes,o=r.ERR_METHOD_NOT_IMPLEMENTED,s=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=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 c(e){if(!(this instanceof c))return new c(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){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 i;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(c,u),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,n){n(new o("_transform()"))},c.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)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js"}],["/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")},a=e("./internal/streams/stream"),i=e("buffer").Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,c=e("./internal/streams/destroy"),d=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,g=m.ERR_STREAM_DESTROYED,y=m.ERR_STREAM_NULL_VALUES,_=m.ERR_STREAM_WRITE_AFTER_END,w=m.ERR_UNKNOWN_ENCODING,k=c.errorOrDestroy;function v(){}function x(t,s,a){o=o||e("./_stream_duplex"),t=t||{},"boolean"!=typeof a&&(a=s instanceof o),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=d(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===t.decodeStrings;this.decodeStrings=!i,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 a=R(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||A(e,r),o?n.nextTick(S,e,r,a,s):S(e,r,a,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)),a.call(this)}function j(e,t,n,r,o,s,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("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 A(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var o=t.bufferedRequestCount,s=new Array(o),a=t.corkedRequestsFree;a.entry=n;for(var i=0,u=!0;n;)s[i]=n,n.isBuf||(u=!1),n=n.next,i+=1;s.allBuffers=u,j(e,t,!0,t.length,s,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,d=n.callback;if(j(e,t,!1,t.objectMode?1:l.length,l,c,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function R(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function T(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=R(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(T,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,a),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,a=!1,l=!s.objectMode&&(o=e,i.isBuffer(o)||o instanceof u);return l&&!i.isBuffer(e)&&(e=function(e){return i.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 _;k(e,r),n.nextTick(t,r)}(this,r):(l||function(e,t,r,o){var s;return null===r?s=new y:"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++,a=function(e,t,n,r,o,s){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=i.from(t,n));return t}(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}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 c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:s,next:null},c?c.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)),a},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||A(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 w(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=c.destroy,E.prototype._undestroy=c.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"),a=Symbol("lastResolve"),i=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),m=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var n=e[m].read();null!==n&&(e[c]=null,e[a]=null,e[i]=null,t(f(n,!1)))}}function p(e){n.nextTick(h,e)}var b=Object.getPrototypeOf(function(){}),g=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[c];if(o)r=new Promise(function(e,t){return function(n,r){e.then(function(){t[l]?n(f(undefined,!0)):t[d](n,r)},r)}}(o,this));else{var s=this[m].read();if(null!==s)return Promise.resolve(f(s,!1));r=new Promise(this[d])}return this[c]=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(g,(o(t={},m,{value:e,writable:!0}),o(t,a,{value:null,writable:!0}),o(t,i,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,l,{value:e._readableState.endEmitted,writable:!0}),o(t,d,{value:function(e,t){var r=n[m].read();r?(n[c]=null,n[a]=null,n[i]=null,e(f(r,!1))):(n[a]=e,n[i]=t)},writable:!0}),t));return n[c]=null,s(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[i];return null!==t&&(n[c]=null,n[a]=null,n[i]=null,t(e)),void(n[u]=e)}var r=n[a];null!==r&&(n[c]=null,n[a]=null,n[i]=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=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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,i(r.key),r)}}function i(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,c=l&&l.custom||"inspect";function d(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;)d(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:c,value:function(e,t){return l(this,o(o({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,n),r&&a(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 a=this,i=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return i||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?a._writableState?a._writableState.errorEmitted?e.nextTick(r,a):(a._writableState.errorEmitted=!0,e.nextTick(n,a,t)):e.nextTick(n,a,t):s?(e.nextTick(r,a),s(t)):e.nextTick(r,a)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var 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 a=n.readable||!1!==n.readable&&t.readable,i=n.writable||!1!==n.writable&&t.writable,u=function(){t.writable||c()},l=t._writableState&&t._writableState.finished,c=function(){i=!1,l=!0,a||s.call(t)},d=t._readableState&&t._readableState.endEmitted,m=function(){a=!1,d=!0,i||s.call(t)},f=function(e){s.call(t,e)},h=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new r),s.call(t,e)):i&&!l?(t._writableState&&t._writableState.ended||(e=new r),s.call(t,e)):void 0},p=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?i&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",c),t.on("abort",h),t.req?p():t.on("request",p)),t.on("end",m),t.on("finish",c),!1!==n.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",c),t.removeListener("abort",h),t.removeListener("request",p),t.req&&t.req.removeListener("finish",c),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",c),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,a=o.ERR_STREAM_DESTROYED;function i(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 c,d=function(e){return e.length?"function"!=typeof e[e.length-1]?i:e.pop():i}(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 i=!1;t.on("close",function(){i=!0}),r===undefined&&(r=e("./end-of-stream")),r(t,{readable:n,writable:o},function(e){if(e)return s(e);i=!0,s()});var u=!1;return function(e){if(!i&&!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 a("pipe"))}}(t,s,o>0,function(e){c||(c=e),e&&m.forEach(u),s||(m.forEach(u),d(c))})});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=i,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=m,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(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 c(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 d(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=a(t[r]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--r<n||-2===o)return 0;if(o=a(t[r]),o>=0)return o>0&&(e.lastNeed=o-2),o;if(--r<n||-2===o)return 0;if(o=a(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"),a=ArrayBuffer.isView||function(e){try{return s(e),!0}catch(e){return!1}},i="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&&a(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),c=r.from(s);if(c.length===e.byteLength)return c}if(i&&e instanceof Uint8Array)return r.from(e);var d=o(e);if(d)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(d||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,a,i,u,l,c,d,m,f,h,p,b,g,y,_,w,k,v,x,E,j,S,A,R,T,O,P,N,I;!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},a=function(e,t,n,r){var o,s=arguments.length,a=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,n,a):o(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},i=function(e,t){return function(n,r){t(n,r,e)}},u=function(e,t,n,r,o,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var i,u=r.kind,l="getter"===u?"get":"setter"===u?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,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(a(e||null))};var b=(0,n[f])("accessor"===u?{get:d.get,set:d.set}:d[l],h);if("accessor"===u){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw new TypeError("Object expected");(i=a(b.get))&&(d.get=i),(i=a(b.set))&&(d.set=i),(i=a(b.init))&&o.unshift(i)}else(i=a(b))&&("field"===u?o.unshift(i):d[l]=i)}c&&Object.defineProperty(c,r.name,d),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},c=function(e){return"symbol"==typeof e?e:"".concat(e)},d=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 a(e){try{u(r.next(e))}catch(e){s(e)}}function i(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(a,i)}u((r=r.apply(e,t||[])).next())})},h=function(e,t){var n,r,o,s,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function i(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,i[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},p=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||P(t,e,n)},P=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.")},g=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,s=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=s.next()).done;)a.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 a},y=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e},_=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],a=0,i=s.length;a<i;a++,o++)r[o]=s[a];return r},w=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={},a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,l)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){o[e]&&(r[e]=function(t){return new Promise(function(n,r){s.push([e,t,n,r])>1||i(e,t)})},t&&(r[e]=t(r[e])))}function i(e,t){try{(n=o[e](t)).value instanceof k?Promise.resolve(n.value.v).then(u,l):c(s[0][2],n)}catch(e){c(s[0][3],e)}var n}function u(e){i("next",e)}function l(e){i("throw",e)}function c(e,t){e(t),s.shift(),s.length&&i(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)&&P(t,e,r);return n(t,e),t},A=function(e){return e&&e.__esModule?e:{default:e}},R=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)},T=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)},N=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 M="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};I=function(e){function t(t){e.error=e.hasError?new M(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",a),e("__param",i),e("__esDecorate",u),e("__runInitializers",l),e("__propKey",c),e("__setFunctionName",d),e("__metadata",m),e("__awaiter",f),e("__generator",h),e("__exportStar",p),e("__createBinding",P),e("__values",b),e("__read",g),e("__spread",y),e("__spreadArrays",_),e("__spreadArray",w),e("__await",k),e("__asyncGenerator",v),e("__asyncDelegator",x),e("__asyncValues",E),e("__makeTemplateObject",j),e("__importStar",S),e("__importDefault",A),e("__classPrivateFieldGet",R),e("__classPrivateFieldSet",T),e("__classPrivateFieldIn",O),e("__addDisposableResource",N),e("__disposeResources",I)})}}},{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 a=n(),i=n([1]),u=n([56129,1]),l=n([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),c=n([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),d=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,a=0;for(s=0;s<o;s++)a|=e[t+s]^n[r+s];return(1&a-1>>>8)-1}function b(e,t,n,r){return p(e,t,n,r,16)}function g(e,t,n,r){return p(e,t,n,r,32)}function y(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,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,i=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,c=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,d=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,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,_=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,w=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,k=s,v=a,x=i,E=u,j=l,S=c,A=d,R=m,T=f,O=h,P=p,N=b,I=g,M=y,L=_,C=w,D=0;D<20;D+=2)k^=(o=(I^=(o=(T^=(o=(j^=(o=k+I|0)<<7|o>>>25)+k|0)<<9|o>>>23)+j|0)<<13|o>>>19)+T|0)<<18|o>>>14,S^=(o=(v^=(o=(M^=(o=(O^=(o=S+v|0)<<7|o>>>25)+S|0)<<9|o>>>23)+O|0)<<13|o>>>19)+M|0)<<18|o>>>14,P^=(o=(A^=(o=(x^=(o=(L^=(o=P+A|0)<<7|o>>>25)+P|0)<<9|o>>>23)+L|0)<<13|o>>>19)+x|0)<<18|o>>>14,C^=(o=(N^=(o=(R^=(o=(E^=(o=C+N|0)<<7|o>>>25)+C|0)<<9|o>>>23)+E|0)<<13|o>>>19)+R|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=(R^=(o=(A^=(o=S+j|0)<<7|o>>>25)+S|0)<<9|o>>>23)+A|0)<<13|o>>>19)+R|0)<<18|o>>>14,P^=(o=(O^=(o=(T^=(o=(N^=(o=P+O|0)<<7|o>>>25)+P|0)<<9|o>>>23)+N|0)<<13|o>>>19)+T|0)<<18|o>>>14,C^=(o=(L^=(o=(M^=(o=(I^=(o=C+L|0)<<7|o>>>25)+C|0)<<9|o>>>23)+I|0)<<13|o>>>19)+M|0)<<18|o>>>14;k=k+s|0,v=v+a|0,x=x+i|0,E=E+u|0,j=j+l|0,S=S+c|0,A=A+d|0,R=R+m|0,T=T+f|0,O=O+h|0,P=P+p|0,N=N+b|0,I=I+g|0,M=M+y|0,L=L+_|0,C=C+w|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]=A>>>0&255,e[25]=A>>>8&255,e[26]=A>>>16&255,e[27]=A>>>24&255,e[28]=R>>>0&255,e[29]=R>>>8&255,e[30]=R>>>16&255,e[31]=R>>>24&255,e[32]=T>>>0&255,e[33]=T>>>8&255,e[34]=T>>>16&255,e[35]=T>>>24&255,e[36]=O>>>0&255,e[37]=O>>>8&255,e[38]=O>>>16&255,e[39]=O>>>24&255,e[40]=P>>>0&255,e[41]=P>>>8&255,e[42]=P>>>16&255,e[43]=P>>>24&255,e[44]=N>>>0&255,e[45]=N>>>8&255,e[46]=N>>>16&255,e[47]=N>>>24&255,e[48]=I>>>0&255,e[49]=I>>>8&255,e[50]=I>>>16&255,e[51]=I>>>24&255,e[52]=M>>>0&255,e[53]=M>>>8&255,e[54]=M>>>16&255,e[55]=M>>>24&255,e[56]=L>>>0&255,e[57]=L>>>8&255,e[58]=L>>>16&255,e[59]=L>>>24&255,e[60]=C>>>0&255,e[61]=C>>>8&255,e[62]=C>>>16&255,e[63]=C>>>24&255}(e,t,n,r)}function _(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,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,i=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,c=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,d=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,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,_=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,w=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,k=0;k<20;k+=2)s^=(o=(g^=(o=(f^=(o=(l^=(o=s+g|0)<<7|o>>>25)+s|0)<<9|o>>>23)+l|0)<<13|o>>>19)+f|0)<<18|o>>>14,c^=(o=(a^=(o=(y^=(o=(h^=(o=c+a|0)<<7|o>>>25)+c|0)<<9|o>>>23)+h|0)<<13|o>>>19)+y|0)<<18|o>>>14,p^=(o=(d^=(o=(i^=(o=(_^=(o=p+d|0)<<7|o>>>25)+p|0)<<9|o>>>23)+_|0)<<13|o>>>19)+i|0)<<18|o>>>14,w^=(o=(b^=(o=(m^=(o=(u^=(o=w+b|0)<<7|o>>>25)+w|0)<<9|o>>>23)+u|0)<<13|o>>>19)+m|0)<<18|o>>>14,s^=(o=(u^=(o=(i^=(o=(a^=(o=s+u|0)<<7|o>>>25)+s|0)<<9|o>>>23)+a|0)<<13|o>>>19)+i|0)<<18|o>>>14,c^=(o=(l^=(o=(m^=(o=(d^=(o=c+l|0)<<7|o>>>25)+c|0)<<9|o>>>23)+d|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,w^=(o=(_^=(o=(y^=(o=(g^=(o=w+_|0)<<7|o>>>25)+w|0)<<9|o>>>23)+g|0)<<13|o>>>19)+y|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]=c>>>0&255,e[5]=c>>>8&255,e[6]=c>>>16&255,e[7]=c>>>24&255,e[8]=p>>>0&255,e[9]=p>>>8&255,e[10]=p>>>16&255,e[11]=p>>>24&255,e[12]=w>>>0&255,e[13]=w>>>8&255,e[14]=w>>>16&255,e[15]=w>>>24&255,e[16]=d>>>0&255,e[17]=d>>>8&255,e[18]=d>>>16&255,e[19]=d>>>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 w=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,a){var i,u,l=new Uint8Array(16),c=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(y(c,l,a,w),u=0;u<64;u++)e[t+u]=n[r+u]^c[u];for(i=1,u=8;u<16;u++)i=i+(255&l[u])|0,l[u]=255&i,i>>>=8;o-=64,t+=64,r+=64}if(o>0)for(y(c,l,a,w),u=0;u<o;u++)e[t+u]=n[r+u]^c[u];return 0}function v(e,t,n,r,o){var s,a,i=new Uint8Array(16),u=new Uint8Array(64);for(a=0;a<16;a++)i[a]=0;for(a=0;a<8;a++)i[a]=r[a];for(;n>=64;){for(y(u,i,o,w),a=0;a<64;a++)e[t+a]=u[a];for(s=1,a=8;a<16;a++)s=s+(255&i[a])|0,i[a]=255&s,s>>>=8;n-=64,t+=64}if(n>0)for(y(u,i,o,w),a=0;a<n;a++)e[t+a]=u[a];return 0}function x(e,t,n,r,o){var s=new Uint8Array(32);_(s,r,o,w);for(var a=new Uint8Array(8),i=0;i<8;i++)a[i]=r[i+16];return v(e,t,n,a,s)}function E(e,t,n,r,o,s,a){var i=new Uint8Array(32);_(i,s,a,w);for(var u=new Uint8Array(8),l=0;l<8;l++)u[l]=s[l+16];return k(e,t,n,r,o,u,i)}var j=function(e){var t,n,r,o,s,a,i,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,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(s>>>14|a<<2),i=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|i<<5),u=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(i>>>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 a=new j(s);return a.update(n,r,o),a.finish(e,t),0}function A(e,t,n,r,o,s){var a=new Uint8Array(16);return S(a,0,n,r,o,s),b(e,t,a,0)}function R(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 T(e,t,n,r,o){var s,a=new Uint8Array(32);if(n<32)return-1;if(x(a,0,32,r,o),0!==A(t,16,t,32,n-32,a))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 P(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 N(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 I(e,t){var r,o,s,a=n(),i=n();for(r=0;r<16;r++)i[r]=t[r];for(P(i),P(i),P(i),o=0;o<2;o++){for(a[0]=i[0]-65517,r=1;r<15;r++)a[r]=i[r]-65535-(a[r-1]>>16&1),a[r-1]&=65535;a[15]=i[15]-32767-(a[14]>>16&1),s=a[15]>>16&1,a[14]&=65535,N(i,a,1-s)}for(r=0;r<16;r++)e[2*r]=255&i[r],e[2*r+1]=i[r]>>8}function M(e,t){var n=new Uint8Array(32),r=new Uint8Array(32);return I(n,e),I(r,t),g(n,0,r,0)}function L(e){var t=new Uint8Array(32);return I(t,e),1&t[0]}function C(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 F(e,t,n){var r,o,s=0,a=0,i=0,u=0,l=0,c=0,d=0,m=0,f=0,h=0,p=0,b=0,g=0,y=0,_=0,w=0,k=0,v=0,x=0,E=0,j=0,S=0,A=0,R=0,T=0,O=0,P=0,N=0,I=0,M=0,L=0,C=n[0],D=n[1],U=n[2],F=n[3],B=n[4],$=n[5],W=n[6],H=n[7],V=n[8],q=n[9],G=n[10],z=n[11],K=n[12],Y=n[13],X=n[14],J=n[15];s+=(r=t[0])*C,a+=r*D,i+=r*U,u+=r*F,l+=r*B,c+=r*$,d+=r*W,m+=r*H,f+=r*V,h+=r*q,p+=r*G,b+=r*z,g+=r*K,y+=r*Y,_+=r*X,w+=r*J,a+=(r=t[1])*C,i+=r*D,u+=r*U,l+=r*F,c+=r*B,d+=r*$,m+=r*W,f+=r*H,h+=r*V,p+=r*q,b+=r*G,g+=r*z,y+=r*K,_+=r*Y,w+=r*X,k+=r*J,i+=(r=t[2])*C,u+=r*D,l+=r*U,c+=r*F,d+=r*B,m+=r*$,f+=r*W,h+=r*H,p+=r*V,b+=r*q,g+=r*G,y+=r*z,_+=r*K,w+=r*Y,k+=r*X,v+=r*J,u+=(r=t[3])*C,l+=r*D,c+=r*U,d+=r*F,m+=r*B,f+=r*$,h+=r*W,p+=r*H,b+=r*V,g+=r*q,y+=r*G,_+=r*z,w+=r*K,k+=r*Y,v+=r*X,x+=r*J,l+=(r=t[4])*C,c+=r*D,d+=r*U,m+=r*F,f+=r*B,h+=r*$,p+=r*W,b+=r*H,g+=r*V,y+=r*q,_+=r*G,w+=r*z,k+=r*K,v+=r*Y,x+=r*X,E+=r*J,c+=(r=t[5])*C,d+=r*D,m+=r*U,f+=r*F,h+=r*B,p+=r*$,b+=r*W,g+=r*H,y+=r*V,_+=r*q,w+=r*G,k+=r*z,v+=r*K,x+=r*Y,E+=r*X,j+=r*J,d+=(r=t[6])*C,m+=r*D,f+=r*U,h+=r*F,p+=r*B,b+=r*$,g+=r*W,y+=r*H,_+=r*V,w+=r*q,k+=r*G,v+=r*z,x+=r*K,E+=r*Y,j+=r*X,S+=r*J,m+=(r=t[7])*C,f+=r*D,h+=r*U,p+=r*F,b+=r*B,g+=r*$,y+=r*W,_+=r*H,w+=r*V,k+=r*q,v+=r*G,x+=r*z,E+=r*K,j+=r*Y,S+=r*X,A+=r*J,f+=(r=t[8])*C,h+=r*D,p+=r*U,b+=r*F,g+=r*B,y+=r*$,_+=r*W,w+=r*H,k+=r*V,v+=r*q,x+=r*G,E+=r*z,j+=r*K,S+=r*Y,A+=r*X,R+=r*J,h+=(r=t[9])*C,p+=r*D,b+=r*U,g+=r*F,y+=r*B,_+=r*$,w+=r*W,k+=r*H,v+=r*V,x+=r*q,E+=r*G,j+=r*z,S+=r*K,A+=r*Y,R+=r*X,T+=r*J,p+=(r=t[10])*C,b+=r*D,g+=r*U,y+=r*F,_+=r*B,w+=r*$,k+=r*W,v+=r*H,x+=r*V,E+=r*q,j+=r*G,S+=r*z,A+=r*K,R+=r*Y,T+=r*X,O+=r*J,b+=(r=t[11])*C,g+=r*D,y+=r*U,_+=r*F,w+=r*B,k+=r*$,v+=r*W,x+=r*H,E+=r*V,j+=r*q,S+=r*G,A+=r*z,R+=r*K,T+=r*Y,O+=r*X,P+=r*J,g+=(r=t[12])*C,y+=r*D,_+=r*U,w+=r*F,k+=r*B,v+=r*$,x+=r*W,E+=r*H,j+=r*V,S+=r*q,A+=r*G,R+=r*z,T+=r*K,O+=r*Y,P+=r*X,N+=r*J,y+=(r=t[13])*C,_+=r*D,w+=r*U,k+=r*F,v+=r*B,x+=r*$,E+=r*W,j+=r*H,S+=r*V,A+=r*q,R+=r*G,T+=r*z,O+=r*K,P+=r*Y,N+=r*X,I+=r*J,_+=(r=t[14])*C,w+=r*D,k+=r*U,v+=r*F,x+=r*B,E+=r*$,j+=r*W,S+=r*H,A+=r*V,R+=r*q,T+=r*G,O+=r*z,P+=r*K,N+=r*Y,I+=r*X,M+=r*J,w+=(r=t[15])*C,a+=38*(v+=r*U),i+=38*(x+=r*F),u+=38*(E+=r*B),l+=38*(j+=r*$),c+=38*(S+=r*W),d+=38*(A+=r*H),m+=38*(R+=r*V),f+=38*(T+=r*q),h+=38*(O+=r*G),p+=38*(P+=r*z),b+=38*(N+=r*K),g+=38*(I+=r*Y),y+=38*(M+=r*X),_+=38*(L+=r*J),s=(r=(s+=38*(k+=r*D))+(o=1)+65535)-65536*(o=Math.floor(r/65536)),a=(r=a+o+65535)-65536*(o=Math.floor(r/65536)),i=(r=i+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)),c=(r=c+o+65535)-65536*(o=Math.floor(r/65536)),d=(r=d+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)),g=(r=g+o+65535)-65536*(o=Math.floor(r/65536)),y=(r=y+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)),s=(r=(s+=o-1+37*(o-1))+(o=1)+65535)-65536*(o=Math.floor(r/65536)),a=(r=a+o+65535)-65536*(o=Math.floor(r/65536)),i=(r=i+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)),c=(r=c+o+65535)-65536*(o=Math.floor(r/65536)),d=(r=d+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)),g=(r=g+o+65535)-65536*(o=Math.floor(r/65536)),y=(r=y+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)),s+=o-1+37*(o-1),e[0]=s,e[1]=a,e[2]=i,e[3]=u,e[4]=l,e[5]=c,e[6]=d,e[7]=m,e[8]=f,e[9]=h,e[10]=p,e[11]=b,e[12]=g,e[13]=y,e[14]=_,e[15]=w}function B(e,t){F(e,t,t)}function $(e,t){var r,o=n();for(r=0;r<16;r++)o[r]=t[r];for(r=253;r>=0;r--)B(o,o),2!==r&&4!==r&&F(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--)B(o,o),1!==r&&F(o,o,t);for(r=0;r<16;r++)e[r]=o[r]}function H(e,t,r){var o,s,a=new Uint8Array(32),i=new Float64Array(80),l=n(),c=n(),d=n(),m=n(),f=n(),h=n();for(s=0;s<31;s++)a[s]=t[s];for(a[31]=127&t[31]|64,a[0]&=248,C(i,r),s=0;s<16;s++)c[s]=i[s],m[s]=l[s]=d[s]=0;for(l[0]=m[0]=1,s=254;s>=0;--s)N(l,c,o=a[s>>>3]>>>(7&s)&1),N(d,m,o),D(f,l,d),U(l,l,d),D(d,c,m),U(c,c,m),B(m,f),B(h,l),F(l,d,l),F(d,c,f),D(f,l,d),U(l,l,d),B(c,l),U(d,m,h),F(l,d,u),D(l,l,m),F(d,d,l),F(l,m,h),F(m,c,i),B(c,f),N(l,c,o),N(d,m,o);for(s=0;s<16;s++)i[s+16]=l[s],i[s+32]=d[s],i[s+48]=c[s],i[s+64]=m[s];var p=i.subarray(32),b=i.subarray(16);return $(p,p),F(b,b,p),I(e,b),0}function V(e,t){return H(e,t,s)}function q(e,t){return r(t,32),V(e,t)}function G(e,t,n){var r=new Uint8Array(32);return H(r,n,t),_(e,o,r,w)}j.prototype.blocks=function(e,t,n){for(var r,o,s,a,i,u,l,c,d,m,f,h,p,b,g,y,_,w,k,v=this.fin?0:2048,x=this.h[0],E=this.h[1],j=this.h[2],S=this.h[3],A=this.h[4],R=this.h[5],T=this.h[6],O=this.h[7],P=this.h[8],N=this.h[9],I=this.r[0],M=this.r[1],L=this.r[2],C=this.r[3],D=this.r[4],U=this.r[5],F=this.r[6],B=this.r[7],$=this.r[8],W=this.r[9];n>=16;)m=d=0,m+=(x+=8191&(r=255&e[t+0]|(255&e[t+1])<<8))*I,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*$),m+=(S+=8191&(s>>>7|(a=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*B),d=(m+=(A+=8191&(a>>>4|(i=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*F))>>>13,m&=8191,m+=(R+=i>>>1&8191)*(5*U),m+=(T+=8191&(i>>>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*C),m+=(P+=8191&(l>>>8|(c=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*L),f=d+=(m+=(N+=c>>>5|v)*(5*M))>>>13,f+=x*M,f+=E*I,f+=j*(5*W),f+=S*(5*$),d=(f+=A*(5*B))>>>13,f&=8191,f+=R*(5*F),f+=T*(5*U),f+=O*(5*D),f+=P*(5*C),d+=(f+=N*(5*L))>>>13,f&=8191,h=d,h+=x*L,h+=E*M,h+=j*I,h+=S*(5*W),d=(h+=A*(5*$))>>>13,h&=8191,h+=R*(5*B),h+=T*(5*F),h+=O*(5*U),h+=P*(5*D),p=d+=(h+=N*(5*C))>>>13,p+=x*C,p+=E*L,p+=j*M,p+=S*I,d=(p+=A*(5*W))>>>13,p&=8191,p+=R*(5*$),p+=T*(5*B),p+=O*(5*F),p+=P*(5*U),b=d+=(p+=N*(5*D))>>>13,b+=x*D,b+=E*C,b+=j*L,b+=S*M,d=(b+=A*I)>>>13,b&=8191,b+=R*(5*W),b+=T*(5*$),b+=O*(5*B),b+=P*(5*F),g=d+=(b+=N*(5*U))>>>13,g+=x*U,g+=E*D,g+=j*C,g+=S*L,d=(g+=A*M)>>>13,g&=8191,g+=R*I,g+=T*(5*W),g+=O*(5*$),g+=P*(5*B),y=d+=(g+=N*(5*F))>>>13,y+=x*F,y+=E*U,y+=j*D,y+=S*C,d=(y+=A*L)>>>13,y&=8191,y+=R*M,y+=T*I,y+=O*(5*W),y+=P*(5*$),_=d+=(y+=N*(5*B))>>>13,_+=x*B,_+=E*F,_+=j*U,_+=S*D,d=(_+=A*C)>>>13,_&=8191,_+=R*L,_+=T*M,_+=O*I,_+=P*(5*W),w=d+=(_+=N*(5*$))>>>13,w+=x*$,w+=E*B,w+=j*F,w+=S*U,d=(w+=A*D)>>>13,w&=8191,w+=R*C,w+=T*L,w+=O*M,w+=P*I,k=d+=(w+=N*(5*W))>>>13,k+=x*W,k+=E*$,k+=j*B,k+=S*F,d=(k+=A*U)>>>13,k&=8191,k+=R*D,k+=T*C,k+=O*L,k+=P*M,x=m=8191&(d=(d=((d+=(k+=N*I)>>>13)<<2)+d|0)+(m&=8191)|0),E=f+=d>>>=13,j=h&=8191,S=p&=8191,A=b&=8191,R=g&=8191,T=y&=8191,O=_&=8191,P=w&=8191,N=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]=A,this.h[5]=R,this.h[6]=T,this.h[7]=O,this.h[8]=P,this.h[9]=N},j.prototype.finish=function(e,t){var n,r,o,s,a=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,a[0]=this.h[0]+5,n=a[0]>>>13,a[0]&=8191,s=1;s<10;s++)a[s]=this.h[s]+n,n=a[s]>>>13,a[s]&=8191;for(a[9]-=8192,r=(1^n)-1,s=0;s<10;s++)a[s]&=r;for(r=~r,s=0;s<10;s++)this.h[s]=this.h[s]&r|a[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=R,K=T;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,a,i,u,l,c,d,m,f,h,p,b,g,y,_,w,k,v,x,E,j,S,A,R,T,O=new Int32Array(16),P=new Int32Array(16),N=e[0],I=e[1],M=e[2],L=e[3],C=e[4],D=e[5],U=e[6],F=e[7],B=t[0],$=t[1],W=t[2],H=t[3],V=t[4],q=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],P[v]=n[x+4]<<24|n[x+5]<<16|n[x+6]<<8|n[x+7];for(v=0;v<80;v++)if(o=N,s=I,a=M,i=L,u=C,l=D,c=U,F,m=B,f=$,h=W,p=H,b=V,g=q,y=G,z,S=65535&(j=z),A=j>>>16,R=65535&(E=F),T=E>>>16,S+=65535&(j=(V>>>14|C<<18)^(V>>>18|C<<14)^(C>>>9|V<<23)),A+=j>>>16,R+=65535&(E=(C>>>14|V<<18)^(C>>>18|V<<14)^(V>>>9|C<<23)),T+=E>>>16,S+=65535&(j=V&q^~V&G),A+=j>>>16,R+=65535&(E=C&D^~C&U),T+=E>>>16,S+=65535&(j=Y[2*v+1]),A+=j>>>16,R+=65535&(E=Y[2*v]),T+=E>>>16,E=O[v%16],A+=(j=P[v%16])>>>16,R+=65535&E,T+=E>>>16,R+=(A+=(S+=65535&j)>>>16)>>>16,S=65535&(j=k=65535&S|A<<16),A=j>>>16,R=65535&(E=w=65535&R|(T+=R>>>16)<<16),T=E>>>16,S+=65535&(j=(B>>>28|N<<4)^(N>>>2|B<<30)^(N>>>7|B<<25)),A+=j>>>16,R+=65535&(E=(N>>>28|B<<4)^(B>>>2|N<<30)^(B>>>7|N<<25)),T+=E>>>16,A+=(j=B&$^B&W^$&W)>>>16,R+=65535&(E=N&I^N&M^I&M),T+=E>>>16,d=65535&(R+=(A+=(S+=65535&j)>>>16)>>>16)|(T+=R>>>16)<<16,_=65535&S|A<<16,S=65535&(j=p),A=j>>>16,R=65535&(E=i),T=E>>>16,A+=(j=k)>>>16,R+=65535&(E=w),T+=E>>>16,I=o,M=s,L=a,C=i=65535&(R+=(A+=(S+=65535&j)>>>16)>>>16)|(T+=R>>>16)<<16,D=u,U=l,F=c,N=d,$=m,W=f,H=h,V=p=65535&S|A<<16,q=b,G=g,z=y,B=_,v%16==15)for(x=0;x<16;x++)E=O[x],S=65535&(j=P[x]),A=j>>>16,R=65535&E,T=E>>>16,E=O[(x+9)%16],S+=65535&(j=P[(x+9)%16]),A+=j>>>16,R+=65535&E,T+=E>>>16,w=O[(x+1)%16],S+=65535&(j=((k=P[(x+1)%16])>>>1|w<<31)^(k>>>8|w<<24)^(k>>>7|w<<25)),A+=j>>>16,R+=65535&(E=(w>>>1|k<<31)^(w>>>8|k<<24)^w>>>7),T+=E>>>16,w=O[(x+14)%16],A+=(j=((k=P[(x+14)%16])>>>19|w<<13)^(w>>>29|k<<3)^(k>>>6|w<<26))>>>16,R+=65535&(E=(w>>>19|k<<13)^(k>>>29|w<<3)^w>>>6),T+=E>>>16,T+=(R+=(A+=(S+=65535&j)>>>16)>>>16)>>>16,O[x]=65535&R|T<<16,P[x]=65535&S|A<<16;S=65535&(j=B),A=j>>>16,R=65535&(E=N),T=E>>>16,E=e[0],A+=(j=t[0])>>>16,R+=65535&E,T+=E>>>16,T+=(R+=(A+=(S+=65535&j)>>>16)>>>16)>>>16,e[0]=N=65535&R|T<<16,t[0]=B=65535&S|A<<16,S=65535&(j=$),A=j>>>16,R=65535&(E=I),T=E>>>16,E=e[1],A+=(j=t[1])>>>16,R+=65535&E,T+=E>>>16,T+=(R+=(A+=(S+=65535&j)>>>16)>>>16)>>>16,e[1]=I=65535&R|T<<16,t[1]=$=65535&S|A<<16,S=65535&(j=W),A=j>>>16,R=65535&(E=M),T=E>>>16,E=e[2],A+=(j=t[2])>>>16,R+=65535&E,T+=E>>>16,T+=(R+=(A+=(S+=65535&j)>>>16)>>>16)>>>16,e[2]=M=65535&R|T<<16,t[2]=W=65535&S|A<<16,S=65535&(j=H),A=j>>>16,R=65535&(E=L),T=E>>>16,E=e[3],A+=(j=t[3])>>>16,R+=65535&E,T+=E>>>16,T+=(R+=(A+=(S+=65535&j)>>>16)>>>16)>>>16,e[3]=L=65535&R|T<<16,t[3]=H=65535&S|A<<16,S=65535&(j=V),A=j>>>16,R=65535&(E=C),T=E>>>16,E=e[4],A+=(j=t[4])>>>16,R+=65535&E,T+=E>>>16,T+=(R+=(A+=(S+=65535&j)>>>16)>>>16)>>>16,e[4]=C=65535&R|T<<16,t[4]=V=65535&S|A<<16,S=65535&(j=q),A=j>>>16,R=65535&(E=D),T=E>>>16,E=e[5],A+=(j=t[5])>>>16,R+=65535&E,T+=E>>>16,T+=(R+=(A+=(S+=65535&j)>>>16)>>>16)>>>16,e[5]=D=65535&R|T<<16,t[5]=q=65535&S|A<<16,S=65535&(j=G),A=j>>>16,R=65535&(E=U),T=E>>>16,E=e[6],A+=(j=t[6])>>>16,R+=65535&E,T+=E>>>16,T+=(R+=(A+=(S+=65535&j)>>>16)>>>16)>>>16,e[6]=U=65535&R|T<<16,t[6]=G=65535&S|A<<16,S=65535&(j=z),A=j>>>16,R=65535&(E=F),T=E>>>16,E=e[7],A+=(j=t[7])>>>16,R+=65535&E,T+=E>>>16,T+=(R+=(A+=(S+=65535&j)>>>16)>>>16)>>>16,e[7]=F=65535&R|T<<16,t[7]=z=65535&S|A<<16,K+=128,r-=128}return r}function J(e,t,n){var r,o=new Int32Array(8),s=new Int32Array(8),a=new Uint8Array(256),i=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++)a[r]=t[i-n+r];for(a[n]=128,a[(n=256-128*(n<112?1:0))-9]=0,h(a,n-8,i/536870912|0,i<<3),X(o,s,a,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(),a=n(),i=n(),u=n(),l=n(),d=n(),m=n();U(r,e[1],e[0]),U(m,t[1],t[0]),F(r,r,m),D(o,e[0],e[1]),D(m,t[0],t[1]),F(o,o,m),F(s,e[3],t[3]),F(s,s,c),F(a,e[2],t[2]),D(a,a,a),U(i,o,r),U(u,a,s),D(l,a,s),D(d,o,r),F(e[0],i,u),F(e[1],d,l),F(e[2],l,u),F(e[3],i,d)}function Q(e,t,n){var r;for(r=0;r<4;r++)N(e[r],t[r],n)}function ee(e,t){var r=n(),o=n(),s=n();$(s,t[2]),F(r,t[0],s),F(o,t[1],s),I(e,o),e[31]^=L(r)<<7}function te(e,t,n){var r,o;for(O(e[0],a),O(e[1],i),O(e[2],i),O(e[3],a),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],d),O(r[1],m),O(r[2],i),F(r[3],d,m),te(e,r,t)}function re(e,t,o){var s,a=new Uint8Array(64),i=[n(),n(),n(),n()];for(o||r(t,32),J(a,t,32),a[0]&=248,a[31]&=127,a[31]|=64,ne(i,a),ee(e,i),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 ae(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 ie(e,t,r,o){var s,a,i=new Uint8Array(64),u=new Uint8Array(64),l=new Uint8Array(64),c=new Float64Array(64),d=[n(),n(),n(),n()];J(i,o,32),i[0]&=248,i[31]&=127,i[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]=i[32+s];for(J(l,e.subarray(32),r+32),ae(l),ne(d,l),ee(e,d),s=32;s<64;s++)e[s]=o[s];for(J(u,e,r+64),ae(u),s=0;s<64;s++)c[s]=0;for(s=0;s<32;s++)c[s]=l[s];for(s=0;s<32;s++)for(a=0;a<32;a++)c[s+a]+=u[s]*i[a];return se(e.subarray(32),c),m}function ue(e,t,r,o){var s,u=new Uint8Array(32),c=new Uint8Array(64),d=[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(),c=n(),d=n(),m=n();return O(e[2],i),C(e[1],t),B(s,e[1]),F(u,s,l),U(s,s,e[2]),D(u,e[2],u),B(c,u),B(d,c),F(m,d,c),F(r,m,s),F(r,r,u),W(r,r),F(r,r,s),F(r,r,u),F(r,r,u),F(e[0],r,u),B(o,e[0]),F(o,o,u),M(o,s)&&F(e[0],e[0],f),B(o,e[0]),F(o,o,u),M(o,s)?-1:(L(e[0])===t[31]>>7&&U(e[0],a,e[0]),F(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(c,e,r),ae(c),te(d,m,c),ne(m,t.subarray(32)),Z(d,m),ee(u,d),r-=64,g(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,ce=64,de=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:_,crypto_stream_xor:E,crypto_stream:x,crypto_stream_salsa20_xor:k,crypto_stream_salsa20:v,crypto_onetimeauth:S,crypto_onetimeauth_verify:A,crypto_verify_16:b,crypto_verify_32:g,crypto_secretbox:R,crypto_secretbox_open:T,crypto_scalarmult:H,crypto_scalarmult_base:V,crypto_box_beforenm:G,crypto_box_afternm:z,crypto_box:function(e,t,n,r,o,s){var a=new Uint8Array(32);return G(a,o,s),z(e,t,n,r,a)},crypto_box_open:function(e,t,n,r,o,s){var a=new Uint8Array(32);return G(a,o,s),K(e,t,n,r,a)},crypto_box_keypair:q,crypto_hash:J,crypto_sign:ie,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:ce,crypto_sign_PUBLICKEYBYTES:de,crypto_sign_SECRETKEYBYTES:me,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64,gf:n,D:l,L:oe,pack25519:I,unpack25519:C,M:F,A:D,S:B,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 R(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!==T(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 V(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 q(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 V(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(ce+e.length);return ie(n,e,e.length,t),n},t.sign.open=function(e,t){if(he(e,t),t.length!==de)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(ce),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!==ce)throw new Error("bad signature size");if(n.length!==de)throw new Error("bad public key size");var r,o=new Uint8Array(ce+e.length),s=new Uint8Array(ce+e.length);for(r=0;r<ce;r++)o[r]=t[r];for(r=0;r<e.length;r++)o[r+ce]=e[r];return ue(s,o,o.length,n)>=0},t.sign.keyPair=function(){var e=new Uint8Array(de),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(de),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(de),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=de,t.sign.secretKeyLength=me,t.sign.seedLength=32,t.sign.signatureLength=ce,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 a(e,t,n){return t>e.length-1?e:e.substr(0,t)+n+e.substr(t+1)}function i(e){for(var t=undefined,o=e.length,s=void 0,i=void 0;!t&&o-- >=0;){if(s=e[o],-1===(i=r.indexOf(s)))throw n("incorrectly encoded string");31!==i?t=a(e,o,r[i+1]):e=a(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 a=void 0,i="";t>0;t--)i=r.charAt(a=e%o)+i,e=(e-a)/o;return i}function c(e,t){for(var n="";e>0;e--)n=u(t)+n;return n}function d(){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=d()),function(t){return isNaN(t)&&(t=Date.now()),l(t,10)+c(16,e)}}var f=m();t.replaceCharAt=a,t.incrementBase32=i,t.randomChar=u,t.encodeTime=l,t.encodeRandom=c,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 a=r.indexOf(t);if(-1===a)throw n("invalid character found: "+t);return e+a*Math.pow(o,s)},0);if(t>s)throw n("malformed ulid, timestamp too large");return t},t.detectPrng=d,t.factory=m,t.monotonicFactory=function(e){e||(e=d());var t=0,n=void 0;return function(r){if(isNaN(r)&&(r=Date.now()),r<=t){var o=n=i(n);return l(t,10)+o}t=r;var s=n=c(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]"),a=n(n("%[EFef]"+s+"%"+s+s+"%"+s+s)+"|"+n("%[89A-Fa-f]"+s+"%"+s+s)+"|"+n("%"+s+s)),i="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",i),l=e?"[\\uE000-\\uF8FF]":"[]",c=t(r,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),d=n(r+t(r,o,"[\\+\\-\\.]")+"*"),m=n(n(a+"|"+t(c,i,"[\\:]"))+"*"),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),g=n(n(p+"\\:")+"{6}"+b),y=n("\\:\\:"+n(p+"\\:")+"{5}"+b),_=n(n(p)+"?\\:\\:"+n(p+"\\:")+"{4}"+b),w=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([g,y,_,w,k,v,x,E,j].join("|")),A=n(n(c+"|"+a)+"+"),R=(n(S+"\\%25"+A),n(S+n("\\%25|\\%(?!"+s+"{2})")+A)),T=n("[vV]"+s+"+\\."+t(c,i,"[\\:]")+"+"),O=n("\\["+n(R+"|"+S+"|"+T)+"\\]"),P=n(n(a+"|"+t(c,i))+"*"),N=n(O+"|"+h+"(?!"+P+")|"+P),I=n(o+"*"),M=n(n(m+"@")+"?"+N+n("\\:"+I)+"?"),L=n(a+"|"+t(c,i,"[\\:\\@]")),C=n(L+"*"),D=n(L+"+"),U=n(n(a+"|"+t(c,i,"[\\@]"))+"+"),F=n(n("\\/"+C)+"*"),B=n("\\/"+n(D+F)+"?"),$=n(U+F),W=n(D+F),H="(?!"+L+")",V=(n(F+"|"+B+"|"+$+"|"+W+"|"+H),n(n(L+"|"+t("[\\/\\?]",l))+"*")),q=n(n(L+"|[\\/\\?]")+"*"),G=n(n("\\/\\/"+M+F)+"|"+B+"|"+W+"|"+H),z=n(d+"\\:"+G+n("\\?"+V)+"?"+n("\\#"+q)+"?"),K=n(n("\\/\\/"+M+F)+"|"+B+"|"+$+"|"+H),Y=n(K+n("\\?"+V)+"?"+n("\\#"+q)+"?");n(z+"|"+Y),n(d+"\\:"+G+n("\\?"+V)+"?"),n(n("\\/\\/("+n("("+m+")@")+"?("+N+")"+n("\\:("+I+")")+"?)")+"?("+F+"|"+B+"|"+W+"|"+H+")"),n("\\?("+V+")"),n("\\#("+q+")"),n(n("\\/\\/("+n("("+m+")@")+"?("+N+")"+n("\\:("+I+")")+"?)")+"?("+F+"|"+B+"|"+$+"|"+H+")"),n("\\?("+V+")"),n("\\#("+q+")"),n(n("\\/\\/("+n("("+m+")@")+"?("+N+")"+n("\\:("+I+")")+"?)")+"?("+F+"|"+B+"|"+W+"|"+H+")"),n("\\?("+V+")"),n("\\#("+q+")"),n("("+m+")@"),n("\\:("+I+")");return{NOT_SCHEME:new RegExp(t("[^]",r,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",c,i),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",c,i),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",c,i),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",c,i),"g"),NOT_QUERY:new RegExp(t("[^\\%]",c,i,"[\\:\\@\\/\\?]",l),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",c,i,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",c,i),"g"),UNRESERVED:new RegExp(c,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",c,u),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+h+")$"),IPV6ADDRESS:new RegExp("^\\[?("+S+")"+n(n("\\%25|\\%(?!"+s+"{2})")+"("+A+")")+"?\\]?$")}}var a=s(!1),i=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 a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,s=e}finally{try{!r&&i.return&&i.return()}finally{if(o)throw s}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=2147483647,c=36,d=/^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 g(e){throw new RangeError(h[e])}function y(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 _(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 w=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c},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+=c)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,a=e.lastIndexOf("-");a<0&&(a=0);for(var i=0;i<a;++i)e.charCodeAt(i)>=128&&g("not-basic"),t.push(e.charCodeAt(i));for(var u=a>0?a+1:0;u<n;){for(var d=r,m=1,f=c;;f+=c){u>=n&&g("invalid-input");var h=w(e.charCodeAt(u++));(h>=c||h>p((l-r)/m))&&g("overflow"),r+=h*m;var b=f<=s?1:f>=s+26?26:f-s;if(h<b)break;var y=c-b;m>p(l/y)&&g("overflow"),m*=y}var _=t.length+1;s=v(r-d,_,0==d),p(r/_)>l-o&&g("overflow"),o+=p(r/_),r%=_,t.splice(r++,0,o)}return String.fromCodePoint.apply(String,t)},E=function(e){var t=[],n=(e=_(e)).length,r=128,o=0,s=72,a=!0,i=!1,u=undefined;try{for(var d,m=e[Symbol.iterator]();!(a=(d=m.next()).done);a=!0){var f=d.value;f<128&&t.push(b(f))}}catch(e){i=!0,u=e}finally{try{!a&&m.return&&m.return()}finally{if(i)throw u}}var h=t.length,y=h;for(h&&t.push("-");y<n;){var w=l,x=!0,E=!1,j=undefined;try{for(var S,A=e[Symbol.iterator]();!(x=(S=A.next()).done);x=!0){var R=S.value;R>=r&&R<w&&(w=R)}}catch(e){E=!0,j=e}finally{try{!x&&A.return&&A.return()}finally{if(E)throw j}}var T=y+1;w-r>p((l-o)/T)&&g("overflow"),o+=(w-r)*T,r=w;var O=!0,P=!1,N=undefined;try{for(var I,M=e[Symbol.iterator]();!(O=(I=M.next()).done);O=!0){var L=I.value;if(L<r&&++o>l&&g("overflow"),L==r){for(var C=o,D=c;;D+=c){var U=D<=s?1:D>=s+26?26:D-s;if(C<U)break;var F=C-U,B=c-U;t.push(b(k(U+F%B,0))),C=p(F/B)}t.push(b(k(C,0))),s=v(o,T,y==h),o=0,++y}}}catch(e){P=!0,N=e}finally{try{!O&&M.return&&M.return()}finally{if(P)throw N}}++o,++r}return t.join("")},j=function(e){return y(e,function(e){return m.test(e)?"xn--"+E(e):e})},S=function(e){return y(e,function(e){return d.test(e)?x(e.slice(4).toLowerCase()):e})},A={};function R(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 T(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 a=parseInt(e.substr(n+4,2),16),i=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&i)}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=T(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,R).replace(t.PCT_ENCODED,o)),e.host!==undefined&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,R).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,R).replace(t.PCT_ENCODED,o)),e.query!==undefined&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,R).replace(t.PCT_ENCODED,o)),e.fragment!==undefined&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,R).replace(t.PCT_ENCODED,o)),e}function P(e){return e.replace(/^0*(.*)/,"$1")||"0"}function N(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=u(n,2)[1];return r?r.split(".").map(P).join("."):e}function I(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=u(n,3),o=r[1],s=r[2];if(o){for(var a=o.toLowerCase().split("::").reverse(),i=u(a,2),l=i[0],c=i[1],d=c?c.split(":").map(P):[],m=l.split(":").map(P),f=t.IPV4ADDRESS.test(m[m.length-1]),h=f?7:8,p=m.length-h,b=Array(h),g=0;g<h;++g)b[g]=d[g]||m[p+g]||"";f&&(b[h-1]=N(b[h-1],t));var y=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],_=void 0;if(y&&y.length>1){var w=b.slice(0,y.index),k=b.slice(y.index+y.length);_=w.join(":")+"::"+k.join(":")}else _=b.join(":");return s&&(_+="%"+s),_}return e}var M=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,L="".match(/(){0}/)[1]===undefined;function C(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n={},r=!1!==t.iri?i:a;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(M);if(o){L?(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=I(N(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=A[(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,T).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}O(n,a)}s&&s.parse&&s.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}var D=/^\.\.?\//,U=/^\/\.(\/|$)/,F=/^\/\.\.(\/|$)/,B=/^\/?(?:.|\n)*?(?=\/|$)/;function $(e){for(var t=[];e.length;)if(e.match(D))e=e.replace(D,"");else if(e.match(U))e=e.replace(U,"/");else if(e.match(F))e=e.replace(F,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(B);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?i:a,r=[],o=A[(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,T).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?i:a,r=[];return e.userinfo!==undefined&&(r.push(e.userinfo),r.push("@")),e.host!==undefined&&r.push(I(N(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=$(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=C(W(e,n),n),t=C(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=$(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=$(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=$(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=$(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 V(e,t){return e&&e.toString().replace(t&&t.iri?i.PCT_ENCODED:a.PCT_ENCODED,T)}var q={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:q.domainHost,parse:q.parse,serialize:q.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 ae(e){var t=T(e);return t.match(te)?t:e}var ie={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={},a=n.query.split("&"),i=0,u=a.length;i<u;++i){var l=a[i].split("=");switch(l[0]){case"to":for(var c=l[1].split(","),d=0,m=c.length;d<m;++d)r.push(c[d]);break;case"subject":n.subject=V(l[1],t);break;case"body":n.body=V(l[1],t);break;default:o=!0,s[V(l[0],t)]=V(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]=V(p[0]),t.unicodeSupport)p[1]=V(p[1],t).toLowerCase();else try{p[1]=j(V(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 a=0,i=s.length;a<i;++a){var u=String(s[a]),l=u.lastIndexOf("@"),c=u.slice(0,l).replace(ne,ae).replace(ne,o).replace(re,R),d=u.slice(l+1);try{d=t.iri?S(d):j(V(d,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[a]=c+"@"+d}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,ae).replace(ne,o).replace(oe,R)+"="+m[h].replace(ne,ae).replace(ne,o).replace(se,R));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(),a=n[2],i=o+":"+(t.nid||s),u=A[i];r.nid=s,r.nss=a,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=A[o];s&&(e=s.serialize(e,t));var a=e,i=e.nss;return a.path=(r||t.nid)+":"+i,a}},ce=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,de={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(ce)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};A[q.scheme]=q,A[G.scheme]=G,A[K.scheme]=K,A[Y.scheme]=Y,A[ie.scheme]=ie,A[le.scheme]=le,A[de.scheme]=de,e.SCHEMES=A,e.pctEncChar=R,e.pctDecChars=T,e.parse=C,e.removeDotSegments=$,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(C(e,r),C(t,r),r,!0),r)},e.normalize=function(e,t){return"string"==typeof e?e=W(C(e,t),t):"object"===r(e)&&(e=C(W(e,t),t)),e},e.equal=function(e,t,n){return"string"==typeof e?e=W(C(e,n),n):"object"===r(e)&&(e=W(e,n)),"string"==typeof t?t=W(C(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?i.ESCAPE:a.ESCAPE,R)},e.unescapeComponent=V,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 a,i,u=2147483647,l=36,c=/^xn--/,d=/[^\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 g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function y(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(m,".")).split("."),t).join(".")}function _(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 w(e){return g(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,a,i,c,d,m,f=[],p=e.length,g=0,y=128,_=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=g,a=1,i=l;o>=p&&b("invalid-input"),((c=k(e.charCodeAt(o++)))>=l||c>h((u-g)/a))&&b("overflow"),g+=c*a,!(c<(d=i<=_?1:i>=_+26?26:i-_));i+=l)a>h(u/(m=l-d))&&b("overflow"),a*=m;_=x(g-s,t=f.length+1,0==s),h(g/t)>u-y&&b("overflow"),y+=h(g/t),g%=t,f.splice(g++,0,y)}return w(f)}function j(e){var t,n,r,o,s,a,i,c,d,m,f,g,y,w,k,E=[];for(g=(e=_(e)).length,t=128,n=0,s=72,a=0;a<g;++a)(f=e[a])<128&&E.push(p(f));for(r=o=E.length,o&&E.push("-");r<g;){for(i=u,a=0;a<g;++a)(f=e[a])>=t&&f<i&&(i=f);for(i-t>h((u-n)/(y=r+1))&&b("overflow"),n+=(i-t)*y,t=i,a=0;a<g;++a)if((f=e[a])<t&&++n>u&&b("overflow"),f==t){for(c=n,d=l;!(c<(m=d<=s?1:d>=s+26?26:d-s));d+=l)k=c-m,w=l-m,E.push(p(v(m+k%w,0))),c=h(k/w);E.push(p(v(c,0))),s=x(n,y,r==o),n=0,++r}++n,++t}return E.join("")}if(a={version:"1.4.1",ucs2:{decode:_,encode:w},decode:E,encode:j,toASCII:function(e){return y(e,function(e){return d.test(e)?"xn--"+j(e):e})},toUnicode:function(e){return y(e,function(e){return c.test(e)?E(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return a});else if(r&&o)if(t.exports==r)o.exports=a;else for(i in a)a.hasOwnProperty(i)&&(r[i]=a[i]);else e.punycode=a}(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,a=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),c=["%","/","?",";","#"].concat(l),d=["/","?","#"],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},g=e("qs");function y(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("?"),a=-1!==o&&o<e.indexOf("#")?"?":"#",u=e.split(a);u[0]=u[0].replace(/\\/g,"/");var y=e=u.join(a);if(y=y.trim(),!n&&1===e.split("#").length){var _=i.exec(y);if(_)return this.path=y,this.href=y,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=s.exec(y);if(w){var k=(w=w[0]).toLowerCase();this.protocol=k,y=y.substr(w.length)}if(n||w||y.match(/^\/\/[^@/]+@[^@/]+/)){var v="//"===y.substr(0,2);!v||w&&p[w]||(y=y.substr(2),this.slashes=!0)}if(!p[w]&&(v||w&&!b[w])){for(var x,E,j=-1,S=0;S<d.length;S++){-1!==(A=y.indexOf(d[S]))&&(-1===j||A<j)&&(j=A)}-1!==(E=-1===j?y.lastIndexOf("@"):y.lastIndexOf("@",j))&&(x=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(x)),j=-1;for(S=0;S<c.length;S++){var A;-1!==(A=y.indexOf(c[S]))&&(-1===j||A<j)&&(j=A)}-1===j&&(j=y.length),this.host=y.slice(0,j),y=y.slice(j),this.parseHost(),this.hostname=this.hostname||"";var R="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!R)for(var T=this.hostname.split(/\./),O=(S=0,T.length);S<O;S++){var P=T[S];if(P&&!P.match(m)){for(var N="",I=0,M=P.length;I<M;I++)P.charCodeAt(I)>127?N+="x":N+=P[I];if(!N.match(m)){var L=T.slice(0,S),C=T.slice(S+1),D=P.match(f);D&&(L.push(D[1]),C.unshift(D[2])),C.length&&(y="/"+C.join(".")+y),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=r.toASCII(this.hostname));var U=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+U,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!h[k])for(S=0,O=l.length;S<O;S++){var B=l[S];if(-1!==y.indexOf(B)){var $=encodeURIComponent(B);$===B&&($=escape(B)),y=y.split(B).join($)}}var W=y.indexOf("#");-1!==W&&(this.hash=y.substr(W),y=y.slice(0,W));var H=y.indexOf("?");if(-1!==H?(this.search=y.substr(H),this.query=y.substr(H+1),t&&(this.query=g.parse(this.query)),y=y.slice(0,H)):t&&(this.search="",this.query={}),y&&(this.pathname=y),b[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var V=this.search||"";this.path=U+V}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=g.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=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),a&&"?"!==a.charAt(0)&&(a="?"+a),t+o+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(a=a.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(y(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 a=r[s];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var i=Object.keys(e),u=0;u<i.length;u++){var l=i[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 c=Object.keys(e),d=0;d<c.length;d++){var m=c[d];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||"",g=n.search||"";n.path=h+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||y||n.host&&e.pathname,k=w,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),w=w&&(""===f[0]||""===v[0])),_)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,(R=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=R.shift(),n.hostname=R.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,A=v.length;A>=0;A--)"."===(E=v[A])?v.splice(A,1):".."===E?(v.splice(A,1),S++):S&&(v.splice(A,1),S--);if(!w&&!k)for(;S--;S)v.unshift("..");!w||""===v[0]||v[0]&&"/"===v[0].charAt(0)||v.unshift(""),j&&"/"!==v.join("/").substr(-1)&&v.push("");var R,T=""===v[0]||v[0]&&"/"===v[0].charAt(0);x&&(n.hostname=T?"":v.length?v.shift():"",n.host=n.hostname,(R=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=R.shift(),n.hostname=R.shift(),n.host=n.hostname));return(w=w||n.host&&v.length)&&!T&&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=a.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=y,n.resolve=function(e,t){return y(e,!1,!0).resolve(t)},n.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},n.format=function(e){return"string"==typeof e&&(e=y(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 a(e){if(e>=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}function i(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+=i(e,12),t+=i(e,6)):(a(e),t=o(e>>12&15|224),t+=i(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 c(){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 a(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 a,i=[];!1!==(a=c());)i.push(a);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}(i)}}(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"),a=e("is-typed-array");function i(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,c=i(Object.prototype.toString),d=i(Number.prototype.valueOf),m=i(String.prototype.valueOf),f=i(Boolean.prototype.valueOf);if(u)var h=i(BigInt.prototype.valueOf);if(l)var p=i(Symbol.prototype.valueOf);function b(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function g(e){return"[object Map]"===c(e)}function y(e){return"[object Set]"===c(e)}function _(e){return"[object WeakMap]"===c(e)}function w(e){return"[object WeakSet]"===c(e)}function k(e){return"[object ArrayBuffer]"===c(e)}function v(e){return"undefined"!=typeof ArrayBuffer&&(k.working?k(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===c(e)}function E(e){return"undefined"!=typeof DataView&&(x.working?x(e):e instanceof DataView)}n.isArgumentsObject=r,n.isGeneratorFunction=o,n.isTypedArray=a,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):a(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)},g.working="undefined"!=typeof Map&&g(new Map),n.isMap=function(e){return"undefined"!=typeof Map&&(g.working?g(e):e instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set),n.isSet=function(e){return"undefined"!=typeof Set&&(y.working?y(e):e instanceof Set)},_.working="undefined"!=typeof WeakMap&&_(new WeakMap),n.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(_.working?_(e):e instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),n.isWeakSet=function(e){return w(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]"===c(e)}function A(e){return void 0!==j&&(void 0===S.working&&(S.working=S(new j)),S.working?S(e):e instanceof j)}function R(e){return b(e,d)}function T(e){return b(e,m)}function O(e){return b(e,f)}function P(e){return u&&b(e,h)}function N(e){return l&&b(e,p)}n.isSharedArrayBuffer=A,n.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},n.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},n.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},n.isGeneratorObject=function(e){return"[object Generator]"===c(e)},n.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},n.isNumberObject=R,n.isStringObject=T,n.isBooleanObject=O,n.isBigIntObject=P,n.isSymbolObject=N,n.isBoxedPrimitive=function(e){return R(e)||T(e)||O(e)||P(e)||N(e)},n.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(v(e)||A(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(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(i(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,s=r.length,a=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)||!w(u)?a+=" "+u:a+=" "+i(u);return a},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={},a=/^$/;function i(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),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),c(r,e,r.depth)}function u(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function l(e,t){return e}function c(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 g(o)||(o=c(e,o,r)),o}var s=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(g(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 a=Object.keys(t),i=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),v(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(t);if(0===a.length){if(x(t)){var u=t.name?": "+t.name:"";return e.stylize("[Function"+u+"]","special")}if(_(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 d(t)}var l,w="",E=!1,j=["{","}"];(f(t)&&(E=!0,j=["[","]"]),x(t))&&(w=" [Function"+(t.name?": "+t.name:"")+"]");return _(t)&&(w=" "+RegExp.prototype.toString.call(t)),k(t)&&(w=" "+Date.prototype.toUTCString.call(t)),v(t)&&(w=" "+d(t)),0!==a.length||E&&0!=t.length?r<0?_(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=[],a=0,i=t.length;a<i;++a)A(t,String(a))?s.push(m(e,t,n,r,String(a),!0)):s.push("");return o.forEach(function(o){o.match(/^\d+$/)||s.push(m(e,t,n,r,o,!0))}),s}(e,t,r,i,a):a.map(function(n){return m(e,t,r,i,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,w,j)):j[0]+w+j[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,n,r,o,s){var a,i,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?i=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(i=e.stylize("[Setter]","special")),A(r,o)||(a="["+o+"]"),i||(e.seen.indexOf(u.value)<0?(i=p(n)?c(e,u.value,null):c(e,u.value,n-1)).indexOf("\n")>-1&&(i=s?i.split("\n").map(function(e){return"  "+e}).join("\n").slice(2):"\n"+i.split("\n").map(function(e){return"   "+e}).join("\n")):i=e.stylize("[Circular]","special")),y(a)){if(s&&o.match(/^\d+$/))return i;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+i}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 g(e){return"string"==typeof e}function y(e){return void 0===e}function _(e){return w(e)&&"[object RegExp]"===E(e)}function w(e){return"object"==typeof e&&null!==e}function k(e){return w(e)&&"[object Date]"===E(e)}function v(e){return w(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(a.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=i,i.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]},i.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=g,n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=y,n.isRegExp=_,n.types.isRegExp=_,n.isObject=w,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 A(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||!w(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var R="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):undefined;function T(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(R&&e[R]){var t;if("function"!=typeof(t=e[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{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)),R&&Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},n.promisify.custom=R,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,a=function(){return o.apply(s,arguments)};e.apply(this,n).then(function(e){t.nextTick(a.bind(null,null,e))},function(e){t.nextTick(T.bind(null,e,a))})}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 a.default}}),Object.defineProperty(n,"NIL",{enumerable:!0,get:function(){return i.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 c.default}}),Object.defineProperty(n,"parse",{enumerable:!0,get:function(){return d.default}});var r=m(e("./v1.js")),o=m(e("./v3.js")),s=m(e("./v4.js")),a=m(e("./v5.js")),i=m(e("./nil.js")),u=m(e("./version.js")),l=m(e("./validate.js")),c=m(e("./stringify.js")),d=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,a){return o((i=o(o(t,e),o(r,a)))<<(u=s)|i>>>32-u,n);var i,u}function a(e,t,n,r,o,a,i){return s(t&n|~t&r,e,t,o,a,i)}function i(e,t,n,r,o,a,i){return s(t&r|n&~r,e,t,o,a,i)}function u(e,t,n,r,o,a,i){return s(t^n^r,e,t,o,a,i)}function l(e,t,n,r,o,a,i){return s(n^(t|~r),e,t,o,a,i)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=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,c=-1732584194,d=271733878;for(let t=0;t<e.length;t+=16){const r=n,m=s,f=c,h=d;n=a(n,s,c,d,e[t],7,-680876936),d=a(d,n,s,c,e[t+1],12,-389564586),c=a(c,d,n,s,e[t+2],17,606105819),s=a(s,c,d,n,e[t+3],22,-1044525330),n=a(n,s,c,d,e[t+4],7,-176418897),d=a(d,n,s,c,e[t+5],12,1200080426),c=a(c,d,n,s,e[t+6],17,-1473231341),s=a(s,c,d,n,e[t+7],22,-45705983),n=a(n,s,c,d,e[t+8],7,1770035416),d=a(d,n,s,c,e[t+9],12,-1958414417),c=a(c,d,n,s,e[t+10],17,-42063),s=a(s,c,d,n,e[t+11],22,-1990404162),n=a(n,s,c,d,e[t+12],7,1804603682),d=a(d,n,s,c,e[t+13],12,-40341101),c=a(c,d,n,s,e[t+14],17,-1502002290),s=a(s,c,d,n,e[t+15],22,1236535329),n=i(n,s,c,d,e[t+1],5,-165796510),d=i(d,n,s,c,e[t+6],9,-1069501632),c=i(c,d,n,s,e[t+11],14,643717713),s=i(s,c,d,n,e[t],20,-373897302),n=i(n,s,c,d,e[t+5],5,-701558691),d=i(d,n,s,c,e[t+10],9,38016083),c=i(c,d,n,s,e[t+15],14,-660478335),s=i(s,c,d,n,e[t+4],20,-405537848),n=i(n,s,c,d,e[t+9],5,568446438),d=i(d,n,s,c,e[t+14],9,-1019803690),c=i(c,d,n,s,e[t+3],14,-187363961),s=i(s,c,d,n,e[t+8],20,1163531501),n=i(n,s,c,d,e[t+13],5,-1444681467),d=i(d,n,s,c,e[t+2],9,-51403784),c=i(c,d,n,s,e[t+7],14,1735328473),s=i(s,c,d,n,e[t+12],20,-1926607734),n=u(n,s,c,d,e[t+5],4,-378558),d=u(d,n,s,c,e[t+8],11,-2022574463),c=u(c,d,n,s,e[t+11],16,1839030562),s=u(s,c,d,n,e[t+14],23,-35309556),n=u(n,s,c,d,e[t+1],4,-1530992060),d=u(d,n,s,c,e[t+4],11,1272893353),c=u(c,d,n,s,e[t+7],16,-155497632),s=u(s,c,d,n,e[t+10],23,-1094730640),n=u(n,s,c,d,e[t+13],4,681279174),d=u(d,n,s,c,e[t],11,-358537222),c=u(c,d,n,s,e[t+3],16,-722521979),s=u(s,c,d,n,e[t+6],23,76029189),n=u(n,s,c,d,e[t+9],4,-640364487),d=u(d,n,s,c,e[t+12],11,-421815835),c=u(c,d,n,s,e[t+15],16,530742520),s=u(s,c,d,n,e[t+2],23,-995338651),n=l(n,s,c,d,e[t],6,-198630844),d=l(d,n,s,c,e[t+7],10,1126891415),c=l(c,d,n,s,e[t+14],15,-1416354905),s=l(s,c,d,n,e[t+5],21,-57434055),n=l(n,s,c,d,e[t+12],6,1700485571),d=l(d,n,s,c,e[t+3],10,-1894986606),c=l(c,d,n,s,e[t+10],15,-1051523),s=l(s,c,d,n,e[t+1],21,-2054922799),n=l(n,s,c,d,e[t+8],6,1873313359),d=l(d,n,s,c,e[t+15],10,-30611744),c=l(c,d,n,s,e[t+6],15,-1560198380),s=l(s,c,d,n,e[t+13],21,1309151649),n=l(n,s,c,d,e[t+4],6,-145523070),d=l(d,n,s,c,e[t+11],10,-1120210379),c=l(c,d,n,s,e[t+2],15,718787259),s=l(s,c,d,n,e[t+9],21,-343485551),n=o(n,r),s=o(s,m),c=o(c,f),d=o(d,h)}return[n,s,c,d]}(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=c}}},{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,a=Math.ceil(s/16),i=new Array(a);for(let t=0;t<a;++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];i[t]=n}i[a-1][14]=8*(e.length-1)/Math.pow(2,32),i[a-1][14]=Math.floor(i[a-1][14]),i[a-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<a;++e){const s=new Uint32Array(80);for(let t=0;t<16;++t)s[t]=i[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 a=n[0],u=n[1],l=n[2],c=n[3],d=n[4];for(let e=0;e<80;++e){const n=Math.floor(e/20),i=o(a,5)+r(n,u,l,c)+d+t[n]+s[e]>>>0;d=c,c=l,l=o(u,30)>>>0,u=a,a=i}n[0]=n[0]+a>>>0,n[1]=n[1]+u>>>0,n[2]=n[2]+l>>>0,n[3]=n[3]+c>>>0,n[4]=n[4]+d>>>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 a=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=a}}},{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 a,i,u=0,l=0;var c=function(e,t,n){let s=t&&n||0;const c=t||new Array(16);let d=(e=e||{}).node||a,m=e.clockseq!==undefined?e.clockseq:i;if(null==d||null==m){const t=e.random||(e.rng||r.default)();null==d&&(d=a=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==m&&(m=i=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,i=m,f+=122192928e5;const b=(1e4*(268435455&f)+h)%4294967296;c[s++]=b>>>24&255,c[s++]=b>>>16&255,c[s++]=b>>>8&255,c[s++]=255&b;const g=f/4294967296*1e4&268435455;c[s++]=g>>>8&255,c[s++]=255&g,c[s++]=g>>>24&15|16,c[s++]=g>>>16&255,c[s++]=m>>>8|128,c[s++]=255&m;for(let e=0;e<6;++e)c[s+e]=d[e];return t||(0,o.default)(c)};n.default=c}}},{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 a=(0,r.default)("v3",48,o.default);n.default=a}}},{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,a,i){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,a){i=i||0;for(let e=0;e<16;++e)a[i+e]=u[e];return a}return(0,r.default)(u)}try{s.name=e}catch(e){}return s.DNS=a,s.URL=i,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 a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";n.DNS=a;const i="6ba7b811-9dad-11d1-80b4-00c04fd430c8";n.URL=i}}},{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 a=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=a}}},{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 a=(0,r.default)("v5",80,o.default);n.default=a}}},{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"}],["/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){!function(e){e.exports.is_uri=n,e.exports.is_http_uri=r,e.exports.is_https_uri=o,e.exports.is_web_uri=s,e.exports.isUri=n,e.exports.isHttpUri=r,e.exports.isHttpsUri=o,e.exports.isWebUri=s;var t=function(e){return e.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/)};function n(e){if(e&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(e)&&!/%[^0-9a-f]/i.test(e)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(e)){var n,r,o,s,a,i="",u="";if(i=(n=t(e))[1],r=n[2],o=n[3],s=n[4],a=n[5],i&&i.length&&o.length>=0){if(r&&r.length){if(0!==o.length&&!/^\//.test(o))return}else if(/^\/\//.test(o))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(i.toLowerCase()))return u+=i+":",r&&r.length&&(u+="//"+r),u+=o,s&&s.length&&(u+="?"+s),a&&a.length&&(u+="#"+a),u}}}function r(e,r){if(n(e)){var o,s,a,i,u="",l="",c="",d="";if(u=(o=t(e))[1],l=o[2],s=o[3],a=o[4],i=o[5],u){if(r){if("https"!=u.toLowerCase())return}else if("http"!=u.toLowerCase())return;if(l)return/:(\d+)$/.test(l)&&(c=l.match(/:(\d+)$/)[0],l=l.replace(/:\d+$/,"")),d+=u+":",d+="//"+l,c&&(d+=c),d+=s,a&&a.length&&(d+="?"+a),i&&i.length&&(d+="#"+i),d}}}function o(e){return r(e,!0)}function s(e){return r(e)||o(e)}}(t)}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>valid-url",file:"node_modules/valid-url/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/vm-browserify/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)t.push(n);return t},o=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)},s=function(){try{return Object.defineProperty({},"_",{}),function(e,t,n){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:n})}}catch(e){return function(e,t,n){e[t]=n}}}(),a=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function i(){}i.prototype={};var u=n.Script=function(e){if(!(this instanceof u))return new u(e);this.code=e};u.prototype.runInContext=function(e){if(!(e instanceof i))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var n=t.contentWindow,u=n.eval,l=n.execScript;!u&&l&&(l.call(n,"null"),u=n.eval),o(r(e),function(t){n[t]=e[t]}),o(a,function(t){e[t]&&(n[t]=e[t])});var c=r(n),d=u.call(n,this.code);return o(r(n),function(t){(t in e||-1===function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}(c,t))&&(e[t]=n[t])}),o(a,function(t){t in e||s(e,t,n[t])}),document.body.removeChild(t),d},u.prototype.runInThisContext=function(){return(0,eval)(this.code)},u.prototype.runInNewContext=function(e){var t=u.createContext(e),n=this.runInContext(t);return e&&o(r(t),function(n){e[n]=t[n]}),n},o(r(u.prototype),function(e){n[e]=u[e]=function(t){var n=u(t);return n[e].apply(n,[].slice.call(arguments,1))}}),n.isContext=function(e){return e instanceof i},n.createScript=function(e){return n.Script(e)},n.createContext=u.createContext=function(e){var t=new i;return"object"==typeof e&&o(r(e),function(n){t[n]=e[n]}),t}}}},{package:"browserify>vm-browserify",file:"node_modules/vm-browserify/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/webextension-polyfill/dist/browser-polyfill.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){!function(e,r){if("function"==typeof define&&define.amd)define("webextension-polyfill",["module"],r);else if(void 0!==n)r(t);else{var o={exports:{}};r(o),e.browser=o.exports}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,function(e){if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const t="The message port closed before a response was received.",n="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",r=e=>{const r={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0},elements:{createSidebarPane:{minArgs:1,maxArgs:1}}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},goBack:{minArgs:0,maxArgs:1},goForward:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(r).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(e,t=undefined){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const s=(t,n)=>(...r)=>{e.runtime.lastError?t.reject(new Error(e.runtime.lastError.message)):n.singleCallbackArg||r.length<=1&&!1!==n.singleCallbackArg?t.resolve(r[0]):t.resolve(r)},a=e=>1==e?"argument":"arguments",i=(e,t,n)=>new Proxy(t,{apply:(t,r,o)=>n.call(r,e,...o)});let u=Function.call.bind(Object.prototype.hasOwnProperty);const l=(e,t={},n={})=>{let r=Object.create(null),o={has:(t,n)=>n in e||n in r,get(o,c,d){if(c in r)return r[c];if(!(c in e))return undefined;let m=e[c];if("function"==typeof m)if("function"==typeof t[c])m=i(e,e[c],t[c]);else if(u(n,c)){let t=((e,t)=>function(n,...r){if(r.length<t.minArgs)throw new Error(`Expected at least ${t.minArgs} ${a(t.minArgs)} for ${e}(), got ${r.length}`);if(r.length>t.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${r.length}`);return new Promise((o,a)=>{if(t.fallbackToNoCallback)try{n[e](...r,s({resolve:o,reject:a},t))}catch(s){console.warn(`${e} API method doesn't seem to support the callback parameter, falling back to call it without a callback: `,s),n[e](...r),t.fallbackToNoCallback=!1,t.noCallback=!0,o()}else t.noCallback?(n[e](...r),o()):n[e](...r,s({resolve:o,reject:a},t))})})(c,n[c]);m=i(e,e[c],t)}else m=m.bind(e);else if("object"==typeof m&&null!==m&&(u(t,c)||u(n,c)))m=l(m,t[c],n[c]);else{if(!u(n,"*"))return Object.defineProperty(r,c,{configurable:!0,enumerable:!0,get:()=>e[c],set(t){e[c]=t}}),m;m=l(m,t[c],n["*"])}return r[c]=m,m},set:(t,n,o,s)=>(n in r?r[n]=o:e[n]=o,!0),defineProperty:(e,t,n)=>Reflect.defineProperty(r,t,n),deleteProperty:(e,t)=>Reflect.deleteProperty(r,t)},c=Object.create(e);return new Proxy(c,o)},c=e=>({addListener(t,n,...r){t.addListener(e.get(n),...r)},hasListener:(t,n)=>t.hasListener(e.get(n)),removeListener(t,n){t.removeListener(e.get(n))}}),d=new o(e=>"function"!=typeof e?e:function(t){const n=l(t,{},{getContent:{minArgs:0,maxArgs:0}});e(n)});let m=!1;const f=new o(e=>"function"!=typeof e?e:function(t,r,o){let s,a,i=!1,u=new Promise(e=>{s=function(t){m||(console.warn(n,(new Error).stack),m=!0),i=!0,e(t)}});try{a=e(t,r,s)}catch(e){a=Promise.reject(e)}const l=!0!==a&&((c=a)&&"object"==typeof c&&"function"==typeof c.then);var c;if(!0!==a&&!l&&!i)return!1;const d=e=>{e.then(e=>{o(e)},e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:t})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return d(l?a:u),!0}),h=({reject:n,resolve:r},o)=>{e.runtime.lastError?e.runtime.lastError.message===t?r():n(new Error(e.runtime.lastError.message)):o&&o.__mozWebExtensionPolyfillReject__?n(new Error(o.message)):r(o)},p=(e,t,n,...r)=>{if(r.length<t.minArgs)throw new Error(`Expected at least ${t.minArgs} ${a(t.minArgs)} for ${e}(), got ${r.length}`);if(r.length>t.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${r.length}`);return new Promise((e,t)=>{const o=h.bind(null,{resolve:e,reject:t});r.push(o),n.sendMessage(...r)})},b={devtools:{network:{onRequestFinished:c(d)}},runtime:{onMessage:c(f),onMessageExternal:c(f),sendMessage:p.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:p.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},g={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return r.privacy={network:{"*":g},services:{"*":g},websites:{"*":g}},l(e,b,r)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=r(chrome)}else e.exports=browser})}}},{package:"webextension-polyfill",file:"node_modules/webextension-polyfill/dist/browser-polyfill.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/which-typed-array/index.js",{"available-typed-arrays":"/home/runner/work/metamask-extension/metamask-extension/node_modules/available-typed-arrays/index.js","call-bind":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind/index.js","call-bound":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bound/index.js","for-each":"/home/runner/work/metamask-extension/metamask-extension/node_modules/for-each/index.js","get-proto":"/home/runner/work/metamask-extension/metamask-extension/node_modules/get-proto/index.js",gopd:"/home/runner/work/metamask-extension/metamask-extension/node_modules/gopd/index.js","has-tostringtag/shams":"/home/runner/work/metamask-extension/metamask-extension/node_modules/has-tostringtag/shams.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("for-each"),o=e("available-typed-arrays"),s=e("call-bind"),a=e("call-bound"),i=e("gopd"),u=e("get-proto"),l=a("Object.prototype.toString"),c=e("has-tostringtag/shams")(),d="undefined"==typeof globalThis?global:globalThis,m=o(),f=a("String.prototype.slice"),h=a("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},p={__proto__:null};r(m,c&&i&&u?function(e){var t=new d[e];if(Symbol.toStringTag in t&&u){var n=u(t),r=i(n,Symbol.toStringTag);if(!r&&n){var o=u(n);r=i(o,Symbol.toStringTag)}p["$"+e]=s(r.get)}}:function(e){var t=new d[e],n=t.slice||t.set;n&&(p["$"+e]=s(n))});t.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=f(l(e),8,-1);return h(m,t)>-1?t:"Object"===t&&function(e){var t=!1;return r(p,function(n,r){if(!t)try{n(e),t=f(r,1)}catch(e){}}),t}(e)}return i?function(e){var t=!1;return r(p,function(n,r){if(!t)try{"$"+n(e)===r&&(t=f(r,1))}catch(e){}}),t}(e):null}}}},{package:"browserify>util>which-typed-array",file:"node_modules/which-typed-array/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/wrappy/wrappy.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function e(t,n){if(t&&n)return e(t)(n);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(e){r[e]=t[e]}),r;function r(){for(var e=new Array(arguments.length),n=0;n<e.length;n++)e[n]=arguments[n];var r=t.apply(this,e),o=e[e.length-1];return"function"==typeof r&&r!==o&&Object.keys(o).forEach(function(e){r[e]=o[e]}),r}}}}},{package:"@metamask/object-multiplex>once>wrappy",file:"node_modules/wrappy/wrappy.js"}],["/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){t.exports=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var o in n)r.call(n,o)&&(e[o]=n[o])}return e};var r=Object.prototype.hasOwnProperty}}},{package:"watchify>xtend",file:"node_modules/xtend/immutable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/yocto-queue/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){class r{constructor(e){this.value=e,this.next=undefined}}class o{constructor(){this.clear()}enqueue(e){const t=new r(e);this._head?(this._tail.next=t,this._tail=t):(this._head=t,this._tail=t),this._size++}dequeue(){const e=this._head;if(e)return this._head=this._head.next,this._size--,e.value}clear(){this._head=undefined,this._tail=undefined,this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;for(;e;)yield e.value,e=e.next}}t.exports=o}}},{package:"@metamask/assets-controller>p-limit>yocto-queue",file:"node_modules/yocto-queue/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/package.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports={name:"metamask-crx",version:"13.38.0",private:!0,repository:{type:"git",url:"https://github.com/MetaMask/metamask-extension.git"},scripts:{webpack:"tsx ./development/webpack/launch.ts","webpack:clearcache":"./development/clear-webpack-cache.js","webpack:tsc":"tsc -p ./development/webpack/tsconfig.webpack.json","webpack:lavamoat":"NODE_OPTIONS=--no-deprecation lavamoat --policy lavamoat/webpack/build/policy.json --override lavamoat/webpack/build/policy-override.json ./development/.webpack/launch.js","webpack:lavamoat:build":"yarn webpack:lavamoat -- --mode production --no-cache","webpack:lavamoat:build:mv2":"yarn webpack:lavamoat:build --browser firefox -v 2","webpack:lavamoat:policy:build":"yarn webpack:lavamoat --writeAutoPolicy -- --mode production --no-cache","webpack:lavamoat:policy:mv2":"concurrently 'yarn webpack:lavamoat:build:mv2 --generatePolicy' 'yarn webpack:lavamoat:build:mv2 --generatePolicy --type flask' 'yarn webpack:lavamoat:build:mv2 --generatePolicy --type beta' 'yarn webpack:lavamoat:build:mv2 --generatePolicy --type experimental' --kill-others-on-fail","webpack:lavamoat:policy:mv3":"concurrently 'yarn webpack:lavamoat:build --generatePolicy' 'yarn webpack:lavamoat:build --generatePolicy --type flask' 'yarn webpack:lavamoat:build --generatePolicy --type beta' 'yarn webpack:lavamoat:build --generatePolicy --type experimental' --kill-others-on-fail",foundryup:"yarn mm-foundryup",postinstall:"yarn webpack:clearcache && yarn foundryup && yarn skills:postinstall",skills:"metamask-skills sync","skills:postinstall":"metamask-skills postinstall","env:e2e":"SEGMENT_HOST='https://api.segment.io' SEGMENT_WRITE_KEY='FAKE' yarn",start:"yarn webpack --watch","start:with-state":"node ./app/scripts/start-with-wallet-state.mjs","start:mv2":"yarn webpack --watch --browser firefox --manifestVersion 2","start:flask":"yarn start --type flask","start:beta":"yarn start --type beta","start:flask:mv2":"yarn start:mv2 --type flask","start:lavamoat":"yarn start --lavamoat",dist:"yarn build dist","dist:mv2":"ENABLE_MV3=false yarn build dist",build:"yarn lavamoat:build","build:dev":"node development/build/index.js","circular-deps:check":"tsx development/circular-deps.ts check","circular-deps:update":"tsx development/circular-deps.ts update","start:test":"yarn env:e2e webpack --watch --test","start:test:flask":"yarn start:test --type flask","start:test:mv2:flask":"yarn start:test --type flask --browser firefox --manifestVersion 2","start:test:mv2":"BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn start:test --browser firefox --manifestVersion 2","build:test":"yarn env:e2e build test","build:test:dev":"yarn env:e2e build:dev testDev --apply-lavamoat=false","build:test:beta":"yarn build:test --build-type beta","build:test:flask":"yarn build:test --build-type flask","build:test:flask:mv2":"ENABLE_MV3=false yarn build:test:flask","build:test:mv2":"ENABLE_MV3=false BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn build:test","build:test:webpack":"BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn env:e2e webpack:lavamoat:build --test","build:test:webpack:mv2":"BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn env:e2e webpack:lavamoat:build:mv2 --test","build:test:flask:webpack":"yarn env:e2e webpack:lavamoat:build --test --type flask","build:test:flask:webpack:mv2":"yarn env:e2e webpack:lavamoat:build:mv2 --test --type flask",test:"yarn lint && yarn test:unit",dapp:"node development/static-server.js node_modules/@metamask/test-dapp/dist --port 8080","dapp-multichain":"node development/static-server.js node_modules/@metamask/test-dapp-multichain/build --port 8080","dapp-solana":"node development/static-server.js node_modules/@metamask/test-dapp-solana/dist --port 8080","dapp-bitcoin":"node development/static-server.js node_modules/@metamask/test-dapp-bitcoin/dist --port 8080","dapp-tron":"node development/static-server.js node_modules/@metamask/test-dapp-tron/dist --port 8080","dapp-chain":"concurrently -k -n anvil,dapp -p '[{time}][{name}]' 'yarn anvil --block-time 2' 'sleep 5 && yarn dapp'",forwarder:"node ./development/static-server.js ./node_modules/@metamask/forwarder/dist/ --port 9010","dapp-forwarder":"concurrently -k -n forwarder,dapp -p '[{time}][{name}]' 'yarn forwarder' 'yarn dapp'","test:unit":"node --expose-gc ./node_modules/jest/bin/jest.js","test:unit:update-baseline":"UPDATE_BASELINE=ratchet yarn test:unit","test:unit:update-baseline:strict":"UPDATE_BASELINE=strict yarn test:unit",anvil:"node_modules/.bin/anvil","test:unit:watch":"node --expose-gc ./node_modules/jest/bin/jest.js --watch","test:unit:coverage":"node --expose-gc ./node_modules/jest/bin/jest.js --coverage","test:unit:webpack":"tsx --test development/webpack/test/*.test.ts","test:unit:webpack:coverage":"nyc --reporter=html --reporter=json --reporter=text --report-dir=./coverage/webpack tsx --test development/webpack/test/*.test.ts","test:integration":"yarn webpack-cli build --config ./development/webpack/webpack.integration.tests.config.ts && jest --config jest.integration.config.js","test:integration:update-baseline":"UPDATE_BASELINE=ratchet yarn test:integration","test:integration:update-baseline:strict":"UPDATE_BASELINE=strict yarn test:integration","test:integration:coverage":"yarn test:integration --coverage","test:e2e:chrome":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.mts","test:e2e:chrome:dist":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.mts --dist","test:e2e:chrome:flask":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.mts --build-type flask","test:api-specs":"SELENIUM_BROWSER=chrome tsx test/e2e/run-openrpc-api-test-coverage.ts","test:api-specs-multichain":"SELENIUM_BROWSER=chrome tsx test/e2e/run-api-specs-multichain.ts","test:e2e:benchmark":"yarn tsx test/e2e/benchmarks/run-benchmark.ts","test:e2e:pw:report":"yarn playwright show-report public/playwright/playwright-reports/html","test:e2e:feature-flag:coverage":"tsx test/e2e/scripts/feature-flag-coverage-report.ts","test:e2e:chrome:rpc":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.mts --rpc","test:e2e:chrome:multi-provider":"MULTIPROVIDER=true SELENIUM_BROWSER=chrome tsx test/e2e/run-all.mts --multi-provider","test:e2e:firefox":"SELENIUM_BROWSER=firefox tsx test/e2e/run-all.mts","test:e2e:firefox:dist":"SELENIUM_BROWSER=firefox tsx test/e2e/run-all.mts --dist","test:e2e:firefox:flask":"SELENIUM_BROWSER=firefox tsx test/e2e/run-all.mts --build-type flask","test:e2e:single":"node test/e2e/run-e2e-test.js","sentry:publish":"node ./development/sentry-publish.js",lint:"yarn lint:json && yarn lint:format && yarn lint:eslint && yarn lint:tsc && yarn lint:styles && yarn lint:images && yarn messenger-action-types:check","lint:fix":"yarn lint:json:fix && yarn lint:format:fix && yarn lint:eslint:fix && yarn lint:styles:fix && yarn circular-deps:update && yarn lint:images:fix && yarn lint:baseline:fix && yarn messenger-action-types:generate","lint:json":"prettier --check --cache -- '**/*.json'","lint:json:fix":"prettier --write --cache -- '**/*.json'","lint:format":"oxfmt -c oxfmt.config.mts --check","lint:format:fix":"oxfmt -c oxfmt.config.mts","lint:changed":"node development/lint-changed.mts","lint:changed:fix":"node development/lint-changed.mts --fix","lint:changelog":"auto-changelog validate --prettier","lint:changelog:rc":"auto-changelog validate --prettier --rc","slack:rc-notify":"tsx ./.github/scripts/slack-rc-notification.mts","lint:debug":"DEBUG=eslint:cli-engine yarn lint","lint:eslint":"NODE_OPTIONS='--max-old-space-size=6144' eslint . --ext js,ts,tsx,snap --cache --cache-location node_modules/.cache/eslint/.eslint-cache","lint:eslint:fix":"yarn lint:eslint --fix --cache --cache-location node_modules/.cache/eslint/.eslint-cache","lint:lockfile:dedupe":"yarn dedupe --check","lint:lockfile:dedupe:fix":"yarn dedupe","lint:lockfile":'lockfile-lint --path yarn.lock --allowed-hosts npm yarn github.com codeload.github.com --empty-hostname true --allowed-schemes "https:" "git+https:" "npm:" "patch:" "workspace:"',"lint:shellcheck":"./development/shellcheck.sh","lint:styles":"stylelint '*/**/*.scss'","lint:styles:fix":"yarn lint:styles --fix","lint:tsc":"NODE_OPTIONS='--max-old-space-size=6144' tsc","lint:images":"tsx development/optimize-media.mts","lint:images:fix":"tsx development/optimize-media.mts --fix","lint:baseline":"node development/lint-baseline.mts","lint:baseline:fix":"node development/lint-baseline.mts --fix","validate-source-maps":"node ./development/sourcemap-validator.js","validate-source-maps:webpack":"tsx ./development/webpack/sourcemap-validator.ts","verify-locales":"node ./development/verify-locale-strings.js","verify-locales:fix":"node ./development/verify-locale-strings.js --fix","mozilla-lint":"addons-linter dist/firefox","devtools:react":"react-devtools","devtools:redux":"remotedev --hostname=localhost --port=8000","start:dev":"concurrently -k -n build,react,redux yarn:start yarn:devtools:react yarn:devtools:redux",announce:"node development/announcer.js",storybook:"storybook dev -p 6006 -c .storybook","storybook:build":"storybook build -c .storybook -o storybook-build","storybook:deploy":"storybook-to-ghpages --existing-output-dir storybook-build --remote storybook --branch main","update-changelog":"auto-changelog update --rc --autoCategorize --useChangelogEntry --useShortPrLink --requirePrNumbers","generate:migration":"./development/generate-migration.sh","lavamoat:build":"lavamoat development/build/index.js --policy lavamoat/build-system/policy.json --policyOverride lavamoat/build-system/policy-override.json","lavamoat:build:auto":"yarn lavamoat:build --writeAutoPolicy","lavamoat:debug:build":"yarn lavamoat:build --writeAutoPolicyDebug --policydebug lavamoat/build-system/policy-debug.json","lavamoat:debug:webapp":"WRITE_AUTO_POLICY_DEBUG=1 yarn lavamoat:webapp:auto","lavamoat:webapp:auto":"ENABLE_MV3=true node ./development/generate-lavamoat-policies.js --devMode=true","lavamoat:auto":"yarn lavamoat:build:auto && yarn lavamoat:webapp:auto && yarn webpack:tsc && yarn webpack:lavamoat:policy:build && yarn webpack:lavamoat:policy:mv2 && yarn webpack:lavamoat:policy:mv3","ts-migration:dashboard:build":"tsx development/ts-migration-dashboard/scripts/build-app.ts","ts-migration:dashboard:deploy":"gh-pages --dist development/ts-migration-dashboard/build/final --remote ts-migration-dashboard","ts-migration:dashboard:watch":"yarn ts-migration:dashboard:build --watch","ts-migration:enumerate":"tsx development/ts-migration-dashboard/scripts/write-list-of-files-to-convert.ts","test-storybook":"test-storybook -c .storybook","test-storybook:ci":'concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn storybook:build && yarn http-server storybook-build --port 6006 " "wait-on tcp:6006 && echo \'Build done. Running storybook tests...\' && yarn test-storybook"',"githooks:install":"husky install","messenger-action-types:check":"messenger-action-types app/ --check","messenger-action-types:generate":"messenger-action-types app/ --generate","fitness-functions":"tsx development/fitness-functions/index.ts","generate-beta-commit":"node ./development/generate-beta-commit.js","validate-branch-name":"validate-branch-name","add-release-label-to-pr-and-linked-issues":"tsx ./.github/scripts/add-release-label-to-pr-and-linked-issues.mts","check-pr-has-required-labels":"tsx ./.github/scripts/check-pr-has-required-labels.mts","check-template-and-add-labels":"tsx ./.github/scripts/check-template-and-add-labels.mts","create-bug-report-issue":"tsx ./.github/scripts/create-bug-report-issue.mts",audit:"yarn tsx .github/scripts/yarn-audit-local.mts","audit:legacy":"yarn npm audit --recursive --environment production --severity moderate","download-builds":"tsx .devcontainer/download-builds.ts","stable-sync-legacy":"node development/stable-sync-legacy.js","update-mock-cdn":"node test/e2e/mock-cdn/update-mock-cdn-files.js","update-snaps-registry":"tsx test/e2e/mock-response-data/snaps/update-snaps-registry.ts","update-snap-binary":"tsx test/e2e/mock-response-data/snaps/update-snap-binary.ts","attributions:check":"./development/attributions-check.sh","attributions:generate":"./development/generate-attributions.sh","feature-flags:sync":"tsx test/e2e/feature-flags/sync-production-flags.ts","feature-flags:sync:check":"tsx test/e2e/feature-flags/sync-production-flags.ts --check","feature-flags:sync:update":"tsx test/e2e/feature-flags/sync-production-flags.ts --update","yarn-binary:download":"corepack pack -o .yarn/yarn-corepack.tgz","yarn-binary:hydrate":"corepack hydrate .yarn/yarn-corepack.tgz --activate"},resolutions:{"@metamask/bridge-controller@npm:^73.2.0":"patch:@metamask/bridge-controller@npm%3A73.2.0#~/.yarn/patches/@metamask-bridge-controller-npm-73.2.0-be55b13227.patch","@grpc/grpc-js":"^1.9.16","@metamask/messenger@npm:^0.3.0":"^1.2.0","@metamask/network-controller":"33.0.0","follow-redirects":"^1.16.0","@unrs/resolver-binding-wasm32-wasi":"npm:npm-empty-package@1.0.0","jest-clean-console-reporter/chalk":"^4.1.2","napi-postinstall":"npm:npm-empty-package@1.0.0",chokidar:"^3.6.0","@types/react":"18.2.0","@types/prop-types":"15.7.13","bn.js":"^5.2.3","git-url-parse@^12.0.0":"^13.1.0","glob-parent":"^6.0.2","launch-editor":"^2.14.1","js-sha3":"^0.9.2","@metamask/keyring-internal-api":"^11.0.1","ast-types":"^0.14.2","acorn@^7.0.0":"patch:acorn@npm:7.4.1#.yarn/patches/acorn-npm-7.4.1-f450b4646c.patch","acorn@^7.4.1":"patch:acorn@npm:7.4.1#.yarn/patches/acorn-npm-7.4.1-f450b4646c.patch","acorn@^7.1.1":"patch:acorn@npm:7.4.1#.yarn/patches/acorn-npm-7.4.1-f450b4646c.patch","object.values@^1.1.5":"patch:object.values@npm%3A1.1.5#./.yarn/patches/object.values-npm-1.1.5-f1de7f3742.patch","error@^7.0.0":"patch:error@npm%3A7.0.2#./.yarn/patches/error-npm-7.0.2-6dfbeab4da.patch","borc@^2.1.2":"patch:borc@npm%3A2.1.2#./.yarn/patches/borc-npm-2.1.2-8ffcc2dd81.patch","convert-source-map@^1.7.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@1.7.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^1.0.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@~1.1.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^0.3.3":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^1.5.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^1.6.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","abort-controller@^3.0.0":"patch:abort-controller@npm%3A3.0.0#./.yarn/patches/abort-controller-npm-3.0.0-2f3a9a2bcb.patch","eslint@npm:^8.7.0":"patch:eslint@npm%3A8.57.0#~/.yarn/patches/eslint-npm-8.57.0-4286e12a3a.patch","eslint-plugin-n@npm:^16.6.2":"^17.24.0","ethereumjs-util@^7.0.10":"patch:ethereumjs-util@npm%3A7.1.5#./.yarn/patches/ethereumjs-util-npm-7.1.5-5bb4d00000.patch","gulp-sourcemaps@^3.0.0":"patch:gulp-sourcemaps@npm%3A3.0.0#./.yarn/patches/gulp-sourcemaps-npm-3.0.0-1ae0fbef6d.patch","inline-source-map@~0.6.0":"patch:inline-source-map@npm%3A0.6.2#./.yarn/patches/inline-source-map-npm-0.6.2-96902459a0.patch","plugin-error@^1.0.1":"patch:plugin-error@npm%3A1.0.1#./.yarn/patches/plugin-error-npm-1.0.1-7d15e880d6.patch","plugin-error@1.0.1":"patch:plugin-error@npm%3A1.0.1#./.yarn/patches/plugin-error-npm-1.0.1-7d15e880d6.patch","ws@8.13.0":"^8.21.0","ws@8.17.1":"^8.21.0","ws@~8.17.1":"^8.21.0","ws@8.18.0":"^8.21.0","ws@8.18.3":"^8.21.0","jsdom@^16.7.0":"patch:jsdom@npm%3A16.7.0#./.yarn/patches/jsdom-npm-16.7.0-216c5c4bf9.patch","lodash-es":"^4.18.1",trim:"^0.0.3","@eslint/eslintrc@npm:^2.1.4":"patch:@eslint/eslintrc@npm%3A2.1.4#~/.yarn/patches/@eslint-eslintrc-npm-2.1.4-1ff4b5f908.patch","@fortawesome/fontawesome-free@^5.13.0":"patch:@fortawesome/fontawesome-free@npm%3A5.13.0#./.yarn/patches/@fortawesome-fontawesome-free-npm-5.13.0-f20fc0388d.patch","fast-json-patch@^3.1.0":"patch:fast-json-patch@npm%3A3.1.1#./.yarn/patches/fast-json-patch-npm-3.1.1-7e8bb70a45.patch","watchify@^4.0.0":"patch:watchify@npm%3A4.0.0#./.yarn/patches/watchify-npm-4.0.0-4fd965dd49.patch","undeclared-identifiers@^1.1.2":"patch:undeclared-identifiers@npm%3A1.1.2#./.yarn/patches/undeclared-identifiers-npm-1.1.2-13d6792e9e.patch","stylelint@^13.6.1":"patch:stylelint@npm%3A13.6.1#./.yarn/patches/stylelint-npm-13.6.1-47aaddf62b.patch","symbol-observable":"^2.0.3",tar:"^7.5.16","async-done@~1.3.2":"patch:async-done@npm%3A1.3.2#./.yarn/patches/async-done-npm-1.3.2-1f0a4a8997.patch","async-done@^1.2.0":"patch:async-done@npm%3A1.3.2#./.yarn/patches/async-done-npm-1.3.2-1f0a4a8997.patch","async-done@^1.2.2":"patch:async-done@npm%3A1.3.2#./.yarn/patches/async-done-npm-1.3.2-1f0a4a8997.patch","fast-json-patch@^3.1.1":"patch:fast-json-patch@npm%3A3.1.1#./.yarn/patches/fast-json-patch-npm-3.1.1-7e8bb70a45.patch","serialize-javascript":"7.0.5","@types/readable-stream-2@^2.3.15":"npm:@types/readable-stream@^2.3.15","@types/readable-stream-3@^4.0.4":"npm:@types/readable-stream@^4.0.4","readable-stream-2@^2.3.3":"npm:readable-stream@^2.3.3","readable-stream-3@^3.6.2":"npm:readable-stream@^3.6.2","@metamask/snaps-sdk":"^11.1.0","@babel/core":"7.29.7","@babel/runtime":"patch:@babel/runtime@npm%3A7.29.2#~/.yarn/patches/@babel-runtime-npm-7.29.2-b49cad1c67.patch","@spruceid/siwe-parser@npm:2.1.0":"patch:@spruceid/siwe-parser@npm%3A2.1.0#~/.yarn/patches/@spruceid-siwe-parser-npm-2.1.0-060b7ede7a.patch","ts-mixer@npm:^6.0.3":"patch:ts-mixer@npm%3A6.0.4#~/.yarn/patches/ts-mixer-npm-6.0.4-5d9747bdf5.patch","@json-schema-spec/json-pointer@npm:^0.1.2":"patch:@json-schema-spec/json-pointer@npm%3A0.1.2#~/.yarn/patches/@json-schema-spec-json-pointer-npm-0.1.2-3d06119887.patch","@json-schema-tools/reference-resolver@npm:^1.2.6":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","@json-schema-tools/reference-resolver@npm:1.2.4":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","@json-schema-tools/reference-resolver@npm:^1.2.4":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","@json-schema-tools/reference-resolver@npm:^1.2.1":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","path-to-regexp@^1.0.0":"1.9.0","path-to-regexp@~0.1.12":"1.9.0","path-to-regexp@2.2.1":"1.9.0",axios:"^1.16.0","@ledgerhq/hw-app-eth@npm:^6.42.0":"patch:@ledgerhq/hw-app-eth@npm%3A6.42.2#~/.yarn/patches/@ledgerhq-hw-app-eth-npm-6.42.2-46a44bfbf5.patch","@ledgerhq/evm-tools@npm:^1.3.0":"patch:@ledgerhq/evm-tools@npm%3A1.3.0#~/.yarn/patches/@ledgerhq-evm-tools-npm-1.3.0-57435278f6.patch","cross-spawn@npm:^5.0.1":"^7.0.6","secp256k1@npm:^4.0.0":"4.0.4","secp256k1@npm:^4.0.1":"4.0.4","secp256k1@npm:4.0.2":"4.0.4","secp256k1@npm:4.0.3":"4.0.4","tslib@npm:^2.0.0":"~2.6.0","tslib@npm:^2.0.1":"~2.6.0","tslib@npm:^2.0.3":"~2.6.0","tslib@npm:^2.1.0":"~2.6.0","tslib@npm:^2.3.0":"~2.6.0","tslib@npm:^2.3.1":"~2.6.0","tslib@npm:^2.4.0":"~2.6.0","tslib@npm:^2.4.1":"~2.6.0","tslib@npm:^2.6.2":"~2.6.0","tslib@npm:^2.7.0":"~2.6.0","tslib@npm:^2.8.0":"~2.6.0","tslib@npm:^2.8.1":"~2.6.0",elliptic:"^6.6.1","@ethereumjs/tx":"patch:@ethereumjs/tx@npm%3A5.4.0#~/.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch","@ledgerhq/errors":"^6.21.0","@trezor/connect-web":"~9.6.0","nanoid@npm:^5.1.5":"^3.3.8",lodash:"patch:lodash@npm%3A4.18.1#~/.yarn/patches/lodash-npm-4.18.1-a64c3070ac.patch",dompurify:"patch:dompurify@npm%3A3.4.11#~/.yarn/patches/dompurify-npm-3.4.11-7df48fdceb.patch","jest-process-manager/wait-on":"^9.0.5","jsonpath-plus":"^10.3.0","@metamask/jazzicon@npm:^2.0.0":"patch:@metamask/jazzicon@npm%3A2.0.0#~/.yarn/patches/@metamask-jazzicon-npm-2.0.0-36957be38d.patch","@rive-app/canvas@npm:2.31.5":"patch:@rive-app/canvas@patch%3A@rive-app/canvas@patch%253A@rive-app/canvas@npm%25253A2.31.5%2523~/.yarn/patches/@rive-app-canvas-npm-2.31.5-df519c6e0f.patch%253A%253Aversion=2.31.5&hash=1ed092%23~/.yarn/patches/@rive-app-canvas-patch-9b746e9393.patch%3A%3Aversion=2.31.5&hash=19c5d0#~/.yarn/patches/@rive-app-canvas-patch-03752f0c3b.patch","tailwindcss@npm:^3.0.0":"patch:tailwindcss@npm%3A3.4.17#~/.yarn/patches/tailwindcss-npm-3.4.17-403059edc1.patch","which@npm:^1.2.12":"^4.0.0","which@npm:^1.2.14":"^4.0.0","which@npm:^1.3.1":"^4.0.0","qs@npm:~6.14.0":"^6.15.2","gridplus-sdk@npm:^4.0.0":"patch:gridplus-sdk@npm%3A4.0.0#~/.yarn/patches/gridplus-sdk-npm-4.0.0-0e9f598de2.patch","gridplus-sdk/uuid@npm:^13.0.0":"^8.3.2","gridplus-sdk/@types/uuid@npm:^11.0.0":"^8.3.4","@ledgerhq/hw-transport-webhid@npm:^6.31.0":"patch:@ledgerhq/hw-transport-webhid@npm%3A6.31.0#~/.yarn/patches/@ledgerhq-hw-transport-webhid-npm-6.31.0-efbecf27ab.patch","ajv@npm:^7.0.0":"^8.20.0","ajv@npm:8.18.0":"^8.20.0","@opentelemetry/core":"^2.8.0","form-data":"^4.0.6","http-proxy-middleware":"^3.0.7",undici:"^7.28.0","fast-uri":"^3.1.2","fast-xml-parser":"^5.7.3","anymatch@npm:^1.3.0":"^3.1.3","anymatch@npm:^2.0.0":"^3.1.3","micromatch@npm:^3.0.4":"^4.0.8","minimatch@npm:^10.1.1":"^10.2.5","minimatch@npm:3.1.2":"^3.1.5","minimatch@npm:5.0.1":"^5.1.9","minimatch@npm:9.0.3":"^9.0.9","js-yaml@npm:4.1.0":"^4.2.0","js-yaml@npm:^4.1.0":"^4.2.0","js-yaml@npm:^4.1.1":"^4.2.0","diff@npm:5.0.0":"^5.2.2","prismjs@npm:~1.27.0":"^1.30.0","nanoid@npm:3.3.3":"^3.3.11",protobufjs:"^7.6.4",tmp:"^0.2.7","postcss-loader/jiti":"npm:npm-empty-package@1.0.0",esbuild:"0.28.1","@metamask/snaps-controllers":"^20.0.5","@metamask/permission-controller@npm:^12.2.0":"^13.0.0","@metamask/permission-controller@npm:^12.2.1":"^13.0.0","@metamask/permission-controller@npm:^12.3.0":"^13.0.0","@metamask/transaction-pay-controller@npm:^22.6.0":"patch:@metamask/transaction-pay-controller@npm%3A22.6.0#~/.yarn/patches/@metamask-transaction-pay-controller-npm-22.6.0-ecc6df0372.patch","@metamask/assets-controller@npm:^7.1.2":"patch:@metamask/assets-controller@npm%3A8.3.2#~/.yarn/patches/@metamask-assets-controller-npm-8.3.2-f205cdbfee.patch","@metamask/assets-controller@npm:^8.1.0":"patch:@metamask/assets-controller@npm%3A8.3.2#~/.yarn/patches/@metamask-assets-controller-npm-8.3.2-f205cdbfee.patch"},dependencies:{"@babel/runtime":"patch:@babel/runtime@npm%3A7.29.2#~/.yarn/patches/@babel-runtime-npm-7.29.2-b49cad1c67.patch","@blockaid/ppom_release":"^1.5.3","@emotion/react":"^11.14.0","@emotion/styled":"^11.14.1","@ensdomains/content-hash":"^2.5.7","@ethereumjs/tx":"patch:@ethereumjs/tx@npm%3A5.4.0#~/.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch","@ethersproject/abi":"^5.6.4","@ethersproject/bignumber":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/contracts":"^5.7.0","@ethersproject/hdnode":"^5.6.2","@ethersproject/providers":"^5.7.2","@ethersproject/transactions":"^5.7.0","@fortawesome/fontawesome-free":"^5.13.0","@keystonehq/bc-ur-registry-eth":"^0.22.1","@lavamoat/lavadome-react":"0.0.20","@lavamoat/snow":"^2.0.4","@lavamoat/webpack":"2.2.3","@ledgerhq/errors":"^6.21.0","@ledgerhq/hw-app-eth":"^6.42.0","@ledgerhq/hw-transport":"^6.31.0","@ledgerhq/hw-transport-webhid":"^6.31.0","@metamask/7715-permission-types":"^0.7.1","@metamask/abi-utils":"^3.0.0","@metamask/account-api":"^1.0.4","@metamask/account-tree-controller":"^7.5.0","@metamask/account-watcher":"^4.1.3","@metamask/accounts-controller":"^39.0.2","@metamask/address-book-controller":"^7.1.2","@metamask/analytics-controller":"^1.1.1","@metamask/announcement-controller":"^8.0.0","@metamask/approval-controller":"^9.0.0","@metamask/assets-controller":"patch:@metamask/assets-controller@npm%3A8.3.2#~/.yarn/patches/@metamask-assets-controller-npm-8.3.2-f205cdbfee.patch","@metamask/assets-controllers":"^109.2.1","@metamask/base-controller":"^9.0.1","@metamask/bitcoin-wallet-snap":"^1.13.0","@metamask/bitcoin-wallet-standard":"^1.1.0","@metamask/bridge-controller":"^73.2.0","@metamask/bridge-status-controller":"^72.1.1","@metamask/browser-passworder":"^6.0.0","@metamask/chain-agnostic-permission":"^1.6.2","@metamask/claims-controller":"^0.4.2","@metamask/client-controller":"^1.0.0","@metamask/compliance-controller":"^2.1.0","@metamask/connectivity-controller":"^0.2.0","@metamask/contract-metadata":"^2.5.0","@metamask/controller-utils":"^12.3.0","@metamask/core-backend":"^6.3.0","@metamask/delegation-controller":"^3.0.0","@metamask/delegation-core":"^2.0.0","@metamask/delegation-deployments":"^1.3.0","@metamask/design-system-react":"^0.25.0","@metamask/design-system-tailwind-preset":"^0.9.0","@metamask/design-tokens":"^8.5.0","@metamask/eip-5792-middleware":"3.0.3","@metamask/eip-7702-internal-rpc-middleware":"^0.1.0","@metamask/ens-controller":"^19.1.4","@metamask/ens-resolver-snap":"^1.2.0","@metamask/eth-hd-keyring":"^14.1.1","@metamask/eth-json-rpc-filters":"^9.0.0","@metamask/eth-json-rpc-middleware":"^23.1.3","@metamask/eth-ledger-bridge-keyring":"^12.1.0","@metamask/eth-qr-keyring":"^2.1.0","@metamask/eth-sig-util":"^8.2.0","@metamask/eth-snap-keyring":"^22.0.1","@metamask/eth-token-tracker":"^10.0.2","@metamask/eth-trezor-keyring":"^10.1.0","@metamask/etherscan-link":"^3.0.0","@metamask/gas-fee-controller":"^26.1.0","@metamask/gator-permissions-controller":"^4.2.1","@metamask/gator-permissions-snap":"^2.3.0","@metamask/geolocation-controller":"^0.1.1","@metamask/hw-wallet-sdk":"^0.8.0","@metamask/institutional-wallet-snap":"1.5.0","@metamask/jazzicon":"patch:@metamask/jazzicon@npm%3A2.0.0#~/.yarn/patches/@metamask-jazzicon-npm-2.0.0-36957be38d.patch","@metamask/json-rpc-engine":"^10.3.0","@metamask/json-rpc-middleware-stream":"^8.0.4","@metamask/keyring-api":"^23.1.0","@metamask/keyring-controller":"^27.0.0","@metamask/keyring-internal-api":"^11.0.1","@metamask/keyring-sdk":"^2.1.1","@metamask/keyring-snap-client":"^9.0.2","@metamask/keyring-utils":"^3.3.1","@metamask/logging-controller":"^8.0.0","@metamask/logo":"^4.0.0","@metamask/message-manager":"^14.0.0","@metamask/message-signing-snap":"1.1.4","@metamask/messenger":"^1.2.0","@metamask/metamask-eth-abis":"^3.1.1","@metamask/multichain-account-service":"^10.0.3","@metamask/multichain-api-client":"^0.10.1","@metamask/multichain-api-middleware":"^3.1.4","@metamask/multichain-network-controller":"^3.1.0","@metamask/multichain-transactions-controller":"^7.1.0","@metamask/name-controller":"^9.1.0","@metamask/network-controller":"^33.0.0","@metamask/network-enablement-controller":"^5.3.0","@metamask/notification-services-controller":"^23.1.0","@metamask/object-multiplex":"^2.0.0","@metamask/obs-store":"^9.0.0","@metamask/passkey-controller":"^2.0.1","@metamask/permission-controller":"^13.0.0","@metamask/permission-log-controller":"^5.0.0","@metamask/permissions-kernel-snap":"^1.3.0","@metamask/perps-controller":"^8.1.0","@metamask/phishing-controller":"^17.2.0","@metamask/polling-controller":"^16.0.7","@metamask/post-message-stream":"^10.0.0","@metamask/ppom-validator":"0.39.1","@metamask/preinstalled-example-snap":"^0.7.2","@metamask/profile-metrics-controller":"^3.0.4","@metamask/profile-sync-controller":"^28.2.0","@metamask/providers":"^22.1.1","@metamask/rate-limit-controller":"^7.0.0","@metamask/react-data-query":"^0.2.0","@metamask/remote-feature-flag-controller":"^4.2.2","@metamask/rpc-errors":"^7.0.0","@metamask/safe-event-emitter":"^3.1.1","@metamask/scure-bip39":"^2.0.3","@metamask/seedless-onboarding-controller":"^10.0.1","@metamask/selected-network-controller":"^26.1.4","@metamask/shield-controller":"^5.0.1","@metamask/signature-controller":"^39.2.6","@metamask/smart-transactions-controller":"^24.2.2","@metamask/snap-account-service":"^0.3.1","@metamask/snaps-controllers":"^20.0.5","@metamask/snaps-execution-environments":"^11.1.1","@metamask/snaps-rpc-methods":"^16.0.0","@metamask/snaps-sdk":"^11.1.1","@metamask/snaps-utils":"^12.2.1","@metamask/solana-wallet-snap":"^2.8.0","@metamask/solana-wallet-standard":"^1.0.0","@metamask/storage-service":"^1.0.0","@metamask/subscription-controller":"^6.2.0","@metamask/transaction-controller":"^68.1.1","@metamask/transaction-pay-controller":"^22.6.0","@metamask/tron-wallet-snap":"^1.27.0","@metamask/user-operation-controller":"^41.2.5","@metamask/utils":"^11.11.0","@metamask/wallet":"^3.0.0","@mui/material":"^5.18.0","@mui/system":"^5.18.0","@mui/x-date-pickers":"^7.29.4","@ngraveio/bc-ur":"^1.1.13","@noble/hashes":"^1.3.3","@popperjs/core":"^2.4.0","@reduxjs/toolkit":"patch:@reduxjs/toolkit@npm%3A1.9.7#~/.yarn/patches/@reduxjs-toolkit-npm-1.9.7-b14925495c.patch","@rive-app/react-canvas":"patch:@rive-app/react-canvas@npm%3A4.23.3#~/.yarn/patches/@rive-app-react-canvas-npm-4.23.3-3ab1940c19.patch","@scure/base":"^1.2.5","@segment/analytics-node":"^3.0.0","@sentry/browser":"patch:@sentry/browser@npm%3A10.38.0#~/.yarn/patches/@sentry-browser-npm-10.38.0-d1e984c1c7.patch","@sentry/core":"10.38.0","@sentry/types":"10.38.0","@simplewebauthn/browser":"^13.3.0","@solana/addresses":"2.0.0-rc.4","@swc/core":"^1.13.2","@tanstack/react-query":"^4.36.1","@tanstack/react-virtual":"^3.10.8","@trezor/connect-web":"~9.6.0","@zxing/browser":"^0.1.5","@zxing/library":"0.21.3","async-mutex":"^0.5.0","base32-encode":"^1.2.0","base64-js":"^1.5.1","bignumber.js":"^4.1.0","bitcoin-address-validation":"^2.2.3",bowser:"^2.11.0","chart.js":"^4.4.1",clsx:"^2.1.1",cockatiel:"^3.1.2","copy-to-clipboard":"^3.3.3","cron-parser":"^4.5.0","currency-formatter":"^1.4.2","deep-freeze-strict":"1.1.1",dompurify:"patch:dompurify@npm%3A3.4.11#~/.yarn/patches/dompurify-npm-3.4.11-7df48fdceb.patch","eth-chainlist":"~0.0.498","eth-ens-namehash":"^2.0.8","eth-lattice-keyring":"^1.1.0","eth-method-registry":"^4.0.0","ethereum-cryptography":"^3.2.0","ethereumjs-util":"^7.0.10","extension-port-stream":"^5.0.3","fast-json-patch":"^3.1.1","fast-json-stable-stringify":"^2.1.0","fuse.js":"^3.2.0",he:"^1.2.0","human-standard-token-abi":"^2.0.0","humanize-duration":"^3.32.1",immer:"^9.0.6","ip-regex":"^4.3.0","jest-junit":"^14.0.1","labeled-stream-splicer":"^2.0.2","lavamoat-browserify":"^19.0.2","lightweight-charts":"^5.1.0",localforage:"^1.9.0",lodash:"^4.18.1",loglevel:"^1.8.1","lottie-web":"^5.12.2",luxon:"^3.2.1",nanoid:"^3.3.8",pify:"^5.0.0","prop-types":"^15.6.1",psl:"^1.15.0",punycode:"^2.1.1","qrcode-generator":"^2.0.4","qrcode.react":"^4.2.0",react:"^17.0.2","react-beautiful-dnd":"^13.1.1","react-chartjs-2":"^5.2.0","react-compiler-runtime":"^1.0.0","react-dom":"^17.0.2","react-focus-lock":"^2.9.4","react-hot-toast":"^2.6.0","react-idle-timer":"4.5.6","react-markdown":"^6.0.3","react-popper":"^2.2.3","react-redux":"^7.2.9","react-router-dom":"^6.30.4","react-simple-file-input":"^2.0.0","react-tippy":"^1.2.2","react-toggle-button":"^2.2.0","react-transition-group":"^4.4.5","readable-stream":"^4.7.0",redux:"^4.0.5","redux-thunk":"^2.3.0",reselect:"^5.1.1",ses:"^1.1.0","ts-mixer":"patch:ts-mixer@npm%3A6.0.4#~/.yarn/patches/ts-mixer-npm-6.0.4-5d9747bdf5.patch",tslib:"~2.6.0","unicode-confusables":"^0.1.1","uri-js":"^4.4.1",uuid:"^8.3.2",xml2js:"^0.6.2"},devDependencies:{"@actions/core":"^3.0.1","@actions/github":"^9.1.1","@anthropic-ai/sdk":"^0.32.1","@babel/code-frame":"^7.25.9","@babel/core":"7.29.7","@babel/eslint-parser":"^7.25.9","@babel/eslint-plugin":"^7.25.9","@babel/plugin-transform-class-properties":"^7.28.6","@babel/plugin-transform-logical-assignment-operators":"^7.25.9","@babel/plugin-transform-private-methods":"^7.28.6","@babel/plugin-transform-private-property-in-object":"^7.27.1","@babel/preset-env":"^7.25.9","@babel/preset-react":"^7.25.9","@babel/preset-typescript":"^7.25.9","@babel/register":"^7.25.9","@google/genai":"^1.0.0","@jest/globals":"^29.7.0","@lavamoat/allow-scripts":"^5.0.1","@lavamoat/lavadome-core":"0.0.20","@lavamoat/lavapack":"^7.0.22","@lydell/node-pty":"^1.1.0","@metamask/api-specs":"^0.13.0","@metamask/auto-changelog":"^5.3.1","@metamask/browser-playground":"0.8.1","@metamask/build-utils":"^3.0.0","@metamask/client-mcp-core":"0.5.0","@metamask/design-system-shared":"^0.21.0","@metamask/eslint-config":"^13.0.0","@metamask/eslint-config-jest":"^13.0.0","@metamask/eslint-config-mocha":"^13.0.0","@metamask/eslint-config-nodejs":"^13.0.0","@metamask/eslint-config-typescript":"^13.0.0","@metamask/eslint-plugin-design-tokens":"^1.1.1","@metamask/eth-json-rpc-provider":"^6.0.0","@metamask/forwarder":"^1.1.0","@metamask/foundryup":"^1.0.1","@metamask/messenger-cli":"^0.1.0","@metamask/phishing-warning":"^5.1.0","@metamask/preferences-controller":"^23.0.0","@metamask/skills":"^0.1.0","@metamask/snap-account-abstraction-keyring-site":"^1.0.0","@metamask/snap-simple-keyring-site":"^2.1.1","@metamask/snaps-registry":"^4.0.0","@metamask/superstruct":"^3.2.1","@metamask/test-bundler":"^1.0.0","@metamask/test-dapp":"9.3.0","@metamask/test-dapp-bitcoin":"^0.2.0","@metamask/test-dapp-multichain":"^0.17.0","@metamask/test-dapp-solana":"^0.3.1","@metamask/test-dapp-tron":"^0.3.1","@metamask/test-snaps":"^3.4.2","@noble/ciphers":"^1.3.0","@noble/curves":"^1.9.2","@octokit/rest":"^22.0.1","@open-rpc/meta-schema":"^1.14.6","@open-rpc/mock-server":"^1.7.5","@open-rpc/schema-utils-js":"^2.0.5","@open-rpc/test-coverage":"^2.2.5","@playwright/test":"^1.54.2","@sentry/cli":"^2.56.0","@sentry/node":"10.38.0","@slack/types":"^2.14.0","@slack/webhook":"^7.0.5","@storybook/addon-a11y":"^7.6.21","@storybook/addon-docs":"^7.6.21","@storybook/addon-essentials":"^7.6.21","@storybook/addons":"^7.6.21","@storybook/api":"^7.6.21","@storybook/client-api":"^7.6.21","@storybook/components":"^7.6.21","@storybook/react":"^7.6.21","@storybook/react-webpack5":"^7.6.21","@storybook/storybook-deployer":"^2.8.16","@storybook/test-runner":"^0.14.1","@swc/helpers":"^0.5.17","@swc/types":"^0.1.23","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^12.1.5","@testing-library/react-hooks":"^8.0.1","@testing-library/user-event":"^14.6.1","@toruslabs/eccrypto":"^6.1.0","@tsconfig/node22":"^22.0.0","@types/babel__code-frame":"^7.0.6","@types/babelify":"^7.3.7","@types/browserify":"^12.0.37","@types/chrome":"^0.0.268","@types/currency-formatter":"^1.5.1","@types/eslint-plugin-tailwindcss":"^3","@types/fs-extra":"^9.0.13","@types/gulp":"^4.0.9","@types/gulp-autoprefixer":"^0.0.33","@types/gulp-sass":"^5.0.0","@types/gulp-sourcemaps":"^0.0.35","@types/he":"^1","@types/humanize-duration":"^3.27.4","@types/jest":"^29.5.12","@types/jsonwebtoken":"^9.0.10","@types/luxon":"^3.4.2","@types/madge":"^5.0.3","@types/micromatch":"^4","@types/mocha":"^10.0.3","@types/node":"24.10.13","@types/path-browserify":"^1.0.2","@types/pify":"^5.0.1","@types/react":"18.2.0","@types/react-beautiful-dnd":"^13","@types/react-dom":"18.2.0","@types/react-redux":"^7.1.25","@types/react-router-dom":"^5.3.3","@types/readable-stream":"4.0.4","@types/readable-stream-2":"^2.3.15","@types/readable-stream-3":"^4.0.4","@types/redux-mock-store":"1.0.6","@types/remote-redux-devtools":"^0.5.5","@types/selenium-webdriver":"^4.1.28","@types/serve-handler":"^6.1.4","@types/sinon":"^10.0.13","@types/sprintf-js":"^1","@types/unzipper":"^0.10.10","@types/w3c-web-hid":"^1.0.3","@types/watchify":"^3.11.1","@types/webextension-polyfill":"^0.10.4","@types/ws":"^8.5.10","@types/xml2js":"^0","@types/yargs":"^17.0.32","@types/yargs-parser":"^21.0.3","@types/yazl":"^3.3.0","@typescript-eslint/eslint-plugin":"^8.1.0","@typescript-eslint/parser":"^8.1.0","@viem/anvil":"^0.0.10","@welldone-software/why-did-you-render":"^8.0.3","addons-linter":"^9.5.0",autoprefixer:"^10.4.19","babel-plugin-react-compiler":"^1.0.0",babelify:"^10.0.0","bify-module-groups":"^2.0.0",browserify:"^17.0.0",browserslist:"^4.28.1",bs58:"^6.0.0",buffer:"^6.0.3",chalk:"^4.1.2",chokidar:"^3.6.0",commander:"^14.0.0",concurrently:"^8.2.2","copy-webpack-plugin":"^13.0.1","core-js-pure":"^3.38.0","crypto-browserify":"^3.12.0","css-loader":"^6.10.0","css-to-xpath":"^0.1.0",csstype:"^3.0.11",del:"^6.1.1",depcheck:"^1.4.7","detect-port":"^1.5.1",dotenv:"^16.4.5",duplexify:"^4.1.1",eslint:"patch:eslint@npm%3A8.57.0#~/.yarn/patches/eslint-npm-8.57.0-4286e12a3a.patch","eslint-config-prettier":"^10.1.5","eslint-import-resolver-node":"^0.3.4","eslint-import-resolver-typescript":"^3.0.0","eslint-plugin-import-x":"^0.5.1","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"47.0.2","eslint-plugin-mocha":"^10.1.0","eslint-plugin-n":"^17.24.0","eslint-plugin-prettier":"^5.5.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-react":"^7.37.5","eslint-plugin-react-compiler":"19.1.0-rc.2","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-storybook":"^0.6.15","eslint-plugin-tailwindcss":"^3.18.0",eta:"^3.2.0",ethers:"^5.7.0","fake-indexeddb":"^6.1.0","fancy-log":"^1.3.3","fast-glob":"^3.2.2","fs-extra":"^8.1.0","gh-pages":"^5.0.0",globby:"^11.0.4",gulp:"^4.0.2","gulp-autoprefixer":"^8.0.0","gulp-livereload":"4.0.0","gulp-postcss":"^10.0.0","gulp-sass":"^5.1.0","gulp-sort":"^2.0.0","gulp-sourcemaps":"^3.0.0","gulp-watch":"^5.0.1","gulp-zip":"^5.1.0","html-bundler-webpack-plugin":"patch:html-bundler-webpack-plugin@npm%3A4.23.2#~/.yarn/patches/html-bundler-webpack-plugin-npm-4.23.2-c360a7b7fc.patch","http-server":"^14.1.1","https-browserify":"^1.0.0",husky:"^8.0.3",ini:"^3.0.0",jest:"^29.7.0","jest-canvas-mock":"^2.3.1","jest-clean-console-reporter":"^0.3.0","jest-environment-jsdom":"patch:jest-environment-jsdom@npm%3A29.7.0#~/.yarn/patches/jest-environment-jsdom-npm-29.7.0-0b72dd0e0b.patch","jest-fixed-jsdom":"^0.0.9","jest-preview":"^0.3.1",jsdom:"^16.7.0","json-schema-to-ts":"^3.0.1",jsonwebtoken:"^9.0.2",koa:"^3.1.1",lavamoat:"10.0.5",level:"^8.0.1","lockfile-lint":"^5.0.0","loose-envify":"^1.4.0",madge:"^8.0.0",micromatch:"^4.0.8","mini-css-extract-plugin":"^2.9.1",mocha:"^10.2.0","mocha-junit-reporter":"^2.2.1",mockttp:"^4.2.3","navigator.locks":"^0.8.6",nock:"patch:nock@npm%3A13.5.4#~/.yarn/patches/nock-npm-13.5.4-2c4f77b249.patch","node-fetch":"^2.6.1",nyc:"^15.1.0",octokit:"^5.0.5",openai:"^4.73.0",oxfmt:"^0.44.0","path-browserify":"^1.0.1",postcss:"^8.5.10","postcss-loader":"^8.2.1","postcss-rtlcss":"^6.0.0",prettier:"^3.6.2","prettier-2":"npm:prettier@^2.8.8","prettier-eslint":"^16.4.2","prettier-plugin-sort-json":"^4.1.1",process:"^0.11.10",pumpify:"^2.0.1",randomcolor:"^0.5.4","react-compiler-webpack":"^1.0.0","react-devtools":"^6.1.5","react-devtools-core":"^6.1.5","react-syntax-highlighter":"^15.5.0","read-installed":"^4.0.3","readable-stream-2":"^2.3.3","readable-stream-3":"^3.6.2","redux-mock-store":"^1.5.4","remote-redux-devtools":"^0.5.16","resolve-url-loader":"^3.1.5","sass-embedded":"^1.71.0","sass-loader":"^14.1.1","schema-utils":"^4.2.0","selenium-webdriver":"^4.44.0",semver:"^7.5.4","serve-handler":"^6.1.2",sharp:"^0.34.2",sinon:"^9.0.0","source-map":"^0.7.4","sprintf-js":"^1.1.3",storybook:"^7.6.21","stream-browserify":"^3.0.0","stream-http":"^3.2.0","string.prototype.matchall":"^4.0.2","style-loader":"^0.21.0",stylelint:"^13.6.1",tailwindcss:"patch:tailwindcss@npm%3A3.4.17#~/.yarn/patches/tailwindcss-npm-3.4.17-403059edc1.patch",terser:"^5.44.1","terser-webpack-plugin":"^5.3.16","thread-loader":"^4.0.4",through2:"^4.0.2",tsx:"^4.22.4",tweetnacl:"^1.0.3",typescript:"~5.6.0",unzipper:"^0.12.3",viem:"^2.21.8",vinyl:"^2.2.1","vinyl-buffer":"^1.0.1","vinyl-source-stream":"^2.0.0","vinyl-sourcemaps-apply":"^0.2.1","wait-on":"^9.0.5",watchify:"^4.0.0","web-vitals":"^4.2.4","webextension-polyfill":"^0.8.0",webpack:"^5.104.1","webpack-bundle-analyzer":"patch:webpack-bundle-analyzer@npm%3A5.3.0#~/.yarn/patches/webpack-bundle-analyzer-npm-5.3.0-946883e2fa.patch","webpack-cli":"^6.0.1","webpack-dev-server":"^5.2.5",ws:"^8.21.0",yaml:"^2.4.1",yargs:"^17.7.2","yargs-parser":"^21.1.1",yazl:"^3.3.1"},engines:{node:">=24.13.0",yarn:"^4.14.1"},lavamoat:{allowScripts:{$root$:!0,"@lavamoat/lavadome-core>@lavamoat/preinstall-always-fail":!1,"@metamask/test-dapp-solana>@solana/spl-token>@solana/buffer-layout-utils>bigint-buffer":!1,"@google/genai>protobufjs":!1,"@trezor/connect-web>@trezor/connect>@trezor/transport>usb":!1,"@trezor/connect-web>@trezor/connect>@trezor/utxo-lib>blake-hash":!1,"@trezor/connect-web>@trezor/connect>@trezor/utxo-lib>tiny-secp256k1":!1,"ethereumjs-util>ethereum-cryptography>keccak":!1,"jest-preview":!1,"level>classic-level":!1,"resolve-url-loader>es6-iterator>es5-ext":!1,"ws>bufferutil":!1,"ws>utf-8-validate":!1,"eth-lattice-keyring>gridplus-sdk>secp256k1":!1,"eslint-import-resolver-typescript>unrs-resolver":!1,"@sentry/cli#2.56.0":!0,"@swc/core#1.13.2":!0,"core-js-pure#3.41.0":!0,"core-js-pure#3.49.0":!0,"react-devtools>electron#23.3.0":!0,"sharp#0.34.2":!0,"tsx>esbuild#0.28.1":!0,"ethereumjs-util>ethereum-cryptography>secp256k1#4.0.4":!1}},packageManager:"yarn@4.14.1+sha256.5c7a0c5ea1c5b690df603c8e16b3742f87169b814d56bb5e63881145e8a84033",foundryup:{binaries:["anvil"],checksums:{algorithm:"sha256",binaries:{anvil:{"darwin-amd64":"8404e555223fe884557d5e22de494baf8b5f0b82c6f87a4c790c5150e546c9d0","darwin-arm64":"888500bc210752e71a355ed4d492ad6dcb4c0ef54d283c105a29a5ccc73d0dbd","linux-amd64":"6104069b183fa0f3cdcb692681da9dbd203a3c1bceb435853bbf7abd991c649e","linux-arm64":"d66ed8f848e829882ebb65d28aaac72aeab6a101655bb62147186040655928b5","win32-amd64":"6c71d9a7be39ed32b53c89bdbc83aa748f41587517212ffe2a8b955c3e9c2e9b"}}},version:"v0.3.0"}}}}},{package:"$root$",file:"package.json"}],["/home/runner/work/metamask-extension/metamask-extension/shared/constants/alerts.ts",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Web3ShimUsageAlertStates=n.TOGGLEABLE_ALERT_TYPES=n.AlertTypes=void 0;let r=n.AlertTypes=function(e){return e.unconnectedAccount="unconnectedAccount",e.web3ShimUsage="web3ShimUsage",e.invalidCustomNetwork="invalidCustomNetwork",e.smartTransactionsMigration="smartTransactionsMigration",e}({});n.TOGGLEABLE_ALERT_TYPES=[r.unconnectedAccount,r.web3ShimUsage,r.smartTransactionsMigration];n.Web3ShimUsageAlertStates=function(e){return e[e.recorded=1]="recorded",e[e.dismissed=2]="dismissed",e}({})}}},{package:"$root$",file:"shared/constants/alerts.ts"}],["/home/runner/work/metamask-extension/metamask-extension/shared/constants/app-state.ts",{"../lib/trace":"/home/runner/work/metamask-extension/metamask-extension/shared/lib/trace.ts","./metametrics":"/home/runner/work/metamask-extension/metamask-extension/shared/constants/metametrics.ts"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.StorageWriteErrorType=n.ClaimSubmitToastType=n.AccountOverviewTabKey=n.ACCOUNT_OVERVIEW_TAB_KEY_TO_TRACE_NAME_MAP=n.ACCOUNT_OVERVIEW_TAB_KEY_TO_METAMETRICS_EVENT_NAME_MAP=void 0;var r=e("../lib/trace"),o=e("./metametrics");let s=n.AccountOverviewTabKey=function(e){return e.Tokens="tokens",e.Nfts="nfts",e.Activity="activity",e.DeFi="defi",e.Perps="perps",e}({});n.ACCOUNT_OVERVIEW_TAB_KEY_TO_METAMETRICS_EVENT_NAME_MAP={[s.Tokens]:o.MetaMetricsEventName.TokenScreenOpened,[s.DeFi]:o.MetaMetricsEventName.DeFiScreenOpened,[s.Activity]:o.MetaMetricsEventName.ActivityScreenOpened},n.ACCOUNT_OVERVIEW_TAB_KEY_TO_TRACE_NAME_MAP={[s.Tokens]:r.TraceName.AccountOverviewAssetListTab,[s.Nfts]:r.TraceName.AccountOverviewNftsTab,[s.Activity]:r.TraceName.AccountOverviewActivityTab,[s.DeFi]:r.TraceName.AccountOverviewDeFiTab,[s.Perps]:r.TraceName.AccountOverviewPerpsTab};n.ClaimSubmitToastType=function(e){return e.Success="success",e.Errored="errored",e.DraftSaved="draft-saved",e.DraftSaveFailed="draft-save-failed",e.DraftDeleted="draft-deleted",e.DraftDeleteFailed="draft-delete-failed",e}({}),n.StorageWriteErrorType=function(e){return e.Default="default",e.FileErrorNoSpace="file-error-no-space",e}({})}}},{package:"$root$",file:"shared/constants/app-state.ts"}],["/home/runner/work/metamask-extension/metamask-extension/shared/constants/app.ts",{"./permissions":"/home/runner/work/metamask-extension/metamask-extension/shared/constants/permissions.ts","@metamask/snaps-rpc-methods":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@metamask/snaps-rpc-methods/dist/index.cjs"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.UNKNOWN_TICKER_SYMBOL=n.TRACE_ENABLED_SIGN_METHODS=n.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES=n.SMART_TRANSACTION_CONFIRMATION_TYPES=n.SIDEPANEL_FILE=n.POPUP_INIT_FILE=n.POPUP_FILE=n.POLLING_TOKEN_ENVIRONMENT_TYPES=n.PLATFORM_YANDEX=n.PLATFORM_WHALE=n.PLATFORM_VIVALDI=n.PLATFORM_UCBROWSER=n.PLATFORM_SILK=n.PLATFORM_SAMSUNG=n.PLATFORM_QQBROWSER=n.PLATFORM_PUFFIN=n.PLATFORM_OTHER=n.PLATFORM_OPERA=n.PLATFORM_MISES=n.PLATFORM_MAXTHON=n.PLATFORM_LEMUR=n.PLATFORM_KIWI=n.PLATFORM_FIREFOX=n.PLATFORM_EDGE_ANDROID=n.PLATFORM_EDGE=n.PLATFORM_COCCOC=n.PLATFORM_CHROMIUM=n.PLATFORM_CHROME=n.PLATFORM_BRAVE=n.PLATFORM=n.OS=n.ORIGIN_METAMASK=n.METAMASK_PROD_CHROME_ID=n.METAMASK_MMI_PROD_CHROME_ID=n.METAMASK_MMI_BETA_CHROME_ID=n.METAMASK_FLASK_CHROME_ID=n.METAMASK_BETA_CHROME_ID=n.MESSAGE_TYPE=n.INSTALL_TYPE=n.HYPERLIQUID_APPROVAL_TYPE=n.GMX_APPROVAL_TYPE=n.FIREFOX_BUILD_IDS=n.ENVIRONMENT_TYPE_SIDEPANEL=n.ENVIRONMENT_TYPE_POPUP=n.ENVIRONMENT_TYPE_NOTIFICATION=n.ENVIRONMENT_TYPE_FULLSCREEN=n.ENVIRONMENT_TYPE_BACKGROUND=n.DOWNLOAD_MOBILE_APP_SLIDE_ID=n.DEVICE_TYPE=n.CHROME_BUILD_IDS=n.ASTERDEX_APPROVAL_TYPE=void 0;var r=e("@metamask/snaps-rpc-methods"),o=e("./permissions");const s=n.ENVIRONMENT_TYPE_POPUP="popup",a=n.ENVIRONMENT_TYPE_NOTIFICATION="notification",i=n.ENVIRONMENT_TYPE_FULLSCREEN="fullscreen",u=n.ENVIRONMENT_TYPE_SIDEPANEL="sidepanel",l=n.ENVIRONMENT_TYPE_BACKGROUND="background",c=(n.POPUP_FILE="popup.html",n.POPUP_INIT_FILE="popup-init.html",n.SIDEPANEL_FILE="sidepanel.html",n.PLATFORM_BRAVE="Brave"),d=n.PLATFORM_CHROME="Chrome",m=n.PLATFORM_CHROMIUM="Chromium",f=n.PLATFORM_COCCOC="CocCoc",h=n.PLATFORM_EDGE="Edge",p=n.PLATFORM_EDGE_ANDROID="EdgeAndroid",b=n.PLATFORM_FIREFOX="Firefox",g=n.PLATFORM_KIWI="Kiwi",y=n.PLATFORM_LEMUR="Lemur",_=n.PLATFORM_MAXTHON="Maxthon",w=n.PLATFORM_MISES="Mises",k=n.PLATFORM_OPERA="Opera",v=n.PLATFORM_OTHER="Other",x=n.PLATFORM_PUFFIN="Puffin",E=n.PLATFORM_QQBROWSER="QQBrowser",j=n.PLATFORM_SAMSUNG="Samsung",S=n.PLATFORM_SILK="Silk",A=n.PLATFORM_UCBROWSER="UCBrowser",R=n.PLATFORM_VIVALDI="Vivaldi",T=n.PLATFORM_WHALE="Whale",O=n.PLATFORM_YANDEX="Yandex",P=(n.PLATFORM={BRAVE:c,CHROME:d,CHROMIUM:m,COCCOC:f,EDGE:h,EDGE_ANDROID:p,FIREFOX:b,KIWI:g,LEMUR:y,MAXTHON:_,MISES:w,OPERA:k,OTHER:v,PUFFIN:x,QQBROWSER:E,SAMSUNG:j,SILK:S,UCBROWSER:A,VIVALDI:R,WHALE:T,YANDEX:O},n.INSTALL_TYPE={ADMIN:"admin",DEVELOPMENT:"development",NORMAL:"normal",SIDELOAD:"sideload",OTHER:"other",UNKNOWN:"unknown"},n.DEVICE_TYPE={DESKTOP:"desktop",MOBILE:"mobile"},n.OS={ANDROID:"Android",IOS:"iOS",LINUX:"Linux",MACOS:"macOS",UNKNOWN:"unknown",WINDOWS:"Windows",OTHER:"Other"},n.MESSAGE_TYPE={ADD_ETHEREUM_CHAIN:"wallet_addEthereumChain",ETH_ACCOUNTS:o.RestrictedMethods.eth_accounts,ETH_DECRYPT:"eth_decrypt",ETH_CHAIN_ID:"eth_chainId",ETH_GET_ENCRYPTION_PUBLIC_KEY:"eth_getEncryptionPublicKey",ETH_GET_BLOCK_BY_NUMBER:"eth_getBlockByNumber",ETH_REQUEST_ACCOUNTS:"eth_requestAccounts",ETH_SEND_TRANSACTION:"eth_sendTransaction",ETH_SEND_RAW_TRANSACTION:"eth_sendRawTransaction",ETH_SIGN_TRANSACTION:"eth_signTransaction",ETH_SIGN_TYPED_DATA:"eth_signTypedData",ETH_SIGN_TYPED_DATA_V1:"eth_signTypedData_v1",ETH_SIGN_TYPED_DATA_V3:"eth_signTypedData_v3",ETH_SIGN_TYPED_DATA_V4:"eth_signTypedData_v4",GET_PROVIDER_STATE:"metamask_getProviderState",LOG_WEB3_SHIM_USAGE:"metamask_logWeb3ShimUsage",PERSONAL_SIGN:"personal_sign",SEND_METADATA:"metamask_sendDomainMetadata",SWITCH_ETHEREUM_CHAIN:"wallet_switchEthereumChain",TRANSACTION:"transaction",WALLET_CREATE_SESSION:"wallet_createSession",WALLET_GET_CALLS_STATUS:"wallet_getCallsStatus",WALLET_GET_CAPABILITIES:"wallet_getCapabilities",WALLET_GET_SESSION:"wallet_getSession",WALLET_INVOKE_METHOD:"wallet_invokeMethod",WALLET_REQUEST_PERMISSIONS:"wallet_requestPermissions",WALLET_REVOKE_SESSION:"wallet_revokeSession",WALLET_SEND_CALLS:"wallet_sendCalls",WALLET_SESSION_CHANGED:"wallet_sessionChanged",WALLET_REQUEST_EXECUTION_PERMISSIONS:"wallet_requestExecutionPermissions",WALLET_GET_SUPPORTED_EXECUTION_PERMISSIONS:"wallet_getSupportedExecutionPermissions",WALLET_GET_GRANTED_EXECUTION_PERMISSIONS:"wallet_getGrantedExecutionPermissions",WATCH_ASSET:"wallet_watchAsset",WATCH_ASSET_LEGACY:"metamask_watchAsset",SNAP_DIALOG_ALERT:r.DIALOG_APPROVAL_TYPES.alert,SNAP_DIALOG_CONFIRMATION:r.DIALOG_APPROVAL_TYPES.confirmation,SNAP_DIALOG_PROMPT:r.DIALOG_APPROVAL_TYPES.prompt,SNAP_DIALOG_DEFAULT:r.DIALOG_APPROVAL_TYPES.default,HYPERLIQUID_REFERRAL_CONSENT:"hyperliquid_referral_consent",ASTERDEX_REFERRAL_CONSENT:"asterdex_referral_consent",GMX_REFERRAL_CONSENT:"gmx_referral_consent"}),N=(n.HYPERLIQUID_APPROVAL_TYPE=P.HYPERLIQUID_REFERRAL_CONSENT,n.ASTERDEX_APPROVAL_TYPE=P.ASTERDEX_REFERRAL_CONSENT,n.GMX_APPROVAL_TYPE=P.GMX_REFERRAL_CONSENT,n.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES={confirmAccountCreation:"snap_manageAccounts:confirmAccountCreation",confirmAccountRemoval:"snap_manageAccounts:confirmAccountRemoval",showSnapAccountRedirect:"snap_manageAccounts:showSnapAccountRedirect"},n.SMART_TRANSACTION_CONFIRMATION_TYPES={showSmartTransactionStatusPage:"smartTransaction:showSmartTransactionStatusPage"},n.POLLING_TOKEN_ENVIRONMENT_TYPES={[s]:"popupGasPollTokens",[a]:"notificationGasPollTokens",[i]:"fullScreenGasPollTokens",[u]:"sidePanelGasPollTokens",[l]:"none"},n.ORIGIN_METAMASK="metamask",n.METAMASK_BETA_CHROME_ID="pbbkamfgmaedccnfkmjcofcecjhfgldn"),I=n.METAMASK_PROD_CHROME_ID="nkbihfbeogaeaoehlefnkodbefgpgknn",M=n.METAMASK_FLASK_CHROME_ID="ljfoeinjpaedjfecbmggjgodbgkmjkjk",L=n.METAMASK_MMI_BETA_CHROME_ID="kmbhbcbadohhhgdgihejcicbgcehoaeg",C=n.METAMASK_MMI_PROD_CHROME_ID="ikkihjamdhfiojpdbnfllpjigpneipbc";n.CHROME_BUILD_IDS=[N,I,M,L,C],n.FIREFOX_BUILD_IDS=["webextension-beta@metamask.io","webextension@metamask.io","webextension-flask@metamask.io"],n.UNKNOWN_TICKER_SYMBOL="UNKNOWN",n.TRACE_ENABLED_SIGN_METHODS=[P.ETH_SIGN_TYPED_DATA,P.ETH_SIGN_TYPED_DATA_V1,P.ETH_SIGN_TYPED_DATA_V3,P.ETH_SIGN_TYPED_DATA_V4,P.PERSONAL_SIGN],n.DOWNLOAD_MOBILE_APP_SLIDE_ID="downloadMobileApp"}}},{package:"$root$",file:"shared/constants/app.ts"}]],[],{});