LavaPack.loadBundle([["/home/runner/work/metamask-extension/metamask-extension/node_modules/bitcoin-address-validation/lib/index.cjs.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";(()=>{const e=Array(256).fill(-1);for(let t=0;t<58;++t)e[o.charCodeAt(t)]=t})();var s,i,a,u=e=>{if(!e||"string"!=typeof e)throw new Error(`Expected base58 string but got “${e}”`);if(e.match(/[IOl0]/gmu))throw new Error(`Invalid base58 character “${e.match(/[IOl0]/gmu)}”`);const t=e.match(/^1+/gmu),r=t?t[0].length:0,n=(e.length-r)*(Math.log(58)/Math.log(256))+1>>>0;return new Uint8Array([...new Uint8Array(r),...e.match(/.{1}/gmu).map(e=>o.indexOf(e)).reduce((e,t)=>e.map(e=>{const r=58*e+t;return t=r>>8,r}),new Uint8Array(n)).reverse().filter((s=!1,e=>s=s||e))]);var s},c=(s=function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.bech32m=t.bech32=void 0;const r="qpzry9x8gf2tvdw0s3jn54khce6mua7l",n={};for(let e=0;e<32;e++){const t=r.charAt(e);n[t]=e}function o(e){const t=e>>25;return(33554431&e)<<5^996825010&-(1&t)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function s(e){let t=1;for(let r=0;r<e.length;++r){const n=e.charCodeAt(r);if(n<33||n>126)return"Invalid prefix ("+e+")";t=o(t)^n>>5}t=o(t);for(let r=0;r<e.length;++r){const n=e.charCodeAt(r);t=o(t)^31&n}return t}function i(e,t,r,n){let o=0,s=0;const i=(1<<r)-1,a=[];for(let n=0;n<e.length;++n)for(o=o<<t|e[n],s+=t;s>=r;)s-=r,a.push(o>>s&i);if(n)s>0&&a.push(o<<r-s&i);else{if(s>=t)return"Excess padding";if(o<<r-s&i)return"Non-zero padding"}return a}function a(e){return i(e,8,5,!0)}function u(e){const t=i(e,5,8,!1);if(Array.isArray(t))return t}function c(e){const t=i(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}function d(e){let t;function i(e,r){if(r=r||90,e.length<8)return e+" too short";if(e.length>r)return"Exceeds length limit";const i=e.toLowerCase(),a=e.toUpperCase();if(e!==i&&e!==a)return"Mixed-case string "+e;const u=(e=i).lastIndexOf("1");if(-1===u)return"No separator character for "+e;if(0===u)return"Missing prefix for "+e;const c=e.slice(0,u),d=e.slice(u+1);if(d.length<6)return"Data too short";let f=s(c);if("string"==typeof f)return f;const l=[];for(let e=0;e<d.length;++e){const t=d.charAt(e),r=n[t];if(void 0===r)return"Unknown character "+t;f=o(f)^r,e+6>=d.length||l.push(r)}return f!==t?"Invalid checksum for "+e:{prefix:c,words:l}}return t="bech32"===e?1:734539939,{decodeUnsafe:function(e,t){const r=i(e,t);if("object"==typeof r)return r},decode:function(e,t){const r=i(e,t);if("object"==typeof r)return r;throw new Error(r)},encode:function(e,n,i){if(i=i||90,e.length+7+n.length>i)throw new TypeError("Exceeds length limit");let a=s(e=e.toLowerCase());if("string"==typeof a)throw new Error(a);let u=e+"1";for(let e=0;e<n.length;++e){const t=n[e];if(t>>5)throw new Error("Non 5-bit word");a=o(a)^t,u+=r.charAt(t)}for(let e=0;e<6;++e)a=o(a);a^=t;for(let e=0;e<6;++e)u+=r.charAt(a>>5*(5-e)&31);return u},toWords:a,fromWordsUnsafe:u,fromWords:c}}t.bech32=d("bech32"),t.bech32m=d("bech32m")},s(i={exports:{}},i.exports),i.exports);(a=c)&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")&&a.default;var d=c.bech32m,f=c.bech32;const l=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998];class h{constructor(){this.A=1779033703,this.B=-1150833019,this.C=1013904242,this.D=-1521486534,this.E=1359893119,this.F=-1694144372,this.G=528734635,this.H=1541459225,this._size=0,this._sp=0,(!p||b>=8e3)&&(p=new ArrayBuffer(8e3),b=0),this._byte=new Uint8Array(p,b,80),this._word=new Int32Array(p,b,20),b+=80}update(e){if("string"==typeof e)return this._utf8(e);if(null==e)throw new TypeError("Invalid type: "+typeof e);const t=e.byteOffset,r=e.byteLength;let n=r/64|0,o=0;if(n&&!(3&t)&&!(this._size%64)){const r=new Int32Array(e.buffer,t,16*n);for(;n--;)this._int32(r,o>>2),o+=64;this._size+=o}if(1!==e.BYTES_PER_ELEMENT&&e.buffer){const n=new Uint8Array(e.buffer,t+o,r-o);return this._uint8(n)}return o===r?this:this._uint8(e,o)}_uint8(e,t){const{_byte:r,_word:n}=this,o=e.length;for(t|=0;t<o;){const s=this._size%64;let i=s;for(;t<o&&i<64;)r[i++]=e[t++];i>=64&&this._int32(n),this._size+=i-s}return this}_utf8(e){const{_byte:t,_word:r}=this,n=e.length;let o=this._sp;for(let s=0;s<n;){const i=this._size%64;let a=i;for(;s<n&&a<64;){let r=0|e.charCodeAt(s++);r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|63&r):r<55296||r>57343?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):o?(r=((1023&o)<<10)+(1023&r)+65536,t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r,o=0):o=r}a>=64&&(this._int32(r),r[0]=r[16]),this._size+=a-i}return this._sp=o,this}_int32(e,t){let{A:r,B:n,C:o,D:s,E:i,F:a,G:u,H:c}=this,d=0;for(t|=0;d<16;)m[d++]=g(e[t++]);for(d=16;d<64;d++)m[d]=j(m[d-2])+m[d-7]+x(m[d-15])+m[d-16]|0;for(d=0;d<64;d++){const e=c+v(i)+w(i,a,u)+l[d]+m[d]|0,t=_(r)+k(r,n,o)|0;c=u,u=a,a=i,i=s+e|0,s=o,o=n,n=r,r=e+t|0}this.A=r+this.A|0,this.B=n+this.B|0,this.C=o+this.C|0,this.D=s+this.D|0,this.E=i+this.E|0,this.F=a+this.F|0,this.G=u+this.G|0,this.H=c+this.H|0}digest(e){const{_byte:t,_word:r}=this;let n=this._size%64|0;for(t[n++]=128;3&n;)t[n++]=0;if(n>>=2,n>14){for(;n<16;)r[n++]=0;n=0,this._int32(r)}for(;n<16;)r[n++]=0;const o=8*this._size,s=(4294967295&o)>>>0,i=(o-s)/4294967296;return i&&(r[14]=g(i)),s&&(r[15]=g(s)),this._int32(r),"hex"===e?this._hex():this._bin()}_hex(){const{A:e,B:t,C:r,D:n,E:o,F:s,G:i,H:a}=this;return y(e)+y(t)+y(r)+y(n)+y(o)+y(s)+y(i)+y(a)}_bin(){const{A:e,B:t,C:r,D:n,E:o,F:s,G:i,H:a,_byte:u,_word:c}=this;return c[0]=g(e),c[1]=g(t),c[2]=g(r),c[3]=g(n),c[4]=g(o),c[5]=g(s),c[6]=g(i),c[7]=g(a),u.slice(0,32)}}const m=new Int32Array(64);let p,b=0;const y=e=>(e+4294967296).toString(16).substr(-8),g=254===new Uint8Array(new Uint16Array([65279]).buffer)[0]?e=>e:e=>e<<24&4278190080|e<<8&16711680|e>>8&65280|e>>24&255,w=(e,t,r)=>r^e&(t^r),k=(e,t,r)=>e&t|r&(e|t),_=e=>(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10),v=e=>(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7),x=e=>(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3,j=e=>(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10;var S,E,A=function(e){return(new h).update(e).digest()};r.Network=void 0,(S=r.Network||(r.Network={})).mainnet="mainnet",S.testnet="testnet",S.regtest="regtest",r.AddressType=void 0,(E=r.AddressType||(r.AddressType={})).p2pkh="p2pkh",E.p2sh="p2sh",E.p2wpkh="p2wpkh",E.p2wsh="p2wsh",E.p2tr="p2tr";var B={0:{type:r.AddressType.p2pkh,network:r.Network.mainnet},111:{type:r.AddressType.p2pkh,network:r.Network.testnet},5:{type:r.AddressType.p2sh,network:r.Network.mainnet},196:{type:r.AddressType.p2sh,network:r.Network.testnet}},T=function(e){var t,o=e.substr(0,2).toLowerCase();if("bc"===o||"tb"===o)return function(e){var t;try{t=e.startsWith("bc1p")||e.startsWith("tb1p")||e.startsWith("bcrt1p")?d.decode(e):f.decode(e)}catch(e){throw new Error("Invalid address")}var n={bc:r.Network.mainnet,tb:r.Network.testnet,bcrt:r.Network.regtest}[t.prefix];if(void 0===n)throw new Error("Invalid address");var o=t.words[0];if(o<0||o>16)throw new Error("Invalid address");return{bech32:!0,network:n,address:e,type:20===f.fromWords(t.words.slice(1)).length?r.AddressType.p2wpkh:1===o?r.AddressType.p2tr:r.AddressType.p2wsh}}(e);try{t=u(e)}catch(e){throw new Error("Invalid address")}var s=t.length;if(25!==s)throw new Error("Invalid address");var i=t[0],a=t.slice(s-4,s),c=t.slice(0,s-4),l=A(A(c)).slice(0,4);if(a.some(function(e,t){return e!==l[t]}))throw new Error("Invalid address");if(!Object.keys(B).map(Number).includes(i))throw new Error("Invalid address");return n(n({},B[i]),{address:e,bech32:!1})},O=function(e,t){try{var r=T(e);return!t||t===r.network}catch(e){return!1}};r.default=O,r.getAddressInfo=T,r.validate=O}}},{package:"bitcoin-address-validation",file:"node_modules/bitcoin-address-validation/lib/index.cjs.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/blo/dist/index.cjs",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){const t=function(e){const t=new Uint32Array([0,0,0,0]);for(let r=0;r<e.length;r++)t[r%4]=(t[r%4]<<5)-t[r%4]+e.charCodeAt(r);return t}(e);return function(){const e=t[0]^t[0]<<11;return t[0]=t[1],t[1]=t[2],t[2]=t[3],t[3]=t[3]^t[3]>>19^e^e>>8,(t[3]>>>0)/(1<<31>>>0)}}function o(e){const t=new Uint8Array(32);for(let r=0;r<32;r++)t[r]=Math.floor(2.3*e());return t}function s(e){const t=i(e);return[i(e),t,i(e)]}function i(e){return new Uint16Array([360*e(),40+60*e(),25*(e()+e()+e()+e())])}Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});function a(e,t=64){return function(e,t){const r=n(e.toLowerCase()),[o,i,a]=s(r),u=["M0,0H8V8H0z","",""];for(let e,t,n=0;n<32;n++){e=n%4,t=Math.floor(n/4);const o=Math.floor(2.3*r());o>0&&(u[o]+=`M${e},${t}h1v1h-1zM${7-e},${t}h1v1h-1z`)}return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8" shape-rendering="optimizeSpeed" width="${t}" height="${t}"><path fill="hsl(${o[0]} ${o[1]}% ${o[2]}%)" d="${u[0]}"/><path fill="hsl(${i[0]} ${i[1]}% ${i[2]}%)" d="${u[1]}"/><path fill="hsl(${a[0]} ${a[1]}% ${a[2]}%)" d="${u[2]}"/></svg>`}(e,t)}r.blo=function(e,t=64){return"data:image/svg+xml;base64,"+btoa(a(e,t))},r.bloImage=function(e){return function(e){const t=n(e.toLowerCase()),r=s(t);return[o(t),r]}(e)},r.bloSvg=a}}},{package:"blo",file:"node_modules/blo/dist/index.cjs"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js",{buffer:"/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,r){!function(t,r){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function o(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function s(e,t,r){if(s.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var i;"object"==typeof t?t.exports=s:r.BN=s,s.BN=s,s.wordSize=26;try{i="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e("buffer").Buffer}catch(e){}function a(e,t){var r=e.charCodeAt(t);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+e)}function u(e,t,r){var n=a(e,r);return r-1>=t&&(n|=a(e,r-1)<<4),n}function c(e,t,r,o){for(var s=0,i=0,a=Math.min(e.length,r),u=t;u<a;u++){var c=e.charCodeAt(u)-48;s*=o,i=c>=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&i<o,"Invalid character"),s+=i}return s}function d(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(o++,this.negative=1),o<e.length&&(16===t?this._parseHex(e,o,r):(this._parseBase(e,t,o),"le"===r&&this._initArray(this.toArray(),t,r)))},s.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o<this.length;o++)this.words[o]=0;var s,i,a=0;if("be"===r)for(o=e.length-1,s=0;o>=0;o-=3)i=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[s]|=i<<a&67108863,this.words[s+1]=i>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);else if("le"===r)for(o=0,s=0;o<e.length;o+=3)i=e[o]|e[o+1]<<8|e[o+2]<<16,this.words[s]|=i<<a&67108863,this.words[s+1]=i>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);return this._strip()},s.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var o,s=0,i=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)o=u(e,t,n)<<s,this.words[i]|=67108863&o,s>=18?(s-=18,i+=1,this.words[i]|=o>>>26):s+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)o=u(e,t,n)<<s,this.words[i]|=67108863&o,s>=18?(s-=18,i+=1,this.words[i]|=o>>>26):s+=8;this._strip()},s.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var s=e.length-r,i=s%n,a=Math.min(s,s-i)+r,u=0,d=r;d<a;d+=n)u=c(e,d,d+n,t),this.imuln(o),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==i){var f=1;for(u=c(e,d,e.length,t),d=0;d<i;d++)f*=t;this.imuln(f),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this._strip()},s.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},s.prototype._move=function(e){d(e,this)},s.prototype.clone=function(){var e=new s(null);return this.copy(e),e},s.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},s.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{s.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(e){s.prototype.inspect=f}else s.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],m=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var o=0,s=0,i=0;i<this.length;i++){var a=this.words[i],u=(16777215&(a<<o|s)).toString(16);s=a>>>24-o&16777215,(o+=2)>=26&&(o-=26,i--),r=0!==s||i!==this.length-1?l[6-u.length]+u+r:u+r}for(0!==s&&(r=s.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var c=h[e],d=m[e];r="";var f=this.clone();for(f.negative=0;!f.isZero();){var p=f.modrn(d).toString(e);r=(f=f.idivn(d)).isZero()?p+r:l[c-p.length]+p+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16,2)},i&&(s.prototype.toBuffer=function(e,t){return this.toArrayLike(i,e,t)}),s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],s=0|t.words[0],i=o*s,a=67108863&i,u=i/67108864|0;r.words[0]=a;for(var c=1;c<n;c++){for(var d=u>>>26,f=67108863&u,l=Math.min(c,t.length-1),h=Math.max(0,c-e.length+1);h<=l;h++){var m=c-h|0;d+=(i=(o=0|e.words[m])*(s=0|t.words[h])+f)/67108864|0,f=67108863&i}r.words[c]=0|f,u=0|d}return 0!==u?r.words[c]=0|u:r.length--,r._strip()}s.prototype.toArrayLike=function(e,t,r){this._strip();var o=this.byteLength(),s=r||Math.max(1,o);n(o<=s,"byte array longer than desired length"),n(s>0,"Requested array length <= 0");var i=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,s);return this["_toArrayLike"+("le"===t?"LE":"BE")](i,o),i},s.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,o=0,s=0;o<this.length;o++){var i=this.words[o]<<s|n;e[r++]=255&i,r<e.length&&(e[r++]=i>>8&255),r<e.length&&(e[r++]=i>>16&255),6===s?(r<e.length&&(e[r++]=i>>24&255),n=0,s=0):(n=i>>>24,s+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},s.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,o=0,s=0;o<this.length;o++){var i=this.words[o]<<s|n;e[r--]=255&i,r>=0&&(e[r--]=i>>8&255),r>=0&&(e[r--]=i>>16&255),6===s?(r>=0&&(e[r--]=i>>24&255),n=0,s=0):(n=i>>>24,s+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?s.prototype._countBits=function(e){return 32-Math.clz32(e)}:s.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},s.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},s.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},s.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},s.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},s.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},s.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},s.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},s.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o<t;o++)this.words[o]=67108863&~this.words[o];return r>0&&(this.words[o]=~this.words[o]&67108863>>26-r),this._strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<o:this.words[r]&~(1<<o),this._strip()},s.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var o=0,s=0;s<n.length;s++)t=(0|r.words[s])+(0|n.words[s])+o,this.words[s]=67108863&t,o=t>>>26;for(;0!==o&&s<r.length;s++)t=(0|r.words[s])+o,this.words[s]=67108863&t,o=t>>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this},s.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=e):(r=e,n=this);for(var s=0,i=0;i<n.length;i++)s=(t=(0|r.words[i])-(0|n.words[i])+s)>>26,this.words[i]=67108863&t;for(;0!==s&&i<r.length;i++)s=(t=(0|r.words[i])+s)>>26,this.words[i]=67108863&t;if(0===s&&i<r.length&&r!==this)for(;i<r.length;i++)this.words[i]=r.words[i];return this.length=Math.max(this.length,i),r!==this&&(this.negative=1),this._strip()},s.prototype.sub=function(e){return this.clone().isub(e)};var b=function(e,t,r){var n,o,s,i=e.words,a=t.words,u=r.words,c=0,d=0|i[0],f=8191&d,l=d>>>13,h=0|i[1],m=8191&h,p=h>>>13,b=0|i[2],y=8191&b,g=b>>>13,w=0|i[3],k=8191&w,_=w>>>13,v=0|i[4],x=8191&v,j=v>>>13,S=0|i[5],E=8191&S,A=S>>>13,B=0|i[6],T=8191&B,O=B>>>13,M=0|i[7],P=8191&M,I=M>>>13,C=0|i[8],R=8191&C,L=C>>>13,N=0|i[9],D=8191&N,F=N>>>13,U=0|a[0],H=8191&U,K=U>>>13,z=0|a[1],q=8191&z,W=z>>>13,G=0|a[2],V=8191&G,Z=G>>>13,$=0|a[3],X=8191&$,J=$>>>13,Q=0|a[4],Y=8191&Q,ee=Q>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],se=8191&oe,ie=oe>>>13,ae=0|a[7],ue=8191&ae,ce=ae>>>13,de=0|a[8],fe=8191&de,le=de>>>13,he=0|a[9],me=8191&he,pe=he>>>13;r.negative=e.negative^t.negative,r.length=19;var be=(c+(n=Math.imul(f,H))|0)+((8191&(o=(o=Math.imul(f,K))+Math.imul(l,H)|0))<<13)|0;c=((s=Math.imul(l,K))+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(m,H),o=(o=Math.imul(m,K))+Math.imul(p,H)|0,s=Math.imul(p,K);var ye=(c+(n=n+Math.imul(f,q)|0)|0)+((8191&(o=(o=o+Math.imul(f,W)|0)+Math.imul(l,q)|0))<<13)|0;c=((s=s+Math.imul(l,W)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,H),o=(o=Math.imul(y,K))+Math.imul(g,H)|0,s=Math.imul(g,K),n=n+Math.imul(m,q)|0,o=(o=o+Math.imul(m,W)|0)+Math.imul(p,q)|0,s=s+Math.imul(p,W)|0;var ge=(c+(n=n+Math.imul(f,V)|0)|0)+((8191&(o=(o=o+Math.imul(f,Z)|0)+Math.imul(l,V)|0))<<13)|0;c=((s=s+Math.imul(l,Z)|0)+(o>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(k,H),o=(o=Math.imul(k,K))+Math.imul(_,H)|0,s=Math.imul(_,K),n=n+Math.imul(y,q)|0,o=(o=o+Math.imul(y,W)|0)+Math.imul(g,q)|0,s=s+Math.imul(g,W)|0,n=n+Math.imul(m,V)|0,o=(o=o+Math.imul(m,Z)|0)+Math.imul(p,V)|0,s=s+Math.imul(p,Z)|0;var we=(c+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,J)|0)+Math.imul(l,X)|0))<<13)|0;c=((s=s+Math.imul(l,J)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(x,H),o=(o=Math.imul(x,K))+Math.imul(j,H)|0,s=Math.imul(j,K),n=n+Math.imul(k,q)|0,o=(o=o+Math.imul(k,W)|0)+Math.imul(_,q)|0,s=s+Math.imul(_,W)|0,n=n+Math.imul(y,V)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(g,V)|0,s=s+Math.imul(g,Z)|0,n=n+Math.imul(m,X)|0,o=(o=o+Math.imul(m,J)|0)+Math.imul(p,X)|0,s=s+Math.imul(p,J)|0;var ke=(c+(n=n+Math.imul(f,Y)|0)|0)+((8191&(o=(o=o+Math.imul(f,ee)|0)+Math.imul(l,Y)|0))<<13)|0;c=((s=s+Math.imul(l,ee)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(E,H),o=(o=Math.imul(E,K))+Math.imul(A,H)|0,s=Math.imul(A,K),n=n+Math.imul(x,q)|0,o=(o=o+Math.imul(x,W)|0)+Math.imul(j,q)|0,s=s+Math.imul(j,W)|0,n=n+Math.imul(k,V)|0,o=(o=o+Math.imul(k,Z)|0)+Math.imul(_,V)|0,s=s+Math.imul(_,Z)|0,n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,J)|0)+Math.imul(g,X)|0,s=s+Math.imul(g,J)|0,n=n+Math.imul(m,Y)|0,o=(o=o+Math.imul(m,ee)|0)+Math.imul(p,Y)|0,s=s+Math.imul(p,ee)|0;var _e=(c+(n=n+Math.imul(f,re)|0)|0)+((8191&(o=(o=o+Math.imul(f,ne)|0)+Math.imul(l,re)|0))<<13)|0;c=((s=s+Math.imul(l,ne)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(T,H),o=(o=Math.imul(T,K))+Math.imul(O,H)|0,s=Math.imul(O,K),n=n+Math.imul(E,q)|0,o=(o=o+Math.imul(E,W)|0)+Math.imul(A,q)|0,s=s+Math.imul(A,W)|0,n=n+Math.imul(x,V)|0,o=(o=o+Math.imul(x,Z)|0)+Math.imul(j,V)|0,s=s+Math.imul(j,Z)|0,n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,J)|0)+Math.imul(_,X)|0,s=s+Math.imul(_,J)|0,n=n+Math.imul(y,Y)|0,o=(o=o+Math.imul(y,ee)|0)+Math.imul(g,Y)|0,s=s+Math.imul(g,ee)|0,n=n+Math.imul(m,re)|0,o=(o=o+Math.imul(m,ne)|0)+Math.imul(p,re)|0,s=s+Math.imul(p,ne)|0;var ve=(c+(n=n+Math.imul(f,se)|0)|0)+((8191&(o=(o=o+Math.imul(f,ie)|0)+Math.imul(l,se)|0))<<13)|0;c=((s=s+Math.imul(l,ie)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(P,H),o=(o=Math.imul(P,K))+Math.imul(I,H)|0,s=Math.imul(I,K),n=n+Math.imul(T,q)|0,o=(o=o+Math.imul(T,W)|0)+Math.imul(O,q)|0,s=s+Math.imul(O,W)|0,n=n+Math.imul(E,V)|0,o=(o=o+Math.imul(E,Z)|0)+Math.imul(A,V)|0,s=s+Math.imul(A,Z)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,J)|0)+Math.imul(j,X)|0,s=s+Math.imul(j,J)|0,n=n+Math.imul(k,Y)|0,o=(o=o+Math.imul(k,ee)|0)+Math.imul(_,Y)|0,s=s+Math.imul(_,ee)|0,n=n+Math.imul(y,re)|0,o=(o=o+Math.imul(y,ne)|0)+Math.imul(g,re)|0,s=s+Math.imul(g,ne)|0,n=n+Math.imul(m,se)|0,o=(o=o+Math.imul(m,ie)|0)+Math.imul(p,se)|0,s=s+Math.imul(p,ie)|0;var xe=(c+(n=n+Math.imul(f,ue)|0)|0)+((8191&(o=(o=o+Math.imul(f,ce)|0)+Math.imul(l,ue)|0))<<13)|0;c=((s=s+Math.imul(l,ce)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(R,H),o=(o=Math.imul(R,K))+Math.imul(L,H)|0,s=Math.imul(L,K),n=n+Math.imul(P,q)|0,o=(o=o+Math.imul(P,W)|0)+Math.imul(I,q)|0,s=s+Math.imul(I,W)|0,n=n+Math.imul(T,V)|0,o=(o=o+Math.imul(T,Z)|0)+Math.imul(O,V)|0,s=s+Math.imul(O,Z)|0,n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,J)|0)+Math.imul(A,X)|0,s=s+Math.imul(A,J)|0,n=n+Math.imul(x,Y)|0,o=(o=o+Math.imul(x,ee)|0)+Math.imul(j,Y)|0,s=s+Math.imul(j,ee)|0,n=n+Math.imul(k,re)|0,o=(o=o+Math.imul(k,ne)|0)+Math.imul(_,re)|0,s=s+Math.imul(_,ne)|0,n=n+Math.imul(y,se)|0,o=(o=o+Math.imul(y,ie)|0)+Math.imul(g,se)|0,s=s+Math.imul(g,ie)|0,n=n+Math.imul(m,ue)|0,o=(o=o+Math.imul(m,ce)|0)+Math.imul(p,ue)|0,s=s+Math.imul(p,ce)|0;var je=(c+(n=n+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,le)|0)+Math.imul(l,fe)|0))<<13)|0;c=((s=s+Math.imul(l,le)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(D,H),o=(o=Math.imul(D,K))+Math.imul(F,H)|0,s=Math.imul(F,K),n=n+Math.imul(R,q)|0,o=(o=o+Math.imul(R,W)|0)+Math.imul(L,q)|0,s=s+Math.imul(L,W)|0,n=n+Math.imul(P,V)|0,o=(o=o+Math.imul(P,Z)|0)+Math.imul(I,V)|0,s=s+Math.imul(I,Z)|0,n=n+Math.imul(T,X)|0,o=(o=o+Math.imul(T,J)|0)+Math.imul(O,X)|0,s=s+Math.imul(O,J)|0,n=n+Math.imul(E,Y)|0,o=(o=o+Math.imul(E,ee)|0)+Math.imul(A,Y)|0,s=s+Math.imul(A,ee)|0,n=n+Math.imul(x,re)|0,o=(o=o+Math.imul(x,ne)|0)+Math.imul(j,re)|0,s=s+Math.imul(j,ne)|0,n=n+Math.imul(k,se)|0,o=(o=o+Math.imul(k,ie)|0)+Math.imul(_,se)|0,s=s+Math.imul(_,ie)|0,n=n+Math.imul(y,ue)|0,o=(o=o+Math.imul(y,ce)|0)+Math.imul(g,ue)|0,s=s+Math.imul(g,ce)|0,n=n+Math.imul(m,fe)|0,o=(o=o+Math.imul(m,le)|0)+Math.imul(p,fe)|0,s=s+Math.imul(p,le)|0;var Se=(c+(n=n+Math.imul(f,me)|0)|0)+((8191&(o=(o=o+Math.imul(f,pe)|0)+Math.imul(l,me)|0))<<13)|0;c=((s=s+Math.imul(l,pe)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(D,q),o=(o=Math.imul(D,W))+Math.imul(F,q)|0,s=Math.imul(F,W),n=n+Math.imul(R,V)|0,o=(o=o+Math.imul(R,Z)|0)+Math.imul(L,V)|0,s=s+Math.imul(L,Z)|0,n=n+Math.imul(P,X)|0,o=(o=o+Math.imul(P,J)|0)+Math.imul(I,X)|0,s=s+Math.imul(I,J)|0,n=n+Math.imul(T,Y)|0,o=(o=o+Math.imul(T,ee)|0)+Math.imul(O,Y)|0,s=s+Math.imul(O,ee)|0,n=n+Math.imul(E,re)|0,o=(o=o+Math.imul(E,ne)|0)+Math.imul(A,re)|0,s=s+Math.imul(A,ne)|0,n=n+Math.imul(x,se)|0,o=(o=o+Math.imul(x,ie)|0)+Math.imul(j,se)|0,s=s+Math.imul(j,ie)|0,n=n+Math.imul(k,ue)|0,o=(o=o+Math.imul(k,ce)|0)+Math.imul(_,ue)|0,s=s+Math.imul(_,ce)|0,n=n+Math.imul(y,fe)|0,o=(o=o+Math.imul(y,le)|0)+Math.imul(g,fe)|0,s=s+Math.imul(g,le)|0;var Ee=(c+(n=n+Math.imul(m,me)|0)|0)+((8191&(o=(o=o+Math.imul(m,pe)|0)+Math.imul(p,me)|0))<<13)|0;c=((s=s+Math.imul(p,pe)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(D,V),o=(o=Math.imul(D,Z))+Math.imul(F,V)|0,s=Math.imul(F,Z),n=n+Math.imul(R,X)|0,o=(o=o+Math.imul(R,J)|0)+Math.imul(L,X)|0,s=s+Math.imul(L,J)|0,n=n+Math.imul(P,Y)|0,o=(o=o+Math.imul(P,ee)|0)+Math.imul(I,Y)|0,s=s+Math.imul(I,ee)|0,n=n+Math.imul(T,re)|0,o=(o=o+Math.imul(T,ne)|0)+Math.imul(O,re)|0,s=s+Math.imul(O,ne)|0,n=n+Math.imul(E,se)|0,o=(o=o+Math.imul(E,ie)|0)+Math.imul(A,se)|0,s=s+Math.imul(A,ie)|0,n=n+Math.imul(x,ue)|0,o=(o=o+Math.imul(x,ce)|0)+Math.imul(j,ue)|0,s=s+Math.imul(j,ce)|0,n=n+Math.imul(k,fe)|0,o=(o=o+Math.imul(k,le)|0)+Math.imul(_,fe)|0,s=s+Math.imul(_,le)|0;var Ae=(c+(n=n+Math.imul(y,me)|0)|0)+((8191&(o=(o=o+Math.imul(y,pe)|0)+Math.imul(g,me)|0))<<13)|0;c=((s=s+Math.imul(g,pe)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(D,X),o=(o=Math.imul(D,J))+Math.imul(F,X)|0,s=Math.imul(F,J),n=n+Math.imul(R,Y)|0,o=(o=o+Math.imul(R,ee)|0)+Math.imul(L,Y)|0,s=s+Math.imul(L,ee)|0,n=n+Math.imul(P,re)|0,o=(o=o+Math.imul(P,ne)|0)+Math.imul(I,re)|0,s=s+Math.imul(I,ne)|0,n=n+Math.imul(T,se)|0,o=(o=o+Math.imul(T,ie)|0)+Math.imul(O,se)|0,s=s+Math.imul(O,ie)|0,n=n+Math.imul(E,ue)|0,o=(o=o+Math.imul(E,ce)|0)+Math.imul(A,ue)|0,s=s+Math.imul(A,ce)|0,n=n+Math.imul(x,fe)|0,o=(o=o+Math.imul(x,le)|0)+Math.imul(j,fe)|0,s=s+Math.imul(j,le)|0;var Be=(c+(n=n+Math.imul(k,me)|0)|0)+((8191&(o=(o=o+Math.imul(k,pe)|0)+Math.imul(_,me)|0))<<13)|0;c=((s=s+Math.imul(_,pe)|0)+(o>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(D,Y),o=(o=Math.imul(D,ee))+Math.imul(F,Y)|0,s=Math.imul(F,ee),n=n+Math.imul(R,re)|0,o=(o=o+Math.imul(R,ne)|0)+Math.imul(L,re)|0,s=s+Math.imul(L,ne)|0,n=n+Math.imul(P,se)|0,o=(o=o+Math.imul(P,ie)|0)+Math.imul(I,se)|0,s=s+Math.imul(I,ie)|0,n=n+Math.imul(T,ue)|0,o=(o=o+Math.imul(T,ce)|0)+Math.imul(O,ue)|0,s=s+Math.imul(O,ce)|0,n=n+Math.imul(E,fe)|0,o=(o=o+Math.imul(E,le)|0)+Math.imul(A,fe)|0,s=s+Math.imul(A,le)|0;var Te=(c+(n=n+Math.imul(x,me)|0)|0)+((8191&(o=(o=o+Math.imul(x,pe)|0)+Math.imul(j,me)|0))<<13)|0;c=((s=s+Math.imul(j,pe)|0)+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(D,re),o=(o=Math.imul(D,ne))+Math.imul(F,re)|0,s=Math.imul(F,ne),n=n+Math.imul(R,se)|0,o=(o=o+Math.imul(R,ie)|0)+Math.imul(L,se)|0,s=s+Math.imul(L,ie)|0,n=n+Math.imul(P,ue)|0,o=(o=o+Math.imul(P,ce)|0)+Math.imul(I,ue)|0,s=s+Math.imul(I,ce)|0,n=n+Math.imul(T,fe)|0,o=(o=o+Math.imul(T,le)|0)+Math.imul(O,fe)|0,s=s+Math.imul(O,le)|0;var Oe=(c+(n=n+Math.imul(E,me)|0)|0)+((8191&(o=(o=o+Math.imul(E,pe)|0)+Math.imul(A,me)|0))<<13)|0;c=((s=s+Math.imul(A,pe)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(D,se),o=(o=Math.imul(D,ie))+Math.imul(F,se)|0,s=Math.imul(F,ie),n=n+Math.imul(R,ue)|0,o=(o=o+Math.imul(R,ce)|0)+Math.imul(L,ue)|0,s=s+Math.imul(L,ce)|0,n=n+Math.imul(P,fe)|0,o=(o=o+Math.imul(P,le)|0)+Math.imul(I,fe)|0,s=s+Math.imul(I,le)|0;var Me=(c+(n=n+Math.imul(T,me)|0)|0)+((8191&(o=(o=o+Math.imul(T,pe)|0)+Math.imul(O,me)|0))<<13)|0;c=((s=s+Math.imul(O,pe)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(D,ue),o=(o=Math.imul(D,ce))+Math.imul(F,ue)|0,s=Math.imul(F,ce),n=n+Math.imul(R,fe)|0,o=(o=o+Math.imul(R,le)|0)+Math.imul(L,fe)|0,s=s+Math.imul(L,le)|0;var Pe=(c+(n=n+Math.imul(P,me)|0)|0)+((8191&(o=(o=o+Math.imul(P,pe)|0)+Math.imul(I,me)|0))<<13)|0;c=((s=s+Math.imul(I,pe)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(D,fe),o=(o=Math.imul(D,le))+Math.imul(F,fe)|0,s=Math.imul(F,le);var Ie=(c+(n=n+Math.imul(R,me)|0)|0)+((8191&(o=(o=o+Math.imul(R,pe)|0)+Math.imul(L,me)|0))<<13)|0;c=((s=s+Math.imul(L,pe)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var Ce=(c+(n=Math.imul(D,me))|0)+((8191&(o=(o=Math.imul(D,pe))+Math.imul(F,me)|0))<<13)|0;return c=((s=Math.imul(F,pe))+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,u[0]=be,u[1]=ye,u[2]=ge,u[3]=we,u[4]=ke,u[5]=_e,u[6]=ve,u[7]=xe,u[8]=je,u[9]=Se,u[10]=Ee,u[11]=Ae,u[12]=Be,u[13]=Te,u[14]=Oe,u[15]=Me,u[16]=Pe,u[17]=Ie,u[18]=Ce,0!==c&&(u[19]=c,r.length++),r};function y(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,s=0;s<r.length-1;s++){var i=o;o=0;for(var a=67108863&n,u=Math.min(s,t.length-1),c=Math.max(0,s-e.length+1);c<=u;c++){var d=s-c,f=(0|e.words[d])*(0|t.words[c]),l=67108863&f;a=67108863&(l=l+a|0),o+=(i=(i=i+(f/67108864|0)|0)+(l>>>26)|0)>>>26,i&=67108863}r.words[s]=a,n=i,i=o}return 0!==n?r.words[s]=n:r.length--,r._strip()}function g(e,t,r){return y(e,t,r)}function w(e,t){this.x=e,this.y=t}Math.imul||(b=p),s.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?b(this,e,t):r<63?p(this,e,t):r<1024?y(this,e,t):g(this,e,t)},w.prototype.makeRBT=function(e){for(var t=new Array(e),r=s.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},w.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,o=0;o<t;o++)n|=(1&e)<<t-o-1,e>>=1;return n},w.prototype.permute=function(e,t,r,n,o,s){for(var i=0;i<s;i++)n[i]=t[e[i]],o[i]=r[e[i]]},w.prototype.transform=function(e,t,r,n,o,s){this.permute(s,e,t,r,n,o);for(var i=1;i<o;i<<=1)for(var a=i<<1,u=Math.cos(2*Math.PI/a),c=Math.sin(2*Math.PI/a),d=0;d<o;d+=a)for(var f=u,l=c,h=0;h<i;h++){var m=r[d+h],p=n[d+h],b=r[d+h+i],y=n[d+h+i],g=f*b-l*y;y=f*y+l*b,b=g,r[d+h]=m+b,n[d+h]=p+y,r[d+h+i]=m-b,n[d+h+i]=p-y,h!==a&&(g=u*f-c*l,l=u*l+c*f,f=g)}},w.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,o=0;for(r=r/2|0;r;r>>>=1)o++;return 1<<o+1+n},w.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var o=e[n];e[n]=e[r-n-1],e[r-n-1]=o,o=t[n],t[n]=-t[r-n-1],t[r-n-1]=-o}},w.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var o=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&o,r=o<67108864?0:o/67108864|0}return e},w.prototype.convert13b=function(e,t,r,o){for(var s=0,i=0;i<t;i++)s+=0|e[i],r[2*i]=8191&s,s>>>=13,r[2*i+1]=8191&s,s>>>=13;for(i=2*t;i<o;++i)r[i]=0;n(0===s),n(!(-8192&s))},w.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},w.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),o=this.makeRBT(n),s=this.stub(n),i=new Array(n),a=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),f=new Array(n),l=r.words;l.length=n,this.convert13b(e.words,e.length,i,n),this.convert13b(t.words,t.length,c,n),this.transform(i,s,a,u,n,o),this.transform(c,s,d,f,n,o);for(var h=0;h<n;h++){var m=a[h]*d[h]-u[h]*f[h];u[h]=a[h]*f[h]+u[h]*d[h],a[h]=m}return this.conjugate(a,u,n),this.transform(a,u,l,s,n,o),this.conjugate(l,s,n),this.normalize13b(l,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},s.prototype.mul=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},s.prototype.mulf=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),g(this,e,t)},s.prototype.imul=function(e){return this.clone().mulTo(e,this)},s.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,o=0;o<this.length;o++){var s=(0|this.words[o])*e,i=(67108863&s)+(67108863&r);r>>=26,r+=s/67108864|0,r+=i>>>26,this.words[o]=67108863&i}return 0!==r&&(this.words[o]=r,this.length++),t?this.ineg():this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,o=r%26;t[r]=e.words[n]>>>o&1}return t}(e);if(0===t.length)return new s(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var o=r.sqr();n<t.length;n++,o=o.sqr())0!==t[n]&&(r=r.mul(o));return r},s.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,o=(e-r)/26,s=67108863>>>26-r<<26-r;if(0!==r){var i=0;for(t=0;t<this.length;t++){var a=this.words[t]&s,u=(0|this.words[t])-a<<r;this.words[t]=u|i,i=a>>>26-r}i&&(this.words[t]=i,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t<o;t++)this.words[t]=0;this.length+=o}return this._strip()},s.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},s.prototype.iushrn=function(e,t,r){var o;n("number"==typeof e&&e>=0),o=t?(t-t%26)/26:0;var s=e%26,i=Math.min((e-s)/26,this.length),a=67108863^67108863>>>s<<s,u=r;if(o-=i,o=Math.max(0,o),u){for(var c=0;c<i;c++)u.words[c]=this.words[c];u.length=i}if(0===i);else if(this.length>i)for(this.length-=i,c=0;c<this.length;c++)this.words[c]=this.words[c+i];else this.words[0]=0,this.length=1;var d=0;for(c=this.length-1;c>=0&&(0!==d||c>=o);c--){var f=0|this.words[c];this.words[c]=d<<26-s|f>>>s,d=f&a}return u&&0!==d&&(u.words[u.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,o=1<<t;return!(this.length<=r)&&!!(this.words[r]&o)},s.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var o=67108863^67108863>>>t<<t;this.words[this.length-1]&=o}return this._strip()},s.prototype.maskn=function(e){return this.clone().imaskn(e)},s.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},s.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},s.prototype.addn=function(e){return this.clone().iaddn(e)},s.prototype.subn=function(e){return this.clone().isubn(e)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(e,t,r){var o,s,i=e.length+r;this._expand(i);var a=0;for(o=0;o<e.length;o++){s=(0|this.words[o+r])+a;var u=(0|e.words[o])*t;a=((s-=67108863&u)>>26)-(u/67108864|0),this.words[o+r]=67108863&s}for(;o<this.length-r;o++)a=(s=(0|this.words[o+r])+a)>>26,this.words[o+r]=67108863&s;if(0===a)return this._strip();for(n(-1===a),a=0,o=0;o<this.length;o++)a=(s=-(0|this.words[o])+a)>>26,this.words[o]=67108863&s;return this.negative=1,this._strip()},s.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,i=0|o.words[o.length-1];0!==(r=26-this._countBits(i))&&(o=o.ushln(r),n.iushln(r),i=0|o.words[o.length-1]);var a,u=n.length-o.length;if("mod"!==t){(a=new s(null)).length=u+1,a.words=new Array(a.length);for(var c=0;c<a.length;c++)a.words[c]=0}var d=n.clone()._ishlnsubmul(o,1,u);0===d.negative&&(n=d,a&&(a.words[u]=1));for(var f=u-1;f>=0;f--){var l=67108864*(0|n.words[o.length+f])+(0|n.words[o.length+f-1]);for(l=Math.min(l/i|0,67108863),n._ishlnsubmul(o,l,f);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(o,1,f),n.isZero()||(n.negative^=1);a&&(a.words[f]=l)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},s.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(i=a.mod.neg(),r&&0!==i.negative&&i.iadd(e)),{div:o,mod:i}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(i=a.mod.neg(),r&&0!==i.negative&&i.isub(e)),{div:a.div,mod:i}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modrn(e.words[0]))}:this._wordDiv(e,t);var o,i,a},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),s=r.cmp(n);return s<0||1===o&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,o=0,s=this.length-1;s>=0;s--)o=(r*o+(0|this.words[s]))%e;return t?-o:o},s.prototype.modn=function(e){return this.modrn(e)},s.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,o=this.length-1;o>=0;o--){var s=(0|this.words[o])+67108864*r;this.words[o]=s/e|0,r=s%e}return this._strip(),t?this.ineg():this},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new s(1),i=new s(0),a=new s(0),u=new s(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var d=r.clone(),f=t.clone();!t.isZero();){for(var l=0,h=1;0===(t.words[0]&h)&&l<26;++l,h<<=1);if(l>0)for(t.iushrn(l);l-- >0;)(o.isOdd()||i.isOdd())&&(o.iadd(d),i.isub(f)),o.iushrn(1),i.iushrn(1);for(var m=0,p=1;0===(r.words[0]&p)&&m<26;++m,p<<=1);if(m>0)for(r.iushrn(m);m-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(d),u.isub(f)),a.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),i.isub(u)):(r.isub(t),a.isub(o),u.isub(i))}return{a:a,b:u,gcd:r.iushln(c)}},s.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,i=new s(1),a=new s(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,d=1;0===(t.words[0]&d)&&c<26;++c,d<<=1);if(c>0)for(t.iushrn(c);c-- >0;)i.isOdd()&&i.iadd(u),i.iushrn(1);for(var f=0,l=1;0===(r.words[0]&l)&&f<26;++f,l<<=1);if(f>0)for(r.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(a)):(r.isub(t),a.isub(i))}return(o=0===t.cmpn(1)?i:a).cmpn(0)<0&&o.iadd(e),o},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var s=t;t=r,r=s}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return!(1&this.words[0])},s.prototype.isOdd=function(){return!(1&~this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=o,this;for(var s=o,i=r;0!==s&&i<this.length;i++){var a=0|this.words[i];s=(a+=s)>>>26,a&=67108863,this.words[i]=a}return 0!==s&&(this.words[i]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:o<e?-1:1}return 0!==this.negative?0|-t:t},s.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},s.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){n<o?t=-1:n>o&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return-1===this.cmpn(e)},s.prototype.lt=function(e){return-1===this.cmp(e)},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new E(e)},s.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var k={k256:null,p224:null,p192:null,p25519:null};function _(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function x(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function A(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r.strip!==undefined?r.strip():r._strip(),r},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},o(v,_),v.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),o=0;o<n;o++)t.words[o]=e.words[o];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var s=e.words[9];for(t.words[t.length++]=s&r,o=10;o<e.length;o++){var i=0|e.words[o];e.words[o-10]=(i&r)<<4|s>>>22,s=i}s>>>=22,e.words[o-10]=s,0===s&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},o(x,_),o(j,_),o(S,_),S.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,o=67108863&n;n>>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function(e){if(k[e])return k[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new x;else if("p192"===e)t=new j;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return k[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(d(e,e.umod(this.m)._forceRed(this)),e)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new s(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),i=0;!o.isZero()&&0===o.andln(1);)i++,o.iushrn(1);n(!o.isZero());var a=new s(1).toRed(this),u=a.redNeg(),c=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new s(2*d*d).toRed(this);0!==this.pow(d,c).cmp(u);)d.redIAdd(u);for(var f=this.pow(d,o),l=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),m=i;0!==h.cmp(a);){for(var p=h,b=0;0!==p.cmp(a);b++)p=p.redSqr();n(b<m);var y=this.pow(f,new s(1).iushln(m-b-1));l=l.redMul(y),f=y.redSqr(),h=h.redMul(f),m=b}return l},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new s(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new s(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var o=r[0],i=0,a=0,u=t.bitLength()%26;for(0===u&&(u=26),n=t.length-1;n>=0;n--){for(var c=t.words[n],d=u-1;d>=0;d--){var f=c>>d&1;o!==r[0]&&(o=this.sqr(o)),0!==f||0!==i?(i<<=1,i|=f,(4===++a||0===n&&0===d)&&(o=this.mul(o,r[i]),a=0,i=0)):a=0}u=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new A(e)},o(A,E),A.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},A.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},A.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},A.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},A.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)}}},{package:"bn.js",file:"node_modules/bn.js/lib/bn.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/bowser/es5.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o;n=this,o=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=90)}({17:function(e,t,r){t.__esModule=!0,t.default=void 0;var n=r(18),o=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||""},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,r,n){void 0===n&&(n=!1);var o=e.getVersionPrecision(t),s=e.getVersionPrecision(r),i=Math.max(o,s),a=0,u=e.map([t,r],function(t){var r=i-e.getVersionPrecision(t),n=t+new Array(r+1).join(".0");return e.map(n.split("."),function(e){return new Array(20-e.length).join("0")+e}).reverse()});for(n&&(a=i-Math.min(o,s)),i-=1;i>=a;){if(u[0][i]>u[1][i])return 1;if(u[0][i]===u[1][i]){if(i===a)return 0;i-=1}else if(u[0][i]<u[1][i])return-1}},e.map=function(e,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r<e.length;r+=1)n.push(t(e[r]));return n},e.find=function(e,t){var r,n;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(r=0,n=e.length;r<n;r+=1){var o=e[r];if(t(o,r))return o}},e.assign=function(e){for(var t,r,n=e,o=arguments.length,s=new Array(o>1?o-1:0),i=1;i<o;i++)s[i-1]=arguments[i];if(Object.assign)return Object.assign.apply(Object,[e].concat(s));var a=function(){var e=s[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach(function(t){n[t]=e[t]})};for(t=0,r=s.length;t<r;t+=1)a();return e},e.getBrowserAlias=function(e){return n.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return n.BROWSER_MAP[e]||""},e}();t.default=o,e.exports=t.default},18:function(e,t,r){t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,r){t.__esModule=!0,t.default=void 0;var n,o=(n=r(91))&&n.__esModule?n:{default:n},s=r(18);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=function(){function e(){}var t,r;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new o.default(e,t)},e.parse=function(e){return new o.default(e).getResult()},t=e,(r=[{key:"BROWSER_MAP",get:function(){return s.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return s.ENGINE_MAP}},{key:"OS_MAP",get:function(){return s.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return s.PLATFORMS_MAP}}])&&i(t,r),e}();t.default=a,e.exports=t.default},91:function(e,t,r){t.__esModule=!0,t.default=void 0;var n=u(r(92)),o=u(r(93)),s=u(r(94)),i=u(r(95)),a=u(r(17));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=a.default.find(n.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=a.default.find(o.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=a.default.find(s.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=a.default.find(i.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return a.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,r={},n=0,o={},s=0;if(Object.keys(e).forEach(function(t){var i=e[t];"string"==typeof i?(o[t]=i,s+=1):"object"==typeof i&&(r[t]=i,n+=1)}),n>0){var i=Object.keys(r),u=a.default.find(i,function(e){return t.isOS(e)});if(u){var c=this.satisfies(r[u]);if(void 0!==c)return c}var d=a.default.find(i,function(e){return t.isPlatform(e)});if(d){var f=this.satisfies(r[d]);if(void 0!==f)return f}}if(s>0){var l=Object.keys(o),h=a.default.find(l,function(e){return t.isBrowser(e,!0)});if(void 0!==h)return this.compareVersion(o[h])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),n=e.toLowerCase(),o=a.default.getBrowserTypeByAlias(n);return t&&o&&(n=o.toLowerCase()),n===r},t.compareVersion=function(e){var t=[0],r=e,n=!1,o=this.getBrowserVersion();if("string"==typeof o)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(n=!0,r=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(n=!0,r=e.substr(1)),t.indexOf(a.default.compareVersions(o,r,n))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some(function(e){return t.is(e)})},e}();t.default=c,e.exports=t.default},92:function(e,t,r){t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},s=/version\/(\d+(\.?_?\d+)+)/i,i=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=o.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},r=o.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},r=o.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=o.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=o.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},r=o.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=o.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},r=o.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=o.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=o.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},r=o.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},r=o.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},r=o.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=o.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=o.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},r=o.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=o.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=o.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},r=o.default.getFirstMatch(s,e)||o.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},r=o.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=o.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=o.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=o.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},r=o.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},r=o.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},r=o.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=o.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},r=o.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:"Android Browser"},r=o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=o.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:o.default.getFirstMatch(t,e),version:o.default.getSecondMatch(t,e)}}}];t.default=i,e.exports=t.default},93:function(e,t,r){t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},s=r(18),i=[{test:[/Roku\/DVP/],describe:function(e){var t=o.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:s.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=o.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=o.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=o.default.getWindowsVersionName(t);return{name:s.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:s.OS_MAP.iOS},r=o.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=o.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=o.default.getMacOSVersionName(t),n={name:s.OS_MAP.MacOS,version:t};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=o.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:s.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=o.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=o.default.getAndroidVersionName(t),n={name:s.OS_MAP.Android,version:t};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=o.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:s.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=o.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||o.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||o.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:s.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=o.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=o.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:s.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:s.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=o.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.PlayStation4,version:t}}}];t.default=i,e.exports=t.default},94:function(e,t,r){t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},s=r(18),i=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=o.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:s.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=o.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:s.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}}];t.default=i,e.exports=t.default},95:function(e,t,r){t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},s=r(18),i=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:s.ENGINE_MAP.Blink};var t=o.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:s.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:s.ENGINE_MAP.Trident},r=o.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:s.ENGINE_MAP.Presto},r=o.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:s.ENGINE_MAP.Gecko},r=o.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:s.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:s.ENGINE_MAP.WebKit},r=o.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=i,e.exports=t.default}})},"object"==typeof r&&"object"==typeof t?t.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof r?r.bowser=o():n.bowser=o()}}},{package:"bowser",file:"node_modules/bowser/es5.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/brorand/index.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,r){var n;function o(e){this.rand=e}if(t.exports=function(e){return n||(n=new o(null)),n.generate(e)},t.exports.Rand=o,o.prototype.generate=function(e){return this._rand(e)},o.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(o.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var s=e("crypto");if("function"!=typeof s.randomBytes)throw new Error("Not supported");o.prototype._rand=function(e){return s.randomBytes(e)}}catch(e){}}}},{package:"@toruslabs/eccrypto>elliptic>brorand",file:"node_modules/brorand/index.js"}],["/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,r){}}},{package:"browserify>browser-resolve",file:"node_modules/browser-resolve/empty.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/aes.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,r){var n=e("safe-buffer").Buffer;function o(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),o=0;o<t;o++)r[o]=e.readUInt32BE(4*o);return r}function s(e){for(;0<e.length;e++)e[0]=0}function i(e,t,r,n,o){for(var s,i,a,u,c=r[0],d=r[1],f=r[2],l=r[3],h=e[0]^t[0],m=e[1]^t[1],p=e[2]^t[2],b=e[3]^t[3],y=4,g=1;g<o;g++)s=c[h>>>24]^d[m>>>16&255]^f[p>>>8&255]^l[255&b]^t[y++],i=c[m>>>24]^d[p>>>16&255]^f[b>>>8&255]^l[255&h]^t[y++],a=c[p>>>24]^d[b>>>16&255]^f[h>>>8&255]^l[255&m]^t[y++],u=c[b>>>24]^d[h>>>16&255]^f[m>>>8&255]^l[255&p]^t[y++],h=s,m=i,p=a,b=u;return s=(n[h>>>24]<<24|n[m>>>16&255]<<16|n[p>>>8&255]<<8|n[255&b])^t[y++],i=(n[m>>>24]<<24|n[p>>>16&255]<<16|n[b>>>8&255]<<8|n[255&h])^t[y++],a=(n[p>>>24]<<24|n[b>>>16&255]<<16|n[h>>>8&255]<<8|n[255&m])^t[y++],u=(n[b>>>24]<<24|n[h>>>16&255]<<16|n[m>>>8&255]<<8|n[255&p])^t[y++],[s>>>=0,i>>>=0,a>>>=0,u>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],o=[[],[],[],[]],s=[[],[],[],[]],i=0,a=0,u=0;u<256;++u){var c=a^a<<1^a<<2^a<<3^a<<4;c=c>>>8^255&c^99,r[i]=c,n[c]=i;var d=e[i],f=e[d],l=e[f],h=257*e[c]^16843008*c;o[0][i]=h<<24|h>>>8,o[1][i]=h<<16|h>>>16,o[2][i]=h<<8|h>>>24,o[3][i]=h,h=16843009*l^65537*f^257*d^16843008*i,s[0][c]=h<<24|h>>>8,s[1][c]=h<<16|h>>>16,s[2][c]=h<<8|h>>>24,s[3][c]=h,0===i?i=a=1:(i=d^e[e[e[l^d]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:s}}();function c(e){this._key=o(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),o=[],s=0;s<t;s++)o[s]=e[s];for(s=t;s<n;s++){var i=o[s-1];s%t===0?(i=i<<8|i>>>24,i=u.SBOX[i>>>24]<<24|u.SBOX[i>>>16&255]<<16|u.SBOX[i>>>8&255]<<8|u.SBOX[255&i],i^=a[s/t|0]<<24):t>6&&s%t===4&&(i=u.SBOX[i>>>24]<<24|u.SBOX[i>>>16&255]<<16|u.SBOX[i>>>8&255]<<8|u.SBOX[255&i]),o[s]=o[s-t]^i}for(var c=[],d=0;d<n;d++){var f=n-d,l=o[f-(d%4?0:4)];c[d]=d<4||f<=4?l:u.INV_SUB_MIX[0][u.SBOX[l>>>24]]^u.INV_SUB_MIX[1][u.SBOX[l>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[l>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&l]]}this._nRounds=r,this._keySchedule=o,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return i(e=o(e),this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},c.prototype.decryptBlock=function(e){var t=(e=o(e))[1];e[1]=e[3],e[3]=t;var r=i(e,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),s=n.allocUnsafe(16);return s.writeUInt32BE(r[0],0),s.writeUInt32BE(r[3],4),s.writeUInt32BE(r[2],8),s.writeUInt32BE(r[1],12),s},c.prototype.scrub=function(){s(this._keySchedule),s(this._invKeySchedule),s(this._key)},t.exports.AES=c}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/aes.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/authCipher.js",{"./aes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/aes.js","./ghash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/ghash.js","./incr32":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/incr32.js","buffer-xor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/buffer-xor/index.js","cipher-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cipher-base/index.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,r){var n=e("./aes"),o=e("safe-buffer").Buffer,s=e("cipher-base"),i=e("inherits"),a=e("./ghash"),u=e("buffer-xor"),c=e("./incr32");function d(e,t,r,i){s.call(this);var u=o.alloc(4,0);this._cipher=new n.AES(t);var d=this._cipher.encryptBlock(u);this._ghash=new a(d),r=function(e,t,r){if(12===t.length)return e._finID=o.concat([t,o.from([0,0,0,1])]),o.concat([t,o.from([0,0,0,2])]);var n=new a(r),s=t.length,i=s%16;n.update(t),i&&(i=16-i,n.update(o.alloc(i,0))),n.update(o.alloc(8,0));var u=8*s,d=o.alloc(8);d.writeUIntBE(u,0,8),n.update(d),e._finID=n.state;var f=o.from(e._finID);return c(f),f}(this,r,d),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=i,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}i(d,s),d.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=o.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},d.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=u(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),o=0;o<n;++o)r+=e[o]^t[o];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},d.prototype.getAuthTag=function(){if(this._decrypt||!o.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},d.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},d.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=d}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/authCipher.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/browser.js",{"./decrypter":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/decrypter.js","./encrypter":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/encrypter.js","./modes/list.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/list.json"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./encrypter"),o=e("./decrypter"),s=e("./modes/list.json");r.createCipher=r.Cipher=n.createCipher,r.createCipheriv=r.Cipheriv=n.createCipheriv,r.createDecipher=r.Decipher=o.createDecipher,r.createDecipheriv=r.Decipheriv=o.createDecipheriv,r.listCiphers=r.getCiphers=function(){return Object.keys(s)}}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/decrypter.js",{"./aes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/aes.js","./authCipher":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/authCipher.js","./modes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/index.js","./streamCipher":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/streamCipher.js","cipher-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cipher-base/index.js",evp_bytestokey:"/home/runner/work/metamask-extension/metamask-extension/node_modules/evp_bytestokey/index.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,r){var n=e("./authCipher"),o=e("safe-buffer").Buffer,s=e("./modes"),i=e("./streamCipher"),a=e("cipher-base"),u=e("./aes"),c=e("evp_bytestokey");function d(e,t,r){a.call(this),this._cache=new f,this._last=void 0,this._cipher=new u.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}function f(){this.cache=o.allocUnsafe(0)}function l(e,t,r){var a=s[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=o.from(r)),"GCM"!==a.mode&&r.length!==a.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=o.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===a.type?new i(a.module,t,r,!0):"auth"===a.type?new n(a.module,t,r,!0):new d(a.module,t,r)}e("inherits")(d,a),d.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return o.concat(n)},d.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var r=-1;for(;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},f.prototype.add=function(e){this.cache=o.concat([this.cache,e])},f.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(e,t){var r=s[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=c(t,!1,r.key,r.iv);return l(e,n.key,n.iv)},r.createDecipheriv=l}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/decrypter.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/encrypter.js",{"./aes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/aes.js","./authCipher":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/authCipher.js","./modes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/index.js","./streamCipher":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/streamCipher.js","cipher-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cipher-base/index.js",evp_bytestokey:"/home/runner/work/metamask-extension/metamask-extension/node_modules/evp_bytestokey/index.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,r){var n=e("./modes"),o=e("./authCipher"),s=e("safe-buffer").Buffer,i=e("./streamCipher"),a=e("cipher-base"),u=e("./aes"),c=e("evp_bytestokey");function d(e,t,r){a.call(this),this._cache=new l,this._cipher=new u.AES(t),this._prev=s.from(r),this._mode=e,this._autopadding=!0}e("inherits")(d,a),d.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return s.concat(n)};var f=s.alloc(16,16);function l(){this.cache=s.allocUnsafe(0)}function h(e,t,r){var a=n[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=s.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=s.from(r)),"GCM"!==a.mode&&r.length!==a.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===a.type?new i(a.module,t,r):"auth"===a.type?new o(a.module,t,r):new d(a.module,t,r)}d.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(f))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},l.prototype.add=function(e){this.cache=s.concat([this.cache,e])},l.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},l.prototype.flush=function(){for(var e=16-this.cache.length,t=s.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return s.concat([this.cache,t])},r.createCipheriv=h,r.createCipher=function(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var o=c(t,!1,r.key,r.iv);return h(e,o.key,o.iv)}}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/encrypter.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/ghash.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,r){var n=e("safe-buffer").Buffer,o=n.alloc(16,0);function s(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function i(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}i.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},i.prototype._multiply=function(){for(var e,t,r,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],o=[0,0,0,0],i=-1;++i<128;){for(!!(this.state[~~(i/8)]&1<<7-i%8)&&(o[0]^=n[0],o[1]^=n[1],o[2]^=n[2],o[3]^=n[3]),r=!!(1&n[3]),t=3;t>0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=s(o)},i.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},i.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(s([0,e,0,t])),this.state},t.exports=i}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/ghash.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/incr32.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/incr32.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/cbc.js",{"buffer-xor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/buffer-xor/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("buffer-xor");r.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},r.decrypt=function(e,t){var r=e._prev;e._prev=t;var o=e._cipher.decryptBlock(t);return n(o,r)}}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/modes/cbc.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/cfb.js",{"buffer-xor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/buffer-xor/index.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,r){var n=e("safe-buffer").Buffer,o=e("buffer-xor");function s(e,t,r){var s=t.length,i=o(t,e._cache);return e._cache=e._cache.slice(s),e._prev=n.concat([e._prev,r?t:i]),i}r.encrypt=function(e,t,r){for(var o,i=n.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){i=n.concat([i,s(e,t,r)]);break}o=e._cache.length,i=n.concat([i,s(e,t.slice(0,o),r)]),t=t.slice(o)}return i}}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/modes/cfb.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/cfb1.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,r){var n=e("safe-buffer").Buffer;function o(e,t,r){for(var n,o,i=-1,a=0;++i<8;)n=t&1<<7-i?128:0,a+=(128&(o=e._cipher.encryptBlock(e._prev)[0]^n))>>i%8,e._prev=s(e._prev,r?n:o);return a}function s(e,t){var r=e.length,o=-1,s=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++o<r;)s[o]=e[o]<<1|e[o+1]>>7;return s}r.encrypt=function(e,t,r){for(var s=t.length,i=n.allocUnsafe(s),a=-1;++a<s;)i[a]=o(e,t[a],r);return i}}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/modes/cfb1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/cfb8.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,r){var n=e("safe-buffer").Buffer;function o(e,t,r){var o=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:o])]),o}r.encrypt=function(e,t,r){for(var s=t.length,i=n.allocUnsafe(s),a=-1;++a<s;)i[a]=o(e,t[a],r);return i}}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/modes/cfb8.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/ctr.js",{"../incr32":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/incr32.js","buffer-xor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/buffer-xor/index.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,r){var n=e("buffer-xor"),o=e("safe-buffer").Buffer,s=e("../incr32");function i(e){var t=e._cipher.encryptBlockRaw(e._prev);return s(e._prev),t}r.encrypt=function(e,t){var r=Math.ceil(t.length/16),s=e._cache.length;e._cache=o.concat([e._cache,o.allocUnsafe(16*r)]);for(var a=0;a<r;a++){var u=i(e),c=s+16*a;e._cache.writeUInt32BE(u[0],c+0),e._cache.writeUInt32BE(u[1],c+4),e._cache.writeUInt32BE(u[2],c+8),e._cache.writeUInt32BE(u[3],c+12)}var d=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,d)}}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/modes/ctr.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/ecb.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.encrypt=function(e,t){return e._cipher.encryptBlock(t)},r.decrypt=function(e,t){return e._cipher.decryptBlock(t)}}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/modes/ecb.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/index.js",{"./cbc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/cbc.js","./cfb":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/cfb.js","./cfb1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/cfb1.js","./cfb8":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/cfb8.js","./ctr":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/ctr.js","./ecb":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/ecb.js","./list.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/list.json","./ofb":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/ofb.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={ECB:e("./ecb"),CBC:e("./cbc"),CFB:e("./cfb"),CFB8:e("./cfb8"),CFB1:e("./cfb1"),OFB:e("./ofb"),CTR:e("./ctr"),GCM:e("./ctr")},o=e("./list.json");for(var s in o)o[s].module=n[o[s].mode];t.exports=o}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/modes/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/list.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/modes/list.json"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/ofb.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","buffer-xor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/buffer-xor/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=e("buffer-xor");function o(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}r.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=t.concat([e._cache,o(e)]);var s=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,s)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/modes/ofb.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/streamCipher.js",{"./aes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/aes.js","cipher-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cipher-base/index.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,r){var n=e("./aes"),o=e("safe-buffer").Buffer,s=e("cipher-base");function i(e,t,r,i){s.call(this),this._cipher=new n.AES(t),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=i,this._mode=e}e("inherits")(i,s),i.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},i.prototype._final=function(){this._cipher.scrub()},t.exports=i}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes",file:"node_modules/browserify-aes/streamCipher.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-cipher/browser.js",{"browserify-aes/browser":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/browser.js","browserify-aes/modes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/modes/index.js","browserify-des":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-des/index.js","browserify-des/modes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-des/modes.js",evp_bytestokey:"/home/runner/work/metamask-extension/metamask-extension/node_modules/evp_bytestokey/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("browserify-des"),o=e("browserify-aes/browser"),s=e("browserify-aes/modes"),i=e("browserify-des/modes"),a=e("evp_bytestokey");function u(e,t,r){if(e=e.toLowerCase(),s[e])return o.createCipheriv(e,t,r);if(i[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function c(e,t,r){if(e=e.toLowerCase(),s[e])return o.createDecipheriv(e,t,r);if(i[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}r.createCipher=r.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),s[e])r=s[e].key,n=s[e].iv;else{if(!i[e])throw new TypeError("invalid suite type");r=8*i[e].key,n=i[e].iv}var o=a(t,!1,r,n);return u(e,o.key,o.iv)},r.createCipheriv=r.Cipheriv=u,r.createDecipher=r.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),s[e])r=s[e].key,n=s[e].iv;else{if(!i[e])throw new TypeError("invalid suite type");r=8*i[e].key,n=i[e].iv}var o=a(t,!1,r,n);return c(e,o.key,o.iv)},r.createDecipheriv=r.Decipheriv=c,r.listCiphers=r.getCiphers=function(){return Object.keys(i).concat(o.getCiphers())}}}},{package:"crypto-browserify>browserify-cipher",file:"node_modules/browserify-cipher/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-des/index.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","cipher-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cipher-base/index.js","des.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des.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,r){(function(r){(function(){var n=e("cipher-base"),o=e("des.js"),s=e("inherits"),i={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};function a(e){n.call(this);var t,o=e.mode.toLowerCase(),s=i[o];t=e.decrypt?"decrypt":"encrypt";var a=e.key;"des-ede"!==o&&"des-ede-cbc"!==o||(a=r.concat([a,a.slice(0,8)]));var u=e.iv;this._des=s.create({key:a,iv:u,type:t})}i.des=i["des-cbc"],i.des3=i["des-ede3-cbc"],t.exports=a,s(a,n),a.prototype._update=function(e){return new r(this._des.update(e))},a.prototype._final=function(){return new r(this._des.final())}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"crypto-browserify>browserify-cipher>browserify-des",file:"node_modules/browserify-des/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-des/modes.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}}}},{package:"crypto-browserify>browserify-cipher>browserify-des",file:"node_modules/browserify-des/modes.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-rsa/index.js",{"bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js",randombytes:"/home/runner/work/metamask-extension/metamask-extension/node_modules/randombytes/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,r){var n=e("bn.js"),o=e("randombytes"),s=e("safe-buffer").Buffer;function i(e){var t,r=e.modulus.byteLength();do{t=new n(o(r))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function a(e,t){var r=function(e){var t=i(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),o=t.modulus.byteLength(),a=new n(e).mul(r.blinder).umod(t.modulus),u=a.toRed(n.mont(t.prime1)),c=a.toRed(n.mont(t.prime2)),d=t.coefficient,f=t.prime1,l=t.prime2,h=u.redPow(t.exponent1).fromRed(),m=c.redPow(t.exponent2).fromRed(),p=h.isub(m).imul(d).umod(f).imul(l);return m.iadd(p).imul(r.unblinder).umod(t.modulus).toArrayLike(s,"be",o)}a.getr=i,t.exports=a}}},{package:"crypto-browserify>public-encrypt>browserify-rsa",file:"node_modules/browserify-rsa/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/algos.js",{"./browser/algorithms.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/algorithms.json"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./browser/algorithms.json")}}},{package:"crypto-browserify>browserify-sign",file:"node_modules/browserify-sign/algos.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/algorithms.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}}}},{package:"crypto-browserify>browserify-sign",file:"node_modules/browserify-sign/browser/algorithms.json"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/curves.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}}}},{package:"crypto-browserify>browserify-sign",file:"node_modules/browserify-sign/browser/curves.json"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/index.js",{"./algorithms.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/algorithms.json","./sign":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/sign.js","./verify":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/verify.js","create-hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hash/browser.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/browserify-sign/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,r){var n=e("safe-buffer").Buffer,o=e("create-hash"),s=e("readable-stream"),i=e("inherits"),a=e("./sign"),u=e("./verify"),c=e("./algorithms.json");function d(e){s.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=o(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){s.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=o(t.hash),this._tag=t.id,this._signType=t.sign}function l(e){return new d(e)}function h(e){return new f(e)}Object.keys(c).forEach(function(e){c[e].id=n.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]}),i(d,s.Writable),d.prototype._write=function(e,t,r){this._hash.update(e),r()},d.prototype.update=function(e,t){return this._hash.update("string"==typeof e?n.from(e,t):e),this},d.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=a(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},i(f,s.Writable),f.prototype._write=function(e,t,r){this._hash.update(e),r()},f.prototype.update=function(e,t){return this._hash.update("string"==typeof e?n.from(e,t):e),this},f.prototype.verify=function(e,t,r){var o="string"==typeof t?n.from(t,r):t;this.end();var s=this._hash.digest();return u(o,s,e,this._signType,this._tag)},t.exports={Sign:l,Verify:h,createSign:l,createVerify:h}}}},{package:"crypto-browserify>browserify-sign",file:"node_modules/browserify-sign/browser/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/sign.js",{"./curves.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/curves.json","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js","browserify-rsa":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-rsa/index.js","create-hmac":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hmac/browser.js",elliptic:"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic.js","parse-asn1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/index.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,r){var n=e("safe-buffer").Buffer,o=e("create-hmac"),s=e("browserify-rsa"),i=e("elliptic").ec,a=e("bn.js"),u=e("parse-asn1"),c=e("./curves.json");function d(e,t,r,s){if((e=n.from(e.toArray())).length<t.byteLength()){var i=n.alloc(t.byteLength()-e.length);e=n.concat([i,e])}var a=r.length,u=function(e,t){e=f(e,t),e=e.mod(t);var r=n.from(e.toArray());if(r.length<t.byteLength()){var o=n.alloc(t.byteLength()-r.length);r=n.concat([o,r])}return r}(r,t),c=n.alloc(a);c.fill(1);var d=n.alloc(a);return d=o(s,d).update(c).update(n.from([0])).update(e).update(u).digest(),c=o(s,d).update(c).digest(),{k:d=o(s,d).update(c).update(n.from([1])).update(e).update(u).digest(),v:c=o(s,d).update(c).digest()}}function f(e,t){var r=new a(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function l(e,t,r){var s,i;do{for(s=n.alloc(0);8*s.length<e.bitLength();)t.v=o(r,t.k).update(t.v).digest(),s=n.concat([s,t.v]);i=f(s,e),t.k=o(r,t.k).update(t.v).update(n.from([0])).digest(),t.v=o(r,t.k).update(t.v).digest()}while(-1!==i.cmp(e));return i}function h(e,t,r,n){return e.toRed(a.mont(r)).redPow(t).fromRed().mod(n)}t.exports=function(e,t,r,o,m){var p=u(t);if(p.curve){if("ecdsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");return function(e,t){var r=c[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var o=new i(r).keyFromPrivate(t.privateKey),s=o.sign(e);return n.from(s.toDER())}(e,p)}if("dsa"===p.type){if("dsa"!==o)throw new Error("wrong private key type");return function(e,t,r){var o,s=t.params.priv_key,i=t.params.p,u=t.params.q,c=t.params.g,m=new a(0),p=f(e,u).mod(u),b=!1,y=d(s,u,e,r);for(;!1===b;)m=h(c,o=l(u,y,r),i,u),0===(b=o.invm(u).imul(p.add(s.mul(m))).mod(u)).cmpn(0)&&(b=!1,m=new a(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e));128&t[0]&&(t=[0].concat(t));var r=e.length+t.length+4,o=[48,r,2,e.length];return o=o.concat(e,[2,t.length],t),n.from(o)}(m,b)}(e,p,r)}if("rsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");if(t.padding!==undefined&&1!==t.padding)throw new Error("illegal or unsupported padding mode");e=n.concat([m,e]);for(var b=p.modulus.byteLength(),y=[0,1];e.length+y.length+1<b;)y.push(255);y.push(0);for(var g=-1;++g<e.length;)y.push(e[g]);return s(y,p)},t.exports.getKey=d,t.exports.makeKey=l}}},{package:"crypto-browserify>browserify-sign",file:"node_modules/browserify-sign/browser/sign.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/verify.js",{"./curves.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/curves.json","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js",elliptic:"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic.js","parse-asn1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/index.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,r){var n=e("safe-buffer").Buffer,o=e("bn.js"),s=e("elliptic").ec,i=e("parse-asn1"),a=e("./curves.json");function u(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=0)throw new Error("invalid sig")}t.exports=function(e,t,r,c,d){var f=i(r);if("ec"===f.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var n=a[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new s(n),i=r.data.subjectPrivateKey.data;return o.verify(t,e,i)}(e,t,f)}if("dsa"===f.type){if("dsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var n=r.data.p,s=r.data.q,a=r.data.g,c=r.data.pub_key,d=i.signature.decode(e,"der"),f=d.s,l=d.r;u(f,s),u(l,s);var h=o.mont(n),m=f.invm(s),p=a.toRed(h).redPow(new o(t).mul(m).mod(s)).fromRed().mul(c.toRed(h).redPow(l.mul(m).mod(s)).fromRed()).mod(n).mod(s);return 0===p.cmp(l)}(e,t,f)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");t=n.concat([d,t]);for(var l=f.modulus.byteLength(),h=[1],m=0;t.length+h.length+2<l;)h.push(255),m+=1;h.push(0);for(var p=-1;++p<t.length;)h.push(t[p]);h=n.from(h);var b=o.mont(f.modulus);e=(e=new o(e).toRed(b)).redPow(new o(f.publicExponent)),e=n.from(e.fromRed().toArray());var y=m<8?1:0;for(l=Math.min(e.length,h.length),e.length!==h.length&&(y=1),p=-1;++p<l;)y|=e[p]^h[p];return 0===y}}}},{package:"crypto-browserify>browserify-sign",file:"node_modules/browserify-sign/browser/verify.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/isarray/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}}}},{package:"crypto-browserify>browserify-sign>readable-stream>isarray",file:"node_modules/browserify-sign/node_modules/isarray/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js",{"./_stream_readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js","./_stream_writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js","core-util-is":"/home/runner/work/metamask-extension/metamask-extension/node_modules/core-util-is/lib/util.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","process-nextick-args":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process-nextick-args/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("process-nextick-args"),o=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=f;var s=Object.create(e("core-util-is"));s.inherits=e("inherits");var i=e("./_stream_readable"),a=e("./_stream_writable");s.inherits(f,i);for(var u=o(a.prototype),c=0;c<u.length;c++){var d=u[c];f.prototype[d]||(f.prototype[d]=a.prototype[d])}function f(e){if(!(this instanceof f))return new f(e);i.call(this,e),a.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",l)}function l(){this.allowHalfOpen||this._writableState.ended||n.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{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)}}),f.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}}}},{package:"crypto-browserify>browserify-sign>readable-stream",file:"node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_passthrough.js",{"./_stream_transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_transform.js","core-util-is":"/home/runner/work/metamask-extension/metamask-extension/node_modules/core-util-is/lib/util.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,r){t.exports=s;var n=e("./_stream_transform"),o=Object.create(e("core-util-is"));function s(e){if(!(this instanceof s))return new s(e);n.call(this,e)}o.inherits=e("inherits"),o.inherits(s,n),s.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"crypto-browserify>browserify-sign>readable-stream",file:"node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_passthrough.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js",{"./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/BufferList":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/BufferList.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js","core-util-is":"/home/runner/work/metamask-extension/metamask-extension/node_modules/core-util-is/lib/util.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",isarray:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/isarray/index.js","process-nextick-args":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process-nextick-args/index.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer/index.js","string_decoder/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/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,r){(function(r){(function(){var n=e("process-nextick-args");t.exports=g;var o,s=e("isarray");g.ReadableState=y;e("events").EventEmitter;var i=function(e,t){return e.listeners(t).length},a=e("./internal/streams/stream"),u=e("safe-buffer").Buffer,c=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var d=Object.create(e("core-util-is"));d.inherits=e("inherits");var f=e("util"),l=void 0;l=f&&f.debuglog?f.debuglog("stream"):function(){};var h,m=e("./internal/streams/BufferList"),p=e("./internal/streams/destroy");d.inherits(g,a);var b=["error","close","destroy","pause","resume"];function y(t,r){t=t||{};var n=r instanceof(o=o||e("./_stream_duplex"));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var s=t.highWaterMark,i=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:n&&(i||0===i)?i:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,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.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=e("string_decoder/").StringDecoder),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function g(t){if(o=o||e("./_stream_duplex"),!(this instanceof g))return new g(t);this._readableState=new y(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function w(e,t,r,n,o){var s,i=e._readableState;null===t?(i.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,x(e)}(e,i)):(o||(s=function(e,t){var r;n=t,u.isBuffer(n)||n instanceof c||"string"==typeof t||t===undefined||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(i,t)),s?e.emit("error",s):i.objectMode||t&&t.length>0?("string"==typeof t||i.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),n?i.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):k(e,i,t,!0):i.ended?e.emit("error",new Error("stream.push() after EOF")):(i.reading=!1,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||0!==t.length?k(e,i,t,!1):S(e,i)):k(e,i,t,!1))):n||(i.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(i)}function k(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&x(e)),S(e,t)}Object.defineProperty(g.prototype,"destroyed",{get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),g.prototype.destroy=p.destroy,g.prototype._undestroy=p.undestroy,g.prototype._destroy=function(e,t){this.push(null),t(e)},g.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=u.from(e,t),t=""),r=!0),w(this,e,t,!1,r)},g.prototype.unshift=function(e){return w(this,e,null,!0,!1)},g.prototype.isPaused=function(){return!1===this._readableState.flowing},g.prototype.setEncoding=function(t){return h||(h=e("string_decoder/").StringDecoder),this._readableState.decoder=new h(t),this._readableState.encoding=t,this};var _=8388608;function v(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>=_?e=_:(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 x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(j,e):j(e))}function j(e){l("emit readable"),e.emit("readable"),T(e)}function S(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(E,e,t))}function E(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(l("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function A(e){l("readable nexttick read 0"),e.read(0)}function B(e,t){t.reading||(l("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),T(e),t.flowing&&!t.reading&&e.read(0)}function T(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function O(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,o=r.data;e-=o.length;for(;r=r.next;){var s=r.data,i=e>s.length?s.length:e;if(i===s.length?o+=s:o+=s.slice(0,e),0===(e-=i)){i===s.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=s.slice(i));break}++n}return t.length-=n,o}(e,t):function(e,t){var r=u.allocUnsafe(e),n=t.head,o=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var s=n.data,i=e>s.length?s.length:e;if(s.copy(r,r.length-e,0,i),0===(e-=i)){i===s.length?(++o,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=s.slice(i));break}++o}return t.length-=o,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function M(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,n.nextTick(P,t,e))}function P(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}g.prototype.read=function(e){l("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?M(this):x(this),null;if(0===(e=v(e,t))&&t.ended)return 0===t.length&&M(this),null;var n,o=t.needReadable;return l("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",o=!0),t.ended||t.reading?l("reading or ended",o=!1):o&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=v(r,t))),null===(n=e>0?O(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&M(this)),null!==n&&this.emit("data",n),n},g.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},g.prototype.pipe=function(e,t){var o=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,l("pipe count=%d opts=%j",a.pipesCount,t);var u=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?d:w;function c(t,r){l("onunpipe"),t===o&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),e.removeListener("close",y),e.removeListener("finish",g),e.removeListener("drain",f),e.removeListener("error",b),e.removeListener("unpipe",c),o.removeListener("end",d),o.removeListener("end",w),o.removeListener("data",p),h=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function d(){l("onend"),e.end()}a.endEmitted?n.nextTick(u):o.once("end",u),e.on("unpipe",c);var f=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,T(e))}}(o);e.on("drain",f);var h=!1;var m=!1;function p(t){l("ondata"),m=!1,!1!==e.write(t)||m||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==I(a.pipes,e))&&!h&&(l("false write response, pause",a.awaitDrain),a.awaitDrain++,m=!0),o.pause())}function b(t){l("onerror",t),w(),e.removeListener("error",b),0===i(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",g),w()}function g(){l("onfinish"),e.removeListener("close",y),w()}function w(){l("unpipe"),o.unpipe(e)}return o.on("data",p),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",b),e.once("close",y),e.once("finish",g),e.emit("pipe",o),a.flowing||(l("pipe resume"),o.resume()),e},g.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<o;s++)n[s].emit("unpipe",this,{hasUnpiped:!1});return this}var i=I(t.pipes,e);return-1===i||(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},g.prototype.on=function(e,t){var r=a.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var o=this._readableState;o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.emittedReadable=!1,o.reading?o.length&&x(this):n.nextTick(A,this))}return r},g.prototype.addListener=g.prototype.on,g.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(B,e,t))}(this,e)),this},g.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this},g.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",function(){if(l("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){(l("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!r.objectMode||null!==o&&o!==undefined)&&((r.objectMode||o&&o.length)&&(t.push(o)||(n=!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<b.length;s++)e.on(b[s],this.emit.bind(this,b[s]));return this._read=function(t){l("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(g.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),g._fromList=O}).call(this)}).call(this,e("_process"))}}},{package:"crypto-browserify>browserify-sign>readable-stream",file:"node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_transform.js",{"./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js","core-util-is":"/home/runner/work/metamask-extension/metamask-extension/node_modules/core-util-is/lib/util.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,r){t.exports=i;var n=e("./_stream_duplex"),o=Object.create(e("core-util-is"));function s(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);n.call(this,e),this._transformState={afterTransform:s.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",a)}function a(){var e=this;"function"==typeof this._flush?this._flush(function(t,r){u(e,t,r)}):u(this,null,null)}function u(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}o.inherits=e("inherits"),o.inherits(i,n),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},i.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},i.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},i.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},i.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}}}},{package:"crypto-browserify>browserify-sign>readable-stream",file:"node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_transform.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js",{"./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js","core-util-is":"/home/runner/work/metamask-extension/metamask-extension/node_modules/core-util-is/lib/util.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","process-nextick-args":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process-nextick-args/index.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer/index.js",timers:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/timers-browserify/main.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,r){(function(r,n){(function(){var o=e("process-nextick-args");function s(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var o=n.callback;t.pendingcb--,o(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}t.exports=y;var i,a=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?n:o.nextTick;y.WritableState=b;var u=Object.create(e("core-util-is"));u.inherits=e("inherits");var c={deprecate:e("util-deprecate")},d=e("./internal/streams/stream"),f=e("safe-buffer").Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var h,m=e("./internal/streams/destroy");function p(){}function b(t,r){i=i||e("./_stream_duplex"),t=t||{};var n=r instanceof i;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var u=t.highWaterMark,c=t.writableHighWaterMark,d=this.objectMode?16:16384;this.highWaterMark=u||0===u?u:n&&(c||0===c)?c:d,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,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,n=r.sync,s=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,s){--t.pendingcb,r?(o.nextTick(s,n),o.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(s(n),e._writableState.errorEmitted=!0,e.emit("error",n),x(e,t))}(e,r,n,t,s);else{var i=_(r);i||r.corked||r.bufferProcessing||!r.bufferedRequest||k(e,r),n?a(w,e,r,i,s):w(e,r,i,s)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function y(t){if(i=i||e("./_stream_duplex"),!(h.call(y,this)||this instanceof i))return new y(t);this._writableState=new b(t,this),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)),d.call(this)}function g(e,t,r,n,o,s,i){t.writelen=n,t.writecb=i,t.writing=!0,t.sync=!0,r?e._writev(o,t.onwrite):e._write(o,s,t.onwrite),t.sync=!1}function w(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),x(e,t)}function k(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),i=t.corkedRequestsFree;i.entry=r;for(var a=0,u=!0;r;)o[a]=r,r.isBuf||(u=!1),r=r.next,a+=1;o.allBuffers=u,g(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,d=r.encoding,f=r.callback;if(g(e,t,!1,t.objectMode?1:c.length,c,d,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function v(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),x(e,t)})}function x(e,t){var r=_(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(v,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}u.inherits(y,d),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:c.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]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===y&&(e&&e._writableState instanceof b)}})):h=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,r){var n,s=this._writableState,i=!1,a=!s.objectMode&&(n=e,f.isBuffer(n)||n instanceof l);return a&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=s.defaultEncoding),"function"!=typeof r&&(r=p),s.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),o.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var s=!0,i=!1;return null===r?i=new TypeError("May not write null values to stream"):"string"==typeof r||r===undefined||t.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i&&(e.emit("error",i),o.nextTick(n,i),s=!1),s}(this,s,e,r))&&(s.pendingcb++,i=function(e,t,r,n,o,s){if(!r){var i=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,r));return t}(t,n,o);n!==i&&(r=!0,o="buffer",n=i)}var a=t.objectMode?1:n.length;t.length+=a;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:s,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else g(e,t,!1,a,n,o,s);return u}(this,s,a,e,t,r)),i},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||k(this,e))},y.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 TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&e!==undefined&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,x(e,t),r&&(t.finished?o.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e("_process"),e("timers").setImmediate)}}},{package:"crypto-browserify>browserify-sign>readable-stream",file:"node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/BufferList.js",{"safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-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,r){var n=e("safe-buffer").Buffer,o=e("util");function s(e,t,r){e.copy(t,r)}t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=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}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t=n.allocUnsafe(e>>>0),r=this.head,o=0;r;)s(r.data,t,o),o+=r.data.length,r=r.next;return t},e}(),o&&o.inspect&&o.inspect.custom&&(t.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})}}},{package:"crypto-browserify>browserify-sign>readable-stream",file:"node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/BufferList.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/destroy.js",{"process-nextick-args":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process-nextick-args/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("process-nextick-args");function o(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var r=this,s=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return s||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(o,this,e)):n.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(o,r,e)):n.nextTick(o,r,e):t&&t(e)}),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)}}}}},{package:"crypto-browserify>browserify-sign>readable-stream",file:"node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/destroy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/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,r){t.exports=e("events").EventEmitter}}},{package:"crypto-browserify>browserify-sign>readable-stream",file:"node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/stream-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/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,r){var n=e("buffer"),o=n.Buffer;function s(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(s(n,r),r.Buffer=i),s(o,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return t!==undefined?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}}}},{package:"crypto-browserify>browserify-sign>readable-stream>safe-buffer",file:"node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/readable-browser.js",{"./lib/_stream_duplex.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js","./lib/_stream_passthrough.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_passthrough.js","./lib/_stream_readable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js","./lib/_stream_transform.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_transform.js","./lib/_stream_writable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(r=t.exports=e("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")}}},{package:"crypto-browserify>browserify-sign>readable-stream",file:"node_modules/browserify-sign/node_modules/readable-stream/readable-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/string_decoder/lib/string_decoder.js",{"safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/string_decoder/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function 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&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=d,this.end=f,t=3;break;default:return this.write=l,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return r!==undefined?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function d(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function l(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}r.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if((t=this.fillLast(e))===undefined)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},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 r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=i(t[n]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--n<r||-2===o)return 0;if(o=i(t[n]),o>=0)return o>0&&(e.lastNeed=o-2),o;if(--n<r||-2===o)return 0;if(o=i(t[n]),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=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},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:"crypto-browserify>browserify-sign>readable-stream>string_decoder",file:"node_modules/browserify-sign/node_modules/string_decoder/lib/string_decoder.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/node_modules/string_decoder/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,r){var n=e("buffer"),o=n.Buffer;function s(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(s(n,r),r.Buffer=i),s(o,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return t!==undefined?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}}}},{package:"crypto-browserify>browserify-sign>readable-stream>string_decoder>safe-buffer",file:"node_modules/browserify-sign/node_modules/string_decoder/node_modules/safe-buffer/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-zlib/lib/binding.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",assert:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/assert.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","pako/lib/zlib/constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/constants.js","pako/lib/zlib/deflate.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/deflate.js","pako/lib/zlib/inflate.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/inflate.js","pako/lib/zlib/zstream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/zstream.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t,n){(function(){var o=e("assert"),s=e("pako/lib/zlib/zstream"),i=e("pako/lib/zlib/deflate.js"),a=e("pako/lib/zlib/inflate.js"),u=e("pako/lib/zlib/constants");for(var c in u)r[c]=u[c];r.NONE=0,r.DEFLATE=1,r.INFLATE=2,r.GZIP=3,r.GUNZIP=4,r.DEFLATERAW=5,r.INFLATERAW=6,r.UNZIP=7;function d(e){if("number"!=typeof e||e<r.DEFLATE||e>r.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=e,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}d.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,o(this.init_done,"close before init"),o(this.mode<=r.UNZIP),this.mode===r.DEFLATE||this.mode===r.GZIP||this.mode===r.DEFLATERAW?i.deflateEnd(this.strm):this.mode!==r.INFLATE&&this.mode!==r.GUNZIP&&this.mode!==r.INFLATERAW&&this.mode!==r.UNZIP||a.inflateEnd(this.strm),this.mode=r.NONE,this.dictionary=null)},d.prototype.write=function(e,t,r,n,o,s,i){return this._write(!0,e,t,r,n,o,s,i)},d.prototype.writeSync=function(e,t,r,n,o,s,i){return this._write(!1,e,t,r,n,o,s,i)},d.prototype._write=function(e,s,i,a,u,c,d,f){if(o.equal(arguments.length,8),o(this.init_done,"write before init"),o(this.mode!==r.NONE,"already finalized"),o.equal(!1,this.write_in_progress,"write already in progress"),o.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,o.equal(!1,s===undefined,"must provide flush value"),this.write_in_progress=!0,s!==r.Z_NO_FLUSH&&s!==r.Z_PARTIAL_FLUSH&&s!==r.Z_SYNC_FLUSH&&s!==r.Z_FULL_FLUSH&&s!==r.Z_FINISH&&s!==r.Z_BLOCK)throw new Error("Invalid flush value");if(null==i&&(i=n.alloc(0),u=0,a=0),this.strm.avail_in=u,this.strm.input=i,this.strm.next_in=a,this.strm.avail_out=f,this.strm.output=c,this.strm.next_out=d,this.flush=s,!e)return this._process(),this._checkError()?this._afterSync():void 0;var l=this;return t.nextTick(function(){l._process(),l._after()}),this},d.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},d.prototype._process=function(){var e=null;switch(this.mode){case r.DEFLATE:case r.GZIP:case r.DEFLATERAW:this.err=i.deflate(this.strm,this.flush);break;case r.UNZIP:switch(this.strm.avail_in>0&&(e=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===e)break;if(31!==this.strm.input[e]){this.mode=r.INFLATE;break}if(this.gzip_id_bytes_read=1,e++,1===this.strm.avail_in)break;case 1:if(null===e)break;139===this.strm.input[e]?(this.gzip_id_bytes_read=2,this.mode=r.GUNZIP):this.mode=r.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case r.INFLATE:case r.GUNZIP:case r.INFLATERAW:for(this.err=a.inflate(this.strm,this.flush),this.err===r.Z_NEED_DICT&&this.dictionary&&(this.err=a.inflateSetDictionary(this.strm,this.dictionary),this.err===r.Z_OK?this.err=a.inflate(this.strm,this.flush):this.err===r.Z_DATA_ERROR&&(this.err=r.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===r.GUNZIP&&this.err===r.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=a.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},d.prototype._checkError=function(){switch(this.err){case r.Z_OK:case r.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===r.Z_FINISH)return this._error("unexpected end of file"),!1;break;case r.Z_STREAM_END:break;case r.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},d.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},d.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},d.prototype.init=function(e,t,n,s,i){o(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),o(e>=8&&e<=15,"invalid windowBits"),o(t>=-1&&t<=9,"invalid compression level"),o(n>=1&&n<=9,"invalid memlevel"),o(s===r.Z_FILTERED||s===r.Z_HUFFMAN_ONLY||s===r.Z_RLE||s===r.Z_FIXED||s===r.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(t,e,n,s,i),this._setDictionary()},d.prototype.params=function(){throw new Error("deflateParams Not supported")},d.prototype.reset=function(){this._reset(),this._setDictionary()},d.prototype._init=function(e,t,n,o,u){switch(this.level=e,this.windowBits=t,this.memLevel=n,this.strategy=o,this.flush=r.Z_NO_FLUSH,this.err=r.Z_OK,this.mode!==r.GZIP&&this.mode!==r.GUNZIP||(this.windowBits+=16),this.mode===r.UNZIP&&(this.windowBits+=32),this.mode!==r.DEFLATERAW&&this.mode!==r.INFLATERAW||(this.windowBits=-1*this.windowBits),this.strm=new s,this.mode){case r.DEFLATE:case r.GZIP:case r.DEFLATERAW:this.err=i.deflateInit2(this.strm,this.level,r.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case r.INFLATE:case r.GUNZIP:case r.INFLATERAW:case r.UNZIP:this.err=a.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==r.Z_OK&&this._error("Init error"),this.dictionary=u,this.write_in_progress=!1,this.init_done=!0},d.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=r.Z_OK,this.mode){case r.DEFLATE:case r.DEFLATERAW:this.err=i.deflateSetDictionary(this.strm,this.dictionary)}this.err!==r.Z_OK&&this._error("Failed to set dictionary")}},d.prototype._reset=function(){switch(this.err=r.Z_OK,this.mode){case r.DEFLATE:case r.DEFLATERAW:case r.GZIP:this.err=i.deflateReset(this.strm);break;case r.INFLATE:case r.INFLATERAW:case r.GUNZIP:this.err=a.inflateReset(this.strm)}this.err!==r.Z_OK&&this._error("Failed to reset stream")},r.Zlib=d}).call(this)}).call(this,e("_process"),e("buffer").Buffer)}}},{package:"browserify>browserify-zlib",file:"node_modules/browserify-zlib/lib/binding.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-zlib/lib/index.js",{"./binding":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-zlib/lib/binding.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",assert:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/assert.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",stream:"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/index.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/util/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=e("buffer").Buffer,o=e("stream").Transform,s=e("./binding"),i=e("util"),a=e("assert").ok,u=e("buffer").kMaxLength,c="Cannot create final Buffer. It would be larger than 0x"+u.toString(16)+" bytes";s.Z_MIN_WINDOWBITS=8,s.Z_MAX_WINDOWBITS=15,s.Z_DEFAULT_WINDOWBITS=15,s.Z_MIN_CHUNK=64,s.Z_MAX_CHUNK=Infinity,s.Z_DEFAULT_CHUNK=16384,s.Z_MIN_MEMLEVEL=1,s.Z_MAX_MEMLEVEL=9,s.Z_DEFAULT_MEMLEVEL=8,s.Z_MIN_LEVEL=-1,s.Z_MAX_LEVEL=9,s.Z_DEFAULT_LEVEL=s.Z_DEFAULT_COMPRESSION;for(var d=Object.keys(s),f=0;f<d.length;f++){var l=d[f];l.match(/^Z/)&&Object.defineProperty(r,l,{enumerable:!0,value:s[l],writable:!1})}for(var h={Z_OK:s.Z_OK,Z_STREAM_END:s.Z_STREAM_END,Z_NEED_DICT:s.Z_NEED_DICT,Z_ERRNO:s.Z_ERRNO,Z_STREAM_ERROR:s.Z_STREAM_ERROR,Z_DATA_ERROR:s.Z_DATA_ERROR,Z_MEM_ERROR:s.Z_MEM_ERROR,Z_BUF_ERROR:s.Z_BUF_ERROR,Z_VERSION_ERROR:s.Z_VERSION_ERROR},m=Object.keys(h),p=0;p<m.length;p++){var b=m[p];h[h[b]]=b}function y(e,t,r){var o=[],s=0;function i(){for(var t;null!==(t=e.read());)o.push(t),s+=t.length;e.once("readable",i)}function a(){var t,i=null;s>=u?i=new RangeError(c):t=n.concat(o,s),o=[],e.close(),r(i,t)}e.on("error",function(t){e.removeListener("end",a),e.removeListener("readable",i),r(t)}),e.on("end",a),e.end(t),i()}function g(e,t){if("string"==typeof t&&(t=n.from(t)),!n.isBuffer(t))throw new TypeError("Not a string or buffer");var r=e._finishFlushFlag;return e._processChunk(t,r)}function w(e){if(!(this instanceof w))return new w(e);A.call(this,e,s.DEFLATE)}function k(e){if(!(this instanceof k))return new k(e);A.call(this,e,s.INFLATE)}function _(e){if(!(this instanceof _))return new _(e);A.call(this,e,s.GZIP)}function v(e){if(!(this instanceof v))return new v(e);A.call(this,e,s.GUNZIP)}function x(e){if(!(this instanceof x))return new x(e);A.call(this,e,s.DEFLATERAW)}function j(e){if(!(this instanceof j))return new j(e);A.call(this,e,s.INFLATERAW)}function S(e){if(!(this instanceof S))return new S(e);A.call(this,e,s.UNZIP)}function E(e){return e===s.Z_NO_FLUSH||e===s.Z_PARTIAL_FLUSH||e===s.Z_SYNC_FLUSH||e===s.Z_FULL_FLUSH||e===s.Z_FINISH||e===s.Z_BLOCK}function A(e,t){var i=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||r.Z_DEFAULT_CHUNK,o.call(this,e),e.flush&&!E(e.flush))throw new Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!E(e.finishFlush))throw new Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||s.Z_NO_FLUSH,this._finishFlushFlag=void 0!==e.finishFlush?e.finishFlush:s.Z_FINISH,e.chunkSize&&(e.chunkSize<r.Z_MIN_CHUNK||e.chunkSize>r.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBits<r.Z_MIN_WINDOWBITS||e.windowBits>r.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.level<r.Z_MIN_LEVEL||e.level>r.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevel<r.Z_MIN_MEMLEVEL||e.memLevel>r.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=r.Z_FILTERED&&e.strategy!=r.Z_HUFFMAN_ONLY&&e.strategy!=r.Z_RLE&&e.strategy!=r.Z_FIXED&&e.strategy!=r.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!n.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new s.Zlib(t);var a=this;this._hadError=!1,this._handle.onerror=function(e,t){B(a),a._hadError=!0;var n=new Error(e);n.errno=t,n.code=r.codes[t],a.emit("error",n)};var u=r.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(u=e.level);var c=r.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(c=e.strategy),this._handle.init(e.windowBits||r.Z_DEFAULT_WINDOWBITS,u,e.memLevel||r.Z_DEFAULT_MEMLEVEL,c,e.dictionary),this._buffer=n.allocUnsafe(this._chunkSize),this._offset=0,this._level=u,this._strategy=c,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!i._handle},configurable:!0,enumerable:!0})}function B(e,r){r&&t.nextTick(r),e._handle&&(e._handle.close(),e._handle=null)}function T(e){e.emit("close")}Object.defineProperty(r,"codes",{enumerable:!0,value:Object.freeze(h),writable:!1}),r.Deflate=w,r.Inflate=k,r.Gzip=_,r.Gunzip=v,r.DeflateRaw=x,r.InflateRaw=j,r.Unzip=S,r.createDeflate=function(e){return new w(e)},r.createInflate=function(e){return new k(e)},r.createDeflateRaw=function(e){return new x(e)},r.createInflateRaw=function(e){return new j(e)},r.createGzip=function(e){return new _(e)},r.createGunzip=function(e){return new v(e)},r.createUnzip=function(e){return new S(e)},r.deflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),y(new w(t),e,r)},r.deflateSync=function(e,t){return g(new w(t),e)},r.gzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),y(new _(t),e,r)},r.gzipSync=function(e,t){return g(new _(t),e)},r.deflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),y(new x(t),e,r)},r.deflateRawSync=function(e,t){return g(new x(t),e)},r.unzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),y(new S(t),e,r)},r.unzipSync=function(e,t){return g(new S(t),e)},r.inflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),y(new k(t),e,r)},r.inflateSync=function(e,t){return g(new k(t),e)},r.gunzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),y(new v(t),e,r)},r.gunzipSync=function(e,t){return g(new v(t),e)},r.inflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),y(new j(t),e,r)},r.inflateRawSync=function(e,t){return g(new j(t),e)},i.inherits(A,o),A.prototype.params=function(e,n,o){if(e<r.Z_MIN_LEVEL||e>r.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(n!=r.Z_FILTERED&&n!=r.Z_HUFFMAN_ONLY&&n!=r.Z_RLE&&n!=r.Z_FIXED&&n!=r.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+n);if(this._level!==e||this._strategy!==n){var i=this;this.flush(s.Z_SYNC_FLUSH,function(){a(i._handle,"zlib binding closed"),i._handle.params(e,n),i._hadError||(i._level=e,i._strategy=n,o&&o())})}else t.nextTick(o)},A.prototype.reset=function(){return a(this._handle,"zlib binding closed"),this._handle.reset()},A.prototype._flush=function(e){this._transform(n.alloc(0),"",e)},A.prototype.flush=function(e,r){var o=this,i=this._writableState;("function"==typeof e||e===undefined&&!r)&&(r=e,e=s.Z_FULL_FLUSH),i.ended?r&&t.nextTick(r):i.ending?r&&this.once("end",r):i.needDrain?r&&this.once("drain",function(){return o.flush(e,r)}):(this._flushFlag=e,this.write(n.alloc(0),"",r))},A.prototype.close=function(e){B(this,e),t.nextTick(T,this)},A.prototype._transform=function(e,t,r){var o,i=this._writableState,a=(i.ending||i.ended)&&(!e||i.length===e.length);return null===e||n.isBuffer(e)?this._handle?(a?o=this._finishFlushFlag:(o=this._flushFlag,e.length>=i.length&&(this._flushFlag=this._opts.flush||s.Z_NO_FLUSH)),void this._processChunk(e,o,r)):r(new Error("zlib binding closed")):r(new Error("invalid input"))},A.prototype._processChunk=function(e,t,r){var o=e&&e.length,s=this._chunkSize-this._offset,i=0,d=this,f="function"==typeof r;if(!f){var l,h=[],m=0;this.on("error",function(e){l=e}),a(this._handle,"zlib binding closed");do{var p=this._handle.writeSync(t,e,i,o,this._buffer,this._offset,s)}while(!this._hadError&&g(p[0],p[1]));if(this._hadError)throw l;if(m>=u)throw B(this),new RangeError(c);var b=n.concat(h,m);return B(this),b}a(this._handle,"zlib binding closed");var y=this._handle.write(t,e,i,o,this._buffer,this._offset,s);function g(u,c){if(this&&(this.buffer=null,this.callback=null),!d._hadError){var l=s-c;if(a(l>=0,"have should not go down"),l>0){var p=d._buffer.slice(d._offset,d._offset+l);d._offset+=l,f?d.push(p):(h.push(p),m+=p.length)}if((0===c||d._offset>=d._chunkSize)&&(s=d._chunkSize,d._offset=0,d._buffer=n.allocUnsafe(d._chunkSize)),0===c){if(i+=o-u,o=u,!f)return!0;var b=d._handle.write(t,e,i,o,d._buffer,d._offset,d._chunkSize);return b.callback=g,void(b.buffer=e)}if(!f)return!1;r()}}y.buffer=e,y.callback=g},i.inherits(w,A),i.inherits(k,A),i.inherits(_,A),i.inherits(v,A),i.inherits(x,A),i.inherits(j,A),i.inherits(S,A)}).call(this)}).call(this,e("_process"))}}},{package:"browserify>browserify-zlib",file:"node_modules/browserify-zlib/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/assert.js",{"object-assign":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-assign/index.js","util/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/node_modules/util/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("object-assign");
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */function o(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,o=0,s=Math.min(r,n);o<s;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0}function s(e){return global.Buffer&&"function"==typeof global.Buffer.isBuffer?global.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var i=e("util/"),a=Object.prototype.hasOwnProperty,u=Array.prototype.slice,c="foo"===function(){}.name;function d(e){return Object.prototype.toString.call(e)}function f(e){return!s(e)&&("function"==typeof global.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var l=t.exports=g,h=/\s*function\s+([^\(\s]*)\s*/;function m(e){if(i.isFunction(e)){if(c)return e.name;var t=e.toString().match(h);return t&&t[1]}}function p(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function b(e){if(c||!i.isFunction(e))return i.inspect(e);var t=m(e);return"[Function"+(t?": "+t:"")+"]"}function y(e,t,r,n,o){throw new l.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:o})}function g(e,t){e||y(e,!0,t,"==",l.ok)}function w(e,t,r,n){if(e===t)return!0;if(s(e)&&s(t))return 0===o(e,t);if(i.isDate(e)&&i.isDate(t))return e.getTime()===t.getTime();if(i.isRegExp(e)&&i.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(f(e)&&f(t)&&d(e)===d(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===o(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(s(e)!==s(t))return!1;var a=(n=n||{actual:[],expected:[]}).actual.indexOf(e);return-1!==a&&a===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),function(e,t,r,n){if(null===e||e===undefined||null===t||t===undefined)return!1;if(i.isPrimitive(e)||i.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var o=k(e),s=k(t);if(o&&!s||!o&&s)return!1;if(o)return w(e=u.call(e),t=u.call(t),r);var a,c,d=x(e),f=x(t);if(d.length!==f.length)return!1;for(d.sort(),f.sort(),c=d.length-1;c>=0;c--)if(d[c]!==f[c])return!1;for(c=d.length-1;c>=0;c--)if(!w(e[a=d[c]],t[a],r,n))return!1;return!0}(e,t,r,n))}return r?e===t:e==t}function k(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function _(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function v(e,t,r,n){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!o&&y(o,r,"Missing expected exception"+n);var s="string"==typeof n,a=!e&&o&&!r;if((!e&&i.isError(o)&&s&&_(o,r)||a)&&y(o,r,"Got unwanted exception"+n),e&&o&&r&&!_(o,r)||!e&&o)throw o}l.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return p(b(e.actual),128)+" "+e.operator+" "+p(b(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||y;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,o=m(t),s=n.indexOf("\n"+o);if(s>=0){var i=n.indexOf("\n",s+1);n=n.substring(i+1)}this.stack=n}}},i.inherits(l.AssertionError,Error),l.fail=y,l.ok=g,l.equal=function(e,t,r){e!=t&&y(e,t,r,"==",l.equal)},l.notEqual=function(e,t,r){e==t&&y(e,t,r,"!=",l.notEqual)},l.deepEqual=function(e,t,r){w(e,t,!1)||y(e,t,r,"deepEqual",l.deepEqual)},l.deepStrictEqual=function(e,t,r){w(e,t,!0)||y(e,t,r,"deepStrictEqual",l.deepStrictEqual)},l.notDeepEqual=function(e,t,r){w(e,t,!1)&&y(e,t,r,"notDeepEqual",l.notDeepEqual)},l.notDeepStrictEqual=function e(t,r,n){w(t,r,!0)&&y(t,r,n,"notDeepStrictEqual",e)},l.strictEqual=function(e,t,r){e!==t&&y(e,t,r,"===",l.strictEqual)},l.notStrictEqual=function(e,t,r){e===t&&y(e,t,r,"!==",l.notStrictEqual)},l.throws=function(e,t,r){v(!0,e,t,r)},l.doesNotThrow=function(e,t,r){v(!1,e,t,r)},l.ifError=function(e){if(e)throw e},l.strict=n(function e(t,r){t||y(t,!0,r,"==",e)},l,{equal:l.strictEqual,deepEqual:l.deepStrictEqual,notEqual:l.notStrictEqual,notDeepEqual:l.notDeepStrictEqual}),l.strict.strict=l.strict;var x=Object.keys||function(e){var t=[];for(var r in e)a.call(e,r)&&t.push(r);return t}}}},{package:"browserify>assert",file:"node_modules/browserify/node_modules/assert/assert.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/node_modules/inherits/inherits_browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}}},{package:"browserify>assert>util>inherits",file:"node_modules/browserify/node_modules/assert/node_modules/inherits/inherits_browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/node_modules/util/support/isBufferBrowser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}}}},{package:"browserify>assert>util",file:"node_modules/browserify/node_modules/assert/node_modules/util/support/isBufferBrowser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/node_modules/util/util.js",{"./support/isBuffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/node_modules/util/support/isBufferBrowser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=/%[sdj%]/g;r.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(i(arguments[r]));return t.join(" ")}r=1;for(var o=arguments,s=o.length,a=String(e).replace(n,function(e){if("%%"===e)return"%";if(r>=s)return e;switch(e){case"%s":return String(o[r++]);case"%d":return Number(o[r++]);case"%j":try{return JSON.stringify(o[r++])}catch(e){return"[Circular]"}default:return e}}),u=o[r];r<s;u=o[++r])m(u)||!w(u)?a+=" "+u:a+=" "+i(u);return a},r.deprecate=function(e,n){if(y(global.process))return function(){return r.deprecate(e,n).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(n);t.traceDeprecation?console.trace(n):console.error(n),o=!0}return e.apply(this,arguments)}};var o,s={};function i(e,t){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),h(t)?n.showHidden=t:t&&r._extend(n,t),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=a),c(n,e,n.depth)}function a(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function u(e,t){return e}function c(e,t,n){if(e.customInspect&&t&&v(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return b(o)||(o=c(e,o,n)),o}var s=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(p(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,t);if(s)return s;var i=Object.keys(t),a=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),_(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return d(t);if(0===i.length){if(v(t)){var u=t.name?": "+t.name:"";return e.stylize("[Function"+u+"]","special")}if(g(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(_(t))return d(t)}var w,x="",j=!1,S=["{","}"];(l(t)&&(j=!0,S=["[","]"]),v(t))&&(x=" [Function"+(t.name?": "+t.name:"")+"]");return g(t)&&(x=" "+RegExp.prototype.toString.call(t)),k(t)&&(x=" "+Date.prototype.toUTCString.call(t)),_(t)&&(x=" "+d(t)),0!==i.length||j&&0!=t.length?n<0?g(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),w=j?function(e,t,r,n,o){for(var s=[],i=0,a=t.length;i<a;++i)E(t,String(i))?s.push(f(e,t,r,n,String(i),!0)):s.push("");return o.forEach(function(o){o.match(/^\d+$/)||s.push(f(e,t,r,n,o,!0))}),s}(e,t,n,a,i):i.map(function(r){return f(e,t,n,a,r,j)}),e.seen.pop(),function(e,t,r){var n=e.reduce(function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(w,x,S)):S[0]+x+S[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,o,s){var i,a,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?a=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(a=e.stylize("[Setter]","special")),E(n,o)||(i="["+o+"]"),a||(e.seen.indexOf(u.value)<0?(a=m(r)?c(e,u.value,null):c(e,u.value,r-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return"   "+e}).join("\n")):a=e.stylize("[Circular]","special")),y(i)){if(s&&o.match(/^\d+$/))return a;(i=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+a}function l(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function m(e){return null===e}function p(e){return"number"==typeof e}function b(e){return"string"==typeof e}function y(e){return void 0===e}function g(e){return w(e)&&"[object RegExp]"===x(e)}function w(e){return"object"==typeof e&&null!==e}function k(e){return w(e)&&"[object Date]"===x(e)}function _(e){return w(e)&&("[object Error]"===x(e)||e instanceof Error)}function v(e){return"function"==typeof e}function x(e){return Object.prototype.toString.call(e)}function j(e){return e<10?"0"+e.toString(10):e.toString(10)}r.debuglog=function(e){if(y(o)&&(o=""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var n=t.pid;s[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else s[e]=function(){};return s[e]},r.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"},r.isArray=l,r.isBoolean=h,r.isNull=m,r.isNullOrUndefined=function(e){return null==e},r.isNumber=p,r.isString=b,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=y,r.isRegExp=g,r.isObject=w,r.isDate=k,r.isError=_,r.isFunction=v,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.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(" ")),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this)}).call(this,e("_process"))}}},{package:"browserify>assert>util",file:"node_modules/browserify/node_modules/assert/node_modules/util/util.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",{"base64-js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/base64-js/index.js",ieee754:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ieee754/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("base64-js"),o=e("ieee754");r.Buffer=a,r.SlowBuffer=function(e){+e!=e&&(e=0);return a.alloc(+e)},r.INSPECT_MAX_BYTES=50;var s=2147483647;function i(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=a.prototype,t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|h(e,t),n=i(r),o=n.write(e,t);o!==r&&(n=n.slice(0,o));return n}(e,t);if(ArrayBuffer.isView(e))return f(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;n=t===undefined&&r===undefined?new Uint8Array(e):r===undefined?new Uint8Array(e,t):new Uint8Array(e,t,r);return n.__proto__=a.prototype,n}(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return a.from(n,t,r);var o=function(e){if(a.isBuffer(e)){var t=0|l(e.length),r=i(t);return 0===r.length||e.copy(r,0,0,t),r}if(e.length!==undefined)return"number"!=typeof e.length||K(e.length)?i(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return c(e),i(e<0?0:0|l(e))}function f(e){for(var t=e.length<0?0:0|l(e.length),r=i(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function l(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function h(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return F(e).length;default:if(o)return n?-1:D(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,r){var n=!1;if((t===undefined||t<0)&&(t=0),t>this.length)return"";if((r===undefined||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,r);case"utf8":case"utf-8":return S(this,t,r);case"ascii":return A(this,t,r);case"latin1":case"binary":return B(this,t,r);case"base64":return j(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function p(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),K(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,n,o){var s,i=1,a=e.length,u=t.length;if(n!==undefined&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;i=2,a/=2,u/=2,r/=2}function c(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){var d=-1;for(s=r;s<a;s++)if(c(e,s)===c(t,-1===d?0:s-d)){if(-1===d&&(d=s),s-d+1===u)return d*i}else-1!==d&&(s-=s-d),d=-1}else for(r+u>a&&(r=a-u),s=r;s>=0;s--){for(var f=!0,l=0;l<u;l++)if(c(e,s+l)!==c(t,l)){f=!1;break}if(f)return s}return-1}function g(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var s=t.length;n>s/2&&(n=s/2);for(var i=0;i<n;++i){var a=parseInt(t.substr(2*i,2),16);if(K(a))return i;e[r+i]=a}return i}function w(e,t,r,n){return U(D(t,e.length-r),e,r,n)}function k(e,t,r,n){return U(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function _(e,t,r,n){return k(e,t,r,n)}function v(e,t,r,n){return U(F(t),e,r,n)}function x(e,t,r,n){return U(function(e,t){for(var r,n,o,s=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o=r%256,s.push(o),s.push(n);return s}(t,e.length-r),e,r,n)}function j(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function S(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var s,i,a,u,c=e[o],d=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(d=c);break;case 2:128==(192&(s=e[o+1]))&&(u=(31&c)<<6|63&s)>127&&(d=u);break;case 3:s=e[o+1],i=e[o+2],128==(192&s)&&128==(192&i)&&(u=(15&c)<<12|(63&s)<<6|63&i)>2047&&(u<55296||u>57343)&&(d=u);break;case 4:s=e[o+1],i=e[o+2],a=e[o+3],128==(192&s)&&128==(192&i)&&128==(192&a)&&(u=(15&c)<<18|(63&s)<<12|(63&i)<<6|63&a)>65535&&u<1114112&&(d=u)}null===d?(d=65533,f=1):d>65535&&(d-=65536,n.push(d>>>10&1023|55296),d=56320|1023&d),n.push(d),o+=f}return function(e){var t=e.length;if(t<=E)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=E));return r}(n)}r.kMaxLength=s,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){return a.isBuffer(this)?this.buffer:undefined}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){return a.isBuffer(this)?this.byteOffset:undefined}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,a.alloc=function(e,t,r){return function(e,t,r){return c(e),e<=0?i(e):t!==undefined?"string"==typeof r?i(e).fill(t,r):i(e).fill(t):i(e)}(e,t,r)},a.allocUnsafe=function(e){return d(e)},a.allocUnsafeSlow=function(e){return d(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(H(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),H(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,s=Math.min(r,n);o<s;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var r;if(t===undefined)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=a.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var s=e[r];if(H(s,Uint8Array)&&(s=a.from(s)),!a.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,o),o+=s.length}return n},a.byteLength=h,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)p(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)p(this,t,t+3),p(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)p(this,t,t+7),p(this,t+1,t+6),p(this,t+2,t+5),p(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?S(this,0,e):m.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},a.prototype.compare=function(e,t,r,n,o){if(H(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===undefined&&(t=0),r===undefined&&(r=e?e.length:0),n===undefined&&(n=0),o===undefined&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var s=(o>>>=0)-(n>>>=0),i=(r>>>=0)-(t>>>=0),u=Math.min(s,i),c=this.slice(n,o),d=e.slice(t,r),f=0;f<u;++f)if(c[f]!==d[f]){s=c[f],i=d[f];break}return s<i?-1:i<s?1:0},a.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return b(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return b(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){if(t===undefined)n="utf8",r=this.length,t=0;else if(r===undefined&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,n===undefined&&(n="utf8")):(n=r,r=undefined)}var o=this.length-t;if((r===undefined||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return g(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return k(this,e,t,r);case"latin1":case"binary":return _(this,e,t,r);case"base64":return v(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function A(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function B(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function T(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",s=t;s<r;++s)o+=N(e[s]);return o}function O(e,t,r){for(var n=e.slice(t,r),o="",s=0;s<n.length;s+=2)o+=String.fromCharCode(n[s]+256*n[s+1]);return o}function M(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,r,n,o,s){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<s)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function I(e,t,r,n,o,s){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function C(e,t,r,n,s){return t=+t,r>>>=0,s||I(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function R(e,t,r,n,s){return t=+t,r>>>=0,s||I(e,0,r,8),o.write(e,t,r,n,52,8),r+8}a.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=t===undefined?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return n.__proto__=a.prototype,n},a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||M(e,t,this.length);for(var n=this[e],o=1,s=0;++s<t&&(o*=256);)n+=this[e+s]*o;return n},a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||M(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},a.prototype.readUInt8=function(e,t){return e>>>=0,t||M(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||M(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||M(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||M(e,t,this.length);for(var n=this[e],o=1,s=0;++s<t&&(o*=256);)n+=this[e+s]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||M(e,t,this.length);for(var n=t,o=1,s=this[e+--n];n>0&&(o*=256);)s+=this[e+--n]*o;return s>=(o*=128)&&(s-=Math.pow(2,8*t)),s},a.prototype.readInt8=function(e,t){return e>>>=0,t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||M(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||M(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||M(e,4,this.length),o.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||M(e,4,this.length),o.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||M(e,8,this.length),o.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||M(e,8,this.length),o.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||P(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,s=0;for(this[t]=255&e;++s<r&&(o*=256);)this[t+s]=e/o&255;return t+r},a.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||P(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);P(this,e,t,r,o-1,-o)}var s=0,i=1,a=0;for(this[t]=255&e;++s<r&&(i*=256);)e<0&&0===a&&0!==this[t+s-1]&&(a=1),this[t+s]=(e/i|0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);P(this,e,t,r,o-1,-o)}var s=r-1,i=1,a=0;for(this[t+s]=255&e;--s>=0&&(i*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/i|0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return C(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return C(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return R(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return R(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var s=o-1;s>=0;--s)e[s+t]=this[s+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),n!==undefined&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var s;if(t>>>=0,r=r===undefined?this.length:r>>>0,e||(e=0),"number"==typeof e)for(s=t;s<r;++s)this[s]=e;else{var i=a.isBuffer(e)?e:a.from(e,n),u=i.length;if(0===u)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<r-t;++s)this[s+t]=i[s%u]}return this};var L=/[^+/0-9A-Za-z-_]/g;function N(e){return e<16?"0"+e.toString(16):e.toString(16)}function D(e,t){var r;t=t||Infinity;for(var n=e.length,o=null,s=[],i=0;i<n;++i){if((r=e.charCodeAt(i))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&s.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&s.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function F(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function K(e){return e!=e}}}},{package:"browserify>buffer",file:"node_modules/browserify/node_modules/buffer/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/punycode/punycode.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e){var n="object"==typeof r&&r&&!r.nodeType&&r,o="object"==typeof t&&t&&!t.nodeType&&t,s="object"==typeof global&&global;s.global!==s&&s.window!==s&&s.self!==s||(e=s);var i,a,u=2147483647,c=36,d=/^xn--/,f=/[^\x20-\x7E]/,l=/[\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"},m=Math.floor,p=String.fromCharCode;function b(e){throw new RangeError(h[e])}function y(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function g(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+y((e=e.replace(l,".")).split("."),t).join(".")}function w(e){for(var t,r,n=[],o=0,s=e.length;o<s;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<s?56320==(64512&(r=e.charCodeAt(o++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),o--):n.push(t);return n}function k(e){return y(e,function(e){var t="";return e>65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)}).join("")}function _(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function v(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function x(e,t,r){var n=0;for(e=r?m(e/700):e>>1,e+=m(e/t);e>455;n+=c)e=m(e/35);return m(n+36*e/(e+38))}function j(e){var t,r,n,o,s,i,a,d,f,l,h=[],p=e.length,y=0,g=128,w=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&b("not-basic"),h.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<p;){for(s=y,i=1,a=c;o>=p&&b("invalid-input"),((d=_(e.charCodeAt(o++)))>=c||d>m((u-y)/i))&&b("overflow"),y+=d*i,!(d<(f=a<=w?1:a>=w+26?26:a-w));a+=c)i>m(u/(l=c-f))&&b("overflow"),i*=l;w=x(y-s,t=h.length+1,0==s),m(y/t)>u-g&&b("overflow"),g+=m(y/t),y%=t,h.splice(y++,0,g)}return k(h)}function S(e){var t,r,n,o,s,i,a,d,f,l,h,y,g,k,_,j=[];for(y=(e=w(e)).length,t=128,r=0,s=72,i=0;i<y;++i)(h=e[i])<128&&j.push(p(h));for(n=o=j.length,o&&j.push("-");n<y;){for(a=u,i=0;i<y;++i)(h=e[i])>=t&&h<a&&(a=h);for(a-t>m((u-r)/(g=n+1))&&b("overflow"),r+=(a-t)*g,t=a,i=0;i<y;++i)if((h=e[i])<t&&++r>u&&b("overflow"),h==t){for(d=r,f=c;!(d<(l=f<=s?1:f>=s+26?26:f-s));f+=c)_=d-l,k=c-l,j.push(p(v(l+_%k,0))),d=m(_/k);j.push(p(v(d,0))),s=x(r,g,n==o),r=0,++n}++r,++t}return j.join("")}if(i={version:"1.4.1",ucs2:{decode:w,encode:k},decode:j,encode:S,toASCII:function(e){return g(e,function(e){return f.test(e)?"xn--"+S(e):e})},toUnicode:function(e){return g(e,function(e){return d.test(e)?j(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return i});else if(n&&o)if(t.exports==n)o.exports=i;else for(a in i)i.hasOwnProperty(a)&&(n[a]=i[a]);else e.punycode=i}(this)}}},{package:"browserify>punycode",file:"node_modules/browserify/node_modules/punycode/punycode.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/timers-browserify/main.js",{"process/browser.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.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,r){(function(t,n){(function(){var o=e("process/browser.js").nextTick,s=Function.prototype.apply,i=Array.prototype.slice,a={},u=0;function c(e,t){this._id=e,this._clearFn=t}r.setTimeout=function(){return new c(s.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new c(s.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r.setImmediate="function"==typeof t?t:function(e){var t=u++,n=!(arguments.length<2)&&i.call(arguments,1);return a[t]=!0,o(function(){a[t]&&(n?e.apply(null,n):e.call(null),r.clearImmediate(t))}),t},r.clearImmediate="function"==typeof n?n:function(e){delete a[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)}}},{package:"browserify>timers-browserify",file:"node_modules/browserify/node_modules/timers-browserify/main.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/bs58check/base.js",{bs58:"/home/runner/work/metamask-extension/metamask-extension/node_modules/bs58check/node_modules/bs58/index.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,r){var n=e("bs58"),o=e("safe-buffer").Buffer;t.exports=function(e){function t(t){var r=t.slice(0,-4),n=t.slice(-4),o=e(r);if(!(n[0]^o[0]|n[1]^o[1]|n[2]^o[2]|n[3]^o[3]))return r}return{encode:function(t){var r=e(t);return n.encode(o.concat([t,r],t.length+4))},decode:function(e){var r=t(n.decode(e));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:function(e){var r=n.decodeUnsafe(e);if(r)return t(r)}}}}}},{package:"ethereumjs-util>ethereum-cryptography>bs58check",file:"node_modules/bs58check/base.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/bs58check/index.js",{"./base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bs58check/base.js","create-hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hash/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("create-hash"),o=e("./base");t.exports=o(function(e){var t=n("sha256").update(e).digest();return n("sha256").update(t).digest()})}}},{package:"ethereumjs-util>ethereum-cryptography>bs58check",file:"node_modules/bs58check/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/bs58check/node_modules/bs58/index.js",{"base-x":"/home/runner/work/metamask-extension/metamask-extension/node_modules/base-x/src/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("base-x");t.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")}}},{package:"ethereumjs-util>ethereum-cryptography>bs58check>bs58",file:"node_modules/bs58check/node_modules/bs58/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/buffer-xor/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,r){(function(e){(function(){t.exports=function(t,r){for(var n=Math.min(t.length,r.length),o=new e(n),s=0;s<n;++s)o[s]=t[s]^r[s];return o}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util>ethereum-cryptography>browserify-aes>buffer-xor",file:"node_modules/buffer-xor/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/buffer/index.js",{"base64-js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/base64-js/index.js",ieee754:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ieee754/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("base64-js"),o=e("ieee754"),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=u,r.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},r.INSPECT_MAX_BYTES=50;const i=2147483647;function a(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|p(e,t);let n=a(r);const o=n.write(e,t);o!==r&&(n=n.slice(0,o));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if($(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return l(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer))return h(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);const o=function(e){if(u.isBuffer(e)){const t=0|m(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}if(e.length!==undefined)return"number"!=typeof e.length||X(e.length)?a(0):l(e);if("Buffer"===e.type&&Array.isArray(e.data))return l(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return d(e),a(e<0?0:0|m(e))}function l(e){const t=e.length<0?0:0|m(e.length),r=a(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=t===undefined&&r===undefined?new Uint8Array(e):r===undefined?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function m(e){if(e>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(o)return n?-1:G(e).length;t=(""+t).toLowerCase(),o=!0}}function b(e,t,r){let n=!1;if((t===undefined||t<0)&&(t=0),t>this.length)return"";if((r===undefined||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return B(this,t,r);case"latin1":case"binary":return T(this,t,r);case"base64":return S(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),X(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:w(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):w(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function w(e,t,r,n,o){let s,i=1,a=e.length,u=t.length;if(n!==undefined&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;i=2,a/=2,u/=2,r/=2}function c(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){let n=-1;for(s=r;s<a;s++)if(c(e,s)===c(t,-1===n?0:s-n)){if(-1===n&&(n=s),s-n+1===u)return n*i}else-1!==n&&(s-=s-n),n=-1}else for(r+u>a&&(r=a-u),s=r;s>=0;s--){let r=!0;for(let n=0;n<u;n++)if(c(e,s+n)!==c(t,n)){r=!1;break}if(r)return s}return-1}function k(e,t,r,n){r=Number(r)||0;const o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;const s=t.length;let i;for(n>s/2&&(n=s/2),i=0;i<n;++i){const n=parseInt(t.substr(2*i,2),16);if(X(n))return i;e[r+i]=n}return i}function _(e,t,r,n){return Z(G(t,e.length-r),e,r,n)}function v(e,t,r,n){return Z(function(e){const t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function x(e,t,r,n){return Z(V(t),e,r,n)}function j(e,t,r,n){return Z(function(e,t){let r,n,o;const s=[];for(let i=0;i<e.length&&!((t-=2)<0);++i)r=e.charCodeAt(i),n=r>>8,o=r%256,s.push(o),s.push(n);return s}(t,e.length-r),e,r,n)}function S(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function E(e,t,r){r=Math.min(e.length,r);const n=[];let o=t;for(;o<r;){const t=e[o];let s=null,i=t>239?4:t>223?3:t>191?2:1;if(o+i<=r){let r,n,a,u;switch(i){case 1:t<128&&(s=t);break;case 2:r=e[o+1],128==(192&r)&&(u=(31&t)<<6|63&r,u>127&&(s=u));break;case 3:r=e[o+1],n=e[o+2],128==(192&r)&&128==(192&n)&&(u=(15&t)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(s=u));break;case 4:r=e[o+1],n=e[o+2],a=e[o+3],128==(192&r)&&128==(192&n)&&128==(192&a)&&(u=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&a,u>65535&&u<1114112&&(s=u))}}null===s?(s=65533,i=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),o+=i}return function(e){const t=e.length;if(t<=A)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=A));return r}(n)}r.kMaxLength=i,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){return u.isBuffer(this)?this.buffer:undefined}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){return u.isBuffer(this)?this.byteOffset:undefined}}),u.poolSize=8192,u.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return function(e,t,r){return d(e),e<=0?a(e):t!==undefined?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)}(e,t,r)},u.allocUnsafe=function(e){return f(e)},u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if($(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),$(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let o=0,s=Math.min(r,n);o<s;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let r;if(t===undefined)for(t=0,r=0;r<e.length;++r)t+=e[r].length;const n=u.allocUnsafe(t);let o=0;for(r=0;r<e.length;++r){let t=e[r];if($(t,Uint8Array))o+t.length>n.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,o)):Uint8Array.prototype.set.call(n,t,o);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,o)}o+=t.length}return n},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?E(this,0,e):b.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const t=r.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},s&&(u.prototype[s]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,o){if($(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===undefined&&(t=0),r===undefined&&(r=e?e.length:0),n===undefined&&(n=0),o===undefined&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;let s=(o>>>=0)-(n>>>=0),i=(r>>>=0)-(t>>>=0);const a=Math.min(s,i),c=this.slice(n,o),d=e.slice(t,r);for(let e=0;e<a;++e)if(c[e]!==d[e]){s=c[e],i=d[e];break}return s<i?-1:i<s?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(t===undefined)n="utf8",r=this.length,t=0;else if(r===undefined&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,n===undefined&&(n="utf8")):(n=r,r=undefined)}const o=this.length-t;if((r===undefined||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let s=!1;for(;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return _(this,e,t,r);case"ascii":case"latin1":case"binary":return v(this,e,t,r);case"base64":return x(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const A=4096;function B(e,t,r){let n="";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function T(e,t,r){let n="";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function O(e,t,r){const n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let o="";for(let n=t;n<r;++n)o+=J[e[n]];return o}function M(e,t,r){const n=e.slice(t,r);let o="";for(let e=0;e<n.length-1;e+=2)o+=String.fromCharCode(n[e]+256*n[e+1]);return o}function P(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,r,n,o,s){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<s)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function C(e,t,r,n,o){K(t,n,o,e,r,7);let s=Number(t&BigInt(4294967295));e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,r}function R(e,t,r,n,o){K(t,n,o,e,r,7);let s=Number(t&BigInt(4294967295));e[r+7]=s,s>>=8,e[r+6]=s,s>>=8,e[r+5]=s,s>>=8,e[r+4]=s;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=i,i>>=8,e[r+2]=i,i>>=8,e[r+1]=i,i>>=8,e[r]=i,r+8}function L(e,t,r,n,o,s){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(e,t,r,n,s){return t=+t,r>>>=0,s||L(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function D(e,t,r,n,s){return t=+t,r>>>=0,s||L(e,0,r,8),o.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){const r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=t===undefined?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);const n=this.subarray(e,t);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);let n=this[e],o=1,s=0;for(;++s<t&&(o*=256);)n+=this[e+s]*o;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);let n=this[e+--t],o=1;for(;t>0&&(o*=256);)n+=this[e+--t]*o;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=Q(function(e){z(e>>>=0,"offset");const t=this[e],r=this[e+7];t!==undefined&&r!==undefined||q(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(o)<<BigInt(32))}),u.prototype.readBigUInt64BE=Q(function(e){z(e>>>=0,"offset");const t=this[e],r=this[e+7];t!==undefined&&r!==undefined||q(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(o)}),u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);let n=this[e],o=1,s=0;for(;++s<t&&(o*=256);)n+=this[e+s]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);let n=t,o=1,s=this[e+--n];for(;n>0&&(o*=256);)s+=this[e+--n]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*t)),s},u.prototype.readInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||P(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||P(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=Q(function(e){z(e>>>=0,"offset");const t=this[e],r=this[e+7];t!==undefined&&r!==undefined||q(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)}),u.prototype.readBigInt64BE=Q(function(e){z(e>>>=0,"offset");const t=this[e],r=this[e+7];t!==undefined&&r!==undefined||q(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+r)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||P(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||P(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||P(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||P(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){I(this,e,t,r,Math.pow(2,8*r)-1,0)}let o=1,s=0;for(this[t]=255&e;++s<r&&(o*=256);)this[t+s]=e/o&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){I(this,e,t,r,Math.pow(2,8*r)-1,0)}let o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=Q(function(e,t=0){return C(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Q(function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);I(this,e,t,r,n-1,-n)}let o=0,s=1,i=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===i&&0!==this[t+o-1]&&(i=1),this[t+o]=(e/s|0)-i&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);I(this,e,t,r,n-1,-n)}let o=r-1,s=1,i=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===i&&0!==this[t+o+1]&&(i=1),this[t+o]=(e/s|0)-i&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=Q(function(e,t=0){return C(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Q(function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,r){return N(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return N(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return D(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return D(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);const o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),n!==undefined&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){const t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;let o;if(t>>>=0,r=r===undefined?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{const s=u.isBuffer(e)?e:u.from(e,n),i=s.length;if(0===i)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=s[o%i]}return this};const F={};function U(e,t,r){F[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function H(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function K(e,t,r,n,o,s){if(e>r||e<t){const n="bigint"==typeof t?"n":"";let o;throw o=s>3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(s+1)}${n}`:`>= -(2${n} ** ${8*(s+1)-1}${n}) and < 2 ** ${8*(s+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new F.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,r){z(t,"offset"),e[t]!==undefined&&e[t+r]!==undefined||q(t,e.length-(r+1))}(n,o,s)}function z(e,t){if("number"!=typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function q(e,t,r){if(Math.floor(e)!==e)throw z(e,r),new F.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}U("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),U("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),U("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>2**32?o=H(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=H(o)),o+="n"),n+=` It must be ${t}. Received ${o}`,n},RangeError);const W=/[^+/0-9A-Za-z-_]/g;function G(e,t){let r;t=t||Infinity;const n=e.length;let o=null;const s=[];for(let i=0;i<n;++i){if(r=e.charCodeAt(i),r>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&s.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&s.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function V(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Z(e,t,r,n){let o;for(o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function $(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function X(e){return e!=e}const J=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();function Q(e){return"undefined"==typeof BigInt?Y:e}function Y(){throw new Error("BigInt not supported")}}}},{package:"buffer",file:"node_modules/buffer/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/builtin-status-codes/browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}}}},{package:"stream-http>builtin-status-codes",file:"node_modules/builtin-status-codes/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/builtins/index.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",semver:"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){const n=e("semver"),o=["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"],s={freelist:"<6.0.0",v8:">=1.0.0",process:">=1.1.0",inspector:">=8.0.0",async_hooks:">=8.1.0",http2:">=8.4.0",perf_hooks:">=8.5.0",trace_events:">=10.0.0",worker_threads:">=12.0.0","node:test":">=18.0.0"},i={worker_threads:">=10.5.0",wasi:">=12.16.0",diagnostics_channel:"^14.17.0 || >=15.1.0"};t.exports=({version:e=r.version,experimental:t=!1}={})=>{const a=[...o];for(const[t,r]of Object.entries(s))("*"===e||n.satisfies(e,r))&&a.push(t);if(t)for(const[t,r]of Object.entries(i))a.includes(t)||"*"!==e&&!n.satisfies(e,r)||a.push(t);return a}}).call(this)}).call(this,e("_process"))}}},{package:"@metamask/snaps-utils>validate-npm-package-name>builtins",file:"node_modules/builtins/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/actualApply.js",{"./functionApply":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/functionApply.js","./functionCall":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/functionCall.js","./reflectApply":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/reflectApply.js","function-bind":"/home/runner/work/metamask-extension/metamask-extension/node_modules/function-bind/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("function-bind"),o=e("./functionApply"),s=e("./functionCall"),i=e("./reflectApply");t.exports=i||n.call(s,o)}}},{package:"string.prototype.matchall>call-bind>call-bind-apply-helpers",file:"node_modules/call-bind-apply-helpers/actualApply.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/applyBind.js",{"./actualApply":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/actualApply.js","./functionApply":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/functionApply.js","function-bind":"/home/runner/work/metamask-extension/metamask-extension/node_modules/function-bind/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("function-bind"),o=e("./functionApply"),s=e("./actualApply");t.exports=function(){return s(n,o,arguments)}}}},{package:"string.prototype.matchall>call-bind>call-bind-apply-helpers",file:"node_modules/call-bind-apply-helpers/applyBind.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/functionApply.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=Function.prototype.apply}}},{package:"string.prototype.matchall>call-bind>call-bind-apply-helpers",file:"node_modules/call-bind-apply-helpers/functionApply.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/functionCall.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=Function.prototype.call}}},{package:"string.prototype.matchall>call-bind>call-bind-apply-helpers",file:"node_modules/call-bind-apply-helpers/functionCall.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/index.js",{"./actualApply":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/actualApply.js","./functionCall":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/functionCall.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","function-bind":"/home/runner/work/metamask-extension/metamask-extension/node_modules/function-bind/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("function-bind"),o=e("es-errors/type"),s=e("./functionCall"),i=e("./actualApply");t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return i(n,s,e)}}}},{package:"string.prototype.matchall>call-bind>call-bind-apply-helpers",file:"node_modules/call-bind-apply-helpers/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/reflectApply.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply}}},{package:"string.prototype.matchall>call-bind>call-bind-apply-helpers",file:"node_modules/call-bind-apply-helpers/reflectApply.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind/callBound.js",{"./":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind/index.js","get-intrinsic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/get-intrinsic/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic"),o=e("./"),s=o(n("String.prototype.indexOf"));t.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&s(e,".prototype.")>-1?o(r):r}}}},{package:"string.prototype.matchall>call-bind",file:"node_modules/call-bind/callBound.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind/index.js",{"call-bind-apply-helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/index.js","call-bind-apply-helpers/applyBind":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/applyBind.js","es-define-property":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-define-property/index.js","set-function-length":"/home/runner/work/metamask-extension/metamask-extension/node_modules/set-function-length/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("set-function-length"),o=e("es-define-property"),s=e("call-bind-apply-helpers"),i=e("call-bind-apply-helpers/applyBind");t.exports=function(e){var t=s(arguments),r=e.length-(arguments.length-1);return n(t,1+(r>0?r:0),!0)},o?o(t.exports,"apply",{value:i}):t.exports.apply=i}}},{package:"string.prototype.matchall>call-bind",file:"node_modules/call-bind/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bound/index.js",{"call-bind-apply-helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/index.js","get-intrinsic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/get-intrinsic/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic"),o=e("call-bind-apply-helpers"),s=o([n("%String.prototype.indexOf%")]);t.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&s(e,".prototype.")>-1?o([r]):r}}}},{package:"browserify>util>which-typed-array>call-bound",file:"node_modules/call-bound/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cbor-sync/main.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,r){(function(e){(function(){!function(e,r){"function"==typeof define&&define.amd?define([],r):void 0!==t&&t.exports?t.exports=r():e.CBOR=r()}(this,function(){var t=function(){function t(e){this.$hex=e}t.prototype={length:function(){return this.$hex.length/2},toString:function(e){if(!e||"hex"===e||16===e)return this.$hex;if("utf-8"===e){for(var t="",r=0;r<this.$hex.length;r+=2)t+="%"+this.$hex.substring(r,r+2);return decodeURIComponent(t)}if("latin"===e){for(t=[],r=0;r<this.$hex.length;r+=2)t.push(parseInt(this.$hex.substring(r,r+2),16));return String.fromCharCode.apply(String,t)}throw new Error("Unrecognised format: "+e)}},t.fromLatinString=function(e){for(var r="",n=0;n<e.length;n++){var o=e.charCodeAt(n).toString(16);1===o.length&&(o="0"+o),r+=o}return new t(r)},t.fromUtf8String=function(e){for(var r=encodeURIComponent(e),n="",o=0;o<r.length;o++)if("%"===r.charAt(o))n+=r.substring(o+1,o+3),o+=2;else{var s=r.charCodeAt(o).toString(16);s.length<2&&(s="0"+s),n+=s}return new t(n)};var r=[],n={},o=function(e){return function(){throw new Error(e+" not implemented")}};function s(){}function i(){}function a(e,t){var r=e.value;return r<24?r:24==r?t.readByte():25==r?t.readUint16():26==r?t.readUint32():27==r?t.readUint64():31==r?null:void o("Additional info: "+r)()}function u(e,t,r){var n=e<<5;t<24?r.writeByte(n|t):t<256?(r.writeByte(24|n),r.writeByte(t)):t<65536?(r.writeByte(25|n),r.writeUint16(t)):t<4294967296?(r.writeByte(26|n),r.writeUint32(t)):(r.writeByte(27|n),r.writeUint64(t))}s.prototype={peekByte:o("peekByte"),readByte:o("readByte"),readChunk:o("readChunk"),readFloat16:function(){var e=this.readUint16(),t=(32767&e)>>10,r=1023&e,n=32768&e;if(31===t)return 0===r?n?-Infinity:Infinity:NaN;var o=t?Math.pow(2,t-25)*(1024+r):Math.pow(2,-24)*r;return n?-o:o},readFloat32:function(){var e=this.readUint32(),t=(2147483647&e)>>23,r=8388607&e,n=2147483648&e;if(255===t)return 0===r?n?-Infinity:Infinity:NaN;var o=t?Math.pow(2,t-23-127)*(8388608+r):Math.pow(2,-149)*r;return n?-o:o},readFloat64:function(){var e=this.readUint32(),t=e>>20&2047,r=4294967296*(1048575&e)+this.readUint32(),n=2147483648&e;if(2047===t)return 0===r?n?-Infinity:Infinity:NaN;var o=t?Math.pow(2,t-52-1023)*(4503599627370496+r):Math.pow(2,-1074)*r;return n?-o:o},readUint16:function(){return 256*this.readByte()+this.readByte()},readUint32:function(){return 65536*this.readUint16()+this.readUint16()},readUint64:function(){return 4294967296*this.readUint32()+this.readUint32()}},i.prototype={writeByte:o("writeByte"),result:o("result"),writeFloat16:o("writeFloat16"),writeFloat32:o("writeFloat32"),writeFloat64:o("writeFloat64"),writeUint16:function(e){this.writeByte(e>>8&255),this.writeByte(255&e)},writeUint32:function(e){this.writeUint16(e>>16&65535),this.writeUint16(65535&e)},writeUint64:function(e){if(e>=9007199254740992||e<=-9007199254740992)throw new Error("Cannot encode Uint64 of: "+e+" magnitude to big (floating point errors)");this.writeUint32(Math.floor(e/4294967296)),this.writeUint32(e%4294967296)},writeString:o("writeString"),canWriteBinary:function(e){return!1},writeBinary:o("writeChunk")};var c=new Error;function d(e){var t=function(e){var t=e.readByte();return{type:t>>5,value:31&t}}(e);switch(t.type){case 0:return a(t,e);case 1:return-1-a(t,e);case 2:return e.readChunk(a(t,e));case 3:return e.readChunk(a(t,e)).toString("utf-8");case 4:case 5:var r=a(t,e),o=[];if(null!==r){5===t.type&&(r*=2);for(var s=0;s<r;s++)o[s]=d(e)}else for(var i;(i=d(e))!==c;)o.push(i);if(5===t.type){var u={};for(s=0;s<o.length;s+=2)u[o[s]]=o[s+1];return u}return o;case 6:var f=a(t,e),l=n[f];o=d(e);return l?l(o):o;case 7:if(25===t.value)return e.readFloat16();if(26===t.value)return e.readFloat32();if(27===t.value)return e.readFloat64();switch(a(t,e)){case 20:return!1;case 21:return!0;case 22:return null;case 23:return undefined;case null:return c;default:throw new Error("Unknown fixed value: "+t.value)}default:throw new Error("Unsupported header: "+JSON.stringify(t))}throw new Error("not implemented yet")}function f(e,t){for(var n=0;n<r.length;n++){var o=r[n].fn(e);if(o!==undefined)return u(6,r[n].tag,t),f(o,t)}if(e&&"function"==typeof e.toCBOR&&(e=e.toCBOR()),!1===e)u(7,20,t);else if(!0===e)u(7,21,t);else if(null===e)u(7,22,t);else if(e===undefined)u(7,23,t);else if("number"==typeof e)Math.floor(e)===e&&e<9007199254740992&&e>-9007199254740992?e<0?u(1,-1-e,t):u(0,e,t):(!function(e,t,r){r.writeByte(e<<5|t)}(7,27,t),t.writeFloat64(e));else if("string"==typeof e)t.writeString(e,function(e){u(3,e,t)});else if(t.canWriteBinary(e))t.writeBinary(e,function(e){u(2,e,t)});else{if("object"!=typeof e)throw new Error("CBOR encoding not supported: "+e);if(m.config.useToJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),Array.isArray(e)){u(4,e.length,t);for(n=0;n<e.length;n++)f(e[n],t)}else{var s=Object.keys(e);u(5,s.length,t);for(n=0;n<s.length;n++)f(s[n],t),f(e[s[n]],t)}}}var l=[],h=[],m={config:{useToJSON:!0},addWriter:function(e,t){"string"==typeof e?h.push(function(r){if(e===r)return t(r)}):h.push(e)},addReader:function(e,t){"string"==typeof e?l.push(function(r,n){if(e===n)return t(r,n)}):l.push(e)},encode:function(e,t){for(var r=0;r<h.length;r++){var n=(0,h[r])(t);if(n)return f(e,n),n.result()}throw new Error("Unsupported output format: "+t)},decode:function(e,t){for(var r=0;r<l.length;r++){var n=(0,l[r])(e,t);if(n)return d(n)}throw new Error("Unsupported input format: "+t)},addSemanticEncode:function(e,t){if("number"!=typeof e||e%1!=0||e<0)throw new Error("Tag must be a positive integer");return r.push({tag:e,fn:t}),this},addSemanticDecode:function(e,t){if("number"!=typeof e||e%1!=0||e<0)throw new Error("Tag must be a positive integer");return n[e]=t,this},Reader:s,Writer:i};function p(e){this.buffer=e,this.pos=0}function b(t){this.byteLength=0,this.defaultBufferLength=16384,this.latestBuffer=e.alloc(this.defaultBufferLength),this.latestBufferOffset=0,this.completeBuffers=[],this.stringFormat=t}function y(e){this.hex=e,this.pos=0}function g(e){this.$hex="",this.finalFormat=e||"hex"}return p.prototype=Object.create(s.prototype),p.prototype.peekByte=function(){return this.buffer[this.pos]},p.prototype.readByte=function(){return this.buffer[this.pos++]},p.prototype.readUint16=function(){var e=this.buffer.readUInt16BE(this.pos);return this.pos+=2,e},p.prototype.readUint32=function(){var e=this.buffer.readUInt32BE(this.pos);return this.pos+=4,e},p.prototype.readFloat32=function(){var e=this.buffer.readFloatBE(this.pos);return this.pos+=4,e},p.prototype.readFloat64=function(){var e=this.buffer.readDoubleBE(this.pos);return this.pos+=8,e},p.prototype.readChunk=function(t){var r=e.alloc(t);return this.buffer.copy(r,0,this.pos,this.pos+=t),r},b.prototype=Object.create(i.prototype),b.prototype.writeByte=function(t){this.latestBuffer[this.latestBufferOffset++]=t,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=e.alloc(this.defaultBufferLength),this.latestBufferOffset=0),this.byteLength++},b.prototype.writeFloat32=function(t){var r=e.alloc(4);r.writeFloatBE(t,0),this.writeBuffer(r)},b.prototype.writeFloat64=function(t){var r=e.alloc(8);r.writeDoubleBE(t,0),this.writeBuffer(r)},b.prototype.writeString=function(t,r){var n=e.from(t,"utf-8");r(n.length),this.writeBuffer(n)},b.prototype.canWriteBinary=function(t){return t instanceof e},b.prototype.writeBinary=function(e,t){t(e.length),this.writeBuffer(e)},b.prototype.writeBuffer=function(t){if(!(t instanceof e))throw new TypeError("BufferWriter only accepts Buffers");this.latestBufferOffset?this.latestBuffer.length-this.latestBufferOffset>=t.length?(t.copy(this.latestBuffer,this.latestBufferOffset),this.latestBufferOffset+=t.length,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=e.alloc(this.defaultBufferLength),this.latestBufferOffset=0)):(this.completeBuffers.push(this.latestBuffer.slice(0,this.latestBufferOffset)),this.completeBuffers.push(t),this.latestBuffer=e.alloc(this.defaultBufferLength),this.latestBufferOffset=0):this.completeBuffers.push(t),this.byteLength+=t.length},b.prototype.result=function(){for(var t=e.alloc(this.byteLength),r=0,n=0;n<this.completeBuffers.length;n++){var o=this.completeBuffers[n];o.copy(t,r,0,o.length),r+=o.length}return this.latestBufferOffset&&this.latestBuffer.copy(t,r,0,this.latestBufferOffset),this.stringFormat?t.toString(this.stringFormat):t},"function"==typeof e&&(m.addReader(function(t,r){return t instanceof e?new p(t):"hex"===r||"base64"===r?new p(e.from(t,r)):void 0}),m.addWriter(function(e){return e&&"buffer"!==e?"hex"===e||"base64"===e?new b(e):void 0:new b})),y.prototype=Object.create(s.prototype),y.prototype.peekByte=function(){var e=this.hex.substring(this.pos,2);return parseInt(e,16)},y.prototype.readByte=function(){var e=this.hex.substring(this.pos,this.pos+2);return this.pos+=2,parseInt(e,16)},y.prototype.readChunk=function(r){var n=this.hex.substring(this.pos,this.pos+2*r);return this.pos+=2*r,"function"==typeof e?e.from(n,"hex"):new t(n)},g.prototype=Object.create(i.prototype),g.prototype.writeByte=function(e){if(e<0||e>255)throw new Error("Byte value out of range: "+e);var t=e.toString(16);1==t.length&&(t="0"+t),this.$hex+=t},g.prototype.canWriteBinary=function(r){return r instanceof t||"function"==typeof e&&r instanceof e},g.prototype.writeBinary=function(r,n){if(r instanceof t)n(r.length()),this.$hex+=r.$hex;else{if(!("function"==typeof e&&r instanceof e))throw new TypeError("HexWriter only accepts BinaryHex or Buffers");n(r.length),this.$hex+=r.toString("hex")}},g.prototype.result=function(){return"buffer"===this.finalFormat&&"function"==typeof e?e.from(this.$hex,"hex"):new t(this.$hex).toString(this.finalFormat)},g.prototype.writeString=function(e,r){var n=t.fromUtf8String(e);r(n.length()),this.$hex+=n.$hex},m.addReader(function(e,r){return e instanceof t||e.$hex?new y(e.$hex):"hex"===r?new y(e):void 0}),m.addWriter(function(e){if("hex"===e)return new g}),m}();return t.addSemanticEncode(0,function(e){if(e instanceof Date)return e.toISOString()}).addSemanticDecode(0,function(e){return new Date(e)}).addSemanticDecode(1,function(e){return new Date(e)}),t})}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@ngraveio/bc-ur>cbor-sync",file:"node_modules/cbor-sync/main.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/chalk/node_modules/supports-color/browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={stdout:!1,stderr:!1}}}},{package:"chalk>supports-color",file:"node_modules/chalk/node_modules/supports-color/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/chalk/source/index.js",{"./templates":"/home/runner/work/metamask-extension/metamask-extension/node_modules/chalk/source/templates.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/chalk/source/util.js","ansi-styles":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ansi-styles/index.js","supports-color":"/home/runner/work/metamask-extension/metamask-extension/node_modules/chalk/node_modules/supports-color/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("ansi-styles"),{stdout:o,stderr:s}=e("supports-color"),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:a}=e("./util"),{isArray:u}=Array,c=["ansi","ansi","ansi256","ansi16m"],d=Object.create(null);class f{constructor(e){return l(e)}}const l=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=o?o.level:0;e.level=t.level===undefined?r:t.level})(t,e),t.template=(...e)=>k(t.template,...e),Object.setPrototypeOf(t,h.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=f,t.template};function h(e){return l(e)}for(const[e,t]of Object.entries(n))d[e]={get(){const r=y(this,b(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};d.visible={get(){const e=y(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of m)d[e]={get(){const{level:t}=this;return function(...r){const o=b(n.color[c[t]][e](...r),n.color.close,this._styler);return y(this,o,this._isEmpty)}}};for(const e of m){d["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...r){const o=b(n.bgColor[c[t]][e](...r),n.bgColor.close,this._styler);return y(this,o,this._isEmpty)}}}}const p=Object.defineProperties(()=>{},{...d,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),b=(e,t,r)=>{let n,o;return r===undefined?(n=e,o=t):(n=r.openAll+e,o=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:o,parent:r}},y=(e,t,r)=>{const n=(...e)=>u(e[0])&&u(e[0].raw)?g(n,k(n,...e)):g(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,p),n._generator=e,n._styler=t,n._isEmpty=r,n},g=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(r===undefined)return t;const{openAll:n,closeAll:o}=r;if(-1!==t.indexOf(""))for(;r!==undefined;)t=i(t,r.close,r.open),r=r.parent;const s=t.indexOf("\n");return-1!==s&&(t=a(t,o,n,s)),n+t+o};let w;const k=(t,...r)=>{const[n]=r;if(!u(n)||!u(n.raw))return r.join(" ");const o=r.slice(1),s=[n.raw[0]];for(let e=1;e<n.length;e++)s.push(String(o[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]));return w===undefined&&(w=e("./templates")),w(t,s.join(""))};Object.defineProperties(h.prototype,d);const _=h();_.supportsColor=o,_.stderr=h({level:s?s.level:0}),_.stderr.supportsColor=s,t.exports=_}}},{package:"chalk",file:"node_modules/chalk/source/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/chalk/source/templates.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,o=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,s=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,a=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function u(e){const t="u"===e[0],r="{"===e[1];return t&&!r&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&r?String.fromCodePoint(parseInt(e.slice(2,-1),16)):a.get(e)||e}function c(e,t){const r=[],n=t.trim().split(/\s*,\s*/g);let o;for(const t of n){const n=Number(t);if(Number.isNaN(n)){if(!(o=t.match(s)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);r.push(o[2].replace(i,(e,t,r)=>t?u(t):r))}else r.push(n)}return r}function d(e){o.lastIndex=0;const t=[];let r;for(;null!==(r=o.exec(e));){const e=r[1];if(r[2]){const n=c(e,r[2]);t.push([e].concat(n))}else t.push([e])}return t}function f(e,t){const r={};for(const e of t)for(const t of e.styles)r[t[0]]=e.inverse?null:t.slice(1);let n=e;for(const[e,t]of Object.entries(r))if(Array.isArray(t)){if(!(e in n))throw new Error(`Unknown Chalk style: ${e}`);n=t.length>0?n[e](...t):n[e]}return n}t.exports=(e,t)=>{const r=[],o=[];let s=[];if(t.replace(n,(t,n,i,a,c,l)=>{if(n)s.push(u(n));else if(a){const t=s.join("");s=[],o.push(0===r.length?t:f(e,r)(t)),r.push({inverse:i,styles:d(a)})}else if(c){if(0===r.length)throw new Error("Found extraneous } in Chalk template literal");o.push(f(e,r)(s.join(""))),s=[],r.pop()}else s.push(l)}),o.push(s.join("")),r.length>0){const e=`Chalk template literal is missing ${r.length} closing bracket${1===r.length?"":"s"} (\`}\`)`;throw new Error(e)}return o.join("")}}}},{package:"chalk",file:"node_modules/chalk/source/templates.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/chalk/source/util.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={stringReplaceAll:(e,t,r)=>{let n=e.indexOf(t);if(-1===n)return e;const o=t.length;let s=0,i="";do{i+=e.substr(s,n-s)+t+r,s=n+o,n=e.indexOf(t,s)}while(-1!==n);return i+=e.substr(s),i},stringEncaseCRLFWithFirstIndex:(e,t,r,n)=>{let o=0,s="";do{const i="\r"===e[n-1];s+=e.substr(o,(i?n-1:n)-o)+t+(i?"\r\n":"\n")+r,o=n+1,n=e.indexOf("\n",o)}while(-1!==n);return s+=e.substr(o),s}}}}},{package:"chalk",file:"node_modules/chalk/source/util.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cipher-base/index.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",stream:"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/index.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,r){var n=e("safe-buffer").Buffer,o=e("stream").Transform,s=e("string_decoder").StringDecoder;function i(e){o.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}e("inherits")(i,o);var a="undefined"!=typeof Uint8Array,u="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&ArrayBuffer.isView&&(n.prototype instanceof Uint8Array||n.TYPED_ARRAY_SUPPORT);i.prototype.update=function(e,t,r){var o=function(e,t){if(e instanceof n)return e;if("string"==typeof e)return n.from(e,t);if(u&&ArrayBuffer.isView(e)){if(0===e.byteLength)return n.alloc(0);var r=n.from(e.buffer,e.byteOffset,e.byteLength);if(r.byteLength===e.byteLength)return r}if(a&&e instanceof Uint8Array)return n.from(e);if(n.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return n.from(e);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}(e,t),s=this._update(o);return this.hashMode?this:(r&&(s=this._toString(s,r)),s)},i.prototype.setAutoPadding=function(){},i.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},i.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},i.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},i.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},i.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},i.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},i.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new s(t),this._encoding=t),this._encoding!==t)throw new Error("can’t switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},t.exports=i}}},{package:"ethereumjs-util>create-hash>cipher-base",file:"node_modules/cipher-base/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/classnames/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!function(){var e={}.hasOwnProperty;function r(){for(var t=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var s=typeof o;if("string"===s||"number"===s)t.push(o);else if(Array.isArray(o)&&o.length){var i=r.apply(null,o);i&&t.push(i)}else if("object"===s)for(var a in o)e.call(o,a)&&o[a]&&t.push(a)}}return t.join(" ")}void 0!==t&&t.exports?(r.default=r,t.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return r}):window.classNames=r}()}}},{package:"classnames",file:"node_modules/classnames/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/clone/clone.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,r){(function(e){(function(){var r=function(){function t(r,o,s,i){"object"==typeof o&&(s=o.depth,i=o.prototype,o.filter,o=o.circular);var a=[],u=[],c=void 0!==e;return void 0===o&&(o=!0),void 0===s&&(s=Infinity),function r(s,d){if(null===s)return null;if(0==d)return s;var f,l;if("object"!=typeof s)return s;if(t.__isArray(s))f=[];else if(t.__isRegExp(s))f=new RegExp(s.source,n(s)),s.lastIndex&&(f.lastIndex=s.lastIndex);else if(t.__isDate(s))f=new Date(s.getTime());else{if(c&&e.isBuffer(s))return f=new e(s.length),s.copy(f),f;void 0===i?(l=Object.getPrototypeOf(s),f=Object.create(l)):(f=Object.create(i),l=i)}if(o){var h=a.indexOf(s);if(-1!=h)return u[h];a.push(s),u.push(f)}for(var m in s){var p;l&&(p=Object.getOwnPropertyDescriptor(l,m)),p&&null==p.set||(f[m]=r(s[m],d-1))}return f}(r,s)}function r(e){return Object.prototype.toString.call(e)}function n(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return t.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},t.__objToStr=r,t.__isDate=function(e){return"object"==typeof e&&"[object Date]"===r(e)},t.__isArray=function(e){return"object"==typeof e&&"[object Array]"===r(e)},t.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===r(e)},t.__getRegExpFlags=n,t}();"object"==typeof t&&t.exports&&(t.exports=r)}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/jazzicon>color>clone",file:"node_modules/clone/clone.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/BulkheadPolicy.js",{"./common/Event":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Event.js","./common/Executor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Executor.js","./common/abort":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/abort.js","./common/defer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/defer.js","./errors/BulkheadRejectedError":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/BulkheadRejectedError.js","./errors/Errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/Errors.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BulkheadPolicy=void 0;const n=e("./common/abort"),o=e("./common/defer"),s=e("./common/Event"),i=e("./common/Executor"),a=e("./errors/BulkheadRejectedError"),u=e("./errors/Errors");r.BulkheadPolicy=class{constructor(e,t){this.capacity=e,this.queueCapacity=t,this.active=0,this.queue=[],this.onRejectEmitter=new s.EventEmitter,this.executor=new i.ExecuteWrapper,this.onSuccess=this.executor.onSuccess,this.onFailure=this.executor.onFailure,this.onReject=this.onRejectEmitter.addListener}get executionSlots(){return this.capacity-this.active}get queueSlots(){return this.queueCapacity-this.queue.length}async execute(e,t=n.neverAbortedSignal){if(t.aborted)throw new u.TaskCancelledError;if(this.active<this.capacity){this.active++;try{return await e({signal:t})}finally{this.active--,this.dequeue()}}if(this.queue.length<this.queueCapacity){const{resolve:r,reject:n,promise:s}=(0,o.defer)();return this.queue.push({signal:t,fn:e,resolve:r,reject:n}),s}throw this.onRejectEmitter.emit(),new a.BulkheadRejectedError(this.capacity,this.queueCapacity)}dequeue(){const e=this.queue.shift();e&&Promise.resolve().then(()=>this.execute(e.fn,e.signal)).then(e.resolve).catch(e.reject)}}}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/BulkheadPolicy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/CircuitBreakerPolicy.js",{"./common/Event":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Event.js","./common/Executor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Executor.js","./common/abort":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/abort.js","./errors/Errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/Errors.js","./errors/IsolatedCircuitError":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/IsolatedCircuitError.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CircuitBreakerPolicy=r.CircuitState=void 0;const n=e("./common/abort"),o=e("./common/Event"),s=e("./common/Executor"),i=e("./errors/Errors"),a=e("./errors/IsolatedCircuitError");var u;!function(e){e[e.Closed=0]="Closed",e[e.Open=1]="Open",e[e.HalfOpen=2]="HalfOpen",e[e.Isolated=3]="Isolated"}(u=r.CircuitState||(r.CircuitState={}));r.CircuitBreakerPolicy=class{constructor(e,t){this.options=e,this.executor=t,this.breakEmitter=new o.EventEmitter,this.resetEmitter=new o.EventEmitter,this.halfOpenEmitter=new o.EventEmitter,this.stateChangeEmitter=new o.EventEmitter,this.innerState={value:u.Closed},this.onBreak=this.breakEmitter.addListener,this.onReset=this.resetEmitter.addListener,this.onHalfOpen=this.halfOpenEmitter.addListener,this.onStateChange=this.stateChangeEmitter.addListener,this.onSuccess=this.executor.onSuccess,this.onFailure=this.executor.onFailure}get state(){return this.innerState.value}get lastFailure(){return this.innerLastFailure}isolate(){this.innerState.value!==u.Isolated&&(this.innerState={value:u.Isolated,counters:0},this.breakEmitter.emit({isolated:!0}),this.stateChangeEmitter.emit(u.Isolated)),this.innerState.counters++;let e=!1;return{dispose:()=>{e||(e=!0,this.innerState.value!==u.Isolated||--this.innerState.counters||(this.innerState={value:u.Closed},this.resetEmitter.emit(),this.stateChangeEmitter.emit(u.Closed)))}}}async execute(e,t=n.neverAbortedSignal){const r=this.innerState;switch(r.value){case u.Closed:const n=await this.executor.invoke(e,{signal:t});return"success"in n?this.options.breaker.success(r.value):(this.innerLastFailure=n,this.options.breaker.failure(r.value)&&this.open(n)),(0,s.returnOrThrow)(n);case u.HalfOpen:if(await r.test.catch(()=>undefined),this.state===u.Closed&&t.aborted)throw new i.TaskCancelledError;return this.execute(e);case u.Open:if(Date.now()-r.openedAt<this.options.halfOpenAfter)throw new i.BrokenCircuitError;const o=this.halfOpen(e,t);return this.innerState={value:u.HalfOpen,test:o},this.stateChangeEmitter.emit(u.HalfOpen),o;case u.Isolated:throw new a.IsolatedCircuitError;default:throw new Error(`Unexpected circuit state ${r}`)}}async halfOpen(e,t){this.halfOpenEmitter.emit();try{const r=await this.executor.invoke(e,{signal:t});return"success"in r?(this.options.breaker.success(u.HalfOpen),this.close()):(this.innerLastFailure=r,this.options.breaker.failure(u.HalfOpen),this.open(r)),(0,s.returnOrThrow)(r)}catch(e){throw this.close(),e}}open(e){this.state!==u.Isolated&&this.state!==u.Open&&(this.innerState={value:u.Open,openedAt:Date.now()},this.breakEmitter.emit(e),this.stateChangeEmitter.emit(u.Open))}close(){this.state===u.HalfOpen&&(this.innerState={value:u.Closed},this.resetEmitter.emit(),this.stateChangeEmitter.emit(u.Closed))}}}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/CircuitBreakerPolicy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/FallbackPolicy.js",{"./common/abort":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/abort.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FallbackPolicy=void 0;const n=e("./common/abort");r.FallbackPolicy=class{constructor(e,t){this.executor=e,this.value=t,this.onSuccess=this.executor.onSuccess,this.onFailure=this.executor.onFailure}async execute(e,t=n.neverAbortedSignal){const r=await this.executor.invoke(e,{signal:t});return"success"in r?r.success:this.value()}}}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/FallbackPolicy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/NoopPolicy.js",{"./common/Executor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Executor.js","./common/abort":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/abort.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.NoopPolicy=void 0;const n=e("./common/abort"),o=e("./common/Executor");r.NoopPolicy=class{constructor(){this.executor=new o.ExecuteWrapper,this.onSuccess=this.executor.onSuccess,this.onFailure=this.executor.onFailure}async execute(e,t=n.neverAbortedSignal){return(0,o.returnOrThrow)(await this.executor.invoke(e,{signal:t}))}}}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/NoopPolicy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/Policy.js",{"./BulkheadPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/BulkheadPolicy.js","./CircuitBreakerPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/CircuitBreakerPolicy.js","./FallbackPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/FallbackPolicy.js","./NoopPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/NoopPolicy.js","./RetryPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/RetryPolicy.js","./TimeoutPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/TimeoutPolicy.js","./backoff/Backoff":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/Backoff.js","./common/Executor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Executor.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.fallback=r.circuitBreaker=r.retry=r.wrap=r.timeout=r.usePolicy=r.bulkhead=r.handleWhenResult=r.handleResultType=r.handleWhen=r.handleType=r.handleAll=r.noop=r.Policy=void 0;const n=e("./backoff/Backoff"),o=e("./BulkheadPolicy"),s=e("./CircuitBreakerPolicy"),i=e("./common/Executor"),a=e("./FallbackPolicy"),u=e("./NoopPolicy"),c=e("./RetryPolicy"),d=e("./TimeoutPolicy"),f=(e,t)=>t?r=>r instanceof e&&t(r):t=>t instanceof e,l=()=>!1;class h{constructor(e){this.options=e}orType(e,t){const r=f(e,t);return new h({...this.options,errorFilter:e=>this.options.errorFilter(e)||r(e)})}orWhen(e){return new h({...this.options,errorFilter:t=>this.options.errorFilter(t)||e(t)})}orWhenResult(e){return new h({...this.options,resultFilter:t=>this.options.resultFilter(t)||e(t)})}orResultType(e,t){const r=f(e,t);return new h({...this.options,resultFilter:e=>this.options.resultFilter(e)||r(e)})}}r.Policy=h,r.noop=new u.NoopPolicy,r.handleAll=new h({errorFilter:()=>!0,resultFilter:l}),r.handleType=function(e,t){return new h({errorFilter:f(e,t),resultFilter:l})},r.handleWhen=function(e){return new h({errorFilter:e,resultFilter:l})},r.handleResultType=function(e,t){return new h({errorFilter:l,resultFilter:f(e,t)})},r.handleWhenResult=function(e){return new h({errorFilter:l,resultFilter:e})},r.bulkhead=function(e,t=0){return new o.BulkheadPolicy(e,t)},r.usePolicy=function(e){return(t,r,n)=>{const o=n.value;if("function"!=typeof o)throw new Error("Can only decorate functions with @cockatiel, got "+typeof o);n.value=function(...t){const r=t[t.length-1]instanceof AbortSignal?t.pop():undefined;return e.execute(e=>o.apply(this,[...t,e]),r)}}},r.timeout=function(e,t){return new d.TimeoutPolicy(e,"string"==typeof t?{strategy:t}:t)},r.wrap=function(...e){return{_altReturn:undefined,onFailure:e[0].onFailure,onSuccess:e[0].onSuccess,wrapped:e,execute(t,r){const n=(r,o)=>o===e.length?t(r):e[o].execute(e=>n({...r,...e},o+1),r.signal);return Promise.resolve(n({signal:r},0))}}},r.retry=function(e,t){return new c.RetryPolicy({backoff:t.backoff||new n.ConstantBackoff(0),maxAttempts:t.maxAttempts??Infinity},new i.ExecuteWrapper(e.options.errorFilter,e.options.resultFilter))},r.circuitBreaker=function(e,t){return new s.CircuitBreakerPolicy(t,new i.ExecuteWrapper(e.options.errorFilter,e.options.resultFilter))},r.fallback=function(e,t){return new a.FallbackPolicy(new i.ExecuteWrapper(e.options.errorFilter,e.options.resultFilter),"function"==typeof t?t:()=>t)}}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/Policy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/RetryPolicy.js",{"./backoff/ConstantBackoff":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/ConstantBackoff.js","./common/Event":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Event.js","./common/abort":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/abort.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.RetryPolicy=void 0;const n=e("./backoff/ConstantBackoff"),o=e("./common/abort"),s=e("./common/Event"),i=(e,t)=>new Promise(r=>{const n=setTimeout(r,e);t&&n.unref()});class a{constructor(e,t){this.options=e,this.executor=t,this.onGiveUpEmitter=new s.EventEmitter,this.onRetryEmitter=new s.EventEmitter,this.onSuccess=this.executor.onSuccess,this.onFailure=this.executor.onFailure,this.onRetry=this.onRetryEmitter.addListener,this.onGiveUp=this.onGiveUpEmitter.addListener}dangerouslyUnref(){return new a({...this.options,unref:!0},this.executor.clone())}async execute(e,t=o.neverAbortedSignal){const r=this.options.backoff||new n.ConstantBackoff(0);let s;for(let n=0;;n++){const o=await this.executor.invoke(e,{attempt:n,signal:t});if("success"in o)return o.success;if(!t.aborted&&n<this.options.maxAttempts){const e={attempt:n+1,signal:t,result:o};s=s?s.next(e):r.next(e);const a=s.duration,u=i(a,!!this.options.unref);this.onRetryEmitter.emit({...o,delay:a}),await u;continue}if(this.onGiveUpEmitter.emit(o),"error"in o)throw o.error;return o.value}}}r.RetryPolicy=a}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/RetryPolicy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/TimeoutPolicy.js",{"./common/Event":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Event.js","./common/Executor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Executor.js","./common/abort":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/abort.js","./errors/TaskCancelledError":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/TaskCancelledError.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TimeoutPolicy=r.TimeoutStrategy=void 0;const n=e("./common/abort"),o=e("./common/Event"),s=e("./common/Executor"),i=e("./errors/TaskCancelledError");var a;!function(e){e.Cooperative="optimistic",e.Aggressive="aggressive"}(a=r.TimeoutStrategy||(r.TimeoutStrategy={}));class u{constructor(e,t,r=new s.ExecuteWrapper,n=!1){this.duration=e,this.options=t,this.executor=r,this.unref=n,this.timeoutEmitter=new o.EventEmitter,this.onTimeout=this.timeoutEmitter.addListener,this.onFailure=this.executor.onFailure,this.onSuccess=this.executor.onSuccess}dangerouslyUnref(){return new u(this.duration,this.options,this.executor,!0)}async execute(e,t){const r=(0,n.deriveAbortController)(t),u=setTimeout(()=>r.abort(),this.duration);this.unref&&u.unref();const c={signal:r.signal},d=(0,o.onAbort)(r.signal),f=d(()=>this.timeoutEmitter.emit());try{return this.options.strategy===a.Cooperative?(0,s.returnOrThrow)(await this.executor.invoke(e,c,r.signal)):await this.executor.invoke(async()=>Promise.race([Promise.resolve(e(c,r.signal)),o.Event.toPromise(d).then(()=>{throw new i.TaskCancelledError(`Operation timed out after ${this.duration}ms`)})])).then(s.returnOrThrow)}finally{f.dispose(),!1!==this.options.abortOnReturn&&r.abort(),clearTimeout(u)}}}r.TimeoutPolicy=u}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/TimeoutPolicy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/Backoff.js",{"./ConstantBackoff":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/ConstantBackoff.js","./DelegateBackoff":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/DelegateBackoff.js","./ExponentialBackoff":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/ExponentialBackoff.js","./ExponentialBackoffGenerators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/ExponentialBackoffGenerators.js","./IterableBackoff":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/IterableBackoff.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),o(e("./ConstantBackoff"),r),o(e("./DelegateBackoff"),r),o(e("./ExponentialBackoff"),r),o(e("./ExponentialBackoffGenerators"),r),o(e("./IterableBackoff"),r)}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/backoff/Backoff.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/ConstantBackoff.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ConstantBackoff=void 0;r.ConstantBackoff=class{constructor(e){this.interval=e}next(){return n(this.interval)}};const n=e=>({duration:e,next(){return this}})}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/backoff/ConstantBackoff.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/DelegateBackoff.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DelegateBackoff=void 0;r.DelegateBackoff=class{constructor(e){this.fn=e}next(e){return n(this.fn).next(e)}};const n=(e,t,r=0)=>({duration:r,next(r){const o=e(r,t);return"number"==typeof o?n(e,t,o):n(e,o.state,o.delay)}})}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/backoff/DelegateBackoff.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/ExponentialBackoff.js",{"./ExponentialBackoffGenerators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/ExponentialBackoffGenerators.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ExponentialBackoff=void 0;const n={generator:e("./ExponentialBackoffGenerators").decorrelatedJitterGenerator,maxDelay:3e4,exponent:2,initialDelay:128};r.ExponentialBackoff=class{constructor(e){this.options=e?{...n,...e}:n}next(){return o(this.options).next(undefined)}};const o=(e,t,r=0,n=-1)=>({duration:r,next(){const[r,s]=e.generator(t,e);return o(e,s,r,n+1)}})}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/backoff/ExponentialBackoff.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/ExponentialBackoffGenerators.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.decorrelatedJitterGenerator=r.halfJitterGenerator=r.fullJitterGenerator=r.noJitterGenerator=void 0;r.noJitterGenerator=(e=0,t)=>[Math.min(t.maxDelay,t.initialDelay*2**e),e+1];r.fullJitterGenerator=(e,t)=>{const[n,o]=(0,r.noJitterGenerator)(e,t);return[Math.floor(Math.random()*n),o]};r.halfJitterGenerator=(e,t)=>{const[n,o]=(0,r.noJitterGenerator)(e,t);return[Math.floor((n+Math.random()*n)/2),o]};const n=1/1.4;r.decorrelatedJitterGenerator=(e,t)=>{const[r,o]=e||[0,0],s=r+Math.random(),i=Math.pow(t.exponent,s)*Math.tanh(Math.sqrt(4*s)),a=Math.max(0,i-o);return[Math.min(a*n*t.initialDelay,t.maxDelay),[r+1,i]]}}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/backoff/ExponentialBackoffGenerators.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/IterableBackoff.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.IterableBackoff=void 0;r.IterableBackoff=class{constructor(e){this.durations=e}next(){return n(this.durations,0)}};const n=(e,t)=>({duration:e[t],next(){return t===e.length-1?this:n(e,t+1)}})}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/backoff/IterableBackoff.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/breaker/Breaker.js",{"./ConsecutiveBreaker":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/breaker/ConsecutiveBreaker.js","./SamplingBreaker":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/breaker/SamplingBreaker.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),o(e("./SamplingBreaker"),r),o(e("./ConsecutiveBreaker"),r)}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/breaker/Breaker.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/breaker/ConsecutiveBreaker.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ConsecutiveBreaker=void 0;r.ConsecutiveBreaker=class{constructor(e){this.threshold=e,this.count=0}success(){this.count=0}failure(){return++this.count>=this.threshold}}}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/breaker/ConsecutiveBreaker.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/breaker/SamplingBreaker.js",{"../CircuitBreakerPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/CircuitBreakerPolicy.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SamplingBreaker=void 0;const n=e("../CircuitBreakerPolicy");r.SamplingBreaker=class{constructor({threshold:e,duration:t,minimumRps:r}){if(this.windows=[],this.currentWindow=0,this.currentFailures=0,this.currentSuccesses=0,e<=0||e>=1)throw new RangeError(`SamplingBreaker threshold should be between (0, 1), got ${e}`);this.threshold=e;const n=Math.max(5,Math.ceil(t/1e3));for(let e=0;e<n;e++)this.windows.push({startedAt:0,failures:0,successes:0});this.windowSize=Math.round(t/n),this.duration=this.windowSize*n,this.minimumRpms=r?r/1e3:5/(1e3*e)}success(e){e===n.CircuitState.HalfOpen&&this.resetWindows(),this.push(!0)}failure(e){if(this.push(!1),e!==n.CircuitState.Closed)return!0;const t=this.currentSuccesses+this.currentFailures;return!(t<this.duration*this.minimumRpms)&&this.currentFailures>this.threshold*t}resetWindows(){this.currentFailures=0,this.currentSuccesses=0;for(const e of this.windows)e.failures=0,e.successes=0,e.startedAt=0}rotateWindow(e){const t=(this.currentWindow+1)%this.windows.length;this.currentFailures-=this.windows[t].failures,this.currentSuccesses-=this.windows[t].successes;const r=this.windows[t]={failures:0,successes:0,startedAt:e};return this.currentWindow=t,r}push(e){const t=Date.now();let r=this.windows[this.currentWindow];t-r.startedAt>=this.windowSize&&(r=this.rotateWindow(t)),e?(r.successes++,this.currentSuccesses++):(r.failures++,this.currentFailures++)}}}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/breaker/SamplingBreaker.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Event.js",{"../errors/TaskCancelledError":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/TaskCancelledError.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MemorizingEventEmitter=r.EventEmitter=r.onAbort=r.Event=r.noopDisposable=void 0;const n=e("../errors/TaskCancelledError");r.noopDisposable={dispose:()=>undefined},function(e){e.once=(e,t)=>{let n,o=!1;return n=e(e=>{t(e),n?n.dispose():o=!0}),o?(n.dispose(),r.noopDisposable):n},e.toPromise=(t,o)=>o?o.aborted?Promise.reject(new n.TaskCancelledError):new Promise((s,i)=>{const a=(0,r.onAbort)(o)(()=>{u.dispose(),i(new n.TaskCancelledError)}),u=e.once(t,e=>{a.dispose(),s(e)})}):new Promise(r=>e.once(t,r))}(r.Event||(r.Event={}));r.onAbort=e=>{const t=new s;if(e.aborted)return t.emit(),t.addListener;const r=()=>{t.emit(),e.removeEventListener("abort",r)};return e.addEventListener("abort",r),t.addListener};class o{constructor(){this.addListener=e=>this.addListenerInner(e)}get size(){return this.listeners?"function"==typeof this.listeners?1:this.listeners.length:0}emit(e){if(this.listeners)if("function"==typeof this.listeners)this.listeners(e);else for(const t of this.listeners)t(e);else;}addListenerInner(e){return this.listeners?"function"==typeof this.listeners?this.listeners=[this.listeners,e]:this.listeners.push(e):this.listeners=e,{dispose:()=>this.removeListener(e)}}removeListener(e){if(!this.listeners)return;if("function"==typeof this.listeners)return void(this.listeners===e&&(this.listeners=undefined));const t=this.listeners.indexOf(e);-1!==t&&(2===this.listeners.length?this.listeners=0===t?this.listeners[1]:this.listeners[0]:this.listeners=this.listeners.slice(0,t).concat(this.listeners.slice(t+1)))}}r.EventEmitter=o;r.MemorizingEventEmitter=class extends o{constructor(){super(...arguments),this.addListener=e=>{const t=this.addListenerInner(e);return this.lastValue&&e(this.lastValue.value),t}}get hasEmitted(){return!!this.lastValue}emit(e){this.lastValue={value:e},super.emit(e)}};class s extends o{constructor(){super(...arguments),this.addListener=e=>this.lastValue?(e(this.lastValue.value),r.noopDisposable):this.addListenerInner(e)}emit(e){this.lastValue={value:e},super.emit(e),this.listeners=undefined}}}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/common/Event.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Executor.js",{"./Event":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Event.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,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.ExecuteWrapper=r.returnOrThrow=void 0;const n=e("./Event");r.returnOrThrow=e=>{if("error"in e)throw e.error;return"success"in e?e.success:e.value};class o{constructor(e=()=>!1,t=()=>!1){this.errorFilter=e,this.resultFilter=t,this.successEmitter=new n.EventEmitter,this.failureEmitter=new n.EventEmitter,this.onSuccess=this.successEmitter.addListener,this.onFailure=this.failureEmitter.addListener}clone(){return new o(this.errorFilter,this.resultFilter)}async invoke(e,...r){const n=this.successEmitter.size||this.failureEmitter.size?(()=>{if("undefined"!=typeof performance){const e=performance.now();return()=>performance.now()-e}{const e=t.hrtime.bigint();return()=>Number(t.hrtime.bigint()-e)/1e6}})():null;try{const t=await e(...r);return this.resultFilter(t)?(n&&this.failureEmitter.emit({duration:n(),handled:!0,reason:{value:t}}),{value:t}):(n&&this.successEmitter.emit({duration:n()}),{success:t})}catch(e){const t=e,r=this.errorFilter(t);if(n&&this.failureEmitter.emit({duration:n(),handled:r,reason:{error:t}}),!r)throw t;return{error:t}}}}r.ExecuteWrapper=o}).call(this)}).call(this,e("_process"))}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/common/Executor.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/abort.js",{"./Event":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Event.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.deriveAbortController=r.abortedSignal=r.neverAbortedSignal=void 0;const n=e("./Event");r.neverAbortedSignal=(new AbortController).signal;const o=new AbortController;o.abort(),r.abortedSignal=o.signal;r.deriveAbortController=e=>{const t=new AbortController;if(!e)return t;if(e.aborted&&t.abort(),e!==r.neverAbortedSignal){const r=new WeakRef(t);(0,n.onAbort)(e)(()=>r.deref()?.abort())}return t}}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/common/abort.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/defer.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.defer=void 0;r.defer=()=>{let e,t;const r=new Promise((r,n)=>{e=r,t=n});return{resolve:e,reject:t,promise:r}}}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/common/defer.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/BrokenCircuitError.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BrokenCircuitError=void 0;class n extends Error{constructor(e="Execution prevented because the circuit breaker is open"){super(e),this.isBrokenCircuitError=!0}}r.BrokenCircuitError=n}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/errors/BrokenCircuitError.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/BulkheadRejectedError.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BulkheadRejectedError=void 0;class n extends Error{constructor(e,t){super(`Bulkhead capacity exceeded (0/${e} execution slots, 0/${t} available)`),this.isBulkheadRejectedError=!0}}r.BulkheadRejectedError=n}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/errors/BulkheadRejectedError.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/Errors.js",{"./BrokenCircuitError":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/BrokenCircuitError.js","./BulkheadRejectedError":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/BulkheadRejectedError.js","./IsolatedCircuitError":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/IsolatedCircuitError.js","./TaskCancelledError":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/TaskCancelledError.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.isTaskCancelledError=r.isIsolatedCircuitError=r.isBulkheadRejectedError=r.isBrokenCircuitError=void 0,o(e("./BrokenCircuitError"),r),o(e("./BulkheadRejectedError"),r),o(e("./IsolatedCircuitError"),r),o(e("./TaskCancelledError"),r);r.isBrokenCircuitError=e=>!!e&&e instanceof Error&&"isBrokenCircuitError"in e;r.isBulkheadRejectedError=e=>!!e&&e instanceof Error&&"isBulkheadRejectedError"in e;r.isIsolatedCircuitError=e=>!!e&&e instanceof Error&&"isBulkheadRejectedError"in e;r.isTaskCancelledError=e=>!!e&&e instanceof Error&&"isBulkheadRejectedError"in e}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/errors/Errors.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/IsolatedCircuitError.js",{"./BrokenCircuitError":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/BrokenCircuitError.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.IsolatedCircuitError=void 0;const n=e("./BrokenCircuitError");class o extends n.BrokenCircuitError{constructor(){super("Execution prevented because the circuit breaker is open"),this.isIsolatedCircuitError=!0}}r.IsolatedCircuitError=o}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/errors/IsolatedCircuitError.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/TaskCancelledError.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TaskCancelledError=void 0;class n extends Error{constructor(e="Operation cancelled"){super(e),this.message=e,this.isTaskCancelledError=!0}}r.TaskCancelledError=n}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/errors/TaskCancelledError.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/index.js",{"./BulkheadPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/BulkheadPolicy.js","./CircuitBreakerPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/CircuitBreakerPolicy.js","./FallbackPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/FallbackPolicy.js","./NoopPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/NoopPolicy.js","./Policy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/Policy.js","./RetryPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/RetryPolicy.js","./TimeoutPolicy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/TimeoutPolicy.js","./backoff/Backoff":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/backoff/Backoff.js","./breaker/Breaker":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/breaker/Breaker.js","./common/Event":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/common/Event.js","./errors/Errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cockatiel/dist/errors/Errors.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.EventEmitter=r.Event=void 0,o(e("./backoff/Backoff"),r),o(e("./breaker/Breaker"),r),o(e("./BulkheadPolicy"),r),o(e("./CircuitBreakerPolicy"),r);var s=e("./common/Event");Object.defineProperty(r,"Event",{enumerable:!0,get:function(){return s.Event}}),Object.defineProperty(r,"EventEmitter",{enumerable:!0,get:function(){return s.EventEmitter}}),o(e("./errors/Errors"),r),o(e("./FallbackPolicy"),r),o(e("./NoopPolicy"),r),o(e("./Policy"),r),o(e("./RetryPolicy"),r),o(e("./TimeoutPolicy"),r)}}},{package:"cockatiel",file:"node_modules/cockatiel/dist/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/color-convert/conversions.js",{"color-name":"/home/runner/work/metamask-extension/metamask-extension/node_modules/color-name/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("color-name"),o={};for(const e of Object.keys(n))o[n[e]]=e;const s={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=s;for(const e of Object.keys(s)){if(!("channels"in s[e]))throw new Error("missing channels property: "+e);if(!("labels"in s[e]))throw new Error("missing channel labels property: "+e);if(s[e].labels.length!==s[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=s[e];delete s[e].channels,delete s[e].labels,Object.defineProperty(s[e],"channels",{value:t}),Object.defineProperty(s[e],"labels",{value:r})}function i(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}s.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(t,r,n),s=Math.max(t,r,n),i=s-o;let a,u;s===o?a=0:t===s?a=(r-n)/i:r===s?a=2+(n-t)/i:n===s&&(a=4+(t-r)/i),a=Math.min(60*a,360),a<0&&(a+=360);const c=(o+s)/2;return u=s===o?0:c<=.5?i/(s+o):i/(2-s-o),[a,100*u,100*c]},s.rgb.hsv=function(e){let t,r,n,o,s;const i=e[0]/255,a=e[1]/255,u=e[2]/255,c=Math.max(i,a,u),d=c-Math.min(i,a,u),f=function(e){return(c-e)/6/d+.5};return 0===d?(o=0,s=0):(s=d/c,t=f(i),r=f(a),n=f(u),i===c?o=n-r:a===c?o=1/3+t-n:u===c&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*s,100*c]},s.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const o=s.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[o,100*i,100*n]},s.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(1-t,1-r,1-n);return[100*((1-t-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*o]},s.rgb.keyword=function(e){const t=o[e];if(t)return t;let r,s=Infinity;for(const t of Object.keys(n)){const o=i(e,n[t]);o<s&&(s=o,r=t)}return r},s.keyword.rgb=function(e){return n[e]},s.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;return[100*(.4124*t+.3576*r+.1805*n),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},s.rgb.lab=function(e){const t=s.rgb.xyz(e);let r=t[0],n=t[1],o=t[2];r/=95.047,n/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*n-16,500*(r-n),200*(n-o)]},s.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let o,s,i;if(0===r)return i=255*n,[i,i,i];o=n<.5?n*(1+r):n+r-n*r;const a=2*n-o,u=[0,0,0];for(let e=0;e<3;e++)s=t+1/3*-(e-1),s<0&&s++,s>1&&s--,i=6*s<1?a+6*(o-a)*s:2*s<1?o:3*s<2?a+(o-a)*(2/3-s)*6:a,u[e]=255*i;return u},s.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,o=r;const s=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,o*=s<=1?s:2-s;return[t,100*(0===n?2*o/(s+o):2*r/(n+r)),100*((n+r)/2)]},s.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const o=Math.floor(t)%6,s=t-Math.floor(t),i=255*n*(1-r),a=255*n*(1-r*s),u=255*n*(1-r*(1-s));switch(n*=255,o){case 0:return[n,u,i];case 1:return[a,n,i];case 2:return[i,n,u];case 3:return[i,a,n];case 4:return[u,i,n];case 5:return[n,i,a]}},s.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,o=Math.max(n,.01);let s,i;i=(2-r)*n;const a=(2-r)*o;return s=r*o,s/=a<=1?a:2-a,s=s||0,i/=2,[t,100*s,100*i]},s.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const o=r+n;let s;o>1&&(r/=o,n/=o);const i=Math.floor(6*t),a=1-n;s=6*t-i,1&i&&(s=1-s);const u=r+s*(a-r);let c,d,f;switch(i){default:case 6:case 0:c=a,d=u,f=r;break;case 1:c=u,d=a,f=r;break;case 2:c=r,d=a,f=u;break;case 3:c=r,d=u,f=a;break;case 4:c=u,d=r,f=a;break;case 5:c=a,d=r,f=u}return[255*c,255*d,255*f]},s.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o))]},s.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let o,s,i;return o=3.2406*t+-1.5372*r+-.4986*n,s=-.9689*t+1.8758*r+.0415*n,i=.0557*t+-.204*r+1.057*n,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),i=Math.min(Math.max(0,i),1),[255*o,255*s,255*i]},s.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*r-16,500*(t-r),200*(r-n)]},s.lab.xyz=function(e){let t,r,n;r=(e[0]+16)/116,t=e[1]/500+r,n=r-e[2]/200;const o=r**3,s=t**3,i=n**3;return r=o>.008856?o:(r-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=i>.008856?i:(n-16/116)/7.787,t*=95.047,r*=100,n*=108.883,[t,r,n]},s.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let o;o=360*Math.atan2(n,r)/2/Math.PI,o<0&&(o+=360);return[t,Math.sqrt(r*r+n*n),o]},s.lch.lab=function(e){const t=e[0],r=e[1],n=e[2]/360*2*Math.PI;return[t,r*Math.cos(n),r*Math.sin(n)]},s.rgb.ansi16=function(e,t=null){const[r,n,o]=e;let i=null===t?s.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let a=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return 2===i&&(a+=60),a},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},s.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},s.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},s.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},s.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];3===t[0].length&&(r=r.split("").map(e=>e+e).join(""));const n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},s.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.max(Math.max(t,r),n),s=Math.min(Math.min(t,r),n),i=o-s;let a,u;return a=i<1?s/(1-i):0,u=i<=0?0:o===t?(r-n)/i%6:o===r?2+(n-t)/i:4+(t-r)/i,u/=6,u%=1,[360*u,100*i,100*a]},s.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let o=0;return n<1&&(o=(r-.5*n)/(1-n)),[e[0],100*n,100*o]},s.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let o=0;return n<1&&(o=(r-n)/(1-n)),[e[0],100*n,100*o]},s.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];const o=[0,0,0],s=t%1*6,i=s%1,a=1-i;let u=0;switch(Math.floor(s)){case 0:o[0]=1,o[1]=i,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=i;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=i,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return u=(1-r)*n,[255*(r*o[0]+u),255*(r*o[1]+u),255*(r*o[2]+u)]},s.hcg.hsv=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);let n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},s.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},s.hcg.hwb=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},s.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,n=r-t;let o=0;return n<1&&(o=(r-n)/(1-n)),[e[0],100*n,100*o]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=function(e){return[0,0,e[0]]},s.gray.hsv=s.gray.hsl,s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}},{package:"chalk>ansi-styles>color-convert",file:"node_modules/color-convert/conversions.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/color-convert/index.js",{"./conversions":"/home/runner/work/metamask-extension/metamask-extension/node_modules/color-convert/conversions.js","./route":"/home/runner/work/metamask-extension/metamask-extension/node_modules/color-convert/route.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./conversions"),o=e("./route"),s={};Object.keys(n).forEach(e=>{s[e]={},Object.defineProperty(s[e],"channels",{value:n[e].channels}),Object.defineProperty(s[e],"labels",{value:n[e].labels});const t=o(e);Object.keys(t).forEach(r=>{const n=t[r];s[e][r]=function(e){const t=function(...t){const r=t[0];if(r===undefined||null===r)return r;r.length>1&&(t=r);const n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t<e;t++)n[t]=Math.round(n[t]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(n),s[e][r].raw=function(e){const t=function(...t){const r=t[0];return r===undefined||null===r?r:(r.length>1&&(t=r),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)})}),t.exports=s}}},{package:"chalk>ansi-styles>color-convert",file:"node_modules/color-convert/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/color-convert/route.js",{"./conversions":"/home/runner/work/metamask-extension/metamask-extension/node_modules/color-convert/conversions.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./conversions");function o(e){const t=function(){const e={},t=Object.keys(n);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;){const e=r.pop(),o=Object.keys(n[e]);for(let n=o.length,s=0;s<n;s++){const n=o[s],i=t[n];-1===i.distance&&(i.distance=t[e].distance+1,i.parent=e,r.unshift(n))}}return t}function s(e,t){return function(r){return t(e(r))}}function i(e,t){const r=[t[e].parent,e];let o=n[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)r.unshift(t[i].parent),o=s(n[t[i].parent][i],o),i=t[i].parent;return o.conversion=r,o}t.exports=function(e){const t=o(e),r={},n=Object.keys(t);for(let e=n.length,o=0;o<e;o++){const e=n[o];null!==t[e].parent&&(r[e]=i(e,t))}return r}}}},{package:"chalk>ansi-styles>color-convert",file:"node_modules/color-convert/route.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/color-name/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}},{package:"jest-canvas-mock>moo-color>color-name",file:"node_modules/color-name/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/color-string/color-string.js",{"color-name":"/home/runner/work/metamask-extension/metamask-extension/node_modules/color-name/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("color-name");function o(e){if(e){var t=[0,0,0],r=1,o=e.match(/^#([a-fA-F0-9]{3})$/);if(o){o=o[1];for(var s=0;s<t.length;s++)t[s]=parseInt(o[s]+o[s],16)}else if(o=e.match(/^#([a-fA-F0-9]{6})$/)){o=o[1];for(s=0;s<t.length;s++)t[s]=parseInt(o.slice(2*s,2*s+2),16)}else if(o=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(s=0;s<t.length;s++)t[s]=parseInt(o[s+1]);r=parseFloat(o[4])}else if(o=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(s=0;s<t.length;s++)t[s]=Math.round(2.55*parseFloat(o[s+1]));r=parseFloat(o[4])}else if(o=e.match(/(\D+)/)){if("transparent"==o[1])return[0,0,0,0];if(!(t=n[o[1]]))return}for(s=0;s<t.length;s++)t[s]=d(t[s],0,255);return r=r||0==r?d(r,0,1):1,t[3]=r,t}}function s(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[d(parseInt(t[1]),0,360),d(parseFloat(t[2]),0,100),d(parseFloat(t[3]),0,100),d(isNaN(r)?1:r,0,1)]}}}function i(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[d(parseInt(t[1]),0,360),d(parseFloat(t[2]),0,100),d(parseFloat(t[3]),0,100),d(isNaN(r)?1:r,0,1)]}}}function a(e,t){return t===undefined&&(t=e[3]!==undefined?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function u(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function c(e,t){return t===undefined&&(t=e[3]!==undefined?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function d(e,t,r){return Math.min(Math.max(t,e),r)}function f(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}t.exports={getRgba:o,getHsla:s,getRgb:function(e){var t=o(e);return t&&t.slice(0,3)},getHsl:function(e){var t=s(e);return t&&t.slice(0,3)},getHwb:i,getAlpha:function(e){var t=o(e);if(t)return t[3];if(t=s(e))return t[3];if(t=i(e))return t[3]},hexString:function(e){return"#"+f(e[0])+f(e[1])+f(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return a(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:a,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return u(e,t);var r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),o=Math.round(e[2]/255*100);return"rgb("+r+"%, "+n+"%, "+o+"%)"},percentaString:u,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return c(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:c,hwbString:function(e,t){t===undefined&&(t=e[3]!==undefined?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(t!==undefined&&1!==t?", "+t:"")+")"},keyword:function(e){return l[e.slice(0,3)]}};var l={};for(var h in n)l[n[h]]=h}}},{package:"@metamask/jazzicon>color>color-string",file:"node_modules/color-string/color-string.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/core-util-is/lib/util.js",{"../../is-buffer/index.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function t(e){return Object.prototype.toString.call(e)}r.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},r.isBoolean=function(e){return"boolean"==typeof e},r.isNull=function(e){return null===e},r.isNullOrUndefined=function(e){return null==e},r.isNumber=function(e){return"number"==typeof e},r.isString=function(e){return"string"==typeof e},r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=function(e){return void 0===e},r.isRegExp=function(e){return"[object RegExp]"===t(e)},r.isObject=function(e){return"object"==typeof e&&null!==e},r.isDate=function(e){return"[object Date]"===t(e)},r.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},r.isFunction=function(e){return"function"==typeof e},r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e.isBuffer}).call(this)}).call(this,{isBuffer:e("../../is-buffer/index.js")})}}},{package:"readable-stream-2>core-util-is",file:"node_modules/core-util-is/lib/util.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc1.js",{"./es6/crc1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc1.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./es6/crc1").default}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/crc1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc16.js",{"./es6/crc16":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc16.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./es6/crc16").default}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/crc16.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc16_ccitt.js",{"./es6/crc16ccitt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc16ccitt.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./es6/crc16ccitt").default}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/crc16_ccitt.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc16_kermit.js",{"./es6/crc16kermit":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc16kermit.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./es6/crc16kermit").default}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/crc16_kermit.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc16_modbus.js",{"./es6/crc16modbus":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc16modbus.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./es6/crc16modbus").default}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/crc16_modbus.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc16_xmodem.js",{"./es6/crc16xmodem":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc16xmodem.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./es6/crc16xmodem").default}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/crc16_xmodem.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc24.js",{"./es6/crc24":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc24.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./es6/crc24").default}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/crc24.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc32.js",{"./es6/crc32":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc32.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./es6/crc32").default}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/crc32.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc8.js",{"./es6/crc8":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc8.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./es6/crc8").default}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/crc8.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc8_1wire.js",{"./es6/crc81wire":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc81wire.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./es6/crc81wire").default}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/crc8_1wire.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crcjam.js",{"./es6/crcjam":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crcjam.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./es6/crcjam").default}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/crcjam.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc1.js",{"./create_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.js","./define_crc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=s(e("./create_buffer"));function s(e){return e&&e.__esModule?e:{default:e}}var i=(0,s(e("./define_crc")).default)("crc1",function(e,t){n.Buffer.isBuffer(e)||(e=(0,o.default)(e));for(var r=~~t,s=0,i=0;i<e.length;i++){s+=e[i]}return(r+=s%256)%256});r.default=i}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/crc1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc16.js",{"./create_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.js","./define_crc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=i(e("./create_buffer")),s=i(e("./define_crc"));function i(e){return e&&e.__esModule?e:{default:e}}var a=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];"undefined"!=typeof Int32Array&&(a=new Int32Array(a));var u=(0,s.default)("crc-16",function(e,t){n.Buffer.isBuffer(e)||(e=(0,o.default)(e));for(var r=~~t,s=0;s<e.length;s++){var i=e[s];r=65535&(a[255&(r^i)]^r>>8)}return r});r.default=u}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/crc16.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc16ccitt.js",{"./create_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.js","./define_crc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=i(e("./create_buffer")),s=i(e("./define_crc"));function i(e){return e&&e.__esModule?e:{default:e}}var a=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920];"undefined"!=typeof Int32Array&&(a=new Int32Array(a));var u=(0,s.default)("ccitt",function(e,t){n.Buffer.isBuffer(e)||(e=(0,o.default)(e));for(var r=void 0!==t?~~t:65535,s=0;s<e.length;s++){var i=e[s];r=65535&(a[255&(r>>8^i)]^r<<8)}return r});r.default=u}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/crc16ccitt.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc16kermit.js",{"./create_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.js","./define_crc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=i(e("./create_buffer")),s=i(e("./define_crc"));function i(e){return e&&e.__esModule?e:{default:e}}var a=[0,4489,8978,12955,17956,22445,25910,29887,35912,40385,44890,48851,51820,56293,59774,63735,4225,264,13203,8730,22181,18220,30135,25662,40137,36160,49115,44626,56045,52068,63999,59510,8450,12427,528,5017,26406,30383,17460,21949,44362,48323,36440,40913,60270,64231,51324,55797,12675,8202,4753,792,30631,26158,21685,17724,48587,44098,40665,36688,64495,60006,55549,51572,16900,21389,24854,28831,1056,5545,10034,14011,52812,57285,60766,64727,34920,39393,43898,47859,21125,17164,29079,24606,5281,1320,14259,9786,57037,53060,64991,60502,39145,35168,48123,43634,25350,29327,16404,20893,9506,13483,1584,6073,61262,65223,52316,56789,43370,47331,35448,39921,29575,25102,20629,16668,13731,9258,5809,1848,65487,60998,56541,52564,47595,43106,39673,35696,33800,38273,42778,46739,49708,54181,57662,61623,2112,6601,11090,15067,20068,24557,28022,31999,38025,34048,47003,42514,53933,49956,61887,57398,6337,2376,15315,10842,24293,20332,32247,27774,42250,46211,34328,38801,58158,62119,49212,53685,10562,14539,2640,7129,28518,32495,19572,24061,46475,41986,38553,34576,62383,57894,53437,49460,14787,10314,6865,2904,32743,28270,23797,19836,50700,55173,58654,62615,32808,37281,41786,45747,19012,23501,26966,30943,3168,7657,12146,16123,54925,50948,62879,58390,37033,33056,46011,41522,23237,19276,31191,26718,7393,3432,16371,11898,59150,63111,50204,54677,41258,45219,33336,37809,27462,31439,18516,23005,11618,15595,3696,8185,63375,58886,54429,50452,45483,40994,37561,33584,31687,27214,22741,18780,15843,11370,7921,3960];"undefined"!=typeof Int32Array&&(a=new Int32Array(a));var u=(0,s.default)("kermit",function(e,t){n.Buffer.isBuffer(e)||(e=(0,o.default)(e));for(var r=void 0!==t?~~t:0,s=0;s<e.length;s++){var i=e[s];r=65535&(a[255&(r^i)]^r>>8)}return r});r.default=u}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/crc16kermit.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc16modbus.js",{"./create_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.js","./define_crc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=i(e("./create_buffer")),s=i(e("./define_crc"));function i(e){return e&&e.__esModule?e:{default:e}}var a=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];"undefined"!=typeof Int32Array&&(a=new Int32Array(a));var u=(0,s.default)("crc-16-modbus",function(e,t){n.Buffer.isBuffer(e)||(e=(0,o.default)(e));for(var r=void 0!==t?~~t:65535,s=0;s<e.length;s++){var i=e[s];r=65535&(a[255&(r^i)]^r>>8)}return r});r.default=u}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/crc16modbus.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc16xmodem.js",{"./create_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.js","./define_crc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=s(e("./create_buffer"));function s(e){return e&&e.__esModule?e:{default:e}}var i=(0,s(e("./define_crc")).default)("xmodem",function(e,t){n.Buffer.isBuffer(e)||(e=(0,o.default)(e));for(var r=void 0!==t?~~t:0,s=0;s<e.length;s++){var i=r>>>8&255;i^=255&e[s],r=r<<8&65535,r^=i^=i>>>4,r^=i=i<<5&65535,r^=i=i<<7&65535}return r});r.default=i}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/crc16xmodem.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc24.js",{"./create_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.js","./define_crc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=i(e("./create_buffer")),s=i(e("./define_crc"));function i(e){return e&&e.__esModule?e:{default:e}}var a=[0,8801531,9098509,825846,9692897,1419802,1651692,10452759,10584377,2608578,2839604,11344079,3303384,11807523,12104405,4128302,12930697,4391538,5217156,13227903,5679208,13690003,14450021,5910942,6606768,14844747,15604413,6837830,16197969,7431594,8256604,16494759,840169,9084178,8783076,18463,10434312,1670131,1434117,9678590,11358416,2825259,2590173,10602790,4109873,12122826,11821884,3289031,13213536,5231515,4409965,12912278,5929345,14431610,13675660,5693559,6823513,15618722,14863188,6588335,16513208,8238147,7417269,16212302,1680338,10481449,9664223,1391140,9061683,788936,36926,8838341,12067563,4091408,3340262,11844381,2868234,11372785,10555655,2579964,14478683,5939616,5650518,13661357,5180346,13190977,12967607,4428364,8219746,16457881,16234863,7468436,15633027,6866552,6578062,14816117,1405499,9649856,10463030,1698765,8819930,55329,803287,9047340,11858690,3325945,4072975,12086004,2561507,10574104,11387118,2853909,13647026,5664841,5958079,14460228,4446803,12949160,13176670,5194661,7454091,16249200,16476294,8201341,14834538,6559633,6852199,15647388,3360676,11864927,12161705,4185682,10527045,2551230,2782280,11286707,9619101,1346150,1577872,10379115,73852,8875143,9172337,899466,16124205,7357910,8182816,16421083,6680524,14918455,15678145,6911546,5736468,13747439,14507289,5968354,12873461,4334094,5159928,13170435,4167245,12180150,11879232,3346363,11301036,2767959,2532769,10545498,10360692,1596303,1360505,9604738,913813,9157998,8856728,92259,16439492,8164415,7343561,16138546,6897189,15692510,14936872,6662099,5986813,14488838,13733104,5750795,13156124,5174247,4352529,12855018,2810998,11315341,10498427,2522496,12124823,4148844,3397530,11901793,9135439,862644,110658,8912057,1606574,10407765,9590435,1317464,15706879,6940164,6651890,14889737,8145950,16384229,16161043,7394792,5123014,13133629,12910283,4370992,14535975,5997020,5707818,13718737,2504095,10516836,11329682,2796649,11916158,3383173,4130419,12143240,8893606,129117,876971,9121104,1331783,9576124,10389322,1625009,14908182,6633453,6925851,15721184,7380471,16175372,16402682,8127489,4389423,12891860,13119266,5137369,13704398,5722165,6015427,14517560];"undefined"!=typeof Int32Array&&(a=new Int32Array(a));var u=(0,s.default)("crc-24",function(e,t){n.Buffer.isBuffer(e)||(e=(0,o.default)(e));for(var r=void 0!==t?~~t:11994318,s=0;s<e.length;s++){var i=e[s];r=16777215&(a[255&(r>>16^i)]^r<<8)}return r});r.default=u}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/crc24.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc32.js",{"./create_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.js","./define_crc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=i(e("./create_buffer")),s=i(e("./define_crc"));function i(e){return e&&e.__esModule?e:{default:e}}var a=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];"undefined"!=typeof Int32Array&&(a=new Int32Array(a));var u=(0,s.default)("crc-32",function(e,t){n.Buffer.isBuffer(e)||(e=(0,o.default)(e));for(var r=0===t?0:-1^t,s=0;s<e.length;s++){var i=e[s];r=a[255&(r^i)]^r>>>8}return-1^r});r.default=u}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/crc32.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc8.js",{"./create_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.js","./define_crc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=i(e("./create_buffer")),s=i(e("./define_crc"));function i(e){return e&&e.__esModule?e:{default:e}}var a=[0,7,14,9,28,27,18,21,56,63,54,49,36,35,42,45,112,119,126,121,108,107,98,101,72,79,70,65,84,83,90,93,224,231,238,233,252,251,242,245,216,223,214,209,196,195,202,205,144,151,158,153,140,139,130,133,168,175,166,161,180,179,186,189,199,192,201,206,219,220,213,210,255,248,241,246,227,228,237,234,183,176,185,190,171,172,165,162,143,136,129,134,147,148,157,154,39,32,41,46,59,60,53,50,31,24,17,22,3,4,13,10,87,80,89,94,75,76,69,66,111,104,97,102,115,116,125,122,137,142,135,128,149,146,155,156,177,182,191,184,173,170,163,164,249,254,247,240,229,226,235,236,193,198,207,200,221,218,211,212,105,110,103,96,117,114,123,124,81,86,95,88,77,74,67,68,25,30,23,16,5,2,11,12,33,38,47,40,61,58,51,52,78,73,64,71,82,85,92,91,118,113,120,127,106,109,100,99,62,57,48,55,34,37,44,43,6,1,8,15,26,29,20,19,174,169,160,167,178,181,188,187,150,145,152,159,138,141,132,131,222,217,208,215,194,197,204,203,230,225,232,239,250,253,244,243];"undefined"!=typeof Int32Array&&(a=new Int32Array(a));var u=(0,s.default)("crc-8",function(e,t){n.Buffer.isBuffer(e)||(e=(0,o.default)(e));for(var r=~~t,s=0;s<e.length;s++){var i=e[s];r=255&a[255&(r^i)]}return r});r.default=u}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/crc8.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crc81wire.js",{"./create_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.js","./define_crc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=i(e("./create_buffer")),s=i(e("./define_crc"));function i(e){return e&&e.__esModule?e:{default:e}}var a=[0,94,188,226,97,63,221,131,194,156,126,32,163,253,31,65,157,195,33,127,252,162,64,30,95,1,227,189,62,96,130,220,35,125,159,193,66,28,254,160,225,191,93,3,128,222,60,98,190,224,2,92,223,129,99,61,124,34,192,158,29,67,161,255,70,24,250,164,39,121,155,197,132,218,56,102,229,187,89,7,219,133,103,57,186,228,6,88,25,71,165,251,120,38,196,154,101,59,217,135,4,90,184,230,167,249,27,69,198,152,122,36,248,166,68,26,153,199,37,123,58,100,134,216,91,5,231,185,140,210,48,110,237,179,81,15,78,16,242,172,47,113,147,205,17,79,173,243,112,46,204,146,211,141,111,49,178,236,14,80,175,241,19,77,206,144,114,44,109,51,209,143,12,82,176,238,50,108,142,208,83,13,239,177,240,174,76,18,145,207,45,115,202,148,118,40,171,245,23,73,8,86,180,234,105,55,213,139,87,9,235,181,54,104,138,212,149,203,41,119,244,170,72,22,233,183,85,11,136,214,52,106,43,117,151,201,74,20,246,168,116,42,200,150,21,75,169,247,182,232,10,84,215,137,107,53];"undefined"!=typeof Int32Array&&(a=new Int32Array(a));var u=(0,s.default)("dallas-1-wire",function(e,t){n.Buffer.isBuffer(e)||(e=(0,o.default)(e));for(var r=~~t,s=0;s<e.length;s++){var i=e[s];r=255&a[255&(r^i)]}return r});r.default=u}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/crc81wire.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/crcjam.js",{"./create_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.js","./define_crc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=i(e("./create_buffer")),s=i(e("./define_crc"));function i(e){return e&&e.__esModule?e:{default:e}}var a=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];"undefined"!=typeof Int32Array&&(a=new Int32Array(a));var u=(0,s.default)("jam",function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:-1;n.Buffer.isBuffer(e)||(e=(0,o.default)(e));for(var r=0===t?0:~~t,s=0;s<e.length;s++){var i=e[s];r=a[255&(r^i)]^r>>>8}return r});r.default=u}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/crcjam.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/create_buffer.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,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("buffer"),o=n.Buffer.from&&n.Buffer.alloc&&n.Buffer.allocUnsafe&&n.Buffer.allocUnsafeSlow?n.Buffer.from:function(e){return new n.Buffer(e)};r.default=o}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/create_buffer.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/es6/define_crc.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){var r=function(e,r){return t(e,r)>>>0};return r.signed=t,r.unsigned=r,r.model=e,r}}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/es6/define_crc.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/index.js",{"./crc1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc1.js","./crc16":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc16.js","./crc16_ccitt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc16_ccitt.js","./crc16_kermit":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc16_kermit.js","./crc16_modbus":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc16_modbus.js","./crc16_xmodem":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc16_xmodem.js","./crc24":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc24.js","./crc32":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc32.js","./crc8":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc8.js","./crc8_1wire":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crc8_1wire.js","./crcjam":"/home/runner/work/metamask-extension/metamask-extension/node_modules/crc/lib/crcjam.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={crc1:e("./crc1"),crc8:e("./crc8"),crc81wire:e("./crc8_1wire"),crc16:e("./crc16"),crc16ccitt:e("./crc16_ccitt"),crc16modbus:e("./crc16_modbus"),crc16xmodem:e("./crc16_xmodem"),crc16kermit:e("./crc16_kermit"),crc24:e("./crc24"),crc32:e("./crc32"),crcjam:e("./crcjam")}}}},{package:"@ngraveio/bc-ur>crc",file:"node_modules/crc/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/create-ecdh/browser.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",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,r){(function(r){(function(){var n=e("elliptic"),o=e("bn.js");t.exports=function(e){return new i(e)};var s={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function i(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function a(e,t,n){Array.isArray(e)||(e=e.toArray());var o=new r(e);if(n&&o.length<n){var s=new r(n-o.length);s.fill(0),o=r.concat([s,o])}return t?o.toString(t):o}s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1,i.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},i.prototype.computeSecret=function(e,t,n){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),a(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},i.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),a(r,e)},i.prototype.getPrivateKey=function(e){return a(this.keys.getPrivate(),e)},i.prototype.setPublicKey=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.keys._importPublic(e),this},i.prototype.setPrivateKey=function(e,t){t=t||"utf8",r.isBuffer(e)||(e=new r(e,t));var n=new o(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"crypto-browserify>create-ecdh",file:"node_modules/create-ecdh/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hash/browser.js",{"cipher-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cipher-base/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","md5.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/index.js",ripemd160:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/index.js","sha.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),o=e("md5.js"),s=e("ripemd160"),i=e("sha.js"),a=e("cipher-base");function u(e){a.call(this,"digest"),this._hash=e}n(u,a),u.prototype._update=function(e){this._hash.update(e)},u.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new o:"rmd160"===e||"ripemd160"===e?new s:new u(i(e))}}}},{package:"ethereumjs-util>create-hash",file:"node_modules/create-hash/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hash/md5.js",{"md5.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("md5.js");t.exports=function(e){return(new n).update(e).digest()}}}},{package:"ethereumjs-util>create-hash",file:"node_modules/create-hash/md5.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hmac/browser.js",{"./legacy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hmac/legacy.js","cipher-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cipher-base/index.js","create-hash/md5":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hash/md5.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js",ripemd160:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/index.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js","sha.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),o=e("./legacy"),s=e("cipher-base"),i=e("safe-buffer").Buffer,a=e("create-hash/md5"),u=e("ripemd160"),c=e("sha.js"),d=i.alloc(128);function f(e,t){s.call(this,"digest"),"string"==typeof t&&(t=i.from(t));var r="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>r)?t=("rmd160"===e?new u:c(e)).update(t).digest():t.length<r&&(t=i.concat([t,d],r));for(var n=this._ipad=i.allocUnsafe(r),o=this._opad=i.allocUnsafe(r),a=0;a<r;a++)n[a]=54^t[a],o[a]=92^t[a];this._hash="rmd160"===e?new u:c(e),this._hash.update(n)}n(f,s),f.prototype._update=function(e){this._hash.update(e)},f.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new u:c(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new f("rmd160",t):"md5"===e?new o(a,t):new f(e,t)}}}},{package:"crypto-browserify>create-hmac",file:"node_modules/create-hmac/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hmac/legacy.js",{"cipher-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cipher-base/index.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,r){var n=e("inherits"),o=e("safe-buffer").Buffer,s=e("cipher-base"),i=o.alloc(128),a=64;function u(e,t){s.call(this,"digest"),"string"==typeof t&&(t=o.from(t)),this._alg=e,this._key=t,t.length>a?t=e(t):t.length<a&&(t=o.concat([t,i],a));for(var r=this._ipad=o.allocUnsafe(a),n=this._opad=o.allocUnsafe(a),u=0;u<a;u++)r[u]=54^t[u],n[u]=92^t[u];this._hash=[r]}n(u,s),u.prototype._update=function(e){this._hash.push(e)},u.prototype._final=function(){var e=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,e]))},t.exports=u}}},{package:"crypto-browserify>create-hmac",file:"node_modules/create-hmac/legacy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cron-parser/lib/date.js",{luxon:"/home/runner/work/metamask-extension/metamask-extension/node_modules/luxon/build/cjs-browser/luxon.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("luxon");function o(e,t){var r={zone:t};if(e?e instanceof o?this._date=e._date:e instanceof Date?this._date=n.DateTime.fromJSDate(e,r):"number"==typeof e?this._date=n.DateTime.fromMillis(e,r):"string"==typeof e&&(this._date=n.DateTime.fromISO(e,r),this._date.isValid||(this._date=n.DateTime.fromRFC2822(e,r)),this._date.isValid||(this._date=n.DateTime.fromSQL(e,r)),this._date.isValid||(this._date=n.DateTime.fromFormat(e,"EEE, d MMM yyyy HH:mm:ss",r))):this._date=n.DateTime.local(),!this._date||!this._date.isValid)throw new Error("CronDate: unhandled timestamp: "+JSON.stringify(e));t&&t!==this._date.zoneName&&(this._date=this._date.setZone(t))}o.prototype.addYear=function(){this._date=this._date.plus({years:1})},o.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")},o.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")},o.prototype.addHour=function(){var e=this._date;this._date=this._date.plus({hours:1}).startOf("hour"),this._date<=e&&(this._date=this._date.plus({hours:1}))},o.prototype.addMinute=function(){var e=this._date;this._date=this._date.plus({minutes:1}).startOf("minute"),this._date<e&&(this._date=this._date.plus({hours:1}))},o.prototype.addSecond=function(){var e=this._date;this._date=this._date.plus({seconds:1}).startOf("second"),this._date<e&&(this._date=this._date.plus({hours:1}))},o.prototype.subtractYear=function(){this._date=this._date.minus({years:1})},o.prototype.subtractMonth=function(){this._date=this._date.minus({months:1}).endOf("month").startOf("second")},o.prototype.subtractDay=function(){this._date=this._date.minus({days:1}).endOf("day").startOf("second")},o.prototype.subtractHour=function(){var e=this._date;this._date=this._date.minus({hours:1}).endOf("hour").startOf("second"),this._date>=e&&(this._date=this._date.minus({hours:1}))},o.prototype.subtractMinute=function(){var e=this._date;this._date=this._date.minus({minutes:1}).endOf("minute").startOf("second"),this._date>e&&(this._date=this._date.minus({hours:1}))},o.prototype.subtractSecond=function(){var e=this._date;this._date=this._date.minus({seconds:1}).startOf("second"),this._date>e&&(this._date=this._date.minus({hours:1}))},o.prototype.getDate=function(){return this._date.day},o.prototype.getFullYear=function(){return this._date.year},o.prototype.getDay=function(){var e=this._date.weekday;return 7==e?0:e},o.prototype.getMonth=function(){return this._date.month-1},o.prototype.getHours=function(){return this._date.hour},o.prototype.getMinutes=function(){return this._date.minute},o.prototype.getSeconds=function(){return this._date.second},o.prototype.getMilliseconds=function(){return this._date.millisecond},o.prototype.getTime=function(){return this._date.valueOf()},o.prototype.getUTCDate=function(){return this._getUTC().day},o.prototype.getUTCFullYear=function(){return this._getUTC().year},o.prototype.getUTCDay=function(){var e=this._getUTC().weekday;return 7==e?0:e},o.prototype.getUTCMonth=function(){return this._getUTC().month-1},o.prototype.getUTCHours=function(){return this._getUTC().hour},o.prototype.getUTCMinutes=function(){return this._getUTC().minute},o.prototype.getUTCSeconds=function(){return this._getUTC().second},o.prototype.toISOString=function(){return this._date.toUTC().toISO()},o.prototype.toJSON=function(){return this._date.toJSON()},o.prototype.setDate=function(e){this._date=this._date.set({day:e})},o.prototype.setFullYear=function(e){this._date=this._date.set({year:e})},o.prototype.setDay=function(e){this._date=this._date.set({weekday:e})},o.prototype.setMonth=function(e){this._date=this._date.set({month:e+1})},o.prototype.setHours=function(e){this._date=this._date.set({hour:e})},o.prototype.setMinutes=function(e){this._date=this._date.set({minute:e})},o.prototype.setSeconds=function(e){this._date=this._date.set({second:e})},o.prototype.setMilliseconds=function(e){this._date=this._date.set({millisecond:e})},o.prototype._getUTC=function(){return this._date.toUTC()},o.prototype.toString=function(){return this.toDate().toString()},o.prototype.toDate=function(){return this._date.toJSDate()},o.prototype.isLastDayOfMonth=function(){var e=this._date.plus({days:1}).startOf("day");return this._date.month!==e.month},o.prototype.isLastWeekdayOfMonth=function(){var e=this._date.plus({days:7}).startOf("day");return this._date.month!==e.month},t.exports=o}}},{package:"cron-parser",file:"node_modules/cron-parser/lib/date.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cron-parser/lib/expression.js",{"./date":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cron-parser/lib/date.js","./field_stringify":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cron-parser/lib/field_stringify.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./date"),o=e("./field_stringify");function s(e,t){this._options=t,this._utc=t.utc||!1,this._tz=this._utc?"UTC":t.tz,this._currentDate=new n(t.currentDate,this._tz),this._startDate=t.startDate?new n(t.startDate,this._tz):null,this._endDate=t.endDate?new n(t.endDate,this._tz):null,this._isIterator=t.iterator||!1,this._hasIterated=!1,this._nthDayOfWeek=t.nthDayOfWeek||0,this.fields=s._freezeFields(e)}s.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"],s.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"},s.constraints=[{min:0,max:59,chars:[]},{min:0,max:59,chars:[]},{min:0,max:23,chars:[]},{min:1,max:31,chars:["L"]},{min:1,max:12,chars:[]},{min:0,max:7,chars:["L"]}],s.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31],s.aliases={month:{jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},dayOfWeek:{sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}},s.parseDefaults=["0","*","*","*","*","*"],s.standardValidCharacters=/^[,*\d/-]+$/,s.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/,s.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/,s.validCharacters={second:s.standardValidCharacters,minute:s.standardValidCharacters,hour:s.standardValidCharacters,dayOfMonth:s.dayOfMonthValidCharacters,month:s.standardValidCharacters,dayOfWeek:s.dayOfWeekValidCharacters},s._isValidConstraintChar=function(e,t){return"string"==typeof t&&e.chars.some(function(e){return t.indexOf(e)>-1})},s._parseField=function(e,t,r){switch(e){case"month":case"dayOfWeek":var n=s.aliases[e];t=t.replace(/[a-z]{3}/gi,function(e){if(e=e.toLowerCase(),void 0!==n[e])return n[e];throw new Error('Validation error, cannot resolve alias "'+e+'"')})}if(!s.validCharacters[e].test(t))throw new Error("Invalid characters, got value: "+t);function o(e){var t=e.split("/");return t.length>1?(t[0]==+t[0]&&(t=[t[0]+"-"+r.max,t[1]]),i(t[0],t[t.length-1])):i(e,1)}function i(e,t){var n=[],o=e.split("-");if(o.length>1){if(o.length<2)return+e;if(!o[0].length){if(!o[1].length)throw new Error("Invalid range: "+e);return+e}var s=+o[0],i=+o[1];if(Number.isNaN(s)||Number.isNaN(i)||s<r.min||i>r.max)throw new Error("Constraint error, got range "+s+"-"+i+" expected range "+r.min+"-"+r.max);if(s>=i)throw new Error("Invalid range: "+e);var a=+t;if(Number.isNaN(a)||a<=0)throw new Error("Constraint error, cannot repeat at every "+a+" time.");for(var u=s,c=i;u<=c;u++)a>0&&a%t===0?(a=1,n.push(u)):a++;return n}return Number.isNaN(+e)?e:+e}return-1!==t.indexOf("*")?t=t.replace(/\*/g,r.min+"-"+r.max):-1!==t.indexOf("?")&&(t=t.replace(/\?/g,r.min+"-"+r.max)),function(t){var n=[];function i(t){if(t instanceof Array)for(var o=0,i=t.length;o<i;o++){var a=t[o];if(s._isValidConstraintChar(r,a))n.push(a);else{if("number"!=typeof a||Number.isNaN(a)||a<r.min||a>r.max)throw new Error("Constraint error, got value "+a+" expected range "+r.min+"-"+r.max);n.push(a)}}else{if(s._isValidConstraintChar(r,t))return void n.push(t);var u=+t;if(Number.isNaN(u)||u<r.min||u>r.max)throw new Error("Constraint error, got value "+t+" expected range "+r.min+"-"+r.max);"dayOfWeek"===e&&(u%=7),n.push(u)}}var a=t.split(",");if(!a.every(function(e){return e.length>0}))throw new Error("Invalid list value format");if(a.length>1)for(var u=0,c=a.length;u<c;u++)i(o(a[u]));else i(o(t));return n.sort(s._sortCompareFn),n}(t)},s._sortCompareFn=function(e,t){var r="number"==typeof e,n="number"==typeof t;return r&&n?e-t:!r&&n?1:r&&!n?-1:e.localeCompare(t)},s._handleMaxDaysInMonth=function(e){if(1===e.month.length){var t=s.daysInMonth[e.month[0]-1];if(e.dayOfMonth[0]>t)throw new Error("Invalid explicit day of month definition");return e.dayOfMonth.filter(function(e){return"L"===e||e<=t}).sort(s._sortCompareFn)}},s._freezeFields=function(e){for(var t=0,r=s.map.length;t<r;++t){var n=s.map[t],o=e[n];e[n]=Object.freeze(o)}return Object.freeze(e)},s.prototype._applyTimezoneShift=function(e,t,r){if("Month"===r||"Day"===r){var n=e.getTime();e[t+r](),n===e.getTime()&&(0===e.getMinutes()&&0===e.getSeconds()?e.addHour():59===e.getMinutes()&&59===e.getSeconds()&&e.subtractHour())}else{var o=e.getHours();e[t+r]();var s=e.getHours(),i=s-o;2===i?24!==this.fields.hour.length&&(this._dstStart=s):0===i&&0===e.getMinutes()&&0===e.getSeconds()&&24!==this.fields.hour.length&&(this._dstEnd=s)}},s.prototype._findSchedule=function(e){function t(e,t){for(var r=0,n=t.length;r<n;r++)if(t[r]>=e)return t[r]===e;return t[0]===e}function r(e,t){if(t<6){if(e.getDate()<8&&1===t)return!0;var r=e.getDate()%7?1:0,n=e.getDate()-e.getDate()%7;return Math.floor(n/7)+r===t}return!1}function o(e){return e.length>0&&e.some(function(e){return"string"==typeof e&&e.indexOf("L")>=0})}var i=(e=e||!1)?"subtract":"add",a=new n(this._currentDate,this._tz),u=this._startDate,c=this._endDate,d=a.getTime(),f=0;function l(e){return e.some(function(e){if(!o([e]))return!1;var t=Number.parseInt(e[0])%7;if(Number.isNaN(t))throw new Error("Invalid last weekday of the month expression: "+e);return a.getDay()===t&&a.isLastWeekdayOfMonth()})}for(;f<1e4;){if(f++,e){if(u&&a.getTime()-u.getTime()<0)throw new Error("Out of the timespan range")}else if(c&&c.getTime()-a.getTime()<0)throw new Error("Out of the timespan range");var h=t(a.getDate(),this.fields.dayOfMonth);o(this.fields.dayOfMonth)&&(h=h||a.isLastDayOfMonth());var m=t(a.getDay(),this.fields.dayOfWeek);o(this.fields.dayOfWeek)&&(m=m||l(this.fields.dayOfWeek));var p=this.fields.dayOfMonth.length>=s.daysInMonth[a.getMonth()],b=this.fields.dayOfWeek.length===s.constraints[5].max-s.constraints[5].min+1,y=a.getHours();if(h||m&&!b)if(p||!b||h)if(!p||b||m)if(this._nthDayOfWeek>0&&!r(a,this._nthDayOfWeek))this._applyTimezoneShift(a,i,"Day");else if(t(a.getMonth()+1,this.fields.month)){if(t(y,this.fields.hour)){if(this._dstEnd===y&&!e){this._dstEnd=null,this._applyTimezoneShift(a,"add","Hour");continue}}else{if(this._dstStart!==y){this._dstStart=null,this._applyTimezoneShift(a,i,"Hour");continue}if(!t(y-1,this.fields.hour)){a[i+"Hour"]();continue}}if(t(a.getMinutes(),this.fields.minute))if(t(a.getSeconds(),this.fields.second)){if(d!==a.getTime())break;"add"===i||0===a.getMilliseconds()?this._applyTimezoneShift(a,i,"Second"):a.setMilliseconds(0)}else this._applyTimezoneShift(a,i,"Second");else this._applyTimezoneShift(a,i,"Minute")}else this._applyTimezoneShift(a,i,"Month");else this._applyTimezoneShift(a,i,"Day");else this._applyTimezoneShift(a,i,"Day");else this._applyTimezoneShift(a,i,"Day")}if(f>=1e4)throw new Error("Invalid expression, loop limit exceeded");return this._currentDate=new n(a,this._tz),this._hasIterated=!0,a},s.prototype.next=function(){var e=this._findSchedule();return this._isIterator?{value:e,done:!this.hasNext()}:e},s.prototype.prev=function(){var e=this._findSchedule(!0);return this._isIterator?{value:e,done:!this.hasPrev()}:e},s.prototype.hasNext=function(){var e=this._currentDate,t=this._hasIterated;try{return this._findSchedule(),!0}catch(e){return!1}finally{this._currentDate=e,this._hasIterated=t}},s.prototype.hasPrev=function(){var e=this._currentDate,t=this._hasIterated;try{return this._findSchedule(!0),!0}catch(e){return!1}finally{this._currentDate=e,this._hasIterated=t}},s.prototype.iterate=function(e,t){var r=[];if(e>=0)for(var n=0,o=e;n<o;n++)try{var s=this.next();r.push(s),t&&t(s,n)}catch(e){break}else for(n=0,o=e;n>o;n--)try{s=this.prev();r.push(s),t&&t(s,n)}catch(e){break}return r},s.prototype.reset=function(e){this._currentDate=new n(e||this._options.currentDate)},s.prototype.stringify=function(e){for(var t=[],r=e?0:1,n=s.map.length;r<n;++r){var i=s.map[r],a=this.fields[i],u="dayOfMonth"===i&&1===this.fields.month.length?{min:1,max:s.daysInMonth[this.fields.month[0]-1]}:s.constraints[r];t.push(o(a,u.min,u.max))}return t.join(" ")},s.parse=function(e,t){var r=this;function o(e,t){t||(t={}),void 0===t.currentDate&&(t.currentDate=new n(undefined,r._tz)),s.predefined[e]&&(e=s.predefined[e]);var o=[],i=(e+"").trim().split(/\s+/);if(i.length>6)throw new Error("Invalid cron expression");for(var a=s.map.length-i.length,u=0,c=s.map.length;u<c;++u){var d=s.map[u],f=i[i.length>c?u:u-a];if(u<a||!f)o.push(s._parseField(d,s.parseDefaults[u],s.constraints[u]));else{var l="dayOfWeek"===d?p(f):f;o.push(s._parseField(d,l,s.constraints[u]))}}var h={};for(u=0,c=s.map.length;u<c;u++){h[s.map[u]]=o[u]}var m=s._handleMaxDaysInMonth(h);return h.dayOfMonth=m||h.dayOfMonth,new s(h,t);function p(e){var r=e.split("#");if(r.length>1){var n=+r[r.length-1];if(/,/.test(e))throw new Error("Constraint error, invalid dayOfWeek `#` and `,` special characters are incompatible");if(/\//.test(e))throw new Error("Constraint error, invalid dayOfWeek `#` and `/` special characters are incompatible");if(/-/.test(e))throw new Error("Constraint error, invalid dayOfWeek `#` and `-` special characters are incompatible");if(r.length>2||Number.isNaN(n)||n<1||n>5)throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return t.nthDayOfWeek=n,r[0]}return e}}return"function"==typeof t&&(t={}),o(e,t)},s.fieldsToExpression=function(e,t){function r(e,t,r){if(!t)throw new Error("Validation error, Field "+e+" is missing");if(0===t.length)throw new Error("Validation error, Field "+e+" contains no values");for(var n=0,o=t.length;n<o;n++){var i=t[n];if(!s._isValidConstraintChar(r,i)&&("number"!=typeof i||Number.isNaN(i)||i<r.min||i>r.max))throw new Error("Constraint error, got value "+i+" expected range "+r.min+"-"+r.max)}}for(var n={},o=0,i=s.map.length;o<i;++o){var a=s.map[o],u=e[a];r(a,u,s.constraints[o]);for(var c=[],d=-1;++d<u.length;)c[d]=u[d];if((u=c.sort(s._sortCompareFn).filter(function(e,t,r){return!t||e!==r[t-1]})).length!==c.length)throw new Error("Validation error, Field "+a+" contains duplicate values");n[a]=u}var f=s._handleMaxDaysInMonth(n);return n.dayOfMonth=f||n.dayOfMonth,new s(n,t||{})},t.exports=s}}},{package:"cron-parser",file:"node_modules/cron-parser/lib/expression.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cron-parser/lib/field_compactor.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return{start:e,count:1}}function o(e,t){e.end=t,e.step=t-e.start,e.count=2}function s(e,t,r){t&&(2===t.count?(e.push(n(t.start)),e.push(n(t.end))):e.push(t)),r&&e.push(r)}t.exports=function(e){for(var t=[],r=undefined,i=0;i<e.length;i++){var a=e[i];"number"!=typeof a?(s(t,r,n(a)),r=undefined):r?1===r.count?o(r,a):r.step===a-r.end?(r.count++,r.end=a):2===r.count?(t.push(n(r.start)),o(r=n(r.end),a)):(s(t,r),r=n(a)):r=n(a)}return s(t,r),t}}}},{package:"cron-parser",file:"node_modules/cron-parser/lib/field_compactor.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cron-parser/lib/field_stringify.js",{"./field_compactor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cron-parser/lib/field_compactor.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./field_compactor");t.exports=function(e,t,r){var o=n(e);if(1===o.length){var s=o[0];if(1===(c=s.step)&&s.start===t&&s.end===r)return"*";if(1!==c&&s.start===t&&s.end===r-c+1)return"*/"+c}for(var i=[],a=0,u=o.length;a<u;++a){var c,d=o[a];if(1===d.count)i.push(d.start);else 1===(c=d.step)?i.push(d.start+"-"+d.end):d.end===r-c+1?i.push(d.start+"/"+c):i.push(d.start+"-"+d.end+"/"+c)}return i.join(",")}}}},{package:"cron-parser",file:"node_modules/cron-parser/lib/field_stringify.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/cron-parser/lib/parser.js",{"./expression":"/home/runner/work/metamask-extension/metamask-extension/node_modules/cron-parser/lib/expression.js",fs:"/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,r){var n=e("./expression");function o(){}o._parseEntry=function(e){var t=e.split(" ");if(6===t.length)return{interval:n.parse(e)};if(t.length>6)return{interval:n.parse(t.slice(0,6).join(" ")),command:t.slice(6,t.length)};throw new Error("Invalid entry: "+e)},o.parseExpression=function(e,t){return n.parse(e,t)},o.fieldsToExpression=function(e,t){return n.fieldsToExpression(e,t)},o.parseString=function(e){for(var t=e.split("\n"),r={variables:{},expressions:[],errors:{}},n=0,s=t.length;n<s;n++){var i=null,a=t[n].trim();if(a.length>0){if(a.match(/^#/))continue;if(i=a.match(/^(.*)=(.*)$/))r.variables[i[1]]=i[2];else{var u=null;try{u=o._parseEntry("0 "+a),r.expressions.push(u.interval)}catch(e){r.errors[a]=e}}}}return r},o.parseFile=function(t,r){e("fs").readFile(t,function(e,t){if(!e)return r(null,o.parseString(t.toString()));r(e)})},t.exports=o}}},{package:"cron-parser",file:"node_modules/cron-parser/lib/parser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/crypto-browserify/index.js",{"browserify-cipher":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-cipher/browser.js","browserify-sign":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/browser/index.js","browserify-sign/algos":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-sign/algos.js","create-ecdh":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-ecdh/browser.js","create-hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hash/browser.js","create-hmac":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hmac/browser.js","diffie-hellman":"/home/runner/work/metamask-extension/metamask-extension/node_modules/diffie-hellman/browser.js",pbkdf2:"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/browser.js","public-encrypt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/browser.js",randombytes:"/home/runner/work/metamask-extension/metamask-extension/node_modules/randombytes/browser.js",randomfill:"/home/runner/work/metamask-extension/metamask-extension/node_modules/randomfill/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=e("randombytes"),r.createHash=r.Hash=e("create-hash"),r.createHmac=r.Hmac=e("create-hmac");var n=e("browserify-sign/algos"),o=Object.keys(n),s=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(o);r.getHashes=function(){return s};var i=e("pbkdf2");r.pbkdf2=i.pbkdf2,r.pbkdf2Sync=i.pbkdf2Sync;var a=e("browserify-cipher");r.Cipher=a.Cipher,r.createCipher=a.createCipher,r.Cipheriv=a.Cipheriv,r.createCipheriv=a.createCipheriv,r.Decipher=a.Decipher,r.createDecipher=a.createDecipher,r.Decipheriv=a.Decipheriv,r.createDecipheriv=a.createDecipheriv,r.getCiphers=a.getCiphers,r.listCiphers=a.listCiphers;var u=e("diffie-hellman");r.DiffieHellmanGroup=u.DiffieHellmanGroup,r.createDiffieHellmanGroup=u.createDiffieHellmanGroup,r.getDiffieHellman=u.getDiffieHellman,r.createDiffieHellman=u.createDiffieHellman,r.DiffieHellman=u.DiffieHellman;var c=e("browserify-sign");r.createSign=c.createSign,r.Sign=c.Sign,r.createVerify=c.createVerify,r.Verify=c.Verify,r.createECDH=e("create-ecdh");var d=e("public-encrypt");r.publicEncrypt=d.publicEncrypt,r.privateEncrypt=d.privateEncrypt,r.publicDecrypt=d.publicDecrypt,r.privateDecrypt=d.privateDecrypt;var f=e("randomfill");r.randomFill=f.randomFill,r.randomFillSync=f.randomFillSync,r.createCredentials=function(){throw new Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify")},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}}}},{package:"crypto-browserify",file:"node_modules/crypto-browserify/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/currency-formatter/currencies.js",{"./index":"/home/runner/work/metamask-extension/metamask-extension/node_modules/currency-formatter/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./index");t.exports=n.currencies}}},{package:"currency-formatter",file:"node_modules/currency-formatter/currencies.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/currency-formatter/currencies.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={AED:{code:"AED",symbol:"د.إ.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},AFN:{code:"AFN",symbol:"؋",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},ALL:{code:"ALL",symbol:"Lek",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},AMD:{code:"AMD",symbol:"֏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},ANG:{code:"ANG",symbol:"ƒ",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},AOA:{code:"AOA",symbol:"Kz",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},ARS:{code:"ARS",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},AUD:{code:"AUD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},AWG:{code:"AWG",symbol:"ƒ",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},AZN:{code:"AZN",symbol:"₼",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BAM:{code:"BAM",symbol:"КМ",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BBD:{code:"BBD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},BDT:{code:"BDT",symbol:"৳",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:0},BGN:{code:"BGN",symbol:"лв.",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BHD:{code:"BHD",symbol:"د.ب.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3},BIF:{code:"BIF",symbol:"FBu",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},BMD:{code:"BMD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},BND:{code:"BND",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},BOB:{code:"BOB",symbol:"Bs",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BRL:{code:"BRL",symbol:"R$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BSD:{code:"BSD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},BTC:{code:"BTC",symbol:"Ƀ",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},BTN:{code:"BTN",symbol:"Nu.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:1},BWP:{code:"BWP",symbol:"P",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},BYR:{code:"BYR",symbol:"р.",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BZD:{code:"BZD",symbol:"BZ$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CAD:{code:"CAD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CDF:{code:"CDF",symbol:"FC",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CHF:{code:"CHF",symbol:"CHF",thousandsSeparator:"'",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},CLP:{code:"CLP",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},CNY:{code:"CNY",symbol:"¥",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},COP:{code:"COP",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},CRC:{code:"CRC",symbol:"₡",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CUC:{code:"CUC",symbol:"CUC",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CUP:{code:"CUP",symbol:"$MN",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CVE:{code:"CVE",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CZK:{code:"CZK",symbol:"Kč",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},DJF:{code:"DJF",symbol:"Fdj",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},DKK:{code:"DKK",symbol:"kr.",thousandsSeparator:"",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},DOP:{code:"DOP",symbol:"RD$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},DZD:{code:"DZD",symbol:"د.ج.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},EGP:{code:"EGP",symbol:"ج.م.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},ERN:{code:"ERN",symbol:"Nfk",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},ETB:{code:"ETB",symbol:"ETB",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},EUR:{code:"EUR",symbol:"€",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},FJD:{code:"FJD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},FKP:{code:"FKP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GBP:{code:"GBP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GEL:{code:"GEL",symbol:"Lari",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},GHS:{code:"GHS",symbol:"₵",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GIP:{code:"GIP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GMD:{code:"GMD",symbol:"D",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GNF:{code:"GNF",symbol:"FG",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},GTQ:{code:"GTQ",symbol:"Q",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GYD:{code:"GYD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},HKD:{code:"HKD",symbol:"HK$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},HNL:{code:"HNL",symbol:"L.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},HRK:{code:"HRK",symbol:"kn",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},HTG:{code:"HTG",symbol:"G",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},HUF:{code:"HUF",symbol:"Ft",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},IDR:{code:"IDR",symbol:"Rp",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},ILS:{code:"ILS",symbol:"₪",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},INR:{code:"INR",symbol:"₹",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},IQD:{code:"IQD",symbol:"د.ع.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},IRR:{code:"IRR",symbol:"﷼",thousandsSeparator:",",decimalSeparator:"/",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},ISK:{code:"ISK",symbol:"kr.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:0},JMD:{code:"JMD",symbol:"J$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},JOD:{code:"JOD",symbol:"د.ا.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3},JPY:{code:"JPY",symbol:"¥",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},KES:{code:"KES",symbol:"KSh",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},KGS:{code:"KGS",symbol:"сом",thousandsSeparator:" ",decimalSeparator:"-",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},KHR:{code:"KHR",symbol:"៛",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},KMF:{code:"KMF",symbol:"CF",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},KPW:{code:"KPW",symbol:"₩",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},KRW:{code:"KRW",symbol:"₩",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},KWD:{code:"KWD",symbol:"د.ك.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3},KYD:{code:"KYD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},KZT:{code:"KZT",symbol:"₸",thousandsSeparator:" ",decimalSeparator:"-",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},LAK:{code:"LAK",symbol:"₭",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},LBP:{code:"LBP",symbol:"ل.ل.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},LKR:{code:"LKR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:0},LRD:{code:"LRD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},LSL:{code:"LSL",symbol:"M",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},LYD:{code:"LYD",symbol:"د.ل.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:3},MAD:{code:"MAD",symbol:"د.م.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},MDL:{code:"MDL",symbol:"lei",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},MGA:{code:"MGA",symbol:"Ar",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},MKD:{code:"MKD",symbol:"ден.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},MMK:{code:"MMK",symbol:"K",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MNT:{code:"MNT",symbol:"₮",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MOP:{code:"MOP",symbol:"MOP$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MRO:{code:"MRO",symbol:"UM",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MTL:{code:"MTL",symbol:"₤",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MUR:{code:"MUR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MVR:{code:"MVR",symbol:"MVR",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:1},MWK:{code:"MWK",symbol:"MK",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MXN:{code:"MXN",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MYR:{code:"MYR",symbol:"RM",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MZN:{code:"MZN",symbol:"MT",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},NAD:{code:"NAD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},NGN:{code:"NGN",symbol:"₦",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},NIO:{code:"NIO",symbol:"C$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},NOK:{code:"NOK",symbol:"kr",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},NPR:{code:"NPR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},NZD:{code:"NZD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},OMR:{code:"OMR",symbol:"﷼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3},PAB:{code:"PAB",symbol:"B/.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},PEN:{code:"PEN",symbol:"S/.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},PGK:{code:"PGK",symbol:"K",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},PHP:{code:"PHP",symbol:"₱",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},PKR:{code:"PKR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},PLN:{code:"PLN",symbol:"zł",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},PYG:{code:"PYG",symbol:"₲",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},QAR:{code:"QAR",symbol:"﷼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},RON:{code:"RON",symbol:"lei",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},RSD:{code:"RSD",symbol:"Дин.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},RUB:{code:"RUB",symbol:"₽",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},RWF:{code:"RWF",symbol:"RWF",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},SAR:{code:"SAR",symbol:"﷼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},SBD:{code:"SBD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SCR:{code:"SCR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SDD:{code:"SDD",symbol:"LSd",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SDG:{code:"SDG",symbol:"£‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SEK:{code:"SEK",symbol:"kr",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},SGD:{code:"SGD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SHP:{code:"SHP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SLL:{code:"SLL",symbol:"Le",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SOS:{code:"SOS",symbol:"S",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SRD:{code:"SRD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},STD:{code:"STD",symbol:"Db",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SVC:{code:"SVC",symbol:"₡",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SYP:{code:"SYP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},SZL:{code:"SZL",symbol:"E",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},THB:{code:"THB",symbol:"฿",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},TJS:{code:"TJS",symbol:"TJS",thousandsSeparator:" ",decimalSeparator:";",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},TMT:{code:"TMT",symbol:"m",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},TND:{code:"TND",symbol:"د.ت.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3},TOP:{code:"TOP",symbol:"T$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},TRY:{code:"TRY",symbol:"TL",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},TTD:{code:"TTD",symbol:"TT$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},TVD:{code:"TVD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},TWD:{code:"TWD",symbol:"NT$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},TZS:{code:"TZS",symbol:"TSh",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},UAH:{code:"UAH",symbol:"₴",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},UGX:{code:"UGX",symbol:"USh",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},USD:{code:"USD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},UYU:{code:"UYU",symbol:"$U",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},UZS:{code:"UZS",symbol:"сўм",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},VEB:{code:"VEB",symbol:"Bs.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},VEF:{code:"VEF",symbol:"Bs. F.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},VND:{code:"VND",symbol:"₫",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:1},VUV:{code:"VUV",symbol:"VT",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},WST:{code:"WST",symbol:"WS$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},XAF:{code:"XAF",symbol:"F",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},XCD:{code:"XCD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},XBT:{code:"XBT",symbol:"Ƀ",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},XOF:{code:"XOF",symbol:"F",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},XPF:{code:"XPF",symbol:"F",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},YER:{code:"YER",symbol:"﷼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},ZAR:{code:"ZAR",symbol:"R",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},ZMW:{code:"ZMW",symbol:"ZK",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},WON:{code:"WON",symbol:"₩",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2}}}}},{package:"currency-formatter",file:"node_modules/currency-formatter/currencies.json"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/currency-formatter/index.js",{"./currencies.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/currency-formatter/currencies.json","./localeFormats.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/currency-formatter/localeFormats.json",accounting:"/home/runner/work/metamask-extension/metamask-extension/node_modules/accounting/accounting.js","locale-currency":"/home/runner/work/metamask-extension/metamask-extension/node_modules/locale-currency/index.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,r){var n=e("accounting"),o=e("object-assign"),s=e("locale-currency"),i=e("./currencies.json"),a=e("./localeFormats.json"),u={symbol:"",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},c={},d=[{symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,format:{pos:"%s%v",neg:"-%s%v",zero:"%s%v"}},{symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,format:{pos:"%s %v",neg:"-%s %v",zero:"%s %v"}},{symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,format:{pos:"%v%s",neg:"-%v%s",zero:"%v%s"}},{symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,format:{pos:"%v %s",neg:"-%v %s",zero:"%v %s"}}];function f(e){return i[e]}function l(e){return void 0===e}t.exports={defaultCurrency:u,get currencies(){return Object.keys(i).map(function(e){return i[e]})},findCurrency:f,format:function(e,t){var r=t.code||t.locale&&s.getCurrency(t.locale),i=/^([a-z]+)([_-]([a-z]+))?$/i.exec(t.locale)||[],h=i[1],m=i[3],p=o({},c,a[h]||{},a[h+"-"+m]||{}),b=o({},u,f(r),p),y=b.symbolOnLeft,g=b.spaceBetweenAmountAndSymbol,w=d.filter(function(e){return e.symbolOnLeft==y&&e.spaceBetweenAmountAndSymbol==g})[0].format;return n.formatMoney(e,{symbol:l(t.symbol)?b.symbol:t.symbol,decimal:l(t.decimal)?b.decimalSeparator:t.decimal,thousand:l(t.thousand)?b.thousandsSeparator:t.thousand,precision:"number"==typeof t.precision?t.precision:b.decimalDigits,format:["string","object"].indexOf(typeof t.format)>-1?t.format:w})},unformat:function(e,t){var r=t.code||t.locale&&s.getCurrency(t.locale),i=a[t.locale]||c,d=o({},u,f(r),i),h=l(t.decimal)?d.decimalSeparator:t.decimal;return n.unformat(e,h)}}}}},{package:"currency-formatter",file:"node_modules/currency-formatter/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/currency-formatter/localeFormats.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={de:{thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},el:{symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,thousandsSeparator:".",decimalSeparator:",",decimalDigits:2},"en-IE":{symbolOnLeft:!0,thousandsSeparator:",",decimalSeparator:".",spaceBetweenAmountAndSymbol:!0,decimalDigits:2},es:{thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},it:{symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,thousandsSeparator:".",decimalSeparator:",",decimalDigits:2},nl:{symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,thousandsSeparator:".",decimalSeparator:",",decimalDigits:2}}}}},{package:"currency-formatter",file:"node_modules/currency-formatter/localeFormats.json"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/debug/src/browser.js",{"./common":"/home/runner/work/metamask-extension/metamask-extension/node_modules/debug/src/common.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,r){(function(n){(function(){r.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;e.splice(1,0,r,"color: inherit");let n=0,o=0;e[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))}),e.splice(o,0,r)},r.save=function(e){try{e?r.storage.setItem("debug",e):r.storage.removeItem("debug")}catch(e){}},r.load=function(){let e;try{e=r.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=null);return e},r.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},r.storage=function(){try{return localStorage}catch(e){}}(),r.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],r.log=console.debug||console.log||(()=>{}),t.exports=e("./common")(r);const{formatters:o}=t.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this)}).call(this,e("_process"))}}},{package:"nock>debug",file:"node_modules/debug/src/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/debug/src/common.js",{ms:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ms/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(t){function r(e){let t,o,s,i=null;function a(...e){if(!a.enabled)return;const n=a,o=Number(new Date),s=o-(t||o);n.diff=s,n.prev=t,n.curr=o,t=o,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,o)=>{if("%%"===t)return"%";i++;const s=r.formatters[o];if("function"==typeof s){const r=e[i];t=s.call(n,r),e.splice(i,1),i--}return t}),r.formatArgs.call(n,e);(n.log||r.log).apply(n,e)}return a.namespace=e,a.useColors=r.useColors(),a.color=r.selectColor(e),a.extend=n,a.destroy=r.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==r.namespaces&&(o=r.namespaces,s=r.enabled(e)),s),set:e=>{i=e}}),"function"==typeof r.init&&r.init(a),a}function n(e,t){const n=r(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){const e=[...r.names.map(o),...r.skips.map(o).map(e=>"-"+e)].join(",");return r.enable(""),e},r.enable=function(e){let t;r.save(e),r.namespaces=e,r.names=[],r.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.slice(1)+"$")):r.names.push(new RegExp("^"+e+"$")))},r.enabled=function(e){if("*"===e[e.length-1])return!0;let t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=e("ms"),r.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach(e=>{r[e]=t[e]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=function(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return r.colors[Math.abs(t)%r.colors.length]},r.enable(r.load()),r}}}},{package:"nock>debug",file:"node_modules/debug/src/common.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/deep-freeze-strict/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function e(t){Object.freeze(t);var r="function"==typeof t,n=Object.prototype.hasOwnProperty;return Object.getOwnPropertyNames(t).forEach(function(o){!n.call(t,o)||r&&("caller"===o||"callee"===o||"arguments"===o)||null===t[o]||"object"!=typeof t[o]&&"function"!=typeof t[o]||Object.isFrozen(t[o])||e(t[o])}),t}}}},{package:"deep-freeze-strict",file:"node_modules/deep-freeze-strict/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/deepmerge/dist/cjs.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?d((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map(function(e){return s(e,r)})}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function u(e,t){try{return t in e}catch(e){return!1}}function c(e,t,r){var n={};return r.isMergeableObject(e)&&a(e).forEach(function(t){n[t]=s(e[t],r)}),a(t).forEach(function(o){(function(e,t){return u(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(u(e,o)&&r.isMergeableObject(t[o])?n[o]=function(e,t){if(!t.customMerge)return d;var r=t.customMerge(e);return"function"==typeof r?r:d}(o,r)(e[o],t[o],r):n[o]=s(t[o],r))}),n}function d(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||i,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=s;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):c(e,t,r):s(t,r)}d.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,r){return d(e,r,t)},{})};var f=d;t.exports=f}}},{package:"addons-linter>deepmerge",file:"node_modules/deepmerge/dist/cjs.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/define-data-property/index.js",{"es-define-property":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-define-property/index.js","es-errors/syntax":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/syntax.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js",gopd:"/home/runner/work/metamask-extension/metamask-extension/node_modules/gopd/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("es-define-property"),o=e("es-errors/syntax"),s=e("es-errors/type"),i=e("gopd");t.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new s("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,d=arguments.length>6&&arguments[6],f=!!i&&i(e,t);if(n)n(e,t,{configurable:null===c&&f?f.configurable:!c,enumerable:null===a&&f?f.enumerable:!a,value:r,writable:null===u&&f?f.writable:!u});else{if(!d&&(a||u||c))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}}}},{package:"string.prototype.matchall>define-properties>define-data-property",file:"node_modules/define-data-property/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des.js",{"./des/cbc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des/cbc.js","./des/cipher":"/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des/cipher.js","./des/des":"/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des/des.js","./des/ede":"/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des/ede.js","./des/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.utils=e("./des/utils"),r.Cipher=e("./des/cipher"),r.DES=e("./des/des"),r.CBC=e("./des/cbc"),r.EDE=e("./des/ede")}}},{package:"crypto-browserify>browserify-cipher>browserify-des>des.js",file:"node_modules/des.js/lib/des.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des/cbc.js",{inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","minimalistic-assert":"/home/runner/work/metamask-extension/metamask-extension/node_modules/minimalistic-assert/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("minimalistic-assert"),o=e("inherits"),s={};function i(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}r.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}o(t,e);for(var r=Object.keys(s),n=0;n<r.length;n++){var i=r[n];t.prototype[i]=s[i]}return t.create=function(e){return new t(e)},t},s._cbcInit=function(){var e=new i(this.options.iv);this._cbcState=e},s._update=function(e,t,r,n){var o=this._cbcState,s=this.constructor.super_.prototype,i=o.iv;if("encrypt"===this.type){for(var a=0;a<this.blockSize;a++)i[a]^=e[t+a];s._update.call(this,i,0,r,n);for(a=0;a<this.blockSize;a++)i[a]=r[n+a]}else{s._update.call(this,e,t,r,n);for(a=0;a<this.blockSize;a++)r[n+a]^=i[a];for(a=0;a<this.blockSize;a++)i[a]=e[t+a]}}}}},{package:"crypto-browserify>browserify-cipher>browserify-des>des.js",file:"node_modules/des.js/lib/des/cbc.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des/cipher.js",{"minimalistic-assert":"/home/runner/work/metamask-extension/metamask-extension/node_modules/minimalistic-assert/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("minimalistic-assert");function o(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=o,o.prototype._init=function(){},o.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},o.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},o.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},o.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,o=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(o,r)));for(var s=e.length-(e.length-t)%this.blockSize;t<s;t+=this.blockSize)this._update(e,t,o,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return o},o.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,o=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(o,r);return t+=this._buffer(e,t),o},o.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},o.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},o.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},o.prototype._unpad=function(e){return e},o.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}}}},{package:"crypto-browserify>browserify-cipher>browserify-des>des.js",file:"node_modules/des.js/lib/des/cipher.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des/des.js",{"../des":"/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","minimalistic-assert":"/home/runner/work/metamask-extension/metamask-extension/node_modules/minimalistic-assert/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),i=s.utils,a=s.Cipher;function u(){this.tmp=new Array(2),this.keys=null}function c(e){a.call(this,e);var t=new u;this._desState=t,this.deriveKeys(t,e.key)}o(c,a),t.exports=c,c.create=function(e){return new c(e)};var d=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var r=i.readUInt32BE(t,0),o=i.readUInt32BE(t,4);i.pc1(r,o,e.tmp,0),r=e.tmp[0],o=e.tmp[1];for(var s=0;s<e.keys.length;s+=2){var a=d[s>>>1];r=i.r28shl(r,a),o=i.r28shl(o,a),i.pc2(r,o,e.keys,s)}},c.prototype._update=function(e,t,r,n){var o=this._desState,s=i.readUInt32BE(e,t),a=i.readUInt32BE(e,t+4);i.ip(s,a,o.tmp,0),s=o.tmp[0],a=o.tmp[1],"encrypt"===this.type?this._encrypt(o,s,a,o.tmp,0):this._decrypt(o,s,a,o.tmp,0),s=o.tmp[0],a=o.tmp[1],i.writeUInt32BE(r,s,n),i.writeUInt32BE(r,a,n+4)},c.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},c.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)n.equal(e[r],t);return e.slice(0,e.length-t)},c.prototype._encrypt=function(e,t,r,n,o){for(var s=t,a=r,u=0;u<e.keys.length;u+=2){var c=e.keys[u],d=e.keys[u+1];i.expand(a,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var f=i.substitute(c,d),l=a;a=(s^i.permute(f))>>>0,s=l}i.rip(a,s,n,o)},c.prototype._decrypt=function(e,t,r,n,o){for(var s=r,a=t,u=e.keys.length-2;u>=0;u-=2){var c=e.keys[u],d=e.keys[u+1];i.expand(s,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var f=i.substitute(c,d),l=s;s=(a^i.permute(f))>>>0,a=l}i.rip(s,a,n,o)}}}},{package:"crypto-browserify>browserify-cipher>browserify-des>des.js",file:"node_modules/des.js/lib/des/des.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des/ede.js",{"../des":"/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","minimalistic-assert":"/home/runner/work/metamask-extension/metamask-extension/node_modules/minimalistic-assert/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),i=s.Cipher,a=s.DES;function u(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),o=t.slice(8,16),s=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:s})]:[a.create({type:"decrypt",key:s}),a.create({type:"encrypt",key:o}),a.create({type:"decrypt",key:r})]}function c(e){i.call(this,e);var t=new u(this.type,this.options.key);this._edeState=t}o(c,i),t.exports=c,c.create=function(e){return new c(e)},c.prototype._update=function(e,t,r,n){var o=this._edeState;o.ciphers[0]._update(e,t,r,n),o.ciphers[1]._update(r,n,r,n),o.ciphers[2]._update(r,n,r,n)},c.prototype._pad=a.prototype._pad,c.prototype._unpad=a.prototype._unpad}}},{package:"crypto-browserify>browserify-cipher>browserify-des>des.js",file:"node_modules/des.js/lib/des/ede.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/des.js/lib/des/utils.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},r.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},r.ip=function(e,t,r,n){for(var o=0,s=0,i=6;i>=0;i-=2){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>>a+i&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>>a+i&1}for(i=6;i>=0;i-=2){for(a=1;a<=25;a+=8)s<<=1,s|=t>>>a+i&1;for(a=1;a<=25;a+=8)s<<=1,s|=e>>>a+i&1}r[n+0]=o>>>0,r[n+1]=s>>>0},r.rip=function(e,t,r,n){for(var o=0,s=0,i=0;i<4;i++)for(var a=24;a>=0;a-=8)o<<=1,o|=t>>>a+i&1,o<<=1,o|=e>>>a+i&1;for(i=4;i<8;i++)for(a=24;a>=0;a-=8)s<<=1,s|=t>>>a+i&1,s<<=1,s|=e>>>a+i&1;r[n+0]=o>>>0,r[n+1]=s>>>0},r.pc1=function(e,t,r,n){for(var o=0,s=0,i=7;i>=5;i--){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>a+i&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+i&1}for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+i&1;for(i=1;i<=3;i++){for(a=0;a<=24;a+=8)s<<=1,s|=t>>a+i&1;for(a=0;a<=24;a+=8)s<<=1,s|=e>>a+i&1}for(a=0;a<=24;a+=8)s<<=1,s|=e>>a+i&1;r[n+0]=o>>>0,r[n+1]=s>>>0},r.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(e,t,r,o){for(var s=0,i=0,a=n.length>>>1,u=0;u<a;u++)s<<=1,s|=e>>>n[u]&1;for(u=a;u<n.length;u++)i<<=1,i|=t>>>n[u]&1;r[o+0]=s>>>0,r[o+1]=i>>>0},r.expand=function(e,t,r){var n=0,o=0;n=(1&e)<<5|e>>>27;for(var s=23;s>=15;s-=4)n<<=6,n|=e>>>s&63;for(s=11;s>=3;s-=4)o|=e>>>s&63,o<<=6;o|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=o>>>0};var o=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=o[64*n+(e>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=o[256+64*n+(t>>>18-6*n&63)]}return r>>>0};var s=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(e){for(var t=0,r=0;r<s.length;r++)t<<=1,t|=e>>>s[r]&1;return t>>>0},r.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var o=[],s=0;s<t;s+=r)o.push(n.slice(s,s+r));return o.join(" ")}}}},{package:"crypto-browserify>browserify-cipher>browserify-des>des.js",file:"node_modules/des.js/lib/des/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/detect-node-es/es5/browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports.isNode=!1}}},{package:"react-focus-lock>use-sidecar>detect-node-es",file:"node_modules/detect-node-es/es5/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/diffie-hellman/browser.js",{"./lib/dh":"/home/runner/work/metamask-extension/metamask-extension/node_modules/diffie-hellman/lib/dh.js","./lib/generatePrime":"/home/runner/work/metamask-extension/metamask-extension/node_modules/diffie-hellman/lib/generatePrime.js","./lib/primes.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/diffie-hellman/lib/primes.json",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,r){(function(t){(function(){var n=e("./lib/generatePrime"),o=e("./lib/primes.json"),s=e("./lib/dh");var i={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(e){var r=new t(o[e].prime,"hex"),n=new t(o[e].gen,"hex");return new s(r,n)},r.createDiffieHellman=r.DiffieHellman=function e(r,o,a,u){return t.isBuffer(o)||i[o]===undefined?e(r,"binary",o,a):(o=o||"binary",u=u||"binary",a=a||new t([2]),t.isBuffer(a)||(a=new t(a,u)),"number"==typeof r?new s(n(r,a),a,!0):(t.isBuffer(r)||(r=new t(r,o)),new s(r,a,!0)))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"crypto-browserify>diffie-hellman",file:"node_modules/diffie-hellman/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/diffie-hellman/lib/dh.js",{"./generatePrime":"/home/runner/work/metamask-extension/metamask-extension/node_modules/diffie-hellman/lib/generatePrime.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","miller-rabin":"/home/runner/work/metamask-extension/metamask-extension/node_modules/miller-rabin/lib/mr.js",randombytes:"/home/runner/work/metamask-extension/metamask-extension/node_modules/randombytes/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("bn.js"),o=new(e("miller-rabin")),s=new n(24),i=new n(11),a=new n(10),u=new n(3),c=new n(7),d=e("./generatePrime"),f=e("randombytes");function l(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._pub=new n(e),this}function h(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._priv=new n(e),this}t.exports=p;var m={};function p(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=undefined,this._priv=undefined,this._primeCode=undefined,r?(this.setPublicKey=l,this.setPrivateKey=h):this._primeCode=8}function b(e,t){var n=new r(e.toArray());return t?n.toString(t):n}Object.defineProperty(p.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in m)return m[n];var f,l=0;if(e.isEven()||!d.simpleSieve||!d.fermatTest(e)||!o.test(e))return l+=1,l+="02"===r||"05"===r?8:4,m[n]=l,l;switch(o.test(e.shrn(1))||(l+=2),r){case"02":e.mod(s).cmp(i)&&(l+=8);break;case"05":(f=e.mod(a)).cmp(u)&&f.cmp(c)&&(l+=8);break;default:l+=4}return m[n]=l,l}(this.__prime,this.__gen)),this._primeCode}}),p.prototype.generateKeys=function(){return this._priv||(this._priv=new n(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},p.prototype.computeSecret=function(e){var t=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),o=new r(t.toArray()),s=this.getPrime();if(o.length<s.length){var i=new r(s.length-o.length);i.fill(0),o=r.concat([i,o])}return o},p.prototype.getPublicKey=function(e){return b(this._pub,e)},p.prototype.getPrivateKey=function(e){return b(this._priv,e)},p.prototype.getPrime=function(e){return b(this.__prime,e)},p.prototype.getGenerator=function(e){return b(this._gen,e)},p.prototype.setGenerator=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.__gen=e,this._gen=new n(e),this}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"crypto-browserify>diffie-hellman",file:"node_modules/diffie-hellman/lib/dh.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/diffie-hellman/lib/generatePrime.js",{"bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js","miller-rabin":"/home/runner/work/metamask-extension/metamask-extension/node_modules/miller-rabin/lib/mr.js",randombytes:"/home/runner/work/metamask-extension/metamask-extension/node_modules/randombytes/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("randombytes");t.exports=g,g.simpleSieve=b,g.fermatTest=y;var o=e("bn.js"),s=new o(24),i=new(e("miller-rabin")),a=new o(1),u=new o(2),c=new o(5),d=(new o(16),new o(8),new o(10)),f=new o(3),l=(new o(7),new o(11)),h=new o(4),m=(new o(12),null);function p(){if(null!==m)return m;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),o=0;o<t&&e[o]<=n&&r%e[o]!==0;o++);t!==o&&e[o]<=n||(e[t++]=r)}return m=e,e}function b(e){for(var t=p(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function y(e){var t=o.mont(e);return 0===u.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function g(e,t){if(e<16)return new o(2===t||5===t?[140,123]:[140,39]);var r,m;for(t=new o(t);;){for(r=new o(n(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(a),r.testn(1)||r.iadd(u),t.cmp(u)){if(!t.cmp(c))for(;r.mod(d).cmp(f);)r.iadd(h)}else for(;r.mod(s).cmp(l);)r.iadd(h);if(b(m=r.shrn(1))&&b(r)&&y(m)&&y(r)&&i.test(m)&&i.test(r))return r}}}}},{package:"crypto-browserify>diffie-hellman",file:"node_modules/diffie-hellman/lib/generatePrime.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/diffie-hellman/lib/primes.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}}}},{package:"crypto-browserify>diffie-hellman",file:"node_modules/diffie-hellman/lib/primes.json"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/dunder-proto/get.js",{"call-bind-apply-helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind-apply-helpers/index.js",gopd:"/home/runner/work/metamask-extension/metamask-extension/node_modules/gopd/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=e("call-bind-apply-helpers"),s=e("gopd");try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var i=!!n&&s&&s(Object.prototype,"__proto__"),a=Object,u=a.getPrototypeOf;t.exports=i&&"function"==typeof i.get?o([i.get]):"function"==typeof u&&function(e){return u(null==e?e:a(e))}}}},{package:"string.prototype.matchall>get-intrinsic>get-proto>dunder-proto",file:"node_modules/dunder-proto/get.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic.js",{"../package.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/package.json","./elliptic/curve":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/index.js","./elliptic/curves":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curves.js","./elliptic/ec":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/ec/index.js","./elliptic/eddsa":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/eddsa/index.js","./elliptic/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js",brorand:"/home/runner/work/metamask-extension/metamask-extension/node_modules/brorand/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=r;n.version=e("../package.json").version,n.utils=e("./elliptic/utils"),n.rand=e("brorand"),n.curve=e("./elliptic/curve"),n.curves=e("./elliptic/curves"),n.ec=e("./elliptic/ec"),n.eddsa=e("./elliptic/eddsa")}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/base.js",{"../utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("bn.js"),o=e("../utils"),s=o.getNAF,i=o.getJSF,a=o.assert;function u(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(e,t){this.curve=e,this.type=t,this.precomputed=null}t.exports=u,u.prototype.point=function(){throw new Error("Not implemented")},u.prototype.validate=function(){throw new Error("Not implemented")},u.prototype._fixedNafMul=function(e,t){a(e.precomputed);var r=e._getDoubles(),n=s(t,1,this._bitLength),o=(1<<r.step+1)-(r.step%2==0?2:1);o/=3;var i,u,c=[];for(i=0;i<n.length;i+=r.step){u=0;for(var d=i+r.step-1;d>=i;d--)u=(u<<1)+n[d];c.push(u)}for(var f=this.jpoint(null,null,null),l=this.jpoint(null,null,null),h=o;h>0;h--){for(i=0;i<c.length;i++)(u=c[i])===h?l=l.mixedAdd(r.points[i]):u===-h&&(l=l.mixedAdd(r.points[i].neg()));f=f.add(l)}return f.toP()},u.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var o=n.points,i=s(t,r,this._bitLength),u=this.jpoint(null,null,null),c=i.length-1;c>=0;c--){for(var d=0;c>=0&&0===i[c];c--)d++;if(c>=0&&d++,u=u.dblp(d),c<0)break;var f=i[c];a(0!==f),u="affine"===e.type?f>0?u.mixedAdd(o[f-1>>1]):u.mixedAdd(o[-f-1>>1].neg()):f>0?u.add(o[f-1>>1]):u.add(o[-f-1>>1].neg())}return"affine"===e.type?u.toP():u},u.prototype._wnafMulAdd=function(e,t,r,n,o){var a,u,c,d=this._wnafT1,f=this._wnafT2,l=this._wnafT3,h=0;for(a=0;a<n;a++){var m=(c=t[a])._getNAFPoints(e);d[a]=m.wnd,f[a]=m.points}for(a=n-1;a>=1;a-=2){var p=a-1,b=a;if(1===d[p]&&1===d[b]){var y=[t[p],null,null,t[b]];0===t[p].y.cmp(t[b].y)?(y[1]=t[p].add(t[b]),y[2]=t[p].toJ().mixedAdd(t[b].neg())):0===t[p].y.cmp(t[b].y.redNeg())?(y[1]=t[p].toJ().mixedAdd(t[b]),y[2]=t[p].add(t[b].neg())):(y[1]=t[p].toJ().mixedAdd(t[b]),y[2]=t[p].toJ().mixedAdd(t[b].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],w=i(r[p],r[b]);for(h=Math.max(w[0].length,h),l[p]=new Array(h),l[b]=new Array(h),u=0;u<h;u++){var k=0|w[0][u],_=0|w[1][u];l[p][u]=g[3*(k+1)+(_+1)],l[b][u]=0,f[p]=y}}else l[p]=s(r[p],d[p],this._bitLength),l[b]=s(r[b],d[b],this._bitLength),h=Math.max(l[p].length,h),h=Math.max(l[b].length,h)}var v=this.jpoint(null,null,null),x=this._wnafT4;for(a=h;a>=0;a--){for(var j=0;a>=0;){var S=!0;for(u=0;u<n;u++)x[u]=0|l[u][a],0!==x[u]&&(S=!1);if(!S)break;j++,a--}if(a>=0&&j++,v=v.dblp(j),a<0)break;for(u=0;u<n;u++){var E=x[u];0!==E&&(E>0?c=f[u][E-1>>1]:E<0&&(c=f[u][-E-1>>1].neg()),v="affine"===c.type?v.mixedAdd(c):v.add(c))}}for(a=0;a<n;a++)f[a]=null;return o?v:v.toP()},u.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},u.prototype.decodePoint=function(e,t){e=o.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?a(e[e.length-1]%2==0):7===e[0]&&a(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(e){return this.encode(e,!0)},c.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},c.prototype.encode=function(e,t){return o.encode(this._encode(t),e)},c.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},c.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,o=0;o<t;o+=e){for(var s=0;s<e;s++)n=n.dbl();r.push(n)}return{step:e,points:r}},c.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),o=1;o<r;o++)t[o]=t[o-1].add(n);return{wnd:e,points:t}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/curve/base.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/edwards.js",{"../utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js","./base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/base.js","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.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,r){var n=e("../utils"),o=e("bn.js"),s=e("inherits"),i=e("./base"),a=n.assert;function u(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,i.call(this,"edwards",e),this.a=new o(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function c(e,t,r,n,s){i.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(t,16),this.y=new o(r,16),this.z=n?new o(n,16):this.curve.one,this.t=s&&new o(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}s(u,i),t.exports=u,u.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},u.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},u.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},u.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),s=this.one.redSub(this.c2.redMul(this.d).redMul(r)),i=n.redMul(s.redInvm()),a=i.redSqrt();if(0!==a.redSqr().redSub(i).cmp(this.zero))throw new Error("invalid point");var u=a.fromRed().isOdd();return(t&&!u||!t&&u)&&(a=a.redNeg()),this.point(e,a)},u.prototype.pointFromY=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),s=r.redMul(this.d).redMul(this.c2).redSub(this.a),i=n.redMul(s.redInvm());if(0===i.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=i.redSqrt();if(0!==a.redSqr().redSub(i).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},u.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),o=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(o)},s(c,i.BasePoint),u.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},u.prototype.point=function(e,t,r,n){return new c(this,e,t,r,n)},c.fromJSON=function(e,t){return new c(e,t[0],t[1],t[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),o=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),s=n.redAdd(t),i=s.redSub(r),a=n.redSub(t),u=o.redMul(i),c=s.redMul(a),d=o.redMul(a),f=i.redMul(s);return this.curve.point(u,c,f,d)},c.prototype._projDbl=function(){var e,t,r,n,o,s,i=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),u=this.y.redSqr();if(this.curve.twisted){var c=(n=this.curve._mulA(a)).redAdd(u);this.zOne?(e=i.redSub(a).redSub(u).redMul(c.redSub(this.curve.two)),t=c.redMul(n.redSub(u)),r=c.redSqr().redSub(c).redSub(c)):(o=this.z.redSqr(),s=c.redSub(o).redISub(o),e=i.redSub(a).redISub(u).redMul(s),t=c.redMul(n.redSub(u)),r=c.redMul(s))}else n=a.redAdd(u),o=this.curve._mulC(this.z).redSqr(),s=n.redSub(o).redSub(o),e=this.curve._mulC(i.redISub(n)).redMul(s),t=this.curve._mulC(n).redMul(a.redISub(u)),r=n.redMul(s);return this.curve.point(e,t,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),o=this.z.redMul(e.z.redAdd(e.z)),s=r.redSub(t),i=o.redSub(n),a=o.redAdd(n),u=r.redAdd(t),c=s.redMul(i),d=a.redMul(u),f=s.redMul(u),l=i.redMul(a);return this.curve.point(c,d,l,f)},c.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),o=n.redSqr(),s=this.x.redMul(e.x),i=this.y.redMul(e.y),a=this.curve.d.redMul(s).redMul(i),u=o.redSub(a),c=o.redAdd(a),d=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(s).redISub(i),f=n.redMul(u).redMul(d);return this.curve.twisted?(t=n.redMul(c).redMul(i.redSub(this.curve._mulA(s))),r=u.redMul(c)):(t=n.redMul(c).redMul(i.redSub(s)),r=this.curve._mulC(u).redMul(c)),this.curve.point(f,t,r)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},c.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/curve/edwards.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/index.js",{"./base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/base.js","./edwards":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/edwards.js","./mont":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/mont.js","./short":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/short.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=r;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/curve/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/mont.js",{"../utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js","./base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/base.js","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.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,r){var n=e("bn.js"),o=e("inherits"),s=e("./base"),i=e("../utils");function a(e){s.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function u(e,t,r){s.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(a,s),t.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},o(u,s.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(i.toArray(e,t),1)},a.prototype.point=function(e,t){return new u(this,e,t)},a.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},u.prototype.precompute=function(){},u.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},u.fromJSON=function(e,t){return new u(e,t[0],t[1]||e.one)},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},u.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),o=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,o)},u.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),o=e.x.redAdd(e.z),s=e.x.redSub(e.z).redMul(r),i=o.redMul(n),a=t.z.redMul(s.redAdd(i).redSqr()),u=t.x.redMul(s.redISub(i).redSqr());return this.curve.point(a,u)},u.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),o=[];0!==t.cmpn(0);t.iushrn(1))o.push(t.andln(1));for(var s=o.length-1;s>=0;s--)0===o[s]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},u.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},u.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()}}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/curve/mont.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/short.js",{"../utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js","./base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/base.js","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.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,r){var n=e("../utils"),o=e("bn.js"),s=e("inherits"),i=e("./base"),a=n.assert;function u(e){i.call(this,"short",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(e,t,r,n){i.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(t,16),this.y=new o(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function d(e,t,r,n){i.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(t,16),this.y=new o(r,16),this.z=new o(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}s(u,i),t.exports=u,u.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new o(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new o(e.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(t))?r=s[0]:(r=s[1],a(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map(function(e){return{a:new o(e.a,16),b:new o(e.b,16)}}):this._getEndoBasis(r)}}},u.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:o.mont(e),r=new o(2).toRed(t).redInvm(),n=r.redNeg(),s=new o(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(s).fromRed(),n.redSub(s).fromRed()]},u.prototype._getEndoBasis=function(e){for(var t,r,n,s,i,a,u,c,d,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),l=e,h=this.n.clone(),m=new o(1),p=new o(0),b=new o(0),y=new o(1),g=0;0!==l.cmpn(0);){var w=h.div(l);c=h.sub(w.mul(l)),d=b.sub(w.mul(m));var k=y.sub(w.mul(p));if(!n&&c.cmp(f)<0)t=u.neg(),r=m,n=c.neg(),s=d;else if(n&&2===++g)break;u=c,h=l,l=c,b=m,m=d,y=p,p=k}i=c.neg(),a=d;var _=n.sqr().add(s.sqr());return i.sqr().add(a.sqr()).cmp(_)>=0&&(i=t,a=r),n.negative&&(n=n.neg(),s=s.neg()),i.negative&&(i=i.neg(),a=a.neg()),[{a:n,b:s},{a:i,b:a}]},u.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],o=n.b.mul(e).divRound(this.n),s=r.b.neg().mul(e).divRound(this.n),i=o.mul(r.a),a=s.mul(n.a),u=o.mul(r.b),c=s.mul(n.b);return{k1:e.sub(i).sub(a),k2:u.add(c).neg()}},u.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var s=n.fromRed().isOdd();return(t&&!s||!t&&s)&&(n=n.redNeg()),this.point(e,n)},u.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),o=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(o).cmpn(0)},u.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,o=this._endoWnafT2,s=0;s<e.length;s++){var i=this._endoSplit(t[s]),a=e[s],u=a._getBeta();i.k1.negative&&(i.k1.ineg(),a=a.neg(!0)),i.k2.negative&&(i.k2.ineg(),u=u.neg(!0)),n[2*s]=a,n[2*s+1]=u,o[2*s]=i.k1,o[2*s+1]=i.k2}for(var c=this._wnafMulAdd(1,n,o,2*s,r),d=0;d<2*s;d++)n[d]=null,o[d]=null;return c},s(c,i.BasePoint),u.prototype.point=function(e,t,r){return new c(this,e,t,r)},u.prototype.pointFromJSON=function(e,t){return c.fromJSON(this,e,t)},c.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function o(t){return e.point(t[0],t[1],r)}var s=t[2];return n.precomputed={beta:null,doubles:s.doubles&&{step:s.doubles.step,points:[n].concat(s.doubles.points.map(o))},naf:s.naf&&{wnd:s.naf.wnd,points:[n].concat(s.naf.points.map(o))}},n},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},c.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),o=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),s=o.redSqr().redISub(this.x.redAdd(this.x)),i=o.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,i)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return e=new o(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},c.prototype.jmulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o,!0):this.curve._wnafMulAdd(1,n,o,2,!0)},c.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},c.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},s(d,i.BasePoint),u.prototype.jpoint=function(e,t,r){return new d(this,e,t,r)},d.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},d.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},d.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),o=e.x.redMul(r),s=this.y.redMul(t.redMul(e.z)),i=e.y.redMul(r.redMul(this.z)),a=n.redSub(o),u=s.redSub(i);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),d=c.redMul(a),f=n.redMul(c),l=u.redSqr().redIAdd(d).redISub(f).redISub(f),h=u.redMul(f.redISub(l)).redISub(s.redMul(d)),m=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(l,h,m)},d.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),o=this.y,s=e.y.redMul(t).redMul(this.z),i=r.redSub(n),a=o.redSub(s);if(0===i.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=i.redSqr(),c=u.redMul(i),d=r.redMul(u),f=a.redSqr().redIAdd(c).redISub(d).redISub(d),l=a.redMul(d.redISub(f)).redISub(o.redMul(c)),h=this.z.redMul(i);return this.curve.jpoint(f,l,h)},d.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var r=this;for(t=0;t<e;t++)r=r.dbl();return r}var n=this.curve.a,o=this.curve.tinv,s=this.x,i=this.y,a=this.z,u=a.redSqr().redSqr(),c=i.redAdd(i);for(t=0;t<e;t++){var d=s.redSqr(),f=c.redSqr(),l=f.redSqr(),h=d.redAdd(d).redIAdd(d).redIAdd(n.redMul(u)),m=s.redMul(f),p=h.redSqr().redISub(m.redAdd(m)),b=m.redISub(p),y=h.redMul(b);y=y.redIAdd(y).redISub(l);var g=c.redMul(a);t+1<e&&(u=u.redMul(l)),s=p,a=g,c=y}return this.curve.jpoint(s,c.redMul(o),a)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},d.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),s=o.redSqr(),i=this.x.redAdd(o).redSqr().redISub(n).redISub(s);i=i.redIAdd(i);var a=n.redAdd(n).redIAdd(n),u=a.redSqr().redISub(i).redISub(i),c=s.redIAdd(s);c=(c=c.redIAdd(c)).redIAdd(c),e=u,t=a.redMul(i.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var d=this.x.redSqr(),f=this.y.redSqr(),l=f.redSqr(),h=this.x.redAdd(f).redSqr().redISub(d).redISub(l);h=h.redIAdd(h);var m=d.redAdd(d).redIAdd(d),p=m.redSqr(),b=l.redIAdd(l);b=(b=b.redIAdd(b)).redIAdd(b),e=p.redISub(h).redISub(h),t=m.redMul(h.redISub(e)).redISub(b),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},d.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),s=o.redSqr(),i=this.x.redAdd(o).redSqr().redISub(n).redISub(s);i=i.redIAdd(i);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),u=a.redSqr().redISub(i).redISub(i);e=u;var c=s.redIAdd(s);c=(c=c.redIAdd(c)).redIAdd(c),t=a.redMul(i.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var d=this.z.redSqr(),f=this.y.redSqr(),l=this.x.redMul(f),h=this.x.redSub(d).redMul(this.x.redAdd(d));h=h.redAdd(h).redIAdd(h);var m=l.redIAdd(l),p=(m=m.redIAdd(m)).redAdd(m);e=h.redSqr().redISub(p),r=this.y.redAdd(this.z).redSqr().redISub(f).redISub(d);var b=f.redSqr();b=(b=(b=b.redIAdd(b)).redIAdd(b)).redIAdd(b),t=h.redMul(m.redISub(e)).redISub(b)}return this.curve.jpoint(e,t,r)},d.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,o=n.redSqr().redSqr(),s=t.redSqr(),i=r.redSqr(),a=s.redAdd(s).redIAdd(s).redIAdd(e.redMul(o)),u=t.redAdd(t),c=(u=u.redIAdd(u)).redMul(i),d=a.redSqr().redISub(c.redAdd(c)),f=c.redISub(d),l=i.redSqr();l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var h=a.redMul(f).redISub(l),m=r.redAdd(r).redMul(n);return this.curve.jpoint(d,h,m)},d.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),o=e.redAdd(e).redIAdd(e),s=o.redSqr(),i=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(i=(i=(i=i.redIAdd(i)).redAdd(i).redIAdd(i)).redISub(s)).redSqr(),u=n.redIAdd(n);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var c=o.redIAdd(i).redSqr().redISub(s).redISub(a).redISub(u),d=t.redMul(c);d=(d=d.redIAdd(d)).redIAdd(d);var f=this.x.redMul(a).redISub(d);f=(f=f.redIAdd(f)).redIAdd(f);var l=this.y.redMul(c.redMul(u.redISub(c)).redISub(i.redMul(a)));l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var h=this.z.redAdd(i).redSqr().redISub(r).redISub(a);return this.curve.jpoint(f,l,h)},d.prototype.mul=function(e,t){return e=new o(e,t),this.curve._wnafMul(this,e)},d.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),o=r.redMul(e.z);return 0===this.y.redMul(o).redISub(e.y.redMul(n)).cmpn(0)},d.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),o=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(o),0===this.x.cmp(r))return!0}},d.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/curve/short.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curves.js",{"./curve":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curve/index.js","./precomputed/secp256k1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js","hash.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/hash.js/lib/hash.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=r,s=e("hash.js"),i=e("./curve"),a=e("./utils").assert;function u(e){"short"===e.type?this.curve=new i.short(e):"edwards"===e.type?this.curve=new i.edwards(e):this.curve=new i.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get:function(){var r=new u(t);return Object.defineProperty(o,e,{configurable:!0,enumerable:!0,value:r}),r}})}o.PresetCurve=u,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=e("./precomputed/secp256k1")}catch(e){n=undefined}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/curves.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/ec/index.js",{"../curves":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curves.js","../utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js","./key":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/ec/key.js","./signature":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/ec/signature.js","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js",brorand:"/home/runner/work/metamask-extension/metamask-extension/node_modules/brorand/index.js","hmac-drbg":"/home/runner/work/metamask-extension/metamask-extension/node_modules/hmac-drbg/lib/hmac-drbg.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("bn.js"),o=e("hmac-drbg"),s=e("../utils"),i=e("../curves"),a=e("brorand"),u=s.assert,c=e("./key"),d=e("./signature");function f(e){if(!(this instanceof f))return new f(e);"string"==typeof e&&(u(Object.prototype.hasOwnProperty.call(i,e),"Unknown curve "+e),e=i[e]),e instanceof i.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}t.exports=f,f.prototype.keyPair=function(e){return new c(this,e)},f.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new o({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),s=this.n.sub(new n(2));;){var i=new n(t.generate(r));if(!(i.cmp(s)>0))return i.iaddn(1),this.keyFromPrivate(i)}},f.prototype._truncateToN=function(e,t,r){var o;if(n.isBN(e)||"number"==typeof e)o=(e=new n(e,16)).byteLength();else if("object"==typeof e)o=e.length,e=new n(e,16);else{var s=e.toString();o=s.length+1>>>1,e=new n(s,16)}"number"!=typeof r&&(r=8*o);var i=r-this.n.bitLength();return i>0&&(e=e.ushrn(i)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,r,s){if("object"==typeof r&&(s=r,r=null),s||(s={}),"string"!=typeof e&&"number"!=typeof e&&!n.isBN(e)){u("object"==typeof e&&e&&"number"==typeof e.length,"Expected message to be an array-like, a hex string, or a BN instance"),u(e.length>>>0===e.length);for(var i=0;i<e.length;i++)u((255&e[i])===e[i])}t=this.keyFromPrivate(t,r),e=this._truncateToN(e,!1,s.msgBitLength),u(!e.isNeg(),"Can not sign a negative message");var a=this.n.byteLength(),c=t.getPrivate().toArray("be",a),f=e.toArray("be",a);u(new n(f).eq(e),"Can not sign message");for(var l=new o({hash:this.hash,entropy:c,nonce:f,pers:s.pers,persEnc:s.persEnc||"utf8"}),h=this.n.sub(new n(1)),m=0;;m++){var p=s.k?s.k(m):new n(l.generate(this.n.byteLength()));if(!((p=this._truncateToN(p,!0)).cmpn(1)<=0||p.cmp(h)>=0)){var b=this.g.mul(p);if(!b.isInfinity()){var y=b.getX(),g=y.umod(this.n);if(0!==g.cmpn(0)){var w=p.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(0!==(w=w.umod(this.n)).cmpn(0)){var k=(b.getY().isOdd()?1:0)|(0!==y.cmp(g)?2:0);return s.canonical&&w.cmp(this.nh)>0&&(w=this.n.sub(w),k^=1),new d({r:g,s:w,recoveryParam:k})}}}}}},f.prototype.verify=function(e,t,r,n,o){o||(o={}),e=this._truncateToN(e,!1,o.msgBitLength),r=this.keyFromPublic(r,n);var s=(t=new d(t,"hex")).r,i=t.s;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var a,u=i.invm(this.n),c=u.mul(e).umod(this.n),f=u.mul(s).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(c,r.getPublic(),f)).isInfinity()&&a.eqXToP(s):!(a=this.g.mulAdd(c,r.getPublic(),f)).isInfinity()&&0===a.getX().umod(this.n).cmp(s)},f.prototype.recoverPubKey=function(e,t,r,o){u((3&r)===r,"The recovery param is more than two bits"),t=new d(t,o);var s=this.n,i=new n(e),a=t.r,c=t.s,f=1&r,l=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");a=l?this.curve.pointFromX(a.add(this.curve.n),f):this.curve.pointFromX(a,f);var h=t.r.invm(s),m=s.sub(i).mul(h).umod(s),p=c.mul(h).umod(s);return this.g.mulAdd(m,a,p)},f.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new d(t,n)).recoveryParam)return t.recoveryParam;for(var o=0;o<4;o++){var s;try{s=this.recoverPubKey(e,t,o)}catch(e){continue}if(s.eq(r))return o}throw new Error("Unable to find valid recovery factor")}}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/ec/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/ec/key.js",{"../utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("bn.js"),o=e("../utils").assert;function s(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}t.exports=s,s.fromPublic=function(e,t,r){return t instanceof s?t:new s(e,{pub:t,pubEnc:r})},s.fromPrivate=function(e,t,r){return t instanceof s?t:new s(e,{priv:t,privEnc:r})},s.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},s.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},s.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},s.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},s.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},s.prototype.derive=function(e){return e.validate()||o(e.validate(),"public point not validated"),e.mul(this.priv).getX()},s.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},s.prototype.verify=function(e,t,r){return this.ec.verify(e,t,this,undefined,r)},s.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/ec/key.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/ec/signature.js",{"../utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("bn.js"),o=e("../utils"),s=o.assert;function i(e,t){if(e instanceof i)return e;this._importDER(e,t)||(s(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),e.recoveryParam===undefined?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function u(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;if(0===e[t.place])return!1;for(var o=0,s=0,i=t.place;s<n;s++,i++)o<<=8,o|=e[i],o>>>=0;return!(o<=127)&&(t.place=i,o)}function c(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function d(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}t.exports=i,i.prototype._importDER=function(e,t){e=o.toArray(e,t);var r=new a;if(48!==e[r.place++])return!1;var s=u(e,r);if(!1===s)return!1;if(s+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var i=u(e,r);if(!1===i)return!1;if(128&e[r.place])return!1;var c=e.slice(r.place,i+r.place);if(r.place+=i,2!==e[r.place++])return!1;var d=u(e,r);if(!1===d)return!1;if(e.length!==d+r.place)return!1;if(128&e[r.place])return!1;var f=e.slice(r.place,d+r.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(c),this.s=new n(f),this.recoveryParam=null,!0},i.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=c(t),r=c(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];d(n,t.length),(n=n.concat(t)).push(2),d(n,r.length);var s=n.concat(r),i=[48];return d(i,s.length),i=i.concat(s),o.encode(i,e)}}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/ec/signature.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/eddsa/index.js",{"../curves":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/curves.js","../utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js","./key":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/eddsa/key.js","./signature":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/eddsa/signature.js","hash.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/hash.js/lib/hash.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("hash.js"),o=e("../curves"),s=e("../utils"),i=s.assert,a=s.parseBytes,u=e("./key"),c=e("./signature");function d(e){if(i("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof d))return new d(e);e=o[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}t.exports=d,d.prototype.sign=function(e,t){e=a(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),o=this.g.mul(n),s=this.encodePoint(o),i=this.hashInt(s,r.pubBytes(),e).mul(r.priv()),u=n.add(i).umod(this.curve.n);return this.makeSignature({R:o,S:u,Rencoded:s})},d.prototype.verify=function(e,t,r){if(e=a(e),(t=this.makeSignature(t)).S().gte(t.eddsa.curve.n)||t.S().isNeg())return!1;var n=this.keyFromPublic(r),o=this.hashInt(t.Rencoded(),n.pubBytes(),e),s=this.g.mul(t.S());return t.R().add(n.pub().mul(o)).eq(s)},d.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return s.intFromLE(e.digest()).umod(this.curve.n)},d.prototype.keyFromPublic=function(e){return u.fromPublic(this,e)},d.prototype.keyFromSecret=function(e){return u.fromSecret(this,e)},d.prototype.makeSignature=function(e){return e instanceof c?e:new c(this,e)},d.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},d.prototype.decodePoint=function(e){var t=(e=s.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=!!(128&e[t]),o=s.intFromLE(r);return this.curve.pointFromY(o,n)},d.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},d.prototype.decodeInt=function(e){return s.intFromLE(e)},d.prototype.isPoint=function(e){return e instanceof this.pointClass}}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/eddsa/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/eddsa/key.js",{"../utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../utils"),o=n.assert,s=n.parseBytes,i=n.cachedProperty;function a(e,t){this.eddsa=e,this._secret=s(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=s(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},i(a,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),i(a,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),i(a,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),i(a,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),i(a,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),i(a,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),a.prototype.sign=function(e){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return o(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},a.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},t.exports=a}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/eddsa/key.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/eddsa/signature.js",{"../utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("bn.js"),o=e("../utils"),s=o.assert,i=o.cachedProperty,a=o.parseBytes;function u(e,t){this.eddsa=e,"object"!=typeof t&&(t=a(t)),Array.isArray(t)&&(s(t.length===2*e.encodingLength,"Signature has invalid size"),t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),s(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}i(u,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),i(u,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),i(u,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),i(u,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},t.exports=u}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/eddsa/signature.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic/utils.js",{"bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js","minimalistic-assert":"/home/runner/work/metamask-extension/metamask-extension/node_modules/minimalistic-assert/index.js","minimalistic-crypto-utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/minimalistic-crypto-utils/lib/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=r,o=e("bn.js"),s=e("minimalistic-assert"),i=e("minimalistic-crypto-utils");n.assert=s,n.toArray=i.toArray,n.zero2=i.zero2,n.toHex=i.toHex,n.encode=i.encode,n.getNAF=function(e,t,r){var n,o=new Array(Math.max(e.bitLength(),r)+1);for(n=0;n<o.length;n+=1)o[n]=0;var s=1<<t+1,i=e.clone();for(n=0;n<o.length;n++){var a,u=i.andln(s-1);i.isOdd()?(a=u>(s>>1)-1?(s>>1)-u:u,i.isubn(a)):a=0,o[n]=a,i.iushrn(1)}return o},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n,o=0,s=0;e.cmpn(-o)>0||t.cmpn(-s)>0;){var i,a,u=e.andln(3)+o&3,c=t.andln(3)+s&3;3===u&&(u=-1),3===c&&(c=-1),i=1&u?3!==(n=e.andln(7)+o&7)&&5!==n||2!==c?u:-u:0,r[0].push(i),a=1&c?3!==(n=t.andln(7)+s&7)&&5!==n||2!==u?c:-c:0,r[1].push(a),2*o===i+1&&(o=1-o),2*s===a+1&&(s=1-s),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return this[n]!==undefined?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new o(e,"hex","le")}}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/lib/elliptic/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/package.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={name:"elliptic",version:"6.6.1",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}}}},{package:"@toruslabs/eccrypto>elliptic",file:"node_modules/elliptic/package.json"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/es-define-property/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch(e){n=!1}t.exports=n}}},{package:"string.prototype.matchall>call-bind>es-define-property",file:"node_modules/es-define-property/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/eval.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=EvalError}}},{package:"string.prototype.matchall>es-abstract>es-errors",file:"node_modules/es-errors/eval.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=Error}}},{package:"string.prototype.matchall>es-abstract>es-errors",file:"node_modules/es-errors/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/range.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=RangeError}}},{package:"string.prototype.matchall>es-abstract>es-errors",file:"node_modules/es-errors/range.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/ref.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=ReferenceError}}},{package:"string.prototype.matchall>es-abstract>es-errors",file:"node_modules/es-errors/ref.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/syntax.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=SyntaxError}}},{package:"string.prototype.matchall>es-abstract>es-errors",file:"node_modules/es-errors/syntax.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=TypeError}}},{package:"string.prototype.matchall>es-abstract>es-errors",file:"node_modules/es-errors/type.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/uri.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=URIError}}},{package:"string.prototype.matchall>es-abstract>es-errors",file:"node_modules/es-errors/uri.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/es-object-atoms/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=Object}}},{package:"string.prototype.matchall>es-abstract>es-object-atoms",file:"node_modules/es-object-atoms/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/eth-ens-namehash/index.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","idna-uts46-hx":"/home/runner/work/metamask-extension/metamask-extension/node_modules/idna-uts46-hx/uts46.js","js-sha3":"/home/runner/work/metamask-extension/metamask-extension/node_modules/js-sha3/src/sha3.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=e("js-sha3").keccak_256,o=e("idna-uts46-hx");function s(e){return e?o.toUnicode(e,{useStd3ASCII:!0,transitional:!1}):e}r.hash=function(e){for(var r="",o=0;o<32;o++)r+="00";if(name=s(e),name){var i=name.split(".");for(o=i.length-1;o>=0;o--){var a=n(i[o]);r=n(new t(r+a,"hex"))}}return"0x"+r},r.normalize=s}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"eth-ens-namehash",file:"node_modules/eth-ens-namehash/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/eth-method-registry/dist/abi.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=[{constant:!1,inputs:[{name:"_new",type:"address"}],name:"setOwner",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[],name:"totalSignatures",outputs:[{name:"",type:"uint256"}],payable:!1,type:"function"},{constant:!0,inputs:[],name:"owner",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!1,inputs:[],name:"drain",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"",type:"bytes4"}],name:"entries",outputs:[{name:"",type:"string"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"_method",type:"string"}],name:"register",outputs:[{name:"",type:"bool"}],payable:!1,type:"function"},{inputs:[],type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,name:"creator",type:"address"},{indexed:!0,name:"signature",type:"bytes4"},{indexed:!1,name:"method",type:"string"}],name:"Registered",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"old",type:"address"},{indexed:!0,name:"current",type:"address"}],name:"NewOwner",type:"event"}]}}},{package:"eth-method-registry",file:"node_modules/eth-method-registry/dist/abi.json"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/eth-method-registry/dist/index.js",{"./abi.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/eth-method-registry/dist/abi.json","./registry-map.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/eth-method-registry/dist/registry-map.json","@metamask/ethjs-contract":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@metamask/ethjs-contract/lib/index.js","@metamask/ethjs-query":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@metamask/ethjs-query/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.MethodRegistry=void 0;const o=n(e("@metamask/ethjs-query")),s=n(e("@metamask/ethjs-contract")),i=n(e("./registry-map.json")),a=n(e("./abi.json"));r.MethodRegistry=class{constructor(e){if(!e.provider)throw new Error("Missing required 'provider' option");const t=i.default[e.network||"1"];if(!t)throw new Error("No method registry found on the requested network.");const r=new o.default(e.provider),n=(0,s.default)(r);this.registry=n(a.default).at(t)}async lookup(e){const t=await this.registry.entries(e);return t?t[0]:undefined}parse(e){const t=e.match(/^([^)(]*)\((.*)\)([^)(]*)$/u);let r;if(r=t?t[1].charAt(0).toUpperCase()+t[1].slice(1).split(/(?=[A-Z])/u).join(" "):"",t){const n=e.match(new RegExp(`${t[1]}\\(+([a-z1-9,()\\[\\]]+)\\)`,"u"));let o,s=[];return n&&(o=n[1].match(/[A-z1-9]+/gu),o&&(s=o.map(e=>({type:e})))),{name:r,args:s}}return{}}}}}},{package:"eth-method-registry",file:"node_modules/eth-method-registry/dist/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/eth-method-registry/dist/registry-map.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={1:"0x44691B39d1a75dC4E0A0346CBB15E310e6ED1E86"}}}},{package:"eth-method-registry",file:"node_modules/eth-method-registry/dist/registry-map.json"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/hdkey.js",{"@scure/bip32":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@scure/bip32/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.HDKey=r.HARDENED_OFFSET=void 0;var n=e("@scure/bip32");Object.defineProperty(r,"HARDENED_OFFSET",{enumerable:!0,get:function(){return n.HARDENED_OFFSET}}),Object.defineProperty(r,"HDKey",{enumerable:!0,get:function(){return n.HDKey}})}}},{package:"@ethereumjs/tx>ethereum-cryptography",file:"node_modules/ethereum-cryptography/hdkey.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/keccak.js",{"./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/utils.js","@noble/hashes/sha3":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha3.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.keccak512=r.keccak384=r.keccak256=r.keccak224=void 0;const n=e("@noble/hashes/sha3"),o=e("./utils.js");r.keccak224=(0,o.wrapHash)(n.keccak_224),r.keccak256=(()=>{const e=(0,o.wrapHash)(n.keccak_256);return e.create=n.keccak_256.create,e})(),r.keccak384=(0,o.wrapHash)(n.keccak_384),r.keccak512=(0,o.wrapHash)(n.keccak_512)}}},{package:"@ethereumjs/tx>ethereum-cryptography",file:"node_modules/ethereum-cryptography/keccak.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/_shortw_utils.js",{"./abstract/weierstrass.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/weierstrass.js","@noble/hashes/hmac":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/hmac.js","@noble/hashes/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getHash=i,r.createCurve=function(e,t){const r=t=>(0,s.weierstrass)({...e,...i(t)});return Object.freeze({...r(t),create:r})};
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
const n=e("@noble/hashes/hmac"),o=e("@noble/hashes/utils"),s=e("./abstract/weierstrass.js");function i(e){return{hash:e,hmac:(t,...r)=>(0,n.hmac)(e,t,(0,o.concatBytes)(...r)),randomBytes:o.randomBytes}}}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/curves",file:"node_modules/ethereum-cryptography/node_modules/@noble/curves/_shortw_utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/curve.js",{"./modular.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/modular.js","./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.wNAF=function(e,t){const r=(e,t)=>{const r=t.negate();return e?r:t},n=e=>({windows:Math.ceil(t/e)+1,windowSize:2**(e-1)});return{constTimeNegate:r,unsafeLadder(t,r){let n=e.ZERO,o=t;for(;r>s;)r&i&&(n=n.add(o)),o=o.double(),r>>=i;return n},precomputeWindow(e,t){const{windows:r,windowSize:o}=n(t),s=[];let i=e,a=i;for(let e=0;e<r;e++){a=i,s.push(a);for(let e=1;e<o;e++)a=a.add(i),s.push(a);i=a.double()}return s},wNAF(t,o,s){const{windows:a,windowSize:u}=n(t);let c=e.ZERO,d=e.BASE;const f=BigInt(2**t-1),l=2**t,h=BigInt(t);for(let e=0;e<a;e++){const t=e*u;let n=Number(s&f);s>>=h,n>u&&(n-=l,s+=i);const a=t,m=t+Math.abs(n)-1,p=e%2!=0,b=n<0;0===n?d=d.add(r(p,o[a])):c=c.add(r(b,o[m]))}return{p:c,f:d}},wNAFCached(e,t,r,n){const o=e._WINDOW_SIZE||1;let s=t.get(e);return s||(s=this.precomputeWindow(e,o),1!==o&&t.set(e,n(s))),this.wNAF(o,s,r)}}},r.validateBasic=function(e){return(0,n.validateField)(e.Fp),(0,o.validateObject)(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...(0,n.nLength)(e.n,e.nBitLength),...e,p:e.Fp.ORDER})};
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
const n=e("./modular.js"),o=e("./utils.js"),s=BigInt(0),i=BigInt(1)}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/curves",file:"node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/curve.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/hash-to-curve.js",{"./modular.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/modular.js","./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.expand_message_xmd=c,r.expand_message_xof=d,r.hash_to_field=f,r.isogenyMap=function(e,t){const r=t.map(e=>Array.from(e).reverse());return(t,n)=>{const[o,s,i,a]=r.map(r=>r.reduce((r,n)=>e.add(e.mul(r,t),n)));return t=e.div(o,s),n=e.mul(n,e.div(i,a)),{x:t,y:n}}},r.createHasher=function(e,t,r){if("function"!=typeof t)throw new Error("mapToCurve() must be defined");return{hashToCurve(n,o){const s=f(n,2,{...r,DST:r.DST,...o}),i=e.fromAffine(t(s[0])),a=e.fromAffine(t(s[1])),u=i.add(a).clearCofactor();return u.assertValidity(),u},encodeToCurve(n,o){const s=f(n,1,{...r,DST:r.encodeDST,...o}),i=e.fromAffine(t(s[0])).clearCofactor();return i.assertValidity(),i},mapToCurve(r){if(!Array.isArray(r))throw new Error("mapToCurve: expected array of bigints");for(const e of r)if("bigint"!=typeof e)throw new Error(`mapToCurve: expected array of bigints, got ${e} in array`);const n=e.fromAffine(t(r)).clearCofactor();return n.assertValidity(),n}}};const n=e("./modular.js"),o=e("./utils.js"),s=o.bytesToNumberBE;function i(e,t){if(e<0||e>=1<<8*t)throw new Error(`bad I2OSP call: value=${e} length=${t}`);const r=Array.from({length:t}).fill(0);for(let n=t-1;n>=0;n--)r[n]=255&e,e>>>=8;return new Uint8Array(r)}function a(e,t){const r=new Uint8Array(e.length);for(let n=0;n<e.length;n++)r[n]=e[n]^t[n];return r}function u(e){if(!Number.isSafeInteger(e))throw new Error("number expected")}function c(e,t,r,n){(0,o.abytes)(e),(0,o.abytes)(t),u(r),t.length>255&&(t=n((0,o.concatBytes)((0,o.utf8ToBytes)("H2C-OVERSIZE-DST-"),t)));const{outputLen:s,blockLen:c}=n,d=Math.ceil(r/s);if(d>255)throw new Error("Invalid xmd length");const f=(0,o.concatBytes)(t,i(t.length,1)),l=i(0,c),h=i(r,2),m=new Array(d),p=n((0,o.concatBytes)(l,e,h,i(0,1),f));m[0]=n((0,o.concatBytes)(p,i(1,1),f));for(let e=1;e<=d;e++){const t=[a(p,m[e-1]),i(e+1,1),f];m[e]=n((0,o.concatBytes)(...t))}return(0,o.concatBytes)(...m).slice(0,r)}function d(e,t,r,n,s){if((0,o.abytes)(e),(0,o.abytes)(t),u(r),t.length>255){const e=Math.ceil(2*n/8);t=s.create({dkLen:e}).update((0,o.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(t).digest()}if(r>65535||t.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return s.create({dkLen:r}).update(e).update(i(r,2)).update(t).update(i(t.length,1)).digest()}function f(e,t,r){(0,o.validateObject)(r,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});const{p:i,k:a,m:f,hash:l,expand:h,DST:m}=r;(0,o.abytes)(e),u(t);const p="string"==typeof m?(0,o.utf8ToBytes)(m):m,b=i.toString(2).length,y=Math.ceil((b+a)/8),g=t*f*y;let w;if("xmd"===h)w=c(e,p,g,l);else if("xof"===h)w=d(e,p,g,a,l);else{if("_internal_pass"!==h)throw new Error('expand must be "xmd" or "xof"');w=e}const k=new Array(t);for(let e=0;e<t;e++){const t=new Array(f);for(let r=0;r<f;r++){const o=y*(r+e*f),a=w.subarray(o,o+y);t[r]=(0,n.mod)(s(a),i)}k[e]=t}return k}}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/curves",file:"node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/hash-to-curve.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/modular.js",{"./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isNegativeLE=void 0,r.mod=f,r.pow=l,r.pow2=function(e,t,r){let n=e;for(;t-- >o;)n*=n,n%=r;return n},r.invert=h,r.tonelliShanks=m,r.FpSqrt=p,r.validateField=function(e){const t=b.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});return(0,n.validateObject)(e,t)},r.FpPow=y,r.FpInvertBatch=g,r.FpDiv=function(e,t,r){return e.mul(t,"bigint"==typeof r?h(r,e.ORDER):e.inv(r))},r.FpIsSquare=function(e){const t=(e.ORDER-s)/i;return r=>{const n=e.pow(r,t);return e.eql(n,e.ZERO)||e.eql(n,e.ONE)}},r.nLength=w,r.Field=function(e,t,r=!1,i={}){if(e<=o)throw new Error(`Expected Field ORDER > 0, got ${e}`);const{nBitLength:a,nByteLength:u}=w(e,t);if(u>2048)throw new Error("Field lengths over 2048 bytes are not supported");const c=p(e),d=Object.freeze({ORDER:e,BITS:a,BYTES:u,MASK:(0,n.bitMask)(a),ZERO:o,ONE:s,create:t=>f(t,e),isValid:t=>{if("bigint"!=typeof t)throw new Error("Invalid field element: expected bigint, got "+typeof t);return o<=t&&t<e},is0:e=>e===o,isOdd:e=>(e&s)===s,neg:t=>f(-t,e),eql:(e,t)=>e===t,sqr:t=>f(t*t,e),add:(t,r)=>f(t+r,e),sub:(t,r)=>f(t-r,e),mul:(t,r)=>f(t*r,e),pow:(e,t)=>y(d,e,t),div:(t,r)=>f(t*h(r,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>h(t,e),sqrt:i.sqrt||(e=>c(d,e)),invertBatch:e=>g(d,e),cmov:(e,t,r)=>r?t:e,toBytes:e=>r?(0,n.numberToBytesLE)(e,u):(0,n.numberToBytesBE)(e,u),fromBytes:e=>{if(e.length!==u)throw new Error(`Fp.fromBytes: expected ${u}, got ${e.length}`);return r?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e)}});return Object.freeze(d)},r.FpSqrtOdd=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const r=e.sqrt(t);return e.isOdd(r)?r:e.neg(r)},r.FpSqrtEven=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const r=e.sqrt(t);return e.isOdd(r)?e.neg(r):r},r.hashToPrivateScalar=function(e,t,r=!1){const o=(e=(0,n.ensureBytes)("privateHash",e)).length,i=w(t).nByteLength+8;if(i<24||o<i||o>1024)throw new Error(`hashToPrivateScalar: expected ${i}-1024 bytes of input, got ${o}`);return f(r?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e),t-s)+s},r.getFieldBytesLength=k,r.getMinHashLength=_,r.mapHashToField=function(e,t,r=!1){const o=e.length,i=k(t),a=_(t);if(o<16||o<a||o>1024)throw new Error(`expected ${a}-1024 bytes of input, got ${o}`);const u=f(r?(0,n.bytesToNumberBE)(e):(0,n.bytesToNumberLE)(e),t-s)+s;return r?(0,n.numberToBytesLE)(u,i):(0,n.numberToBytesBE)(u,i)};
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
const n=e("./utils.js"),o=BigInt(0),s=BigInt(1),i=BigInt(2),a=BigInt(3),u=BigInt(4),c=BigInt(5),d=BigInt(8);BigInt(9),BigInt(16);function f(e,t){const r=e%t;return r>=o?r:t+r}function l(e,t,r){if(r<=o||t<o)throw new Error("Expected power/modulo > 0");if(r===s)return o;let n=s;for(;t>o;)t&s&&(n=n*e%r),e=e*e%r,t>>=s;return n}function h(e,t){if(e===o||t<=o)throw new Error(`invert: expected positive integers, got n=${e} mod=${t}`);let r=f(e,t),n=t,i=o,a=s,u=s,c=o;for(;r!==o;){const e=n/r,t=n%r,o=i-u*e,s=a-c*e;n=r,r=t,i=u,a=c,u=o,c=s}if(n!==s)throw new Error("invert: does not exist");return f(i,t)}function m(e){const t=(e-s)/i;let r,n,a;for(r=e-s,n=0;r%i===o;r/=i,n++);for(a=i;a<e&&l(a,t,e)!==e-s;a++);if(1===n){const t=(e+s)/u;return function(e,r){const n=e.pow(r,t);if(!e.eql(e.sqr(n),r))throw new Error("Cannot find square root");return n}}const c=(r+s)/i;return function(e,o){if(e.pow(o,t)===e.neg(e.ONE))throw new Error("Cannot find square root");let i=n,u=e.pow(e.mul(e.ONE,a),r),d=e.pow(o,c),f=e.pow(o,r);for(;!e.eql(f,e.ONE);){if(e.eql(f,e.ZERO))return e.ZERO;let t=1;for(let r=e.sqr(f);t<i&&!e.eql(r,e.ONE);t++)r=e.sqr(r);const r=e.pow(u,s<<BigInt(i-t-1));u=e.sqr(r),d=e.mul(d,r),f=e.mul(f,u),i=t}return d}}function p(e){if(e%u===a){const t=(e+s)/u;return function(e,r){const n=e.pow(r,t);if(!e.eql(e.sqr(n),r))throw new Error("Cannot find square root");return n}}if(e%d===c){const t=(e-c)/d;return function(e,r){const n=e.mul(r,i),o=e.pow(n,t),s=e.mul(r,o),a=e.mul(e.mul(s,i),o),u=e.mul(s,e.sub(a,e.ONE));if(!e.eql(e.sqr(u),r))throw new Error("Cannot find square root");return u}}return m(e)}r.isNegativeLE=(e,t)=>(f(e,t)&s)===s;const b=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function y(e,t,r){if(r<o)throw new Error("Expected power > 0");if(r===o)return e.ONE;if(r===s)return t;let n=e.ONE,i=t;for(;r>o;)r&s&&(n=e.mul(n,i)),i=e.sqr(i),r>>=s;return n}function g(e,t){const r=new Array(t.length),n=t.reduce((t,n,o)=>e.is0(n)?t:(r[o]=t,e.mul(t,n)),e.ONE),o=e.inv(n);return t.reduceRight((t,n,o)=>e.is0(n)?t:(r[o]=e.mul(t,r[o]),e.mul(t,n)),o),r}function w(e,t){const r=t!==undefined?t:e.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}function k(e){if("bigint"!=typeof e)throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function _(e){const t=k(e);return t+Math.ceil(t/2)}}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/curves",file:"node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/modular.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/utils.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bitMask=void 0,r.isBytes=i,r.abytes=a,r.bytesToHex=c,r.numberToHexUnpadded=d,r.hexToNumber=f,r.hexToBytes=m,r.bytesToNumberBE=function(e){return f(c(e))},r.bytesToNumberLE=function(e){return a(e),f(c(Uint8Array.from(e).reverse()))},r.numberToBytesBE=p,r.numberToBytesLE=function(e,t){return p(e,t).reverse()},r.numberToVarBytesBE=function(e){return m(d(e))},r.ensureBytes=function(e,t,r){let n;if("string"==typeof t)try{n=m(t)}catch(r){throw new Error(`${e} must be valid hex string, got "${t}". Cause: ${r}`)}else{if(!i(t))throw new Error(`${e} must be hex string or Uint8Array`);n=Uint8Array.from(t)}const o=n.length;if("number"==typeof r&&o!==r)throw new Error(`${e} expected ${r} bytes, got ${o}`);return n},r.concatBytes=b,r.equalBytes=function(e,t){if(e.length!==t.length)return!1;let r=0;for(let n=0;n<e.length;n++)r|=e[n]^t[n];return 0===r},r.utf8ToBytes=function(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))},r.bitLen=function(e){let t;for(t=0;e>n;e>>=o,t+=1);return t},r.bitGet=function(e,t){return e>>BigInt(t)&o},r.bitSet=function(e,t,r){return e|(r?o:n)<<BigInt(t)},r.createHmacDrbg=function(e,t,r){if("number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let n=y(e),o=y(e),s=0;const i=()=>{n.fill(1),o.fill(0),s=0},a=(...e)=>r(o,n,...e),u=(e=y())=>{o=a(g([0]),e),n=a(),0!==e.length&&(o=a(g([1]),e),n=a())},c=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let e=0;const r=[];for(;e<t;){n=a();const t=n.slice();r.push(t),e+=n.length}return b(...r)};return(e,t)=>{i(),u(e);let r=undefined;for(;!(r=t(c()));)u();return i(),r}},r.validateObject=function(e,t,r={}){const n=(t,r,n)=>{const o=w[r];if("function"!=typeof o)throw new Error(`Invalid validator "${r}", expected function`);const s=e[t];if(!(n&&s===undefined||o(s,e)))throw new Error(`Invalid param ${String(t)}=${s} (${typeof s}), expected ${r}`)};for(const[e,r]of Object.entries(t))n(e,r,!1);for(const[e,t]of Object.entries(r))n(e,t,!0);return e};
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
const n=BigInt(0),o=BigInt(1),s=BigInt(2);function i(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function a(e){if(!i(e))throw new Error("Uint8Array expected")}const u=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function c(e){a(e);let t="";for(let r=0;r<e.length;r++)t+=u[e[r]];return t}function d(e){const t=e.toString(16);return 1&t.length?`0${t}`:t}function f(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);return BigInt(""===e?"0":`0x${e}`)}const l={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function h(e){return e>=l._0&&e<=l._9?e-l._0:e>=l._A&&e<=l._F?e-(l._A-10):e>=l._a&&e<=l._f?e-(l._a-10):void 0}function m(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);const t=e.length,r=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let t=0,o=0;t<r;t++,o+=2){const r=h(e.charCodeAt(o)),s=h(e.charCodeAt(o+1));if(r===undefined||s===undefined){const t=e[o]+e[o+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+o)}n[t]=16*r+s}return n}function p(e,t){return m(e.toString(16).padStart(2*t,"0"))}function b(...e){let t=0;for(let r=0;r<e.length;r++){const n=e[r];a(n),t+=n.length}const r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){const o=e[t];r.set(o,n),n+=o.length}return r}r.bitMask=e=>(s<<BigInt(e-1))-o;const y=e=>new Uint8Array(e),g=e=>Uint8Array.from(e);const w={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||i(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)}}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/curves",file:"node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/weierstrass.js",{"./curve.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/curve.js","./modular.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/modular.js","./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DER=void 0,r.weierstrassPoints=m,r.weierstrass=function(e){const t=function(e){const t=(0,n.validateBasic)(e);return s.validateObject(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}(e),{Fp:a,n:u}=t,f=a.BYTES+1,l=2*a.BYTES+1;function h(e){return o.mod(e,u)}function p(e){return o.invert(e,u)}const{ProjectivePoint:b,normPrivateKeyToScalar:y,weierstrassEquation:g,isWithinCurveOrder:w}=m({...t,toBytes(e,t,r){const n=t.toAffine(),o=a.toBytes(n.x),i=s.concatBytes;return r?i(Uint8Array.from([t.hasEvenY()?2:3]),o):i(Uint8Array.from([4]),o,a.toBytes(n.y))},fromBytes(e){const t=e.length,r=e[0],n=e.subarray(1);if(t!==f||2!==r&&3!==r){if(t===l&&4===r){return{x:a.fromBytes(n.subarray(0,a.BYTES)),y:a.fromBytes(n.subarray(a.BYTES,2*a.BYTES))}}throw new Error(`Point of length ${t} was invalid. Expected ${f} compressed bytes or ${l} uncompressed bytes`)}{const e=s.bytesToNumberBE(n);if(!(c<(o=e)&&o<a.ORDER))throw new Error("Point is not on curve");const t=g(e);let i;try{i=a.sqrt(t)}catch(e){const t=e instanceof Error?": "+e.message:"";throw new Error("Point is not on curve"+t)}return!(1&~r)!==((i&d)===d)&&(i=a.neg(i)),{x:e,y:i}}var o}}),k=e=>s.bytesToHex(s.numberToBytesBE(e,t.nByteLength));function _(e){return e>u>>d}const v=(e,t,r)=>s.bytesToNumberBE(e.slice(t,r));class x{constructor(e,t,r){this.r=e,this.s=t,this.recovery=r,this.assertValidity()}static fromCompact(e){const r=t.nByteLength;return e=(0,i.ensureBytes)("compactSignature",e,2*r),new x(v(e,0,r),v(e,r,2*r))}static fromDER(e){const{r:t,s:n}=r.DER.toSig((0,i.ensureBytes)("DER",e));return new x(t,n)}assertValidity(){if(!w(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!w(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(e){return new x(this.r,this.s,e)}recoverPublicKey(e){const{r:r,s:n,recovery:o}=this,s=A((0,i.ensureBytes)("msgHash",e));if(null==o||![0,1,2,3].includes(o))throw new Error("recovery id invalid");const u=2===o||3===o?r+t.n:r;if(u>=a.ORDER)throw new Error("recovery id 2 or 3 invalid");const c=1&o?"03":"02",d=b.fromHex(c+k(u)),f=p(u),l=h(-s*f),m=h(n*f),y=b.BASE.multiplyAndAddUnsafe(d,l,m);if(!y)throw new Error("point at infinify");return y.assertValidity(),y}hasHighS(){return _(this.s)}normalizeS(){return this.hasHighS()?new x(this.r,h(-this.s),this.recovery):this}toDERRawBytes(){return s.hexToBytes(this.toDERHex())}toDERHex(){return r.DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return s.hexToBytes(this.toCompactHex())}toCompactHex(){return k(this.r)+k(this.s)}}const j={isValidPrivateKey(e){try{return y(e),!0}catch(e){return!1}},normPrivateKeyToScalar:y,randomPrivateKey:()=>{const e=o.getMinHashLength(t.n);return o.mapHashToField(t.randomBytes(e),t.n)},precompute:(e=8,t=b.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)};function S(e){const t=s.isBytes(e),r="string"==typeof e,n=(t||r)&&e.length;return t?n===f||n===l:r?n===2*f||n===2*l:e instanceof b}const E=t.bits2int||function(e){const r=s.bytesToNumberBE(e),n=8*e.length-t.nBitLength;return n>0?r>>BigInt(n):r},A=t.bits2int_modN||function(e){return h(E(e))},B=s.bitMask(t.nBitLength);function T(e){if("bigint"!=typeof e)throw new Error("bigint expected");if(!(c<=e&&e<B))throw new Error(`bigint expected < 2^${t.nBitLength}`);return s.numberToBytesBE(e,t.nByteLength)}function O(e,r,n=M){if(["recovered","canonical"].some(e=>e in n))throw new Error("sign() legacy options not supported");const{hash:o,randomBytes:u}=t;let{lowS:f,prehash:l,extraEntropy:m}=n;null==f&&(f=!0),e=(0,i.ensureBytes)("msgHash",e),l&&(e=(0,i.ensureBytes)("prehashed msgHash",o(e)));const g=A(e),k=y(r),v=[T(k),T(g)];if(null!=m&&!1!==m){const e=!0===m?u(a.BYTES):m;v.push((0,i.ensureBytes)("extraEntropy",e))}const j=s.concatBytes(...v),S=g;return{seed:j,k2sig:function(e){const t=E(e);if(!w(t))return;const r=p(t),n=b.BASE.multiply(t).toAffine(),o=h(n.x);if(o===c)return;const s=h(r*h(S+o*k));if(s===c)return;let i=(n.x===o?0:2)|Number(n.y&d),a=s;return f&&_(s)&&(a=function(e){return _(e)?h(-e):e}(s),i^=1),new x(o,a,i)}}}const M={lowS:t.lowS,prehash:!1},P={lowS:t.lowS,prehash:!1};return b.BASE._setWindowSize(8),{CURVE:t,getPublicKey:function(e,t=!0){return b.fromPrivateKey(e).toRawBytes(t)},getSharedSecret:function(e,t,r=!0){if(S(e))throw new Error("first arg must be private key");if(!S(t))throw new Error("second arg must be public key");return b.fromHex(t).multiply(y(e)).toRawBytes(r)},sign:function(e,r,n=M){const{seed:o,k2sig:i}=O(e,r,n),a=t;return s.createHmacDrbg(a.hash.outputLen,a.nByteLength,a.hmac)(o,i)},verify:function(e,n,o,a=P){const u=e;if(n=(0,i.ensureBytes)("msgHash",n),o=(0,i.ensureBytes)("publicKey",o),"strict"in a)throw new Error("options.strict was renamed to lowS");const{lowS:c,prehash:d}=a;let f,l=undefined;try{if("string"==typeof u||s.isBytes(u))try{l=x.fromDER(u)}catch(e){if(!(e instanceof r.DER.Err))throw e;l=x.fromCompact(u)}else{if("object"!=typeof u||"bigint"!=typeof u.r||"bigint"!=typeof u.s)throw new Error("PARSE");{const{r:e,s:t}=u;l=new x(e,t)}}f=b.fromHex(o)}catch(e){if("PARSE"===e.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(c&&l.hasHighS())return!1;d&&(n=t.hash(n));const{r:m,s:y}=l,g=A(n),w=p(y),k=h(g*w),_=h(m*w),v=b.BASE.multiplyAndAddUnsafe(f,k,_)?.toAffine();if(!v)return!1;return h(v.x)===m},ProjectivePoint:b,Signature:x,utils:j}},r.SWUFpSqrtRatio=p,r.mapToCurveSimpleSWU=function(e,t){if(o.validateField(e),!e.isValid(t.A)||!e.isValid(t.B)||!e.isValid(t.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");const r=p(e,t.Z);if(!e.isOdd)throw new Error("Fp.isOdd is not implemented!");return n=>{let o,s,i,a,u,c,d,f;o=e.sqr(n),o=e.mul(o,t.Z),s=e.sqr(o),s=e.add(s,o),i=e.add(s,e.ONE),i=e.mul(i,t.B),a=e.cmov(t.Z,e.neg(s),!e.eql(s,e.ZERO)),a=e.mul(a,t.A),s=e.sqr(i),c=e.sqr(a),u=e.mul(c,t.A),s=e.add(s,u),s=e.mul(s,i),c=e.mul(c,a),u=e.mul(c,t.B),s=e.add(s,u),d=e.mul(o,i);const{isValid:l,value:h}=r(s,c);f=e.mul(o,n),f=e.mul(f,h),d=e.cmov(d,i,l),f=e.cmov(f,h,l);const m=e.isOdd(n)===e.isOdd(f);return f=e.cmov(e.neg(f),f,m),d=e.div(d,a),{x:d,y:f}}};
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
const n=e("./curve.js"),o=e("./modular.js"),s=e("./utils.js"),i=e("./utils.js");const{bytesToNumberBE:a,hexToBytes:u}=s;r.DER={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){const{Err:t}=r.DER;if(e.length<2||2!==e[0])throw new t("Invalid signature integer tag");const n=e[1],o=e.subarray(2,n+2);if(!n||o.length!==n)throw new t("Invalid signature integer: wrong length");if(128&o[0])throw new t("Invalid signature integer: negative");if(0===o[0]&&!(128&o[1]))throw new t("Invalid signature integer: unnecessary leading zero");return{d:a(o),l:e.subarray(n+2)}},toSig(e){const{Err:t}=r.DER,n="string"==typeof e?u(e):e;s.abytes(n);let o=n.length;if(o<2||48!=n[0])throw new t("Invalid signature tag");if(n[1]!==o-2)throw new t("Invalid signature: incorrect length");const{d:i,l:a}=r.DER._parseInt(n.subarray(2)),{d:c,l:d}=r.DER._parseInt(a);if(d.length)throw new t("Invalid signature: left bytes after parsing");return{r:i,s:c}},hexFromSig(e){const t=e=>8&Number.parseInt(e[0],16)?"00"+e:e,r=e=>{const t=e.toString(16);return 1&t.length?`0${t}`:t},n=t(r(e.s)),o=t(r(e.r)),s=n.length/2,i=o.length/2,a=r(s),u=r(i);return`30${r(i+s+4)}02${u}${o}02${a}${n}`}};const c=BigInt(0),d=BigInt(1),f=BigInt(2),l=BigInt(3),h=BigInt(4);function m(e){const t=function(e){const t=(0,n.validateBasic)(e);s.validateObject(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:r,Fp:o,a:i}=t;if(r){if(!o.eql(i,o.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof r||"bigint"!=typeof r.beta||"function"!=typeof r.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}(e),{Fp:r}=t,a=t.toBytes||((e,t,n)=>{const o=t.toAffine();return s.concatBytes(Uint8Array.from([4]),r.toBytes(o.x),r.toBytes(o.y))}),u=t.fromBytes||(e=>{const t=e.subarray(1);return{x:r.fromBytes(t.subarray(0,r.BYTES)),y:r.fromBytes(t.subarray(r.BYTES,2*r.BYTES))}});function f(e){const{a:n,b:o}=t,s=r.sqr(e),i=r.mul(s,e);return r.add(r.add(i,r.mul(e,n)),o)}if(!r.eql(r.sqr(t.Gy),f(t.Gx)))throw new Error("bad generator point: equation left != right");function h(e){return"bigint"==typeof e&&c<e&&e<t.n}function m(e){if(!h(e))throw new Error("Expected valid bigint: 0 < bigint < curve.n")}function p(e){const{allowedPrivateKeyLengths:r,nByteLength:n,wrapPrivateKey:a,n:u}=t;if(r&&"bigint"!=typeof e){if(s.isBytes(e)&&(e=s.bytesToHex(e)),"string"!=typeof e||!r.includes(e.length))throw new Error("Invalid key");e=e.padStart(2*n,"0")}let c;try{c="bigint"==typeof e?e:s.bytesToNumberBE((0,i.ensureBytes)("private key",e,n))}catch(t){throw new Error(`private key must be ${n} bytes, hex or bigint, not ${typeof e}`)}return a&&(c=o.mod(c,u)),m(c),c}const b=new Map;function y(e){if(!(e instanceof g))throw new Error("ProjectivePoint expected")}class g{constructor(e,t,n){if(this.px=e,this.py=t,this.pz=n,null==e||!r.isValid(e))throw new Error("x required");if(null==t||!r.isValid(t))throw new Error("y required");if(null==n||!r.isValid(n))throw new Error("z required")}static fromAffine(e){const{x:t,y:n}=e||{};if(!e||!r.isValid(t)||!r.isValid(n))throw new Error("invalid affine point");if(e instanceof g)throw new Error("projective point not allowed");const o=e=>r.eql(e,r.ZERO);return o(t)&&o(n)?g.ZERO:new g(t,n,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){const t=r.invertBatch(e.map(e=>e.pz));return e.map((e,r)=>e.toAffine(t[r])).map(g.fromAffine)}static fromHex(e){const t=g.fromAffine(u((0,i.ensureBytes)("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return g.BASE.multiply(p(e))}_setWindowSize(e){this._WINDOW_SIZE=e,b.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint&&!r.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:e,y:n}=this.toAffine();if(!r.isValid(e)||!r.isValid(n))throw new Error("bad point: x or y not FE");const o=r.sqr(n),s=f(e);if(!r.eql(o,s))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:e}=this.toAffine();if(r.isOdd)return!r.isOdd(e);throw new Error("Field doesn't support isOdd")}equals(e){y(e);const{px:t,py:n,pz:o}=this,{px:s,py:i,pz:a}=e,u=r.eql(r.mul(t,a),r.mul(s,o)),c=r.eql(r.mul(n,a),r.mul(i,o));return u&&c}negate(){return new g(this.px,r.neg(this.py),this.pz)}double(){const{a:e,b:n}=t,o=r.mul(n,l),{px:s,py:i,pz:a}=this;let u=r.ZERO,c=r.ZERO,d=r.ZERO,f=r.mul(s,s),h=r.mul(i,i),m=r.mul(a,a),p=r.mul(s,i);return p=r.add(p,p),d=r.mul(s,a),d=r.add(d,d),u=r.mul(e,d),c=r.mul(o,m),c=r.add(u,c),u=r.sub(h,c),c=r.add(h,c),c=r.mul(u,c),u=r.mul(p,u),d=r.mul(o,d),m=r.mul(e,m),p=r.sub(f,m),p=r.mul(e,p),p=r.add(p,d),d=r.add(f,f),f=r.add(d,f),f=r.add(f,m),f=r.mul(f,p),c=r.add(c,f),m=r.mul(i,a),m=r.add(m,m),f=r.mul(m,p),u=r.sub(u,f),d=r.mul(m,h),d=r.add(d,d),d=r.add(d,d),new g(u,c,d)}add(e){y(e);const{px:n,py:o,pz:s}=this,{px:i,py:a,pz:u}=e;let c=r.ZERO,d=r.ZERO,f=r.ZERO;const h=t.a,m=r.mul(t.b,l);let p=r.mul(n,i),b=r.mul(o,a),w=r.mul(s,u),k=r.add(n,o),_=r.add(i,a);k=r.mul(k,_),_=r.add(p,b),k=r.sub(k,_),_=r.add(n,s);let v=r.add(i,u);return _=r.mul(_,v),v=r.add(p,w),_=r.sub(_,v),v=r.add(o,s),c=r.add(a,u),v=r.mul(v,c),c=r.add(b,w),v=r.sub(v,c),f=r.mul(h,_),c=r.mul(m,w),f=r.add(c,f),c=r.sub(b,f),f=r.add(b,f),d=r.mul(c,f),b=r.add(p,p),b=r.add(b,p),w=r.mul(h,w),_=r.mul(m,_),b=r.add(b,w),w=r.sub(p,w),w=r.mul(h,w),_=r.add(_,w),p=r.mul(b,_),d=r.add(d,p),p=r.mul(v,_),c=r.mul(k,c),c=r.sub(c,p),p=r.mul(k,b),f=r.mul(v,f),f=r.add(f,p),new g(c,d,f)}subtract(e){return this.add(e.negate())}is0(){return this.equals(g.ZERO)}wNAF(e){return k.wNAFCached(this,b,e,e=>{const t=r.invertBatch(e.map(e=>e.pz));return e.map((e,r)=>e.toAffine(t[r])).map(g.fromAffine)})}multiplyUnsafe(e){const n=g.ZERO;if(e===c)return n;if(m(e),e===d)return this;const{endo:o}=t;if(!o)return k.unsafeLadder(this,e);let{k1neg:s,k1:i,k2neg:a,k2:u}=o.splitScalar(e),f=n,l=n,h=this;for(;i>c||u>c;)i&d&&(f=f.add(h)),u&d&&(l=l.add(h)),h=h.double(),i>>=d,u>>=d;return s&&(f=f.negate()),a&&(l=l.negate()),l=new g(r.mul(l.px,o.beta),l.py,l.pz),f.add(l)}multiply(e){m(e);let n,o,s=e;const{endo:i}=t;if(i){const{k1neg:e,k1:t,k2neg:a,k2:u}=i.splitScalar(s);let{p:c,f:d}=this.wNAF(t),{p:f,f:l}=this.wNAF(u);c=k.constTimeNegate(e,c),f=k.constTimeNegate(a,f),f=new g(r.mul(f.px,i.beta),f.py,f.pz),n=c.add(f),o=d.add(l)}else{const{p:e,f:t}=this.wNAF(s);n=e,o=t}return g.normalizeZ([n,o])[0]}multiplyAndAddUnsafe(e,t,r){const n=g.BASE,o=(e,t)=>t!==c&&t!==d&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),s=o(this,t).add(o(e,r));return s.is0()?undefined:s}toAffine(e){const{px:t,py:n,pz:o}=this,s=this.is0();null==e&&(e=s?r.ONE:r.inv(o));const i=r.mul(t,e),a=r.mul(n,e),u=r.mul(o,e);if(s)return{x:r.ZERO,y:r.ZERO};if(!r.eql(u,r.ONE))throw new Error("invZ was invalid");return{x:i,y:a}}isTorsionFree(){const{h:e,isTorsionFree:r}=t;if(e===d)return!0;if(r)return r(g,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:e,clearCofactor:r}=t;return e===d?this:r?r(g,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return this.assertValidity(),a(g,this,e)}toHex(e=!0){return s.bytesToHex(this.toRawBytes(e))}}g.BASE=new g(t.Gx,t.Gy,r.ONE),g.ZERO=new g(r.ZERO,r.ONE,r.ZERO);const w=t.nBitLength,k=(0,n.wNAF)(g,t.endo?Math.ceil(w/2):w);return{CURVE:t,ProjectivePoint:g,normPrivateKeyToScalar:p,weierstrassEquation:f,isWithinCurveOrder:h}}function p(e,t){const r=e.ORDER;let n=c;for(let e=r-d;e%f===c;e/=f)n+=d;const o=n,s=f<<o-d-d,i=s*f,a=(r-d)/i,u=(a-d)/f,m=i-d,p=s,b=e.pow(t,a),y=e.pow(t,(a+d)/f);let g=(t,r)=>{let n=b,s=e.pow(r,m),i=e.sqr(s);i=e.mul(i,r);let a=e.mul(t,i);a=e.pow(a,u),a=e.mul(a,s),s=e.mul(a,r),i=e.mul(a,t);let c=e.mul(i,s);a=e.pow(c,p);let l=e.eql(a,e.ONE);s=e.mul(i,y),a=e.mul(c,n),i=e.cmov(s,i,l),c=e.cmov(a,c,l);for(let t=o;t>d;t--){let r=t-f;r=f<<r-d;let o=e.pow(c,r);const a=e.eql(o,e.ONE);s=e.mul(i,n),n=e.mul(n,n),o=e.mul(c,n),i=e.cmov(s,i,a),c=e.cmov(o,c,a)}return{isValid:l,value:i}};if(e.ORDER%h===l){const r=(e.ORDER-l)/h,n=e.sqrt(e.neg(t));g=(t,o)=>{let s=e.sqr(o);const i=e.mul(t,o);s=e.mul(s,i);let a=e.pow(s,r);a=e.mul(a,i);const u=e.mul(a,n),c=e.mul(e.sqr(a),o),d=e.eql(c,t);return{isValid:d,value:e.cmov(u,a,d)}}}return g}}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/curves",file:"node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/weierstrass.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/secp256k1.js",{"./_shortw_utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/_shortw_utils.js","./abstract/hash-to-curve.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/hash-to-curve.js","./abstract/modular.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/modular.js","./abstract/utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/utils.js","./abstract/weierstrass.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/weierstrass.js","@noble/hashes/sha256":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha256.js","@noble/hashes/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.encodeToCurve=r.hashToCurve=r.schnorr=r.secp256k1=void 0;
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
const n=e("@noble/hashes/sha256"),o=e("@noble/hashes/utils"),s=e("./_shortw_utils.js"),i=e("./abstract/hash-to-curve.js"),a=e("./abstract/modular.js"),u=e("./abstract/utils.js"),c=e("./abstract/weierstrass.js"),d=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),f=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),l=BigInt(1),h=BigInt(2),m=(e,t)=>(e+t/h)/t;function p(e){const t=d,r=BigInt(3),n=BigInt(6),o=BigInt(11),s=BigInt(22),i=BigInt(23),u=BigInt(44),c=BigInt(88),f=e*e*e%t,l=f*f*e%t,m=(0,a.pow2)(l,r,t)*l%t,p=(0,a.pow2)(m,r,t)*l%t,y=(0,a.pow2)(p,h,t)*f%t,g=(0,a.pow2)(y,o,t)*y%t,w=(0,a.pow2)(g,s,t)*g%t,k=(0,a.pow2)(w,u,t)*w%t,_=(0,a.pow2)(k,c,t)*k%t,v=(0,a.pow2)(_,u,t)*w%t,x=(0,a.pow2)(v,r,t)*l%t,j=(0,a.pow2)(x,i,t)*g%t,S=(0,a.pow2)(j,n,t)*f%t,E=(0,a.pow2)(S,h,t);if(!b.eql(b.sqr(E),e))throw new Error("Cannot find square root");return E}const b=(0,a.Field)(d,undefined,undefined,{sqrt:p});r.secp256k1=(0,s.createCurve)({a:BigInt(0),b:BigInt(7),Fp:b,n:f,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=f,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-l*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),o=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=r,i=BigInt("0x100000000000000000000000000000000"),u=m(s*e,t),c=m(-n*e,t);let d=(0,a.mod)(e-u*r-c*o,t),h=(0,a.mod)(-u*n-c*s,t);const p=d>i,b=h>i;if(p&&(d=t-d),b&&(h=t-h),d>i||h>i)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:p,k1:d,k2neg:b,k2:h}}}},n.sha256);const y=BigInt(0),g=e=>"bigint"==typeof e&&y<e&&e<d,w={};function k(e,...t){let r=w[e];if(r===undefined){const t=(0,n.sha256)(Uint8Array.from(e,e=>e.charCodeAt(0)));r=(0,u.concatBytes)(t,t),w[e]=r}return(0,n.sha256)((0,u.concatBytes)(r,...t))}const _=e=>e.toRawBytes(!0).slice(1),v=e=>(0,u.numberToBytesBE)(e,32),x=e=>(0,a.mod)(e,d),j=e=>(0,a.mod)(e,f),S=r.secp256k1.ProjectivePoint;function E(e){let t=r.secp256k1.utils.normPrivateKeyToScalar(e),n=S.fromPrivateKey(t);return{scalar:n.hasEvenY()?t:j(-t),bytes:_(n)}}function A(e){if(!g(e))throw new Error("bad x: need 0 < x < p");const t=x(e*e);let r=p(x(t*e+BigInt(7)));r%h!==y&&(r=x(-r));const n=new S(e,r,l);return n.assertValidity(),n}function B(...e){return j((0,u.bytesToNumberBE)(k("BIP0340/challenge",...e)))}function T(e){return E(e).bytes}function O(e,t,r=(0,o.randomBytes)(32)){const n=(0,u.ensureBytes)("message",e),{bytes:s,scalar:i}=E(t),a=(0,u.ensureBytes)("auxRand",r,32),c=v(i^(0,u.bytesToNumberBE)(k("BIP0340/aux",a))),d=k("BIP0340/nonce",c,s,n),f=j((0,u.bytesToNumberBE)(d));if(f===y)throw new Error("sign failed: k is zero");const{bytes:l,scalar:h}=E(f),m=B(l,s,n),p=new Uint8Array(64);if(p.set(l,0),p.set(v(j(h+m*i)),32),!M(p,n,s))throw new Error("sign: Invalid signature produced");return p}function M(e,t,r){const n=(0,u.ensureBytes)("signature",e,64),o=(0,u.ensureBytes)("message",t),s=(0,u.ensureBytes)("publicKey",r,32);try{const e=A((0,u.bytesToNumberBE)(s)),t=(0,u.bytesToNumberBE)(n.subarray(0,32));if(!g(t))return!1;const r=(0,u.bytesToNumberBE)(n.subarray(32,64));if(!("bigint"==typeof(d=r)&&y<d&&d<f))return!1;const l=B(v(t),_(e),o),h=(i=e,a=r,c=j(-l),S.BASE.multiplyAndAddUnsafe(i,a,c));return!(!h||!h.hasEvenY()||h.toAffine().x!==t)}catch(e){return!1}var i,a,c,d}r.schnorr={getPublicKey:T,sign:O,verify:M,utils:{randomPrivateKey:r.secp256k1.utils.randomPrivateKey,lift_x:A,pointToBytes:_,numberToBytesBE:u.numberToBytesBE,bytesToNumberBE:u.bytesToNumberBE,taggedHash:k,mod:a.mod}};const P=(()=>(0,i.isogenyMap)(b,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581","0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262","0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"],["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b","0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14","0x0000000000000000000000000000000000000000000000000000000000000001"],["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c","0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3","0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931","0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"],["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b","0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573","0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f","0x0000000000000000000000000000000000000000000000000000000000000001"]].map(e=>e.map(e=>BigInt(e)))))(),I=(()=>(0,c.mapToCurveSimpleSWU)(b,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:b.create(BigInt("-11"))}))(),C=(()=>(0,i.createHasher)(r.secp256k1.ProjectivePoint,e=>{const{x:t,y:r}=I(b.create(e[0]));return P(t,r)},{DST:"secp256k1_XMD:SHA-256_SSWU_RO_",encodeDST:"secp256k1_XMD:SHA-256_SSWU_NU_",p:b.ORDER,m:1,k:128,expand:"xmd",hash:n.sha256}))();r.hashToCurve=C.hashToCurve,r.encodeToCurve=C.encodeToCurve}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/curves",file:"node_modules/ethereum-cryptography/node_modules/@noble/curves/secp256k1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_assert.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function o(e){if("boolean"!=typeof e)throw new Error(`boolean expected, not ${e}`)}function s(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function i(e,...t){if(!s(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function a(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function u(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function c(e,t){i(e);const r=t.outputLen;if(e.length<r)throw new Error(`digestInto() expects output buffer of length at least ${r}`)}Object.defineProperty(r,"__esModule",{value:!0}),r.output=r.exists=r.hash=r.bytes=r.bool=r.number=r.isBytes=void 0,r.number=n,r.bool=o,r.isBytes=s,r.bytes=i,r.hash=a,r.exists=u,r.output=c;const d={number:n,bool:o,bytes:i,hash:a,exists:u,output:c};r.default=d}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/ethereum-cryptography/node_modules/@noble/hashes/_assert.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_md.js",{"./_assert.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_assert.js","./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.HashMD=r.Maj=r.Chi=void 0;const n=e("./_assert.js"),o=e("./utils.js");r.Chi=(e,t,r)=>e&t^~e&r;r.Maj=(e,t,r)=>e&t^e&r^t&r;class s extends o.Hash{constructor(e,t,r,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,o.createView)(this.buffer)}update(e){(0,n.exists)(this);const{view:t,buffer:r,blockLen:s}=this,i=(e=(0,o.toBytes)(e)).length;for(let n=0;n<i;){const a=Math.min(s-this.pos,i-n);if(a===s){const t=(0,o.createView)(e);for(;s<=i-n;n+=s)this.process(t,n);continue}r.set(e.subarray(n,n+a),this.pos),this.pos+=a,n+=a,this.pos===s&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,n.exists)(this),(0,n.output)(e,this),this.finished=!0;const{buffer:t,view:r,blockLen:s,isLE:i}=this;let{pos:a}=this;t[a++]=128,this.buffer.subarray(a).fill(0),this.padOffset>s-a&&(this.process(r,0),a=0);for(let e=a;e<s;e++)t[e]=0;!function(e,t,r,n){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,r,n);const o=BigInt(32),s=BigInt(4294967295),i=Number(r>>o&s),a=Number(r&s),u=n?4:0,c=n?0:4;e.setUint32(t+u,i,n),e.setUint32(t+c,a,n)}(r,s-8,BigInt(8*this.length),i),this.process(r,0);const u=(0,o.createView)(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const d=c/4,f=this.get();if(d>f.length)throw new Error("_sha2: outputLen bigger than state");for(let e=0;e<d;e++)u.setUint32(4*e,f[e],i)}digest(){const{buffer:e,outputLen:t}=this;this.digestInto(e);const r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:t,buffer:r,length:n,finished:o,destroyed:s,pos:i}=this;return e.length=n,e.pos=i,e.finished=o,e.destroyed=s,n%t&&e.buffer.set(r),e}}r.HashMD=s}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/ethereum-cryptography/node_modules/@noble/hashes/_md.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_u64.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.add5L=r.add5H=r.add4H=r.add4L=r.add3H=r.add3L=r.add=r.rotlBL=r.rotlBH=r.rotlSL=r.rotlSH=r.rotr32L=r.rotr32H=r.rotrBL=r.rotrBH=r.rotrSL=r.rotrSH=r.shrSL=r.shrSH=r.toBig=r.split=r.fromBig=void 0;const n=BigInt(2**32-1),o=BigInt(32);function s(e,t=!1){return t?{h:Number(e&n),l:Number(e>>o&n)}:{h:0|Number(e>>o&n),l:0|Number(e&n)}}function i(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;o<e.length;o++){const{h:i,l:a}=s(e[o],t);[r[o],n[o]]=[i,a]}return[r,n]}r.fromBig=s,r.split=i;const a=(e,t)=>BigInt(e>>>0)<<o|BigInt(t>>>0);r.toBig=a;const u=(e,t,r)=>e>>>r;r.shrSH=u;const c=(e,t,r)=>e<<32-r|t>>>r;r.shrSL=c;const d=(e,t,r)=>e>>>r|t<<32-r;r.rotrSH=d;const f=(e,t,r)=>e<<32-r|t>>>r;r.rotrSL=f;const l=(e,t,r)=>e<<64-r|t>>>r-32;r.rotrBH=l;const h=(e,t,r)=>e>>>r-32|t<<64-r;r.rotrBL=h;const m=(e,t)=>t;r.rotr32H=m;const p=(e,t)=>e;r.rotr32L=p;const b=(e,t,r)=>e<<r|t>>>32-r;r.rotlSH=b;const y=(e,t,r)=>t<<r|e>>>32-r;r.rotlSL=y;const g=(e,t,r)=>t<<r-32|e>>>64-r;r.rotlBH=g;const w=(e,t,r)=>e<<r-32|t>>>64-r;function k(e,t,r,n){const o=(t>>>0)+(n>>>0);return{h:e+r+(o/2**32|0)|0,l:0|o}}r.rotlBL=w,r.add=k;const _=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);r.add3L=_;const v=(e,t,r,n)=>t+r+n+(e/2**32|0)|0;r.add3H=v;const x=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);r.add4L=x;const j=(e,t,r,n,o)=>t+r+n+o+(e/2**32|0)|0;r.add4H=j;const S=(e,t,r,n,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(o>>>0);r.add5L=S;const E=(e,t,r,n,o,s)=>t+r+n+o+s+(e/2**32|0)|0;r.add5H=E;const A={fromBig:s,split:i,toBig:a,shrSH:u,shrSL:c,rotrSH:d,rotrSL:f,rotrBH:l,rotrBL:h,rotr32H:m,rotr32L:p,rotlSH:b,rotlSL:y,rotlBH:g,rotlBL:w,add:k,add3L:_,add3H:v,add4L:x,add4H:j,add5H:E,add5L:S};r.default=A}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/ethereum-cryptography/node_modules/@noble/hashes/_u64.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/crypto.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.crypto=void 0,r.crypto="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:undefined}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/ethereum-cryptography/node_modules/@noble/hashes/crypto.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/hmac.js",{"./_assert.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_assert.js","./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hmac=r.HMAC=void 0;const n=e("./_assert.js"),o=e("./utils.js");class s extends o.Hash{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,n.hash)(e);const r=(0,o.toBytes)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const s=this.blockLen,i=new Uint8Array(s);i.set(r.length>s?e.create().update(r).digest():r);for(let e=0;e<i.length;e++)i[e]^=54;this.iHash.update(i),this.oHash=e.create();for(let e=0;e<i.length;e++)i[e]^=106;this.oHash.update(i),i.fill(0)}update(e){return(0,n.exists)(this),this.iHash.update(e),this}digestInto(e){(0,n.exists)(this),(0,n.bytes)(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:t,iHash:r,finished:n,destroyed:o,blockLen:s,outputLen:i}=this;return e.finished=n,e.destroyed=o,e.blockLen=s,e.outputLen=i,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}r.HMAC=s;r.hmac=(e,t,r)=>new s(e,t).update(r).digest(),r.hmac.create=(e,t)=>new s(e,t)}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/ethereum-cryptography/node_modules/@noble/hashes/hmac.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/ripemd160.js",{"./_md.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_md.js","./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ripemd160=r.RIPEMD160=void 0;const n=e("./_md.js"),o=e("./utils.js"),s=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),i=new Uint8Array(new Array(16).fill(0).map((e,t)=>t));let a=[i],u=[i.map(e=>(9*e+5)%16)];for(let e=0;e<4;e++)for(let t of[a,u])t.push(t[e].map(e=>s[e]));const c=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(e=>new Uint8Array(e)),d=a.map((e,t)=>e.map(e=>c[t][e])),f=u.map((e,t)=>e.map(e=>c[t][e])),l=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),h=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function m(e,t,r,n){return 0===e?t^r^n:1===e?t&r|~t&n:2===e?(t|~r)^n:3===e?t&n|r&~n:t^(r|~n)}const p=new Uint32Array(16);class b extends n.HashMD{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:t,h2:r,h3:n,h4:o}=this;return[e,t,r,n,o]}set(e,t,r,n,o){this.h0=0|e,this.h1=0|t,this.h2=0|r,this.h3=0|n,this.h4=0|o}process(e,t){for(let r=0;r<16;r++,t+=4)p[r]=e.getUint32(t,!0);let r=0|this.h0,n=r,s=0|this.h1,i=s,c=0|this.h2,b=c,y=0|this.h3,g=y,w=0|this.h4,k=w;for(let e=0;e<5;e++){const t=4-e,_=l[e],v=h[e],x=a[e],j=u[e],S=d[e],E=f[e];for(let t=0;t<16;t++){const n=(0,o.rotl)(r+m(e,s,c,y)+p[x[t]]+_,S[t])+w|0;r=w,w=y,y=0|(0,o.rotl)(c,10),c=s,s=n}for(let e=0;e<16;e++){const r=(0,o.rotl)(n+m(t,i,b,g)+p[j[e]]+v,E[e])+k|0;n=k,k=g,g=0|(0,o.rotl)(b,10),b=i,i=r}}this.set(this.h1+c+g|0,this.h2+y+k|0,this.h3+w+n|0,this.h4+r+i|0,this.h0+s+b|0)}roundClean(){p.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}r.RIPEMD160=b,r.ripemd160=(0,o.wrapConstructor)(()=>new b)}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/ethereum-cryptography/node_modules/@noble/hashes/ripemd160.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha256.js",{"./_md.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_md.js","./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sha224=r.sha256=void 0;const n=e("./_md.js"),o=e("./utils.js"),s=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]),i=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),a=new Uint32Array(64);class u extends n.HashMD{constructor(){super(64,32,8,!1),this.A=0|i[0],this.B=0|i[1],this.C=0|i[2],this.D=0|i[3],this.E=0|i[4],this.F=0|i[5],this.G=0|i[6],this.H=0|i[7]}get(){const{A:e,B:t,C:r,D:n,E:o,F:s,G:i,H:a}=this;return[e,t,r,n,o,s,i,a]}set(e,t,r,n,o,s,i,a){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|o,this.F=0|s,this.G=0|i,this.H=0|a}process(e,t){for(let r=0;r<16;r++,t+=4)a[r]=e.getUint32(t,!1);for(let e=16;e<64;e++){const t=a[e-15],r=a[e-2],n=(0,o.rotr)(t,7)^(0,o.rotr)(t,18)^t>>>3,s=(0,o.rotr)(r,17)^(0,o.rotr)(r,19)^r>>>10;a[e]=s+a[e-7]+n+a[e-16]|0}let{A:r,B:i,C:u,D:c,E:d,F:f,G:l,H:h}=this;for(let e=0;e<64;e++){const t=h+((0,o.rotr)(d,6)^(0,o.rotr)(d,11)^(0,o.rotr)(d,25))+(0,n.Chi)(d,f,l)+s[e]+a[e]|0,m=((0,o.rotr)(r,2)^(0,o.rotr)(r,13)^(0,o.rotr)(r,22))+(0,n.Maj)(r,i,u)|0;h=l,l=f,f=d,d=c+t|0,c=u,u=i,i=r,r=t+m|0}r=r+this.A|0,i=i+this.B|0,u=u+this.C|0,c=c+this.D|0,d=d+this.E|0,f=f+this.F|0,l=l+this.G|0,h=h+this.H|0,this.set(r,i,u,c,d,f,l,h)}roundClean(){a.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class c extends u{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}r.sha256=(0,o.wrapConstructor)(()=>new u),r.sha224=(0,o.wrapConstructor)(()=>new c)}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha256.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha3.js",{"./_assert.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_assert.js","./_u64.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_u64.js","./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.shake256=r.shake128=r.keccak_512=r.keccak_384=r.keccak_256=r.keccak_224=r.sha3_512=r.sha3_384=r.sha3_256=r.sha3_224=r.Keccak=r.keccakP=void 0;const n=e("./_assert.js"),o=e("./_u64.js"),s=e("./utils.js"),i=[],a=[],u=[],c=BigInt(0),d=BigInt(1),f=BigInt(2),l=BigInt(7),h=BigInt(256),m=BigInt(113);for(let e=0,t=d,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],i.push(2*(5*n+r)),a.push((e+1)*(e+2)/2%64);let o=c;for(let e=0;e<7;e++)t=(t<<d^(t>>l)*m)%h,t&f&&(o^=d<<(d<<BigInt(e))-d);u.push(o)}const[p,b]=(0,o.split)(u,!0),y=(e,t,r)=>r>32?(0,o.rotlBH)(e,t,r):(0,o.rotlSH)(e,t,r),g=(e,t,r)=>r>32?(0,o.rotlBL)(e,t,r):(0,o.rotlSL)(e,t,r);function w(e,t=24){const r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){const n=(t+8)%10,o=(t+2)%10,s=r[o],i=r[o+1],a=y(s,i,1)^r[n],u=g(s,i,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=a,e[t+r+1]^=u}let t=e[2],o=e[3];for(let r=0;r<24;r++){const n=a[r],s=y(t,o,n),u=g(t,o,n),c=i[r];t=e[c],o=e[c+1],e[c]=s,e[c+1]=u}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=p[n],e[1]^=b[n]}r.fill(0)}r.keccakP=w;class k extends s.Hash{constructor(e,t,r,o=!1,i=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=o,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,n.number)(r),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,s.u32)(this.state)}keccak(){s.isLE||(0,s.byteSwap32)(this.state32),w(this.state32,this.rounds),s.isLE||(0,s.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(e){(0,n.exists)(this);const{blockLen:t,state:r}=this,o=(e=(0,s.toBytes)(e)).length;for(let n=0;n<o;){const s=Math.min(t-this.pos,o-n);for(let t=0;t<s;t++)r[this.pos++]^=e[n++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:t,pos:r,blockLen:n}=this;e[r]^=t,128&t&&r===n-1&&this.keccak(),e[n-1]^=128,this.keccak()}writeInto(e){(0,n.exists)(this,!1),(0,n.bytes)(e),this.finish();const t=this.state,{blockLen:r}=this;for(let n=0,o=e.length;n<o;){this.posOut>=r&&this.keccak();const s=Math.min(r-this.posOut,o-n);e.set(t.subarray(this.posOut,this.posOut+s),n),this.posOut+=s,n+=s}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,n.number)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,n.output)(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){const{blockLen:t,suffix:r,outputLen:n,rounds:o,enableXOF:s}=this;return e||(e=new k(t,r,n,s,o)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=o,e.suffix=r,e.outputLen=n,e.enableXOF=s,e.destroyed=this.destroyed,e}}r.Keccak=k;const _=(e,t,r)=>(0,s.wrapConstructor)(()=>new k(t,e,r));r.sha3_224=_(6,144,28),r.sha3_256=_(6,136,32),r.sha3_384=_(6,104,48),r.sha3_512=_(6,72,64),r.keccak_224=_(1,144,28),r.keccak_256=_(1,136,32),r.keccak_384=_(1,104,48),r.keccak_512=_(1,72,64);const v=(e,t,r)=>(0,s.wrapXOFConstructorWithOpts)((n={})=>new k(t,e,n.dkLen===undefined?r:n.dkLen,!0));r.shake128=v(31,168,16),r.shake256=v(31,136,32)}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha3.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha512.js",{"./_md.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_md.js","./_u64.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_u64.js","./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sha384=r.sha512_256=r.sha512_224=r.sha512=r.SHA512=void 0;const n=e("./_md.js"),o=e("./_u64.js"),s=e("./utils.js"),[i,a]=(()=>o.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))))(),u=new Uint32Array(80),c=new Uint32Array(80);class d extends n.HashMD{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:e,Al:t,Bh:r,Bl:n,Ch:o,Cl:s,Dh:i,Dl:a,Eh:u,El:c,Fh:d,Fl:f,Gh:l,Gl:h,Hh:m,Hl:p}=this;return[e,t,r,n,o,s,i,a,u,c,d,f,l,h,m,p]}set(e,t,r,n,o,s,i,a,u,c,d,f,l,h,m,p){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|o,this.Cl=0|s,this.Dh=0|i,this.Dl=0|a,this.Eh=0|u,this.El=0|c,this.Fh=0|d,this.Fl=0|f,this.Gh=0|l,this.Gl=0|h,this.Hh=0|m,this.Hl=0|p}process(e,t){for(let r=0;r<16;r++,t+=4)u[r]=e.getUint32(t),c[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){const t=0|u[e-15],r=0|c[e-15],n=o.default.rotrSH(t,r,1)^o.default.rotrSH(t,r,8)^o.default.shrSH(t,r,7),s=o.default.rotrSL(t,r,1)^o.default.rotrSL(t,r,8)^o.default.shrSL(t,r,7),i=0|u[e-2],a=0|c[e-2],d=o.default.rotrSH(i,a,19)^o.default.rotrBH(i,a,61)^o.default.shrSH(i,a,6),f=o.default.rotrSL(i,a,19)^o.default.rotrBL(i,a,61)^o.default.shrSL(i,a,6),l=o.default.add4L(s,f,c[e-7],c[e-16]),h=o.default.add4H(l,n,d,u[e-7],u[e-16]);u[e]=0|h,c[e]=0|l}let{Ah:r,Al:n,Bh:s,Bl:d,Ch:f,Cl:l,Dh:h,Dl:m,Eh:p,El:b,Fh:y,Fl:g,Gh:w,Gl:k,Hh:_,Hl:v}=this;for(let e=0;e<80;e++){const t=o.default.rotrSH(p,b,14)^o.default.rotrSH(p,b,18)^o.default.rotrBH(p,b,41),x=o.default.rotrSL(p,b,14)^o.default.rotrSL(p,b,18)^o.default.rotrBL(p,b,41),j=p&y^~p&w,S=b&g^~b&k,E=o.default.add5L(v,x,S,a[e],c[e]),A=o.default.add5H(E,_,t,j,i[e],u[e]),B=0|E,T=o.default.rotrSH(r,n,28)^o.default.rotrBH(r,n,34)^o.default.rotrBH(r,n,39),O=o.default.rotrSL(r,n,28)^o.default.rotrBL(r,n,34)^o.default.rotrBL(r,n,39),M=r&s^r&f^s&f,P=n&d^n&l^d&l;_=0|w,v=0|k,w=0|y,k=0|g,y=0|p,g=0|b,({h:p,l:b}=o.default.add(0|h,0|m,0|A,0|B)),h=0|f,m=0|l,f=0|s,l=0|d,s=0|r,d=0|n;const I=o.default.add3L(B,O,P);r=o.default.add3H(I,A,T,M),n=0|I}({h:r,l:n}=o.default.add(0|this.Ah,0|this.Al,0|r,0|n)),({h:s,l:d}=o.default.add(0|this.Bh,0|this.Bl,0|s,0|d)),({h:f,l:l}=o.default.add(0|this.Ch,0|this.Cl,0|f,0|l)),({h:h,l:m}=o.default.add(0|this.Dh,0|this.Dl,0|h,0|m)),({h:p,l:b}=o.default.add(0|this.Eh,0|this.El,0|p,0|b)),({h:y,l:g}=o.default.add(0|this.Fh,0|this.Fl,0|y,0|g)),({h:w,l:k}=o.default.add(0|this.Gh,0|this.Gl,0|w,0|k)),({h:_,l:v}=o.default.add(0|this.Hh,0|this.Hl,0|_,0|v)),this.set(r,n,s,d,f,l,h,m,p,b,y,g,w,k,_,v)}roundClean(){u.fill(0),c.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}r.SHA512=d;class f extends d{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class l extends d{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class h extends d{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}r.sha512=(0,s.wrapConstructor)(()=>new d),r.sha512_224=(0,s.wrapConstructor)(()=>new f),r.sha512_256=(0,s.wrapConstructor)(()=>new l),r.sha384=(0,s.wrapConstructor)(()=>new h)}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha512.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js",{"./_assert.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_assert.js","@noble/hashes/crypto":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/crypto.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
Object.defineProperty(r,"__esModule",{value:!0}),r.randomBytes=r.wrapXOFConstructorWithOpts=r.wrapConstructorWithOpts=r.wrapConstructor=r.checkOpts=r.Hash=r.concatBytes=r.toBytes=r.utf8ToBytes=r.asyncLoop=r.nextTick=r.hexToBytes=r.bytesToHex=r.byteSwap32=r.byteSwapIfBE=r.byteSwap=r.isLE=r.rotl=r.rotr=r.createView=r.u32=r.u8=r.isBytes=void 0;const n=e("@noble/hashes/crypto"),o=e("./_assert.js");r.isBytes=function(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name};r.u8=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);r.u32=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));r.createView=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);r.rotr=(e,t)=>e<<32-t|e>>>t;r.rotl=(e,t)=>e<<t|e>>>32-t>>>0,r.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];r.byteSwap=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255,r.byteSwapIfBE=r.isLE?e=>e:e=>(0,r.byteSwap)(e),r.byteSwap32=function(e){for(let t=0;t<e.length;t++)e[t]=(0,r.byteSwap)(e[t])};const s=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));r.bytesToHex=function(e){(0,o.bytes)(e);let t="";for(let r=0;r<e.length;r++)t+=s[e[r]];return t};const i=48,a=57,u=65,c=70,d=97,f=102;function l(e){return e>=i&&e<=a?e-i:e>=u&&e<=c?e-(u-10):e>=d&&e<=f?e-(d-10):void 0}r.hexToBytes=function(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);const t=e.length,r=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let t=0,o=0;t<r;t++,o+=2){const r=l(e.charCodeAt(o)),s=l(e.charCodeAt(o+1));if(r===undefined||s===undefined){const t=e[o]+e[o+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+o)}n[t]=16*r+s}return n};function h(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function m(e){return"string"==typeof e&&(e=h(e)),(0,o.bytes)(e),e}r.nextTick=async()=>{},r.asyncLoop=async function(e,t,n){let o=Date.now();for(let s=0;s<e;s++){n(s);const e=Date.now()-o;e>=0&&e<t||(await(0,r.nextTick)(),o+=e)}},r.utf8ToBytes=h,r.toBytes=m,r.concatBytes=function(...e){let t=0;for(let r=0;r<e.length;r++){const n=e[r];(0,o.bytes)(n),t+=n.length}const r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){const o=e[t];r.set(o,n),n+=o.length}return r};r.Hash=class{clone(){return this._cloneInto()}};const p={}.toString;r.checkOpts=function(e,t){if(t!==undefined&&"[object Object]"!==p.call(t))throw new Error("Options should be object or undefined");return Object.assign(e,t)},r.wrapConstructor=function(e){const t=t=>e().update(m(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t},r.wrapConstructorWithOpts=function(e){const t=(t,r)=>e(r).update(m(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},r.wrapXOFConstructorWithOpts=function(e){const t=(t,r)=>e(r).update(m(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},r.randomBytes=function(e=32){if(n.crypto&&"function"==typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}}}},{package:"@ethereumjs/tx>ethereum-cryptography>@noble/hashes",file:"node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@scure/base/lib/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){if(!Number.isSafeInteger(e))throw new Error(`Wrong integer: ${e}`)}function o(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function s(...e){const t=e=>e,r=(e,t)=>r=>e(t(r));return{encode:e.map(e=>e.encode).reduceRight(r,t),decode:e.map(e=>e.decode).reduce(r,t)}}function i(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(n(t),t<0||t>=e.length)throw new Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw new Error(`alphabet.decode: not string element=${t}`);const r=e.indexOf(t);if(-1===r)throw new Error(`Unknown letter: "${t}". Allowed: ${e}`);return r})}}}function a(e=""){if("string"!=typeof e)throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw new Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw new Error("join.decode input should be string");return t.split(e)}}}function u(e,t="="){if(n(e),"string"!=typeof t)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw new Error(`padding.encode: non-string input=${e}`);for(;r.length*e%8;)r.push(t);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw new Error(`padding.decode: non-string input=${e}`);let n=r.length;if(n*e%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if(!((n-1)*e%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,n)}}}function c(e){if("function"!=typeof e)throw new Error("normalize fn should be function");return{encode:e=>e,decode:t=>e(t)}}function d(e,t,r){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];let o=0;const s=[],i=Array.from(e);for(i.forEach(e=>{if(n(e),e<0||e>=t)throw new Error(`Wrong integer: ${e}`)});;){let e=0,n=!0;for(let s=o;s<i.length;s++){const a=i[s],u=t*e+a;if(!Number.isSafeInteger(u)||t*e/t!==e||u-a!==t*e)throw new Error("convertRadix: carry overflow");e=u%r;const c=Math.floor(u/r);if(i[s]=c,!Number.isSafeInteger(c)||c*r+e!==u)throw new Error("convertRadix: carry overflow");n&&(c?n=!1:o=s)}if(s.push(e),n)break}for(let t=0;t<e.length-1&&0===e[t];t++)s.push(0);return s.reverse()}
/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */
Object.defineProperty(r,"__esModule",{value:!0}),r.bytes=r.stringToBytes=r.str=r.bytesToString=r.hex=r.utf8=r.bech32m=r.bech32=r.base58check=r.createBase58check=r.base58xmr=r.base58xrp=r.base58flickr=r.base58=r.base64urlnopad=r.base64url=r.base64nopad=r.base64=r.base32crockford=r.base32hexnopad=r.base32hex=r.base32nopad=r.base32=r.base16=r.utils=void 0,r.assertNumber=n;const f=(e,t)=>t?f(t,e%t):e,l=(e,t)=>e+(t-f(e,t));function h(e,t,r,o){if(!Array.isArray(e))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(l(t,r)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${l(t,r)}`);let s=0,i=0;const a=2**r-1,u=[];for(const o of e){if(n(o),o>=2**t)throw new Error(`convertRadix2: invalid data word=${o} from=${t}`);if(s=s<<t|o,i+t>32)throw new Error(`convertRadix2: carry overflow pos=${i} from=${t}`);for(i+=t;i>=r;i-=r)u.push((s>>i-r&a)>>>0);s&=2**i-1}if(s=s<<r-i&a,!o&&i>=t)throw new Error("Excess padding");if(!o&&s)throw new Error(`Non-zero padding: ${s}`);return o&&i>0&&u.push(s>>>0),u}function m(e){return n(e),{encode:t=>{if(!o(t))throw new Error("radix.encode input should be Uint8Array");return d(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(d(t,e,256))}}}function p(e,t=!1){if(n(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(l(8,e)>32||l(e,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!o(r))throw new Error("radix2.encode input should be Uint8Array");return h(Array.from(r),8,e,!t)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(h(r,e,8,t))}}}function b(e){if("function"!=typeof e)throw new Error("unsafeWrapper fn should be function");return function(...t){try{return e.apply(null,t)}catch(e){}}}function y(e,t){if(n(e),"function"!=typeof t)throw new Error("checksum fn should be function");return{encode(r){if(!o(r))throw new Error("checksum.encode: input should be Uint8Array");const n=t(r).slice(0,e),s=new Uint8Array(r.length+e);return s.set(r),s.set(n,r.length),s},decode(r){if(!o(r))throw new Error("checksum.decode: input should be Uint8Array");const n=r.slice(0,-e),s=t(n).slice(0,e),i=r.slice(-e);for(let t=0;t<e;t++)if(s[t]!==i[t])throw new Error("Invalid checksum");return n}}}r.utils={alphabet:i,chain:s,checksum:y,convertRadix:d,convertRadix2:h,radix:m,radix2:p,join:a,padding:u},r.base16=s(p(4),i("0123456789ABCDEF"),a("")),r.base32=s(p(5),i("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),u(5),a("")),r.base32nopad=s(p(5),i("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),a("")),r.base32hex=s(p(5),i("0123456789ABCDEFGHIJKLMNOPQRSTUV"),u(5),a("")),r.base32hexnopad=s(p(5),i("0123456789ABCDEFGHIJKLMNOPQRSTUV"),a("")),r.base32crockford=s(p(5),i("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),a(""),c(e=>e.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),r.base64=s(p(6),i("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),u(6),a("")),r.base64nopad=s(p(6),i("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),a("")),r.base64url=s(p(6),i("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),u(6),a("")),r.base64urlnopad=s(p(6),i("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),a(""));const g=e=>s(m(58),i(e),a(""));r.base58=g("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),r.base58flickr=g("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),r.base58xrp=g("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const w=[0,2,3,5,6,7,9,10,11];r.base58xmr={encode(e){let t="";for(let n=0;n<e.length;n+=8){const o=e.subarray(n,n+8);t+=r.base58.encode(o).padStart(w[o.length],"1")}return t},decode(e){let t=[];for(let n=0;n<e.length;n+=11){const o=e.slice(n,n+11),s=w.indexOf(o.length),i=r.base58.decode(o);for(let e=0;e<i.length-s;e++)if(0!==i[e])throw new Error("base58xmr: wrong padding");t=t.concat(Array.from(i.slice(i.length-s)))}return Uint8Array.from(t)}};r.createBase58check=e=>s(y(4,t=>e(e(t))),r.base58),r.base58check=r.createBase58check;const k=s(i("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),a("")),_=[996825010,642813549,513874426,1027748829,705979059];function v(e){const t=e>>25;let r=(33554431&e)<<5;for(let e=0;e<_.length;e++)1==(t>>e&1)&&(r^=_[e]);return r}function x(e,t,r=1){const n=e.length;let o=1;for(let t=0;t<n;t++){const r=e.charCodeAt(t);if(r<33||r>126)throw new Error(`Invalid prefix (${e})`);o=v(o)^r>>5}o=v(o);for(let t=0;t<n;t++)o=v(o)^31&e.charCodeAt(t);for(let e of t)o=v(o)^e;for(let e=0;e<6;e++)o=v(o);return o^=r,k.encode(h([o%2**30],30,5,!1))}function j(e){const t="bech32"===e?1:734539939,r=p(5),n=r.decode,o=r.encode,s=b(n);function i(e,r,n=90){if("string"!=typeof e)throw new Error("bech32.encode prefix should be string, not "+typeof e);if(r instanceof Uint8Array&&(r=Array.from(r)),!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof r);if(0===e.length)throw new TypeError(`Invalid prefix length ${e.length}`);const o=e.length+7+r.length;if(!1!==n&&o>n)throw new TypeError(`Length ${o} exceeds limit ${n}`);const s=e.toLowerCase(),i=x(s,r,t);return`${s}1${k.encode(r)}${i}`}function a(e,r=90){if("string"!=typeof e)throw new Error("bech32.decode input should be string, not "+typeof e);if(e.length<8||!1!==r&&e.length>r)throw new TypeError(`Wrong string length: ${e.length} (${e}). Expected (8..${r})`);const n=e.toLowerCase();if(e!==n&&e!==e.toUpperCase())throw new Error("String must be lowercase or uppercase");const o=n.lastIndexOf("1");if(0===o||-1===o)throw new Error('Letter "1" must be present between prefix and data only');const s=n.slice(0,o),i=n.slice(o+1);if(i.length<6)throw new Error("Data must be at least 6 characters long");const a=k.decode(i).slice(0,-6),u=x(s,a,t);if(!i.endsWith(u))throw new Error(`Invalid checksum in ${e}: expected "${u}"`);return{prefix:s,words:a}}return{encode:i,decode:a,encodeFromBytes:function(e,t){return i(e,o(t))},decodeToBytes:function(e){const{prefix:t,words:r}=a(e,!1);return{prefix:t,words:r,bytes:n(r)}},decodeUnsafe:b(a),fromWords:n,fromWordsUnsafe:s,toWords:o}}r.bech32=j("bech32"),r.bech32m=j("bech32m"),r.utf8={encode:e=>(new TextDecoder).decode(e),decode:e=>(new TextEncoder).encode(e)},r.hex=s(p(4),i("0123456789abcdef"),a(""),c(e=>{if("string"!=typeof e||e.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);return e.toLowerCase()}));const S={utf8:r.utf8,hex:r.hex,base16:r.base16,base32:r.base32,base64:r.base64,base64url:r.base64url,base58:r.base58,base58xmr:r.base58xmr},E="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr";r.bytesToString=(e,t)=>{if("string"!=typeof e||!S.hasOwnProperty(e))throw new TypeError(E);if(!o(t))throw new TypeError("bytesToString() expects Uint8Array");return S[e].encode(t)},r.str=r.bytesToString;r.stringToBytes=(e,t)=>{if(!S.hasOwnProperty(e))throw new TypeError(E);if("string"!=typeof t)throw new TypeError("stringToBytes() expects string");return S[e].decode(t)},r.bytes=r.stringToBytes}}},{package:"@ethereumjs/tx>ethereum-cryptography>@scure/bip32>@scure/base",file:"node_modules/ethereum-cryptography/node_modules/@scure/base/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@scure/bip32/lib/index.js",{"@noble/curves/abstract/modular":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/abstract/modular.js","@noble/curves/secp256k1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/secp256k1.js","@noble/hashes/_assert":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_assert.js","@noble/hashes/hmac":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/hmac.js","@noble/hashes/ripemd160":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/ripemd160.js","@noble/hashes/sha256":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha256.js","@noble/hashes/sha512":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha512.js","@noble/hashes/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js","@scure/base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@scure/base/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.HDKey=r.HARDENED_OFFSET=void 0;
/*! scure-bip32 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */
const n=e("@noble/hashes/hmac"),o=e("@noble/hashes/ripemd160"),s=e("@noble/hashes/sha256"),i=e("@noble/hashes/sha512"),a=e("@noble/hashes/_assert"),u=e("@noble/hashes/utils"),c=e("@noble/curves/secp256k1"),d=e("@noble/curves/abstract/modular"),f=e("@scure/base"),l=c.secp256k1.ProjectivePoint,h=(0,f.createBase58check)(s.sha256);function m(e){return BigInt(`0x${(0,u.bytesToHex)(e)}`)}const p=(0,u.utf8ToBytes)("Bitcoin seed"),b={private:76066276,public:76067358};r.HARDENED_OFFSET=2147483648;const y=e=>{if(!Number.isSafeInteger(e)||e<0||e>2**32-1)throw new Error(`Invalid number=${e}. Should be from 0 to 2 ** 32 - 1`);const t=new Uint8Array(4);return(0,u.createView)(t).setUint32(0,e,!1),t};class g{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return e=this.pubHash,(0,u.createView)(e).getUint32(0,!1);var e}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const e=this.privateKey;if(!e)throw new Error("No private key");return h.encode(this.serialize(this.versions.private,(0,u.concatBytes)(new Uint8Array([0]),e)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return h.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(e,t=b){if((0,a.bytes)(e),8*e.length<128||8*e.length>512)throw new Error(`HDKey: wrong seed length=${e.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const r=(0,n.hmac)(i.sha512,p,e);return new g({versions:t,chainCode:r.slice(32),privateKey:r.slice(0,32)})}static fromExtendedKey(e,t=b){const r=h.decode(e),n=(0,u.createView)(r),o=n.getUint32(0,!1),s={versions:t,depth:r[4],parentFingerprint:n.getUint32(5,!1),index:n.getUint32(9,!1),chainCode:r.slice(13,45)},i=r.slice(45),a=0===i[0];if(o!==t[a?"private":"public"])throw new Error("Version mismatch");return new g(a?{...s,privateKey:i.slice(1)}:{...s,publicKey:i})}static fromJSON(e){return g.fromExtendedKey(e.xpriv)}constructor(e){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!e||"object"!=typeof e)throw new Error("HDKey.constructor must not be called directly");if(this.versions=e.versions||b,this.depth=e.depth||0,this.chainCode=e.chainCode||null,this.index=e.index||0,this.parentFingerprint=e.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(e.publicKey&&e.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(e.privateKey){if(!c.secp256k1.utils.isValidPrivateKey(e.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof e.privateKey?e.privateKey:m(e.privateKey),this.privKeyBytes=(t=this.privKey,(0,u.hexToBytes)(t.toString(16).padStart(64,"0"))),this.pubKey=c.secp256k1.getPublicKey(e.privateKey,!0)}else{if(!e.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=l.fromHex(e.publicKey).toRawBytes(!0)}var t,r;this.pubHash=(r=this.pubKey,(0,o.ripemd160)((0,s.sha256)(r)))}derive(e){if(!/^[mM]'?/.test(e))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(e))return this;const t=e.replace(/^[mM]'?\//,"").split("/");let n=this;for(const e of t){const t=/^(\d+)('?)$/.exec(e),o=t&&t[1];if(!t||3!==t.length||"string"!=typeof o)throw new Error(`Invalid child index: ${e}`);let s=+o;if(!Number.isSafeInteger(s)||s>=r.HARDENED_OFFSET)throw new Error("Invalid index");"'"===t[2]&&(s+=r.HARDENED_OFFSET),n=n.deriveChild(s)}return n}deriveChild(e){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let t=y(e);if(e>=r.HARDENED_OFFSET){const e=this.privateKey;if(!e)throw new Error("Could not derive hardened child key");t=(0,u.concatBytes)(new Uint8Array([0]),e,t)}else t=(0,u.concatBytes)(this.pubKey,t);const o=(0,n.hmac)(i.sha512,this.chainCode,t),s=m(o.slice(0,32)),a=o.slice(32);if(!c.secp256k1.utils.isValidPrivateKey(s))throw new Error("Tweak bigger than curve order");const f={versions:this.versions,chainCode:a,depth:this.depth+1,parentFingerprint:this.fingerprint,index:e};try{if(this.privateKey){const e=(0,d.mod)(this.privKey+s,c.secp256k1.CURVE.n);if(!c.secp256k1.utils.isValidPrivateKey(e))throw new Error("The tweak was out of range or the resulted private key is invalid");f.privateKey=e}else{const e=l.fromHex(this.pubKey).add(l.fromPrivateKey(s));if(e.equals(l.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");f.publicKey=e.toRawBytes(!0)}return new g(f)}catch(t){return this.deriveChild(e+1)}}sign(e){if(!this.privateKey)throw new Error("No privateKey set!");return(0,a.bytes)(e,32),c.secp256k1.sign(e,this.privKey).toCompactRawBytes()}verify(e,t){if((0,a.bytes)(e,32),(0,a.bytes)(t,64),!this.publicKey)throw new Error("No publicKey set!");let r;try{r=c.secp256k1.Signature.fromCompact(t)}catch(e){return!1}return c.secp256k1.verify(r,e,this.publicKey)}wipePrivateData(){return this.privKey=undefined,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=undefined),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(e,t){if(!this.chainCode)throw new Error("No chainCode set");return(0,a.bytes)(t,33),(0,u.concatBytes)(y(e),new Uint8Array([this.depth]),y(this.parentFingerprint),y(this.index),this.chainCode,t)}}r.HDKey=g}}},{package:"@ethereumjs/tx>ethereum-cryptography>@scure/bip32",file:"node_modules/ethereum-cryptography/node_modules/@scure/bip32/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/random.js",{"@noble/hashes/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getRandomBytesSync=function(e){return(0,n.randomBytes)(e)},r.getRandomBytes=async function(e){return(0,n.randomBytes)(e)};const n=e("@noble/hashes/utils")}}},{package:"@ethereumjs/tx>ethereum-cryptography",file:"node_modules/ethereum-cryptography/random.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/secp256k1.js",{"@noble/curves/secp256k1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/curves/secp256k1.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.secp256k1=void 0;var n=e("@noble/curves/secp256k1");Object.defineProperty(r,"secp256k1",{enumerable:!0,get:function(){return n.secp256k1}})}}},{package:"@ethereumjs/tx>ethereum-cryptography",file:"node_modules/ethereum-cryptography/secp256k1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/sha256.js",{"./utils.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/utils.js","@noble/hashes/sha256":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha256.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sha256=void 0;const n=e("@noble/hashes/sha256"),o=e("./utils.js");r.sha256=(0,o.wrapHash)(n.sha256)}}},{package:"@ethereumjs/tx>ethereum-cryptography",file:"node_modules/ethereum-cryptography/sha256.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/utils.js",{"@noble/hashes/_assert":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/_assert.js","@noble/hashes/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.crypto=r.utf8ToBytes=r.createView=r.concatBytes=r.toHex=r.bytesToHex=r.assertBytes=r.assertBool=void 0,r.bytesToUtf8=function(e){if(!(e instanceof Uint8Array))throw new TypeError("bytesToUtf8 expected Uint8Array, got "+typeof e);return(new TextDecoder).decode(e)},r.hexToBytes=function(e){const t=e.startsWith("0x")?e.substring(2):e;return(0,s.hexToBytes)(t)},r.equalsBytes=function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0},r.wrapHash=function(e){return t=>(o.default.bytes(t),e(t))};const o=n(e("@noble/hashes/_assert")),s=e("@noble/hashes/utils"),i=o.default.bool;r.assertBool=i;const a=o.default.bytes;r.assertBytes=a;var u=e("@noble/hashes/utils");Object.defineProperty(r,"bytesToHex",{enumerable:!0,get:function(){return u.bytesToHex}}),Object.defineProperty(r,"toHex",{enumerable:!0,get:function(){return u.bytesToHex}}),Object.defineProperty(r,"concatBytes",{enumerable:!0,get:function(){return u.concatBytes}}),Object.defineProperty(r,"createView",{enumerable:!0,get:function(){return u.createView}}),Object.defineProperty(r,"utf8ToBytes",{enumerable:!0,get:function(){return u.utf8ToBytes}}),r.crypto=(()=>{const e="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:undefined,r=void 0!==t&&"function"==typeof t.require&&t.require.bind(t);return{node:r&&!e?r("crypto"):undefined,web:e}})()}}},{package:"@ethereumjs/tx>ethereum-cryptography",file:"node_modules/ethereum-cryptography/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/account.js",{"./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/bytes.js","./constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/constants.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/externals.js","./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/hash.js","./helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/helpers.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/internal.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/types.js",assert:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/assert.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","ethereum-cryptography/secp256k1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/node_modules/ethereum-cryptography/secp256k1.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,s=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return i},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.isZeroAddress=r.zeroAddress=r.importPublic=r.privateToAddress=r.privateToPublic=r.publicToAddress=r.pubToAddress=r.isValidPublic=r.isValidPrivate=r.generateAddress2=r.generateAddress=r.isValidChecksumAddress=r.toChecksumAddress=r.isValidAddress=r.Account=void 0;var s=o(e("assert")),i=e("./externals"),a=e("ethereum-cryptography/secp256k1"),u=e("./internal"),c=e("./constants"),d=e("./bytes"),f=e("./hash"),l=e("./helpers"),h=e("./types"),m=function(){function e(e,t,r,n){void 0===e&&(e=new i.BN(0)),void 0===t&&(t=new i.BN(0)),void 0===r&&(r=c.KECCAK256_RLP),void 0===n&&(n=c.KECCAK256_NULL),this.nonce=e,this.balance=t,this.stateRoot=r,this.codeHash=n,this._validate()}return e.fromAccountData=function(t){var r=t.nonce,n=t.balance,o=t.stateRoot,s=t.codeHash;return new e(r?new i.BN((0,d.toBuffer)(r)):undefined,n?new i.BN((0,d.toBuffer)(n)):undefined,o?(0,d.toBuffer)(o):undefined,s?(0,d.toBuffer)(s):undefined)},e.fromRlpSerializedAccount=function(e){var t=i.rlp.decode(e);if(!Array.isArray(t))throw new Error("Invalid serialized account input. Must be array");return this.fromValuesArray(t)},e.fromValuesArray=function(t){var r=n(t,4),o=r[0],s=r[1],a=r[2],u=r[3];return new e(new i.BN(o),new i.BN(s),a,u)},e.prototype._validate=function(){if(this.nonce.lt(new i.BN(0)))throw new Error("nonce must be greater than zero");if(this.balance.lt(new i.BN(0)))throw new Error("balance must be greater than zero");if(32!==this.stateRoot.length)throw new Error("stateRoot must have a length of 32");if(32!==this.codeHash.length)throw new Error("codeHash must have a length of 32")},e.prototype.raw=function(){return[(0,h.bnToUnpaddedBuffer)(this.nonce),(0,h.bnToUnpaddedBuffer)(this.balance),this.stateRoot,this.codeHash]},e.prototype.serialize=function(){return i.rlp.encode(this.raw())},e.prototype.isContract=function(){return!this.codeHash.equals(c.KECCAK256_NULL)},e.prototype.isEmpty=function(){return this.balance.isZero()&&this.nonce.isZero()&&this.codeHash.equals(c.KECCAK256_NULL)},e}();r.Account=m;r.isValidAddress=function(e){try{(0,l.assertIsString)(e)}catch(e){return!1}return/^0x[0-9a-fA-F]{40}$/.test(e)};r.toChecksumAddress=function(e,t){(0,l.assertIsHexString)(e);var r=(0,u.stripHexPrefix)(e).toLowerCase(),n="";t&&(n=(0,h.toType)(t,h.TypeOutput.BN).toString()+"0x");for(var o=(0,f.keccakFromString)(n+r).toString("hex"),s="0x",i=0;i<r.length;i++)parseInt(o[i],16)>=8?s+=r[i].toUpperCase():s+=r[i];return s};r.isValidChecksumAddress=function(e,t){return(0,r.isValidAddress)(e)&&(0,r.toChecksumAddress)(e,t)===e};r.generateAddress=function(e,r){(0,l.assertIsBuffer)(e),(0,l.assertIsBuffer)(r);var n=new i.BN(r);return n.isZero()?(0,f.rlphash)([e,null]).slice(-20):(0,f.rlphash)([e,t.from(n.toArray())]).slice(-20)};r.generateAddress2=function(e,r,n){return(0,l.assertIsBuffer)(e),(0,l.assertIsBuffer)(r),(0,l.assertIsBuffer)(n),(0,s.default)(20===e.length),(0,s.default)(32===r.length),(0,f.keccak256)(t.concat([t.from("ff","hex"),e,r,(0,f.keccak256)(n)])).slice(-20)};r.isValidPrivate=function(e){return(0,a.privateKeyVerify)(e)};r.isValidPublic=function(e,r){return void 0===r&&(r=!1),(0,l.assertIsBuffer)(e),64===e.length?(0,a.publicKeyVerify)(t.concat([t.from([4]),e])):!!r&&(0,a.publicKeyVerify)(e)};r.pubToAddress=function(e,r){return void 0===r&&(r=!1),(0,l.assertIsBuffer)(e),r&&64!==e.length&&(e=t.from((0,a.publicKeyConvert)(e,!1).slice(1))),(0,s.default)(64===e.length),(0,f.keccak)(e).slice(-20)},r.publicToAddress=r.pubToAddress;r.privateToPublic=function(e){return(0,l.assertIsBuffer)(e),t.from((0,a.publicKeyCreate)(e,!1)).slice(1)};r.privateToAddress=function(e){return(0,r.publicToAddress)((0,r.privateToPublic)(e))};r.importPublic=function(e){return(0,l.assertIsBuffer)(e),64!==e.length&&(e=t.from((0,a.publicKeyConvert)(e,!1).slice(1))),e};r.zeroAddress=function(){var e=(0,d.zeros)(20);return(0,d.bufferToHex)(e)};r.isZeroAddress=function(e){try{(0,l.assertIsString)(e)}catch(e){return!1}return(0,r.zeroAddress)()===e}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/account.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/address.js",{"./account":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/account.js","./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/bytes.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/externals.js",assert:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/assert.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,r){(function(t){(function(){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.Address=void 0;var o=n(e("assert")),s=e("./externals"),i=e("./bytes"),a=e("./account"),u=function(){function e(e){(0,o.default)(20===e.length,"Invalid address length"),this.buf=e}return e.zero=function(){return new e((0,i.zeros)(20))},e.fromString=function(t){return(0,o.default)((0,a.isValidAddress)(t),"Invalid address"),new e((0,i.toBuffer)(t))},e.fromPublicKey=function(r){return(0,o.default)(t.isBuffer(r),"Public key should be Buffer"),new e((0,a.pubToAddress)(r))},e.fromPrivateKey=function(r){return(0,o.default)(t.isBuffer(r),"Private key should be Buffer"),new e((0,a.privateToAddress)(r))},e.generate=function(r,n){return(0,o.default)(s.BN.isBN(n)),new e((0,a.generateAddress)(r.buf,n.toArrayLike(t)))},e.generate2=function(r,n,s){return(0,o.default)(t.isBuffer(n)),(0,o.default)(t.isBuffer(s)),new e((0,a.generateAddress2)(r.buf,n,s))},e.prototype.equals=function(e){return this.buf.equals(e.buf)},e.prototype.isZero=function(){return this.equals(e.zero())},e.prototype.isPrecompileOrSystemAddress=function(){var e=new s.BN(this.buf),t=new s.BN(0),r=new s.BN("ffff","hex");return e.gte(t)&&e.lte(r)},e.prototype.toString=function(){return"0x"+this.buf.toString("hex")},e.prototype.toBuffer=function(){return t.from(this.buf)},e}();r.Address=u}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/address.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/bytes.js",{"./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/externals.js","./helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/helpers.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/internal.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,r){(function(t){(function(){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,s=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return i};Object.defineProperty(r,"__esModule",{value:!0}),r.bufArrToArr=r.arrToBufArr=r.validateNoLeadingZeroes=r.baToJSON=r.toUtf8=r.addHexPrefix=r.toUnsigned=r.fromSigned=r.bufferToHex=r.bufferToInt=r.toBuffer=r.unpadHexString=r.unpadArray=r.unpadBuffer=r.setLengthRight=r.setLengthLeft=r.zeros=r.intToBuffer=r.intToHex=void 0;var s=e("./externals"),i=e("./internal"),a=e("./helpers");r.intToHex=function(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("Received an invalid integer type: ".concat(e));return"0x".concat(e.toString(16))};r.intToBuffer=function(e){var n=(0,r.intToHex)(e);return t.from((0,i.padToEven)(n.slice(2)),"hex")};r.zeros=function(e){return t.allocUnsafe(e).fill(0)};var u=function(e,t,n){var o=(0,r.zeros)(t);return n?e.length<t?(e.copy(o),o):e.slice(0,t):e.length<t?(e.copy(o,t-e.length),o):e.slice(-t)};r.setLengthLeft=function(e,t){return(0,a.assertIsBuffer)(e),u(e,t,!1)};r.setLengthRight=function(e,t){return(0,a.assertIsBuffer)(e),u(e,t,!0)};var c=function(e){for(var t=e[0];e.length>0&&"0"===t.toString();)t=(e=e.slice(1))[0];return e};r.unpadBuffer=function(e){return(0,a.assertIsBuffer)(e),c(e)};r.unpadArray=function(e){return(0,a.assertIsArray)(e),c(e)};r.unpadHexString=function(e){return(0,a.assertIsHexString)(e),e=(0,i.stripHexPrefix)(e),c(e)};r.toBuffer=function(e){if(null===e||e===undefined)return t.allocUnsafe(0);if(t.isBuffer(e))return t.from(e);if(Array.isArray(e)||e instanceof Uint8Array)return t.from(e);if("string"==typeof e){if(!(0,i.isHexString)(e))throw new Error("Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: ".concat(e));return t.from((0,i.padToEven)((0,i.stripHexPrefix)(e)),"hex")}if("number"==typeof e)return(0,r.intToBuffer)(e);if(s.BN.isBN(e)){if(e.isNeg())throw new Error("Cannot convert negative BN to buffer. Given: ".concat(e));return e.toArrayLike(t)}if(e.toArray)return t.from(e.toArray());if(e.toBuffer)return t.from(e.toBuffer());throw new Error("invalid type")};r.bufferToInt=function(e){return new s.BN((0,r.toBuffer)(e)).toNumber()};r.bufferToHex=function(e){return"0x"+(e=(0,r.toBuffer)(e)).toString("hex")};r.fromSigned=function(e){return new s.BN(e).fromTwos(256)};r.toUnsigned=function(e){return t.from(e.toTwos(256).toArray())};r.addHexPrefix=function(e){return"string"!=typeof e||(0,i.isHexPrefixed)(e)?e:"0x"+e};r.toUtf8=function(e){if((e=(0,i.stripHexPrefix)(e)).length%2!=0)throw new Error("Invalid non-even hex string input for toUtf8() provided");return t.from(e.replace(/^(00)+|(00)+$/g,""),"hex").toString("utf8")};r.baToJSON=function(e){if(t.isBuffer(e))return"0x".concat(e.toString("hex"));if(e instanceof Array){for(var n=[],o=0;o<e.length;o++)n.push((0,r.baToJSON)(e[o]));return n}};r.validateNoLeadingZeroes=function(e){var t,r;try{for(var s=n(Object.entries(e)),i=s.next();!i.done;i=s.next()){var a=o(i.value,2),u=a[0],c=a[1];if(c!==undefined&&c.length>0&&0===c[0])throw new Error("".concat(u," cannot have leading zeroes, received: ").concat(c.toString("hex")))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}},r.arrToBufArr=function e(r){return Array.isArray(r)?r.map(function(t){return e(t)}):t.from(r)},r.bufArrToArr=function e(t){return Array.isArray(t)?t.map(function(t){return e(t)}):Uint8Array.from(null!=t?t:[])}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/bytes.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/constants.js",{"./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/externals.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,r){Object.defineProperty(r,"__esModule",{value:!0}),r.KECCAK256_RLP=r.KECCAK256_RLP_S=r.KECCAK256_RLP_ARRAY=r.KECCAK256_RLP_ARRAY_S=r.KECCAK256_NULL=r.KECCAK256_NULL_S=r.TWO_POW256=r.MAX_INTEGER=r.MAX_UINT64=void 0;var n=e("buffer"),o=e("./externals");r.MAX_UINT64=new o.BN("ffffffffffffffff",16),r.MAX_INTEGER=new o.BN("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16),r.TWO_POW256=new o.BN("10000000000000000000000000000000000000000000000000000000000000000",16),r.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",r.KECCAK256_NULL=n.Buffer.from(r.KECCAK256_NULL_S,"hex"),r.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",r.KECCAK256_RLP_ARRAY=n.Buffer.from(r.KECCAK256_RLP_ARRAY_S,"hex"),r.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",r.KECCAK256_RLP=n.Buffer.from(r.KECCAK256_RLP_S,"hex")}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/constants.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/externals.js",{"bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js",rlp:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/node_modules/rlp/dist.browser/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.rlp=r.BN=void 0;var a=i(e("bn.js"));r.BN=a.default;var u=s(e("rlp"));r.rlp=u}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/externals.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/hash.js",{"./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/bytes.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/externals.js","./helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/helpers.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","create-hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hash/browser.js","ethereum-cryptography/keccak":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/node_modules/ethereum-cryptography/keccak.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.rlphash=r.ripemd160FromArray=r.ripemd160FromString=r.ripemd160=r.sha256FromArray=r.sha256FromString=r.sha256=r.keccakFromArray=r.keccakFromHexString=r.keccakFromString=r.keccak256=r.keccak=void 0;var n=e("ethereum-cryptography/keccak"),o=e("create-hash"),s=e("./externals"),i=e("./bytes"),a=e("./helpers");r.keccak=function(e,t){switch(void 0===t&&(t=256),(0,a.assertIsBuffer)(e),t){case 224:return(0,n.keccak224)(e);case 256:return(0,n.keccak256)(e);case 384:return(0,n.keccak384)(e);case 512:return(0,n.keccak512)(e);default:throw new Error("Invald algorithm: keccak".concat(t))}};r.keccak256=function(e){return(0,r.keccak)(e)};r.keccakFromString=function(e,n){void 0===n&&(n=256),(0,a.assertIsString)(e);var o=t.from(e,"utf8");return(0,r.keccak)(o,n)};r.keccakFromHexString=function(e,t){return void 0===t&&(t=256),(0,a.assertIsHexString)(e),(0,r.keccak)((0,i.toBuffer)(e),t)};r.keccakFromArray=function(e,t){return void 0===t&&(t=256),(0,a.assertIsArray)(e),(0,r.keccak)((0,i.toBuffer)(e),t)};var u=function(e){return e=(0,i.toBuffer)(e),o("sha256").update(e).digest()};r.sha256=function(e){return(0,a.assertIsBuffer)(e),u(e)};r.sha256FromString=function(e){return(0,a.assertIsString)(e),u(e)};r.sha256FromArray=function(e){return(0,a.assertIsArray)(e),u(e)};var c=function(e,t){e=(0,i.toBuffer)(e);var r=o("rmd160").update(e).digest();return!0===t?(0,i.setLengthLeft)(r,32):r};r.ripemd160=function(e,t){return(0,a.assertIsBuffer)(e),c(e,t)};r.ripemd160FromString=function(e,t){return(0,a.assertIsString)(e),c(e,t)};r.ripemd160FromArray=function(e,t){return(0,a.assertIsArray)(e),c(e,t)};r.rlphash=function(e){return(0,r.keccak)(s.rlp.encode(e))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/hash.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/helpers.js",{"../../is-buffer/index.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-buffer/index.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/internal.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.assertIsString=r.assertIsArray=r.assertIsBuffer=r.assertIsHexString=void 0;var n=e("./internal");r.assertIsHexString=function(e){if(!(0,n.isHexString)(e)){var t="This method only supports 0x-prefixed hex strings but input was: ".concat(e);throw new Error(t)}};r.assertIsBuffer=function(e){if(!t.isBuffer(e)){var r="This method only supports Buffer but input was: ".concat(e);throw new Error(r)}};r.assertIsArray=function(e){if(!Array.isArray(e)){var t="This method only supports number arrays but input was: ".concat(e);throw new Error(t)}};r.assertIsString=function(e){if("string"!=typeof e){var t="This method only supports strings but input was: ".concat(e);throw new Error(t)}}}).call(this)}).call(this,{isBuffer:e("../../is-buffer/index.js")})}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/helpers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/index.js",{"./account":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/account.js","./address":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/address.js","./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/bytes.js","./constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/constants.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/externals.js","./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/hash.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/internal.js","./object":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/object.js","./signature":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/signature.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/types.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.isHexString=r.getKeys=r.fromAscii=r.fromUtf8=r.toAscii=r.arrayContainsArray=r.getBinarySize=r.padToEven=r.stripHexPrefix=r.isHexPrefixed=void 0,o(e("./constants"),r),o(e("./account"),r),o(e("./address"),r),o(e("./hash"),r),o(e("./signature"),r),o(e("./bytes"),r),o(e("./object"),r),o(e("./externals"),r),o(e("./types"),r);var s=e("./internal");Object.defineProperty(r,"isHexPrefixed",{enumerable:!0,get:function(){return s.isHexPrefixed}}),Object.defineProperty(r,"stripHexPrefix",{enumerable:!0,get:function(){return s.stripHexPrefix}}),Object.defineProperty(r,"padToEven",{enumerable:!0,get:function(){return s.padToEven}}),Object.defineProperty(r,"getBinarySize",{enumerable:!0,get:function(){return s.getBinarySize}}),Object.defineProperty(r,"arrayContainsArray",{enumerable:!0,get:function(){return s.arrayContainsArray}}),Object.defineProperty(r,"toAscii",{enumerable:!0,get:function(){return s.toAscii}}),Object.defineProperty(r,"fromUtf8",{enumerable:!0,get:function(){return s.fromUtf8}}),Object.defineProperty(r,"fromAscii",{enumerable:!0,get:function(){return s.fromAscii}}),Object.defineProperty(r,"getKeys",{enumerable:!0,get:function(){return s.getKeys}}),Object.defineProperty(r,"isHexString",{enumerable:!0,get:function(){return s.isHexString}})}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/internal.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,r){(function(e){(function(){function t(e){if("string"!=typeof e)throw new Error("[isHexPrefixed] input must be type 'string', received type ".concat(typeof e));return"0"===e[0]&&"x"===e[1]}Object.defineProperty(r,"__esModule",{value:!0}),r.isHexString=r.getKeys=r.fromAscii=r.fromUtf8=r.toAscii=r.arrayContainsArray=r.getBinarySize=r.padToEven=r.stripHexPrefix=r.isHexPrefixed=void 0,r.isHexPrefixed=t;function n(e){var t=e;if("string"!=typeof t)throw new Error("[padToEven] value must be type 'string', received ".concat(typeof t));return t.length%2&&(t="0".concat(t)),t}r.stripHexPrefix=function(e){return"string"!=typeof e?e:t(e)?e.slice(2):e},r.padToEven=n,r.getBinarySize=function(t){if("string"!=typeof t)throw new Error("[getBinarySize] method requires input type 'string', recieved ".concat(typeof t));return e.byteLength(t,"utf8")},r.arrayContainsArray=function(e,t,r){if(!0!==Array.isArray(e))throw new Error("[arrayContainsArray] method requires input 'superset' to be an array, got type '".concat(typeof e,"'"));if(!0!==Array.isArray(t))throw new Error("[arrayContainsArray] method requires input 'subset' to be an array, got type '".concat(typeof t,"'"));return t[r?"some":"every"](function(t){return e.indexOf(t)>=0})},r.toAscii=function(e){var t="",r=0,n=e.length;for("0x"===e.substring(0,2)&&(r=2);r<n;r+=2){var o=parseInt(e.substr(r,2),16);t+=String.fromCharCode(o)}return t},r.fromUtf8=function(t){var r=e.from(t,"utf8");return"0x".concat(n(r.toString("hex")).replace(/^0+|0+$/g,""))},r.fromAscii=function(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r).toString(16);t+=n.length<2?"0".concat(n):n}return"0x".concat(t)},r.getKeys=function(e,t,r){if(!Array.isArray(e))throw new Error("[getKeys] method expects input 'params' to be an array, got ".concat(typeof e));if("string"!=typeof t)throw new Error("[getKeys] method expects input 'key' to be type 'string', got ".concat(typeof e));for(var n=[],o=0;o<e.length;o++){var s=e[o][t];if(r&&!s)s="";else if("string"!=typeof s)throw new Error("invalid abi - expected type 'string', received ".concat(typeof s));n.push(s)}return n},r.isHexString=function(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/internal.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/object.js",{"./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/bytes.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/externals.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/internal.js",assert:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/assert.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,r){(function(t){(function(){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.defineProperties=void 0;var o=n(e("assert")),s=e("./internal"),i=e("./externals"),a=e("./bytes");r.defineProperties=function(e,r,n){if(e.raw=[],e._fields=[],e.toJSON=function(t){if(void 0===t&&(t=!1),t){var r={};return e._fields.forEach(function(t){r[t]="0x".concat(e[t].toString("hex"))}),r}return(0,a.baToJSON)(e.raw)},e.serialize=function(){return i.rlp.encode(e.raw)},r.forEach(function(r,n){function s(){return e.raw[n]}function i(s){"00"!==(s=(0,a.toBuffer)(s)).toString("hex")||r.allowZero||(s=t.allocUnsafe(0)),r.allowLess&&r.length?(s=(0,a.unpadBuffer)(s),(0,o.default)(r.length>=s.length,"The field ".concat(r.name," must not have more ").concat(r.length," bytes"))):r.allowZero&&0===s.length||!r.length||(0,o.default)(r.length===s.length,"The field ".concat(r.name," must have byte length of ").concat(r.length)),e.raw[n]=s}e._fields.push(r.name),Object.defineProperty(e,r.name,{enumerable:!0,configurable:!0,get:s,set:i}),r.default&&(e[r.name]=r.default),r.alias&&Object.defineProperty(e,r.alias,{enumerable:!1,configurable:!0,set:i,get:s})}),n)if("string"==typeof n&&(n=t.from((0,s.stripHexPrefix)(n),"hex")),t.isBuffer(n)&&(n=i.rlp.decode(n)),Array.isArray(n)){if(n.length>e._fields.length)throw new Error("wrong number of fields in data");n.forEach(function(t,r){e[e._fields[r]]=(0,a.toBuffer)(t)})}else{if("object"!=typeof n)throw new Error("invalid data");var u=Object.keys(n);r.forEach(function(t){-1!==u.indexOf(t.name)&&(e[t.name]=n[t.name]),-1!==u.indexOf(t.alias)&&(e[t.alias]=n[t.alias])})}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/object.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/signature.js",{"./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/bytes.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/externals.js","./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/hash.js","./helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/helpers.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/types.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","ethereum-cryptography/secp256k1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/node_modules/ethereum-cryptography/secp256k1.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.hashPersonalMessage=r.isValidSignature=r.fromRpcSig=r.toCompactSig=r.toRpcSig=r.ecrecover=r.ecsign=void 0;var n=e("ethereum-cryptography/secp256k1"),o=e("./externals"),s=e("./bytes"),i=e("./hash"),a=e("./helpers"),u=e("./types");function c(e,t){var r=(0,u.toType)(e,u.TypeOutput.BN);if(r.eqn(0)||r.eqn(1))return(0,u.toType)(e,u.TypeOutput.BN);if(!t)return r.subn(27);var n=(0,u.toType)(t,u.TypeOutput.BN);return r.sub(n.muln(2).addn(35))}function d(e){var t=new o.BN(e);return t.eqn(0)||t.eqn(1)}r.ecsign=function(e,r,o){var s=(0,n.ecdsaSign)(e,r),i=s.signature,a=s.recid,c=t.from(i.slice(0,32)),d=t.from(i.slice(32,64));if(!o||"number"==typeof o){if(o&&!Number.isSafeInteger(o))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");return{r:c,s:d,v:o?a+(2*o+35):a+27}}return{r:c,s:d,v:(0,u.toType)(o,u.TypeOutput.BN).muln(2).addn(35).addn(a).toArrayLike(t)}};r.ecrecover=function(e,r,o,i,a){var u=t.concat([(0,s.setLengthLeft)(o,32),(0,s.setLengthLeft)(i,32)],64),f=c(r,a);if(!d(f))throw new Error("Invalid signature v value");var l=(0,n.ecdsaRecover)(u,f.toNumber(),e);return t.from((0,n.publicKeyConvert)(l,!1).slice(1))};r.toRpcSig=function(e,r,n,o){if(!d(c(e,o)))throw new Error("Invalid signature v value");return(0,s.bufferToHex)(t.concat([(0,s.setLengthLeft)(r,32),(0,s.setLengthLeft)(n,32),(0,s.toBuffer)(e)]))};r.toCompactSig=function(e,r,n,o){if(!d(c(e,o)))throw new Error("Invalid signature v value");var i=(0,u.toType)(e,u.TypeOutput.Number),a=n;return(i>28&&i%2==1||1===i||28===i)&&((a=t.from(n))[0]|=128),(0,s.bufferToHex)(t.concat([(0,s.setLengthLeft)(r,32),(0,s.setLengthLeft)(a,32)]))};r.fromRpcSig=function(e){var t,r,n,o=(0,s.toBuffer)(e);if(o.length>=65)t=o.slice(0,32),r=o.slice(32,64),n=(0,s.bufferToInt)(o.slice(64));else{if(64!==o.length)throw new Error("Invalid signature length");t=o.slice(0,32),r=o.slice(32,64),n=(0,s.bufferToInt)(o.slice(32,33))>>7,r[0]&=127}return n<27&&(n+=27),{v:n,r:t,s:r}};r.isValidSignature=function(e,t,r,n,s){void 0===n&&(n=!0);var i=new o.BN("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16),a=new o.BN("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",16);if(32!==t.length||32!==r.length)return!1;if(!d(c(e,s)))return!1;var u=new o.BN(t),f=new o.BN(r);return!(u.isZero()||u.gt(a)||f.isZero()||f.gt(a))&&(!n||1!==f.cmp(i))};r.hashPersonalMessage=function(e){(0,a.assertIsBuffer)(e);var r=t.from("Ethereum Signed Message:\n".concat(e.length),"utf-8");return(0,i.keccak)(t.concat([r,e]))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/signature.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/types.js",{"./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/bytes.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/externals.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/dist.browser/internal.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,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.toType=r.TypeOutput=r.bnToRlp=r.bnToUnpaddedBuffer=r.bnToHex=void 0;var n,o=e("./externals"),s=e("./internal"),i=e("./bytes");function a(e){return(0,i.unpadBuffer)(e.toArrayLike(t))}r.bnToHex=function(e){return"0x".concat(e.toString(16))},r.bnToUnpaddedBuffer=a,r.bnToRlp=function(e){return a(e)},function(e){e[e.Number=0]="Number",e[e.BN=1]="BN",e[e.Buffer=2]="Buffer",e[e.PrefixedHexString=3]="PrefixedHexString"}(n=r.TypeOutput||(r.TypeOutput={})),r.toType=function(e,t){if(null===e)return null;if(e===undefined)return undefined;if("string"==typeof e&&!(0,s.isHexString)(e))throw new Error("A string must be provided with a 0x-prefix, given: ".concat(e));if("number"==typeof e&&!Number.isSafeInteger(e))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");var r=(0,i.toBuffer)(e);if(t===n.Buffer)return r;if(t===n.BN)return new o.BN(r);if(t===n.Number){var a=new o.BN(r),u=new o.BN(Number.MAX_SAFE_INTEGER.toString());if(a.gt(u))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return a.toNumber()}return"0x".concat(r.toString("hex"))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/types.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/node_modules/ethereum-cryptography/hash-utils.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,r){(function(e){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.createHashFunction=function(t){return function(r){var n=t();return n.update(r),e.from(n.digest())}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util>ethereum-cryptography",file:"node_modules/ethereumjs-util/node_modules/ethereum-cryptography/hash-utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/node_modules/ethereum-cryptography/keccak.js",{"./hash-utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/node_modules/ethereum-cryptography/hash-utils.js",keccak:"/home/runner/work/metamask-extension/metamask-extension/node_modules/keccak/js.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./hash-utils"),o=e("keccak");r.keccak224=n.createHashFunction(function(){return o("keccak224")}),r.keccak256=n.createHashFunction(function(){return o("keccak256")}),r.keccak384=n.createHashFunction(function(){return o("keccak384")}),r.keccak512=n.createHashFunction(function(){return o("keccak512")})}}},{package:"ethereumjs-util>ethereum-cryptography",file:"node_modules/ethereumjs-util/node_modules/ethereum-cryptography/keccak.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/node_modules/ethereum-cryptography/random.js",{randombytes:"/home/runner/work/metamask-extension/metamask-extension/node_modules/randombytes/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("randombytes");r.getRandomBytes=function(e){return new Promise(function(t,r){n(e,function(e,n){e?r(e):t(n)})})},r.getRandomBytesSync=function(e){return n(e)}}}},{package:"ethereumjs-util>ethereum-cryptography",file:"node_modules/ethereumjs-util/node_modules/ethereum-cryptography/random.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/node_modules/ethereum-cryptography/secp256k1.js",{"./random":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/node_modules/ethereum-cryptography/random.js",secp256k1:"/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/elliptic.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,s){function i(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,a)}u((n=n.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var r,n,o,s,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}};Object.defineProperty(r,"__esModule",{value:!0});var s=e("secp256k1"),i=e("./random");r.createPrivateKey=function(){return n(this,void 0,void 0,function(){var e;return o(this,function(t){switch(t.label){case 0:return[4,i.getRandomBytes(32)];case 1:return e=t.sent(),s.privateKeyVerify(e)?[2,e]:[3,0];case 2:return[2]}})})},r.createPrivateKeySync=function(){for(;;){var e=i.getRandomBytesSync(32);if(s.privateKeyVerify(e))return e}},function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(e("secp256k1"))}}},{package:"ethereumjs-util>ethereum-cryptography",file:"node_modules/ethereumjs-util/node_modules/ethereum-cryptography/secp256k1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-util/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,r){(function(t){(function(){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.getLength=r.decode=r.encode=void 0;var o=n(e("bn.js"));function s(e,t){if("0"===e[0]&&"0"===e[1])throw new Error("invalid RLP: extra zeros");return parseInt(e,t)}function i(e,r){if(e<56)return t.from([e+r]);var n=c(e),o=c(r+55+n.length/2);return t.from(o+n,"hex")}function a(e){var r,n,o,i,u,c=[],d=e[0];if(d<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(d<=183){if(r=d-127,o=128===d?t.from([]):e.slice(1,r),2===r&&o[0]<128)throw new Error("invalid rlp encoding: byte must be less 0x80");return{data:o,remainder:e.slice(r)}}if(d<=191){if(n=d-182,e.length-1<n)throw new Error("invalid RLP: not enough bytes for string length");if((r=s(e.slice(1,n).toString("hex"),16))<=55)throw new Error("invalid RLP: expected string length to be greater than 55");if((o=e.slice(n,r+n)).length<r)throw new Error("invalid RLP: not enough bytes for string");return{data:o,remainder:e.slice(r+n)}}if(d<=247){for(r=d-191,i=e.slice(1,r);i.length;)u=a(i),c.push(u.data),i=u.remainder;return{data:c,remainder:e.slice(r)}}var f=(n=d-246)+(r=s(e.slice(1,n).toString("hex"),16));if(f>e.length)throw new Error("invalid rlp: total length is larger than the data");if(0===(i=e.slice(n,f)).length)throw new Error("invalid rlp, List has a invalid length");for(;i.length;)u=a(i),c.push(u.data),i=u.remainder;return{data:c,remainder:e.slice(f)}}function u(e){return"0x"===e.slice(0,2)}function c(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");var t=e.toString(16);return t.length%2?"0"+t:t}function d(e){if(!t.isBuffer(e)){if("string"==typeof e)return u(e)?t.from((n="string"!=typeof(s=e)?s:u(s)?s.slice(2):s).length%2?"0"+n:n,"hex"):t.from(e);if("number"==typeof e||"bigint"==typeof e)return e?(r=c(e),t.from(r,"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 r,n,s;return e}r.encode=function e(r){if(Array.isArray(r)){for(var n=[],o=0;o<r.length;o++)n.push(e(r[o]));var s=t.concat(n);return t.concat([i(s.length,192),s])}var a=d(r);return 1===a.length&&a[0]<128?a:t.concat([i(a.length,128),a])},r.decode=function(e,r){if(void 0===r&&(r=!1),!e||0===e.length)return t.from([]);var n=a(d(e));if(r)return n;if(0!==n.remainder.length)throw new Error("invalid remainder");return n.data},r.getLength=function(e){if(!e||0===e.length)return t.from([]);var r=d(e),n=r[0];if(n<=127)return r.length;if(n<=183)return n-127;if(n<=191)return n-182;if(n<=247)return n-191;var o=n-246;return o+s(r.slice(1,o).toString("hex"),16)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util>rlp",file:"node_modules/ethereumjs-util/node_modules/rlp/dist.browser/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/dist.browser/hdkey.js",{"./index":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/dist.browser/index.js","ethereum-cryptography/hdkey":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/hdkey.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var o=n(e("./index")),s=e("ethereum-cryptography/hdkey"),i=function(){function e(e){this._hdkey=e}return e.fromMasterSeed=function(t){return new e(s.HDKey.fromMasterSeed(t))},e.fromExtendedKey=function(t){return new e(s.HDKey.fromExtendedKey(t))},e.prototype.privateExtendedKey=function(){if(!this._hdkey.privateExtendedKey)throw new Error("This is a public key only wallet");return this._hdkey.privateExtendedKey},e.prototype.publicExtendedKey=function(){return this._hdkey.publicExtendedKey},e.prototype.derivePath=function(t){return new e(this._hdkey.derive(t))},e.prototype.deriveChild=function(t){return new e(this._hdkey.deriveChild(t))},e.prototype.getWallet=function(){return this._hdkey._privateKey?o.default.fromPrivateKey(this._hdkey._privateKey):o.default.fromPublicKey(this._hdkey._publicKey,!0)},e}();r.default=i}}},{package:"@metamask/keyring-controller>ethereumjs-wallet",file:"node_modules/ethereumjs-wallet/dist.browser/hdkey.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/dist.browser/index.js",{"./hdkey":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/dist.browser/hdkey.js","./thirdparty":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/dist.browser/thirdparty.js",bs58check:"/home/runner/work/metamask-extension/metamask-extension/node_modules/bs58check/index.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",crypto:"/home/runner/work/metamask-extension/metamask-extension/node_modules/crypto-browserify/index.js","ethereumjs-util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/index.js",randombytes:"/home/runner/work/metamask-extension/metamask-extension/node_modules/randombytes/browser.js","scrypt-js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/scrypt-js/scrypt.js",uuid:"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return s(t,e),t},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,s){function i(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,a)}u((n=n.apply(e,t||[])).next())})},u=this&&this.__generator||function(e,t){var r,n,o,s,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.thirdparty=r.hdkey=void 0;var d=i(e("crypto")),f=e("ethereumjs-util"),l=e("scrypt-js"),h=e("./hdkey");Object.defineProperty(r,"hdkey",{enumerable:!0,get:function(){return c(h).default}});var m=e("./thirdparty");Object.defineProperty(r,"thirdparty",{enumerable:!0,get:function(){return c(m).default}});var p=e("bs58check"),b=e("randombytes"),y=e("uuid").v4;function g(e,t,r){if(t.toLowerCase().startsWith("0x")&&(t=t.slice(2)),!t&&!r)return t;if(r%2)throw new Error("Invalid length argument, must be an even number");if("number"==typeof r&&t.length!==r)throw new Error("Invalid "+e+", string must be "+r+" hex characters");if(!/^([0-9a-f]{2})+$/i.test(t))throw new Error("Invalid "+e+", string must be "+("number"==typeof r?r:"empty or a non-zero even number of")+" hex characters");return t}function w(e,r,n){if(!t.isBuffer(r))throw new Error("Invalid "+e+", must be a string ("+("number"==typeof n?""+2*n:"empty or a non-zero even number of")+" hex characters) or buffer"+("number"==typeof n?" ("+n+" bytes)":""));if("number"==typeof n&&r.length!==n)throw new Error("Invalid "+e+", buffer must be "+n+" bytes");return r}var k=function(){function e(e,t){if(void 0===t&&(t=undefined),this.privateKey=e,this.publicKey=t,e&&t)throw new Error("Cannot supply both a private and a public key to the constructor");if(e&&!(0,f.isValidPrivate)(e))throw new Error("Private key does not satisfy the curve requirements (ie. it is invalid)");if(t&&!(0,f.isValidPublic)(t))throw new Error("Invalid public key")}return e.generate=function(t){if(void 0===t&&(t=!1),!t)return new e(b(32));for(var r=new f.BN("088f924eeceeda7fe92e1f5b0fffffffffffffff",16);;){var n=b(32);if(new f.BN((0,f.privateToAddress)(n)).lte(r))return new e(n)}},e.generateVanityAddress=function(t){for(t instanceof RegExp||(t=new RegExp(t));;){var r=b(32),n=(0,f.privateToAddress)(r);if(t.test(n.toString("hex")))return new e(r)}},e.fromPublicKey=function(t,r){return void 0===r&&(r=!1),r&&(t=(0,f.importPublic)(t)),new e(undefined,t)},e.fromExtendedPublicKey=function(t){if("xpub"!==t.slice(0,4))throw new Error("Not an extended public key");var r=p.decode(t).slice(45);return e.fromPublicKey(r,!0)},e.fromPrivateKey=function(t){return new e(t)},e.fromExtendedPrivateKey=function(t){if("xprv"!==t.slice(0,4))throw new Error("Not an extended private key");var r=p.decode(t);if(0!==r[45])throw new Error("Invalid extended private key");return e.fromPrivateKey(r.slice(46))},e.fromV1=function(r,n){return a(this,void 0,void 0,function(){var o,s,i,a,c;return u(this,function(u){switch(u.label){case 0:if("1"!==(o="object"==typeof r?r:JSON.parse(r)).Version)throw new Error("Not a V1 Wallet");if("scrypt"!==o.Crypto.KeyHeader.Kdf)throw new Error("Unsupported key derivation scheme");return s=o.Crypto.KeyHeader.KdfParams,[4,(0,l.scrypt)(t.from(n),t.from(o.Crypto.Salt,"hex"),s.N,s.R,s.P,s.DkLen)];case 1:if(i=u.sent(),a=t.from(o.Crypto.CipherText,"hex"),(0,f.keccak256)(t.concat([i.slice(16,32),a])).toString("hex")!==o.Crypto.MAC)throw new Error("Key derivation failed - possibly wrong passphrase");return c=d.createDecipheriv("aes-128-cbc",(0,f.keccak256)(i.slice(0,16)).slice(0,16),t.from(o.Crypto.IV,"hex")),[2,new e(_(c,a))]}})})},e.fromV3=function(r,n,o){return void 0===o&&(o=!1),a(this,void 0,void 0,function(){var s,i,a,c,h;return u(this,function(u){switch(u.label){case 0:if(3!==(s="object"==typeof r?r:JSON.parse(o?r.toLowerCase():r)).version)throw new Error("Not a V3 wallet");return"scrypt"!==s.crypto.kdf?[3,2]:(a=s.crypto.kdfparams,[4,(0,l.scrypt)(t.from(n),t.from(a.salt,"hex"),a.n,a.r,a.p,a.dklen)]);case 1:return i=u.sent(),[3,3];case 2:if("pbkdf2"!==s.crypto.kdf)throw new Error("Unsupported key derivation scheme");if("hmac-sha256"!==(a=s.crypto.kdfparams).prf)throw new Error("Unsupported parameters to PBKDF2");i=d.pbkdf2Sync(t.from(n),t.from(a.salt,"hex"),a.c,a.dklen,"sha256"),u.label=3;case 3:if(c=t.from(s.crypto.ciphertext,"hex"),(0,f.keccak256)(t.concat([t.from(i.slice(16,32)),c])).toString("hex")!==s.crypto.mac)throw new Error("Key derivation failed - possibly wrong passphrase");return h=d.createDecipheriv(s.crypto.cipher,i.slice(0,16),t.from(s.crypto.cipherparams.iv,"hex")),[2,new e(_(h,c))]}})})},e.fromEthSale=function(r,n){var o="object"==typeof r?r:JSON.parse(r),s=t.from(o.encseed,"hex"),i=d.pbkdf2Sync(n,n,2e3,32,"sha256").slice(0,16),a=_(d.createDecipheriv("aes-128-cbc",i,s.slice(0,16)),s.slice(16)),u=new e((0,f.keccak256)(a));if(u.getAddress().toString("hex")!==o.ethaddr)throw new Error("Decoded key mismatch - possibly wrong passphrase");return u},Object.defineProperty(e.prototype,"pubKey",{get:function(){return v(this.publicKey)||(this.publicKey=(0,f.privateToPublic)(this.privateKey)),this.publicKey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"privKey",{get:function(){if(!v(this.privateKey))throw new Error("This is a public key only wallet");return this.privateKey},enumerable:!1,configurable:!0}),e.prototype.getPrivateKey=function(){return this.privKey},e.prototype.getPrivateKeyString=function(){return(0,f.bufferToHex)(this.privKey)},e.prototype.getPublicKey=function(){return this.pubKey},e.prototype.getPublicKeyString=function(){return(0,f.bufferToHex)(this.getPublicKey())},e.prototype.getAddress=function(){return(0,f.publicToAddress)(this.pubKey)},e.prototype.getAddressString=function(){return(0,f.bufferToHex)(this.getAddress())},e.prototype.getChecksumAddressString=function(){return(0,f.toChecksumAddress)(this.getAddressString())},e.prototype.toV3=function(e,r){return a(this,void 0,void 0,function(){var o,s,i,a,c,h;return u(this,function(u){switch(u.label){case 0:if(!v(this.privateKey))throw new Error("This is a public key only wallet");switch(m=r,p={cipher:"aes-128-ctr",kdf:"scrypt",salt:b(32),iv:b(16),uuid:b(16),dklen:32,c:262144,n:262144,r:8,p:1},o=m?("string"==typeof m.salt&&(m.salt=t.from(g("salt",m.salt),"hex")),"string"==typeof m.iv&&(m.iv=t.from(g("iv",m.iv,32),"hex")),"string"==typeof m.uuid&&(m.uuid=t.from(g("uuid",m.uuid,32),"hex")),m.salt&&w("salt",m.salt),m.iv&&w("iv",m.iv,16),m.uuid&&w("uuid",m.uuid,16),n(n({},p),m)):p,o.kdf){case"pbkdf2":return[3,1];case"scrypt":return[3,2]}return[3,4];case 1:return s=function(e){return{dklen:e.dklen,salt:e.salt,c:e.c,prf:"hmac-sha256"}}(o),i=d.pbkdf2Sync(t.from(e),s.salt,s.c,s.dklen,"sha256"),[3,5];case 2:return s=function(e){return{dklen:e.dklen,salt:e.salt,n:e.n,r:e.r,p:e.p}}(o),[4,(0,l.scrypt)(t.from(e),s.salt,s.n,s.r,s.p,s.dklen)];case 3:return i=u.sent(),[3,5];case 4:throw new Error("Unsupported kdf");case 5:if(!(a=d.createCipheriv(o.cipher,i.slice(0,16),o.iv)))throw new Error("Unsupported cipher");return c=_(a,this.privKey),h=(0,f.keccak256)(t.concat([t.from(i.slice(16,32)),t.from(c)])),[2,{version:3,id:y({random:o.uuid}),address:this.getAddress().toString("hex"),crypto:{ciphertext:c.toString("hex"),cipherparams:{iv:o.iv.toString("hex")},cipher:o.cipher,kdf:o.kdf,kdfparams:n(n({},s),{salt:s.salt.toString("hex")}),mac:h.toString("hex")}}]}var m,p})})},e.prototype.getV3Filename=function(e){return["UTC--",(e?new Date(e):new Date).toJSON().replace(/:/g,"-"),"--",this.getAddress().toString("hex")].join("")},e.prototype.toV3String=function(e,t){return a(this,void 0,void 0,function(){var r,n;return u(this,function(o){switch(o.label){case 0:return n=(r=JSON).stringify,[4,this.toV3(e,t)];case 1:return[2,n.apply(r,[o.sent()])]}})})},e}();function _(e,r){return t.concat([e.update(r),e.final()])}function v(e){return e!==undefined&&null!==e}r.default=k}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet",file:"node_modules/ethereumjs-wallet/dist.browser/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/dist.browser/thirdparty.js",{"./index":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/dist.browser/index.js","aes-js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/aes-js/index.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",crypto:"/home/runner/work/metamask-extension/metamask-extension/node_modules/crypto-browserify/index.js","ethereumjs-util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/index.js","scrypt-js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/scrypt-js/scrypt.js",utf8:"/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,r){(function(t){(function(){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,s){function i(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,a)}u((n=n.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var r,n,o,s,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.fromQuorumWallet=r.fromKryptoKit=r.fromEtherCamp=r.fromEtherWallet=void 0;var c=s(e("crypto")),d=e("ethereumjs-util"),f=e("scrypt-js"),l=u(e("./index")),h=e("utf8"),m=e("aes-js");var p={count:1,keysize:16,ivsize:16,digest:"md5"};function b(e,r,n){var o=function(e){return e?{count:e.count||p.count,keysize:e.keysize||p.keysize,ivsize:e.ivsize||p.ivsize,digest:e.digest||p.digest}:p}(n);function s(t){var n=c.createHash(o.digest);n.update(t),n.update(e),n.update(r),t=n.digest();for(var s=1,i=o.count;s<i;s++)(n=c.createHash(o.digest)).update(t),t=n.digest();return t}for(var i=[],a=0;t.concat(i).length<o.keysize+o.ivsize;)i[a]=s(0===a?t.alloc(0):i[a-1]),a++;var u=t.concat(i);return{key:u.slice(0,o.keysize),iv:u.slice(o.keysize,o.keysize+o.ivsize)}}function y(e,r){var n,o="object"==typeof e?e:JSON.parse(e);if(o.locked){if("string"!=typeof r)throw new Error("Password required");if(r.length<7)throw new Error("Password must be at least 7 characters");var s=function(e){var r=t.from(e,"base64");return"Salted__"===r.slice(0,8).toString()?{salt:r.slice(8,16),ciphertext:r.slice(16)}:{ciphertext:r}}(o.encrypted?o.private.slice(0,128):o.private);if(!s.salt)throw new Error("Unsupported EtherWallet key format");var i=b(t.from(r),s.salt,{keysize:32,ivsize:16});n=function(e,r){return t.concat([e.update(r),e.final()])}(c.createDecipheriv("aes-256-cbc",i.key,i.iv),t.from(s.ciphertext)),n=t.from(h.decode(n.toString()),"hex")}else{if(64!==o.private.length)throw new Error("Invalid private key length");n=t.from(o.private,"hex")}var a=new l.default(n);if(a.getAddressString()!==o.address)throw new Error("Invalid private key or address");return a}function g(e){return new l.default((0,d.keccak256)(t.from(e)))}function w(e,r){return i(this,void 0,void 0,function(){var n,o,s,i,u,c,h;return a(this,function(a){switch(a.label){case 0:return"#"===e[0]&&(e=e.slice(1)),n=e[0],e=e.slice(1),"d"!==n?[3,1]:(o=(0,d.sha256)((0,d.toBuffer)(e)),[3,4]);case 1:if("q"!==n)return[3,3];if("string"!=typeof r)throw new Error("Password required");return s=(0,d.sha256)(t.from(e.slice(0,30))),i=e.slice(30,46),u=function(e){function r(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}for(var n="",o="",s=0;s<e.length;s++)e[s]<=127?(n+=r(o)+String.fromCharCode(e[s]),o=""):o+="%"+e[s].toString(16);return t.from(n+r(o))}(s),[4,(0,f.scrypt)(t.from(r,"utf8"),u,16384,8,1,32)];case 2:if(c=a.sent(),h=new m.ModeOfOperation.ecb(c),o=t.concat([t.from(h.decrypt(s.slice(0,16))),t.from(h.decrypt(s.slice(16,32)))]),i.length>0&&i!==(0,d.sha256)((0,d.sha256)(o)).slice(0,8).toString("hex"))throw new Error("Failed to decrypt input - possibly invalid passphrase");return[3,4];case 3:throw new Error("Unsupported or invalid entropy type");case 4:return[2,new l.default(o)]}})})}function k(e,t){if(e.length<10)throw new Error("Passphrase must be at least 10 characters");if(t.length<10)throw new Error("User id must be at least 10 characters");var r=e+t,n=c.pbkdf2Sync(r,r,2e3,32,"sha256");return new l.default(n)}r.fromEtherWallet=y,r.fromEtherCamp=g,r.fromKryptoKit=w,r.fromQuorumWallet=k;var _={fromEtherWallet:y,fromEtherCamp:g,fromKryptoKit:w,fromQuorumWallet:k};r.default=_}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet",file:"node_modules/ethereumjs-wallet/dist.browser/thirdparty.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/hash-utils.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,r){(function(e){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.createHashFunction=function(t){return function(r){var n=t();return n.update(r),e.from(n.digest())}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",file:"node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/hash-utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/keccak.js",{"./hash-utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/hash-utils.js",keccak:"/home/runner/work/metamask-extension/metamask-extension/node_modules/keccak/js.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./hash-utils"),o=e("keccak");r.keccak224=n.createHashFunction(function(){return o("keccak224")}),r.keccak256=n.createHashFunction(function(){return o("keccak256")}),r.keccak384=n.createHashFunction(function(){return o("keccak384")}),r.keccak512=n.createHashFunction(function(){return o("keccak512")})}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",file:"node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/keccak.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/hdkey.js",{"./vendor/hdkey-without-crypto":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/vendor/hdkey-without-crypto.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./vendor/hdkey-without-crypto");r.HDKey=n}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",file:"node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/hdkey.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/ripemd160.js",{"../hash-utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/hash-utils.js","hash.js/lib/hash/ripemd":"/home/runner/work/metamask-extension/metamask-extension/node_modules/hash.js/lib/hash/ripemd.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("hash.js/lib/hash/ripemd").ripemd160,o=e("../hash-utils");r.ripemd160=o.createHashFunction(function(){return new n})}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",file:"node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/ripemd160.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/sha256.js",{"../hash-utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/hash-utils.js","hash.js/lib/hash/sha/256":"/home/runner/work/metamask-extension/metamask-extension/node_modules/hash.js/lib/hash/sha/256.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("hash.js/lib/hash/sha/256"),o=e("../hash-utils");r.sha256=o.createHashFunction(function(){return new n})}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",file:"node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/sha256.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/shims/hdkey-crypto.js",{"../ripemd160":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/ripemd160.js","../sha256":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/sha256.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","create-hmac":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hmac/browser.js",randombytes:"/home/runner/work/metamask-extension/metamask-extension/node_modules/randombytes/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0});var n=e("../ripemd160"),o=e("../sha256");r.createHmac=e("create-hmac"),r.randomBytes=e("randombytes");var s=function(){function e(e){this.hashFunction=e,this.buffers=[]}return e.prototype.update=function(e){if(!t.isBuffer(e))throw new Error("hdkey-crypto shim is outdated");return this.buffers.push(e),this},e.prototype.digest=function(e){if(e)throw new Error("hdkey-crypto shim is outdated");return this.hashFunction(t.concat(this.buffers))},e}();r.createHash=function(e){if("ripemd160"===e)return new s(n.ripemd160);if("sha256"===e)return new s(o.sha256);throw new Error("hdkey-crypto shim is outdated")}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",file:"node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/shims/hdkey-crypto.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/shims/hdkey-secp256k1v3.js",{"../../shims/hdkey-secp256k1v3":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/shims/hdkey-secp256k1v3.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(e("../../shims/hdkey-secp256k1v3"))}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",file:"node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/shims/hdkey-secp256k1v3.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/vendor/hdkey-without-crypto.js",{"../shims/hdkey-crypto":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/shims/hdkey-crypto.js","../shims/hdkey-secp256k1v3":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/shims/hdkey-secp256k1v3.js",assert:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/assert.js",bs58check:"/home/runner/work/metamask-extension/metamask-extension/node_modules/bs58check/index.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,r){function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=n(e("assert")),s=n(e("safe-buffer")),i=n(e("bs58check")),a=e("../shims/hdkey-crypto"),u=e("../shims/hdkey-secp256k1v3"),c=s.Buffer,d=c.from("Bitcoin seed","utf8"),f=2147483648,l={private:76066276,public:76067358};function h(e){this.versions=e||l,this.depth=0,this.index=0,this._privateKey=null,this._publicKey=null,this.chainCode=null,this._fingerprint=0,this.parentFingerprint=0}function m(e,t,r){var n=c.allocUnsafe(78);n.writeUInt32BE(t,0),n.writeUInt8(e.depth,4);var o=e.depth?e.parentFingerprint:0;return n.writeUInt32BE(o,5),n.writeUInt32BE(e.index,9),e.chainCode.copy(n,13),r.copy(n,45),n}function p(e){var t=a.createHash("sha256").update(e).digest();return a.createHash("ripemd160").update(t).digest()}Object.defineProperty(h.prototype,"fingerprint",{get:function(){return this._fingerprint}}),Object.defineProperty(h.prototype,"identifier",{get:function(){return this._identifier}}),Object.defineProperty(h.prototype,"pubKeyHash",{get:function(){return this.identifier}}),Object.defineProperty(h.prototype,"privateKey",{get:function(){return this._privateKey},set:function(e){o.equal(e.length,32,"Private key must be 32 bytes."),o(!0===u.privateKeyVerify(e),"Invalid private key"),this._privateKey=e,this._publicKey=u.publicKeyCreate(e,!0),this._identifier=p(this.publicKey),this._fingerprint=this._identifier.slice(0,4).readUInt32BE(0)}}),Object.defineProperty(h.prototype,"publicKey",{get:function(){return this._publicKey},set:function(e){o(33===e.length||65===e.length,"Public key must be 33 or 65 bytes."),o(!0===u.publicKeyVerify(e),"Invalid public key"),this._publicKey=u.publicKeyConvert(e,!0),this._identifier=p(this.publicKey),this._fingerprint=this._identifier.slice(0,4).readUInt32BE(0),this._privateKey=null}}),Object.defineProperty(h.prototype,"privateExtendedKey",{get:function(){return this._privateKey?i.encode(m(this,this.versions.private,c.concat([c.alloc(1,0),this.privateKey]))):null}}),Object.defineProperty(h.prototype,"publicExtendedKey",{get:function(){return i.encode(m(this,this.versions.public,this.publicKey))}}),h.prototype.derive=function(e){if("m"===e||"M"===e||"m'"===e||"M'"===e)return this;var t=e.split("/"),r=this;return t.forEach(function(e,t){if(0!==t){var n=e.length>1&&"'"===e[e.length-1],s=parseInt(e,10);o(s<f,"Invalid index"),n&&(s+=f),r=r.deriveChild(s)}else o(/^[mM]{1}/.test(e),'Path must start with "m" or "M"')}),r},h.prototype.deriveChild=function(e){var t,r=e>=f,n=c.allocUnsafe(4);if(n.writeUInt32BE(e,0),r){o(this.privateKey,"Could not derive hardened child key");var s=this.privateKey,i=c.alloc(1,0);s=c.concat([i,s]),t=c.concat([s,n])}else t=c.concat([this.publicKey,n]);var d=a.createHmac("sha512",this.chainCode).update(t).digest(),l=d.slice(0,32),m=d.slice(32),p=new h(this.versions);if(this.privateKey)try{p.privateKey=u.privateKeyTweakAdd(this.privateKey,l)}catch(t){return this.deriveChild(e+1)}else try{p.publicKey=u.publicKeyTweakAdd(this.publicKey,l,!0)}catch(t){return this.deriveChild(e+1)}return p.chainCode=m,p.depth=this.depth+1,p.parentFingerprint=this.fingerprint,p.index=e,p},h.prototype.sign=function(e){return u.sign(e,this.privateKey).signature},h.prototype.verify=function(e,t){return u.verify(e,t,this.publicKey)},h.prototype.wipePrivateData=function(){return this._privateKey&&a.randomBytes(this._privateKey.length).copy(this._privateKey),this._privateKey=null,this},h.prototype.toJSON=function(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}},h.fromMasterSeed=function(e,t){var r=a.createHmac("sha512",d).update(e).digest(),n=r.slice(0,32),o=r.slice(32),s=new h(t);return s.chainCode=o,s.privateKey=n,s},h.fromExtendedKey=function(e,t){var r=new h(t=t||l),n=i.decode(e),s=n.readUInt32BE(0);o(s===t.private||s===t.public,"Version mismatch: does not match private or public"),r.depth=n.readUInt8(4),r.parentFingerprint=n.readUInt32BE(5),r.index=n.readUInt32BE(9),r.chainCode=n.slice(13,45);var a=n.slice(45);return 0===a.readUInt8(0)?(o(s===t.private,"Version mismatch: version does not match private"),r.privateKey=a.slice(1)):(o(s===t.public,"Version mismatch: version does not match public"),r.publicKey=a),r},h.fromJSON=function(e){return h.fromExtendedKey(e.xpriv)},h.HARDENED_OFFSET=f;var b=h;t.exports=b}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",file:"node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/pure/vendor/hdkey-without-crypto.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/random.js",{randombytes:"/home/runner/work/metamask-extension/metamask-extension/node_modules/randombytes/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("randombytes");r.getRandomBytes=function(e){return new Promise(function(t,r){n(e,function(e,n){e?r(e):t(n)})})},r.getRandomBytesSync=function(e){return n(e)}}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",file:"node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/random.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/secp256k1.js",{"./random":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/random.js",secp256k1:"/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/elliptic.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,s){function i(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,a)}u((n=n.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var r,n,o,s,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}};Object.defineProperty(r,"__esModule",{value:!0});var s=e("secp256k1"),i=e("./random");r.createPrivateKey=function(){return n(this,void 0,void 0,function(){var e;return o(this,function(t){switch(t.label){case 0:return[4,i.getRandomBytes(32)];case 1:return e=t.sent(),s.privateKeyVerify(e)?[2,e]:[3,0];case 2:return[2]}})})},r.createPrivateKeySync=function(){for(;;){var e=i.getRandomBytesSync(32);if(s.privateKeyVerify(e))return e}},function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(e("secp256k1"))}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",file:"node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/secp256k1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/shims/hdkey-secp256k1v3.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",secp256k1:"/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/elliptic.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var o=n(e("secp256k1"));r.privateKeyVerify=function(e){return o.privateKeyVerify(e)},r.publicKeyCreate=function(e,r){return void 0===r&&(r=!0),t.from(o.publicKeyCreate(e,r))},r.publicKeyVerify=function(e){return o.publicKeyVerify(e)},r.publicKeyConvert=function(e,r){return void 0===r&&(r=!0),t.from(o.publicKeyConvert(e,r))},r.privateKeyTweakAdd=function(e,r){return t.from(o.privateKeyTweakAdd(t.from(e),r))},r.publicKeyTweakAdd=function(e,r,n){return void 0===n&&(n=!0),t.from(o.publicKeyTweakAdd(t.from(e),r,n))},r.sign=function(e,r){var n=o.ecdsaSign(e,r);return{signature:t.from(n.signature),recovery:n.recid}},r.verify=function(e,t,r){return o.ecdsaVerify(t,e,r)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",file:"node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/shims/hdkey-secp256k1v3.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/account.js",{"./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/bytes.js","./constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/constants.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/externals.js","./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/hash.js","./helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/helpers.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/internal.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/types.js",assert:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/assert.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","ethereum-cryptography/secp256k1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/secp256k1.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,s=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return i},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.isZeroAddress=r.zeroAddress=r.importPublic=r.privateToAddress=r.privateToPublic=r.publicToAddress=r.pubToAddress=r.isValidPublic=r.isValidPrivate=r.generateAddress2=r.generateAddress=r.isValidChecksumAddress=r.toChecksumAddress=r.isValidAddress=r.Account=void 0;var s=o(e("assert")),i=e("./externals"),a=e("ethereum-cryptography/secp256k1"),u=e("./internal"),c=e("./constants"),d=e("./bytes"),f=e("./hash"),l=e("./helpers"),h=e("./types"),m=function(){function e(e,t,r,n){void 0===e&&(e=new i.BN(0)),void 0===t&&(t=new i.BN(0)),void 0===r&&(r=c.KECCAK256_RLP),void 0===n&&(n=c.KECCAK256_NULL),this.nonce=e,this.balance=t,this.stateRoot=r,this.codeHash=n,this._validate()}return e.fromAccountData=function(t){var r=t.nonce,n=t.balance,o=t.stateRoot,s=t.codeHash;return new e(r?new i.BN((0,d.toBuffer)(r)):undefined,n?new i.BN((0,d.toBuffer)(n)):undefined,o?(0,d.toBuffer)(o):undefined,s?(0,d.toBuffer)(s):undefined)},e.fromRlpSerializedAccount=function(e){var t=i.rlp.decode(e);if(!Array.isArray(t))throw new Error("Invalid serialized account input. Must be array");return this.fromValuesArray(t)},e.fromValuesArray=function(t){var r=n(t,4),o=r[0],s=r[1],a=r[2],u=r[3];return new e(new i.BN(o),new i.BN(s),a,u)},e.prototype._validate=function(){if(this.nonce.lt(new i.BN(0)))throw new Error("nonce must be greater than zero");if(this.balance.lt(new i.BN(0)))throw new Error("balance must be greater than zero");if(32!==this.stateRoot.length)throw new Error("stateRoot must have a length of 32");if(32!==this.codeHash.length)throw new Error("codeHash must have a length of 32")},e.prototype.raw=function(){return[(0,h.bnToUnpaddedBuffer)(this.nonce),(0,h.bnToUnpaddedBuffer)(this.balance),this.stateRoot,this.codeHash]},e.prototype.serialize=function(){return i.rlp.encode(this.raw())},e.prototype.isContract=function(){return!this.codeHash.equals(c.KECCAK256_NULL)},e.prototype.isEmpty=function(){return this.balance.isZero()&&this.nonce.isZero()&&this.codeHash.equals(c.KECCAK256_NULL)},e}();r.Account=m;r.isValidAddress=function(e){try{(0,l.assertIsString)(e)}catch(e){return!1}return/^0x[0-9a-fA-F]{40}$/.test(e)};r.toChecksumAddress=function(e,t){(0,l.assertIsHexString)(e);var r=(0,u.stripHexPrefix)(e).toLowerCase(),n="";t&&(n=(0,h.toType)(t,h.TypeOutput.BN).toString()+"0x");for(var o=(0,f.keccakFromString)(n+r).toString("hex"),s="0x",i=0;i<r.length;i++)parseInt(o[i],16)>=8?s+=r[i].toUpperCase():s+=r[i];return s};r.isValidChecksumAddress=function(e,t){return(0,r.isValidAddress)(e)&&(0,r.toChecksumAddress)(e,t)===e};r.generateAddress=function(e,r){(0,l.assertIsBuffer)(e),(0,l.assertIsBuffer)(r);var n=new i.BN(r);return n.isZero()?(0,f.rlphash)([e,null]).slice(-20):(0,f.rlphash)([e,t.from(n.toArray())]).slice(-20)};r.generateAddress2=function(e,r,n){return(0,l.assertIsBuffer)(e),(0,l.assertIsBuffer)(r),(0,l.assertIsBuffer)(n),(0,s.default)(20===e.length),(0,s.default)(32===r.length),(0,f.keccak256)(t.concat([t.from("ff","hex"),e,r,(0,f.keccak256)(n)])).slice(-20)};r.isValidPrivate=function(e){return(0,a.privateKeyVerify)(e)};r.isValidPublic=function(e,r){return void 0===r&&(r=!1),(0,l.assertIsBuffer)(e),64===e.length?(0,a.publicKeyVerify)(t.concat([t.from([4]),e])):!!r&&(0,a.publicKeyVerify)(e)};r.pubToAddress=function(e,r){return void 0===r&&(r=!1),(0,l.assertIsBuffer)(e),r&&64!==e.length&&(e=t.from((0,a.publicKeyConvert)(e,!1).slice(1))),(0,s.default)(64===e.length),(0,f.keccak)(e).slice(-20)},r.publicToAddress=r.pubToAddress;r.privateToPublic=function(e){return(0,l.assertIsBuffer)(e),t.from((0,a.publicKeyCreate)(e,!1)).slice(1)};r.privateToAddress=function(e){return(0,r.publicToAddress)((0,r.privateToPublic)(e))};r.importPublic=function(e){return(0,l.assertIsBuffer)(e),64!==e.length&&(e=t.from((0,a.publicKeyConvert)(e,!1).slice(1))),e};r.zeroAddress=function(){var e=(0,d.zeros)(20);return(0,d.bufferToHex)(e)};r.isZeroAddress=function(e){try{(0,l.assertIsString)(e)}catch(e){return!1}return(0,r.zeroAddress)()===e}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/account.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/address.js",{"./account":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/account.js","./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/bytes.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/externals.js",assert:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/assert.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,r){(function(t){(function(){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.Address=void 0;var o=n(e("assert")),s=e("./externals"),i=e("./bytes"),a=e("./account"),u=function(){function e(e){(0,o.default)(20===e.length,"Invalid address length"),this.buf=e}return e.zero=function(){return new e((0,i.zeros)(20))},e.fromString=function(t){return(0,o.default)((0,a.isValidAddress)(t),"Invalid address"),new e((0,i.toBuffer)(t))},e.fromPublicKey=function(r){return(0,o.default)(t.isBuffer(r),"Public key should be Buffer"),new e((0,a.pubToAddress)(r))},e.fromPrivateKey=function(r){return(0,o.default)(t.isBuffer(r),"Private key should be Buffer"),new e((0,a.privateToAddress)(r))},e.generate=function(r,n){return(0,o.default)(s.BN.isBN(n)),new e((0,a.generateAddress)(r.buf,n.toArrayLike(t)))},e.generate2=function(r,n,s){return(0,o.default)(t.isBuffer(n)),(0,o.default)(t.isBuffer(s)),new e((0,a.generateAddress2)(r.buf,n,s))},e.prototype.equals=function(e){return this.buf.equals(e.buf)},e.prototype.isZero=function(){return this.equals(e.zero())},e.prototype.isPrecompileOrSystemAddress=function(){var e=new s.BN(this.buf),t=new s.BN(0),r=new s.BN("ffff","hex");return e.gte(t)&&e.lte(r)},e.prototype.toString=function(){return"0x"+this.buf.toString("hex")},e.prototype.toBuffer=function(){return t.from(this.buf)},e}();r.Address=u}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/address.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/bytes.js",{"./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/externals.js","./helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/helpers.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/internal.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,r){(function(t){(function(){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,s=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return i};Object.defineProperty(r,"__esModule",{value:!0}),r.bufArrToArr=r.arrToBufArr=r.validateNoLeadingZeroes=r.baToJSON=r.toUtf8=r.addHexPrefix=r.toUnsigned=r.fromSigned=r.bufferToHex=r.bufferToInt=r.toBuffer=r.unpadHexString=r.unpadArray=r.unpadBuffer=r.setLengthRight=r.setLengthLeft=r.zeros=r.intToBuffer=r.intToHex=void 0;var s=e("./externals"),i=e("./internal"),a=e("./helpers");r.intToHex=function(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("Received an invalid integer type: ".concat(e));return"0x".concat(e.toString(16))};r.intToBuffer=function(e){var n=(0,r.intToHex)(e);return t.from((0,i.padToEven)(n.slice(2)),"hex")};r.zeros=function(e){return t.allocUnsafe(e).fill(0)};var u=function(e,t,n){var o=(0,r.zeros)(t);return n?e.length<t?(e.copy(o),o):e.slice(0,t):e.length<t?(e.copy(o,t-e.length),o):e.slice(-t)};r.setLengthLeft=function(e,t){return(0,a.assertIsBuffer)(e),u(e,t,!1)};r.setLengthRight=function(e,t){return(0,a.assertIsBuffer)(e),u(e,t,!0)};var c=function(e){for(var t=e[0];e.length>0&&"0"===t.toString();)t=(e=e.slice(1))[0];return e};r.unpadBuffer=function(e){return(0,a.assertIsBuffer)(e),c(e)};r.unpadArray=function(e){return(0,a.assertIsArray)(e),c(e)};r.unpadHexString=function(e){return(0,a.assertIsHexString)(e),e=(0,i.stripHexPrefix)(e),c(e)};r.toBuffer=function(e){if(null===e||e===undefined)return t.allocUnsafe(0);if(t.isBuffer(e))return t.from(e);if(Array.isArray(e)||e instanceof Uint8Array)return t.from(e);if("string"==typeof e){if(!(0,i.isHexString)(e))throw new Error("Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: ".concat(e));return t.from((0,i.padToEven)((0,i.stripHexPrefix)(e)),"hex")}if("number"==typeof e)return(0,r.intToBuffer)(e);if(s.BN.isBN(e)){if(e.isNeg())throw new Error("Cannot convert negative BN to buffer. Given: ".concat(e));return e.toArrayLike(t)}if(e.toArray)return t.from(e.toArray());if(e.toBuffer)return t.from(e.toBuffer());throw new Error("invalid type")};r.bufferToInt=function(e){return new s.BN((0,r.toBuffer)(e)).toNumber()};r.bufferToHex=function(e){return"0x"+(e=(0,r.toBuffer)(e)).toString("hex")};r.fromSigned=function(e){return new s.BN(e).fromTwos(256)};r.toUnsigned=function(e){return t.from(e.toTwos(256).toArray())};r.addHexPrefix=function(e){return"string"!=typeof e||(0,i.isHexPrefixed)(e)?e:"0x"+e};r.toUtf8=function(e){if((e=(0,i.stripHexPrefix)(e)).length%2!=0)throw new Error("Invalid non-even hex string input for toUtf8() provided");return t.from(e.replace(/^(00)+|(00)+$/g,""),"hex").toString("utf8")};r.baToJSON=function(e){if(t.isBuffer(e))return"0x".concat(e.toString("hex"));if(e instanceof Array){for(var n=[],o=0;o<e.length;o++)n.push((0,r.baToJSON)(e[o]));return n}};r.validateNoLeadingZeroes=function(e){var t,r;try{for(var s=n(Object.entries(e)),i=s.next();!i.done;i=s.next()){var a=o(i.value,2),u=a[0],c=a[1];if(c!==undefined&&c.length>0&&0===c[0])throw new Error("".concat(u," cannot have leading zeroes, received: ").concat(c.toString("hex")))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}},r.arrToBufArr=function e(r){return Array.isArray(r)?r.map(function(t){return e(t)}):t.from(r)},r.bufArrToArr=function e(t){return Array.isArray(t)?t.map(function(t){return e(t)}):Uint8Array.from(null!=t?t:[])}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/bytes.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/constants.js",{"./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/externals.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,r){Object.defineProperty(r,"__esModule",{value:!0}),r.KECCAK256_RLP=r.KECCAK256_RLP_S=r.KECCAK256_RLP_ARRAY=r.KECCAK256_RLP_ARRAY_S=r.KECCAK256_NULL=r.KECCAK256_NULL_S=r.TWO_POW256=r.MAX_INTEGER=r.MAX_UINT64=void 0;var n=e("buffer"),o=e("./externals");r.MAX_UINT64=new o.BN("ffffffffffffffff",16),r.MAX_INTEGER=new o.BN("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16),r.TWO_POW256=new o.BN("10000000000000000000000000000000000000000000000000000000000000000",16),r.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",r.KECCAK256_NULL=n.Buffer.from(r.KECCAK256_NULL_S,"hex"),r.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",r.KECCAK256_RLP_ARRAY=n.Buffer.from(r.KECCAK256_RLP_ARRAY_S,"hex"),r.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",r.KECCAK256_RLP=n.Buffer.from(r.KECCAK256_RLP_S,"hex")}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/constants.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/externals.js",{"bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js",rlp:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/rlp/dist.browser/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.rlp=r.BN=void 0;var a=i(e("bn.js"));r.BN=a.default;var u=s(e("rlp"));r.rlp=u}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/externals.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/hash.js",{"./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/bytes.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/externals.js","./helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/helpers.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","create-hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hash/browser.js","ethereum-cryptography/keccak":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/keccak.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.rlphash=r.ripemd160FromArray=r.ripemd160FromString=r.ripemd160=r.sha256FromArray=r.sha256FromString=r.sha256=r.keccakFromArray=r.keccakFromHexString=r.keccakFromString=r.keccak256=r.keccak=void 0;var n=e("ethereum-cryptography/keccak"),o=e("create-hash"),s=e("./externals"),i=e("./bytes"),a=e("./helpers");r.keccak=function(e,t){switch(void 0===t&&(t=256),(0,a.assertIsBuffer)(e),t){case 224:return(0,n.keccak224)(e);case 256:return(0,n.keccak256)(e);case 384:return(0,n.keccak384)(e);case 512:return(0,n.keccak512)(e);default:throw new Error("Invald algorithm: keccak".concat(t))}};r.keccak256=function(e){return(0,r.keccak)(e)};r.keccakFromString=function(e,n){void 0===n&&(n=256),(0,a.assertIsString)(e);var o=t.from(e,"utf8");return(0,r.keccak)(o,n)};r.keccakFromHexString=function(e,t){return void 0===t&&(t=256),(0,a.assertIsHexString)(e),(0,r.keccak)((0,i.toBuffer)(e),t)};r.keccakFromArray=function(e,t){return void 0===t&&(t=256),(0,a.assertIsArray)(e),(0,r.keccak)((0,i.toBuffer)(e),t)};var u=function(e){return e=(0,i.toBuffer)(e),o("sha256").update(e).digest()};r.sha256=function(e){return(0,a.assertIsBuffer)(e),u(e)};r.sha256FromString=function(e){return(0,a.assertIsString)(e),u(e)};r.sha256FromArray=function(e){return(0,a.assertIsArray)(e),u(e)};var c=function(e,t){e=(0,i.toBuffer)(e);var r=o("rmd160").update(e).digest();return!0===t?(0,i.setLengthLeft)(r,32):r};r.ripemd160=function(e,t){return(0,a.assertIsBuffer)(e),c(e,t)};r.ripemd160FromString=function(e,t){return(0,a.assertIsString)(e),c(e,t)};r.ripemd160FromArray=function(e,t){return(0,a.assertIsArray)(e),c(e,t)};r.rlphash=function(e){return(0,r.keccak)(s.rlp.encode(e))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/hash.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/helpers.js",{"../../../../is-buffer/index.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-buffer/index.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/internal.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.assertIsString=r.assertIsArray=r.assertIsBuffer=r.assertIsHexString=void 0;var n=e("./internal");r.assertIsHexString=function(e){if(!(0,n.isHexString)(e)){var t="This method only supports 0x-prefixed hex strings but input was: ".concat(e);throw new Error(t)}};r.assertIsBuffer=function(e){if(!t.isBuffer(e)){var r="This method only supports Buffer but input was: ".concat(e);throw new Error(r)}};r.assertIsArray=function(e){if(!Array.isArray(e)){var t="This method only supports number arrays but input was: ".concat(e);throw new Error(t)}};r.assertIsString=function(e){if("string"!=typeof e){var t="This method only supports strings but input was: ".concat(e);throw new Error(t)}}}).call(this)}).call(this,{isBuffer:e("../../../../is-buffer/index.js")})}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/helpers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/index.js",{"./account":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/account.js","./address":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/address.js","./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/bytes.js","./constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/constants.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/externals.js","./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/hash.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/internal.js","./object":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/object.js","./signature":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/signature.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/types.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.isHexString=r.getKeys=r.fromAscii=r.fromUtf8=r.toAscii=r.arrayContainsArray=r.getBinarySize=r.padToEven=r.stripHexPrefix=r.isHexPrefixed=void 0,o(e("./constants"),r),o(e("./account"),r),o(e("./address"),r),o(e("./hash"),r),o(e("./signature"),r),o(e("./bytes"),r),o(e("./object"),r),o(e("./externals"),r),o(e("./types"),r);var s=e("./internal");Object.defineProperty(r,"isHexPrefixed",{enumerable:!0,get:function(){return s.isHexPrefixed}}),Object.defineProperty(r,"stripHexPrefix",{enumerable:!0,get:function(){return s.stripHexPrefix}}),Object.defineProperty(r,"padToEven",{enumerable:!0,get:function(){return s.padToEven}}),Object.defineProperty(r,"getBinarySize",{enumerable:!0,get:function(){return s.getBinarySize}}),Object.defineProperty(r,"arrayContainsArray",{enumerable:!0,get:function(){return s.arrayContainsArray}}),Object.defineProperty(r,"toAscii",{enumerable:!0,get:function(){return s.toAscii}}),Object.defineProperty(r,"fromUtf8",{enumerable:!0,get:function(){return s.fromUtf8}}),Object.defineProperty(r,"fromAscii",{enumerable:!0,get:function(){return s.fromAscii}}),Object.defineProperty(r,"getKeys",{enumerable:!0,get:function(){return s.getKeys}}),Object.defineProperty(r,"isHexString",{enumerable:!0,get:function(){return s.isHexString}})}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/internal.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,r){(function(e){(function(){function t(e){if("string"!=typeof e)throw new Error("[isHexPrefixed] input must be type 'string', received type ".concat(typeof e));return"0"===e[0]&&"x"===e[1]}Object.defineProperty(r,"__esModule",{value:!0}),r.isHexString=r.getKeys=r.fromAscii=r.fromUtf8=r.toAscii=r.arrayContainsArray=r.getBinarySize=r.padToEven=r.stripHexPrefix=r.isHexPrefixed=void 0,r.isHexPrefixed=t;function n(e){var t=e;if("string"!=typeof t)throw new Error("[padToEven] value must be type 'string', received ".concat(typeof t));return t.length%2&&(t="0".concat(t)),t}r.stripHexPrefix=function(e){if("string"!=typeof e)throw new Error("[stripHexPrefix] input must be type 'string', received ".concat(typeof e));return t(e)?e.slice(2):e},r.padToEven=n,r.getBinarySize=function(t){if("string"!=typeof t)throw new Error("[getBinarySize] method requires input type 'string', recieved ".concat(typeof t));return e.byteLength(t,"utf8")},r.arrayContainsArray=function(e,t,r){if(!0!==Array.isArray(e))throw new Error("[arrayContainsArray] method requires input 'superset' to be an array, got type '".concat(typeof e,"'"));if(!0!==Array.isArray(t))throw new Error("[arrayContainsArray] method requires input 'subset' to be an array, got type '".concat(typeof t,"'"));return t[r?"some":"every"](function(t){return e.indexOf(t)>=0})},r.toAscii=function(e){var t="",r=0,n=e.length;for("0x"===e.substring(0,2)&&(r=2);r<n;r+=2){var o=parseInt(e.substr(r,2),16);t+=String.fromCharCode(o)}return t},r.fromUtf8=function(t){var r=e.from(t,"utf8");return"0x".concat(n(r.toString("hex")).replace(/^0+|0+$/g,""))},r.fromAscii=function(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r).toString(16);t+=n.length<2?"0".concat(n):n}return"0x".concat(t)},r.getKeys=function(e,t,r){if(!Array.isArray(e))throw new Error("[getKeys] method expects input 'params' to be an array, got ".concat(typeof e));if("string"!=typeof t)throw new Error("[getKeys] method expects input 'key' to be type 'string', got ".concat(typeof e));for(var n=[],o=0;o<e.length;o++){var s=e[o][t];if(r&&!s)s="";else if("string"!=typeof s)throw new Error("invalid abi - expected type 'string', received ".concat(typeof s));n.push(s)}return n},r.isHexString=function(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/internal.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/object.js",{"./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/bytes.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/externals.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/internal.js",assert:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/assert/assert.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,r){(function(t){(function(){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.defineProperties=void 0;var o=n(e("assert")),s=e("./internal"),i=e("./externals"),a=e("./bytes");r.defineProperties=function(e,r,n){if(e.raw=[],e._fields=[],e.toJSON=function(t){if(void 0===t&&(t=!1),t){var r={};return e._fields.forEach(function(t){r[t]="0x".concat(e[t].toString("hex"))}),r}return(0,a.baToJSON)(e.raw)},e.serialize=function(){return i.rlp.encode(e.raw)},r.forEach(function(r,n){function s(){return e.raw[n]}function i(s){"00"!==(s=(0,a.toBuffer)(s)).toString("hex")||r.allowZero||(s=t.allocUnsafe(0)),r.allowLess&&r.length?(s=(0,a.unpadBuffer)(s),(0,o.default)(r.length>=s.length,"The field ".concat(r.name," must not have more ").concat(r.length," bytes"))):r.allowZero&&0===s.length||!r.length||(0,o.default)(r.length===s.length,"The field ".concat(r.name," must have byte length of ").concat(r.length)),e.raw[n]=s}e._fields.push(r.name),Object.defineProperty(e,r.name,{enumerable:!0,configurable:!0,get:s,set:i}),r.default&&(e[r.name]=r.default),r.alias&&Object.defineProperty(e,r.alias,{enumerable:!1,configurable:!0,set:i,get:s})}),n)if("string"==typeof n&&(n=t.from((0,s.stripHexPrefix)(n),"hex")),t.isBuffer(n)&&(n=i.rlp.decode(n)),Array.isArray(n)){if(n.length>e._fields.length)throw new Error("wrong number of fields in data");n.forEach(function(t,r){e[e._fields[r]]=(0,a.toBuffer)(t)})}else{if("object"!=typeof n)throw new Error("invalid data");var u=Object.keys(n);r.forEach(function(t){-1!==u.indexOf(t.name)&&(e[t.name]=n[t.name]),-1!==u.indexOf(t.alias)&&(e[t.alias]=n[t.alias])})}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/object.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/signature.js",{"./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/bytes.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/externals.js","./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/hash.js","./helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/helpers.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/types.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","ethereum-cryptography/secp256k1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereum-cryptography/secp256k1.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.hashPersonalMessage=r.isValidSignature=r.fromRpcSig=r.toCompactSig=r.toRpcSig=r.ecrecover=r.ecsign=void 0;var n=e("ethereum-cryptography/secp256k1"),o=e("./externals"),s=e("./bytes"),i=e("./hash"),a=e("./helpers"),u=e("./types");function c(e,t){var r=(0,u.toType)(e,u.TypeOutput.BN);if(r.eqn(0)||r.eqn(1))return(0,u.toType)(e,u.TypeOutput.BN);if(!t)return r.subn(27);var n=(0,u.toType)(t,u.TypeOutput.BN);return r.sub(n.muln(2).addn(35))}function d(e){var t=new o.BN(e);return t.eqn(0)||t.eqn(1)}r.ecsign=function(e,r,o){var s=(0,n.ecdsaSign)(e,r),i=s.signature,a=s.recid,c=t.from(i.slice(0,32)),d=t.from(i.slice(32,64));if(!o||"number"==typeof o){if(o&&!Number.isSafeInteger(o))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");return{r:c,s:d,v:o?a+(2*o+35):a+27}}return{r:c,s:d,v:(0,u.toType)(o,u.TypeOutput.BN).muln(2).addn(35).addn(a).toArrayLike(t)}};r.ecrecover=function(e,r,o,i,a){var u=t.concat([(0,s.setLengthLeft)(o,32),(0,s.setLengthLeft)(i,32)],64),f=c(r,a);if(!d(f))throw new Error("Invalid signature v value");var l=(0,n.ecdsaRecover)(u,f.toNumber(),e);return t.from((0,n.publicKeyConvert)(l,!1).slice(1))};r.toRpcSig=function(e,r,n,o){if(!d(c(e,o)))throw new Error("Invalid signature v value");return(0,s.bufferToHex)(t.concat([(0,s.setLengthLeft)(r,32),(0,s.setLengthLeft)(n,32),(0,s.toBuffer)(e)]))};r.toCompactSig=function(e,r,n,o){if(!d(c(e,o)))throw new Error("Invalid signature v value");var i=(0,u.toType)(e,u.TypeOutput.Number),a=n;return(i>28&&i%2==1||1===i||28===i)&&((a=t.from(n))[0]|=128),(0,s.bufferToHex)(t.concat([(0,s.setLengthLeft)(r,32),(0,s.setLengthLeft)(a,32)]))};r.fromRpcSig=function(e){var t,r,n,o=(0,s.toBuffer)(e);if(o.length>=65)t=o.slice(0,32),r=o.slice(32,64),n=(0,s.bufferToInt)(o.slice(64));else{if(64!==o.length)throw new Error("Invalid signature length");t=o.slice(0,32),r=o.slice(32,64),n=(0,s.bufferToInt)(o.slice(32,33))>>7,r[0]&=127}return n<27&&(n+=27),{v:n,r:t,s:r}};r.isValidSignature=function(e,t,r,n,s){void 0===n&&(n=!0);var i=new o.BN("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16),a=new o.BN("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",16);if(32!==t.length||32!==r.length)return!1;if(!d(c(e,s)))return!1;var u=new o.BN(t),f=new o.BN(r);return!(u.isZero()||u.gt(a)||f.isZero()||f.gt(a))&&(!n||1!==f.cmp(i))};r.hashPersonalMessage=function(e){(0,a.assertIsBuffer)(e);var r=t.from("Ethereum Signed Message:\n".concat(e.length),"utf-8");return(0,i.keccak)(t.concat([r,e]))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/signature.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/types.js",{"./bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/bytes.js","./externals":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/externals.js","./internal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/internal.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,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.toType=r.TypeOutput=r.bnToRlp=r.bnToUnpaddedBuffer=r.bnToHex=void 0;var n,o=e("./externals"),s=e("./internal"),i=e("./bytes");function a(e){return(0,i.unpadBuffer)(e.toArrayLike(t))}r.bnToHex=function(e){return"0x".concat(e.toString(16))},r.bnToUnpaddedBuffer=a,r.bnToRlp=function(e){return a(e)},function(e){e[e.Number=0]="Number",e[e.BN=1]="BN",e[e.Buffer=2]="Buffer",e[e.PrefixedHexString=3]="PrefixedHexString"}(n=r.TypeOutput||(r.TypeOutput={})),r.toType=function(e,t){if(null===e)return null;if(e===undefined)return undefined;if("string"==typeof e&&!(0,s.isHexString)(e))throw new Error("A string must be provided with a 0x-prefix, given: ".concat(e));if("number"==typeof e&&!Number.isSafeInteger(e))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");var r=(0,i.toBuffer)(e);if(t===n.Buffer)return r;if(t===n.BN)return new o.BN(r);if(t===n.Number){var a=new o.BN(r),u=new o.BN(Number.MAX_SAFE_INTEGER.toString());if(a.gt(u))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return a.toNumber()}return"0x".concat(r.toString("hex"))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",file:"node_modules/ethereumjs-wallet/node_modules/ethereumjs-util/dist.browser/types.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethereumjs-wallet/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,r){(function(t){(function(){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.getLength=r.decode=r.encode=void 0;var o=n(e("bn.js"));function s(e,t){if("0"===e[0]&&"0"===e[1])throw new Error("invalid RLP: extra zeros");return parseInt(e,t)}function i(e,r){if(e<56)return t.from([e+r]);var n=c(e),o=c(r+55+n.length/2);return t.from(o+n,"hex")}function a(e){var r,n,o,i,u,c=[],d=e[0];if(d<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(d<=183){if(r=d-127,o=128===d?t.from([]):e.slice(1,r),2===r&&o[0]<128)throw new Error("invalid rlp encoding: byte must be less 0x80");return{data:o,remainder:e.slice(r)}}if(d<=191){if(n=d-182,e.length-1<n)throw new Error("invalid RLP: not enough bytes for string length");if((r=s(e.slice(1,n).toString("hex"),16))<=55)throw new Error("invalid RLP: expected string length to be greater than 55");if((o=e.slice(n,r+n)).length<r)throw new Error("invalid RLP: not enough bytes for string");return{data:o,remainder:e.slice(r+n)}}if(d<=247){for(r=d-191,i=e.slice(1,r);i.length;)u=a(i),c.push(u.data),i=u.remainder;return{data:c,remainder:e.slice(r)}}var f=(n=d-246)+(r=s(e.slice(1,n).toString("hex"),16));if(f>e.length)throw new Error("invalid rlp: total length is larger than the data");if(0===(i=e.slice(n,f)).length)throw new Error("invalid rlp, List has a invalid length");for(;i.length;)u=a(i),c.push(u.data),i=u.remainder;return{data:c,remainder:e.slice(f)}}function u(e){return"0x"===e.slice(0,2)}function c(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");var t=e.toString(16);return t.length%2?"0"+t:t}function d(e){if(!t.isBuffer(e)){if("string"==typeof e)return u(e)?t.from((n="string"!=typeof(s=e)?s:u(s)?s.slice(2):s).length%2?"0"+n:n,"hex"):t.from(e);if("number"==typeof e||"bigint"==typeof e)return e?(r=c(e),t.from(r,"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 r,n,s;return e}r.encode=function e(r){if(Array.isArray(r)){for(var n=[],o=0;o<r.length;o++)n.push(e(r[o]));var s=t.concat(n);return t.concat([i(s.length,192),s])}var a=d(r);return 1===a.length&&a[0]<128?a:t.concat([i(a.length,128),a])},r.decode=function(e,r){if(void 0===r&&(r=!1),!e||0===e.length)return t.from([]);var n=a(d(e));if(r)return n;if(0!==n.remainder.length)throw new Error("invalid remainder");return n.data},r.getLength=function(e){if(!e||0===e.length)return t.from([]);var r=d(e),n=r[0];if(n<=127)return r.length;if(n<=183)return n-127;if(n<=191)return n-182;if(n<=247)return n-191;var o=n-246;return o+s(r.slice(1,o).toString("hex"),16)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>rlp",file:"node_modules/ethereumjs-wallet/node_modules/rlp/dist.browser/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/lib/_version.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="ethers/5.7.2"}}},{package:"ethers",file:"node_modules/ethers/lib/_version.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/lib/ethers.js",{"./_version":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/lib/_version.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/lib/utils.js","@ethersproject/abstract-signer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/abstract-signer/lib/index.js","@ethersproject/bignumber":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/bignumber/lib/index.js","@ethersproject/constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/constants/lib/index.js","@ethersproject/contracts":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/contracts/lib/index.js","@ethersproject/logger":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/logger/lib/index.js","@ethersproject/providers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/providers/lib/index.js","@ethersproject/wallet":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/wallet/lib/index.js","@ethersproject/wordlists":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/wordlists/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.Wordlist=r.version=r.wordlists=r.utils=r.logger=r.errors=r.constants=r.FixedNumber=r.BigNumber=r.ContractFactory=r.Contract=r.BaseContract=r.providers=r.getDefaultProvider=r.VoidSigner=r.Wallet=r.Signer=void 0;var i=e("@ethersproject/contracts");Object.defineProperty(r,"BaseContract",{enumerable:!0,get:function(){return i.BaseContract}}),Object.defineProperty(r,"Contract",{enumerable:!0,get:function(){return i.Contract}}),Object.defineProperty(r,"ContractFactory",{enumerable:!0,get:function(){return i.ContractFactory}});var a=e("@ethersproject/bignumber");Object.defineProperty(r,"BigNumber",{enumerable:!0,get:function(){return a.BigNumber}}),Object.defineProperty(r,"FixedNumber",{enumerable:!0,get:function(){return a.FixedNumber}});var u=e("@ethersproject/abstract-signer");Object.defineProperty(r,"Signer",{enumerable:!0,get:function(){return u.Signer}}),Object.defineProperty(r,"VoidSigner",{enumerable:!0,get:function(){return u.VoidSigner}});var c=e("@ethersproject/wallet");Object.defineProperty(r,"Wallet",{enumerable:!0,get:function(){return c.Wallet}});var d=s(e("@ethersproject/constants"));r.constants=d;var f=s(e("@ethersproject/providers"));r.providers=f;var l=e("@ethersproject/providers");Object.defineProperty(r,"getDefaultProvider",{enumerable:!0,get:function(){return l.getDefaultProvider}});var h=e("@ethersproject/wordlists");Object.defineProperty(r,"Wordlist",{enumerable:!0,get:function(){return h.Wordlist}}),Object.defineProperty(r,"wordlists",{enumerable:!0,get:function(){return h.wordlists}});var m=s(e("./utils"));r.utils=m;var p=e("@ethersproject/logger");Object.defineProperty(r,"errors",{enumerable:!0,get:function(){return p.ErrorCode}});var b=e("./_version");Object.defineProperty(r,"version",{enumerable:!0,get:function(){return b.version}});var y=new p.Logger(b.version);r.logger=y}}},{package:"ethers",file:"node_modules/ethers/lib/ethers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/lib/index.js",{"./ethers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/lib/ethers.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.Wordlist=r.version=r.wordlists=r.utils=r.logger=r.errors=r.constants=r.FixedNumber=r.BigNumber=r.ContractFactory=r.Contract=r.BaseContract=r.providers=r.getDefaultProvider=r.VoidSigner=r.Wallet=r.Signer=r.ethers=void 0;var i=s(e("./ethers"));r.ethers=i;try{var a=window;null==a._ethers&&(a._ethers=i)}catch(e){}var u=e("./ethers");Object.defineProperty(r,"Signer",{enumerable:!0,get:function(){return u.Signer}}),Object.defineProperty(r,"Wallet",{enumerable:!0,get:function(){return u.Wallet}}),Object.defineProperty(r,"VoidSigner",{enumerable:!0,get:function(){return u.VoidSigner}}),Object.defineProperty(r,"getDefaultProvider",{enumerable:!0,get:function(){return u.getDefaultProvider}}),Object.defineProperty(r,"providers",{enumerable:!0,get:function(){return u.providers}}),Object.defineProperty(r,"BaseContract",{enumerable:!0,get:function(){return u.BaseContract}}),Object.defineProperty(r,"Contract",{enumerable:!0,get:function(){return u.Contract}}),Object.defineProperty(r,"ContractFactory",{enumerable:!0,get:function(){return u.ContractFactory}}),Object.defineProperty(r,"BigNumber",{enumerable:!0,get:function(){return u.BigNumber}}),Object.defineProperty(r,"FixedNumber",{enumerable:!0,get:function(){return u.FixedNumber}}),Object.defineProperty(r,"constants",{enumerable:!0,get:function(){return u.constants}}),Object.defineProperty(r,"errors",{enumerable:!0,get:function(){return u.errors}}),Object.defineProperty(r,"logger",{enumerable:!0,get:function(){return u.logger}}),Object.defineProperty(r,"utils",{enumerable:!0,get:function(){return u.utils}}),Object.defineProperty(r,"wordlists",{enumerable:!0,get:function(){return u.wordlists}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return u.version}}),Object.defineProperty(r,"Wordlist",{enumerable:!0,get:function(){return u.Wordlist}})}}},{package:"ethers",file:"node_modules/ethers/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/lib/utils.js",{"@ethersproject/abi":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/abi/lib/index.js","@ethersproject/address":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/address/lib/index.js","@ethersproject/base64":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/base64/lib/index.js","@ethersproject/basex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/basex/lib/index.js","@ethersproject/bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/bytes/lib/index.js","@ethersproject/hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/hash/lib/index.js","@ethersproject/hdnode":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/hdnode/lib/index.js","@ethersproject/json-wallets":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/json-wallets/lib/index.js","@ethersproject/keccak256":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/keccak256/lib/index.js","@ethersproject/logger":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/logger/lib/index.js","@ethersproject/properties":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/properties/lib/index.js","@ethersproject/random":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/random/lib/index.js","@ethersproject/rlp":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/rlp/lib/index.js","@ethersproject/sha2":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/sha2/lib/index.js","@ethersproject/signing-key":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/signing-key/lib/index.js","@ethersproject/solidity":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/solidity/lib/index.js","@ethersproject/strings":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/strings/lib/index.js","@ethersproject/transactions":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/transactions/lib/index.js","@ethersproject/units":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/units/lib/index.js","@ethersproject/wallet":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/wallet/lib/index.js","@ethersproject/web":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@ethersproject/web/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.formatBytes32String=r.Utf8ErrorFuncs=r.toUtf8String=r.toUtf8CodePoints=r.toUtf8Bytes=r._toEscapedUtf8String=r.nameprep=r.hexDataSlice=r.hexDataLength=r.hexZeroPad=r.hexValue=r.hexStripZeros=r.hexConcat=r.isHexString=r.hexlify=r.base64=r.base58=r.TransactionDescription=r.LogDescription=r.Interface=r.SigningKey=r.HDNode=r.defaultPath=r.isBytesLike=r.isBytes=r.zeroPad=r.stripZeros=r.concat=r.arrayify=r.shallowCopy=r.resolveProperties=r.getStatic=r.defineReadOnly=r.deepCopy=r.checkProperties=r.poll=r.fetchJson=r._fetchData=r.RLP=r.Logger=r.checkResultErrors=r.FormatTypes=r.ParamType=r.FunctionFragment=r.EventFragment=r.ErrorFragment=r.ConstructorFragment=r.Fragment=r.defaultAbiCoder=r.AbiCoder=void 0,r.Indexed=r.Utf8ErrorReason=r.UnicodeNormalizationForm=r.SupportedAlgorithm=r.mnemonicToSeed=r.isValidMnemonic=r.entropyToMnemonic=r.mnemonicToEntropy=r.getAccountPath=r.verifyTypedData=r.verifyMessage=r.recoverPublicKey=r.computePublicKey=r.recoverAddress=r.computeAddress=r.getJsonWalletAddress=r.TransactionTypes=r.serializeTransaction=r.parseTransaction=r.accessListify=r.joinSignature=r.splitSignature=r.soliditySha256=r.solidityKeccak256=r.solidityPack=r.shuffled=r.randomBytes=r.sha512=r.sha256=r.ripemd160=r.keccak256=r.computeHmac=r.commify=r.parseUnits=r.formatUnits=r.parseEther=r.formatEther=r.isAddress=r.getCreate2Address=r.getContractAddress=r.getIcapAddress=r.getAddress=r._TypedDataEncoder=r.id=r.isValidName=r.namehash=r.hashMessage=r.dnsEncode=r.parseBytes32String=void 0;var i=e("@ethersproject/abi");Object.defineProperty(r,"AbiCoder",{enumerable:!0,get:function(){return i.AbiCoder}}),Object.defineProperty(r,"checkResultErrors",{enumerable:!0,get:function(){return i.checkResultErrors}}),Object.defineProperty(r,"ConstructorFragment",{enumerable:!0,get:function(){return i.ConstructorFragment}}),Object.defineProperty(r,"defaultAbiCoder",{enumerable:!0,get:function(){return i.defaultAbiCoder}}),Object.defineProperty(r,"ErrorFragment",{enumerable:!0,get:function(){return i.ErrorFragment}}),Object.defineProperty(r,"EventFragment",{enumerable:!0,get:function(){return i.EventFragment}}),Object.defineProperty(r,"FormatTypes",{enumerable:!0,get:function(){return i.FormatTypes}}),Object.defineProperty(r,"Fragment",{enumerable:!0,get:function(){return i.Fragment}}),Object.defineProperty(r,"FunctionFragment",{enumerable:!0,get:function(){return i.FunctionFragment}}),Object.defineProperty(r,"Indexed",{enumerable:!0,get:function(){return i.Indexed}}),Object.defineProperty(r,"Interface",{enumerable:!0,get:function(){return i.Interface}}),Object.defineProperty(r,"LogDescription",{enumerable:!0,get:function(){return i.LogDescription}}),Object.defineProperty(r,"ParamType",{enumerable:!0,get:function(){return i.ParamType}}),Object.defineProperty(r,"TransactionDescription",{enumerable:!0,get:function(){return i.TransactionDescription}});var a=e("@ethersproject/address");Object.defineProperty(r,"getAddress",{enumerable:!0,get:function(){return a.getAddress}}),Object.defineProperty(r,"getCreate2Address",{enumerable:!0,get:function(){return a.getCreate2Address}}),Object.defineProperty(r,"getContractAddress",{enumerable:!0,get:function(){return a.getContractAddress}}),Object.defineProperty(r,"getIcapAddress",{enumerable:!0,get:function(){return a.getIcapAddress}}),Object.defineProperty(r,"isAddress",{enumerable:!0,get:function(){return a.isAddress}});var u=s(e("@ethersproject/base64"));r.base64=u;var c=e("@ethersproject/basex");Object.defineProperty(r,"base58",{enumerable:!0,get:function(){return c.Base58}});var d=e("@ethersproject/bytes");Object.defineProperty(r,"arrayify",{enumerable:!0,get:function(){return d.arrayify}}),Object.defineProperty(r,"concat",{enumerable:!0,get:function(){return d.concat}}),Object.defineProperty(r,"hexConcat",{enumerable:!0,get:function(){return d.hexConcat}}),Object.defineProperty(r,"hexDataSlice",{enumerable:!0,get:function(){return d.hexDataSlice}}),Object.defineProperty(r,"hexDataLength",{enumerable:!0,get:function(){return d.hexDataLength}}),Object.defineProperty(r,"hexlify",{enumerable:!0,get:function(){return d.hexlify}}),Object.defineProperty(r,"hexStripZeros",{enumerable:!0,get:function(){return d.hexStripZeros}}),Object.defineProperty(r,"hexValue",{enumerable:!0,get:function(){return d.hexValue}}),Object.defineProperty(r,"hexZeroPad",{enumerable:!0,get:function(){return d.hexZeroPad}}),Object.defineProperty(r,"isBytes",{enumerable:!0,get:function(){return d.isBytes}}),Object.defineProperty(r,"isBytesLike",{enumerable:!0,get:function(){return d.isBytesLike}}),Object.defineProperty(r,"isHexString",{enumerable:!0,get:function(){return d.isHexString}}),Object.defineProperty(r,"joinSignature",{enumerable:!0,get:function(){return d.joinSignature}}),Object.defineProperty(r,"zeroPad",{enumerable:!0,get:function(){return d.zeroPad}}),Object.defineProperty(r,"splitSignature",{enumerable:!0,get:function(){return d.splitSignature}}),Object.defineProperty(r,"stripZeros",{enumerable:!0,get:function(){return d.stripZeros}});var f=e("@ethersproject/hash");Object.defineProperty(r,"_TypedDataEncoder",{enumerable:!0,get:function(){return f._TypedDataEncoder}}),Object.defineProperty(r,"dnsEncode",{enumerable:!0,get:function(){return f.dnsEncode}}),Object.defineProperty(r,"hashMessage",{enumerable:!0,get:function(){return f.hashMessage}}),Object.defineProperty(r,"id",{enumerable:!0,get:function(){return f.id}}),Object.defineProperty(r,"isValidName",{enumerable:!0,get:function(){return f.isValidName}}),Object.defineProperty(r,"namehash",{enumerable:!0,get:function(){return f.namehash}});var l=e("@ethersproject/hdnode");Object.defineProperty(r,"defaultPath",{enumerable:!0,get:function(){return l.defaultPath}}),Object.defineProperty(r,"entropyToMnemonic",{enumerable:!0,get:function(){return l.entropyToMnemonic}}),Object.defineProperty(r,"getAccountPath",{enumerable:!0,get:function(){return l.getAccountPath}}),Object.defineProperty(r,"HDNode",{enumerable:!0,get:function(){return l.HDNode}}),Object.defineProperty(r,"isValidMnemonic",{enumerable:!0,get:function(){return l.isValidMnemonic}}),Object.defineProperty(r,"mnemonicToEntropy",{enumerable:!0,get:function(){return l.mnemonicToEntropy}}),Object.defineProperty(r,"mnemonicToSeed",{enumerable:!0,get:function(){return l.mnemonicToSeed}});var h=e("@ethersproject/json-wallets");Object.defineProperty(r,"getJsonWalletAddress",{enumerable:!0,get:function(){return h.getJsonWalletAddress}});var m=e("@ethersproject/keccak256");Object.defineProperty(r,"keccak256",{enumerable:!0,get:function(){return m.keccak256}});var p=e("@ethersproject/logger");Object.defineProperty(r,"Logger",{enumerable:!0,get:function(){return p.Logger}});var b=e("@ethersproject/sha2");Object.defineProperty(r,"computeHmac",{enumerable:!0,get:function(){return b.computeHmac}}),Object.defineProperty(r,"ripemd160",{enumerable:!0,get:function(){return b.ripemd160}}),Object.defineProperty(r,"sha256",{enumerable:!0,get:function(){return b.sha256}}),Object.defineProperty(r,"sha512",{enumerable:!0,get:function(){return b.sha512}});var y=e("@ethersproject/solidity");Object.defineProperty(r,"solidityKeccak256",{enumerable:!0,get:function(){return y.keccak256}}),Object.defineProperty(r,"solidityPack",{enumerable:!0,get:function(){return y.pack}}),Object.defineProperty(r,"soliditySha256",{enumerable:!0,get:function(){return y.sha256}});var g=e("@ethersproject/random");Object.defineProperty(r,"randomBytes",{enumerable:!0,get:function(){return g.randomBytes}}),Object.defineProperty(r,"shuffled",{enumerable:!0,get:function(){return g.shuffled}});var w=e("@ethersproject/properties");Object.defineProperty(r,"checkProperties",{enumerable:!0,get:function(){return w.checkProperties}}),Object.defineProperty(r,"deepCopy",{enumerable:!0,get:function(){return w.deepCopy}}),Object.defineProperty(r,"defineReadOnly",{enumerable:!0,get:function(){return w.defineReadOnly}}),Object.defineProperty(r,"getStatic",{enumerable:!0,get:function(){return w.getStatic}}),Object.defineProperty(r,"resolveProperties",{enumerable:!0,get:function(){return w.resolveProperties}}),Object.defineProperty(r,"shallowCopy",{enumerable:!0,get:function(){return w.shallowCopy}});var k=s(e("@ethersproject/rlp"));r.RLP=k;var _=e("@ethersproject/signing-key");Object.defineProperty(r,"computePublicKey",{enumerable:!0,get:function(){return _.computePublicKey}}),Object.defineProperty(r,"recoverPublicKey",{enumerable:!0,get:function(){return _.recoverPublicKey}}),Object.defineProperty(r,"SigningKey",{enumerable:!0,get:function(){return _.SigningKey}});var v=e("@ethersproject/strings");Object.defineProperty(r,"formatBytes32String",{enumerable:!0,get:function(){return v.formatBytes32String}}),Object.defineProperty(r,"nameprep",{enumerable:!0,get:function(){return v.nameprep}}),Object.defineProperty(r,"parseBytes32String",{enumerable:!0,get:function(){return v.parseBytes32String}}),Object.defineProperty(r,"_toEscapedUtf8String",{enumerable:!0,get:function(){return v._toEscapedUtf8String}}),Object.defineProperty(r,"toUtf8Bytes",{enumerable:!0,get:function(){return v.toUtf8Bytes}}),Object.defineProperty(r,"toUtf8CodePoints",{enumerable:!0,get:function(){return v.toUtf8CodePoints}}),Object.defineProperty(r,"toUtf8String",{enumerable:!0,get:function(){return v.toUtf8String}}),Object.defineProperty(r,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return v.Utf8ErrorFuncs}});var x=e("@ethersproject/transactions");Object.defineProperty(r,"accessListify",{enumerable:!0,get:function(){return x.accessListify}}),Object.defineProperty(r,"computeAddress",{enumerable:!0,get:function(){return x.computeAddress}}),Object.defineProperty(r,"parseTransaction",{enumerable:!0,get:function(){return x.parse}}),Object.defineProperty(r,"recoverAddress",{enumerable:!0,get:function(){return x.recoverAddress}}),Object.defineProperty(r,"serializeTransaction",{enumerable:!0,get:function(){return x.serialize}}),Object.defineProperty(r,"TransactionTypes",{enumerable:!0,get:function(){return x.TransactionTypes}});var j=e("@ethersproject/units");Object.defineProperty(r,"commify",{enumerable:!0,get:function(){return j.commify}}),Object.defineProperty(r,"formatEther",{enumerable:!0,get:function(){return j.formatEther}}),Object.defineProperty(r,"parseEther",{enumerable:!0,get:function(){return j.parseEther}}),Object.defineProperty(r,"formatUnits",{enumerable:!0,get:function(){return j.formatUnits}}),Object.defineProperty(r,"parseUnits",{enumerable:!0,get:function(){return j.parseUnits}});var S=e("@ethersproject/wallet");Object.defineProperty(r,"verifyMessage",{enumerable:!0,get:function(){return S.verifyMessage}}),Object.defineProperty(r,"verifyTypedData",{enumerable:!0,get:function(){return S.verifyTypedData}});var E=e("@ethersproject/web");Object.defineProperty(r,"_fetchData",{enumerable:!0,get:function(){return E._fetchData}}),Object.defineProperty(r,"fetchJson",{enumerable:!0,get:function(){return E.fetchJson}}),Object.defineProperty(r,"poll",{enumerable:!0,get:function(){return E.poll}});var A=e("@ethersproject/sha2");Object.defineProperty(r,"SupportedAlgorithm",{enumerable:!0,get:function(){return A.SupportedAlgorithm}});var B=e("@ethersproject/strings");Object.defineProperty(r,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return B.UnicodeNormalizationForm}}),Object.defineProperty(r,"Utf8ErrorReason",{enumerable:!0,get:function(){return B.Utf8ErrorReason}})}}},{package:"ethers",file:"node_modules/ethers/lib/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/bytes/lib/_version.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="bytes/5.7.0"}}},{package:"ethers>@ethersproject/bytes",file:"node_modules/ethers/node_modules/@ethersproject/bytes/lib/_version.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/bytes/lib/index.js",{"./_version":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/bytes/lib/_version.js","@ethersproject/logger":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/bytes/node_modules/@ethersproject/logger/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.joinSignature=r.splitSignature=r.hexZeroPad=r.hexStripZeros=r.hexValue=r.hexConcat=r.hexDataSlice=r.hexDataLength=r.hexlify=r.isHexString=r.zeroPad=r.stripZeros=r.concat=r.arrayify=r.isBytes=r.isBytesLike=void 0;var n=e("@ethersproject/logger"),o=e("./_version"),s=new n.Logger(o.version);function i(e){return!!e.toHexString}function a(e){return e.slice||(e.slice=function(){var t=Array.prototype.slice.call(arguments);return a(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function u(e){return m(e)&&!(e.length%2)||d(e)}function c(e){return"number"==typeof e&&e==e&&e%1==0}function d(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"==typeof e)return!1;if(!c(e.length)||e.length<0)return!1;for(var t=0;t<e.length;t++){var r=e[t];if(!c(r)||r<0||r>=256)return!1}return!0}function f(e,t){if(t||(t={}),"number"==typeof e){s.checkSafeUint53(e,"invalid arrayify value");for(var r=[];e;)r.unshift(255&e),e=parseInt(String(e/256));return 0===r.length&&r.push(0),a(new Uint8Array(r))}if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),i(e)&&(e=e.toHexString()),m(e)){var n=e.substring(2);n.length%2&&("left"===t.hexPad?n="0"+n:"right"===t.hexPad?n+="0":s.throwArgumentError("hex data is odd-length","value",e));r=[];for(var o=0;o<n.length;o+=2)r.push(parseInt(n.substring(o,o+2),16));return a(new Uint8Array(r))}return d(e)?a(new Uint8Array(e)):s.throwArgumentError("invalid arrayify value","value",e)}function l(e){var t=e.map(function(e){return f(e)}),r=t.reduce(function(e,t){return e+t.length},0),n=new Uint8Array(r);return t.reduce(function(e,t){return n.set(t,e),e+t.length},0),a(n)}function h(e,t){(e=f(e)).length>t&&s.throwArgumentError("value out of range","value",arguments[0]);var r=new Uint8Array(t);return r.set(e,t-e.length),a(r)}function m(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}r.isBytesLike=u,r.isBytes=d,r.arrayify=f,r.concat=l,r.stripZeros=function(e){var t=f(e);if(0===t.length)return t;for(var r=0;r<t.length&&0===t[r];)r++;return r&&(t=t.slice(r)),t},r.zeroPad=h,r.isHexString=m;var p="0123456789abcdef";function b(e,t){if(t||(t={}),"number"==typeof e){s.checkSafeUint53(e,"invalid hexlify value");for(var r="";e;)r=p[15&e]+r,e=Math.floor(e/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if("bigint"==typeof e)return(e=e.toString(16)).length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),i(e))return e.toHexString();if(m(e))return e.length%2&&("left"===t.hexPad?e="0x0"+e.substring(2):"right"===t.hexPad?e+="0":s.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(d(e)){for(var n="0x",o=0;o<e.length;o++){var a=e[o];n+=p[(240&a)>>4]+p[15&a]}return n}return s.throwArgumentError("invalid hexlify value","value",e)}function y(e){"string"!=typeof e&&(e=b(e)),m(e)||s.throwArgumentError("invalid hex string","value",e),e=e.substring(2);for(var t=0;t<e.length&&"0"===e[t];)t++;return"0x"+e.substring(t)}function g(e,t){for("string"!=typeof e?e=b(e):m(e)||s.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&s.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function w(e){var t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(u(e)){var r=f(e);64===r.length?(t.v=27+(r[32]>>7),r[32]&=127,t.r=b(r.slice(0,32)),t.s=b(r.slice(32,64))):65===r.length?(t.r=b(r.slice(0,32)),t.s=b(r.slice(32,64)),t.v=r[64]):s.throwArgumentError("invalid signature string","signature",e),t.v<27&&(0===t.v||1===t.v?t.v+=27:s.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(r[32]|=128),t._vs=b(r.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,null!=t._vs){var n=h(f(t._vs),32);t._vs=b(n);var o=n[0]>=128?1:0;null==t.recoveryParam?t.recoveryParam=o:t.recoveryParam!==o&&s.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),n[0]&=127;var i=b(n);null==t.s?t.s=i:t.s!==i&&s.throwArgumentError("signature v mismatch _vs","signature",e)}if(null==t.recoveryParam)null==t.v?s.throwArgumentError("signature missing v and recoveryParam","signature",e):0===t.v||1===t.v?t.recoveryParam=t.v:t.recoveryParam=1-t.v%2;else if(null==t.v)t.v=27+t.recoveryParam;else{var a=0===t.v||1===t.v?t.v:1-t.v%2;t.recoveryParam!==a&&s.throwArgumentError("signature recoveryParam mismatch v","signature",e)}null!=t.r&&m(t.r)?t.r=g(t.r,32):s.throwArgumentError("signature missing or invalid r","signature",e),null!=t.s&&m(t.s)?t.s=g(t.s,32):s.throwArgumentError("signature missing or invalid s","signature",e);var c=f(t.s);c[0]>=128&&s.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(c[0]|=128);var d=b(c);t._vs&&(m(t._vs)||s.throwArgumentError("signature invalid _vs","signature",e),t._vs=g(t._vs,32)),null==t._vs?t._vs=d:t._vs!==d&&s.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t.yParityAndS=t._vs,t.compact=t.r+t.yParityAndS.substring(2),t}r.hexlify=b,r.hexDataLength=function(e){if("string"!=typeof e)e=b(e);else if(!m(e)||e.length%2)return null;return(e.length-2)/2},r.hexDataSlice=function(e,t,r){return"string"!=typeof e?e=b(e):(!m(e)||e.length%2)&&s.throwArgumentError("invalid hexData","value",e),t=2+2*t,null!=r?"0x"+e.substring(t,2+2*r):"0x"+e.substring(t)},r.hexConcat=function(e){var t="0x";return e.forEach(function(e){t+=b(e).substring(2)}),t},r.hexValue=function(e){var t=y(b(e,{hexPad:"left"}));return"0x"===t?"0x0":t},r.hexStripZeros=y,r.hexZeroPad=g,r.splitSignature=w,r.joinSignature=function(e){return b(l([(e=w(e)).r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}}}},{package:"ethers>@ethersproject/bytes",file:"node_modules/ethers/node_modules/@ethersproject/bytes/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/bytes/node_modules/@ethersproject/logger/lib/_version.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="logger/5.8.0"}}},{package:"ethers>@ethersproject/bytes>@ethersproject/logger",file:"node_modules/ethers/node_modules/@ethersproject/bytes/node_modules/@ethersproject/logger/lib/_version.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/bytes/node_modules/@ethersproject/logger/lib/index.js",{"./_version":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/bytes/node_modules/@ethersproject/logger/lib/_version.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Logger=r.ErrorCode=r.LogLevel=void 0;var n=!1,o=!1,s={debug:1,default:2,info:2,warning:3,error:4,off:5},i=s.default,a=e("./_version"),u=null;var c,d,f=function(){try{var e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(function(t){try{if("test"!=="test".normalize(t))throw new Error("bad normalize")}catch(r){e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(c=r.LogLevel||(r.LogLevel={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(d=r.ErrorCode||(r.ErrorCode={}));var l="0123456789abcdef",h=function(){function e(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}return e.prototype._log=function(e,t){var r=e.toLowerCase();null==s[r]&&this.throwArgumentError("invalid log level name","logLevel",e),i>s[r]||console.log.apply(console,t)},e.prototype.debug=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._log(e.levels.DEBUG,t)},e.prototype.info=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._log(e.levels.INFO,t)},e.prototype.warn=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._log(e.levels.WARNING,t)},e.prototype.makeError=function(t,r,n){if(o)return this.makeError("censored error",r,{});r||(r=e.errors.UNKNOWN_ERROR),n||(n={});var s=[];Object.keys(n).forEach(function(e){var t=n[e];try{if(t instanceof Uint8Array){for(var r="",o=0;o<t.length;o++)r+=l[t[o]>>4],r+=l[15&t[o]];s.push(e+"=Uint8Array(0x"+r+")")}else s.push(e+"="+JSON.stringify(t))}catch(t){s.push(e+"="+JSON.stringify(n[e].toString()))}}),s.push("code="+r),s.push("version="+this.version);var i=t,a="";switch(r){case d.NUMERIC_FAULT:a="NUMERIC_FAULT";var u=t;switch(u){case"overflow":case"underflow":case"division-by-zero":a+="-"+u;break;case"negative-power":case"negative-width":a+="-unsupported";break;case"unbound-bitwise-result":a+="-unbound-result"}break;case d.CALL_EXCEPTION:case d.INSUFFICIENT_FUNDS:case d.MISSING_NEW:case d.NONCE_EXPIRED:case d.REPLACEMENT_UNDERPRICED:case d.TRANSACTION_REPLACED:case d.UNPREDICTABLE_GAS_LIMIT:a=r}a&&(t+=" [ See: https://links.ethers.org/v5-errors-"+a+" ]"),s.length&&(t+=" ("+s.join(", ")+")");var c=new Error(t);return c.reason=i,c.code=r,Object.keys(n).forEach(function(e){c[e]=n[e]}),c},e.prototype.throwError=function(e,t,r){throw this.makeError(e,t,r)},e.prototype.throwArgumentError=function(t,r,n){return this.throwError(t,e.errors.INVALID_ARGUMENT,{argument:r,value:n})},e.prototype.assert=function(e,t,r,n){e||this.throwError(t,r,n)},e.prototype.assertArgument=function(e,t,r,n){e||this.throwArgumentError(t,r,n)},e.prototype.checkNormalize=function(t){null==t&&(t="platform missing String.prototype.normalize"),f&&this.throwError("platform missing String.prototype.normalize",e.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:f})},e.prototype.checkSafeUint53=function(t,r){"number"==typeof t&&(null==r&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))},e.prototype.checkArgumentCount=function(t,r,n){n=n?": "+n:"",t<r&&this.throwError("missing argument"+n,e.errors.MISSING_ARGUMENT,{count:t,expectedCount:r}),t>r&&this.throwError("too many arguments"+n,e.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})},e.prototype.checkNew=function(t,r){t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})},e.prototype.checkAbstract=function(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",e.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})},e.globalLogger=function(){return u||(u=new e(a.version)),u},e.setCensorship=function(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),n){if(!t)return;this.globalLogger().throwError("error censorship permanent",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}o=!!t,n=!!r},e.setLogLevel=function(t){var r=s[t.toLowerCase()];null!=r?i=r:e.globalLogger().warn("invalid log level - "+t)},e.from=function(t){return new e(t)},e.errors=d,e.levels=c,e}();r.Logger=h}}},{package:"ethers>@ethersproject/bytes>@ethersproject/logger",file:"node_modules/ethers/node_modules/@ethersproject/bytes/node_modules/@ethersproject/logger/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/keccak256/lib/index.js",{"@ethersproject/bytes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/bytes/lib/index.js","js-sha3":"/home/runner/work/metamask-extension/metamask-extension/node_modules/js-sha3/src/sha3.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.keccak256=void 0;var o=n(e("js-sha3")),s=e("@ethersproject/bytes");r.keccak256=function(e){return"0x"+o.default.keccak_256((0,s.arrayify)(e))}}}},{package:"ethers>@ethersproject/keccak256",file:"node_modules/ethers/node_modules/@ethersproject/keccak256/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/bytes/lib/_version.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="bytes/5.8.0"}}},{package:"ethers>@ethersproject/keccak256>@ethersproject/bytes",file:"node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/bytes/lib/_version.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/bytes/lib/index.js",{"./_version":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/bytes/lib/_version.js","@ethersproject/logger":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/logger/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.joinSignature=r.splitSignature=r.hexZeroPad=r.hexStripZeros=r.hexValue=r.hexConcat=r.hexDataSlice=r.hexDataLength=r.hexlify=r.isHexString=r.zeroPad=r.stripZeros=r.concat=r.arrayify=r.isBytes=r.isBytesLike=void 0;var n=e("@ethersproject/logger"),o=e("./_version"),s=new n.Logger(o.version);function i(e){return!!e.toHexString}function a(e){return e.slice||(e.slice=function(){var t=Array.prototype.slice.call(arguments);return a(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function u(e){return m(e)&&!(e.length%2)||d(e)}function c(e){return"number"==typeof e&&e==e&&e%1==0}function d(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"==typeof e)return!1;if(!c(e.length)||e.length<0)return!1;for(var t=0;t<e.length;t++){var r=e[t];if(!c(r)||r<0||r>=256)return!1}return!0}function f(e,t){if(t||(t={}),"number"==typeof e){s.checkSafeUint53(e,"invalid arrayify value");for(var r=[];e;)r.unshift(255&e),e=parseInt(String(e/256));return 0===r.length&&r.push(0),a(new Uint8Array(r))}if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),i(e)&&(e=e.toHexString()),m(e)){var n=e.substring(2);n.length%2&&("left"===t.hexPad?n="0"+n:"right"===t.hexPad?n+="0":s.throwArgumentError("hex data is odd-length","value",e));r=[];for(var o=0;o<n.length;o+=2)r.push(parseInt(n.substring(o,o+2),16));return a(new Uint8Array(r))}return d(e)?a(new Uint8Array(e)):s.throwArgumentError("invalid arrayify value","value",e)}function l(e){var t=e.map(function(e){return f(e)}),r=t.reduce(function(e,t){return e+t.length},0),n=new Uint8Array(r);return t.reduce(function(e,t){return n.set(t,e),e+t.length},0),a(n)}function h(e,t){(e=f(e)).length>t&&s.throwArgumentError("value out of range","value",arguments[0]);var r=new Uint8Array(t);return r.set(e,t-e.length),a(r)}function m(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}r.isBytesLike=u,r.isBytes=d,r.arrayify=f,r.concat=l,r.stripZeros=function(e){var t=f(e);if(0===t.length)return t;for(var r=0;r<t.length&&0===t[r];)r++;return r&&(t=t.slice(r)),t},r.zeroPad=h,r.isHexString=m;var p="0123456789abcdef";function b(e,t){if(t||(t={}),"number"==typeof e){s.checkSafeUint53(e,"invalid hexlify value");for(var r="";e;)r=p[15&e]+r,e=Math.floor(e/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if("bigint"==typeof e)return(e=e.toString(16)).length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),i(e))return e.toHexString();if(m(e))return e.length%2&&("left"===t.hexPad?e="0x0"+e.substring(2):"right"===t.hexPad?e+="0":s.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(d(e)){for(var n="0x",o=0;o<e.length;o++){var a=e[o];n+=p[(240&a)>>4]+p[15&a]}return n}return s.throwArgumentError("invalid hexlify value","value",e)}function y(e){"string"!=typeof e&&(e=b(e)),m(e)||s.throwArgumentError("invalid hex string","value",e),e=e.substring(2);for(var t=0;t<e.length&&"0"===e[t];)t++;return"0x"+e.substring(t)}function g(e,t){for("string"!=typeof e?e=b(e):m(e)||s.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&s.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function w(e){var t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(u(e)){var r=f(e);64===r.length?(t.v=27+(r[32]>>7),r[32]&=127,t.r=b(r.slice(0,32)),t.s=b(r.slice(32,64))):65===r.length?(t.r=b(r.slice(0,32)),t.s=b(r.slice(32,64)),t.v=r[64]):s.throwArgumentError("invalid signature string","signature",e),t.v<27&&(0===t.v||1===t.v?t.v+=27:s.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(r[32]|=128),t._vs=b(r.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,null!=t._vs){var n=h(f(t._vs),32);t._vs=b(n);var o=n[0]>=128?1:0;null==t.recoveryParam?t.recoveryParam=o:t.recoveryParam!==o&&s.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),n[0]&=127;var i=b(n);null==t.s?t.s=i:t.s!==i&&s.throwArgumentError("signature v mismatch _vs","signature",e)}if(null==t.recoveryParam)null==t.v?s.throwArgumentError("signature missing v and recoveryParam","signature",e):0===t.v||1===t.v?t.recoveryParam=t.v:t.recoveryParam=1-t.v%2;else if(null==t.v)t.v=27+t.recoveryParam;else{var a=0===t.v||1===t.v?t.v:1-t.v%2;t.recoveryParam!==a&&s.throwArgumentError("signature recoveryParam mismatch v","signature",e)}null!=t.r&&m(t.r)?t.r=g(t.r,32):s.throwArgumentError("signature missing or invalid r","signature",e),null!=t.s&&m(t.s)?t.s=g(t.s,32):s.throwArgumentError("signature missing or invalid s","signature",e);var c=f(t.s);c[0]>=128&&s.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(c[0]|=128);var d=b(c);t._vs&&(m(t._vs)||s.throwArgumentError("signature invalid _vs","signature",e),t._vs=g(t._vs,32)),null==t._vs?t._vs=d:t._vs!==d&&s.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t.yParityAndS=t._vs,t.compact=t.r+t.yParityAndS.substring(2),t}r.hexlify=b,r.hexDataLength=function(e){if("string"!=typeof e)e=b(e);else if(!m(e)||e.length%2)return null;return(e.length-2)/2},r.hexDataSlice=function(e,t,r){return"string"!=typeof e?e=b(e):(!m(e)||e.length%2)&&s.throwArgumentError("invalid hexData","value",e),t=2+2*t,null!=r?"0x"+e.substring(t,2+2*r):"0x"+e.substring(t)},r.hexConcat=function(e){var t="0x";return e.forEach(function(e){t+=b(e).substring(2)}),t},r.hexValue=function(e){var t=y(b(e,{hexPad:"left"}));return"0x"===t?"0x0":t},r.hexStripZeros=y,r.hexZeroPad=g,r.splitSignature=w,r.joinSignature=function(e){return b(l([(e=w(e)).r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}}}},{package:"ethers>@ethersproject/keccak256>@ethersproject/bytes",file:"node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/bytes/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/logger/lib/_version.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="logger/5.8.0"}}},{package:"ethers>@ethersproject/keccak256>@ethersproject/bytes>@ethersproject/logger",file:"node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/logger/lib/_version.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/logger/lib/index.js",{"./_version":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/logger/lib/_version.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Logger=r.ErrorCode=r.LogLevel=void 0;var n=!1,o=!1,s={debug:1,default:2,info:2,warning:3,error:4,off:5},i=s.default,a=e("./_version"),u=null;var c,d,f=function(){try{var e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(function(t){try{if("test"!=="test".normalize(t))throw new Error("bad normalize")}catch(r){e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(c=r.LogLevel||(r.LogLevel={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(d=r.ErrorCode||(r.ErrorCode={}));var l="0123456789abcdef",h=function(){function e(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}return e.prototype._log=function(e,t){var r=e.toLowerCase();null==s[r]&&this.throwArgumentError("invalid log level name","logLevel",e),i>s[r]||console.log.apply(console,t)},e.prototype.debug=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._log(e.levels.DEBUG,t)},e.prototype.info=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._log(e.levels.INFO,t)},e.prototype.warn=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._log(e.levels.WARNING,t)},e.prototype.makeError=function(t,r,n){if(o)return this.makeError("censored error",r,{});r||(r=e.errors.UNKNOWN_ERROR),n||(n={});var s=[];Object.keys(n).forEach(function(e){var t=n[e];try{if(t instanceof Uint8Array){for(var r="",o=0;o<t.length;o++)r+=l[t[o]>>4],r+=l[15&t[o]];s.push(e+"=Uint8Array(0x"+r+")")}else s.push(e+"="+JSON.stringify(t))}catch(t){s.push(e+"="+JSON.stringify(n[e].toString()))}}),s.push("code="+r),s.push("version="+this.version);var i=t,a="";switch(r){case d.NUMERIC_FAULT:a="NUMERIC_FAULT";var u=t;switch(u){case"overflow":case"underflow":case"division-by-zero":a+="-"+u;break;case"negative-power":case"negative-width":a+="-unsupported";break;case"unbound-bitwise-result":a+="-unbound-result"}break;case d.CALL_EXCEPTION:case d.INSUFFICIENT_FUNDS:case d.MISSING_NEW:case d.NONCE_EXPIRED:case d.REPLACEMENT_UNDERPRICED:case d.TRANSACTION_REPLACED:case d.UNPREDICTABLE_GAS_LIMIT:a=r}a&&(t+=" [ See: https://links.ethers.org/v5-errors-"+a+" ]"),s.length&&(t+=" ("+s.join(", ")+")");var c=new Error(t);return c.reason=i,c.code=r,Object.keys(n).forEach(function(e){c[e]=n[e]}),c},e.prototype.throwError=function(e,t,r){throw this.makeError(e,t,r)},e.prototype.throwArgumentError=function(t,r,n){return this.throwError(t,e.errors.INVALID_ARGUMENT,{argument:r,value:n})},e.prototype.assert=function(e,t,r,n){e||this.throwError(t,r,n)},e.prototype.assertArgument=function(e,t,r,n){e||this.throwArgumentError(t,r,n)},e.prototype.checkNormalize=function(t){null==t&&(t="platform missing String.prototype.normalize"),f&&this.throwError("platform missing String.prototype.normalize",e.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:f})},e.prototype.checkSafeUint53=function(t,r){"number"==typeof t&&(null==r&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))},e.prototype.checkArgumentCount=function(t,r,n){n=n?": "+n:"",t<r&&this.throwError("missing argument"+n,e.errors.MISSING_ARGUMENT,{count:t,expectedCount:r}),t>r&&this.throwError("too many arguments"+n,e.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})},e.prototype.checkNew=function(t,r){t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})},e.prototype.checkAbstract=function(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",e.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})},e.globalLogger=function(){return u||(u=new e(a.version)),u},e.setCensorship=function(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),n){if(!t)return;this.globalLogger().throwError("error censorship permanent",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}o=!!t,n=!!r},e.setLogLevel=function(t){var r=s[t.toLowerCase()];null!=r?i=r:e.globalLogger().warn("invalid log level - "+t)},e.from=function(t){return new e(t)},e.errors=d,e.levels=c,e}();r.Logger=h}}},{package:"ethers>@ethersproject/keccak256>@ethersproject/bytes>@ethersproject/logger",file:"node_modules/ethers/node_modules/@ethersproject/keccak256/node_modules/@ethersproject/logger/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/logger/lib/_version.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="logger/5.7.0"}}},{package:"ethers>@ethersproject/logger",file:"node_modules/ethers/node_modules/@ethersproject/logger/lib/_version.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/logger/lib/index.js",{"./_version":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/node_modules/@ethersproject/logger/lib/_version.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Logger=r.ErrorCode=r.LogLevel=void 0;var n=!1,o=!1,s={debug:1,default:2,info:2,warning:3,error:4,off:5},i=s.default,a=e("./_version"),u=null;var c,d,f=function(){try{var e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(function(t){try{if("test"!=="test".normalize(t))throw new Error("bad normalize")}catch(r){e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(c=r.LogLevel||(r.LogLevel={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(d=r.ErrorCode||(r.ErrorCode={}));var l="0123456789abcdef",h=function(){function e(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}return e.prototype._log=function(e,t){var r=e.toLowerCase();null==s[r]&&this.throwArgumentError("invalid log level name","logLevel",e),i>s[r]||console.log.apply(console,t)},e.prototype.debug=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._log(e.levels.DEBUG,t)},e.prototype.info=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._log(e.levels.INFO,t)},e.prototype.warn=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._log(e.levels.WARNING,t)},e.prototype.makeError=function(t,r,n){if(o)return this.makeError("censored error",r,{});r||(r=e.errors.UNKNOWN_ERROR),n||(n={});var s=[];Object.keys(n).forEach(function(e){var t=n[e];try{if(t instanceof Uint8Array){for(var r="",o=0;o<t.length;o++)r+=l[t[o]>>4],r+=l[15&t[o]];s.push(e+"=Uint8Array(0x"+r+")")}else s.push(e+"="+JSON.stringify(t))}catch(t){s.push(e+"="+JSON.stringify(n[e].toString()))}}),s.push("code="+r),s.push("version="+this.version);var i=t,a="";switch(r){case d.NUMERIC_FAULT:a="NUMERIC_FAULT";var u=t;switch(u){case"overflow":case"underflow":case"division-by-zero":a+="-"+u;break;case"negative-power":case"negative-width":a+="-unsupported";break;case"unbound-bitwise-result":a+="-unbound-result"}break;case d.CALL_EXCEPTION:case d.INSUFFICIENT_FUNDS:case d.MISSING_NEW:case d.NONCE_EXPIRED:case d.REPLACEMENT_UNDERPRICED:case d.TRANSACTION_REPLACED:case d.UNPREDICTABLE_GAS_LIMIT:a=r}a&&(t+=" [ See: https://links.ethers.org/v5-errors-"+a+" ]"),s.length&&(t+=" ("+s.join(", ")+")");var c=new Error(t);return c.reason=i,c.code=r,Object.keys(n).forEach(function(e){c[e]=n[e]}),c},e.prototype.throwError=function(e,t,r){throw this.makeError(e,t,r)},e.prototype.throwArgumentError=function(t,r,n){return this.throwError(t,e.errors.INVALID_ARGUMENT,{argument:r,value:n})},e.prototype.assert=function(e,t,r,n){e||this.throwError(t,r,n)},e.prototype.assertArgument=function(e,t,r,n){e||this.throwArgumentError(t,r,n)},e.prototype.checkNormalize=function(t){null==t&&(t="platform missing String.prototype.normalize"),f&&this.throwError("platform missing String.prototype.normalize",e.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:f})},e.prototype.checkSafeUint53=function(t,r){"number"==typeof t&&(null==r&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))},e.prototype.checkArgumentCount=function(t,r,n){n=n?": "+n:"",t<r&&this.throwError("missing argument"+n,e.errors.MISSING_ARGUMENT,{count:t,expectedCount:r}),t>r&&this.throwError("too many arguments"+n,e.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})},e.prototype.checkNew=function(t,r){t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})},e.prototype.checkAbstract=function(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",e.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})},e.globalLogger=function(){return u||(u=new e(a.version)),u},e.setCensorship=function(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),n){if(!t)return;this.globalLogger().throwError("error censorship permanent",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}o=!!t,n=!!r},e.setLogLevel=function(t){var r=s[t.toLowerCase()];null!=r?i=r:e.globalLogger().warn("invalid log level - "+t)},e.from=function(t){return new e(t)},e.errors=d,e.levels=c,e}();r.Logger=h}}},{package:"ethers>@ethersproject/logger",file:"node_modules/ethers/node_modules/@ethersproject/logger/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethjs-abi/lib/index.js",{"./utils/index.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethjs-abi/lib/utils/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,r){(function(r){(function(){var n=e("./utils/index.js"),o=n.uint256Coder,s=(n.coderBoolean,n.coderFixedBytes,n.coderAddress,n.coderDynamicBytes,n.coderString,n.coderArray,n.paramTypePart,n.getParamCoder);function i(){}function a(e,t){if(e.length!==t.length)throw new Error("[ethjs-abi] while encoding params, types/values mismatch, Your contract requires "+e.length+" types (arguments), and you passed in "+t.length);var n=[];function i(e){return parseInt(32*Math.ceil(e/32))}e.forEach(function(e,r){var o=s(e);n.push({dynamic:o.dynamic,value:o.encode(t[r])})});var a=0,u=0;n.forEach(function(e){e.dynamic?(a+=32,u+=i(e.value.length)):a+=i(e.value.length)});var c=0,d=a,f=new r(a+u);return n.forEach(function(e,t){e.dynamic?(o.encode(d).copy(f,c),c+=32,e.value.copy(f,d),d+=i(e.value.length)):(e.value.copy(f,c),c+=i(e.value.length))}),"0x"+f.toString("hex")}function u(e,t,r){var a=!(arguments.length>3&&arguments[3]!==undefined)||arguments[3];arguments.length<3&&(r=t,t=e,e=[]),r=n.hexOrBuffer(r);var u=new i,c=0;return t.forEach(function(t,n){var i=s(t);if(i.dynamic){var d=o.decode(r,c),f=i.decode(r,d.value.toNumber());c+=d.consumed}else{f=i.decode(r,c);c+=f.consumed}a&&(u[n]=f.value),e[n]&&(u[e[n]]=f.value)}),u}function c(e){var t=e.name+"("+n.getKeys(e.inputs,"type").join(",")+")";return"0x"+new r(n.keccak256(t),"hex").slice(0,4).toString("hex")}function d(e,t){var r=a(n.getKeys(e.inputs,"type"),t).substring(2);return""+c(e)+r}function f(e){var t=e.name+"("+n.getKeys(e.inputs,"type").join(",")+")";return"0x"+n.keccak256(t)}function l(e,t,o){var i=!(arguments.length>3&&arguments[3]!==undefined)||arguments[3],a=e.inputs.filter(function(e){return!e.indexed}),c=u(n.getKeys(a,"name",!0),n.getKeys(a,"type"),n.hexOrBuffer(t),i),d=e.anonymous?0:1;return e.inputs.filter(function(e){return e.indexed}).map(function(e,t){var n=new r(o[t+d].slice(2),"hex"),i=s(e.type);c[e.name]=i.decode(n,0).value}),c._eventName=e.name,c}function h(e,t){var r=!(arguments.length>2&&arguments[2]!==undefined)||arguments[2];if(e&&t.topics[0]===f(e))return l(e,t.data,t.topics,r)}t.exports={encodeParams:a,decodeParams:u,encodeMethod:d,decodeMethod:function(e,t){return u(n.getKeys(e.outputs,"name",!0),n.getKeys(e.outputs,"type"),n.hexOrBuffer(t))},encodeEvent:function(e,t){return d(e,t)},decodeEvent:l,decodeLogItem:h,logDecoder:function(e){var t=!(arguments.length>1&&arguments[1]!==undefined)||arguments[1],r={};return e.filter(function(e){return"event"===e.type}).map(function(e){r[f(e)]=e}),function(e){return e.map(function(e){return h(r[e.topics[0]],e,t)}).filter(function(e){return e})}},eventSignature:f,encodeSignature:c}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"eth-method-registry>@metamask/ethjs-contract>ethjs-abi",file:"node_modules/ethjs-abi/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethjs-abi/lib/utils/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","js-sha3":"/home/runner/work/metamask-extension/metamask-extension/node_modules/js-sha3/src/sha3.js","number-to-bn":"/home/runner/work/metamask-extension/metamask-extension/node_modules/number-to-bn/src/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("bn.js"),o=e("number-to-bn"),s=e("js-sha3").keccak_256;function i(e){for(var t=e,r=t[0];t.length>0&&"0"===r.toString();)r=(t=t.slice(1))[0];return t}function a(e){var t=e.toString(16);return t.length%2&&(t="0"+t),i(new r(t,"hex"))}function u(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}function c(e,t){var n=e;if(!r.isBuffer(n)){if(!u(n)){var o=new Error(t?"[ethjs-abi] invalid "+t:"[ethjs-abi] invalid hex or buffer, must be a prefixed alphanumeric even length hex string");throw o.reason="[ethjs-abi] invalid hex string, hex must be prefixed and alphanumeric (e.g. 0x023..)",o.value=n,o}(n=n.substring(2)).length%2&&(n="0"+n),n=new r(n,"hex")}return n}function d(e,t){return{encode:function(n){var s=n;return"object"==typeof s&&s.toString&&(s.toTwos||s.dividedToIntegerBy)&&(s=s.toString(10).split(".")[0]),"string"!=typeof s&&"number"!=typeof s||(s=String(s).split(".")[0]),s=(s=o(s)).toTwos(8*e).maskn(8*e),t&&(s=s.fromTwos(8*e).toTwos(256)),s.toArrayLike(r,"be",32)},decode:function(r,o){var s=32-e,i=new n(r.slice(o+s,o+32));return i=t?i.fromTwos(8*e):i.maskn(8*e),{consumed:32,value:new n(i.toString(10))}}}}var f=d(32,!1),l={encode:function(e){return f.encode(e?1:0)},decode:function(e,t){var r=f.decode(e,t);return{consumed:r.consumed,value:!r.value.isZero()}}};function h(e){return{encode:function(e){var t=e;if(32===(t=c(t)).length)return t;var n=new r(32);return n.fill(0),t.copy(n),n},decode:function(t,r){if(0!==t.length&&t.length<r+32)throw new Error("[ethjs-abi] while decoding fixed bytes, invalid bytes data length: "+e);return{consumed:32,value:"0x"+t.slice(r,r+e).toString("hex")}}}}var m={encode:function(e){var t=e,n=new r(32);if(!u(t,20))throw new Error("[ethjs-abi] while encoding address, invalid address value, not alphanumeric 20 byte hex string");return t=c(t),n.fill(0),t.copy(n,12),n},decode:function(e,t){if(0===e.length)return{consumed:32,value:"0x"};if(0!==e.length&&e.length<t+32)throw new Error("[ethjs-abi] while decoding address data, invalid address data, invalid byte length "+e.length);return{consumed:32,value:"0x"+e.slice(t+12,t+32).toString("hex")}}};function p(e){var t=parseInt(32*Math.ceil(e.length/32)),n=new r(t-e.length);return n.fill(0),r.concat([f.encode(e.length),e,n])}function b(e,t){if(0!==e.length&&e.length<t+32)throw new Error("[ethjs-abi] while decoding dynamic bytes data, invalid bytes length: "+e.length+" should be less than "+(t+32));var r=f.decode(e,t).value;if(r=r.toNumber(),0!==e.length&&e.length<t+32+r)throw new Error("[ethjs-abi] while decoding dynamic bytes data, invalid bytes length: "+e.length+" should be less than "+(t+32+r));return{consumed:parseInt(32+32*Math.ceil(r/32),10),value:e.slice(t+32,t+32+r)}}var y={encode:function(e){return p(c(e))},decode:function(e,t){var r=b(e,t);return r.value="0x"+r.value.toString("hex"),r},dynamic:!0},g={encode:function(e){return p(new r(e,"utf8"))},decode:function(e,t){var r=b(e,t);return r.value=r.value.toString("utf8"),r},dynamic:!0};function w(e,t){return{encode:function(n){var o=new r(0),s=t;if(!Array.isArray(n))throw new Error("[ethjs-abi] while encoding array, invalid array data, not type Object (Array)");if(-1===s&&(s=n.length,o=f.encode(s)),s!==n.length)throw new Error("[ethjs-abi] while encoding array, size mismatch array length "+s+" does not equal "+n.length);return n.forEach(function(t){o=r.concat([o,e.encode(t)])}),o},decode:function(r,n){var o,s=t,i=n,a=0;-1===s&&(s=(o=f.decode(r,i)).value.toNumber(),a+=o.consumed,i+=o.consumed);for(var u=[],c=0;c<s;c++){var d=e.decode(r,i);a+=d.consumed,i+=d.consumed,u.push(d.value)}return{consumed:a,value:u}},dynamic:-1===t}}var k=new RegExp(/^((u?int|bytes)([0-9]*)|(address|bool|string)|(\[([0-9]*)\]))/);t.exports={BN:n,bnToBuffer:a,isHexString:u,hexOrBuffer:c,hexlify:function(e){return"number"==typeof e?"0x"+a(new n(e)).toString("hex"):e.mod||e.modulo?"0x"+a(e).toString("hex"):"0x"+c(e).toString("hex")},stripZeros:i,keccak256:s,getKeys:function(e,t,r){var n=[];if(!Array.isArray(e))throw new Error("[ethjs-abi] while getting keys, invalid params value "+JSON.stringify(e));for(var o=0;o<e.length;o++){var s=e[o][t];if(r&&!s)s="";else if("string"!=typeof s)throw new Error("[ethjs-abi] while getKeys found invalid ABI data structure, type value not string");n.push(s)}return n},numberToBN:o,coderNumber:d,uint256Coder:f,coderBoolean:l,coderFixedBytes:h,coderAddress:m,coderDynamicBytes:y,coderString:g,coderArray:w,paramTypePart:k,getParamCoder:function(e){for(var t=e,r=null,n="[ethjs-abi] while getting param coder (getParamCoder) type value "+JSON.stringify(t)+" is either invalid or unsupported by ethjs-abi.";t;){var o=t.match(k);if(!o)throw new Error(n);t=t.substring(o[0].length);var s=o[2]||o[4]||o[5];switch(s){case"int":case"uint":if(r)throw new Error(n);var i=parseInt(o[3]||256);if(0===i||i>256||i%8!=0)throw new Error("[ethjs-abi] while getting param coder for type "+t+", invalid "+s+"<N> width: "+t);r=d(i/8,"int"===s);break;case"bool":if(r)throw new Error(n);r=l;break;case"string":if(r)throw new Error(n);r=g;break;case"bytes":if(r)throw new Error(n);if(o[3]){var a=parseInt(o[3]);if(0===a||a>32)throw new Error("[ethjs-abi] while getting param coder for prefix bytes, invalid type "+t+", size "+a+" should be 0 or greater than 32");r=h(a)}else r=y;break;case"address":if(r)throw new Error(n);r=m;break;case"[]":if(!r||r.dynamic)throw new Error(n);r=w(r,-1);break;default:if(!r||r.dynamic)throw new Error(n);r=w(r,parseInt(o[6]))}}if(!r)throw new Error(n);return r}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"eth-method-registry>@metamask/ethjs-contract>ethjs-abi",file:"node_modules/ethjs-abi/lib/utils/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ethjs-schema/src/schema.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={methods:{web3_clientVersion:[[],"S"],web3_sha3:[["S"],"D",1],net_version:[[],"S"],net_peerCount:[[],"Q"],net_listening:[[],"B"],personal_sign:[["D","D20","S"],"D",2],personal_ecRecover:[["D","D"],"D20",2],eth_protocolVersion:[[],"S"],eth_syncing:[[],"B|EthSyncing"],eth_coinbase:[[],"D20"],eth_mining:[[],"B"],eth_hashrate:[[],"Q"],eth_gasPrice:[[],"Q"],eth_accounts:[[],["D20"]],eth_blockNumber:[[],"Q"],eth_getBalance:[["D20","Q|T"],"Q",1,2],eth_getStorageAt:[["D20","Q","Q|T"],"D",2,2],eth_getTransactionCount:[["D20","Q|T"],"Q",1,2],eth_getBlockTransactionCountByHash:[["D32"],"Q",1],eth_getBlockTransactionCountByNumber:[["Q|T"],"Q",1],eth_getUncleCountByBlockHash:[["D32"],"Q",1],eth_getUncleCountByBlockNumber:[["Q"],"Q",1],eth_getCode:[["D20","Q|T"],"D",1,2],eth_sign:[["D20","D"],"D",2],eth_signTypedData:[["Array|DATA","D20"],"D",1],eth_sendTransaction:[["SendTransaction"],"D",1],eth_sendRawTransaction:[["D"],"D32",1],eth_call:[["CallTransaction","Q|T"],"D",1,2],eth_estimateGas:[["EstimateTransaction","Q|T"],"Q",1],eth_getBlockByHash:[["D32","B"],"Block",2],eth_getBlockByNumber:[["Q|T","B"],"Block",2],eth_getTransactionByHash:[["D32"],"Transaction",1],eth_getTransactionByBlockHashAndIndex:[["D32","Q"],"Transaction",2],eth_getTransactionByBlockNumberAndIndex:[["Q|T","Q"],"Transaction",2],eth_getTransactionReceipt:[["D32"],"Receipt",1],eth_getUncleByBlockHashAndIndex:[["D32","Q"],"Block",1],eth_getUncleByBlockNumberAndIndex:[["Q|T","Q"],"Block",2],eth_getCompilers:[[],["S"]],eth_compileLLL:[["S"],"D",1],eth_compileSolidity:[["S"],"D",1],eth_compileSerpent:[["S"],"D",1],eth_newFilter:[["Filter"],"Q",1],eth_newBlockFilter:[[],"Q"],eth_newPendingTransactionFilter:[[],"Q"],eth_uninstallFilter:[["QP"],"B",1],eth_getFilterChanges:[["QP"],["FilterChange"],1],eth_getFilterLogs:[["QP"],["FilterChange"],1],eth_getLogs:[["Filter"],["FilterChange"],1],eth_getWork:[[],["D"]],eth_submitWork:[["D","D32","D32"],"B",3],eth_submitHashrate:[["D","D"],"B",2],db_putString:[["S","S","S"],"B",2],db_getString:[["S","S"],"S",2],db_putHex:[["S","S","D"],"B",2],db_getHex:[["S","S"],"D",2],shh_post:[["SHHPost"],"B",1],shh_version:[[],"S"],shh_newIdentity:[[],"D"],shh_hasIdentity:[["D"],"B"],shh_newGroup:[[],"D"],shh_addToGroup:[["D"],"B",1],shh_newFilter:[["SHHFilter"],"Q",1],shh_uninstallFilter:[["Q"],"B",1],shh_getFilterChanges:[["Q"],["SHHFilterChange"],1],shh_getMessages:[["Q"],["SHHFilterChange"],1]},tags:["latest","earliest","pending"],objects:{EthSyncing:{__required:[],startingBlock:"Q",currentBlock:"Q",highestBlock:"Q"},SendTransaction:{__required:["from","data"],from:"D20",to:"D20",gas:"Q",gasPrice:"Q",value:"Q",data:"D",nonce:"Q"},EstimateTransaction:{__required:[],from:"D20",to:"D20",gas:"Q",gasPrice:"Q",value:"Q",data:"D",nonce:"Q"},CallTransaction:{__required:["to"],from:"D20",to:"D20",gas:"Q",gasPrice:"Q",value:"Q",data:"D",nonce:"Q"},Block:{__required:[],number:"Q",hash:"D32",parentHash:"D32",nonce:"D",sha3Uncles:"D",logsBloom:"D",transactionsRoot:"D",stateRoot:"D",receiptsRoot:"D",miner:"D",difficulty:"Q",totalDifficulty:"Q",extraData:"D",size:"Q",gasLimit:"Q",gasUsed:"Q",timestamp:"Q",transactions:["DATA|Transaction"],uncles:["D"]},Transaction:{__required:[],hash:"D32",nonce:"Q",blockHash:"D32",blockNumber:"Q",transactionIndex:"Q",from:"D20",to:"D20",value:"Q",gasPrice:"Q",gas:"Q",input:"D"},Receipt:{__required:[],transactionHash:"D32",transactionIndex:"Q",blockHash:"D32",blockNumber:"Q",cumulativeGasUsed:"Q",gasUsed:"Q",contractAddress:"D20",logs:["FilterChange"]},Filter:{__required:[],fromBlock:"Q|T",toBlock:"Q|T",address:"D20",topics:["D"]},FilterChange:{__required:[],removed:"B",logIndex:"Q",transactionIndex:"Q",transactionHash:"D32",blockHash:"D32",blockNumber:"Q",address:"D20",data:"Array|DATA",topics:["D"]},SHHPost:{__required:["topics","payload","priority","ttl"],from:"D",to:"D",topics:["D"],payload:"D",priority:"Q",ttl:"Q"},SHHFilter:{__required:["topics"],to:"D",topics:["D"]},SHHFilterChange:{__required:[],hash:"D",from:"D",to:"D",expiry:"Q",ttl:"Q",sent:"Q",topics:["D"],payload:"D",workProved:"Q"},SHHMessage:{__required:[],hash:"D",from:"D",to:"D",expiry:"Q",ttl:"Q",sent:"Q",topics:["D"],payload:"D",workProved:"Q"}}}}}},{package:"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>ethjs-schema",file:"node_modules/ethjs-schema/src/schema.json"}],["/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,r){var n,o="object"==typeof Reflect?Reflect:null,s=o&&"function"==typeof o.apply?o.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}t.exports=a,t.exports.once=function(e,t){return new Promise(function(r,n){function o(r){e.removeListener(t,s),n(r)}function s(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}y(e,t,s,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&y(e,"error",t,r)}(e,o,{once:!0})})},a.EventEmitter=a,a.prototype._events=undefined,a.prototype._eventsCount=0,a.prototype._maxListeners=undefined;var u=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function d(e){return e._maxListeners===undefined?a.defaultMaxListeners:e._maxListeners}function f(e,t,r,n){var o,s,i,a;if(c(r),(s=e._events)===undefined?(s=e._events=Object.create(null),e._eventsCount=0):(s.newListener!==undefined&&(e.emit("newListener",t,r.listener?r.listener:r),s=e._events),i=s[t]),i===undefined)i=s[t]=r,++e._eventsCount;else if("function"==typeof i?i=s[t]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),(o=d(e))>0&&i.length>o&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,a=u,console&&console.warn&&console.warn(a)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,r){var n={fired:!1,wrapFn:undefined,target:e,type:t,listener:r},o=l.bind(n);return o.listener=r,n.wrapFn=o,o}function m(e,t,r){var n=e._events;if(n===undefined)return[];var o=n[t];return o===undefined?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):b(o,o.length)}function p(e){var t=this._events;if(t!==undefined){var r=t[e];if("function"==typeof r)return 1;if(r!==undefined)return r.length}return 0}function b(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function y(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function o(s){n.once&&e.removeEventListener(t,o),r(s)})}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),a.init=function(){this._events!==undefined&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||undefined},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return d(this)},a.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,o=this._events;if(o!==undefined)n=n&&o.error===undefined;else if(!n)return!1;if(n){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var a=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw a.context=i,a}var u=o[e];if(u===undefined)return!1;if("function"==typeof u)s(u,this,t);else{var c=u.length,d=b(u,c);for(r=0;r<c;++r)s(d[r],this,t)}return!0},a.prototype.addListener=function(e,t){return f(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return f(this,e,t,!0)},a.prototype.once=function(e,t){return c(t),this.on(e,h(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,h(this,e,t)),this},a.prototype.removeListener=function(e,t){var r,n,o,s,i;if(c(t),(n=this._events)===undefined)return this;if((r=n[e])===undefined)return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,s=r.length-1;s>=0;s--)if(r[s]===t||r[s].listener===t){i=r[s].listener,o=s;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),n.removeListener!==undefined&&this.emit("removeListener",e,i||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,r,n;if((r=this._events)===undefined)return this;if(r.removeListener===undefined)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):r[e]!==undefined&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,s=Object.keys(r);for(n=0;n<s.length;++n)"removeListener"!==(o=s[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(t!==undefined)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return m(this,e,!0)},a.prototype.rawListeners=function(e){return m(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},a.prototype.listenerCount=p,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}}}},{package:"webpack>events",file:"node_modules/events/events.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/evp_bytestokey/index.js",{"md5.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/index.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,r){var n=e("safe-buffer").Buffer,o=e("md5.js");t.exports=function(e,t,r,s){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var i=r/8,a=n.alloc(i),u=n.alloc(s||0),c=n.alloc(0);i>0||s>0;){var d=new o;d.update(c),d.update(e),t&&d.update(t),c=d.digest();var f=0;if(i>0){var l=a.length-i;f=Math.min(i,c.length),c.copy(a,l,0,f),i-=f}if(f<c.length&&s>0){var h=u.length-s,m=Math.min(s,c.length-f);c.copy(u,h,f,f+m),s-=m}}return c.fill(0),{key:a,iv:u}}}}},{package:"crypto-browserify>browserify-cipher>evp_bytestokey",file:"node_modules/evp_bytestokey/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/dist/index.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","readable-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0});const n=e("readable-stream");class o extends n.Duplex{constructor(e){super({objectMode:!0}),this._port=e,this._port.onMessage.addListener(e=>this._onMessage(e)),this._port.onDisconnect.addListener(()=>this._onDisconnect()),this._log=()=>null}_onMessage(e){if(t.isBuffer(e)){const r=t.from(e);this._log(r,!1),this.push(r)}else this._log(e,!1),this.push(e)}_onDisconnect(){this.destroy()}_read(){return undefined}_write(e,r,n){try{if(t.isBuffer(e)){const t=e.toJSON();t._isBuffer=!0,this._log(t,!0),this._port.postMessage(t)}else this._log(e,!0),this._port.postMessage(e)}catch(e){return n(new Error("PortDuplexStream - disconnected"))}return n()}_setLogger(e){this._log=e}}r.default=o}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"extension-port-stream",file:"node_modules/extension-port-stream/dist/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/util.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{SymbolDispose:n}=e("../../ours/primordials"),{AbortError:o,codes:s}=e("../../ours/errors"),{isNodeStream:i,isWebStream:a,kControllerErrorFunction:u}=e("./utils"),c=e("./end-of-stream"),{ERR_INVALID_ARG_TYPE:d}=s;let f;t.exports.addAbortSignal=function(e,r){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new d(t,"AbortSignal",e)})(e,"signal"),!i(r)&&!a(r))throw new d("stream",["ReadableStream","WritableStream","Stream"],r);return t.exports.addAbortSignalNoValidate(e,r)},t.exports.addAbortSignalNoValidate=function(t,r){if("object"!=typeof t||!("aborted"in t))return r;const s=i(r)?()=>{r.destroy(new o(undefined,{cause:t.reason}))}:()=>{r[u](new o(undefined,{cause:t.reason}))};if(t.aborted)s();else{f=f||e("../../ours/util").addAbortListener;const o=f(t,s);c(r,o[n])}return r}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/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,r){const{StringPrototypeSlice:n,SymbolIterator:o,TypedArrayPrototypeSet:s,Uint8Array:i}=e("../../ours/primordials"),{Buffer:a}=e("buffer"),{inspect:u}=e("../../ours/util");t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,r=""+t.data;for(;null!==(t=t.next);)r+=e+t.data;return r}concat(e){if(0===this.length)return a.alloc(0);const t=a.allocUnsafe(e>>>0);let r=this.head,n=0;for(;r;)s(t,r.data,n),n+=r.data.length,r=r.next;return t}consume(e,t){const r=this.head.data;if(e<r.length){const t=r.slice(0,e);return this.head.data=r.slice(e),t}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[o](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",r=this.head,o=0;do{const s=r.data;if(!(e>s.length)){e===s.length?(t+=s,++o,r.next?this.head=r.next:this.head=this.tail=null):(t+=n(s,0,e),this.head=r,r.data=n(s,e));break}t+=s,e-=s.length,++o}while(null!==(r=r.next));return this.length-=o,t}_getBuffer(e){const t=a.allocUnsafe(e),r=e;let n=this.head,o=0;do{const a=n.data;if(!(e>a.length)){e===a.length?(s(t,a,r-e),++o,n.next?this.head=n.next:this.head=this.tail=null):(s(t,new i(a.buffer,a.byteOffset,e),r-e),this.head=n,n.data=a.slice(e));break}s(t,a,r-e),e-=a.length,++o}while(null!==(n=n.next));return this.length-=o,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return u(this,{...t,depth:0,customInspect:!1})}}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/compose.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/errors.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/duplex.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./pipeline":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{pipeline:n}=e("./pipeline"),o=e("./duplex"),{destroyer:s}=e("./destroy"),{isNodeStream:i,isReadable:a,isWritable:u,isWebStream:c,isTransformStream:d,isWritableStream:f,isReadableStream:l}=e("./utils"),{AbortError:h,codes:{ERR_INVALID_ARG_VALUE:m,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 r=0;r<e.length;++r)if(i(e[r])||c(e[r])){if(r<e.length-1&&!(a(e[r])||l(e[r])||d(e[r])))throw new m(`streams[${r}]`,t[r],"must be readable");if(r>0&&!(u(e[r])||f(e[r])||d(e[r])))throw new m(`streams[${r}]`,t[r],"must be writable")}let r,y,g,w,k;const _=e[0],v=n(e,function(e){const t=w;w=null,t?t(e):e?k.destroy(e):j||x||k.destroy()}),x=!!(u(_)||f(_)||d(_)),j=!!(a(v)||l(v)||d(v));if(k=new o({writableObjectMode:!(null===_||_===undefined||!_.writableObjectMode),readableObjectMode:!(null===v||v===undefined||!v.readableObjectMode),writable:x,readable:j}),x){if(i(_))k._write=function(e,t,n){_.write(e,t)?n():r=n},k._final=function(e){_.end(),y=e},_.on("drain",function(){if(r){const e=r;r=null,e()}});else if(c(_)){const e=(d(_)?_.writable:_).getWriter();k._write=async function(t,r,n){try{await e.ready,e.write(t).catch(()=>{}),n()}catch(e){n(e)}},k._final=async function(t){try{await e.ready,e.close().catch(()=>{}),y=t}catch(e){t(e)}}}const e=d(v)?v.readable:v;b(e,()=>{if(y){const e=y;y=null,e()}})}if(j)if(i(v))v.on("readable",function(){if(g){const e=g;g=null,e()}}),v.on("end",function(){k.push(null)}),k._read=function(){for(;;){const e=v.read();if(null===e)return void(g=k._read);if(!k.push(e))return}};else if(c(v)){const e=(d(v)?v.readable:v).getReader();k._read=async function(){for(;;)try{const{value:t,done:r}=await e.read();if(!k.push(t))return;if(r)return void k.push(null)}catch{return}}}return k._destroy=function(e,t){e||null===w||(e=new h),g=null,r=null,y=null,null===w?t(e):(w=t,i(v)&&s(v,e))},k}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/compose.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/destroy.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/primordials.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/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,r){const n=e("process/"),{aggregateTwoErrors:o,codes:{ERR_MULTIPLE_CALLBACK:s},AbortError:i}=e("../../ours/errors"),{Symbol:a}=e("../../ours/primordials"),{kIsDestroyed:u,isDestroyed:c,isFinished:d,isServerRequest:f}=e("./utils"),l=a("kDestroy"),h=a("kConstruct");function m(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function p(e,t,r){let o=!1;function s(t){if(o)return;o=!0;const s=e._readableState,i=e._writableState;m(t,i,s),i&&(i.closed=!0),s&&(s.closed=!0),"function"==typeof r&&r(t),t?n.nextTick(b,e,t):n.nextTick(y,e)}try{e._destroy(t||null,s)}catch(t){s(t)}}function b(e,t){g(e,t),y(e)}function y(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!==r&&r!==undefined&&r.emitClose||null!==t&&t!==undefined&&t.emitClose)&&e.emit("close")}function g(e,t){const r=e._readableState,n=e._writableState;null!==n&&n!==undefined&&n.errorEmitted||null!==r&&r!==undefined&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function w(e,t,r){const 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),r?n.nextTick(g,e,t):g(e,t))}function k(e){let t=!1;function r(r){if(t)return void w(e,null!==r&&r!==undefined?r:new s);t=!0;const o=e._readableState,i=e._writableState,a=i||o;o&&(o.constructed=!0),i&&(i.constructed=!0),a.destroyed?e.emit(l,r):r?w(e,r,!0):n.nextTick(_,e)}try{e._construct(e=>{n.nextTick(r,e)})}catch(e){n.nextTick(r,e)}}function _(e){e.emit(h)}function v(e){return(null===e||e===undefined?undefined:e.setHeader)&&"function"==typeof e.abort}function x(e){e.emit("close")}function j(e,t){e.emit("error",t),n.nextTick(x,e)}t.exports={construct:function(e,t){if("function"!=typeof e._construct)return;const r=e._readableState,o=e._writableState;r&&(r.constructed=!1),o&&(o.constructed=!1),e.once(h,t),e.listenerCount(h)>1||n.nextTick(k,e)},destroyer:function(e,t){e&&!c(e)&&(t||d(e)||(t=new i),f(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?n.nextTick(j,e,t):n.nextTick(x,e),e.destroyed||(e[u]=!0))},destroy:function(e,t){const r=this._readableState,n=this._writableState,s=n||r;return null!==n&&n!==undefined&&n.destroyed||null!==r&&r!==undefined&&r.destroyed?("function"==typeof t&&t(),this):(m(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),s.constructed?p(this,e,t):this.once(l,function(r){p(this,o(r,e),t)}),this)},undestroy:function(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:w}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/destroy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/duplex.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/primordials.js","./duplexify":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/duplexify.js","./readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/readable.js","./writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/writable.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:o,ObjectKeys:s,ObjectSetPrototypeOf:i}=e("../../ours/primordials");t.exports=c;const a=e("./readable"),u=e("./writable");i(c.prototype,a.prototype),i(c,a);{const e=s(u.prototype);for(let t=0;t<e.length;t++){const r=e[t];c.prototype[r]||(c.prototype[r]=u.prototype[r])}}function c(e){if(!(this instanceof c))return new c(e);a.call(this,e),u.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let d,f;function l(){return d===undefined&&(d={}),d}n(c.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)}}}),c.fromWeb=function(e,t){return l().newStreamDuplexFromReadableWritablePair(e,t)},c.toWeb=function(e){return l().newReadableWritablePairFromDuplex(e)},c.from=function(t){return f||(f=e("./duplexify")),f(t,"body")}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/duplex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/duplexify.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/util.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/duplex.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/from.js","./readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/readable.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/utils.js","./writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/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,r){const n=e("process/"),o=e("buffer"),{isReadable:s,isWritable:i,isIterable:a,isNodeStream:u,isReadableNodeStream:c,isWritableNodeStream:d,isDuplexNodeStream:f,isReadableStream:l,isWritableStream:h}=e("./utils"),m=e("./end-of-stream"),{AbortError:p,codes:{ERR_INVALID_ARG_TYPE:b,ERR_INVALID_RETURN_VALUE:y}}=e("../../ours/errors"),{destroyer:g}=e("./destroy"),w=e("./duplex"),k=e("./readable"),_=e("./writable"),{createDeferredPromise:v}=e("../../ours/util"),x=e("./from"),j=globalThis.Blob||o.Blob,S=void 0!==j?function(e){return e instanceof j}:function(e){return!1},E=globalThis.AbortController||e("abort-controller").AbortController,{FunctionPrototypeCall:A}=e("../../ours/primordials");class B extends w{constructor(e){super(e),!1===(null===e||e===undefined?undefined:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null===e||e===undefined?undefined:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function T(e){const t=e.readable&&"function"!=typeof e.readable.read?k.wrap(e.readable):e.readable,r=e.writable;let n,o,a,u,c,d=!!s(t),f=!!i(r);function l(e){const t=u;u=null,t?t(e):e&&c.destroy(e)}return c=new B({readableObjectMode:!(null===t||t===undefined||!t.readableObjectMode),writableObjectMode:!(null===r||r===undefined||!r.writableObjectMode),readable:d,writable:f}),f&&(m(r,e=>{f=!1,e&&g(t,e),l(e)}),c._write=function(e,t,o){r.write(e,t)?o():n=o},c._final=function(e){r.end(),o=e},r.on("drain",function(){if(n){const e=n;n=null,e()}}),r.on("finish",function(){if(o){const e=o;o=null,e()}})),d&&(m(t,e=>{d=!1,e&&g(t,e),l(e)}),t.on("readable",function(){if(a){const e=a;a=null,e()}}),t.on("end",function(){c.push(null)}),c._read=function(){for(;;){const e=t.read();if(null===e)return void(a=c._read);if(!c.push(e))return}}),c._destroy=function(e,s){e||null===u||(e=new p),a=null,n=null,o=null,null===u?s(e):(u=s,g(r,e),g(t,e))},c}t.exports=function e(t,r){if(f(t))return t;if(c(t))return T({readable:t});if(d(t))return T({writable:t});if(u(t))return T({writable:!1,readable:!1});if(l(t))return T({readable:k.fromWeb(t)});if(h(t))return T({writable:_.fromWeb(t)});if("function"==typeof t){const{value:e,write:o,final:s,destroy:i}=function(e){let{promise:t,resolve:r}=v();const o=new E,s=o.signal,i=e(async function*(){for(;;){const e=t;t=null;const{chunk:o,done:i,cb:a}=await e;if(n.nextTick(a),i)return;if(s.aborted)throw new p(undefined,{cause:s.reason});({promise:t,resolve:r}=v()),yield o}}(),{signal:s});return{value:i,write(e,t,n){const o=r;r=null,o({chunk:e,done:!1,cb:n})},final(e){const t=r;r=null,t({done:!0,cb:e})},destroy(e,t){o.abort(),t(e)}}}(t);if(a(e))return x(B,e,{objectMode:!0,write:o,final:s,destroy:i});const u=null===e||e===undefined?undefined:e.then;if("function"==typeof u){let t;const r=A(u,e,e=>{if(null!=e)throw new y("nully","body",e)},e=>{g(t,e)});return t=new B({objectMode:!0,readable:!1,write:o,final(e){s(async()=>{try{await r,n.nextTick(e,null)}catch(t){n.nextTick(e,t)}})},destroy:i})}throw new y("Iterable, AsyncIterable or AsyncFunction",r,e)}if(S(t))return e(t.arrayBuffer());if(a(t))return x(B,t,{objectMode:!0,writable:!1});if(l(null===t||t===undefined?undefined:t.readable)&&h(null===t||t===undefined?undefined:t.writable))return B.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?c(null===t||t===undefined?undefined:t.readable)?null===t||t===undefined?undefined:t.readable:e(t.readable):undefined,writable:null!==t&&t!==undefined&&t.writable?d(null===t||t===undefined?undefined:t.writable)?null===t||t===undefined?undefined:t.writable:e(t.writable):undefined})}const o=null===t||t===undefined?undefined:t.then;if("function"==typeof o){let e;return A(o,t,t=>{null!=t&&e.push(t),e.push(null)},t=>{g(e,t)}),e=new B({objectMode:!0,writable:!1,read(){}})}throw new b(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/duplexify.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/util.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/validators.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/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,r){const n=e("process/"),{AbortError:o,codes:s}=e("../../ours/errors"),{ERR_INVALID_ARG_TYPE:i,ERR_STREAM_PREMATURE_CLOSE:a}=s,{kEmptyObject:u,once:c}=e("../../ours/util"),{validateAbortSignal:d,validateFunction:f,validateObject:l,validateBoolean:h}=e("../validators"),{Promise:m,PromisePrototypeThen:p,SymbolDispose:b}=e("../../ours/primordials"),{isClosed:y,isReadable:g,isReadableNodeStream:w,isReadableStream:k,isReadableFinished:_,isReadableErrored:v,isWritable:x,isWritableNodeStream:j,isWritableStream:S,isWritableFinished:E,isWritableErrored:A,isNodeStream:B,willEmitClose:T,kIsClosedPromise:O}=e("./utils");let M;const P=()=>{};function I(t,r,s){var h,m;if(2===arguments.length?(s=r,r=u):null==r?r=u:l(r,"options"),f(s,"callback"),d(r.signal,"options.signal"),s=c(s),k(t)||S(t))return function(t,r,s){let i=!1,a=P;if(r.signal)if(a=()=>{i=!0,s.call(t,new o(undefined,{cause:r.signal.reason}))},r.signal.aborted)n.nextTick(a);else{M=M||e("../../ours/util").addAbortListener;const n=M(r.signal,a),o=s;s=c((...e)=>{n[b](),o.apply(t,e)})}const u=(...e)=>{i||n.nextTick(()=>s.apply(t,e))};return p(t[O].promise,u,u),P}(t,r,s);if(!B(t))throw new i("stream",["ReadableStream","WritableStream","Stream"],t);const I=null!==(h=r.readable)&&h!==undefined?h:w(t),C=null!==(m=r.writable)&&m!==undefined?m:j(t),R=t._writableState,L=t._readableState,N=()=>{t.writable||U()};let D=T(t)&&w(t)===I&&j(t)===C,F=E(t,!1);const U=()=>{F=!0,t.destroyed&&(D=!1),(!D||t.readable&&!I)&&(I&&!H||s.call(t))};let H=_(t,!1);const K=()=>{H=!0,t.destroyed&&(D=!1),(!D||t.writable&&!C)&&(C&&!F||s.call(t))},z=e=>{s.call(t,e)};let q=y(t);const W=()=>{q=!0;const e=A(t)||v(t);return e&&"boolean"!=typeof e?s.call(t,e):I&&!H&&w(t,!0)&&!_(t,!1)?s.call(t,new a):!C||F||E(t,!1)?void s.call(t):s.call(t,new a)},G=()=>{q=!0;const e=A(t)||v(t);if(e&&"boolean"!=typeof e)return s.call(t,e);s.call(t)},V=()=>{t.req.on("finish",U)};!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?C&&!R&&(t.on("end",N),t.on("close",N)):(t.on("complete",U),D||t.on("abort",W),t.req?V():t.on("request",V)),D||"boolean"!=typeof t.aborted||t.on("aborted",W),t.on("end",K),t.on("finish",U),!1!==r.error&&t.on("error",z),t.on("close",W),q?n.nextTick(W):null!==R&&R!==undefined&&R.errorEmitted||null!==L&&L!==undefined&&L.errorEmitted?D||n.nextTick(G):(I||D&&!g(t)||!F&&!1!==x(t))&&(C||D&&!x(t)||!H&&!1!==g(t))?L&&t.req&&t.aborted&&n.nextTick(G):n.nextTick(G);const Z=()=>{s=P,t.removeListener("aborted",W),t.removeListener("complete",U),t.removeListener("abort",W),t.removeListener("request",V),t.req&&t.req.removeListener("finish",U),t.removeListener("end",N),t.removeListener("close",N),t.removeListener("finish",U),t.removeListener("end",K),t.removeListener("error",z),t.removeListener("close",W)};if(r.signal&&!q){const i=()=>{const e=s;Z(),e.call(t,new o(undefined,{cause:r.signal.reason}))};if(r.signal.aborted)n.nextTick(i);else{M=M||e("../../ours/util").addAbortListener;const n=M(r.signal,i),o=s;s=c((...e)=>{n[b](),o.apply(t,e)})}}return Z}t.exports=I,t.exports.finished=function(e,t){var r;let n=!1;return null===t&&(t=u),null!==(r=t)&&r!==undefined&&r.cleanup&&(h(t.cleanup,"cleanup"),n=t.cleanup),new m((r,o)=>{const s=I(e,t,e=>{n&&s(),e?o(e):r()})})}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/from.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/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,r){const n=e("process/"),{PromisePrototypeThen:o,SymbolAsyncIterator:s,SymbolIterator:i}=e("../../ours/primordials"),{Buffer:a}=e("buffer"),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:c}=e("../../ours/errors").codes;t.exports=function(e,t,r){let d,f;if("string"==typeof t||t instanceof a)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});if(t&&t[s])f=!0,d=t[s]();else{if(!t||!t[i])throw new u("iterable",["Iterable"],t);f=!1,d=t[i]()}const l=new e({objectMode:!0,highWaterMark:1,...r});let h=!1;return l._read=function(){h||(h=!0,async function(){for(;;){try{const{value:e,done:t}=f?await d.next():d.next();if(t)l.push(null);else{const t=e&&"function"==typeof e.then?await e:e;if(null===t)throw h=!1,new c;if(l.push(t))continue;h=!1}}catch(e){l.destroy(e)}break}}())},l._destroy=function(e,t){o(async function(e){const t=e!==undefined&&null!==e,r="function"==typeof d.throw;if(t&&r){const{value:t,done:r}=await d.throw(e);if(await t,r)return}if("function"==typeof d.return){const{value:e}=await d.return();await e}}(e),()=>n.nextTick(t,e),r=>n.nextTick(t,r||e))},l}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/from.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/legacy.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/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,r){const{ArrayIsArray:n,ObjectSetPrototypeOf:o}=e("../../ours/primordials"),{EventEmitter:s}=e("events");function i(e){s.call(this,e)}function a(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?n(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}o(i.prototype,s.prototype),o(i,s),i.prototype.pipe=function(e,t){const r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",u),r.on("close",c));let i=!1;function u(){i||(i=!0,e.end())}function c(){i||(i=!0,"function"==typeof e.destroy&&e.destroy())}function d(e){f(),0===s.listenerCount(this,"error")&&this.emit("error",e)}function f(){r.removeListener("data",n),e.removeListener("drain",o),r.removeListener("end",u),r.removeListener("close",c),r.removeListener("error",d),e.removeListener("error",d),r.removeListener("end",f),r.removeListener("close",f),e.removeListener("close",f)}return a(r,"error",d),a(e,"error",d),r.on("end",f),r.on("close",f),e.on("close",f),e.emit("pipe",r),e},t.exports={Stream:i,prependListener:a}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/legacy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/operators.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/util.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/validators.js","./add-abort-signal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js","./compose":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/compose.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/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,r){const n=globalThis.AbortController||e("abort-controller").AbortController,{codes:{ERR_INVALID_ARG_VALUE:o,ERR_INVALID_ARG_TYPE:s,ERR_MISSING_ARGS:i,ERR_OUT_OF_RANGE:a},AbortError:u}=e("../../ours/errors"),{validateAbortSignal:c,validateInteger:d,validateObject:f}=e("../validators"),l=e("../../ours/primordials").Symbol("kWeak"),h=e("../../ours/primordials").Symbol("kResistStopPropagation"),{finished:m}=e("./end-of-stream"),p=e("./compose"),{addAbortSignalNoValidate:b}=e("./add-abort-signal"),{isWritable:y,isNodeStream:g}=e("./utils"),{deprecate:w}=e("../../ours/util"),{ArrayPrototypePush:k,Boolean:_,MathFloor:v,Number:x,NumberIsNaN:j,Promise:S,PromiseReject:E,PromiseResolve:A,PromisePrototypeThen:B,Symbol:T}=e("../../ours/primordials"),O=T("kEmpty"),M=T("kEof");function P(t,r){if("function"!=typeof t)throw new s("fn",["Function","AsyncFunction"],t);null!=r&&f(r,"options"),null!=(null===r||r===undefined?undefined:r.signal)&&c(r.signal,"options.signal");let n=1;null!=(null===r||r===undefined?undefined:r.concurrency)&&(n=v(r.concurrency));let o=n-1;return null!=(null===r||r===undefined?undefined:r.highWaterMark)&&(o=v(r.highWaterMark)),d(n,"options.concurrency",1),d(o,"options.highWaterMark",0),o+=n,async function*(){const s=e("../../ours/util").AbortSignalAny([null===r||r===undefined?undefined:r.signal].filter(_)),i=this,a=[],c={signal:s};let d,f,l=!1,h=0;function m(){l=!0,p()}function p(){h-=1,b()}function b(){f&&!l&&h<n&&a.length<o&&(f(),f=null)}!async function(){try{for await(let e of i){if(l)return;if(s.aborted)throw new u;try{if(e=t(e,c),e===O)continue;e=A(e)}catch(t){e=E(t)}h+=1,B(e,p,m),a.push(e),d&&(d(),d=null),!l&&(a.length>=o||h>=n)&&await new S(e=>{f=e})}a.push(M)}catch(e){const t=E(e);B(t,p,m),a.push(t)}finally{l=!0,d&&(d(),d=null)}}();try{for(;;){for(;a.length>0;){const e=await a[0];if(e===M)return;if(s.aborted)throw new u;e!==O&&(yield e),a.shift(),b()}await new S(e=>{d=e})}}finally{l=!0,f&&(f(),f=null)}}.call(this)}async function I(e,t=undefined){for await(const r of C.call(this,e,t))return!0;return!1}function C(e,t){if("function"!=typeof e)throw new s("fn",["Function","AsyncFunction"],e);return P.call(this,async function(t,r){return await e(t,r)?t:O},t)}class R extends i{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function L(e){if(e=x(e),j(e))return 0;if(e<0)throw new a("number",">= 0",e);return e}t.exports.streamReturningOperators={asIndexedPairs:w(function(e=undefined){return null!=e&&f(e,"options"),null!=(null===e||e===undefined?undefined:e.signal)&&c(e.signal,"options.signal"),async function*(){let t=0;for await(const n of this){var r;if(null!==e&&e!==undefined&&null!==(r=e.signal)&&r!==undefined&&r.aborted)throw new u({cause:e.signal.reason});yield[t++,n]}}.call(this)},"readable.asIndexedPairs will be removed in a future version."),drop:function(e,t=undefined){return null!=t&&f(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&c(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new u;for await(const r of this){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new u;e--<=0&&(yield r)}}.call(this)},filter:C,flatMap:function(e,t){const r=P.call(this,e,t);return async function*(){for await(const e of r)yield*e}.call(this)},map:P,take:function(e,t=undefined){return null!=t&&f(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&c(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new u;for await(const r of this){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new u;if(e-- >0&&(yield r),e<=0)return}}.call(this)},compose:function(e,t){if(null!=t&&f(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&c(t.signal,"options.signal"),g(e)&&!y(e))throw new o("stream",e,"must be writable");const r=p(this,e);return null!==t&&t!==undefined&&t.signal&&b(t.signal,r),r}},t.exports.promiseReturningOperators={every:async function(e,t=undefined){if("function"!=typeof e)throw new 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 r of P.call(this,async function(t,r){return await e(t,r),O},t));},reduce:async function(e,t,r){var o;if("function"!=typeof e)throw new s("reducer",["Function","AsyncFunction"],e);null!=r&&f(r,"options"),null!=(null===r||r===undefined?undefined:r.signal)&&c(r.signal,"options.signal");let i=arguments.length>1;if(null!==r&&r!==undefined&&null!==(o=r.signal)&&o!==undefined&&o.aborted){const e=new u(undefined,{cause:r.signal.reason});throw this.once("error",()=>{}),await m(this.destroy(e)),e}const a=new n,d=a.signal;if(null!==r&&r!==undefined&&r.signal){const e={once:!0,[l]:this,[h]:!0};r.signal.addEventListener("abort",()=>a.abort(),e)}let p=!1;try{for await(const n of this){var b;if(p=!0,null!==r&&r!==undefined&&null!==(b=r.signal)&&b!==undefined&&b.aborted)throw new u;i?t=await e(t,n,{signal:d}):(t=n,i=!0)}if(!p&&!i)throw new R}finally{a.abort()}return t},toArray:async function(e){null!=e&&f(e,"options"),null!=(null===e||e===undefined?undefined:e.signal)&&c(e.signal,"options.signal");const t=[];for await(const n of this){var r;if(null!==e&&e!==undefined&&null!==(r=e.signal)&&r!==undefined&&r.aborted)throw new u(undefined,{cause:e.signal.reason});k(t,n)}return t},some:I,find:async function(e,t){for await(const r of C.call(this,e,t))return r;return undefined}}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/operators.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/passthrough.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/primordials.js","./transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/transform.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ObjectSetPrototypeOf:n}=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)}n(s.prototype,o.prototype),n(s,o),s.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/passthrough.js"}]],[],{});