main.js 338 KB

12
  1. /*! For license information please see main.js.LICENSE.txt */
  2. (()=>{var e={757:(e,r,t)=>{e.exports=t(666)},972:e=>{e.exports=["#01888C","#FC7500","#034F5D","#F73F01","#FC1960","#C7144C","#F3C100","#1598F2","#2465E1","#F19E02"]},935:(e,r,t)=>{var o,n=t(996),i=t(533),a=t(767),s=t(972),u="http://www.w3.org/2000/svg";function l(e,r,t,n,i){var a=r/2,s=document.createElementNS(u,"rect");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",r),s.setAttributeNS(null,"height",r);var l=o.random(),c=2*Math.PI*l,f=r/n*o.random()+t*r/n,d="translate("+Math.cos(c)*f+" "+Math.sin(c)*f+") rotate("+(360*l+180*o.random()).toFixed(1)+" "+a+" "+a+")";s.setAttributeNS(null,"transform",d);var p=h(e);s.setAttributeNS(null,"fill",p),i.appendChild(s)}function h(e){o.random();var r=Math.floor(e.length*o.random());return e.splice(r,1)[0]}e.exports=function(e,r){o=new n(r);var t=function(e,r){var t=30*r.random()-15;return e.map((function(e){var r=a(e);return r.rotate(t),r.hexString()}))}(s.slice(),o),c=i(e,h(t)).container,f=document.createElementNS(u,"svg");f.setAttributeNS(null,"x","0"),f.setAttributeNS(null,"y","0"),f.setAttributeNS(null,"width",e),f.setAttributeNS(null,"height",e),c.appendChild(f);for(var d=0;d<3;d++)l(t,e,d,3,f);return c}},533:e=>{e.exports=function(e,r){var t=document.createElement("div");return t.style.borderRadius="50px",t.style.overflow="hidden",t.style.padding="0px",t.style.margin="0px",t.style.width=e+"px",t.style.height=e+"px",t.style.display="inline-block",t.style.background=r,{container:t}}},826:function(e){"use strict";!function(r){function t(e){return parseInt(e)===e}function o(e){if(!t(e.length))return!1;for(var r=0;r<e.length;r++)if(!t(e[r])||e[r]<0||e[r]>255)return!1;return!0}function n(e,r){if(e.buffer&&ArrayBuffer.isView(e)&&"Uint8Array"===e.name)return r&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!o(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(t(e.length)&&o(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function i(e){return new Uint8Array(e)}function a(e,r,t,o,n){null==o&&null==n||(e=e.slice?e.slice(o,n):Array.prototype.slice.call(e,o,n)),r.set(e,t)}var s,u={toBytes:function(e){var r=[],t=0;for(e=encodeURI(e);t<e.length;){var o=e.charCodeAt(t++);37===o?(r.push(parseInt(e.substr(t,2),16)),t+=2):r.push(o)}return n(r)},fromBytes:function(e){for(var r=[],t=0;t<e.length;){var o=e[t];o<128?(r.push(String.fromCharCode(o)),t++):o>191&&o<224?(r.push(String.fromCharCode((31&o)<<6|63&e[t+1])),t+=2):(r.push(String.fromCharCode((15&o)<<12|(63&e[t+1])<<6|63&e[t+2])),t+=3)}return r.join("")}},l=(s="0123456789abcdef",{toBytes:function(e){for(var r=[],t=0;t<e.length;t+=2)r.push(parseInt(e.substr(t,2),16));return r},fromBytes:function(e){for(var r=[],t=0;t<e.length;t++){var o=e[t];r.push(s[(240&o)>>4]+s[15&o])}return r.join("")}}),h={16:10,24:12,32:14},c=[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],f=[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],d=[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],g=[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],m=[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],v=[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],b=[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],y=[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],A=[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],M=[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],S=[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],T=[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],F=[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],J=[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 C(e){for(var r=[],t=0;t<e.length;t+=4)r.push(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]);return r}var L=function(e){if(!(this instanceof L))throw Error("AES must be instanitated with `new`");Object.defineProperty(this,"key",{value:n(e,!0)}),this._prepare()};L.prototype._prepare=function(){var e=h[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 r=0;r<=e;r++)this._Ke.push([0,0,0,0]),this._Kd.push([0,0,0,0]);var t,o=4*(e+1),n=this.key.length/4,i=C(this.key);for(r=0;r<n;r++)t=r>>2,this._Ke[t][r%4]=i[r],this._Kd[e-t][r%4]=i[r];for(var a,s=0,u=n;u<o;){if(a=i[n-1],i[0]^=f[a>>16&255]<<24^f[a>>8&255]<<16^f[255&a]<<8^f[a>>24&255]^c[s]<<24,s+=1,8!=n)for(r=1;r<n;r++)i[r]^=i[r-1];else{for(r=1;r<n/2;r++)i[r]^=i[r-1];for(a=i[n/2-1],i[n/2]^=f[255&a]^f[a>>8&255]<<8^f[a>>16&255]<<16^f[a>>24&255]<<24,r=n/2+1;r<n;r++)i[r]^=i[r-1]}for(r=0;r<n&&u<o;)l=u>>2,d=u%4,this._Ke[l][d]=i[r],this._Kd[e-l][d]=i[r++],u++}for(var l=1;l<e;l++)for(var d=0;d<4;d++)a=this._Kd[l][d],this._Kd[l][d]=S[a>>24&255]^T[a>>16&255]^F[a>>8&255]^J[255&a]},L.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var r=this._Ke.length-1,t=[0,0,0,0],o=C(e),n=0;n<4;n++)o[n]^=this._Ke[0][n];for(var a=1;a<r;a++){for(n=0;n<4;n++)t[n]=p[o[n]>>24&255]^g[o[(n+1)%4]>>16&255]^m[o[(n+2)%4]>>8&255]^v[255&o[(n+3)%4]]^this._Ke[a][n];o=t.slice()}var s,u=i(16);for(n=0;n<4;n++)s=this._Ke[r][n],u[4*n]=255&(f[o[n]>>24&255]^s>>24),u[4*n+1]=255&(f[o[(n+1)%4]>>16&255]^s>>16),u[4*n+2]=255&(f[o[(n+2)%4]>>8&255]^s>>8),u[4*n+3]=255&(f[255&o[(n+3)%4]]^s);return u},L.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var r=this._Kd.length-1,t=[0,0,0,0],o=C(e),n=0;n<4;n++)o[n]^=this._Kd[0][n];for(var a=1;a<r;a++){for(n=0;n<4;n++)t[n]=b[o[n]>>24&255]^y[o[(n+3)%4]>>16&255]^A[o[(n+2)%4]>>8&255]^M[255&o[(n+1)%4]]^this._Kd[a][n];o=t.slice()}var s,u=i(16);for(n=0;n<4;n++)s=this._Kd[r][n],u[4*n]=255&(d[o[n]>>24&255]^s>>24),u[4*n+1]=255&(d[o[(n+3)%4]>>16&255]^s>>16),u[4*n+2]=255&(d[o[(n+2)%4]>>8&255]^s>>8),u[4*n+3]=255&(d[255&o[(n+1)%4]]^s);return u};var w=function(e){if(!(this instanceof w))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new L(e)};w.prototype.encrypt=function(e){if((e=n(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var r=i(e.length),t=i(16),o=0;o<e.length;o+=16)a(e,t,0,o,o+16),a(t=this._aes.encrypt(t),r,o);return r},w.prototype.decrypt=function(e){if((e=n(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var r=i(e.length),t=i(16),o=0;o<e.length;o+=16)a(e,t,0,o,o+16),a(t=this._aes.decrypt(t),r,o);return r};var P=function(e,r){if(!(this instanceof P))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Block Chaining",this.name="cbc",r){if(16!=r.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else r=i(16);this._lastCipherblock=n(r,!0),this._aes=new L(e)};P.prototype.encrypt=function(e){if((e=n(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var r=i(e.length),t=i(16),o=0;o<e.length;o+=16){a(e,t,0,o,o+16);for(var s=0;s<16;s++)t[s]^=this._lastCipherblock[s];this._lastCipherblock=this._aes.encrypt(t),a(this._lastCipherblock,r,o)}return r},P.prototype.decrypt=function(e){if((e=n(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var r=i(e.length),t=i(16),o=0;o<e.length;o+=16){a(e,t,0,o,o+16),t=this._aes.decrypt(t);for(var s=0;s<16;s++)r[o+s]=t[s]^this._lastCipherblock[s];a(e,this._lastCipherblock,0,o,o+16)}return r};var E=function(e,r,t){if(!(this instanceof E))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Feedback",this.name="cfb",r){if(16!=r.length)throw new Error("invalid initialation vector size (must be 16 size)")}else r=i(16);t||(t=1),this.segmentSize=t,this._shiftRegister=n(r,!0),this._aes=new L(e)};E.prototype.encrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid plaintext size (must be segmentSize bytes)");for(var r,t=n(e,!0),o=0;o<t.length;o+=this.segmentSize){r=this._aes.encrypt(this._shiftRegister);for(var i=0;i<this.segmentSize;i++)t[o+i]^=r[i];a(this._shiftRegister,this._shiftRegister,0,this.segmentSize),a(t,this._shiftRegister,16-this.segmentSize,o,o+this.segmentSize)}return t},E.prototype.decrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid ciphertext size (must be segmentSize bytes)");for(var r,t=n(e,!0),o=0;o<t.length;o+=this.segmentSize){r=this._aes.encrypt(this._shiftRegister);for(var i=0;i<this.segmentSize;i++)t[o+i]^=r[i];a(this._shiftRegister,this._shiftRegister,0,this.segmentSize),a(e,this._shiftRegister,16-this.segmentSize,o,o+this.segmentSize)}return t};var B=function(e,r){if(!(this instanceof B))throw Error("AES must be instanitated with `new`");if(this.description="Output Feedback",this.name="ofb",r){if(16!=r.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else r=i(16);this._lastPrecipher=n(r,!0),this._lastPrecipherIndex=16,this._aes=new L(e)};B.prototype.encrypt=function(e){for(var r=n(e,!0),t=0;t<r.length;t++)16===this._lastPrecipherIndex&&(this._lastPrecipher=this._aes.encrypt(this._lastPrecipher),this._lastPrecipherIndex=0),r[t]^=this._lastPrecipher[this._lastPrecipherIndex++];return r},B.prototype.decrypt=B.prototype.encrypt;var k=function(e){if(!(this instanceof k))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)};k.prototype.setValue=function(e){if("number"!=typeof e||parseInt(e)!=e)throw new Error("invalid counter value (must be an integer)");for(var r=15;r>=0;--r)this._counter[r]=e%256,e>>=8},k.prototype.setBytes=function(e){if(16!=(e=n(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},k.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var D=function(e,r){if(!(this instanceof D))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",r instanceof k||(r=new k(r)),this._counter=r,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new L(e)};D.prototype.encrypt=function(e){for(var r=n(e,!0),t=0;t<r.length;t++)16===this._remainingCounterIndex&&(this._remainingCounter=this._aes.encrypt(this._counter._counter),this._remainingCounterIndex=0,this._counter.increment()),r[t]^=this._remainingCounter[this._remainingCounterIndex++];return r},D.prototype.decrypt=D.prototype.encrypt;var R={AES:L,Counter:k,ModeOfOperation:{ecb:w,cbc:P,cfb:E,ofb:B,ctr:D},utils:{hex:l,utf8:u},padding:{pkcs7:{pad:function(e){var r=16-(e=n(e,!0)).length%16,t=i(e.length+r);a(e,t);for(var o=e.length;o<t.length;o++)t[o]=r;return t},strip:function(e){if((e=n(e,!0)).length<16)throw new Error("PKCS#7 invalid length");var r=e[e.length-1];if(r>16)throw new Error("PKCS#7 padding byte out of range");for(var t=e.length-r,o=0;o<r;o++)if(e[t+o]!==r)throw new Error("PKCS#7 invalid padding byte");var s=i(t);return a(e,s,0,0,t),s}}},_arrayTest:{coerceArray:n,createArray:i,copyArray:a}};e.exports=R}()},550:function(e,r,t){!function(e,r){"use strict";function o(e,r){if(!e)throw new Error(r||"Assertion failed")}function n(e,r){e.super_=r;var t=function(){};t.prototype=r.prototype,e.prototype=new t,e.prototype.constructor=e}function i(e,r,t){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==r&&"be"!==r||(t=r,r=10),this._init(e||0,r||10,t||"be"))}var a;"object"==typeof e?e.exports=i:r.BN=i,i.BN=i,i.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:t(601).Buffer}catch(e){}function s(e,r){var t=e.charCodeAt(r);return t>=65&&t<=70?t-55:t>=97&&t<=102?t-87:t-48&15}function u(e,r,t){var o=s(e,t);return t-1>=r&&(o|=s(e,t-1)<<4),o}function l(e,r,t,o){for(var n=0,i=Math.min(e.length,t),a=r;a<i;a++){var s=e.charCodeAt(a)-48;n*=o,n+=s>=49?s-49+10:s>=17?s-17+10:s}return n}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,r){return e.cmp(r)>0?e:r},i.min=function(e,r){return e.cmp(r)<0?e:r},i.prototype._init=function(e,r,t){if("number"==typeof e)return this._initNumber(e,r,t);if("object"==typeof e)return this._initArray(e,r,t);"hex"===r&&(r=16),o(r===(0|r)&&r>=2&&r<=36);var n=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(n++,this.negative=1),n<e.length&&(16===r?this._parseHex(e,n,t):(this._parseBase(e,r,n),"le"===t&&this._initArray(this.toArray(),r,t)))},i.prototype._initNumber=function(e,r,t){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):(o(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===t&&this._initArray(this.toArray(),r,t)},i.prototype._initArray=function(e,r,t){if(o("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 n=0;n<this.length;n++)this.words[n]=0;var i,a,s=0;if("be"===t)for(n=e.length-1,i=0;n>=0;n-=3)a=e[n]|e[n-1]<<8|e[n-2]<<16,this.words[i]|=a<<s&67108863,this.words[i+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,i++);else if("le"===t)for(n=0,i=0;n<e.length;n+=3)a=e[n]|e[n+1]<<8|e[n+2]<<16,this.words[i]|=a<<s&67108863,this.words[i+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,i++);return this.strip()},i.prototype._parseHex=function(e,r,t){this.length=Math.ceil((e.length-r)/6),this.words=new Array(this.length);for(var o=0;o<this.length;o++)this.words[o]=0;var n,i=0,a=0;if("be"===t)for(o=e.length-1;o>=r;o-=2)n=u(e,r,o)<<i,this.words[a]|=67108863&n,i>=18?(i-=18,a+=1,this.words[a]|=n>>>26):i+=8;else for(o=(e.length-r)%2==0?r+1:r;o<e.length;o+=2)n=u(e,r,o)<<i,this.words[a]|=67108863&n,i>=18?(i-=18,a+=1,this.words[a]|=n>>>26):i+=8;this.strip()},i.prototype._parseBase=function(e,r,t){this.words=[0],this.length=1;for(var o=0,n=1;n<=67108863;n*=r)o++;o--,n=n/r|0;for(var i=e.length-t,a=i%o,s=Math.min(i,i-a)+t,u=0,h=t;h<s;h+=o)u=l(e,h,h+o,r),this.imuln(n),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==a){var c=1;for(u=l(e,h,e.length,r),h=0;h<a;h++)c*=r;this.imuln(c),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},i.prototype.copy=function(e){e.words=new Array(this.length);for(var r=0;r<this.length;r++)e.words[r]=this.words[r];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var h=["","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"],c=[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],f=[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];function d(e,r,t){t.negative=r.negative^e.negative;var o=e.length+r.length|0;t.length=o,o=o-1|0;var n=0|e.words[0],i=0|r.words[0],a=n*i,s=67108863&a,u=a/67108864|0;t.words[0]=s;for(var l=1;l<o;l++){for(var h=u>>>26,c=67108863&u,f=Math.min(l,r.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;h+=(a=(n=0|e.words[p])*(i=0|r.words[d])+c)/67108864|0,c=67108863&a}t.words[l]=0|c,u=0|h}return 0!==u?t.words[l]=0|u:t.length--,t.strip()}i.prototype.toString=function(e,r){var t;if(r=0|r||1,16===(e=e||10)||"hex"===e){t="";for(var n=0,i=0,a=0;a<this.length;a++){var s=this.words[a],u=(16777215&(s<<n|i)).toString(16);t=0!=(i=s>>>24-n&16777215)||a!==this.length-1?h[6-u.length]+u+t:u+t,(n+=2)>=26&&(n-=26,a--)}for(0!==i&&(t=i.toString(16)+t);t.length%r!=0;)t="0"+t;return 0!==this.negative&&(t="-"+t),t}if(e===(0|e)&&e>=2&&e<=36){var l=c[e],d=f[e];t="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(d).toString(e);t=(p=p.idivn(d)).isZero()?g+t:h[l-g.length]+g+t}for(this.isZero()&&(t="0"+t);t.length%r!=0;)t="0"+t;return 0!==this.negative&&(t="-"+t),t}o(!1,"Base should be between 2 and 36")},i.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&&o(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,r){return o(void 0!==a),this.toArrayLike(a,e,r)},i.prototype.toArray=function(e,r){return this.toArrayLike(Array,e,r)},i.prototype.toArrayLike=function(e,r,t){var n=this.byteLength(),i=t||Math.max(1,n);o(n<=i,"byte array longer than desired length"),o(i>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===r,l=new e(i),h=this.clone();if(u){for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),l[s]=a;for(;s<i;s++)l[s]=0}else{for(s=0;s<i-n;s++)l[s]=0;for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),l[i-s-1]=a}return l},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var r=e,t=0;return r>=4096&&(t+=13,r>>>=13),r>=64&&(t+=7,r>>>=7),r>=8&&(t+=4,r>>>=4),r>=2&&(t+=2,r>>>=2),t+r},i.prototype._zeroBits=function(e){if(0===e)return 26;var r=e,t=0;return 0==(8191&r)&&(t+=13,r>>>=13),0==(127&r)&&(t+=7,r>>>=7),0==(15&r)&&(t+=4,r>>>=4),0==(3&r)&&(t+=2,r>>>=2),0==(1&r)&&t++,t},i.prototype.bitLength=function(){var e=this.words[this.length-1],r=this._countBits(e);return 26*(this.length-1)+r},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,r=0;r<this.length;r++){var t=this._zeroBits(this.words[r]);if(e+=t,26!==t)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]|e.words[r];return this.strip()},i.prototype.ior=function(e){return o(0==(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var r;r=this.length>e.length?e:this;for(var t=0;t<r.length;t++)this.words[t]=this.words[t]&e.words[t];return this.length=r.length,this.strip()},i.prototype.iand=function(e){return o(0==(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var r,t;this.length>e.length?(r=this,t=e):(r=e,t=this);for(var o=0;o<t.length;o++)this.words[o]=r.words[o]^t.words[o];if(this!==r)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=r.length,this.strip()},i.prototype.ixor=function(e){return o(0==(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){o("number"==typeof e&&e>=0);var r=0|Math.ceil(e/26),t=e%26;this._expand(r),t>0&&r--;for(var n=0;n<r;n++)this.words[n]=67108863&~this.words[n];return t>0&&(this.words[n]=~this.words[n]&67108863>>26-t),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,r){o("number"==typeof e&&e>=0);var t=e/26|0,n=e%26;return this._expand(t+1),this.words[t]=r?this.words[t]|1<<n:this.words[t]&~(1<<n),this.strip()},i.prototype.iadd=function(e){var r,t,o;if(0!==this.negative&&0===e.negative)return this.negative=0,r=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,r=this.isub(e),e.negative=1,r._normSign();this.length>e.length?(t=this,o=e):(t=e,o=this);for(var n=0,i=0;i<o.length;i++)r=(0|t.words[i])+(0|o.words[i])+n,this.words[i]=67108863&r,n=r>>>26;for(;0!==n&&i<t.length;i++)r=(0|t.words[i])+n,this.words[i]=67108863&r,n=r>>>26;if(this.length=t.length,0!==n)this.words[this.length]=n,this.length++;else if(t!==this)for(;i<t.length;i++)this.words[i]=t.words[i];return this},i.prototype.add=function(e){var r;return 0!==e.negative&&0===this.negative?(e.negative=0,r=this.sub(e),e.negative^=1,r):0===e.negative&&0!==this.negative?(this.negative=0,r=e.sub(this),this.negative=1,r):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var r=this.iadd(e);return e.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var t,o,n=this.cmp(e);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(t=this,o=e):(t=e,o=this);for(var i=0,a=0;a<o.length;a++)i=(r=(0|t.words[a])-(0|o.words[a])+i)>>26,this.words[a]=67108863&r;for(;0!==i&&a<t.length;a++)i=(r=(0|t.words[a])+i)>>26,this.words[a]=67108863&r;if(0===i&&a<t.length&&t!==this)for(;a<t.length;a++)this.words[a]=t.words[a];return this.length=Math.max(this.length,a),t!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,r,t){var o,n,i,a=e.words,s=r.words,u=t.words,l=0,h=0|a[0],c=8191&h,f=h>>>13,d=0|a[1],p=8191&d,g=d>>>13,m=0|a[2],v=8191&m,b=m>>>13,y=0|a[3],A=8191&y,M=y>>>13,S=0|a[4],T=8191&S,F=S>>>13,J=0|a[5],C=8191&J,L=J>>>13,w=0|a[6],P=8191&w,E=w>>>13,B=0|a[7],k=8191&B,D=B>>>13,R=0|a[8],O=8191&R,X=R>>>13,N=0|a[9],I=8191&N,H=N>>>13,G=0|s[0],x=8191&G,U=G>>>13,V=0|s[1],z=8191&V,Z=V>>>13,_=0|s[2],K=8191&_,j=_>>>13,Q=0|s[3],q=8191&Q,Y=Q>>>13,W=0|s[4],$=8191&W,ee=W>>>13,re=0|s[5],te=8191&re,oe=re>>>13,ne=0|s[6],ie=8191&ne,ae=ne>>>13,se=0|s[7],ue=8191&se,le=se>>>13,he=0|s[8],ce=8191&he,fe=he>>>13,de=0|s[9],pe=8191&de,ge=de>>>13;t.negative=e.negative^r.negative,t.length=19;var me=(l+(o=Math.imul(c,x))|0)+((8191&(n=(n=Math.imul(c,U))+Math.imul(f,x)|0))<<13)|0;l=((i=Math.imul(f,U))+(n>>>13)|0)+(me>>>26)|0,me&=67108863,o=Math.imul(p,x),n=(n=Math.imul(p,U))+Math.imul(g,x)|0,i=Math.imul(g,U);var ve=(l+(o=o+Math.imul(c,z)|0)|0)+((8191&(n=(n=n+Math.imul(c,Z)|0)+Math.imul(f,z)|0))<<13)|0;l=((i=i+Math.imul(f,Z)|0)+(n>>>13)|0)+(ve>>>26)|0,ve&=67108863,o=Math.imul(v,x),n=(n=Math.imul(v,U))+Math.imul(b,x)|0,i=Math.imul(b,U),o=o+Math.imul(p,z)|0,n=(n=n+Math.imul(p,Z)|0)+Math.imul(g,z)|0,i=i+Math.imul(g,Z)|0;var be=(l+(o=o+Math.imul(c,K)|0)|0)+((8191&(n=(n=n+Math.imul(c,j)|0)+Math.imul(f,K)|0))<<13)|0;l=((i=i+Math.imul(f,j)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,o=Math.imul(A,x),n=(n=Math.imul(A,U))+Math.imul(M,x)|0,i=Math.imul(M,U),o=o+Math.imul(v,z)|0,n=(n=n+Math.imul(v,Z)|0)+Math.imul(b,z)|0,i=i+Math.imul(b,Z)|0,o=o+Math.imul(p,K)|0,n=(n=n+Math.imul(p,j)|0)+Math.imul(g,K)|0,i=i+Math.imul(g,j)|0;var ye=(l+(o=o+Math.imul(c,q)|0)|0)+((8191&(n=(n=n+Math.imul(c,Y)|0)+Math.imul(f,q)|0))<<13)|0;l=((i=i+Math.imul(f,Y)|0)+(n>>>13)|0)+(ye>>>26)|0,ye&=67108863,o=Math.imul(T,x),n=(n=Math.imul(T,U))+Math.imul(F,x)|0,i=Math.imul(F,U),o=o+Math.imul(A,z)|0,n=(n=n+Math.imul(A,Z)|0)+Math.imul(M,z)|0,i=i+Math.imul(M,Z)|0,o=o+Math.imul(v,K)|0,n=(n=n+Math.imul(v,j)|0)+Math.imul(b,K)|0,i=i+Math.imul(b,j)|0,o=o+Math.imul(p,q)|0,n=(n=n+Math.imul(p,Y)|0)+Math.imul(g,q)|0,i=i+Math.imul(g,Y)|0;var Ae=(l+(o=o+Math.imul(c,$)|0)|0)+((8191&(n=(n=n+Math.imul(c,ee)|0)+Math.imul(f,$)|0))<<13)|0;l=((i=i+Math.imul(f,ee)|0)+(n>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,o=Math.imul(C,x),n=(n=Math.imul(C,U))+Math.imul(L,x)|0,i=Math.imul(L,U),o=o+Math.imul(T,z)|0,n=(n=n+Math.imul(T,Z)|0)+Math.imul(F,z)|0,i=i+Math.imul(F,Z)|0,o=o+Math.imul(A,K)|0,n=(n=n+Math.imul(A,j)|0)+Math.imul(M,K)|0,i=i+Math.imul(M,j)|0,o=o+Math.imul(v,q)|0,n=(n=n+Math.imul(v,Y)|0)+Math.imul(b,q)|0,i=i+Math.imul(b,Y)|0,o=o+Math.imul(p,$)|0,n=(n=n+Math.imul(p,ee)|0)+Math.imul(g,$)|0,i=i+Math.imul(g,ee)|0;var Me=(l+(o=o+Math.imul(c,te)|0)|0)+((8191&(n=(n=n+Math.imul(c,oe)|0)+Math.imul(f,te)|0))<<13)|0;l=((i=i+Math.imul(f,oe)|0)+(n>>>13)|0)+(Me>>>26)|0,Me&=67108863,o=Math.imul(P,x),n=(n=Math.imul(P,U))+Math.imul(E,x)|0,i=Math.imul(E,U),o=o+Math.imul(C,z)|0,n=(n=n+Math.imul(C,Z)|0)+Math.imul(L,z)|0,i=i+Math.imul(L,Z)|0,o=o+Math.imul(T,K)|0,n=(n=n+Math.imul(T,j)|0)+Math.imul(F,K)|0,i=i+Math.imul(F,j)|0,o=o+Math.imul(A,q)|0,n=(n=n+Math.imul(A,Y)|0)+Math.imul(M,q)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(v,$)|0,n=(n=n+Math.imul(v,ee)|0)+Math.imul(b,$)|0,i=i+Math.imul(b,ee)|0,o=o+Math.imul(p,te)|0,n=(n=n+Math.imul(p,oe)|0)+Math.imul(g,te)|0,i=i+Math.imul(g,oe)|0;var Se=(l+(o=o+Math.imul(c,ie)|0)|0)+((8191&(n=(n=n+Math.imul(c,ae)|0)+Math.imul(f,ie)|0))<<13)|0;l=((i=i+Math.imul(f,ae)|0)+(n>>>13)|0)+(Se>>>26)|0,Se&=67108863,o=Math.imul(k,x),n=(n=Math.imul(k,U))+Math.imul(D,x)|0,i=Math.imul(D,U),o=o+Math.imul(P,z)|0,n=(n=n+Math.imul(P,Z)|0)+Math.imul(E,z)|0,i=i+Math.imul(E,Z)|0,o=o+Math.imul(C,K)|0,n=(n=n+Math.imul(C,j)|0)+Math.imul(L,K)|0,i=i+Math.imul(L,j)|0,o=o+Math.imul(T,q)|0,n=(n=n+Math.imul(T,Y)|0)+Math.imul(F,q)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(A,$)|0,n=(n=n+Math.imul(A,ee)|0)+Math.imul(M,$)|0,i=i+Math.imul(M,ee)|0,o=o+Math.imul(v,te)|0,n=(n=n+Math.imul(v,oe)|0)+Math.imul(b,te)|0,i=i+Math.imul(b,oe)|0,o=o+Math.imul(p,ie)|0,n=(n=n+Math.imul(p,ae)|0)+Math.imul(g,ie)|0,i=i+Math.imul(g,ae)|0;var Te=(l+(o=o+Math.imul(c,ue)|0)|0)+((8191&(n=(n=n+Math.imul(c,le)|0)+Math.imul(f,ue)|0))<<13)|0;l=((i=i+Math.imul(f,le)|0)+(n>>>13)|0)+(Te>>>26)|0,Te&=67108863,o=Math.imul(O,x),n=(n=Math.imul(O,U))+Math.imul(X,x)|0,i=Math.imul(X,U),o=o+Math.imul(k,z)|0,n=(n=n+Math.imul(k,Z)|0)+Math.imul(D,z)|0,i=i+Math.imul(D,Z)|0,o=o+Math.imul(P,K)|0,n=(n=n+Math.imul(P,j)|0)+Math.imul(E,K)|0,i=i+Math.imul(E,j)|0,o=o+Math.imul(C,q)|0,n=(n=n+Math.imul(C,Y)|0)+Math.imul(L,q)|0,i=i+Math.imul(L,Y)|0,o=o+Math.imul(T,$)|0,n=(n=n+Math.imul(T,ee)|0)+Math.imul(F,$)|0,i=i+Math.imul(F,ee)|0,o=o+Math.imul(A,te)|0,n=(n=n+Math.imul(A,oe)|0)+Math.imul(M,te)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(v,ie)|0,n=(n=n+Math.imul(v,ae)|0)+Math.imul(b,ie)|0,i=i+Math.imul(b,ae)|0,o=o+Math.imul(p,ue)|0,n=(n=n+Math.imul(p,le)|0)+Math.imul(g,ue)|0,i=i+Math.imul(g,le)|0;var Fe=(l+(o=o+Math.imul(c,ce)|0)|0)+((8191&(n=(n=n+Math.imul(c,fe)|0)+Math.imul(f,ce)|0))<<13)|0;l=((i=i+Math.imul(f,fe)|0)+(n>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,o=Math.imul(I,x),n=(n=Math.imul(I,U))+Math.imul(H,x)|0,i=Math.imul(H,U),o=o+Math.imul(O,z)|0,n=(n=n+Math.imul(O,Z)|0)+Math.imul(X,z)|0,i=i+Math.imul(X,Z)|0,o=o+Math.imul(k,K)|0,n=(n=n+Math.imul(k,j)|0)+Math.imul(D,K)|0,i=i+Math.imul(D,j)|0,o=o+Math.imul(P,q)|0,n=(n=n+Math.imul(P,Y)|0)+Math.imul(E,q)|0,i=i+Math.imul(E,Y)|0,o=o+Math.imul(C,$)|0,n=(n=n+Math.imul(C,ee)|0)+Math.imul(L,$)|0,i=i+Math.imul(L,ee)|0,o=o+Math.imul(T,te)|0,n=(n=n+Math.imul(T,oe)|0)+Math.imul(F,te)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(A,ie)|0,n=(n=n+Math.imul(A,ae)|0)+Math.imul(M,ie)|0,i=i+Math.imul(M,ae)|0,o=o+Math.imul(v,ue)|0,n=(n=n+Math.imul(v,le)|0)+Math.imul(b,ue)|0,i=i+Math.imul(b,le)|0,o=o+Math.imul(p,ce)|0,n=(n=n+Math.imul(p,fe)|0)+Math.imul(g,ce)|0,i=i+Math.imul(g,fe)|0;var Je=(l+(o=o+Math.imul(c,pe)|0)|0)+((8191&(n=(n=n+Math.imul(c,ge)|0)+Math.imul(f,pe)|0))<<13)|0;l=((i=i+Math.imul(f,ge)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,o=Math.imul(I,z),n=(n=Math.imul(I,Z))+Math.imul(H,z)|0,i=Math.imul(H,Z),o=o+Math.imul(O,K)|0,n=(n=n+Math.imul(O,j)|0)+Math.imul(X,K)|0,i=i+Math.imul(X,j)|0,o=o+Math.imul(k,q)|0,n=(n=n+Math.imul(k,Y)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,Y)|0,o=o+Math.imul(P,$)|0,n=(n=n+Math.imul(P,ee)|0)+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,o=o+Math.imul(C,te)|0,n=(n=n+Math.imul(C,oe)|0)+Math.imul(L,te)|0,i=i+Math.imul(L,oe)|0,o=o+Math.imul(T,ie)|0,n=(n=n+Math.imul(T,ae)|0)+Math.imul(F,ie)|0,i=i+Math.imul(F,ae)|0,o=o+Math.imul(A,ue)|0,n=(n=n+Math.imul(A,le)|0)+Math.imul(M,ue)|0,i=i+Math.imul(M,le)|0,o=o+Math.imul(v,ce)|0,n=(n=n+Math.imul(v,fe)|0)+Math.imul(b,ce)|0,i=i+Math.imul(b,fe)|0;var Ce=(l+(o=o+Math.imul(p,pe)|0)|0)+((8191&(n=(n=n+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;l=((i=i+Math.imul(g,ge)|0)+(n>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,o=Math.imul(I,K),n=(n=Math.imul(I,j))+Math.imul(H,K)|0,i=Math.imul(H,j),o=o+Math.imul(O,q)|0,n=(n=n+Math.imul(O,Y)|0)+Math.imul(X,q)|0,i=i+Math.imul(X,Y)|0,o=o+Math.imul(k,$)|0,n=(n=n+Math.imul(k,ee)|0)+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,o=o+Math.imul(P,te)|0,n=(n=n+Math.imul(P,oe)|0)+Math.imul(E,te)|0,i=i+Math.imul(E,oe)|0,o=o+Math.imul(C,ie)|0,n=(n=n+Math.imul(C,ae)|0)+Math.imul(L,ie)|0,i=i+Math.imul(L,ae)|0,o=o+Math.imul(T,ue)|0,n=(n=n+Math.imul(T,le)|0)+Math.imul(F,ue)|0,i=i+Math.imul(F,le)|0,o=o+Math.imul(A,ce)|0,n=(n=n+Math.imul(A,fe)|0)+Math.imul(M,ce)|0,i=i+Math.imul(M,fe)|0;var Le=(l+(o=o+Math.imul(v,pe)|0)|0)+((8191&(n=(n=n+Math.imul(v,ge)|0)+Math.imul(b,pe)|0))<<13)|0;l=((i=i+Math.imul(b,ge)|0)+(n>>>13)|0)+(Le>>>26)|0,Le&=67108863,o=Math.imul(I,q),n=(n=Math.imul(I,Y))+Math.imul(H,q)|0,i=Math.imul(H,Y),o=o+Math.imul(O,$)|0,n=(n=n+Math.imul(O,ee)|0)+Math.imul(X,$)|0,i=i+Math.imul(X,ee)|0,o=o+Math.imul(k,te)|0,n=(n=n+Math.imul(k,oe)|0)+Math.imul(D,te)|0,i=i+Math.imul(D,oe)|0,o=o+Math.imul(P,ie)|0,n=(n=n+Math.imul(P,ae)|0)+Math.imul(E,ie)|0,i=i+Math.imul(E,ae)|0,o=o+Math.imul(C,ue)|0,n=(n=n+Math.imul(C,le)|0)+Math.imul(L,ue)|0,i=i+Math.imul(L,le)|0,o=o+Math.imul(T,ce)|0,n=(n=n+Math.imul(T,fe)|0)+Math.imul(F,ce)|0,i=i+Math.imul(F,fe)|0;var we=(l+(o=o+Math.imul(A,pe)|0)|0)+((8191&(n=(n=n+Math.imul(A,ge)|0)+Math.imul(M,pe)|0))<<13)|0;l=((i=i+Math.imul(M,ge)|0)+(n>>>13)|0)+(we>>>26)|0,we&=67108863,o=Math.imul(I,$),n=(n=Math.imul(I,ee))+Math.imul(H,$)|0,i=Math.imul(H,ee),o=o+Math.imul(O,te)|0,n=(n=n+Math.imul(O,oe)|0)+Math.imul(X,te)|0,i=i+Math.imul(X,oe)|0,o=o+Math.imul(k,ie)|0,n=(n=n+Math.imul(k,ae)|0)+Math.imul(D,ie)|0,i=i+Math.imul(D,ae)|0,o=o+Math.imul(P,ue)|0,n=(n=n+Math.imul(P,le)|0)+Math.imul(E,ue)|0,i=i+Math.imul(E,le)|0,o=o+Math.imul(C,ce)|0,n=(n=n+Math.imul(C,fe)|0)+Math.imul(L,ce)|0,i=i+Math.imul(L,fe)|0;var Pe=(l+(o=o+Math.imul(T,pe)|0)|0)+((8191&(n=(n=n+Math.imul(T,ge)|0)+Math.imul(F,pe)|0))<<13)|0;l=((i=i+Math.imul(F,ge)|0)+(n>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,o=Math.imul(I,te),n=(n=Math.imul(I,oe))+Math.imul(H,te)|0,i=Math.imul(H,oe),o=o+Math.imul(O,ie)|0,n=(n=n+Math.imul(O,ae)|0)+Math.imul(X,ie)|0,i=i+Math.imul(X,ae)|0,o=o+Math.imul(k,ue)|0,n=(n=n+Math.imul(k,le)|0)+Math.imul(D,ue)|0,i=i+Math.imul(D,le)|0,o=o+Math.imul(P,ce)|0,n=(n=n+Math.imul(P,fe)|0)+Math.imul(E,ce)|0,i=i+Math.imul(E,fe)|0;var Ee=(l+(o=o+Math.imul(C,pe)|0)|0)+((8191&(n=(n=n+Math.imul(C,ge)|0)+Math.imul(L,pe)|0))<<13)|0;l=((i=i+Math.imul(L,ge)|0)+(n>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,o=Math.imul(I,ie),n=(n=Math.imul(I,ae))+Math.imul(H,ie)|0,i=Math.imul(H,ae),o=o+Math.imul(O,ue)|0,n=(n=n+Math.imul(O,le)|0)+Math.imul(X,ue)|0,i=i+Math.imul(X,le)|0,o=o+Math.imul(k,ce)|0,n=(n=n+Math.imul(k,fe)|0)+Math.imul(D,ce)|0,i=i+Math.imul(D,fe)|0;var Be=(l+(o=o+Math.imul(P,pe)|0)|0)+((8191&(n=(n=n+Math.imul(P,ge)|0)+Math.imul(E,pe)|0))<<13)|0;l=((i=i+Math.imul(E,ge)|0)+(n>>>13)|0)+(Be>>>26)|0,Be&=67108863,o=Math.imul(I,ue),n=(n=Math.imul(I,le))+Math.imul(H,ue)|0,i=Math.imul(H,le),o=o+Math.imul(O,ce)|0,n=(n=n+Math.imul(O,fe)|0)+Math.imul(X,ce)|0,i=i+Math.imul(X,fe)|0;var ke=(l+(o=o+Math.imul(k,pe)|0)|0)+((8191&(n=(n=n+Math.imul(k,ge)|0)+Math.imul(D,pe)|0))<<13)|0;l=((i=i+Math.imul(D,ge)|0)+(n>>>13)|0)+(ke>>>26)|0,ke&=67108863,o=Math.imul(I,ce),n=(n=Math.imul(I,fe))+Math.imul(H,ce)|0,i=Math.imul(H,fe);var De=(l+(o=o+Math.imul(O,pe)|0)|0)+((8191&(n=(n=n+Math.imul(O,ge)|0)+Math.imul(X,pe)|0))<<13)|0;l=((i=i+Math.imul(X,ge)|0)+(n>>>13)|0)+(De>>>26)|0,De&=67108863;var Re=(l+(o=Math.imul(I,pe))|0)+((8191&(n=(n=Math.imul(I,ge))+Math.imul(H,pe)|0))<<13)|0;return l=((i=Math.imul(H,ge))+(n>>>13)|0)+(Re>>>26)|0,Re&=67108863,u[0]=me,u[1]=ve,u[2]=be,u[3]=ye,u[4]=Ae,u[5]=Me,u[6]=Se,u[7]=Te,u[8]=Fe,u[9]=Je,u[10]=Ce,u[11]=Le,u[12]=we,u[13]=Pe,u[14]=Ee,u[15]=Be,u[16]=ke,u[17]=De,u[18]=Re,0!==l&&(u[19]=l,t.length++),t};function g(e,r,t){return(new m).mulp(e,r,t)}function m(e,r){this.x=e,this.y=r}Math.imul||(p=d),i.prototype.mulTo=function(e,r){var t,o=this.length+e.length;return t=10===this.length&&10===e.length?p(this,e,r):o<63?d(this,e,r):o<1024?function(e,r,t){t.negative=r.negative^e.negative,t.length=e.length+r.length;for(var o=0,n=0,i=0;i<t.length-1;i++){var a=n;n=0;for(var s=67108863&o,u=Math.min(i,r.length-1),l=Math.max(0,i-e.length+1);l<=u;l++){var h=i-l,c=(0|e.words[h])*(0|r.words[l]),f=67108863&c;s=67108863&(f=f+s|0),n+=(a=(a=a+(c/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}t.words[i]=s,o=a,a=n}return 0!==o?t.words[i]=o:t.length--,t.strip()}(this,e,r):g(this,e,r),t},m.prototype.makeRBT=function(e){for(var r=new Array(e),t=i.prototype._countBits(e)-1,o=0;o<e;o++)r[o]=this.revBin(o,t,e);return r},m.prototype.revBin=function(e,r,t){if(0===e||e===t-1)return e;for(var o=0,n=0;n<r;n++)o|=(1&e)<<r-n-1,e>>=1;return o},m.prototype.permute=function(e,r,t,o,n,i){for(var a=0;a<i;a++)o[a]=r[e[a]],n[a]=t[e[a]]},m.prototype.transform=function(e,r,t,o,n,i){this.permute(i,e,r,t,o,n);for(var a=1;a<n;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),l=Math.sin(2*Math.PI/s),h=0;h<n;h+=s)for(var c=u,f=l,d=0;d<a;d++){var p=t[h+d],g=o[h+d],m=t[h+d+a],v=o[h+d+a],b=c*m-f*v;v=c*v+f*m,m=b,t[h+d]=p+m,o[h+d]=g+v,t[h+d+a]=p-m,o[h+d+a]=g-v,d!==s&&(b=u*c-l*f,f=u*f+l*c,c=b)}},m.prototype.guessLen13b=function(e,r){var t=1|Math.max(r,e),o=1&t,n=0;for(t=t/2|0;t;t>>>=1)n++;return 1<<n+1+o},m.prototype.conjugate=function(e,r,t){if(!(t<=1))for(var o=0;o<t/2;o++){var n=e[o];e[o]=e[t-o-1],e[t-o-1]=n,n=r[o],r[o]=-r[t-o-1],r[t-o-1]=-n}},m.prototype.normalize13b=function(e,r){for(var t=0,o=0;o<r/2;o++){var n=8192*Math.round(e[2*o+1]/r)+Math.round(e[2*o]/r)+t;e[o]=67108863&n,t=n<67108864?0:n/67108864|0}return e},m.prototype.convert13b=function(e,r,t,n){for(var i=0,a=0;a<r;a++)i+=0|e[a],t[2*a]=8191&i,i>>>=13,t[2*a+1]=8191&i,i>>>=13;for(a=2*r;a<n;++a)t[a]=0;o(0===i),o(0==(-8192&i))},m.prototype.stub=function(e){for(var r=new Array(e),t=0;t<e;t++)r[t]=0;return r},m.prototype.mulp=function(e,r,t){var o=2*this.guessLen13b(e.length,r.length),n=this.makeRBT(o),i=this.stub(o),a=new Array(o),s=new Array(o),u=new Array(o),l=new Array(o),h=new Array(o),c=new Array(o),f=t.words;f.length=o,this.convert13b(e.words,e.length,a,o),this.convert13b(r.words,r.length,l,o),this.transform(a,i,s,u,o,n),this.transform(l,i,h,c,o,n);for(var d=0;d<o;d++){var p=s[d]*h[d]-u[d]*c[d];u[d]=s[d]*c[d]+u[d]*h[d],s[d]=p}return this.conjugate(s,u,o),this.transform(s,u,f,i,o,n),this.conjugate(f,i,o),this.normalize13b(f,o),t.negative=e.negative^r.negative,t.length=e.length+r.length,t.strip()},i.prototype.mul=function(e){var r=new i(null);return r.words=new Array(this.length+e.length),this.mulTo(e,r)},i.prototype.mulf=function(e){var r=new i(null);return r.words=new Array(this.length+e.length),g(this,e,r)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){o("number"==typeof e),o(e<67108864);for(var r=0,t=0;t<this.length;t++){var n=(0|this.words[t])*e,i=(67108863&n)+(67108863&r);r>>=26,r+=n/67108864|0,r+=i>>>26,this.words[t]=67108863&i}return 0!==r&&(this.words[t]=r,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var r=function(e){for(var r=new Array(e.bitLength()),t=0;t<r.length;t++){var o=t/26|0,n=t%26;r[t]=(e.words[o]&1<<n)>>>n}return r}(e);if(0===r.length)return new i(1);for(var t=this,o=0;o<r.length&&0===r[o];o++,t=t.sqr());if(++o<r.length)for(var n=t.sqr();o<r.length;o++,n=n.sqr())0!==r[o]&&(t=t.mul(n));return t},i.prototype.iushln=function(e){o("number"==typeof e&&e>=0);var r,t=e%26,n=(e-t)/26,i=67108863>>>26-t<<26-t;if(0!==t){var a=0;for(r=0;r<this.length;r++){var s=this.words[r]&i,u=(0|this.words[r])-s<<t;this.words[r]=u|a,a=s>>>26-t}a&&(this.words[r]=a,this.length++)}if(0!==n){for(r=this.length-1;r>=0;r--)this.words[r+n]=this.words[r];for(r=0;r<n;r++)this.words[r]=0;this.length+=n}return this.strip()},i.prototype.ishln=function(e){return o(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,r,t){var n;o("number"==typeof e&&e>=0),n=r?(r-r%26)/26:0;var i=e%26,a=Math.min((e-i)/26,this.length),s=67108863^67108863>>>i<<i,u=t;if(n-=a,n=Math.max(0,n),u){for(var l=0;l<a;l++)u.words[l]=this.words[l];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,l=0;l<this.length;l++)this.words[l]=this.words[l+a];else this.words[0]=0,this.length=1;var h=0;for(l=this.length-1;l>=0&&(0!==h||l>=n);l--){var c=0|this.words[l];this.words[l]=h<<26-i|c>>>i,h=c&s}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,r,t){return o(0===this.negative),this.iushrn(e,r,t)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){o("number"==typeof e&&e>=0);var r=e%26,t=(e-r)/26,n=1<<r;return!(this.length<=t||!(this.words[t]&n))},i.prototype.imaskn=function(e){o("number"==typeof e&&e>=0);var r=e%26,t=(e-r)/26;if(o(0===this.negative,"imaskn works only with positive numbers"),this.length<=t)return this;if(0!==r&&t++,this.length=Math.min(t,this.length),0!==r){var n=67108863^67108863>>>r<<r;this.words[this.length-1]&=n}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return o("number"==typeof e),o(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)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},i.prototype.isubn=function(e){if(o("number"==typeof e),o(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 r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,r,t){var n,i,a=e.length+t;this._expand(a);var s=0;for(n=0;n<e.length;n++){i=(0|this.words[n+t])+s;var u=(0|e.words[n])*r;s=((i-=67108863&u)>>26)-(u/67108864|0),this.words[n+t]=67108863&i}for(;n<this.length-t;n++)s=(i=(0|this.words[n+t])+s)>>26,this.words[n+t]=67108863&i;if(0===s)return this.strip();for(o(-1===s),s=0,n=0;n<this.length;n++)s=(i=-(0|this.words[n])+s)>>26,this.words[n]=67108863&i;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,r){var t=(this.length,e.length),o=this.clone(),n=e,a=0|n.words[n.length-1];0!=(t=26-this._countBits(a))&&(n=n.ushln(t),o.iushln(t),a=0|n.words[n.length-1]);var s,u=o.length-n.length;if("mod"!==r){(s=new i(null)).length=u+1,s.words=new Array(s.length);for(var l=0;l<s.length;l++)s.words[l]=0}var h=o.clone()._ishlnsubmul(n,1,u);0===h.negative&&(o=h,s&&(s.words[u]=1));for(var c=u-1;c>=0;c--){var f=67108864*(0|o.words[n.length+c])+(0|o.words[n.length+c-1]);for(f=Math.min(f/a|0,67108863),o._ishlnsubmul(n,f,c);0!==o.negative;)f--,o.negative=0,o._ishlnsubmul(n,1,c),o.isZero()||(o.negative^=1);s&&(s.words[c]=f)}return s&&s.strip(),o.strip(),"div"!==r&&0!==t&&o.iushrn(t),{div:s||null,mod:o}},i.prototype.divmod=function(e,r,t){return o(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,r),"mod"!==r&&(n=s.div.neg()),"div"!==r&&(a=s.mod.neg(),t&&0!==a.negative&&a.iadd(e)),{div:n,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),r),"mod"!==r&&(n=s.div.neg()),{div:n,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),r),"div"!==r&&(a=s.mod.neg(),t&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===r?{div:this.divn(e.words[0]),mod:null}:"mod"===r?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,r);var n,a,s},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var r=this.divmod(e);if(r.mod.isZero())return r.div;var t=0!==r.div.negative?r.mod.isub(e):r.mod,o=e.ushrn(1),n=e.andln(1),i=t.cmp(o);return i<0||1===n&&0===i?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},i.prototype.modn=function(e){o(e<=67108863);for(var r=(1<<26)%e,t=0,n=this.length-1;n>=0;n--)t=(r*t+(0|this.words[n]))%e;return t},i.prototype.idivn=function(e){o(e<=67108863);for(var r=0,t=this.length-1;t>=0;t--){var n=(0|this.words[t])+67108864*r;this.words[t]=n/e|0,r=n%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){o(0===e.negative),o(!e.isZero());var r=this,t=e.clone();r=0!==r.negative?r.umod(e):r.clone();for(var n=new i(1),a=new i(0),s=new i(0),u=new i(1),l=0;r.isEven()&&t.isEven();)r.iushrn(1),t.iushrn(1),++l;for(var h=t.clone(),c=r.clone();!r.isZero();){for(var f=0,d=1;0==(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)(n.isOdd()||a.isOdd())&&(n.iadd(h),a.isub(c)),n.iushrn(1),a.iushrn(1);for(var p=0,g=1;0==(t.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(t.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(h),u.isub(c)),s.iushrn(1),u.iushrn(1);r.cmp(t)>=0?(r.isub(t),n.isub(s),a.isub(u)):(t.isub(r),s.isub(n),u.isub(a))}return{a:s,b:u,gcd:t.iushln(l)}},i.prototype._invmp=function(e){o(0===e.negative),o(!e.isZero());var r=this,t=e.clone();r=0!==r.negative?r.umod(e):r.clone();for(var n,a=new i(1),s=new i(0),u=t.clone();r.cmpn(1)>0&&t.cmpn(1)>0;){for(var l=0,h=1;0==(r.words[0]&h)&&l<26;++l,h<<=1);if(l>0)for(r.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var c=0,f=1;0==(t.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(t.iushrn(c);c-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);r.cmp(t)>=0?(r.isub(t),a.isub(s)):(t.isub(r),s.isub(a))}return(n=0===r.cmpn(1)?a:s).cmpn(0)<0&&n.iadd(e),n},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var r=this.clone(),t=e.clone();r.negative=0,t.negative=0;for(var o=0;r.isEven()&&t.isEven();o++)r.iushrn(1),t.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;t.isEven();)t.iushrn(1);var n=r.cmp(t);if(n<0){var i=r;r=t,t=i}else if(0===n||0===t.cmpn(1))break;r.isub(t)}return t.iushln(o)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){o("number"==typeof e);var r=e%26,t=(e-r)/26,n=1<<r;if(this.length<=t)return this._expand(t+1),this.words[t]|=n,this;for(var i=n,a=t;0!==i&&a<this.length;a++){var s=0|this.words[a];i=(s+=i)>>>26,s&=67108863,this.words[a]=s}return 0!==i&&(this.words[a]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var r,t=e<0;if(0!==this.negative&&!t)return-1;if(0===this.negative&&t)return 1;if(this.strip(),this.length>1)r=1;else{t&&(e=-e),o(e<=67108863,"Number is too big");var n=0|this.words[0];r=n===e?0:n<e?-1:1}return 0!==this.negative?0|-r:r},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var r=this.ucmp(e);return 0!==this.negative?0|-r:r},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var r=0,t=this.length-1;t>=0;t--){var o=0|this.words[t],n=0|e.words[t];if(o!==n){o<n?r=-1:o>n&&(r=1);break}}return r},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new T(e)},i.prototype.toRed=function(e){return o(!this.red,"Already a number in reduction context"),o(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return o(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return o(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return o(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return o(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return o(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return o(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return o(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return o(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return o(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return o(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return o(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return o(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return o(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function b(e,r){this.name=e,this.p=new i(r,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(e){if("string"==typeof e){var r=i._prime(e);this.m=r.p,this.prime=r}else o(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function F(e){T.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(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)}b.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var r,t=e;do{this.split(t,this.tmp),r=(t=(t=this.imulK(t)).iadd(this.tmp)).bitLength()}while(r>this.n);var o=r<this.n?-1:t.ucmp(this.p);return 0===o?(t.words[0]=0,t.length=1):o>0?t.isub(this.p):void 0!==t.strip?t.strip():t._strip(),t},b.prototype.split=function(e,r){e.iushrn(this.n,0,r)},b.prototype.imulK=function(e){return e.imul(this.k)},n(y,b),y.prototype.split=function(e,r){for(var t=4194303,o=Math.min(e.length,9),n=0;n<o;n++)r.words[n]=e.words[n];if(r.length=o,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(r.words[r.length++]=i&t,n=10;n<e.length;n++){var a=0|e.words[n];e.words[n-10]=(a&t)<<4|i>>>22,i=a}i>>>=22,e.words[n-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},y.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var r=0,t=0;t<e.length;t++){var o=0|e.words[t];r+=977*o,e.words[t]=67108863&r,r=64*o+(r/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(A,b),n(M,b),n(S,b),S.prototype.imulK=function(e){for(var r=0,t=0;t<e.length;t++){var o=19*(0|e.words[t])+r,n=67108863&o;o>>>=26,e.words[t]=n,r=o}return 0!==r&&(e.words[e.length++]=r),e},i._prime=function(e){if(v[e])return v[e];var r;if("k256"===e)r=new y;else if("p224"===e)r=new A;else if("p192"===e)r=new M;else{if("p25519"!==e)throw new Error("Unknown prime "+e);r=new S}return v[e]=r,r},T.prototype._verify1=function(e){o(0===e.negative,"red works only with positives"),o(e.red,"red works only with red numbers")},T.prototype._verify2=function(e,r){o(0==(e.negative|r.negative),"red works only with positives"),o(e.red&&e.red===r.red,"red works only with red numbers")},T.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},T.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},T.prototype.add=function(e,r){this._verify2(e,r);var t=e.add(r);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},T.prototype.iadd=function(e,r){this._verify2(e,r);var t=e.iadd(r);return t.cmp(this.m)>=0&&t.isub(this.m),t},T.prototype.sub=function(e,r){this._verify2(e,r);var t=e.sub(r);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},T.prototype.isub=function(e,r){this._verify2(e,r);var t=e.isub(r);return t.cmpn(0)<0&&t.iadd(this.m),t},T.prototype.shl=function(e,r){return this._verify1(e),this.imod(e.ushln(r))},T.prototype.imul=function(e,r){return this._verify2(e,r),this.imod(e.imul(r))},T.prototype.mul=function(e,r){return this._verify2(e,r),this.imod(e.mul(r))},T.prototype.isqr=function(e){return this.imul(e,e.clone())},T.prototype.sqr=function(e){return this.mul(e,e)},T.prototype.sqrt=function(e){if(e.isZero())return e.clone();var r=this.m.andln(3);if(o(r%2==1),3===r){var t=this.m.add(new i(1)).iushrn(2);return this.pow(e,t)}for(var n=this.m.subn(1),a=0;!n.isZero()&&0===n.andln(1);)a++,n.iushrn(1);o(!n.isZero());var s=new i(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new i(2*h*h).toRed(this);0!==this.pow(h,l).cmp(u);)h.redIAdd(u);for(var c=this.pow(h,n),f=this.pow(e,n.addn(1).iushrn(1)),d=this.pow(e,n),p=a;0!==d.cmp(s);){for(var g=d,m=0;0!==g.cmp(s);m++)g=g.redSqr();o(m<p);var v=this.pow(c,new i(1).iushln(p-m-1));f=f.redMul(v),c=v.redSqr(),d=d.redMul(c),p=m}return f},T.prototype.invm=function(e){var r=e._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},T.prototype.pow=function(e,r){if(r.isZero())return new i(1).toRed(this);if(0===r.cmpn(1))return e.clone();var t=new Array(16);t[0]=new i(1).toRed(this),t[1]=e;for(var o=2;o<t.length;o++)t[o]=this.mul(t[o-1],e);var n=t[0],a=0,s=0,u=r.bitLength()%26;for(0===u&&(u=26),o=r.length-1;o>=0;o--){for(var l=r.words[o],h=u-1;h>=0;h--){var c=l>>h&1;n!==t[0]&&(n=this.sqr(n)),0!==c||0!==a?(a<<=1,a|=c,(4==++s||0===o&&0===h)&&(n=this.mul(n,t[a]),s=0,a=0)):s=0}u=26}return n},T.prototype.convertTo=function(e){var r=e.umod(this.m);return r===e?r.clone():r},T.prototype.convertFrom=function(e){var r=e.clone();return r.red=null,r},i.mont=function(e){return new F(e)},n(F,T),F.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},F.prototype.convertFrom=function(e){var r=this.imod(e.mul(this.rinv));return r.red=null,r},F.prototype.imul=function(e,r){if(e.isZero()||r.isZero())return e.words[0]=0,e.length=1,e;var t=e.imul(r),o=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=t.isub(o).iushrn(this.shift),i=n;return n.cmp(this.m)>=0?i=n.isub(this.m):n.cmpn(0)<0&&(i=n.iadd(this.m)),i._forceRed(this)},F.prototype.mul=function(e,r){if(e.isZero()||r.isZero())return new i(0)._forceRed(this);var t=e.mul(r),o=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=t.isub(o).iushrn(this.shift),a=n;return n.cmp(this.m)>=0?a=n.isub(this.m):n.cmpn(0)<0&&(a=n.iadd(this.m)),a._forceRed(this)},F.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=t.nmd(e),this)},313:e=>{var r=function(){"use strict";function e(r,o,n,i){"object"==typeof o&&(n=o.depth,i=o.prototype,o.filter,o=o.circular);var a=[],s=[],u="undefined"!=typeof Buffer;return void 0===o&&(o=!0),void 0===n&&(n=1/0),function r(n,l){if(null===n)return null;if(0==l)return n;var h,c;if("object"!=typeof n)return n;if(e.__isArray(n))h=[];else if(e.__isRegExp(n))h=new RegExp(n.source,t(n)),n.lastIndex&&(h.lastIndex=n.lastIndex);else if(e.__isDate(n))h=new Date(n.getTime());else{if(u&&Buffer.isBuffer(n))return h=Buffer.allocUnsafe?Buffer.allocUnsafe(n.length):new Buffer(n.length),n.copy(h),h;void 0===i?(c=Object.getPrototypeOf(n),h=Object.create(c)):(h=Object.create(i),c=i)}if(o){var f=a.indexOf(n);if(-1!=f)return s[f];a.push(n),s.push(h)}for(var d in n){var p;c&&(p=Object.getOwnPropertyDescriptor(c,d)),p&&null==p.set||(h[d]=r(n[d],l-1))}return h}(r,n)}function r(e){return Object.prototype.toString.call(e)}function t(e){var r="";return e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),r}return e.clonePrototype=function(e){if(null===e)return null;var r=function(){};return r.prototype=e,new r},e.__objToStr=r,e.__isDate=function(e){return"object"==typeof e&&"[object Date]"===r(e)},e.__isArray=function(e){return"object"==typeof e&&"[object Array]"===r(e)},e.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===r(e)},e.__getRegExpFlags=t,e}();e.exports&&(e.exports=r)},168:(e,r,t)=>{var o=t(92),n={};for(var i in o)o.hasOwnProperty(i)&&(n[o[i]]=i);var a=e.exports={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"]}};for(var s in a)if(a.hasOwnProperty(s)){if(!("channels"in a[s]))throw new Error("missing channels property: "+s);if(!("labels"in a[s]))throw new Error("missing channel labels property: "+s);if(a[s].labels.length!==a[s].channels)throw new Error("channel and label counts mismatch: "+s);var u=a[s].channels,l=a[s].labels;delete a[s].channels,delete a[s].labels,Object.defineProperty(a[s],"channels",{value:u}),Object.defineProperty(a[s],"labels",{value:l})}a.rgb.hsl=function(e){var r,t,o=e[0]/255,n=e[1]/255,i=e[2]/255,a=Math.min(o,n,i),s=Math.max(o,n,i),u=s-a;return s===a?r=0:o===s?r=(n-i)/u:n===s?r=2+(i-o)/u:i===s&&(r=4+(o-n)/u),(r=Math.min(60*r,360))<0&&(r+=360),t=(a+s)/2,[r,100*(s===a?0:t<=.5?u/(s+a):u/(2-s-a)),100*t]},a.rgb.hsv=function(e){var r,t,o,n,i,a=e[0]/255,s=e[1]/255,u=e[2]/255,l=Math.max(a,s,u),h=l-Math.min(a,s,u),c=function(e){return(l-e)/6/h+.5};return 0===h?n=i=0:(i=h/l,r=c(a),t=c(s),o=c(u),a===l?n=o-t:s===l?n=1/3+r-o:u===l&&(n=2/3+t-r),n<0?n+=1:n>1&&(n-=1)),[360*n,100*i,100*l]},a.rgb.hwb=function(e){var r=e[0],t=e[1],o=e[2];return[a.rgb.hsl(e)[0],1/255*Math.min(r,Math.min(t,o))*100,100*(o=1-1/255*Math.max(r,Math.max(t,o)))]},a.rgb.cmyk=function(e){var r,t=e[0]/255,o=e[1]/255,n=e[2]/255;return[100*((1-t-(r=Math.min(1-t,1-o,1-n)))/(1-r)||0),100*((1-o-r)/(1-r)||0),100*((1-n-r)/(1-r)||0),100*r]},a.rgb.keyword=function(e){var r=n[e];if(r)return r;var t,i,a,s=1/0;for(var u in o)if(o.hasOwnProperty(u)){var l=(i=e,a=o[u],Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)+Math.pow(i[2]-a[2],2));l<s&&(s=l,t=u)}return t},a.keyword.rgb=function(e){return o[e]},a.rgb.xyz=function(e){var r=e[0]/255,t=e[1]/255,o=e[2]/255;return[100*(.4124*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.3576*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.1805*(o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92)),100*(.2126*r+.7152*t+.0722*o),100*(.0193*r+.1192*t+.9505*o)]},a.rgb.lab=function(e){var r=a.rgb.xyz(e),t=r[0],o=r[1],n=r[2];return o/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(t-o),200*(o-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},a.hsl.rgb=function(e){var r,t,o,n,i,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0===s)return[i=255*u,i,i];r=2*u-(t=u<.5?u*(1+s):u+s-u*s),n=[0,0,0];for(var l=0;l<3;l++)(o=a+1/3*-(l-1))<0&&o++,o>1&&o--,i=6*o<1?r+6*(t-r)*o:2*o<1?t:3*o<2?r+(t-r)*(2/3-o)*6:r,n[l]=255*i;return n},a.hsl.hsv=function(e){var r=e[0],t=e[1]/100,o=e[2]/100,n=t,i=Math.max(o,.01);return t*=(o*=2)<=1?o:2-o,n*=i<=1?i:2-i,[r,100*(0===o?2*n/(i+n):2*t/(o+t)),(o+t)/2*100]},a.hsv.rgb=function(e){var r=e[0]/60,t=e[1]/100,o=e[2]/100,n=Math.floor(r)%6,i=r-Math.floor(r),a=255*o*(1-t),s=255*o*(1-t*i),u=255*o*(1-t*(1-i));switch(o*=255,n){case 0:return[o,u,a];case 1:return[s,o,a];case 2:return[a,o,u];case 3:return[a,s,o];case 4:return[u,a,o];case 5:return[o,a,s]}},a.hsv.hsl=function(e){var r,t,o,n=e[0],i=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return o=(2-i)*a,t=i*s,[n,100*(t=(t/=(r=(2-i)*s)<=1?r:2-r)||0),100*(o/=2)]},a.hwb.rgb=function(e){var r,t,o,n,i,a,s,u=e[0]/360,l=e[1]/100,h=e[2]/100,c=l+h;switch(c>1&&(l/=c,h/=c),o=6*u-(r=Math.floor(6*u)),0!=(1&r)&&(o=1-o),n=l+o*((t=1-h)-l),r){default:i=t,a=n,s=l;break;case 1:i=n,a=t,s=l;break;case 2:i=l,a=t,s=n;break;case 3:i=l,a=n,s=t;break;case 4:i=n,a=l,s=t;break;case 5:i=t,a=l,s=n}return[255*i,255*a,255*s]},a.cmyk.rgb=function(e){var r=e[0]/100,t=e[1]/100,o=e[2]/100,n=e[3]/100;return[255*(1-Math.min(1,r*(1-n)+n)),255*(1-Math.min(1,t*(1-n)+n)),255*(1-Math.min(1,o*(1-n)+n))]},a.xyz.rgb=function(e){var r,t,o,n=e[0]/100,i=e[1]/100,a=e[2]/100;return t=-.9689*n+1.8758*i+.0415*a,o=.0557*n+-.204*i+1.057*a,r=(r=3.2406*n+-1.5372*i+-.4986*a)>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:12.92*o,[255*(r=Math.min(Math.max(0,r),1)),255*(t=Math.min(Math.max(0,t),1)),255*(o=Math.min(Math.max(0,o),1))]},a.xyz.lab=function(e){var r=e[0],t=e[1],o=e[2];return t/=100,o/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(t=t>.008856?Math.pow(t,1/3):7.787*t+16/116)-16,500*(r-t),200*(t-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},a.lab.xyz=function(e){var r,t,o,n=e[0];r=e[1]/500+(t=(n+16)/116),o=t-e[2]/200;var i=Math.pow(t,3),a=Math.pow(r,3),s=Math.pow(o,3);return t=i>.008856?i:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,[r*=95.047,t*=100,o*=108.883]},a.lab.lch=function(e){var r,t=e[0],o=e[1],n=e[2];return(r=360*Math.atan2(n,o)/2/Math.PI)<0&&(r+=360),[t,Math.sqrt(o*o+n*n),r]},a.lch.lab=function(e){var r,t=e[0],o=e[1];return r=e[2]/360*2*Math.PI,[t,o*Math.cos(r),o*Math.sin(r)]},a.rgb.ansi16=function(e){var r=e[0],t=e[1],o=e[2],n=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(n=Math.round(n/50)))return 30;var i=30+(Math.round(o/255)<<2|Math.round(t/255)<<1|Math.round(r/255));return 2===n&&(i+=60),i},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var r=e[0],t=e[1],o=e[2];return r===t&&t===o?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(t/255*5)+Math.round(o/255*5)},a.ansi16.rgb=function(e){var r=e%10;if(0===r||7===r)return e>50&&(r+=3.5),[r=r/10.5*255,r,r];var t=.5*(1+~~(e>50));return[(1&r)*t*255,(r>>1&1)*t*255,(r>>2&1)*t*255]},a.ansi256.rgb=function(e){if(e>=232){var r=10*(e-232)+8;return[r,r,r]}var t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},a.rgb.hex=function(e){var r=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(r.length)+r},a.hex.rgb=function(e){var r=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r)return[0,0,0];var t=r[0];3===r[0].length&&(t=t.split("").map((function(e){return e+e})).join(""));var o=parseInt(t,16);return[o>>16&255,o>>8&255,255&o]},a.rgb.hcg=function(e){var r,t=e[0]/255,o=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,o),n),a=Math.min(Math.min(t,o),n),s=i-a;return r=s<=0?0:i===t?(o-n)/s%6:i===o?2+(n-t)/s:4+(t-o)/s+4,r/=6,[360*(r%=1),100*s,100*(s<1?a/(1-s):0)]},a.hsl.hcg=function(e){var r,t=e[1]/100,o=e[2]/100,n=0;return(r=o<.5?2*t*o:2*t*(1-o))<1&&(n=(o-.5*r)/(1-r)),[e[0],100*r,100*n]},a.hsv.hcg=function(e){var r=e[1]/100,t=e[2]/100,o=r*t,n=0;return o<1&&(n=(t-o)/(1-o)),[e[0],100*o,100*n]},a.hcg.rgb=function(e){var r=e[0]/360,t=e[1]/100,o=e[2]/100;if(0===t)return[255*o,255*o,255*o];var n,i=[0,0,0],a=r%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=u,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=u,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=u}return n=(1-t)*o,[255*(t*i[0]+n),255*(t*i[1]+n),255*(t*i[2]+n)]},a.hcg.hsv=function(e){var r=e[1]/100,t=r+e[2]/100*(1-r),o=0;return t>0&&(o=r/t),[e[0],100*o,100*t]},a.hcg.hsl=function(e){var r=e[1]/100,t=e[2]/100*(1-r)+.5*r,o=0;return t>0&&t<.5?o=r/(2*t):t>=.5&&t<1&&(o=r/(2*(1-t))),[e[0],100*o,100*t]},a.hcg.hwb=function(e){var r=e[1]/100,t=r+e[2]/100*(1-r);return[e[0],100*(t-r),100*(1-t)]},a.hwb.hcg=function(e){var r=e[1]/100,t=1-e[2]/100,o=t-r,n=0;return o<1&&(n=(t-o)/(1-o)),[e[0],100*o,100*n]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var r=255&Math.round(e[0]/100*255),t=((r<<16)+(r<<8)+r).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},85:(e,r,t)=>{var o=t(168),n=t(111),i={};Object.keys(o).forEach((function(e){i[e]={},Object.defineProperty(i[e],"channels",{value:o[e].channels}),Object.defineProperty(i[e],"labels",{value:o[e].labels});var r=n(e);Object.keys(r).forEach((function(t){var o=r[t];i[e][t]=function(e){var r=function(r){if(null==r)return r;arguments.length>1&&(r=Array.prototype.slice.call(arguments));var t=e(r);if("object"==typeof t)for(var o=t.length,n=0;n<o;n++)t[n]=Math.round(t[n]);return t};return"conversion"in e&&(r.conversion=e.conversion),r}(o),i[e][t].raw=function(e){var r=function(r){return null==r?r:(arguments.length>1&&(r=Array.prototype.slice.call(arguments)),e(r))};return"conversion"in e&&(r.conversion=e.conversion),r}(o)}))})),e.exports=i},92:e=>{"use strict";e.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]}},111:(e,r,t)=>{var o=t(168);function n(e,r){return function(t){return r(e(t))}}function i(e,r){for(var t=[r[e].parent,e],i=o[r[e].parent][e],a=r[e].parent;r[a].parent;)t.unshift(r[a].parent),i=n(o[r[a].parent][a],i),a=r[a].parent;return i.conversion=t,i}e.exports=function(e){for(var r=function(e){var r=function(){for(var e={},r=Object.keys(o),t=r.length,n=0;n<t;n++)e[r[n]]={distance:-1,parent:null};return e}(),t=[e];for(r[e].distance=0;t.length;)for(var n=t.pop(),i=Object.keys(o[n]),a=i.length,s=0;s<a;s++){var u=i[s],l=r[u];-1===l.distance&&(l.distance=r[n].distance+1,l.parent=n,t.unshift(u))}return r}(e),t={},n=Object.keys(r),a=n.length,s=0;s<a;s++){var u=n[s];null!==r[u].parent&&(t[u]=i(u,r))}return t}},874:e=>{"use strict";e.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]}},375:(e,r,t)=>{var o=t(874);function n(e){if(e){var r=[0,0,0],t=1,n=e.match(/^#([a-fA-F0-9]{3})$/);if(n){n=n[1];for(var i=0;i<r.length;i++)r[i]=parseInt(n[i]+n[i],16)}else if(n=e.match(/^#([a-fA-F0-9]{6})$/))for(n=n[1],i=0;i<r.length;i++)r[i]=parseInt(n.slice(2*i,2*i+2),16);else if(n=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(i=0;i<r.length;i++)r[i]=parseInt(n[i+1]);t=parseFloat(n[4])}else if(n=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(i=0;i<r.length;i++)r[i]=Math.round(2.55*parseFloat(n[i+1]));t=parseFloat(n[4])}else if(n=e.match(/(\D+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(r=o[n[1]]))return}for(i=0;i<r.length;i++)r[i]=h(r[i],0,255);return t=t||0==t?h(t,0,1):1,r[3]=t,r}}function i(e){if(e){var r=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(r){var t=parseFloat(r[4]);return[h(parseInt(r[1]),0,360),h(parseFloat(r[2]),0,100),h(parseFloat(r[3]),0,100),h(isNaN(t)?1:t,0,1)]}}}function a(e){if(e){var r=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(r){var t=parseFloat(r[4]);return[h(parseInt(r[1]),0,360),h(parseFloat(r[2]),0,100),h(parseFloat(r[3]),0,100),h(isNaN(t)?1:t,0,1)]}}}function s(e,r){return void 0===r&&(r=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+r+")"}function u(e,r){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(r||e[3]||1)+")"}function l(e,r){return void 0===r&&(r=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+r+")"}function h(e,r,t){return Math.min(Math.max(r,e),t)}function c(e){var r=e.toString(16).toUpperCase();return r.length<2?"0"+r:r}e.exports={getRgba:n,getHsla:i,getRgb:function(e){var r=n(e);return r&&r.slice(0,3)},getHsl:function(e){var r=i(e);return r&&r.slice(0,3)},getHwb:a,getAlpha:function(e){var r=n(e);return r||(r=i(e))||(r=a(e))?r[3]:void 0},hexString:function(e){return"#"+c(e[0])+c(e[1])+c(e[2])},rgbString:function(e,r){return r<1||e[3]&&e[3]<1?s(e,r):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:s,percentString:function(e,r){return r<1||e[3]&&e[3]<1?u(e,r):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"},percentaString:u,hslString:function(e,r){return r<1||e[3]&&e[3]<1?l(e,r):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:l,hwbString:function(e,r){return void 0===r&&(r=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==r&&1!==r?", "+r:"")+")"},keyword:function(e){return f[e.slice(0,3)]}};var f={};for(var d in o)f[o[d]]=d},767:(e,r,t)=>{var o=t(313),n=t(85),i=t(375),a=function(e){if(e instanceof a)return e;if(!(this instanceof a))return new a(e);var r;if(this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},"string"==typeof e)if(r=i.getRgba(e))this.setValues("rgb",r);else if(r=i.getHsla(e))this.setValues("hsl",r);else{if(!(r=i.getHwb(e)))throw new Error('Unable to parse color from string "'+e+'"');this.setValues("hwb",r)}else if("object"==typeof e)if(void 0!==(r=e).r||void 0!==r.red)this.setValues("rgb",r);else if(void 0!==r.l||void 0!==r.lightness)this.setValues("hsl",r);else if(void 0!==r.v||void 0!==r.value)this.setValues("hsv",r);else if(void 0!==r.w||void 0!==r.whiteness)this.setValues("hwb",r);else{if(void 0===r.c&&void 0===r.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(e));this.setValues("cmyk",r)}};a.prototype={rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){return 1!==this.values.alpha?this.values.hwb.concat([this.values.alpha]):this.values.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){return this.values.rgb.concat([this.values.alpha])},rgbaArrayNormalized:function(){for(var e=this.values.rgb,r=[],t=0;t<3;t++)r[t]=e[t]/255;return r.push(this.values.alpha),r},hslaArray:function(){return this.values.hsl.concat([this.values.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){return this.values.rgb[0]<<16|this.values.rgb[1]<<8|this.values.rgb[2]},luminosity:function(){for(var e=this.values.rgb,r=[],t=0;t<e.length;t++){var o=e[t]/255;r[t]=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4)}return.2126*r[0]+.7152*r[1]+.0722*r[2]},contrast:function(e){var r=this.luminosity(),t=e.luminosity();return r>t?(r+.05)/(t+.05):(t+.05)/(r+.05)},level:function(e){var r=this.contrast(e);return r>=7.1?"AAA":r>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],r=0;r<3;r++)e[r]=255-this.values.rgb[r];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,r=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[r,r,r]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var r=this.values.hsl[0];return r=(r=(r+e)%360)<0?360+r:r,this.values.hsl[0]=r,this.setValues("hsl",this.values.hsl),this},mix:function(e,r){var t=this,o=e,n=void 0===r?.5:r,i=2*n-1,a=t.alpha()-o.alpha(),s=((i*a==-1?i:(i+a)/(1+i*a))+1)/2,u=1-s;return this.rgb(s*t.red()+u*o.red(),s*t.green()+u*o.green(),s*t.blue()+u*o.blue()).alpha(t.alpha()*n+o.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var e=new a;return e.values=o(this.values),e}},a.prototype.getValues=function(e){for(var r={},t=0;t<e.length;t++)r[e.charAt(t)]=this.values[e][t];return 1!==this.values.alpha&&(r.a=this.values.alpha),r},a.prototype.setValues=function(e,r){var t,o,i={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},a={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},s=1;if("alpha"===e)s=r;else if(r.length)this.values[e]=r.slice(0,e.length),s=r[e.length];else if(void 0!==r[e.charAt(0)]){for(t=0;t<e.length;t++)this.values[e][t]=r[e.charAt(t)];s=r.a}else if(void 0!==r[i[e][0]]){var u=i[e];for(t=0;t<e.length;t++)this.values[e][t]=r[u[t]];s=r.alpha}if(this.values.alpha=Math.max(0,Math.min(1,void 0===s?this.values.alpha:s)),"alpha"===e)return!1;for(t=0;t<e.length;t++)o=Math.max(0,Math.min(a[e][t],this.values[e][t])),this.values[e][t]=Math.round(o);for(var l in i)for(l!==e&&(this.values[l]=n[e][l](this.values[e])),t=0;t<l.length;t++)o=Math.max(0,Math.min(a[l][t],this.values[l][t])),this.values[l][t]=Math.round(o);return!0},a.prototype.setSpace=function(e,r){var t=r[0];return void 0===t?this.getValues(e):("number"==typeof t&&(t=Array.prototype.slice.call(r)),this.setValues(e,t),this)},a.prototype.setChannel=function(e,r,t){return void 0===t?this.values[e][r]:(t===this.values[e][r]||(this.values[e][r]=t,this.setValues(e,this.values[e])),this)},e.exports=a},715:(e,r,t)=>{var o=r;o.utils=t(436),o.common=t(772),o.sha=t(41),o.ripemd=t(949),o.hmac=t(326),o.sha1=o.sha.sha1,o.sha256=o.sha.sha256,o.sha224=o.sha.sha224,o.sha384=o.sha.sha384,o.sha512=o.sha.sha512,o.ripemd160=o.ripemd.ripemd160},772:(e,r,t)=>{"use strict";var o=t(436),n=t(746);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}r.BlockHash=i,i.prototype.update=function(e,r){if(e=o.toArray(e,r),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var t=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-t,e.length),0===this.pending.length&&(this.pending=null),e=o.join32(e,0,e.length-t,this.endian);for(var n=0;n<e.length;n+=this._delta32)this._update(e,n,n+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),n(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,r=this._delta8,t=r-(e+this.padLength)%r,o=new Array(t+this.padLength);o[0]=128;for(var n=1;n<t;n++)o[n]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)o[n++]=0;o[n++]=0,o[n++]=0,o[n++]=0,o[n++]=0,o[n++]=e>>>24&255,o[n++]=e>>>16&255,o[n++]=e>>>8&255,o[n++]=255&e}else for(o[n++]=255&e,o[n++]=e>>>8&255,o[n++]=e>>>16&255,o[n++]=e>>>24&255,o[n++]=0,o[n++]=0,o[n++]=0,o[n++]=0,i=8;i<this.padLength;i++)o[n++]=0;return o}},326:(e,r,t)=>{"use strict";var o=t(436),n=t(746);function i(e,r,t){if(!(this instanceof i))return new i(e,r,t);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(o.toArray(r,t))}e.exports=i,i.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),n(e.length<=this.blockSize);for(var r=e.length;r<this.blockSize;r++)e.push(0);for(r=0;r<e.length;r++)e[r]^=54;for(this.inner=(new this.Hash).update(e),r=0;r<e.length;r++)e[r]^=106;this.outer=(new this.Hash).update(e)},i.prototype.update=function(e,r){return this.inner.update(e,r),this},i.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},949:(e,r,t)=>{"use strict";var o=t(436),n=t(772),i=o.rotl32,a=o.sum32,s=o.sum32_3,u=o.sum32_4,l=n.BlockHash;function h(){if(!(this instanceof h))return new h;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function c(e,r,t,o){return e<=15?r^t^o:e<=31?r&t|~r&o:e<=47?(r|~t)^o:e<=63?r&o|t&~o:r^(t|~o)}function f(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function d(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}o.inherits(h,l),r.ripemd160=h,h.blockSize=512,h.outSize=160,h.hmacStrength=192,h.padLength=64,h.prototype._update=function(e,r){for(var t=this.h[0],o=this.h[1],n=this.h[2],l=this.h[3],h=this.h[4],b=t,y=o,A=n,M=l,S=h,T=0;T<80;T++){var F=a(i(u(t,c(T,o,n,l),e[p[T]+r],f(T)),m[T]),h);t=h,h=l,l=i(n,10),n=o,o=F,F=a(i(u(b,c(79-T,y,A,M),e[g[T]+r],d(T)),v[T]),S),b=S,S=M,M=i(A,10),A=y,y=F}F=s(this.h[1],n,M),this.h[1]=s(this.h[2],l,S),this.h[2]=s(this.h[3],h,b),this.h[3]=s(this.h[4],t,y),this.h[4]=s(this.h[0],o,A),this.h[0]=F},h.prototype._digest=function(e){return"hex"===e?o.toHex32(this.h,"little"):o.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],g=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},41:(e,r,t)=>{"use strict";r.sha1=t(761),r.sha224=t(799),r.sha256=t(344),r.sha384=t(978),r.sha512=t(900)},761:(e,r,t)=>{"use strict";var o=t(436),n=t(772),i=t(38),a=o.rotl32,s=o.sum32,u=o.sum32_5,l=i.ft_1,h=n.BlockHash,c=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}o.inherits(f,h),e.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,r){for(var t=this.W,o=0;o<16;o++)t[o]=e[r+o];for(;o<t.length;o++)t[o]=a(t[o-3]^t[o-8]^t[o-14]^t[o-16],1);var n=this.h[0],i=this.h[1],h=this.h[2],f=this.h[3],d=this.h[4];for(o=0;o<t.length;o++){var p=~~(o/20),g=u(a(n,5),l(p,i,h,f),d,t[o],c[p]);d=f,f=h,h=a(i,30),i=n,n=g}this.h[0]=s(this.h[0],n),this.h[1]=s(this.h[1],i),this.h[2]=s(this.h[2],h),this.h[3]=s(this.h[3],f),this.h[4]=s(this.h[4],d)},f.prototype._digest=function(e){return"hex"===e?o.toHex32(this.h,"big"):o.split32(this.h,"big")}},799:(e,r,t)=>{"use strict";var o=t(436),n=t(344);function i(){if(!(this instanceof i))return new i;n.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}o.inherits(i,n),e.exports=i,i.blockSize=512,i.outSize=224,i.hmacStrength=192,i.padLength=64,i.prototype._digest=function(e){return"hex"===e?o.toHex32(this.h.slice(0,7),"big"):o.split32(this.h.slice(0,7),"big")}},344:(e,r,t)=>{"use strict";var o=t(436),n=t(772),i=t(38),a=t(746),s=o.sum32,u=o.sum32_4,l=o.sum32_5,h=i.ch32,c=i.maj32,f=i.s0_256,d=i.s1_256,p=i.g0_256,g=i.g1_256,m=n.BlockHash,v=[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];function b(){if(!(this instanceof b))return new b;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}o.inherits(b,m),e.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,r){for(var t=this.W,o=0;o<16;o++)t[o]=e[r+o];for(;o<t.length;o++)t[o]=u(g(t[o-2]),t[o-7],p(t[o-15]),t[o-16]);var n=this.h[0],i=this.h[1],m=this.h[2],v=this.h[3],b=this.h[4],y=this.h[5],A=this.h[6],M=this.h[7];for(a(this.k.length===t.length),o=0;o<t.length;o++){var S=l(M,d(b),h(b,y,A),this.k[o],t[o]),T=s(f(n),c(n,i,m));M=A,A=y,y=b,b=s(v,S),v=m,m=i,i=n,n=s(S,T)}this.h[0]=s(this.h[0],n),this.h[1]=s(this.h[1],i),this.h[2]=s(this.h[2],m),this.h[3]=s(this.h[3],v),this.h[4]=s(this.h[4],b),this.h[5]=s(this.h[5],y),this.h[6]=s(this.h[6],A),this.h[7]=s(this.h[7],M)},b.prototype._digest=function(e){return"hex"===e?o.toHex32(this.h,"big"):o.split32(this.h,"big")}},978:(e,r,t)=>{"use strict";var o=t(436),n=t(900);function i(){if(!(this instanceof i))return new i;n.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}o.inherits(i,n),e.exports=i,i.blockSize=1024,i.outSize=384,i.hmacStrength=192,i.padLength=128,i.prototype._digest=function(e){return"hex"===e?o.toHex32(this.h.slice(0,12),"big"):o.split32(this.h.slice(0,12),"big")}},900:(e,r,t)=>{"use strict";var o=t(436),n=t(772),i=t(746),a=o.rotr64_hi,s=o.rotr64_lo,u=o.shr64_hi,l=o.shr64_lo,h=o.sum64,c=o.sum64_hi,f=o.sum64_lo,d=o.sum64_4_hi,p=o.sum64_4_lo,g=o.sum64_5_hi,m=o.sum64_5_lo,v=n.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=new Array(160)}function A(e,r,t,o,n){var i=e&t^~e&n;return i<0&&(i+=4294967296),i}function M(e,r,t,o,n,i){var a=r&o^~r&i;return a<0&&(a+=4294967296),a}function S(e,r,t,o,n){var i=e&t^e&n^t&n;return i<0&&(i+=4294967296),i}function T(e,r,t,o,n,i){var a=r&o^r&i^o&i;return a<0&&(a+=4294967296),a}function F(e,r){var t=a(e,r,28)^a(r,e,2)^a(r,e,7);return t<0&&(t+=4294967296),t}function J(e,r){var t=s(e,r,28)^s(r,e,2)^s(r,e,7);return t<0&&(t+=4294967296),t}function C(e,r){var t=s(e,r,14)^s(e,r,18)^s(r,e,9);return t<0&&(t+=4294967296),t}function L(e,r){var t=a(e,r,1)^a(e,r,8)^u(e,r,7);return t<0&&(t+=4294967296),t}function w(e,r){var t=s(e,r,1)^s(e,r,8)^l(e,r,7);return t<0&&(t+=4294967296),t}function P(e,r){var t=s(e,r,19)^s(r,e,29)^l(e,r,6);return t<0&&(t+=4294967296),t}o.inherits(y,v),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,r){for(var t=this.W,o=0;o<32;o++)t[o]=e[r+o];for(;o<t.length;o+=2){var n=(m=t[o-4],v=t[o-3],b=void 0,(b=a(m,v,19)^a(v,m,29)^u(m,v,6))<0&&(b+=4294967296),b),i=P(t[o-4],t[o-3]),s=t[o-14],l=t[o-13],h=L(t[o-30],t[o-29]),c=w(t[o-30],t[o-29]),f=t[o-32],g=t[o-31];t[o]=d(n,i,s,l,h,c,f,g),t[o+1]=p(n,i,s,l,h,c,f,g)}var m,v,b},y.prototype._update=function(e,r){this._prepareBlock(e,r);var t,o,n,s=this.W,u=this.h[0],l=this.h[1],d=this.h[2],p=this.h[3],v=this.h[4],b=this.h[5],y=this.h[6],L=this.h[7],w=this.h[8],P=this.h[9],E=this.h[10],B=this.h[11],k=this.h[12],D=this.h[13],R=this.h[14],O=this.h[15];i(this.k.length===s.length);for(var X=0;X<s.length;X+=2){var N=R,I=O,H=(n=void 0,(n=a(t=w,o=P,14)^a(t,o,18)^a(o,t,9))<0&&(n+=4294967296),n),G=C(w,P),x=A(w,0,E,0,k),U=M(0,P,0,B,0,D),V=this.k[X],z=this.k[X+1],Z=s[X],_=s[X+1],K=g(N,I,H,G,x,U,V,z,Z,_),j=m(N,I,H,G,x,U,V,z,Z,_);N=F(u,l),I=J(u,l),H=S(u,0,d,0,v),G=T(0,l,0,p,0,b);var Q=c(N,I,H,G),q=f(N,I,H,G);R=k,O=D,k=E,D=B,E=w,B=P,w=c(y,L,K,j),P=f(L,L,K,j),y=v,L=b,v=d,b=p,d=u,p=l,u=c(K,j,Q,q),l=f(K,j,Q,q)}h(this.h,0,u,l),h(this.h,2,d,p),h(this.h,4,v,b),h(this.h,6,y,L),h(this.h,8,w,P),h(this.h,10,E,B),h(this.h,12,k,D),h(this.h,14,R,O)},y.prototype._digest=function(e){return"hex"===e?o.toHex32(this.h,"big"):o.split32(this.h,"big")}},38:(e,r,t)=>{"use strict";var o=t(436).rotr32;function n(e,r,t){return e&r^~e&t}function i(e,r,t){return e&r^e&t^r&t}function a(e,r,t){return e^r^t}r.ft_1=function(e,r,t,o){return 0===e?n(r,t,o):1===e||3===e?a(r,t,o):2===e?i(r,t,o):void 0},r.ch32=n,r.maj32=i,r.p32=a,r.s0_256=function(e){return o(e,2)^o(e,13)^o(e,22)},r.s1_256=function(e){return o(e,6)^o(e,11)^o(e,25)},r.g0_256=function(e){return o(e,7)^o(e,18)^e>>>3},r.g1_256=function(e){return o(e,17)^o(e,19)^e>>>10}},436:(e,r,t)=>{"use strict";var o=t(746),n=t(717);function i(e,r){return 55296==(64512&e.charCodeAt(r))&&!(r<0||r+1>=e.length)&&56320==(64512&e.charCodeAt(r+1))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function u(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}r.inherits=n,r.toArray=function(e,r){if(Array.isArray(e))return e.slice();if(!e)return[];var t=[];if("string"==typeof e)if(r){if("hex"===r)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)t.push(parseInt(e[n]+e[n+1],16))}else for(var o=0,n=0;n<e.length;n++){var a=e.charCodeAt(n);a<128?t[o++]=a:a<2048?(t[o++]=a>>6|192,t[o++]=63&a|128):i(e,n)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++n)),t[o++]=a>>18|240,t[o++]=a>>12&63|128,t[o++]=a>>6&63|128,t[o++]=63&a|128):(t[o++]=a>>12|224,t[o++]=a>>6&63|128,t[o++]=63&a|128)}else for(n=0;n<e.length;n++)t[n]=0|e[n];return t},r.toHex=function(e){for(var r="",t=0;t<e.length;t++)r+=s(e[t].toString(16));return r},r.htonl=a,r.toHex32=function(e,r){for(var t="",o=0;o<e.length;o++){var n=e[o];"little"===r&&(n=a(n)),t+=u(n.toString(16))}return t},r.zero2=s,r.zero8=u,r.join32=function(e,r,t,n){var i=t-r;o(i%4==0);for(var a=new Array(i/4),s=0,u=r;s<a.length;s++,u+=4){var l;l="big"===n?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u],a[s]=l>>>0}return a},r.split32=function(e,r){for(var t=new Array(4*e.length),o=0,n=0;o<e.length;o++,n+=4){var i=e[o];"big"===r?(t[n]=i>>>24,t[n+1]=i>>>16&255,t[n+2]=i>>>8&255,t[n+3]=255&i):(t[n+3]=i>>>24,t[n+2]=i>>>16&255,t[n+1]=i>>>8&255,t[n]=255&i)}return t},r.rotr32=function(e,r){return e>>>r|e<<32-r},r.rotl32=function(e,r){return e<<r|e>>>32-r},r.sum32=function(e,r){return e+r>>>0},r.sum32_3=function(e,r,t){return e+r+t>>>0},r.sum32_4=function(e,r,t,o){return e+r+t+o>>>0},r.sum32_5=function(e,r,t,o,n){return e+r+t+o+n>>>0},r.sum64=function(e,r,t,o){var n=e[r],i=o+e[r+1]>>>0,a=(i<o?1:0)+t+n;e[r]=a>>>0,e[r+1]=i},r.sum64_hi=function(e,r,t,o){return(r+o>>>0<r?1:0)+e+t>>>0},r.sum64_lo=function(e,r,t,o){return r+o>>>0},r.sum64_4_hi=function(e,r,t,o,n,i,a,s){var u=0,l=r;return u+=(l=l+o>>>0)<r?1:0,u+=(l=l+i>>>0)<i?1:0,e+t+n+a+(u+=(l=l+s>>>0)<s?1:0)>>>0},r.sum64_4_lo=function(e,r,t,o,n,i,a,s){return r+o+i+s>>>0},r.sum64_5_hi=function(e,r,t,o,n,i,a,s,u,l){var h=0,c=r;return h+=(c=c+o>>>0)<r?1:0,h+=(c=c+i>>>0)<i?1:0,h+=(c=c+s>>>0)<s?1:0,e+t+n+a+u+(h+=(c=c+l>>>0)<l?1:0)>>>0},r.sum64_5_lo=function(e,r,t,o,n,i,a,s,u,l){return r+o+i+s+l>>>0},r.rotr64_hi=function(e,r,t){return(r<<32-t|e>>>t)>>>0},r.rotr64_lo=function(e,r,t){return(e<<32-t|r>>>t)>>>0},r.shr64_hi=function(e,r,t){return e>>>t},r.shr64_lo=function(e,r,t){return(e<<32-t|r>>>t)>>>0}},717:e=>{"function"==typeof Object.create?e.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,r){if(r){e.super_=r;var t=function(){};t.prototype=r.prototype,e.prototype=new t,e.prototype.constructor=e}}},94:(e,r,t)=>{var o=t(155);!function(){"use strict";var r="object"==typeof window?window:{};!r.JS_SHA3_NO_NODE_JS&&"object"==typeof o&&o.versions&&o.versions.node&&(r=t.g);for(var n=!r.JS_SHA3_NO_COMMON_JS&&e.exports,i="0123456789abcdef".split(""),a=[0,8,16,24],s=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],u=[224,256,384,512],l=["hex","buffer","arrayBuffer","array"],h=function(e,r,t){return function(o){return new M(e,r,e).update(o)[t]()}},c=function(e,r,t){return function(o,n){return new M(e,r,n).update(o)[t]()}},f=function(e,r){var t=h(e,r,"hex");t.create=function(){return new M(e,r,e)},t.update=function(e){return t.create().update(e)};for(var o=0;o<l.length;++o){var n=l[o];t[n]=h(e,r,n)}return t},d=[{name:"keccak",padding:[1,256,65536,16777216],bits:u,createMethod:f},{name:"sha3",padding:[6,1536,393216,100663296],bits:u,createMethod:f},{name:"shake",padding:[31,7936,2031616,520093696],bits:[128,256],createMethod:function(e,r){var t=c(e,r,"hex");t.create=function(t){return new M(e,r,t)},t.update=function(e,r){return t.create(r).update(e)};for(var o=0;o<l.length;++o){var n=l[o];t[n]=c(e,r,n)}return t}}],p={},g=[],m=0;m<d.length;++m)for(var v=d[m],b=v.bits,y=0;y<b.length;++y){var A=v.name+"_"+b[y];g.push(A),p[A]=v.createMethod(b[y],v.padding)}function M(e,r,t){this.blocks=[],this.s=[],this.padding=r,this.outputBits=t,this.reset=!0,this.block=0,this.start=0,this.blockCount=1600-(e<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=t>>5,this.extraBytes=(31&t)>>3;for(var o=0;o<50;++o)this.s[o]=0}M.prototype.update=function(e){var r="string"!=typeof e;r&&e.constructor===ArrayBuffer&&(e=new Uint8Array(e));for(var t,o,n=e.length,i=this.blocks,s=this.byteCount,u=this.blockCount,l=0,h=this.s;l<n;){if(this.reset)for(this.reset=!1,i[0]=this.block,t=1;t<u+1;++t)i[t]=0;if(r)for(t=this.start;l<n&&t<s;++l)i[t>>2]|=e[l]<<a[3&t++];else for(t=this.start;l<n&&t<s;++l)(o=e.charCodeAt(l))<128?i[t>>2]|=o<<a[3&t++]:o<2048?(i[t>>2]|=(192|o>>6)<<a[3&t++],i[t>>2]|=(128|63&o)<<a[3&t++]):o<55296||o>=57344?(i[t>>2]|=(224|o>>12)<<a[3&t++],i[t>>2]|=(128|o>>6&63)<<a[3&t++],i[t>>2]|=(128|63&o)<<a[3&t++]):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++l)),i[t>>2]|=(240|o>>18)<<a[3&t++],i[t>>2]|=(128|o>>12&63)<<a[3&t++],i[t>>2]|=(128|o>>6&63)<<a[3&t++],i[t>>2]|=(128|63&o)<<a[3&t++]);if(this.lastByteIndex=t,t>=s){for(this.start=t-s,this.block=i[u],t=0;t<u;++t)h[t]^=i[t];S(h),this.reset=!0}else this.start=t}return this},M.prototype.finalize=function(){var e=this.blocks,r=this.lastByteIndex,t=this.blockCount,o=this.s;if(e[r>>2]|=this.padding[3&r],this.lastByteIndex===this.byteCount)for(e[0]=e[t],r=1;r<t+1;++r)e[r]=0;for(e[t-1]|=2147483648,r=0;r<t;++r)o[r]^=e[r];S(o)},M.prototype.toString=M.prototype.hex=function(){this.finalize();for(var e,r=this.blockCount,t=this.s,o=this.outputBlocks,n=this.extraBytes,a=0,s=0,u="";s<o;){for(a=0;a<r&&s<o;++a,++s)e=t[a],u+=i[e>>4&15]+i[15&e]+i[e>>12&15]+i[e>>8&15]+i[e>>20&15]+i[e>>16&15]+i[e>>28&15]+i[e>>24&15];s%r==0&&(S(t),a=0)}return n&&(e=t[a],n>0&&(u+=i[e>>4&15]+i[15&e]),n>1&&(u+=i[e>>12&15]+i[e>>8&15]),n>2&&(u+=i[e>>20&15]+i[e>>16&15])),u},M.prototype.arrayBuffer=function(){this.finalize();var e,r=this.blockCount,t=this.s,o=this.outputBlocks,n=this.extraBytes,i=0,a=0,s=this.outputBits>>3;e=n?new ArrayBuffer(o+1<<2):new ArrayBuffer(s);for(var u=new Uint32Array(e);a<o;){for(i=0;i<r&&a<o;++i,++a)u[a]=t[i];a%r==0&&S(t)}return n&&(u[i]=t[i],e=e.slice(0,s)),e},M.prototype.buffer=M.prototype.arrayBuffer,M.prototype.digest=M.prototype.array=function(){this.finalize();for(var e,r,t=this.blockCount,o=this.s,n=this.outputBlocks,i=this.extraBytes,a=0,s=0,u=[];s<n;){for(a=0;a<t&&s<n;++a,++s)e=s<<2,r=o[a],u[e]=255&r,u[e+1]=r>>8&255,u[e+2]=r>>16&255,u[e+3]=r>>24&255;s%t==0&&S(o)}return i&&(e=s<<2,r=o[a],i>0&&(u[e]=255&r),i>1&&(u[e+1]=r>>8&255),i>2&&(u[e+2]=r>>16&255)),u};var S=function(e){var r,t,o,n,i,a,u,l,h,c,f,d,p,g,m,v,b,y,A,M,S,T,F,J,C,L,w,P,E,B,k,D,R,O,X,N,I,H,G,x,U,V,z,Z,_,K,j,Q,q,Y,W,$,ee,re,te,oe,ne,ie,ae,se,ue,le,he;for(o=0;o<48;o+=2)n=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],a=e[2]^e[12]^e[22]^e[32]^e[42],u=e[3]^e[13]^e[23]^e[33]^e[43],l=e[4]^e[14]^e[24]^e[34]^e[44],h=e[5]^e[15]^e[25]^e[35]^e[45],c=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],r=(d=e[8]^e[18]^e[28]^e[38]^e[48])^(a<<1|u>>>31),t=(p=e[9]^e[19]^e[29]^e[39]^e[49])^(u<<1|a>>>31),e[0]^=r,e[1]^=t,e[10]^=r,e[11]^=t,e[20]^=r,e[21]^=t,e[30]^=r,e[31]^=t,e[40]^=r,e[41]^=t,r=n^(l<<1|h>>>31),t=i^(h<<1|l>>>31),e[2]^=r,e[3]^=t,e[12]^=r,e[13]^=t,e[22]^=r,e[23]^=t,e[32]^=r,e[33]^=t,e[42]^=r,e[43]^=t,r=a^(c<<1|f>>>31),t=u^(f<<1|c>>>31),e[4]^=r,e[5]^=t,e[14]^=r,e[15]^=t,e[24]^=r,e[25]^=t,e[34]^=r,e[35]^=t,e[44]^=r,e[45]^=t,r=l^(d<<1|p>>>31),t=h^(p<<1|d>>>31),e[6]^=r,e[7]^=t,e[16]^=r,e[17]^=t,e[26]^=r,e[27]^=t,e[36]^=r,e[37]^=t,e[46]^=r,e[47]^=t,r=c^(n<<1|i>>>31),t=f^(i<<1|n>>>31),e[8]^=r,e[9]^=t,e[18]^=r,e[19]^=t,e[28]^=r,e[29]^=t,e[38]^=r,e[39]^=t,e[48]^=r,e[49]^=t,g=e[0],m=e[1],K=e[11]<<4|e[10]>>>28,j=e[10]<<4|e[11]>>>28,P=e[20]<<3|e[21]>>>29,E=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ue=e[30]<<9|e[31]>>>23,V=e[40]<<18|e[41]>>>14,z=e[41]<<18|e[40]>>>14,O=e[2]<<1|e[3]>>>31,X=e[3]<<1|e[2]>>>31,v=e[13]<<12|e[12]>>>20,b=e[12]<<12|e[13]>>>20,Q=e[22]<<10|e[23]>>>22,q=e[23]<<10|e[22]>>>22,B=e[33]<<13|e[32]>>>19,k=e[32]<<13|e[33]>>>19,le=e[42]<<2|e[43]>>>30,he=e[43]<<2|e[42]>>>30,re=e[5]<<30|e[4]>>>2,te=e[4]<<30|e[5]>>>2,N=e[14]<<6|e[15]>>>26,I=e[15]<<6|e[14]>>>26,y=e[25]<<11|e[24]>>>21,A=e[24]<<11|e[25]>>>21,Y=e[34]<<15|e[35]>>>17,W=e[35]<<15|e[34]>>>17,D=e[45]<<29|e[44]>>>3,R=e[44]<<29|e[45]>>>3,J=e[6]<<28|e[7]>>>4,C=e[7]<<28|e[6]>>>4,oe=e[17]<<23|e[16]>>>9,ne=e[16]<<23|e[17]>>>9,H=e[26]<<25|e[27]>>>7,G=e[27]<<25|e[26]>>>7,M=e[36]<<21|e[37]>>>11,S=e[37]<<21|e[36]>>>11,$=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,Z=e[8]<<27|e[9]>>>5,_=e[9]<<27|e[8]>>>5,L=e[18]<<20|e[19]>>>12,w=e[19]<<20|e[18]>>>12,ie=e[29]<<7|e[28]>>>25,ae=e[28]<<7|e[29]>>>25,x=e[38]<<8|e[39]>>>24,U=e[39]<<8|e[38]>>>24,T=e[48]<<14|e[49]>>>18,F=e[49]<<14|e[48]>>>18,e[0]=g^~v&y,e[1]=m^~b&A,e[10]=J^~L&P,e[11]=C^~w&E,e[20]=O^~N&H,e[21]=X^~I&G,e[30]=Z^~K&Q,e[31]=_^~j&q,e[40]=re^~oe&ie,e[41]=te^~ne&ae,e[2]=v^~y&M,e[3]=b^~A&S,e[12]=L^~P&B,e[13]=w^~E&k,e[22]=N^~H&x,e[23]=I^~G&U,e[32]=K^~Q&Y,e[33]=j^~q&W,e[42]=oe^~ie&se,e[43]=ne^~ae&ue,e[4]=y^~M&T,e[5]=A^~S&F,e[14]=P^~B&D,e[15]=E^~k&R,e[24]=H^~x&V,e[25]=G^~U&z,e[34]=Q^~Y&$,e[35]=q^~W&ee,e[44]=ie^~se&le,e[45]=ae^~ue&he,e[6]=M^~T&g,e[7]=S^~F&m,e[16]=B^~D&J,e[17]=k^~R&C,e[26]=x^~V&O,e[27]=U^~z&X,e[36]=Y^~$&Z,e[37]=W^~ee&_,e[46]=se^~le&re,e[47]=ue^~he&te,e[8]=T^~g&v,e[9]=F^~m&b,e[18]=D^~J&L,e[19]=R^~C&w,e[28]=V^~O&N,e[29]=z^~X&I,e[38]=$^~Z&K,e[39]=ee^~_&j,e[48]=le^~re&oe,e[49]=he^~te&ne,e[0]^=s[o],e[1]^=s[o+1]};if(n)e.exports=p;else for(m=0;m<g.length;++m)r[g[m]]=p[g[m]]}()},996:e=>{var r=function(e){null==e&&(e=(new Date).getTime()),this.N=624,this.M=397,this.MATRIX_A=2567483615,this.UPPER_MASK=2147483648,this.LOWER_MASK=2147483647,this.mt=new Array(this.N),this.mti=this.N+1,e.constructor==Array?this.init_by_array(e,e.length):this.init_seed(e)};r.prototype.init_seed=function(e){for(this.mt[0]=e>>>0,this.mti=1;this.mti<this.N;this.mti++)e=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30,this.mt[this.mti]=(1812433253*((4294901760&e)>>>16)<<16)+1812433253*(65535&e)+this.mti,this.mt[this.mti]>>>=0},r.prototype.init_by_array=function(e,r){var t,o,n;for(this.init_seed(19650218),t=1,o=0,n=this.N>r?this.N:r;n;n--){var i=this.mt[t-1]^this.mt[t-1]>>>30;this.mt[t]=(this.mt[t]^(1664525*((4294901760&i)>>>16)<<16)+1664525*(65535&i))+e[o]+o,this.mt[t]>>>=0,o++,++t>=this.N&&(this.mt[0]=this.mt[this.N-1],t=1),o>=r&&(o=0)}for(n=this.N-1;n;n--)i=this.mt[t-1]^this.mt[t-1]>>>30,this.mt[t]=(this.mt[t]^(1566083941*((4294901760&i)>>>16)<<16)+1566083941*(65535&i))-t,this.mt[t]>>>=0,++t>=this.N&&(this.mt[0]=this.mt[this.N-1],t=1);this.mt[0]=2147483648},r.prototype.random_int=function(){var e,r=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var t;for(this.mti==this.N+1&&this.init_seed(5489),t=0;t<this.N-this.M;t++)e=this.mt[t]&this.UPPER_MASK|this.mt[t+1]&this.LOWER_MASK,this.mt[t]=this.mt[t+this.M]^e>>>1^r[1&e];for(;t<this.N-1;t++)e=this.mt[t]&this.UPPER_MASK|this.mt[t+1]&this.LOWER_MASK,this.mt[t]=this.mt[t+(this.M-this.N)]^e>>>1^r[1&e];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^r[1&e],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,(e^=e>>>18)>>>0},r.prototype.random_int31=function(){return this.random_int()>>>1},r.prototype.random_incl=function(){return this.random_int()*(1/4294967295)},r.prototype.random=function(){return this.random_int()*(1/4294967296)},r.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)},r.prototype.random_long=function(){return(67108864*(this.random_int()>>>5)+(this.random_int()>>>6))*(1/9007199254740992)},e.exports=r},746:e=>{function r(e,r){if(!e)throw new Error(r||"Assertion failed")}e.exports=r,r.equal=function(e,r,t){if(e!=r)throw new Error(t||"Assertion failed: "+e+" != "+r)}},155:e=>{var r,t,o=e.exports={};function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===n||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:n}catch(e){r=n}try{t="function"==typeof clearTimeout?clearTimeout:i}catch(e){t=i}}();var s,u=[],l=!1,h=-1;function c(){l&&s&&(l=!1,s.length?u=s.concat(u):h=-1,u.length&&f())}function f(){if(!l){var e=a(c);l=!0;for(var r=u.length;r;){for(s=u,u=[];++h<r;)s&&s[h].run();h=-1,r=u.length}s=null,l=!1,function(e){if(t===clearTimeout)return clearTimeout(e);if((t===i||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(e);try{t(e)}catch(r){try{return t.call(null,e)}catch(r){return t.call(this,e)}}}(e)}}function d(e,r){this.fun=e,this.array=r}function p(){}o.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];u.push(new d(e,r)),1!==u.length||l||a(f)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=p,o.addListener=p,o.once=p,o.off=p,o.removeListener=p,o.removeAllListeners=p,o.emit=p,o.prependListener=p,o.prependOnceListener=p,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},666:e=>{var r=function(e){"use strict";var r,t=Object.prototype,o=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function u(e,r,t){return Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{u({},"")}catch(e){u=function(e,r,t){return e[r]=t}}function l(e,r,t,o){var n=r&&r.prototype instanceof m?r:m,i=Object.create(n.prototype),a=new w(o||[]);return i._invoke=function(e,r,t){var o=c;return function(n,i){if(o===d)throw new Error("Generator is already running");if(o===p){if("throw"===n)throw i;return E()}for(t.method=n,t.arg=i;;){var a=t.delegate;if(a){var s=J(a,t);if(s){if(s===g)continue;return s}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(o===c)throw o=p,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);o=d;var u=h(e,r,t);if("normal"===u.type){if(o=t.done?p:f,u.arg===g)continue;return{value:u.arg,done:t.done}}"throw"===u.type&&(o=p,t.method="throw",t.arg=u.arg)}}}(e,t,a),i}function h(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var c="suspendedStart",f="suspendedYield",d="executing",p="completed",g={};function m(){}function v(){}function b(){}var y={};u(y,i,(function(){return this}));var A=Object.getPrototypeOf,M=A&&A(A(P([])));M&&M!==t&&o.call(M,i)&&(y=M);var S=b.prototype=m.prototype=Object.create(y);function T(e){["next","throw","return"].forEach((function(r){u(e,r,(function(e){return this._invoke(r,e)}))}))}function F(e,r){function t(n,i,a,s){var u=h(e[n],e,i);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==typeof c&&o.call(c,"__await")?r.resolve(c.__await).then((function(e){t("next",e,a,s)}),(function(e){t("throw",e,a,s)})):r.resolve(c).then((function(e){l.value=e,a(l)}),(function(e){return t("throw",e,a,s)}))}s(u.arg)}var n;this._invoke=function(e,o){function i(){return new r((function(r,n){t(e,o,r,n)}))}return n=n?n.then(i,i):i()}}function J(e,t){var o=e.iterator[t.method];if(o===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,J(e,t),"throw"===t.method))return g;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var n=h(o,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,g;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,g):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function C(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function L(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function P(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return a.next=a}}return{next:E}}function E(){return{value:r,done:!0}}return v.prototype=b,u(S,"constructor",b),u(b,"constructor",v),v.displayName=u(b,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var r="function"==typeof e&&e.constructor;return!!r&&(r===v||"GeneratorFunction"===(r.displayName||r.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},T(F.prototype),u(F.prototype,a,(function(){return this})),e.AsyncIterator=F,e.async=function(r,t,o,n,i){void 0===i&&(i=Promise);var a=new F(l(r,t,o,n),i);return e.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(S),u(S,s,"Generator"),u(S,i,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var r=[];for(var t in e)r.push(t);return r.reverse(),function t(){for(;r.length;){var o=r.pop();if(o in e)return t.value=o,t.done=!1,t}return t.done=!0,t}},e.values=P,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(L),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(o,n){return s.type="throw",s.arg=e,t.next=o,n&&(t.method="next",t.arg=r),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,r){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(e,r){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&r&&(this.next=r),g},finish:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),L(t),g}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var o=t.completion;if("throw"===o.type){var n=o.arg;L(t)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:P(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=r),g}},e}(e.exports);try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},635:function(e){"use strict";!function(r){const t=2147483647;function o(e){const r=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);let t=1779033703,o=3144134277,n=1013904242,i=2773480762,a=1359893119,s=2600822924,u=528734635,l=1541459225;const h=new Uint32Array(64);function c(e){let c=0,f=e.length;for(;f>=64;){let d,p,g,m,v,b=t,y=o,A=n,M=i,S=a,T=s,F=u,J=l;for(p=0;p<16;p++)g=c+4*p,h[p]=(255&e[g])<<24|(255&e[g+1])<<16|(255&e[g+2])<<8|255&e[g+3];for(p=16;p<64;p++)d=h[p-2],m=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,d=h[p-15],v=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3,h[p]=(m+h[p-7]|0)+(v+h[p-16]|0)|0;for(p=0;p<64;p++)m=(((S>>>6|S<<26)^(S>>>11|S<<21)^(S>>>25|S<<7))+(S&T^~S&F)|0)+(J+(r[p]+h[p]|0)|0)|0,v=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&y^b&A^y&A)|0,J=F,F=T,T=S,S=M+m|0,M=A,A=y,y=b,b=m+v|0;t=t+b|0,o=o+y|0,n=n+A|0,i=i+M|0,a=a+S|0,s=s+T|0,u=u+F|0,l=l+J|0,c+=64,f-=64}}c(e);let f,d=e.length%64,p=e.length/536870912|0,g=e.length<<3,m=d<56?56:120,v=e.slice(e.length-d,e.length);for(v.push(128),f=d+1;f<m;f++)v.push(0);return v.push(p>>>24&255),v.push(p>>>16&255),v.push(p>>>8&255),v.push(p>>>0&255),v.push(g>>>24&255),v.push(g>>>16&255),v.push(g>>>8&255),v.push(g>>>0&255),c(v),[t>>>24&255,t>>>16&255,t>>>8&255,t>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255,l>>>24&255,l>>>16&255,l>>>8&255,l>>>0&255]}function n(e,r,t){e=e.length<=64?e:o(e);const n=64+r.length+4,i=new Array(n),a=new Array(64);let s,u=[];for(s=0;s<64;s++)i[s]=54;for(s=0;s<e.length;s++)i[s]^=e[s];for(s=0;s<r.length;s++)i[64+s]=r[s];for(s=n-4;s<n;s++)i[s]=0;for(s=0;s<64;s++)a[s]=92;for(s=0;s<e.length;s++)a[s]^=e[s];function l(){for(let e=n-1;e>=n-4;e--){if(i[e]++,i[e]<=255)return;i[e]=0}}for(;t>=32;)l(),u=u.concat(o(a.concat(o(i)))),t-=32;return t>0&&(l(),u=u.concat(o(a.concat(o(i))).slice(0,t))),u}function i(e,r,t,o,n){let i;for(l(e,16*(2*t-1),n,0,16),i=0;i<2*t;i++)u(e,16*i,n,16),s(n,o),l(n,0,e,r+16*i,16);for(i=0;i<t;i++)l(e,r+2*i*16,e,16*i,16);for(i=0;i<t;i++)l(e,r+16*(2*i+1),e,16*(i+t),16)}function a(e,r){return e<<r|e>>>32-r}function s(e,r){l(e,0,r,0,16);for(let e=8;e>0;e-=2)r[4]^=a(r[0]+r[12],7),r[8]^=a(r[4]+r[0],9),r[12]^=a(r[8]+r[4],13),r[0]^=a(r[12]+r[8],18),r[9]^=a(r[5]+r[1],7),r[13]^=a(r[9]+r[5],9),r[1]^=a(r[13]+r[9],13),r[5]^=a(r[1]+r[13],18),r[14]^=a(r[10]+r[6],7),r[2]^=a(r[14]+r[10],9),r[6]^=a(r[2]+r[14],13),r[10]^=a(r[6]+r[2],18),r[3]^=a(r[15]+r[11],7),r[7]^=a(r[3]+r[15],9),r[11]^=a(r[7]+r[3],13),r[15]^=a(r[11]+r[7],18),r[1]^=a(r[0]+r[3],7),r[2]^=a(r[1]+r[0],9),r[3]^=a(r[2]+r[1],13),r[0]^=a(r[3]+r[2],18),r[6]^=a(r[5]+r[4],7),r[7]^=a(r[6]+r[5],9),r[4]^=a(r[7]+r[6],13),r[5]^=a(r[4]+r[7],18),r[11]^=a(r[10]+r[9],7),r[8]^=a(r[11]+r[10],9),r[9]^=a(r[8]+r[11],13),r[10]^=a(r[9]+r[8],18),r[12]^=a(r[15]+r[14],7),r[13]^=a(r[12]+r[15],9),r[14]^=a(r[13]+r[12],13),r[15]^=a(r[14]+r[13],18);for(let t=0;t<16;++t)e[t]+=r[t]}function u(e,r,t,o){for(let n=0;n<o;n++)t[n]^=e[r+n]}function l(e,r,t,o,n){for(;n--;)t[o++]=e[r++]}function h(e){if(!e||"number"!=typeof e.length)return!1;for(let r=0;r<e.length;r++){const t=e[r];if("number"!=typeof t||t%1||t<0||t>=256)return!1}return!0}function c(e,r){if("number"!=typeof e||e%1)throw new Error("invalid "+r);return e}function f(e,r,o,a,s,f,d){if(o=c(o,"N"),a=c(a,"r"),s=c(s,"p"),f=c(f,"dkLen"),0===o||0!=(o&o-1))throw new Error("N must be power of 2");if(o>t/128/a)throw new Error("N too large");if(a>t/128/s)throw new Error("r too large");if(!h(e))throw new Error("password must be an array or buffer");if(e=Array.prototype.slice.call(e),!h(r))throw new Error("salt must be an array or buffer");r=Array.prototype.slice.call(r);let p=n(e,r,128*s*a);const g=new Uint32Array(32*s*a);for(let e=0;e<g.length;e++){const r=4*e;g[e]=(255&p[r+3])<<24|(255&p[r+2])<<16|(255&p[r+1])<<8|(255&p[r+0])<<0}const m=new Uint32Array(64*a),v=new Uint32Array(32*a*o),b=32*a,y=new Uint32Array(16),A=new Uint32Array(16),M=s*o*2;let S,T,F=0,J=null,C=!1,L=0,w=0;const P=d?parseInt(1e3/a):4294967295,E="undefined"!=typeof setImmediate?setImmediate:setTimeout,B=function(){if(C)return d(new Error("cancelled"),F/M);let r;switch(L){case 0:T=32*w*a,l(g,T,m,0,b),L=1,S=0;case 1:r=o-S,r>P&&(r=P);for(let e=0;e<r;e++)l(m,0,v,(S+e)*b,b),i(m,b,a,y,A);if(S+=r,F+=r,d){const e=parseInt(1e3*F/M);if(e!==J){if(C=d(null,F/M),C)break;J=e}}if(S<o)break;S=0,L=2;case 2:r=o-S,r>P&&(r=P);for(let e=0;e<r;e++){const e=m[16*(2*a-1)]&o-1;u(v,e*b,m,b),i(m,b,a,y,A)}if(S+=r,F+=r,d){const e=parseInt(1e3*F/M);if(e!==J){if(C=d(null,F/M),C)break;J=e}}if(S<o)break;if(l(m,0,g,T,b),w++,w<s){L=0;break}p=[];for(let e=0;e<g.length;e++)p.push(g[e]>>0&255),p.push(g[e]>>8&255),p.push(g[e]>>16&255),p.push(g[e]>>24&255);const t=n(e,p,f);return d&&d(null,1,t),t}d&&E(B)};if(!d)for(;;){const e=B();if(null!=e)return e}B()}const d={scrypt:function(e,r,t,o,n,i,a){return new Promise((function(s,u){let l=0;a&&a(0),f(e,r,t,o,n,i,(function(e,r,t){if(e)u(e);else if(t)a&&1!==l&&a(1),s(new Uint8Array(t));else if(a&&r!==l)return l=r,a(r)}))}))},syncScrypt:function(e,r,t,o,n,i){return new Uint8Array(f(e,r,t,o,n,i))}};e.exports=d}()},601:()=>{}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={id:o,loaded:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";function e(e,r,t,o,n,i,a){try{var s=e[i](a),u=s.value}catch(e){return void t(e)}s.done?r(u):Promise.resolve(u).then(o,n)}function r(r){return function(){var t=this,o=arguments;return new Promise((function(n,i){var a=r.apply(t,o);function s(r){e(a,n,i,s,u,"next",r)}function u(r){e(a,n,i,s,u,"throw",r)}s(void 0)}))}}var o=t(757),n=t.n(o);let i=!1,a=!1;const s={debug:1,default:2,info:2,warning:3,error:4,off:5};let u=s.default,l=null;const h=function(){try{const e=[];if(["NFD","NFC","NFKD","NFKC"].forEach((r=>{try{if("test"!=="test".normalize(r))throw new Error("bad normalize")}catch(t){e.push(r)}})),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();var c,f;!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(c||(c={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED"}(f||(f={}));const d="0123456789abcdef";class p{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,r){const t=e.toLowerCase();null==s[t]&&this.throwArgumentError("invalid log level name","logLevel",e),u>s[t]||console.log.apply(console,r)}debug(...e){this._log(p.levels.DEBUG,e)}info(...e){this._log(p.levels.INFO,e)}warn(...e){this._log(p.levels.WARNING,e)}makeError(e,r,t){if(a)return this.makeError("censored error",r,{});r||(r=p.errors.UNKNOWN_ERROR),t||(t={});const o=[];Object.keys(t).forEach((e=>{const r=t[e];try{if(r instanceof Uint8Array){let t="";for(let e=0;e<r.length;e++)t+=d[r[e]>>4],t+=d[15&r[e]];o.push(e+"=Uint8Array(0x"+t+")")}else o.push(e+"="+JSON.stringify(r))}catch(r){o.push(e+"="+JSON.stringify(t[e].toString()))}})),o.push(`code=${r}`),o.push(`version=${this.version}`);const n=e;o.length&&(e+=" ("+o.join(", ")+")");const i=new Error(e);return i.reason=n,i.code=r,Object.keys(t).forEach((function(e){i[e]=t[e]})),i}throwError(e,r,t){throw this.makeError(e,r,t)}throwArgumentError(e,r,t){return this.throwError(e,p.errors.INVALID_ARGUMENT,{argument:r,value:t})}assert(e,r,t,o){e||this.throwError(r,t,o)}assertArgument(e,r,t,o){e||this.throwArgumentError(r,t,o)}checkNormalize(e){null==e&&(e="platform missing String.prototype.normalize"),h&&this.throwError("platform missing String.prototype.normalize",p.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:h})}checkSafeUint53(e,r){"number"==typeof e&&(null==r&&(r="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(r,p.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(r,p.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,r,t){t=t?": "+t:"",e<r&&this.throwError("missing argument"+t,p.errors.MISSING_ARGUMENT,{count:e,expectedCount:r}),e>r&&this.throwError("too many arguments"+t,p.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:r})}checkNew(e,r){e!==Object&&null!=e||this.throwError("missing new",p.errors.MISSING_NEW,{name:r.name})}checkAbstract(e,r){e===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",p.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):e!==Object&&null!=e||this.throwError("missing new",p.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return l||(l=new p("logger/5.4.1")),l}static setCensorship(e,r){if(!e&&r&&this.globalLogger().throwError("cannot permanently disable censorship",p.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),i){if(!e)return;this.globalLogger().throwError("error censorship permanent",p.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}a=!!e,i=!!r}static setLogLevel(e){const r=s[e.toLowerCase()];null!=r?u=r:p.globalLogger().warn("invalid log level - "+e)}static from(e){return new p(e)}}p.errors=f,p.levels=c;const g=new p("bytes/5.4.0");function m(e){return!!e.toHexString}function v(e){return e.slice||(e.slice=function(){const r=Array.prototype.slice.call(arguments);return v(new Uint8Array(Array.prototype.slice.apply(e,r)))}),e}function b(e){return T(e)&&!(e.length%2)||y(e)}function y(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"==typeof e)return!1;if(null==e.length)return!1;for(let r=0;r<e.length;r++){const t=e[r];if("number"!=typeof t||t<0||t>=256||t%1)return!1}return!0}function A(e,r){if(r||(r={}),"number"==typeof e){g.checkSafeUint53(e,"invalid arrayify value");const r=[];for(;e;)r.unshift(255&e),e=parseInt(String(e/256));return 0===r.length&&r.push(0),v(new Uint8Array(r))}if(r.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),m(e)&&(e=e.toHexString()),T(e)){let t=e.substring(2);t.length%2&&("left"===r.hexPad?t="0x0"+t.substring(2):"right"===r.hexPad?t+="0":g.throwArgumentError("hex data is odd-length","value",e));const o=[];for(let e=0;e<t.length;e+=2)o.push(parseInt(t.substring(e,e+2),16));return v(new Uint8Array(o))}return y(e)?v(new Uint8Array(e)):g.throwArgumentError("invalid arrayify value","value",e)}function M(e){const r=e.map((e=>A(e))),t=r.reduce(((e,r)=>e+r.length),0),o=new Uint8Array(t);return r.reduce(((e,r)=>(o.set(r,e),e+r.length)),0),v(o)}function S(e){let r=A(e);if(0===r.length)return r;let t=0;for(;t<r.length&&0===r[t];)t++;return t&&(r=r.slice(t)),r}function T(e,r){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/)||r&&e.length!==2+2*r)}const F="0123456789abcdef";function J(e,r){if(r||(r={}),"number"==typeof e){g.checkSafeUint53(e,"invalid hexlify value");let r="";for(;e;)r=F[15&e]+r,e=Math.floor(e/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if("bigint"==typeof e)return(e=e.toString(16)).length%2?"0x0"+e:"0x"+e;if(r.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),m(e))return e.toHexString();if(T(e))return e.length%2&&("left"===r.hexPad?e="0x0"+e.substring(2):"right"===r.hexPad?e+="0":g.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(y(e)){let r="0x";for(let t=0;t<e.length;t++){let o=e[t];r+=F[(240&o)>>4]+F[15&o]}return r}return g.throwArgumentError("invalid hexlify value","value",e)}function C(e,r,t){return"string"!=typeof e?e=J(e):(!T(e)||e.length%2)&&g.throwArgumentError("invalid hexData","value",e),r=2+2*r,null!=t?"0x"+e.substring(r,2+2*t):"0x"+e.substring(r)}function L(e){let r="0x";return e.forEach((e=>{r+=J(e).substring(2)})),r}function w(e,r){for("string"!=typeof e?e=J(e):T(e)||g.throwArgumentError("invalid hex string","value",e),e.length>2*r+2&&g.throwArgumentError("value out of range","value",arguments[1]);e.length<2*r+2;)e="0x0"+e.substring(2);return e}function P(e){const r={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0};if(b(e)){const t=A(e);65!==t.length&&g.throwArgumentError("invalid signature string; must be 65 bytes","signature",e),r.r=J(t.slice(0,32)),r.s=J(t.slice(32,64)),r.v=t[64],r.v<27&&(0===r.v||1===r.v?r.v+=27:g.throwArgumentError("signature invalid v byte","signature",e)),r.recoveryParam=1-r.v%2,r.recoveryParam&&(t[32]|=128),r._vs=J(t.slice(32,64))}else{if(r.r=e.r,r.s=e.s,r.v=e.v,r.recoveryParam=e.recoveryParam,r._vs=e._vs,null!=r._vs){const t=function(e,r){(e=A(e)).length>r&&g.throwArgumentError("value out of range","value",arguments[0]);const t=new Uint8Array(r);return t.set(e,r-e.length),v(t)}(A(r._vs),32);r._vs=J(t);const o=t[0]>=128?1:0;null==r.recoveryParam?r.recoveryParam=o:r.recoveryParam!==o&&g.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),t[0]&=127;const n=J(t);null==r.s?r.s=n:r.s!==n&&g.throwArgumentError("signature v mismatch _vs","signature",e)}null==r.recoveryParam?null==r.v?g.throwArgumentError("signature missing v and recoveryParam","signature",e):0===r.v||1===r.v?r.recoveryParam=r.v:r.recoveryParam=1-r.v%2:null==r.v?r.v=27+r.recoveryParam:r.recoveryParam!==1-r.v%2&&g.throwArgumentError("signature recoveryParam mismatch v","signature",e),null!=r.r&&T(r.r)?r.r=w(r.r,32):g.throwArgumentError("signature missing or invalid r","signature",e),null!=r.s&&T(r.s)?r.s=w(r.s,32):g.throwArgumentError("signature missing or invalid s","signature",e);const t=A(r.s);t[0]>=128&&g.throwArgumentError("signature s out of range","signature",e),r.recoveryParam&&(t[0]|=128);const o=J(t);r._vs&&(T(r._vs)||g.throwArgumentError("signature invalid _vs","signature",e),r._vs=w(r._vs,32)),null==r._vs?r._vs=o:r._vs!==o&&g.throwArgumentError("signature _vs mismatch v and s","signature",e)}return r}function E(e){return J(M([(e=P(e)).r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}var B=t(550),k=t.n(B),D=k().BN;const R=new p("bignumber/5.4.2"),O={},X=9007199254740991;let N=!1;class I{constructor(e,r){R.checkNew(new.target,I),e!==O&&R.throwError("cannot call constructor directly; use BigNumber.from",p.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return G(x(this).fromTwos(e))}toTwos(e){return G(x(this).toTwos(e))}abs(){return"-"===this._hex[0]?I.from(this._hex.substring(1)):this}add(e){return G(x(this).add(x(e)))}sub(e){return G(x(this).sub(x(e)))}div(e){return I.from(e).isZero()&&U("division by zero","div"),G(x(this).div(x(e)))}mul(e){return G(x(this).mul(x(e)))}mod(e){const r=x(e);return r.isNeg()&&U("cannot modulo negative values","mod"),G(x(this).umod(r))}pow(e){const r=x(e);return r.isNeg()&&U("cannot raise to negative values","pow"),G(x(this).pow(r))}and(e){const r=x(e);return(this.isNegative()||r.isNeg())&&U("cannot 'and' negative values","and"),G(x(this).and(r))}or(e){const r=x(e);return(this.isNegative()||r.isNeg())&&U("cannot 'or' negative values","or"),G(x(this).or(r))}xor(e){const r=x(e);return(this.isNegative()||r.isNeg())&&U("cannot 'xor' negative values","xor"),G(x(this).xor(r))}mask(e){return(this.isNegative()||e<0)&&U("cannot mask negative values","mask"),G(x(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&U("cannot shift negative values","shl"),G(x(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&U("cannot shift negative values","shr"),G(x(this).shrn(e))}eq(e){return x(this).eq(x(e))}lt(e){return x(this).lt(x(e))}lte(e){return x(this).lte(x(e))}gt(e){return x(this).gt(x(e))}gte(e){return x(this).gte(x(e))}isNegative(){return"-"===this._hex[0]}isZero(){return x(this).isZero()}toNumber(){try{return x(this).toNumber()}catch(e){U("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(e){}return R.throwError("this platform does not support BigInt",p.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?N||(N=!0,R.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?R.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",p.errors.UNEXPECTED_ARGUMENT,{}):R.throwError("BigNumber.toString does not accept parameters",p.errors.UNEXPECTED_ARGUMENT,{})),x(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof I)return e;if("string"==typeof e)return e.match(/^-?0x[0-9a-f]+$/i)?new I(O,H(e)):e.match(/^-?[0-9]+$/)?new I(O,H(new D(e))):R.throwArgumentError("invalid BigNumber string","value",e);if("number"==typeof e)return e%1&&U("underflow","BigNumber.from",e),(e>=X||e<=-X)&&U("overflow","BigNumber.from",e),I.from(String(e));const r=e;if("bigint"==typeof r)return I.from(r.toString());if(y(r))return I.from(J(r));if(r)if(r.toHexString){const e=r.toHexString();if("string"==typeof e)return I.from(e)}else{let e=r._hex;if(null==e&&"BigNumber"===r.type&&(e=r.hex),"string"==typeof e&&(T(e)||"-"===e[0]&&T(e.substring(1))))return I.from(e)}return R.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!(!e||!e._isBigNumber)}}function H(e){if("string"!=typeof e)return H(e.toString(16));if("-"===e[0])return"-"===(e=e.substring(1))[0]&&R.throwArgumentError("invalid hex","value",e),"0x00"===(e=H(e))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function G(e){return I.from(H(e))}function x(e){const r=I.from(e).toHexString();return"-"===r[0]?new D("-"+r.substring(3),16):new D(r.substring(2),16)}function U(e,r,t){const o={fault:e,operation:r};return null!=t&&(o.value=t),R.throwError(e,p.errors.NUMERIC_FAULT,o)}var V=t(94),z=t.n(V);function Z(e){return"0x"+z().keccak_256(A(e))}const _=new p("address/5.4.0");function K(e){T(e,20)||_.throwArgumentError("invalid address","address",e);const r=(e=e.toLowerCase()).substring(2).split(""),t=new Uint8Array(40);for(let e=0;e<40;e++)t[e]=r[e].charCodeAt(0);const o=A(Z(t));for(let e=0;e<40;e+=2)o[e>>1]>>4>=8&&(r[e]=r[e].toUpperCase()),(15&o[e>>1])>=8&&(r[e+1]=r[e+1].toUpperCase());return"0x"+r.join("")}const j={};for(let e=0;e<10;e++)j[String(e)]=String(e);for(let e=0;e<26;e++)j[String.fromCharCode(65+e)]=String(10+e);const Q=Math.floor((q=9007199254740991,Math.log10?Math.log10(q):Math.log(q)/Math.LN10));var q;function Y(e){let r=null;if("string"!=typeof e&&_.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),r=K(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&r!==e&&_.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==function(e){let r=(e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00").split("").map((e=>j[e])).join("");for(;r.length>=Q;){let e=r.substring(0,Q);r=parseInt(e,10)%97+r.substring(e.length)}let t=String(98-parseInt(r,10)%97);for(;t.length<2;)t="0"+t;return t}(e)&&_.throwArgumentError("bad icap checksum","address",e),t=e.substring(4),r=new D(t,36).toString(16);r.length<40;)r="0"+r;r=K("0x"+r)}else _.throwArgumentError("invalid address","address",e);var t;return r}const W=new p("properties/5.4.1");function $(e,r,t){Object.defineProperty(e,r,{enumerable:!0,value:t,writable:!1})}function ee(e){return r=this,t=void 0,n=function*(){const r=Object.keys(e).map((r=>{const t=e[r];return Promise.resolve(t).then((e=>({key:r,value:e})))}));return(yield Promise.all(r)).reduce(((e,r)=>(e[r.key]=r.value,e)),{})},new((o=void 0)||(o=Promise))((function(e,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(r){var t;r.done?e(r.value):(t=r.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,s)}u((n=n.apply(r,t||[])).next())}));var r,t,o,n}function re(e){const r={};for(const t in e)r[t]=e[t];return r}const te={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function oe(e){if(null==e||te[typeof e])return!0;if(Array.isArray(e)||"object"==typeof e){if(!Object.isFrozen(e))return!1;const r=Object.keys(e);for(let t=0;t<r.length;t++){let o=null;try{o=e[r[t]]}catch(e){continue}if(!oe(o))return!1}return!0}return W.throwArgumentError("Cannot deepCopy "+typeof e,"object",e)}function ne(e){if(oe(e))return e;if(Array.isArray(e))return Object.freeze(e.map((e=>ie(e))));if("object"==typeof e){const r={};for(const t in e){const o=e[t];void 0!==o&&$(r,t,ie(o))}return r}return W.throwArgumentError("Cannot deepCopy "+typeof e,"object",e)}function ie(e){return ne(e)}class ae{constructor(e){for(const r in e)this[r]=ie(e[r])}}const se=new p("abstract-provider/5.4.1");class ue{constructor(){se.checkAbstract(new.target,ue),$(this,"_isProvider",!0)}getFeeData(){return e=this,r=void 0,o=function*(){const{block:e,gasPrice:r}=yield ee({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch((e=>null))});let t=null,o=null;return e&&e.baseFeePerGas&&(o=I.from("2500000000"),t=e.baseFeePerGas.mul(2).add(o)),{maxFeePerGas:t,maxPriorityFeePerGas:o,gasPrice:r}},new((t=void 0)||(t=Promise))((function(n,i){function a(e){try{u(o.next(e))}catch(e){i(e)}}function s(e){try{u(o.throw(e))}catch(e){i(e)}}function u(e){var r;e.done?n(e.value):(r=e.value,r instanceof t?r:new t((function(e){e(r)}))).then(a,s)}u((o=o.apply(e,r||[])).next())}));var e,r,t,o}addListener(e,r){return this.on(e,r)}removeListener(e,r){return this.off(e,r)}static isProvider(e){return!(!e||!e._isProvider)}}var le=function(e,r,t,o){return new(t||(t=Promise))((function(n,i){function a(e){try{u(o.next(e))}catch(e){i(e)}}function s(e){try{u(o.throw(e))}catch(e){i(e)}}function u(e){var r;e.done?n(e.value):(r=e.value,r instanceof t?r:new t((function(e){e(r)}))).then(a,s)}u((o=o.apply(e,r||[])).next())}))};const he=new p("abstract-signer/5.4.1"),ce=["accessList","chainId","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],fe=[p.errors.INSUFFICIENT_FUNDS,p.errors.NONCE_EXPIRED,p.errors.REPLACEMENT_UNDERPRICED];class de{constructor(){he.checkAbstract(new.target,de),$(this,"_isSigner",!0)}getBalance(e){return le(this,void 0,void 0,(function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),e)}))}getTransactionCount(e){return le(this,void 0,void 0,(function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),e)}))}estimateGas(e){return le(this,void 0,void 0,(function*(){this._checkProvider("estimateGas");const r=yield ee(this.checkTransaction(e));return yield this.provider.estimateGas(r)}))}call(e,r){return le(this,void 0,void 0,(function*(){this._checkProvider("call");const t=yield ee(this.checkTransaction(e));return yield this.provider.call(t,r)}))}sendTransaction(e){return le(this,void 0,void 0,(function*(){this._checkProvider("sendTransaction");const r=yield this.populateTransaction(e),t=yield this.signTransaction(r);return yield this.provider.sendTransaction(t)}))}getChainId(){return le(this,void 0,void 0,(function*(){return this._checkProvider("getChainId"),(yield this.provider.getNetwork()).chainId}))}getGasPrice(){return le(this,void 0,void 0,(function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()}))}getFeeData(){return le(this,void 0,void 0,(function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()}))}resolveName(e){return le(this,void 0,void 0,(function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(e)}))}checkTransaction(e){for(const r in e)-1===ce.indexOf(r)&&he.throwArgumentError("invalid transaction key: "+r,"transaction",e);const r=re(e);return null==r.from?r.from=this.getAddress():r.from=Promise.all([Promise.resolve(r.from),this.getAddress()]).then((r=>(r[0].toLowerCase()!==r[1].toLowerCase()&&he.throwArgumentError("from address mismatch","transaction",e),r[0]))),r}populateTransaction(e){return le(this,void 0,void 0,(function*(){const r=yield ee(this.checkTransaction(e));null!=r.to&&(r.to=Promise.resolve(r.to).then((e=>le(this,void 0,void 0,(function*(){if(null==e)return null;const r=yield this.resolveName(e);return null==r&&he.throwArgumentError("provided ENS name resolves to null","tx.to",e),r})))),r.to.catch((e=>{})));const t=null!=r.maxFeePerGas||null!=r.maxPriorityFeePerGas;if(null==r.gasPrice||2!==r.type&&!t?0!==r.type&&1!==r.type||!t||he.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",e):he.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",e),2!==r.type&&null!=r.type||null==r.maxFeePerGas||null==r.maxPriorityFeePerGas)if(0===r.type||1===r.type)null==r.gasPrice&&(r.gasPrice=this.getGasPrice());else{const e=yield this.getFeeData();if(null==r.type)if(null!=e.maxFeePerGas&&null!=e.maxPriorityFeePerGas)if(r.type=2,null!=r.gasPrice){const e=r.gasPrice;delete r.gasPrice,r.maxFeePerGas=e,r.maxPriorityFeePerGas=e}else null==r.maxFeePerGas&&(r.maxFeePerGas=e.maxFeePerGas),null==r.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=e.maxPriorityFeePerGas);else null!=e.gasPrice?(t&&he.throwError("network does not support EIP-1559",p.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==r.gasPrice&&(r.gasPrice=e.gasPrice),r.type=0):he.throwError("failed to get consistent fee data",p.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else 2===r.type&&(null==r.maxFeePerGas&&(r.maxFeePerGas=e.maxFeePerGas),null==r.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=e.maxPriorityFeePerGas))}else r.type=2;return null==r.nonce&&(r.nonce=this.getTransactionCount("pending")),null==r.gasLimit&&(r.gasLimit=this.estimateGas(r).catch((e=>{if(fe.indexOf(e.code)>=0)throw e;return he.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",p.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,tx:r})}))),null==r.chainId?r.chainId=this.getChainId():r.chainId=Promise.all([Promise.resolve(r.chainId),this.getChainId()]).then((r=>(0!==r[1]&&r[0]!==r[1]&&he.throwArgumentError("chainId address mismatch","transaction",e),r[0]))),yield ee(r)}))}_checkProvider(e){this.provider||he.throwError("missing provider",p.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})}static isSigner(e){return!(!e||!e._isSigner)}}const pe=new p("strings/5.4.0");var ge,me;function ve(e,r,t,o,n){if(e===me.BAD_PREFIX||e===me.UNEXPECTED_CONTINUE){let e=0;for(let o=r+1;o<t.length&&t[o]>>6==2;o++)e++;return e}return e===me.OVERRUN?t.length-r-1:0}!function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"}(ge||(ge={})),function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"}(me||(me={}));const be=Object.freeze({error:function(e,r,t,o,n){return pe.throwArgumentError(`invalid codepoint at offset ${r}; ${e}`,"bytes",t)},ignore:ve,replace:function(e,r,t,o,n){return e===me.OVERLONG?(o.push(n),0):(o.push(65533),ve(e,r,t))}});function ye(e,r=ge.current){r!=ge.current&&(pe.checkNormalize(),e=e.normalize(r));let t=[];for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o<128)t.push(o);else if(o<2048)t.push(o>>6|192),t.push(63&o|128);else if(55296==(64512&o)){r++;const n=e.charCodeAt(r);if(r>=e.length||56320!=(64512&n))throw new Error("invalid utf-8 string");const i=65536+((1023&o)<<10)+(1023&n);t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(63&i|128)}else t.push(o>>12|224),t.push(o>>6&63|128),t.push(63&o|128)}return A(t)}function Ae(e,r){return function(e,r){null==r&&(r=be.error),e=A(e);const t=[];let o=0;for(;o<e.length;){const n=e[o++];if(n>>7==0){t.push(n);continue}let i=null,a=null;if(192==(224&n))i=1,a=127;else if(224==(240&n))i=2,a=2047;else{if(240!=(248&n)){o+=r(128==(192&n)?me.UNEXPECTED_CONTINUE:me.BAD_PREFIX,o-1,e,t);continue}i=3,a=65535}if(o-1+i>=e.length){o+=r(me.OVERRUN,o-1,e,t);continue}let s=n&(1<<8-i-1)-1;for(let n=0;n<i;n++){let n=e[o];if(128!=(192&n)){o+=r(me.MISSING_CONTINUE,o,e,t),s=null;break}s=s<<6|63&n,o++}null!==s&&(s>1114111?o+=r(me.OUT_OF_RANGE,o-1-i,e,t,s):s>=55296&&s<=57343?o+=r(me.UTF16_SURROGATE,o-1-i,e,t,s):s<=a?o+=r(me.OVERLONG,o-1-i,e,t,s):t.push(s))}return t}(e,r).map((e=>e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e))))).join("")}function Me(e){return"string"==typeof e&&(e=ye(e)),Z(M([ye("Ethereum Signed Message:\n"),ye(String(e.length)),e]))}function Se(e){return Z(ye(e))}const Te=new p("hash/5.4.0"),Fe=new Uint8Array(32);Fe.fill(0);const Je=I.from(-1),Ce=I.from(0),Le=I.from(1),we=I.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),Pe=w(Le.toHexString(),32),Ee=w(Ce.toHexString(),32),Be={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},ke=["name","version","chainId","verifyingContract","salt"];function De(e){return function(r){return"string"!=typeof r&&Te.throwArgumentError(`invalid domain value for ${JSON.stringify(e)}`,`domain.${e}`,r),r}}const Re={name:De("name"),version:De("version"),chainId:function(e){try{return I.from(e).toString()}catch(e){}return Te.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",e)},verifyingContract:function(e){try{return Y(e).toLowerCase()}catch(e){}return Te.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",e)},salt:function(e){try{const r=A(e);if(32!==r.length)throw new Error("bad length");return J(r)}catch(e){}return Te.throwArgumentError('invalid domain value "salt"',"domain.salt",e)}};function Oe(e){{const r=e.match(/^(u?)int(\d*)$/);if(r){const t=""===r[1],o=parseInt(r[2]||"256");(o%8!=0||o>256||r[2]&&r[2]!==String(o))&&Te.throwArgumentError("invalid numeric width","type",e);const n=we.mask(t?o-1:o),i=t?n.add(Le).mul(Je):Ce;return function(r){const t=I.from(r);return(t.lt(i)||t.gt(n))&&Te.throwArgumentError(`value out-of-bounds for ${e}`,"value",r),w(t.toTwos(256).toHexString(),32)}}}{const r=e.match(/^bytes(\d+)$/);if(r){const t=parseInt(r[1]);return(0===t||t>32||r[1]!==String(t))&&Te.throwArgumentError("invalid bytes width","type",e),function(r){return A(r).length!==t&&Te.throwArgumentError(`invalid length for ${e}`,"value",r),function(e){const r=A(e),t=r.length%32;return t?L([r,Fe.slice(t)]):J(r)}(r)}}}switch(e){case"address":return function(e){return w(Y(e),32)};case"bool":return function(e){return e?Pe:Ee};case"bytes":return function(e){return Z(e)};case"string":return function(e){return Se(e)}}return null}function Xe(e,r){return`${e}(${r.map((({name:e,type:r})=>r+" "+e)).join(",")})`}class Ne{constructor(e){$(this,"types",Object.freeze(ie(e))),$(this,"_encoderCache",{}),$(this,"_types",{});const r={},t={},o={};Object.keys(e).forEach((e=>{r[e]={},t[e]=[],o[e]={}}));for(const o in e){const n={};e[o].forEach((i=>{n[i.name]&&Te.throwArgumentError(`duplicate variable name ${JSON.stringify(i.name)} in ${JSON.stringify(o)}`,"types",e),n[i.name]=!0;const a=i.type.match(/^([^\x5b]*)(\x5b|$)/)[1];a===o&&Te.throwArgumentError(`circular type reference to ${JSON.stringify(a)}`,"types",e),Oe(a)||(t[a]||Te.throwArgumentError(`unknown type ${JSON.stringify(a)}`,"types",e),t[a].push(o),r[o][a]=!0)}))}const n=Object.keys(t).filter((e=>0===t[e].length));0===n.length?Te.throwArgumentError("missing primary type","types",e):n.length>1&&Te.throwArgumentError(`ambiguous primary types or unused types: ${n.map((e=>JSON.stringify(e))).join(", ")}`,"types",e),$(this,"primaryType",n[0]),function n(i,a){a[i]&&Te.throwArgumentError(`circular type reference to ${JSON.stringify(i)}`,"types",e),a[i]=!0,Object.keys(r[i]).forEach((e=>{t[e]&&(n(e,a),Object.keys(a).forEach((r=>{o[r][e]=!0})))})),delete a[i]}(this.primaryType,{});for(const r in o){const t=Object.keys(o[r]);t.sort(),this._types[r]=Xe(r,e[r])+t.map((r=>Xe(r,e[r]))).join("")}}getEncoder(e){let r=this._encoderCache[e];return r||(r=this._encoderCache[e]=this._getEncoder(e)),r}_getEncoder(e){{const r=Oe(e);if(r)return r}const r=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){const e=r[1],t=this.getEncoder(e),o=parseInt(r[3]);return r=>{o>=0&&r.length!==o&&Te.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",r);let n=r.map(t);return this._types[e]&&(n=n.map(Z)),Z(L(n))}}const t=this.types[e];if(t){const r=Se(this._types[e]);return e=>{const o=t.map((({name:r,type:t})=>{const o=this.getEncoder(t)(e[r]);return this._types[t]?Z(o):o}));return o.unshift(r),L(o)}}return Te.throwArgumentError(`unknown type: ${e}`,"type",e)}encodeType(e){const r=this._types[e];return r||Te.throwArgumentError(`unknown type: ${JSON.stringify(e)}`,"name",e),r}encodeData(e,r){return this.getEncoder(e)(r)}hashStruct(e,r){return Z(this.encodeData(e,r))}encode(e){return this.encodeData(this.primaryType,e)}hash(e){return this.hashStruct(this.primaryType,e)}_visit(e,r,t){if(Oe(e))return t(e,r);const o=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(o){const e=o[1],n=parseInt(o[3]);return n>=0&&r.length!==n&&Te.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",r),r.map((r=>this._visit(e,r,t)))}const n=this.types[e];return n?n.reduce(((e,{name:o,type:n})=>(e[o]=this._visit(n,r[o],t),e)),{}):Te.throwArgumentError(`unknown type: ${e}`,"type",e)}visit(e,r){return this._visit(this.primaryType,e,r)}static from(e){return new Ne(e)}static getPrimaryType(e){return Ne.from(e).primaryType}static hashStruct(e,r,t){return Ne.from(r).hashStruct(e,t)}static hashDomain(e){const r=[];for(const t in e){const o=Be[t];o||Te.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(t)}`,"domain",e),r.push({name:t,type:o})}return r.sort(((e,r)=>ke.indexOf(e.name)-ke.indexOf(r.name))),Ne.hashStruct("EIP712Domain",{EIP712Domain:r},e)}static encode(e,r,t){return L(["0x1901",Ne.hashDomain(e),Ne.from(r).hash(t)])}static hash(e,r,t){return Z(Ne.encode(e,r,t))}static resolveNames(e,r,t,o){return n=this,i=void 0,s=function*(){e=re(e);const n={};e.verifyingContract&&!T(e.verifyingContract,20)&&(n[e.verifyingContract]="0x");const i=Ne.from(r);i.visit(t,((e,r)=>("address"!==e||T(r,20)||(n[r]="0x"),r)));for(const e in n)n[e]=yield o(e);return e.verifyingContract&&n[e.verifyingContract]&&(e.verifyingContract=n[e.verifyingContract]),t=i.visit(t,((e,r)=>"address"===e&&n[r]?n[r]:r)),{domain:e,value:t}},new((a=void 0)||(a=Promise))((function(e,r){function t(e){try{u(s.next(e))}catch(e){r(e)}}function o(e){try{u(s.throw(e))}catch(e){r(e)}}function u(r){var n;r.done?e(r.value):(n=r.value,n instanceof a?n:new a((function(e){e(n)}))).then(t,o)}u((s=s.apply(n,i||[])).next())}));var n,i,a,s}static getPayload(e,r,t){Ne.hashDomain(e);const o={},n=[];ke.forEach((r=>{const t=e[r];null!=t&&(o[r]=Re[r](t),n.push({name:r,type:Be[r]}))}));const i=Ne.from(r),a=re(r);return a.EIP712Domain?Te.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",r):a.EIP712Domain=n,i.encode(t),{types:a,domain:o,primaryType:i.primaryType,message:i.visit(t,((e,r)=>{if(e.match(/^bytes(\d*)/))return J(A(r));if(e.match(/^u?int/))return I.from(r).toString();switch(e){case"address":return r.toLowerCase();case"bool":return!!r;case"string":return"string"!=typeof r&&Te.throwArgumentError("invalid string","value",r),r}return Te.throwArgumentError("unsupported type","type",e)}))}}}class Ie{constructor(e){$(this,"alphabet",e),$(this,"base",e.length),$(this,"_alphabetMap",{}),$(this,"_leader",e.charAt(0));for(let r=0;r<e.length;r++)this._alphabetMap[e.charAt(r)]=r}encode(e){let r=A(e);if(0===r.length)return"";let t=[0];for(let e=0;e<r.length;++e){let o=r[e];for(let e=0;e<t.length;++e)o+=t[e]<<8,t[e]=o%this.base,o=o/this.base|0;for(;o>0;)t.push(o%this.base),o=o/this.base|0}let o="";for(let e=0;0===r[e]&&e<r.length-1;++e)o+=this._leader;for(let e=t.length-1;e>=0;--e)o+=this.alphabet[t[e]];return o}decode(e){if("string"!=typeof e)throw new TypeError("Expected String");let r=[];if(0===e.length)return new Uint8Array(r);r.push(0);for(let t=0;t<e.length;t++){let o=this._alphabetMap[e[t]];if(void 0===o)throw new Error("Non-base"+this.base+" character");let n=o;for(let e=0;e<r.length;++e)n+=r[e]*this.base,r[e]=255&n,n>>=8;for(;n>0;)r.push(255&n),n>>=8}for(let t=0;e[t]===this._leader&&t<e.length-1;++t)r.push(0);return A(new Uint8Array(r.reverse()))}}new Ie("abcdefghijklmnopqrstuvwxyz234567");const He=new Ie("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");var Ge,xe=t(715),Ue=t.n(xe);!function(e){e.sha256="sha256",e.sha512="sha512"}(Ge||(Ge={}));const Ve=new p("sha2/5.4.0");function ze(e){return"0x"+Ue().sha256().update(A(e)).digest("hex")}function Ze(e,r,t){return Ge[e]||Ve.throwError("unsupported algorithm "+e,p.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:e}),"0x"+Ue().hmac(Ue()[e],A(r)).update(A(t)).digest("hex")}function _e(e,r,t,o,n){let i;e=A(e),r=A(r);let a=1;const s=new Uint8Array(o),u=new Uint8Array(r.length+4);let l,h;u.set(r);for(let c=1;c<=a;c++){u[r.length]=c>>24&255,u[r.length+1]=c>>16&255,u[r.length+2]=c>>8&255,u[r.length+3]=255&c;let f=A(Ze(n,e,u));i||(i=f.length,h=new Uint8Array(i),a=Math.ceil(o/i),l=o-(a-1)*i),h.set(f);for(let r=1;r<t;r++){f=A(Ze(n,e,f));for(let e=0;e<i;e++)h[e]^=f[e]}const d=(c-1)*i,p=c===a?l:i;s.set(A(h).slice(0,p),d)}return J(s)}function Ke(e,r,t){return t={path:r,exports:{},require:function(e,r){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==r&&t.path)}},e(t,t.exports),t.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t.g?t.g:"undefined"!=typeof self&&self;var je=Qe;function Qe(e,r){if(!e)throw new Error(r||"Assertion failed")}Qe.equal=function(e,r,t){if(e!=r)throw new Error(t||"Assertion failed: "+e+" != "+r)};var qe=Ke((function(e,r){var t=r;function o(e){return 1===e.length?"0"+e:e}function n(e){for(var r="",t=0;t<e.length;t++)r+=o(e[t].toString(16));return r}t.toArray=function(e,r){if(Array.isArray(e))return e.slice();if(!e)return[];var t=[];if("string"!=typeof e){for(var o=0;o<e.length;o++)t[o]=0|e[o];return t}if("hex"===r)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)t.push(parseInt(e[o]+e[o+1],16));else for(o=0;o<e.length;o++){var n=e.charCodeAt(o),i=n>>8,a=255&n;i?t.push(i,a):t.push(a)}return t},t.zero2=o,t.toHex=n,t.encode=function(e,r){return"hex"===r?n(e):e}})),Ye=Ke((function(e,r){var t=r;t.assert=je,t.toArray=qe.toArray,t.zero2=qe.zero2,t.toHex=qe.toHex,t.encode=qe.encode,t.getNAF=function(e,r,t){var o=new Array(Math.max(e.bitLength(),t)+1);o.fill(0);for(var n=1<<r+1,i=e.clone(),a=0;a<o.length;a++){var s,u=i.andln(n-1);i.isOdd()?(s=u>(n>>1)-1?(n>>1)-u:u,i.isubn(s)):s=0,o[a]=s,i.iushrn(1)}return o},t.getJSF=function(e,r){var t=[[],[]];e=e.clone(),r=r.clone();for(var o,n=0,i=0;e.cmpn(-n)>0||r.cmpn(-i)>0;){var a,s,u=e.andln(3)+n&3,l=r.andln(3)+i&3;3===u&&(u=-1),3===l&&(l=-1),a=0==(1&u)?0:3!=(o=e.andln(7)+n&7)&&5!==o||2!==l?u:-u,t[0].push(a),s=0==(1&l)?0:3!=(o=r.andln(7)+i&7)&&5!==o||2!==u?l:-l,t[1].push(s),2*n===a+1&&(n=1-n),2*i===s+1&&(i=1-i),e.iushrn(1),r.iushrn(1)}return t},t.cachedProperty=function(e,r,t){var o="_"+r;e.prototype[r]=function(){return void 0!==this[o]?this[o]:this[o]=t.call(this)}},t.parseBytes=function(e){return"string"==typeof e?t.toArray(e,"hex"):e},t.intFromLE=function(e){return new(k())(e,"hex","le")}})),We=Ye.getNAF,$e=Ye.getJSF,er=Ye.assert;function rr(e,r){this.type=e,this.p=new(k())(r.p,16),this.red=r.prime?k().red(r.prime):k().mont(this.p),this.zero=new(k())(0).toRed(this.red),this.one=new(k())(1).toRed(this.red),this.two=new(k())(2).toRed(this.red),this.n=r.n&&new(k())(r.n,16),this.g=r.g&&this.pointFromJSON(r.g,r.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 t=this.n&&this.p.div(this.n);!t||t.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var tr=rr;function or(e,r){this.curve=e,this.type=r,this.precomputed=null}rr.prototype.point=function(){throw new Error("Not implemented")},rr.prototype.validate=function(){throw new Error("Not implemented")},rr.prototype._fixedNafMul=function(e,r){er(e.precomputed);var t=e._getDoubles(),o=We(r,1,this._bitLength),n=(1<<t.step+1)-(t.step%2==0?2:1);n/=3;var i,a,s=[];for(i=0;i<o.length;i+=t.step){a=0;for(var u=i+t.step-1;u>=i;u--)a=(a<<1)+o[u];s.push(a)}for(var l=this.jpoint(null,null,null),h=this.jpoint(null,null,null),c=n;c>0;c--){for(i=0;i<s.length;i++)(a=s[i])===c?h=h.mixedAdd(t.points[i]):a===-c&&(h=h.mixedAdd(t.points[i].neg()));l=l.add(h)}return l.toP()},rr.prototype._wnafMul=function(e,r){var t=4,o=e._getNAFPoints(t);t=o.wnd;for(var n=o.points,i=We(r,t,this._bitLength),a=this.jpoint(null,null,null),s=i.length-1;s>=0;s--){for(var u=0;s>=0&&0===i[s];s--)u++;if(s>=0&&u++,a=a.dblp(u),s<0)break;var l=i[s];er(0!==l),a="affine"===e.type?l>0?a.mixedAdd(n[l-1>>1]):a.mixedAdd(n[-l-1>>1].neg()):l>0?a.add(n[l-1>>1]):a.add(n[-l-1>>1].neg())}return"affine"===e.type?a.toP():a},rr.prototype._wnafMulAdd=function(e,r,t,o,n){var i,a,s,u=this._wnafT1,l=this._wnafT2,h=this._wnafT3,c=0;for(i=0;i<o;i++){var f=(s=r[i])._getNAFPoints(e);u[i]=f.wnd,l[i]=f.points}for(i=o-1;i>=1;i-=2){var d=i-1,p=i;if(1===u[d]&&1===u[p]){var g=[r[d],null,null,r[p]];0===r[d].y.cmp(r[p].y)?(g[1]=r[d].add(r[p]),g[2]=r[d].toJ().mixedAdd(r[p].neg())):0===r[d].y.cmp(r[p].y.redNeg())?(g[1]=r[d].toJ().mixedAdd(r[p]),g[2]=r[d].add(r[p].neg())):(g[1]=r[d].toJ().mixedAdd(r[p]),g[2]=r[d].toJ().mixedAdd(r[p].neg()));var m=[-3,-1,-5,-7,0,7,5,1,3],v=$e(t[d],t[p]);for(c=Math.max(v[0].length,c),h[d]=new Array(c),h[p]=new Array(c),a=0;a<c;a++){var b=0|v[0][a],y=0|v[1][a];h[d][a]=m[3*(b+1)+(y+1)],h[p][a]=0,l[d]=g}}else h[d]=We(t[d],u[d],this._bitLength),h[p]=We(t[p],u[p],this._bitLength),c=Math.max(h[d].length,c),c=Math.max(h[p].length,c)}var A=this.jpoint(null,null,null),M=this._wnafT4;for(i=c;i>=0;i--){for(var S=0;i>=0;){var T=!0;for(a=0;a<o;a++)M[a]=0|h[a][i],0!==M[a]&&(T=!1);if(!T)break;S++,i--}if(i>=0&&S++,A=A.dblp(S),i<0)break;for(a=0;a<o;a++){var F=M[a];0!==F&&(F>0?s=l[a][F-1>>1]:F<0&&(s=l[a][-F-1>>1].neg()),A="affine"===s.type?A.mixedAdd(s):A.add(s))}}for(i=0;i<o;i++)l[i]=null;return n?A:A.toP()},rr.BasePoint=or,or.prototype.eq=function(){throw new Error("Not implemented")},or.prototype.validate=function(){return this.curve.validate(this)},rr.prototype.decodePoint=function(e,r){e=Ye.toArray(e,r);var t=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*t)return 6===e[0]?er(e[e.length-1]%2==0):7===e[0]&&er(e[e.length-1]%2==1),this.point(e.slice(1,1+t),e.slice(1+t,1+2*t));if((2===e[0]||3===e[0])&&e.length-1===t)return this.pointFromX(e.slice(1,1+t),3===e[0]);throw new Error("Unknown point format")},or.prototype.encodeCompressed=function(e){return this.encode(e,!0)},or.prototype._encode=function(e){var r=this.curve.p.byteLength(),t=this.getX().toArray("be",r);return e?[this.getY().isEven()?2:3].concat(t):[4].concat(t,this.getY().toArray("be",r))},or.prototype.encode=function(e,r){return Ye.encode(this._encode(r),e)},or.prototype.precompute=function(e){if(this.precomputed)return this;var r={doubles:null,naf:null,beta:null};return r.naf=this._getNAFPoints(8),r.doubles=this._getDoubles(4,e),r.beta=this._getBeta(),this.precomputed=r,this},or.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var r=this.precomputed.doubles;return!!r&&r.points.length>=Math.ceil((e.bitLength()+1)/r.step)},or.prototype._getDoubles=function(e,r){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var t=[this],o=this,n=0;n<r;n+=e){for(var i=0;i<e;i++)o=o.dbl();t.push(o)}return{step:e,points:t}},or.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var r=[this],t=(1<<e)-1,o=1===t?null:this.dbl(),n=1;n<t;n++)r[n]=r[n-1].add(o);return{wnd:e,points:r}},or.prototype._getBeta=function(){return null},or.prototype.dblp=function(e){for(var r=this,t=0;t<e;t++)r=r.dbl();return r};var nr=Ke((function(e){"function"==typeof Object.create?e.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,r){if(r){e.super_=r;var t=function(){};t.prototype=r.prototype,e.prototype=new t,e.prototype.constructor=e}}})),ir=Ye.assert;function ar(e){tr.call(this,"short",e),this.a=new(k())(e.a,16).toRed(this.red),this.b=new(k())(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)}nr(ar,tr);var sr=ar;function ur(e,r,t,o){tr.BasePoint.call(this,e,"affine"),null===r&&null===t?(this.x=null,this.y=null,this.inf=!0):(this.x=new(k())(r,16),this.y=new(k())(t,16),o&&(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 lr(e,r,t,o){tr.BasePoint.call(this,e,"jacobian"),null===r&&null===t&&null===o?(this.x=this.curve.one,this.y=this.curve.one,this.z=new(k())(0)):(this.x=new(k())(r,16),this.y=new(k())(t,16),this.z=new(k())(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.zOne=this.z===this.curve.one}ar.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var r,t;if(e.beta)r=new(k())(e.beta,16).toRed(this.red);else{var o=this._getEndoRoots(this.p);r=(r=o[0].cmp(o[1])<0?o[0]:o[1]).toRed(this.red)}if(e.lambda)t=new(k())(e.lambda,16);else{var n=this._getEndoRoots(this.n);0===this.g.mul(n[0]).x.cmp(this.g.x.redMul(r))?t=n[0]:(t=n[1],ir(0===this.g.mul(t).x.cmp(this.g.x.redMul(r))))}return{beta:r,lambda:t,basis:e.basis?e.basis.map((function(e){return{a:new(k())(e.a,16),b:new(k())(e.b,16)}})):this._getEndoBasis(t)}}},ar.prototype._getEndoRoots=function(e){var r=e===this.p?this.red:k().mont(e),t=new(k())(2).toRed(r).redInvm(),o=t.redNeg(),n=new(k())(3).toRed(r).redNeg().redSqrt().redMul(t);return[o.redAdd(n).fromRed(),o.redSub(n).fromRed()]},ar.prototype._getEndoBasis=function(e){for(var r,t,o,n,i,a,s,u,l,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),c=e,f=this.n.clone(),d=new(k())(1),p=new(k())(0),g=new(k())(0),m=new(k())(1),v=0;0!==c.cmpn(0);){var b=f.div(c);u=f.sub(b.mul(c)),l=g.sub(b.mul(d));var y=m.sub(b.mul(p));if(!o&&u.cmp(h)<0)r=s.neg(),t=d,o=u.neg(),n=l;else if(o&&2==++v)break;s=u,f=c,c=u,g=d,d=l,m=p,p=y}i=u.neg(),a=l;var A=o.sqr().add(n.sqr());return i.sqr().add(a.sqr()).cmp(A)>=0&&(i=r,a=t),o.negative&&(o=o.neg(),n=n.neg()),i.negative&&(i=i.neg(),a=a.neg()),[{a:o,b:n},{a:i,b:a}]},ar.prototype._endoSplit=function(e){var r=this.endo.basis,t=r[0],o=r[1],n=o.b.mul(e).divRound(this.n),i=t.b.neg().mul(e).divRound(this.n),a=n.mul(t.a),s=i.mul(o.a),u=n.mul(t.b),l=i.mul(o.b);return{k1:e.sub(a).sub(s),k2:u.add(l).neg()}},ar.prototype.pointFromX=function(e,r){(e=new(k())(e,16)).red||(e=e.toRed(this.red));var t=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),o=t.redSqrt();if(0!==o.redSqr().redSub(t).cmp(this.zero))throw new Error("invalid point");var n=o.fromRed().isOdd();return(r&&!n||!r&&n)&&(o=o.redNeg()),this.point(e,o)},ar.prototype.validate=function(e){if(e.inf)return!0;var r=e.x,t=e.y,o=this.a.redMul(r),n=r.redSqr().redMul(r).redIAdd(o).redIAdd(this.b);return 0===t.redSqr().redISub(n).cmpn(0)},ar.prototype._endoWnafMulAdd=function(e,r,t){for(var o=this._endoWnafT1,n=this._endoWnafT2,i=0;i<e.length;i++){var a=this._endoSplit(r[i]),s=e[i],u=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),u=u.neg(!0)),o[2*i]=s,o[2*i+1]=u,n[2*i]=a.k1,n[2*i+1]=a.k2}for(var l=this._wnafMulAdd(1,o,n,2*i,t),h=0;h<2*i;h++)o[h]=null,n[h]=null;return l},nr(ur,tr.BasePoint),ar.prototype.point=function(e,r,t){return new ur(this,e,r,t)},ar.prototype.pointFromJSON=function(e,r){return ur.fromJSON(this,e,r)},ur.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var r=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var t=this.curve,o=function(e){return t.point(e.x.redMul(t.endo.beta),e.y)};e.beta=r,r.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(o)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(o)}}}return r}},ur.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]},ur.fromJSON=function(e,r,t){"string"==typeof r&&(r=JSON.parse(r));var o=e.point(r[0],r[1],t);if(!r[2])return o;function n(r){return e.point(r[0],r[1],t)}var i=r[2];return o.precomputed={beta:null,doubles:i.doubles&&{step:i.doubles.step,points:[o].concat(i.doubles.points.map(n))},naf:i.naf&&{wnd:i.naf.wnd,points:[o].concat(i.naf.points.map(n))}},o},ur.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)+">"},ur.prototype.isInfinity=function(){return this.inf},ur.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 r=this.y.redSub(e.y);0!==r.cmpn(0)&&(r=r.redMul(this.x.redSub(e.x).redInvm()));var t=r.redSqr().redISub(this.x).redISub(e.x),o=r.redMul(this.x.redSub(t)).redISub(this.y);return this.curve.point(t,o)},ur.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 r=this.curve.a,t=this.x.redSqr(),o=e.redInvm(),n=t.redAdd(t).redIAdd(t).redIAdd(r).redMul(o),i=n.redSqr().redISub(this.x.redAdd(this.x)),a=n.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,a)},ur.prototype.getX=function(){return this.x.fromRed()},ur.prototype.getY=function(){return this.y.fromRed()},ur.prototype.mul=function(e){return e=new(k())(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)},ur.prototype.mulAdd=function(e,r,t){var o=[this,r],n=[e,t];return this.curve.endo?this.curve._endoWnafMulAdd(o,n):this.curve._wnafMulAdd(1,o,n,2)},ur.prototype.jmulAdd=function(e,r,t){var o=[this,r],n=[e,t];return this.curve.endo?this.curve._endoWnafMulAdd(o,n,!0):this.curve._wnafMulAdd(1,o,n,2,!0)},ur.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))},ur.prototype.neg=function(e){if(this.inf)return this;var r=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var t=this.precomputed,o=function(e){return e.neg()};r.precomputed={naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(o)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(o)}}}return r},ur.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},nr(lr,tr.BasePoint),ar.prototype.jpoint=function(e,r,t){return new lr(this,e,r,t)},lr.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),r=e.redSqr(),t=this.x.redMul(r),o=this.y.redMul(r).redMul(e);return this.curve.point(t,o)},lr.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},lr.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var r=e.z.redSqr(),t=this.z.redSqr(),o=this.x.redMul(r),n=e.x.redMul(t),i=this.y.redMul(r.redMul(e.z)),a=e.y.redMul(t.redMul(this.z)),s=o.redSub(n),u=i.redSub(a);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),h=l.redMul(s),c=o.redMul(l),f=u.redSqr().redIAdd(h).redISub(c).redISub(c),d=u.redMul(c.redISub(f)).redISub(i.redMul(h)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(f,d,p)},lr.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var r=this.z.redSqr(),t=this.x,o=e.x.redMul(r),n=this.y,i=e.y.redMul(r).redMul(this.z),a=t.redSub(o),s=n.redSub(i);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),h=t.redMul(u),c=s.redSqr().redIAdd(l).redISub(h).redISub(h),f=s.redMul(h.redISub(c)).redISub(n.redMul(l)),d=this.z.redMul(a);return this.curve.jpoint(c,f,d)},lr.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var r;if(this.curve.zeroA||this.curve.threeA){var t=this;for(r=0;r<e;r++)t=t.dbl();return t}var o=this.curve.a,n=this.curve.tinv,i=this.x,a=this.y,s=this.z,u=s.redSqr().redSqr(),l=a.redAdd(a);for(r=0;r<e;r++){var h=i.redSqr(),c=l.redSqr(),f=c.redSqr(),d=h.redAdd(h).redIAdd(h).redIAdd(o.redMul(u)),p=i.redMul(c),g=d.redSqr().redISub(p.redAdd(p)),m=p.redISub(g),v=d.redMul(m);v=v.redIAdd(v).redISub(f);var b=l.redMul(s);r+1<e&&(u=u.redMul(f)),i=g,s=b,l=v}return this.curve.jpoint(i,l.redMul(n),s)},lr.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},lr.prototype._zeroDbl=function(){var e,r,t;if(this.zOne){var o=this.x.redSqr(),n=this.y.redSqr(),i=n.redSqr(),a=this.x.redAdd(n).redSqr().redISub(o).redISub(i);a=a.redIAdd(a);var s=o.redAdd(o).redIAdd(o),u=s.redSqr().redISub(a).redISub(a),l=i.redIAdd(i);l=(l=l.redIAdd(l)).redIAdd(l),e=u,r=s.redMul(a.redISub(u)).redISub(l),t=this.y.redAdd(this.y)}else{var h=this.x.redSqr(),c=this.y.redSqr(),f=c.redSqr(),d=this.x.redAdd(c).redSqr().redISub(h).redISub(f);d=d.redIAdd(d);var p=h.redAdd(h).redIAdd(h),g=p.redSqr(),m=f.redIAdd(f);m=(m=m.redIAdd(m)).redIAdd(m),e=g.redISub(d).redISub(d),r=p.redMul(d.redISub(e)).redISub(m),t=(t=this.y.redMul(this.z)).redIAdd(t)}return this.curve.jpoint(e,r,t)},lr.prototype._threeDbl=function(){var e,r,t;if(this.zOne){var o=this.x.redSqr(),n=this.y.redSqr(),i=n.redSqr(),a=this.x.redAdd(n).redSqr().redISub(o).redISub(i);a=a.redIAdd(a);var s=o.redAdd(o).redIAdd(o).redIAdd(this.curve.a),u=s.redSqr().redISub(a).redISub(a);e=u;var l=i.redIAdd(i);l=(l=l.redIAdd(l)).redIAdd(l),r=s.redMul(a.redISub(u)).redISub(l),t=this.y.redAdd(this.y)}else{var h=this.z.redSqr(),c=this.y.redSqr(),f=this.x.redMul(c),d=this.x.redSub(h).redMul(this.x.redAdd(h));d=d.redAdd(d).redIAdd(d);var p=f.redIAdd(f),g=(p=p.redIAdd(p)).redAdd(p);e=d.redSqr().redISub(g),t=this.y.redAdd(this.z).redSqr().redISub(c).redISub(h);var m=c.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),r=d.redMul(p.redISub(e)).redISub(m)}return this.curve.jpoint(e,r,t)},lr.prototype._dbl=function(){var e=this.curve.a,r=this.x,t=this.y,o=this.z,n=o.redSqr().redSqr(),i=r.redSqr(),a=t.redSqr(),s=i.redAdd(i).redIAdd(i).redIAdd(e.redMul(n)),u=r.redAdd(r),l=(u=u.redIAdd(u)).redMul(a),h=s.redSqr().redISub(l.redAdd(l)),c=l.redISub(h),f=a.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=s.redMul(c).redISub(f),p=t.redAdd(t).redMul(o);return this.curve.jpoint(h,d,p)},lr.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),r=this.y.redSqr(),t=this.z.redSqr(),o=r.redSqr(),n=e.redAdd(e).redIAdd(e),i=n.redSqr(),a=this.x.redAdd(r).redSqr().redISub(e).redISub(o),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(i)).redSqr(),u=o.redIAdd(o);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var l=n.redIAdd(a).redSqr().redISub(i).redISub(s).redISub(u),h=r.redMul(l);h=(h=h.redIAdd(h)).redIAdd(h);var c=this.x.redMul(s).redISub(h);c=(c=c.redIAdd(c)).redIAdd(c);var f=this.y.redMul(l.redMul(u.redISub(l)).redISub(a.redMul(s)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=this.z.redAdd(a).redSqr().redISub(t).redISub(s);return this.curve.jpoint(c,f,d)},lr.prototype.mul=function(e,r){return e=new(k())(e,r),this.curve._wnafMul(this,e)},lr.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var r=this.z.redSqr(),t=e.z.redSqr();if(0!==this.x.redMul(t).redISub(e.x.redMul(r)).cmpn(0))return!1;var o=r.redMul(this.z),n=t.redMul(e.z);return 0===this.y.redMul(n).redISub(e.y.redMul(o)).cmpn(0)},lr.prototype.eqXToP=function(e){var r=this.z.redSqr(),t=e.toRed(this.curve.red).redMul(r);if(0===this.x.cmp(t))return!0;for(var o=e.clone(),n=this.curve.redN.redMul(r);;){if(o.iadd(this.curve.n),o.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},lr.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)+">"},lr.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var hr=Ke((function(e,r){var t=r;t.base=tr,t.short=sr,t.mont=null,t.edwards=null})),cr=Ke((function(e,r){var t,o=r,n=Ye.assert;function i(e){"short"===e.type?this.curve=new hr.short(e):"edwards"===e.type?this.curve=new hr.edwards(e):this.curve=new hr.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,n(this.g.validate(),"Invalid curve"),n(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function a(e,r){Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get:function(){var t=new i(r);return Object.defineProperty(o,e,{configurable:!0,enumerable:!0,value:t}),t}})}o.PresetCurve=i,a("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:Ue().sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),a("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:Ue().sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),a("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:Ue().sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),a("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:Ue().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"]}),a("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:Ue().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"]}),a("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Ue().sha256,gRed:!1,g:["9"]}),a("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:Ue().sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{t=null.crash()}catch(e){t=void 0}a("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:Ue().sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",t]})}));function fr(e){if(!(this instanceof fr))return new fr(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var r=qe.toArray(e.entropy,e.entropyEnc||"hex"),t=qe.toArray(e.nonce,e.nonceEnc||"hex"),o=qe.toArray(e.pers,e.persEnc||"hex");je(r.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(r,t,o)}var dr=fr;fr.prototype._init=function(e,r,t){var o=e.concat(r).concat(t);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var n=0;n<this.V.length;n++)this.K[n]=0,this.V[n]=1;this._update(o),this._reseed=1,this.reseedInterval=281474976710656},fr.prototype._hmac=function(){return new(Ue().hmac)(this.hash,this.K)},fr.prototype._update=function(e){var r=this._hmac().update(this.V).update([0]);e&&(r=r.update(e)),this.K=r.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},fr.prototype.reseed=function(e,r,t,o){"string"!=typeof r&&(o=t,t=r,r=null),e=qe.toArray(e,r),t=qe.toArray(t,o),je(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(t||[])),this._reseed=1},fr.prototype.generate=function(e,r,t,o){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof r&&(o=t,t=r,r=null),t&&(t=qe.toArray(t,o||"hex"),this._update(t));for(var n=[];n.length<e;)this.V=this._hmac().update(this.V).digest(),n=n.concat(this.V);var i=n.slice(0,e);return this._update(t),this._reseed++,qe.encode(i,r)};var pr=Ye.assert;function gr(e,r){this.ec=e,this.priv=null,this.pub=null,r.priv&&this._importPrivate(r.priv,r.privEnc),r.pub&&this._importPublic(r.pub,r.pubEnc)}var mr=gr;gr.fromPublic=function(e,r,t){return r instanceof gr?r:new gr(e,{pub:r,pubEnc:t})},gr.fromPrivate=function(e,r,t){return r instanceof gr?r:new gr(e,{priv:r,privEnc:t})},gr.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"}},gr.prototype.getPublic=function(e,r){return"string"==typeof e&&(r=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),r?this.pub.encode(r,e):this.pub},gr.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},gr.prototype._importPrivate=function(e,r){this.priv=new(k())(e,r||16),this.priv=this.priv.umod(this.ec.curve.n)},gr.prototype._importPublic=function(e,r){if(e.x||e.y)return"mont"===this.ec.curve.type?pr(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||pr(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,r)},gr.prototype.derive=function(e){return e.validate()||pr(e.validate(),"public point not validated"),e.mul(this.priv).getX()},gr.prototype.sign=function(e,r,t){return this.ec.sign(e,this,r,t)},gr.prototype.verify=function(e,r){return this.ec.verify(e,r,this)},gr.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"};var vr=Ye.assert;function br(e,r){if(e instanceof br)return e;this._importDER(e,r)||(vr(e.r&&e.s,"Signature without r or s"),this.r=new(k())(e.r,16),this.s=new(k())(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var yr=br;function Ar(){this.place=0}function Mr(e,r){var t=e[r.place++];if(!(128&t))return t;var o=15&t;if(0===o||o>4)return!1;for(var n=0,i=0,a=r.place;i<o;i++,a++)n<<=8,n|=e[a],n>>>=0;return!(n<=127)&&(r.place=a,n)}function Sr(e){for(var r=0,t=e.length-1;!e[r]&&!(128&e[r+1])&&r<t;)r++;return 0===r?e:e.slice(r)}function Tr(e,r){if(r<128)e.push(r);else{var t=1+(Math.log(r)/Math.LN2>>>3);for(e.push(128|t);--t;)e.push(r>>>(t<<3)&255);e.push(r)}}br.prototype._importDER=function(e,r){e=Ye.toArray(e,r);var t=new Ar;if(48!==e[t.place++])return!1;var o=Mr(e,t);if(!1===o)return!1;if(o+t.place!==e.length)return!1;if(2!==e[t.place++])return!1;var n=Mr(e,t);if(!1===n)return!1;var i=e.slice(t.place,n+t.place);if(t.place+=n,2!==e[t.place++])return!1;var a=Mr(e,t);if(!1===a)return!1;if(e.length!==a+t.place)return!1;var s=e.slice(t.place,a+t.place);if(0===i[0]){if(!(128&i[1]))return!1;i=i.slice(1)}if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}return this.r=new(k())(i),this.s=new(k())(s),this.recoveryParam=null,!0},br.prototype.toDER=function(e){var r=this.r.toArray(),t=this.s.toArray();for(128&r[0]&&(r=[0].concat(r)),128&t[0]&&(t=[0].concat(t)),r=Sr(r),t=Sr(t);!(t[0]||128&t[1]);)t=t.slice(1);var o=[2];Tr(o,r.length),(o=o.concat(r)).push(2),Tr(o,t.length);var n=o.concat(t),i=[48];return Tr(i,n.length),i=i.concat(n),Ye.encode(i,e)};var Fr=function(){throw new Error("unsupported")},Jr=Ye.assert;function Cr(e){if(!(this instanceof Cr))return new Cr(e);"string"==typeof e&&(Jr(Object.prototype.hasOwnProperty.call(cr,e),"Unknown curve "+e),e=cr[e]),e instanceof cr.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}var Lr=Cr;Cr.prototype.keyPair=function(e){return new mr(this,e)},Cr.prototype.keyFromPrivate=function(e,r){return mr.fromPrivate(this,e,r)},Cr.prototype.keyFromPublic=function(e,r){return mr.fromPublic(this,e,r)},Cr.prototype.genKeyPair=function(e){e||(e={});for(var r=new dr({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||Fr(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),t=this.n.byteLength(),o=this.n.sub(new(k())(2));;){var n=new(k())(r.generate(t));if(!(n.cmp(o)>0))return n.iaddn(1),this.keyFromPrivate(n)}},Cr.prototype._truncateToN=function(e,r){var t=8*e.byteLength()-this.n.bitLength();return t>0&&(e=e.ushrn(t)),!r&&e.cmp(this.n)>=0?e.sub(this.n):e},Cr.prototype.sign=function(e,r,t,o){"object"==typeof t&&(o=t,t=null),o||(o={}),r=this.keyFromPrivate(r,t),e=this._truncateToN(new(k())(e,16));for(var n=this.n.byteLength(),i=r.getPrivate().toArray("be",n),a=e.toArray("be",n),s=new dr({hash:this.hash,entropy:i,nonce:a,pers:o.pers,persEnc:o.persEnc||"utf8"}),u=this.n.sub(new(k())(1)),l=0;;l++){var h=o.k?o.k(l):new(k())(s.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(u)>=0)){var c=this.g.mul(h);if(!c.isInfinity()){var f=c.getX(),d=f.umod(this.n);if(0!==d.cmpn(0)){var p=h.invm(this.n).mul(d.mul(r.getPrivate()).iadd(e));if(0!==(p=p.umod(this.n)).cmpn(0)){var g=(c.getY().isOdd()?1:0)|(0!==f.cmp(d)?2:0);return o.canonical&&p.cmp(this.nh)>0&&(p=this.n.sub(p),g^=1),new yr({r:d,s:p,recoveryParam:g})}}}}}},Cr.prototype.verify=function(e,r,t,o){e=this._truncateToN(new(k())(e,16)),t=this.keyFromPublic(t,o);var n=(r=new yr(r,"hex")).r,i=r.s;if(n.cmpn(1)<0||n.cmp(this.n)>=0)return!1;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var a,s=i.invm(this.n),u=s.mul(e).umod(this.n),l=s.mul(n).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,t.getPublic(),l)).isInfinity()&&a.eqXToP(n):!(a=this.g.mulAdd(u,t.getPublic(),l)).isInfinity()&&0===a.getX().umod(this.n).cmp(n)},Cr.prototype.recoverPubKey=function(e,r,t,o){Jr((3&t)===t,"The recovery param is more than two bits"),r=new yr(r,o);var n=this.n,i=new(k())(e),a=r.r,s=r.s,u=1&t,l=t>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");a=l?this.curve.pointFromX(a.add(this.curve.n),u):this.curve.pointFromX(a,u);var h=r.r.invm(n),c=n.sub(i).mul(h).umod(n),f=s.mul(h).umod(n);return this.g.mulAdd(c,a,f)},Cr.prototype.getKeyRecoveryParam=function(e,r,t,o){if(null!==(r=new yr(r,o)).recoveryParam)return r.recoveryParam;for(var n=0;n<4;n++){var i;try{i=this.recoverPubKey(e,r,n)}catch(e){continue}if(i.eq(t))return n}throw new Error("Unable to find valid recovery factor")};var wr=Ke((function(e,r){var t=r;t.version="6.5.4",t.utils=Ye,t.rand=function(){throw new Error("unsupported")},t.curve=hr,t.curves=cr,t.ec=Lr,t.eddsa=null})).ec;const Pr=new p("signing-key/5.4.0");let Er=null;function Br(){return Er||(Er=new wr("secp256k1")),Er}class kr{constructor(e){$(this,"curve","secp256k1"),$(this,"privateKey",J(e));const r=Br().keyFromPrivate(A(this.privateKey));$(this,"publicKey","0x"+r.getPublic(!1,"hex")),$(this,"compressedPublicKey","0x"+r.getPublic(!0,"hex")),$(this,"_isSigningKey",!0)}_addPoint(e){const r=Br().keyFromPublic(A(this.publicKey)),t=Br().keyFromPublic(A(e));return"0x"+r.pub.add(t.pub).encodeCompressed("hex")}signDigest(e){const r=Br().keyFromPrivate(A(this.privateKey)),t=A(e);32!==t.length&&Pr.throwArgumentError("bad digest length","digest",e);const o=r.sign(t,{canonical:!0});return P({recoveryParam:o.recoveryParam,r:w("0x"+o.r.toString(16),32),s:w("0x"+o.s.toString(16),32)})}computeSharedSecret(e){const r=Br().keyFromPrivate(A(this.privateKey)),t=Br().keyFromPublic(A(Dr(e)));return w("0x"+r.derive(t.getPublic()).toString(16),32)}static isSigningKey(e){return!(!e||!e._isSigningKey)}}function Dr(e,r){const t=A(e);if(32===t.length){const e=new kr(t);return r?"0x"+Br().keyFromPrivate(t).getPublic(!0,"hex"):e.publicKey}return 33===t.length?r?J(t):"0x"+Br().keyFromPublic(t).getPublic(!1,"hex"):65===t.length?r?"0x"+Br().keyFromPublic(t).getPublic(!0,"hex"):J(t):Pr.throwArgumentError("invalid public or private key","key","[REDACTED]")}const Rr=new p("rlp/5.4.0");function Or(e){const r=[];for(;e;)r.unshift(255&e),e>>=8;return r}function Xr(e){if(Array.isArray(e)){let r=[];if(e.forEach((function(e){r=r.concat(Xr(e))})),r.length<=55)return r.unshift(192+r.length),r;const t=Or(r.length);return t.unshift(247+t.length),t.concat(r)}b(e)||Rr.throwArgumentError("RLP object must be BytesLike","object",e);const r=Array.prototype.slice.call(A(e));if(1===r.length&&r[0]<=127)return r;if(r.length<=55)return r.unshift(128+r.length),r;const t=Or(r.length);return t.unshift(183+t.length),t.concat(r)}function Nr(e){return J(Xr(e))}const Ir=new p("transactions/5.4.0");var Hr;!function(e){e[e.legacy=0]="legacy",e[e.eip2930=1]="eip2930",e[e.eip1559=2]="eip1559"}(Hr||(Hr={}));const Gr=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],xr={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function Ur(e){return Y(C(Z(C(Dr(e),1)),12))}function Vr(e,r){const t=S(I.from(e).toHexString());return t.length>32&&Ir.throwArgumentError("invalid length for "+r,"transaction:"+r,e),t}function zr(e,r){return{address:Y(e),storageKeys:(r||[]).map(((r,t)=>(32!==function(e){if("string"!=typeof e)e=J(e);else if(!T(e)||e.length%2)return null;return(e.length-2)/2}(r)&&Ir.throwArgumentError("invalid access list storageKey",`accessList[${e}:${t}]`,r),r.toLowerCase())))}}function Zr(e){return function(e){if(Array.isArray(e))return e.map(((e,r)=>Array.isArray(e)?(e.length>2&&Ir.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${r}]`,e),zr(e[0],e[1])):zr(e.address,e.storageKeys)));const r=Object.keys(e).map((r=>{const t=e[r].reduce(((e,r)=>(e[r]=!0,e)),{});return zr(r,Object.keys(t).sort())}));return r.sort(((e,r)=>e.address.localeCompare(r.address))),r}(e).map((e=>[e.address,e.storageKeys]))}function _r(e,r){if(null==e.type||0===e.type)return null!=e.accessList&&Ir.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",e),function(e,r){var t,o;o=xr,(t=e)&&"object"==typeof t||W.throwArgumentError("invalid object","object",t),Object.keys(t).forEach((e=>{o[e]||W.throwArgumentError("invalid object key - "+e,"transaction:"+e,t)}));const n=[];Gr.forEach((function(r){let t=e[r.name]||[];const o={};r.numeric&&(o.hexPad="left"),t=A(J(t,o)),r.length&&t.length!==r.length&&t.length>0&&Ir.throwArgumentError("invalid length for "+r.name,"transaction:"+r.name,t),r.maxLength&&(t=S(t),t.length>r.maxLength&&Ir.throwArgumentError("invalid length for "+r.name,"transaction:"+r.name,t)),n.push(J(t))}));let i=0;if(null!=e.chainId?(i=e.chainId,"number"!=typeof i&&Ir.throwArgumentError("invalid transaction.chainId","transaction",e)):r&&!b(r)&&r.v>28&&(i=Math.floor((r.v-35)/2)),0!==i&&(n.push(J(i)),n.push("0x"),n.push("0x")),!r)return Nr(n);const a=P(r);let s=27+a.recoveryParam;return 0!==i?(n.pop(),n.pop(),n.pop(),s+=2*i+8,a.v>28&&a.v!==s&&Ir.throwArgumentError("transaction.chainId/signature.v mismatch","signature",r)):a.v!==s&&Ir.throwArgumentError("transaction.chainId/signature.v mismatch","signature",r),n.push(J(s)),n.push(S(A(a.r))),n.push(S(A(a.s))),Nr(n)}(e,r);switch(e.type){case 1:return function(e,r){const t=[Vr(e.chainId||0,"chainId"),Vr(e.nonce||0,"nonce"),Vr(e.gasPrice||0,"gasPrice"),Vr(e.gasLimit||0,"gasLimit"),null!=e.to?Y(e.to):"0x",Vr(e.value||0,"value"),e.data||"0x",Zr(e.accessList||[])];if(r){const e=P(r);t.push(Vr(e.recoveryParam,"recoveryParam")),t.push(S(e.r)),t.push(S(e.s))}return L(["0x01",Nr(t)])}(e,r);case 2:return function(e,r){if(null!=e.gasPrice){const r=I.from(e.gasPrice),t=I.from(e.maxFeePerGas||0);r.eq(t)||Ir.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:r,maxFeePerGas:t})}const t=[Vr(e.chainId||0,"chainId"),Vr(e.nonce||0,"nonce"),Vr(e.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),Vr(e.maxFeePerGas||0,"maxFeePerGas"),Vr(e.gasLimit||0,"gasLimit"),null!=e.to?Y(e.to):"0x",Vr(e.value||0,"value"),e.data||"0x",Zr(e.accessList||[])];if(r){const e=P(r);t.push(Vr(e.recoveryParam,"recoveryParam")),t.push(S(e.r)),t.push(S(e.s))}return L(["0x02",Nr(t)])}(e,r)}return Ir.throwError(`unsupported transaction type: ${e.type}`,p.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:e.type})}const Kr=new p("wordlists/5.4.0");class jr{constructor(e){Kr.checkAbstract(new.target,jr),$(this,"locale",e)}split(e){return e.toLowerCase().split(/ +/g)}join(e){return e.join(" ")}static check(e){const r=[];for(let t=0;t<2048;t++){const o=e.getWord(t);if(t!==e.getWordIndex(o))return"0x";r.push(o)}return Se(r.join("\n")+"\n")}static register(e,r){r||(r=e.locale)}}let Qr=null;function qr(e){if(null==Qr&&(Qr="AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a"!==jr.check(e)))throw Qr=null,new Error("BIP39 Wordlist for en (English) FAILED")}const Yr=new class extends jr{constructor(){super("cz")}getWord(e){return qr(this),Qr[e]}getWordIndex(e){return qr(this),Qr.indexOf(e)}};jr.register(Yr);let Wr=null;function $r(e){if(null==Wr&&(Wr="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"!==jr.check(e)))throw Wr=null,new Error("BIP39 Wordlist for en (English) FAILED")}const et=new class extends jr{constructor(){super("en")}getWord(e){return $r(this),Wr[e]}getWordIndex(e){return $r(this),Wr.indexOf(e)}};jr.register(et);const rt={};let tt=null;function ot(e){return Kr.checkNormalize(),Ae(Array.prototype.filter.call(ye(e.normalize("NFD").toLowerCase()),(e=>e>=65&&e<=90||e>=97&&e<=123)))}function nt(e){if(null==tt&&(tt="A/bacoAbdomenAbejaAbiertoAbogadoAbonoAbortoAbrazoAbrirAbueloAbusoAcabarAcademiaAccesoAccio/nAceiteAcelgaAcentoAceptarA/cidoAclararAcne/AcogerAcosoActivoActoActrizActuarAcudirAcuerdoAcusarAdictoAdmitirAdoptarAdornoAduanaAdultoAe/reoAfectarAficio/nAfinarAfirmarA/gilAgitarAgoni/aAgostoAgotarAgregarAgrioAguaAgudoA/guilaAgujaAhogoAhorroAireAislarAjedrezAjenoAjusteAlacra/nAlambreAlarmaAlbaA/lbumAlcaldeAldeaAlegreAlejarAlertaAletaAlfilerAlgaAlgodo/nAliadoAlientoAlivioAlmaAlmejaAlmi/barAltarAltezaAltivoAltoAlturaAlumnoAlzarAmableAmanteAmapolaAmargoAmasarA/mbarA/mbitoAmenoAmigoAmistadAmorAmparoAmplioAnchoAncianoAnclaAndarAnde/nAnemiaA/nguloAnilloA/nimoAni/sAnotarAntenaAntiguoAntojoAnualAnularAnuncioA~adirA~ejoA~oApagarAparatoApetitoApioAplicarApodoAporteApoyoAprenderAprobarApuestaApuroAradoAra~aArarA/rbitroA/rbolArbustoArchivoArcoArderArdillaArduoA/reaA/ridoAriesArmoni/aArne/sAromaArpaArpo/nArregloArrozArrugaArteArtistaAsaAsadoAsaltoAscensoAsegurarAseoAsesorAsientoAsiloAsistirAsnoAsombroA/speroAstillaAstroAstutoAsumirAsuntoAtajoAtaqueAtarAtentoAteoA/ticoAtletaA/tomoAtraerAtrozAtu/nAudazAudioAugeAulaAumentoAusenteAutorAvalAvanceAvaroAveAvellanaAvenaAvestruzAvio/nAvisoAyerAyudaAyunoAzafra/nAzarAzoteAzu/carAzufreAzulBabaBaborBacheBahi/aBaileBajarBalanzaBalco/nBaldeBambu/BancoBandaBa~oBarbaBarcoBarnizBarroBa/sculaBasto/nBasuraBatallaBateri/aBatirBatutaBau/lBazarBebe/BebidaBelloBesarBesoBestiaBichoBienBingoBlancoBloqueBlusaBoaBobinaBoboBocaBocinaBodaBodegaBoinaBolaBoleroBolsaBombaBondadBonitoBonoBonsa/iBordeBorrarBosqueBoteBoti/nBo/vedaBozalBravoBrazoBrechaBreveBrilloBrincoBrisaBrocaBromaBronceBroteBrujaBruscoBrutoBuceoBucleBuenoBueyBufandaBufo/nBu/hoBuitreBultoBurbujaBurlaBurroBuscarButacaBuzo/nCaballoCabezaCabinaCabraCacaoCada/verCadenaCaerCafe/Cai/daCaima/nCajaCajo/nCalCalamarCalcioCaldoCalidadCalleCalmaCalorCalvoCamaCambioCamelloCaminoCampoCa/ncerCandilCanelaCanguroCanicaCantoCa~aCa~o/nCaobaCaosCapazCapita/nCapoteCaptarCapuchaCaraCarbo/nCa/rcelCaretaCargaCari~oCarneCarpetaCarroCartaCasaCascoCaseroCaspaCastorCatorceCatreCaudalCausaCazoCebollaCederCedroCeldaCe/lebreCelosoCe/lulaCementoCenizaCentroCercaCerdoCerezaCeroCerrarCertezaCe/spedCetroChacalChalecoChampu/ChanclaChapaCharlaChicoChisteChivoChoqueChozaChuletaChuparCiclo/nCiegoCieloCienCiertoCifraCigarroCimaCincoCineCintaCipre/sCircoCiruelaCisneCitaCiudadClamorClanClaroClaseClaveClienteClimaCli/nicaCobreCoccio/nCochinoCocinaCocoCo/digoCodoCofreCogerCoheteCoji/nCojoColaColchaColegioColgarColinaCollarColmoColumnaCombateComerComidaCo/modoCompraCondeConejoCongaConocerConsejoContarCopaCopiaCorazo/nCorbataCorchoCordo/nCoronaCorrerCoserCosmosCostaCra/neoCra/terCrearCrecerCrei/doCremaCri/aCrimenCriptaCrisisCromoCro/nicaCroquetaCrudoCruzCuadroCuartoCuatroCuboCubrirCucharaCuelloCuentoCuerdaCuestaCuevaCuidarCulebraCulpaCultoCumbreCumplirCunaCunetaCuotaCupo/nCu/pulaCurarCuriosoCursoCurvaCutisDamaDanzaDarDardoDa/tilDeberDe/bilDe/cadaDecirDedoDefensaDefinirDejarDelfi/nDelgadoDelitoDemoraDensoDentalDeporteDerechoDerrotaDesayunoDeseoDesfileDesnudoDestinoDesvi/oDetalleDetenerDeudaDi/aDiabloDiademaDiamanteDianaDiarioDibujoDictarDienteDietaDiezDifi/cilDignoDilemaDiluirDineroDirectoDirigirDiscoDise~oDisfrazDivaDivinoDobleDoceDolorDomingoDonDonarDoradoDormirDorsoDosDosisDrago/nDrogaDuchaDudaDueloDue~oDulceDu/oDuqueDurarDurezaDuroE/banoEbrioEcharEcoEcuadorEdadEdicio/nEdificioEditorEducarEfectoEficazEjeEjemploElefanteElegirElementoElevarElipseE/liteElixirElogioEludirEmbudoEmitirEmocio/nEmpateEmpe~oEmpleoEmpresaEnanoEncargoEnchufeEnci/aEnemigoEneroEnfadoEnfermoEnga~oEnigmaEnlaceEnormeEnredoEnsayoEnse~arEnteroEntrarEnvaseEnvi/oE/pocaEquipoErizoEscalaEscenaEscolarEscribirEscudoEsenciaEsferaEsfuerzoEspadaEspejoEspi/aEsposaEspumaEsqui/EstarEsteEstiloEstufaEtapaEternoE/ticaEtniaEvadirEvaluarEventoEvitarExactoExamenExcesoExcusaExentoExigirExilioExistirE/xitoExpertoExplicarExponerExtremoFa/bricaFa/bulaFachadaFa/cilFactorFaenaFajaFaldaFalloFalsoFaltarFamaFamiliaFamosoFarao/nFarmaciaFarolFarsaFaseFatigaFaunaFavorFaxFebreroFechaFelizFeoFeriaFerozFe/rtilFervorFesti/nFiableFianzaFiarFibraFiccio/nFichaFideoFiebreFielFieraFiestaFiguraFijarFijoFilaFileteFilialFiltroFinFincaFingirFinitoFirmaFlacoFlautaFlechaFlorFlotaFluirFlujoFlu/orFobiaFocaFogataFogo/nFolioFolletoFondoFormaForroFortunaForzarFosaFotoFracasoFra/gilFranjaFraseFraudeFrei/rFrenoFresaFri/oFritoFrutaFuegoFuenteFuerzaFugaFumarFuncio/nFundaFurgo/nFuriaFusilFu/tbolFuturoGacelaGafasGaitaGajoGalaGaleri/aGalloGambaGanarGanchoGangaGansoGarajeGarzaGasolinaGastarGatoGavila/nGemeloGemirGenGe/neroGenioGenteGeranioGerenteGermenGestoGiganteGimnasioGirarGiroGlaciarGloboGloriaGolGolfoGolosoGolpeGomaGordoGorilaGorraGotaGoteoGozarGradaGra/ficoGranoGrasaGratisGraveGrietaGrilloGripeGrisGritoGrosorGru/aGruesoGrumoGrupoGuanteGuapoGuardiaGuerraGui/aGui~oGuionGuisoGuitarraGusanoGustarHaberHa/bilHablarHacerHachaHadaHallarHamacaHarinaHazHaza~aHebillaHebraHechoHeladoHelioHembraHerirHermanoHe/roeHervirHieloHierroHi/gadoHigieneHijoHimnoHistoriaHocicoHogarHogueraHojaHombreHongoHonorHonraHoraHormigaHornoHostilHoyoHuecoHuelgaHuertaHuesoHuevoHuidaHuirHumanoHu/medoHumildeHumoHundirHuraca/nHurtoIconoIdealIdiomaI/doloIglesiaIglu/IgualIlegalIlusio/nImagenIma/nImitarImparImperioImponerImpulsoIncapazI/ndiceInerteInfielInformeIngenioInicioInmensoInmuneInnatoInsectoInstanteIntere/sI/ntimoIntuirInu/tilInviernoIraIrisIroni/aIslaIsloteJabali/Jabo/nJamo/nJarabeJardi/nJarraJaulaJazmi/nJefeJeringaJineteJornadaJorobaJovenJoyaJuergaJuevesJuezJugadorJugoJugueteJuicioJuncoJunglaJunioJuntarJu/piterJurarJustoJuvenilJuzgarKiloKoalaLabioLacioLacraLadoLadro/nLagartoLa/grimaLagunaLaicoLamerLa/minaLa/mparaLanaLanchaLangostaLanzaLa/pizLargoLarvaLa/stimaLataLa/texLatirLaurelLavarLazoLealLeccio/nLecheLectorLeerLegio/nLegumbreLejanoLenguaLentoLe~aLeo/nLeopardoLesio/nLetalLetraLeveLeyendaLibertadLibroLicorLi/derLidiarLienzoLigaLigeroLimaLi/miteLimo/nLimpioLinceLindoLi/neaLingoteLinoLinternaLi/quidoLisoListaLiteraLitioLitroLlagaLlamaLlantoLlaveLlegarLlenarLlevarLlorarLloverLluviaLoboLocio/nLocoLocuraLo/gicaLogroLombrizLomoLonjaLoteLuchaLucirLugarLujoLunaLunesLupaLustroLutoLuzMacetaMachoMaderaMadreMaduroMaestroMafiaMagiaMagoMai/zMaldadMaletaMallaMaloMama/MamboMamutMancoMandoManejarMangaManiqui/ManjarManoMansoMantaMa~anaMapaMa/quinaMarMarcoMareaMarfilMargenMaridoMa/rmolMarro/nMartesMarzoMasaMa/scaraMasivoMatarMateriaMatizMatrizMa/ximoMayorMazorcaMechaMedallaMedioMe/dulaMejillaMejorMelenaMelo/nMemoriaMenorMensajeMenteMenu/MercadoMerengueMe/ritoMesMeso/nMetaMeterMe/todoMetroMezclaMiedoMielMiembroMigaMilMilagroMilitarMillo/nMimoMinaMineroMi/nimoMinutoMiopeMirarMisaMiseriaMisilMismoMitadMitoMochilaMocio/nModaModeloMohoMojarMoldeMolerMolinoMomentoMomiaMonarcaMonedaMonjaMontoMo~oMoradaMorderMorenoMorirMorroMorsaMortalMoscaMostrarMotivoMoverMo/vilMozoMuchoMudarMuebleMuelaMuerteMuestraMugreMujerMulaMuletaMultaMundoMu~ecaMuralMuroMu/sculoMuseoMusgoMu/sicaMusloNa/carNacio/nNadarNaipeNaranjaNarizNarrarNasalNatalNativoNaturalNa/useaNavalNaveNavidadNecioNe/ctarNegarNegocioNegroNeo/nNervioNetoNeutroNevarNeveraNichoNidoNieblaNietoNi~ezNi~oNi/tidoNivelNoblezaNocheNo/minaNoriaNormaNorteNotaNoticiaNovatoNovelaNovioNubeNucaNu/cleoNudilloNudoNueraNueveNuezNuloNu/meroNutriaOasisObesoObispoObjetoObraObreroObservarObtenerObvioOcaOcasoOce/anoOchentaOchoOcioOcreOctavoOctubreOcultoOcuparOcurrirOdiarOdioOdiseaOesteOfensaOfertaOficioOfrecerOgroOi/doOi/rOjoOlaOleadaOlfatoOlivoOllaOlmoOlorOlvidoOmbligoOndaOnzaOpacoOpcio/nO/peraOpinarOponerOptarO/pticaOpuestoOracio/nOradorOralO/rbitaOrcaOrdenOrejaO/rganoOrgi/aOrgulloOrienteOrigenOrillaOroOrquestaOrugaOsadi/aOscuroOseznoOsoOstraOto~oOtroOvejaO/vuloO/xidoOxi/genoOyenteOzonoPactoPadrePaellaPa/ginaPagoPai/sPa/jaroPalabraPalcoPaletaPa/lidoPalmaPalomaPalparPanPanalPa/nicoPanteraPa~ueloPapa/PapelPapillaPaquetePararParcelaParedParirParoPa/rpadoParquePa/rrafoPartePasarPaseoPasio/nPasoPastaPataPatioPatriaPausaPautaPavoPayasoPeato/nPecadoPeceraPechoPedalPedirPegarPeinePelarPelda~oPeleaPeligroPellejoPeloPelucaPenaPensarPe~o/nPeo/nPeorPepinoPeque~oPeraPerchaPerderPerezaPerfilPericoPerlaPermisoPerroPersonaPesaPescaPe/simoPesta~aPe/taloPetro/leoPezPezu~aPicarPicho/nPiePiedraPiernaPiezaPijamaPilarPilotoPimientaPinoPintorPinzaPi~aPiojoPipaPirataPisarPiscinaPisoPistaPito/nPizcaPlacaPlanPlataPlayaPlazaPleitoPlenoPlomoPlumaPluralPobrePocoPoderPodioPoemaPoesi/aPoetaPolenPolici/aPolloPolvoPomadaPomeloPomoPompaPonerPorcio/nPortalPosadaPoseerPosiblePostePotenciaPotroPozoPradoPrecozPreguntaPremioPrensaPresoPrevioPrimoPri/ncipePrisio/nPrivarProaProbarProcesoProductoProezaProfesorProgramaProlePromesaProntoPropioPro/ximoPruebaPu/blicoPucheroPudorPuebloPuertaPuestoPulgaPulirPulmo/nPulpoPulsoPumaPuntoPu~alPu~oPupaPupilaPure/QuedarQuejaQuemarQuererQuesoQuietoQui/micaQuinceQuitarRa/banoRabiaRaboRacio/nRadicalRai/zRamaRampaRanchoRangoRapazRa/pidoRaptoRasgoRaspaRatoRayoRazaRazo/nReaccio/nRealidadReba~oReboteRecaerRecetaRechazoRecogerRecreoRectoRecursoRedRedondoReducirReflejoReformaRefra/nRefugioRegaloRegirReglaRegresoRehe/nReinoRei/rRejaRelatoRelevoRelieveRellenoRelojRemarRemedioRemoRencorRendirRentaRepartoRepetirReposoReptilResRescateResinaRespetoRestoResumenRetiroRetornoRetratoReunirReve/sRevistaReyRezarRicoRiegoRiendaRiesgoRifaRi/gidoRigorRinco/nRi~o/nRi/oRiquezaRisaRitmoRitoRizoRobleRoceRociarRodarRodeoRodillaRoerRojizoRojoRomeroRomperRonRoncoRondaRopaRoperoRosaRoscaRostroRotarRubi/RuborRudoRuedaRugirRuidoRuinaRuletaRuloRumboRumorRupturaRutaRutinaSa/badoSaberSabioSableSacarSagazSagradoSalaSaldoSaleroSalirSalmo/nSalo/nSalsaSaltoSaludSalvarSambaSancio/nSandi/aSanearSangreSanidadSanoSantoSapoSaqueSardinaSarte/nSastreSata/nSaunaSaxofo/nSeccio/nSecoSecretoSectaSedSeguirSeisSelloSelvaSemanaSemillaSendaSensorSe~alSe~orSepararSepiaSequi/aSerSerieSermo/nServirSesentaSesio/nSetaSetentaSeveroSexoSextoSidraSiestaSieteSigloSignoSi/labaSilbarSilencioSillaSi/mboloSimioSirenaSistemaSitioSituarSobreSocioSodioSolSolapaSoldadoSoledadSo/lidoSoltarSolucio/nSombraSondeoSonidoSonoroSonrisaSopaSoplarSoporteSordoSorpresaSorteoSoste/nSo/tanoSuaveSubirSucesoSudorSuegraSueloSue~oSuerteSufrirSujetoSulta/nSumarSuperarSuplirSuponerSupremoSurSurcoSure~oSurgirSustoSutilTabacoTabiqueTablaTabu/TacoTactoTajoTalarTalcoTalentoTallaTalo/nTama~oTamborTangoTanqueTapaTapeteTapiaTapo/nTaquillaTardeTareaTarifaTarjetaTarotTarroTartaTatuajeTauroTazaTazo/nTeatroTechoTeclaTe/cnicaTejadoTejerTejidoTelaTele/fonoTemaTemorTemploTenazTenderTenerTenisTensoTeori/aTerapiaTercoTe/rminoTernuraTerrorTesisTesoroTestigoTeteraTextoTezTibioTiburo/nTiempoTiendaTierraTiesoTigreTijeraTildeTimbreTi/midoTimoTintaTi/oTi/picoTipoTiraTiro/nTita/nTi/tereTi/tuloTizaToallaTobilloTocarTocinoTodoTogaToldoTomarTonoTontoToparTopeToqueTo/raxToreroTormentaTorneoToroTorpedoTorreTorsoTortugaTosToscoToserTo/xicoTrabajoTractorTraerTra/ficoTragoTrajeTramoTranceTratoTraumaTrazarTre/bolTreguaTreintaTrenTreparTresTribuTrigoTripaTristeTriunfoTrofeoTrompaTroncoTropaTroteTrozoTrucoTruenoTrufaTuberi/aTuboTuertoTumbaTumorTu/nelTu/nicaTurbinaTurismoTurnoTutorUbicarU/lceraUmbralUnidadUnirUniversoUnoUntarU~aUrbanoUrbeUrgenteUrnaUsarUsuarioU/tilUtopi/aUvaVacaVaci/oVacunaVagarVagoVainaVajillaValeVa/lidoValleValorVa/lvulaVampiroVaraVariarVaro/nVasoVecinoVectorVehi/culoVeinteVejezVelaVeleroVelozVenaVencerVendaVenenoVengarVenirVentaVenusVerVeranoVerboVerdeVeredaVerjaVersoVerterVi/aViajeVibrarVicioVi/ctimaVidaVi/deoVidrioViejoViernesVigorVilVillaVinagreVinoVi~edoVioli/nViralVirgoVirtudVisorVi/speraVistaVitaminaViudoVivazViveroVivirVivoVolca/nVolumenVolverVorazVotarVotoVozVueloVulgarYacerYateYeguaYemaYernoYesoYodoYogaYogurZafiroZanjaZapatoZarzaZonaZorroZumoZurdo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map((e=>function(e){const r=[];return Array.prototype.forEach.call(ye(e),(e=>{47===e?(r.push(204),r.push(129)):126===e?(r.push(110),r.push(204),r.push(131)):r.push(e)})),Ae(r)}(e))),tt.forEach(((e,r)=>{rt[ot(e)]=r})),"0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300"!==jr.check(e)))throw tt=null,new Error("BIP39 Wordlist for es (Spanish) FAILED")}const it=new class extends jr{constructor(){super("es")}getWord(e){return nt(this),tt[e]}getWordIndex(e){return nt(this),rt[ot(e)]}};jr.register(it);let at=null;const st={};function ut(e){return Kr.checkNormalize(),Ae(Array.prototype.filter.call(ye(e.normalize("NFD").toLowerCase()),(e=>e>=65&&e<=90||e>=97&&e<=123)))}function lt(e){if(null==at&&(at="AbaisserAbandonAbdiquerAbeilleAbolirAborderAboutirAboyerAbrasifAbreuverAbriterAbrogerAbruptAbsenceAbsoluAbsurdeAbusifAbyssalAcade/mieAcajouAcarienAccablerAccepterAcclamerAccoladeAccrocheAccuserAcerbeAchatAcheterAcidulerAcierAcompteAcque/rirAcronymeActeurActifActuelAdepteAde/quatAdhe/sifAdjectifAdjugerAdmettreAdmirerAdopterAdorerAdoucirAdresseAdroitAdulteAdverbeAe/rerAe/ronefAffaireAffecterAfficheAffreuxAffublerAgacerAgencerAgileAgiterAgraferAgre/ableAgrumeAiderAiguilleAilierAimableAisanceAjouterAjusterAlarmerAlchimieAlerteAlge-breAlgueAlie/nerAlimentAlle/gerAlliageAllouerAllumerAlourdirAlpagaAltesseAlve/oleAmateurAmbiguAmbreAme/nagerAmertumeAmidonAmiralAmorcerAmourAmovibleAmphibieAmpleurAmusantAnalyseAnaphoreAnarchieAnatomieAncienAne/antirAngleAngoisseAnguleuxAnimalAnnexerAnnonceAnnuelAnodinAnomalieAnonymeAnormalAntenneAntidoteAnxieuxApaiserApe/ritifAplanirApologieAppareilAppelerApporterAppuyerAquariumAqueducArbitreArbusteArdeurArdoiseArgentArlequinArmatureArmementArmoireArmureArpenterArracherArriverArroserArsenicArte/rielArticleAspectAsphalteAspirerAssautAsservirAssietteAssocierAssurerAsticotAstreAstuceAtelierAtomeAtriumAtroceAttaqueAttentifAttirerAttraperAubaineAubergeAudaceAudibleAugurerAuroreAutomneAutrucheAvalerAvancerAvariceAvenirAverseAveugleAviateurAvideAvionAviserAvoineAvouerAvrilAxialAxiomeBadgeBafouerBagageBaguetteBaignadeBalancerBalconBaleineBalisageBambinBancaireBandageBanlieueBannie-reBanquierBarbierBarilBaronBarqueBarrageBassinBastionBatailleBateauBatterieBaudrierBavarderBeletteBe/lierBeloteBe/ne/ficeBerceauBergerBerlineBermudaBesaceBesogneBe/tailBeurreBiberonBicycleBiduleBijouBilanBilingueBillardBinaireBiologieBiopsieBiotypeBiscuitBisonBistouriBitumeBizarreBlafardBlagueBlanchirBlessantBlinderBlondBloquerBlousonBobardBobineBoireBoiserBolideBonbonBondirBonheurBonifierBonusBordureBorneBotteBoucleBoueuxBougieBoulonBouquinBourseBoussoleBoutiqueBoxeurBrancheBrasierBraveBrebisBre-cheBreuvageBricolerBrigadeBrillantBriocheBriqueBrochureBroderBronzerBrousseBroyeurBrumeBrusqueBrutalBruyantBuffleBuissonBulletinBureauBurinBustierButinerButoirBuvableBuvetteCabanonCabineCachetteCadeauCadreCafe/ineCaillouCaissonCalculerCalepinCalibreCalmerCalomnieCalvaireCamaradeCame/raCamionCampagneCanalCanetonCanonCantineCanularCapableCaporalCapriceCapsuleCapterCapucheCarabineCarboneCaresserCaribouCarnageCarotteCarreauCartonCascadeCasierCasqueCassureCauserCautionCavalierCaverneCaviarCe/dilleCeintureCe/lesteCelluleCendrierCensurerCentralCercleCe/re/bralCeriseCernerCerveauCesserChagrinChaiseChaleurChambreChanceChapitreCharbonChasseurChatonChaussonChavirerChemiseChenilleChe/quierChercherChevalChienChiffreChignonChime-reChiotChlorureChocolatChoisirChoseChouetteChromeChuteCigareCigogneCimenterCine/maCintrerCirculerCirerCirqueCiterneCitoyenCitronCivilClaironClameurClaquerClasseClavierClientClignerClimatClivageClocheClonageCloporteCobaltCobraCocasseCocotierCoderCodifierCoffreCognerCohe/sionCoifferCoincerCole-reColibriCollineColmaterColonelCombatCome/dieCommandeCompactConcertConduireConfierCongelerConnoterConsonneContactConvexeCopainCopieCorailCorbeauCordageCornicheCorpusCorrectCorte-geCosmiqueCostumeCotonCoudeCoupureCourageCouteauCouvrirCoyoteCrabeCrainteCravateCrayonCre/atureCre/diterCre/meuxCreuserCrevetteCriblerCrierCristalCrite-reCroireCroquerCrotaleCrucialCruelCrypterCubiqueCueillirCuille-reCuisineCuivreCulminerCultiverCumulerCupideCuratifCurseurCyanureCycleCylindreCyniqueDaignerDamierDangerDanseurDauphinDe/battreDe/biterDe/borderDe/briderDe/butantDe/calerDe/cembreDe/chirerDe/ciderDe/clarerDe/corerDe/crireDe/cuplerDe/daleDe/ductifDe/esseDe/fensifDe/filerDe/frayerDe/gagerDe/givrerDe/glutirDe/graferDe/jeunerDe/liceDe/logerDemanderDemeurerDe/molirDe/nicherDe/nouerDentelleDe/nuderDe/partDe/penserDe/phaserDe/placerDe/poserDe/rangerDe/roberDe/sastreDescenteDe/sertDe/signerDe/sobe/irDessinerDestrierDe/tacherDe/testerDe/tourerDe/tresseDevancerDevenirDevinerDevoirDiableDialogueDiamantDicterDiffe/rerDige/rerDigitalDigneDiluerDimancheDiminuerDioxydeDirectifDirigerDiscuterDisposerDissiperDistanceDivertirDiviserDocileDocteurDogmeDoigtDomaineDomicileDompterDonateurDonjonDonnerDopamineDortoirDorureDosageDoseurDossierDotationDouanierDoubleDouceurDouterDoyenDragonDraperDresserDribblerDroitureDuperieDuplexeDurableDurcirDynastieE/blouirE/carterE/charpeE/chelleE/clairerE/clipseE/cloreE/cluseE/coleE/conomieE/corceE/couterE/craserE/cre/merE/crivainE/crouE/cumeE/cureuilE/difierE/duquerEffacerEffectifEffigieEffortEffrayerEffusionE/galiserE/garerE/jecterE/laborerE/largirE/lectronE/le/gantE/le/phantE/le-veE/ligibleE/litismeE/logeE/luciderE/luderEmballerEmbellirEmbryonE/meraudeE/missionEmmenerE/motionE/mouvoirEmpereurEmployerEmporterEmpriseE/mulsionEncadrerEnche-reEnclaveEncocheEndiguerEndosserEndroitEnduireE/nergieEnfanceEnfermerEnfouirEngagerEnginEngloberE/nigmeEnjamberEnjeuEnleverEnnemiEnnuyeuxEnrichirEnrobageEnseigneEntasserEntendreEntierEntourerEntraverE/nume/rerEnvahirEnviableEnvoyerEnzymeE/olienE/paissirE/pargneE/patantE/pauleE/picerieE/pide/mieE/pierE/pilogueE/pineE/pisodeE/pitapheE/poqueE/preuveE/prouverE/puisantE/querreE/quipeE/rigerE/rosionErreurE/ruptionEscalierEspadonEspe-ceEspie-gleEspoirEspritEsquiverEssayerEssenceEssieuEssorerEstimeEstomacEstradeE/tage-reE/talerE/tancheE/tatiqueE/teindreE/tendoirE/ternelE/thanolE/thiqueEthnieE/tirerE/tofferE/toileE/tonnantE/tourdirE/trangeE/troitE/tudeEuphorieE/valuerE/vasionE/ventailE/videnceE/viterE/volutifE/voquerExactExage/rerExaucerExcellerExcitantExclusifExcuseExe/cuterExempleExercerExhalerExhorterExigenceExilerExisterExotiqueExpe/dierExplorerExposerExprimerExquisExtensifExtraireExulterFableFabuleuxFacetteFacileFactureFaiblirFalaiseFameuxFamilleFarceurFarfeluFarineFaroucheFascinerFatalFatigueFauconFautifFaveurFavoriFe/brileFe/conderFe/de/rerFe/linFemmeFe/murFendoirFe/odalFermerFe/roceFerveurFestivalFeuilleFeutreFe/vrierFiascoFicelerFictifFide-leFigureFilatureFiletageFilie-reFilleulFilmerFilouFiltrerFinancerFinirFioleFirmeFissureFixerFlairerFlammeFlasqueFlatteurFle/auFle-cheFleurFlexionFloconFloreFluctuerFluideFluvialFolieFonderieFongibleFontaineForcerForgeronFormulerFortuneFossileFoudreFouge-reFouillerFoulureFourmiFragileFraiseFranchirFrapperFrayeurFre/gateFreinerFrelonFre/mirFre/ne/sieFre-reFriableFrictionFrissonFrivoleFroidFromageFrontalFrotterFruitFugitifFuiteFureurFurieuxFurtifFusionFuturGagnerGalaxieGalerieGambaderGarantirGardienGarnirGarrigueGazelleGazonGe/antGe/latineGe/luleGendarmeGe/ne/ralGe/nieGenouGentilGe/ologieGe/ome-treGe/raniumGermeGestuelGeyserGibierGiclerGirafeGivreGlaceGlaiveGlisserGlobeGloireGlorieuxGolfeurGommeGonflerGorgeGorilleGoudronGouffreGoulotGoupilleGourmandGoutteGraduelGraffitiGraineGrandGrappinGratuitGravirGrenatGriffureGrillerGrimperGrognerGronderGrotteGroupeGrugerGrutierGruye-reGue/pardGuerrierGuideGuimauveGuitareGustatifGymnasteGyrostatHabitudeHachoirHalteHameauHangarHannetonHaricotHarmonieHarponHasardHe/liumHe/matomeHerbeHe/rissonHermineHe/ronHe/siterHeureuxHibernerHibouHilarantHistoireHiverHomardHommageHomoge-neHonneurHonorerHonteuxHordeHorizonHorlogeHormoneHorribleHouleuxHousseHublotHuileuxHumainHumbleHumideHumourHurlerHydromelHygie-neHymneHypnoseIdylleIgnorerIguaneIlliciteIllusionImageImbiberImiterImmenseImmobileImmuableImpactImpe/rialImplorerImposerImprimerImputerIncarnerIncendieIncidentInclinerIncoloreIndexerIndiceInductifIne/ditIneptieInexactInfiniInfligerInformerInfusionInge/rerInhalerInhiberInjecterInjureInnocentInoculerInonderInscrireInsecteInsigneInsoliteInspirerInstinctInsulterIntactIntenseIntimeIntrigueIntuitifInutileInvasionInventerInviterInvoquerIroniqueIrradierIrre/elIrriterIsolerIvoireIvresseJaguarJaillirJambeJanvierJardinJaugerJauneJavelotJetableJetonJeudiJeunesseJoindreJoncherJonglerJoueurJouissifJournalJovialJoyauJoyeuxJubilerJugementJuniorJuponJuristeJusticeJuteuxJuve/nileKayakKimonoKiosqueLabelLabialLabourerLace/rerLactoseLaguneLaineLaisserLaitierLambeauLamelleLampeLanceurLangageLanterneLapinLargeurLarmeLaurierLavaboLavoirLectureLe/galLe/gerLe/gumeLessiveLettreLevierLexiqueLe/zardLiasseLibe/rerLibreLicenceLicorneLie-geLie-vreLigatureLigoterLigueLimerLimiteLimonadeLimpideLine/aireLingotLionceauLiquideLisie-reListerLithiumLitigeLittoralLivreurLogiqueLointainLoisirLombricLoterieLouerLourdLoutreLouveLoyalLubieLucideLucratifLueurLugubreLuisantLumie-reLunaireLundiLuronLutterLuxueuxMachineMagasinMagentaMagiqueMaigreMaillonMaintienMairieMaisonMajorerMalaxerMale/ficeMalheurMaliceMalletteMammouthMandaterManiableManquantManteauManuelMarathonMarbreMarchandMardiMaritimeMarqueurMarronMartelerMascotteMassifMate/rielMatie-reMatraqueMaudireMaussadeMauveMaximalMe/chantMe/connuMe/dailleMe/decinMe/diterMe/duseMeilleurMe/langeMe/lodieMembreMe/moireMenacerMenerMenhirMensongeMentorMercrediMe/riteMerleMessagerMesureMe/talMe/te/oreMe/thodeMe/tierMeubleMiaulerMicrobeMietteMignonMigrerMilieuMillionMimiqueMinceMine/ralMinimalMinorerMinuteMiracleMiroiterMissileMixteMobileModerneMoelleuxMondialMoniteurMonnaieMonotoneMonstreMontagneMonumentMoqueurMorceauMorsureMortierMoteurMotifMoucheMoufleMoulinMoussonMoutonMouvantMultipleMunitionMurailleMure-neMurmureMuscleMuse/umMusicienMutationMuterMutuelMyriadeMyrtilleMyste-reMythiqueNageurNappeNarquoisNarrerNatationNationNatureNaufrageNautiqueNavireNe/buleuxNectarNe/fasteNe/gationNe/gligerNe/gocierNeigeNerveuxNettoyerNeuroneNeutronNeveuNicheNickelNitrateNiveauNobleNocifNocturneNoirceurNoisetteNomadeNombreuxNommerNormatifNotableNotifierNotoireNourrirNouveauNovateurNovembreNoviceNuageNuancerNuireNuisibleNume/roNuptialNuqueNutritifObe/irObjectifObligerObscurObserverObstacleObtenirObturerOccasionOccuperOce/anOctobreOctroyerOctuplerOculaireOdeurOdorantOffenserOfficierOffrirOgiveOiseauOisillonOlfactifOlivierOmbrageOmettreOnctueuxOndulerOne/reuxOniriqueOpaleOpaqueOpe/rerOpinionOpportunOpprimerOpterOptiqueOrageuxOrangeOrbiteOrdonnerOreilleOrganeOrgueilOrificeOrnementOrqueOrtieOscillerOsmoseOssatureOtarieOuraganOursonOutilOutragerOuvrageOvationOxydeOxyge-neOzonePaisiblePalacePalmare-sPalourdePalperPanachePandaPangolinPaniquerPanneauPanoramaPantalonPapayePapierPapoterPapyrusParadoxeParcelleParesseParfumerParlerParoleParrainParsemerPartagerParureParvenirPassionPaste-quePaternelPatiencePatronPavillonPavoiserPayerPaysagePeignePeintrePelagePe/licanPellePelousePeluchePendulePe/ne/trerPe/niblePensifPe/nuriePe/pitePe/plumPerdrixPerforerPe/riodePermuterPerplexePersilPertePeserPe/talePetitPe/trirPeuplePharaonPhobiePhoquePhotonPhrasePhysiquePianoPicturalPie-cePierrePieuvrePilotePinceauPipettePiquerPiroguePiscinePistonPivoterPixelPizzaPlacardPlafondPlaisirPlanerPlaquePlastronPlateauPleurerPlexusPliagePlombPlongerPluiePlumagePochettePoe/siePoe-tePointePoirierPoissonPoivrePolairePolicierPollenPolygonePommadePompierPonctuelPonde/rerPoneyPortiquePositionPosse/derPosturePotagerPoteauPotionPoucePoulainPoumonPourprePoussinPouvoirPrairiePratiquePre/cieuxPre/direPre/fixePre/ludePre/nomPre/sencePre/textePre/voirPrimitifPrincePrisonPriverProble-meProce/derProdigeProfondProgre-sProieProjeterProloguePromenerPropreProspe-reProte/gerProuesseProverbePrudencePruneauPsychosePublicPuceronPuiserPulpePulsarPunaisePunitifPupitrePurifierPuzzlePyramideQuasarQuerelleQuestionQuie/tudeQuitterQuotientRacineRaconterRadieuxRagondinRaideurRaisinRalentirRallongeRamasserRapideRasageRatisserRavagerRavinRayonnerRe/actifRe/agirRe/aliserRe/animerRecevoirRe/citerRe/clamerRe/colterRecruterReculerRecyclerRe/digerRedouterRefaireRe/flexeRe/formerRefrainRefugeRe/galienRe/gionRe/glageRe/gulierRe/ite/rerRejeterRejouerRelatifReleverReliefRemarqueReme-deRemiseRemonterRemplirRemuerRenardRenfortReniflerRenoncerRentrerRenvoiReplierReporterRepriseReptileRequinRe/serveRe/sineuxRe/soudreRespectResterRe/sultatRe/tablirRetenirRe/ticuleRetomberRetracerRe/unionRe/ussirRevancheRevivreRe/volteRe/vulsifRichesseRideauRieurRigideRigolerRincerRiposterRisibleRisqueRituelRivalRivie-reRocheuxRomanceRompreRonceRondinRoseauRosierRotatifRotorRotuleRougeRouilleRouleauRoutineRoyaumeRubanRubisRucheRuelleRugueuxRuinerRuisseauRuserRustiqueRythmeSablerSaboterSabreSacocheSafariSagesseSaisirSaladeSaliveSalonSaluerSamediSanctionSanglierSarcasmeSardineSaturerSaugrenuSaumonSauterSauvageSavantSavonnerScalpelScandaleSce/le/ratSce/narioSceptreSche/maScienceScinderScoreScrutinSculpterSe/anceSe/cableSe/cherSecouerSe/cre/terSe/datifSe/duireSeigneurSe/jourSe/lectifSemaineSemblerSemenceSe/minalSe/nateurSensibleSentenceSe/parerSe/quenceSereinSergentSe/rieuxSerrureSe/rumServiceSe/sameSe/virSevrageSextupleSide/ralSie-cleSie/gerSifflerSigleSignalSilenceSiliciumSimpleSince-reSinistreSiphonSiropSismiqueSituerSkierSocialSocleSodiumSoigneuxSoldatSoleilSolitudeSolubleSombreSommeilSomnolerSondeSongeurSonnetteSonoreSorcierSortirSosieSottiseSoucieuxSoudureSouffleSouleverSoupapeSourceSoutirerSouvenirSpacieuxSpatialSpe/cialSphe-reSpiralStableStationSternumStimulusStipulerStrictStudieuxStupeurStylisteSublimeSubstratSubtilSubvenirSucce-sSucreSuffixeSugge/rerSuiveurSulfateSuperbeSupplierSurfaceSuricateSurmenerSurpriseSursautSurvieSuspectSyllabeSymboleSyme/trieSynapseSyntaxeSyste-meTabacTablierTactileTaillerTalentTalismanTalonnerTambourTamiserTangibleTapisTaquinerTarderTarifTartineTasseTatamiTatouageTaupeTaureauTaxerTe/moinTemporelTenailleTendreTeneurTenirTensionTerminerTerneTerribleTe/tineTexteThe-meThe/orieThe/rapieThoraxTibiaTie-deTimideTirelireTiroirTissuTitaneTitreTituberTobogganTole/rantTomateToniqueTonneauToponymeTorcheTordreTornadeTorpilleTorrentTorseTortueTotemToucherTournageTousserToxineTractionTraficTragiqueTrahirTrainTrancherTravailTre-fleTremperTre/sorTreuilTriageTribunalTricoterTrilogieTriompheTriplerTriturerTrivialTromboneTroncTropicalTroupeauTuileTulipeTumulteTunnelTurbineTuteurTutoyerTuyauTympanTyphonTypiqueTyranUbuesqueUltimeUltrasonUnanimeUnifierUnionUniqueUnitaireUniversUraniumUrbainUrticantUsageUsineUsuelUsureUtileUtopieVacarmeVaccinVagabondVagueVaillantVaincreVaisseauValableValiseVallonValveVampireVanilleVapeurVarierVaseuxVassalVasteVecteurVedetteVe/ge/talVe/hiculeVeinardVe/loceVendrediVe/ne/rerVengerVenimeuxVentouseVerdureVe/rinVernirVerrouVerserVertuVestonVe/te/ranVe/tusteVexantVexerViaducViandeVictoireVidangeVide/oVignetteVigueurVilainVillageVinaigreViolonVipe-reVirementVirtuoseVirusVisageViseurVisionVisqueuxVisuelVitalVitesseViticoleVitrineVivaceVivipareVocationVoguerVoileVoisinVoitureVolailleVolcanVoltigerVolumeVoraceVortexVoterVouloirVoyageVoyelleWagonXe/nonYachtZe-breZe/nithZesteZoologie".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map((e=>function(e){const r=[];return Array.prototype.forEach.call(ye(e),(e=>{47===e?(r.push(204),r.push(129)):45===e?(r.push(204),r.push(128)):r.push(e)})),Ae(r)}(e))),at.forEach(((e,r)=>{st[ut(e)]=r})),"0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045"!==jr.check(e)))throw at=null,new Error("BIP39 Wordlist for fr (French) FAILED")}const ht=new class extends jr{constructor(){super("fr")}getWord(e){return lt(this),at[e]}getWordIndex(e){return lt(this),st[ut(e)]}};jr.register(ht);const ct=["AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFE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const r={};function t(e){let t="";for(let o=0;o<e.length;o++){let n=e[o];const i=r[n];!1!==i&&(i&&(n=i),t+=n)}return t}r[Ae([227,130,154])]=!1,r[Ae([227,130,153])]=!1,r[Ae([227,130,133])]=Ae([227,130,134]),r[Ae([227,129,163])]=Ae([227,129,164]),r[Ae([227,130,131])]=Ae([227,130,132]),r[Ae([227,130,135])]=Ae([227,130,136]);for(let e=3;e<=9;e++){const r=ct[e-3];for(let t=0;t<r.length;t+=e){const o=[];for(let n=0;n<e;n++){const e="~~AzB~X~a~KN~Q~D~S~C~G~E~Y~p~L~I~O~eH~g~V~hxyumi~~U~~Z~~v~~s~~dkoblPjfnqwMcRTr~W~~~F~~~~~Jt".indexOf(r[t+n]);o.push(227),o.push(64&e?130:129),o.push(128+(63&e))}ft.push(Ae(o))}}if(ft.sort((function(e,r){return(e=t(e))<(r=t(r))?-1:e>r?1:0})),"0xe3818de38284e3818f"===dt(ft[442])&&"0xe3818de38283e3818f"===dt(ft[443])){const e=ft[442];ft[442]=ft[443],ft[443]=e}if("0xcb36b09e6baa935787fd762ce65e80b0c6a8dabdfbc3a7f86ac0e2c4fd111600"!==jr.check(e))throw ft=null,new Error("BIP39 Wordlist for ja (Japanese) FAILED")}const gt=new class extends jr{constructor(){super("ja")}getWord(e){return pt(this),ft[e]}getWordIndex(e){return pt(this),ft.indexOf(e)}split(e){return Kr.checkNormalize(),e.split(/(?:\u3000| )+/g)}join(e){return e.join(" ")}};jr.register(gt);const mt=["OYAa","ATAZoATBl3ATCTrATCl8ATDloATGg3ATHT8ATJT8ATJl3ATLlvATLn4ATMT8ATMX8ATMboATMgoAToLbAToMTATrHgATvHnAT3AnAT3JbAT3MTAT8DbAT8JTAT8LmAT8MYAT8MbAT#LnAUHT8AUHZvAUJXrAUJX8AULnrAXJnvAXLUoAXLgvAXMn6AXRg3AXrMbAX3JTAX3QbAYLn3AZLgvAZrSUAZvAcAZ8AaAZ8AbAZ8AnAZ8HnAZ8LgAZ8MYAZ8MgAZ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brDU6GTvMb8LX4LhrPlrLXGXCnSToLf8Rg3STrDb8LTrSTvLTHXMnSb3RYLnMnSgOg6ATFg","HUDlGnrQXrJTrHgLnrAcJYMb8DULc8LTvFgGnCk3Mg8JbAnLX4QYvFYHnMXrRUoJnGnvFnRlvFTJlQnoSTrBXHXrLYSUJgLfoMT8Se8DTrHbDb","AbDl8SToJU8An3RbAb8ST8DUSTrGnrAgoLbFU6Db8LTrMg8AaHT8Jb8ObDl8SToJU8Pb3RlvFYoJl"];let vt=null;function bt(e){if(null==vt&&(vt=[],mt.forEach(((e,r)=>{r+=4;for(let o=0;o<e.length;o+=r){let n="";for(let i=0;i<r;i++)n+=((t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*".indexOf(e[o+i]))>=40?t=t+168-40:t>=19&&(t=t+97-19),Ae([225,132+(t>>6),128+(63&t)]));vt.push(n)}var t})),vt.sort(),"0xf9eddeace9c5d3da9c93cf7d3cd38f6a13ed3affb933259ae865714e8a3ae71a"!==jr.check(e)))throw vt=null,new Error("BIP39 Wordlist for ko (Korean) FAILED")}const yt=new class extends jr{constructor(){super("ko")}getWord(e){return bt(this),vt[e]}getWordIndex(e){return bt(this),vt.indexOf(e)}};jr.register(yt);let At=null;function Mt(e){if(null==At&&(At="AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620"!==jr.check(e)))throw At=null,new Error("BIP39 Wordlist for it (Italian) FAILED")}const St=new class extends jr{constructor(){super("it")}getWord(e){return Mt(this),At[e]}getWordIndex(e){return Mt(this),At.indexOf(e)}};jr.register(St);const Tt="}aE#4A=Yv&co#4N#6G=cJ&SM#66|/Z#4t&kn~46#4K~4q%b9=IR#7l,mB#7W_X2*dl}Uo~7s}Uf&Iw#9c&cw~6O&H6&wx&IG%v5=IQ~8a&Pv#47$PR&50%Ko&QM&3l#5f,D9#4L|/H&tQ;v0~6n]nN<di,AM=W5%QO&ka&ua,hM^tm=zV=JA=wR&+X]7P&NB#4J#5L|/b[dA}tJ<Do&6m&u2[U1&Kb.HM&mC=w0&MW<rY,Hq#6M}QG,13&wP}Jp]Ow%ue&Kg<HP<D9~4k~9T&I2_c6$9T#9/[C5~7O~4a=cs&O7=KK=An&l9$6U$8A&uD&QI|/Y&bg}Ux&F2#6b}E2&JN&kW&kp=U/&bb=Xl<Cj}k+~5J#6L&5z&9i}b4&Fo,ho(X0_g3~4O$Fz&QE<HN=Ww]6/%GF-Vw=tj&/D&PN#9g=YO}cL&Of&PI~5I&Ip=vU=IW#9G;0o-wU}ss&QR<BT&R9=tk$PY_dh&Pq-yh]7T,nj.Xu=EP&76=cI&Fs*Xg}z7$Gb&+I=DF,AF=cA}rL#7j=Dz&3y<Aa$52=PQ}b0(iY$Fa}oL&xV#6U=ec=WZ,xh%RY<dp#9N&Fl&44=WH*A7=sh&TB&8P=07;u+&PK}uh}J5#72)V/=xC,AB$k0&f6;1E|+5=1B,3v]6n&wR%b+&xx]7f=Ol}fl;+D^wG]7E;nB;uh^Ir&l5=JL,nS=cf=g5;u6|/Q$Gc=MH%Hg#5d%M6^86=U+$Gz,l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Xs(U7%eE=Qc_JR<CA#6t<Fv|/I,IS,EG<F2(Xy$/n<Fa(h9}+9_2o&N4#7X<Zq|+f_Dp=dt&na,Ca=NJ)jY=8C=YG=s6&Q+<DO}D3=xB&R1(lw;Qn<bF(Cu|/B}HV=SS&n7,10&u0]Dm%A6^4Q=WR(TD=Xo<GH,Rj(l8)bP&n/=LM&CF,F5&ml=PJ;0k=LG=tq,Rh,D6@4i=1p&+9=YC%er_Mh;nI;0q=Fw]80=xq=FM$Gv;v6&nc;wK%H2&Kj;vs,AA=YP,66}bI(qR~5U=6q~4b$Ni=K5.X3$So&Iu(p+]8G=Cf=RY(TS_O3(iH&57=fE=Dg_Do#9z#7H;FK{qd_2k%JR}en&gh_z8;Rx}9p<cN_Ne,DO;LN_7o~/p=NF=5Y}gN<ce<C1,QE]Wv=3u<BC}GK]yq}DY&u/_hj=II(pz&rC,jV&+Z}ut=NQ;Cg-SR_ZS,+o=u/;Oy_RK_QF(Fx&xP}Wr&TA,Uh&g1=yr{ax[VF$Pg(YB;Ox=Vy;+W(Sp}XV%dd&33(l/]l4#4Y}OE=6c=bw(A7&9t%wd&N/&mo,JH&Qe)fm=Ao}fu=tH",Ft={zh_cn:null,zh_tw:null},Jt={zh_cn:"0x17bcc4d8547e5a7135e365d1ab443aaae95e76d8230c2782c67305d4f21497a1",zh_tw:"0x51e720e90c7b87bec1d70eb6e74a21a449bd3ec9c020b01d3a40ed991b60ce5d"},Ct="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Lt(e){if(null!==Ft[e.locale])return;Ft[e.locale]=[];let r=0;for(let t=0;t<2048;t++){const o="~!@#$%^&*_-=[]{}|;:,.()<>?".indexOf(Tt[3*t]),n=[228+(o>>2),128+Ct.indexOf(Tt[3*t+1]),128+Ct.indexOf(Tt[3*t+2])];if("zh_tw"===e.locale)for(let e=o%4;e<3;e++)n[e]=Ct.indexOf("FAZDC6BALcLZCA+GBARCW8wNCcDDZ8L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0L3wb4rj9DNOLBF6XPIODr4L19U9RRofAG6Nxydi8Bki8BhGJbBAJKzbJxkZSlF9Q2Cu8oKqggB9hBArwLLqEBWEtFowy8XK8bEyw9snT+BeyFk1ZCSrdmgfEwFePTgCjELBEnIbjaDDPJm36rG9pztcEzT8dGk23SBhXBB1H4z+OWze0ooFzz8pDBYFvp9j9tvFByf9y4EFdVnz026CGR5qMr7fxMHN8UUdlyJAzlTBDRC28k+L4FB8078ljyD91tUj1ocnTs8vdEf7znbzm+GIjEZnoZE5rnLL700Xc7yHfz05nWxy03vBB9YGHYOWxgMQGBCR24CVYNE1hpfKxN0zKnfJDmmMgMmBWqNbjfSyFCBWSCGCgR8yFXiHyEj+VtD1FB3FpC1zI0kFbzifiKTLm9yq5zFmur+q8FHqjoOBWsBPiDbnCC2ErunV6cJ6TygXFYHYp7MKN9RUlSIS8/xBAGYLzeqUnBF4QbsTuUkUqGs6CaiDWKWjQK9EJkjpkTmNCPYXL"[r++])+(0==e?228:128);Ft[e.locale].push(Ae(n))}if(jr.check(e)!==Jt[e.locale])throw Ft[e.locale]=null,new Error("BIP39 Wordlist for "+e.locale+" (Chinese) FAILED")}class wt extends jr{constructor(e){super("zh_"+e)}getWord(e){return Lt(this),Ft[this.locale][e]}getWordIndex(e){return Lt(this),Ft[this.locale].indexOf(e)}split(e){return(e=e.replace(/(?:\u3000| )+/g,"")).split("")}}const Pt=new wt("cn");jr.register(Pt),jr.register(Pt,"zh");const Et=new wt("tw");jr.register(Et);const Bt={cz:Yr,en:et,es:it,fr:ht,it:St,ja:gt,ko:yt,zh:Pt,zh_cn:Pt,zh_tw:Et},kt=new p("hdnode/5.4.0"),Dt=I.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Rt=ye("Bitcoin seed"),Ot=2147483648;function Xt(e){return(1<<e)-1<<8-e}function Nt(e){return w(J(e),32)}function It(e){return He.encode(M([e,C(ze(ze(e)),0,4)]))}function Ht(e){if(null==e)return Bt.en;if("string"==typeof e){const r=Bt[e];return null==r&&kt.throwArgumentError("unknown locale","wordlist",e),r}return e}const Gt={},xt="m/44'/60'/0'/0/0";class Ut{constructor(e,r,t,o,n,i,a,s){if(kt.checkNew(new.target,Ut),e!==Gt)throw new Error("HDNode constructor cannot be called directly");if(r){const e=new kr(r);$(this,"privateKey",e.privateKey),$(this,"publicKey",e.compressedPublicKey)}else $(this,"privateKey",null),$(this,"publicKey",J(t));$(this,"parentFingerprint",o),$(this,"fingerprint",C(function(e){return"0x"+Ue().ripemd160().update(A(e)).digest("hex")}(ze(this.publicKey)),0,4)),$(this,"address",Ur(this.publicKey)),$(this,"chainCode",n),$(this,"index",i),$(this,"depth",a),null==s?($(this,"mnemonic",null),$(this,"path",null)):"string"==typeof s?($(this,"mnemonic",null),$(this,"path",s)):($(this,"mnemonic",s),$(this,"path",s.path))}get extendedKey(){if(this.depth>=256)throw new Error("Depth too large!");return It(M([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",J(this.depth),this.parentFingerprint,w(J(this.index),4),this.chainCode,null!=this.privateKey?M(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new Ut(Gt,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(e){if(e>4294967295)throw new Error("invalid index - "+String(e));let r=this.path;r&&(r+="/"+(2147483647&e));const t=new Uint8Array(37);if(e&Ot){if(!this.privateKey)throw new Error("cannot derive child of neutered node");t.set(A(this.privateKey),1),r&&(r+="'")}else t.set(A(this.publicKey));for(let r=24;r>=0;r-=8)t[33+(r>>3)]=e>>24-r&255;const o=A(Ze(Ge.sha512,this.chainCode,t)),n=o.slice(0,32),i=o.slice(32);let a=null,s=null;this.privateKey?a=Nt(I.from(n).add(this.privateKey).mod(Dt)):s=new kr(J(n))._addPoint(this.publicKey);let u=r;const l=this.mnemonic;return l&&(u=Object.freeze({phrase:l.phrase,path:r,locale:l.locale||"en"})),new Ut(Gt,a,s,this.fingerprint,Nt(i),e,this.depth+1,u)}derivePath(e){const r=e.split("/");if(0===r.length||"m"===r[0]&&0!==this.depth)throw new Error("invalid path - "+e);"m"===r[0]&&r.shift();let t=this;for(let e=0;e<r.length;e++){const o=r[e];if(o.match(/^[0-9]+'$/)){const e=parseInt(o.substring(0,o.length-1));if(e>=Ot)throw new Error("invalid path index - "+o);t=t._derive(Ot+e)}else{if(!o.match(/^[0-9]+$/))throw new Error("invalid path component - "+o);{const e=parseInt(o);if(e>=Ot)throw new Error("invalid path index - "+o);t=t._derive(e)}}}return t}static _fromSeed(e,r){const t=A(e);if(t.length<16||t.length>64)throw new Error("invalid seed");const o=A(Ze(Ge.sha512,Rt,t));return new Ut(Gt,Nt(o.slice(0,32)),null,"0x00000000",Nt(o.slice(32)),0,0,r)}static fromMnemonic(e,r,t){return e=zt(Vt(e,t=Ht(t)),t),Ut._fromSeed(function(e,r){r||(r="");const t=ye("mnemonic"+r,ge.NFKD);return _e(ye(e,ge.NFKD),t,2048,64,"sha512")}(e,r),{phrase:e,path:"m",locale:t.locale})}static fromSeed(e){return Ut._fromSeed(e,null)}static fromExtendedKey(e){const r=He.decode(e);82===r.length&&It(r.slice(0,78))===e||kt.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const t=r[4],o=J(r.slice(5,9)),n=parseInt(J(r.slice(9,13)).substring(2),16),i=J(r.slice(13,45)),a=r.slice(45,78);switch(J(r.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new Ut(Gt,null,J(a),o,i,n,t,null);case"0x0488ade4":case"0x04358394 ":if(0!==a[0])break;return new Ut(Gt,J(a.slice(1)),null,o,i,n,t,null)}return kt.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function Vt(e,r){r=Ht(r),kt.checkNormalize();const t=r.split(e);if(t.length%3!=0)throw new Error("invalid mnemonic");const o=A(new Uint8Array(Math.ceil(11*t.length/8)));let n=0;for(let e=0;e<t.length;e++){let i=r.getWordIndex(t[e].normalize("NFKD"));if(-1===i)throw new Error("invalid mnemonic");for(let e=0;e<11;e++)i&1<<10-e&&(o[n>>3]|=1<<7-n%8),n++}const i=32*t.length/3,a=Xt(t.length/3);if((A(ze(o.slice(0,i/8)))[0]&a)!=(o[o.length-1]&a))throw new Error("invalid checksum");return J(o.slice(0,i/8))}function zt(e,r){if(r=Ht(r),(e=A(e)).length%4!=0||e.length<16||e.length>32)throw new Error("invalid entropy");const t=[0];let o=11;for(let r=0;r<e.length;r++)o>8?(t[t.length-1]<<=8,t[t.length-1]|=e[r],o-=8):(t[t.length-1]<<=o,t[t.length-1]|=e[r]>>8-o,t.push(e[r]&(1<<8-o)-1),o+=3);const n=e.length/4,i=A(ze(e))[0]&Xt(n);return t[t.length-1]<<=n,t[t.length-1]|=i>>8-n,r.join(t.map((e=>r.getWord(e))))}const Zt=new p("random/5.4.0");let _t=null;try{if(_t=window,null==_t)throw new Error("try next")}catch(e){try{if(_t=t.g,null==_t)throw new Error("try next")}catch(e){_t={}}}let Kt=_t.crypto||_t.msCrypto;function jt(e){(e<=0||e>1024||e%1)&&Zt.throwArgumentError("invalid length","length",e);const r=new Uint8Array(e);return Kt.getRandomValues(r),A(r)}Kt&&Kt.getRandomValues||(Zt.warn("WARNING: Missing strong random number source"),Kt={getRandomValues:function(e){return Zt.throwError("no secure random source avaialble",p.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});var Qt=t(826),qt=t.n(Qt);const Yt="json-wallets/5.4.0";function Wt(e){return"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),A(e)}function $t(e,r){for(e=String(e);e.length<r;)e="0"+e;return e}function eo(e){return"string"==typeof e?ye(e,ge.NFKC):A(e)}function ro(e,r){let t=e;const o=r.toLowerCase().split("/");for(let e=0;e<o.length;e++){let r=null;for(const n in t)if(n.toLowerCase()===o[e]){r=t[n];break}if(null===r)return null;t=r}return t}function to(e){const r=A(e);r[6]=15&r[6]|64,r[8]=63&r[8]|128;const t=J(r);return[t.substring(2,10),t.substring(10,14),t.substring(14,18),t.substring(18,22),t.substring(22,34)].join("-")}const oo=new p(Yt);class no extends ae{isCrowdsaleAccount(e){return!(!e||!e._isCrowdsaleAccount)}}function io(e,r){const t=JSON.parse(e);r=eo(r);const o=Y(ro(t,"ethaddr")),n=Wt(ro(t,"encseed"));n&&n.length%16==0||oo.throwArgumentError("invalid encseed","json",e);const i=A(_e(r,r,2e3,32,"sha256")).slice(0,16),a=n.slice(0,16),s=n.slice(16),u=new(qt().ModeOfOperation.cbc)(i,a),l=qt().padding.pkcs7.strip(A(u.decrypt(s)));let h="";for(let e=0;e<l.length;e++)h+=String.fromCharCode(l[e]);const c=Z(ye(h));return new no({_isCrowdsaleAccount:!0,address:o,privateKey:c})}function ao(e){let r=null;try{r=JSON.parse(e)}catch(e){return!1}return r.encseed&&r.ethaddr}function so(e){let r=null;try{r=JSON.parse(e)}catch(e){return!1}return!(!r.version||parseInt(r.version)!==r.version||3!==parseInt(r.version))}var uo=t(635),lo=t.n(uo);const ho=new p(Yt);function co(e){return null!=e&&e.mnemonic&&e.mnemonic.phrase}class fo extends ae{isKeystoreAccount(e){return!(!e||!e._isKeystoreAccount)}}function po(e,r){const t=Wt(ro(e,"crypto/ciphertext"));if(J(Z(M([r.slice(16,32),t]))).substring(2)!==ro(e,"crypto/mac").toLowerCase())throw new Error("invalid password");const o=function(e,r,t){if("aes-128-ctr"===ro(e,"crypto/cipher")){const o=Wt(ro(e,"crypto/cipherparams/iv")),n=new(qt().Counter)(o);return A(new(qt().ModeOfOperation.ctr)(r,n).decrypt(t))}return null}(e,r.slice(0,16),t);o||ho.throwError("unsupported cipher",p.errors.UNSUPPORTED_OPERATION,{operation:"decrypt"});const n=r.slice(32,64),i=Ur(o);if(e.address){let r=e.address.toLowerCase();if("0x"!==r.substring(0,2)&&(r="0x"+r),Y(r)!==i)throw new Error("address mismatch")}const a={_isKeystoreAccount:!0,address:i,privateKey:J(o)};if("0.1"===ro(e,"x-ethers/version")){const r=Wt(ro(e,"x-ethers/mnemonicCiphertext")),t=Wt(ro(e,"x-ethers/mnemonicCounter")),o=new(qt().Counter)(t),i=new(qt().ModeOfOperation.ctr)(n,o),s=ro(e,"x-ethers/path")||xt,u=ro(e,"x-ethers/locale")||"en",l=A(i.decrypt(r));try{const e=zt(l,u),r=Ut.fromMnemonic(e,null,u).derivePath(s);if(r.privateKey!=a.privateKey)throw new Error("mnemonic mismatch");a.mnemonic=r.mnemonic}catch(e){if(e.code!==p.errors.INVALID_ARGUMENT||"wordlist"!==e.argument)throw e}}return new fo(a)}function go(e,r,t,o,n){return A(_e(e,r,t,o,n))}function mo(e,r,t,o,n){return Promise.resolve(go(e,r,t,o,n))}function vo(e,r,t,o,n){const i=eo(r),a=ro(e,"crypto/kdf");if(a&&"string"==typeof a){const r=function(e,r){return ho.throwArgumentError("invalid key-derivation function parameters",e,r)};if("scrypt"===a.toLowerCase()){const t=Wt(ro(e,"crypto/kdfparams/salt")),s=parseInt(ro(e,"crypto/kdfparams/n")),u=parseInt(ro(e,"crypto/kdfparams/r")),l=parseInt(ro(e,"crypto/kdfparams/p"));s&&u&&l||r("kdf",a),0!=(s&s-1)&&r("N",s);const h=parseInt(ro(e,"crypto/kdfparams/dklen"));return 32!==h&&r("dklen",h),o(i,t,s,u,l,64,n)}if("pbkdf2"===a.toLowerCase()){const o=Wt(ro(e,"crypto/kdfparams/salt"));let n=null;const a=ro(e,"crypto/kdfparams/prf");"hmac-sha256"===a?n="sha256":"hmac-sha512"===a?n="sha512":r("prf",a);const s=parseInt(ro(e,"crypto/kdfparams/c")),u=parseInt(ro(e,"crypto/kdfparams/dklen"));return 32!==u&&r("dklen",u),t(i,o,s,u,n)}}return ho.throwArgumentError("unsupported key-derivation function","kdf",a)}function bo(e,r,t){if(ao(e)){t&&t(0);const o=io(e,r);return t&&t(1),Promise.resolve(o)}return so(e)?function(e,r,t){return o=this,n=void 0,a=function*(){const o=JSON.parse(e);return po(o,yield vo(o,r,mo,lo().scrypt,t))},new((i=void 0)||(i=Promise))((function(e,r){function t(e){try{u(a.next(e))}catch(e){r(e)}}function s(e){try{u(a.throw(e))}catch(e){r(e)}}function u(r){var o;r.done?e(r.value):(o=r.value,o instanceof i?o:new i((function(e){e(o)}))).then(t,s)}u((a=a.apply(o,n||[])).next())}));var o,n,i,a}(e,r,t):Promise.reject(new Error("invalid JSON wallet"))}var yo=function(e,r,t,o){return new(t||(t=Promise))((function(n,i){function a(e){try{u(o.next(e))}catch(e){i(e)}}function s(e){try{u(o.throw(e))}catch(e){i(e)}}function u(e){var r;e.done?n(e.value):(r=e.value,r instanceof t?r:new t((function(e){e(r)}))).then(a,s)}u((o=o.apply(e,r||[])).next())}))};const Ao=new p("wallet/5.4.0");class Mo extends de{constructor(e,r){if(Ao.checkNew(new.target,Mo),super(),null!=(t=e)&&T(t.privateKey,32)&&null!=t.address){const r=new kr(e.privateKey);if($(this,"_signingKey",(()=>r)),$(this,"address",Ur(this.publicKey)),this.address!==Y(e.address)&&Ao.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),function(e){const r=e.mnemonic;return r&&r.phrase}(e)){const r=e.mnemonic;$(this,"_mnemonic",(()=>({phrase:r.phrase,path:r.path||xt,locale:r.locale||"en"})));const t=this.mnemonic;Ur(Ut.fromMnemonic(t.phrase,null,t.locale).derivePath(t.path).privateKey)!==this.address&&Ao.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else $(this,"_mnemonic",(()=>null))}else{if(kr.isSigningKey(e))"secp256k1"!==e.curve&&Ao.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),$(this,"_signingKey",(()=>e));else{"string"==typeof e&&e.match(/^[0-9a-f]*$/i)&&64===e.length&&(e="0x"+e);const r=new kr(e);$(this,"_signingKey",(()=>r))}$(this,"_mnemonic",(()=>null)),$(this,"address",Ur(this.publicKey))}var t;r&&!ue.isProvider(r)&&Ao.throwArgumentError("invalid provider","provider",r),$(this,"provider",r||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(e){return new Mo(this,e)}signTransaction(e){return ee(e).then((r=>{null!=r.from&&(Y(r.from)!==this.address&&Ao.throwArgumentError("transaction from address mismatch","transaction.from",e.from),delete r.from);const t=this._signingKey().signDigest(Z(_r(r)));return _r(r,t)}))}signMessage(e){return yo(this,void 0,void 0,(function*(){return E(this._signingKey().signDigest(Me(e)))}))}_signTypedData(e,r,t){return yo(this,void 0,void 0,(function*(){const o=yield Ne.resolveNames(e,r,t,(e=>(null==this.provider&&Ao.throwError("cannot resolve ENS names without a provider",p.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:e}),this.provider.resolveName(e))));return E(this._signingKey().signDigest(Ne.hash(o.domain,r,o.value)))}))}encrypt(e,r,t){if("function"!=typeof r||t||(t=r,r={}),t&&"function"!=typeof t)throw new Error("invalid callback");return r||(r={}),function(e,r,t,o){try{if(Y(e.address)!==Ur(e.privateKey))throw new Error("address/privateKey mismatch");if(co(e)){const r=e.mnemonic;if(Ut.fromMnemonic(r.phrase,null,r.locale).derivePath(r.path||xt).privateKey!=e.privateKey)throw new Error("mnemonic mismatch")}}catch(e){return Promise.reject(e)}"function"!=typeof t||o||(o=t,t={}),t||(t={});const n=A(e.privateKey),i=eo(r);let a=null,s=null,u=null;if(co(e)){const r=e.mnemonic;a=A(Vt(r.phrase,r.locale||"en")),s=r.path||xt,u=r.locale||"en"}let l=t.client;l||(l="ethers.js");let h=null;h=t.salt?A(t.salt):jt(32);let c=null;if(t.iv){if(c=A(t.iv),16!==c.length)throw new Error("invalid iv")}else c=jt(16);let f=null;if(t.uuid){if(f=A(t.uuid),16!==f.length)throw new Error("invalid uuid")}else f=jt(16);let d=1<<17,p=8,g=1;return t.scrypt&&(t.scrypt.N&&(d=t.scrypt.N),t.scrypt.r&&(p=t.scrypt.r),t.scrypt.p&&(g=t.scrypt.p)),lo().scrypt(i,h,d,p,g,64,o).then((r=>{const t=(r=A(r)).slice(0,16),o=r.slice(16,32),i=r.slice(32,64),m=new(qt().Counter)(c),v=A(new(qt().ModeOfOperation.ctr)(t,m).encrypt(n)),b=Z(M([o,v])),y={address:e.address.substring(2).toLowerCase(),id:to(f),version:3,Crypto:{cipher:"aes-128-ctr",cipherparams:{iv:J(c).substring(2)},ciphertext:J(v).substring(2),kdf:"scrypt",kdfparams:{salt:J(h).substring(2),n:d,dklen:32,p:g,r:p},mac:b.substring(2)}};if(a){const e=jt(16),r=new(qt().Counter)(e),t=A(new(qt().ModeOfOperation.ctr)(i,r).encrypt(a)),o=new Date,n=o.getUTCFullYear()+"-"+$t(o.getUTCMonth()+1,2)+"-"+$t(o.getUTCDate(),2)+"T"+$t(o.getUTCHours(),2)+"-"+$t(o.getUTCMinutes(),2)+"-"+$t(o.getUTCSeconds(),2)+".0Z";y["x-ethers"]={client:l,gethFilename:"UTC--"+n+"--"+y.address,mnemonicCounter:J(e).substring(2),mnemonicCiphertext:J(t).substring(2),path:s,locale:u,version:"0.1"}}return JSON.stringify(y)}))}(this,e,r,t)}static createRandom(e){let r=jt(16);e||(e={}),e.extraEntropy&&(r=A(C(Z(M([r,e.extraEntropy])),0,16)));const t=zt(r,e.locale);return Mo.fromMnemonic(t,e.path,e.locale)}static fromEncryptedJson(e,r,t){return bo(e,r,t).then((e=>new Mo(e)))}static fromEncryptedJsonSync(e,r){return new Mo(function(e,r){if(ao(e))return io(e,r);if(so(e))return function(e,r){const t=JSON.parse(e);return po(t,vo(t,r,go,lo().syncScrypt))}(e,r);throw new Error("invalid JSON wallet")}(e,r))}static fromMnemonic(e,r,t){return r||(r=xt),new Mo(Ut.fromMnemonic(e,null,t).derivePath(r))}}function So(e,r){return function(e,r){return Ur(function(e,r){const t=P(r),o={r:A(t.r),s:A(t.s)};return"0x"+Br().recoverPubKey(A(e),o,t.recoveryParam).encode("hex",!1)}(A(e),r))}(Me(e),r)}var To=t(935),Fo=t.n(To);function Jo(){return(Jo=r(n().mark((function e(r,t){var o,i,a,s;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=xt.split("/"),i=o.slice(0,o.length-1).join("/")+"/"+(t||0).toString(),a=r?Mo.fromMnemonic(r,i):Mo.createRandom({path:i}),s=Fo()(16,parseInt(a.address.slice(2,10),16)),e.abrupt("return",{mnemonic:a.mnemonic.phrase,path:a.mnemonic.path,address:a.address,svg:s.innerHTML});case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Co(){return(Co=r(n().mark((function e(r,t){var o,i;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o=Mo.fromMnemonic(r,t),i=Fo()(16,parseInt(o.address.slice(2,10),16)),e.abrupt("return",{address:o.address,svg:i.innerHTML});case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",{error:e.t0.message});case 9:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function Lo(){return(Lo=r(n().mark((function e(r){var t,o;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=new Mo(r),o=Fo()(16,parseInt(t.address.slice(2,10),16)),e.abrupt("return",{address:t.address,svg:o.innerHTML});case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",{error:e.t0.message});case 9:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function wo(){return wo=r(n().mark((function e(r,t,o,i){var a,s,u,l;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s="",u="",e.prev=2,e.t0=r,e.next="mnemonic"===e.t0?6:"privateKey"===e.t0?9:"keystore"===e.t0?12:16;break;case 6:return a=Mo.fromMnemonic(t,o),s=t,e.abrupt("break",16);case 9:return a=new Mo(t),u=t,e.abrupt("break",16);case 12:return e.next=14,Mo.fromEncryptedJson(t,i);case 14:return a=e.sent,e.abrupt("break",16);case 16:e.next=21;break;case 18:return e.prev=18,e.t1=e.catch(2),e.abrupt("return",{error:e.t1.message});case 21:if(!a.address){e.next=26;break}return e.next=24,a.encrypt(i);case 24:return l=e.sent,e.abrupt("return",{pubKey:a.publicKey,address:a.address,mnemonic:s,privateKey:u,keystore:l});case 26:return e.abrupt("return",null);case 27:case"end":return e.stop()}}),e,null,[[2,18]])}))),wo.apply(this,arguments)}function Po(){return(Po=r(n().mark((function e(r,t){var o;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Mo.fromEncryptedJson(r,t);case 3:return o=e.sent,e.abrupt("return",{success:!!o.address});case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",{success:!1,error:e.t0.message});case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}function Eo(){return(Eo=r(n().mark((function e(r,t,o){var i,a;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Mo.fromEncryptedJson(r,t);case 3:if(!(i=e.sent).address){e.next=9;break}return e.next=7,i.encrypt(o);case 7:return a=e.sent,e.abrupt("return",{pubKey:i.publicKey,address:i.address,keystore:a});case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",{success:!1,error:e.t0.message});case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}function Bo(){return(Bo=r(n().mark((function e(r,t,o){var i,a;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Mo.fromEncryptedJson(t,o);case 3:if(!(i=e.sent).address){e.next=9;break}return e.next=7,i.signMessage(r);case 7:return a=e.sent,e.abrupt("return",{pubKey:i.publicKey,address:i.address,signature:a});case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",{success:!1,error:e.t0.message});case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}function ko(){return ko=r(n().mark((function e(r,t){var o;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o=So(r,t),e.abrupt("return",{signer:o});case 5:return e.prev=5,e.t0=e.catch(0),e.abrupt("return",{error:e.t0.message});case 8:case"end":return e.stop()}}),e,null,[[0,5]])}))),ko.apply(this,arguments)}const Do={gen:function(e,r){return Jo.apply(this,arguments)},addressFromMnemonic:function(e,r){return Co.apply(this,arguments)},addressFromPrivateKey:function(e){return Lo.apply(this,arguments)},recover:function(e,r,t,o){return wo.apply(this,arguments)},checkPassword:function(e,r){return Po.apply(this,arguments)},changePassword:function(e,r,t){return Eo.apply(this,arguments)},signMessage:function(e,r,t){return Bo.apply(this,arguments)},verifySignature:function(e,r){return ko.apply(this,arguments)}};function Ro(){return(Ro=r(n().mark((function e(r){return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r.map((function(e){var r=Fo()(16,parseInt(e.slice(2,10),16));return[e,r.innerHTML]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}const Oo={genIcons:function(e){return Ro.apply(this,arguments)}};window.send=function(e,r){console.log(JSON.stringify({path:e,data:r}))},window.send("log","eth main js loaded"),window.eth={keyring:Do,account:Oo}})()})();