LavaPack.loadBundle([["/home/runner/work/metamask-extension/metamask-extension/node_modules/accounting/accounting.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/*!
 * accounting.js v0.4.1
 * Copyright 2014 Open Exchange Rates
 *
 * Freely distributable under the MIT license.
 * Portions of accounting.js are inspired or borrowed from underscore.js
 *
 * Full details and documentation:
 * http://openexchangerates.github.io/accounting.js/
 */
!function(e){var n={version:"0.4.1",settings:{currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}}},s=Array.prototype.map,o=Array.isArray,i=Object.prototype.toString;function a(e){return!!(""===e||e&&e.charCodeAt&&e.substr)}function c(e){return o?o(e):"[object Array]"===i.call(e)}function u(e){return e&&"[object Object]"===i.call(e)}function l(e,t){var r;for(r in e=e||{},t=t||{})t.hasOwnProperty(r)&&null==e[r]&&(e[r]=t[r]);return e}function d(e,t,r){var n,o,i=[];if(!e)return i;if(s&&e.map===s)return e.map(t,r);for(n=0,o=e.length;n<o;n++)i[n]=t.call(r,e[n],n,e);return i}function f(e,t){return e=Math.round(Math.abs(e)),isNaN(e)?t:e}function h(e){var t=n.settings.currency.format;return"function"==typeof e&&(e=e()),a(e)&&e.match("%v")?{pos:e,neg:e.replace("-","").replace("%v","-%v"),zero:e}:e&&e.pos&&e.pos.match("%v")?e:a(t)?n.settings.currency.format={pos:t,neg:t.replace("%v","-%v"),zero:t}:t}var m,p=n.unformat=n.parse=function(e,t){if(c(e))return d(e,function(e){return p(e,t)});if("number"==typeof(e=e||0))return e;t=t||n.settings.number.decimal;var r=new RegExp("[^0-9-"+t+"]",["g"]),s=parseFloat((""+e).replace(/\((.*)\)/,"-$1").replace(r,"").replace(t,"."));return isNaN(s)?0:s},b=n.toFixed=function(e,t){t=f(t,n.settings.number.precision);var r=Math.pow(10,t);return(Math.round(n.unformat(e)*r)/r).toFixed(t)},g=n.formatNumber=n.format=function(e,t,r,s){if(c(e))return d(e,function(e){return g(e,t,r,s)});e=p(e);var o=l(u(t)?t:{precision:t,thousand:r,decimal:s},n.settings.number),i=f(o.precision),a=e<0?"-":"",h=parseInt(b(Math.abs(e||0),i),10)+"",m=h.length>3?h.length%3:0;return a+(m?h.substr(0,m)+o.thousand:"")+h.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+o.thousand)+(i?o.decimal+b(Math.abs(e),i).split(".")[1]:"")},y=n.formatMoney=function(e,t,r,s,o,i){if(c(e))return d(e,function(e){return y(e,t,r,s,o,i)});e=p(e);var a=l(u(t)?t:{symbol:t,precision:r,thousand:s,decimal:o,format:i},n.settings.currency),m=h(a.format);return(e>0?m.pos:e<0?m.neg:m.zero).replace("%s",a.symbol).replace("%v",g(Math.abs(e),f(a.precision),a.thousand,a.decimal))};n.formatColumn=function(e,t,r,s,o,i){if(!e)return[];var m=l(u(t)?t:{symbol:t,precision:r,thousand:s,decimal:o,format:i},n.settings.currency),b=h(m.format),y=b.pos.indexOf("%s")<b.pos.indexOf("%v"),w=0,k=d(e,function(e,t){if(c(e))return n.formatColumn(e,m);var r=((e=p(e))>0?b.pos:e<0?b.neg:b.zero).replace("%s",m.symbol).replace("%v",g(Math.abs(e),f(m.precision),m.thousand,m.decimal));return r.length>w&&(w=r.length),r});return d(k,function(e,t){return a(e)&&e.length<w?y?e.replace(m.symbol,m.symbol+new Array(w-e.length+1).join(" ")):new Array(w-e.length+1).join(" ")+e:e})},void 0!==r?(void 0!==t&&t.exports&&(r=t.exports=n),r.accounting=n):"function"==typeof define&&define.amd?define([],function(){return n}):(n.noConflict=(m=e.accounting,function(){return e.accounting=m,n.noConflict=void 0,n}),e.accounting=n)}(this)}}},{package:"currency-formatter>accounting",file:"node_modules/accounting/accounting.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/aes-js/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/*! MIT License. Copyright 2015-2018 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
!function(e){function n(e){return parseInt(e)===e}function s(e){if(!n(e.length))return!1;for(var t=0;t<e.length;t++)if(!n(e[t])||e[t]<0||e[t]>255)return!1;return!0}function o(e,t){if(e.buffer&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!s(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(n(e.length)&&s(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function i(e){return new Uint8Array(e)}function a(e,t,r,n,s){null==n&&null==s||(e=e.slice?e.slice(n,s):Array.prototype.slice.call(e,n,s)),t.set(e,r)}var c,u={toBytes:function(e){var t=[],r=0;for(e=encodeURI(e);r<e.length;){var n=e.charCodeAt(r++);37===n?(t.push(parseInt(e.substr(r,2),16)),r+=2):t.push(n)}return o(t)},fromBytes:function(e){for(var t=[],r=0;r<e.length;){var n=e[r];n<128?(t.push(String.fromCharCode(n)),r++):n>191&&n<224?(t.push(String.fromCharCode((31&n)<<6|63&e[r+1])),r+=2):(t.push(String.fromCharCode((15&n)<<12|(63&e[r+1])<<6|63&e[r+2])),r+=3)}return t.join("")}},l=(c="0123456789abcdef",{toBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},fromBytes:function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(c[(240&n)>>4]+c[15&n])}return t.join("")}}),d={16:10,24:12,32:14},f=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],h=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],m=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],p=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],b=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],g=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],y=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],w=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],k=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],x=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],_=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],v=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],S=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],E=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],A=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function j(e){for(var t=[],r=0;r<e.length;r+=4)t.push(e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]);return t}var T=function(e){if(!(this instanceof T))throw Error("AES must be instanitated with `new`");Object.defineProperty(this,"key",{value:o(e,!0)}),this._prepare()};T.prototype._prepare=function(){var e=d[this.key.length];if(null==e)throw new Error("invalid key size (must be 16, 24 or 32 bytes)");this._Ke=[],this._Kd=[];for(var t=0;t<=e;t++)this._Ke.push([0,0,0,0]),this._Kd.push([0,0,0,0]);var r,n=4*(e+1),s=this.key.length/4,o=j(this.key);for(t=0;t<s;t++)r=t>>2,this._Ke[r][t%4]=o[t],this._Kd[e-r][t%4]=o[t];for(var i,a=0,c=s;c<n;){if(i=o[s-1],o[0]^=h[i>>16&255]<<24^h[i>>8&255]<<16^h[255&i]<<8^h[i>>24&255]^f[a]<<24,a+=1,8!=s)for(t=1;t<s;t++)o[t]^=o[t-1];else{for(t=1;t<s/2;t++)o[t]^=o[t-1];i=o[s/2-1],o[s/2]^=h[255&i]^h[i>>8&255]<<8^h[i>>16&255]<<16^h[i>>24&255]<<24;for(t=s/2+1;t<s;t++)o[t]^=o[t-1]}for(t=0;t<s&&c<n;)u=c>>2,l=c%4,this._Ke[u][l]=o[t],this._Kd[e-u][l]=o[t++],c++}for(var u=1;u<e;u++)for(var l=0;l<4;l++)i=this._Kd[u][l],this._Kd[u][l]=v[i>>24&255]^S[i>>16&255]^E[i>>8&255]^A[255&i]},T.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,r=[0,0,0,0],n=j(e),s=0;s<4;s++)n[s]^=this._Ke[0][s];for(var o=1;o<t;o++){for(s=0;s<4;s++)r[s]=p[n[s]>>24&255]^b[n[(s+1)%4]>>16&255]^g[n[(s+2)%4]>>8&255]^y[255&n[(s+3)%4]]^this._Ke[o][s];n=r.slice()}var a,c=i(16);for(s=0;s<4;s++)a=this._Ke[t][s],c[4*s]=255&(h[n[s]>>24&255]^a>>24),c[4*s+1]=255&(h[n[(s+1)%4]>>16&255]^a>>16),c[4*s+2]=255&(h[n[(s+2)%4]>>8&255]^a>>8),c[4*s+3]=255&(h[255&n[(s+3)%4]]^a);return c},T.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,r=[0,0,0,0],n=j(e),s=0;s<4;s++)n[s]^=this._Kd[0][s];for(var o=1;o<t;o++){for(s=0;s<4;s++)r[s]=w[n[s]>>24&255]^k[n[(s+3)%4]>>16&255]^x[n[(s+2)%4]>>8&255]^_[255&n[(s+1)%4]]^this._Kd[o][s];n=r.slice()}var a,c=i(16);for(s=0;s<4;s++)a=this._Kd[t][s],c[4*s]=255&(m[n[s]>>24&255]^a>>24),c[4*s+1]=255&(m[n[(s+3)%4]>>16&255]^a>>16),c[4*s+2]=255&(m[n[(s+2)%4]>>8&255]^a>>8),c[4*s+3]=255&(m[255&n[(s+1)%4]]^a);return c};var B=function(e){if(!(this instanceof B))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new T(e)};B.prototype.encrypt=function(e){if((e=o(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;n<e.length;n+=16)a(e,r,0,n,n+16),a(r=this._aes.encrypt(r),t,n);return t},B.prototype.decrypt=function(e){if((e=o(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;n<e.length;n+=16)a(e,r,0,n,n+16),a(r=this._aes.decrypt(r),t,n);return t};var M=function(e,t){if(!(this instanceof M))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Block Chaining",this.name="cbc",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else t=i(16);this._lastCipherblock=o(t,!0),this._aes=new T(e)};M.prototype.encrypt=function(e){if((e=o(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;n<e.length;n+=16){a(e,r,0,n,n+16);for(var s=0;s<16;s++)r[s]^=this._lastCipherblock[s];this._lastCipherblock=this._aes.encrypt(r),a(this._lastCipherblock,t,n)}return t},M.prototype.decrypt=function(e){if((e=o(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;n<e.length;n+=16){a(e,r,0,n,n+16),r=this._aes.decrypt(r);for(var s=0;s<16;s++)t[n+s]=r[s]^this._lastCipherblock[s];a(e,this._lastCipherblock,0,n,n+16)}return t};var O=function(e,t,r){if(!(this instanceof O))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Feedback",this.name="cfb",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 size)")}else t=i(16);r||(r=1),this.segmentSize=r,this._shiftRegister=o(t,!0),this._aes=new T(e)};O.prototype.encrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid plaintext size (must be segmentSize bytes)");for(var t,r=o(e,!0),n=0;n<r.length;n+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var s=0;s<this.segmentSize;s++)r[n+s]^=t[s];a(this._shiftRegister,this._shiftRegister,0,this.segmentSize),a(r,this._shiftRegister,16-this.segmentSize,n,n+this.segmentSize)}return r},O.prototype.decrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid ciphertext size (must be segmentSize bytes)");for(var t,r=o(e,!0),n=0;n<r.length;n+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var s=0;s<this.segmentSize;s++)r[n+s]^=t[s];a(this._shiftRegister,this._shiftRegister,0,this.segmentSize),a(e,this._shiftRegister,16-this.segmentSize,n,n+this.segmentSize)}return r};var C=function(e,t){if(!(this instanceof C))throw Error("AES must be instanitated with `new`");if(this.description="Output Feedback",this.name="ofb",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else t=i(16);this._lastPrecipher=o(t,!0),this._lastPrecipherIndex=16,this._aes=new T(e)};C.prototype.encrypt=function(e){for(var t=o(e,!0),r=0;r<t.length;r++)16===this._lastPrecipherIndex&&(this._lastPrecipher=this._aes.encrypt(this._lastPrecipher),this._lastPrecipherIndex=0),t[r]^=this._lastPrecipher[this._lastPrecipherIndex++];return t},C.prototype.decrypt=C.prototype.encrypt;var L=function(e){if(!(this instanceof L))throw Error("Counter must be instanitated with `new`");0===e||e||(e=1),"number"==typeof e?(this._counter=i(16),this.setValue(e)):this.setBytes(e)};L.prototype.setValue=function(e){if("number"!=typeof e||parseInt(e)!=e)throw new Error("invalid counter value (must be an integer)");if(e>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var t=15;t>=0;--t)this._counter[t]=e%256,e=parseInt(e/256)},L.prototype.setBytes=function(e){if(16!=(e=o(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},L.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var R=function(e,t){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof L||(t=new L(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new T(e)};R.prototype.encrypt=function(e){for(var t=o(e,!0),r=0;r<t.length;r++)16===this._remainingCounterIndex&&(this._remainingCounter=this._aes.encrypt(this._counter._counter),this._remainingCounterIndex=0,this._counter.increment()),t[r]^=this._remainingCounter[this._remainingCounterIndex++];return t},R.prototype.decrypt=R.prototype.encrypt;var I={AES:T,Counter:L,ModeOfOperation:{ecb:B,cbc:M,cfb:O,ofb:C,ctr:R},utils:{hex:l,utf8:u},padding:{pkcs7:{pad:function(e){var t=16-(e=o(e,!0)).length%16,r=i(e.length+t);a(e,r);for(var n=e.length;n<r.length;n++)r[n]=t;return r},strip:function(e){if((e=o(e,!0)).length<16)throw new Error("PKCS#7 invalid length");var t=e[e.length-1];if(t>16)throw new Error("PKCS#7 padding byte out of range");for(var r=e.length-t,n=0;n<t;n++)if(e[r+n]!==t)throw new Error("PKCS#7 invalid padding byte");var s=i(r);return a(e,s,0,0,r),s}}},_arrayTest:{coerceArray:o,createArray:i,copyArray:a}};void 0!==r?t.exports=I:"function"==typeof define&&define.amd?define([],function(){return I}):(e.aesjs&&(I._aesjs=e.aesjs),e.aesjs=I)}(this)}}},{package:"eth-lattice-keyring>gridplus-sdk>aes-js",file:"node_modules/aes-js/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ansi-styles/index.js",{"color-convert":"/home/runner/work/metamask-extension/metamask-extension/node_modules/color-convert/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=(e,t)=>(...r)=>`[${e(...r)+t}m`,s=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};5;${n}m`},o=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`},i=e=>e,a=(e,t,r)=>[e,t,r],c=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{const n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})};let u;const l=(t,r,n,s)=>{u===undefined&&(u=e("color-convert"));const o=s?10:0,i={};for(const[e,s]of Object.entries(u)){const a="ansi16"===e?"ansi":e;e===r?i[a]=t(n,o):"object"==typeof s&&(i[a]=t(s[r],o))}return i};Object.defineProperty(t,"exports",{enumerable:!0,get:function(){const e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[r,n]of Object.entries(t)){for(const[r,s]of Object.entries(n))t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`},n[r]=t[r],e.set(s[0],s[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="[39m",t.bgColor.close="[49m",c(t.color,"ansi",()=>l(n,"ansi16",i,!1)),c(t.color,"ansi256",()=>l(s,"ansi256",i,!1)),c(t.color,"ansi16m",()=>l(o,"rgb",a,!1)),c(t.bgColor,"ansi",()=>l(n,"ansi16",i,!0)),c(t.bgColor,"ansi256",()=>l(s,"ansi256",i,!0)),c(t.bgColor,"ansi16m",()=>l(o,"rgb",a,!0)),t}})}}},{package:"chalk>ansi-styles",file:"node_modules/ansi-styles/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/api.js",{"../apg-conv-api/converter":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-conv-api/converter.js","../apg-lib/node-exports":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/node-exports.js","./attributes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/attributes.js","./parser":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/parser.js","./scanner":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/scanner.js","./show-rules":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/show-rules.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){t.exports=function(t){const{Buffer:r}=e("buffer"),n="api.js: ",s=this,o=e("../apg-lib/node-exports"),i=e("../apg-conv-api/converter"),a=e("./scanner"),c=new(e("./parser")),{attributes:u,showAttributes:l,showAttributeErrors:d,showRuleDependencies:f}=e("./attributes"),h=e("./show-rules"),m=function(e,t,r){const n=`<span class="${o.style.CLASS_CTRLCHAR}">`,s="</span>",i=`<span class="${o.style.CLASS_NOMATCH}">`,a="</span>";let c,u="";for(;Array.isArray(e)&&0!==e.length;){if("number"!=typeof t)throw new Error("abnfToHtml: beg must be type number");if(t>=e.length)break;c="number"!=typeof r||t+r>=e.length?e.length:t+r;let l=0;for(let r=t;r<c;r+=1){const t=e[r];if(t>=32&&t<=126)switch(1===l?(u+=s,l=0):2===l&&(u+=a,l=0),t){case 32:u+="&nbsp;";break;case 60:u+="&lt;";break;case 62:u+="&gt;";break;case 38:u+="&amp;";break;case 34:u+="&quot;";break;case 39:u+="&#039;";break;case 92:u+="&#092;";break;default:u+=String.fromCharCode(t)}else 9===t||10===t||13===t?(0===l?(u+=n,l=1):2===l&&(u+=a+n,l=1),9===t&&(u+="TAB"),10===t&&(u+="LF"),13===t&&(u+="CR")):(0===l?(u+=i,l=2):1===l&&(u+=s+i,l=2),u+=`\\x${o.utils.charToHex(t)}`)}2===l&&(u+=a),1===l&&(u+=s);break}return u},p=function(e,t,r){let n="";for(let s=t;s<t+r;s+=1){const t=e[s];if(t>=32&&t<=126)n+=String.fromCharCode(t);else switch(t){case 9:n+="\\t";break;case 10:n+="\\n";break;case 13:n+="\\r";break;default:n+="\\unknown"}}return n};let b,g=!1,y=!1,w=!1,k=!1,x=0;if(this.errors=[],r.isBuffer(t))this.chars=i.decode("BINARY",t);else if(Array.isArray(t))this.chars=t.slice();else{if("string"!=typeof t)throw new Error(`${n}input source is not a string, byte Buffer or character array`);this.chars=i.decode("STRING",t)}this.sabnf=i.encode("STRING",this.chars),this.scan=function(e,t){this.lines=a(this.chars,this.errors,e,t),g=!0},this.parse=function(e,t,r){if(!g)throw new Error(`${n}grammar not scanned`);c.syntax(this.chars,this.lines,this.errors,e,t,r),y=!0},this.translate=function(){if(!y)throw new Error(`${n}grammar not scanned and parsed`);const e=c.semantic(this.chars,this.lines,this.errors);0===this.errors.length&&(this.rules=e.rules,this.udts=e.udts,b=e.lineMap,w=!0)},this.attributes=function(){if(!w)throw new Error(`${n}grammar not scanned, parsed and translated`);return x=u(this.rules,this.udts,b,this.errors),k=!0,x},this.generate=function(e){if(this.lines=a(this.chars,this.errors,e),this.errors.length)return;if(c.syntax(this.chars,this.lines,this.errors,e),this.errors.length)return;const t=c.semantic(this.chars,this.lines,this.errors);this.errors.length||(this.rules=t.rules,this.udts=t.udts,b=t.lineMap,x=u(this.rules,this.udts,b,this.errors),k=!0)},this.displayRules=function(e="index"){if(!w)throw new Error(`${n}grammar not scanned, parsed and translated`);return h(this.rules,this.udts,e)},this.displayRuleDependencies=function(e="index"){if(!k)throw new Error(`${n}no attributes - must be preceeded by call to attributes()`);return f(e)},this.displayAttributes=function(e="index"){if(!k)throw new Error(`${n}no attributes - must be preceeded by call to attributes()`);return x&&d(e),l(e)},this.displayAttributeErrors=function(){if(!k)throw new Error(`${n}no attributes - must be preceeded by call to attributes()`);return d()},this.toSource=function(e=undefined){if(!k)throw new Error(`${n}can't generate parser source - must be preceeded by call to attributes()`);if(x)throw new Error(`${n}can't generate parser source - attributes have ${x} errors`);return c.generateSource(this.chars,this.lines,this.rules,this.udts,e)},this.toObject=function(){if(!k)throw new Error(`${n}can't generate parser source - must be preceeded by call to attributes()`);if(x)throw new Error(`${n}can't generate parser source - attributes have ${x} errors`);return c.generateObject(this.sabnf,this.rules,this.udts)},this.errorsToAscii=function(){return function(e,t,r){let n,s,o,i;return n="",e.forEach(e=>{s=t[e.line],n+=`${s.lineNo}: `,n+=`${s.beginChar}: `,n+=e.char-s.beginChar+": ",o=s.beginChar,i=e.char-s.beginChar,n+=p(r,o,i),n+=" >> ",o=e.char,i=s.beginChar+s.length-e.char,n+=p(r,o,i),n+="\n",n+=`${s.lineNo}: `,n+=`${s.beginChar}: `,n+=e.char-s.beginChar+": ",n+="error: ",n+=e.msg,n+="\n"}),n}(this.errors,this.lines,this.chars)},this.errorsToHtml=function(e){return function(e,t,r,n){const[s]=o;let i="";const a=`<span class="${s.CLASS_NOMATCH}">&raquo;</span>`;return i+=`<p><table class="${s.CLASS_GRAMMAR}">\n`,n&&"string"==typeof n&&(i+=`<caption>${n}</caption>\n`),i+="<tr><th>line<br>no.</th><th>line<br>offset</th><th>error<br>offset</th><th><br>text</th></tr>\n",e.forEach(e=>{let n,s,c,u,l,d="",f="";0===t.length?(l=a,s=0):(n=t[e.line],c=n.beginChar,e.char>c&&(d=m(r,c,e.char-c)),c=e.char,u=n.beginChar+n.length,c<u&&(f=m(r,c,u-c)),l=d+a+f,s=e.char-n.beginChar,i+="<tr>",i+=`<td>${e.line}</td><td>${n.beginChar}</td><td>${s}</td><td>${l}</td>`,i+="</tr>\n",i+="<tr>",i+=`<td colspan="3"></td><td>&uarr;:&nbsp;${o.utils.stringToAsciiHtml(e.msg)}</td>`,i+="</tr>\n")}),i+="</table></p>\n",i}(this.errors,this.lines,this.chars,e)},this.linesToAscii=function(){return function(e){let t="Annotated Input Grammar";return e.forEach(e=>{t+="\n",t+=`line no: ${e.lineNo}`,t+=` : char index: ${e.beginChar}`,t+=` : length: ${e.length}`,t+=` : abnf: ${p(s.chars,e.beginChar,e.length)}`}),t+="\n",t}(this.lines)},this.linesToHtml=function(){return function(e){let t="";return t+=`<table class="${o.style.CLASS_GRAMMAR}">\n`,t+="<caption>Annotated Input Grammar</caption>\n",t+="<tr>",t+="<th>line<br>no.</th><th>first<br>char</th><th><br>length</th><th><br>text</th>",t+="</tr>\n",e.forEach(e=>{t+="<tr>",t+=`<td>${e.lineNo}`,t+=`</td><td>${e.beginChar}`,t+=`</td><td>${e.length}`,t+=`</td><td>${m(s.chars,e.beginChar,e.length)}`,t+="</td>",t+="</tr>\n"}),t+="</table>\n",t}(this.lines)}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/api.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/attributes.js",{"../apg-lib/identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/identifiers.js","./rule-attributes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/rule-attributes.js","./rule-dependencies":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/rule-dependencies.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){const t=e("../apg-lib/identifiers"),{ruleAttributes:r,showAttributes:n,showAttributeErrors:s}=e("./rule-attributes"),{ruleDependencies:o,showRuleDependencies:i}=e("./rule-dependencies");class a{constructor(e,t){this.rules=e,this.udts=t,this.ruleCount=e.length,this.udtCount=t.length,this.startRule=0,this.dependenciesComplete=!1,this.attributesComplete=!1,this.isMutuallyRecursive=!1,this.ruleIndexes=this.indexArray(this.ruleCount),this.ruleAlphaIndexes=this.indexArray(this.ruleCount),this.ruleTypeIndexes=this.indexArray(this.ruleCount),this.udtIndexes=this.indexArray(this.udtCount),this.udtAlphaIndexes=this.indexArray(this.udtCount),this.attrsErrorCount=0,this.attrs=[],this.attrsErrors=[],this.attrsWorking=[],this.ruleDeps=[];for(let t=0;t<this.ruleCount;t+=1)this.attrs.push(this.attrGen(this.rules[t])),this.attrsWorking.push(this.attrGen(this.rules[t])),this.ruleDeps.push(this.rdGen(e[t],this.ruleCount,this.udtCount));this.compRulesAlpha=this.compRulesAlpha.bind(this),this.compUdtsAlpha=this.compUdtsAlpha.bind(this),this.compRulesType=this.compRulesType.bind(this),this.compRulesGroup=this.compRulesGroup.bind(this)}attrGen(e){return{left:!1,nested:!1,right:!1,empty:!1,finite:!1,cyclic:!1,leaf:!1,isOpen:!1,isComplete:!1,rule:e}}attrInit(e){e.left=!1,e.nested=!1,e.right=!1,e.empty=!1,e.finite=!1,e.cyclic=!1,e.leaf=!1,e.isOpen=!1,e.isComplete=!1}attrCopy(e,t){e.left=t.left,e.nested=t.nested,e.right=t.right,e.empty=t.empty,e.finite=t.finite,e.cyclic=t.cyclic,e.leaf=t.leaf,e.isOpen=t.isOpen,e.isComplete=t.isComplete,e.rule=t.rule}rdGen(e,r,n){return{rule:e,recursiveType:t.ATTR_N,groupNumber:-1,refersTo:this.falseArray(r),refersToUdt:this.falseArray(n),referencedBy:this.falseArray(r)}}typeToString(e){switch(e){case t.ATTR_N:return" N";case t.ATTR_R:return" R";case t.ATTR_MR:return"MR";default:return"UNKNOWN"}}falseArray(e){const t=[];if(e>0)for(let r=0;r<e;r+=1)t.push(!1);return t}falsifyArray(e){for(let t=0;t<e.length;t+=1)e[t]=!1}indexArray(e){const t=[];if(e>0)for(let r=0;r<e;r+=1)t.push(r);return t}compRulesAlpha(e,t){return this.rules[e].lower<this.rules[t].lower?-1:this.rules[e].lower>this.rules[t].lower?1:0}compUdtsAlpha(e,t){return this.udts[e].lower<this.udts[t].lower?-1:this.udts[e].lower>this.udts[t].lower?1:0}compRulesType(e,t){return this.ruleDeps[e].recursiveType<this.ruleDeps[t].recursiveType?-1:this.ruleDeps[e].recursiveType>this.ruleDeps[t].recursiveType?1:0}compRulesGroup(e,r){if(this.ruleDeps[e].recursiveType===t.ATTR_MR&&this.ruleDeps[r].recursiveType===t.ATTR_MR){if(this.ruleDeps[e].groupNumber<this.ruleDeps[r].groupNumber)return-1;if(this.ruleDeps[e].groupNumber>this.ruleDeps[r].groupNumber)return 1}return 0}}return{attributes:function(e=[],t=[],n=[],s=[]){const i=new a(e,t);return o(i),r(i),i.attrsErrorCount&&s.push({line:0,char:0,msg:`${i.attrsErrorCount} attribute errors`}),i.attrsErrorCount},showAttributes:n,showAttributeErrors:s,showRuleDependencies:i}}()}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/attributes.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/parser.js",{"../apg-lib/node-exports":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/node-exports.js","./sabnf-grammar":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/sabnf-grammar.js","./semantic-callbacks":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/semantic-callbacks.js","./syntax-callbacks":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/syntax-callbacks.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){const t=e("../apg-lib/node-exports"),r=t.ids,n=new(e("./syntax-callbacks")),s=new(e("./semantic-callbacks")),o=new(e("./sabnf-grammar")),i=new t.parser;i.ast=new t.ast,i.callbacks=n.callbacks,i.ast.callbacks=s.callbacks;const a=function(e,t,r){if(t<0||t>=r)return-1;for(let r=0;r<e.length;r+=1)if(t>=e[r].beginChar&&t<e[r].beginChar+e[r].length)return r;return-1},c=function(e,t){let r=-1;if(t<e.length)for(let n=t;n<e.length;n+=1)if(null!==e[n]){r=e[n];break}return r};this.syntax=function(e,t,r,n,s,c){if(c){if("traceObject"!==c.traceObject)throw new TypeError("parser: trace argument is not a trace object");i.trace=c}const u={};u.errors=r,u.strict=!!n,u.lite=!!s,u.lines=t,u.findLine=a,u.charsLength=e.length,u.ruleCount=0;i.parse(o,"file",e,u).success||r.push({line:0,char:0,msg:"syntax analysis of input grammar failed"})},this.semantic=function(e,t,n){const s={};return s.errors=n,s.lines=t,s.findLine=a,s.charsLength=e.length,i.ast.translate(s),n.length?null:(s.rules.forEach(e=>{const t=[],n=[];let s=0;e.opcodes.forEach(e=>{e.type===r.ALT&&1===e.children.length||e.type===r.CAT&&1===e.children.length||e.type===r.REP&&1===e.min&&1===e.max?n.push(null):(n.push(s),t.push(e),s+=1)}),n.push(s),t.forEach(e=>{if(e.type===r.ALT||e.type===r.CAT)for(let t=0;t<e.children.length;t+=1)e.children[t]=c(n,e.children[t])}),e.opcodes=t}),{rules:s.rules,udts:s.udts,lineMap:s.rulesLineMap})},this.generateSource=function(e,t,n,s,o){let i,a,c,u="",l=!1,d=!1;o&&(o.typescript?(l=!0,d=!1):o.lite&&(l=!1,d=!0));let f=0,h=Infinity,m=0;const p=[],b=[];let g,y=0,w=0,k=0,x=0,_=0,v=0,S=0,E=0,A=0,j=0,T=0,B=0,M=0,O=0,C=0;return n.forEach(e=>{p.push(e.lower),f+=e.opcodes.length,e.opcodes.forEach(e=>{switch(e.type){case r.ALT:y+=1;break;case r.CAT:w+=1;break;case r.RNM:k+=1;break;case r.UDT:x+=1;break;case r.REP:_+=1;break;case r.AND:v+=1;break;case r.NOT:S+=1;break;case r.BKA:B+=1;break;case r.BKN:M+=1;break;case r.BKR:T+=1;break;case r.ABG:O+=1;break;case r.AEN:C+=1;break;case r.TLS:for(E+=1,i=0;i<e.string.length;i+=1)e.string[i]<h&&(h=e.string[i]),e.string[i]>m&&(m=e.string[i]);break;case r.TBS:for(A+=1,i=0;i<e.string.length;i+=1)e.string[i]<h&&(h=e.string[i]),e.string[i]>m&&(m=e.string[i]);break;case r.TRG:j+=1,e.min<h&&(h=e.min),e.max>m&&(m=e.max);break;default:throw new Error("generateSource: unrecognized opcode")}})}),p.sort(),s.length>0&&(s.forEach(e=>{b.push(e.lower)}),b.sort()),u+="// copyright: Copyright (c) 2024 Lowell D. Thomas, all rights reserved<br>\n",u+="//   license: BSD-2-Clause (https://opensource.org/licenses/BSD-2-Clause)<br>\n",u+="//\n",u+="// Generated by apg-js, Version 4.4.0 [apg-js](https://github.com/ldthomas/apg-js)\n",o?o.funcName?u+=`const ${o.funcName} = function grammar(){\n`:u+=l?"export function grammar(){\n":d?"export default function grammar(){\n":"module.exports = function grammar(){\n":u+="module.exports = function grammar(){\n",u+="  // ```\n",u+="  // SUMMARY\n",u+=`  //      rules = ${n.length}\n`,u+=`  //       udts = ${s.length}\n`,u+=`  //    opcodes = ${f}\n`,u+="  //        ---   ABNF original opcodes\n",u+=`  //        ALT = ${y}\n`,u+=`  //        CAT = ${w}\n`,u+=`  //        REP = ${_}\n`,u+=`  //        RNM = ${k}\n`,u+=`  //        TLS = ${E}\n`,u+=`  //        TBS = ${A}\n`,u+=`  //        TRG = ${j}\n`,u+="  //        ---   SABNF superset opcodes\n",u+=`  //        UDT = ${x}\n`,u+=`  //        AND = ${v}\n`,u+=`  //        NOT = ${S}\n`,d||(u+=`  //        BKA = ${B}\n`,u+=`  //        BKN = ${M}\n`,u+=`  //        BKR = ${T}\n`,u+=`  //        ABG = ${O}\n`,u+=`  //        AEN = ${C}\n`),u+="  // characters = [",u+=E+A+j===0?" none defined ]":`${h} - ${m}]`,x>0&&(u+=" + user defined"),u+="\n",u+="  // ```\n",u+="  /* OBJECT IDENTIFIER (for internal parser use) */\n",u+="  this.grammarObject = 'grammarObject';\n",u+="\n",u+="  /* RULES */\n",u+="  this.rules = [];\n",n.forEach((e,t)=>{let r="  this.rules[";r+=t,r+="] = { name: '",r+=e.name,r+="', lower: '",r+=e.lower,r+="', index: ",r+=e.index,r+=", isBkr: ",r+=e.isBkr,r+=" };\n",u+=r}),u+="\n",u+="  /* UDTS */\n",u+="  this.udts = [];\n",s.length>0&&s.forEach((e,t)=>{let r="  this.udts[";r+=t,r+="] = { name: '",r+=e.name,r+="', lower: '",r+=e.lower,r+="', index: ",r+=e.index,r+=", empty: ",r+=e.empty,r+=", isBkr: ",r+=e.isBkr,r+=" };\n",u+=r}),u+="\n",u+="  /* OPCODES */\n",n.forEach((e,t)=>{t>0&&(u+="\n"),u+=`  /* ${e.name} */\n`,u+=`  this.rules[${t}].opcodes = [];\n`,e.opcodes.forEach((e,o)=>{let i;switch(e.type){case r.ALT:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type}, children: [${e.children.toString()}] };// ALT\n`;break;case r.CAT:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type}, children: [${e.children.toString()}] };// CAT\n`;break;case r.RNM:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type}, index: ${e.index} };// RNM(${n[e.index].name})\n`;break;case r.BKR:e.index>=n.length?(a=s[e.index-n.length].name,c=s[e.index-n.length].lower):(a=n[e.index].name,c=n[e.index].lower),i="%i",e.bkrCase===r.BKR_MODE_CS&&(i="%s"),e.bkrMode===r.BKR_MODE_UM?i+="%u":i+="%p",a=i+a,u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type}, index: ${e.index}, lower: '${c}', bkrCase: ${e.bkrCase}, bkrMode: ${e.bkrMode} };// BKR(\\${a})\n`;break;case r.UDT:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type}, empty: ${e.empty}, index: ${e.index} };// UDT(${s[e.index].name})\n`;break;case r.REP:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type}, min: ${e.min}, max: ${e.max} };// REP\n`;break;case r.AND:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type} };// AND\n`;break;case r.NOT:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type} };// NOT\n`;break;case r.ABG:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type} };// ABG(%^)\n`;break;case r.AEN:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type} };// AEN(%$)\n`;break;case r.BKA:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type} };// BKA\n`;break;case r.BKN:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type} };// BKN\n`;break;case r.TLS:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type}, string: [${e.string.toString()}] };// TLS\n`;break;case r.TBS:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type}, string: [${e.string.toString()}] };// TBS\n`;break;case r.TRG:u+=`  this.rules[${t}].opcodes[${o}] = { type: ${e.type}, min: ${e.min}, max: ${e.max} };// TRG\n`;break;default:throw new Error("parser.js: ~143: unrecognized opcode")}})}),u+="\n",u+="  // The `toString()` function will display the original grammar file(s) that produced these opcodes.\n",u+="  this.toString = function toString(){\n",u+='    let str = "";\n',t.forEach(t=>{const r=t.beginChar+t.length;g="",u+='    str += "';for(let n=t.beginChar;n<r;n+=1){switch(e[n]){case 9:g=" ";break;case 10:g="\\n";break;case 13:g="\\r";break;case 34:g='\\"';break;case 92:g="\\\\";break;default:g=String.fromCharCode(e[n])}u+=g}u+='";\n'}),u+="    return str;\n",u+="  }\n",u+="}\n",u},this.generateObject=function(e,t,r){const n={},s=[],o=[],i=e.slice(0);return n.grammarObject="grammarObject",t.forEach(e=>{s.push(e.lower)}),s.sort(),r.length>0&&(r.forEach(e=>{o.push(e.lower)}),o.sort()),n.callbacks=[],s.forEach(e=>{n.callbacks[e]=!1}),r.length>0&&o.forEach(e=>{n.callbacks[e]=!1}),n.rules=t,n.udts=r,n.toString=function(){return i},n}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/parser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/rule-attributes.js",{"../apg-lib/identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/identifiers.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){const t=e("../apg-lib/identifiers");let r=null;function n(e){return!(e.left||e.nested||e.right||e.cyclic)&&e.empty}function s(e){return!!(e.left||e.nested||e.right||e.cyclic)}function o(e,t,r,o){let a=0;const c=t[r],u=c.children.length,l=[];for(a=0;a<u;a+=1)l.push(e.attrGen());for(a=0;a<u;a+=1)i(e,t,c.children[a],l[a]);o.left=function(e,t){for(let r=0;r<t;r+=1){if(e[r].left)return!0;if(!e[r].empty)return!1}return!1}(l,u),o.right=function(e,t){for(let r=t-1;r>=0;r-=1){if(e[r].right)return!0;if(!e[r].empty)return!1}return!1}(l,u),o.nested=function(e,t){let r=0,o=0,i=0;for(r=0;r<t;r+=1)if(e[r].nested)return!0;for(r=0;r<t;r+=1)if(e[r].right&&!e[r].leaf)for(o=r+1;o<t;o+=1)if(!n(e[o]))return!0;for(r=t-1;r>=0;r-=1)if(e[r].left&&!e[r].leaf)for(o=r-1;o>=0;o-=1)if(!n(e[o]))return!0;for(r=0;r<t;r+=1)if(!e[r].empty&&!s(e[r]))for(o=r+1;o<t;o+=1)if(s(e[o]))for(i=o+1;i<t;i+=1)if(!e[i].empty&&!s(e[i]))return!0;return!1}(l,u),o.empty=function(e,t){for(let r=0;r<t;r+=1)if(!e[r].empty)return!1;return!0}(l,u),o.finite=function(e,t){for(let r=0;r<t;r+=1)if(!e[r].finite)return!1;return!0}(l,u),o.cyclic=function(e,t){for(let r=0;r<t;r+=1)if(!e[r].cyclic)return!1;return!0}(l,u)}function i(e,r,n,s){e.attrInit(s);const c=r[n];switch(c.type){case t.ALT:!function(e,t,r,n){let s=0;const o=t[r],a=o.children.length,c=[];for(s=0;s<a;s+=1)c.push(e.attrGen());for(s=0;s<a;s+=1)i(e,t,o.children[s],c[s]);for(n.left=!1,n.right=!1,n.nested=!1,n.empty=!1,n.finite=!1,n.cyclic=!1,s=0;s<a;s+=1)c[s].left&&(n.left=!0),c[s].nested&&(n.nested=!0),c[s].right&&(n.right=!0),c[s].empty&&(n.empty=!0),c[s].finite&&(n.finite=!0),c[s].cyclic&&(n.cyclic=!0)}(e,r,n,s);break;case t.CAT:o(e,r,n,s);break;case t.REP:i(e,r,n+1,s),0===c.min&&(s.empty=!0,s.finite=!0);break;case t.RNM:a(e,r[n].index,s);break;case t.BKR:!function(e,t,r,n){const s=t[r];s.index>=e.ruleCount?(n.empty=e.udts[s.index-e.ruleCount].empty,n.finite=!0):(a(e,s.index,n),n.left=!1,n.nested=!1,n.right=!1,n.cyclic=!1)}(e,r,n,s);break;case t.AND:case t.NOT:case t.BKA:case t.BKN:i(e,r,n+1,s),s.empty=!0;break;case t.TLS:s.empty=!r[n].string.length,s.finite=!0,s.cyclic=!1;break;case t.TBS:case t.TRG:s.empty=!1,s.finite=!0,s.cyclic=!1;break;case t.UDT:s.empty=c.empty,s.finite=!0,s.cyclic=!1;break;case t.ABG:case t.AEN:s.empty=!0,s.finite=!0,s.cyclic=!1;break;default:throw new Error(`unknown opcode type: ${c}`)}}function a(e,t,r){const n=e.attrsWorking[t];n.isComplete?e.attrCopy(r,n):n.isOpen?t===e.startRule?t===e.startRule&&(r.left=!0,r.right=!0,r.cyclic=!0,r.leaf=!0):r.finite=!0:(n.isOpen=!0,i(e,n.rule.opcodes,0,r),n.left=r.left,n.right=r.right,n.nested=r.nested,n.empty=r.empty,n.finite=r.finite,n.cyclic=r.cyclic,n.leaf=!1,n.isOpen=!1,n.isComplete=!0)}const c=e=>e?"t":"f",u=e=>e?"e":"f",l=(e,n,s,o)=>{let i=`${e}:${n}:`;return i+=`${u(s.left)} `,i+=`${c(s.nested)} `,i+=`${c(s.right)} `,i+=`${u(s.cyclic)} `,i+=(s.finite?"t":"e")+" ",i+=`${c(s.empty)}:`,i+=`${r.typeToString(o.recursiveType)}:`,i+=o.recursiveType===t.ATTR_MR?o.groupNumber:"-",i+=`:${s.rule.name}\n`,i},d=()=>{let e="LEGEND - t=true, f=false, e=error\n";return e+="sequence:rule index:left nested right cyclic finite empty:type:group number:rule name\n","LEGEND - t=true, f=false, e=error\nsequence:rule index:left nested right cyclic finite empty:type:group number:rule name\n"},f=e=>{let t=0,n=0,s=null,o=null,i="",{ruleIndexes:a}=r;for(97===e?a=r.ruleAlphaIndexes:116===e&&(a=r.ruleTypeIndexes),t=0;t<r.ruleCount;t+=1)n=a[t],s=r.attrs[n],o=r.ruleDeps[n],i+=l(t,n,s,o);return i};return{ruleAttributes:e=>{r=e;let t=0,n=0;const s=r.attrGen();for(t=0;t<r.ruleCount;t+=1){for(n=0;n<r.ruleCount;n+=1)r.attrInit(r.attrsWorking[n]);r.startRule=t,a(r,t,s),r.attrCopy(r.attrs[t],r.attrsWorking[t])}r.attributesComplete=!0;let o=null;for(t=0;t<r.ruleCount;t+=1)if(o=r.attrs[t],o.left||!o.finite||o.cyclic){const e=r.attrGen(o.rule);r.attrCopy(e,o),r.attrsErrors.push(e),r.attrsErrorCount+=1}},showAttributes:(e="index")=>{if(!r.attributesComplete)throw new Error("rule-attributes.js:showAttributes: attributes not available");let t="";const n="RULE ATTRIBUTES\n";return 97===e.charCodeAt(0)?(t+="alphabetical by rule name\n",t+=n,t+=d(),t+=f(97)):116===e.charCodeAt(0)?(t+="ordered by rule type\n",t+=n,t+=d(),t+=f(116)):(t+="ordered by rule index\n",t+=n,t+=d(),t+=f()),t},showAttributeErrors:()=>{let e=null,t=null,n="";if(n+="RULE ATTRIBUTES WITH ERRORS\n",n+=d(),r.attrsErrorCount)for(let s=0;s<r.attrsErrorCount;s+=1)e=r.attrsErrors[s],t=r.ruleDeps[e.rule.index],n+=l(s,e.rule.index,e,t);else n+="<none>\n";return n}}}()}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/rule-attributes.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/rule-dependencies.js",{"../apg-lib/identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/identifiers.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=(()=>{const t=e("../apg-lib/identifiers");let r=null;const n=(e,r,s,o)=>{let i=0,a=0;const c=r[s];o[s]=!0;const u=c.rule.opcodes;for(i=0;i<u.length;i+=1){const s=u[i];if(s.type===t.RNM)for(c.refersTo[s.index]=!0,o[s.index]||n(e,r,s.index,o),a=0;a<e;a+=1)r[s.index].refersTo[a]&&(c.refersTo[a]=!0);else s.type===t.UDT?c.refersToUdt[s.index]=!0:s.type===t.BKR&&(s.index<e?(c.refersTo[s.index]=!0,o[s.index]||n(e,r,s.index,o)):c.refersToUdt[e-s.index]=!0)}},s=(e=null)=>{let t=0,n=0,s=0,o=0;const i=r.ruleCount-1,a=r.udtCount-1;let c="",u="";const l="=> ";let d=!1,f=null,{ruleIndexes:h}=r,{udtIndexes:m}=r;for(97===e?(h=r.ruleAlphaIndexes,m=r.udtAlphaIndexes):116===e&&(h=r.ruleTypeIndexes,m=r.udtAlphaIndexes),t=0;t<r.ruleCount;t+=1){for(f=r.ruleDeps[h[t]],u=`${h[t]}:${r.typeToString(f.recursiveType)}:`,r.isMutuallyRecursive&&(u+=f.groupNumber>-1?f.groupNumber:"-",u+=":"),u+=" ",c+=`${u+r.rules[h[t]].name}\n`,d=!0,s=0,o=c.length,c+=u,n=0;n<r.ruleCount;n+=1)f.refersTo[h[n]]&&(d?(c+=l,d=!1,c+=r.ruleDeps[h[n]].rule.name):c+=`, ${r.ruleDeps[h[n]].rule.name}`,s+=1),c.length-o>100&&n!==i&&(c+=`\n${u}${l}`,o=c.length);if(r.udtCount)for(n=0;n<r.udtCount;n+=1)f.refersToUdt[m[n]]&&(d?(c+=l,d=!1,c+=r.udts[m[n]].name):c+=`, ${r.udts[m[n]].name}`,s+=1),c.length-o>100&&n!==a&&(c+=`\n${u}${l}`,o=c.length);for(0===s&&(c+="=> <none>\n"),!1===d&&(c+="\n"),d=!0,s=0,o=c.length,c+=u,n=0;n<r.ruleCount;n+=1)f.referencedBy[h[n]]&&(d?(c+="<= ",d=!1,c+=r.ruleDeps[h[n]].rule.name):c+=`, ${r.ruleDeps[h[n]].rule.name}`,s+=1),c.length-o>100&&n!==i&&(c+=`\n${u}${l}`,o=c.length);0===s&&(c+="<= <none>\n"),!1===d&&(c+="\n"),c+="\n"}return c};return{ruleDependencies:e=>{r=e;let s=0,o=0,i=0,a=null,c=null,u=!1;r.dependenciesComplete=!1;const l=r.falseArray(r.ruleCount);for(s=0;s<r.ruleCount;s+=1)r.falsifyArray(l),n(r.ruleCount,r.ruleDeps,s,l);for(s=0;s<r.ruleCount;s+=1)for(o=0;o<r.ruleCount;o+=1)s!==o&&r.ruleDeps[o].refersTo[s]&&(r.ruleDeps[s].referencedBy[o]=!0);for(s=0;s<r.ruleCount;s+=1)r.ruleDeps[s].recursiveType=t.ATTR_N,r.ruleDeps[s].refersTo[s]&&(r.ruleDeps[s].recursiveType=t.ATTR_R);for(i=-1,s=0;s<r.ruleCount;s+=1)if(a=r.ruleDeps[s],a.recursiveType===t.ATTR_R)for(u=!0,o=0;o<r.ruleCount;o+=1)s!==o&&(c=r.ruleDeps[o],c.recursiveType===t.ATTR_R&&a.refersTo[o]&&c.refersTo[s]&&(u&&(i+=1,a.recursiveType=t.ATTR_MR,a.groupNumber=i,u=!1),c.recursiveType=t.ATTR_MR,c.groupNumber=i));r.isMutuallyRecursive=i>-1,r.ruleAlphaIndexes.sort(r.compRulesAlpha),r.ruleTypeIndexes.sort(r.compRulesAlpha),r.ruleTypeIndexes.sort(r.compRulesType),r.isMutuallyRecursive&&r.ruleTypeIndexes.sort(r.compRulesGroup),r.udtCount&&r.udtAlphaIndexes.sort(r.compUdtsAlpha),r.dependenciesComplete=!0},showRuleDependencies:(e="index")=>{let t="RULE DEPENDENCIES(index:type:[group number:])\n";return t+="=> refers to rule names\n",t+="<= referenced by rule names\n",r.dependenciesComplete?(97===e.charCodeAt(0)?(t+="alphabetical by rule name\n",t+=s(97)):116===e.charCodeAt(0)?(t+="ordered by rule type\n",t+=s(116)):(t+="ordered by rule index\n",t+=s(null)),t):t}}})()}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/rule-dependencies.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/sabnf-grammar.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"File",lower:"file",index:0,isBkr:!1},this.rules[1]={name:"BlankLine",lower:"blankline",index:1,isBkr:!1},this.rules[2]={name:"Rule",lower:"rule",index:2,isBkr:!1},this.rules[3]={name:"RuleLookup",lower:"rulelookup",index:3,isBkr:!1},this.rules[4]={name:"RuleNameTest",lower:"rulenametest",index:4,isBkr:!1},this.rules[5]={name:"RuleName",lower:"rulename",index:5,isBkr:!1},this.rules[6]={name:"RuleNameError",lower:"rulenameerror",index:6,isBkr:!1},this.rules[7]={name:"DefinedAsTest",lower:"definedastest",index:7,isBkr:!1},this.rules[8]={name:"DefinedAsError",lower:"definedaserror",index:8,isBkr:!1},this.rules[9]={name:"DefinedAs",lower:"definedas",index:9,isBkr:!1},this.rules[10]={name:"Defined",lower:"defined",index:10,isBkr:!1},this.rules[11]={name:"IncAlt",lower:"incalt",index:11,isBkr:!1},this.rules[12]={name:"RuleError",lower:"ruleerror",index:12,isBkr:!1},this.rules[13]={name:"LineEndError",lower:"lineenderror",index:13,isBkr:!1},this.rules[14]={name:"Alternation",lower:"alternation",index:14,isBkr:!1},this.rules[15]={name:"Concatenation",lower:"concatenation",index:15,isBkr:!1},this.rules[16]={name:"Repetition",lower:"repetition",index:16,isBkr:!1},this.rules[17]={name:"Modifier",lower:"modifier",index:17,isBkr:!1},this.rules[18]={name:"Predicate",lower:"predicate",index:18,isBkr:!1},this.rules[19]={name:"BasicElement",lower:"basicelement",index:19,isBkr:!1},this.rules[20]={name:"BasicElementErr",lower:"basicelementerr",index:20,isBkr:!1},this.rules[21]={name:"Group",lower:"group",index:21,isBkr:!1},this.rules[22]={name:"GroupError",lower:"grouperror",index:22,isBkr:!1},this.rules[23]={name:"GroupOpen",lower:"groupopen",index:23,isBkr:!1},this.rules[24]={name:"GroupClose",lower:"groupclose",index:24,isBkr:!1},this.rules[25]={name:"Option",lower:"option",index:25,isBkr:!1},this.rules[26]={name:"OptionError",lower:"optionerror",index:26,isBkr:!1},this.rules[27]={name:"OptionOpen",lower:"optionopen",index:27,isBkr:!1},this.rules[28]={name:"OptionClose",lower:"optionclose",index:28,isBkr:!1},this.rules[29]={name:"RnmOp",lower:"rnmop",index:29,isBkr:!1},this.rules[30]={name:"BkrOp",lower:"bkrop",index:30,isBkr:!1},this.rules[31]={name:"bkrModifier",lower:"bkrmodifier",index:31,isBkr:!1},this.rules[32]={name:"cs",lower:"cs",index:32,isBkr:!1},this.rules[33]={name:"ci",lower:"ci",index:33,isBkr:!1},this.rules[34]={name:"um",lower:"um",index:34,isBkr:!1},this.rules[35]={name:"pm",lower:"pm",index:35,isBkr:!1},this.rules[36]={name:"bkr-name",lower:"bkr-name",index:36,isBkr:!1},this.rules[37]={name:"rname",lower:"rname",index:37,isBkr:!1},this.rules[38]={name:"uname",lower:"uname",index:38,isBkr:!1},this.rules[39]={name:"ename",lower:"ename",index:39,isBkr:!1},this.rules[40]={name:"UdtOp",lower:"udtop",index:40,isBkr:!1},this.rules[41]={name:"udt-non-empty",lower:"udt-non-empty",index:41,isBkr:!1},this.rules[42]={name:"udt-empty",lower:"udt-empty",index:42,isBkr:!1},this.rules[43]={name:"RepOp",lower:"repop",index:43,isBkr:!1},this.rules[44]={name:"AltOp",lower:"altop",index:44,isBkr:!1},this.rules[45]={name:"CatOp",lower:"catop",index:45,isBkr:!1},this.rules[46]={name:"StarOp",lower:"starop",index:46,isBkr:!1},this.rules[47]={name:"AndOp",lower:"andop",index:47,isBkr:!1},this.rules[48]={name:"NotOp",lower:"notop",index:48,isBkr:!1},this.rules[49]={name:"BkaOp",lower:"bkaop",index:49,isBkr:!1},this.rules[50]={name:"BknOp",lower:"bknop",index:50,isBkr:!1},this.rules[51]={name:"AbgOp",lower:"abgop",index:51,isBkr:!1},this.rules[52]={name:"AenOp",lower:"aenop",index:52,isBkr:!1},this.rules[53]={name:"TrgOp",lower:"trgop",index:53,isBkr:!1},this.rules[54]={name:"TbsOp",lower:"tbsop",index:54,isBkr:!1},this.rules[55]={name:"TlsOp",lower:"tlsop",index:55,isBkr:!1},this.rules[56]={name:"TlsCase",lower:"tlscase",index:56,isBkr:!1},this.rules[57]={name:"TlsOpen",lower:"tlsopen",index:57,isBkr:!1},this.rules[58]={name:"TlsClose",lower:"tlsclose",index:58,isBkr:!1},this.rules[59]={name:"TlsString",lower:"tlsstring",index:59,isBkr:!1},this.rules[60]={name:"StringTab",lower:"stringtab",index:60,isBkr:!1},this.rules[61]={name:"ClsOp",lower:"clsop",index:61,isBkr:!1},this.rules[62]={name:"ClsOpen",lower:"clsopen",index:62,isBkr:!1},this.rules[63]={name:"ClsClose",lower:"clsclose",index:63,isBkr:!1},this.rules[64]={name:"ClsString",lower:"clsstring",index:64,isBkr:!1},this.rules[65]={name:"ProsVal",lower:"prosval",index:65,isBkr:!1},this.rules[66]={name:"ProsValOpen",lower:"prosvalopen",index:66,isBkr:!1},this.rules[67]={name:"ProsValString",lower:"prosvalstring",index:67,isBkr:!1},this.rules[68]={name:"ProsValClose",lower:"prosvalclose",index:68,isBkr:!1},this.rules[69]={name:"rep-min",lower:"rep-min",index:69,isBkr:!1},this.rules[70]={name:"rep-min-max",lower:"rep-min-max",index:70,isBkr:!1},this.rules[71]={name:"rep-max",lower:"rep-max",index:71,isBkr:!1},this.rules[72]={name:"rep-num",lower:"rep-num",index:72,isBkr:!1},this.rules[73]={name:"dString",lower:"dstring",index:73,isBkr:!1},this.rules[74]={name:"xString",lower:"xstring",index:74,isBkr:!1},this.rules[75]={name:"bString",lower:"bstring",index:75,isBkr:!1},this.rules[76]={name:"Dec",lower:"dec",index:76,isBkr:!1},this.rules[77]={name:"Hex",lower:"hex",index:77,isBkr:!1},this.rules[78]={name:"Bin",lower:"bin",index:78,isBkr:!1},this.rules[79]={name:"dmin",lower:"dmin",index:79,isBkr:!1},this.rules[80]={name:"dmax",lower:"dmax",index:80,isBkr:!1},this.rules[81]={name:"bmin",lower:"bmin",index:81,isBkr:!1},this.rules[82]={name:"bmax",lower:"bmax",index:82,isBkr:!1},this.rules[83]={name:"xmin",lower:"xmin",index:83,isBkr:!1},this.rules[84]={name:"xmax",lower:"xmax",index:84,isBkr:!1},this.rules[85]={name:"dnum",lower:"dnum",index:85,isBkr:!1},this.rules[86]={name:"bnum",lower:"bnum",index:86,isBkr:!1},this.rules[87]={name:"xnum",lower:"xnum",index:87,isBkr:!1},this.rules[88]={name:"alphanum",lower:"alphanum",index:88,isBkr:!1},this.rules[89]={name:"owsp",lower:"owsp",index:89,isBkr:!1},this.rules[90]={name:"wsp",lower:"wsp",index:90,isBkr:!1},this.rules[91]={name:"space",lower:"space",index:91,isBkr:!1},this.rules[92]={name:"comment",lower:"comment",index:92,isBkr:!1},this.rules[93]={name:"LineEnd",lower:"lineend",index:93,isBkr:!1},this.rules[94]={name:"LineContinue",lower:"linecontinue",index:94,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:3,min:0,max:Infinity},this.rules[0].opcodes[1]={type:1,children:[2,3,4]},this.rules[0].opcodes[2]={type:4,index:1},this.rules[0].opcodes[3]={type:4,index:2},this.rules[0].opcodes[4]={type:4,index:12},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:2,children:[1,5,7]},this.rules[1].opcodes[1]={type:3,min:0,max:Infinity},this.rules[1].opcodes[2]={type:1,children:[3,4]},this.rules[1].opcodes[3]={type:6,string:[32]},this.rules[1].opcodes[4]={type:6,string:[9]},this.rules[1].opcodes[5]={type:3,min:0,max:1},this.rules[1].opcodes[6]={type:4,index:92},this.rules[1].opcodes[7]={type:4,index:93},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:2,children:[1,2,3,4]},this.rules[2].opcodes[1]={type:4,index:3},this.rules[2].opcodes[2]={type:4,index:89},this.rules[2].opcodes[3]={type:4,index:14},this.rules[2].opcodes[4]={type:1,children:[5,8]},this.rules[2].opcodes[5]={type:2,children:[6,7]},this.rules[2].opcodes[6]={type:4,index:89},this.rules[2].opcodes[7]={type:4,index:93},this.rules[2].opcodes[8]={type:2,children:[9,10]},this.rules[2].opcodes[9]={type:4,index:13},this.rules[2].opcodes[10]={type:4,index:93},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:2,children:[1,2,3]},this.rules[3].opcodes[1]={type:4,index:4},this.rules[3].opcodes[2]={type:4,index:89},this.rules[3].opcodes[3]={type:4,index:7},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:1,children:[1,2]},this.rules[4].opcodes[1]={type:4,index:5},this.rules[4].opcodes[2]={type:4,index:6},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:4,index:88},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:3,min:1,max:Infinity},this.rules[6].opcodes[1]={type:1,children:[2,3]},this.rules[6].opcodes[2]={type:5,min:33,max:60},this.rules[6].opcodes[3]={type:5,min:62,max:126},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2]},this.rules[7].opcodes[1]={type:4,index:9},this.rules[7].opcodes[2]={type:4,index:8},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:3,min:1,max:2},this.rules[8].opcodes[1]={type:5,min:33,max:126},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:1,children:[1,2]},this.rules[9].opcodes[1]={type:4,index:11},this.rules[9].opcodes[2]={type:4,index:10},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:6,string:[61]},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:6,string:[61,47]},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:2,children:[1,6]},this.rules[12].opcodes[1]={type:3,min:1,max:Infinity},this.rules[12].opcodes[2]={type:1,children:[3,4,5]},this.rules[12].opcodes[3]={type:5,min:32,max:126},this.rules[12].opcodes[4]={type:6,string:[9]},this.rules[12].opcodes[5]={type:4,index:94},this.rules[12].opcodes[6]={type:4,index:93},this.rules[13].opcodes=[],this.rules[13].opcodes[0]={type:3,min:1,max:Infinity},this.rules[13].opcodes[1]={type:1,children:[2,3,4]},this.rules[13].opcodes[2]={type:5,min:32,max:126},this.rules[13].opcodes[3]={type:6,string:[9]},this.rules[13].opcodes[4]={type:4,index:94},this.rules[14].opcodes=[],this.rules[14].opcodes[0]={type:2,children:[1,2]},this.rules[14].opcodes[1]={type:4,index:15},this.rules[14].opcodes[2]={type:3,min:0,max:Infinity},this.rules[14].opcodes[3]={type:2,children:[4,5,6]},this.rules[14].opcodes[4]={type:4,index:89},this.rules[14].opcodes[5]={type:4,index:44},this.rules[14].opcodes[6]={type:4,index:15},this.rules[15].opcodes=[],this.rules[15].opcodes[0]={type:2,children:[1,2]},this.rules[15].opcodes[1]={type:4,index:16},this.rules[15].opcodes[2]={type:3,min:0,max:Infinity},this.rules[15].opcodes[3]={type:2,children:[4,5]},this.rules[15].opcodes[4]={type:4,index:45},this.rules[15].opcodes[5]={type:4,index:16},this.rules[16].opcodes=[],this.rules[16].opcodes[0]={type:2,children:[1,3]},this.rules[16].opcodes[1]={type:3,min:0,max:1},this.rules[16].opcodes[2]={type:4,index:17},this.rules[16].opcodes[3]={type:1,children:[4,5,6,7]},this.rules[16].opcodes[4]={type:4,index:21},this.rules[16].opcodes[5]={type:4,index:25},this.rules[16].opcodes[6]={type:4,index:19},this.rules[16].opcodes[7]={type:4,index:20},this.rules[17].opcodes=[],this.rules[17].opcodes[0]={type:1,children:[1,5]},this.rules[17].opcodes[1]={type:2,children:[2,3]},this.rules[17].opcodes[2]={type:4,index:18},this.rules[17].opcodes[3]={type:3,min:0,max:1},this.rules[17].opcodes[4]={type:4,index:43},this.rules[17].opcodes[5]={type:4,index:43},this.rules[18].opcodes=[],this.rules[18].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[18].opcodes[1]={type:4,index:49},this.rules[18].opcodes[2]={type:4,index:50},this.rules[18].opcodes[3]={type:4,index:47},this.rules[18].opcodes[4]={type:4,index:48},this.rules[19].opcodes=[],this.rules[19].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10]},this.rules[19].opcodes[1]={type:4,index:40},this.rules[19].opcodes[2]={type:4,index:29},this.rules[19].opcodes[3]={type:4,index:53},this.rules[19].opcodes[4]={type:4,index:54},this.rules[19].opcodes[5]={type:4,index:55},this.rules[19].opcodes[6]={type:4,index:61},this.rules[19].opcodes[7]={type:4,index:30},this.rules[19].opcodes[8]={type:4,index:51},this.rules[19].opcodes[9]={type:4,index:52},this.rules[19].opcodes[10]={type:4,index:65},this.rules[20].opcodes=[],this.rules[20].opcodes[0]={type:3,min:1,max:Infinity},this.rules[20].opcodes[1]={type:1,children:[2,3,4,5]},this.rules[20].opcodes[2]={type:5,min:33,max:40},this.rules[20].opcodes[3]={type:5,min:42,max:46},this.rules[20].opcodes[4]={type:5,min:48,max:92},this.rules[20].opcodes[5]={type:5,min:94,max:126},this.rules[21].opcodes=[],this.rules[21].opcodes[0]={type:2,children:[1,2,3]},this.rules[21].opcodes[1]={type:4,index:23},this.rules[21].opcodes[2]={type:4,index:14},this.rules[21].opcodes[3]={type:1,children:[4,5]},this.rules[21].opcodes[4]={type:4,index:24},this.rules[21].opcodes[5]={type:4,index:22},this.rules[22].opcodes=[],this.rules[22].opcodes[0]={type:3,min:1,max:Infinity},this.rules[22].opcodes[1]={type:1,children:[2,3,4,5]},this.rules[22].opcodes[2]={type:5,min:33,max:40},this.rules[22].opcodes[3]={type:5,min:42,max:46},this.rules[22].opcodes[4]={type:5,min:48,max:92},this.rules[22].opcodes[5]={type:5,min:94,max:126},this.rules[23].opcodes=[],this.rules[23].opcodes[0]={type:2,children:[1,2]},this.rules[23].opcodes[1]={type:6,string:[40]},this.rules[23].opcodes[2]={type:4,index:89},this.rules[24].opcodes=[],this.rules[24].opcodes[0]={type:2,children:[1,2]},this.rules[24].opcodes[1]={type:4,index:89},this.rules[24].opcodes[2]={type:6,string:[41]},this.rules[25].opcodes=[],this.rules[25].opcodes[0]={type:2,children:[1,2,3]},this.rules[25].opcodes[1]={type:4,index:27},this.rules[25].opcodes[2]={type:4,index:14},this.rules[25].opcodes[3]={type:1,children:[4,5]},this.rules[25].opcodes[4]={type:4,index:28},this.rules[25].opcodes[5]={type:4,index:26},this.rules[26].opcodes=[],this.rules[26].opcodes[0]={type:3,min:1,max:Infinity},this.rules[26].opcodes[1]={type:1,children:[2,3,4,5]},this.rules[26].opcodes[2]={type:5,min:33,max:40},this.rules[26].opcodes[3]={type:5,min:42,max:46},this.rules[26].opcodes[4]={type:5,min:48,max:92},this.rules[26].opcodes[5]={type:5,min:94,max:126},this.rules[27].opcodes=[],this.rules[27].opcodes[0]={type:2,children:[1,2]},this.rules[27].opcodes[1]={type:6,string:[91]},this.rules[27].opcodes[2]={type:4,index:89},this.rules[28].opcodes=[],this.rules[28].opcodes[0]={type:2,children:[1,2]},this.rules[28].opcodes[1]={type:4,index:89},this.rules[28].opcodes[2]={type:6,string:[93]},this.rules[29].opcodes=[],this.rules[29].opcodes[0]={type:4,index:88},this.rules[30].opcodes=[],this.rules[30].opcodes[0]={type:2,children:[1,2,4]},this.rules[30].opcodes[1]={type:6,string:[92]},this.rules[30].opcodes[2]={type:3,min:0,max:1},this.rules[30].opcodes[3]={type:4,index:31},this.rules[30].opcodes[4]={type:4,index:36},this.rules[31].opcodes=[],this.rules[31].opcodes[0]={type:1,children:[1,7,13,19]},this.rules[31].opcodes[1]={type:2,children:[2,3]},this.rules[31].opcodes[2]={type:4,index:32},this.rules[31].opcodes[3]={type:3,min:0,max:1},this.rules[31].opcodes[4]={type:1,children:[5,6]},this.rules[31].opcodes[5]={type:4,index:34},this.rules[31].opcodes[6]={type:4,index:35},this.rules[31].opcodes[7]={type:2,children:[8,9]},this.rules[31].opcodes[8]={type:4,index:33},this.rules[31].opcodes[9]={type:3,min:0,max:1},this.rules[31].opcodes[10]={type:1,children:[11,12]},this.rules[31].opcodes[11]={type:4,index:34},this.rules[31].opcodes[12]={type:4,index:35},this.rules[31].opcodes[13]={type:2,children:[14,15]},this.rules[31].opcodes[14]={type:4,index:34},this.rules[31].opcodes[15]={type:3,min:0,max:1},this.rules[31].opcodes[16]={type:1,children:[17,18]},this.rules[31].opcodes[17]={type:4,index:32},this.rules[31].opcodes[18]={type:4,index:33},this.rules[31].opcodes[19]={type:2,children:[20,21]},this.rules[31].opcodes[20]={type:4,index:35},this.rules[31].opcodes[21]={type:3,min:0,max:1},this.rules[31].opcodes[22]={type:1,children:[23,24]},this.rules[31].opcodes[23]={type:4,index:32},this.rules[31].opcodes[24]={type:4,index:33},this.rules[32].opcodes=[],this.rules[32].opcodes[0]={type:6,string:[37,115]},this.rules[33].opcodes=[],this.rules[33].opcodes[0]={type:6,string:[37,105]},this.rules[34].opcodes=[],this.rules[34].opcodes[0]={type:6,string:[37,117]},this.rules[35].opcodes=[],this.rules[35].opcodes[0]={type:6,string:[37,112]},this.rules[36].opcodes=[],this.rules[36].opcodes[0]={type:1,children:[1,2,3]},this.rules[36].opcodes[1]={type:4,index:38},this.rules[36].opcodes[2]={type:4,index:39},this.rules[36].opcodes[3]={type:4,index:37},this.rules[37].opcodes=[],this.rules[37].opcodes[0]={type:4,index:88},this.rules[38].opcodes=[],this.rules[38].opcodes[0]={type:2,children:[1,2]},this.rules[38].opcodes[1]={type:6,string:[117,95]},this.rules[38].opcodes[2]={type:4,index:88},this.rules[39].opcodes=[],this.rules[39].opcodes[0]={type:2,children:[1,2]},this.rules[39].opcodes[1]={type:6,string:[101,95]},this.rules[39].opcodes[2]={type:4,index:88},this.rules[40].opcodes=[],this.rules[40].opcodes[0]={type:1,children:[1,2]},this.rules[40].opcodes[1]={type:4,index:42},this.rules[40].opcodes[2]={type:4,index:41},this.rules[41].opcodes=[],this.rules[41].opcodes[0]={type:2,children:[1,2]},this.rules[41].opcodes[1]={type:6,string:[117,95]},this.rules[41].opcodes[2]={type:4,index:88},this.rules[42].opcodes=[],this.rules[42].opcodes[0]={type:2,children:[1,2]},this.rules[42].opcodes[1]={type:6,string:[101,95]},this.rules[42].opcodes[2]={type:4,index:88},this.rules[43].opcodes=[],this.rules[43].opcodes[0]={type:1,children:[1,5,8,11,12]},this.rules[43].opcodes[1]={type:2,children:[2,3,4]},this.rules[43].opcodes[2]={type:4,index:69},this.rules[43].opcodes[3]={type:4,index:46},this.rules[43].opcodes[4]={type:4,index:71},this.rules[43].opcodes[5]={type:2,children:[6,7]},this.rules[43].opcodes[6]={type:4,index:69},this.rules[43].opcodes[7]={type:4,index:46},this.rules[43].opcodes[8]={type:2,children:[9,10]},this.rules[43].opcodes[9]={type:4,index:46},this.rules[43].opcodes[10]={type:4,index:71},this.rules[43].opcodes[11]={type:4,index:46},this.rules[43].opcodes[12]={type:4,index:70},this.rules[44].opcodes=[],this.rules[44].opcodes[0]={type:2,children:[1,2]},this.rules[44].opcodes[1]={type:6,string:[47]},this.rules[44].opcodes[2]={type:4,index:89},this.rules[45].opcodes=[],this.rules[45].opcodes[0]={type:4,index:90},this.rules[46].opcodes=[],this.rules[46].opcodes[0]={type:6,string:[42]},this.rules[47].opcodes=[],this.rules[47].opcodes[0]={type:6,string:[38]},this.rules[48].opcodes=[],this.rules[48].opcodes[0]={type:6,string:[33]},this.rules[49].opcodes=[],this.rules[49].opcodes[0]={type:6,string:[38,38]},this.rules[50].opcodes=[],this.rules[50].opcodes[0]={type:6,string:[33,33]},this.rules[51].opcodes=[],this.rules[51].opcodes[0]={type:6,string:[37,94]},this.rules[52].opcodes=[],this.rules[52].opcodes[0]={type:6,string:[37,36]},this.rules[53].opcodes=[],this.rules[53].opcodes[0]={type:2,children:[1,2]},this.rules[53].opcodes[1]={type:6,string:[37]},this.rules[53].opcodes[2]={type:1,children:[3,8,13]},this.rules[53].opcodes[3]={type:2,children:[4,5,6,7]},this.rules[53].opcodes[4]={type:4,index:76},this.rules[53].opcodes[5]={type:4,index:79},this.rules[53].opcodes[6]={type:6,string:[45]},this.rules[53].opcodes[7]={type:4,index:80},this.rules[53].opcodes[8]={type:2,children:[9,10,11,12]},this.rules[53].opcodes[9]={type:4,index:77},this.rules[53].opcodes[10]={type:4,index:83},this.rules[53].opcodes[11]={type:6,string:[45]},this.rules[53].opcodes[12]={type:4,index:84},this.rules[53].opcodes[13]={type:2,children:[14,15,16,17]},this.rules[53].opcodes[14]={type:4,index:78},this.rules[53].opcodes[15]={type:4,index:81},this.rules[53].opcodes[16]={type:6,string:[45]},this.rules[53].opcodes[17]={type:4,index:82},this.rules[54].opcodes=[],this.rules[54].opcodes[0]={type:2,children:[1,2]},this.rules[54].opcodes[1]={type:6,string:[37]},this.rules[54].opcodes[2]={type:1,children:[3,10,17]},this.rules[54].opcodes[3]={type:2,children:[4,5,6]},this.rules[54].opcodes[4]={type:4,index:76},this.rules[54].opcodes[5]={type:4,index:73},this.rules[54].opcodes[6]={type:3,min:0,max:Infinity},this.rules[54].opcodes[7]={type:2,children:[8,9]},this.rules[54].opcodes[8]={type:6,string:[46]},this.rules[54].opcodes[9]={type:4,index:73},this.rules[54].opcodes[10]={type:2,children:[11,12,13]},this.rules[54].opcodes[11]={type:4,index:77},this.rules[54].opcodes[12]={type:4,index:74},this.rules[54].opcodes[13]={type:3,min:0,max:Infinity},this.rules[54].opcodes[14]={type:2,children:[15,16]},this.rules[54].opcodes[15]={type:6,string:[46]},this.rules[54].opcodes[16]={type:4,index:74},this.rules[54].opcodes[17]={type:2,children:[18,19,20]},this.rules[54].opcodes[18]={type:4,index:78},this.rules[54].opcodes[19]={type:4,index:75},this.rules[54].opcodes[20]={type:3,min:0,max:Infinity},this.rules[54].opcodes[21]={type:2,children:[22,23]},this.rules[54].opcodes[22]={type:6,string:[46]},this.rules[54].opcodes[23]={type:4,index:75},this.rules[55].opcodes=[],this.rules[55].opcodes[0]={type:2,children:[1,2,3,4]},this.rules[55].opcodes[1]={type:4,index:56},this.rules[55].opcodes[2]={type:4,index:57},this.rules[55].opcodes[3]={type:4,index:59},this.rules[55].opcodes[4]={type:4,index:58},this.rules[56].opcodes=[],this.rules[56].opcodes[0]={type:3,min:0,max:1},this.rules[56].opcodes[1]={type:1,children:[2,3]},this.rules[56].opcodes[2]={type:7,string:[37,105]},this.rules[56].opcodes[3]={type:7,string:[37,115]},this.rules[57].opcodes=[],this.rules[57].opcodes[0]={type:6,string:[34]},this.rules[58].opcodes=[],this.rules[58].opcodes[0]={type:6,string:[34]},this.rules[59].opcodes=[],this.rules[59].opcodes[0]={type:3,min:0,max:Infinity},this.rules[59].opcodes[1]={type:1,children:[2,3,4]},this.rules[59].opcodes[2]={type:5,min:32,max:33},this.rules[59].opcodes[3]={type:5,min:35,max:126},this.rules[59].opcodes[4]={type:4,index:60},this.rules[60].opcodes=[],this.rules[60].opcodes[0]={type:6,string:[9]},this.rules[61].opcodes=[],this.rules[61].opcodes[0]={type:2,children:[1,2,3]},this.rules[61].opcodes[1]={type:4,index:62},this.rules[61].opcodes[2]={type:4,index:64},this.rules[61].opcodes[3]={type:4,index:63},this.rules[62].opcodes=[],this.rules[62].opcodes[0]={type:6,string:[39]},this.rules[63].opcodes=[],this.rules[63].opcodes[0]={type:6,string:[39]},this.rules[64].opcodes=[],this.rules[64].opcodes[0]={type:3,min:0,max:Infinity},this.rules[64].opcodes[1]={type:1,children:[2,3,4]},this.rules[64].opcodes[2]={type:5,min:32,max:38},this.rules[64].opcodes[3]={type:5,min:40,max:126},this.rules[64].opcodes[4]={type:4,index:60},this.rules[65].opcodes=[],this.rules[65].opcodes[0]={type:2,children:[1,2,3]},this.rules[65].opcodes[1]={type:4,index:66},this.rules[65].opcodes[2]={type:4,index:67},this.rules[65].opcodes[3]={type:4,index:68},this.rules[66].opcodes=[],this.rules[66].opcodes[0]={type:6,string:[60]},this.rules[67].opcodes=[],this.rules[67].opcodes[0]={type:3,min:0,max:Infinity},this.rules[67].opcodes[1]={type:1,children:[2,3,4]},this.rules[67].opcodes[2]={type:5,min:32,max:61},this.rules[67].opcodes[3]={type:5,min:63,max:126},this.rules[67].opcodes[4]={type:4,index:60},this.rules[68].opcodes=[],this.rules[68].opcodes[0]={type:6,string:[62]},this.rules[69].opcodes=[],this.rules[69].opcodes[0]={type:4,index:72},this.rules[70].opcodes=[],this.rules[70].opcodes[0]={type:4,index:72},this.rules[71].opcodes=[],this.rules[71].opcodes[0]={type:4,index:72},this.rules[72].opcodes=[],this.rules[72].opcodes[0]={type:3,min:1,max:Infinity},this.rules[72].opcodes[1]={type:5,min:48,max:57},this.rules[73].opcodes=[],this.rules[73].opcodes[0]={type:4,index:85},this.rules[74].opcodes=[],this.rules[74].opcodes[0]={type:4,index:87},this.rules[75].opcodes=[],this.rules[75].opcodes[0]={type:4,index:86},this.rules[76].opcodes=[],this.rules[76].opcodes[0]={type:1,children:[1,2]},this.rules[76].opcodes[1]={type:6,string:[68]},this.rules[76].opcodes[2]={type:6,string:[100]},this.rules[77].opcodes=[],this.rules[77].opcodes[0]={type:1,children:[1,2]},this.rules[77].opcodes[1]={type:6,string:[88]},this.rules[77].opcodes[2]={type:6,string:[120]},this.rules[78].opcodes=[],this.rules[78].opcodes[0]={type:1,children:[1,2]},this.rules[78].opcodes[1]={type:6,string:[66]},this.rules[78].opcodes[2]={type:6,string:[98]},this.rules[79].opcodes=[],this.rules[79].opcodes[0]={type:4,index:85},this.rules[80].opcodes=[],this.rules[80].opcodes[0]={type:4,index:85},this.rules[81].opcodes=[],this.rules[81].opcodes[0]={type:4,index:86},this.rules[82].opcodes=[],this.rules[82].opcodes[0]={type:4,index:86},this.rules[83].opcodes=[],this.rules[83].opcodes[0]={type:4,index:87},this.rules[84].opcodes=[],this.rules[84].opcodes[0]={type:4,index:87},this.rules[85].opcodes=[],this.rules[85].opcodes[0]={type:3,min:1,max:Infinity},this.rules[85].opcodes[1]={type:5,min:48,max:57},this.rules[86].opcodes=[],this.rules[86].opcodes[0]={type:3,min:1,max:Infinity},this.rules[86].opcodes[1]={type:5,min:48,max:49},this.rules[87].opcodes=[],this.rules[87].opcodes[0]={type:3,min:1,max:Infinity},this.rules[87].opcodes[1]={type:1,children:[2,3,4]},this.rules[87].opcodes[2]={type:5,min:48,max:57},this.rules[87].opcodes[3]={type:5,min:65,max:70},this.rules[87].opcodes[4]={type:5,min:97,max:102},this.rules[88].opcodes=[],this.rules[88].opcodes[0]={type:2,children:[1,4]},this.rules[88].opcodes[1]={type:1,children:[2,3]},this.rules[88].opcodes[2]={type:5,min:97,max:122},this.rules[88].opcodes[3]={type:5,min:65,max:90},this.rules[88].opcodes[4]={type:3,min:0,max:Infinity},this.rules[88].opcodes[5]={type:1,children:[6,7,8,9]},this.rules[88].opcodes[6]={type:5,min:97,max:122},this.rules[88].opcodes[7]={type:5,min:65,max:90},this.rules[88].opcodes[8]={type:5,min:48,max:57},this.rules[88].opcodes[9]={type:6,string:[45]},this.rules[89].opcodes=[],this.rules[89].opcodes[0]={type:3,min:0,max:Infinity},this.rules[89].opcodes[1]={type:4,index:91},this.rules[90].opcodes=[],this.rules[90].opcodes[0]={type:3,min:1,max:Infinity},this.rules[90].opcodes[1]={type:4,index:91},this.rules[91].opcodes=[],this.rules[91].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[91].opcodes[1]={type:6,string:[32]},this.rules[91].opcodes[2]={type:6,string:[9]},this.rules[91].opcodes[3]={type:4,index:92},this.rules[91].opcodes[4]={type:4,index:94},this.rules[92].opcodes=[],this.rules[92].opcodes[0]={type:2,children:[1,2]},this.rules[92].opcodes[1]={type:6,string:[59]},this.rules[92].opcodes[2]={type:3,min:0,max:Infinity},this.rules[92].opcodes[3]={type:1,children:[4,5]},this.rules[92].opcodes[4]={type:5,min:32,max:126},this.rules[92].opcodes[5]={type:6,string:[9]},this.rules[93].opcodes=[],this.rules[93].opcodes[0]={type:1,children:[1,2,3]},this.rules[93].opcodes[1]={type:6,string:[13,10]},this.rules[93].opcodes[2]={type:6,string:[10]},this.rules[93].opcodes[3]={type:6,string:[13]},this.rules[94].opcodes=[],this.rules[94].opcodes[0]={type:2,children:[1,5]},this.rules[94].opcodes[1]={type:1,children:[2,3,4]},this.rules[94].opcodes[2]={type:6,string:[13,10]},this.rules[94].opcodes[3]={type:6,string:[10]},this.rules[94].opcodes[4]={type:6,string:[13]},this.rules[94].opcodes[5]={type:1,children:[6,7]},this.rules[94].opcodes[6]={type:6,string:[32]},this.rules[94].opcodes[7]={type:6,string:[9]},this.toString=function(){let e="";return e+=";\n",e+="; ABNF for JavaScript APG 2.0 SABNF\n",e+="; RFC 5234 with some restrictions and additions.\n",e+="; Updated 11/24/2015 for RFC 7405 case-sensitive literal string notation\n",e+=';  - accepts %s"string" as a case-sensitive string\n',e+=';  - accepts %i"string" as a case-insensitive string\n',e+=';  - accepts "string" as a case-insensitive string\n',e+=";\n",e+="; Some restrictions:\n",e+=";   1. Rules must begin at first character of each line.\n",e+=";      Indentations on first rule and rules thereafter are not allowed.\n",e+=";   2. Relaxed line endings. CRLF, LF or CR are accepted as valid line ending.\n",e+=";   3. Prose values, i.e. <prose value>, are accepted as valid grammar syntax.\n",e+=";      However, a working parser cannot be generated from them.\n",e+=";\n",e+="; Super set (SABNF) additions:\n",e+=";   1. Look-ahead (syntactic predicate) operators are accepted as element prefixes.\n",e+=";      & is the positive look-ahead operator, succeeds and backtracks if the look-ahead phrase is found\n",e+=";      ! is the negative look-ahead operator, succeeds and backtracks if the look-ahead phrase is NOT found\n",e+=";      e.g. &%d13 or &rule or !(A / B)\n",e+=";   2. User-Defined Terminals (UDT) of the form, u_name and e_name are accepted.\n",e+=";      'name' is alpha followed by alpha/num/hyphen just like a rule name.\n",e+=";      u_name may be used as an element but no rule definition is given.\n",e+=";      e.g. rule = A / u_myUdt\n",e+=';           A = "a"\n',e+=";      would be a valid grammar.\n",e+=";   3. Case-sensitive, single-quoted strings are accepted.\n",e+=";      e.g. 'abc' would be equivalent to %d97.98.99\n",e+=';      (kept for backward compatibility, but superseded by %s"abc")  \n',e+="; New 12/26/2015\n",e+=";   4. Look-behind operators are accepted as element prefixes.\n",e+=";      && is the positive look-behind operator, succeeds and backtracks if the look-behind phrase is found\n",e+=";      !! is the negative look-behind operator, succeeds and backtracks if the look-behind phrase is NOT found\n",e+=";      e.g. &&%d13 or &&rule or !!(A / B)\n",e+=";   5. Back reference operators, i.e. \\rulename, are accepted.\n",e+=";      A back reference operator acts like a TLS or TBS terminal except that the phrase it attempts\n",e+=";      to match is a phrase previously matched by the rule 'rulename'.\n",e+=";      There are two modes of previous phrase matching - the parent-frame mode and the universal mode.\n",e+=";      In universal mode, \\rulename matches the last match to 'rulename' regardless of where it was found.\n",e+=";      In parent-frame mode, \\rulename matches only the last match found on the parent's frame or parse tree level.\n",e+=";      Back reference modifiers can be used to specify case and mode.\n",e+=";      \\A defaults to case-insensitive and universal mode, e.g. \\A === \\%i%uA\n",e+=";      Modifiers %i and %s determine case-insensitive and case-sensitive mode, respectively.\n",e+=";      Modifiers %u and %p determine universal mode and parent frame mode, respectively.\n",e+=";      Case and mode modifiers can appear in any order, e.g. \\%s%pA === \\%p%sA. \n",e+=";   7. String begin anchor, ABG(%^) matches the beginning of the input string location.\n",e+=";      Returns EMPTY or NOMATCH. Never consumes any characters.\n",e+=";   8. String end anchor, AEN(%$) matches the end of the input string location.\n",e+=";      Returns EMPTY or NOMATCH. Never consumes any characters.\n",e+=";\n",e+="File            = *(BlankLine / Rule / RuleError)\n",e+="BlankLine       = *(%d32/%d9) [comment] LineEnd\n",e+="Rule            = RuleLookup owsp Alternation ((owsp LineEnd)\n",e+="                / (LineEndError LineEnd))\n",e+="RuleLookup      = RuleNameTest owsp DefinedAsTest\n",e+="RuleNameTest    = RuleName/RuleNameError\n",e+="RuleName        = alphanum\n",e+="RuleNameError   = 1*(%d33-60/%d62-126)\n",e+="DefinedAsTest   = DefinedAs / DefinedAsError\n",e+="DefinedAsError  = 1*2%d33-126\n",e+="DefinedAs       = IncAlt / Defined\n",e+="Defined         = %d61\n",e+="IncAlt          = %d61.47\n",e+="RuleError       = 1*(%d32-126 / %d9  / LineContinue) LineEnd\n",e+="LineEndError    = 1*(%d32-126 / %d9  / LineContinue)\n",e+="Alternation     = Concatenation *(owsp AltOp Concatenation)\n",e+="Concatenation   = Repetition *(CatOp Repetition)\n",e+="Repetition      = [Modifier] (Group / Option / BasicElement / BasicElementErr)\n",e+="Modifier        = (Predicate [RepOp])\n",e+="                / RepOp\n",e+="Predicate       = BkaOp\n",e+="                / BknOp\n",e+="                / AndOp\n",e+="                / NotOp\n",e+="BasicElement    = UdtOp\n",e+="                / RnmOp\n",e+="                / TrgOp\n",e+="                / TbsOp\n",e+="                / TlsOp\n",e+="                / ClsOp\n",e+="                / BkrOp\n",e+="                / AbgOp\n",e+="                / AenOp\n",e+="                / ProsVal\n",e+="BasicElementErr = 1*(%d33-40/%d42-46/%d48-92/%d94-126)\n",e+="Group           = GroupOpen  Alternation (GroupClose / GroupError)\n",e+="GroupError      = 1*(%d33-40/%d42-46/%d48-92/%d94-126) ; same as BasicElementErr\n",e+="GroupOpen       = %d40 owsp\n",e+="GroupClose      = owsp %d41\n",e+="Option          = OptionOpen Alternation (OptionClose / OptionError)\n",e+="OptionError     = 1*(%d33-40/%d42-46/%d48-92/%d94-126) ; same as BasicElementErr\n",e+="OptionOpen      = %d91 owsp\n",e+="OptionClose     = owsp %d93\n",e+="RnmOp           = alphanum\n",e+="BkrOp           = %d92 [bkrModifier] bkr-name\n",e+="bkrModifier     = (cs [um / pm]) / (ci [um / pm]) / (um [cs /ci]) / (pm [cs / ci])\n",e+="cs              = '%s'\n",e+="ci              = '%i'\n",e+="um              = '%u'\n",e+="pm              = '%p'\n",e+="bkr-name        = uname / ename / rname\n",e+="rname           = alphanum\n",e+="uname           = %d117.95 alphanum\n",e+="ename           = %d101.95 alphanum\n",e+="UdtOp           = udt-empty\n",e+="                / udt-non-empty\n",e+="udt-non-empty   = %d117.95 alphanum\n",e+="udt-empty       = %d101.95 alphanum\n",e+="RepOp           = (rep-min StarOp rep-max)\n",e+="                / (rep-min StarOp)\n",e+="                / (StarOp rep-max)\n",e+="                / StarOp\n",e+="                / rep-min-max\n",e+="AltOp           = %d47 owsp\n",e+="CatOp           = wsp\n",e+="StarOp          = %d42\n",e+="AndOp           = %d38\n",e+="NotOp           = %d33\n",e+="BkaOp           = %d38.38\n",e+="BknOp           = %d33.33\n",e+="AbgOp           = %d37.94\n",e+="AenOp           = %d37.36\n",e+="TrgOp           = %d37 ((Dec dmin %d45 dmax) / (Hex xmin %d45 xmax) / (Bin bmin %d45 bmax))\n",e+="TbsOp           = %d37 ((Dec dString *(%d46 dString)) / (Hex xString *(%d46 xString)) / (Bin bString *(%d46 bString)))\n",e+="TlsOp           = TlsCase TlsOpen TlsString TlsClose\n",e+='TlsCase         = ["%i" / "%s"]\n',e+="TlsOpen         = %d34\n",e+="TlsClose        = %d34\n",e+="TlsString       = *(%d32-33/%d35-126/StringTab)\n",e+="StringTab       = %d9\n",e+="ClsOp           = ClsOpen ClsString ClsClose\n",e+="ClsOpen         = %d39\n",e+="ClsClose        = %d39\n",e+="ClsString       = *(%d32-38/%d40-126/StringTab)\n",e+="ProsVal         = ProsValOpen ProsValString ProsValClose\n",e+="ProsValOpen     = %d60\n",e+="ProsValString   = *(%d32-61/%d63-126/StringTab)\n",e+="ProsValClose    = %d62\n",e+="rep-min         = rep-num\n",e+="rep-min-max     = rep-num\n",e+="rep-max         = rep-num\n",e+="rep-num         = 1*(%d48-57)\n",e+="dString         = dnum\n",e+="xString         = xnum\n",e+="bString         = bnum\n",e+="Dec             = (%d68/%d100)\n",e+="Hex             = (%d88/%d120)\n",e+="Bin             = (%d66/%d98)\n",e+="dmin            = dnum\n",e+="dmax            = dnum\n",e+="bmin            = bnum\n",e+="bmax            = bnum\n",e+="xmin            = xnum\n",e+="xmax            = xnum\n",e+="dnum            = 1*(%d48-57)\n",e+="bnum            = 1*%d48-49\n",e+="xnum            = 1*(%d48-57 / %d65-70 / %d97-102)\n",e+=";\n",e+="; Basics\n",e+="alphanum        = (%d97-122/%d65-90) *(%d97-122/%d65-90/%d48-57/%d45)\n",e+="owsp            = *space\n",e+="wsp             = 1*space\n",e+="space           = %d32\n",e+="                / %d9\n",e+="                / comment\n",e+="                / LineContinue\n",e+="comment         = %d59 *(%d32-126 / %d9)\n",e+="LineEnd         = %d13.10\n",e+="                / %d10\n",e+="                / %d13\n",e+="LineContinue    = (%d13.10 / %d10 / %d13) (%d32 / %d9)\n",";\n; ABNF for JavaScript APG 2.0 SABNF\n; RFC 5234 with some restrictions and additions.\n; Updated 11/24/2015 for RFC 7405 case-sensitive literal string notation\n;  - accepts %s\"string\" as a case-sensitive string\n;  - accepts %i\"string\" as a case-insensitive string\n;  - accepts \"string\" as a case-insensitive string\n;\n; Some restrictions:\n;   1. Rules must begin at first character of each line.\n;      Indentations on first rule and rules thereafter are not allowed.\n;   2. Relaxed line endings. CRLF, LF or CR are accepted as valid line ending.\n;   3. Prose values, i.e. <prose value>, are accepted as valid grammar syntax.\n;      However, a working parser cannot be generated from them.\n;\n; Super set (SABNF) additions:\n;   1. Look-ahead (syntactic predicate) operators are accepted as element prefixes.\n;      & is the positive look-ahead operator, succeeds and backtracks if the look-ahead phrase is found\n;      ! is the negative look-ahead operator, succeeds and backtracks if the look-ahead phrase is NOT found\n;      e.g. &%d13 or &rule or !(A / B)\n;   2. User-Defined Terminals (UDT) of the form, u_name and e_name are accepted.\n;      'name' is alpha followed by alpha/num/hyphen just like a rule name.\n;      u_name may be used as an element but no rule definition is given.\n;      e.g. rule = A / u_myUdt\n;           A = \"a\"\n;      would be a valid grammar.\n;   3. Case-sensitive, single-quoted strings are accepted.\n;      e.g. 'abc' would be equivalent to %d97.98.99\n;      (kept for backward compatibility, but superseded by %s\"abc\")  \n; New 12/26/2015\n;   4. Look-behind operators are accepted as element prefixes.\n;      && is the positive look-behind operator, succeeds and backtracks if the look-behind phrase is found\n;      !! is the negative look-behind operator, succeeds and backtracks if the look-behind phrase is NOT found\n;      e.g. &&%d13 or &&rule or !!(A / B)\n;   5. Back reference operators, i.e. \\rulename, are accepted.\n;      A back reference operator acts like a TLS or TBS terminal except that the phrase it attempts\n;      to match is a phrase previously matched by the rule 'rulename'.\n;      There are two modes of previous phrase matching - the parent-frame mode and the universal mode.\n;      In universal mode, \\rulename matches the last match to 'rulename' regardless of where it was found.\n;      In parent-frame mode, \\rulename matches only the last match found on the parent's frame or parse tree level.\n;      Back reference modifiers can be used to specify case and mode.\n;      \\A defaults to case-insensitive and universal mode, e.g. \\A === \\%i%uA\n;      Modifiers %i and %s determine case-insensitive and case-sensitive mode, respectively.\n;      Modifiers %u and %p determine universal mode and parent frame mode, respectively.\n;      Case and mode modifiers can appear in any order, e.g. \\%s%pA === \\%p%sA. \n;   7. String begin anchor, ABG(%^) matches the beginning of the input string location.\n;      Returns EMPTY or NOMATCH. Never consumes any characters.\n;   8. String end anchor, AEN(%$) matches the end of the input string location.\n;      Returns EMPTY or NOMATCH. Never consumes any characters.\n;\nFile            = *(BlankLine / Rule / RuleError)\nBlankLine       = *(%d32/%d9) [comment] LineEnd\nRule            = RuleLookup owsp Alternation ((owsp LineEnd)\n                / (LineEndError LineEnd))\nRuleLookup      = RuleNameTest owsp DefinedAsTest\nRuleNameTest    = RuleName/RuleNameError\nRuleName        = alphanum\nRuleNameError   = 1*(%d33-60/%d62-126)\nDefinedAsTest   = DefinedAs / DefinedAsError\nDefinedAsError  = 1*2%d33-126\nDefinedAs       = IncAlt / Defined\nDefined         = %d61\nIncAlt          = %d61.47\nRuleError       = 1*(%d32-126 / %d9  / LineContinue) LineEnd\nLineEndError    = 1*(%d32-126 / %d9  / LineContinue)\nAlternation     = Concatenation *(owsp AltOp Concatenation)\nConcatenation   = Repetition *(CatOp Repetition)\nRepetition      = [Modifier] (Group / Option / BasicElement / BasicElementErr)\nModifier        = (Predicate [RepOp])\n                / RepOp\nPredicate       = BkaOp\n                / BknOp\n                / AndOp\n                / NotOp\nBasicElement    = UdtOp\n                / RnmOp\n                / TrgOp\n                / TbsOp\n                / TlsOp\n                / ClsOp\n                / BkrOp\n                / AbgOp\n                / AenOp\n                / ProsVal\nBasicElementErr = 1*(%d33-40/%d42-46/%d48-92/%d94-126)\nGroup           = GroupOpen  Alternation (GroupClose / GroupError)\nGroupError      = 1*(%d33-40/%d42-46/%d48-92/%d94-126) ; same as BasicElementErr\nGroupOpen       = %d40 owsp\nGroupClose      = owsp %d41\nOption          = OptionOpen Alternation (OptionClose / OptionError)\nOptionError     = 1*(%d33-40/%d42-46/%d48-92/%d94-126) ; same as BasicElementErr\nOptionOpen      = %d91 owsp\nOptionClose     = owsp %d93\nRnmOp           = alphanum\nBkrOp           = %d92 [bkrModifier] bkr-name\nbkrModifier     = (cs [um / pm]) / (ci [um / pm]) / (um [cs /ci]) / (pm [cs / ci])\ncs              = '%s'\nci              = '%i'\num              = '%u'\npm              = '%p'\nbkr-name        = uname / ename / rname\nrname           = alphanum\nuname           = %d117.95 alphanum\nename           = %d101.95 alphanum\nUdtOp           = udt-empty\n                / udt-non-empty\nudt-non-empty   = %d117.95 alphanum\nudt-empty       = %d101.95 alphanum\nRepOp           = (rep-min StarOp rep-max)\n                / (rep-min StarOp)\n                / (StarOp rep-max)\n                / StarOp\n                / rep-min-max\nAltOp           = %d47 owsp\nCatOp           = wsp\nStarOp          = %d42\nAndOp           = %d38\nNotOp           = %d33\nBkaOp           = %d38.38\nBknOp           = %d33.33\nAbgOp           = %d37.94\nAenOp           = %d37.36\nTrgOp           = %d37 ((Dec dmin %d45 dmax) / (Hex xmin %d45 xmax) / (Bin bmin %d45 bmax))\nTbsOp           = %d37 ((Dec dString *(%d46 dString)) / (Hex xString *(%d46 xString)) / (Bin bString *(%d46 bString)))\nTlsOp           = TlsCase TlsOpen TlsString TlsClose\nTlsCase         = [\"%i\" / \"%s\"]\nTlsOpen         = %d34\nTlsClose        = %d34\nTlsString       = *(%d32-33/%d35-126/StringTab)\nStringTab       = %d9\nClsOp           = ClsOpen ClsString ClsClose\nClsOpen         = %d39\nClsClose        = %d39\nClsString       = *(%d32-38/%d40-126/StringTab)\nProsVal         = ProsValOpen ProsValString ProsValClose\nProsValOpen     = %d60\nProsValString   = *(%d32-61/%d63-126/StringTab)\nProsValClose    = %d62\nrep-min         = rep-num\nrep-min-max     = rep-num\nrep-max         = rep-num\nrep-num         = 1*(%d48-57)\ndString         = dnum\nxString         = xnum\nbString         = bnum\nDec             = (%d68/%d100)\nHex             = (%d88/%d120)\nBin             = (%d66/%d98)\ndmin            = dnum\ndmax            = dnum\nbmin            = bnum\nbmax            = bnum\nxmin            = xnum\nxmax            = xnum\ndnum            = 1*(%d48-57)\nbnum            = 1*%d48-49\nxnum            = 1*(%d48-57 / %d65-70 / %d97-102)\n;\n; Basics\nalphanum        = (%d97-122/%d65-90) *(%d97-122/%d65-90/%d48-57/%d45)\nowsp            = *space\nwsp             = 1*space\nspace           = %d32\n                / %d9\n                / comment\n                / LineContinue\ncomment         = %d59 *(%d32-126 / %d9)\nLineEnd         = %d13.10\n                / %d10\n                / %d13\nLineContinue    = (%d13.10 / %d10 / %d13) (%d32 / %d9)\n"}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/sabnf-grammar.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/scanner-callbacks.js",{"../apg-lib/identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/identifiers.js","../apg-lib/utilities":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/utilities.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../apg-lib/identifiers"),s=e("../apg-lib/utilities");const o=[];o.line=function(e,t,r,s,o){return e===n.SEM_PRE?(o.endLength=0,o.textLength=0,o.invalidCount=0):o.lines.push({lineNo:o.lines.length,beginChar:r,length:s,textLength:o.textLength,endType:o.endType,invalidChars:o.invalidCount}),n.SEM_OK},o["line-text"]=function(e,t,r,s,o){return e===n.SEM_PRE&&(o.textLength=s),n.SEM_OK},o["last-line"]=function(e,t,r,s,o){return e===n.SEM_PRE?(o.endLength=0,o.textLength=0,o.invalidCount=0):o.strict?(o.lines.push({lineNo:o.lines.length,beginChar:r,length:s,textLength:s,endType:"none",invalidChars:o.invalidCount}),o.errors.push({line:o.lineNo,char:r+s,msg:"no line end on last line - strict ABNF specifies CRLF(\\r\\n, \\x0D\\x0A)"})):(t.push(10),o.lines.push({lineNo:o.lines.length,beginChar:r,length:s+1,textLength:s,endType:"LF",invalidChars:o.invalidCount})),n.SEM_OK},o.invalid=function(e,t,r,o,i){return e===n.SEM_PRE&&i.errors.push({line:i.lineNo,char:r,msg:`invalid character found '\\x${s.charToHex(t[r])}'`}),n.SEM_OK},o.end=function(e,t,r,s,o){return e===n.SEM_POST&&(o.lineNo+=1),n.SEM_OK},o.lf=function(e,t,r,s,o){return e===n.SEM_PRE&&(o.endType="LF",o.strict&&o.errors.push({line:o.lineNo,char:r,msg:"line end character LF(\\n, \\x0A) - strict ABNF specifies CRLF(\\r\\n, \\x0D\\x0A)"})),n.SEM_OK},o.cr=function(e,t,r,s,o){return e===n.SEM_PRE&&(o.endType="CR",o.strict&&o.errors.push({line:o.lineNo,char:r,msg:"line end character CR(\\r, \\x0D) - strict ABNF specifies CRLF(\\r\\n, \\x0D\\x0A)"})),n.SEM_OK},o.crlf=function(e,t,r,s,o){return e===n.SEM_PRE&&(o.endType="CRLF"),n.SEM_OK},r.callbacks=o}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/scanner-callbacks.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/scanner-grammar.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"file",lower:"file",index:0,isBkr:!1},this.rules[1]={name:"line",lower:"line",index:1,isBkr:!1},this.rules[2]={name:"line-text",lower:"line-text",index:2,isBkr:!1},this.rules[3]={name:"last-line",lower:"last-line",index:3,isBkr:!1},this.rules[4]={name:"valid",lower:"valid",index:4,isBkr:!1},this.rules[5]={name:"invalid",lower:"invalid",index:5,isBkr:!1},this.rules[6]={name:"end",lower:"end",index:6,isBkr:!1},this.rules[7]={name:"CRLF",lower:"crlf",index:7,isBkr:!1},this.rules[8]={name:"LF",lower:"lf",index:8,isBkr:!1},this.rules[9]={name:"CR",lower:"cr",index:9,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,3]},this.rules[0].opcodes[1]={type:3,min:0,max:Infinity},this.rules[0].opcodes[2]={type:4,index:1},this.rules[0].opcodes[3]={type:3,min:0,max:1},this.rules[0].opcodes[4]={type:4,index:3},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:2,children:[1,2]},this.rules[1].opcodes[1]={type:4,index:2},this.rules[1].opcodes[2]={type:4,index:6},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:3,min:0,max:Infinity},this.rules[2].opcodes[1]={type:1,children:[2,3]},this.rules[2].opcodes[2]={type:4,index:4},this.rules[2].opcodes[3]={type:4,index:5},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:1,max:Infinity},this.rules[3].opcodes[1]={type:1,children:[2,3]},this.rules[3].opcodes[2]={type:4,index:4},this.rules[3].opcodes[3]={type:4,index:5},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:1,children:[1,2]},this.rules[4].opcodes[1]={type:5,min:32,max:126},this.rules[4].opcodes[2]={type:6,string:[9]},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[5].opcodes[1]={type:5,min:0,max:8},this.rules[5].opcodes[2]={type:5,min:11,max:12},this.rules[5].opcodes[3]={type:5,min:14,max:31},this.rules[5].opcodes[4]={type:5,min:127,max:4294967295},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:1,children:[1,2,3]},this.rules[6].opcodes[1]={type:4,index:7},this.rules[6].opcodes[2]={type:4,index:8},this.rules[6].opcodes[3]={type:4,index:9},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:6,string:[13,10]},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:6,string:[10]},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:6,string:[13]},this.toString=function(){let e="";return e+="file = *line [last-line]\n",e+="line = line-text end\n",e+="line-text = *(valid/invalid)\n",e+="last-line = 1*(valid/invalid)\n",e+="valid = %d32-126 / %d9\n",e+="invalid = %d0-8 / %d11-12 /%d14-31 / %x7f-ffffffff\n",e+="end = CRLF / LF / CR\n",e+="CRLF = %d13.10\n",e+="LF = %d10\n",e+="CR = %d13\n","file = *line [last-line]\nline = line-text end\nline-text = *(valid/invalid)\nlast-line = 1*(valid/invalid)\nvalid = %d32-126 / %d9\ninvalid = %d0-8 / %d11-12 /%d14-31 / %x7f-ffffffff\nend = CRLF / LF / CR\nCRLF = %d13.10\nLF = %d10\nCR = %d13\n"}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/scanner-grammar.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/scanner.js",{"../apg-lib/node-exports":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/node-exports.js","./scanner-callbacks":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/scanner-callbacks.js","./scanner-grammar":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/scanner-grammar.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(t,r,n,s){const o=e("../apg-lib/node-exports"),i=new(e("./scanner-grammar")),{callbacks:a}=e("./scanner-callbacks"),c=[],u=new o.parser;if(u.ast=new o.ast,u.ast.callbacks=a,s){if("traceObject"!==s.traceObject)throw new TypeError("scanner.js: trace argument is not a trace object");u.trace=s}if(!0!==u.parse(i,"file",t).success)return void r.push({line:0,char:0,msg:"syntax analysis error analyzing input SABNF grammar"});const l={lines:c,lineNo:0,errors:r,strict:!!n};return u.ast.translate(l),c}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/scanner.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/semantic-callbacks.js",{"../apg-lib/node-exports":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/node-exports.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){const t=e("../apg-lib/node-exports"),r=t.ids,n=function(){this.names=[],this.add=function(e){let t=-1;return-1===this.get(e)&&(t={name:e,lower:e.toLowerCase(),index:this.names.length},this.names.push(t)),t},this.get=function(e){let t=-1;const r=e.toLowerCase();for(let e=0;e<this.names.length;e+=1)if(this.names[e].lower===r){t=this.names[e];break}return t}},s=function(e,t,r){let n=0;for(let s=t;s<t+r;s+=1)n=10*n+e[s]-48;return n},o=function(e,t,r){let n=0;for(let s=t;s<t+r;s+=1)n=2*n+e[s]-48;return n},i=function(e,t,r){let n=0;for(let s=t;s<t+r;s+=1){let t=e[s];if(t>=48&&t<=57)t-=48;else if(t>=65&&t<=70)t-=55;else{if(!(t>=97&&t<=102))throw new Error("hexnum out of range");t-=87}n=16*n+t}return n};this.callbacks=[],this.callbacks.abgop=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&o.opcodes.push({type:r.ABG}),i},this.callbacks.aenop=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&o.opcodes.push({type:r.AEN}),i},this.callbacks.alternation=function(e,t,n,s,o){let i=r.SEM_OK;if(e===r.SEM_PRE){const e=!0;for(;e;){if(null===o.definedas){i=r.SEM_SKIP;break}if(null===o.topStack){if("="===o.definedas){o.topStack={alt:{type:r.ALT,children:[]},cat:null},o.altStack.push(o.topStack),o.opcodes.push(o.topStack.alt);break}o.topStack={alt:o.opcodes[0],cat:null},o.altStack.push(o.topStack);break}o.topStack={alt:{type:r.ALT,children:[]},cat:null},o.altStack.push(o.topStack),o.opcodes.push(o.topStack.alt);break}}else e===r.SEM_POST&&(o.altStack.pop(),o.altStack.length>0?o.topStack=o.altStack[o.altStack.length-1]:o.topStack=null);return i},this.callbacks.andop=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&o.opcodes.push({type:r.AND}),i},this.callbacks.bmax=function(e,t,n,s,i){const a=r.SEM_OK;return e===r.SEM_POST&&(i.max=o(t,n,s)),a},this.callbacks.bmin=function(e,t,n,s,i){const a=r.SEM_OK;return e===r.SEM_POST&&(i.min=o(t,n,s)),a},this.callbacks.bkaop=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&o.opcodes.push({type:r.BKA}),i},this.callbacks.bknop=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&o.opcodes.push({type:r.BKN}),i},this.callbacks.bkrop=function(e,n,s,o,i){const a=r.SEM_OK;return e===r.SEM_PRE?(i.ci=!0,i.cs=!1,i.um=!0,i.pm=!1):e===r.SEM_POST&&i.opcodes.push({type:r.BKR,bkrCase:!0===i.cs?r.BKR_MODE_CS:r.BKR_MODE_CI,bkrMode:!0===i.pm?r.BKR_MODE_PM:r.BKR_MODE_UM,index:{phraseIndex:i.bkrname.phraseIndex,name:t.utils.charsToString(n,i.bkrname.phraseIndex,i.bkrname.phraseLength)}}),a},this.callbacks["bkr-name"]=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&(o.bkrname={phraseIndex:n,phraseLength:s}),i},this.callbacks.bstring=function(e,t,n,s,i){const a=r.SEM_OK;return e===r.SEM_POST&&i.tbsstr.push(o(t,n,s)),a},this.callbacks.clsop=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&(s<=2?o.opcodes.push({type:r.TLS,string:[]}):o.opcodes.push({type:r.TBS,string:t.slice(n+1,n+s-1)})),i},this.callbacks.ci=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&(o.ci=!0),i},this.callbacks.cs=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&(o.cs=!0),i},this.callbacks.um=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&(o.um=!0),i},this.callbacks.pm=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&(o.pm=!0),i},this.callbacks.concatenation=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE?(o.topStack.alt.children.push(o.opcodes.length),o.topStack.cat={type:r.CAT,children:[]},o.opcodes.push(o.topStack.cat)):e===r.SEM_POST&&(o.topStack.cat=null),i},this.callbacks.defined=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&(o.definedas="="),i},this.callbacks.dmax=function(e,t,n,o,i){const a=r.SEM_OK;return e===r.SEM_POST&&(i.max=s(t,n,o)),a},this.callbacks.dmin=function(e,t,n,o,i){const a=r.SEM_OK;return e===r.SEM_POST&&(i.min=s(t,n,o)),a},this.callbacks.dstring=function(e,t,n,o,i){const a=r.SEM_OK;return e===r.SEM_POST&&i.tbsstr.push(s(t,n,o)),a},this.callbacks.file=function(e,t,s,o,i){const a=r.SEM_OK;if(e===r.SEM_PRE)i.ruleNames=new n,i.udtNames=new n,i.rules=[],i.udts=[],i.rulesLineMap=[],i.opcodes=[],i.altStack=[],i.topStack=null,i.topRule=null;else if(e===r.SEM_POST){let e;i.rules.forEach(t=>{t.isBkr=!1,t.opcodes.forEach(t=>{t.type===r.RNM&&(e=i.ruleNames.get(t.index.name),-1===e?(i.errors.push({line:i.findLine(i.lines,t.index.phraseIndex,i.charsLength),char:t.index.phraseIndex,msg:`Rule name '${t.index.name}' used but not defined.`}),t.index=-1):t.index=e.index)})}),i.udts.forEach(e=>{e.isBkr=!1}),i.rules.forEach(t=>{t.opcodes.forEach(n=>{n.type===r.BKR&&(t.hasBkr=!0,e=i.ruleNames.get(n.index.name),-1!==e?(i.rules[e.index].isBkr=!0,n.index=e.index):(e=i.udtNames.get(n.index.name),-1!==e?(i.udts[e.index].isBkr=!0,n.index=i.rules.length+e.index):(i.errors.push({line:i.findLine(i.lines,n.index.phraseIndex,i.charsLength),char:n.index.phraseIndex,msg:`Back reference name '${n.index.name}' refers to undefined rule or unamed UDT.`}),n.index=-1)))})})}return a},this.callbacks.incalt=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&(o.definedas="=/"),i},this.callbacks.notop=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&o.opcodes.push({type:r.NOT}),i},this.callbacks.optionopen=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&o.opcodes.push({type:r.REP,min:0,max:1,char:n}),i},this.callbacks["rep-max"]=function(e,t,n,o,i){const a=r.SEM_OK;return e===r.SEM_POST&&(i.max=s(t,n,o)),a},this.callbacks["rep-min"]=function(e,t,n,o,i){const a=r.SEM_OK;return e===r.SEM_POST&&(i.min=s(t,n,o)),a},this.callbacks["rep-min-max"]=function(e,t,n,o,i){const a=r.SEM_OK;return e===r.SEM_POST&&(i.max=s(t,n,o),i.min=i.max),a},this.callbacks.repetition=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&o.topStack.cat.children.push(o.opcodes.length),i},this.callbacks.repop=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE?(o.min=0,o.max=Infinity,o.topRep={type:r.REP,min:0,max:Infinity},o.opcodes.push(o.topRep)):e===r.SEM_POST&&(o.min>o.max&&o.errors.push({line:o.findLine(o.lines,n,o.charsLength),char:n,msg:`repetition min cannot be greater than max: min: ${o.min}: max: ${o.max}`}),o.topRep.min=o.min,o.topRep.max=o.max),i},this.callbacks.rnmop=function(e,n,s,o,i){const a=r.SEM_OK;return e===r.SEM_POST&&i.opcodes.push({type:r.RNM,index:{phraseIndex:s,name:t.utils.charsToString(n,s,o)}}),a},this.callbacks.rule=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.altStack.length=0,o.topStack=null,o.rulesLineMap.push({line:o.findLine(o.lines,n,o.charsLength),char:n})),i},this.callbacks.rulelookup=function(e,t,n,s,o){const i=r.SEM_OK;if(e===r.SEM_PRE)o.ruleName="",o.definedas="";else if(e===r.SEM_POST){let e;"="===o.definedas?(e=o.ruleNames.add(o.ruleName),-1===e?(o.definedas=null,o.errors.push({line:o.findLine(o.lines,n,o.charsLength),char:n,msg:`Rule name '${o.ruleName}' previously defined.`})):(o.topRule={name:e.name,lower:e.lower,opcodes:[],index:e.index},o.rules.push(o.topRule),o.opcodes=o.topRule.opcodes)):(e=o.ruleNames.get(o.ruleName),-1===e?(o.definedas=null,o.errors.push({line:o.findLine(o.lines,n,o.charsLength),char:n,msg:`Rule name '${o.ruleName}' for incremental alternate not previously defined.`})):(o.topRule=o.rules[e.index],o.opcodes=o.topRule.opcodes))}return i},this.callbacks.rulename=function(e,n,s,o,i){const a=r.SEM_OK;return e===r.SEM_PRE&&(i.ruleName=t.utils.charsToString(n,s,o)),a},this.callbacks.tbsop=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE?o.tbsstr=[]:e===r.SEM_POST&&o.opcodes.push({type:r.TBS,string:o.tbsstr}),i},this.callbacks.tlscase=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_POST&&s>0&&(83===t[n+1]||115===t[n+1])&&(o.tlscase=!1),i},this.callbacks.tlsstring=function(e,t,n,s,o){const i=r.SEM_OK;if(e===r.SEM_POST)if(o.tlscase){const e=t.slice(n,n+s);for(let t=0;t<e.length;t+=1)e[t]>=65&&e[t]<=90&&(e[t]+=32);o.opcodes.push({type:r.TLS,string:e})}else o.opcodes.push({type:r.TBS,string:t.slice(n,n+s)});return i},this.callbacks.tlsop=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.tlscase=!0),i},this.callbacks.trgop=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE?(o.min=0,o.max=0):e===r.SEM_POST&&(o.min>o.max&&o.errors.push({line:o.findLine(o.lines,n,o.charsLength),char:n,msg:`TRG, (%dmin-max), min cannot be greater than max: min: ${o.min}: max: ${o.max}`}),o.opcodes.push({type:r.TRG,min:o.min,max:o.max})),i},this.callbacks["udt-empty"]=function(e,n,s,o,i){const a=r.SEM_OK;if(e===r.SEM_POST){const e=t.utils.charsToString(n,s,o);let a=i.udtNames.add(e);if(-1===a){if(a=i.udtNames.get(e),-1===a)throw new Error("semUdtEmpty: name look up error")}else i.udts.push({name:a.name,lower:a.lower,index:a.index,empty:!0});i.opcodes.push({type:r.UDT,empty:!0,index:a.index})}return a},this.callbacks["udt-non-empty"]=function(e,n,s,o,i){const a=r.SEM_OK;if(e===r.SEM_POST){const e=t.utils.charsToString(n,s,o);let a=i.udtNames.add(e);if(-1===a){if(a=i.udtNames.get(e),-1===a)throw new Error("semUdtNonEmpty: name look up error")}else i.udts.push({name:a.name,lower:a.lower,index:a.index,empty:!1});i.opcodes.push({type:r.UDT,empty:!1,index:a.index,syntax:null,semantic:null})}return a},this.callbacks.xmax=function(e,t,n,s,o){const a=r.SEM_OK;return e===r.SEM_POST&&(o.max=i(t,n,s)),a},this.callbacks.xmin=function(e,t,n,s,o){const a=r.SEM_OK;return e===r.SEM_POST&&(o.min=i(t,n,s)),a},this.callbacks.xstring=function(e,t,n,s,o){const a=r.SEM_OK;return e===r.SEM_POST&&o.tbsstr.push(i(t,n,s)),a}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/semantic-callbacks.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/show-rules.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){const e="show-rules.js";return function(t=[],r=[],n="index"){const s="showRules";let o=[],i=[];const a=[],c=[],u=t,l=r,d=t.length,f=r.length;let h,m="RULE/UDT NAMES";if(!Array.isArray(t)||!t.length)throw new Error(`${e}:${s}: rules arg must be array with length > 0`);if(!Array.isArray(r))throw new Error(`${e}:${s}: udts arg must be array`);for(h=0;h<d;h+=1)a.push(h);if(o=a.slice(0),o.sort(function(e,t){return u[e].lower<u[t].lower?-1:u[e].lower>u[t].lower?1:0}),f){for(h=0;h<f;h+=1)c.push(h);i=c.slice(0),i.sort(function(e,t){return l[e].lower<l[t].lower?-1:l[e].lower>l[t].lower?1:0})}if(97===n.charCodeAt(0)){for(m+=" - alphabetical by rule/UDT name\n",h=0;h<d;h+=1)m+=`${h}: ${o[h]}: ${u[o[h]].name}\n`;if(f)for(h=0;h<f;h+=1)m+=`${h}: ${i[h]}: ${l[i[h]].name}\n`}else{for(m+=" - ordered by rule/UDT index\n",h=0;h<d;h+=1)m+=`${h}: ${u[h].name}\n`;if(f)for(h=0;h<f;h+=1)m+=`${h}: ${l[h].name}\n`}return m}}()}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/show-rules.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/syntax-callbacks.js",{"../apg-lib/node-exports":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/node-exports.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){const t="syntax-callbacks.js: ",r=e("../apg-lib/node-exports"),n=r.ids;let s;this.callbacks=[],this.callbacks.andop=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:o.strict&&o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"AND operator(&) found - strict ABNF specified."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.basicelementerr=function(e,r,o,i){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:!1===s.basicError&&i.errors.push({line:i.findLine(i.lines,o,i.charsLength),char:o,msg:"Unrecognized SABNF element."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.clsclose=function(e,r,o,i){switch(e.state){case n.ACTIVE:case n.EMPTY:break;case n.NOMATCH:i.errors.push({line:i.findLine(i.lines,s.clsOpen),char:s.clsOpen,msg:"Case-sensitive literal string('...') opened but not closed."}),s.clsOpen=null,s.basicError=!0;break;case n.MATCH:i.strict&&i.errors.push({line:i.findLine(i.lines,s.clsOpen),char:s.clsOpen,msg:"Case-sensitive string operator('...') found - strict ABNF specified."}),s.clsOpen=null;break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.clsopen=function(e,r,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:s.clsOpen=o;break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.clsstring=function(e,r,s,o){switch(e.state){case n.ACTIVE:o.stringTabChar=!1;break;case n.EMPTY:case n.NOMATCH:break;case n.MATCH:!1!==o.stringTabChar&&o.errors.push({line:o.findLine(o.lines,o.stringTabChar),char:o.stringTabChar,msg:"Tab character (\\t, x09) not allowed in literal string."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.definedaserror=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"Expected '=' or '=/'. Not found."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.file=function(e,r,s,o){switch(e.state){case n.ACTIVE:o.altStack=[],o.repCount=0;break;case n.EMPTY:o.errors.push({line:0,char:0,msg:"grammar file is empty"});break;case n.MATCH:0===o.ruleCount&&o.errors.push({line:0,char:0,msg:"no rules defined"});break;case n.NOMATCH:throw new Error(`${t}synFile: grammar file NOMATCH: design error: should never happen.`);default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.groupclose=function(e,r,o,i){switch(e.state){case n.ACTIVE:case n.EMPTY:break;case n.NOMATCH:i.errors.push({line:i.findLine(i.lines,s.groupOpen),char:s.groupOpen,msg:'Group "(...)" opened but not closed.'}),s=i.altStack.pop(),s.groupError=!0;break;case n.MATCH:s=i.altStack.pop();break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.groupopen=function(e,r,o,i){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:s={groupOpen:o,groupError:!1,optionOpen:null,optionError:!1,tlsOpen:null,clsOpen:null,prosValOpen:null,basicError:!1},i.altStack.push(s);break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.lineenderror=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"Unrecognized grammar element or characters."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.lineend=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:if(1===e.phraseLength&&o.strict){const e=13===r[s]?"CR":"LF";o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:`Line end '${e}' found - strict ABNF specified, only CRLF allowed.`})}break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.notop=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:o.strict&&o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"NOT operator(!) found - strict ABNF specified."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.optionclose=function(e,r,o,i){switch(e.state){case n.ACTIVE:case n.EMPTY:break;case n.NOMATCH:i.errors.push({line:i.findLine(i.lines,s.optionOpen),char:s.optionOpen,msg:'Option "[...]" opened but not closed.'}),s=i.altStack.pop(),s.optionError=!0;break;case n.MATCH:s=i.altStack.pop();break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.optionopen=function(e,r,o,i){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:s={groupOpen:null,groupError:!1,optionOpen:o,optionError:!1,tlsOpen:null,clsOpen:null,prosValOpen:null,basicError:!1},i.altStack.push(s);break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.prosvalclose=function(e,r,o,i){switch(e.state){case n.ACTIVE:case n.EMPTY:break;case n.NOMATCH:i.errors.push({line:i.findLine(i.lines,s.prosValOpen),char:s.prosValOpen,msg:"Prose value operator(<...>) opened but not closed."}),s.basicError=!0,s.prosValOpen=null;break;case n.MATCH:i.errors.push({line:i.findLine(i.lines,s.prosValOpen),char:s.prosValOpen,msg:"Prose value operator(<...>) found. The ABNF syntax is valid, but a parser cannot be generated from this grammar."}),s.prosValOpen=null;break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.prosvalopen=function(e,r,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:s.prosValOpen=o;break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.prosvalstring=function(e,r,s,o){switch(e.state){case n.ACTIVE:o.stringTabChar=!1;break;case n.EMPTY:case n.NOMATCH:break;case n.MATCH:!1!==o.stringTabChar&&o.errors.push({line:o.findLine(o.lines,o.stringTabChar),char:o.stringTabChar,msg:"Tab character (\\t, x09) not allowed in prose value string."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.repetition=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:break;case n.NOMATCH:case n.MATCH:o.repCount+=1;break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.rule=function(e,r,o,i){switch(e.state){case n.ACTIVE:i.altStack.length=0,s={groupOpen:null,groupError:!1,optionOpen:null,optionError:!1,tlsOpen:null,clsOpen:null,prosValOpen:null,basicError:!1},i.altStack.push(s);break;case n.EMPTY:throw new Error(`${t}synRule: EMPTY: rule cannot be empty`);case n.NOMATCH:break;case n.MATCH:i.ruleCount+=1;break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.ruleerror=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"Unrecognized SABNF line. Invalid rule, comment or blank line."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.rulenameerror=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"Rule names must be alphanum and begin with alphabetic character."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.stringtab=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:o.stringTabChar=s;break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.tlsclose=function(e,r,o,i){switch(e.state){case n.ACTIVE:case n.EMPTY:break;case n.NOMATCH:i.errors.push({line:i.findLine(i.lines,s.tlsOpen),char:s.tlsOpen,msg:'Case-insensitive literal string("...") opened but not closed.'}),s.basicError=!0,s.tlsOpen=null;break;case n.MATCH:s.tlsOpen=null;break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.tlsopen=function(e,r,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:s.tlsOpen=o;break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.tlsstring=function(e,r,s,o){switch(e.state){case n.ACTIVE:o.stringTabChar=!1;break;case n.EMPTY:case n.NOMATCH:break;case n.MATCH:!1!==o.stringTabChar&&o.errors.push({line:o.findLine(o.lines,o.stringTabChar),char:o.stringTabChar,msg:"Tab character (\\t, x09) not allowed in literal string (see 'quoted-string' definition, RFC 7405.)"});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.udtop=function(e,s,o,i){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:if(i.strict){const t=r.utils.charsToString(s,o,e.phraseLength);i.errors.push({line:i.findLine(i.lines,o,i.charsLength),char:o,msg:`UDT operator found(${t}) - strict ABNF specified.`})}break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.bkaop=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:o.strict?o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"Positive look-behind operator(&&) found - strict ABNF specified."}):o.lite&&o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"Positive look-behind operator(&&) found - apg-lite specified."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.bknop=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:o.strict?o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"Negative look-behind operator(!!) found - strict ABNF specified."}):o.lite&&o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"Negative look-behind operator(!!) found - apg-lite specified."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.bkrop=function(e,s,o,i){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:if(i.strict){const t=r.utils.charsToString(s,o,e.phraseLength);i.errors.push({line:i.findLine(i.lines,o,i.charsLength),char:o,msg:`Back reference operator(${t}) found - strict ABNF specified.`})}else if(i.lite){const t=r.utils.charsToString(s,o,e.phraseLength);i.errors.push({line:i.findLine(i.lines,o,i.charsLength),char:o,msg:`Back reference operator(${t}) found - apg-lite specified.`})}break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.abgop=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:o.strict?o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"Beginning of string anchor(%^) found - strict ABNF specified."}):o.lite&&o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"Beginning of string anchor(%^) found - apg-lite specified."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}},this.callbacks.aenop=function(e,r,s,o){switch(e.state){case n.ACTIVE:case n.EMPTY:case n.NOMATCH:break;case n.MATCH:o.strict?o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"End of string anchor(%$) found - strict ABNF specified."}):o.lite&&o.errors.push({line:o.findLine(o.lines,s,o.charsLength),char:s,msg:"End of string anchor(%$) found - apg-lite specified."});break;default:throw new Error(`${t}synFile: unrecognized case.`)}}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-api/syntax-callbacks.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-conv-api/converter.js",{"./transformers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-conv-api/transformers.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{Buffer:n}=e("buffer"),s=e("./transformers"),o="UTF8",i="UTF16",a="UTF16BE",c="UTF16LE",u="UTF32",l="UTF32BE",d="UTF32LE",f="UINT7",h="ASCII",m="BINARY",p="UINT8",b="UINT16",g="UINT16LE",y="UINT16BE",w="UINT32",k="UINT32LE",x="UINT32BE",_="ESCAPED",v="STRING",S=function(e,t){const r=function(e){const t={type:"",base64:!1},r=/^(base64:)?([a-zA-Z0-9]+)$/i.exec(e);return r&&(r[2]&&(t.type=r[2].toUpperCase()),r[1]&&(t.base64=!0)),t}(e.toUpperCase());if(r.base64){if(r.type===v)throw new TypeError(`type: "${e} "BASE64:" prefix not allowed with type ${v}`);if(n.isBuffer(t))r.data=s.base64.decode(t);else{if("string"!=typeof t)throw new TypeError(`type: "${e} unrecognized data type: typeof(data): ${typeof t}`);{const e=n.from(t,"ascii");r.data=s.base64.decode(e)}}}else r.data=t;switch(r.type){case o:!function(e){e.type=o;const t=e.data;e.bom=0,t.length>=3&&239===t[0]&&187===t[1]&&191===t[2]&&(e.bom=3)}(r);break;case i:case a:case c:!function(e){const t=e.data;switch(e.bom=0,e.type){case i:e.type=a,t.length>=2&&(254===t[0]&&255===t[1]?e.bom=2:255===t[0]&&254===t[1]&&(e.type=c,e.bom=2));break;case a:if(e.type=a,t.length>=2)if(254===t[0]&&255===t[1])e.bom=2;else if(255===t[0]&&254===t[1])throw new TypeError(`src type: "${a}" specified but BOM is for "${c}"`);break;case c:if(e.type=c,t.length>=0){if(254===t[0]&&255===t[1])throw new TypeError(`src type: "${c}" specified but BOM is for "${a}"`);255===t[0]&&254===t[1]&&(e.bom=2)}break;default:throw new TypeError(`UTF16 BOM: src type "${e.type}" unrecognized`)}}(r);break;case u:case l:case d:!function(e){const t=e.data;switch(e.bom=0,e.type){case u:e.type=l,t.length>=4&&(0===t[0]&&0===t[1]&&254===t[2]&&255===t[3]&&(e.bom=4),255===t[0]&&254===t[1]&&0===t[2]&&0===t[3]&&(e.type=d,e.bom=4));break;case l:if(e.type=l,t.length>=4&&(0===t[0]&&0===t[1]&&254===t[2]&&255===t[3]&&(e.bom=4),255===t[0]&&254===t[1]&&0===t[2]&&0===t[3]))throw new TypeError(`src type: ${l} specified but BOM is for ${d}"`);break;case d:if(e.type=d,t.length>=4){if(0===t[0]&&0===t[1]&&254===t[2]&&255===t[3])throw new TypeError(`src type: "${d}" specified but BOM is for "${l}"`);255===t[0]&&254===t[1]&&0===t[2]&&0===t[3]&&(e.bom=4)}break;default:throw new TypeError(`UTF32 BOM: src type "${e.type}" unrecognized`)}}(r);break;case b:r.type=y;break;case w:r.type=x;break;case h:r.type=f;break;case m:r.type=p;break;case f:case p:case g:case y:case k:case x:case v:case _:break;default:throw new TypeError(`type: "${e}" not recognized`)}if(r.type===v){if("string"!=typeof r.data)throw new TypeError(`type: "${e}" but data is not a string`)}else if(!n.isBuffer(r.data))throw new TypeError(`type: "${e}" but data is not a Buffer`);return r},E=function(e,t){switch(e){case o:return s.utf8.encode(t);case a:return s.utf16be.encode(t);case c:return s.utf16le.encode(t);case l:return s.utf32be.encode(t);case d:return s.utf32le.encode(t);case f:return s.uint7.encode(t);case p:return s.uint8.encode(t);case y:return s.uint16be.encode(t);case g:return s.uint16le.encode(t);case x:return s.uint32be.encode(t);case k:return s.uint32le.encode(t);case v:return s.string.encode(t);case _:return s.escaped.encode(t);default:throw new TypeError(`encode type "${e}" not recognized`)}};r.decode=function(e,t){return function(e){switch(e.type){case o:return s.utf8.decode(e.data,e.bom);case c:return s.utf16le.decode(e.data,e.bom);case a:return s.utf16be.decode(e.data,e.bom);case l:return s.utf32be.decode(e.data,e.bom);case d:return s.utf32le.decode(e.data,e.bom);case f:return s.uint7.decode(e.data);case p:return s.uint8.decode(e.data);case y:return s.uint16be.decode(e.data);case g:return s.uint16le.decode(e.data);case x:return s.uint32be.decode(e.data);case k:return s.uint32le.decode(e.data);case v:return s.string.decode(e.data);case _:return s.escaped.decode(e.data);default:throw new TypeError(`decode type "${e.type}" not recognized`)}}(S(e,t))},r.encode=function(e,t){let r,n;const S=function(e,t){if(!Array.isArray(t))throw new TypeError('dst chars: not array: "'+typeof t);if("string"!=typeof e)throw new TypeError('dst type: not string: "'+typeof e);const r=function(e){let t,r;const n={crlf:!1,lf:!1,base64:!1,type:""};for(;;){if(r=e,t=e.slice(0,5),"CRLF:"===t){n.crlf=!0,r=e.slice(5);break}if(t=e.slice(0,3),"LF:"===t){n.lf=!0,r=e.slice(3);break}break}return t=r.split(":"),1===t.length?n.type=t[0]:2===t.length&&"BASE64"===t[1]&&(n.base64=!0,n.type=t[0]),n}(e.toUpperCase());switch(r.type){case o:case a:case c:case l:case d:case f:case p:case g:case y:case k:case x:case _:break;case v:if(r.base64)throw new TypeError(`":BASE64" suffix not allowed with type ${v}`);break;case h:r.type=f;break;case m:r.type=p;break;case i:r.type=a;break;case u:r.type=l;break;case b:r.type=y;break;case w:r.type=x;break;default:throw new TypeError(`dst type unrecognized: "${e}" : must have form [crlf:|lf:]type[:base64]`)}return r}(e,t);return S.crlf?(r=s.lineEnds.crlf(t),n=E(S.type,r)):S.lf?(r=s.lineEnds.lf(t),n=E(S.type,r)):n=E(S.type,t),S.base64&&(n=s.base64.encode(n)),n};r.convert=function(e,t,n){return r.encode(n,r.decode(e,t))}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-conv-api/converter.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-conv-api/transformers.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{Buffer:n}=e("buffer"),s=4294967292,o=4294967293,i=4294967294,a=4294967295,c=[0,1,3,7,15,31,63,127,255,511,1023],u=["00","01","02","03","04","05","06","07","08","09","0A","0B","0C","0D","0E","0F","10","11","12","13","14","15","16","17","18","19","1A","1B","1C","1D","1E","1F","20","21","22","23","24","25","26","27","28","29","2A","2B","2C","2D","2E","2F","30","31","32","33","34","35","36","37","38","39","3A","3B","3C","3D","3E","3F","40","41","42","43","44","45","46","47","48","49","4A","4B","4C","4D","4E","4F","50","51","52","53","54","55","56","57","58","59","5A","5B","5C","5D","5E","5F","60","61","62","63","64","65","66","67","68","69","6A","6B","6C","6D","6E","6F","70","71","72","73","74","75","76","77","78","79","7A","7B","7C","7D","7E","7F","80","81","82","83","84","85","86","87","88","89","8A","8B","8C","8D","8E","8F","90","91","92","93","94","95","96","97","98","99","9A","9B","9C","9D","9E","9F","A0","A1","A2","A3","A4","A5","A6","A7","A8","A9","AA","AB","AC","AD","AE","AF","B0","B1","B2","B3","B4","B5","B6","B7","B8","B9","BA","BB","BC","BD","BE","BF","C0","C1","C2","C3","C4","C5","C6","C7","C8","C9","CA","CB","CC","CD","CE","CF","D0","D1","D2","D3","D4","D5","D6","D7","D8","D9","DA","DB","DC","DD","DE","DF","E0","E1","E2","E3","E4","E5","E6","E7","E8","E9","EA","EB","EC","ED","EE","EF","F0","F1","F2","F3","F4","F5","F6","F7","F8","F9","FA","FB","FC","FD","FE","FF"],l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),d=[];l.forEach(e=>{d.push(e.charCodeAt(0))}),r.utf8={encode(e){const t=[];return e.forEach(e=>{if(e>=0&&e<=127)t.push(e);else if(e<=2047)t.push(192+(e>>6&c[5])),t.push(128+(e&c[6]));else if(e<55296||e>57343&&e<=65535)t.push(224+(e>>12&c[4])),t.push(128+(e>>6&c[6])),t.push(128+(e&c[6]));else{if(!(e>=65536&&e<=1114111))throw new RangeError(`utf8.encode: character out of range: char: ${e}`);{const r=e>>16&c[5];t.push(240+(r>>2)),t.push(128+((r&c[2])<<4)+(e>>12&c[4])),t.push(128+(e>>6&c[6])),t.push(128+(e&c[6]))}}}),n.from(t)},decode(e,t){function r(e,t){if(128!=(192&t))return o;const r=((e&c[5])<<6)+(t&c[6]);return r<128?s:r}function n(e,t,r){if(128!=(192&r)||128!=(192&t))return o;const n=((e&c[4])<<12)+((t&c[6])<<6)+(r&c[6]);return n<2048?s:n>=55296&&n<=57343?i:n}function u(e,t,r,n){if(128!=(192&n)||128!=(192&r)||128!=(192&t))return o;const a=(((e&c[3])<<2)+(t>>4&c[2])<<16)+((t&c[4])<<12)+((r&c[6])<<6)+(n&c[6]);return a<65536?s:a>1114111?i:a}let l,d,f,h,m,p;const b=e.length;let g=t?3:0;const y=[];for(;g<b;){d=e[g],l=a;const t=!0;for(;t;){if(d>=0&&d<=127){l=d,p=1;break}if(f=g+1,f<b&&d>=194&&d<=223){l=r(d,e[f]),p=2;break}if(h=g+2,h<b&&d>=224&&d<=239){l=n(d,e[f],e[h]),p=3;break}if(m=g+3,m<b&&d>=240&&d<=244){l=u(d,e[f],e[h],e[m]),p=4;break}break}if(l>1114111){const e=`byte[${g}]`;if(l===a)throw new RangeError(`utf8.decode: ill-formed UTF8 byte sequence found at: ${e}`);if(l===o)throw new RangeError(`utf8.decode: illegal trailing byte found at: ${e}`);if(l===i)throw new RangeError(`utf8.decode: code point out of range found at: ${e}`);if(l===s)throw new RangeError(`utf8.decode: non-shortest form found at: ${e}`);throw new RangeError(`utf8.decode: unrecognized error found at: ${e}`)}y.push(l),g+=p}return y}},r.utf16be={encode(e){const t=[];let r,s,o;for(let n=0;n<e.length;n+=1)if(r=e[n],r>=0&&r<=55295||r>=57344&&r<=65535)t.push(r>>8&c[8]),t.push(r&c[8]);else{if(!(r>=65536&&r<=1114111))throw new RangeError(`utf16be.encode: UTF16BE value out of range: char[${n}]: ${r}`);o=r-65536,s=55296+(o>>10),o=56320+(o&c[10]),t.push(s>>8&c[8]),t.push(s&c[8]),t.push(o>>8&c[8]),t.push(o&c[8])}return n.from(t)},decode(e,t){if(e.length%2>0)throw new RangeError(`utf16be.decode: data length must be even multiple of 2: length: ${e.length}`);const r=[],n=e.length;let s,o,i,a,c,u,l=t?2:0,d=0;for(;l<n;){const t=!0;for(;t;){if(i=l+1,i<n){if(c=(e[l]<<8)+e[i],c<55296||c>57343){s=c,o=2;break}if(a=l+3,a<n&&(u=(e[l+2]<<8)+e[a],c<=56319&&u>=56320&&u<=57343)){s=65536+(c-55296<<10)+(u-56320),o=4;break}}throw new RangeError(`utf16be.decode: ill-formed UTF16BE byte sequence found: byte[${l}]`)}r[d++]=s,l+=o}return r}},r.utf16le={encode(e){const t=[];let r,s,o;for(let n=0;n<e.length;n+=1)if(r=e[n],r>=0&&r<=55295||r>=57344&&r<=65535)t.push(r&c[8]),t.push(r>>8&c[8]);else{if(!(r>=65536&&r<=1114111))throw new RangeError(`utf16le.encode: UTF16LE value out of range: char[${n}]: ${r}`);o=r-65536,s=55296+(o>>10),o=56320+(o&c[10]),t.push(s&c[8]),t.push(s>>8&c[8]),t.push(o&c[8]),t.push(o>>8&c[8])}return n.from(t)},decode(e,t){if(e.length%2>0)throw new RangeError(`utf16le.decode: data length must be even multiple of 2: length: ${e.length}`);const r=[],n=e.length;let s,o,i,a,c,u,l=t?2:0,d=0;for(;l<n;){const t=!0;for(;t;){if(i=l+1,i<n){if(c=(e[i]<<8)+e[l],c<55296||c>57343){s=c,o=2;break}if(a=l+3,a<n&&(u=(e[a]<<8)+e[l+2],c<=56319&&u>=56320&&u<=57343)){s=65536+(c-55296<<10)+(u-56320),o=4;break}}throw new RangeError(`utf16le.decode: ill-formed UTF16LE byte sequence found: byte[${l}]`)}r[d++]=s,l+=o}return r}},r.utf32be={encode(e){const t=n.alloc(4*e.length);let r=0;return e.forEach(e=>{if(e>=55296&&e<=57343||e>1114111)throw new RangeError(`utf32be.encode: UTF32BE character code out of range: char[${r/4}]: ${e}`);t[r++]=e>>24&c[8],t[r++]=e>>16&c[8],t[r++]=e>>8&c[8],t[r++]=e&c[8]}),t},decode(e,t){if(e.length%4>0)throw new RangeError(`utf32be.decode: UTF32BE byte length must be even multiple of 4: length: ${e.length}`);const r=[];let n=t?4:0;for(;n<e.length;n+=4){const t=(e[n]<<24)+(e[n+1]<<16)+(e[n+2]<<8)+e[n+3];if(t>=55296&&t<=57343||t>1114111)throw new RangeError(`utf32be.decode: UTF32BE character code out of range: char[${n/4}]: ${t}`);r.push(t)}return r}},r.utf32le={encode(e){const t=n.alloc(4*e.length);let r=0;return e.forEach(e=>{if(e>=55296&&e<=57343||e>1114111)throw new RangeError(`utf32le.encode: UTF32LE character code out of range: char[${r/4}]: ${e}`);t[r++]=e&c[8],t[r++]=e>>8&c[8],t[r++]=e>>16&c[8],t[r++]=e>>24&c[8]}),t},decode(e,t){if(e.length%4>0)throw new RangeError(`utf32be.decode: UTF32LE byte length must be even multiple of 4: length: ${e.length}`);const r=[];let n=t?4:0;for(;n<e.length;n+=4){const t=(e[n+3]<<24)+(e[n+2]<<16)+(e[n+1]<<8)+e[n];if(t>=55296&&t<=57343||t>1114111)throw new RangeError(`utf32le.encode: UTF32LE character code out of range: char[${n/4}]: ${t}`);r.push(t)}return r}},r.uint7={encode(e){const t=n.alloc(e.length);for(let r=0;r<e.length;r+=1){if(e[r]>127)throw new RangeError(`uint7.encode: UINT7 character code out of range: char[${r}]: ${e[r]}`);t[r]=e[r]}return t},decode(e){const t=[];for(let r=0;r<e.length;r+=1){if(e[r]>127)throw new RangeError(`uint7.decode: UINT7 character code out of range: byte[${r}]: ${e[r]}`);t[r]=e[r]}return t}},r.uint8={encode(e){const t=n.alloc(e.length);for(let r=0;r<e.length;r+=1){if(e[r]>255)throw new RangeError(`uint8.encode: UINT8 character code out of range: char[${r}]: ${e[r]}`);t[r]=e[r]}return t},decode(e){const t=[];for(let r=0;r<e.length;r+=1)t[r]=e[r];return t}},r.uint16be={encode(e){const t=n.alloc(2*e.length);let r=0;return e.forEach(e=>{if(e>65535)throw new RangeError(`uint16be.encode: UINT16BE character code out of range: char[${r/2}]: ${e}`);t[r++]=e>>8&c[8],t[r++]=e&c[8]}),t},decode(e){if(e.length%2>0)throw new RangeError(`uint16be.decode: UINT16BE byte length must be even multiple of 2: length: ${e.length}`);const t=[];for(let r=0;r<e.length;r+=2)t.push((e[r]<<8)+e[r+1]);return t}},r.uint16le={encode(e){const t=n.alloc(2*e.length);let r=0;return e.forEach(e=>{if(e>65535)throw new RangeError(`uint16le.encode: UINT16LE character code out of range: char[${r/2}]: ${e}`);t[r++]=e&c[8],t[r++]=e>>8&c[8]}),t},decode(e){if(e.length%2>0)throw new RangeError(`uint16le.decode: UINT16LE byte length must be even multiple of 2: length: ${e.length}`);const t=[];for(let r=0;r<e.length;r+=2)t.push((e[r+1]<<8)+e[r]);return t}},r.uint32be={encode(e){const t=n.alloc(4*e.length);let r=0;return e.forEach(e=>{t[r++]=e>>24&c[8],t[r++]=e>>16&c[8],t[r++]=e>>8&c[8],t[r++]=e&c[8]}),t},decode(e){if(e.length%4>0)throw new RangeError(`uint32be.decode: UINT32BE byte length must be even multiple of 4: length: ${e.length}`);const t=[];for(let r=0;r<e.length;r+=4)t.push((e[r]<<24)+(e[r+1]<<16)+(e[r+2]<<8)+e[r+3]);return t}},r.uint32le={encode(e){const t=n.alloc(4*e.length);let r=0;return e.forEach(e=>{t[r++]=e&c[8],t[r++]=e>>8&c[8],t[r++]=e>>16&c[8],t[r++]=e>>24&c[8]}),t},decode(e){if(e.length%4>0)throw new RangeError(`uint32le.decode: UINT32LE byte length must be even multiple of 4: length: ${e.length}`);const t=[];for(let r=0;r<e.length;r+=4)t.push((e[r+3]<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]);return t}},r.string={encode:e=>r.utf16le.encode(e).toString("utf16le"),decode:e=>r.utf16le.decode(n.from(e,"utf16le"),0)},r.escaped={encode(e){const t=[];for(let r=0;r<e.length;r+=1){const s=e[r];if(96===s)t.push(s),t.push(s);else if(10===s)t.push(s);else if(s>=32&&s<=126)t.push(s);else{let e="";if(s>=0&&s<=31)e+=`\`x${u[s]}`;else if(s>=127&&s<=255)e+=`\`x${u[s]}`;else if(s>=256&&s<=65535)e+=`\`u${u[s>>8&c[8]]}${u[s&c[8]]}`;else{if(!(s>=65536&&s<=4294967295))throw new Error("escape.encode(char): char > 0xffffffff not allowed");{e+="`u{";const t=s>>24&c[8];t>0&&(e+=u[t]),e+=`${u[s>>16&c[8]]+u[s>>8&c[8]]+u[s&c[8]]}}`}}n.from(e).forEach(e=>{t.push(e)})}}return n.from(t)},decode(e){function t(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function r(e,r,n){const s={char:null,nexti:e+2,error:!0};if(e+1<r&&t(n[e])&&t(n[e+1])){const t=String.fromCodePoint(n[e],n[e+1]);s.char=parseInt(t,16),Number.isNaN(s.char)||(s.error=!1)}return s}function n(e,r,n){const s={char:null,nexti:e+4,error:!0};if(e+3<r&&t(n[e])&&t(n[e+1])&&t(n[e+2])&&t(n[e+3])){const t=String.fromCodePoint(n[e],n[e+1],n[e+2],n[e+3]);s.char=parseInt(t,16),Number.isNaN(s.char)||(s.error=!1)}return s}function s(e,r,n){const s={char:null,nexti:e+4,error:!0};let o="";for(;e<r&&t(n[e]);)o+=String.fromCodePoint(n[e]),e+=1;return s.char=parseInt(o,16),125!==n[e]||Number.isNaN(s.char)||(s.error=!1),s.nexti=e+1,s}const o=[],i=e.length;let a,c,u,l=0;for(;l<i;){const t=!0;for(;t;){if(u=!0,96!==e[l]){o.push(e[l]),l+=1,u=!1;break}if(a=l+1,a>=i)break;if(96===e[a]){o.push(96),l+=2,u=!1;break}if(120===e[a]){if(c=r(a+1,i,e),c.error)break;o.push(c.char),l=c.nexti,u=!1;break}if(117===e[a]){if(123===e[a+1]){if(c=s(a+2,i,e),c.error)break;o.push(c.char),l=c.nexti,u=!1;break}if(c=n(a+1,i,e),c.error)break;o.push(c.char),l=c.nexti,u=!1;break}break}if(u)throw new Error(`escaped.decode: ill-formed escape sequence at buf[${l}]`)}return o}};const f=10;r.lineEnds={crlf(e){const t=[];let r=0;for(;r<e.length;)switch(e[r]){case 13:r+1<e.length&&e[r+1]===f?r+=2:r+=1,t.push(13),t.push(f);break;case f:t.push(13),t.push(f),r+=1;break;default:t.push(e[r]),r+=1}return t.length>0&&t[t.length-1]!==f&&(t.push(13),t.push(f)),t},lf(e){const t=[];let r=0;for(;r<e.length;)switch(e[r]){case 13:r+1<e.length&&e[r+1]===f?r+=2:r+=1,t.push(f);break;case f:t.push(f),r+=1;break;default:t.push(e[r]),r+=1}return t.length>0&&t[t.length-1]!==f&&t.push(f),t}},r.base64={encode(e){if(0===e.length)return n.alloc(0);let t,r,s,o=e.length%3;o=o>0?3-o:0;let i=(e.length+o)/3;const a=n.alloc(4*i);o>0&&(i-=1),t=0,r=0;for(let n=0;n<i;n+=1)s=e[t++]<<16,s+=e[t++]<<8,s+=e[t++],a[r++]=d[s>>18&c[6]],a[r++]=d[s>>12&c[6]],a[r++]=d[s>>6&c[6]],a[r++]=d[s&c[6]];return 0===o?a:1===o?(s=e[t++]<<16,s+=e[t]<<8,a[r++]=d[s>>18&c[6]],a[r++]=d[s>>12&c[6]],a[r++]=d[s>>6&c[6]],a[r]=d[64],a):2===o?(s=e[t]<<16,a[r++]=d[s>>18&c[6]],a[r++]=d[s>>12&c[6]],a[r++]=d[64],a[r]=d[64],a):undefined},decode(e){if(0===e.length)return n.alloc(0);const t=function(e){const t=[];let r=0;for(let n=0;n<e.length;n+=1){const s=e[n],o=!0;for(;o&&32!==s&&9!==s&&10!==s&&13!==s;){if(s>=65&&s<=90){t.push(s-65);break}if(s>=97&&s<=122){t.push(s-71);break}if(s>=48&&s<=57){t.push(s+4);break}if(43===s){t.push(62);break}if(47===s){t.push(63);break}if(61===s){t.push(64),r+=1;break}throw new RangeError(`base64.decode: invalid character buf[${n}]: ${s}`)}}if(t.length%4>0)throw new RangeError(`base64.decode: string length not integral multiple of 4: ${t.length}`);switch(r){case 0:break;case 1:if(64!==t[t.length-1])throw new RangeError("base64.decode: one tail character found: not last character");break;case 2:if(64!==t[t.length-1]||64!==t[t.length-2])throw new RangeError("base64.decode: two tail characters found: not last characters");break;default:throw new RangeError(`base64.decode: more than two tail characters found: ${r}`)}return{tail:r,buf:n.from(t)}}(e),{tail:r}=t,s=t.buf;let o,i,a,u=s.length/4;const l=n.alloc(3*u-r);r>0&&(u-=1),i=0,o=0;for(let e=0;e<u;e+=1)a=s[o++]<<18,a+=s[o++]<<12,a+=s[o++]<<6,a+=s[o++],l[i++]=a>>16&c[8],l[i++]=a>>8&c[8],l[i++]=a&c[8];return 1===r&&(a=s[o++]<<18,a+=s[o++]<<12,a+=s[o]<<6,l[i++]=a>>16&c[8],l[i]=a>>8&c[8]),2===r&&(a=s[o++]<<18,a+=s[o++]<<12,l[i]=a>>16&c[8]),l},toString(e){if(e.length%4>0)throw new RangeError(`base64.toString: input buffer length not multiple of 4: ${e.length}`);let t="",r=0;function n(e,n,s,o){switch(r){case 76:t+=`\r\n${e}${n}${s}${o}`,r=4;break;case 75:t+=`${e}\r\n${n}${s}${o}`,r=3;break;case 74:t+=`${e+n}\r\n${s}${o}`,r=2;break;case 73:t+=`${e+n+s}\r\n${o}`,r=1;break;default:t+=e+n+s+o,r+=4}}function s(e){return e>=65&&e<=90||(e>=97&&e<=122||(e>=48&&e<=57||(43===e||(47===e||61===e))))}for(let t=0;t<e.length;t+=4){for(let r=t;r<t+4;r+=1)if(!s(e[r]))throw new RangeError(`base64.toString: buf[${r}]: ${e[r]} : not valid base64 character code`);n(String.fromCharCode(e[t]),String.fromCharCode(e[t+1]),String.fromCharCode(e[t+2]),String.fromCharCode(e[t+3]))}return t}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-conv-api/transformers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/ast.js",{"./identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/identifiers.js","./utilities":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/utilities.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){const t=e("./identifiers"),r=e("./utilities"),n=this;let s=null,o=null,i=null,a=0;const c=[],u=[],l=[],d=[];function f(e){let t="";for(let r=0;r<e;r+=1)t+=" ";return t}this.callbacks=[],this.astObject="astObject",this.init=function(e,t,r){let f;l.length=0,d.length=0,c.length=0,a=0,s=e,o=t,i=r;const h=[];for(f=0;f<s.length;f+=1)h.push(s[f].lower);for(f=0;f<o.length;f+=1)h.push(o[f].lower);for(a=s.length+o.length,f=0;f<a;f+=1)c[f]=!1,u[f]=null;for(const e in n.callbacks){const t=e.toLowerCase();if(f=h.indexOf(t),f<0)throw new Error(`ast.js: init: node '${e}' not a rule or udt name`);"function"==typeof n.callbacks[e]&&(c[f]=!0,u[f]=n.callbacks[e]),!0===n.callbacks[e]&&(c[f]=!0)}},this.ruleDefined=function(e){return!1!==c[e]},this.udtDefined=function(e){return!1!==c[s.length+e]},this.down=function(e,r){const n=d.length;return l.push(n),d.push({name:r,thisIndex:n,thatIndex:null,state:t.SEM_PRE,callbackIndex:e,phraseIndex:null,phraseLength:null,stack:l.length}),n},this.up=function(e,r,n,s){const o=d.length,i=l.pop();return d.push({name:r,thisIndex:o,thatIndex:i,state:t.SEM_POST,callbackIndex:e,phraseIndex:n,phraseLength:s,stack:l.length}),d[i].thatIndex=o,d[i].phraseIndex=n,d[i].phraseLength=s,o},this.translate=function(e){let r,n,s;for(let o=0;o<d.length;o+=1)s=d[o],n=u[s.callbackIndex],s.state===t.SEM_PRE?null!==n&&(r=n(t.SEM_PRE,i,s.phraseIndex,s.phraseLength,e),r===t.SEM_SKIP&&(o=s.thatIndex)):null!==n&&n(t.SEM_POST,i,s.phraseIndex,s.phraseLength,e)},this.setLength=function(e){d.length=e,l.length=e>0?d[e-1].stack:0},this.getLength=function(){return d.length},this.toXml=function(e){let n=r.charsToDec,s="decimal integer character codes";if("string"==typeof e&&e.length>=3){const t=e.slice(0,3).toLowerCase();"asc"===t?(n=r.charsToAscii,s="ASCII for printing characters, hex for non-printing"):"hex"===t?(n=r.charsToHex,s="hexadecimal integer character codes"):"uni"===t&&(n=r.charsToUnicode,s="Unicode UTF-32 integer character codes")}let o="",a=0;return o+='<?xml version="1.0" encoding="utf-8"?>\n',o+=`<root nodes="${d.length/2}" characters="${i.length}">\n`,o+=`< ! -- input string, ${s} -- >\n`,o+=f(a+2),o+=n(i),o+="\n",d.forEach(e=>{e.state===t.SEM_PRE?(a+=1,o+=f(a),o+=`<node name="${e.name}" index="${e.phraseIndex}" length="${e.phraseLength}">\n`,o+=f(a+2),o+=n(i,e.phraseIndex,e.phraseLength),o+="\n"):(o+=f(a),o+=`</node>< ! -- name="${e.name}" -- >\n`,a-=1)}),o+="</root>\n",o},this.phrases=function(){const e={};let r,n;for(r=0;r<d.length;r+=1)n=d[r],n.state===t.SEM_PRE&&(Array.isArray(e[n.name])||(e[n.name]=[]),e[n.name].push({index:n.phraseIndex,length:n.phraseLength}));return e}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-lib/ast.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/circular-buffer.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){let e=-1,t=0;this.init=function(r){if("number"!=typeof r||r<=0)throw new Error("circular-buffer.js: init: circular buffer size must an integer > 0");t=Math.ceil(r),e=-1},this.increment=function(){return e+=1,(e+t)%t},this.maxSize=function(){return t},this.items=function(){return e+1},this.getListIndex=function(r){return-1===e||r<0||r>e||e-r>=t?-1:(r+t)%t},this.forEach=function(r){if(-1!==e)if(e<t)for(let t=0;t<=e;t+=1)r(t,t);else for(let n=e-t+1;n<=e;n+=1){r((n+t)%t,n)}}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-lib/circular-buffer.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/emitcss.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){return"/* This file automatically generated by jsonToless() and LESS. */\n.apg-mono {\n  font-family: monospace;\n}\n.apg-active {\n  font-weight: bold;\n  color: #000000;\n}\n.apg-match {\n  font-weight: bold;\n  color: #264BFF;\n}\n.apg-empty {\n  font-weight: bold;\n  color: #0fbd0f;\n}\n.apg-nomatch {\n  font-weight: bold;\n  color: #FF4000;\n}\n.apg-lh-match {\n  font-weight: bold;\n  color: #1A97BA;\n}\n.apg-lb-match {\n  font-weight: bold;\n  color: #5F1687;\n}\n.apg-remainder {\n  font-weight: bold;\n  color: #999999;\n}\n.apg-ctrl-char {\n  font-weight: bolder;\n  font-style: italic;\n  font-size: 0.6em;\n}\n.apg-line-end {\n  font-weight: bold;\n  color: #000000;\n}\n.apg-error {\n  font-weight: bold;\n  color: #FF4000;\n}\n.apg-phrase {\n  color: #000000;\n  background-color: #8caae6;\n}\n.apg-empty-phrase {\n  color: #0fbd0f;\n}\ntable.apg-state {\n  font-family: monospace;\n  margin-top: 5px;\n  font-size: 11px;\n  line-height: 130%;\n  text-align: left;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-state th,\ntable.apg-state td {\n  text-align: left;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-state th:nth-last-child(2),\ntable.apg-state td:nth-last-child(2) {\n  text-align: right;\n}\ntable.apg-state caption {\n  font-size: 125%;\n  line-height: 130%;\n  font-weight: bold;\n  text-align: left;\n}\ntable.apg-stats {\n  font-family: monospace;\n  margin-top: 5px;\n  font-size: 11px;\n  line-height: 130%;\n  text-align: right;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-stats th,\ntable.apg-stats td {\n  text-align: right;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-stats caption {\n  font-size: 125%;\n  line-height: 130%;\n  font-weight: bold;\n  text-align: left;\n}\ntable.apg-trace {\n  font-family: monospace;\n  margin-top: 5px;\n  font-size: 11px;\n  line-height: 130%;\n  text-align: right;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-trace caption {\n  font-size: 125%;\n  line-height: 130%;\n  font-weight: bold;\n  text-align: left;\n}\ntable.apg-trace th,\ntable.apg-trace td {\n  text-align: right;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-trace th:last-child,\ntable.apg-trace th:nth-last-child(2),\ntable.apg-trace td:last-child,\ntable.apg-trace td:nth-last-child(2) {\n  text-align: left;\n}\ntable.apg-grammar {\n  font-family: monospace;\n  margin-top: 5px;\n  font-size: 11px;\n  line-height: 130%;\n  text-align: right;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-grammar caption {\n  font-size: 125%;\n  line-height: 130%;\n  font-weight: bold;\n  text-align: left;\n}\ntable.apg-grammar th,\ntable.apg-grammar td {\n  text-align: right;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-grammar th:last-child,\ntable.apg-grammar td:last-child {\n  text-align: left;\n}\ntable.apg-rules {\n  font-family: monospace;\n  margin-top: 5px;\n  font-size: 11px;\n  line-height: 130%;\n  text-align: right;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-rules caption {\n  font-size: 125%;\n  line-height: 130%;\n  font-weight: bold;\n  text-align: left;\n}\ntable.apg-rules th,\ntable.apg-rules td {\n  text-align: right;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-rules a {\n  color: #003399 !important;\n}\ntable.apg-rules a:hover {\n  color: #8caae6 !important;\n}\ntable.apg-attrs {\n  font-family: monospace;\n  margin-top: 5px;\n  font-size: 11px;\n  line-height: 130%;\n  text-align: center;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-attrs caption {\n  font-size: 125%;\n  line-height: 130%;\n  font-weight: bold;\n  text-align: left;\n}\ntable.apg-attrs th,\ntable.apg-attrs td {\n  text-align: center;\n  border: 1px solid black;\n  border-collapse: collapse;\n}\ntable.apg-attrs th:nth-child(1),\ntable.apg-attrs th:nth-child(2),\ntable.apg-attrs th:nth-child(3) {\n  text-align: right;\n}\ntable.apg-attrs td:nth-child(1),\ntable.apg-attrs td:nth-child(2),\ntable.apg-attrs td:nth-child(3) {\n  text-align: right;\n}\ntable.apg-attrs a {\n  color: #003399 !important;\n}\ntable.apg-attrs a:hover {\n  color: #8caae6 !important;\n}\n"}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-lib/emitcss.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/identifiers.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={ALT:1,CAT:2,REP:3,RNM:4,TRG:5,TBS:6,TLS:7,UDT:11,AND:12,NOT:13,BKR:14,BKA:15,BKN:16,ABG:17,AEN:18,ACTIVE:100,MATCH:101,EMPTY:102,NOMATCH:103,SEM_PRE:200,SEM_POST:201,SEM_OK:300,SEM_SKIP:301,ATTR_N:400,ATTR_R:401,ATTR_MR:402,LOOKAROUND_NONE:500,LOOKAROUND_AHEAD:501,LOOKAROUND_BEHIND:502,BKR_MODE_UM:601,BKR_MODE_PM:602,BKR_MODE_CS:603,BKR_MODE_CI:604}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-lib/identifiers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/node-exports.js",{"./ast":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/ast.js","./circular-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/circular-buffer.js","./emitcss":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/emitcss.js","./identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/identifiers.js","./parser":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/parser.js","./stats":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/stats.js","./style":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/style.js","./trace":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/trace.js","./utilities":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/utilities.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={ast:e("./ast"),circular:e("./circular-buffer"),ids:e("./identifiers"),parser:e("./parser"),stats:e("./stats"),trace:e("./trace"),utils:e("./utilities"),emitcss:e("./emitcss"),style:e("./style")}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-lib/node-exports.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/parser.js",{"./identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/identifiers.js","./utilities":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/utilities.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){const t=e("./identifiers"),r=e("./utilities"),n="parser.js: ",s=this;let o;this.ast=null,this.stats=null,this.trace=null,this.callbacks=[];let i,a,c,u,l=null,d=null,f=0,h=0,m=0,p=null,b=null,g=null,y=null,w=null,k=0,x=Infinity,_=Infinity;const v=function(e,r,s){const i=`${n}evaluateRule(): `;if(e>=g.length)throw new Error(`${i}rule index: ${e} out of range`);if(r>=c)throw new Error(`${i}phrase index: ${r} out of range`);const{length:a}=l;l.push({type:t.RNM,index:e}),o(a,r,s),l.pop()},S=function(e,r,s){const i=`${n}evaluateUdt(): `;if(e>=y.length)throw new Error(`${i}udt index: ${e} out of range`);if(r>=c)throw new Error(`${i}phrase index: ${r} out of range`);const{length:a}=l;l.push({type:t.UDT,empty:y[e].empty,index:e}),o(a,r,s),l.pop()},E=function(){f=0,h=0,m=0,k=0,u=[{lookAround:t.LOOKAROUND_NONE,anchor:0,charsEnd:0,charsLength:0}],g=null,y=null,d=null,i=0,a=0,c=0,p=null,b=null,w=null,l=null},A=function(){const e=[];this.push=function(){e.push(function(){const t=e[e.length-1],r={};for(const e in t)r[e]=t[e];return r}())},this.pop=function(t){let r=t;if(r||(r=e.length-1),r<1||r>e.length)throw new Error(`${n}backRef.pop(): bad length: ${r}`);return e.length=r,e[e.length-1]},this.length=function(){return e.length},this.savePhrase=function(t,r,n){e[e.length-1][t]={phraseIndex:r,phraseLength:n}},this.getPhrase=function(t){return e[e.length-1][t]},function(){const t={};g.forEach(e=>{e.isBkr&&(t[e.lower]=null)}),y.length>0&&y.forEach(e=>{e.isBkr&&(t[e.lower]=null)}),e.push(t)}()},j=function(){const e=this;this.state=t.ACTIVE,this.phraseLength=0,this.ruleIndex=0,this.udtIndex=0,this.lookAround=u[u.length-1],this.uFrame=new A,this.pFrame=new A,this.evaluateRule=v,this.evaluateUdt=S,this.refresh=function(){e.state=t.ACTIVE,e.phraseLength=0,e.lookAround=u[u.length-1]}},T=function(){return u[u.length-1]},B=function(){return u.length>1},M=function(e,t,s){const o=`${n}initializeInputChars(): `;let u=e,l=t,f=s;if(u===undefined)throw new Error(`${o}input string is undefined`);if(null===u)throw new Error(`${o}input string is null`);if("string"==typeof u)u=r.stringToChars(u);else if(!Array.isArray(u))throw new Error(`${o}input string is not a string or array`);if(u.length>0&&"number"!=typeof u[0])throw new Error(`${o}input string not an array of integers`);if("number"!=typeof l)l=0;else if(l=Math.floor(l),l<0||l>u.length)throw new Error(`${o}input beginning index out of range: ${l}`);if("number"!=typeof f)f=u.length-l;else if(f=Math.floor(f),f<0||f>u.length-l)throw new Error(`${o}input length out of range: ${f}`);d=u,i=l,a=f,c=i+a};this.setMaxTreeDepth=function(e){if("number"!=typeof e)throw new Error(`parser: max tree depth must be integer > 0: ${e}`);if(x=Math.floor(e),x<=0)throw new Error(`parser: max tree depth must be integer > 0: ${e}`)},this.setMaxNodeHits=function(e){if("number"!=typeof e)throw new Error(`parser: max node hits must be integer > 0: ${e}`);if(_=Math.floor(e),_<=0)throw new Error(`parser: max node hits must be integer > 0: ${e}`)};const O=function(e,r,u){let f;const x=`${n}parse(): `;!function(e){const t=`${n}initializeGrammar(): `;if(!e)throw new Error(`${t}grammar object undefined`);if("grammarObject"!==e.grammarObject)throw new Error(`${t}bad grammar object`);g=e.rules,y=e.udts}(e);const _=function(e){const t=`${n}initializeStartRule(): `;let r=null;if("number"==typeof e){if(e>=g.length)throw new Error(`${t}start rule index too large: max: ${g.length}: index: ${e}`);r=e}else{if("string"!=typeof e)throw new Error(`${t}type of start rule '${typeof e}' not recognized`);{const n=e.toLowerCase();for(let e=0;e<g.length;e+=1)if(n===g[e].lower){r=g[e].index;break}if(null===r)throw new Error(`${t}start rule name '${e}' not recognized`)}}return r}(r);!function(){const e=`${n}initializeCallbacks(): `;let t,r;for(p=[],b=[],t=0;t<g.length;t+=1)p[t]=null;for(t=0;t<y.length;t+=1)b[t]=null;const o=[];for(t=0;t<g.length;t+=1)o.push(g[t].lower);for(t=0;t<y.length;t+=1)o.push(y[t].lower);for(const n in s.callbacks){if(t=o.indexOf(n.toLowerCase()),t<0)throw new Error(`${e}syntax callback '${n}' not a rule or udt name`);if(r=s.callbacks[n],r||(r=null),"function"!=typeof r&&null!==r)throw new Error(`${e}syntax callback[${n}] must be function reference or 'false' (false/null/undefined/etc.)`);t<g.length?p[t]=r:b[t-g.length]=r}for(t=0;t<y.length;t+=1)if(null===b[t])throw new Error(`${e}all UDT callbacks must be defined. UDT callback[${y[t].lower}] not a function reference`)}(),function(){const e=`${n}initializeTrace(): `;for(;;){if(s.trace===undefined){s.trace=null;break}if(null===s.trace)break;if("traceObject"!==s.trace.traceObject)throw new Error(`${e}trace object not recognized`);break}null!==s.trace&&s.trace.init(g,y,d)}(),function(){const e=`${n}initializeStats(): `;for(;;){if(s.stats===undefined){s.stats=null;break}if(null===s.stats)break;if("statsObject"!==s.stats.statsObject)throw new Error(`${e}stats object not recognized`);break}null!==s.stats&&s.stats.init(g,y)}(),function(){const e=`${n}initializeAst(): `;for(;;){if(s.ast===undefined){s.ast=null;break}if(null===s.ast)break;if("astObject"!==s.ast.astObject)throw new Error(`${e}ast object not recognized`);break}null!==s.ast&&s.ast.init(g,y,d)}();const v=new j;switch(u!==undefined&&null!==u&&(w=u),l=[{type:t.RNM,index:_}],o(0,i,v),l=null,v.state){case t.ACTIVE:throw new Error(`${x}final state should never be 'ACTIVE'`);case t.NOMATCH:f=!1;break;case t.EMPTY:case t.MATCH:f=v.phraseLength===a;break;default:throw new Error("unrecognized state")}return{success:f,state:v.state,length:a,matched:v.phraseLength,maxMatched:k,maxTreeDepth:h,nodeHits:m,inputLength:d.length,subBegin:i,subEnd:c,subLength:a}};this.parseSubstring=function(e,t,r,n,s,o){return E(),M(r,n,s),O(e,t,o)},this.parse=function(e,t,r,n){return E(),M(r,0,r.length),O(e,t,n)};const C=function(e,r,n){const s=l[e];for(let e=0;e<s.children.length&&(o(s.children[e],r,n),n.state===t.NOMATCH);e+=1);},L=function(e,r,s,o){if(r.phraseLength>s){let t=`${n}opRNM(${e.name}): callback function error: `;throw t+=`sysData.phraseLength: ${r.phraseLength}`,t+=` must be <= remaining chars: ${s}`,new Error(t)}switch(r.state){case t.ACTIVE:if(!0!==o)throw new Error(`${n}opRNM(${e.name}): callback function return error. ACTIVE state not allowed.`);break;case t.EMPTY:r.phraseLength=0;break;case t.MATCH:0===r.phraseLength&&(r.state=t.EMPTY);break;case t.NOMATCH:r.phraseLength=0;break;default:throw new Error(`${n}opRNM(${e.name}): callback function return error. Unrecognized return state: ${r.state}`)}},R=function(e,r,n){let i,a,u,f,h,m;const b=l[e],y=g[b.index],k=p[y.index],x=!B();if(x&&(a=s.ast&&s.ast.ruleDefined(b.index),a&&(i=s.ast.getLength(),s.ast.down(b.index,g[b.index].name)),f=n.uFrame.length(),h=n.pFrame.length(),n.uFrame.push(),n.pFrame.push(),m=n.pFrame,n.pFrame=new A),null===k)u=l,l=y.opcodes,o(0,r,n),l=u;else{const e=c-r;n.ruleIndex=y.index,k(n,d,r,w),L(y,n,e,!0),n.state===t.ACTIVE&&(u=l,l=y.opcodes,o(0,r,n),l=u,n.ruleIndex=y.index,k(n,d,r,w),L(y,n,e,!1))}x&&(a&&(n.state===t.NOMATCH?s.ast.setLength(i):s.ast.up(b.index,y.name,r,n.phraseLength)),n.pFrame=m,n.state===t.NOMATCH?(n.uFrame.pop(f),n.pFrame.pop(h)):y.isBkr&&(n.pFrame.savePhrase(y.lower,r,n.phraseLength),n.uFrame.savePhrase(y.lower,r,n.phraseLength)))},I=function(e,r,o){let i,a,u,f,h,m;const p=l[e],k=y[p.index];o.UdtIndex=k.index;const x=!B();x&&(u=s.ast&&s.ast.udtDefined(p.index),u&&(a=g.length+p.index,i=s.ast.getLength(),s.ast.down(a,k.name)),f=o.uFrame.length(),h=o.pFrame.length(),o.uFrame.push(),o.pFrame.push(),m=o.pFrame,o.pFrame=new A);const _=c-r;b[p.index](o,d,r,w),function(e,r,s){if(r.phraseLength>s){let t=`${n}opUDT(${e.name}): callback function error: `;throw t+=`sysData.phraseLength: ${r.phraseLength}`,t+=` must be <= remaining chars: ${s}`,new Error(t)}switch(r.state){case t.ACTIVE:throw new Error(`${n}opUDT(${e.name}): callback function return error. ACTIVE state not allowed.`);case t.EMPTY:if(!1===e.empty)throw new Error(`${n}opUDT(${e.name}): callback function return error. May not return EMPTY.`);r.phraseLength=0;break;case t.MATCH:if(0===r.phraseLength){if(!1===e.empty)throw new Error(`${n}opUDT(${e.name}): callback function return error. May not return EMPTY.`);r.state=t.EMPTY}break;case t.NOMATCH:r.phraseLength=0;break;default:throw new Error(`${n}opUDT(${e.name}): callback function return error. Unrecognized return state: ${r.state}`)}}(k,o,_),x&&(u&&(o.state===t.NOMATCH?s.ast.setLength(i):s.ast.up(a,k.name,r,o.phraseLength)),o.pFrame=m,o.state===t.NOMATCH?(o.uFrame.pop(f),o.pFrame.pop(h)):k.isBkr&&(o.pFrame.savePhrase(k.lower,r,o.phraseLength),o.uFrame.savePhrase(k.lower,r,o.phraseLength)))},N=function(e,r,n){u.push({lookAround:t.LOOKAROUND_AHEAD,anchor:r,charsEnd:c,charsLength:a}),c=d.length,a=d.length-i,o(e+1,r,n);const s=u.pop();switch(c=s.charsEnd,a=s.charsLength,n.phraseLength=0,n.state){case t.EMPTY:case t.MATCH:n.state=t.EMPTY;break;case t.NOMATCH:n.state=t.NOMATCH;break;default:throw new Error(`opAND: invalid state ${n.state}`)}},P=function(e,r,n){u.push({lookAround:t.LOOKAROUND_AHEAD,anchor:r,charsEnd:c,charsLength:a}),c=d.length,a=d.length-i,o(e+1,r,n);const s=u.pop();switch(c=s.charsEnd,a=s.charsLength,n.phraseLength=0,n.state){case t.EMPTY:case t.MATCH:n.state=t.NOMATCH;break;case t.NOMATCH:n.state=t.EMPTY;break;default:throw new Error(`opNOT: invalid state ${n.state}`)}},D=function(e,r,n){n.state=t.NOMATCH,n.phraseLength=0,n.state=0===r?t.EMPTY:t.NOMATCH},F=function(e,r,n){n.state=t.NOMATCH,n.phraseLength=0,n.state=r===d.length?t.EMPTY:t.NOMATCH},U=function(e,r,n){switch(u.push({lookAround:t.LOOKAROUND_BEHIND,anchor:r}),o(e+1,r,n),u.pop(),n.phraseLength=0,n.state){case t.EMPTY:case t.MATCH:n.state=t.EMPTY;break;case t.NOMATCH:n.state=t.NOMATCH;break;default:throw new Error(`opBKA: invalid state ${n.state}`)}},$=function(e,r,n){switch(u.push({lookAround:t.LOOKAROUND_BEHIND,anchor:r}),o(e+1,r,n),u.pop(),n.phraseLength=0,n.state){case t.EMPTY:case t.MATCH:n.state=t.NOMATCH;break;case t.NOMATCH:n.state=t.EMPTY;break;default:throw new Error(`opBKN: invalid state ${n.state}`)}};o=function(e,r,n){let i=!0;const a=l[e];if(m+=1,m>_)throw new Error(`parser: maximum number of node hits exceeded: ${_}`);if(f+=1,f>h&&(h=f,h>x))throw new Error(`parser: maximum parse tree depth exceeded: ${x}`);if(n.refresh(),null!==s.trace){const e=T();s.trace.down(a,n.state,r,n.phraseLength,e.anchor,e.lookAround)}if(u[u.length-1].lookAround===t.LOOKAROUND_BEHIND)switch(a.type){case t.ALT:C(e,r,n);break;case t.CAT:!function(e,r,n){let i,a,c,u;const d=l[e],f=n.uFrame.length(),h=n.pFrame.length();s.ast&&(a=s.ast.getLength()),i=!0,c=r,u=0;for(let e=d.children.length-1;e>=0;e-=1)if(o(d.children[e],c,n),c-=n.phraseLength,u+=n.phraseLength,n.state===t.NOMATCH){i=!1;break}i?(n.state=0===u?t.EMPTY:t.MATCH,n.phraseLength=u):(n.state=t.NOMATCH,n.phraseLength=0,n.uFrame.pop(f),n.pFrame.pop(h),s.ast&&s.ast.setLength(a))}(e,r,n);break;case t.REP:!function(e,r,n){let i,a,c,u;const d=l[e];a=r,c=0,u=0;const f=n.uFrame.length(),h=n.pFrame.length();for(s.ast&&(i=s.ast.getLength());!(a<=0)&&(o(e+1,a,n),n.state!==t.NOMATCH)&&n.state!==t.EMPTY&&(u+=1,c+=n.phraseLength,a-=n.phraseLength,u!==d.max););n.state===t.EMPTY||u>=d.min?(n.state=0===c?t.EMPTY:t.MATCH,n.phraseLength=c):(n.state=t.NOMATCH,n.phraseLength=0,n.uFrame.pop(f),n.pFrame.pop(h),s.ast&&s.ast.setLength(i))}(e,r,n);break;case t.RNM:R(e,r,n);break;case t.UDT:I(e,r,n);break;case t.AND:N(e,r,n);break;case t.NOT:P(e,r,n);break;case t.TRG:!function(e,r,n){const s=l[e];if(n.state=t.NOMATCH,n.phraseLength=0,r>0){const e=d[r-1];s.min<=e&&e<=s.max&&(n.state=t.MATCH,n.phraseLength=1)}}(e,r,n);break;case t.TBS:!function(e,r,n){let s;const o=l[e];n.state=t.NOMATCH;const i=o.string.length,a=r-i;if(a>=0){for(s=0;s<i;s+=1)if(d[a+s]!==o.string[s])return;n.state=t.MATCH,n.phraseLength=i}}(e,r,n);break;case t.TLS:!function(e,r,n){let s;const o=l[e];n.state=t.NOMATCH;const i=o.string.length;if(0===i)return void(n.state=t.EMPTY);const a=r-i;if(a>=0){for(let e=0;e<i;e+=1)if(s=d[a+e],s>=65&&s<=90&&(s+=32),s!==o.string[e])return;n.state=t.MATCH,n.phraseLength=i}}(e,r,n);break;case t.BKR:!function(e,r,n){let s,o,i,a;const c=l[e];n.state=t.NOMATCH,n.phraseLength=0,a=c.index<g.length?g[c.index].lower:y[c.index-g.length].lower;const u=c.bkrMode===t.BKR_MODE_PM?n.pFrame.getPhrase(a):n.uFrame.getPhrase(a),f=c.bkrCase===t.BKR_MODE_CI;if(null===u)return;const h=u.phraseIndex,m=u.phraseLength;if(0===m)return n.state=t.EMPTY,void(n.phraseLength=0);const p=r-m;if(p>=0){if(f){for(s=0;s<m;s+=1)if(o=d[p+s],i=d[h+s],o>=65&&o<=90&&(o+=32),i>=65&&i<=90&&(i+=32),o!==i)return;n.state=t.MATCH,n.phraseLength=m}else for(s=0;s<m;s+=1)if(o=d[p+s],i=d[h+s],o!==i)return;n.state=t.MATCH,n.phraseLength=m}}(e,r,n);break;case t.BKA:U(e,r,n);break;case t.BKN:$(e,r,n);break;case t.ABG:D(0,r,n);break;case t.AEN:F(0,r,n);break;default:i=!1}else switch(a.type){case t.ALT:C(e,r,n);break;case t.CAT:!function(e,r,n){let i,a,c,u;const d=l[e],f=n.uFrame.length(),h=n.pFrame.length();s.ast&&(a=s.ast.getLength()),i=!0,c=r,u=0;for(let e=0;e<d.children.length;e+=1){if(o(d.children[e],c,n),n.state===t.NOMATCH){i=!1;break}c+=n.phraseLength,u+=n.phraseLength}i?(n.state=0===u?t.EMPTY:t.MATCH,n.phraseLength=u):(n.state=t.NOMATCH,n.phraseLength=0,n.uFrame.pop(f),n.pFrame.pop(h),s.ast&&s.ast.setLength(a))}(e,r,n);break;case t.REP:!function(e,r,n){let i,a,u,d;const f=l[e];if(0===f.max)return n.state=t.EMPTY,void(n.phraseLength=0);a=r,u=0,d=0;const h=n.uFrame.length(),m=n.pFrame.length();for(s.ast&&(i=s.ast.getLength());!(a>=c)&&(o(e+1,a,n),n.state!==t.NOMATCH)&&n.state!==t.EMPTY&&(d+=1,u+=n.phraseLength,a+=n.phraseLength,d!==f.max););n.state===t.EMPTY||d>=f.min?(n.state=0===u?t.EMPTY:t.MATCH,n.phraseLength=u):(n.state=t.NOMATCH,n.phraseLength=0,n.uFrame.pop(h),n.pFrame.pop(m),s.ast&&s.ast.setLength(i))}(e,r,n);break;case t.RNM:R(e,r,n);break;case t.UDT:I(e,r,n);break;case t.AND:N(e,r,n);break;case t.NOT:P(e,r,n);break;case t.TRG:!function(e,r,n){const s=l[e];n.state=t.NOMATCH,r<c&&s.min<=d[r]&&d[r]<=s.max&&(n.state=t.MATCH,n.phraseLength=1)}(e,r,n);break;case t.TBS:!function(e,r,n){let s;const o=l[e],i=o.string.length;if(n.state=t.NOMATCH,r+i<=c){for(s=0;s<i;s+=1)if(d[r+s]!==o.string[s])return;n.state=t.MATCH,n.phraseLength=i}}(e,r,n);break;case t.TLS:!function(e,r,n){let s,o;const i=l[e];n.state=t.NOMATCH;const a=i.string.length;if(0!==a){if(r+a<=c){for(s=0;s<a;s+=1)if(o=d[r+s],o>=65&&o<=90&&(o+=32),o!==i.string[s])return;n.state=t.MATCH,n.phraseLength=a}}else n.state=t.EMPTY}(e,r,n);break;case t.BKR:!function(e,r,n){let s,o,i,a;const u=l[e];n.state=t.NOMATCH,a=u.index<g.length?g[u.index].lower:y[u.index-g.length].lower;const f=u.bkrMode===t.BKR_MODE_PM?n.pFrame.getPhrase(a):n.uFrame.getPhrase(a),h=u.bkrCase===t.BKR_MODE_CI;if(null===f)return;const m=f.phraseIndex,p=f.phraseLength;if(0!==p){if(r+p<=c){if(h){for(s=0;s<p;s+=1)if(o=d[r+s],i=d[m+s],o>=65&&o<=90&&(o+=32),i>=65&&i<=90&&(i+=32),o!==i)return;n.state=t.MATCH,n.phraseLength=p}else for(s=0;s<p;s+=1)if(o=d[r+s],i=d[m+s],o!==i)return;n.state=t.MATCH,n.phraseLength=p}}else n.state=t.EMPTY}(e,r,n);break;case t.BKA:U(e,r,n);break;case t.BKN:$(e,r,n);break;case t.ABG:D(0,r,n);break;case t.AEN:F(0,r,n);break;default:i=!1}if(!B()&&r+n.phraseLength>k&&(k=r+n.phraseLength),null!==s.stats&&s.stats.collect(a,n),null!==s.trace){const e=T();s.trace.up(a,n.state,r,n.phraseLength,e.anchor,e.lookAround)}return f-=1,i}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-lib/parser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/stats.js",{"./identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/identifiers.js","./style":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/style.js","./utilities":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/utilities.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){const t=e("./identifiers"),r=e("./utilities"),n=e("./style");let s=[],o=[];const i=[];let a;const c=[],u=[];this.statsObject="statsObject";const l=function(e,t){return e.lower<t.lower?-1:e.lower>t.lower?1:0},d=function(e,t){return e.total<t.total?1:e.total>t.total?-1:l(e,t)},f=function(e,t){return e.index<t.index?-1:e.index>t.index?1:0},h=function(){this.empty=0,this.match=0,this.nomatch=0,this.total=0},m=function(e,r){switch(e.total+=1,r){case t.EMPTY:e.empty+=1;break;case t.MATCH:e.match+=1;break;case t.NOMATCH:e.nomatch+=1;break;default:throw new Error(`stats.js: collect(): incStat(): unrecognized state: ${r}`)}},p=function(e,t){let r="";return r+="<tr>",r+=`<td class="${n.CLASS_ACTIVE}">${e}</td>`,r+=`<td class="${n.CLASS_EMPTY}">${t.empty}</td>`,r+=`<td class="${n.CLASS_MATCH}">${t.match}</td>`,r+=`<td class="${n.CLASS_NOMATCH}">${t.nomatch}</td>`,r+=`<td class="${n.CLASS_ACTIVE}">${t.total}</td>`,r+="</tr>\n",r},b=function(){let e="";return e+=p("ALT",i[t.ALT]),e+=p("CAT",i[t.CAT]),e+=p("REP",i[t.REP]),e+=p("RNM",i[t.RNM]),e+=p("TRG",i[t.TRG]),e+=p("TBS",i[t.TBS]),e+=p("TLS",i[t.TLS]),e+=p("UDT",i[t.UDT]),e+=p("AND",i[t.AND]),e+=p("NOT",i[t.NOT]),e+=p("BKR",i[t.BKR]),e+=p("BKA",i[t.BKA]),e+=p("BKN",i[t.BKN]),e+=p("ABG",i[t.ABG]),e+=p("AEN",i[t.AEN]),e+=p("totals",a),e},g=function(){let e="";e+="<tr><th></th><th></th><th></th><th></th><th></th></tr>\n",e+="<tr><th>rules</th><th></th><th></th><th></th><th></th></tr>\n";for(let t=0;t<s.length;t+=1)c[t].total>0&&(e+="<tr>",e+=`<td class="${n.CLASS_ACTIVE}">${c[t].name}</td>`,e+=`<td class="${n.CLASS_EMPTY}">${c[t].empty}</td>`,e+=`<td class="${n.CLASS_MATCH}">${c[t].match}</td>`,e+=`<td class="${n.CLASS_NOMATCH}">${c[t].nomatch}</td>`,e+=`<td class="${n.CLASS_ACTIVE}">${c[t].total}</td>`,e+="</tr>\n");if(o.length>0){e+="<tr><th></th><th></th><th></th><th></th><th></th></tr>\n",e+="<tr><th>udts</th><th></th><th></th><th></th><th></th></tr>\n";for(let t=0;t<o.length;t+=1)u[t].total>0&&(e+="<tr>",e+=`<td class="${n.CLASS_ACTIVE}">${u[t].name}</td>`,e+=`<td class="${n.CLASS_EMPTY}">${u[t].empty}</td>`,e+=`<td class="${n.CLASS_MATCH}">${u[t].match}</td>`,e+=`<td class="${n.CLASS_NOMATCH}">${u[t].nomatch}</td>`,e+=`<td class="${n.CLASS_ACTIVE}">${u[t].total}</td>`,e+="</tr>\n")}return e};this.validate=function(e){let t=!1;return"string"==typeof e&&"stats"===e&&(t=!0),t},this.init=function(e,r){s=e,o=r,function(){i.length=0,a=new h,i[t.ALT]=new h,i[t.CAT]=new h,i[t.REP]=new h,i[t.RNM]=new h,i[t.TRG]=new h,i[t.TBS]=new h,i[t.TLS]=new h,i[t.UDT]=new h,i[t.AND]=new h,i[t.NOT]=new h,i[t.BKR]=new h,i[t.BKA]=new h,i[t.BKN]=new h,i[t.ABG]=new h,i[t.AEN]=new h,c.length=0;for(let e=0;e<s.length;e+=1)c.push({empty:0,match:0,nomatch:0,total:0,name:s[e].name,lower:s[e].lower,index:s[e].index});if(o.length>0){u.length=0;for(let e=0;e<o.length;e+=1)u.push({empty:0,match:0,nomatch:0,total:0,name:o[e].name,lower:o[e].lower,index:o[e].index})}}()},this.collect=function(e,r){m(a,r.state,r.phraseLength),m(i[e.type],r.state,r.phraseLength),e.type===t.RNM&&m(c[e.index],r.state,r.phraseLength),e.type===t.UDT&&m(u[e.index],r.state,r.phraseLength)},this.toHtml=function(e,t){let r="";r+=`<table class="${n.CLASS_STATS}">\n`,"string"==typeof t&&(r+=`<caption>${t}</caption>\n`),r+=`<tr><th class="${n.CLASS_ACTIVE}">ops</th>\n`,r+=`<th class="${n.CLASS_EMPTY}">EMPTY</th>\n`,r+=`<th class="${n.CLASS_MATCH}">MATCH</th>\n`,r+=`<th class="${n.CLASS_NOMATCH}">NOMATCH</th>\n`,r+=`<th class="${n.CLASS_ACTIVE}">totals</th></tr>\n`;for(;;){if(e===undefined){r+=b();break}if(null===e){r+=b();break}if("ops"===e){r+=b();break}if("index"===e){c.sort(f),u.length>0&&u.sort(f),r+=b(),r+=g();break}if("hits"===e){c.sort(d),u.length>0&&u.sort(f),r+=b(),r+=g();break}if("alpha"===e){c.sort(l),u.length>0&&u.sort(l),r+=b(),r+=g();break}break}return r+="</table>\n",r},this.toHtmlPage=function(e,t,n){return r.htmlToPage(this.toHtml(e,t),n)}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-lib/stats.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/style.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={CLASS_MONOSPACE:"apg-mono",CLASS_ACTIVE:"apg-active",CLASS_EMPTY:"apg-empty",CLASS_MATCH:"apg-match",CLASS_NOMATCH:"apg-nomatch",CLASS_LOOKAHEAD:"apg-lh-match",CLASS_LOOKBEHIND:"apg-lb-match",CLASS_REMAINDER:"apg-remainder",CLASS_CTRLCHAR:"apg-ctrl-char",CLASS_LINEEND:"apg-line-end",CLASS_ERROR:"apg-error",CLASS_PHRASE:"apg-phrase",CLASS_EMPTYPHRASE:"apg-empty-phrase",CLASS_STATE:"apg-state",CLASS_STATS:"apg-stats",CLASS_TRACE:"apg-trace",CLASS_GRAMMAR:"apg-grammar",CLASS_RULES:"apg-rules",CLASS_RULESLINK:"apg-rules-link",CLASS_ATTRIBUTES:"apg-attrs"}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-lib/style.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/trace.js",{"./circular-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/circular-buffer.js","./identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/identifiers.js","./style":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/style.js","./utilities":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/utilities.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){const t=e("./utilities"),r=e("./style"),n=new(e("./circular-buffer")),s=e("./identifiers"),o="trace.js: ",i=this,a=16,c=80,u=[];let l=5e3,d=-1,f=0,h=0;const m=[];let p=null,b=null,g=null;const y=[],w=[],k=`<span class="${r.CLASS_LINEEND}">&bull;</span>`,x=`<span class="${r.CLASS_LINEEND}">&hellip;</span>`,_=`<span class="${r.CLASS_EMPTY}">&#120634;</span>`;this.traceObject="traceObject",this.filter={operators:[],rules:[]},this.setMaxRecords=function(e,t){d=-1,"number"==typeof e&&e>0?(l=Math.ceil(e),"number"==typeof t&&(d=Math.floor(t),d<0&&(d=-1))):l=0},this.getMaxRecords=function(){return l},this.getLastRecord=function(){return d},this.init=function(e,t,r){u.length=0,m.length=0,f=0,h=0,p=r,b=e,g=t,function(){const e=function(e){y[s.ALT]=e,y[s.CAT]=e,y[s.REP]=e,y[s.TLS]=e,y[s.TBS]=e,y[s.TRG]=e,y[s.AND]=e,y[s.NOT]=e,y[s.BKR]=e,y[s.BKA]=e,y[s.BKN]=e,y[s.ABG]=e,y[s.AEN]=e};let t=0;for(const e in i.filter.operators)t+=1;if(0!==t){for(const t in i.filter.operators){const r=t.toUpperCase();if("<ALL>"===r)return void e(!0);if("<NONE>"===r)return void e(!1)}e(!1);for(const e in i.filter.operators){const t=e.toUpperCase();if("ALT"===t)y[s.ALT]=!0===i.filter.operators[e];else if("CAT"===t)y[s.CAT]=!0===i.filter.operators[e];else if("REP"===t)y[s.REP]=!0===i.filter.operators[e];else if("AND"===t)y[s.AND]=!0===i.filter.operators[e];else if("NOT"===t)y[s.NOT]=!0===i.filter.operators[e];else if("TLS"===t)y[s.TLS]=!0===i.filter.operators[e];else if("TBS"===t)y[s.TBS]=!0===i.filter.operators[e];else if("TRG"===t)y[s.TRG]=!0===i.filter.operators[e];else if("BKR"===t)y[s.BKR]=!0===i.filter.operators[e];else if("BKA"===t)y[s.BKA]=!0===i.filter.operators[e];else if("BKN"===t)y[s.BKN]=!0===i.filter.operators[e];else if("ABG"===t)y[s.ABG]=!0===i.filter.operators[e];else{if("AEN"!==t)throw new Error(`${o}initOpratorFilter: '${e}' not a valid operator name. Must be <all>, <none>, alt, cat, rep, tls, tbs, trg, and, not, bkr, bka or bkn`);y[s.AEN]=!0===i.filter.operators[e]}}}else e(!1)}(),function(){const e=function(e){y[s.RNM]=e,y[s.UDT]=e;const t=b.length+g.length;w.length=0;for(let r=0;r<t;r+=1)w.push(e)};let t,r;const n=[];for(r=0;r<b.length;r+=1)n.push(b[r].lower);for(r=0;r<g.length;r+=1)n.push(g[r].lower);w.length=0,t=0;for(const e in i.filter.rules)t+=1;if(0!==t){for(const t in i.filter.rules){const r=t.toLowerCase();if("<all>"===r)return void e(!0);if("<none>"===r)return void e(!1)}e(!1),y[s.RNM]=!0,y[s.UDT]=!0;for(const e in i.filter.rules){const t=e.toLowerCase();if(r=n.indexOf(t),r<0)throw new Error(`${o}initRuleFilter: '${e}' not a valid rule or udt name`);w[r]=!0===i.filter.rules[e]}}else e(!0)}(),n.init(l)};const v=function(e){let t=!1;return t=e.type===s.RNM?!(!y[e.type]||!w[e.index]):e.type===s.UDT?!(!y[e.type]||!w[b.length+e.index]):y[e.type],t},S=function(e){return-1===d||e<=d};this.down=function(e,t,r,s,o,i){S(f)&&v(e)&&(m.push(f),u[n.increment()]={dirUp:!1,depth:h,thisLine:f,thatLine:undefined,opcode:e,state:t,phraseIndex:r,phraseLength:s,lookAnchor:o,lookAround:i},f+=1,h+=1)},this.up=function(e,t,r,s,o,i){if(S(f)&&v(e)){const a=f,c=m.pop(),l=n.getListIndex(c);-1!==l&&(u[l].thatLine=a),h-=1,u[n.increment()]={dirUp:!0,depth:h,thisLine:a,thatLine:c,opcode:e,state:t,phraseIndex:r,phraseLength:s,lookAnchor:o,lookAround:i},f+=1}};this.toTree=function(e){const r=function(){function e(e,r){let n,o,i;if(r)switch(e.op={id:r.type,name:t.opcodeToString(r.type)},e.opData=undefined,r.type){case s.RNM:e.opData=b[r.index].name;break;case s.UDT:e.opData=g[r.index].name;break;case s.BKR:n=r.index<b.length?b[r.index].name:g[r.index-b.length].name,o=r.bkrCase===s.BKR_MODE_CI?"%i":"%s",i=r.bkrMode===s.BKR_MODE_UM?"%u":"%p",e.opData=`\\\\${o}${i}${n}`;break;case s.TLS:e.opData=[];for(let t=0;t<r.string.length;t+=1)e.opData.push(r.string[t]);break;case s.TBS:e.opData=[];for(let t=0;t<r.string.length;t+=1)e.opData.push(r.string[t]);break;case s.TRG:case s.REP:e.opData=[r.min,r.max];break;default:throw new Error("unrecognized opcode")}else e.op={id:undefined,name:undefined},e.opData=undefined}function r(e,t,r){return e===s.MATCH?{index:t,length:r}:e===s.NOMATCH||e===s.EMPTY?{index:t,length:0}:null}let o=-1;function i(n,s,i){const a={id:o++,branch:-1,parent:n,up:!1,down:!1,depth:i,children:[]};return s?(a.down=!0,a.state={id:s.state,name:t.stateToString(s.state)},a.phrase=null,e(a,s.opcode)):(a.state={id:undefined,name:undefined},a.phrase=r(),e(a,undefined)),a}function a(n,s){s&&(n.up=!0,n.state={id:s.state,name:t.stateToString(s.state)},n.phrase=r(s.state,s.phraseIndex,s.phraseLength),n.down||e(n,s.opcode))}let c=0,l=-1,d=1;const f=[];let m,y,w,k,x=!0;const _=i(null,null,-1);for(f.push(_),y=_,n.forEach(e=>{if(k=u[e],x&&(x=!1,k.depth>0)){const e=k.dirUp?k.depth+1:k.depth;for(let t=0;t<e;t+=1)w=y,y=i(y,null,t),f.push(y),w.children.push(y)}k.dirUp?(y=f.pop(),a(y,k),y=f[f.length-1]):(w=y,y=i(y,k,k.depth),f.push(y),w.children.push(y))});f.length>1;)y=f.pop(),a(y,null);if(0===_.children.length)throw new Error("trace.toTree(): parse tree has no nodes");if(0===f.length)throw new Error("trace.toTree(): integrity check: dummy root node disappeared?");m=_.children[0];let v=m;for(;m&&!m.down&&!m.up;)v=m,m=m.children[0];m=v,m.leftMost=!0,m.rightMost=!0,function e(t){if(l+=1,t.branch=d,l>h&&(h=l),0===t.children.length)c+=1;else for(let r=0;r<t.children.length;r+=1)r>0&&(d+=1),t.children[r].leftMost=!1,t.children[r].rightMost=!1,t.leftMost&&(t.children[r].leftMost=0===r),t.rightMost&&(t.children[r].rightMost=r===t.children.length-1),e(t.children[r]);l-=1}(m),m.branch=0;const S={string:[]};for(let e=0;e<p.length;e+=1)S.string[e]=p[e];S.rules=[];for(let e=0;e<b.length;e+=1)S.rules[e]=b[e].name;S.udts=[];for(let e=0;e<g.length;e+=1)S.udts[e]=g[e].name;let E;return S.id={},S.id.ALT={id:s.ALT,name:"ALT"},S.id.CAT={id:s.CAT,name:"CAT"},S.id.REP={id:s.REP,name:"REP"},S.id.RNM={id:s.RNM,name:"RNM"},S.id.TLS={id:s.TLS,name:"TLS"},S.id.TBS={id:s.TBS,name:"TBS"},S.id.TRG={id:s.TRG,name:"TRG"},S.id.UDT={id:s.UDT,name:"UDT"},S.id.AND={id:s.AND,name:"AND"},S.id.NOT={id:s.NOT,name:"NOT"},S.id.BKR={id:s.BKR,name:"BKR"},S.id.BKA={id:s.BKA,name:"BKA"},S.id.BKN={id:s.BKN,name:"BKN"},S.id.ABG={id:s.ABG,name:"ABG"},S.id.AEN={id:s.AEN,name:"AEN"},S.id.ACTIVE={id:s.ACTIVE,name:"ACTIVE"},S.id.MATCH={id:s.MATCH,name:"MATCH"},S.id.EMPTY={id:s.EMPTY,name:"EMPTY"},S.id.NOMATCH={id:s.NOMATCH,name:"NOMATCH"},S.treeDepth=h,S.leafNodes=c,E=m.down?m.up?"none":"right":m.up?"left":"both",S.branchesIncomplete=E,S.tree=function e(t,r){let n;const s={};if(s.id=t.id,s.branch=t.branch,s.leftMost=t.leftMost,s.rightMost=t.rightMost,n=t.state.name?t.state.name:"ACTIVE",s.state={id:t.state.id,name:n},n=t.op.name?t.op.name:"?",s.op={id:t.op.id,name:n},"string"==typeof t.opData)s.opData=t.opData;else if(Array.isArray(t.opData)){s.opData=[];for(let e=0;e<t.opData.length;e+=1)s.opData[e]=t.opData[e]}else s.opData=undefined;t.phrase?s.phrase={index:t.phrase.index,length:t.phrase.length}:s.phrase=null,s.depth=t.depth,s.children=[];for(let n=0;n<t.children.length;n+=1)t.children.length,s.children[n]=e(t.children[n],r);return s}(m,m.depth),S}();return e?JSON.stringify(r):r},this.toHtmlPage=function(e,r,n){return t.htmlToPage(this.toHtml(e,r),n)};this.indent=function(e){let t="";for(let r=0;r<e;r+=1)t+=".";return t};const E=function(e,r,n,s,o){if(0===s)return"";let i="";const c=o?",":"";switch(e){case a:i=c+t.charsToHex(r,n,s);break;case 10:if(o)return`,${t.charsToDec(r,n,s)}`;i=c+t.charsToDec(r,n,s);break;case 32:i=t.charsToUnicode(r,n,s);break;default:i=t.charsToAsciiHtml(r,n,s)}return i},A=function(e,t,n,o,i,a){let u,l,d,f,h="",m=k;const p=`<span class="${r.CLASS_REMAINDER}">`,b="</span>";let g=!1;switch(n){case s.EMPTY:h+=_;case s.NOMATCH:case s.ACTIVE:u=o,l=0,d=o,f=t.length-d;break;case s.MATCH:u=o,l=i,d=o+l,f=t.length-d;break;default:throw new Error("unrecognized state")}return m=k,l>c?(l=c,m=x,f=0):l+f>c&&(m=x,f=c-l),l>0&&(h+=a,h+=E(e,t,u,l,g),h+=b,g=!0),f>0&&(h+=p,h+=E(e,t,d,f,g),h+=b),h+m},j=function(e){if(null===b)return"";let o,l,d,f,h,m,y="";return y+="<tr><th>(a)</th><th>(b)</th><th>(c)</th><th>(d)</th><th>(e)</th><th>(f)</th>",y+="<th>operator</th><th>phrase</th></tr>\n",n.forEach(n=>{const w=u[n];switch(o=w.thisLine,l=w.thatLine!==undefined?w.thatLine:"--",d=!1,f=!1,h=!1,w.lookAround===s.LOOKAROUND_AHEAD&&(d=!0,h=!0,m=w.lookAnchor),w.opcode.type!==s.AND&&w.opcode.type!==s.NOT||(d=!0,h=!0,m=w.phraseIndex),w.lookAround===s.LOOKAROUND_BEHIND&&(f=!0,h=!0,m=w.lookAnchor),w.opcode.type!==s.BKA&&w.opcode.type!==s.BKN||(f=!0,h=!0,m=w.phraseIndex),y+="<tr>",y+=`<td>${o}</td><td>${l}</td>`,y+=`<td>${w.phraseIndex}</td>`,y+=`<td>${w.phraseLength}</td>`,y+=`<td>${w.depth}</td>`,y+="<td>",w.state){case s.ACTIVE:y+=`<span class="${r.CLASS_ACTIVE}">&darr;&nbsp;</span>`;break;case s.MATCH:y+=`<span class="${r.CLASS_MATCH}">&uarr;M</span>`;break;case s.NOMATCH:y+=`<span class="${r.CLASS_NOMATCH}">&uarr;N</span>`;break;case s.EMPTY:y+=`<span class="${r.CLASS_EMPTY}">&uarr;E</span>`;break;default:y+=`<span class="${r.CLASS_ACTIVE}">--</span>`}if(y+="</td>",y+="<td>",y+=i.indent(w.depth),d?y+=`<span class="${r.CLASS_LOOKAHEAD}">`:f&&(y+=`<span class="${r.CLASS_LOOKBEHIND}">`),y+=t.opcodeToString(w.opcode.type),w.opcode.type===s.RNM&&(y+=`(${b[w.opcode.index].name}) `),w.opcode.type===s.BKR){const e=w.opcode.bkrCase===s.BKR_MODE_CI?"%i":"%s",t=w.opcode.bkrMode===s.BKR_MODE_UM?"%u":"%p";y+=`(\\${e}${t}${b[w.opcode.index].name}) `}w.opcode.type===s.UDT&&(y+=`(${g[w.opcode.index].name}) `),w.opcode.type===s.TRG&&(y+=`(${function(e,t){let r="";if(t.type===s.TRG)if(e===a||32===e){let n=t.min.toString(16).toUpperCase();n.length%2!=0&&(n=`0${n}`),r+=e===a?"%x":"U+",r+=n,n=t.max.toString(16).toUpperCase(),n.length%2!=0&&(n=`0${n}`),r+=`&ndash;${n}`}else r=`%d${t.min.toString(10)}&ndash;${t.max.toString(10)}`;return r}(e,w.opcode)}) `),w.opcode.type===s.TBS&&(y+=`(${function(e,t){let r="";if(t.type===s.TBS){const n=Math.min(t.string.length,10);if(e===a||32===e){r+=e===a?"%x":"U+";for(let e=0;e<n;e+=1){let n;e>0&&(r+="."),n=t.string[e].toString(16).toUpperCase(),n.length%2!=0&&(n=`0${n}`),r+=n}}else{r="%d";for(let e=0;e<n;e+=1)e>0&&(r+="."),r+=t.string[e].toString(10)}n<t.string.length&&(r+=x)}return r}(e,w.opcode)}) `),w.opcode.type===s.TLS&&(y+=`(${function(e,r){let n="";if(r.type===s.TLS){const s=Math.min(r.string.length,5);if(e===a||10===e){let t,o,i;e===a?(n="%x",i=16):(n="%d",i=10);for(let e=0;e<s;e+=1)e>0&&(n+="."),o=r.string[e],o>=97&&o<=122?(t=o-32,n+=`${t.toString(i)}/${o.toString(i)}`.toUpperCase()):o>=65&&o<=90?(t=o,o+=32,n+=`${t.toString(i)}/${o.toString(i)}`.toUpperCase()):n+=o.toString(i).toUpperCase();s<r.string.length&&(n+=x)}else{n='"';for(let e=0;e<s;e+=1)n+=t.asciiChars[r.string[e]];s<r.string.length&&(n+=x),n+='"'}}return n}(e,w.opcode)}) `),w.opcode.type===s.REP&&(y+=`(${function(e,t){let r="";if(t.type===s.REP)if(e===a){let e=t.min.toString(16).toUpperCase();e.length%2!=0&&(e=`0${e}`),r=`x${e}`,t.max<Infinity?(e=t.max.toString(16).toUpperCase(),e.length%2!=0&&(e=`0${e}`)):e="inf",r+=`&ndash;${e}`}else r=t.max<Infinity?`${t.min.toString(10)}&ndash;${t.max.toString(10)}`:`${t.min.toString(10)}&ndash;inf`;return r}(e,w.opcode)}) `),h&&(y+="</span>"),y+="</td>",y+="<td>",y+=f?function(e,t,n,o,i,a){let u,l,d,f,h="",m=k;const p=`<span class="${r.CLASS_LOOKBEHIND}">`,b=`<span class="${r.CLASS_REMAINDER}">`,g="</span>";let y=!1;switch(n){case s.EMPTY:h+=_;case s.NOMATCH:case s.MATCH:case s.ACTIVE:u=o-i,l=a-u,d=a,f=t.length-d;break;default:throw new Error("unrecognized state")}return m=k,l>c?(l=c,m=x,f=0):l+f>c&&(m=x,f=c-l),l>0&&(h+=p,h+=E(e,t,u,l,y),h+=g,y=!0),f>0&&(h+=b,h+=E(e,t,d,f,y),h+=g),h+m}(e,p,w.state,w.phraseIndex,w.phraseLength,m):d?function(e,t,n,s,o){const i=`<span class="${r.CLASS_LOOKAHEAD}">`;return A(e,t,n,s,o,i)}(e,p,w.state,w.phraseIndex,w.phraseLength):function(e,t,n,s,o){const i=`<span class="${r.CLASS_MATCH}">`;return A(e,t,n,s,o,i)}(e,p,w.state,w.phraseIndex,w.phraseLength),y+="</td></tr>\n"}),y+="<tr><th>(a)</th><th>(b)</th><th>(c)</th><th>(d)</th><th>(e)</th><th>(f)</th>",y+="<th>operator</th><th>phrase</th></tr>\n",y+="</table>\n",y};this.toHtml=function(e,t){let n=8;if("string"==typeof e&&e.length>=3){const t=e.toLowerCase().slice(0,3);"hex"===t?n=a:"dec"===t?n=10:"uni"===t&&(n=32)}let s="";return s+=function(e,t){let n;switch(e){case a:n="hexadecimal";break;case 10:n="decimal";break;case 8:n="ASCII";break;case 32:n="UNICODE";break;default:throw new Error(`${o}htmlHeader: unrecognized mode: ${e}`)}let s="";return s+=`<p>display mode: ${n}</p>\n`,s+=`<table class="${r.CLASS_TRACE}">\n`,"string"==typeof t&&(s+=`<caption>${t}</caption>`),s}(n,t),s+=j(n),s+=function(){let e="";return e+="</table>\n",e+=`<p class="${r.CLASS_MONOSPACE}">legend:<br>\n`,e+="(a)&nbsp;-&nbsp;line number<br>\n",e+="(b)&nbsp;-&nbsp;matching line number<br>\n",e+="(c)&nbsp;-&nbsp;phrase offset<br>\n",e+="(d)&nbsp;-&nbsp;phrase length<br>\n",e+="(e)&nbsp;-&nbsp;tree depth<br>\n",e+="(f)&nbsp;-&nbsp;operator state<br>\n",e+=`&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<span class="${r.CLASS_ACTIVE}">&darr;</span>&nbsp;&nbsp;phrase opened<br>\n`,e+=`&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<span class="${r.CLASS_MATCH}">&uarr;M</span> phrase matched<br>\n`,e+=`&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<span class="${r.CLASS_EMPTY}">&uarr;E</span> empty phrase matched<br>\n`,e+=`&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<span class="${r.CLASS_NOMATCH}">&uarr;N</span> phrase not matched<br>\n`,e+="operator&nbsp;-&nbsp;ALT, CAT, REP, RNM, TRG, TLS, TBS<sup>&dagger;</sup>, UDT, AND, NOT, BKA, BKN, BKR, ABG, AEN<sup>&Dagger;</sup><br>\n",e+="phrase&nbsp;&nbsp;&nbsp;-&nbsp;up to 80 characters of the phrase being matched<br>\n",e+=`&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<span class="${r.CLASS_MATCH}">matched characters</span><br>\n`,e+=`&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<span class="${r.CLASS_LOOKAHEAD}">matched characters in look ahead mode</span><br>\n`,e+=`&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<span class="${r.CLASS_LOOKBEHIND}">matched characters in look behind mode</span><br>\n`,e+=`&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<span class="${r.CLASS_REMAINDER}">remainder characters(not yet examined by parser)</span><br>\n`,e+=`&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<span class="${r.CLASS_CTRLCHAR}">control characters, TAB, LF, CR, etc. (ASCII mode only)</span><br>\n`,e+=`&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;${_} empty string<br>\n`,e+=`&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;${k} end of input string<br>\n`,e+=`&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;${x} input string display truncated<br>\n`,e+="</p>\n",e+=`<p class="${r.CLASS_MONOSPACE}">\n`,e+="<sup>&dagger;</sup>original ABNF operators:<br>\n",e+="ALT - alternation<br>\n",e+="CAT - concatenation<br>\n",e+="REP - repetition<br>\n",e+="RNM - rule name<br>\n",e+="TRG - terminal range<br>\n",e+="TLS - terminal literal string (case insensitive)<br>\n",e+="TBS - terminal binary string (case sensitive)<br>\n",e+="<br>\n",e+="<sup>&Dagger;</sup>super set SABNF operators:<br>\n",e+="UDT - user-defined terminal<br>\n",e+="AND - positive look ahead<br>\n",e+="NOT - negative look ahead<br>\n",e+="BKA - positive look behind<br>\n",e+="BKN - negative look behind<br>\n",e+="BKR - back reference<br>\n",e+="ABG - anchor - begin of input string<br>\n",e+="AEN - anchor - end of input string<br>\n",e+="</p>\n",e}(),s}}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-lib/trace.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/utilities.js",{"../apg-conv-api/converter":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-conv-api/converter.js","./emitcss":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/emitcss.js","./identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/identifiers.js","./style":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/style.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./style"),s=e("../apg-conv-api/converter"),o=e("./emitcss"),i=e("./identifiers"),a="utilities.js: ",c=function(e,t,r){let n,s=t;for(;;){if(e<=0){s=0,n=0;break}if("number"!=typeof s){s=0,n=e;break}if(s>=e){s=e,n=e;break}if("number"!=typeof r){n=e;break}if(n=s+r,n>e){n=e;break}break}return{beg:s,end:n}};function u(e){return!(e>=55296&&e<=57343)&&!(e>1114111)}r.htmlToPage=function(e,t){let r;if("string"!=typeof e)throw new Error(`${a}htmlToPage: input HTML is not a string`);r="string"!=typeof t?"htmlToPage":t;let n="";return n+="<!DOCTYPE html>\n",n+='<html lang="en">\n',n+="<head>\n",n+='<meta charset="utf-8">\n',n+=`<title>${r}</title>\n`,n+="<style>\n",n+=o(),n+="</style>\n",n+="</head>\n<body>\n",n+=`<p>${new Date}</p>\n`,n+=e,n+="</body>\n</html>\n",n},r.parserResultToHtml=function(e,t){let r,s,o=null;"string"==typeof t&&""!==t&&(o=t),r=!0===e.success?`<span class="${n.CLASS_MATCH}">true</span>`:`<span class="${n.CLASS_NOMATCH}">false</span>`,s=e.state===i.EMPTY?`<span class="${n.CLASS_EMPTY}">EMPTY</span>`:e.state===i.MATCH?`<span class="${n.CLASS_MATCH}">MATCH</span>`:e.state===i.NOMATCH?`<span class="${n.CLASS_NOMATCH}">NOMATCH</span>`:`<span class="${n.CLASS_NOMATCH}">unrecognized</span>`;let a="";return a+=`<table class="${n.CLASS_STATE}">\n`,o&&(a+=`<caption>${o}</caption>\n`),a+="<tr><th>state item</th><th>value</th><th>description</th></tr>\n",a+=`<tr><td>parser success</td><td>${r}</td>\n`,a+=`<td><span class="${n.CLASS_MATCH}">true</span> if the parse succeeded,\n`,a+=` <span class="${n.CLASS_NOMATCH}">false</span> otherwise`,a+="<br><i>NOTE: for success, entire string must be matched</i></td></tr>\n",a+=`<tr><td>parser state</td><td>${s}</td>\n`,a+=`<td><span class="${n.CLASS_EMPTY}">EMPTY</span>, `,a+=`<span class="${n.CLASS_MATCH}">MATCH</span> or \n`,a+=`<span class="${n.CLASS_NOMATCH}">NOMATCH</span></td></tr>\n`,a+=`<tr><td>string length</td><td>${e.length}</td><td>length of the input (sub)string</td></tr>\n`,a+=`<tr><td>matched length</td><td>${e.matched}</td><td>number of input string characters matched</td></tr>\n`,a+=`<tr><td>max matched</td><td>${e.maxMatched}</td><td>maximum number of input string characters matched</td></tr>\n`,a+=`<tr><td>max tree depth</td><td>${e.maxTreeDepth}</td><td>maximum depth of the parse tree reached</td></tr>\n`,a+=`<tr><td>node hits</td><td>${e.nodeHits}</td><td>number of parse tree node hits (opcode function calls)</td></tr>\n`,a+=`<tr><td>input length</td><td>${e.inputLength}</td><td>length of full input string</td></tr>\n`,a+=`<tr><td>sub-string begin</td><td>${e.subBegin}</td><td>sub-string first character index</td></tr>\n`,a+=`<tr><td>sub-string end</td><td>${e.subEnd}</td><td>sub-string end-of-string index</td></tr>\n`,a+=`<tr><td>sub-string length</td><td>${e.subLength}</td><td>sub-string length</td></tr>\n`,a+="</table>\n",a},r.charsToString=function(e,t,r){let n,o;if("number"==typeof t){if(t>=e.length)return"";n=t<0?0:t}else n=0;if("number"==typeof r){if(r<=0)return"";o=r>e.length-n?e.length:n+r}else o=e.length;return n<o?s.encode("UTF16LE",e.slice(n,o)).toString("utf16le"):""},r.stringToChars=function(e){return s.decode("STRING",e)},r.opcodeToString=function(e){let t="unknown";switch(e){case i.ALT:t="ALT";break;case i.CAT:t="CAT";break;case i.RNM:t="RNM";break;case i.UDT:t="UDT";break;case i.AND:t="AND";break;case i.NOT:t="NOT";break;case i.REP:t="REP";break;case i.TRG:t="TRG";break;case i.TBS:t="TBS";break;case i.TLS:t="TLS";break;case i.BKR:t="BKR";break;case i.BKA:t="BKA";break;case i.BKN:t="BKN";break;case i.ABG:t="ABG";break;case i.AEN:t="AEN";break;default:throw new Error("unrecognized opcode")}return t},r.stateToString=function(e){let t="unknown";switch(e){case i.ACTIVE:t="ACTIVE";break;case i.MATCH:t="MATCH";break;case i.EMPTY:t="EMPTY";break;case i.NOMATCH:t="NOMATCH";break;default:throw new Error("unrecognized state")}return t},r.asciiChars=["NUL","SOH","STX","ETX","EOT","ENQ","ACK","BEL","BS","TAB","LF","VT","FF","CR","SO","SI","DLE","DC1","DC2","DC3","DC4","NAK","SYN","ETB","CAN","EM","SUB","ESC","FS","GS","RS","US","&nbsp;","!","&#34;","#","$","%","&#38;","&#39;","(",")","*","+",",","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&#60;","=","&#62;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","&#92;","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","DEL"],r.charToHex=function(e){let t=e.toString(16).toUpperCase();switch(t.length){case 1:case 3:case 7:t=`0${t}`;break;case 2:case 6:t=`00${t}`;break;case 4:break;case 5:t=`000${t}`;break;default:throw new Error("unrecognized option")}return t},r.charsToDec=function(e,t,r){let n="";if(!Array.isArray(e))throw new Error(`${a}charsToDec: input must be an array of integers`);const s=c(e.length,t,r);if(s.end>s.beg){n+=e[s.beg];for(let t=s.beg+1;t<s.end;t+=1)n+=`,${e[t]}`}return n},r.charsToHex=function(e,t,n){let s="";if(!Array.isArray(e))throw new Error(`${a}charsToHex: input must be an array of integers`);const o=c(e.length,t,n);if(o.end>o.beg){s+=`\\x${r.charToHex(e[o.beg])}`;for(let t=o.beg+1;t<o.end;t+=1)s+=`,\\x${r.charToHex(e[t])}`}return s},r.charsToHtmlEntities=function(e,t,r){let n="";if(!Array.isArray(e))throw new Error(`${a}charsToHex: input must be an array of integers`);const s=c(e.length,t,r);if(s.end>s.beg)for(let t=s.beg;t<s.end;t+=1)n+=`&#x${e[t].toString(16)};`;return n},r.charsToUnicode=function(e,t,n){let s="";if(!Array.isArray(e))throw new Error(`${a}charsToUnicode: input must be an array of integers`);const o=c(e.length,t,n);if(o.end>o.beg)for(let t=o.beg;t<o.end;t+=1)u(e[t])?s+=`&#${e[t]};`:s+=` U+${r.charToHex(e[t])}`;return s},r.charsToJsUnicode=function(e,t,n){let s="";if(!Array.isArray(e))throw new Error(`${a}charsToJsUnicode: input must be an array of integers`);const o=c(e.length,t,n);if(o.end>o.beg){s+=`\\u${r.charToHex(e[o.beg])}`;for(let t=o.beg+1;t<o.end;t+=1)s+=`,\\u${r.charToHex(e[t])}`}return s},r.charsToAscii=function(e,t,n){let s="";if(!Array.isArray(e))throw new Error(`${a}charsToAscii: input must be an array of integers`);const o=c(e.length,t,n);for(let t=o.beg;t<o.end;t+=1){const n=e[t];s+=n>=32&&n<=126?String.fromCharCode(n):`\\x${r.charToHex(n)}`}return s},r.charsToAsciiHtml=function(e,t,s){if(!Array.isArray(e))throw new Error(`${a}charsToAsciiHtml: input must be an array of integers`);let o,i="";const u=c(e.length,t,s);for(let t=u.beg;t<u.end;t+=1)o=e[t],i+=o<32||127===o?`<span class="${n.CLASS_CTRLCHAR}">${r.asciiChars[o]}</span>`:o>127?`<span class="${n.CLASS_CTRLCHAR}">U+${r.charToHex(o)}</span>`:r.asciiChars[o];return i},r.stringToAsciiHtml=function(e){const t=s.decode("STRING",e);return this.charsToAsciiHtml(t)}}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>apg-js",file:"node_modules/apg-js/src/apg-lib/utilities.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1.js",{"./asn1/api":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/api.js","./asn1/base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/base/index.js","./asn1/constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/constants/index.js","./asn1/decoders":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/decoders/index.js","./asn1/encoders":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/encoders/index.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=r;n.bignum=e("bn.js"),n.define=e("./asn1/api").define,n.base=e("./asn1/base"),n.constants=e("./asn1/constants"),n.decoders=e("./asn1/decoders"),n.encoders=e("./asn1/encoders")}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/api.js",{"../asn1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js",vm:"/home/runner/work/metamask-extension/metamask-extension/node_modules/vm-browserify/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../asn1"),s=e("inherits");function o(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}r.define=function(e,t){return new o(e,t)},o.prototype._createNamed=function(t){var r;try{r=e("vm").runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(e){r=function(e){this._initNamed(e)}}return s(r,t),r.prototype._initNamed=function(e){t.call(this,e)},new r(this)},o.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},o.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},o.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},o.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/api.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/base/buffer.js",{"../base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/base/index.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),s=e("../base").Reporter,o=e("buffer").Buffer;function i(e,t){s.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function a(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof a||(e=new a(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(i,s),r.DecoderBuffer=i,i.prototype.save=function(){return{offset:this.offset,reporter:s.prototype.save.call(this)}},i.prototype.restore=function(e){var t=new i(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,s.prototype.restore.call(this,e.reporter),t},i.prototype.isEmpty=function(){return this.offset===this.length},i.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},i.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new i(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},i.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},r.EncoderBuffer=a,a.prototype.join=function(e,t){return e||(e=new o(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/base/buffer.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/base/index.js",{"./buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/base/buffer.js","./node":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/base/node.js","./reporter":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/base/reporter.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=r;n.Reporter=e("./reporter").Reporter,n.DecoderBuffer=e("./buffer").DecoderBuffer,n.EncoderBuffer=e("./buffer").EncoderBuffer,n.Node=e("./node")}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/base/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/base/node.js",{"../base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/base/index.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("../base").Reporter,s=e("../base").EncoderBuffer,o=e("../base").DecoderBuffer,i=e("minimalistic-assert"),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function u(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}t.exports=u;var l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){var e=this._baseState,t={};l.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},u.prototype._wrap=function(){var e=this._baseState;c.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},u.prototype._init=function(e){var t=this._baseState;i(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),i.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(i(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(i(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r}),t}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(e){u.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),a.forEach(function(e){u.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return i(null===t.tag),t.tag=e,this._useArgs(r),this}}),u.prototype.use=function(e){i(e);var t=this._baseState;return i(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){var t=this._baseState;return i(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){var t=this._baseState;return i(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){var t=this._baseState;return i(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){var t=this._baseState;return i(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){var t=this._baseState;return i(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},u.prototype.contains=function(e){var t=this._baseState;return i(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n,s=r.default,i=!0,a=null;if(null!==r.key&&(a=e.enterKey(r.key)),r.optional){var c=null;if(null!==r.explicit?c=r.explicit:null!==r.implicit?c=r.implicit:null!==r.tag&&(c=r.tag),null!==c||r.any){if(i=this._peekTag(e,c,r.any),e.isError(i))return i}else{var u=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),i=!0}catch(e){i=!1}e.restore(u)}}if(r.obj&&i&&(n=e.enterObject()),i){if(null!==r.explicit){var l=this._decodeTag(e,r.explicit);if(e.isError(l))return l;e=l}var d=e.offset;if(null===r.use&&null===r.choice){if(r.any)u=e.save();var f=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(f))return f;r.any?s=e.raw(u):e=f}if(t&&t.track&&null!==r.tag&&t.track(e.path(),d,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),r.any||(s=null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t)),e.isError(s))return s;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(r){r._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var h=new o(s);s=this._getUse(r.contains,e._reporterState.obj)._decode(h,t)}}return r.obj&&i&&(s=e.leaveObject(n)),null===r.key||null===s&&!0!==i?null!==a&&e.exitKey(a):e.leaveKey(a,r.key,s),s},u.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),i(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},u.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,s=!1;return Object.keys(r.choice).some(function(o){var i=e.save(),a=r.choice[o];try{var c=a._decode(e,t);if(e.isError(c))return!1;n={type:o,value:c},s=!0}catch(t){return e.restore(i),!1}return!0},this),s?n:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new s(e,this.reporter)},u.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var s=this._encodeValue(e,t,r);if(s!==undefined&&!this._skipDefault(s,t,r))return s}},u.prototype._encodeValue=function(e,t,r){var s=this._baseState;if(null===s.parent)return s.children[0]._encode(e,t||new n);var o=null;if(this.reporter=t,s.optional&&e===undefined){if(null===s.default)return;e=s.default}var i=null,a=!1;if(s.any)o=this._createEncoderBuffer(e);else if(s.choice)o=this._encodeChoice(e,t);else if(s.contains)i=this._getUse(s.contains,r)._encode(e,t),a=!0;else if(s.children)i=s.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var s=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),s},this).filter(function(e){return e}),i=this._createEncoderBuffer(i);else if("seqof"===s.tag||"setof"===s.tag){if(!s.args||1!==s.args.length)return t.error("Too many args for : "+s.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,i=this._createEncoderBuffer(e.map(function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)},c))}else null!==s.use?o=this._getUse(s.use,r)._encode(e,t):(i=this._encodePrimitive(s.tag,e),a=!0);if(!s.any&&null===s.choice){var u=null!==s.implicit?s.implicit:s.tag,l=null===s.implicit?"universal":"context";null===u?null===s.use&&t.error("Tag could be omitted only for .use()"):null===s.use&&(o=this._encodeComposite(u,a,l,i))}return null!==s.explicit&&(o=this._encodeComposite(s.explicit,!1,"context",o)),o},u.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||i(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/base/node.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/base/reporter.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("inherits");function s(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}r.Reporter=s,s.prototype.isError=function(e){return e instanceof o},s.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},s.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},s.prototype.enterKey=function(e){return this._reporterState.path.push(e)},s.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},s.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},s.prototype.path=function(){return this._reporterState.path.join("/")},s.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},s.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},s.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof o;if(t=n?e:new o(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},s.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/base/reporter.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/constants/der.js",{"../constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/constants/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../constants");r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n._reverse(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=n._reverse(r.tag)}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/constants/der.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/constants/index.js",{"./der":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/constants/der.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=r;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r}),t},n.der=e("./der")}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/constants/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/decoders/der.js",{"../../asn1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1.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("inherits"),s=e("../../asn1"),o=s.base,i=s.bignum,a=s.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){o.Node.call(this,"der",e)}function l(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=a.tagClass[r>>6],s=!(32&r);if(31&~r)r&=31;else{var o=r;for(r=0;!(128&~o);){if(o=e.readUInt8(t),e.isError(o))return o;r<<=7,r|=127&o}}return{cls:n,primitive:s,tag:r,tagStr:a.tag[r]}}function d(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(!(128&n))return n;var s=127&n;if(s>4)return e.error("length octect is too long");n=0;for(var o=0;o<s;o++){n<<=8;var i=e.readUInt8(r);if(e.isError(i))return i;n|=i}return n}t.exports=c,c.prototype.decode=function(e,t){return e instanceof o.DecoderBuffer||(e=new o.DecoderBuffer(e,t)),this.tree._decode(e,t)},n(u,o.Node),u.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),s=l(e,'Failed to peek tag: "'+t+'"');return e.isError(s)?s:(e.restore(n),s.tag===t||s.tagStr===t||s.tagStr+"of"===t||r)},u.prototype._decodeTag=function(e,t,r){var n=l(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var s=d(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(s))return s;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==s)return e.skip(s,'Failed to match body of: "'+t+'"');var o=e.save(),i=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(i)?i:(s=e.offset-o.offset,e.restore(o),e.skip(s,'Failed to match body of: "'+t+'"'))},u.prototype._skipUntilEnd=function(e,t){for(;;){var r=l(e,t);if(e.isError(r))return r;var n,s=d(e,r.primitive,t);if(e.isError(s))return s;if(n=r.primitive||null!==s?e.skip(s):this._skipUntilEnd(e,t),e.isError(n))return n;if("end"===r.tagStr)break}},u.prototype._decodeList=function(e,t,r,n){for(var s=[];!e.isEmpty();){var o=this._peekTag(e,"end");if(e.isError(o))return o;var i=r.decode(e,"der",n);if(e.isError(i)&&o)break;s.push(i)}return s},u.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var s="",o=0;o<n.length/2;o++)s+=String.fromCharCode(n.readUInt16BE(2*o));return s}if("numstr"===t){var i=e.raw().toString("ascii");return this._isNumstr(i)?i:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var a=e.raw().toString("ascii");return this._isPrintstr(a)?a:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},u.prototype._decodeObjid=function(e,t,r){for(var n,s=[],o=0;!e.isEmpty();){var i=e.readUInt8();o<<=7,o|=127&i,128&i||(s.push(o),o=0)}128&i&&s.push(o);var a=s[0]/40|0,c=s[0]%40;if(n=r?s:[a,c].concat(s.slice(1)),t){var u=t[n.join(" ")];u===undefined&&(u=t[n.join(".")]),u!==undefined&&(n=u)}return n},u.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),s=0|r.slice(4,6),o=0|r.slice(6,8),i=0|r.slice(8,10),a=0|r.slice(10,12),c=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),s=0|r.slice(2,4),o=0|r.slice(4,6),i=0|r.slice(6,8),a=0|r.slice(8,10),c=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,s-1,o,i,a,c,0)},u.prototype._decodeNull=function(e){return null},u.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},u.prototype._decodeInt=function(e,t){var r=e.raw(),n=new i(r);return t&&(n=t[n.toString(10)]||n),n},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/decoders/der.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/decoders/index.js",{"./der":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/decoders/der.js","./pem":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/decoders/pem.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/decoders/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/decoders/pem.js",{"./der":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/decoders/der.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),s=e("buffer").Buffer,o=e("./der");function i(e){o.call(this,e),this.enc="pem"}n(i,o),t.exports=i,i.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),i=/^-----(BEGIN|END) ([^-]+)-----$/,a=-1,c=-1,u=0;u<r.length;u++){var l=r[u].match(i);if(null!==l&&l[2]===n){if(-1!==a){if("END"!==l[1])break;c=u;break}if("BEGIN"!==l[1])break;a=u}}if(-1===a||-1===c)throw new Error("PEM section not found for: "+n);var d=r.slice(a+1,c).join("");d.replace(/[^a-z0-9\+\/=]+/gi,"");var f=new s(d,"base64");return o.prototype.decode.call(this,f,t)}}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/decoders/pem.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/encoders/der.js",{"../../asn1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),s=e("buffer").Buffer,o=e("../../asn1"),i=o.base,a=o.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){i.Node.call(this,"der",e)}function l(e){return e<10?"0"+e:e}t.exports=c,c.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(u,i.Node),u.prototype._encodeComposite=function(e,t,r,n){var o,i=function(e,t,r,n){var s;"seqof"===e?e="seq":"setof"===e&&(e="set");if(a.tagByName.hasOwnProperty(e))s=a.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);s=e}if(s>=31)return n.error("Multi-octet tag encoding unsupported");t||(s|=32);return s|=a.tagClassByName[r||"universal"]<<6,s}(e,t,r,this.reporter);if(n.length<128)return(o=new s(2))[0]=i,o[1]=n.length,this._createEncoderBuffer([o,n]);for(var c=1,u=n.length;u>=256;u>>=8)c++;(o=new s(2+c))[0]=i,o[1]=128|c;u=1+c;for(var l=n.length;l>0;u--,l>>=8)o[u]=255&l;return this._createEncoderBuffer([o,n])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new s(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},u.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var n=0;n<e.length;n++)e[n]|=0}else if(Array.isArray(e)){e=e.slice();for(n=0;n<e.length;n++)e[n]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var o=0;for(n=0;n<e.length;n++){var i=e[n];for(o++;i>=128;i>>=7)o++}var a=new s(o),c=a.length-1;for(n=e.length-1;n>=0;n--){i=e[n];for(a[c--]=127&i;(i>>=7)>0;)a[c--]=128|127&i}return this._createEncoderBuffer(a)},u.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[l(n.getFullYear()),l(n.getUTCMonth()+1),l(n.getUTCDate()),l(n.getUTCHours()),l(n.getUTCMinutes()),l(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[l(n.getFullYear()%100),l(n.getUTCMonth()+1),l(n.getUTCDate()),l(n.getUTCHours()),l(n.getUTCMinutes()),l(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!s.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new s(r)}if(s.isBuffer(e)){var n=e.length;0===e.length&&n++;var o=new s(n);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var i=e;i>=256;i>>=8)n++;for(i=(o=new Array(n)).length-1;i>=0;i--)o[i]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new s(o))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,r){var n,s=this._baseState;if(null===s.default)return!1;var o=e.join();if(s.defaultBuffer===undefined&&(s.defaultBuffer=this._encodeValue(s.default,t,r).join()),o.length!==s.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==s.defaultBuffer[n])return!1;return!0}}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/encoders/der.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/encoders/index.js",{"./der":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/encoders/der.js","./pem":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/encoders/pem.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/encoders/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/encoders/pem.js",{"./der":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1/encoders/der.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("inherits"),s=e("./der");function o(e){s.call(this,e),this.enc="pem"}n(o,s),t.exports=o,o.prototype.encode=function(e,t){for(var r=s.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],o=0;o<r.length;o+=64)n.push(r.slice(o,o+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}}}},{package:"crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"node_modules/asn1.js/lib/asn1/encoders/pem.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/async-function/legacy.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;t.exports=function(){if(void 0===n)try{n=Function("return async function () {}")().constructor}catch(e){n=!1}return n}}}},{package:"string.prototype.matchall>get-intrinsic>async-function",file:"node_modules/async-function/legacy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/async-generator-function/legacy.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;t.exports=function(){if(void 0===n)try{n=Function("return async function* () {}")().constructor}catch(e){n=!1}return n}}}},{package:"string.prototype.matchall>get-intrinsic>async-generator-function",file:"node_modules/async-generator-function/legacy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/Mutex.js",{"./Semaphore":"/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/Semaphore.js",tslib:"/home/runner/work/metamask-extension/metamask-extension/node_modules/tslib/tslib.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("tslib"),s=e("./Semaphore"),o=function(){function e(e){this._semaphore=new s.default(1,e)}return e.prototype.acquire=function(){return n.__awaiter(this,arguments,void 0,function(e){var t;return void 0===e&&(e=0),n.__generator(this,function(r){switch(r.label){case 0:return[4,this._semaphore.acquire(1,e)];case 1:return t=r.sent(),[2,t[1]]}})})},e.prototype.runExclusive=function(e,t){return void 0===t&&(t=0),this._semaphore.runExclusive(function(){return e()},1,t)},e.prototype.isLocked=function(){return this._semaphore.isLocked()},e.prototype.waitForUnlock=function(e){return void 0===e&&(e=0),this._semaphore.waitForUnlock(1,e)},e.prototype.release=function(){this._semaphore.isLocked()&&this._semaphore.release()},e.prototype.cancel=function(){return this._semaphore.cancel()},e}();r.default=o}}},{package:"@metamask/eth-qr-keyring>async-mutex",file:"node_modules/async-mutex/lib/Mutex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/Semaphore.js",{"./errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/errors.js",tslib:"/home/runner/work/metamask-extension/metamask-extension/node_modules/tslib/tslib.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("tslib"),s=e("./errors"),o=function(){function e(e,t){void 0===t&&(t=s.E_CANCELED),this._value=e,this._cancelError=t,this._queue=[],this._weightedWaiters=[]}return e.prototype.acquire=function(e,t){var r=this;if(void 0===e&&(e=1),void 0===t&&(t=0),e<=0)throw new Error("invalid weight ".concat(e,": must be positive"));return new Promise(function(n,s){var o={resolve:n,reject:s,weight:e,priority:t},a=i(r._queue,function(e){return t<=e.priority});-1===a&&e<=r._value?r._dispatchItem(o):r._queue.splice(a+1,0,o)})},e.prototype.runExclusive=function(e){return n.__awaiter(this,arguments,void 0,function(e,t,r){var s,o,i;return void 0===t&&(t=1),void 0===r&&(r=0),n.__generator(this,function(n){switch(n.label){case 0:return[4,this.acquire(t,r)];case 1:s=n.sent(),o=s[0],i=s[1],n.label=2;case 2:return n.trys.push([2,,4,5]),[4,e(o)];case 3:return[2,n.sent()];case 4:return i(),[7];case 5:return[2]}})})},e.prototype.waitForUnlock=function(e,t){var r=this;if(void 0===e&&(e=1),void 0===t&&(t=0),e<=0)throw new Error("invalid weight ".concat(e,": must be positive"));return this._couldLockImmediately(e,t)?Promise.resolve():new Promise(function(n){var s,o,a;r._weightedWaiters[e-1]||(r._weightedWaiters[e-1]=[]),s=r._weightedWaiters[e-1],o={resolve:n,priority:t},a=i(s,function(e){return o.priority<=e.priority}),s.splice(a+1,0,o)})},e.prototype.isLocked=function(){return this._value<=0},e.prototype.getValue=function(){return this._value},e.prototype.setValue=function(e){this._value=e,this._dispatchQueue()},e.prototype.release=function(e){if(void 0===e&&(e=1),e<=0)throw new Error("invalid weight ".concat(e,": must be positive"));this._value+=e,this._dispatchQueue()},e.prototype.cancel=function(){var e=this;this._queue.forEach(function(t){return t.reject(e._cancelError)}),this._queue=[]},e.prototype._dispatchQueue=function(){for(this._drainUnlockWaiters();this._queue.length>0&&this._queue[0].weight<=this._value;)this._dispatchItem(this._queue.shift()),this._drainUnlockWaiters()},e.prototype._dispatchItem=function(e){var t=this._value;this._value-=e.weight,e.resolve([t,this._newReleaser(e.weight)])},e.prototype._newReleaser=function(e){var t=this,r=!1;return function(){r||(r=!0,t.release(e))}},e.prototype._drainUnlockWaiters=function(){if(0===this._queue.length)for(var e=this._value;e>0;e--){(r=this._weightedWaiters[e-1])&&(r.forEach(function(e){return e.resolve()}),this._weightedWaiters[e-1]=[])}else{var t=this._queue[0].priority;for(e=this._value;e>0;e--){var r;if(r=this._weightedWaiters[e-1]){var n=r.findIndex(function(e){return e.priority<=t});(-1===n?r:r.splice(0,n)).forEach(function(e){return e.resolve()})}}}},e.prototype._couldLockImmediately=function(e,t){return(0===this._queue.length||this._queue[0].priority<t)&&e<=this._value},e}();function i(e,t){for(var r=e.length-1;r>=0;r--)if(t(e[r]))return r;return-1}r.default=o}}},{package:"@metamask/eth-qr-keyring>async-mutex",file:"node_modules/async-mutex/lib/Semaphore.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/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.E_CANCELED=r.E_ALREADY_LOCKED=r.E_TIMEOUT=void 0,r.E_TIMEOUT=new Error("timeout while waiting for mutex to become available"),r.E_ALREADY_LOCKED=new Error("mutex already locked"),r.E_CANCELED=new Error("request for lock canceled")}}},{package:"@metamask/eth-qr-keyring>async-mutex",file:"node_modules/async-mutex/lib/errors.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/index.js",{"./Mutex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/Mutex.js","./Semaphore":"/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/Semaphore.js","./errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/errors.js","./tryAcquire":"/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/tryAcquire.js","./withTimeout":"/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/withTimeout.js",tslib:"/home/runner/work/metamask-extension/metamask-extension/node_modules/tslib/tslib.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.tryAcquire=r.withTimeout=r.Semaphore=r.Mutex=void 0;var n=e("tslib"),s=e("./Mutex");Object.defineProperty(r,"Mutex",{enumerable:!0,get:function(){return s.default}});var o=e("./Semaphore");Object.defineProperty(r,"Semaphore",{enumerable:!0,get:function(){return o.default}});var i=e("./withTimeout");Object.defineProperty(r,"withTimeout",{enumerable:!0,get:function(){return i.withTimeout}});var a=e("./tryAcquire");Object.defineProperty(r,"tryAcquire",{enumerable:!0,get:function(){return a.tryAcquire}}),n.__exportStar(e("./errors"),r)}}},{package:"@metamask/eth-qr-keyring>async-mutex",file:"node_modules/async-mutex/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/tryAcquire.js",{"./errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/errors.js","./withTimeout":"/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/withTimeout.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.tryAcquire=void 0;var n=e("./errors"),s=e("./withTimeout");r.tryAcquire=function(e,t){return void 0===t&&(t=n.E_ALREADY_LOCKED),(0,s.withTimeout)(e,0,t)}}}},{package:"@metamask/eth-qr-keyring>async-mutex",file:"node_modules/async-mutex/lib/tryAcquire.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/withTimeout.js",{"./errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/async-mutex/lib/errors.js",tslib:"/home/runner/work/metamask-extension/metamask-extension/node_modules/tslib/tslib.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.withTimeout=void 0;var n=e("tslib"),s=e("./errors");function o(e){return e.getValue!==undefined}r.withTimeout=function(e,t,r){var i=this;return void 0===r&&(r=s.E_TIMEOUT),{acquire:function(s,a){var c;if(o(e)?c=s:(c=undefined,a=s),c!==undefined&&c<=0)throw new Error("invalid weight ".concat(c,": must be positive"));return new Promise(function(s,u){return n.__awaiter(i,void 0,void 0,function(){var i,l,d,f;return n.__generator(this,function(n){switch(n.label){case 0:i=!1,l=setTimeout(function(){i=!0,u(r)},t),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,o(e)?e.acquire(c,a):e.acquire(a)];case 2:return d=n.sent(),i?(Array.isArray(d)?d[1]:d)():(clearTimeout(l),s(d)),[3,4];case 3:return f=n.sent(),i||(clearTimeout(l),u(f)),[3,4];case 4:return[2]}})})})},runExclusive:function(e,t,r){return n.__awaiter(this,void 0,void 0,function(){var s,o;return n.__generator(this,function(n){switch(n.label){case 0:s=function(){return undefined},n.label=1;case 1:return n.trys.push([1,,7,8]),[4,this.acquire(t,r)];case 2:return o=n.sent(),Array.isArray(o)?(s=o[1],[4,e(o[0])]):[3,4];case 3:return[2,n.sent()];case 4:return s=o,[4,e()];case 5:return[2,n.sent()];case 6:return[3,8];case 7:return s(),[7];case 8:return[2]}})})},release:function(t){e.release(t)},cancel:function(){return e.cancel()},waitForUnlock:function(n,s){var i;if(o(e)?i=n:(i=undefined,s=n),i!==undefined&&i<=0)throw new Error("invalid weight ".concat(i,": must be positive"));return new Promise(function(n,a){var c=setTimeout(function(){return a(r)},t);(o(e)?e.waitForUnlock(i,s):e.waitForUnlock(s)).then(function(){clearTimeout(c),n()})})},isLocked:function(){return e.isLocked()},getValue:function(){return e.getValue()},setValue:function(t){return e.setValue(t)}}}}}},{package:"@metamask/eth-qr-keyring>async-mutex",file:"node_modules/async-mutex/lib/withTimeout.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/available-typed-arrays/index.js",{"possible-typed-array-names":"/home/runner/work/metamask-extension/metamask-extension/node_modules/possible-typed-array-names/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("possible-typed-array-names"),s="undefined"==typeof globalThis?global:globalThis;t.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof s[n[t]]&&(e[e.length]=n[t]);return e}}}},{package:"string.prototype.matchall>es-abstract>available-typed-arrays",file:"node_modules/available-typed-arrays/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/base-x/src/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;t.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r<t.length;r++)t[r]=255;for(var s=0;s<e.length;s++){var o=e.charAt(s),i=o.charCodeAt(0);if(255!==t[i])throw new TypeError(o+" is ambiguous");t[i]=s}var a=e.length,c=e.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function d(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return n.alloc(0);for(var r=0,s=0,o=0;e[r]===c;)s++,r++;for(var i=(e.length-r)*u+1>>>0,l=new Uint8Array(i);r<e.length;){var d=e.charCodeAt(r);if(d>255)return;var f=t[d];if(255===f)return;for(var h=0,m=i-1;(0!==f||h<o)&&-1!==m;m--,h++)f+=a*l[m]>>>0,l[m]=f%256>>>0,f=f/256>>>0;if(0!==f)throw new Error("Non-zero carry");o=h,r++}for(var p=i-o;p!==i&&0===l[p];)p++;var b=n.allocUnsafe(s+(i-p));b.fill(0,0,s);for(var g=s;p!==i;)b[g++]=l[p++];return b}return{encode:function(t){if((Array.isArray(t)||t instanceof Uint8Array)&&(t=n.from(t)),!n.isBuffer(t))throw new TypeError("Expected Buffer");if(0===t.length)return"";for(var r=0,s=0,o=0,i=t.length;o!==i&&0===t[o];)o++,r++;for(var u=(i-o)*l+1>>>0,d=new Uint8Array(u);o!==i;){for(var f=t[o],h=0,m=u-1;(0!==f||h<s)&&-1!==m;m--,h++)f+=256*d[m]>>>0,d[m]=f%a>>>0,f=f/a>>>0;if(0!==f)throw new Error("Non-zero carry");s=h,o++}for(var p=u-s;p!==u&&0===d[p];)p++;for(var b=c.repeat(r);p<u;++p)b+=e.charAt(d[p]);return b},decodeUnsafe:d,decode:function(e){var t=d(e);if(t)return t;throw new Error("Non-base"+a+" character")}}}}}},{package:"@ensdomains/content-hash>multihashes>multibase>base-x",file:"node_modules/base-x/src/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/base64-js/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.byteLength=function(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n},r.toByteArray=function(e){var t,r,n=c(e),i=n[0],a=n[1],u=new o(function(e,t,r){return 3*(t+r)/4-r}(0,i,a)),l=0,d=a>0?i-4:i;for(r=0;r<d;r+=4)t=s[e.charCodeAt(r)]<<18|s[e.charCodeAt(r+1)]<<12|s[e.charCodeAt(r+2)]<<6|s[e.charCodeAt(r+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;2===a&&(t=s[e.charCodeAt(r)]<<2|s[e.charCodeAt(r+1)]>>4,u[l++]=255&t);1===a&&(t=s[e.charCodeAt(r)]<<10|s[e.charCodeAt(r+1)]<<4|s[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t);return u},r.fromByteArray=function(e){for(var t,r=e.length,s=r%3,o=[],i=16383,a=0,c=r-s;a<c;a+=i)o.push(l(e,a,a+i>c?c:a+i));1===s?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===s&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],s=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=i[a],s[i.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function u(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function l(e,t,r){for(var n,s=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),s.push(u(n));return s.join("")}s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63}}},{package:"base64-js",file:"node_modules/base64-js/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/bignumber.js/bignumber.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e){var r,n=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,s=Math.ceil,o=Math.floor,i=" not a boolean or binary digit",a="rounding mode",c="number type has more than 15 significant digits",u="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",l=1e14,d=14,f=9007199254740991,h=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],m=1e7,p=1e9;function b(e){var t=0|e;return e>0||e===t?t:t-1}function g(e){for(var t,r,n=1,s=e.length,o=e[0]+"";n<s;){for(t=e[n++]+"",r=d-t.length;r--;t="0"+t);o+=t}for(s=o.length;48===o.charCodeAt(--s););return o.slice(0,s+1||1)}function y(e,t){var r,n,s=e.c,o=t.c,i=e.s,a=t.s,c=e.e,u=t.e;if(!i||!a)return null;if(r=s&&!s[0],n=o&&!o[0],r||n)return r?n?0:-a:i;if(i!=a)return i;if(r=i<0,n=c==u,!s||!o)return n?0:!s^r?1:-1;if(!n)return c>u^r?1:-1;for(a=(c=s.length)<(u=o.length)?c:u,i=0;i<a;i++)if(s[i]!=o[i])return s[i]>o[i]^r?1:-1;return c==u?0:c>u^r?1:-1}function w(e,t,r){return(e=S(e))>=t&&e<=r}function k(e){return"[object Array]"==Object.prototype.toString.call(e)}function x(e,t,r){for(var n,s,o=[0],i=0,a=e.length;i<a;){for(s=o.length;s--;o[s]*=t);for(o[n=0]+=u.indexOf(e.charAt(i++));n<o.length;n++)o[n]>r-1&&(null==o[n+1]&&(o[n+1]=0),o[n+1]+=o[n]/r|0,o[n]%=r)}return o.reverse()}function _(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function v(e,t){var r,n;if(t<0){for(n="0.";++t;n+="0");e=n+e}else if(++t>(r=e.length)){for(n="0",t-=r;--t;n+="0");e+=n}else t<r&&(e=e.slice(0,t)+"."+e.slice(t));return e}function S(e){return(e=parseFloat(e))<0?s(e):o(e)}r=function e(t){var r,E,A,j,T,B,M,O,C,L=0,R=W.prototype,I=new W(1),N=20,P=4,D=-7,F=21,U=-1e7,$=1e7,H=!0,z=J,K=!1,q=1,G=0,V={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:" ",fractionGroupSize:0};function W(e,t){var r,s,i,a,l,h,m=this;if(!(m instanceof W))return H&&ee(26,"constructor call without new",e),new W(e,t);if(null!=t&&z(t,2,64,L,"base")){if(h=e+"",10==(t|=0))return te(m=new W(e instanceof W?e:h),N+m.e+1,P);if((a="number"==typeof e)&&0*e!=0||!new RegExp("^-?"+(r="["+u.slice(0,t)+"]+")+"(?:\\."+r+")?$",t<37?"i":"").test(h))return E(m,h,a,t);a?(m.s=1/e<0?(h=h.slice(1),-1):1,H&&h.replace(/^0\.0*|\./,"").length>15&&ee(L,c,e),a=!1):m.s=45===h.charCodeAt(0)?(h=h.slice(1),-1):1,h=Z(h,10,t,m.s)}else{if(e instanceof W)return m.s=e.s,m.e=e.e,m.c=(e=e.c)?e.slice():e,void(L=0);if((a="number"==typeof e)&&0*e==0){if(m.s=1/e<0?(e=-e,-1):1,e===~~e){for(s=0,i=e;i>=10;i/=10,s++);return m.e=s,m.c=[e],void(L=0)}h=e+""}else{if(!n.test(h=e+""))return E(m,h,a);m.s=45===h.charCodeAt(0)?(h=h.slice(1),-1):1}}for((s=h.indexOf("."))>-1&&(h=h.replace(".","")),(i=h.search(/e/i))>0?(s<0&&(s=i),s+=+h.slice(i+1),h=h.substring(0,i)):s<0&&(s=h.length),i=0;48===h.charCodeAt(i);i++);for(l=h.length;48===h.charCodeAt(--l););if(h=h.slice(i,l+1))if(l=h.length,a&&H&&l>15&&(e>f||e!==o(e))&&ee(L,c,m.s*e),(s=s-i-1)>$)m.c=m.e=null;else if(s<U)m.c=[m.e=0];else{if(m.e=s,m.c=[],i=(s+1)%d,s<0&&(i+=d),i<l){for(i&&m.c.push(+h.slice(0,i)),l-=d;i<l;)m.c.push(+h.slice(i,i+=d));h=h.slice(i),i=d-h.length}else i-=l;for(;i--;h+="0");m.c.push(+h)}else m.c=[m.e=0];L=0}function Z(e,t,n,s){var o,i,a,c,l,d,f,h=e.indexOf("."),m=N,p=P;for(n<37&&(e=e.toLowerCase()),h>=0&&(a=G,G=0,e=e.replace(".",""),l=(f=new W(n)).pow(e.length-h),G=a,f.c=x(v(g(l.c),l.e),10,t),f.e=f.c.length),i=a=(d=x(e,n,t)).length;0==d[--a];d.pop());if(!d[0])return"0";if(h<0?--i:(l.c=d,l.e=i,l.s=s,d=(l=r(l,f,m,p,t)).c,c=l.r,i=l.e),h=d[o=i+m+1],a=t/2,c=c||o<0||null!=d[o+1],c=p<4?(null!=h||c)&&(0==p||p==(l.s<0?3:2)):h>a||h==a&&(4==p||c||6==p&&1&d[o-1]||p==(l.s<0?8:7)),o<1||!d[0])e=c?v("1",-m):"0";else{if(d.length=o,c)for(--t;++d[--o]>t;)d[o]=0,o||(++i,d=[1].concat(d));for(a=d.length;!d[--a];);for(h=0,e="";h<=a;e+=u.charAt(d[h++]));e=v(e,i)}return e}function Y(e,t,r,n){var s,o,i,c,u;if(r=null!=r&&z(r,0,8,n,a)?0|r:P,!e.c)return e.toString();if(s=e.c[0],i=e.e,null==t)u=g(e.c),u=19==n||24==n&&i<=D?_(u,i):v(u,i);else if(o=(e=te(new W(e),t,r)).e,c=(u=g(e.c)).length,19==n||24==n&&(t<=o||o<=D)){for(;c<t;u+="0",c++);u=_(u,o)}else if(t-=i,u=v(u,o),o+1>c){if(--t>0)for(u+=".";t--;u+="0");}else if((t+=o-c)>0)for(o+1==c&&(u+=".");t--;u+="0");return e.s<0&&s?"-"+u:u}function X(e,t){var r,n,s=0;for(k(e[0])&&(e=e[0]),r=new W(e[0]);++s<e.length;){if(!(n=new W(e[s])).s){r=n;break}t.call(r,n)&&(r=n)}return r}function J(e,t,r,n,s){return(e<t||e>r||e!=S(e))&&ee(n,(s||"decimal places")+(e<t||e>r?" out of range":" not an integer"),e),!0}function Q(e,t,r){for(var n=1,s=t.length;!t[--s];t.pop());for(s=t[0];s>=10;s/=10,n++);return(r=n+r*d-1)>$?e.c=e.e=null:r<U?e.c=[e.e=0]:(e.e=r,e.c=t),e}function ee(e,t,r){var n=new Error(["new BigNumber","cmp","config","div","divToInt","eq","gt","gte","lt","lte","minus","mod","plus","precision","random","round","shift","times","toDigits","toExponential","toFixed","toFormat","toFraction","pow","toPrecision","toString","BigNumber"][e]+"() "+t+": "+r);throw n.name="BigNumber Error",L=0,n}function te(e,t,r,n){var i,a,c,u,f,m,p,b=e.c,g=h;if(b){e:{for(i=1,u=b[0];u>=10;u/=10,i++);if((a=t-i)<0)a+=d,c=t,p=(f=b[m=0])/g[i-c-1]%10|0;else if((m=s((a+1)/d))>=b.length){if(!n)break e;for(;b.length<=m;b.push(0));f=p=0,i=1,c=(a%=d)-d+1}else{for(f=u=b[m],i=1;u>=10;u/=10,i++);p=(c=(a%=d)-d+i)<0?0:f/g[i-c-1]%10|0}if(n=n||t<0||null!=b[m+1]||(c<0?f:f%g[i-c-1]),n=r<4?(p||n)&&(0==r||r==(e.s<0?3:2)):p>5||5==p&&(4==r||n||6==r&&(a>0?c>0?f/g[i-c]:0:b[m-1])%10&1||r==(e.s<0?8:7)),t<1||!b[0])return b.length=0,n?(t-=e.e+1,b[0]=g[(d-t%d)%d],e.e=-t||0):b[0]=e.e=0,e;if(0==a?(b.length=m,u=1,m--):(b.length=m+1,u=g[d-a],b[m]=c>0?o(f/g[i-c]%g[c])*u:0),n)for(;;){if(0==m){for(a=1,c=b[0];c>=10;c/=10,a++);for(c=b[0]+=u,u=1;c>=10;c/=10,u++);a!=u&&(e.e++,b[0]==l&&(b[0]=1));break}if(b[m]+=u,b[m]!=l)break;b[m--]=0,u=1}for(a=b.length;0===b[--a];b.pop());}e.e>$?e.c=e.e=null:e.e<U&&(e.c=[e.e=0])}return e}return W.another=e,W.ROUND_UP=0,W.ROUND_DOWN=1,W.ROUND_CEIL=2,W.ROUND_FLOOR=3,W.ROUND_HALF_UP=4,W.ROUND_HALF_DOWN=5,W.ROUND_HALF_EVEN=6,W.ROUND_HALF_CEIL=7,W.ROUND_HALF_FLOOR=8,W.EUCLID=9,W.config=W.set=function(){var e,t,r=0,n={},s=arguments,o=s[0],a=o&&"object"==typeof o?function(){if(o.hasOwnProperty(t))return null!=(e=o[t])}:function(){if(s.length>r)return null!=(e=s[r++])};return a(t="DECIMAL_PLACES")&&z(e,0,p,2,t)&&(N=0|e),n[t]=N,a(t="ROUNDING_MODE")&&z(e,0,8,2,t)&&(P=0|e),n[t]=P,a(t="EXPONENTIAL_AT")&&(k(e)?z(e[0],-p,0,2,t)&&z(e[1],0,p,2,t)&&(D=0|e[0],F=0|e[1]):z(e,-p,p,2,t)&&(D=-(F=0|(e<0?-e:e)))),n[t]=[D,F],a(t="RANGE")&&(k(e)?z(e[0],-p,-1,2,t)&&z(e[1],1,p,2,t)&&(U=0|e[0],$=0|e[1]):z(e,-p,p,2,t)&&(0|e?U=-($=0|(e<0?-e:e)):H&&ee(2,t+" cannot be zero",e))),n[t]=[U,$],a(t="ERRORS")&&(e===!!e||1===e||0===e?(L=0,z=(H=!!e)?J:w):H&&ee(2,t+i,e)),n[t]=H,a(t="CRYPTO")&&(!0===e||!1===e||1===e||0===e?e?!(e="undefined"==typeof crypto)&&crypto&&(crypto.getRandomValues||crypto.randomBytes)?K=!0:H?ee(2,"crypto unavailable",e?void 0:crypto):K=!1:K=!1:H&&ee(2,t+i,e)),n[t]=K,a(t="MODULO_MODE")&&z(e,0,9,2,t)&&(q=0|e),n[t]=q,a(t="POW_PRECISION")&&z(e,0,p,2,t)&&(G=0|e),n[t]=G,a(t="FORMAT")&&("object"==typeof e?V=e:H&&ee(2,t+" not an object",e)),n[t]=V,n},W.max=function(){return X(arguments,R.lt)},W.min=function(){return X(arguments,R.gt)},W.random=(A=9007199254740992,j=Math.random()*A&2097151?function(){return o(Math.random()*A)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,r,n,i,a,c=0,u=[],l=new W(I);if(e=null!=e&&z(e,0,p,14)?0|e:N,i=s(e/d),K)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(i*=2));c<i;)(a=131072*t[c]+(t[c+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),t[c]=r[0],t[c+1]=r[1]):(u.push(a%1e14),c+=2);c=i/2}else if(crypto.randomBytes){for(t=crypto.randomBytes(i*=7);c<i;)(a=281474976710656*(31&t[c])+1099511627776*t[c+1]+4294967296*t[c+2]+16777216*t[c+3]+(t[c+4]<<16)+(t[c+5]<<8)+t[c+6])>=9e15?crypto.randomBytes(7).copy(t,c):(u.push(a%1e14),c+=7);c=i/7}else K=!1,H&&ee(14,"crypto unavailable",crypto);if(!K)for(;c<i;)(a=j())<9e15&&(u[c++]=a%1e14);for(i=u[--c],e%=d,i&&e&&(a=h[d-e],u[c]=o(i/a)*a);0===u[c];u.pop(),c--);if(c<0)u=[n=0];else{for(n=-1;0===u[0];u.splice(0,1),n-=d);for(c=1,a=u[0];a>=10;a/=10,c++);c<d&&(n-=d-c)}return l.e=n,l.c=u,l}),r=function(){function e(e,t,r){var n,s,o,i,a=0,c=e.length,u=t%m,l=t/m|0;for(e=e.slice();c--;)a=((s=u*(o=e[c]%m)+(n=l*o+(i=e[c]/m|0)*u)%m*m+a)/r|0)+(n/m|0)+l*i,e[c]=s%r;return a&&(e=[a].concat(e)),e}function t(e,t,r,n){var s,o;if(r!=n)o=r>n?1:-1;else for(s=o=0;s<r;s++)if(e[s]!=t[s]){o=e[s]>t[s]?1:-1;break}return o}function r(e,t,r,n){for(var s=0;r--;)e[r]-=s,s=e[r]<t[r]?1:0,e[r]=s*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,s,i,a,c){var u,f,h,m,p,g,y,w,k,x,_,v,S,E,A,j,T,B=n.s==s.s?1:-1,M=n.c,O=s.c;if(!(M&&M[0]&&O&&O[0]))return new W(n.s&&s.s&&(M?!O||M[0]!=O[0]:O)?M&&0==M[0]||!O?0*B:B/0:NaN);for(k=(w=new W(B)).c=[],B=i+(f=n.e-s.e)+1,c||(c=l,f=b(n.e/d)-b(s.e/d),B=B/d|0),h=0;O[h]==(M[h]||0);h++);if(O[h]>(M[h]||0)&&f--,B<0)k.push(1),m=!0;else{for(E=M.length,j=O.length,h=0,B+=2,(p=o(c/(O[0]+1)))>1&&(O=e(O,p,c),M=e(M,p,c),j=O.length,E=M.length),S=j,_=(x=M.slice(0,j)).length;_<j;x[_++]=0);T=O.slice(),T=[0].concat(T),A=O[0],O[1]>=c/2&&A++;do{if(p=0,(u=t(O,x,j,_))<0){if(v=x[0],j!=_&&(v=v*c+(x[1]||0)),(p=o(v/A))>1)for(p>=c&&(p=c-1),y=(g=e(O,p,c)).length,_=x.length;1==t(g,x,y,_);)p--,r(g,j<y?T:O,y,c),y=g.length,u=1;else 0==p&&(u=p=1),y=(g=O.slice()).length;if(y<_&&(g=[0].concat(g)),r(x,g,_,c),_=x.length,-1==u)for(;t(O,x,j,_)<1;)p++,r(x,j<_?T:O,_,c),_=x.length}else 0===u&&(p++,x=[0]);k[h++]=p,x[0]?x[_++]=M[S]||0:(x=[M[S]],_=1)}while((S++<E||null!=x[0])&&B--);m=null!=x[0],k[0]||k.splice(0,1)}if(c==l){for(h=1,B=k[0];B>=10;B/=10,h++);te(w,i+(w.e=h+f*d-1)+1,a,m)}else w.e=f,w.r=+m;return w}}(),T=/^(-?)0([xbo])(?=\w[\w.]*$)/i,B=/^([^.]+)\.$/,M=/^\.([^.]+)$/,O=/^-?(Infinity|NaN)$/,C=/^\s*\+(?=[\w.])|^\s+|\s+$/g,E=function(e,t,r,n){var s,o=r?t:t.replace(C,"");if(O.test(o))e.s=isNaN(o)?null:o<0?-1:1;else{if(!r&&(o=o.replace(T,function(e,t,r){return s="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=s?e:t}),n&&(s=n,o=o.replace(B,"$1").replace(M,"0.$1")),t!=o))return new W(o,s);H&&ee(L,"not a"+(n?" base "+n:"")+" number",t),e.s=null}e.c=e.e=null,L=0},R.absoluteValue=R.abs=function(){var e=new W(this);return e.s<0&&(e.s=1),e},R.ceil=function(){return te(new W(this),this.e+1,2)},R.comparedTo=R.cmp=function(e,t){return L=1,y(this,new W(e,t))},R.decimalPlaces=R.dp=function(){var e,t,r=this.c;if(!r)return null;if(e=((t=r.length-1)-b(this.e/d))*d,t=r[t])for(;t%10==0;t/=10,e--);return e<0&&(e=0),e},R.dividedBy=R.div=function(e,t){return L=3,r(this,new W(e,t),N,P)},R.dividedToIntegerBy=R.divToInt=function(e,t){return L=4,r(this,new W(e,t),0,1)},R.equals=R.eq=function(e,t){return L=5,0===y(this,new W(e,t))},R.floor=function(){return te(new W(this),this.e+1,3)},R.greaterThan=R.gt=function(e,t){return L=6,y(this,new W(e,t))>0},R.greaterThanOrEqualTo=R.gte=function(e,t){return L=7,1===(t=y(this,new W(e,t)))||0===t},R.isFinite=function(){return!!this.c},R.isInteger=R.isInt=function(){return!!this.c&&b(this.e/d)>this.c.length-2},R.isNaN=function(){return!this.s},R.isNegative=R.isNeg=function(){return this.s<0},R.isZero=function(){return!!this.c&&0==this.c[0]},R.lessThan=R.lt=function(e,t){return L=8,y(this,new W(e,t))<0},R.lessThanOrEqualTo=R.lte=function(e,t){return L=9,-1===(t=y(this,new W(e,t)))||0===t},R.minus=R.sub=function(e,t){var r,n,s,o,i=this,a=i.s;if(L=10,t=(e=new W(e,t)).s,!a||!t)return new W(NaN);if(a!=t)return e.s=-t,i.plus(e);var c=i.e/d,u=e.e/d,f=i.c,h=e.c;if(!c||!u){if(!f||!h)return f?(e.s=-t,e):new W(h?i:NaN);if(!f[0]||!h[0])return h[0]?(e.s=-t,e):new W(f[0]?i:3==P?-0:0)}if(c=b(c),u=b(u),f=f.slice(),a=c-u){for((o=a<0)?(a=-a,s=f):(u=c,s=h),s.reverse(),t=a;t--;s.push(0));s.reverse()}else for(n=(o=(a=f.length)<(t=h.length))?a:t,a=t=0;t<n;t++)if(f[t]!=h[t]){o=f[t]<h[t];break}if(o&&(s=f,f=h,h=s,e.s=-e.s),(t=(n=h.length)-(r=f.length))>0)for(;t--;f[r++]=0);for(t=l-1;n>a;){if(f[--n]<h[n]){for(r=n;r&&!f[--r];f[r]=t);--f[r],f[n]+=l}f[n]-=h[n]}for(;0==f[0];f.splice(0,1),--u);return f[0]?Q(e,f,u):(e.s=3==P?-1:1,e.c=[e.e=0],e)},R.modulo=R.mod=function(e,t){var n,s,o=this;return L=11,e=new W(e,t),!o.c||!e.s||e.c&&!e.c[0]?new W(NaN):!e.c||o.c&&!o.c[0]?new W(o):(9==q?(s=e.s,e.s=1,n=r(o,e,0,3),e.s=s,n.s*=s):n=r(o,e,0,q),o.minus(n.times(e)))},R.negated=R.neg=function(){var e=new W(this);return e.s=-e.s||null,e},R.plus=R.add=function(e,t){var r,n=this,s=n.s;if(L=12,t=(e=new W(e,t)).s,!s||!t)return new W(NaN);if(s!=t)return e.s=-t,n.minus(e);var o=n.e/d,i=e.e/d,a=n.c,c=e.c;if(!o||!i){if(!a||!c)return new W(s/0);if(!a[0]||!c[0])return c[0]?e:new W(a[0]?n:0*s)}if(o=b(o),i=b(i),a=a.slice(),s=o-i){for(s>0?(i=o,r=c):(s=-s,r=a),r.reverse();s--;r.push(0));r.reverse()}for((s=a.length)-(t=c.length)<0&&(r=c,c=a,a=r,t=s),s=0;t;)s=(a[--t]=a[t]+c[t]+s)/l|0,a[t]=l===a[t]?0:a[t]%l;return s&&(a=[s].concat(a),++i),Q(e,a,i)},R.precision=R.sd=function(e){var t,r,n=this,s=n.c;if(null!=e&&e!==!!e&&1!==e&&0!==e&&(H&&ee(13,"argument"+i,e),e!=!!e&&(e=null)),!s)return null;if(t=(r=s.length-1)*d+1,r=s[r]){for(;r%10==0;r/=10,t--);for(r=s[0];r>=10;r/=10,t++);}return e&&n.e+1>t&&(t=n.e+1),t},R.round=function(e,t){var r=new W(this);return(null==e||z(e,0,p,15))&&te(r,~~e+this.e+1,null!=t&&z(t,0,8,15,a)?0|t:P),r},R.shift=function(e){var t=this;return z(e,-9007199254740991,f,16,"argument")?t.times("1e"+S(e)):new W(t.c&&t.c[0]&&(e<-9007199254740991||e>f)?t.s*(e<0?0:1/0):t)},R.squareRoot=R.sqrt=function(){var e,t,n,s,o,i=this,a=i.c,c=i.s,u=i.e,l=N+4,d=new W("0.5");if(1!==c||!a||!a[0])return new W(!c||c<0&&(!a||a[0])?NaN:a?i:1/0);if(0==(c=Math.sqrt(+i))||c==1/0?(((t=g(a)).length+u)%2==0&&(t+="0"),c=Math.sqrt(t),u=b((u+1)/2)-(u<0||u%2),n=new W(t=c==1/0?"1e"+u:(t=c.toExponential()).slice(0,t.indexOf("e")+1)+u)):n=new W(c+""),n.c[0])for((c=(u=n.e)+l)<3&&(c=0);;)if(o=n,n=d.times(o.plus(r(i,o,l,1))),g(o.c).slice(0,c)===(t=g(n.c)).slice(0,c)){if(n.e<u&&--c,"9999"!=(t=t.slice(c-3,c+1))&&(s||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(te(n,n.e+N+2,1),e=!n.times(n).eq(i));break}if(!s&&(te(o,o.e+N+2,0),o.times(o).eq(i))){n=o;break}l+=4,c+=4,s=1}return te(n,n.e+N+1,P,e)},R.times=R.mul=function(e,t){var r,n,s,o,i,a,c,u,f,h,p,g,y,w,k,x=this,_=x.c,v=(L=17,e=new W(e,t)).c;if(!(_&&v&&_[0]&&v[0]))return!x.s||!e.s||_&&!_[0]&&!v||v&&!v[0]&&!_?e.c=e.e=e.s=null:(e.s*=x.s,_&&v?(e.c=[0],e.e=0):e.c=e.e=null),e;for(n=b(x.e/d)+b(e.e/d),e.s*=x.s,(c=_.length)<(h=v.length)&&(y=_,_=v,v=y,s=c,c=h,h=s),s=c+h,y=[];s--;y.push(0));for(w=l,k=m,s=h;--s>=0;){for(r=0,p=v[s]%k,g=v[s]/k|0,o=s+(i=c);o>s;)r=((u=p*(u=_[--i]%k)+(a=g*u+(f=_[i]/k|0)*p)%k*k+y[o]+r)/w|0)+(a/k|0)+g*f,y[o--]=u%w;y[o]=r}return r?++n:y.splice(0,1),Q(e,y,n)},R.toDigits=function(e,t){var r=new W(this);return e=null!=e&&z(e,1,p,18,"precision")?0|e:null,t=null!=t&&z(t,0,8,18,a)?0|t:P,e?te(r,e,t):r},R.toExponential=function(e,t){return Y(this,null!=e&&z(e,0,p,19)?1+~~e:null,t,19)},R.toFixed=function(e,t){return Y(this,null!=e&&z(e,0,p,20)?~~e+this.e+1:null,t,20)},R.toFormat=function(e,t){var r=Y(this,null!=e&&z(e,0,p,21)?~~e+this.e+1:null,t,21);if(this.c){var n,s=r.split("."),o=+V.groupSize,i=+V.secondaryGroupSize,a=V.groupSeparator,c=s[0],u=s[1],l=this.s<0,d=l?c.slice(1):c,f=d.length;if(i&&(n=o,o=i,i=n,f-=n),o>0&&f>0){for(n=f%o||o,c=d.substr(0,n);n<f;n+=o)c+=a+d.substr(n,o);i>0&&(c+=a+d.slice(n)),l&&(c="-"+c)}r=u?c+V.decimalSeparator+((i=+V.fractionGroupSize)?u.replace(new RegExp("\\d{"+i+"}\\B","g"),"$&"+V.fractionGroupSeparator):u):c}return r},R.toFraction=function(e){var t,n,s,o,i,a,c,u,l,f=H,m=this,p=m.c,b=new W(I),y=n=new W(I),w=c=new W(I);if(null!=e&&(H=!1,a=new W(e),H=f,(f=a.isInt())&&!a.lt(I)||(H&&ee(22,"max denominator "+(f?"out of range":"not an integer"),e),e=!f&&a.c&&te(a,a.e+1,1).gte(I)?a:null)),!p)return m.toString();for(l=g(p),o=b.e=l.length-m.e-1,b.c[0]=h[(i=o%d)<0?d+i:i],e=!e||a.cmp(b)>0?o>0?b:y:a,i=$,$=1/0,a=new W(l),c.c[0]=0;u=r(a,b,0,1),1!=(s=n.plus(u.times(w))).cmp(e);)n=w,w=s,y=c.plus(u.times(s=y)),c=s,b=a.minus(u.times(s=b)),a=s;return s=r(e.minus(n),w,0,1),c=c.plus(s.times(y)),n=n.plus(s.times(w)),c.s=y.s=m.s,t=r(y,w,o*=2,P).minus(m).abs().cmp(r(c,n,o,P).minus(m).abs())<1?[y.toString(),w.toString()]:[c.toString(),n.toString()],$=i,t},R.toNumber=function(){return+this},R.toPower=R.pow=function(e,t){var r,n,i,a=o(e<0?-e:+e),c=this;if(null!=t&&(L=23,t=new W(t)),!z(e,-9007199254740991,f,23,"exponent")&&(!isFinite(e)||a>f&&(e/=0)||parseFloat(e)!=e&&!(e=NaN))||0==e)return r=Math.pow(+c,e),new W(t?r%t:r);for(t?e>1&&c.gt(I)&&c.isInt()&&t.gt(I)&&t.isInt()?c=c.mod(t):(i=t,t=null):G&&(r=s(G/d+2)),n=new W(I);;){if(a%2){if(!(n=n.times(c)).c)break;r?n.c.length>r&&(n.c.length=r):t&&(n=n.mod(t))}if(!(a=o(a/2)))break;c=c.times(c),r?c.c&&c.c.length>r&&(c.c.length=r):t&&(c=c.mod(t))}return t?n:(e<0&&(n=I.div(n)),i?n.mod(i):r?te(n,G,P):n)},R.toPrecision=function(e,t){return Y(this,null!=e&&z(e,1,p,24,"precision")?0|e:null,t,24)},R.toString=function(e){var t,r=this,n=r.s,s=r.e;return null===s?n?(t="Infinity",n<0&&(t="-"+t)):t="NaN":(t=g(r.c),t=null!=e&&z(e,2,64,25,"base")?Z(v(t,s),0|e,10,n):s<=D||s>=F?_(t,s):v(t,s),n<0&&r.c[0]&&(t="-"+t)),t},R.truncated=R.trunc=function(){return te(new W(this),this.e+1,1)},R.valueOf=R.toJSON=function(){var e,t=this,r=t.e;return null===r?t.toString():(e=g(t.c),e=r<=D||r>=F?_(e,r):v(e,r),t.s<0?"-"+e:e)},R.isBigNumber=!0,null!=t&&W.config(t),W}(),r.default=r.BigNumber=r,"function"==typeof define&&define.amd?define(function(){return r}):void 0!==t&&t.exports?t.exports=r:(e||(e="undefined"!=typeof self?self:Function("return this")()),e.BigNumber=r)}(this)}}},{package:"bignumber.js",file:"node_modules/bignumber.js/bignumber.js"}],["/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 s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},n.apply(this,arguments)},s="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";(()=>{const e=Array(256).fill(-1);for(let t=0;t<58;++t)e[s.charCodeAt(t)]=t})();var o,i,a,c=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=>s.indexOf(e)).reduce((e,t)=>e.map(e=>{const r=58*e+t;return t=r>>8,r}),new Uint8Array(n)).reverse().filter((o=!1,e=>o=o||e))]);var o},u=(o=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 s(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 o(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=s(t)^n>>5}t=s(t);for(let r=0;r<e.length;++r){const n=e.charCodeAt(r);t=s(t)^31&n}return t}function i(e,t,r,n){let s=0,o=0;const i=(1<<r)-1,a=[];for(let n=0;n<e.length;++n)for(s=s<<t|e[n],o+=t;o>=r;)o-=r,a.push(s>>o&i);if(n)o>0&&a.push(s<<r-o&i);else{if(o>=t)return"Excess padding";if(s<<r-o&i)return"Non-zero padding"}return a}function a(e){return i(e,8,5,!0)}function c(e){const t=i(e,5,8,!1);if(Array.isArray(t))return t}function u(e){const t=i(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}function l(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 c=(e=i).lastIndexOf("1");if(-1===c)return"No separator character for "+e;if(0===c)return"Missing prefix for "+e;const u=e.slice(0,c),l=e.slice(c+1);if(l.length<6)return"Data too short";let d=o(u);if("string"==typeof d)return d;const f=[];for(let e=0;e<l.length;++e){const t=l.charAt(e),r=n[t];if(void 0===r)return"Unknown character "+t;d=s(d)^r,e+6>=l.length||f.push(r)}return d!==t?"Invalid checksum for "+e:{prefix:u,words:f}}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=o(e=e.toLowerCase());if("string"==typeof a)throw new Error(a);let c=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=s(a)^t,c+=r.charAt(t)}for(let e=0;e<6;++e)a=s(a);a^=t;for(let e=0;e<6;++e)c+=r.charAt(a>>5*(5-e)&31);return c},toWords:a,fromWordsUnsafe:c,fromWords:u}}t.bech32=l("bech32"),t.bech32m=l("bech32m")},o(i={exports:{}},i.exports),i.exports);(a=u)&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")&&a.default;var l=u.bech32m,d=u.bech32;const f=[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,s=0;if(n&&!(3&t)&&!(this._size%64)){const r=new Int32Array(e.buffer,t,16*n);for(;n--;)this._int32(r,s>>2),s+=64;this._size+=s}if(1!==e.BYTES_PER_ELEMENT&&e.buffer){const n=new Uint8Array(e.buffer,t+s,r-s);return this._uint8(n)}return s===r?this:this._uint8(e,s)}_uint8(e,t){const{_byte:r,_word:n}=this,s=e.length;for(t|=0;t<s;){const o=this._size%64;let i=o;for(;t<s&&i<64;)r[i++]=e[t++];i>=64&&this._int32(n),this._size+=i-o}return this}_utf8(e){const{_byte:t,_word:r}=this,n=e.length;let s=this._sp;for(let o=0;o<n;){const i=this._size%64;let a=i;for(;o<n&&a<64;){let r=0|e.charCodeAt(o++);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):s?(r=((1023&s)<<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,s=0):s=r}a>=64&&(this._int32(r),r[0]=r[16]),this._size+=a-i}return this._sp=s,this}_int32(e,t){let{A:r,B:n,C:s,D:o,E:i,F:a,G:c,H:u}=this,l=0;for(t|=0;l<16;)m[l++]=y(e[t++]);for(l=16;l<64;l++)m[l]=S(m[l-2])+m[l-7]+v(m[l-15])+m[l-16]|0;for(l=0;l<64;l++){const e=u+_(i)+w(i,a,c)+f[l]+m[l]|0,t=x(r)+k(r,n,s)|0;u=c,c=a,a=i,i=o+e|0,o=s,s=n,n=r,r=e+t|0}this.A=r+this.A|0,this.B=n+this.B|0,this.C=s+this.C|0,this.D=o+this.D|0,this.E=i+this.E|0,this.F=a+this.F|0,this.G=c+this.G|0,this.H=u+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 s=8*this._size,o=(4294967295&s)>>>0,i=(s-o)/4294967296;return i&&(r[14]=y(i)),o&&(r[15]=y(o)),this._int32(r),"hex"===e?this._hex():this._bin()}_hex(){const{A:e,B:t,C:r,D:n,E:s,F:o,G:i,H:a}=this;return g(e)+g(t)+g(r)+g(n)+g(s)+g(o)+g(i)+g(a)}_bin(){const{A:e,B:t,C:r,D:n,E:s,F:o,G:i,H:a,_byte:c,_word:u}=this;return u[0]=y(e),u[1]=y(t),u[2]=y(r),u[3]=y(n),u[4]=y(s),u[5]=y(o),u[6]=y(i),u[7]=y(a),c.slice(0,32)}}const m=new Int32Array(64);let p,b=0;const g=e=>(e+4294967296).toString(16).substr(-8),y=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),x=e=>(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10),_=e=>(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7),v=e=>(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3,S=e=>(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10;var E,A,j=function(e){return(new h).update(e).digest()};r.Network=void 0,(E=r.Network||(r.Network={})).mainnet="mainnet",E.testnet="testnet",E.regtest="regtest",r.AddressType=void 0,(A=r.AddressType||(r.AddressType={})).p2pkh="p2pkh",A.p2sh="p2sh",A.p2wpkh="p2wpkh",A.p2wsh="p2wsh",A.p2tr="p2tr";var T={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}},B=function(e){var t,s=e.substr(0,2).toLowerCase();if("bc"===s||"tb"===s)return function(e){var t;try{t=e.startsWith("bc1p")||e.startsWith("tb1p")||e.startsWith("bcrt1p")?l.decode(e):d.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 s=t.words[0];if(s<0||s>16)throw new Error("Invalid address");return{bech32:!0,network:n,address:e,type:20===d.fromWords(t.words.slice(1)).length?r.AddressType.p2wpkh:1===s?r.AddressType.p2tr:r.AddressType.p2wsh}}(e);try{t=c(e)}catch(e){throw new Error("Invalid address")}var o=t.length;if(25!==o)throw new Error("Invalid address");var i=t[0],a=t.slice(o-4,o),u=t.slice(0,o-4),f=j(j(u)).slice(0,4);if(a.some(function(e,t){return e!==f[t]}))throw new Error("Invalid address");if(!Object.keys(T).map(Number).includes(i))throw new Error("Invalid address");return n(n({},T[i]),{address:e,bech32:!1})},M=function(e,t){try{var r=B(e);return!t||t===r.network}catch(e){return!1}};r.default=M,r.getAddressInfo=B,r.validate=M}}},{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/cjs/image.js",{"./random.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/blo/dist/cjs/random.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const n=e("./random.js");function s(e){return new Uint16Array([360*n.nextRandom(e),40+60*n.nextRandom(e),25*(n.nextRandom(e)+n.nextRandom(e)+n.nextRandom(e)+n.nextRandom(e))])}r.image=function(e){const t=n.randSeed(e.toLowerCase()),r=s(t),o=s(t),i=s(t),a=new Uint8Array(32);for(let e=0;e<32;e++)a[e]=Math.floor(2.3*n.nextRandom(t));return[a,[o,r,i]]},r.randomColor=s}}},{package:"@metamask/design-system-react>blo",file:"node_modules/blo/dist/cjs/image.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/blo/dist/cjs/index.js",{"./image.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/blo/dist/cjs/image.js","./svg.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/blo/dist/cjs/svg.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const n=e("./image.js"),s=e("./svg.js");function o(e,t=64){return s.svg(e,t)}r.blo=function(e,t=64){return"data:image/svg+xml;base64,"+btoa(o(e,t))},r.bloImage=function(e){return n.image(e)},r.bloSvg=o}}},{package:"@metamask/design-system-react>blo",file:"node_modules/blo/dist/cjs/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/blo/dist/cjs/random.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const n=1/(1<<31>>>0);r.nextRandom=function(e){const t=e[0]^e[0]<<11;return e[0]=e[1],e[1]=e[2],e[2]=e[3],e[3]=(e[3]^e[3]>>19^t^t>>8)>>>0,e[3]*n},r.randSeed=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}}}},{package:"@metamask/design-system-react>blo",file:"node_modules/blo/dist/cjs/random.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/blo/dist/cjs/svg.js",{"./image.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/blo/dist/cjs/image.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const n=e("./image.js"),s='<path fill="hsl(',o="% ",i='%)" d="',a='"/>';r.svg=function(e,t){const[r,[c,u,l]]=n.image(e),d=["",""];for(let e,t,n=0;n<32;n++){if(0===r[n])continue;e=3&n,t=n>>2;const s=","+t+"h1v1h-1z";d[r[n]-1]+="M"+e+s+"M"+(7-e)+s}return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8" shape-rendering="optimizeSpeed" width="'+t+'" height="'+t+'">'+s+c[0]+" "+c[1]+o+c[2]+i+"M0,0H8V8H0z"+a+s+u[0]+" "+u[1]+o+u[2]+i+d[0]+a+s+l[0]+" "+l[1]+o+l[2]+i+d[1]+a+"</svg>"}}}},{package:"@metamask/design-system-react>blo",file:"node_modules/blo/dist/cjs/svg.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/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 s(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.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=o:r.BN=o,o.BN=o,o.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 c(e,t,r){var n=a(e,r);return r-1>=t&&(n|=a(e,r-1)<<4),n}function u(e,t,r,s){for(var o=0,i=0,a=Math.min(e.length,r),c=t;c<a;c++){var u=e.charCodeAt(c)-48;o*=s,i=u>=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&i<s,"Invalid character"),o+=i}return o}function l(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.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 s=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s<e.length&&(16===t?this._parseHex(e,s,r):(this._parseBase(e,t,s),"le"===r&&this._initArray(this.toArray(),t,r)))},o.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)},o.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 s=0;s<this.length;s++)this.words[s]=0;var o,i,a=0;if("be"===r)for(s=e.length-1,o=0;s>=0;s-=3)i=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[o]|=i<<a&67108863,this.words[o+1]=i>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===r)for(s=0,o=0;s<e.length;s+=3)i=e[s]|e[s+1]<<8|e[s+2]<<16,this.words[o]|=i<<a&67108863,this.words[o+1]=i>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this._strip()},o.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 s,o=0,i=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)s=c(e,t,n)<<o,this.words[i]|=67108863&s,o>=18?(o-=18,i+=1,this.words[i]|=s>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)s=c(e,t,n)<<o,this.words[i]|=67108863&s,o>=18?(o-=18,i+=1,this.words[i]|=s>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,s=1;s<=67108863;s*=t)n++;n--,s=s/t|0;for(var o=e.length-r,i=o%n,a=Math.min(o,o-i)+r,c=0,l=r;l<a;l+=n)c=u(e,l,l+n,t),this.imuln(s),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==i){var d=1;for(c=u(e,l,e.length,t),l=0;l<i;l++)d*=t;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this._strip()},o.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},o.prototype._move=function(e){l(e,this)},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(e){o.prototype.inspect=d}else o.prototype.inspect=d;function d(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var f=["","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];o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var s=0,o=0,i=0;i<this.length;i++){var a=this.words[i],c=(16777215&(a<<s|o)).toString(16);o=a>>>24-s&16777215,(s+=2)>=26&&(s-=26,i--),r=0!==o||i!==this.length-1?f[6-c.length]+c+r:c+r}for(0!==o&&(r=o.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 u=h[e],l=m[e];r="";var d=this.clone();for(d.negative=0;!d.isZero();){var p=d.modrn(l).toString(e);r=(d=d.idivn(l)).isZero()?p+r:f[u-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")},o.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},o.prototype.toJSON=function(){return this.toString(16,2)},i&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(i,e,t)}),o.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 s=0|e.words[0],o=0|t.words[0],i=s*o,a=67108863&i,c=i/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=c>>>26,d=67108863&c,f=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=f;h++){var m=u-h|0;l+=(i=(s=0|e.words[m])*(o=0|t.words[h])+d)/67108864|0,d=67108863&i}r.words[u]=0|d,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}o.prototype.toArrayLike=function(e,t,r){this._strip();var s=this.byteLength(),o=r||Math.max(1,s);n(s<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var i=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](i,s),i},o.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,s=0,o=0;s<this.length;s++){var i=this.words[s]<<o|n;e[r++]=255&i,r<e.length&&(e[r++]=i>>8&255),r<e.length&&(e[r++]=i>>16&255),6===o?(r<e.length&&(e[r++]=i>>24&255),n=0,o=0):(n=i>>>24,o+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},o.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,s=0,o=0;s<this.length;s++){var i=this.words[s]<<o|n;e[r--]=255&i,r>=0&&(e[r--]=i>>8&255),r>=0&&(e[r--]=i>>16&255),6===o?(r>=0&&(e[r--]=i>>24&255),n=0,o=0):(n=i>>>24,o+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.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},o.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},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.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},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.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()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.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()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.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()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.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 s=0;s<t;s++)this.words[s]=67108863&~this.words[s];return r>0&&(this.words[s]=~this.words[s]&67108863>>26-r),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,s=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<s:this.words[r]&~(1<<s),this._strip()},o.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 s=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+s,this.words[o]=67108863&t,s=t>>>26;for(;0!==s&&o<r.length;o++)t=(0|r.words[o])+s,this.words[o]=67108863&t,s=t>>>26;if(this.length=r.length,0!==s)this.words[this.length]=s,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.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)},o.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,s=this.cmp(e);if(0===s)return this.negative=0,this.length=1,this.words[0]=0,this;s>0?(r=this,n=e):(r=e,n=this);for(var o=0,i=0;i<n.length;i++)o=(t=(0|r.words[i])-(0|n.words[i])+o)>>26,this.words[i]=67108863&t;for(;0!==o&&i<r.length;i++)o=(t=(0|r.words[i])+o)>>26,this.words[i]=67108863&t;if(0===o&&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()},o.prototype.sub=function(e){return this.clone().isub(e)};var b=function(e,t,r){var n,s,o,i=e.words,a=t.words,c=r.words,u=0,l=0|i[0],d=8191&l,f=l>>>13,h=0|i[1],m=8191&h,p=h>>>13,b=0|i[2],g=8191&b,y=b>>>13,w=0|i[3],k=8191&w,x=w>>>13,_=0|i[4],v=8191&_,S=_>>>13,E=0|i[5],A=8191&E,j=E>>>13,T=0|i[6],B=8191&T,M=T>>>13,O=0|i[7],C=8191&O,L=O>>>13,R=0|i[8],I=8191&R,N=R>>>13,P=0|i[9],D=8191&P,F=P>>>13,U=0|a[0],$=8191&U,H=U>>>13,z=0|a[1],K=8191&z,q=z>>>13,G=0|a[2],V=8191&G,W=G>>>13,Z=0|a[3],Y=8191&Z,X=Z>>>13,J=0|a[4],Q=8191&J,ee=J>>>13,te=0|a[5],re=8191&te,ne=te>>>13,se=0|a[6],oe=8191&se,ie=se>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],de=8191&le,fe=le>>>13,he=0|a[9],me=8191&he,pe=he>>>13;r.negative=e.negative^t.negative,r.length=19;var be=(u+(n=Math.imul(d,$))|0)+((8191&(s=(s=Math.imul(d,H))+Math.imul(f,$)|0))<<13)|0;u=((o=Math.imul(f,H))+(s>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(m,$),s=(s=Math.imul(m,H))+Math.imul(p,$)|0,o=Math.imul(p,H);var ge=(u+(n=n+Math.imul(d,K)|0)|0)+((8191&(s=(s=s+Math.imul(d,q)|0)+Math.imul(f,K)|0))<<13)|0;u=((o=o+Math.imul(f,q)|0)+(s>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,$),s=(s=Math.imul(g,H))+Math.imul(y,$)|0,o=Math.imul(y,H),n=n+Math.imul(m,K)|0,s=(s=s+Math.imul(m,q)|0)+Math.imul(p,K)|0,o=o+Math.imul(p,q)|0;var ye=(u+(n=n+Math.imul(d,V)|0)|0)+((8191&(s=(s=s+Math.imul(d,W)|0)+Math.imul(f,V)|0))<<13)|0;u=((o=o+Math.imul(f,W)|0)+(s>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(k,$),s=(s=Math.imul(k,H))+Math.imul(x,$)|0,o=Math.imul(x,H),n=n+Math.imul(g,K)|0,s=(s=s+Math.imul(g,q)|0)+Math.imul(y,K)|0,o=o+Math.imul(y,q)|0,n=n+Math.imul(m,V)|0,s=(s=s+Math.imul(m,W)|0)+Math.imul(p,V)|0,o=o+Math.imul(p,W)|0;var we=(u+(n=n+Math.imul(d,Y)|0)|0)+((8191&(s=(s=s+Math.imul(d,X)|0)+Math.imul(f,Y)|0))<<13)|0;u=((o=o+Math.imul(f,X)|0)+(s>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(v,$),s=(s=Math.imul(v,H))+Math.imul(S,$)|0,o=Math.imul(S,H),n=n+Math.imul(k,K)|0,s=(s=s+Math.imul(k,q)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,q)|0,n=n+Math.imul(g,V)|0,s=(s=s+Math.imul(g,W)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,W)|0,n=n+Math.imul(m,Y)|0,s=(s=s+Math.imul(m,X)|0)+Math.imul(p,Y)|0,o=o+Math.imul(p,X)|0;var ke=(u+(n=n+Math.imul(d,Q)|0)|0)+((8191&(s=(s=s+Math.imul(d,ee)|0)+Math.imul(f,Q)|0))<<13)|0;u=((o=o+Math.imul(f,ee)|0)+(s>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(A,$),s=(s=Math.imul(A,H))+Math.imul(j,$)|0,o=Math.imul(j,H),n=n+Math.imul(v,K)|0,s=(s=s+Math.imul(v,q)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,q)|0,n=n+Math.imul(k,V)|0,s=(s=s+Math.imul(k,W)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,W)|0,n=n+Math.imul(g,Y)|0,s=(s=s+Math.imul(g,X)|0)+Math.imul(y,Y)|0,o=o+Math.imul(y,X)|0,n=n+Math.imul(m,Q)|0,s=(s=s+Math.imul(m,ee)|0)+Math.imul(p,Q)|0,o=o+Math.imul(p,ee)|0;var xe=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(s=(s=s+Math.imul(d,ne)|0)+Math.imul(f,re)|0))<<13)|0;u=((o=o+Math.imul(f,ne)|0)+(s>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(B,$),s=(s=Math.imul(B,H))+Math.imul(M,$)|0,o=Math.imul(M,H),n=n+Math.imul(A,K)|0,s=(s=s+Math.imul(A,q)|0)+Math.imul(j,K)|0,o=o+Math.imul(j,q)|0,n=n+Math.imul(v,V)|0,s=(s=s+Math.imul(v,W)|0)+Math.imul(S,V)|0,o=o+Math.imul(S,W)|0,n=n+Math.imul(k,Y)|0,s=(s=s+Math.imul(k,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(g,Q)|0,s=(s=s+Math.imul(g,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,n=n+Math.imul(m,re)|0,s=(s=s+Math.imul(m,ne)|0)+Math.imul(p,re)|0,o=o+Math.imul(p,ne)|0;var _e=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(s=(s=s+Math.imul(d,ie)|0)+Math.imul(f,oe)|0))<<13)|0;u=((o=o+Math.imul(f,ie)|0)+(s>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(C,$),s=(s=Math.imul(C,H))+Math.imul(L,$)|0,o=Math.imul(L,H),n=n+Math.imul(B,K)|0,s=(s=s+Math.imul(B,q)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,q)|0,n=n+Math.imul(A,V)|0,s=(s=s+Math.imul(A,W)|0)+Math.imul(j,V)|0,o=o+Math.imul(j,W)|0,n=n+Math.imul(v,Y)|0,s=(s=s+Math.imul(v,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(k,Q)|0,s=(s=s+Math.imul(k,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(g,re)|0,s=(s=s+Math.imul(g,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,n=n+Math.imul(m,oe)|0,s=(s=s+Math.imul(m,ie)|0)+Math.imul(p,oe)|0,o=o+Math.imul(p,ie)|0;var ve=(u+(n=n+Math.imul(d,ce)|0)|0)+((8191&(s=(s=s+Math.imul(d,ue)|0)+Math.imul(f,ce)|0))<<13)|0;u=((o=o+Math.imul(f,ue)|0)+(s>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(I,$),s=(s=Math.imul(I,H))+Math.imul(N,$)|0,o=Math.imul(N,H),n=n+Math.imul(C,K)|0,s=(s=s+Math.imul(C,q)|0)+Math.imul(L,K)|0,o=o+Math.imul(L,q)|0,n=n+Math.imul(B,V)|0,s=(s=s+Math.imul(B,W)|0)+Math.imul(M,V)|0,o=o+Math.imul(M,W)|0,n=n+Math.imul(A,Y)|0,s=(s=s+Math.imul(A,X)|0)+Math.imul(j,Y)|0,o=o+Math.imul(j,X)|0,n=n+Math.imul(v,Q)|0,s=(s=s+Math.imul(v,ee)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,n=n+Math.imul(k,re)|0,s=(s=s+Math.imul(k,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(g,oe)|0,s=(s=s+Math.imul(g,ie)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ie)|0,n=n+Math.imul(m,ce)|0,s=(s=s+Math.imul(m,ue)|0)+Math.imul(p,ce)|0,o=o+Math.imul(p,ue)|0;var Se=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(s=(s=s+Math.imul(d,fe)|0)+Math.imul(f,de)|0))<<13)|0;u=((o=o+Math.imul(f,fe)|0)+(s>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(D,$),s=(s=Math.imul(D,H))+Math.imul(F,$)|0,o=Math.imul(F,H),n=n+Math.imul(I,K)|0,s=(s=s+Math.imul(I,q)|0)+Math.imul(N,K)|0,o=o+Math.imul(N,q)|0,n=n+Math.imul(C,V)|0,s=(s=s+Math.imul(C,W)|0)+Math.imul(L,V)|0,o=o+Math.imul(L,W)|0,n=n+Math.imul(B,Y)|0,s=(s=s+Math.imul(B,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(A,Q)|0,s=(s=s+Math.imul(A,ee)|0)+Math.imul(j,Q)|0,o=o+Math.imul(j,ee)|0,n=n+Math.imul(v,re)|0,s=(s=s+Math.imul(v,ne)|0)+Math.imul(S,re)|0,o=o+Math.imul(S,ne)|0,n=n+Math.imul(k,oe)|0,s=(s=s+Math.imul(k,ie)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ie)|0,n=n+Math.imul(g,ce)|0,s=(s=s+Math.imul(g,ue)|0)+Math.imul(y,ce)|0,o=o+Math.imul(y,ue)|0,n=n+Math.imul(m,de)|0,s=(s=s+Math.imul(m,fe)|0)+Math.imul(p,de)|0,o=o+Math.imul(p,fe)|0;var Ee=(u+(n=n+Math.imul(d,me)|0)|0)+((8191&(s=(s=s+Math.imul(d,pe)|0)+Math.imul(f,me)|0))<<13)|0;u=((o=o+Math.imul(f,pe)|0)+(s>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(D,K),s=(s=Math.imul(D,q))+Math.imul(F,K)|0,o=Math.imul(F,q),n=n+Math.imul(I,V)|0,s=(s=s+Math.imul(I,W)|0)+Math.imul(N,V)|0,o=o+Math.imul(N,W)|0,n=n+Math.imul(C,Y)|0,s=(s=s+Math.imul(C,X)|0)+Math.imul(L,Y)|0,o=o+Math.imul(L,X)|0,n=n+Math.imul(B,Q)|0,s=(s=s+Math.imul(B,ee)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,n=n+Math.imul(A,re)|0,s=(s=s+Math.imul(A,ne)|0)+Math.imul(j,re)|0,o=o+Math.imul(j,ne)|0,n=n+Math.imul(v,oe)|0,s=(s=s+Math.imul(v,ie)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ie)|0,n=n+Math.imul(k,ce)|0,s=(s=s+Math.imul(k,ue)|0)+Math.imul(x,ce)|0,o=o+Math.imul(x,ue)|0,n=n+Math.imul(g,de)|0,s=(s=s+Math.imul(g,fe)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,fe)|0;var Ae=(u+(n=n+Math.imul(m,me)|0)|0)+((8191&(s=(s=s+Math.imul(m,pe)|0)+Math.imul(p,me)|0))<<13)|0;u=((o=o+Math.imul(p,pe)|0)+(s>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(D,V),s=(s=Math.imul(D,W))+Math.imul(F,V)|0,o=Math.imul(F,W),n=n+Math.imul(I,Y)|0,s=(s=s+Math.imul(I,X)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,X)|0,n=n+Math.imul(C,Q)|0,s=(s=s+Math.imul(C,ee)|0)+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,n=n+Math.imul(B,re)|0,s=(s=s+Math.imul(B,ne)|0)+Math.imul(M,re)|0,o=o+Math.imul(M,ne)|0,n=n+Math.imul(A,oe)|0,s=(s=s+Math.imul(A,ie)|0)+Math.imul(j,oe)|0,o=o+Math.imul(j,ie)|0,n=n+Math.imul(v,ce)|0,s=(s=s+Math.imul(v,ue)|0)+Math.imul(S,ce)|0,o=o+Math.imul(S,ue)|0,n=n+Math.imul(k,de)|0,s=(s=s+Math.imul(k,fe)|0)+Math.imul(x,de)|0,o=o+Math.imul(x,fe)|0;var je=(u+(n=n+Math.imul(g,me)|0)|0)+((8191&(s=(s=s+Math.imul(g,pe)|0)+Math.imul(y,me)|0))<<13)|0;u=((o=o+Math.imul(y,pe)|0)+(s>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(D,Y),s=(s=Math.imul(D,X))+Math.imul(F,Y)|0,o=Math.imul(F,X),n=n+Math.imul(I,Q)|0,s=(s=s+Math.imul(I,ee)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,ee)|0,n=n+Math.imul(C,re)|0,s=(s=s+Math.imul(C,ne)|0)+Math.imul(L,re)|0,o=o+Math.imul(L,ne)|0,n=n+Math.imul(B,oe)|0,s=(s=s+Math.imul(B,ie)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ie)|0,n=n+Math.imul(A,ce)|0,s=(s=s+Math.imul(A,ue)|0)+Math.imul(j,ce)|0,o=o+Math.imul(j,ue)|0,n=n+Math.imul(v,de)|0,s=(s=s+Math.imul(v,fe)|0)+Math.imul(S,de)|0,o=o+Math.imul(S,fe)|0;var Te=(u+(n=n+Math.imul(k,me)|0)|0)+((8191&(s=(s=s+Math.imul(k,pe)|0)+Math.imul(x,me)|0))<<13)|0;u=((o=o+Math.imul(x,pe)|0)+(s>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(D,Q),s=(s=Math.imul(D,ee))+Math.imul(F,Q)|0,o=Math.imul(F,ee),n=n+Math.imul(I,re)|0,s=(s=s+Math.imul(I,ne)|0)+Math.imul(N,re)|0,o=o+Math.imul(N,ne)|0,n=n+Math.imul(C,oe)|0,s=(s=s+Math.imul(C,ie)|0)+Math.imul(L,oe)|0,o=o+Math.imul(L,ie)|0,n=n+Math.imul(B,ce)|0,s=(s=s+Math.imul(B,ue)|0)+Math.imul(M,ce)|0,o=o+Math.imul(M,ue)|0,n=n+Math.imul(A,de)|0,s=(s=s+Math.imul(A,fe)|0)+Math.imul(j,de)|0,o=o+Math.imul(j,fe)|0;var Be=(u+(n=n+Math.imul(v,me)|0)|0)+((8191&(s=(s=s+Math.imul(v,pe)|0)+Math.imul(S,me)|0))<<13)|0;u=((o=o+Math.imul(S,pe)|0)+(s>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(D,re),s=(s=Math.imul(D,ne))+Math.imul(F,re)|0,o=Math.imul(F,ne),n=n+Math.imul(I,oe)|0,s=(s=s+Math.imul(I,ie)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,ie)|0,n=n+Math.imul(C,ce)|0,s=(s=s+Math.imul(C,ue)|0)+Math.imul(L,ce)|0,o=o+Math.imul(L,ue)|0,n=n+Math.imul(B,de)|0,s=(s=s+Math.imul(B,fe)|0)+Math.imul(M,de)|0,o=o+Math.imul(M,fe)|0;var Me=(u+(n=n+Math.imul(A,me)|0)|0)+((8191&(s=(s=s+Math.imul(A,pe)|0)+Math.imul(j,me)|0))<<13)|0;u=((o=o+Math.imul(j,pe)|0)+(s>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(D,oe),s=(s=Math.imul(D,ie))+Math.imul(F,oe)|0,o=Math.imul(F,ie),n=n+Math.imul(I,ce)|0,s=(s=s+Math.imul(I,ue)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,ue)|0,n=n+Math.imul(C,de)|0,s=(s=s+Math.imul(C,fe)|0)+Math.imul(L,de)|0,o=o+Math.imul(L,fe)|0;var Oe=(u+(n=n+Math.imul(B,me)|0)|0)+((8191&(s=(s=s+Math.imul(B,pe)|0)+Math.imul(M,me)|0))<<13)|0;u=((o=o+Math.imul(M,pe)|0)+(s>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(D,ce),s=(s=Math.imul(D,ue))+Math.imul(F,ce)|0,o=Math.imul(F,ue),n=n+Math.imul(I,de)|0,s=(s=s+Math.imul(I,fe)|0)+Math.imul(N,de)|0,o=o+Math.imul(N,fe)|0;var Ce=(u+(n=n+Math.imul(C,me)|0)|0)+((8191&(s=(s=s+Math.imul(C,pe)|0)+Math.imul(L,me)|0))<<13)|0;u=((o=o+Math.imul(L,pe)|0)+(s>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(D,de),s=(s=Math.imul(D,fe))+Math.imul(F,de)|0,o=Math.imul(F,fe);var Le=(u+(n=n+Math.imul(I,me)|0)|0)+((8191&(s=(s=s+Math.imul(I,pe)|0)+Math.imul(N,me)|0))<<13)|0;u=((o=o+Math.imul(N,pe)|0)+(s>>>13)|0)+(Le>>>26)|0,Le&=67108863;var Re=(u+(n=Math.imul(D,me))|0)+((8191&(s=(s=Math.imul(D,pe))+Math.imul(F,me)|0))<<13)|0;return u=((o=Math.imul(F,pe))+(s>>>13)|0)+(Re>>>26)|0,Re&=67108863,c[0]=be,c[1]=ge,c[2]=ye,c[3]=we,c[4]=ke,c[5]=xe,c[6]=_e,c[7]=ve,c[8]=Se,c[9]=Ee,c[10]=Ae,c[11]=je,c[12]=Te,c[13]=Be,c[14]=Me,c[15]=Oe,c[16]=Ce,c[17]=Le,c[18]=Re,0!==u&&(c[19]=u,r.length++),r};function g(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,s=0,o=0;o<r.length-1;o++){var i=s;s=0;for(var a=67108863&n,c=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=c;u++){var l=o-u,d=(0|e.words[l])*(0|t.words[u]),f=67108863&d;a=67108863&(f=f+a|0),s+=(i=(i=i+(d/67108864|0)|0)+(f>>>26)|0)>>>26,i&=67108863}r.words[o]=a,n=i,i=s}return 0!==n?r.words[o]=n:r.length--,r._strip()}function y(e,t,r){return g(e,t,r)}function w(e,t){this.x=e,this.y=t}Math.imul||(b=p),o.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?g(this,e,t):y(this,e,t)},w.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.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,s=0;s<t;s++)n|=(1&e)<<t-s-1,e>>=1;return n},w.prototype.permute=function(e,t,r,n,s,o){for(var i=0;i<o;i++)n[i]=t[e[i]],s[i]=r[e[i]]},w.prototype.transform=function(e,t,r,n,s,o){this.permute(o,e,t,r,n,s);for(var i=1;i<s;i<<=1)for(var a=i<<1,c=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<s;l+=a)for(var d=c,f=u,h=0;h<i;h++){var m=r[l+h],p=n[l+h],b=r[l+h+i],g=n[l+h+i],y=d*b-f*g;g=d*g+f*b,b=y,r[l+h]=m+b,n[l+h]=p+g,r[l+h+i]=m-b,n[l+h+i]=p-g,h!==a&&(y=c*d-u*f,f=c*f+u*d,d=y)}},w.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,s=0;for(r=r/2|0;r;r>>>=1)s++;return 1<<s+1+n},w.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var s=e[n];e[n]=e[r-n-1],e[r-n-1]=s,s=t[n],t[n]=-t[r-n-1],t[r-n-1]=-s}},w.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var s=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&s,r=s<67108864?0:s/67108864|0}return e},w.prototype.convert13b=function(e,t,r,s){for(var o=0,i=0;i<t;i++)o+=0|e[i],r[2*i]=8191&o,o>>>=13,r[2*i+1]=8191&o,o>>>=13;for(i=2*t;i<s;++i)r[i]=0;n(0===o),n(!(-8192&o))},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),s=this.makeRBT(n),o=this.stub(n),i=new Array(n),a=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),d=new Array(n),f=r.words;f.length=n,this.convert13b(e.words,e.length,i,n),this.convert13b(t.words,t.length,u,n),this.transform(i,o,a,c,n,s),this.transform(u,o,l,d,n,s);for(var h=0;h<n;h++){var m=a[h]*l[h]-c[h]*d[h];c[h]=a[h]*d[h]+c[h]*l[h],a[h]=m}return this.conjugate(a,c,n),this.transform(a,c,f,o,n,s),this.conjugate(f,o,n),this.normalize13b(f,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),y(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,s=0;s<this.length;s++){var o=(0|this.words[s])*e,i=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=i>>>26,this.words[s]=67108863&i}return 0!==r&&(this.words[s]=r,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.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,s=r%26;t[r]=e.words[n]>>>s&1}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var s=r.sqr();n<t.length;n++,s=s.sqr())0!==t[n]&&(r=r.mul(s));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,s=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var i=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<r;this.words[t]=c|i,i=a>>>26-r}i&&(this.words[t]=i,this.length++)}if(0!==s){for(t=this.length-1;t>=0;t--)this.words[t+s]=this.words[t];for(t=0;t<s;t++)this.words[t]=0;this.length+=s}return this._strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var s;n("number"==typeof e&&e>=0),s=t?(t-t%26)/26:0;var o=e%26,i=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=r;if(s-=i,s=Math.max(0,s),c){for(var u=0;u<i;u++)c.words[u]=this.words[u];c.length=i}if(0===i);else if(this.length>i)for(this.length-=i,u=0;u<this.length;u++)this.words[u]=this.words[u+i];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=s);u--){var d=0|this.words[u];this.words[u]=l<<26-o|d>>>o,l=d&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,s=1<<t;return!(this.length<=r)&&!!(this.words[r]&s)},o.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 s=67108863^67108863>>>t<<t;this.words[this.length-1]&=s}return this._strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.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)},o.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},o.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()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var s,o,i=e.length+r;this._expand(i);var a=0;for(s=0;s<e.length;s++){o=(0|this.words[s+r])+a;var c=(0|e.words[s])*t;a=((o-=67108863&c)>>26)-(c/67108864|0),this.words[s+r]=67108863&o}for(;s<this.length-r;s++)a=(o=(0|this.words[s+r])+a)>>26,this.words[s+r]=67108863&o;if(0===a)return this._strip();for(n(-1===a),a=0,s=0;s<this.length;s++)a=(o=-(0|this.words[s])+a)>>26,this.words[s]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),s=e,i=0|s.words[s.length-1];0!==(r=26-this._countBits(i))&&(s=s.ushln(r),n.iushln(r),i=0|s.words[s.length-1]);var a,c=n.length-s.length;if("mod"!==t){(a=new o(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(s,1,c);0===l.negative&&(n=l,a&&(a.words[c]=1));for(var d=c-1;d>=0;d--){var f=67108864*(0|n.words[s.length+d])+(0|n.words[s.length+d-1]);for(f=Math.min(f/i|0,67108863),n._ishlnsubmul(s,f,d);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(s,1,d),n.isZero()||(n.negative^=1);a&&(a.words[d]=f)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(s=a.div.neg()),"div"!==t&&(i=a.mod.neg(),r&&0!==i.negative&&i.iadd(e)),{div:s,mod:i}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(s=a.div.neg()),{div:s,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 o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var s,i,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.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),s=e.andln(1),o=r.cmp(n);return o<0||1===s&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,s=0,o=this.length-1;o>=0;o--)s=(r*s+(0|this.words[o]))%e;return t?-s:s},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,s=this.length-1;s>=0;s--){var o=(0|this.words[s])+67108864*r;this.words[s]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.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 s=new o(1),i=new o(0),a=new o(0),c=new o(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),d=t.clone();!t.isZero();){for(var f=0,h=1;0===(t.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(s.isOdd()||i.isOdd())&&(s.iadd(l),i.isub(d)),s.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()||c.isOdd())&&(a.iadd(l),c.isub(d)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(a),i.isub(c)):(r.isub(t),a.isub(s),c.isub(i))}return{a:a,b:c,gcd:r.iushln(u)}},o.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 s,i=new o(1),a=new o(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)i.isOdd()&&i.iadd(c),i.iushrn(1);for(var d=0,f=1;0===(r.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(r.iushrn(d);d-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(a)):(r.isub(t),a.isub(i))}return(s=0===t.cmpn(1)?i:a).cmpn(0)<0&&s.iadd(e),s},o.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 s=t.cmp(r);if(s<0){var o=t;t=r,r=o}else if(0===s||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,s=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=s,this;for(var o=s,i=r;0!==o&&i<this.length;i++){var a=0|this.words[i];o=(a+=o)>>>26,a&=67108863,this.words[i]=a}return 0!==o&&(this.words[i]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.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 s=0|this.words[0];t=s===e?0:s<e?-1:1}return 0!==this.negative?0|-t:t},o.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},o.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],s=0|e.words[r];if(n!==s){n<s?t=-1:n>s&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new A(e)},o.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)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.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 x(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(e){if("string"==typeof e){var t=o._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 j(e){A.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}x.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},x.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},x.prototype.split=function(e,t){e.iushrn(this.n,0,t)},x.prototype.imulK=function(e){return e.imul(this.k)},s(_,x),_.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),s=0;s<n;s++)t.words[s]=e.words[s];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,s=10;s<e.length;s++){var i=0|e.words[s];e.words[s-10]=(i&r)<<4|o>>>22,o=i}o>>>=22,e.words[s-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},_.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},s(v,x),s(S,x),s(E,x),E.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,s=67108863&n;n>>>=26,e.words[r]=s,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(k[e])return k[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new v;else if("p192"===e)t=new S;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return k[e]=t,t},A.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},A.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")},A.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(l(e,e.umod(this.m)._forceRed(this)),e)},A.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},A.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)},A.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},A.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)},A.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},A.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},A.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},A.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},A.prototype.isqr=function(e){return this.imul(e,e.clone())},A.prototype.sqr=function(e){return this.mul(e,e)},A.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 o(1)).iushrn(2);return this.pow(e,r)}for(var s=this.m.subn(1),i=0;!s.isZero()&&0===s.andln(1);)i++,s.iushrn(1);n(!s.isZero());var a=new o(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,s),f=this.pow(e,s.addn(1).iushrn(1)),h=this.pow(e,s),m=i;0!==h.cmp(a);){for(var p=h,b=0;0!==p.cmp(a);b++)p=p.redSqr();n(b<m);var g=this.pow(d,new o(1).iushln(m-b-1));f=f.redMul(g),d=g.redSqr(),h=h.redMul(d),m=b}return f},A.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},A.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var s=r[0],i=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var d=u>>l&1;s!==r[0]&&(s=this.sqr(s)),0!==d||0!==i?(i<<=1,i|=d,(4===++a||0===n&&0===l)&&(s=this.mul(s,r[i]),a=0,i=0)):a=0}c=26}return s},A.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},A.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new j(e)},s(j,A),j.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},j.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},j.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),s=r.isub(n).iushrn(this.shift),o=s;return s.cmp(this.m)>=0?o=s.isub(this.m):s.cmpn(0)<0&&(o=s.iadd(this.m)),o._forceRed(this)},j.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),s=r.isub(n).iushrn(this.shift),i=s;return s.cmp(this.m)>=0?i=s.isub(this.m):s.cmpn(0)<0&&(i=s.iadd(this.m)),i._forceRed(this)},j.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,s;n=this,s=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,r),s.l=!0,s.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 s in e)r.d(n,s,function(t){return e[t]}.bind(null,s));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),s=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 s=e.getVersionPrecision(t),o=e.getVersionPrecision(r),i=Math.max(s,o),a=0,c=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(s,o)),i-=1;i>=a;){if(c[0][i]>c[1][i])return 1;if(c[0][i]===c[1][i]){if(i===a)return 0;i-=1}else if(c[0][i]<c[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 s=e[r];if(t(s,r))return s}},e.assign=function(e){for(var t,r,n=e,s=arguments.length,o=new Array(s>1?s-1:0),i=1;i<s;i++)o[i-1]=arguments[i];if(Object.assign)return Object.assign.apply(Object,[e].concat(o));var a=function(){var e=o[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach(function(t){n[t]=e[t]})};for(t=0,r=o.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=s,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,s=(n=r(91))&&n.__esModule?n:{default:n},o=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 s.default(e,t)},e.parse=function(e){return new s.default(e).getResult()},t=e,(r=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.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=c(r(92)),s=c(r(93)),o=c(r(94)),i=c(r(95)),a=c(r(17));function c(e){return e&&e.__esModule?e:{default:e}}var u=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(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.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(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.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,s={},o=0;if(Object.keys(e).forEach(function(t){var i=e[t];"string"==typeof i?(s[t]=i,o+=1):"object"==typeof i&&(r[t]=i,n+=1)}),n>0){var i=Object.keys(r),c=a.default.find(i,function(e){return t.isOS(e)});if(c){var u=this.satisfies(r[c]);if(void 0!==u)return u}var l=a.default.find(i,function(e){return t.isPlatform(e)});if(l){var d=this.satisfies(r[l]);if(void 0!==d)return d}}if(o>0){var f=Object.keys(s),h=a.default.find(f,function(e){return t.isBrowser(e,!0)});if(void 0!==h)return this.compareVersion(s[h])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),n=e.toLowerCase(),s=a.default.getBrowserTypeByAlias(n);return t&&s&&(n=s.toLowerCase()),n===r},t.compareVersion=function(e){var t=[0],r=e,n=!1,s=this.getBrowserVersion();if("string"==typeof s)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(s,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=u,e.exports=t.default},92:function(e,t,r){t.__esModule=!0,t.default=void 0;var n,s=(n=r(17))&&n.__esModule?n:{default:n},o=/version\/(\d+(\.?_?\d+)+)/i,i=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=s.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=s.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=s.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=s.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||s.default.getFirstMatch(o,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=s.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=s.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=s.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=s.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=s.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=s.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=s.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=s.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=s.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=s.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=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(o,e)||s.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=s.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=s.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=s.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=s.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=s.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},r=s.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=s.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=s.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=s.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=s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=s.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:s.default.getFirstMatch(t,e),version:s.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,s=(n=r(17))&&n.__esModule?n:{default:n},o=r(18),i=[{test:[/Roku\/DVP/],describe:function(e){var t=s.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=s.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=s.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=s.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},r=s.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=s.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=s.default.getMacOSVersionName(t),n={name:o.OS_MAP.MacOS,version:t};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=s.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.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=s.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=s.default.getAndroidVersionName(t),n={name:o.OS_MAP.Android,version:t};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=s.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:o.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=s.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||s.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||s.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=s.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=s.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=s.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.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,s=(n=r(17))&&n.__esModule?n:{default:n},o=r(18),i=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=s.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.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=s.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.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:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=i,e.exports=t.default},95:function(e,t,r){t.__esModule=!0,t.default=void 0;var n,s=(n=r(17))&&n.__esModule?n:{default:n},o=r(18),i=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=s.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},r=s.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:o.ENGINE_MAP.Presto},r=s.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:o.ENGINE_MAP.Gecko},r=s.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},r=s.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=s():"function"==typeof define&&define.amd?define([],s):"object"==typeof r?r.bowser=s():n.bowser=s()}}},{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 s(e){this.rand=e}if(t.exports=function(e){return n||(n=new s(null)),n.generate(e)},t.exports.Rand=s,s.prototype.generate=function(e){return this._rand(e)},s.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?s.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?s.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(s.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=e("crypto");if("function"!=typeof o.randomBytes)throw new Error("Not supported");s.prototype._rand=function(e){return o.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 s(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),s=0;s<t;s++)r[s]=e.readUInt32BE(4*s);return r}function o(e){for(;0<e.length;e++)e[0]=0}function i(e,t,r,n,s){for(var o,i,a,c,u=r[0],l=r[1],d=r[2],f=r[3],h=e[0]^t[0],m=e[1]^t[1],p=e[2]^t[2],b=e[3]^t[3],g=4,y=1;y<s;y++)o=u[h>>>24]^l[m>>>16&255]^d[p>>>8&255]^f[255&b]^t[g++],i=u[m>>>24]^l[p>>>16&255]^d[b>>>8&255]^f[255&h]^t[g++],a=u[p>>>24]^l[b>>>16&255]^d[h>>>8&255]^f[255&m]^t[g++],c=u[b>>>24]^l[h>>>16&255]^d[m>>>8&255]^f[255&p]^t[g++],h=o,m=i,p=a,b=c;return o=(n[h>>>24]<<24|n[m>>>16&255]<<16|n[p>>>8&255]<<8|n[255&b])^t[g++],i=(n[m>>>24]<<24|n[p>>>16&255]<<16|n[b>>>8&255]<<8|n[255&h])^t[g++],a=(n[p>>>24]<<24|n[b>>>16&255]<<16|n[h>>>8&255]<<8|n[255&m])^t[g++],c=(n[b>>>24]<<24|n[h>>>16&255]<<16|n[m>>>8&255]<<8|n[255&p])^t[g++],[o>>>=0,i>>>=0,a>>>=0,c>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],c=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=[],s=[[],[],[],[]],o=[[],[],[],[]],i=0,a=0,c=0;c<256;++c){var u=a^a<<1^a<<2^a<<3^a<<4;u=u>>>8^255&u^99,r[i]=u,n[u]=i;var l=e[i],d=e[l],f=e[d],h=257*e[u]^16843008*u;s[0][i]=h<<24|h>>>8,s[1][i]=h<<16|h>>>16,s[2][i]=h<<8|h>>>24,s[3][i]=h,h=16843009*f^65537*d^257*l^16843008*i,o[0][u]=h<<24|h>>>8,o[1][u]=h<<16|h>>>16,o[2][u]=h<<8|h>>>24,o[3][u]=h,0===i?i=a=1:(i=l^e[e[e[f^l]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:s,INV_SUB_MIX:o}}();function u(e){this._key=s(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),s=[],o=0;o<t;o++)s[o]=e[o];for(o=t;o<n;o++){var i=s[o-1];o%t===0?(i=i<<8|i>>>24,i=c.SBOX[i>>>24]<<24|c.SBOX[i>>>16&255]<<16|c.SBOX[i>>>8&255]<<8|c.SBOX[255&i],i^=a[o/t|0]<<24):t>6&&o%t===4&&(i=c.SBOX[i>>>24]<<24|c.SBOX[i>>>16&255]<<16|c.SBOX[i>>>8&255]<<8|c.SBOX[255&i]),s[o]=s[o-t]^i}for(var u=[],l=0;l<n;l++){var d=n-l,f=s[d-(l%4?0:4)];u[l]=l<4||d<=4?f:c.INV_SUB_MIX[0][c.SBOX[f>>>24]]^c.INV_SUB_MIX[1][c.SBOX[f>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[f>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&f]]}this._nRounds=r,this._keySchedule=s,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return i(e=s(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.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},u.prototype.decryptBlock=function(e){var t=(e=s(e))[1];e[1]=e[3],e[3]=t;var r=i(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=u}}},{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"),s=e("safe-buffer").Buffer,o=e("cipher-base"),i=e("inherits"),a=e("./ghash"),c=e("buffer-xor"),u=e("./incr32");function l(e,t,r,i){o.call(this);var c=s.alloc(4,0);this._cipher=new n.AES(t);var l=this._cipher.encryptBlock(c);this._ghash=new a(l),r=function(e,t,r){if(12===t.length)return e._finID=s.concat([t,s.from([0,0,0,1])]),s.concat([t,s.from([0,0,0,2])]);var n=new a(r),o=t.length,i=o%16;n.update(t),i&&(i=16-i,n.update(s.alloc(i,0))),n.update(s.alloc(8,0));var c=8*o,l=s.alloc(8);l.writeUIntBE(c,0,8),n.update(l),e._finID=n.state;var d=s.from(e._finID);return u(d),d}(this,r,l),this._prev=s.from(r),this._cache=s.allocUnsafe(0),this._secCache=s.allocUnsafe(0),this._decrypt=i,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}i(l,o),l.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=s.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},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(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),s=0;s<n;++s)r+=e[s]^t[s];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},l.prototype.getAuthTag=function(){if(this._decrypt||!s.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},l.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},l.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=l}}},{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"),s=e("./decrypter"),o=e("./modes/list.json");r.createCipher=r.Cipher=n.createCipher,r.createCipheriv=r.Cipheriv=n.createCipheriv,r.createDecipher=r.Decipher=s.createDecipher,r.createDecipheriv=r.Decipheriv=s.createDecipheriv,r.listCiphers=r.getCiphers=function(){return Object.keys(o)}}}},{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"),s=e("safe-buffer").Buffer,o=e("./modes"),i=e("./streamCipher"),a=e("cipher-base"),c=e("./aes"),u=e("evp_bytestokey");function l(e,t,r){a.call(this),this._cache=new d,this._last=void 0,this._cipher=new c.AES(t),this._prev=s.from(r),this._mode=e,this._autopadding=!0}function d(){this.cache=s.allocUnsafe(0)}function f(e,t,r){var a=o[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=s.from(r)),"GCM"!==a.mode&&r.length!==a.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=s.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 l(a.module,t,r)}e("inherits")(l,a),l.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 s.concat(n)},l.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")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=s.concat([this.cache,e])},d.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},d.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(e,t){var r=o[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(t,!1,r.key,r.iv);return f(e,n.key,n.iv)},r.createDecipheriv=f}}},{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"),s=e("./authCipher"),o=e("safe-buffer").Buffer,i=e("./streamCipher"),a=e("cipher-base"),c=e("./aes"),u=e("evp_bytestokey");function l(e,t,r){a.call(this),this._cache=new f,this._cipher=new c.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}e("inherits")(l,a),l.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 o.concat(n)};var d=o.alloc(16,16);function f(){this.cache=o.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=o.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=o.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 s(a.module,t,r):new l(a.module,t,r)}l.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(d))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.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(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},f.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return o.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 s=u(t,!1,r.key,r.iv);return h(e,s.key,s.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,s=n.alloc(16,0);function o(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)],s=[0,0,0,0],i=-1;++i<128;){for(!!(this.state[~~(i/8)]&1<<7-i%8)&&(s[0]^=n[0],s[1]^=n[1],s[2]^=n[2],s[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=o(s)},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,s],16)),this.ghash(o([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 s=e._cipher.decryptBlock(t);return n(s,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,s=e("buffer-xor");function o(e,t,r){var o=t.length,i=s(t,e._cache);return e._cache=e._cache.slice(o),e._prev=n.concat([e._prev,r?t:i]),i}r.encrypt=function(e,t,r){for(var s,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,o(e,t,r)]);break}s=e._cache.length,i=n.concat([i,o(e,t.slice(0,s),r)]),t=t.slice(s)}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 s(e,t,r){for(var n,s,i=-1,a=0;++i<8;)n=t&1<<7-i?128:0,a+=(128&(s=e._cipher.encryptBlock(e._prev)[0]^n))>>i%8,e._prev=o(e._prev,r?n:s);return a}function o(e,t){var r=e.length,s=-1,o=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++s<r;)o[s]=e[s]<<1|e[s+1]>>7;return o}r.encrypt=function(e,t,r){for(var o=t.length,i=n.allocUnsafe(o),a=-1;++a<o;)i[a]=s(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 s(e,t,r){var s=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:s])]),s}r.encrypt=function(e,t,r){for(var o=t.length,i=n.allocUnsafe(o),a=-1;++a<o;)i[a]=s(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"),s=e("safe-buffer").Buffer,o=e("../incr32");function i(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}r.encrypt=function(e,t){var r=Math.ceil(t.length/16),o=e._cache.length;e._cache=s.concat([e._cache,s.allocUnsafe(16*r)]);for(var a=0;a<r;a++){var c=i(e),u=o+16*a;e._cache.writeUInt32BE(c[0],u+0),e._cache.writeUInt32BE(c[1],u+4),e._cache.writeUInt32BE(c[2],u+8),e._cache.writeUInt32BE(c[3],u+12)}var l=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,l)}}}},{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")},s=e("./list.json");for(var o in s)s[o].module=n[s[o].mode];t.exports=s}}},{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 s(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,s(e)]);var o=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,o)}}).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"),s=e("safe-buffer").Buffer,o=e("cipher-base");function i(e,t,r,i){o.call(this),this._cipher=new n.AES(t),this._prev=s.from(r),this._cache=s.allocUnsafe(0),this._secCache=s.allocUnsafe(0),this._decrypt=i,this._mode=e}e("inherits")(i,o),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"),s=e("browserify-aes/browser"),o=e("browserify-aes/modes"),i=e("browserify-des/modes"),a=e("evp_bytestokey");function c(e,t,r){if(e=e.toLowerCase(),o[e])return s.createCipheriv(e,t,r);if(i[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function u(e,t,r){if(e=e.toLowerCase(),o[e])return s.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(),o[e])r=o[e].key,n=o[e].iv;else{if(!i[e])throw new TypeError("invalid suite type");r=8*i[e].key,n=i[e].iv}var s=a(t,!1,r,n);return c(e,s.key,s.iv)},r.createCipheriv=r.Cipheriv=c,r.createDecipher=r.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),o[e])r=o[e].key,n=o[e].iv;else{if(!i[e])throw new TypeError("invalid suite type");r=8*i[e].key,n=i[e].iv}var s=a(t,!1,r,n);return u(e,s.key,s.iv)},r.createDecipheriv=r.Decipheriv=u,r.listCiphers=r.getCiphers=function(){return Object.keys(i).concat(s.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"),s=e("des.js"),o=e("inherits"),i={"des-ede3-cbc":s.CBC.instantiate(s.EDE),"des-ede3":s.EDE,"des-ede-cbc":s.CBC.instantiate(s.EDE),"des-ede":s.EDE,"des-cbc":s.CBC.instantiate(s.DES),"des-ecb":s.DES};function a(e){n.call(this);var t,s=e.mode.toLowerCase(),o=i[s];t=e.decrypt?"decrypt":"encrypt";var a=e.key;"des-ede"!==s&&"des-ede-cbc"!==s||(a=r.concat([a,a.slice(0,8)]));var c=e.iv;this._des=o.create({key:a,iv:c,type:t})}i.des=i["des-cbc"],i.des3=i["des-ede3-cbc"],t.exports=a,o(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"),s=e("randombytes"),o=e("safe-buffer").Buffer;function i(e){var t,r=e.modulus.byteLength();do{t=new n(s(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),s=t.modulus.byteLength(),a=new n(e).mul(r.blinder).umod(t.modulus),c=a.toRed(n.mont(t.prime1)),u=a.toRed(n.mont(t.prime2)),l=t.coefficient,d=t.prime1,f=t.prime2,h=c.redPow(t.exponent1).fromRed(),m=u.redPow(t.exponent2).fromRed(),p=h.isub(m).imul(l).umod(d).imul(f);return m.iadd(p).imul(r.unblinder).umod(t.modulus).toArrayLike(o,"be",s)}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,s=e("create-hash"),o=e("readable-stream"),i=e("inherits"),a=e("./sign"),c=e("./verify"),u=e("./algorithms.json");function l(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=s(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hash=s(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){return new l(e)}function h(e){return new d(e)}Object.keys(u).forEach(function(e){u[e].id=n.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]}),i(l,o.Writable),l.prototype._write=function(e,t,r){this._hash.update(e),r()},l.prototype.update=function(e,t){return this._hash.update("string"==typeof e?n.from(e,t):e),this},l.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(d,o.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.verify=function(e,t,r){var s="string"==typeof t?n.from(t,r):t;this.end();var o=this._hash.digest();return c(s,o,e,this._signType,this._tag)},t.exports={Sign:f,Verify:h,createSign:f,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,s=e("create-hmac"),o=e("browserify-rsa"),i=e("elliptic").ec,a=e("bn.js"),c=e("parse-asn1"),u=e("./curves.json");function l(e,t,r,o){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,c=function(e,t){e=d(e,t),e=e.mod(t);var r=n.from(e.toArray());if(r.length<t.byteLength()){var s=n.alloc(t.byteLength()-r.length);r=n.concat([s,r])}return r}(r,t),u=n.alloc(a);u.fill(1);var l=n.alloc(a);return l=s(o,l).update(u).update(n.from([0])).update(e).update(c).digest(),u=s(o,l).update(u).digest(),{k:l=s(o,l).update(u).update(n.from([1])).update(e).update(c).digest(),v:u=s(o,l).update(u).digest()}}function d(e,t){var r=new a(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function f(e,t,r){var o,i;do{for(o=n.alloc(0);8*o.length<e.bitLength();)t.v=s(r,t.k).update(t.v).digest(),o=n.concat([o,t.v]);i=d(o,e),t.k=s(r,t.k).update(t.v).update(n.from([0])).digest(),t.v=s(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,s,m){var p=c(t);if(p.curve){if("ecdsa"!==s&&"ecdsa/rsa"!==s)throw new Error("wrong private key type");return function(e,t){var r=u[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var s=new i(r).keyFromPrivate(t.privateKey),o=s.sign(e);return n.from(o.toDER())}(e,p)}if("dsa"===p.type){if("dsa"!==s)throw new Error("wrong private key type");return function(e,t,r){var s,o=t.params.priv_key,i=t.params.p,c=t.params.q,u=t.params.g,m=new a(0),p=d(e,c).mod(c),b=!1,g=l(o,c,e,r);for(;!1===b;)m=h(u,s=f(c,g,r),i,c),0===(b=s.invm(c).imul(p.add(o.mul(m))).mod(c)).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,s=[48,r,2,e.length];return s=s.concat(e,[2,t.length],t),n.from(s)}(m,b)}(e,p,r)}if("rsa"!==s&&"ecdsa/rsa"!==s)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(),g=[0,1];e.length+g.length+1<b;)g.push(255);g.push(0);for(var y=-1;++y<e.length;)g.push(e[y]);return o(g,p)},t.exports.getKey=l,t.exports.makeKey=f}}},{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,s=e("bn.js"),o=e("elliptic").ec,i=e("parse-asn1"),a=e("./curves.json");function c(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,u,l){var d=i(r);if("ec"===d.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)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 s=new o(n),i=r.data.subjectPrivateKey.data;return s.verify(t,e,i)}(e,t,d)}if("dsa"===d.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=r.data.p,o=r.data.q,a=r.data.g,u=r.data.pub_key,l=i.signature.decode(e,"der"),d=l.s,f=l.r;c(d,o),c(f,o);var h=s.mont(n),m=d.invm(o),p=a.toRed(h).redPow(new s(t).mul(m).mod(o)).fromRed().mul(u.toRed(h).redPow(f.mul(m).mod(o)).fromRed()).mod(n).mod(o);return 0===p.cmp(f)}(e,t,d)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");t=n.concat([l,t]);for(var f=d.modulus.byteLength(),h=[1],m=0;t.length+h.length+2<f;)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=s.mont(d.modulus);e=(e=new s(e).toRed(b)).redPow(new s(d.publicExponent)),e=n.from(e.fromRed().toArray());var g=m<8?1:0;for(f=Math.min(e.length,h.length),e.length!==h.length&&(g=1),p=-1;++p<f;)g|=e[p]^h[p];return 0===g}}}},{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"),s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=d;var o=Object.create(e("core-util-is"));o.inherits=e("inherits");var i=e("./_stream_readable"),a=e("./_stream_writable");o.inherits(d,i);for(var c=s(a.prototype),u=0;u<c.length;u++){var l=c[u];d.prototype[l]||(d.prototype[l]=a.prototype[l])}function d(e){if(!(this instanceof d))return new d(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",f)}function f(){this.allowHalfOpen||this._writableState.ended||n.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.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)}}),d.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=o;var n=e("./_stream_transform"),s=Object.create(e("core-util-is"));function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}s.inherits=e("inherits"),s.inherits(o,n),o.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=y;var s,o=e("isarray");y.ReadableState=g;e("events").EventEmitter;var i=function(e,t){return e.listeners(t).length},a=e("./internal/streams/stream"),c=e("safe-buffer").Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l=Object.create(e("core-util-is"));l.inherits=e("inherits");var d=e("util"),f=void 0;f=d&&d.debuglog?d.debuglog("stream"):function(){};var h,m=e("./internal/streams/BufferList"),p=e("./internal/streams/destroy");l.inherits(y,a);var b=["error","close","destroy","pause","resume"];function g(t,r){t=t||{};var n=r instanceof(s=s||e("./_stream_duplex"));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var o=t.highWaterMark,i=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=o||0===o?o: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 y(t){if(s=s||e("./_stream_duplex"),!(this instanceof y))return new y(t);this._readableState=new g(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,s){var o,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,v(e)}(e,i)):(s||(o=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof u||"string"==typeof t||t===undefined||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(i,t)),o?e.emit("error",o):i.objectMode||t&&t.length>0?("string"==typeof t||i.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.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):E(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&&v(e)),E(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=p.destroy,y.prototype._undestroy=p.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.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=c.from(e,t),t=""),r=!0),w(this,e,t,!1,r)},y.prototype.unshift=function(e){return w(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(t){return h||(h=e("string_decoder/").StringDecoder),this._readableState.decoder=new h(t),this._readableState.encoding=t,this};var x=8388608;function _(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>=x?e=x:(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 v(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(S,e):S(e))}function S(e){f("emit readable"),e.emit("readable"),B(e)}function E(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(A,e,t))}function A(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(f("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function j(e){f("readable nexttick read 0"),e.read(0)}function T(e,t){t.reading||(f("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),B(e),t.flowing&&!t.reading&&e.read(0)}function B(e){var t=e._readableState;for(f("flow",t.flowing);t.flowing&&null!==e.read(););}function M(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,s=r.data;e-=s.length;for(;r=r.next;){var o=r.data,i=e>o.length?o.length:e;if(i===o.length?s+=o:s+=o.slice(0,e),0===(e-=i)){i===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(i));break}++n}return t.length-=n,s}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,s=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,i=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,i),0===(e-=i)){i===o.length?(++s,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(i));break}++s}return t.length-=s,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function O(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(C,t,e))}function C(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function L(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}y.prototype.read=function(e){f("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 f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?O(this):v(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&O(this),null;var n,s=t.needReadable;return f("need readable",s),(0===t.length||t.length-e<t.highWaterMark)&&f("length less than watermark",s=!0),t.ended||t.reading?f("reading or ended",s=!1):s&&(f("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=_(r,t))),null===(n=e>0?M(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&O(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var s=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,f("pipe count=%d opts=%j",a.pipesCount,t);var c=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?l:w;function u(t,r){f("onunpipe"),t===s&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,f("cleanup"),e.removeListener("close",g),e.removeListener("finish",y),e.removeListener("drain",d),e.removeListener("error",b),e.removeListener("unpipe",u),s.removeListener("end",l),s.removeListener("end",w),s.removeListener("data",p),h=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function l(){f("onend"),e.end()}a.endEmitted?n.nextTick(c):s.once("end",c),e.on("unpipe",u);var d=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,B(e))}}(s);e.on("drain",d);var h=!1;var m=!1;function p(t){f("ondata"),m=!1,!1!==e.write(t)||m||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==L(a.pipes,e))&&!h&&(f("false write response, pause",a.awaitDrain),a.awaitDrain++,m=!0),s.pause())}function b(t){f("onerror",t),w(),e.removeListener("error",b),0===i(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",y),w()}function y(){f("onfinish"),e.removeListener("close",g),w()}function w(){f("unpipe"),s.unpipe(e)}return s.on("data",p),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(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",g),e.once("finish",y),e.emit("pipe",s),a.flowing||(f("pipe resume"),s.resume()),e},y.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,s=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<s;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var i=L(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},y.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 s=this._readableState;s.endEmitted||s.readableListening||(s.readableListening=s.needReadable=!0,s.emittedReadable=!1,s.reading?s.length&&v(this):n.nextTick(j,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(T,e,t))}(this,e)),this},y.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var s in e.on("end",function(){if(f("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(s){(f("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!r.objectMode||null!==s&&s!==undefined)&&((r.objectMode||s&&s.length)&&(t.push(s)||(n=!0,e.pause())))}),e)this[s]===undefined&&"function"==typeof e[s]&&(this[s]=function(t){return function(){return e[t].apply(e,arguments)}}(s));for(var o=0;o<b.length;o++)e.on(b[o],this.emit.bind(this,b[o]));return this._read=function(t){f("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=M}).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"),s=Object.create(e("core-util-is"));function o(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 s=this._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);n.call(this,e),this._transformState={afterTransform:o.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){c(e,t,r)}):c(this,null,null)}function c(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)}s.inherits=e("inherits"),s.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 s=this._readableState;(n.needTransform||s.needReadable||s.length<s.highWaterMark)&&this._read(s.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 s=e("process-nextick-args");function o(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 s=n.callback;t.pendingcb--,s(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}t.exports=g;var i,a=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?n:s.nextTick;g.WritableState=b;var c=Object.create(e("core-util-is"));c.inherits=e("inherits");var u={deprecate:e("util-deprecate")},l=e("./internal/streams/stream"),d=e("safe-buffer").Buffer,f=("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 c=t.highWaterMark,u=t.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:n&&(u||0===u)?u:l,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 d=!1===t.decodeStrings;this.decodeStrings=!d,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,o=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,o){--t.pendingcb,r?(s.nextTick(o,n),s.nextTick(v,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(o(n),e._writableState.errorEmitted=!0,e.emit("error",n),v(e,t))}(e,r,n,t,o);else{var i=x(r);i||r.corked||r.bufferProcessing||!r.bufferedRequest||k(e,r),n?a(w,e,r,i,o):w(e,r,i,o)}}(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 o(this)}function g(t){if(i=i||e("./_stream_duplex"),!(h.call(g,this)||this instanceof i))return new g(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)),l.call(this)}function y(e,t,r,n,s,o,i){t.writelen=n,t.writecb=i,t.writing=!0,t.sync=!0,r?e._writev(s,t.onwrite):e._write(s,o,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(),v(e,t)}function k(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,s=new Array(n),i=t.corkedRequestsFree;i.entry=r;for(var a=0,c=!0;r;)s[a]=r,r.isBuf||(c=!1),r=r.next,a+=1;s.allBuffers=c,y(e,t,!0,t.length,s,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,d=r.callback;if(y(e,t,!1,t.objectMode?1:u.length,u,l,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function x(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),v(e,t)})}function v(e,t){var r=x(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,s.nextTick(_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}c.inherits(g,l),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:u.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(g,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===g&&(e&&e._writableState instanceof b)}})):h=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,r){var n,o=this._writableState,i=!1,a=!o.objectMode&&(n=e,d.isBuffer(n)||n instanceof f);return a&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=p),o.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),s.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var o=!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),s.nextTick(n,i),o=!1),o}(this,o,e,r))&&(o.pendingcb++,i=function(e,t,r,n,s,o){if(!r){var i=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,r));return t}(t,n,s);n!==i&&(r=!0,s="buffer",n=i)}var a=t.objectMode?1:n.length;t.length+=a;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:s,isBuf:r,callback:o,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else y(e,t,!1,a,n,s,o);return c}(this,o,a,e,t,r)),i},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||k(this,e))},g.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(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},g.prototype._writev=null,g.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,v(e,t),r&&(t.finished?s.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.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,s=e("util");function o(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,s=0;r;)o(r.data,t,s),s+=r.data.length,r=r.next;return t},e}(),s&&s.inspect&&s.inspect.custom&&(t.exports.prototype[s.inspect.custom]=function(){var e=s.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 s(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var r=this,o=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return o||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(s,this,e)):n.nextTick(s,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(s,r,e)):n.nextTick(s,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"),s=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return s(e,t,r)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?t.exports=n:(o(n,r),r.Buffer=i),o(s,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=s(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 s(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,s=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=u,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=l,this.end=d,t=3;break;default:return this.write=f,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 c(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(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 d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}r.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if((t=this.fillLast(e))===undefined)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var s=i(t[n]);if(s>=0)return s>0&&(e.lastNeed=s-1),s;if(--n<r||-2===s)return 0;if(s=i(t[n]),s>=0)return s>0&&(e.lastNeed=s-2),s;if(--n<r||-2===s)return 0;if(s=i(t[n]),s>=0)return s>0&&(2===s?s=0:e.lastNeed=s-3),s;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}}},{package:"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"),s=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return s(e,t,r)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?t.exports=n:(o(n,r),r.Buffer=i),o(s,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=s(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 s(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 s=e("assert"),o=e("pako/lib/zlib/zstream"),i=e("pako/lib/zlib/deflate.js"),a=e("pako/lib/zlib/inflate.js"),c=e("pako/lib/zlib/constants");for(var u in c)r[u]=c[u];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 l(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}l.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,s(this.init_done,"close before init"),s(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)},l.prototype.write=function(e,t,r,n,s,o,i){return this._write(!0,e,t,r,n,s,o,i)},l.prototype.writeSync=function(e,t,r,n,s,o,i){return this._write(!1,e,t,r,n,s,o,i)},l.prototype._write=function(e,o,i,a,c,u,l,d){if(s.equal(arguments.length,8),s(this.init_done,"write before init"),s(this.mode!==r.NONE,"already finalized"),s.equal(!1,this.write_in_progress,"write already in progress"),s.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,s.equal(!1,o===undefined,"must provide flush value"),this.write_in_progress=!0,o!==r.Z_NO_FLUSH&&o!==r.Z_PARTIAL_FLUSH&&o!==r.Z_SYNC_FLUSH&&o!==r.Z_FULL_FLUSH&&o!==r.Z_FINISH&&o!==r.Z_BLOCK)throw new Error("Invalid flush value");if(null==i&&(i=n.alloc(0),c=0,a=0),this.strm.avail_in=c,this.strm.input=i,this.strm.next_in=a,this.strm.avail_out=d,this.strm.output=u,this.strm.next_out=l,this.flush=o,!e)return this._process(),this._checkError()?this._afterSync():void 0;var f=this;return t.nextTick(function(){f._process(),f._after()}),this},l.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},l.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)}},l.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},l.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()}},l.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()},l.prototype.init=function(e,t,n,o,i){s(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),s(e>=8&&e<=15,"invalid windowBits"),s(t>=-1&&t<=9,"invalid compression level"),s(n>=1&&n<=9,"invalid memlevel"),s(o===r.Z_FILTERED||o===r.Z_HUFFMAN_ONLY||o===r.Z_RLE||o===r.Z_FIXED||o===r.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(t,e,n,o,i),this._setDictionary()},l.prototype.params=function(){throw new Error("deflateParams Not supported")},l.prototype.reset=function(){this._reset(),this._setDictionary()},l.prototype._init=function(e,t,n,s,c){switch(this.level=e,this.windowBits=t,this.memLevel=n,this.strategy=s,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 o,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=c,this.write_in_progress=!1,this.init_done=!0},l.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")}},l.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=l}).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,s=e("stream").Transform,o=e("./binding"),i=e("util"),a=e("assert").ok,c=e("buffer").kMaxLength,u="Cannot create final Buffer. It would be larger than 0x"+c.toString(16)+" bytes";o.Z_MIN_WINDOWBITS=8,o.Z_MAX_WINDOWBITS=15,o.Z_DEFAULT_WINDOWBITS=15,o.Z_MIN_CHUNK=64,o.Z_MAX_CHUNK=Infinity,o.Z_DEFAULT_CHUNK=16384,o.Z_MIN_MEMLEVEL=1,o.Z_MAX_MEMLEVEL=9,o.Z_DEFAULT_MEMLEVEL=8,o.Z_MIN_LEVEL=-1,o.Z_MAX_LEVEL=9,o.Z_DEFAULT_LEVEL=o.Z_DEFAULT_COMPRESSION;for(var l=Object.keys(o),d=0;d<l.length;d++){var f=l[d];f.match(/^Z/)&&Object.defineProperty(r,f,{enumerable:!0,value:o[f],writable:!1})}for(var h={Z_OK:o.Z_OK,Z_STREAM_END:o.Z_STREAM_END,Z_NEED_DICT:o.Z_NEED_DICT,Z_ERRNO:o.Z_ERRNO,Z_STREAM_ERROR:o.Z_STREAM_ERROR,Z_DATA_ERROR:o.Z_DATA_ERROR,Z_MEM_ERROR:o.Z_MEM_ERROR,Z_BUF_ERROR:o.Z_BUF_ERROR,Z_VERSION_ERROR:o.Z_VERSION_ERROR},m=Object.keys(h),p=0;p<m.length;p++){var b=m[p];h[h[b]]=b}function g(e,t,r){var s=[],o=0;function i(){for(var t;null!==(t=e.read());)s.push(t),o+=t.length;e.once("readable",i)}function a(){var t,i=null;o>=c?i=new RangeError(u):t=n.concat(s,o),s=[],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 y(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);j.call(this,e,o.DEFLATE)}function k(e){if(!(this instanceof k))return new k(e);j.call(this,e,o.INFLATE)}function x(e){if(!(this instanceof x))return new x(e);j.call(this,e,o.GZIP)}function _(e){if(!(this instanceof _))return new _(e);j.call(this,e,o.GUNZIP)}function v(e){if(!(this instanceof v))return new v(e);j.call(this,e,o.DEFLATERAW)}function S(e){if(!(this instanceof S))return new S(e);j.call(this,e,o.INFLATERAW)}function E(e){if(!(this instanceof E))return new E(e);j.call(this,e,o.UNZIP)}function A(e){return e===o.Z_NO_FLUSH||e===o.Z_PARTIAL_FLUSH||e===o.Z_SYNC_FLUSH||e===o.Z_FULL_FLUSH||e===o.Z_FINISH||e===o.Z_BLOCK}function j(e,t){var i=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||r.Z_DEFAULT_CHUNK,s.call(this,e),e.flush&&!A(e.flush))throw new Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!A(e.finishFlush))throw new Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||o.Z_NO_FLUSH,this._finishFlushFlag=void 0!==e.finishFlush?e.finishFlush:o.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 o.Zlib(t);var a=this;this._hadError=!1,this._handle.onerror=function(e,t){T(a),a._hadError=!0;var n=new Error(e);n.errno=t,n.code=r.codes[t],a.emit("error",n)};var c=r.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(c=e.level);var u=r.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(u=e.strategy),this._handle.init(e.windowBits||r.Z_DEFAULT_WINDOWBITS,c,e.memLevel||r.Z_DEFAULT_MEMLEVEL,u,e.dictionary),this._buffer=n.allocUnsafe(this._chunkSize),this._offset=0,this._level=c,this._strategy=u,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!i._handle},configurable:!0,enumerable:!0})}function T(e,r){r&&t.nextTick(r),e._handle&&(e._handle.close(),e._handle=null)}function B(e){e.emit("close")}Object.defineProperty(r,"codes",{enumerable:!0,value:Object.freeze(h),writable:!1}),r.Deflate=w,r.Inflate=k,r.Gzip=x,r.Gunzip=_,r.DeflateRaw=v,r.InflateRaw=S,r.Unzip=E,r.createDeflate=function(e){return new w(e)},r.createInflate=function(e){return new k(e)},r.createDeflateRaw=function(e){return new v(e)},r.createInflateRaw=function(e){return new S(e)},r.createGzip=function(e){return new x(e)},r.createGunzip=function(e){return new _(e)},r.createUnzip=function(e){return new E(e)},r.deflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new w(t),e,r)},r.deflateSync=function(e,t){return y(new w(t),e)},r.gzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new x(t),e,r)},r.gzipSync=function(e,t){return y(new x(t),e)},r.deflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new v(t),e,r)},r.deflateRawSync=function(e,t){return y(new v(t),e)},r.unzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new E(t),e,r)},r.unzipSync=function(e,t){return y(new E(t),e)},r.inflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new k(t),e,r)},r.inflateSync=function(e,t){return y(new k(t),e)},r.gunzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new _(t),e,r)},r.gunzipSync=function(e,t){return y(new _(t),e)},r.inflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new S(t),e,r)},r.inflateRawSync=function(e,t){return y(new S(t),e)},i.inherits(j,s),j.prototype.params=function(e,n,s){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(o.Z_SYNC_FLUSH,function(){a(i._handle,"zlib binding closed"),i._handle.params(e,n),i._hadError||(i._level=e,i._strategy=n,s&&s())})}else t.nextTick(s)},j.prototype.reset=function(){return a(this._handle,"zlib binding closed"),this._handle.reset()},j.prototype._flush=function(e){this._transform(n.alloc(0),"",e)},j.prototype.flush=function(e,r){var s=this,i=this._writableState;("function"==typeof e||e===undefined&&!r)&&(r=e,e=o.Z_FULL_FLUSH),i.ended?r&&t.nextTick(r):i.ending?r&&this.once("end",r):i.needDrain?r&&this.once("drain",function(){return s.flush(e,r)}):(this._flushFlag=e,this.write(n.alloc(0),"",r))},j.prototype.close=function(e){T(this,e),t.nextTick(B,this)},j.prototype._transform=function(e,t,r){var s,i=this._writableState,a=(i.ending||i.ended)&&(!e||i.length===e.length);return null===e||n.isBuffer(e)?this._handle?(a?s=this._finishFlushFlag:(s=this._flushFlag,e.length>=i.length&&(this._flushFlag=this._opts.flush||o.Z_NO_FLUSH)),void this._processChunk(e,s,r)):r(new Error("zlib binding closed")):r(new Error("invalid input"))},j.prototype._processChunk=function(e,t,r){var s=e&&e.length,o=this._chunkSize-this._offset,i=0,l=this,d="function"==typeof r;if(!d){var f,h=[],m=0;this.on("error",function(e){f=e}),a(this._handle,"zlib binding closed");do{var p=this._handle.writeSync(t,e,i,s,this._buffer,this._offset,o)}while(!this._hadError&&y(p[0],p[1]));if(this._hadError)throw f;if(m>=c)throw T(this),new RangeError(u);var b=n.concat(h,m);return T(this),b}a(this._handle,"zlib binding closed");var g=this._handle.write(t,e,i,s,this._buffer,this._offset,o);function y(c,u){if(this&&(this.buffer=null,this.callback=null),!l._hadError){var f=o-u;if(a(f>=0,"have should not go down"),f>0){var p=l._buffer.slice(l._offset,l._offset+f);l._offset+=f,d?l.push(p):(h.push(p),m+=p.length)}if((0===u||l._offset>=l._chunkSize)&&(o=l._chunkSize,l._offset=0,l._buffer=n.allocUnsafe(l._chunkSize)),0===u){if(i+=s-c,s=c,!d)return!0;var b=l._handle.write(t,e,i,s,l._buffer,l._offset,l._chunkSize);return b.callback=y,void(b.buffer=e)}if(!d)return!1;r()}}g.buffer=e,g.callback=y},i.inherits(w,j),i.inherits(k,j),i.inherits(x,j),i.inherits(_,j),i.inherits(v,j),i.inherits(S,j),i.inherits(E,j)}).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 s(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,s=0,o=Math.min(r,n);s<o;++s)if(e[s]!==t[s]){r=e[s],n=t[s];break}return r<n?-1:n<r?1:0}function o(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,c=Array.prototype.slice,u="foo"===function(){}.name;function l(e){return Object.prototype.toString.call(e)}function d(e){return!o(e)&&("function"==typeof global.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var f=t.exports=y,h=/\s*function\s+([^\(\s]*)\s*/;function m(e){if(i.isFunction(e)){if(u)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(u||!i.isFunction(e))return i.inspect(e);var t=m(e);return"[Function"+(t?": "+t:"")+"]"}function g(e,t,r,n,s){throw new f.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:s})}function y(e,t){e||g(e,!0,t,"==",f.ok)}function w(e,t,r,n){if(e===t)return!0;if(o(e)&&o(t))return 0===s(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(d(e)&&d(t)&&l(e)===l(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===s(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(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 s=k(e),o=k(t);if(s&&!o||!s&&o)return!1;if(s)return w(e=c.call(e),t=c.call(t),r);var a,u,l=v(e),d=v(t);if(l.length!==d.length)return!1;for(l.sort(),d.sort(),u=l.length-1;u>=0;u--)if(l[u]!==d[u])return!1;for(u=l.length-1;u>=0;u--)if(!w(e[a=l[u]],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 x(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 _(e,t,r,n){var s;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),s=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!s&&g(s,r,"Missing expected exception"+n);var o="string"==typeof n,a=!e&&s&&!r;if((!e&&i.isError(s)&&o&&x(s,r)||a)&&g(s,r,"Got unwanted exception"+n),e&&s&&r&&!x(s,r)||!e&&s)throw s}f.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||g;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,s=m(t),o=n.indexOf("\n"+s);if(o>=0){var i=n.indexOf("\n",o+1);n=n.substring(i+1)}this.stack=n}}},i.inherits(f.AssertionError,Error),f.fail=g,f.ok=y,f.equal=function(e,t,r){e!=t&&g(e,t,r,"==",f.equal)},f.notEqual=function(e,t,r){e==t&&g(e,t,r,"!=",f.notEqual)},f.deepEqual=function(e,t,r){w(e,t,!1)||g(e,t,r,"deepEqual",f.deepEqual)},f.deepStrictEqual=function(e,t,r){w(e,t,!0)||g(e,t,r,"deepStrictEqual",f.deepStrictEqual)},f.notDeepEqual=function(e,t,r){w(e,t,!1)&&g(e,t,r,"notDeepEqual",f.notDeepEqual)},f.notDeepStrictEqual=function e(t,r,n){w(t,r,!0)&&g(t,r,n,"notDeepStrictEqual",e)},f.strictEqual=function(e,t,r){e!==t&&g(e,t,r,"===",f.strictEqual)},f.notStrictEqual=function(e,t,r){e===t&&g(e,t,r,"!==",f.notStrictEqual)},f.throws=function(e,t,r){_(!0,e,t,r)},f.doesNotThrow=function(e,t,r){_(!1,e,t,r)},f.ifError=function(e){if(e)throw e},f.strict=n(function e(t,r){t||g(t,!0,r,"==",e)},f,{equal:f.strictEqual,deepEqual:f.deepStrictEqual,notEqual:f.notStrictEqual,notDeepEqual:f.notDeepStrictEqual}),f.strict.strict=f.strict;var v=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 s=arguments,o=s.length,a=String(e).replace(n,function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(s[r++]);case"%d":return Number(s[r++]);case"%j":try{return JSON.stringify(s[r++])}catch(e){return"[Circular]"}default:return e}}),c=s[r];r<o;c=s[++r])m(c)||!w(c)?a+=" "+c:a+=" "+i(c);return a},r.deprecate=function(e,n){if(g(global.process))return function(){return r.deprecate(e,n).apply(this,arguments)};if(!0===t.noDeprecation)return e;var s=!1;return function(){if(!s){if(t.throwDeprecation)throw new Error(n);t.traceDeprecation?console.trace(n):console.error(n),s=!0}return e.apply(this,arguments)}};var s,o={};function i(e,t){var n={seen:[],stylize:c};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),g(n.showHidden)&&(n.showHidden=!1),g(n.depth)&&(n.depth=2),g(n.colors)&&(n.colors=!1),g(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=a),u(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 c(e,t){return e}function u(e,t,n){if(e.customInspect&&t&&_(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var s=t.inspect(n,e);return b(s)||(s=u(e,s,n)),s}var o=function(e,t){if(g(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(o)return o;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)),x(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return l(t);if(0===i.length){if(_(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(y(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(x(t))return l(t)}var w,v="",S=!1,E=["{","}"];(f(t)&&(S=!0,E=["[","]"]),_(t))&&(v=" [Function"+(t.name?": "+t.name:"")+"]");return y(t)&&(v=" "+RegExp.prototype.toString.call(t)),k(t)&&(v=" "+Date.prototype.toUTCString.call(t)),x(t)&&(v=" "+l(t)),0!==i.length||S&&0!=t.length?n<0?y(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),w=S?function(e,t,r,n,s){for(var o=[],i=0,a=t.length;i<a;++i)A(t,String(i))?o.push(d(e,t,r,n,String(i),!0)):o.push("");return s.forEach(function(s){s.match(/^\d+$/)||o.push(d(e,t,r,n,s,!0))}),o}(e,t,n,a,i):i.map(function(r){return d(e,t,n,a,r,S)}),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,v,E)):E[0]+v+E[1]}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,s,o){var i,a,c;if((c=Object.getOwnPropertyDescriptor(t,s)||{value:t[s]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),A(n,s)||(i="["+s+"]"),a||(e.seen.indexOf(c.value)<0?(a=m(r)?u(e,c.value,null):u(e,c.value,r-1)).indexOf("\n")>-1&&(a=o?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")),g(i)){if(o&&s.match(/^\d+$/))return a;(i=JSON.stringify(""+s)).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 f(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 g(e){return void 0===e}function y(e){return w(e)&&"[object RegExp]"===v(e)}function w(e){return"object"==typeof e&&null!==e}function k(e){return w(e)&&"[object Date]"===v(e)}function x(e){return w(e)&&("[object Error]"===v(e)||e instanceof Error)}function _(e){return"function"==typeof e}function v(e){return Object.prototype.toString.call(e)}function S(e){return e<10?"0"+e.toString(10):e.toString(10)}r.debuglog=function(e){if(g(s)&&(s=""),e=e.toUpperCase(),!o[e])if(new RegExp("\\b"+e+"\\b","i").test(s)){var n=t.pid;o[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else o[e]=function(){};return o[e]},r.inspect=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=f,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=g,r.isRegExp=y,r.isObject=w,r.isDate=k,r.isError=x,r.isFunction=_,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 E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.log=function(){var e,t;console.log("%s - %s",(e=new Date,t=[S(e.getHours()),S(e.getMinutes()),S(e.getSeconds())].join(":"),[e.getDate(),E[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"),s=e("ieee754");r.Buffer=a,r.SlowBuffer=function(e){+e!=e&&(e=0);return a.alloc(+e)},r.INSPECT_MAX_BYTES=50;var o=2147483647;function i(e){if(e>o)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 l(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(!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|h(e,t),n=i(r),s=n.write(e,t);s!==r&&(n=n.slice(0,s));return n}(e,t);if(ArrayBuffer.isView(e))return d(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($(e,ArrayBuffer)||e&&$(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 s=function(e){if(a.isBuffer(e)){var t=0|f(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||H(e.length)?i(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(s)return s;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 u(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 l(e){return u(e),i(e<0?0:0|f(e))}function d(e){for(var t=e.length<0?0:0|f(e.length),r=i(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e){if(e>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function h(e,t){if(a.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);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var s=!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(s)return n?-1:D(e).length;t=(""+t).toLowerCase(),s=!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 B(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return j(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 p(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,s){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),H(r=+r)&&(r=s?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(s)return-1;r=e.length-1}else if(r<0){if(!s)return-1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,s);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,s);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,s){var o,i=1,a=e.length,c=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,c/=2,r/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(s){var l=-1;for(o=r;o<a;o++)if(u(e,o)===u(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*i}else-1!==l&&(o-=o-l),l=-1}else for(r+c>a&&(r=a-c),o=r;o>=0;o--){for(var d=!0,f=0;f<c;f++)if(u(e,o+f)!==u(t,f)){d=!1;break}if(d)return o}return-1}function y(e,t,r,n){r=Number(r)||0;var s=e.length-r;n?(n=Number(n))>s&&(n=s):n=s;var o=t.length;n>o/2&&(n=o/2);for(var i=0;i<n;++i){var a=parseInt(t.substr(2*i,2),16);if(H(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 x(e,t,r,n){return k(e,t,r,n)}function _(e,t,r,n){return U(F(t),e,r,n)}function v(e,t,r,n){return U(function(e,t){for(var r,n,s,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,s=r%256,o.push(s),o.push(n);return o}(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);for(var n=[],s=t;s<r;){var o,i,a,c,u=e[s],l=null,d=u>239?4:u>223?3:u>191?2:1;if(s+d<=r)switch(d){case 1:u<128&&(l=u);break;case 2:128==(192&(o=e[s+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=e[s+1],i=e[s+2],128==(192&o)&&128==(192&i)&&(c=(15&u)<<12|(63&o)<<6|63&i)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=e[s+1],i=e[s+2],a=e[s+3],128==(192&o)&&128==(192&i)&&128==(192&a)&&(c=(15&u)<<18|(63&o)<<12|(63&i)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,d=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),s+=d}return function(e){var t=e.length;if(t<=A)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=A));return r}(n)}r.kMaxLength=o,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 c(e,t,r)},a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,a.alloc=function(e,t,r){return function(e,t,r){return u(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 l(e)},a.allocUnsafeSlow=function(e){return l(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if($(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),$(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,s=0,o=Math.min(r,n);s<o;++s)if(e[s]!==t[s]){r=e[s],n=t[s];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),s=0;for(r=0;r<e.length;++r){var o=e[r];if($(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,s),s+=o.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?E(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,s){if($(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),s===undefined&&(s=this.length),t<0||r>e.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&t>=r)return 0;if(n>=s)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(s>>>=0)-(n>>>=0),i=(r>>>=0)-(t>>>=0),c=Math.min(o,i),u=this.slice(n,s),l=e.slice(t,r),d=0;d<c;++d)if(u[d]!==l[d]){o=u[d],i=l[d];break}return o<i?-1:i<o?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 s=this.length-t;if((r===undefined||r>s)&&(r=s),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return y(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 x(this,e,t,r);case"base64":return _(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function j(e,t,r){var n="";r=Math.min(e.length,r);for(var s=t;s<r;++s)n+=String.fromCharCode(127&e[s]);return n}function T(e,t,r){var n="";r=Math.min(e.length,r);for(var s=t;s<r;++s)n+=String.fromCharCode(e[s]);return n}function B(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var s="",o=t;o<r;++o)s+=P(e[o]);return s}function M(e,t,r){for(var n=e.slice(t,r),s="",o=0;o<n.length;o+=2)s+=String.fromCharCode(n[o]+256*n[o+1]);return s}function O(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 C(e,t,r,n,s,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function L(e,t,r,n,s,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function R(e,t,r,n,o){return t=+t,r>>>=0,o||L(e,0,r,4),s.write(e,t,r,n,23,4),r+4}function I(e,t,r,n,o){return t=+t,r>>>=0,o||L(e,0,r,8),s.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||O(e,t,this.length);for(var n=this[e],s=1,o=0;++o<t&&(s*=256);)n+=this[e+o]*s;return n},a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=this[e+--t],s=1;t>0&&(s*=256);)n+=this[e+--t]*s;return n},a.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(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||O(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||O(e,t,this.length);for(var n=this[e],s=1,o=0;++o<t&&(s*=256);)n+=this[e+o]*s;return n>=(s*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=t,s=1,o=this[e+--n];n>0&&(s*=256);)o+=this[e+--n]*s;return o>=(s*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||O(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||O(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||O(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||O(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||O(e,4,this.length),s.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),s.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),s.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),s.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||C(this,e,t,r,Math.pow(2,8*r)-1,0);var s=1,o=0;for(this[t]=255&e;++o<r&&(s*=256);)this[t+o]=e/s&255;return t+r},a.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||C(this,e,t,r,Math.pow(2,8*r)-1,0);var s=r-1,o=1;for(this[t+s]=255&e;--s>=0&&(o*=256);)this[t+s]=e/o&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||C(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||C(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||C(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||C(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||C(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 s=Math.pow(2,8*r-1);C(this,e,t,r,s-1,-s)}var o=0,i=1,a=0;for(this[t]=255&e;++o<r&&(i*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/i|0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var s=Math.pow(2,8*r-1);C(this,e,t,r,s-1,-s)}var o=r-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i|0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||C(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||C(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||C(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||C(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||C(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 R(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return R(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return I(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return I(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 s=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 o=s-1;o>=0;--o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return s},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 s=e.charCodeAt(0);("utf8"===n&&s<128||"latin1"===n)&&(e=s)}}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 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{var i=a.isBuffer(e)?e:a.from(e,n),c=i.length;if(0===c)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=i[o%c]}return this};var N=/[^+/0-9A-Za-z-_]/g;function P(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,s=null,o=[],i=0;i<n;++i){if((r=e.charCodeAt(i))>55295&&r<57344){if(!s){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&o.push(239,191,189);continue}s=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),s=r;continue}r=65536+(s-55296<<10|r-56320)}else s&&(t-=3)>-1&&o.push(239,191,189);if(s=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.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;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function F(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,r,n){for(var s=0;s<n&&!(s+r>=t.length||s>=e.length);++s)t[s+r]=e[s];return s}function $(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function H(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,s="object"==typeof t&&t&&!t.nodeType&&t,o="object"==typeof global&&global;o.global!==o&&o.window!==o&&o.self!==o||(e=o);var i,a,c=2147483647,u=36,l=/^xn--/,d=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,p=String.fromCharCode;function b(e){throw new RangeError(h[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(f,".")).split("."),t).join(".")}function w(e){for(var t,r,n=[],s=0,o=e.length;s<o;)(t=e.charCodeAt(s++))>=55296&&t<=56319&&s<o?56320==(64512&(r=e.charCodeAt(s++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),s--):n.push(t);return n}function k(e){return g(e,function(e){var t="";return e>65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)}).join("")}function x(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:u}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function v(e,t,r){var n=0;for(e=r?m(e/700):e>>1,e+=m(e/t);e>455;n+=u)e=m(e/35);return m(n+36*e/(e+38))}function S(e){var t,r,n,s,o,i,a,l,d,f,h=[],p=e.length,g=0,y=128,w=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&b("not-basic"),h.push(e.charCodeAt(n));for(s=r>0?r+1:0;s<p;){for(o=g,i=1,a=u;s>=p&&b("invalid-input"),((l=x(e.charCodeAt(s++)))>=u||l>m((c-g)/i))&&b("overflow"),g+=l*i,!(l<(d=a<=w?1:a>=w+26?26:a-w));a+=u)i>m(c/(f=u-d))&&b("overflow"),i*=f;w=v(g-o,t=h.length+1,0==o),m(g/t)>c-y&&b("overflow"),y+=m(g/t),g%=t,h.splice(g++,0,y)}return k(h)}function E(e){var t,r,n,s,o,i,a,l,d,f,h,g,y,k,x,S=[];for(g=(e=w(e)).length,t=128,r=0,o=72,i=0;i<g;++i)(h=e[i])<128&&S.push(p(h));for(n=s=S.length,s&&S.push("-");n<g;){for(a=c,i=0;i<g;++i)(h=e[i])>=t&&h<a&&(a=h);for(a-t>m((c-r)/(y=n+1))&&b("overflow"),r+=(a-t)*y,t=a,i=0;i<g;++i)if((h=e[i])<t&&++r>c&&b("overflow"),h==t){for(l=r,d=u;!(l<(f=d<=o?1:d>=o+26?26:d-o));d+=u)x=l-f,k=u-f,S.push(p(_(f+x%k,0))),l=m(x/k);S.push(p(_(l,0))),o=v(r,y,n==s),r=0,++n}++r,++t}return S.join("")}if(i={version:"1.4.1",ucs2:{decode:w,encode:k},decode:S,encode:E,toASCII:function(e){return y(e,function(e){return d.test(e)?"xn--"+E(e):e})},toUnicode:function(e){return y(e,function(e){return l.test(e)?S(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return i});else if(n&&s)if(t.exports==n)s.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 s=e("process/browser.js").nextTick,o=Function.prototype.apply,i=Array.prototype.slice,a={},c=0;function u(e,t){this._id=e,this._clearFn=t}r.setTimeout=function(){return new u(o.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new u(o.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},u.prototype.unref=u.prototype.ref=function(){},u.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=c++,n=!(arguments.length<2)&&i.call(arguments,1);return a[t]=!0,s(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"),s=e("safe-buffer").Buffer;t.exports=function(e){function t(t){var r=t.slice(0,-4),n=t.slice(-4),s=e(r);if(!(n[0]^s[0]|n[1]^s[1]|n[2]^s[2]|n[3]^s[3]))return r}return{encode:function(t){var r=e(t);return n.encode(s.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"),s=e("./base");t.exports=s(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),s=new e(n),o=0;o<n;++o)s[o]=t[o]^r[o];return s}}).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"),s=e("ieee754"),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=c,r.SlowBuffer=function(e){+e!=e&&(e=0);return c.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,c.prototype),t}function c(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(!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|p(e,t);let n=a(r);const s=n.write(e,t);s!==r&&(n=n.slice(0,s));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(Z(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(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(Z(e,ArrayBuffer)||e&&Z(e.buffer,ArrayBuffer))return h(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(Z(e,SharedArrayBuffer)||e&&Z(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 c.from(n,t,r);const s=function(e){if(c.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||Y(e.length)?a(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.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 l(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 l(e),a(e<0?0:0|m(e))}function f(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,c.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(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Z(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 s=!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(s)return n?-1:G(e).length;t=(""+t).toLowerCase(),s=!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 M(this,t,r);case"utf8":case"utf-8":return A(this,t,r);case"ascii":return T(this,t,r);case"latin1":case"binary":return B(this,t,r);case"base64":return E(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 g(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,s){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Y(r=+r)&&(r=s?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(s)return-1;r=e.length-1}else if(r<0){if(!s)return-1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:w(e,t,r,n,s);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):w(e,[t],r,n,s);throw new TypeError("val must be string, number or Buffer")}function w(e,t,r,n,s){let o,i=1,a=e.length,c=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,c/=2,r/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(s){let n=-1;for(o=r;o<a;o++)if(u(e,o)===u(t,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===c)return n*i}else-1!==n&&(o-=o-n),n=-1}else for(r+c>a&&(r=a-c),o=r;o>=0;o--){let r=!0;for(let n=0;n<c;n++)if(u(e,o+n)!==u(t,n)){r=!1;break}if(r)return o}return-1}function k(e,t,r,n){r=Number(r)||0;const s=e.length-r;n?(n=Number(n))>s&&(n=s):n=s;const o=t.length;let i;for(n>o/2&&(n=o/2),i=0;i<n;++i){const n=parseInt(t.substr(2*i,2),16);if(Y(n))return i;e[r+i]=n}return i}function x(e,t,r,n){return W(G(t,e.length-r),e,r,n)}function _(e,t,r,n){return W(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 v(e,t,r,n){return W(V(t),e,r,n)}function S(e,t,r,n){return W(function(e,t){let r,n,s;const o=[];for(let i=0;i<e.length&&!((t-=2)<0);++i)r=e.charCodeAt(i),n=r>>8,s=r%256,o.push(s),o.push(n);return o}(t,e.length-r),e,r,n)}function E(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function A(e,t,r){r=Math.min(e.length,r);const n=[];let s=t;for(;s<r;){const t=e[s];let o=null,i=t>239?4:t>223?3:t>191?2:1;if(s+i<=r){let r,n,a,c;switch(i){case 1:t<128&&(o=t);break;case 2:r=e[s+1],128==(192&r)&&(c=(31&t)<<6|63&r,c>127&&(o=c));break;case 3:r=e[s+1],n=e[s+2],128==(192&r)&&128==(192&n)&&(c=(15&t)<<12|(63&r)<<6|63&n,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:r=e[s+1],n=e[s+2],a=e[s+3],128==(192&r)&&128==(192&n)&&128==(192&a)&&(c=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&a,c>65535&&c<1114112&&(o=c))}}null===o?(o=65533,i=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),s+=i}return function(e){const t=e.length;if(t<=j)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=j));return r}(n)}r.kMaxLength=i,c.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}}(),c.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(c.prototype,"parent",{enumerable:!0,get:function(){return c.isBuffer(this)?this.buffer:undefined}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){return c.isBuffer(this)?this.byteOffset:undefined}}),c.poolSize=8192,c.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(e,t,r){return function(e,t,r){return l(e),e<=0?a(e):t!==undefined?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)}(e,t,r)},c.allocUnsafe=function(e){return d(e)},c.allocUnsafeSlow=function(e){return d(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(Z(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),Z(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.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 s=0,o=Math.min(r,n);s<o;++s)if(e[s]!==t[s]){r=e[s],n=t[s];break}return r<n?-1:n<r?1:0},c.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}},c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);let r;if(t===undefined)for(t=0,r=0;r<e.length;++r)t+=e[r].length;const n=c.allocUnsafe(t);let s=0;for(r=0;r<e.length;++r){let t=e[r];if(Z(t,Uint8Array))s+t.length>n.length?(c.isBuffer(t)||(t=c.from(t)),t.copy(n,s)):Uint8Array.prototype.set.call(n,t,s);else{if(!c.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,s)}s+=t.length}return n},c.byteLength=p,c.prototype._isBuffer=!0,c.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)g(this,t,t+1);return this},c.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)g(this,t,t+3),g(this,t+1,t+2);return this},c.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)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},c.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):b.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.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+">"},o&&(c.prototype[o]=c.prototype.inspect),c.prototype.compare=function(e,t,r,n,s){if(Z(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.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),s===undefined&&(s=this.length),t<0||r>e.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&t>=r)return 0;if(n>=s)return-1;if(t>=r)return 1;if(this===e)return 0;let o=(s>>>=0)-(n>>>=0),i=(r>>>=0)-(t>>>=0);const a=Math.min(o,i),u=this.slice(n,s),l=e.slice(t,r);for(let e=0;e<a;++e)if(u[e]!==l[e]){o=u[e],i=l[e];break}return o<i?-1:i<o?1:0},c.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},c.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},c.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},c.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 s=this.length-t;if((r===undefined||r>s)&&(r=s),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":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 S(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const j=4096;function T(e,t,r){let n="";r=Math.min(e.length,r);for(let s=t;s<r;++s)n+=String.fromCharCode(127&e[s]);return n}function B(e,t,r){let n="";r=Math.min(e.length,r);for(let s=t;s<r;++s)n+=String.fromCharCode(e[s]);return n}function M(e,t,r){const n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let s="";for(let n=t;n<r;++n)s+=X[e[n]];return s}function O(e,t,r){const n=e.slice(t,r);let s="";for(let e=0;e<n.length-1;e+=2)s+=String.fromCharCode(n[e]+256*n[e+1]);return s}function C(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 L(e,t,r,n,s,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function R(e,t,r,n,s){H(t,n,s,e,r,7);let o=Number(t&BigInt(4294967295));e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o;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 I(e,t,r,n,s){H(t,n,s,e,r,7);let o=Number(t&BigInt(4294967295));e[r+7]=o,o>>=8,e[r+6]=o,o>>=8,e[r+5]=o,o>>=8,e[r+4]=o;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 N(e,t,r,n,s,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(e,t,r,n,o){return t=+t,r>>>=0,o||N(e,0,r,4),s.write(e,t,r,n,23,4),r+4}function D(e,t,r,n,o){return t=+t,r>>>=0,o||N(e,0,r,8),s.write(e,t,r,n,52,8),r+8}c.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,c.prototype),n},c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);let n=this[e],s=1,o=0;for(;++o<t&&(s*=256);)n+=this[e+o]*s;return n},c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);let n=this[e+--t],s=1;for(;t>0&&(s*=256);)n+=this[e+--t]*s;return n},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=J(function(e){z(e>>>=0,"offset");const t=this[e],r=this[e+7];t!==undefined&&r!==undefined||K(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,s=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(s)<<BigInt(32))}),c.prototype.readBigUInt64BE=J(function(e){z(e>>>=0,"offset");const t=this[e],r=this[e+7];t!==undefined&&r!==undefined||K(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],s=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(s)}),c.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);let n=this[e],s=1,o=0;for(;++o<t&&(s*=256);)n+=this[e+o]*s;return s*=128,n>=s&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);let n=t,s=1,o=this[e+--n];for(;n>0&&(s*=256);)o+=this[e+--n]*s;return s*=128,o>=s&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||C(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){e>>>=0,t||C(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=J(function(e){z(e>>>=0,"offset");const t=this[e],r=this[e+7];t!==undefined&&r!==undefined||K(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)}),c.prototype.readBigInt64BE=J(function(e){z(e>>>=0,"offset");const t=this[e],r=this[e+7];t!==undefined&&r!==undefined||K(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)}),c.prototype.readFloatLE=function(e,t){return e>>>=0,t||C(e,4,this.length),s.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||C(e,4,this.length),s.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||C(e,8,this.length),s.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||C(e,8,this.length),s.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){L(this,e,t,r,Math.pow(2,8*r)-1,0)}let s=1,o=0;for(this[t]=255&e;++o<r&&(s*=256);)this[t+o]=e/s&255;return t+r},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){L(this,e,t,r,Math.pow(2,8*r)-1,0)}let s=r-1,o=1;for(this[t+s]=255&e;--s>=0&&(o*=256);)this[t+s]=e/o&255;return t+r},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||L(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},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||L(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},c.prototype.writeBigUInt64LE=J(function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=J(function(e,t=0){return I(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);L(this,e,t,r,n-1,-n)}let s=0,o=1,i=0;for(this[t]=255&e;++s<r&&(o*=256);)e<0&&0===i&&0!==this[t+s-1]&&(i=1),this[t+s]=(e/o|0)-i&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);L(this,e,t,r,n-1,-n)}let s=r-1,o=1,i=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===i&&0!==this[t+s+1]&&(i=1),this[t+s]=(e/o|0)-i&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||L(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},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||L(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},c.prototype.writeBigInt64LE=J(function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=J(function(e,t=0){return I(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeFloatLE=function(e,t,r){return P(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return P(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return D(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return D(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(!c.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 s=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),s},c.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&&!c.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 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{const o=c.isBuffer(e)?e:c.from(e,n),i=o.length;if(0===i)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<r-t;++s)this[s+t]=o[s%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 $(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function H(e,t,r,n,s,o){if(e>r||e<t){const n="bigint"==typeof t?"n":"";let s;throw s=o>3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new F.ERR_OUT_OF_RANGE("value",s,e)}!function(e,t,r){z(t,"offset"),e[t]!==undefined&&e[t+r]!==undefined||K(t,e.length-(r+1))}(n,s,o)}function z(e,t){if("number"!=typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function K(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.`,s=r;return Number.isInteger(r)&&Math.abs(r)>2**32?s=$(String(r)):"bigint"==typeof r&&(s=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(s=$(s)),s+="n"),n+=` It must be ${t}. Received ${s}`,n},RangeError);const q=/[^+/0-9A-Za-z-_]/g;function G(e,t){let r;t=t||Infinity;const n=e.length;let s=null;const o=[];for(let i=0;i<n;++i){if(r=e.charCodeAt(i),r>55295&&r<57344){if(!s){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&o.push(239,191,189);continue}s=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),s=r;continue}r=65536+(s-55296<<10|r-56320)}else s&&(t-=3)>-1&&o.push(239,191,189);if(s=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.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;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function V(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function W(e,t,r,n){let s;for(s=0;s<n&&!(s+r>=t.length||s>=e.length);++s)t[s+r]=e[s];return s}function Z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}const X=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let s=0;s<16;++s)t[n+s]=e[r]+e[s]}return t}();function J(e){return"undefined"==typeof BigInt?Q:e}function Q(){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"),s=["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"],o={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=[...s];for(const[t,r]of Object.entries(o))("*"===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"),s=e("./functionApply"),o=e("./functionCall"),i=e("./reflectApply");t.exports=i||n.call(o,s)}}},{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"),s=e("./functionApply"),o=e("./actualApply");t.exports=function(){return o(n,s,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"),s=e("es-errors/type"),o=e("./functionCall"),i=e("./actualApply");t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new s("a function is required");return i(n,o,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"),s=e("./"),o=s(n("String.prototype.indexOf"));t.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?s(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"),s=e("es-define-property"),o=e("call-bind-apply-helpers"),i=e("call-bind-apply-helpers/applyBind");t.exports=function(e){var t=o(arguments),r=e.length-(arguments.length-1);return n(t,1+(r>0?r:0),!0)},s?s(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"),s=e("call-bind-apply-helpers"),o=s([n("%String.prototype.indexOf%")]);t.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?s([r]):r}}}},{package:"string.prototype.matchall>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 s=e.charCodeAt(n).toString(16);1===s.length&&(s="0"+s),r+=s}return new t(r)},t.fromUtf8String=function(e){for(var r=encodeURIComponent(e),n="",s=0;s<r.length;s++)if("%"===r.charAt(s))n+=r.substring(s+1,s+3),s+=2;else{var o=r.charCodeAt(s).toString(16);o.length<2&&(o="0"+o),n+=o}return new t(n)};var r=[],n={},s=function(e){return function(){throw new Error(e+" not implemented")}};function o(){}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 s("Additional info: "+r)()}function c(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))}o.prototype={peekByte:s("peekByte"),readByte:s("readByte"),readChunk:s("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 s=t?Math.pow(2,t-25)*(1024+r):Math.pow(2,-24)*r;return n?-s:s},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 s=t?Math.pow(2,t-23-127)*(8388608+r):Math.pow(2,-149)*r;return n?-s:s},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 s=t?Math.pow(2,t-52-1023)*(4503599627370496+r):Math.pow(2,-1074)*r;return n?-s:s},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:s("writeByte"),result:s("result"),writeFloat16:s("writeFloat16"),writeFloat32:s("writeFloat32"),writeFloat64:s("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:s("writeString"),canWriteBinary:function(e){return!1},writeBinary:s("writeChunk")};var u=new Error;function l(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),s=[];if(null!==r){5===t.type&&(r*=2);for(var o=0;o<r;o++)s[o]=l(e)}else for(var i;(i=l(e))!==u;)s.push(i);if(5===t.type){var c={};for(o=0;o<s.length;o+=2)c[s[o]]=s[o+1];return c}return s;case 6:var d=a(t,e),f=n[d];s=l(e);return f?f(s):s;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 u;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 d(e,t){for(var n=0;n<r.length;n++){var s=r[n].fn(e);if(s!==undefined)return c(6,r[n].tag,t),d(s,t)}if(e&&"function"==typeof e.toCBOR&&(e=e.toCBOR()),!1===e)c(7,20,t);else if(!0===e)c(7,21,t);else if(null===e)c(7,22,t);else if(e===undefined)c(7,23,t);else if("number"==typeof e)Math.floor(e)===e&&e<9007199254740992&&e>-9007199254740992?e<0?c(1,-1-e,t):c(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){c(3,e,t)});else if(t.canWriteBinary(e))t.writeBinary(e,function(e){c(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)){c(4,e.length,t);for(n=0;n<e.length;n++)d(e[n],t)}else{var o=Object.keys(e);c(5,o.length,t);for(n=0;n<o.length;n++)d(o[n],t),d(e[o[n]],t)}}}var f=[],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?f.push(function(r,n){if(e===n)return t(r,n)}):f.push(e)},encode:function(e,t){for(var r=0;r<h.length;r++){var n=(0,h[r])(t);if(n)return d(e,n),n.result()}throw new Error("Unsupported output format: "+t)},decode:function(e,t){for(var r=0;r<f.length;r++){var n=(0,f[r])(e,t);if(n)return l(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:o,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 g(e){this.hex=e,this.pos=0}function y(e){this.$hex="",this.finalFormat=e||"hex"}return p.prototype=Object.create(o.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 s=this.completeBuffers[n];s.copy(t,r,0,s.length),r+=s.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})),g.prototype=Object.create(o.prototype),g.prototype.peekByte=function(){var e=this.hex.substring(this.pos,2);return parseInt(e,16)},g.prototype.readByte=function(){var e=this.hex.substring(this.pos,this.pos+2);return this.pos+=2,parseInt(e,16)},g.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)},y.prototype=Object.create(i.prototype),y.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},y.prototype.canWriteBinary=function(r){return r instanceof t||"function"==typeof e&&r instanceof e},y.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")}},y.prototype.result=function(){return"buffer"===this.finalFormat&&"function"==typeof e?e.from(this.$hex,"hex"):new t(this.$hex).toString(this.finalFormat)},y.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 g(e.$hex):"hex"===r?new g(e):void 0}),m.addWriter(function(e){if("hex"===e)return new y}),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:s,stderr:o}=e("supports-color"),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:a}=e("./util"),{isArray:c}=Array,u=["ansi","ansi","ansi256","ansi16m"],l=Object.create(null);class d{constructor(e){return f(e)}}const f=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=s?s.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=d,t.template};function h(e){return f(e)}for(const[e,t]of Object.entries(n))l[e]={get(){const r=g(this,b(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};l.visible={get(){const e=g(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)l[e]={get(){const{level:t}=this;return function(...r){const s=b(n.color[u[t]][e](...r),n.color.close,this._styler);return g(this,s,this._isEmpty)}}};for(const e of m){l["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...r){const s=b(n.bgColor[u[t]][e](...r),n.bgColor.close,this._styler);return g(this,s,this._isEmpty)}}}}const p=Object.defineProperties(()=>{},{...l,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),b=(e,t,r)=>{let n,s;return r===undefined?(n=e,s=t):(n=r.openAll+e,s=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:s,parent:r}},g=(e,t,r)=>{const n=(...e)=>c(e[0])&&c(e[0].raw)?y(n,k(n,...e)):y(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,p),n._generator=e,n._styler=t,n._isEmpty=r,n},y=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(r===undefined)return t;const{openAll:n,closeAll:s}=r;if(-1!==t.indexOf(""))for(;r!==undefined;)t=i(t,r.close,r.open),r=r.parent;const o=t.indexOf("\n");return-1!==o&&(t=a(t,s,n,o)),n+t+s};let w;const k=(t,...r)=>{const[n]=r;if(!c(n)||!c(n.raw))return r.join(" ");const s=r.slice(1),o=[n.raw[0]];for(let e=1;e<n.length;e++)o.push(String(s[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]));return w===undefined&&(w=e("./templates")),w(t,o.join(""))};Object.defineProperties(h.prototype,l);const x=h();x.supportsColor=s,x.stderr=h({level:o?o.level:0}),x.stderr.supportsColor=o,t.exports=x}}},{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,s=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,o=/^(['"])((?:\\.|(?!\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 c(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 u(e,t){const r=[],n=t.trim().split(/\s*,\s*/g);let s;for(const t of n){const n=Number(t);if(Number.isNaN(n)){if(!(s=t.match(o)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);r.push(s[2].replace(i,(e,t,r)=>t?c(t):r))}else r.push(n)}return r}function l(e){s.lastIndex=0;const t=[];let r;for(;null!==(r=s.exec(e));){const e=r[1];if(r[2]){const n=u(e,r[2]);t.push([e].concat(n))}else t.push([e])}return t}function d(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=[],s=[];let o=[];if(t.replace(n,(t,n,i,a,u,f)=>{if(n)o.push(c(n));else if(a){const t=o.join("");o=[],s.push(0===r.length?t:d(e,r)(t)),r.push({inverse:i,styles:l(a)})}else if(u){if(0===r.length)throw new Error("Found extraneous } in Chalk template literal");s.push(d(e,r)(o.join(""))),o=[],r.pop()}else o.push(f)}),s.push(o.join("")),r.length>0){const e=`Chalk template literal is missing ${r.length} closing bracket${1===r.length?"":"s"} (\`}\`)`;throw new Error(e)}return s.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 s=t.length;let o=0,i="";do{i+=e.substr(o,n-o)+t+r,o=n+s,n=e.indexOf(t,o)}while(-1!==n);return i+=e.substr(o),i},stringEncaseCRLFWithFirstIndex:(e,t,r,n)=>{let s=0,o="";do{const i="\r"===e[n-1];o+=e.substr(s,(i?n-1:n)-s)+t+(i?"\r\n":"\n")+r,s=n+1,n=e.indexOf("\n",s)}while(-1!==n);return o+=e.substr(s),o}}}}},{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,s=e("stream").Transform,o=e("string_decoder").StringDecoder;function i(e){s.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,s);var a="undefined"!=typeof Uint8Array,c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&ArrayBuffer.isView&&(n.prototype instanceof Uint8Array||n.TYPED_ARRAY_SUPPORT);i.prototype.update=function(e,t,r){var s=function(e,t){if(e instanceof n)return e;if("string"==typeof e)return n.from(e,t);if(c&&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),o=this._update(s);return this.hashMode?this:(r&&(o=this._toString(o,r)),o)},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 o(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) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/
!function(){var e={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=s(e,n(r)))}return e}function n(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return r.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var n="";for(var o in t)e.call(t,o)&&t[o]&&(n=s(n,o));return n}function s(e,t){return t?e?e+" "+t:e+t:e}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,s,o,i){"object"==typeof s&&(o=s.depth,i=s.prototype,s.filter,s=s.circular);var a=[],c=[],u=void 0!==e;return void 0===s&&(s=!0),void 0===o&&(o=Infinity),function r(o,l){if(null===o)return null;if(0==l)return o;var d,f;if("object"!=typeof o)return o;if(t.__isArray(o))d=[];else if(t.__isRegExp(o))d=new RegExp(o.source,n(o)),o.lastIndex&&(d.lastIndex=o.lastIndex);else if(t.__isDate(o))d=new Date(o.getTime());else{if(u&&e.isBuffer(o))return d=new e(o.length),o.copy(d),d;void 0===i?(f=Object.getPrototypeOf(o),d=Object.create(f)):(d=Object.create(i),f=i)}if(s){var h=a.indexOf(o);if(-1!=h)return c[h];a.push(o),c.push(d)}for(var m in o){var p;f&&(p=Object.getOwnPropertyDescriptor(f,m)),p&&null==p.set||(d[m]=r(o[m],l-1))}return d}(r,o)}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"),s=e("./common/defer"),o=e("./common/Event"),i=e("./common/Executor"),a=e("./errors/BulkheadRejectedError"),c=e("./errors/Errors");r.BulkheadPolicy=class{constructor(e,t){this.capacity=e,this.queueCapacity=t,this.active=0,this.queue=[],this.onRejectEmitter=new o.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 c.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:o}=(0,s.defer)();return this.queue.push({signal:t,fn:e,resolve:r,reject:n}),o}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"),s=e("./common/Event"),o=e("./common/Executor"),i=e("./errors/Errors"),a=e("./errors/IsolatedCircuitError");var c;!function(e){e[e.Closed=0]="Closed",e[e.Open=1]="Open",e[e.HalfOpen=2]="HalfOpen",e[e.Isolated=3]="Isolated"}(c=r.CircuitState||(r.CircuitState={}));r.CircuitBreakerPolicy=class{constructor(e,t){this.options=e,this.executor=t,this.breakEmitter=new s.EventEmitter,this.resetEmitter=new s.EventEmitter,this.halfOpenEmitter=new s.EventEmitter,this.stateChangeEmitter=new s.EventEmitter,this.innerState={value:c.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!==c.Isolated&&(this.innerState={value:c.Isolated,counters:0},this.breakEmitter.emit({isolated:!0}),this.stateChangeEmitter.emit(c.Isolated)),this.innerState.counters++;let e=!1;return{dispose:()=>{e||(e=!0,this.innerState.value!==c.Isolated||--this.innerState.counters||(this.innerState={value:c.Closed},this.resetEmitter.emit(),this.stateChangeEmitter.emit(c.Closed)))}}}async execute(e,t=n.neverAbortedSignal){const r=this.innerState;switch(r.value){case c.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,o.returnOrThrow)(n);case c.HalfOpen:if(await r.test.catch(()=>undefined),this.state===c.Closed&&t.aborted)throw new i.TaskCancelledError;return this.execute(e);case c.Open:if(Date.now()-r.openedAt<this.options.halfOpenAfter)throw new i.BrokenCircuitError;const s=this.halfOpen(e,t);return this.innerState={value:c.HalfOpen,test:s},this.stateChangeEmitter.emit(c.HalfOpen),s;case c.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(c.HalfOpen),this.close()):(this.innerLastFailure=r,this.options.breaker.failure(c.HalfOpen),this.open(r)),(0,o.returnOrThrow)(r)}catch(e){throw this.close(),e}}open(e){this.state!==c.Isolated&&this.state!==c.Open&&(this.innerState={value:c.Open,openedAt:Date.now()},this.breakEmitter.emit(e),this.stateChangeEmitter.emit(c.Open))}close(){this.state===c.HalfOpen&&(this.innerState={value:c.Closed},this.resetEmitter.emit(),this.stateChangeEmitter.emit(c.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"),s=e("./common/Executor");r.NoopPolicy=class{constructor(){this.executor=new s.ExecuteWrapper,this.onSuccess=this.executor.onSuccess,this.onFailure=this.executor.onFailure}async execute(e,t=n.neverAbortedSignal){return(0,s.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"),s=e("./BulkheadPolicy"),o=e("./CircuitBreakerPolicy"),i=e("./common/Executor"),a=e("./FallbackPolicy"),c=e("./NoopPolicy"),u=e("./RetryPolicy"),l=e("./TimeoutPolicy"),d=(e,t)=>t?r=>r instanceof e&&t(r):t=>t instanceof e,f=()=>!1;class h{constructor(e){this.options=e}orType(e,t){const r=d(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=d(e,t);return new h({...this.options,resultFilter:e=>this.options.resultFilter(e)||r(e)})}}r.Policy=h,r.noop=new c.NoopPolicy,r.handleAll=new h({errorFilter:()=>!0,resultFilter:f}),r.handleType=function(e,t){return new h({errorFilter:d(e,t),resultFilter:f})},r.handleWhen=function(e){return new h({errorFilter:e,resultFilter:f})},r.handleResultType=function(e,t){return new h({errorFilter:f,resultFilter:d(e,t)})},r.handleWhenResult=function(e){return new h({errorFilter:f,resultFilter:e})},r.bulkhead=function(e,t=0){return new s.BulkheadPolicy(e,t)},r.usePolicy=function(e){return(t,r,n)=>{const s=n.value;if("function"!=typeof s)throw new Error("Can only decorate functions with @cockatiel, got "+typeof s);n.value=function(...t){const r=t[t.length-1]instanceof AbortSignal?t.pop():undefined;return e.execute(e=>s.apply(this,[...t,e]),r)}}},r.timeout=function(e,t){return new l.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,s)=>s===e.length?t(r):e[s].execute(e=>n({...r,...e},s+1),r.signal);return Promise.resolve(n({signal:r},0))}}},r.retry=function(e,t){return new u.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 o.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"),s=e("./common/abort"),o=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 o.EventEmitter,this.onRetryEmitter=new o.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=s.neverAbortedSignal){const r=this.options.backoff||new n.ConstantBackoff(0);let o;for(let n=0;;n++){const s=await this.executor.invoke(e,{attempt:n,signal:t});if("success"in s)return s.success;if(!t.aborted&&n<this.options.maxAttempts){const e={attempt:n+1,signal:t,result:s};o=o?o.next(e):r.next(e);const a=o.duration,c=i(a,!!this.options.unref);this.onRetryEmitter.emit({...s,delay:a}),await c;continue}if(this.onGiveUpEmitter.emit(s),"error"in s)throw s.error;return s.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"),s=e("./common/Event"),o=e("./common/Executor"),i=e("./errors/TaskCancelledError");var a;!function(e){e.Cooperative="optimistic",e.Aggressive="aggressive"}(a=r.TimeoutStrategy||(r.TimeoutStrategy={}));class c{constructor(e,t,r=new o.ExecuteWrapper,n=!1){this.duration=e,this.options=t,this.executor=r,this.unref=n,this.timeoutEmitter=new s.EventEmitter,this.onTimeout=this.timeoutEmitter.addListener,this.onFailure=this.executor.onFailure,this.onSuccess=this.executor.onSuccess}dangerouslyUnref(){return new c(this.duration,this.options,this.executor,!0)}async execute(e,t){const r=(0,n.deriveAbortController)(t),c=setTimeout(()=>r.abort(),this.duration);this.unref&&c.unref();const u={signal:r.signal},l=(0,s.onAbort)(r.signal),d=l(()=>this.timeoutEmitter.emit());try{return this.options.strategy===a.Cooperative?(0,o.returnOrThrow)(await this.executor.invoke(e,u,r.signal)):await this.executor.invoke(async()=>Promise.race([Promise.resolve(e(u,r.signal)),s.Event.toPromise(l).then(()=>{throw new i.TaskCancelledError(`Operation timed out after ${this.duration}ms`)})])).then(o.returnOrThrow)}finally{d.dispose(),!1!==this.options.abortOnReturn&&r.abort(),clearTimeout(c)}}}r.TimeoutPolicy=c}}},{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 s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=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}),s(e("./ConstantBackoff"),r),s(e("./DelegateBackoff"),r),s(e("./ExponentialBackoff"),r),s(e("./ExponentialBackoffGenerators"),r),s(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 s=e(r,t);return"number"==typeof s?n(e,t,s):n(e,s.state,s.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 s(this.options).next(undefined)}};const s=(e,t,r=0,n=-1)=>({duration:r,next(){const[r,o]=e.generator(t,e);return s(e,o,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,s]=(0,r.noJitterGenerator)(e,t);return[Math.floor(Math.random()*n),s]};r.halfJitterGenerator=(e,t)=>{const[n,s]=(0,r.noJitterGenerator)(e,t);return[Math.floor((n+Math.random()*n)/2),s]};const n=1/1.4;r.decorrelatedJitterGenerator=(e,t)=>{const[r,s]=e||[0,0],o=r+Math.random(),i=Math.pow(t.exponent,o)*Math.tanh(Math.sqrt(4*o)),a=Math.max(0,i-s);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 s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=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}),s(e("./SamplingBreaker"),r),s(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,s=!1;return n=e(e=>{t(e),n?n.dispose():s=!0}),s?(n.dispose(),r.noopDisposable):n},e.toPromise=(t,s)=>s?s.aborted?Promise.reject(new n.TaskCancelledError):new Promise((o,i)=>{const a=(0,r.onAbort)(s)(()=>{c.dispose(),i(new n.TaskCancelledError)}),c=e.once(t,e=>{a.dispose(),o(e)})}):new Promise(r=>e.once(t,r))}(r.Event||(r.Event={}));r.onAbort=e=>{const t=new o;if(e.aborted)return t.emit(),t.addListener;const r=()=>{t.emit(),e.removeEventListener("abort",r)};return e.addEventListener("abort",r),t.addListener};class s{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=s;r.MemorizingEventEmitter=class extends s{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 o extends s{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 s{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 s(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=s}).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 s=new AbortController;s.abort(),r.abortedSignal=s.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 s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=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,s(e("./BrokenCircuitError"),r),s(e("./BulkheadRejectedError"),r),s(e("./IsolatedCircuitError"),r),s(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 s extends n.BrokenCircuitError{constructor(){super("Execution prevented because the circuit breaker is open"),this.isIsolatedCircuitError=!0}}r.IsolatedCircuitError=s}}},{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 s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=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,s(e("./backoff/Backoff"),r),s(e("./breaker/Breaker"),r),s(e("./BulkheadPolicy"),r),s(e("./CircuitBreakerPolicy"),r);var o=e("./common/Event");Object.defineProperty(r,"Event",{enumerable:!0,get:function(){return o.Event}}),Object.defineProperty(r,"EventEmitter",{enumerable:!0,get:function(){return o.EventEmitter}}),s(e("./errors/Errors"),r),s(e("./FallbackPolicy"),r),s(e("./NoopPolicy"),r),s(e("./Policy"),r),s(e("./RetryPolicy"),r),s(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"),s={};for(const e of Object.keys(n))s[n[e]]=e;const o={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=o;for(const e of Object.keys(o)){if(!("channels"in o[e]))throw new Error("missing channels property: "+e);if(!("labels"in o[e]))throw new Error("missing channel labels property: "+e);if(o[e].labels.length!==o[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=o[e];delete o[e].channels,delete o[e].labels,Object.defineProperty(o[e],"channels",{value:t}),Object.defineProperty(o[e],"labels",{value:r})}function i(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}o.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,s=Math.min(t,r,n),o=Math.max(t,r,n),i=o-s;let a,c;o===s?a=0:t===o?a=(r-n)/i:r===o?a=2+(n-t)/i:n===o&&(a=4+(t-r)/i),a=Math.min(60*a,360),a<0&&(a+=360);const u=(s+o)/2;return c=o===s?0:u<=.5?i/(o+s):i/(2-o-s),[a,100*c,100*u]},o.rgb.hsv=function(e){let t,r,n,s,o;const i=e[0]/255,a=e[1]/255,c=e[2]/255,u=Math.max(i,a,c),l=u-Math.min(i,a,c),d=function(e){return(u-e)/6/l+.5};return 0===l?(s=0,o=0):(o=l/u,t=d(i),r=d(a),n=d(c),i===u?s=n-r:a===u?s=1/3+t-n:c===u&&(s=2/3+r-t),s<0?s+=1:s>1&&(s-=1)),[360*s,100*o,100*u]},o.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const s=o.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)),[s,100*i,100*n]},o.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,s=Math.min(1-t,1-r,1-n);return[100*((1-t-s)/(1-s)||0),100*((1-r-s)/(1-s)||0),100*((1-n-s)/(1-s)||0),100*s]},o.rgb.keyword=function(e){const t=s[e];if(t)return t;let r,o=Infinity;for(const t of Object.keys(n)){const s=i(e,n[t]);s<o&&(o=s,r=t)}return r},o.keyword.rgb=function(e){return n[e]},o.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)]},o.rgb.lab=function(e){const t=o.rgb.xyz(e);let r=t[0],n=t[1],s=t[2];r/=95.047,n/=100,s/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;return[116*n-16,500*(r-n),200*(n-s)]},o.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let s,o,i;if(0===r)return i=255*n,[i,i,i];s=n<.5?n*(1+r):n+r-n*r;const a=2*n-s,c=[0,0,0];for(let e=0;e<3;e++)o=t+1/3*-(e-1),o<0&&o++,o>1&&o--,i=6*o<1?a+6*(s-a)*o:2*o<1?s:3*o<2?a+(s-a)*(2/3-o)*6:a,c[e]=255*i;return c},o.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,s=r;const o=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,s*=o<=1?o:2-o;return[t,100*(0===n?2*s/(o+s):2*r/(n+r)),100*((n+r)/2)]},o.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const s=Math.floor(t)%6,o=t-Math.floor(t),i=255*n*(1-r),a=255*n*(1-r*o),c=255*n*(1-r*(1-o));switch(n*=255,s){case 0:return[n,c,i];case 1:return[a,n,i];case 2:return[i,n,c];case 3:return[i,a,n];case 4:return[c,i,n];case 5:return[n,i,a]}},o.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,s=Math.max(n,.01);let o,i;i=(2-r)*n;const a=(2-r)*s;return o=r*s,o/=a<=1?a:2-a,o=o||0,i/=2,[t,100*o,100*i]},o.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const s=r+n;let o;s>1&&(r/=s,n/=s);const i=Math.floor(6*t),a=1-n;o=6*t-i,1&i&&(o=1-o);const c=r+o*(a-r);let u,l,d;switch(i){default:case 6:case 0:u=a,l=c,d=r;break;case 1:u=c,l=a,d=r;break;case 2:u=r,l=a,d=c;break;case 3:u=r,l=c,d=a;break;case 4:u=c,l=r,d=a;break;case 5:u=a,l=r,d=c}return[255*u,255*l,255*d]},o.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,s=e[3]/100;return[255*(1-Math.min(1,t*(1-s)+s)),255*(1-Math.min(1,r*(1-s)+s)),255*(1-Math.min(1,n*(1-s)+s))]},o.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let s,o,i;return s=3.2406*t+-1.5372*r+-.4986*n,o=-.9689*t+1.8758*r+.0415*n,i=.0557*t+-.204*r+1.057*n,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),[255*s,255*o,255*i]},o.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)]},o.lab.xyz=function(e){let t,r,n;r=(e[0]+16)/116,t=e[1]/500+r,n=r-e[2]/200;const s=r**3,o=t**3,i=n**3;return r=s>.008856?s:(r-16/116)/7.787,t=o>.008856?o:(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]},o.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let s;s=360*Math.atan2(n,r)/2/Math.PI,s<0&&(s+=360);return[t,Math.sqrt(r*r+n*n),s]},o.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)]},o.rgb.ansi16=function(e,t=null){const[r,n,s]=e;let i=null===t?o.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let a=30+(Math.round(s/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return 2===i&&(a+=60),a},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.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)},o.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]},o.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]},o.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},o.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]},o.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,s=Math.max(Math.max(t,r),n),o=Math.min(Math.min(t,r),n),i=s-o;let a,c;return a=i<1?o/(1-i):0,c=i<=0?0:s===t?(r-n)/i%6:s===r?2+(n-t)/i:4+(t-r)/i,c/=6,c%=1,[360*c,100*i,100*a]},o.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let s=0;return n<1&&(s=(r-.5*n)/(1-n)),[e[0],100*n,100*s]},o.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let s=0;return n<1&&(s=(r-n)/(1-n)),[e[0],100*n,100*s]},o.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 s=[0,0,0],o=t%1*6,i=o%1,a=1-i;let c=0;switch(Math.floor(o)){case 0:s[0]=1,s[1]=i,s[2]=0;break;case 1:s[0]=a,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=i;break;case 3:s[0]=0,s[1]=a,s[2]=1;break;case 4:s[0]=i,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=a}return c=(1-r)*n,[255*(r*s[0]+c),255*(r*s[1]+c),255*(r*s[2]+c)]},o.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]},o.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]},o.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)]},o.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,n=r-t;let s=0;return n<1&&(s=(r-n)/(1-n)),[e[0],100*n,100*s]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.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},o.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"),s=e("./route"),o={};Object.keys(n).forEach(e=>{o[e]={},Object.defineProperty(o[e],"channels",{value:n[e].channels}),Object.defineProperty(o[e],"labels",{value:n[e].labels});const t=s(e);Object.keys(t).forEach(r=>{const n=t[r];o[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),o[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=o}}},{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 s(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(),s=Object.keys(n[e]);for(let n=s.length,o=0;o<n;o++){const n=s[o],i=t[n];-1===i.distance&&(i.distance=t[e].distance+1,i.parent=e,r.unshift(n))}}return t}function o(e,t){return function(r){return t(e(r))}}function i(e,t){const r=[t[e].parent,e];let s=n[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)r.unshift(t[i].parent),s=o(n[t[i].parent][i],s),i=t[i].parent;return s.conversion=r,s}t.exports=function(e){const t=s(e),r={},n=Object.keys(t);for(let e=n.length,s=0;s<e;s++){const e=n[s];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 s(e){if(e){var t=[0,0,0],r=1,s=e.match(/^#([a-fA-F0-9]{3})$/);if(s){s=s[1];for(var o=0;o<t.length;o++)t[o]=parseInt(s[o]+s[o],16)}else if(s=e.match(/^#([a-fA-F0-9]{6})$/)){s=s[1];for(o=0;o<t.length;o++)t[o]=parseInt(s.slice(2*o,2*o+2),16)}else if(s=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(o=0;o<t.length;o++)t[o]=parseInt(s[o+1]);r=parseFloat(s[4])}else if(s=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(o=0;o<t.length;o++)t[o]=Math.round(2.55*parseFloat(s[o+1]));r=parseFloat(s[4])}else if(s=e.match(/(\D+)/)){if("transparent"==s[1])return[0,0,0,0];if(!(t=n[s[1]]))return}for(o=0;o<t.length;o++)t[o]=l(t[o],0,255);return r=r||0==r?l(r,0,1):1,t[3]=r,t}}function o(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[l(parseInt(t[1]),0,360),l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(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[l(parseInt(t[1]),0,360),l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(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 c(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 u(e,t){return t===undefined&&(t=e[3]!==undefined?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function l(e,t,r){return Math.min(Math.max(t,e),r)}function d(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}t.exports={getRgba:s,getHsla:o,getRgb:function(e){var t=s(e);return t&&t.slice(0,3)},getHsl:function(e){var t=o(e);return t&&t.slice(0,3)},getHwb:i,getAlpha:function(e){var t=s(e);if(t)return t[3];if(t=o(e))return t[3];if(t=i(e))return t[3]},hexString:function(e){return"#"+d(e[0])+d(e[1])+d(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 c(e,t);var r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),s=Math.round(e[2]/255*100);return"rgb("+r+"%, "+n+"%, "+s+"%)"},percentaString:c,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return u(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:u,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 f[e.slice(0,3)]}};var f={};for(var h in n)f[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"),s=o(e("./create_buffer"));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,o(e("./define_crc")).default)("crc1",function(e,t){n.Buffer.isBuffer(e)||(e=(0,s.default)(e));for(var r=~~t,o=0,i=0;i<e.length;i++){o+=e[i]}return(r+=o%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"),s=i(e("./create_buffer")),o=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 c=(0,o.default)("crc-16",function(e,t){n.Buffer.isBuffer(e)||(e=(0,s.default)(e));for(var r=~~t,o=0;o<e.length;o++){var i=e[o];r=65535&(a[255&(r^i)]^r>>8)}return r});r.default=c}}},{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"),s=i(e("./create_buffer")),o=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 c=(0,o.default)("ccitt",function(e,t){n.Buffer.isBuffer(e)||(e=(0,s.default)(e));for(var r=void 0!==t?~~t:65535,o=0;o<e.length;o++){var i=e[o];r=65535&(a[255&(r>>8^i)]^r<<8)}return r});r.default=c}}},{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"),s=i(e("./create_buffer")),o=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 c=(0,o.default)("kermit",function(e,t){n.Buffer.isBuffer(e)||(e=(0,s.default)(e));for(var r=void 0!==t?~~t:0,o=0;o<e.length;o++){var i=e[o];r=65535&(a[255&(r^i)]^r>>8)}return r});r.default=c}}},{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"),s=i(e("./create_buffer")),o=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 c=(0,o.default)("crc-16-modbus",function(e,t){n.Buffer.isBuffer(e)||(e=(0,s.default)(e));for(var r=void 0!==t?~~t:65535,o=0;o<e.length;o++){var i=e[o];r=65535&(a[255&(r^i)]^r>>8)}return r});r.default=c}}},{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"),s=o(e("./create_buffer"));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,o(e("./define_crc")).default)("xmodem",function(e,t){n.Buffer.isBuffer(e)||(e=(0,s.default)(e));for(var r=void 0!==t?~~t:0,o=0;o<e.length;o++){var i=r>>>8&255;i^=255&e[o],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"),s=i(e("./create_buffer")),o=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 c=(0,o.default)("crc-24",function(e,t){n.Buffer.isBuffer(e)||(e=(0,s.default)(e));for(var r=void 0!==t?~~t:11994318,o=0;o<e.length;o++){var i=e[o];r=16777215&(a[255&(r>>16^i)]^r<<8)}return r});r.default=c}}},{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"),s=i(e("./create_buffer")),o=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 c=(0,o.default)("crc-32",function(e,t){n.Buffer.isBuffer(e)||(e=(0,s.default)(e));for(var r=0===t?0:-1^t,o=0;o<e.length;o++){var i=e[o];r=a[255&(r^i)]^r>>>8}return-1^r});r.default=c}}},{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"),s=i(e("./create_buffer")),o=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 c=(0,o.default)("crc-8",function(e,t){n.Buffer.isBuffer(e)||(e=(0,s.default)(e));for(var r=~~t,o=0;o<e.length;o++){var i=e[o];r=255&a[255&(r^i)]}return r});r.default=c}}},{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"),s=i(e("./create_buffer")),o=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 c=(0,o.default)("dallas-1-wire",function(e,t){n.Buffer.isBuffer(e)||(e=(0,s.default)(e));for(var r=~~t,o=0;o<e.length;o++){var i=e[o];r=255&a[255&(r^i)]}return r});r.default=c}}},{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"),s=i(e("./create_buffer")),o=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 c=(0,o.default)("jam",function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:-1;n.Buffer.isBuffer(e)||(e=(0,s.default)(e));for(var r=0===t?0:~~t,o=0;o<e.length;o++){var i=e[o];r=a[255&(r^i)]^r>>>8}return r});r.default=c}}},{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"),s=n.Buffer.from&&n.Buffer.alloc&&n.Buffer.allocUnsafe&&n.Buffer.allocUnsafeSlow?n.Buffer.from:function(e){return new n.Buffer(e)};r.default=s}}},{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"),s=e("bn.js");t.exports=function(e){return new i(e)};var o={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=o[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 s=new r(e);if(n&&s.length<n){var o=new r(n-s.length);o.fill(0),s=r.concat([o,s])}return t?s.toString(t):s}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.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 s(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"),s=e("md5.js"),o=e("ripemd160"),i=e("sha.js"),a=e("cipher-base");function c(e){a.call(this,"digest"),this._hash=e}n(c,a),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new s:"rmd160"===e||"ripemd160"===e?new o:new c(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"),s=e("./legacy"),o=e("cipher-base"),i=e("safe-buffer").Buffer,a=e("create-hash/md5"),c=e("ripemd160"),u=e("sha.js"),l=i.alloc(128);function d(e,t){o.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 c:u(e)).update(t).digest():t.length<r&&(t=i.concat([t,l],r));for(var n=this._ipad=i.allocUnsafe(r),s=this._opad=i.allocUnsafe(r),a=0;a<r;a++)n[a]=54^t[a],s[a]=92^t[a];this._hash="rmd160"===e?new c:u(e),this._hash.update(n)}n(d,o),d.prototype._update=function(e){this._hash.update(e)},d.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new c:u(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new d("rmd160",t):"md5"===e?new s(a,t):new d(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"),s=e("safe-buffer").Buffer,o=e("cipher-base"),i=s.alloc(128),a=64;function c(e,t){o.call(this,"digest"),"string"==typeof t&&(t=s.from(t)),this._alg=e,this._key=t,t.length>a?t=e(t):t.length<a&&(t=s.concat([t,i],a));for(var r=this._ipad=s.allocUnsafe(a),n=this._opad=s.allocUnsafe(a),c=0;c<a;c++)r[c]=54^t[c],n[c]=92^t[c];this._hash=[r]}n(c,o),c.prototype._update=function(e){this._hash.push(e)},c.prototype._final=function(){var e=this._alg(s.concat(this._hash));return this._alg(s.concat([this._opad,e]))},t.exports=c}}},{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 s(e,t){var r={zone:t};if(e?e instanceof s?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))}s.prototype.addYear=function(){this._date=this._date.plus({years:1})},s.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")},s.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")},s.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}))},s.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}))},s.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}))},s.prototype.subtractYear=function(){this._date=this._date.minus({years:1})},s.prototype.subtractMonth=function(){this._date=this._date.minus({months:1}).endOf("month").startOf("second")},s.prototype.subtractDay=function(){this._date=this._date.minus({days:1}).endOf("day").startOf("second")},s.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}))},s.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}))},s.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}))},s.prototype.getDate=function(){return this._date.day},s.prototype.getFullYear=function(){return this._date.year},s.prototype.getDay=function(){var e=this._date.weekday;return 7==e?0:e},s.prototype.getMonth=function(){return this._date.month-1},s.prototype.getHours=function(){return this._date.hour},s.prototype.getMinutes=function(){return this._date.minute},s.prototype.getSeconds=function(){return this._date.second},s.prototype.getMilliseconds=function(){return this._date.millisecond},s.prototype.getTime=function(){return this._date.valueOf()},s.prototype.getUTCDate=function(){return this._getUTC().day},s.prototype.getUTCFullYear=function(){return this._getUTC().year},s.prototype.getUTCDay=function(){var e=this._getUTC().weekday;return 7==e?0:e},s.prototype.getUTCMonth=function(){return this._getUTC().month-1},s.prototype.getUTCHours=function(){return this._getUTC().hour},s.prototype.getUTCMinutes=function(){return this._getUTC().minute},s.prototype.getUTCSeconds=function(){return this._getUTC().second},s.prototype.toISOString=function(){return this._date.toUTC().toISO()},s.prototype.toJSON=function(){return this._date.toJSON()},s.prototype.setDate=function(e){this._date=this._date.set({day:e})},s.prototype.setFullYear=function(e){this._date=this._date.set({year:e})},s.prototype.setDay=function(e){this._date=this._date.set({weekday:e})},s.prototype.setMonth=function(e){this._date=this._date.set({month:e+1})},s.prototype.setHours=function(e){this._date=this._date.set({hour:e})},s.prototype.setMinutes=function(e){this._date=this._date.set({minute:e})},s.prototype.setSeconds=function(e){this._date=this._date.set({second:e})},s.prototype.setMilliseconds=function(e){this._date=this._date.set({millisecond:e})},s.prototype._getUTC=function(){return this._date.toUTC()},s.prototype.toString=function(){return this.toDate().toString()},s.prototype.toDate=function(){return this._date.toJSDate()},s.prototype.isLastDayOfMonth=function(){var e=this._date.plus({days:1}).startOf("day");return this._date.month!==e.month},s.prototype.isLastWeekdayOfMonth=function(){var e=this._date.plus({days:7}).startOf("day");return this._date.month!==e.month},t.exports=s}}},{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"),s=e("./field_stringify");function o(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=o._freezeFields(e)}o.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"],o.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"},o.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"]}],o.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31],o.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}},o.parseDefaults=["0","*","*","*","*","*"],o.standardValidCharacters=/^[,*\d/-]+$/,o.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/,o.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/,o.validCharacters={second:o.standardValidCharacters,minute:o.standardValidCharacters,hour:o.standardValidCharacters,dayOfMonth:o.dayOfMonthValidCharacters,month:o.standardValidCharacters,dayOfWeek:o.dayOfWeekValidCharacters},o._isValidConstraintChar=function(e,t){return"string"==typeof t&&e.chars.some(function(e){return t.indexOf(e)>-1})},o._parseField=function(e,t,r){switch(e){case"month":case"dayOfWeek":var n=o.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(!o.validCharacters[e].test(t))throw new Error("Invalid characters, got value: "+t);function s(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=[],s=e.split("-");if(s.length>1){if(s.length<2)return+e;if(!s[0].length){if(!s[1].length)throw new Error("Invalid range: "+e);return+e}var o=+s[0],i=+s[1];if(Number.isNaN(o)||Number.isNaN(i)||o<r.min||i>r.max)throw new Error("Constraint error, got range "+o+"-"+i+" expected range "+r.min+"-"+r.max);if(o>=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 c=o,u=i;c<=u;c++)a>0&&a%t===0?(a=1,n.push(c)):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 s=0,i=t.length;s<i;s++){var a=t[s];if(o._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(o._isValidConstraintChar(r,t))return void n.push(t);var c=+t;if(Number.isNaN(c)||c<r.min||c>r.max)throw new Error("Constraint error, got value "+t+" expected range "+r.min+"-"+r.max);"dayOfWeek"===e&&(c%=7),n.push(c)}}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 c=0,u=a.length;c<u;c++)i(s(a[c]));else i(s(t));return n.sort(o._sortCompareFn),n}(t)},o._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)},o._handleMaxDaysInMonth=function(e){if(1===e.month.length){var t=o.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(o._sortCompareFn)}},o._freezeFields=function(e){for(var t=0,r=o.map.length;t<r;++t){var n=o.map[t],s=e[n];e[n]=Object.freeze(s)}return Object.freeze(e)},o.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 s=e.getHours();e[t+r]();var o=e.getHours(),i=o-s;2===i?24!==this.fields.hour.length&&(this._dstStart=o):0===i&&0===e.getMinutes()&&0===e.getSeconds()&&24!==this.fields.hour.length&&(this._dstEnd=o)}},o.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 s(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),c=this._startDate,u=this._endDate,l=a.getTime(),d=0;function f(e){return e.some(function(e){if(!s([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(;d<1e4;){if(d++,e){if(c&&a.getTime()-c.getTime()<0)throw new Error("Out of the timespan range")}else if(u&&u.getTime()-a.getTime()<0)throw new Error("Out of the timespan range");var h=t(a.getDate(),this.fields.dayOfMonth);s(this.fields.dayOfMonth)&&(h=h||a.isLastDayOfMonth());var m=t(a.getDay(),this.fields.dayOfWeek);s(this.fields.dayOfWeek)&&(m=m||f(this.fields.dayOfWeek));var p=this.fields.dayOfMonth.length>=o.daysInMonth[a.getMonth()],b=this.fields.dayOfWeek.length===o.constraints[5].max-o.constraints[5].min+1,g=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(g,this.fields.hour)){if(this._dstEnd===g&&!e){this._dstEnd=null,this._applyTimezoneShift(a,"add","Hour");continue}}else{if(this._dstStart!==g){this._dstStart=null,this._applyTimezoneShift(a,i,"Hour");continue}if(!t(g-1,this.fields.hour)){a[i+"Hour"]();continue}}if(t(a.getMinutes(),this.fields.minute))if(t(a.getSeconds(),this.fields.second)){if(l!==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(d>=1e4)throw new Error("Invalid expression, loop limit exceeded");return this._currentDate=new n(a,this._tz),this._hasIterated=!0,a},o.prototype.next=function(){var e=this._findSchedule();return this._isIterator?{value:e,done:!this.hasNext()}:e},o.prototype.prev=function(){var e=this._findSchedule(!0);return this._isIterator?{value:e,done:!this.hasPrev()}:e},o.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}},o.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}},o.prototype.iterate=function(e,t){var r=[];if(e>=0)for(var n=0,s=e;n<s;n++)try{var o=this.next();r.push(o),t&&t(o,n)}catch(e){break}else for(n=0,s=e;n>s;n--)try{o=this.prev();r.push(o),t&&t(o,n)}catch(e){break}return r},o.prototype.reset=function(e){this._currentDate=new n(e||this._options.currentDate)},o.prototype.stringify=function(e){for(var t=[],r=e?0:1,n=o.map.length;r<n;++r){var i=o.map[r],a=this.fields[i],c="dayOfMonth"===i&&1===this.fields.month.length?{min:1,max:o.daysInMonth[this.fields.month[0]-1]}:o.constraints[r];t.push(s(a,c.min,c.max))}return t.join(" ")},o.parse=function(e,t){var r=this;function s(e,t){t||(t={}),void 0===t.currentDate&&(t.currentDate=new n(undefined,r._tz)),o.predefined[e]&&(e=o.predefined[e]);var s=[],i=(e+"").trim().split(/\s+/);if(i.length>6)throw new Error("Invalid cron expression");for(var a=o.map.length-i.length,c=0,u=o.map.length;c<u;++c){var l=o.map[c],d=i[i.length>u?c:c-a];if(c<a||!d)s.push(o._parseField(l,o.parseDefaults[c],o.constraints[c]));else{var f="dayOfWeek"===l?p(d):d;s.push(o._parseField(l,f,o.constraints[c]))}}var h={};for(c=0,u=o.map.length;c<u;c++){h[o.map[c]]=s[c]}var m=o._handleMaxDaysInMonth(h);return h.dayOfMonth=m||h.dayOfMonth,new o(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={}),s(e,t)},o.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,s=t.length;n<s;n++){var i=t[n];if(!o._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={},s=0,i=o.map.length;s<i;++s){var a=o.map[s],c=e[a];r(a,c,o.constraints[s]);for(var u=[],l=-1;++l<c.length;)u[l]=c[l];if((c=u.sort(o._sortCompareFn).filter(function(e,t,r){return!t||e!==r[t-1]})).length!==u.length)throw new Error("Validation error, Field "+a+" contains duplicate values");n[a]=c}var d=o._handleMaxDaysInMonth(n);return n.dayOfMonth=d||n.dayOfMonth,new o(n,t||{})},t.exports=o}}},{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 s(e,t){e.end=t,e.step=t-e.start,e.count=2}function o(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?(o(t,r,n(a)),r=undefined):r?1===r.count?s(r,a):r.step===a-r.end?(r.count++,r.end=a):2===r.count?(t.push(n(r.start)),s(r=n(r.end),a)):(o(t,r),r=n(a)):r=n(a)}return o(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 s=n(e);if(1===s.length){var o=s[0];if(1===(u=o.step)&&o.start===t&&o.end===r)return"*";if(1!==u&&o.start===t&&o.end===r-u+1)return"*/"+u}for(var i=[],a=0,c=s.length;a<c;++a){var u,l=s[a];if(1===l.count)i.push(l.start);else 1===(u=l.step)?i.push(l.start+"-"+l.end):l.end===r-u+1?i.push(l.start+"/"+u):i.push(l.start+"-"+l.end+"/"+u)}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 s(){}s._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)},s.parseExpression=function(e,t){return n.parse(e,t)},s.fieldsToExpression=function(e,t){return n.fieldsToExpression(e,t)},s.parseString=function(e){for(var t=e.split("\n"),r={variables:{},expressions:[],errors:{}},n=0,o=t.length;n<o;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 c=null;try{c=s._parseEntry("0 "+a),r.expressions.push(c.interval)}catch(e){r.errors[a]=e}}}}return r},s.parseFile=function(t,r){e("fs").readFile(t,function(e,t){if(!e)return r(null,s.parseString(t.toString()));r(e)})},t.exports=s}}},{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"),s=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(s);r.getHashes=function(){return o};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 c=e("diffie-hellman");r.DiffieHellmanGroup=c.DiffieHellmanGroup,r.createDiffieHellmanGroup=c.createDiffieHellmanGroup,r.getDiffieHellman=c.getDiffieHellman,r.createDiffieHellman=c.createDiffieHellman,r.DiffieHellman=c.DiffieHellman;var u=e("browserify-sign");r.createSign=u.createSign,r.Sign=u.Sign,r.createVerify=u.createVerify,r.Verify=u.Verify,r.createECDH=e("create-ecdh");var l=e("public-encrypt");r.publicEncrypt=l.publicEncrypt,r.privateEncrypt=l.privateEncrypt,r.publicDecrypt=l.publicDecrypt,r.privateDecrypt=l.privateDecrypt;var d=e("randomfill");r.randomFill=d.randomFill,r.randomFillSync=d.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"),s=e("object-assign"),o=e("locale-currency"),i=e("./currencies.json"),a=e("./localeFormats.json"),c={symbol:"",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},u={},l=[{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 d(e){return i[e]}function f(e){return void 0===e}t.exports={defaultCurrency:c,get currencies(){return Object.keys(i).map(function(e){return i[e]})},findCurrency:d,format:function(e,t){var r=t.code||t.locale&&o.getCurrency(t.locale),i=/^([a-z]+)([_-]([a-z]+))?$/i.exec(t.locale)||[],h=i[1],m=i[3],p=s({},u,a[h]||{},a[h+"-"+m]||{}),b=s({},c,d(r),p),g=b.symbolOnLeft,y=b.spaceBetweenAmountAndSymbol,w=l.filter(function(e){return e.symbolOnLeft==g&&e.spaceBetweenAmountAndSymbol==y})[0].format;return n.formatMoney(e,{symbol:f(t.symbol)?b.symbol:t.symbol,decimal:f(t.decimal)?b.decimalSeparator:t.decimal,thousand:f(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&&o.getCurrency(t.locale),i=a[t.locale]||u,l=s({},c,d(r),i),h=f(t.decimal)?l.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,s=0;e[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(s=n))}),e.splice(s,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")||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:s}=t.exports;s.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,s,o,i=null;function a(...e){if(!a.enabled)return;const n=a,s=Number(new Date),o=s-(t||s);n.diff=o,n.prev=t,n.curr=s,t=s,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,s)=>{if("%%"===t)return"%";i++;const o=r.formatters[s];if("function"==typeof o){const r=e[i];t=o.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:(s!==r.namespaces&&(s=r.namespaces,o=r.enabled(e)),o),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 s(e,t){let r=0,n=0,s=-1,o=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(s=n,o=r,n++):(r++,n++);else{if(-1===s)return!1;n=s+1,o++,r=o}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}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,...r.skips.map(e=>"-"+e)].join(",");return r.enable(""),e},r.enable=function(e){r.save(e),r.namespaces=e,r.names=[],r.skips=[];const t=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of t)"-"===e[0]?r.skips.push(e.slice(1)):r.names.push(e)},r.enabled=function(e){for(const t of r.skips)if(s(e,t))return!1;for(const t of r.names)if(s(e,t))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(s){!n.call(t,s)||r&&("caller"===s||"callee"===s||"arguments"===s)||null===t[s]||"object"!=typeof t[s]&&"function"!=typeof t[s]||Object.isFrozen(t[s])||e(t[s])}),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===s}(e)}(e)};var s="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map(function(e){return o(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 c(e,t){try{return t in e}catch(e){return!1}}function u(e,t,r){var n={};return r.isMergeableObject(e)&&a(e).forEach(function(t){n[t]=o(e[t],r)}),a(t).forEach(function(s){(function(e,t){return c(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(c(e,s)&&r.isMergeableObject(t[s])?n[s]=function(e,t){if(!t.customMerge)return l;var r=t.customMerge(e);return"function"==typeof r?r:l}(s,r)(e[s],t[s],r):n[s]=o(t[s],r))}),n}function l(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||i,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=o;var s=Array.isArray(t);return s===Array.isArray(e)?s?r.arrayMerge(e,t,r):u(e,t,r):o(t,r)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,r){return l(e,r,t)},{})};var d=l;t.exports=d}}},{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"),s=e("es-errors/syntax"),o=e("es-errors/type"),i=e("gopd");t.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],d=!!i&&i(e,t);if(n)n(e,t,{configurable:null===u&&d?d.configurable:!u,enumerable:null===a&&d?d.enumerable:!a,value:r,writable:null===c&&d?d.writable:!c});else{if(!l&&(a||c||u))throw new s("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"),s=e("inherits"),o={};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()}s(t,e);for(var r=Object.keys(o),n=0;n<r.length;n++){var i=r[n];t.prototype[i]=o[i]}return t.create=function(e){return new t(e)},t},o._cbcInit=function(){var e=new i(this.options.iv);this._cbcState=e},o._update=function(e,t,r,n){var s=this._cbcState,o=this.constructor.super_.prototype,i=s.iv;if("encrypt"===this.type){for(var a=0;a<this.blockSize;a++)i[a]^=e[t+a];o._update.call(this,i,0,r,n);for(a=0;a<this.blockSize;a++)i[a]=r[n+a]}else{o._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 s(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=s,s.prototype._init=function(){},s.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},s.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},s.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},s.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,s=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(s,r)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,s,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return s},s.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,s=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(s,r);return t+=this._buffer(e,t),s},s.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},s.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},s.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},s.prototype._unpad=function(e){return e},s.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"),s=e("inherits"),o=e("../des"),i=o.utils,a=o.Cipher;function c(){this.tmp=new Array(2),this.keys=null}function u(e){a.call(this,e);var t=new c;this._desState=t,this.deriveKeys(t,e.key)}s(u,a),t.exports=u,u.create=function(e){return new u(e)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];u.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),s=i.readUInt32BE(t,4);i.pc1(r,s,e.tmp,0),r=e.tmp[0],s=e.tmp[1];for(var o=0;o<e.keys.length;o+=2){var a=l[o>>>1];r=i.r28shl(r,a),s=i.r28shl(s,a),i.pc2(r,s,e.keys,o)}},u.prototype._update=function(e,t,r,n){var s=this._desState,o=i.readUInt32BE(e,t),a=i.readUInt32BE(e,t+4);i.ip(o,a,s.tmp,0),o=s.tmp[0],a=s.tmp[1],"encrypt"===this.type?this._encrypt(s,o,a,s.tmp,0):this._decrypt(s,o,a,s.tmp,0),o=s.tmp[0],a=s.tmp[1],i.writeUInt32BE(r,o,n),i.writeUInt32BE(r,a,n+4)},u.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},u.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)},u.prototype._encrypt=function(e,t,r,n,s){for(var o=t,a=r,c=0;c<e.keys.length;c+=2){var u=e.keys[c],l=e.keys[c+1];i.expand(a,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var d=i.substitute(u,l),f=a;a=(o^i.permute(d))>>>0,o=f}i.rip(a,o,n,s)},u.prototype._decrypt=function(e,t,r,n,s){for(var o=r,a=t,c=e.keys.length-2;c>=0;c-=2){var u=e.keys[c],l=e.keys[c+1];i.expand(o,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var d=i.substitute(u,l),f=o;o=(a^i.permute(d))>>>0,a=f}i.rip(o,a,n,s)}}}},{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"),s=e("inherits"),o=e("../des"),i=o.Cipher,a=o.DES;function c(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),s=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:s}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:s}),a.create({type:"decrypt",key:r})]}function u(e){i.call(this,e);var t=new c(this.type,this.options.key);this._edeState=t}s(u,i),t.exports=u,u.create=function(e){return new u(e)},u.prototype._update=function(e,t,r,n){var s=this._edeState;s.ciphers[0]._update(e,t,r,n),s.ciphers[1]._update(r,n,r,n),s.ciphers[2]._update(r,n,r,n)},u.prototype._pad=a.prototype._pad,u.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 s=0,o=0,i=6;i>=0;i-=2){for(var 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(i=6;i>=0;i-=2){for(a=1;a<=25;a+=8)o<<=1,o|=t>>>a+i&1;for(a=1;a<=25;a+=8)o<<=1,o|=e>>>a+i&1}r[n+0]=s>>>0,r[n+1]=o>>>0},r.rip=function(e,t,r,n){for(var s=0,o=0,i=0;i<4;i++)for(var a=24;a>=0;a-=8)s<<=1,s|=t>>>a+i&1,s<<=1,s|=e>>>a+i&1;for(i=4;i<8;i++)for(a=24;a>=0;a-=8)o<<=1,o|=t>>>a+i&1,o<<=1,o|=e>>>a+i&1;r[n+0]=s>>>0,r[n+1]=o>>>0},r.pc1=function(e,t,r,n){for(var s=0,o=0,i=7;i>=5;i--){for(var 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|=t>>a+i&1;for(i=1;i<=3;i++){for(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|=e>>a+i&1;r[n+0]=s>>>0,r[n+1]=o>>>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,s){for(var o=0,i=0,a=n.length>>>1,c=0;c<a;c++)o<<=1,o|=e>>>n[c]&1;for(c=a;c<n.length;c++)i<<=1,i|=t>>>n[c]&1;r[s+0]=o>>>0,r[s+1]=i>>>0},r.expand=function(e,t,r){var n=0,s=0;n=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=e>>>o&63;for(o=11;o>=3;o-=4)s|=e>>>o&63,s<<=6;s|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=s>>>0};var s=[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|=s[64*n+(e>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=s[256+64*n+(t>>>18-6*n&63)]}return r>>>0};var o=[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<o.length;r++)t<<=1,t|=e>>>o[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 s=[],o=0;o<t;o+=r)s.push(n.slice(o,o+r));return s.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"),s=e("./lib/primes.json"),o=e("./lib/dh");var i={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(e){var r=new t(s[e].prime,"hex"),n=new t(s[e].gen,"hex");return new o(r,n)},r.createDiffieHellman=r.DiffieHellman=function e(r,s,a,c){return t.isBuffer(s)||i[s]===undefined?e(r,"binary",s,a):(s=s||"binary",c=c||"binary",a=a||new t([2]),t.isBuffer(a)||(a=new t(a,c)),"number"==typeof r?new o(n(r,a),a,!0):(t.isBuffer(r)||(r=new t(r,s)),new o(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"),s=new(e("miller-rabin")),o=new n(24),i=new n(11),a=new n(10),c=new n(3),u=new n(7),l=e("./generatePrime"),d=e("randombytes");function f(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=f,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 d,f=0;if(e.isEven()||!l.simpleSieve||!l.fermatTest(e)||!s.test(e))return f+=1,f+="02"===r||"05"===r?8:4,m[n]=f,f;switch(s.test(e.shrn(1))||(f+=2),r){case"02":e.mod(o).cmp(i)&&(f+=8);break;case"05":(d=e.mod(a)).cmp(c)&&d.cmp(u)&&(f+=8);break;default:f+=4}return m[n]=f,f}(this.__prime,this.__gen)),this._primeCode}}),p.prototype.generateKeys=function(){return this._priv||(this._priv=new n(d(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(),s=new r(t.toArray()),o=this.getPrime();if(s.length<o.length){var i=new r(o.length-s.length);i.fill(0),s=r.concat([i,s])}return s},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=y,y.simpleSieve=b,y.fermatTest=g;var s=e("bn.js"),o=new s(24),i=new(e("miller-rabin")),a=new s(1),c=new s(2),u=new s(5),l=(new s(16),new s(8),new s(10)),d=new s(3),f=(new s(7),new s(11)),h=new s(4),m=(new s(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)),s=0;s<t&&e[s]<=n&&r%e[s]!==0;s++);t!==s&&e[s]<=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 g(e){var t=s.mont(e);return 0===c.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function y(e,t){if(e<16)return new s(2===t||5===t?[140,123]:[140,39]);var r,m;for(t=new s(t);;){for(r=new s(n(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(a),r.testn(1)||r.iadd(c),t.cmp(c)){if(!t.cmp(u))for(;r.mod(l).cmp(d);)r.iadd(h)}else for(;r.mod(o).cmp(f);)r.iadd(h);if(b(m=r.shrn(1))&&b(r)&&g(m)&&g(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,s=e("call-bind-apply-helpers"),o=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&&o&&o(Object.prototype,"__proto__"),a=Object,c=a.getPrototypeOf;t.exports=i&&"function"==typeof i.get?s([i.get]):"function"==typeof c&&function(e){return c(null==e?e:a(e))}}}},{package:"eslint-plugin-react>es-iterator-helpers>has-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"),s=e("../utils"),o=s.getNAF,i=s.getJSF,a=s.assert;function c(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 u(e,t){this.curve=e,this.type=t,this.precomputed=null}t.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){a(e.precomputed);var r=e._getDoubles(),n=o(t,1,this._bitLength),s=(1<<r.step+1)-(r.step%2==0?2:1);s/=3;var i,c,u=[];for(i=0;i<n.length;i+=r.step){c=0;for(var l=i+r.step-1;l>=i;l--)c=(c<<1)+n[l];u.push(c)}for(var d=this.jpoint(null,null,null),f=this.jpoint(null,null,null),h=s;h>0;h--){for(i=0;i<u.length;i++)(c=u[i])===h?f=f.mixedAdd(r.points[i]):c===-h&&(f=f.mixedAdd(r.points[i].neg()));d=d.add(f)}return d.toP()},c.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var s=n.points,i=o(t,r,this._bitLength),c=this.jpoint(null,null,null),u=i.length-1;u>=0;u--){for(var l=0;u>=0&&0===i[u];u--)l++;if(u>=0&&l++,c=c.dblp(l),u<0)break;var d=i[u];a(0!==d),c="affine"===e.type?d>0?c.mixedAdd(s[d-1>>1]):c.mixedAdd(s[-d-1>>1].neg()):d>0?c.add(s[d-1>>1]):c.add(s[-d-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,r,n,s){var a,c,u,l=this._wnafT1,d=this._wnafT2,f=this._wnafT3,h=0;for(a=0;a<n;a++){var m=(u=t[a])._getNAFPoints(e);l[a]=m.wnd,d[a]=m.points}for(a=n-1;a>=1;a-=2){var p=a-1,b=a;if(1===l[p]&&1===l[b]){var g=[t[p],null,null,t[b]];0===t[p].y.cmp(t[b].y)?(g[1]=t[p].add(t[b]),g[2]=t[p].toJ().mixedAdd(t[b].neg())):0===t[p].y.cmp(t[b].y.redNeg())?(g[1]=t[p].toJ().mixedAdd(t[b]),g[2]=t[p].add(t[b].neg())):(g[1]=t[p].toJ().mixedAdd(t[b]),g[2]=t[p].toJ().mixedAdd(t[b].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],w=i(r[p],r[b]);for(h=Math.max(w[0].length,h),f[p]=new Array(h),f[b]=new Array(h),c=0;c<h;c++){var k=0|w[0][c],x=0|w[1][c];f[p][c]=y[3*(k+1)+(x+1)],f[b][c]=0,d[p]=g}}else f[p]=o(r[p],l[p],this._bitLength),f[b]=o(r[b],l[b],this._bitLength),h=Math.max(f[p].length,h),h=Math.max(f[b].length,h)}var _=this.jpoint(null,null,null),v=this._wnafT4;for(a=h;a>=0;a--){for(var S=0;a>=0;){var E=!0;for(c=0;c<n;c++)v[c]=0|f[c][a],0!==v[c]&&(E=!1);if(!E)break;S++,a--}if(a>=0&&S++,_=_.dblp(S),a<0)break;for(c=0;c<n;c++){var A=v[c];0!==A&&(A>0?u=d[c][A-1>>1]:A<0&&(u=d[c][-A-1>>1].neg()),_="affine"===u.type?_.mixedAdd(u):_.add(u))}}for(a=0;a<n;a++)d[a]=null;return s?_:_.toP()},c.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(e,t){e=s.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")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.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))},u.prototype.encode=function(e,t){return s.encode(this._encode(t),e)},u.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},u.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)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,s=0;s<t;s+=e){for(var o=0;o<e;o++)n=n.dbl();r.push(n)}return{step:e,points:r}},u.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(),s=1;s<r;s++)t[s]=t[s-1].add(n);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.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"),s=e("bn.js"),o=e("inherits"),i=e("./base"),a=n.assert;function c(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 s(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new s(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new s(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 u(e,t,r,n,o){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 s(t,16),this.y=new s(r,16),this.z=n?new s(n,16):this.curve.one,this.t=o&&new s(o,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()))))}o(c,i),t.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},c.prototype.pointFromX=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),i=n.redMul(o.redInvm()),a=i.redSqrt();if(0!==a.redSqr().redSub(i).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(t&&!c||!t&&c)&&(a=a.redNeg()),this.point(e,a)},c.prototype.pointFromY=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),i=n.redMul(o.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)},c.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),s=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(s)},o(u,i.BasePoint),c.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},c.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.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)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.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),s=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=n.redAdd(t),i=o.redSub(r),a=n.redSub(t),c=s.redMul(i),u=o.redMul(a),l=s.redMul(a),d=i.redMul(o);return this.curve.point(c,u,d,l)},u.prototype._projDbl=function(){var e,t,r,n,s,o,i=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){var u=(n=this.curve._mulA(a)).redAdd(c);this.zOne?(e=i.redSub(a).redSub(c).redMul(u.redSub(this.curve.two)),t=u.redMul(n.redSub(c)),r=u.redSqr().redSub(u).redSub(u)):(s=this.z.redSqr(),o=u.redSub(s).redISub(s),e=i.redSub(a).redISub(c).redMul(o),t=u.redMul(n.redSub(c)),r=u.redMul(o))}else n=a.redAdd(c),s=this.curve._mulC(this.z).redSqr(),o=n.redSub(s).redSub(s),e=this.curve._mulC(i.redISub(n)).redMul(o),t=this.curve._mulC(n).redMul(a.redISub(c)),r=n.redMul(o);return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.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),s=this.z.redMul(e.z.redAdd(e.z)),o=r.redSub(t),i=s.redSub(n),a=s.redAdd(n),c=r.redAdd(t),u=o.redMul(i),l=a.redMul(c),d=o.redMul(c),f=i.redMul(a);return this.curve.point(u,l,f,d)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),s=n.redSqr(),o=this.x.redMul(e.x),i=this.y.redMul(e.y),a=this.curve.d.redMul(o).redMul(i),c=s.redSub(a),u=s.redAdd(a),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(i),d=n.redMul(c).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(i.redSub(this.curve._mulA(o))),r=c.redMul(u)):(t=n.redMul(u).redMul(i.redSub(o)),r=this.curve._mulC(c).redMul(u)),this.curve.point(d,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.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},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.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}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.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"),s=e("inherits"),o=e("./base"),i=e("../utils");function a(e){o.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 c(e,t,r){o.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)))}s(a,o),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)},s(c,o.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(i.toArray(e,t),1)},a.prototype.point=function(e,t){return new c(this,e,t)},a.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.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)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.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),s=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,s)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),s=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(r),i=s.redMul(n),a=t.z.redMul(o.redAdd(i).redSqr()),c=t.x.redMul(o.redISub(i).redSqr());return this.curve.point(a,c)},c.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),s=[];0!==t.cmpn(0);t.iushrn(1))s.push(t.andln(1));for(var o=s.length-1;o>=0;o--)0===s[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.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"),s=e("bn.js"),o=e("inherits"),i=e("./base"),a=n.assert;function c(e){i.call(this,"short",e),this.a=new s(e.a,16).toRed(this.red),this.b=new s(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 u(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 s(t,16),this.y=new s(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 l(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 s(0)):(this.x=new s(t,16),this.y=new s(r,16),this.z=new s(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}o(c,i),t.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new s(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 s(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?r=o[0]:(r=o[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 s(e.a,16),b:new s(e.b,16)}}):this._getEndoBasis(r)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:s.mont(e),r=new s(2).toRed(t).redInvm(),n=r.redNeg(),o=new s(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(o).fromRed(),n.redSub(o).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,r,n,o,i,a,c,u,l,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,h=this.n.clone(),m=new s(1),p=new s(0),b=new s(0),g=new s(1),y=0;0!==f.cmpn(0);){var w=h.div(f);u=h.sub(w.mul(f)),l=b.sub(w.mul(m));var k=g.sub(w.mul(p));if(!n&&u.cmp(d)<0)t=c.neg(),r=m,n=u.neg(),o=l;else if(n&&2===++y)break;c=u,h=f,f=u,b=m,m=l,g=p,p=k}i=u.neg(),a=l;var x=n.sqr().add(o.sqr());return i.sqr().add(a.sqr()).cmp(x)>=0&&(i=t,a=r),n.negative&&(n=n.neg(),o=o.neg()),i.negative&&(i=i.neg(),a=a.neg()),[{a:n,b:o},{a:i,b:a}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],s=n.b.mul(e).divRound(this.n),o=r.b.neg().mul(e).divRound(this.n),i=s.mul(r.a),a=o.mul(n.a),c=s.mul(r.b),u=o.mul(n.b);return{k1:e.sub(i).sub(a),k2:c.add(u).neg()}},c.prototype.pointFromX=function(e,t){(e=new s(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 o=n.fromRed().isOdd();return(t&&!o||!t&&o)&&(n=n.redNeg()),this.point(e,n)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),s=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(s).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,s=this._endoWnafT2,o=0;o<e.length;o++){var i=this._endoSplit(t[o]),a=e[o],c=a._getBeta();i.k1.negative&&(i.k1.ineg(),a=a.neg(!0)),i.k2.negative&&(i.k2.ineg(),c=c.neg(!0)),n[2*o]=a,n[2*o+1]=c,s[2*o]=i.k1,s[2*o+1]=i.k2}for(var u=this._wnafMulAdd(1,n,s,2*o,r),l=0;l<2*o;l++)n[l]=null,s[l]=null;return u},o(u,i.BasePoint),c.prototype.point=function(e,t,r){return new u(this,e,t,r)},c.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.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}},u.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]},u.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 s(t){return e.point(t[0],t[1],r)}var o=t[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(s))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(s))}},n},u.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)+">"},u.prototype.isInfinity=function(){return this.inf},u.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)},u.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(),s=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),o=s.redSqr().redISub(this.x.redAdd(this.x)),i=s.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,i)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new s(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)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],s=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,s):this.curve._wnafMulAdd(1,n,s,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],s=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,s,!0):this.curve._wnafMulAdd(1,n,s,2,!0)},u.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))},u.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},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(l,i.BasePoint),c.prototype.jpoint=function(e,t,r){return new l(this,e,t,r)},l.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)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.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),s=e.x.redMul(r),o=this.y.redMul(t.redMul(e.z)),i=e.y.redMul(r.redMul(this.z)),a=n.redSub(s),c=o.redSub(i);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),d=n.redMul(u),f=c.redSqr().redIAdd(l).redISub(d).redISub(d),h=c.redMul(d.redISub(f)).redISub(o.redMul(l)),m=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(f,h,m)},l.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),s=this.y,o=e.y.redMul(t).redMul(this.z),i=r.redSub(n),a=s.redSub(o);if(0===i.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=i.redSqr(),u=c.redMul(i),l=r.redMul(c),d=a.redSqr().redIAdd(u).redISub(l).redISub(l),f=a.redMul(l.redISub(d)).redISub(s.redMul(u)),h=this.z.redMul(i);return this.curve.jpoint(d,f,h)},l.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,s=this.curve.tinv,o=this.x,i=this.y,a=this.z,c=a.redSqr().redSqr(),u=i.redAdd(i);for(t=0;t<e;t++){var l=o.redSqr(),d=u.redSqr(),f=d.redSqr(),h=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(c)),m=o.redMul(d),p=h.redSqr().redISub(m.redAdd(m)),b=m.redISub(p),g=h.redMul(b);g=g.redIAdd(g).redISub(f);var y=u.redMul(a);t+1<e&&(c=c.redMul(f)),o=p,a=y,u=g}return this.curve.jpoint(o,u.redMul(s),a)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),s=this.y.redSqr(),o=s.redSqr(),i=this.x.redAdd(s).redSqr().redISub(n).redISub(o);i=i.redIAdd(i);var a=n.redAdd(n).redIAdd(n),c=a.redSqr().redISub(i).redISub(i),u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),e=c,t=a.redMul(i.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),d=this.y.redSqr(),f=d.redSqr(),h=this.x.redAdd(d).redSqr().redISub(l).redISub(f);h=h.redIAdd(h);var m=l.redAdd(l).redIAdd(l),p=m.redSqr(),b=f.redIAdd(f);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)},l.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),s=this.y.redSqr(),o=s.redSqr(),i=this.x.redAdd(s).redSqr().redISub(n).redISub(o);i=i.redIAdd(i);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=a.redSqr().redISub(i).redISub(i);e=c;var u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),t=a.redMul(i.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),d=this.y.redSqr(),f=this.x.redMul(d),h=this.x.redSub(l).redMul(this.x.redAdd(l));h=h.redAdd(h).redIAdd(h);var m=f.redIAdd(f),p=(m=m.redIAdd(m)).redAdd(m);e=h.redSqr().redISub(p),r=this.y.redAdd(this.z).redSqr().redISub(d).redISub(l);var b=d.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)},l.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,s=n.redSqr().redSqr(),o=t.redSqr(),i=r.redSqr(),a=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(s)),c=t.redAdd(t),u=(c=c.redIAdd(c)).redMul(i),l=a.redSqr().redISub(u.redAdd(u)),d=u.redISub(l),f=i.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var h=a.redMul(d).redISub(f),m=r.redAdd(r).redMul(n);return this.curve.jpoint(l,h,m)},l.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(),s=e.redAdd(e).redIAdd(e),o=s.redSqr(),i=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(i=(i=(i=i.redIAdd(i)).redAdd(i).redIAdd(i)).redISub(o)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=s.redIAdd(i).redSqr().redISub(o).redISub(a).redISub(c),l=t.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var d=this.x.redMul(a).redISub(l);d=(d=d.redIAdd(d)).redIAdd(d);var f=this.y.redMul(u.redMul(c.redISub(u)).redISub(i.redMul(a)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var h=this.z.redAdd(i).redSqr().redISub(r).redISub(a);return this.curve.jpoint(d,f,h)},l.prototype.mul=function(e,t){return e=new s(e,t),this.curve._wnafMul(this,e)},l.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),s=r.redMul(e.z);return 0===this.y.redMul(s).redISub(e.y.redMul(n)).cmpn(0)},l.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(),s=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(s),0===this.x.cmp(r))return!0}},l.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)+">"},l.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,s=r,o=e("hash.js"),i=e("./curve"),a=e("./utils").assert;function c(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 u(e,t){Object.defineProperty(s,e,{configurable:!0,enumerable:!0,get:function(){var r=new c(t);return Object.defineProperty(s,e,{configurable:!0,enumerable:!0,value:r}),r}})}s.PresetCurve=c,u("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:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("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:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("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:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("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:o.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"]}),u("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:o.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"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("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:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=e("./precomputed/secp256k1")}catch(e){n=undefined}u("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:o.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"),s=e("hmac-drbg"),o=e("../utils"),i=e("../curves"),a=e("brorand"),c=o.assert,u=e("./key"),l=e("./signature");function d(e){if(!(this instanceof d))return new d(e);"string"==typeof e&&(c(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=d,d.prototype.keyPair=function(e){return new u(this,e)},d.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new s({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(),o=this.n.sub(new n(2));;){var i=new n(t.generate(r));if(!(i.cmp(o)>0))return i.iaddn(1),this.keyFromPrivate(i)}},d.prototype._truncateToN=function(e,t,r){var s;if(n.isBN(e)||"number"==typeof e)s=(e=new n(e,16)).byteLength();else if("object"==typeof e)s=e.length,e=new n(e,16);else{var o=e.toString();s=o.length+1>>>1,e=new n(o,16)}"number"!=typeof r&&(r=8*s);var i=r-this.n.bitLength();return i>0&&(e=e.ushrn(i)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,r,o){if("object"==typeof r&&(o=r,r=null),o||(o={}),"string"!=typeof e&&"number"!=typeof e&&!n.isBN(e)){c("object"==typeof e&&e&&"number"==typeof e.length,"Expected message to be an array-like, a hex string, or a BN instance"),c(e.length>>>0===e.length);for(var i=0;i<e.length;i++)c((255&e[i])===e[i])}t=this.keyFromPrivate(t,r),e=this._truncateToN(e,!1,o.msgBitLength),c(!e.isNeg(),"Can not sign a negative message");var a=this.n.byteLength(),u=t.getPrivate().toArray("be",a),d=e.toArray("be",a);c(new n(d).eq(e),"Can not sign message");for(var f=new s({hash:this.hash,entropy:u,nonce:d,pers:o.pers,persEnc:o.persEnc||"utf8"}),h=this.n.sub(new n(1)),m=0;;m++){var p=o.k?o.k(m):new n(f.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 g=b.getX(),y=g.umod(this.n);if(0!==y.cmpn(0)){var w=p.invm(this.n).mul(y.mul(t.getPrivate()).iadd(e));if(0!==(w=w.umod(this.n)).cmpn(0)){var k=(b.getY().isOdd()?1:0)|(0!==g.cmp(y)?2:0);return o.canonical&&w.cmp(this.nh)>0&&(w=this.n.sub(w),k^=1),new l({r:y,s:w,recoveryParam:k})}}}}}},d.prototype.verify=function(e,t,r,n,s){s||(s={}),e=this._truncateToN(e,!1,s.msgBitLength),r=this.keyFromPublic(r,n);var o=(t=new l(t,"hex")).r,i=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var a,c=i.invm(this.n),u=c.mul(e).umod(this.n),d=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,r.getPublic(),d)).isInfinity()&&a.eqXToP(o):!(a=this.g.mulAdd(u,r.getPublic(),d)).isInfinity()&&0===a.getX().umod(this.n).cmp(o)},d.prototype.recoverPubKey=function(e,t,r,s){c((3&r)===r,"The recovery param is more than two bits"),t=new l(t,s);var o=this.n,i=new n(e),a=t.r,u=t.s,d=1&r,f=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");a=f?this.curve.pointFromX(a.add(this.curve.n),d):this.curve.pointFromX(a,d);var h=t.r.invm(o),m=o.sub(i).mul(h).umod(o),p=u.mul(h).umod(o);return this.g.mulAdd(m,a,p)},d.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new l(t,n)).recoveryParam)return t.recoveryParam;for(var s=0;s<4;s++){var o;try{o=this.recoverPubKey(e,t,s)}catch(e){continue}if(o.eq(r))return s}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"),s=e("../utils").assert;function o(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=o,o.fromPublic=function(e,t,r){return t instanceof o?t:new o(e,{pub:t,pubEnc:r})},o.fromPrivate=function(e,t,r){return t instanceof o?t:new o(e,{priv:t,privEnc:r})},o.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"}},o.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},o.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?s(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||s(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)},o.prototype.derive=function(e){return e.validate()||s(e.validate(),"public point not validated"),e.mul(this.priv).getX()},o.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},o.prototype.verify=function(e,t,r){return this.ec.verify(e,t,this,undefined,r)},o.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"),s=e("../utils"),o=s.assert;function i(e,t){if(e instanceof i)return e;this._importDER(e,t)||(o(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 c(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 s=0,o=0,i=t.place;o<n;o++,i++)s<<=8,s|=e[i],s>>>=0;return!(s<=127)&&(t.place=i,s)}function u(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 l(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=s.toArray(e,t);var r=new a;if(48!==e[r.place++])return!1;var o=c(e,r);if(!1===o)return!1;if(o+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var i=c(e,r);if(!1===i)return!1;if(128&e[r.place])return!1;var u=e.slice(r.place,i+r.place);if(r.place+=i,2!==e[r.place++])return!1;var l=c(e,r);if(!1===l)return!1;if(e.length!==l+r.place)return!1;if(128&e[r.place])return!1;var d=e.slice(r.place,l+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===d[0]){if(!(128&d[1]))return!1;d=d.slice(1)}return this.r=new n(u),this.s=new n(d),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=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,t.length),(n=n.concat(t)).push(2),l(n,r.length);var o=n.concat(r),i=[48];return l(i,o.length),i=i.concat(o),s.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"),s=e("../curves"),o=e("../utils"),i=o.assert,a=o.parseBytes,c=e("./key"),u=e("./signature");function l(e){if(i("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);e=s[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=l,l.prototype.sign=function(e,t){e=a(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),s=this.g.mul(n),o=this.encodePoint(s),i=this.hashInt(o,r.pubBytes(),e).mul(r.priv()),c=n.add(i).umod(this.curve.n);return this.makeSignature({R:s,S:c,Rencoded:o})},l.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),s=this.hashInt(t.Rencoded(),n.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(n.pub().mul(s)).eq(o)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return o.intFromLE(e.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(e){return c.fromPublic(this,e)},l.prototype.keyFromSecret=function(e){return c.fromSecret(this,e)},l.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},l.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},l.prototype.decodePoint=function(e){var t=(e=o.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=!!(128&e[t]),s=o.intFromLE(r);return this.curve.pointFromY(s,n)},l.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(e){return o.intFromLE(e)},l.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"),s=n.assert,o=n.parseBytes,i=n.cachedProperty;function a(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(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 s(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 s(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"),s=e("../utils"),o=s.assert,i=s.cachedProperty,a=s.parseBytes;function c(e,t){this.eddsa=e,"object"!=typeof t&&(t=a(t)),Array.isArray(t)&&(o(t.length===2*e.encodingLength,"Signature has invalid size"),t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(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(c,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),i(c,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),i(c,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),i(c,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return s.encode(this.toBytes(),"hex").toUpperCase()},t.exports=c}}},{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,s=e("bn.js"),o=e("minimalistic-assert"),i=e("minimalistic-crypto-utils");n.assert=o,n.toArray=i.toArray,n.zero2=i.zero2,n.toHex=i.toHex,n.encode=i.encode,n.getNAF=function(e,t,r){var n,s=new Array(Math.max(e.bitLength(),r)+1);for(n=0;n<s.length;n+=1)s[n]=0;var o=1<<t+1,i=e.clone();for(n=0;n<s.length;n++){var a,c=i.andln(o-1);i.isOdd()?(a=c>(o>>1)-1?(o>>1)-c:c,i.isubn(a)):a=0,s[n]=a,i.iushrn(1)}return s},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n,s=0,o=0;e.cmpn(-s)>0||t.cmpn(-o)>0;){var i,a,c=e.andln(3)+s&3,u=t.andln(3)+o&3;3===c&&(c=-1),3===u&&(u=-1),i=1&c?3!==(n=e.andln(7)+s&7)&&5!==n||2!==u?c:-c:0,r[0].push(i),a=1&u?3!==(n=t.andln(7)+o&7)&&5!==n||2!==c?u:-u:0,r[1].push(a),2*s===i+1&&(s=1-s),2*o===a+1&&(o=1-o),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 s(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-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-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-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-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-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-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-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-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,s=e("idna-uts46-hx");function o(e){return e?s.toUnicode(e,{useStd3ASCII:!0,transitional:!1}):e}r.hash=function(e){for(var r="",s=0;s<32;s++)r+="00";if(name=o(e),name){var i=name.split(".");for(s=i.length-1;s>=0;s--){var a=n(i[s]);r=n(new t(r+a,"hex"))}}return"0x"+r},r.normalize=o}).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 s=n(e("@metamask/ethjs-query")),o=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 s.default(e.provider),n=(0,o.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 s,o=[];return n&&(s=n[1].match(/[A-z1-9]+/gu),s&&(o=s.map(e=>({type:e})))),{name:r,args:o}}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"),s=e("./utils.js");r.keccak224=(0,s.wrapHash)(n.keccak_224),r.keccak256=(()=>{const e=(0,s.wrapHash)(n.keccak_256);return e.create=n.keccak_256.create,e})(),r.keccak384=(0,s.wrapHash)(n.keccak_384),r.keccak512=(0,s.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,o.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"),s=e("@noble/hashes/utils"),o=e("./abstract/weierstrass.js");function i(e){return{hash:e,hmac:(t,...r)=>(0,n.hmac)(e,t,(0,s.concatBytes)(...r)),randomBytes:s.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,s=t;for(;r>o;)r&i&&(n=n.add(s)),s=s.double(),r>>=i;return n},precomputeWindow(e,t){const{windows:r,windowSize:s}=n(t),o=[];let i=e,a=i;for(let e=0;e<r;e++){a=i,o.push(a);for(let e=1;e<s;e++)a=a.add(i),o.push(a);i=a.double()}return o},wNAF(t,s,o){const{windows:a,windowSize:c}=n(t);let u=e.ZERO,l=e.BASE;const d=BigInt(2**t-1),f=2**t,h=BigInt(t);for(let e=0;e<a;e++){const t=e*c;let n=Number(o&d);o>>=h,n>c&&(n-=f,o+=i);const a=t,m=t+Math.abs(n)-1,p=e%2!=0,b=n<0;0===n?l=l.add(r(p,s[a])):u=u.add(r(b,s[m]))}return{p:u,f:l}},wNAFCached(e,t,r,n){const s=e._WINDOW_SIZE||1;let o=t.get(e);return o||(o=this.precomputeWindow(e,s),1!==s&&t.set(e,n(o))),this.wNAF(s,o,r)}}},r.validateBasic=function(e){return(0,n.validateField)(e.Fp),(0,s.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"),s=e("./utils.js"),o=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=u,r.expand_message_xof=l,r.hash_to_field=d,r.isogenyMap=function(e,t){const r=t.map(e=>Array.from(e).reverse());return(t,n)=>{const[s,o,i,a]=r.map(r=>r.reduce((r,n)=>e.add(e.mul(r,t),n)));return t=e.div(s,o),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,s){const o=d(n,2,{...r,DST:r.DST,...s}),i=e.fromAffine(t(o[0])),a=e.fromAffine(t(o[1])),c=i.add(a).clearCofactor();return c.assertValidity(),c},encodeToCurve(n,s){const o=d(n,1,{...r,DST:r.encodeDST,...s}),i=e.fromAffine(t(o[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"),s=e("./utils.js"),o=s.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 c(e){if(!Number.isSafeInteger(e))throw new Error("number expected")}function u(e,t,r,n){(0,s.abytes)(e),(0,s.abytes)(t),c(r),t.length>255&&(t=n((0,s.concatBytes)((0,s.utf8ToBytes)("H2C-OVERSIZE-DST-"),t)));const{outputLen:o,blockLen:u}=n,l=Math.ceil(r/o);if(l>255)throw new Error("Invalid xmd length");const d=(0,s.concatBytes)(t,i(t.length,1)),f=i(0,u),h=i(r,2),m=new Array(l),p=n((0,s.concatBytes)(f,e,h,i(0,1),d));m[0]=n((0,s.concatBytes)(p,i(1,1),d));for(let e=1;e<=l;e++){const t=[a(p,m[e-1]),i(e+1,1),d];m[e]=n((0,s.concatBytes)(...t))}return(0,s.concatBytes)(...m).slice(0,r)}function l(e,t,r,n,o){if((0,s.abytes)(e),(0,s.abytes)(t),c(r),t.length>255){const e=Math.ceil(2*n/8);t=o.create({dkLen:e}).update((0,s.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(t).digest()}if(r>65535||t.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return o.create({dkLen:r}).update(e).update(i(r,2)).update(t).update(i(t.length,1)).digest()}function d(e,t,r){(0,s.validateObject)(r,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});const{p:i,k:a,m:d,hash:f,expand:h,DST:m}=r;(0,s.abytes)(e),c(t);const p="string"==typeof m?(0,s.utf8ToBytes)(m):m,b=i.toString(2).length,g=Math.ceil((b+a)/8),y=t*d*g;let w;if("xmd"===h)w=u(e,p,y,f);else if("xof"===h)w=l(e,p,y,a,f);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(d);for(let r=0;r<d;r++){const s=g*(r+e*d),a=w.subarray(s,s+g);t[r]=(0,n.mod)(o(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=d,r.pow=f,r.pow2=function(e,t,r){let n=e;for(;t-- >s;)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=g,r.FpInvertBatch=y,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-o)/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<=s)throw new Error(`Expected Field ORDER > 0, got ${e}`);const{nBitLength:a,nByteLength:c}=w(e,t);if(c>2048)throw new Error("Field lengths over 2048 bytes are not supported");const u=p(e),l=Object.freeze({ORDER:e,BITS:a,BYTES:c,MASK:(0,n.bitMask)(a),ZERO:s,ONE:o,create:t=>d(t,e),isValid:t=>{if("bigint"!=typeof t)throw new Error("Invalid field element: expected bigint, got "+typeof t);return s<=t&&t<e},is0:e=>e===s,isOdd:e=>(e&o)===o,neg:t=>d(-t,e),eql:(e,t)=>e===t,sqr:t=>d(t*t,e),add:(t,r)=>d(t+r,e),sub:(t,r)=>d(t-r,e),mul:(t,r)=>d(t*r,e),pow:(e,t)=>g(l,e,t),div:(t,r)=>d(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=>u(l,e)),invertBatch:e=>y(l,e),cmov:(e,t,r)=>r?t:e,toBytes:e=>r?(0,n.numberToBytesLE)(e,c):(0,n.numberToBytesBE)(e,c),fromBytes:e=>{if(e.length!==c)throw new Error(`Fp.fromBytes: expected ${c}, got ${e.length}`);return r?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e)}});return Object.freeze(l)},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 s=(e=(0,n.ensureBytes)("privateHash",e)).length,i=w(t).nByteLength+8;if(i<24||s<i||s>1024)throw new Error(`hashToPrivateScalar: expected ${i}-1024 bytes of input, got ${s}`);return d(r?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e),t-o)+o},r.getFieldBytesLength=k,r.getMinHashLength=x,r.mapHashToField=function(e,t,r=!1){const s=e.length,i=k(t),a=x(t);if(s<16||s<a||s>1024)throw new Error(`expected ${a}-1024 bytes of input, got ${s}`);const c=d(r?(0,n.bytesToNumberBE)(e):(0,n.bytesToNumberLE)(e),t-o)+o;return r?(0,n.numberToBytesLE)(c,i):(0,n.numberToBytesBE)(c,i)};
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
const n=e("./utils.js"),s=BigInt(0),o=BigInt(1),i=BigInt(2),a=BigInt(3),c=BigInt(4),u=BigInt(5),l=BigInt(8);BigInt(9),BigInt(16);function d(e,t){const r=e%t;return r>=s?r:t+r}function f(e,t,r){if(r<=s||t<s)throw new Error("Expected power/modulo > 0");if(r===o)return s;let n=o;for(;t>s;)t&o&&(n=n*e%r),e=e*e%r,t>>=o;return n}function h(e,t){if(e===s||t<=s)throw new Error(`invert: expected positive integers, got n=${e} mod=${t}`);let r=d(e,t),n=t,i=s,a=o,c=o,u=s;for(;r!==s;){const e=n/r,t=n%r,s=i-c*e,o=a-u*e;n=r,r=t,i=c,a=u,c=s,u=o}if(n!==o)throw new Error("invert: does not exist");return d(i,t)}function m(e){const t=(e-o)/i;let r,n,a;for(r=e-o,n=0;r%i===s;r/=i,n++);for(a=i;a<e&&f(a,t,e)!==e-o;a++);if(1===n){const t=(e+o)/c;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 u=(r+o)/i;return function(e,s){if(e.pow(s,t)===e.neg(e.ONE))throw new Error("Cannot find square root");let i=n,c=e.pow(e.mul(e.ONE,a),r),l=e.pow(s,u),d=e.pow(s,r);for(;!e.eql(d,e.ONE);){if(e.eql(d,e.ZERO))return e.ZERO;let t=1;for(let r=e.sqr(d);t<i&&!e.eql(r,e.ONE);t++)r=e.sqr(r);const r=e.pow(c,o<<BigInt(i-t-1));c=e.sqr(r),l=e.mul(l,r),d=e.mul(d,c),i=t}return l}}function p(e){if(e%c===a){const t=(e+o)/c;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%l===u){const t=(e-u)/l;return function(e,r){const n=e.mul(r,i),s=e.pow(n,t),o=e.mul(r,s),a=e.mul(e.mul(o,i),s),c=e.mul(o,e.sub(a,e.ONE));if(!e.eql(e.sqr(c),r))throw new Error("Cannot find square root");return c}}return m(e)}r.isNegativeLE=(e,t)=>(d(e,t)&o)===o;const b=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function g(e,t,r){if(r<s)throw new Error("Expected power > 0");if(r===s)return e.ONE;if(r===o)return t;let n=e.ONE,i=t;for(;r>s;)r&o&&(n=e.mul(n,i)),i=e.sqr(i),r>>=o;return n}function y(e,t){const r=new Array(t.length),n=t.reduce((t,n,s)=>e.is0(n)?t:(r[s]=t,e.mul(t,n)),e.ONE),s=e.inv(n);return t.reduceRight((t,n,s)=>e.is0(n)?t:(r[s]=e.mul(t,r[s]),e.mul(t,n)),s),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 x(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=u,r.numberToHexUnpadded=l,r.hexToNumber=d,r.hexToBytes=m,r.bytesToNumberBE=function(e){return d(u(e))},r.bytesToNumberLE=function(e){return a(e),d(u(Uint8Array.from(e).reverse()))},r.numberToBytesBE=p,r.numberToBytesLE=function(e,t){return p(e,t).reverse()},r.numberToVarBytesBE=function(e){return m(l(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 s=n.length;if("number"==typeof r&&s!==r)throw new Error(`${e} expected ${r} bytes, got ${s}`);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>>=s,t+=1);return t},r.bitGet=function(e,t){return e>>BigInt(t)&s},r.bitSet=function(e,t,r){return e|(r?s: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=g(e),s=g(e),o=0;const i=()=>{n.fill(1),s.fill(0),o=0},a=(...e)=>r(s,n,...e),c=(e=g())=>{s=a(y([0]),e),n=a(),0!==e.length&&(s=a(y([1]),e),n=a())},u=()=>{if(o++>=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(),c(e);let r=undefined;for(;!(r=t(u()));)c();return i(),r}},r.validateObject=function(e,t,r={}){const n=(t,r,n)=>{const s=w[r];if("function"!=typeof s)throw new Error(`Invalid validator "${r}", expected function`);const o=e[t];if(!(n&&o===undefined||s(o,e)))throw new Error(`Invalid param ${String(t)}=${o} (${typeof o}), 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),s=BigInt(1),o=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 c=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function u(e){a(e);let t="";for(let r=0;r<e.length;r++)t+=c[e[r]];return t}function l(e){const t=e.toString(16);return 1&t.length?`0${t}`:t}function d(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);return BigInt(""===e?"0":`0x${e}`)}const f={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function h(e){return e>=f._0&&e<=f._9?e-f._0:e>=f._A&&e<=f._F?e-(f._A-10):e>=f._a&&e<=f._f?e-(f._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,s=0;t<r;t++,s+=2){const r=h(e.charCodeAt(s)),o=h(e.charCodeAt(s+1));if(r===undefined||o===undefined){const t=e[s]+e[s+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+s)}n[t]=16*r+o}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 s=e[t];r.set(s,n),n+=s.length}return r}r.bitMask=e=>(o<<BigInt(e-1))-s;const g=e=>new Uint8Array(e),y=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 o.validateObject(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}(e),{Fp:a,n:c}=t,d=a.BYTES+1,f=2*a.BYTES+1;function h(e){return s.mod(e,c)}function p(e){return s.invert(e,c)}const{ProjectivePoint:b,normPrivateKeyToScalar:g,weierstrassEquation:y,isWithinCurveOrder:w}=m({...t,toBytes(e,t,r){const n=t.toAffine(),s=a.toBytes(n.x),i=o.concatBytes;return r?i(Uint8Array.from([t.hasEvenY()?2:3]),s):i(Uint8Array.from([4]),s,a.toBytes(n.y))},fromBytes(e){const t=e.length,r=e[0],n=e.subarray(1);if(t!==d||2!==r&&3!==r){if(t===f&&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 ${d} compressed bytes or ${f} uncompressed bytes`)}{const e=o.bytesToNumberBE(n);if(!(u<(s=e)&&s<a.ORDER))throw new Error("Point is not on curve");const t=y(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&l)===l)&&(i=a.neg(i)),{x:e,y:i}}var s}}),k=e=>o.bytesToHex(o.numberToBytesBE(e,t.nByteLength));function x(e){return e>c>>l}const _=(e,t,r)=>o.bytesToNumberBE(e.slice(t,r));class v{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 v(_(e,0,r),_(e,r,2*r))}static fromDER(e){const{r:t,s:n}=r.DER.toSig((0,i.ensureBytes)("DER",e));return new v(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 v(this.r,this.s,e)}recoverPublicKey(e){const{r:r,s:n,recovery:s}=this,o=j((0,i.ensureBytes)("msgHash",e));if(null==s||![0,1,2,3].includes(s))throw new Error("recovery id invalid");const c=2===s||3===s?r+t.n:r;if(c>=a.ORDER)throw new Error("recovery id 2 or 3 invalid");const u=1&s?"03":"02",l=b.fromHex(u+k(c)),d=p(c),f=h(-o*d),m=h(n*d),g=b.BASE.multiplyAndAddUnsafe(l,f,m);if(!g)throw new Error("point at infinify");return g.assertValidity(),g}hasHighS(){return x(this.s)}normalizeS(){return this.hasHighS()?new v(this.r,h(-this.s),this.recovery):this}toDERRawBytes(){return o.hexToBytes(this.toDERHex())}toDERHex(){return r.DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return o.hexToBytes(this.toCompactHex())}toCompactHex(){return k(this.r)+k(this.s)}}const S={isValidPrivateKey(e){try{return g(e),!0}catch(e){return!1}},normPrivateKeyToScalar:g,randomPrivateKey:()=>{const e=s.getMinHashLength(t.n);return s.mapHashToField(t.randomBytes(e),t.n)},precompute:(e=8,t=b.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)};function E(e){const t=o.isBytes(e),r="string"==typeof e,n=(t||r)&&e.length;return t?n===d||n===f:r?n===2*d||n===2*f:e instanceof b}const A=t.bits2int||function(e){const r=o.bytesToNumberBE(e),n=8*e.length-t.nBitLength;return n>0?r>>BigInt(n):r},j=t.bits2int_modN||function(e){return h(A(e))},T=o.bitMask(t.nBitLength);function B(e){if("bigint"!=typeof e)throw new Error("bigint expected");if(!(u<=e&&e<T))throw new Error(`bigint expected < 2^${t.nBitLength}`);return o.numberToBytesBE(e,t.nByteLength)}function M(e,r,n=O){if(["recovered","canonical"].some(e=>e in n))throw new Error("sign() legacy options not supported");const{hash:s,randomBytes:c}=t;let{lowS:d,prehash:f,extraEntropy:m}=n;null==d&&(d=!0),e=(0,i.ensureBytes)("msgHash",e),f&&(e=(0,i.ensureBytes)("prehashed msgHash",s(e)));const y=j(e),k=g(r),_=[B(k),B(y)];if(null!=m&&!1!==m){const e=!0===m?c(a.BYTES):m;_.push((0,i.ensureBytes)("extraEntropy",e))}const S=o.concatBytes(..._),E=y;return{seed:S,k2sig:function(e){const t=A(e);if(!w(t))return;const r=p(t),n=b.BASE.multiply(t).toAffine(),s=h(n.x);if(s===u)return;const o=h(r*h(E+s*k));if(o===u)return;let i=(n.x===s?0:2)|Number(n.y&l),a=o;return d&&x(o)&&(a=function(e){return x(e)?h(-e):e}(o),i^=1),new v(s,a,i)}}}const O={lowS:t.lowS,prehash:!1},C={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(E(e))throw new Error("first arg must be private key");if(!E(t))throw new Error("second arg must be public key");return b.fromHex(t).multiply(g(e)).toRawBytes(r)},sign:function(e,r,n=O){const{seed:s,k2sig:i}=M(e,r,n),a=t;return o.createHmacDrbg(a.hash.outputLen,a.nByteLength,a.hmac)(s,i)},verify:function(e,n,s,a=C){const c=e;if(n=(0,i.ensureBytes)("msgHash",n),s=(0,i.ensureBytes)("publicKey",s),"strict"in a)throw new Error("options.strict was renamed to lowS");const{lowS:u,prehash:l}=a;let d,f=undefined;try{if("string"==typeof c||o.isBytes(c))try{f=v.fromDER(c)}catch(e){if(!(e instanceof r.DER.Err))throw e;f=v.fromCompact(c)}else{if("object"!=typeof c||"bigint"!=typeof c.r||"bigint"!=typeof c.s)throw new Error("PARSE");{const{r:e,s:t}=c;f=new v(e,t)}}d=b.fromHex(s)}catch(e){if("PARSE"===e.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(u&&f.hasHighS())return!1;l&&(n=t.hash(n));const{r:m,s:g}=f,y=j(n),w=p(g),k=h(y*w),x=h(m*w),_=b.BASE.multiplyAndAddUnsafe(d,k,x)?.toAffine();if(!_)return!1;return h(_.x)===m},ProjectivePoint:b,Signature:v,utils:S}},r.SWUFpSqrtRatio=p,r.mapToCurveSimpleSWU=function(e,t){if(s.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 s,o,i,a,c,u,l,d;s=e.sqr(n),s=e.mul(s,t.Z),o=e.sqr(s),o=e.add(o,s),i=e.add(o,e.ONE),i=e.mul(i,t.B),a=e.cmov(t.Z,e.neg(o),!e.eql(o,e.ZERO)),a=e.mul(a,t.A),o=e.sqr(i),u=e.sqr(a),c=e.mul(u,t.A),o=e.add(o,c),o=e.mul(o,i),u=e.mul(u,a),c=e.mul(u,t.B),o=e.add(o,c),l=e.mul(s,i);const{isValid:f,value:h}=r(o,u);d=e.mul(s,n),d=e.mul(d,h),l=e.cmov(l,i,f),d=e.cmov(d,h,f);const m=e.isOdd(n)===e.isOdd(d);return d=e.cmov(e.neg(d),d,m),l=e.div(l,a),{x:l,y:d}}};
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
const n=e("./curve.js"),s=e("./modular.js"),o=e("./utils.js"),i=e("./utils.js");const{bytesToNumberBE:a,hexToBytes:c}=o;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],s=e.subarray(2,n+2);if(!n||s.length!==n)throw new t("Invalid signature integer: wrong length");if(128&s[0])throw new t("Invalid signature integer: negative");if(0===s[0]&&!(128&s[1]))throw new t("Invalid signature integer: unnecessary leading zero");return{d:a(s),l:e.subarray(n+2)}},toSig(e){const{Err:t}=r.DER,n="string"==typeof e?c(e):e;o.abytes(n);let s=n.length;if(s<2||48!=n[0])throw new t("Invalid signature tag");if(n[1]!==s-2)throw new t("Invalid signature: incorrect length");const{d:i,l:a}=r.DER._parseInt(n.subarray(2)),{d:u,l:l}=r.DER._parseInt(a);if(l.length)throw new t("Invalid signature: left bytes after parsing");return{r:i,s:u}},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)),s=t(r(e.r)),o=n.length/2,i=s.length/2,a=r(o),c=r(i);return`30${r(i+o+4)}02${c}${s}02${a}${n}`}};const u=BigInt(0),l=BigInt(1),d=BigInt(2),f=BigInt(3),h=BigInt(4);function m(e){const t=function(e){const t=(0,n.validateBasic)(e);o.validateObject(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:r,Fp:s,a:i}=t;if(r){if(!s.eql(i,s.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 s=t.toAffine();return o.concatBytes(Uint8Array.from([4]),r.toBytes(s.x),r.toBytes(s.y))}),c=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 d(e){const{a:n,b:s}=t,o=r.sqr(e),i=r.mul(o,e);return r.add(r.add(i,r.mul(e,n)),s)}if(!r.eql(r.sqr(t.Gy),d(t.Gx)))throw new Error("bad generator point: equation left != right");function h(e){return"bigint"==typeof e&&u<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:c}=t;if(r&&"bigint"!=typeof e){if(o.isBytes(e)&&(e=o.bytesToHex(e)),"string"!=typeof e||!r.includes(e.length))throw new Error("Invalid key");e=e.padStart(2*n,"0")}let u;try{u="bigint"==typeof e?e:o.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&&(u=s.mod(u,c)),m(u),u}const b=new Map;function g(e){if(!(e instanceof y))throw new Error("ProjectivePoint expected")}class y{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 y)throw new Error("projective point not allowed");const s=e=>r.eql(e,r.ZERO);return s(t)&&s(n)?y.ZERO:new y(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(y.fromAffine)}static fromHex(e){const t=y.fromAffine(c((0,i.ensureBytes)("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return y.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 s=r.sqr(n),o=d(e);if(!r.eql(s,o))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){g(e);const{px:t,py:n,pz:s}=this,{px:o,py:i,pz:a}=e,c=r.eql(r.mul(t,a),r.mul(o,s)),u=r.eql(r.mul(n,a),r.mul(i,s));return c&&u}negate(){return new y(this.px,r.neg(this.py),this.pz)}double(){const{a:e,b:n}=t,s=r.mul(n,f),{px:o,py:i,pz:a}=this;let c=r.ZERO,u=r.ZERO,l=r.ZERO,d=r.mul(o,o),h=r.mul(i,i),m=r.mul(a,a),p=r.mul(o,i);return p=r.add(p,p),l=r.mul(o,a),l=r.add(l,l),c=r.mul(e,l),u=r.mul(s,m),u=r.add(c,u),c=r.sub(h,u),u=r.add(h,u),u=r.mul(c,u),c=r.mul(p,c),l=r.mul(s,l),m=r.mul(e,m),p=r.sub(d,m),p=r.mul(e,p),p=r.add(p,l),l=r.add(d,d),d=r.add(l,d),d=r.add(d,m),d=r.mul(d,p),u=r.add(u,d),m=r.mul(i,a),m=r.add(m,m),d=r.mul(m,p),c=r.sub(c,d),l=r.mul(m,h),l=r.add(l,l),l=r.add(l,l),new y(c,u,l)}add(e){g(e);const{px:n,py:s,pz:o}=this,{px:i,py:a,pz:c}=e;let u=r.ZERO,l=r.ZERO,d=r.ZERO;const h=t.a,m=r.mul(t.b,f);let p=r.mul(n,i),b=r.mul(s,a),w=r.mul(o,c),k=r.add(n,s),x=r.add(i,a);k=r.mul(k,x),x=r.add(p,b),k=r.sub(k,x),x=r.add(n,o);let _=r.add(i,c);return x=r.mul(x,_),_=r.add(p,w),x=r.sub(x,_),_=r.add(s,o),u=r.add(a,c),_=r.mul(_,u),u=r.add(b,w),_=r.sub(_,u),d=r.mul(h,x),u=r.mul(m,w),d=r.add(u,d),u=r.sub(b,d),d=r.add(b,d),l=r.mul(u,d),b=r.add(p,p),b=r.add(b,p),w=r.mul(h,w),x=r.mul(m,x),b=r.add(b,w),w=r.sub(p,w),w=r.mul(h,w),x=r.add(x,w),p=r.mul(b,x),l=r.add(l,p),p=r.mul(_,x),u=r.mul(k,u),u=r.sub(u,p),p=r.mul(k,b),d=r.mul(_,d),d=r.add(d,p),new y(u,l,d)}subtract(e){return this.add(e.negate())}is0(){return this.equals(y.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(y.fromAffine)})}multiplyUnsafe(e){const n=y.ZERO;if(e===u)return n;if(m(e),e===l)return this;const{endo:s}=t;if(!s)return k.unsafeLadder(this,e);let{k1neg:o,k1:i,k2neg:a,k2:c}=s.splitScalar(e),d=n,f=n,h=this;for(;i>u||c>u;)i&l&&(d=d.add(h)),c&l&&(f=f.add(h)),h=h.double(),i>>=l,c>>=l;return o&&(d=d.negate()),a&&(f=f.negate()),f=new y(r.mul(f.px,s.beta),f.py,f.pz),d.add(f)}multiply(e){m(e);let n,s,o=e;const{endo:i}=t;if(i){const{k1neg:e,k1:t,k2neg:a,k2:c}=i.splitScalar(o);let{p:u,f:l}=this.wNAF(t),{p:d,f:f}=this.wNAF(c);u=k.constTimeNegate(e,u),d=k.constTimeNegate(a,d),d=new y(r.mul(d.px,i.beta),d.py,d.pz),n=u.add(d),s=l.add(f)}else{const{p:e,f:t}=this.wNAF(o);n=e,s=t}return y.normalizeZ([n,s])[0]}multiplyAndAddUnsafe(e,t,r){const n=y.BASE,s=(e,t)=>t!==u&&t!==l&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),o=s(this,t).add(s(e,r));return o.is0()?undefined:o}toAffine(e){const{px:t,py:n,pz:s}=this,o=this.is0();null==e&&(e=o?r.ONE:r.inv(s));const i=r.mul(t,e),a=r.mul(n,e),c=r.mul(s,e);if(o)return{x:r.ZERO,y:r.ZERO};if(!r.eql(c,r.ONE))throw new Error("invZ was invalid");return{x:i,y:a}}isTorsionFree(){const{h:e,isTorsionFree:r}=t;if(e===l)return!0;if(r)return r(y,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:e,clearCofactor:r}=t;return e===l?this:r?r(y,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return this.assertValidity(),a(y,this,e)}toHex(e=!0){return o.bytesToHex(this.toRawBytes(e))}}y.BASE=new y(t.Gx,t.Gy,r.ONE),y.ZERO=new y(r.ZERO,r.ONE,r.ZERO);const w=t.nBitLength,k=(0,n.wNAF)(y,t.endo?Math.ceil(w/2):w);return{CURVE:t,ProjectivePoint:y,normPrivateKeyToScalar:p,weierstrassEquation:d,isWithinCurveOrder:h}}function p(e,t){const r=e.ORDER;let n=u;for(let e=r-l;e%d===u;e/=d)n+=l;const s=n,o=d<<s-l-l,i=o*d,a=(r-l)/i,c=(a-l)/d,m=i-l,p=o,b=e.pow(t,a),g=e.pow(t,(a+l)/d);let y=(t,r)=>{let n=b,o=e.pow(r,m),i=e.sqr(o);i=e.mul(i,r);let a=e.mul(t,i);a=e.pow(a,c),a=e.mul(a,o),o=e.mul(a,r),i=e.mul(a,t);let u=e.mul(i,o);a=e.pow(u,p);let f=e.eql(a,e.ONE);o=e.mul(i,g),a=e.mul(u,n),i=e.cmov(o,i,f),u=e.cmov(a,u,f);for(let t=s;t>l;t--){let r=t-d;r=d<<r-l;let s=e.pow(u,r);const a=e.eql(s,e.ONE);o=e.mul(i,n),n=e.mul(n,n),s=e.mul(u,n),i=e.cmov(o,i,a),u=e.cmov(s,u,a)}return{isValid:f,value:i}};if(e.ORDER%h===f){const r=(e.ORDER-f)/h,n=e.sqrt(e.neg(t));y=(t,s)=>{let o=e.sqr(s);const i=e.mul(t,s);o=e.mul(o,i);let a=e.pow(o,r);a=e.mul(a,i);const c=e.mul(a,n),u=e.mul(e.sqr(a),s),l=e.eql(u,t);return{isValid:l,value:e.cmov(c,a,l)}}}return y}}}},{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"),s=e("@noble/hashes/utils"),o=e("./_shortw_utils.js"),i=e("./abstract/hash-to-curve.js"),a=e("./abstract/modular.js"),c=e("./abstract/utils.js"),u=e("./abstract/weierstrass.js"),l=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),d=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),f=BigInt(1),h=BigInt(2),m=(e,t)=>(e+t/h)/t;function p(e){const t=l,r=BigInt(3),n=BigInt(6),s=BigInt(11),o=BigInt(22),i=BigInt(23),c=BigInt(44),u=BigInt(88),d=e*e*e%t,f=d*d*e%t,m=(0,a.pow2)(f,r,t)*f%t,p=(0,a.pow2)(m,r,t)*f%t,g=(0,a.pow2)(p,h,t)*d%t,y=(0,a.pow2)(g,s,t)*g%t,w=(0,a.pow2)(y,o,t)*y%t,k=(0,a.pow2)(w,c,t)*w%t,x=(0,a.pow2)(k,u,t)*k%t,_=(0,a.pow2)(x,c,t)*w%t,v=(0,a.pow2)(_,r,t)*f%t,S=(0,a.pow2)(v,i,t)*y%t,E=(0,a.pow2)(S,n,t)*d%t,A=(0,a.pow2)(E,h,t);if(!b.eql(b.sqr(A),e))throw new Error("Cannot find square root");return A}const b=(0,a.Field)(l,undefined,undefined,{sqrt:p});r.secp256k1=(0,o.createCurve)({a:BigInt(0),b:BigInt(7),Fp:b,n:d,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=d,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-f*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=r,i=BigInt("0x100000000000000000000000000000000"),c=m(o*e,t),u=m(-n*e,t);let l=(0,a.mod)(e-c*r-u*s,t),h=(0,a.mod)(-c*n-u*o,t);const p=l>i,b=h>i;if(p&&(l=t-l),b&&(h=t-h),l>i||h>i)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:p,k1:l,k2neg:b,k2:h}}}},n.sha256);const g=BigInt(0),y=e=>"bigint"==typeof e&&g<e&&e<l,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,c.concatBytes)(t,t),w[e]=r}return(0,n.sha256)((0,c.concatBytes)(r,...t))}const x=e=>e.toRawBytes(!0).slice(1),_=e=>(0,c.numberToBytesBE)(e,32),v=e=>(0,a.mod)(e,l),S=e=>(0,a.mod)(e,d),E=r.secp256k1.ProjectivePoint;function A(e){let t=r.secp256k1.utils.normPrivateKeyToScalar(e),n=E.fromPrivateKey(t);return{scalar:n.hasEvenY()?t:S(-t),bytes:x(n)}}function j(e){if(!y(e))throw new Error("bad x: need 0 < x < p");const t=v(e*e);let r=p(v(t*e+BigInt(7)));r%h!==g&&(r=v(-r));const n=new E(e,r,f);return n.assertValidity(),n}function T(...e){return S((0,c.bytesToNumberBE)(k("BIP0340/challenge",...e)))}function B(e){return A(e).bytes}function M(e,t,r=(0,s.randomBytes)(32)){const n=(0,c.ensureBytes)("message",e),{bytes:o,scalar:i}=A(t),a=(0,c.ensureBytes)("auxRand",r,32),u=_(i^(0,c.bytesToNumberBE)(k("BIP0340/aux",a))),l=k("BIP0340/nonce",u,o,n),d=S((0,c.bytesToNumberBE)(l));if(d===g)throw new Error("sign failed: k is zero");const{bytes:f,scalar:h}=A(d),m=T(f,o,n),p=new Uint8Array(64);if(p.set(f,0),p.set(_(S(h+m*i)),32),!O(p,n,o))throw new Error("sign: Invalid signature produced");return p}function O(e,t,r){const n=(0,c.ensureBytes)("signature",e,64),s=(0,c.ensureBytes)("message",t),o=(0,c.ensureBytes)("publicKey",r,32);try{const e=j((0,c.bytesToNumberBE)(o)),t=(0,c.bytesToNumberBE)(n.subarray(0,32));if(!y(t))return!1;const r=(0,c.bytesToNumberBE)(n.subarray(32,64));if(!("bigint"==typeof(l=r)&&g<l&&l<d))return!1;const f=T(_(t),x(e),s),h=(i=e,a=r,u=S(-f),E.BASE.multiplyAndAddUnsafe(i,a,u));return!(!h||!h.hasEvenY()||h.toAffine().x!==t)}catch(e){return!1}var i,a,u,l}r.schnorr={getPublicKey:B,sign:M,verify:O,utils:{randomPrivateKey:r.secp256k1.utils.randomPrivateKey,lift_x:j,pointToBytes:x,numberToBytesBE:c.numberToBytesBE,bytesToNumberBE:c.bytesToNumberBE,taggedHash:k,mod:a.mod}};const C=(()=>(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)))))(),L=(()=>(0,u.mapToCurveSimpleSWU)(b,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:b.create(BigInt("-11"))}))(),R=(()=>(0,i.createHasher)(r.secp256k1.ProjectivePoint,e=>{const{x:t,y:r}=L(b.create(e[0]));return C(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=R.hashToCurve,r.encodeToCurve=R.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 s(e){if("boolean"!=typeof e)throw new Error(`boolean expected, not ${e}`)}function o(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function i(e,...t){if(!o(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function 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 c(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 u(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=s,r.isBytes=o,r.bytes=i,r.hash=a,r.exists=c,r.output=u;const l={number:n,bool:s,bytes:i,hash:a,exists:c,output:u};r.default=l}}},{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"),s=e("./utils.js");r.Chi=(e,t,r)=>e&t^~e&r;r.Maj=(e,t,r)=>e&t^e&r^t&r;class o extends s.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,s.createView)(this.buffer)}update(e){(0,n.exists)(this);const{view:t,buffer:r,blockLen:o}=this,i=(e=(0,s.toBytes)(e)).length;for(let n=0;n<i;){const a=Math.min(o-this.pos,i-n);if(a===o){const t=(0,s.createView)(e);for(;o<=i-n;n+=o)this.process(t,n);continue}r.set(e.subarray(n,n+a),this.pos),this.pos+=a,n+=a,this.pos===o&&(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:o,isLE:i}=this;let{pos:a}=this;t[a++]=128,this.buffer.subarray(a).fill(0),this.padOffset>o-a&&(this.process(r,0),a=0);for(let e=a;e<o;e++)t[e]=0;!function(e,t,r,n){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,r,n);const s=BigInt(32),o=BigInt(4294967295),i=Number(r>>s&o),a=Number(r&o),c=n?4:0,u=n?0:4;e.setUint32(t+c,i,n),e.setUint32(t+u,a,n)}(r,o-8,BigInt(8*this.length),i),this.process(r,0);const c=(0,s.createView)(e),u=this.outputLen;if(u%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const l=u/4,d=this.get();if(l>d.length)throw new Error("_sha2: outputLen bigger than state");for(let e=0;e<l;e++)c.setUint32(4*e,d[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:s,destroyed:o,pos:i}=this;return e.length=n,e.pos=i,e.finished=s,e.destroyed=o,n%t&&e.buffer.set(r),e}}r.HashMD=o}}},{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),s=BigInt(32);function o(e,t=!1){return t?{h:Number(e&n),l:Number(e>>s&n)}:{h:0|Number(e>>s&n),l:0|Number(e&n)}}function i(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let s=0;s<e.length;s++){const{h:i,l:a}=o(e[s],t);[r[s],n[s]]=[i,a]}return[r,n]}r.fromBig=o,r.split=i;const a=(e,t)=>BigInt(e>>>0)<<s|BigInt(t>>>0);r.toBig=a;const c=(e,t,r)=>e>>>r;r.shrSH=c;const u=(e,t,r)=>e<<32-r|t>>>r;r.shrSL=u;const l=(e,t,r)=>e>>>r|t<<32-r;r.rotrSH=l;const d=(e,t,r)=>e<<32-r|t>>>r;r.rotrSL=d;const f=(e,t,r)=>e<<64-r|t>>>r-32;r.rotrBH=f;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 g=(e,t,r)=>t<<r|e>>>32-r;r.rotlSL=g;const y=(e,t,r)=>t<<r-32|e>>>64-r;r.rotlBH=y;const w=(e,t,r)=>e<<r-32|t>>>64-r;function k(e,t,r,n){const s=(t>>>0)+(n>>>0);return{h:e+r+(s/2**32|0)|0,l:0|s}}r.rotlBL=w,r.add=k;const x=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);r.add3L=x;const _=(e,t,r,n)=>t+r+n+(e/2**32|0)|0;r.add3H=_;const v=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);r.add4L=v;const S=(e,t,r,n,s)=>t+r+n+s+(e/2**32|0)|0;r.add4H=S;const E=(e,t,r,n,s)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(s>>>0);r.add5L=E;const A=(e,t,r,n,s,o)=>t+r+n+s+o+(e/2**32|0)|0;r.add5H=A;const j={fromBig:o,split:i,toBig:a,shrSH:c,shrSL:u,rotrSH:l,rotrSL:d,rotrBH:f,rotrBL:h,rotr32H:m,rotr32L:p,rotlSH:b,rotlSL:g,rotlBH:y,rotlBL:w,add:k,add3L:x,add3H:_,add4L:v,add4H:S,add5H:A,add5L:E};r.default=j}}},{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"),s=e("./utils.js");class o extends s.Hash{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,n.hash)(e);const r=(0,s.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 o=this.blockLen,i=new Uint8Array(o);i.set(r.length>o?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:s,blockLen:o,outputLen:i}=this;return e.finished=n,e.destroyed=s,e.blockLen=o,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=o;r.hmac=(e,t,r)=>new o(e,t).update(r).digest(),r.hmac.create=(e,t)=>new o(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"),s=e("./utils.js"),o=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],c=[i.map(e=>(9*e+5)%16)];for(let e=0;e<4;e++)for(let t of[a,c])t.push(t[e].map(e=>o[e]));const u=[[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)),l=a.map((e,t)=>e.map(e=>u[t][e])),d=c.map((e,t)=>e.map(e=>u[t][e])),f=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:s}=this;return[e,t,r,n,s]}set(e,t,r,n,s){this.h0=0|e,this.h1=0|t,this.h2=0|r,this.h3=0|n,this.h4=0|s}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,o=0|this.h1,i=o,u=0|this.h2,b=u,g=0|this.h3,y=g,w=0|this.h4,k=w;for(let e=0;e<5;e++){const t=4-e,x=f[e],_=h[e],v=a[e],S=c[e],E=l[e],A=d[e];for(let t=0;t<16;t++){const n=(0,s.rotl)(r+m(e,o,u,g)+p[v[t]]+x,E[t])+w|0;r=w,w=g,g=0|(0,s.rotl)(u,10),u=o,o=n}for(let e=0;e<16;e++){const r=(0,s.rotl)(n+m(t,i,b,y)+p[S[e]]+_,A[e])+k|0;n=k,k=y,y=0|(0,s.rotl)(b,10),b=i,i=r}}this.set(this.h1+u+y|0,this.h2+g+k|0,this.h3+w+n|0,this.h4+r+i|0,this.h0+o+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,s.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"),s=e("./utils.js"),o=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 c 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:s,F:o,G:i,H:a}=this;return[e,t,r,n,s,o,i,a]}set(e,t,r,n,s,o,i,a){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|s,this.F=0|o,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,s.rotr)(t,7)^(0,s.rotr)(t,18)^t>>>3,o=(0,s.rotr)(r,17)^(0,s.rotr)(r,19)^r>>>10;a[e]=o+a[e-7]+n+a[e-16]|0}let{A:r,B:i,C:c,D:u,E:l,F:d,G:f,H:h}=this;for(let e=0;e<64;e++){const t=h+((0,s.rotr)(l,6)^(0,s.rotr)(l,11)^(0,s.rotr)(l,25))+(0,n.Chi)(l,d,f)+o[e]+a[e]|0,m=((0,s.rotr)(r,2)^(0,s.rotr)(r,13)^(0,s.rotr)(r,22))+(0,n.Maj)(r,i,c)|0;h=f,f=d,d=l,l=u+t|0,u=c,c=i,i=r,r=t+m|0}r=r+this.A|0,i=i+this.B|0,c=c+this.C|0,u=u+this.D|0,l=l+this.E|0,d=d+this.F|0,f=f+this.G|0,h=h+this.H|0,this.set(r,i,c,u,l,d,f,h)}roundClean(){a.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class u extends c{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,s.wrapConstructor)(()=>new c),r.sha224=(0,s.wrapConstructor)(()=>new u)}}},{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"),s=e("./_u64.js"),o=e("./utils.js"),i=[],a=[],c=[],u=BigInt(0),l=BigInt(1),d=BigInt(2),f=BigInt(7),h=BigInt(256),m=BigInt(113);for(let e=0,t=l,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 s=u;for(let e=0;e<7;e++)t=(t<<l^(t>>f)*m)%h,t&d&&(s^=l<<(l<<BigInt(e))-l);c.push(s)}const[p,b]=(0,s.split)(c,!0),g=(e,t,r)=>r>32?(0,s.rotlBH)(e,t,r):(0,s.rotlSH)(e,t,r),y=(e,t,r)=>r>32?(0,s.rotlBL)(e,t,r):(0,s.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,s=(t+2)%10,o=r[s],i=r[s+1],a=g(o,i,1)^r[n],c=y(o,i,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=a,e[t+r+1]^=c}let t=e[2],s=e[3];for(let r=0;r<24;r++){const n=a[r],o=g(t,s,n),c=y(t,s,n),u=i[r];t=e[u],s=e[u+1],e[u]=o,e[u+1]=c}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 o.Hash{constructor(e,t,r,s=!1,i=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=s,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,o.u32)(this.state)}keccak(){o.isLE||(0,o.byteSwap32)(this.state32),w(this.state32,this.rounds),o.isLE||(0,o.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(e){(0,n.exists)(this);const{blockLen:t,state:r}=this,s=(e=(0,o.toBytes)(e)).length;for(let n=0;n<s;){const o=Math.min(t-this.pos,s-n);for(let t=0;t<o;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,s=e.length;n<s;){this.posOut>=r&&this.keccak();const o=Math.min(r-this.posOut,s-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}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:s,enableXOF:o}=this;return e||(e=new k(t,r,n,o,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=r,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}r.Keccak=k;const x=(e,t,r)=>(0,o.wrapConstructor)(()=>new k(t,e,r));r.sha3_224=x(6,144,28),r.sha3_256=x(6,136,32),r.sha3_384=x(6,104,48),r.sha3_512=x(6,72,64),r.keccak_224=x(1,144,28),r.keccak_256=x(1,136,32),r.keccak_384=x(1,104,48),r.keccak_512=x(1,72,64);const _=(e,t,r)=>(0,o.wrapXOFConstructorWithOpts)((n={})=>new k(t,e,n.dkLen===undefined?r:n.dkLen,!0));r.shake128=_(31,168,16),r.shake256=_(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"),s=e("./_u64.js"),o=e("./utils.js"),[i,a]=(()=>s.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))))(),c=new Uint32Array(80),u=new Uint32Array(80);class l 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:s,Cl:o,Dh:i,Dl:a,Eh:c,El:u,Fh:l,Fl:d,Gh:f,Gl:h,Hh:m,Hl:p}=this;return[e,t,r,n,s,o,i,a,c,u,l,d,f,h,m,p]}set(e,t,r,n,s,o,i,a,c,u,l,d,f,h,m,p){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|s,this.Cl=0|o,this.Dh=0|i,this.Dl=0|a,this.Eh=0|c,this.El=0|u,this.Fh=0|l,this.Fl=0|d,this.Gh=0|f,this.Gl=0|h,this.Hh=0|m,this.Hl=0|p}process(e,t){for(let r=0;r<16;r++,t+=4)c[r]=e.getUint32(t),u[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){const t=0|c[e-15],r=0|u[e-15],n=s.default.rotrSH(t,r,1)^s.default.rotrSH(t,r,8)^s.default.shrSH(t,r,7),o=s.default.rotrSL(t,r,1)^s.default.rotrSL(t,r,8)^s.default.shrSL(t,r,7),i=0|c[e-2],a=0|u[e-2],l=s.default.rotrSH(i,a,19)^s.default.rotrBH(i,a,61)^s.default.shrSH(i,a,6),d=s.default.rotrSL(i,a,19)^s.default.rotrBL(i,a,61)^s.default.shrSL(i,a,6),f=s.default.add4L(o,d,u[e-7],u[e-16]),h=s.default.add4H(f,n,l,c[e-7],c[e-16]);c[e]=0|h,u[e]=0|f}let{Ah:r,Al:n,Bh:o,Bl:l,Ch:d,Cl:f,Dh:h,Dl:m,Eh:p,El:b,Fh:g,Fl:y,Gh:w,Gl:k,Hh:x,Hl:_}=this;for(let e=0;e<80;e++){const t=s.default.rotrSH(p,b,14)^s.default.rotrSH(p,b,18)^s.default.rotrBH(p,b,41),v=s.default.rotrSL(p,b,14)^s.default.rotrSL(p,b,18)^s.default.rotrBL(p,b,41),S=p&g^~p&w,E=b&y^~b&k,A=s.default.add5L(_,v,E,a[e],u[e]),j=s.default.add5H(A,x,t,S,i[e],c[e]),T=0|A,B=s.default.rotrSH(r,n,28)^s.default.rotrBH(r,n,34)^s.default.rotrBH(r,n,39),M=s.default.rotrSL(r,n,28)^s.default.rotrBL(r,n,34)^s.default.rotrBL(r,n,39),O=r&o^r&d^o&d,C=n&l^n&f^l&f;x=0|w,_=0|k,w=0|g,k=0|y,g=0|p,y=0|b,({h:p,l:b}=s.default.add(0|h,0|m,0|j,0|T)),h=0|d,m=0|f,d=0|o,f=0|l,o=0|r,l=0|n;const L=s.default.add3L(T,M,C);r=s.default.add3H(L,j,B,O),n=0|L}({h:r,l:n}=s.default.add(0|this.Ah,0|this.Al,0|r,0|n)),({h:o,l:l}=s.default.add(0|this.Bh,0|this.Bl,0|o,0|l)),({h:d,l:f}=s.default.add(0|this.Ch,0|this.Cl,0|d,0|f)),({h:h,l:m}=s.default.add(0|this.Dh,0|this.Dl,0|h,0|m)),({h:p,l:b}=s.default.add(0|this.Eh,0|this.El,0|p,0|b)),({h:g,l:y}=s.default.add(0|this.Fh,0|this.Fl,0|g,0|y)),({h:w,l:k}=s.default.add(0|this.Gh,0|this.Gl,0|w,0|k)),({h:x,l:_}=s.default.add(0|this.Hh,0|this.Hl,0|x,0|_)),this.set(r,n,o,l,d,f,h,m,p,b,g,y,w,k,x,_)}roundClean(){c.fill(0),u.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=l;class d extends l{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 f extends l{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 l{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,o.wrapConstructor)(()=>new l),r.sha512_224=(0,o.wrapConstructor)(()=>new d),r.sha512_256=(0,o.wrapConstructor)(()=>new f),r.sha384=(0,o.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"),s=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 o=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));r.bytesToHex=function(e){(0,s.bytes)(e);let t="";for(let r=0;r<e.length;r++)t+=o[e[r]];return t};const i=48,a=57,c=65,u=70,l=97,d=102;function f(e){return e>=i&&e<=a?e-i:e>=c&&e<=u?e-(c-10):e>=l&&e<=d?e-(l-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,s=0;t<r;t++,s+=2){const r=f(e.charCodeAt(s)),o=f(e.charCodeAt(s+1));if(r===undefined||o===undefined){const t=e[s]+e[s+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+s)}n[t]=16*r+o}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,s.bytes)(e),e}r.nextTick=async()=>{},r.asyncLoop=async function(e,t,n){let s=Date.now();for(let o=0;o<e;o++){n(o);const e=Date.now()-s;e>=0&&e<t||(await(0,r.nextTick)(),s+=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,s.bytes)(n),t+=n.length}const r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){const s=e[t];r.set(s,n),n+=s.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 s(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function o(...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 c(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 u(e){if("function"!=typeof e)throw new Error("normalize fn should be function");return{encode:e=>e,decode:t=>e(t)}}function l(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 s=0;const o=[],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 o=s;o<i.length;o++){const a=i[o],c=t*e+a;if(!Number.isSafeInteger(c)||t*e/t!==e||c-a!==t*e)throw new Error("convertRadix: carry overflow");e=c%r;const u=Math.floor(c/r);if(i[o]=u,!Number.isSafeInteger(u)||u*r+e!==c)throw new Error("convertRadix: carry overflow");n&&(u?n=!1:s=o)}if(o.push(e),n)break}for(let t=0;t<e.length-1&&0===e[t];t++)o.push(0);return o.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 d=(e,t)=>t?d(t,e%t):e,f=(e,t)=>e+(t-d(e,t));function h(e,t,r,s){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(f(t,r)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${f(t,r)}`);let o=0,i=0;const a=2**r-1,c=[];for(const s of e){if(n(s),s>=2**t)throw new Error(`convertRadix2: invalid data word=${s} from=${t}`);if(o=o<<t|s,i+t>32)throw new Error(`convertRadix2: carry overflow pos=${i} from=${t}`);for(i+=t;i>=r;i-=r)c.push((o>>i-r&a)>>>0);o&=2**i-1}if(o=o<<r-i&a,!s&&i>=t)throw new Error("Excess padding");if(!s&&o)throw new Error(`Non-zero padding: ${o}`);return s&&i>0&&c.push(o>>>0),c}function m(e){return n(e),{encode:t=>{if(!s(t))throw new Error("radix.encode input should be Uint8Array");return l(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(l(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(f(8,e)>32||f(e,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!s(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 g(e,t){if(n(e),"function"!=typeof t)throw new Error("checksum fn should be function");return{encode(r){if(!s(r))throw new Error("checksum.encode: input should be Uint8Array");const n=t(r).slice(0,e),o=new Uint8Array(r.length+e);return o.set(r),o.set(n,r.length),o},decode(r){if(!s(r))throw new Error("checksum.decode: input should be Uint8Array");const n=r.slice(0,-e),o=t(n).slice(0,e),i=r.slice(-e);for(let t=0;t<e;t++)if(o[t]!==i[t])throw new Error("Invalid checksum");return n}}}r.utils={alphabet:i,chain:o,checksum:g,convertRadix:l,convertRadix2:h,radix:m,radix2:p,join:a,padding:c},r.base16=o(p(4),i("0123456789ABCDEF"),a("")),r.base32=o(p(5),i("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),c(5),a("")),r.base32nopad=o(p(5),i("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),a("")),r.base32hex=o(p(5),i("0123456789ABCDEFGHIJKLMNOPQRSTUV"),c(5),a("")),r.base32hexnopad=o(p(5),i("0123456789ABCDEFGHIJKLMNOPQRSTUV"),a("")),r.base32crockford=o(p(5),i("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),a(""),u(e=>e.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),r.base64=o(p(6),i("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),c(6),a("")),r.base64nopad=o(p(6),i("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),a("")),r.base64url=o(p(6),i("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),c(6),a("")),r.base64urlnopad=o(p(6),i("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),a(""));const y=e=>o(m(58),i(e),a(""));r.base58=y("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),r.base58flickr=y("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),r.base58xrp=y("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 s=e.subarray(n,n+8);t+=r.base58.encode(s).padStart(w[s.length],"1")}return t},decode(e){let t=[];for(let n=0;n<e.length;n+=11){const s=e.slice(n,n+11),o=w.indexOf(s.length),i=r.base58.decode(s);for(let e=0;e<i.length-o;e++)if(0!==i[e])throw new Error("base58xmr: wrong padding");t=t.concat(Array.from(i.slice(i.length-o)))}return Uint8Array.from(t)}};r.createBase58check=e=>o(g(4,t=>e(e(t))),r.base58),r.base58check=r.createBase58check;const k=o(i("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),a("")),x=[996825010,642813549,513874426,1027748829,705979059];function _(e){const t=e>>25;let r=(33554431&e)<<5;for(let e=0;e<x.length;e++)1==(t>>e&1)&&(r^=x[e]);return r}function v(e,t,r=1){const n=e.length;let s=1;for(let t=0;t<n;t++){const r=e.charCodeAt(t);if(r<33||r>126)throw new Error(`Invalid prefix (${e})`);s=_(s)^r>>5}s=_(s);for(let t=0;t<n;t++)s=_(s)^31&e.charCodeAt(t);for(let e of t)s=_(s)^e;for(let e=0;e<6;e++)s=_(s);return s^=r,k.encode(h([s%2**30],30,5,!1))}function S(e){const t="bech32"===e?1:734539939,r=p(5),n=r.decode,s=r.encode,o=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 s=e.length+7+r.length;if(!1!==n&&s>n)throw new TypeError(`Length ${s} exceeds limit ${n}`);const o=e.toLowerCase(),i=v(o,r,t);return`${o}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 s=n.lastIndexOf("1");if(0===s||-1===s)throw new Error('Letter "1" must be present between prefix and data only');const o=n.slice(0,s),i=n.slice(s+1);if(i.length<6)throw new Error("Data must be at least 6 characters long");const a=k.decode(i).slice(0,-6),c=v(o,a,t);if(!i.endsWith(c))throw new Error(`Invalid checksum in ${e}: expected "${c}"`);return{prefix:o,words:a}}return{encode:i,decode:a,encodeFromBytes:function(e,t){return i(e,s(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:o,toWords:s}}r.bech32=S("bech32"),r.bech32m=S("bech32m"),r.utf8={encode:e=>(new TextDecoder).decode(e),decode:e=>(new TextEncoder).encode(e)},r.hex=o(p(4),i("0123456789abcdef"),a(""),u(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 E={utf8:r.utf8,hex:r.hex,base16:r.base16,base32:r.base32,base64:r.base64,base64url:r.base64url,base58:r.base58,base58xmr:r.base58xmr},A="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr";r.bytesToString=(e,t)=>{if("string"!=typeof e||!E.hasOwnProperty(e))throw new TypeError(A);if(!s(t))throw new TypeError("bytesToString() expects Uint8Array");return E[e].encode(t)},r.str=r.bytesToString;r.stringToBytes=(e,t)=>{if(!E.hasOwnProperty(e))throw new TypeError(A);if("string"!=typeof t)throw new TypeError("stringToBytes() expects string");return E[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"),s=e("@noble/hashes/ripemd160"),o=e("@noble/hashes/sha256"),i=e("@noble/hashes/sha512"),a=e("@noble/hashes/_assert"),c=e("@noble/hashes/utils"),u=e("@noble/curves/secp256k1"),l=e("@noble/curves/abstract/modular"),d=e("@scure/base"),f=u.secp256k1.ProjectivePoint,h=(0,d.createBase58check)(o.sha256);function m(e){return BigInt(`0x${(0,c.bytesToHex)(e)}`)}const p=(0,c.utf8ToBytes)("Bitcoin seed"),b={private:76066276,public:76067358};r.HARDENED_OFFSET=2147483648;const g=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,c.createView)(t).setUint32(0,e,!1),t};class y{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return e=this.pubHash,(0,c.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,c.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 y({versions:t,chainCode:r.slice(32),privateKey:r.slice(0,32)})}static fromExtendedKey(e,t=b){const r=h.decode(e),n=(0,c.createView)(r),s=n.getUint32(0,!1),o={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(s!==t[a?"private":"public"])throw new Error("Version mismatch");return new y(a?{...o,privateKey:i.slice(1)}:{...o,publicKey:i})}static fromJSON(e){return y.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(!u.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,c.hexToBytes)(t.toString(16).padStart(64,"0"))),this.pubKey=u.secp256k1.getPublicKey(e.privateKey,!0)}else{if(!e.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=f.fromHex(e.publicKey).toRawBytes(!0)}var t,r;this.pubHash=(r=this.pubKey,(0,s.ripemd160)((0,o.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),s=t&&t[1];if(!t||3!==t.length||"string"!=typeof s)throw new Error(`Invalid child index: ${e}`);let o=+s;if(!Number.isSafeInteger(o)||o>=r.HARDENED_OFFSET)throw new Error("Invalid index");"'"===t[2]&&(o+=r.HARDENED_OFFSET),n=n.deriveChild(o)}return n}deriveChild(e){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let t=g(e);if(e>=r.HARDENED_OFFSET){const e=this.privateKey;if(!e)throw new Error("Could not derive hardened child key");t=(0,c.concatBytes)(new Uint8Array([0]),e,t)}else t=(0,c.concatBytes)(this.pubKey,t);const s=(0,n.hmac)(i.sha512,this.chainCode,t),o=m(s.slice(0,32)),a=s.slice(32);if(!u.secp256k1.utils.isValidPrivateKey(o))throw new Error("Tweak bigger than curve order");const d={versions:this.versions,chainCode:a,depth:this.depth+1,parentFingerprint:this.fingerprint,index:e};try{if(this.privateKey){const e=(0,l.mod)(this.privKey+o,u.secp256k1.CURVE.n);if(!u.secp256k1.utils.isValidPrivateKey(e))throw new Error("The tweak was out of range or the resulted private key is invalid");d.privateKey=e}else{const e=f.fromHex(this.pubKey).add(f.fromPrivateKey(o));if(e.equals(f.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");d.publicKey=e.toRawBytes(!0)}return new y(d)}catch(t){return this.deriveChild(e+1)}}sign(e){if(!this.privateKey)throw new Error("No privateKey set!");return(0,a.bytes)(e,32),u.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=u.secp256k1.Signature.fromCompact(t)}catch(e){return!1}return u.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,c.concatBytes)(g(e),new Uint8Array([this.depth]),g(this.parentFingerprint),g(this.index),this.chainCode,t)}}r.HDKey=y}}},{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"),s=e("./utils.js");r.sha256=(0,s.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,o.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=>(s.default.bytes(t),e(t))};const s=n(e("@noble/hashes/_assert")),o=e("@noble/hashes/utils"),i=s.default.bool;r.assertBool=i;const a=s.default.bytes;r.assertBytes=a;var c=e("@noble/hashes/utils");Object.defineProperty(r,"bytesToHex",{enumerable:!0,get:function(){return c.bytesToHex}}),Object.defineProperty(r,"toHex",{enumerable:!0,get:function(){return c.bytesToHex}}),Object.defineProperty(r,"concatBytes",{enumerable:!0,get:function(){return c.concatBytes}}),Object.defineProperty(r,"createView",{enumerable:!0,get:function(){return c.createView}}),Object.defineProperty(r,"utf8ToBytes",{enumerable:!0,get:function(){return c.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,s,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){s={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(s)throw s.error}}return i},s=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 o=s(e("assert")),i=e("./externals"),a=e("ethereum-cryptography/secp256k1"),c=e("./internal"),u=e("./constants"),l=e("./bytes"),d=e("./hash"),f=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=u.KECCAK256_RLP),void 0===n&&(n=u.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,s=t.stateRoot,o=t.codeHash;return new e(r?new i.BN((0,l.toBuffer)(r)):undefined,n?new i.BN((0,l.toBuffer)(n)):undefined,s?(0,l.toBuffer)(s):undefined,o?(0,l.toBuffer)(o):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),s=r[0],o=r[1],a=r[2],c=r[3];return new e(new i.BN(s),new i.BN(o),a,c)},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(u.KECCAK256_NULL)},e.prototype.isEmpty=function(){return this.balance.isZero()&&this.nonce.isZero()&&this.codeHash.equals(u.KECCAK256_NULL)},e}();r.Account=m;r.isValidAddress=function(e){try{(0,f.assertIsString)(e)}catch(e){return!1}return/^0x[0-9a-fA-F]{40}$/.test(e)};r.toChecksumAddress=function(e,t){(0,f.assertIsHexString)(e);var r=(0,c.stripHexPrefix)(e).toLowerCase(),n="";t&&(n=(0,h.toType)(t,h.TypeOutput.BN).toString()+"0x");for(var s=(0,d.keccakFromString)(n+r).toString("hex"),o="0x",i=0;i<r.length;i++)parseInt(s[i],16)>=8?o+=r[i].toUpperCase():o+=r[i];return o};r.isValidChecksumAddress=function(e,t){return(0,r.isValidAddress)(e)&&(0,r.toChecksumAddress)(e,t)===e};r.generateAddress=function(e,r){(0,f.assertIsBuffer)(e),(0,f.assertIsBuffer)(r);var n=new i.BN(r);return n.isZero()?(0,d.rlphash)([e,null]).slice(-20):(0,d.rlphash)([e,t.from(n.toArray())]).slice(-20)};r.generateAddress2=function(e,r,n){return(0,f.assertIsBuffer)(e),(0,f.assertIsBuffer)(r),(0,f.assertIsBuffer)(n),(0,o.default)(20===e.length),(0,o.default)(32===r.length),(0,d.keccak256)(t.concat([t.from("ff","hex"),e,r,(0,d.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,f.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,f.assertIsBuffer)(e),r&&64!==e.length&&(e=t.from((0,a.publicKeyConvert)(e,!1).slice(1))),(0,o.default)(64===e.length),(0,d.keccak)(e).slice(-20)},r.publicToAddress=r.pubToAddress;r.privateToPublic=function(e){return(0,f.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,f.assertIsBuffer)(e),64!==e.length&&(e=t.from((0,a.publicKeyConvert)(e,!1).slice(1))),e};r.zeroAddress=function(){var e=(0,l.zeros)(20);return(0,l.bufferToHex)(e)};r.isZeroAddress=function(e){try{(0,f.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 s=n(e("assert")),o=e("./externals"),i=e("./bytes"),a=e("./account"),c=function(){function e(e){(0,s.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,s.default)((0,a.isValidAddress)(t),"Invalid address"),new e((0,i.toBuffer)(t))},e.fromPublicKey=function(r){return(0,s.default)(t.isBuffer(r),"Public key should be Buffer"),new e((0,a.pubToAddress)(r))},e.fromPrivateKey=function(r){return(0,s.default)(t.isBuffer(r),"Private key should be Buffer"),new e((0,a.privateToAddress)(r))},e.generate=function(r,n){return(0,s.default)(o.BN.isBN(n)),new e((0,a.generateAddress)(r.buf,n.toArrayLike(t)))},e.generate2=function(r,n,o){return(0,s.default)(t.isBuffer(n)),(0,s.default)(t.isBuffer(o)),new e((0,a.generateAddress2)(r.buf,n,o))},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 o.BN(this.buf),t=new o.BN(0),r=new o.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=c}).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.")},s=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,s,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){s={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(s)throw s.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 o=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 c=function(e,t,n){var s=(0,r.zeros)(t);return n?e.length<t?(e.copy(s),s):e.slice(0,t):e.length<t?(e.copy(s,t-e.length),s):e.slice(-t)};r.setLengthLeft=function(e,t){return(0,a.assertIsBuffer)(e),c(e,t,!1)};r.setLengthRight=function(e,t){return(0,a.assertIsBuffer)(e),c(e,t,!0)};var u=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),u(e)};r.unpadArray=function(e){return(0,a.assertIsArray)(e),u(e)};r.unpadHexString=function(e){return(0,a.assertIsHexString)(e),e=(0,i.stripHexPrefix)(e),u(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(o.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 o.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 o.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=[],s=0;s<e.length;s++)n.push((0,r.baToJSON)(e[s]));return n}};r.validateNoLeadingZeroes=function(e){var t,r;try{for(var o=n(Object.entries(e)),i=o.next();!i.done;i=o.next()){var a=s(i.value,2),c=a[0],u=a[1];if(u!==undefined&&u.length>0&&0===u[0])throw new Error("".concat(c," cannot have leading zeroes, received: ").concat(u.toString("hex")))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}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"),s=e("./externals");r.MAX_UINT64=new s.BN("ffffffffffffffff",16),r.MAX_INTEGER=new s.BN("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16),r.TWO_POW256=new s.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/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 s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}: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}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(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 c=o(e("rlp"));r.rlp=c}}},{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"),s=e("create-hash"),o=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 s=t.from(e,"utf8");return(0,r.keccak)(s,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 c=function(e){return e=(0,i.toBuffer)(e),s("sha256").update(e).digest()};r.sha256=function(e){return(0,a.assertIsBuffer)(e),c(e)};r.sha256FromString=function(e){return(0,a.assertIsString)(e),c(e)};r.sha256FromArray=function(e){return(0,a.assertIsArray)(e),c(e)};var u=function(e,t){e=(0,i.toBuffer)(e);var r=s("rmd160").update(e).digest();return!0===t?(0,i.setLengthLeft)(r,32):r};r.ripemd160=function(e,t){return(0,a.assertIsBuffer)(e),u(e,t)};r.ripemd160FromString=function(e,t){return(0,a.assertIsString)(e),u(e,t)};r.ripemd160FromArray=function(e,t){return(0,a.assertIsArray)(e),u(e,t)};r.rlphash=function(e){return(0,r.keccak)(o.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 s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=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,s(e("./constants"),r),s(e("./account"),r),s(e("./address"),r),s(e("./hash"),r),s(e("./signature"),r),s(e("./bytes"),r),s(e("./object"),r),s(e("./externals"),r),s(e("./types"),r);var o=e("./internal");Object.defineProperty(r,"isHexPrefixed",{enumerable:!0,get:function(){return o.isHexPrefixed}}),Object.defineProperty(r,"stripHexPrefix",{enumerable:!0,get:function(){return o.stripHexPrefix}}),Object.defineProperty(r,"padToEven",{enumerable:!0,get:function(){return o.padToEven}}),Object.defineProperty(r,"getBinarySize",{enumerable:!0,get:function(){return o.getBinarySize}}),Object.defineProperty(r,"arrayContainsArray",{enumerable:!0,get:function(){return o.arrayContainsArray}}),Object.defineProperty(r,"toAscii",{enumerable:!0,get:function(){return o.toAscii}}),Object.defineProperty(r,"fromUtf8",{enumerable:!0,get:function(){return o.fromUtf8}}),Object.defineProperty(r,"fromAscii",{enumerable:!0,get:function(){return o.fromAscii}}),Object.defineProperty(r,"getKeys",{enumerable:!0,get:function(){return o.getKeys}}),Object.defineProperty(r,"isHexString",{enumerable:!0,get:function(){return o.isHexString}})}}},{package:"ethereumjs-util",file:"node_modules/ethereumjs-util/dist.browser/index.js"}]],[],{});