LavaPack.loadBundle([["/home/runner/work/metamask-extension/metamask-extension/node_modules/long/umd/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;
/**
   * @license
   * Copyright 2009 The Closure Library Authors
   * Copyright 2020 Daniel Wirtz / The long.js Authors.
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   *
   * SPDX-License-Identifier: Apache-2.0
   */
var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function n(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function r(e){return!0===(e&&e.__isLong__)}function i(e){var t=Math.clz32(e&-e);return e?31-t:t}n.prototype.__isLong__,Object.defineProperty(n.prototype,"__isLong__",{value:!0}),n.isLong=r;var o={},s={};function a(e,t){var n,r,i;return t?(i=0<=(e>>>=0)&&e<256)&&(r=s[e])?r:(n=l(e,0,!0),i&&(s[e]=n),n):(i=-128<=(e|=0)&&e<128)&&(r=o[e])?r:(n=l(e,e<0?-1:0,!1),i&&(o[e]=n),n)}function u(e,t){if(isNaN(e))return t?g:y;if(t){if(e<0)return g;if(e>=m)return x}else{if(e<=-p)return j;if(e+1>=p)return _}return e<0?u(-e,t).neg():l(e%d|0,e/d|0,t)}function l(e,t,r){return new n(e,t,r)}n.fromInt=a,n.fromNumber=u,n.fromBits=l;var c=Math.pow;function f(e,t,n){if(0===e.length)throw Error("empty string");if("number"==typeof t?(n=t,t=!1):t=!!t,"NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return t?g:y;if((n=n||10)<2||36<n)throw RangeError("radix");var r;if((r=e.indexOf("-"))>0)throw Error("interior hyphen");if(0===r)return f(e.substring(1),t,n).neg();for(var i=u(c(n,8)),o=y,s=0;s<e.length;s+=8){var a=Math.min(8,e.length-s),l=parseInt(e.substring(s,s+a),n);if(a<8){var h=u(c(n,a));o=o.mul(h).add(u(l))}else o=(o=o.mul(i)).add(u(l))}return o.unsigned=t,o}function h(e,t){return"number"==typeof e?u(e,t):"string"==typeof e?f(e,t):l(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}n.fromString=f,n.fromValue=h;var d=4294967296,m=d*d,p=m/2,b=a(1<<24),y=a(0);n.ZERO=y;var g=a(0,!0);n.UZERO=g;var k=a(1);n.ONE=k;var w=a(1,!0);n.UONE=w;var v=a(-1);n.NEG_ONE=v;var _=l(-1,2147483647,!1);n.MAX_VALUE=_;var x=l(-1,-1,!0);n.MAX_UNSIGNED_VALUE=x;var j=l(0,-2147483648,!1);n.MIN_VALUE=j;var T=n.prototype;T.toInt=function(){return this.unsigned?this.low>>>0:this.low},T.toNumber=function(){return this.unsigned?(this.high>>>0)*d+(this.low>>>0):this.high*d+(this.low>>>0)},T.toString=function(e){if((e=e||10)<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(j)){var t=u(e),n=this.div(t),r=n.mul(t).sub(this);return n.toString(e)+r.toInt().toString(e)}return"-"+this.neg().toString(e)}for(var i=u(c(e,6),this.unsigned),o=this,s="";;){var a=o.div(i),l=(o.sub(a.mul(i)).toInt()>>>0).toString(e);if((o=a).isZero())return l+s;for(;l.length<6;)l="0"+l;s=""+l+s}},T.getHighBits=function(){return this.high},T.getHighBitsUnsigned=function(){return this.high>>>0},T.getLowBits=function(){return this.low},T.getLowBitsUnsigned=function(){return this.low>>>0},T.getNumBitsAbs=function(){if(this.isNegative())return this.eq(j)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&!(e&1<<t);t--);return 0!=this.high?t+33:t+1},T.isZero=function(){return 0===this.high&&0===this.low},T.eqz=T.isZero,T.isNegative=function(){return!this.unsigned&&this.high<0},T.isPositive=function(){return this.unsigned||this.high>=0},T.isOdd=function(){return!(1&~this.low)},T.isEven=function(){return!(1&this.low)},T.equals=function(e){return r(e)||(e=h(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&(this.high===e.high&&this.low===e.low)},T.eq=T.equals,T.notEquals=function(e){return!this.eq(e)},T.neq=T.notEquals,T.ne=T.notEquals,T.lessThan=function(e){return this.comp(e)<0},T.lt=T.lessThan,T.lessThanOrEqual=function(e){return this.comp(e)<=0},T.lte=T.lessThanOrEqual,T.le=T.lessThanOrEqual,T.greaterThan=function(e){return this.comp(e)>0},T.gt=T.greaterThan,T.greaterThanOrEqual=function(e){return this.comp(e)>=0},T.gte=T.greaterThanOrEqual,T.ge=T.greaterThanOrEqual,T.compare=function(e){if(r(e)||(e=h(e)),this.eq(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},T.comp=T.compare,T.negate=function(){return!this.unsigned&&this.eq(j)?j:this.not().add(k)},T.neg=T.negate,T.add=function(e){r(e)||(e=h(e));var t=this.high>>>16,n=65535&this.high,i=this.low>>>16,o=65535&this.low,s=e.high>>>16,a=65535&e.high,u=e.low>>>16,c=0,f=0,d=0,m=0;return d+=(m+=o+(65535&e.low))>>>16,f+=(d+=i+u)>>>16,c+=(f+=n+a)>>>16,c+=t+s,l((d&=65535)<<16|(m&=65535),(c&=65535)<<16|(f&=65535),this.unsigned)},T.subtract=function(e){return r(e)||(e=h(e)),this.add(e.neg())},T.sub=T.subtract,T.multiply=function(e){if(this.isZero())return this;if(r(e)||(e=h(e)),t)return l(t.mul(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned);if(e.isZero())return this.unsigned?g:y;if(this.eq(j))return e.isOdd()?j:y;if(e.eq(j))return this.isOdd()?j:y;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(b)&&e.lt(b))return u(this.toNumber()*e.toNumber(),this.unsigned);var n=this.high>>>16,i=65535&this.high,o=this.low>>>16,s=65535&this.low,a=e.high>>>16,c=65535&e.high,f=e.low>>>16,d=65535&e.low,m=0,p=0,k=0,w=0;return k+=(w+=s*d)>>>16,p+=(k+=o*d)>>>16,k&=65535,p+=(k+=s*f)>>>16,m+=(p+=i*d)>>>16,p&=65535,m+=(p+=o*f)>>>16,p&=65535,m+=(p+=s*c)>>>16,m+=n*d+i*f+o*c+s*a,l((k&=65535)<<16|(w&=65535),(m&=65535)<<16|(p&=65535),this.unsigned)},T.mul=T.multiply,T.divide=function(e){if(r(e)||(e=h(e)),e.isZero())throw Error("division by zero");var n,i,o;if(t)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?l((this.unsigned?t.div_u:t.div_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?g:y;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return g;if(e.gt(this.shru(1)))return w;o=g}else{if(this.eq(j))return e.eq(k)||e.eq(v)?j:e.eq(j)?k:(n=this.shr(1).div(e).shl(1)).eq(y)?e.isNegative()?k:v:(i=this.sub(e.mul(n)),o=n.add(i.div(e)));if(e.eq(j))return this.unsigned?g:y;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();o=y}for(i=this;i.gte(e);){n=Math.max(1,Math.floor(i.toNumber()/e.toNumber()));for(var s=Math.ceil(Math.log(n)/Math.LN2),a=s<=48?1:c(2,s-48),f=u(n),d=f.mul(e);d.isNegative()||d.gt(i);)d=(f=u(n-=a,this.unsigned)).mul(e);f.isZero()&&(f=k),o=o.add(f),i=i.sub(d)}return o},T.div=T.divide,T.modulo=function(e){return r(e)||(e=h(e)),t?l((this.unsigned?t.rem_u:t.rem_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},T.mod=T.modulo,T.rem=T.modulo,T.not=function(){return l(~this.low,~this.high,this.unsigned)},T.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},T.clz=T.countLeadingZeros,T.countTrailingZeros=function(){return this.low?i(this.low):i(this.high)+32},T.ctz=T.countTrailingZeros,T.and=function(e){return r(e)||(e=h(e)),l(this.low&e.low,this.high&e.high,this.unsigned)},T.or=function(e){return r(e)||(e=h(e)),l(this.low|e.low,this.high|e.high,this.unsigned)},T.xor=function(e){return r(e)||(e=h(e)),l(this.low^e.low,this.high^e.high,this.unsigned)},T.shiftLeft=function(e){return r(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?l(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):l(0,this.low<<e-32,this.unsigned)},T.shl=T.shiftLeft,T.shiftRight=function(e){return r(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?l(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):l(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},T.shr=T.shiftRight,T.shiftRightUnsigned=function(e){return r(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?l(this.low>>>e|this.high<<32-e,this.high>>>e,this.unsigned):l(32===e?this.high:this.high>>>e-32,0,this.unsigned)},T.shru=T.shiftRightUnsigned,T.shr_u=T.shiftRightUnsigned,T.rotateLeft=function(e){var t;return r(e)&&(e=e.toInt()),0==(e&=63)?this:32===e?l(this.high,this.low,this.unsigned):e<32?(t=32-e,l(this.low<<e|this.high>>>t,this.high<<e|this.low>>>t,this.unsigned)):(t=32-(e-=32),l(this.high<<e|this.low>>>t,this.low<<e|this.high>>>t,this.unsigned))},T.rotl=T.rotateLeft,T.rotateRight=function(e){var t;return r(e)&&(e=e.toInt()),0==(e&=63)?this:32===e?l(this.high,this.low,this.unsigned):e<32?(t=32-e,l(this.high<<t|this.low>>>e,this.low<<t|this.high>>>e,this.unsigned)):(t=32-(e-=32),l(this.low<<t|this.high>>>e,this.high<<t|this.low>>>e,this.unsigned))},T.rotr=T.rotateRight,T.toSigned=function(){return this.unsigned?l(this.low,this.high,!1):this},T.toUnsigned=function(){return this.unsigned?this:l(this.low,this.high,!0)},T.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},T.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},T.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},n.fromBytes=function(e,t,r){return r?n.fromBytesLE(e,t):n.fromBytesBE(e,t)},n.fromBytesLE=function(e,t){return new n(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},n.fromBytesBE=function(e,t){return new n(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)};var S=n;return e.default=S,"default"in e?e.default:e}({});"function"==typeof define&&define.amd?define([],function(){return r}):"object"==typeof t&&"object"==typeof n&&(t.exports=r)}}},{package:"@google/genai>protobufjs>long",file:"node_modules/long/umd/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/luxon/build/cjs-browser/luxon.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function l(e,t,n){return l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&u(i,n.prototype),i},l.apply(null,arguments)}function c(e){var t="function"==typeof Map?new Map:undefined;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return l(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),u(r,e)},c(e)}function f(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}Object.defineProperty(n,"__esModule",{value:!0});var p=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),t}(c(Error)),b=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return s(t,e),t}(p),y=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return s(t,e),t}(p),g=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return s(t,e),t}(p),k=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),t}(p),w=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return s(t,e),t}(p),v=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),t}(p),_=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return s(t,e),t}(p),x="numeric",j="short",T="long",S={year:x,month:x,day:x},O={year:x,month:j,day:x},E={year:x,month:j,day:x,weekday:j},A={year:x,month:T,day:x},R={year:x,month:T,day:x,weekday:T},N={hour:x,minute:x},I={hour:x,minute:x,second:x},D={hour:x,minute:x,second:x,timeZoneName:j},C={hour:x,minute:x,second:x,timeZoneName:T},M={hour:x,minute:x,hourCycle:"h23"},P={hour:x,minute:x,second:x,hourCycle:"h23"},z={hour:x,minute:x,second:x,hourCycle:"h23",timeZoneName:j},L={hour:x,minute:x,second:x,hourCycle:"h23",timeZoneName:T},F={year:x,month:x,day:x,hour:x,minute:x},B={year:x,month:x,day:x,hour:x,minute:x,second:x},q={year:x,month:j,day:x,hour:x,minute:x},$={year:x,month:j,day:x,hour:x,minute:x,second:x},U={year:x,month:j,day:x,weekday:j,hour:x,minute:x},V={year:x,month:T,day:x,hour:x,minute:x,timeZoneName:j},W={year:x,month:T,day:x,hour:x,minute:x,second:x,timeZoneName:j},Z={year:x,month:T,day:x,weekday:T,hour:x,minute:x,timeZoneName:T},H={year:x,month:T,day:x,weekday:T,hour:x,minute:x,second:x,timeZoneName:T},J=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new _},t.formatOffset=function(e,t){throw new _},t.offset=function(e){throw new _},t.equals=function(e){throw new _},i(e,[{key:"type",get:function(){throw new _}},{key:"name",get:function(){throw new _}},{key:"ianaName",get:function(){return this.name}},{key:"isUniversal",get:function(){throw new _}},{key:"isValid",get:function(){throw new _}}]),e}(),K=null,Y=function(e){function t(){return e.apply(this,arguments)||this}s(t,e);var n=t.prototype;return n.offsetName=function(e,t){return bt(e,t.format,t.locale)},n.formatOffset=function(e,t){return wt(this.offset(e),t)},n.offset=function(e){return-new Date(e).getTimezoneOffset()},n.equals=function(e){return"system"===e.type},i(t,[{key:"type",get:function(){return"system"}},{key:"name",get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===K&&(K=new t),K}}]),t}(J),G={};var Q={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};var X={},ee=function(e){function t(n){var r;return(r=e.call(this)||this).zoneName=n,r.valid=t.isValidZone(n),r}s(t,e),t.create=function(e){return X[e]||(X[e]=new t(e)),X[e]},t.resetCache=function(){X={},G={}},t.isValidSpecifier=function(e){return this.isValidZone(e)},t.isValidZone=function(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}};var n=t.prototype;return n.offsetName=function(e,t){return bt(e,t.format,t.locale,this.name)},n.formatOffset=function(e,t){return wt(this.offset(e),t)},n.offset=function(e){var t=new Date(e);if(isNaN(t))return NaN;var n,r=(n=this.name,G[n]||(G[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),G[n]),i=r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var o=n[i],s=o.type,a=o.value,u=Q[s];"era"===s?r[u]=a:Ke(u)||(r[u]=parseInt(a,10))}return r}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),i=r[1],o=r[2];return[r[3],i,o,r[4],r[5],r[6],r[7]]}(r,t),o=i[0],s=i[1],a=i[2],u=i[3],l=i[4],c=i[5],f=i[6];"BC"===u&&(o=1-Math.abs(o));var h=+t,d=h%1e3;return(ht({year:o,month:s,day:a,hour:24===l?0:l,minute:c,second:f,millisecond:0})-(h-=d>=0?d:1e3+d))/6e4},n.equals=function(e){return"iana"===e.type&&e.name===this.name},i(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(J),te=["base"],ne=["padTo","floor"],re={};var ie={};function oe(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=ie[n];return r||(r=new Intl.DateTimeFormat(e,t),ie[n]=r),r}var se={};var ae={};var ue=null;var le={};function ce(e,t,n,r){var i=e.listingMode();return"error"===i?null:"en"===i?n(t):r(t)}var fe=function(){function e(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1,n.padTo,n.floor;var r=f(n,ne);if(!t||Object.keys(r).length>0){var i=o({useGrouping:!1},n);n.padTo>0&&(i.minimumIntegerDigits=n.padTo),this.inf=function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=se[n];return r||(r=new Intl.NumberFormat(e,t),se[n]=r),r}(e,i)}}return e.prototype.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}return it(this.floor?Math.floor(e):ut(e,3),this.padTo)},e}(),he=function(){function e(e,t,n){this.opts=n,this.originalZone=undefined;var r=undefined;if(this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){var i=e.offset/60*-1,s=i>=0?"Etc/GMT+"+i:"Etc/GMT"+i;0!==e.offset&&ee.create(s).valid?(r=s,this.dt=e):(r="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,r=e.zone.name):(r="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);var a=o({},this.opts);a.timeZone=a.timeZone||r,this.dtf=oe(t,a)}var t=e.prototype;return t.format=function(){return this.originalZone?this.formatToParts().map(function(e){return e.value}).join(""):this.dtf.format(this.dt.toJSDate())},t.formatToParts=function(){var e=this,t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(function(t){return"timeZoneName"===t.type?o({},t,{value:e.originalZone.offsetName(e.dt.ts,{locale:e.dt.locale,format:e.opts.timeZoneName})}):t}):t},t.resolvedOptions=function(){return this.dtf.resolvedOptions()},e}(),de=function(){function e(e,t,n){this.opts=o({style:"long"},n),!t&&Qe()&&(this.rtf=function(e,t){void 0===t&&(t={});var n=t;n.base;var r=f(n,te),i=JSON.stringify([e,r]),o=ae[i];return o||(o=new Intl.RelativeTimeFormat(e,t),ae[i]=o),o}(e,n))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n,r){void 0===n&&(n="always");void 0===r&&(r=!1);var i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&o){var s="days"===e;switch(t){case 1:return s?"tomorrow":"next "+i[e][0];case-1:return s?"yesterday":"last "+i[e][0];case 0:return s?"today":"this "+i[e][0]}}var a=Object.is(t,-0)||t<0,u=Math.abs(t),l=1===u,c=i[e],f=r?l?c[1]:c[2]||c[1]:l?i[e][0]:e;return a?u+" "+f+" ago":"in "+u+" "+f}(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),me={firstDay:1,minimalDays:4,weekend:[6,7]},pe=function(){function e(e,t,n,r,i){var o=function(e){var t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));var n,r,i=e.indexOf("-u-");if(-1===i)return[e];try{n=oe(e).resolvedOptions(),r=e}catch(t){var o=e.substring(0,i);n=oe(o).resolvedOptions(),r=o}var s=n;return[r,s.numberingSystem,s.calendar]}(e),s=o[0],a=o[1],u=o[2];this.locale=s,this.numberingSystem=t||a||null,this.outputCalendar=n||u||null,this.weekSettings=r,this.intl=function(e,t,n){return n||t?(e.includes("-u-")||(e+="-u"),n&&(e+="-ca-"+n),t&&(e+="-nu-"+t),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)},e.create=function(t,n,r,i,o){void 0===o&&(o=!1);var s=t||De.defaultLocale;return new e(s||(o?"en-US":ue||(ue=(new Intl.DateTimeFormat).resolvedOptions().locale)),n||De.defaultNumberingSystem,r||De.defaultOutputCalendar,nt(i)||De.defaultWeekSettings,s)},e.resetCache=function(){ue=null,ie={},se={},ae={}},e.fromObject=function(t){var n=void 0===t?{}:t,r=n.locale,i=n.numberingSystem,o=n.outputCalendar,s=n.weekSettings;return e.create(r,i,o,s)};var t=e.prototype;return t.listingMode=function(){var e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,nt(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(o({},e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(o({},e,{defaultToEN:!1}))},t.months=function(e,t){var n=this;return void 0===t&&(t=!1),ce(this,e,Tt,function(){var r=t?{month:e,day:"numeric"}:{month:e},i=t?"format":"standalone";return n.monthsCache[i][e]||(n.monthsCache[i][e]=function(e){for(var t=[],n=1;n<=12;n++){var r=Rr.utc(2009,n,1);t.push(e(r))}return t}(function(e){return n.extract(e,r,"month")})),n.monthsCache[i][e]})},t.weekdays=function(e,t){var n=this;return void 0===t&&(t=!1),ce(this,e,At,function(){var r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=t?"format":"standalone";return n.weekdaysCache[i][e]||(n.weekdaysCache[i][e]=function(e){for(var t=[],n=1;n<=7;n++){var r=Rr.utc(2016,11,13+n);t.push(e(r))}return t}(function(e){return n.extract(e,r,"weekday")})),n.weekdaysCache[i][e]})},t.meridiems=function(){var e=this;return ce(this,undefined,function(){return Rt},function(){if(!e.meridiemCache){var t={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[Rr.utc(2016,11,13,9),Rr.utc(2016,11,13,19)].map(function(n){return e.extract(n,t,"dayperiod")})}return e.meridiemCache})},t.eras=function(e){var t=this;return ce(this,e,Ct,function(){var n={era:e};return t.eraCache[e]||(t.eraCache[e]=[Rr.utc(-40,1,1),Rr.utc(2017,1,1)].map(function(e){return t.extract(e,n,"era")})),t.eraCache[e]})},t.extract=function(e,t,n){var r=this.dtFormatter(e,t).formatToParts().find(function(e){return e.type.toLowerCase()===n});return r?r.value:null},t.numberFormatter=function(e){return void 0===e&&(e={}),new fe(this.intl,e.forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return void 0===t&&(t={}),new he(e,this.intl,t)},t.relFormatter=function(e){return void 0===e&&(e={}),new de(this.intl,this.isEnglish(),e)},t.listFormatter=function(e){return void 0===e&&(e={}),function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=re[n];return r||(r=new Intl.ListFormat(e,t),re[n]=r),r}(this.intl,e)},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},t.getWeekSettings=function(){return this.weekSettings?this.weekSettings:Xe()?function(e){var t=le[e];if(!t){var n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,le[e]=t}return t}(this.locale):me},t.getStartOfWeek=function(){return this.getWeekSettings().firstDay},t.getMinDaysInFirstWeek=function(){return this.getWeekSettings().minimalDays},t.getWeekendDays=function(){return this.getWeekSettings().weekend},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},t.toString=function(){return"Locale("+this.locale+", "+this.numberingSystem+", "+this.outputCalendar+")"},i(e,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),e}(),be=null,ye=function(e){function t(t){var n;return(n=e.call(this)||this).fixed=t,n}s(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new t(yt(n[1],n[2]))}return null};var n=t.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(e,t){return wt(this.fixed,t)},n.offset=function(){return this.fixed},n.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},i(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+wt(this.fixed,"narrow")}},{key:"ianaName",get:function(){return 0===this.fixed?"Etc/UTC":"Etc/GMT"+wt(-this.fixed,"narrow")}},{key:"isUniversal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}],[{key:"utcInstance",get:function(){return null===be&&(be=new t(0)),be}}]),t}(J),ge=function(e){function t(t){var n;return(n=e.call(this)||this).zoneName=t,n}s(t,e);var n=t.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},i(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(J);function ke(e,t){if(Ke(e)||null===e)return t;if(e instanceof J)return e;if("string"==typeof e){var n=e.toLowerCase();return"default"===n?t:"local"===n||"system"===n?Y.instance:"utc"===n||"gmt"===n?ye.utcInstance:ye.parseSpecifier(n)||ee.create(e)}return Ye(e)?ye.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new ge(e)}var we={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[０-９]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ve={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},_e=we.hanidec.replace(/[\[|\]]/g,"").split("");var xe={};function je(e,t){void 0===t&&(t="");var n=e.numberingSystem||"latn";return xe[n]||(xe[n]={}),xe[n][t]||(xe[n][t]=new RegExp(""+we[n]+t)),xe[n][t]}var Te,Se=function(){return Date.now()},Oe="system",Ee=null,Ae=null,Re=null,Ne=60,Ie=null,De=function(){function e(){}return e.resetCaches=function(){pe.resetCache(),ee.resetCache(),Rr.resetCache(),xe={}},i(e,null,[{key:"now",get:function(){return Se},set:function(e){Se=e}},{key:"defaultZone",get:function(){return ke(Oe,Y.instance)},set:function(e){Oe=e}},{key:"defaultLocale",get:function(){return Ee},set:function(e){Ee=e}},{key:"defaultNumberingSystem",get:function(){return Ae},set:function(e){Ae=e}},{key:"defaultOutputCalendar",get:function(){return Re},set:function(e){Re=e}},{key:"defaultWeekSettings",get:function(){return Ie},set:function(e){Ie=nt(e)}},{key:"twoDigitCutoffYear",get:function(){return Ne},set:function(e){Ne=e%100}},{key:"throwOnInvalid",get:function(){return Te},set:function(e){Te=e}}]),e}(),Ce=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),Me=[0,31,59,90,120,151,181,212,243,273,304,334],Pe=[0,31,60,91,121,152,182,213,244,274,305,335];function ze(e,t){return new Ce("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function Le(e,t,n){var r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);var i=r.getUTCDay();return 0===i?7:i}function Fe(e,t,n){return n+(lt(e)?Pe:Me)[t-1]}function Be(e,t){var n=lt(e)?Pe:Me,r=n.findIndex(function(e){return e<t});return{month:r+1,day:t-n[r]}}function qe(e,t){return(e-t+7)%7+1}function $e(e,t,n){void 0===t&&(t=4),void 0===n&&(n=1);var r,i=e.year,s=e.month,a=e.day,u=Fe(i,s,a),l=qe(Le(i,s,a),n),c=Math.floor((u-l+14-t)/7);return c<1?c=mt(r=i-1,t,n):c>mt(i,t,n)?(r=i+1,c=1):r=i,o({weekYear:r,weekNumber:c,weekday:l},vt(e))}function Ue(e,t,n){void 0===t&&(t=4),void 0===n&&(n=1);var r,i=e.weekYear,s=e.weekNumber,a=e.weekday,u=qe(Le(i,1,t),n),l=ct(i),c=7*s+a-u-7+t;c<1?c+=ct(r=i-1):c>l?(r=i+1,c-=ct(i)):r=i;var f=Be(r,c);return o({year:r,month:f.month,day:f.day},vt(e))}function Ve(e){var t=e.year;return o({year:t,ordinal:Fe(t,e.month,e.day)},vt(e))}function We(e){var t=e.year,n=Be(t,e.ordinal);return o({year:t,month:n.month,day:n.day},vt(e))}function Ze(e,t){if(!Ke(e.localWeekday)||!Ke(e.localWeekNumber)||!Ke(e.localWeekYear)){if(!Ke(e.weekday)||!Ke(e.weekNumber)||!Ke(e.weekYear))throw new k("Cannot mix locale-based week fields with ISO-based week fields");return Ke(e.localWeekday)||(e.weekday=e.localWeekday),Ke(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Ke(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function He(e){var t=Ge(e.year),n=rt(e.month,1,12),r=rt(e.day,1,ft(e.year,e.month));return t?n?!r&&ze("day",e.day):ze("month",e.month):ze("year",e.year)}function Je(e){var t=e.hour,n=e.minute,r=e.second,i=e.millisecond,o=rt(t,0,23)||24===t&&0===n&&0===r&&0===i,s=rt(n,0,59),a=rt(r,0,59),u=rt(i,0,999);return o?s?a?!u&&ze("millisecond",i):ze("second",r):ze("minute",n):ze("hour",t)}function Ke(e){return void 0===e}function Ye(e){return"number"==typeof e}function Ge(e){return"number"==typeof e&&e%1==0}function Qe(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function Xe(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function et(e,t,n){return 0===e.length?undefined:e.reduce(function(e,r){var i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i},null)[1]}function tt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function nt(e){if(null==e)return null;if("object"!=typeof e)throw new v("Week settings must be an object");if(!rt(e.firstDay,1,7)||!rt(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(function(e){return!rt(e,1,7)}))throw new v("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function rt(e,t,n){return Ge(e)&&e>=t&&e<=n}function it(e,t){return void 0===t&&(t=2),e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function ot(e){return Ke(e)||null===e||""===e?undefined:parseInt(e,10)}function st(e){return Ke(e)||null===e||""===e?undefined:parseFloat(e)}function at(e){if(Ke(e)||null===e||""===e)return undefined;var t=1e3*parseFloat("0."+e);return Math.floor(t)}function ut(e,t,n){void 0===n&&(n=!1);var r=Math.pow(10,t);return(n?Math.trunc:Math.round)(e*r)/r}function lt(e){return e%4==0&&(e%100!=0||e%400==0)}function ct(e){return lt(e)?366:365}function ft(e,t){var n=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===n?lt(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function ht(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(e.year,e.month-1,e.day),+t}function dt(e,t,n){return-qe(Le(e,1,t),n)+t-1}function mt(e,t,n){void 0===t&&(t=4),void 0===n&&(n=1);var r=dt(e,t,n),i=dt(e+1,t,n);return(ct(e)-r+i)/7}function pt(e){return e>99?e:e>De.twoDigitCutoffYear?1900+e:2e3+e}function bt(e,t,n,r){void 0===r&&(r=null);var i=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(s.timeZone=r);var a=o({timeZoneName:t},s),u=new Intl.DateTimeFormat(n,a).formatToParts(i).find(function(e){return"timezonename"===e.type.toLowerCase()});return u?u.value:null}function yt(e,t){var n=parseInt(e,10);Number.isNaN(n)&&(n=0);var r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function gt(e){var t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new v("Invalid unit value "+e);return t}function kt(e,t){var n={};for(var r in e)if(tt(e,r)){var i=e[r];if(i===undefined||null===i)continue;n[t(r)]=gt(i)}return n}function wt(e,t){var n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return""+i+it(n,2)+":"+it(r,2);case"narrow":return""+i+n+(r>0?":"+r:"");case"techie":return""+i+it(n,2)+it(r,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function vt(e){return function(e,t){return t.reduce(function(t,n){return t[n]=e[n],t},{})}(e,["hour","minute","second","millisecond"])}var _t=["January","February","March","April","May","June","July","August","September","October","November","December"],xt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],jt=["J","F","M","A","M","J","J","A","S","O","N","D"];function Tt(e){switch(e){case"narrow":return[].concat(jt);case"short":return[].concat(xt);case"long":return[].concat(_t);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var St=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ot=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Et=["M","T","W","T","F","S","S"];function At(e){switch(e){case"narrow":return[].concat(Et);case"short":return[].concat(Ot);case"long":return[].concat(St);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Rt=["AM","PM"],Nt=["Before Christ","Anno Domini"],It=["BC","AD"],Dt=["B","A"];function Ct(e){switch(e){case"narrow":return[].concat(Dt);case"short":return[].concat(It);case"long":return[].concat(Nt);default:return null}}function Mt(e,t){for(var n,r="",i=d(e);!(n=i()).done;){var o=n.value;o.literal?r+=o.val:r+=t(o.val)}return r}var Pt={D:S,DD:O,DDD:A,DDDD:R,t:N,tt:I,ttt:D,tttt:C,T:M,TT:P,TTT:z,TTTT:L,f:F,ff:q,fff:V,ffff:Z,F:B,FF:$,FFF:W,FFFF:H},zt=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,n){return void 0===n&&(n={}),new e(t,n)},e.parseFormat=function(e){for(var t=null,n="",r=!1,i=[],o=0;o<e.length;o++){var s=e.charAt(o);"'"===s?(n.length>0&&i.push({literal:r||/^\s+$/.test(n),val:n}),t=null,n="",r=!r):r||s===t?n+=s:(n.length>0&&i.push({literal:/^\s+$/.test(n),val:n}),n=s,t=s)}return n.length>0&&i.push({literal:r||/^\s+$/.test(n),val:n}),i},e.macroTokenToFormatOpts=function(e){return Pt[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,o({},this.opts,t)).format()},t.dtFormatter=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,o({},this.opts,t))},t.formatDateTime=function(e,t){return this.dtFormatter(e,t).format()},t.formatDateTimeParts=function(e,t){return this.dtFormatter(e,t).formatToParts()},t.formatInterval=function(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())},t.resolvedOptions=function(e,t){return this.dtFormatter(e,t).resolvedOptions()},t.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return it(e,t);var n=o({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)},t.formatDateTimeFromString=function(t,n){var r=this,i="en"===this.loc.listingMode(),o=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=function(e,n){return r.loc.extract(t,e,n)},a=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},u=function(){return i?function(e){return Rt[e.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod")},l=function(e,n){return i?function(e,t){return Tt(t)[e.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month")},c=function(e,n){return i?function(e,t){return At(t)[e.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},f=function(e){return i?function(e,t){return Ct(t)[e.year<0?0:1]}(t,e):s({era:e},"era")};return Mt(e.parseFormat(n),function(n){switch(n){case"S":return r.num(t.millisecond);case"u":case"SSS":return r.num(t.millisecond,3);case"s":return r.num(t.second);case"ss":return r.num(t.second,2);case"uu":return r.num(Math.floor(t.millisecond/10),2);case"uuu":return r.num(Math.floor(t.millisecond/100));case"m":return r.num(t.minute);case"mm":return r.num(t.minute,2);case"h":return r.num(t.hour%12==0?12:t.hour%12);case"hh":return r.num(t.hour%12==0?12:t.hour%12,2);case"H":return r.num(t.hour);case"HH":return r.num(t.hour,2);case"Z":return a({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return a({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:r.loc.locale});case"z":return t.zoneName;case"a":return u();case"d":return o?s({day:"numeric"},"day"):r.num(t.day);case"dd":return o?s({day:"2-digit"},"day"):r.num(t.day,2);case"c":case"E":return r.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return o?s({month:"numeric",day:"numeric"},"month"):r.num(t.month);case"LL":return o?s({month:"2-digit",day:"numeric"},"month"):r.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return o?s({month:"numeric"},"month"):r.num(t.month);case"MM":return o?s({month:"2-digit"},"month"):r.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return o?s({year:"numeric"},"year"):r.num(t.year);case"yy":return o?s({year:"2-digit"},"year"):r.num(t.year.toString().slice(-2),2);case"yyyy":return o?s({year:"numeric"},"year"):r.num(t.year,4);case"yyyyyy":return o?s({year:"numeric"},"year"):r.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return r.num(t.weekYear.toString().slice(-2),2);case"kkkk":return r.num(t.weekYear,4);case"W":return r.num(t.weekNumber);case"WW":return r.num(t.weekNumber,2);case"n":return r.num(t.localWeekNumber);case"nn":return r.num(t.localWeekNumber,2);case"ii":return r.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return r.num(t.localWeekYear,4);case"o":return r.num(t.ordinal);case"ooo":return r.num(t.ordinal,3);case"q":return r.num(t.quarter);case"qq":return r.num(t.quarter,2);case"X":return r.num(Math.floor(t.ts/1e3));case"x":return r.num(t.ts);default:return function(n){var i=e.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(t,i):n}(n)}})},t.formatDurationFromString=function(t,n){var r,i=this,o=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=e.parseFormat(n),a=s.reduce(function(e,t){var n=t.literal,r=t.val;return n?e:e.concat(r)},[]),u=t.shiftTo.apply(t,a.map(o).filter(function(e){return e}));return Mt(s,(r=u,function(e){var t=o(e);return t?i.num(r.get(t),e.length):e}))},e}(),Lt=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ft(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce(function(e,t){return e+t.source},"");return RegExp("^"+r+"$")}function Bt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(t,n){var r=t[0],i=t[1],s=t[2],a=n(e,s),u=a[0],l=a[1],c=a[2];return[o({},r,u),l||i,c]},[{},null,1]).slice(0,2)}}function qt(e){if(null==e)return[null,null];for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var s=o[i],a=s[0],u=s[1],l=a.exec(e);if(l)return u(l)}return[null,null]}function $t(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){var r,i={};for(r=0;r<t.length;r++)i[t[r]]=ot(e[n+r]);return[i,null,n+r]}}var Ut=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Vt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Wt=RegExp(""+Vt.source+("(?:"+Ut.source+"?(?:\\[("+Lt.source+")\\])?)?")),Zt=RegExp("(?:T"+Wt.source+")?"),Ht=$t("weekYear","weekNumber","weekDay"),Jt=$t("year","ordinal"),Kt=RegExp(Vt.source+" ?(?:"+Ut.source+"|("+Lt.source+"))?"),Yt=RegExp("(?: "+Kt.source+")?");function Gt(e,t,n){var r=e[t];return Ke(r)?n:ot(r)}function Qt(e,t){return[{hours:Gt(e,t,0),minutes:Gt(e,t+1,0),seconds:Gt(e,t+2,0),milliseconds:at(e[t+3])},null,t+4]}function Xt(e,t){var n=!e[t]&&!e[t+1],r=yt(e[t+1],e[t+2]);return[{},n?null:ye.instance(r),t+3]}function en(e,t){return[{},e[t]?ee.create(e[t]):null,t+1]}var tn=RegExp("^T?"+Vt.source+"$"),nn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function rn(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],s=e[5],a=e[6],u=e[7],l=e[8],c="-"===t[0],f=u&&"-"===u[0],h=function(e,t){return void 0===t&&(t=!1),e!==undefined&&(t||e&&c)?-e:e};return[{years:h(st(n)),months:h(st(r)),weeks:h(st(i)),days:h(st(o)),hours:h(st(s)),minutes:h(st(a)),seconds:h(st(u),"-0"===u),milliseconds:h(at(l),f)}]}var on={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function sn(e,t,n,r,i,o,s){var a={year:2===t.length?pt(ot(t)):ot(t),month:xt.indexOf(n)+1,day:ot(r),hour:ot(i),minute:ot(o)};return s&&(a.second=ot(s)),e&&(a.weekday=e.length>3?St.indexOf(e)+1:Ot.indexOf(e)+1),a}var an=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function un(e){var t,n=e[1],r=e[2],i=e[3],o=e[4],s=e[5],a=e[6],u=e[7],l=e[8],c=e[9],f=e[10],h=e[11],d=sn(n,o,i,r,s,a,u);return t=l?on[l]:c?0:yt(f,h),[d,new ye(t)]}var ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,cn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function hn(e){var t=e[1],n=e[2],r=e[3];return[sn(t,e[4],r,n,e[5],e[6],e[7]),ye.utcInstance]}function dn(e){var t=e[1],n=e[2],r=e[3],i=e[4],o=e[5],s=e[6];return[sn(t,e[7],n,r,i,o,s),ye.utcInstance]}var mn=Ft(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Zt),pn=Ft(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Zt),bn=Ft(/(\d{4})-?(\d{3})/,Zt),yn=Ft(Wt),gn=Bt(function(e,t){return[{year:Gt(e,t),month:Gt(e,t+1,1),day:Gt(e,t+2,1)},null,t+3]},Qt,Xt,en),kn=Bt(Ht,Qt,Xt,en),wn=Bt(Jt,Qt,Xt,en),vn=Bt(Qt,Xt,en);var _n=Bt(Qt);var xn=Ft(/(\d{4})-(\d\d)-(\d\d)/,Yt),jn=Ft(Kt),Tn=Bt(Qt,Xt,en);var Sn="Invalid Duration",On={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},En=o({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},On),An=365.2425,Rn=30.436875,Nn=o({years:{quarters:4,months:12,weeks:52.1775,days:An,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:Rn,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},On),In=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Dn=In.slice(0).reverse();function Cn(e,t,n){void 0===n&&(n=!1);var r={values:n?t.values:o({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new zn(r)}function Mn(e,t){for(var n,r,i=null!=(n=t.milliseconds)?n:0,o=d(Dn.slice(1));!(r=o()).done;){var s=r.value;t[s]&&(i+=t[s]*e[s].milliseconds)}return i}function Pn(e,t){var n=Mn(e,t)<0?-1:1;In.reduceRight(function(r,i){if(Ke(t[i]))return r;if(r){var o=t[r]*n,s=e[i][r],a=Math.floor(o/s);t[i]+=a*n,t[r]-=a*s*n}return i},null),In.reduce(function(n,r){if(Ke(t[r]))return n;if(n){var i=t[n]%1;t[n]-=i,t[r]+=i*e[n][r]}return r},null)}var zn=function(e){function t(e){var t="longterm"===e.conversionAccuracy||!1,n=t?Nn:En;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||pe.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}t.fromMillis=function(e,n){return t.fromObject({milliseconds:e},n)},t.fromObject=function(e,n){if(void 0===n&&(n={}),null==e||"object"!=typeof e)throw new v("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new t({values:kt(e,t.normalizeUnit),loc:pe.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})},t.fromDurationLike=function(e){if(Ye(e))return t.fromMillis(e);if(t.isDuration(e))return e;if("object"==typeof e)return t.fromObject(e);throw new v("Unknown duration argument "+e+" of type "+typeof e)},t.fromISO=function(e,n){var r=function(e){return qt(e,[nn,rn])}(e),i=r[0];return i?t.fromObject(i,n):t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.fromISOTime=function(e,n){var r=function(e){return qt(e,[tn,_n])}(e),i=r[0];return i?t.fromObject(i,n):t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new v("need to specify a reason the Duration is invalid");var r=e instanceof Ce?e:new Ce(e,n);if(De.throwOnInvalid)throw new g(r);return new t({invalid:r})},t.normalizeUnit=function(e){var t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new w(e);return t},t.isDuration=function(e){return e&&e.isLuxonDuration||!1};var n=t.prototype;return n.toFormat=function(e,t){void 0===t&&(t={});var n=o({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?zt.create(this.loc,n).formatDurationFromString(this,e):Sn},n.toHuman=function(e){var t=this;if(void 0===e&&(e={}),!this.isValid)return Sn;var n=In.map(function(n){var r=t.values[n];return Ke(r)?null:t.loc.numberFormatter(o({style:"unit",unitDisplay:"long"},e,{unit:n.slice(0,-1)})).format(r)}).filter(function(e){return e});return this.loc.listFormatter(o({type:"conjunction",style:e.listStyle||"narrow"},e)).format(n)},n.toObject=function(){return this.isValid?o({},this.values):{}},n.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=ut(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},n.toISOTime=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var t=this.toMillis();return t<0||t>=864e5?null:(e=o({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e,{includeOffset:!1}),Rr.fromMillis(t,{zone:"UTC"}).toISOTime(e))},n.toJSON=function(){return this.toISO()},n.toString=function(){return this.toISO()},n[e]=function(){return this.isValid?"Duration { values: "+JSON.stringify(this.values)+" }":"Duration { Invalid, reason: "+this.invalidReason+" }"},n.toMillis=function(){return this.isValid?Mn(this.matrix,this.values):NaN},n.valueOf=function(){return this.toMillis()},n.plus=function(e){if(!this.isValid)return this;for(var n=t.fromDurationLike(e),r={},i=0,o=In;i<o.length;i++){var s=o[i];(tt(n.values,s)||tt(this.values,s))&&(r[s]=n.get(s)+this.get(s))}return Cn(this,{values:r},!0)},n.minus=function(e){if(!this.isValid)return this;var n=t.fromDurationLike(e);return this.plus(n.negate())},n.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,r=Object.keys(this.values);n<r.length;n++){var i=r[n];t[i]=gt(e(this.values[i],i))}return Cn(this,{values:t},!0)},n.get=function(e){return this[t.normalizeUnit(e)]},n.set=function(e){return this.isValid?Cn(this,{values:o({},this.values,kt(e,t.normalizeUnit))}):this},n.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.conversionAccuracy,o=t.matrix;return Cn(this,{loc:this.loc.clone({locale:n,numberingSystem:r}),matrix:o,conversionAccuracy:i})},n.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},n.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return Pn(this.matrix,e),Cn(this,{values:e},!0)},n.rescale=function(){return this.isValid?Cn(this,{values:function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],o=i[0],s=i[1];0!==s&&(t[o]=s)}return t}(this.normalize().shiftToAll().toObject())},!0):this},n.shiftTo=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map(function(e){return t.normalizeUnit(e)});for(var i,o={},s={},a=this.toObject(),u=0,l=In;u<l.length;u++){var c=l[u];if(n.indexOf(c)>=0){i=c;var f=0;for(var h in s)f+=this.matrix[h][c]*s[h],s[h]=0;Ye(a[c])&&(f+=a[c]);var d=Math.trunc(f);o[c]=d,s[c]=(1e3*f-1e3*d)/1e3}else Ye(a[c])&&(s[c]=a[c])}for(var m in s)0!==s[m]&&(o[i]+=m===i?s[m]:s[m]/this.matrix[i][m]);return Pn(this.matrix,o),Cn(this,{values:o},!0)},n.shiftToAll=function(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this},n.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var r=n[t];e[r]=0===this.values[r]?0:-this.values[r]}return Cn(this,{values:e},!0)},n.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;function t(e,t){return e===undefined||0===e?t===undefined||0===t:e===t}for(var n=0,r=In;n<r.length;n++){var i=r[n];if(!t(this.values[i],e.values[i]))return!1}return!0},i(t,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}(Symbol.for("nodejs.util.inspect.custom")),Ln="Invalid Interval";function Fn(e,t){return e&&e.isValid?t&&t.isValid?t<e?Bn.invalid("end before start","The end of an interval must be after its start, but you had start="+e.toISO()+" and end="+t.toISO()):null:Bn.invalid("missing or invalid end"):Bn.invalid("missing or invalid start")}var Bn=function(e){function t(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new v("need to specify a reason the Interval is invalid");var r=e instanceof Ce?e:new Ce(e,n);if(De.throwOnInvalid)throw new y(r);return new t({invalid:r})},t.fromDateTimes=function(e,n){var r=Nr(e),i=Nr(n),o=Fn(r,i);return null==o?new t({start:r,end:i}):o},t.after=function(e,n){var r=zn.fromDurationLike(n),i=Nr(e);return t.fromDateTimes(i,i.plus(r))},t.before=function(e,n){var r=zn.fromDurationLike(n),i=Nr(e);return t.fromDateTimes(i.minus(r),i)},t.fromISO=function(e,n){var r=(e||"").split("/",2),i=r[0],o=r[1];if(i&&o){var s,a,u,l;try{a=(s=Rr.fromISO(i,n)).isValid}catch(o){a=!1}try{l=(u=Rr.fromISO(o,n)).isValid}catch(o){l=!1}if(a&&l)return t.fromDateTimes(s,u);if(a){var c=zn.fromISO(o,n);if(c.isValid)return t.after(s,c)}else if(l){var f=zn.fromISO(i,n);if(f.isValid)return t.before(u,f)}}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.isInterval=function(e){return e&&e.isLuxonInterval||!1};var n=t.prototype;return n.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},n.count=function(e,t){if(void 0===e&&(e="milliseconds"),!this.isValid)return NaN;var n,r=this.start.startOf(e,t);return n=(n=null!=t&&t.useLocaleWeeks?this.end.reconfigure({locale:r.locale}):this.end).startOf(e,t),Math.floor(n.diff(r,e).get(e))+(n.valueOf()!==this.end.valueOf())},n.hasSame=function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))},n.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},n.isAfter=function(e){return!!this.isValid&&this.s>e},n.isBefore=function(e){return!!this.isValid&&this.e<=e},n.contains=function(e){return!!this.isValid&&(this.s<=e&&this.e>e)},n.set=function(e){var n=void 0===e?{}:e,r=n.start,i=n.end;return this.isValid?t.fromDateTimes(r||this.s,i||this.e):this},n.splitAt=function(){var e=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(var o=r.map(Nr).filter(function(t){return e.contains(t)}).sort(function(e,t){return e.toMillis()-t.toMillis()}),s=[],a=this.s,u=0;a<this.e;){var l=o[u]||this.e,c=+l>+this.e?this.e:l;s.push(t.fromDateTimes(a,c)),a=c,u+=1}return s},n.splitBy=function(e){var n=zn.fromDurationLike(e);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,i=this.s,o=1,s=[];i<this.e;){var a=this.start.plus(n.mapUnits(function(e){return e*o}));r=+a>+this.e?this.e:a,s.push(t.fromDateTimes(i,r)),i=r,o+=1}return s},n.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},n.overlaps=function(e){return this.e>e.s&&this.s<e.e},n.abutsStart=function(e){return!!this.isValid&&+this.e===+e.s},n.abutsEnd=function(e){return!!this.isValid&&+e.e===+this.s},n.engulfs=function(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)},n.equals=function(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))},n.intersection=function(e){if(!this.isValid)return this;var n=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return n>=r?null:t.fromDateTimes(n,r)},n.union=function(e){if(!this.isValid)return this;var n=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return t.fromDateTimes(n,r)},t.merge=function(e){var t=e.sort(function(e,t){return e.s-t.s}).reduce(function(e,t){var n=e[0],r=e[1];return r?r.overlaps(t)||r.abutsStart(t)?[n,r.union(t)]:[n.concat([r]),t]:[n,t]},[[],null]),n=t[0],r=t[1];return r&&n.push(r),n},t.xor=function(e){for(var n,r,i=null,o=0,s=[],a=e.map(function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]}),u=d((n=Array.prototype).concat.apply(n,a).sort(function(e,t){return e.time-t.time}));!(r=u()).done;){var l=r.value;1===(o+="s"===l.type?1:-1)?i=l.time:(i&&+i!==+l.time&&s.push(t.fromDateTimes(i,l.time)),i=null)}return t.merge(s)},n.difference=function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.xor([this].concat(r)).map(function(t){return e.intersection(t)}).filter(function(e){return e&&!e.isEmpty()})},n.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":Ln},n[e]=function(){return this.isValid?"Interval { start: "+this.s.toISO()+", end: "+this.e.toISO()+" }":"Interval { Invalid, reason: "+this.invalidReason+" }"},n.toLocaleString=function(e,t){return void 0===e&&(e=S),void 0===t&&(t={}),this.isValid?zt.create(this.s.loc.clone(t),e).formatInterval(this):Ln},n.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):Ln},n.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():Ln},n.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):Ln},n.toFormat=function(e,t){var n=(void 0===t?{}:t).separator,r=void 0===n?" – ":n;return this.isValid?""+this.s.toFormat(e)+r+this.e.toFormat(e):Ln},n.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):zn.invalid(this.invalidReason)},n.mapEndpoints=function(e){return t.fromDateTimes(e(this.s),e(this.e))},i(t,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}(Symbol.for("nodejs.util.inspect.custom")),qn=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=De.defaultZone);var t=Rr.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return ee.isValidZone(e)},e.normalizeZone=function(e){return ke(e,De.defaultZone)},e.getStartOfWeek=function(e){var t=void 0===e?{}:e,n=t.locale,r=void 0===n?null:n,i=t.locObj;return((void 0===i?null:i)||pe.create(r)).getStartOfWeek()},e.getMinimumDaysInFirstWeek=function(e){var t=void 0===e?{}:e,n=t.locale,r=void 0===n?null:n,i=t.locObj;return((void 0===i?null:i)||pe.create(r)).getMinDaysInFirstWeek()},e.getWeekendWeekdays=function(e){var t=void 0===e?{}:e,n=t.locale,r=void 0===n?null:n,i=t.locObj;return((void 0===i?null:i)||pe.create(r)).getWeekendDays().slice()},e.months=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,s=void 0===o?null:o,a=n.locObj,u=void 0===a?null:a,l=n.outputCalendar,c=void 0===l?"gregory":l;return(u||pe.create(i,s,c)).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,s=void 0===o?null:o,a=n.locObj,u=void 0===a?null:a,l=n.outputCalendar,c=void 0===l?"gregory":l;return(u||pe.create(i,s,c)).months(e,!0)},e.weekdays=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,s=void 0===o?null:o,a=n.locObj;return((void 0===a?null:a)||pe.create(i,s,null)).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,s=void 0===o?null:o,a=n.locObj;return((void 0===a?null:a)||pe.create(i,s,null)).weekdays(e,!0)},e.meridiems=function(e){var t=(void 0===e?{}:e).locale,n=void 0===t?null:t;return pe.create(n).meridiems()},e.eras=function(e,t){void 0===e&&(e="short");var n=(void 0===t?{}:t).locale,r=void 0===n?null:n;return pe.create(r,null,"gregory").eras(e)},e.features=function(){return{relative:Qe(),localeWeek:Xe()}},e}();function $n(e,t){var n=function(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},r=n(t)-n(e);return Math.floor(zn.fromMillis(r).as("days"))}function Un(e,t,n,r){var i=function(e,t,n){for(var r,i,o={},s=e,a=0,u=[["years",function(e,t){return t.year-e.year}],["quarters",function(e,t){return t.quarter-e.quarter+4*(t.year-e.year)}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var n=$n(e,t);return(n-n%7)/7}],["days",$n]];a<u.length;a++){var l=u[a],c=l[0],f=l[1];n.indexOf(c)>=0&&(r=c,o[c]=f(e,t),(i=s.plus(o))>t?(o[c]--,(e=s.plus(o))>t&&(i=e,o[c]--,e=s.plus(o))):e=i)}return[e,o,i,r]}(e,t,n),o=i[0],s=i[1],a=i[2],u=i[3],l=t-o,c=n.filter(function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0});if(0===c.length){var f;if(a<t)a=o.plus(((f={})[u]=1,f));a!==o&&(s[u]=(s[u]||0)+l/(a-o))}var h,d=zn.fromObject(s,r);return c.length>0?(h=zn.fromMillis(l,r)).shiftTo.apply(h,c).plus(d):d}function Vn(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){var n=e[0];return t(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(-1!==e[n].search(we.hanidec))t+=_e.indexOf(e[n]);else for(var i in ve){var o=ve[i],s=o[0],a=o[1];r>=s&&r<=a&&(t+=r-s)}}return parseInt(t,10)}return t}(n))}}}var Wn="[ "+String.fromCharCode(160)+"]",Zn=new RegExp(Wn,"g");function Hn(e){return e.replace(/\./g,"\\.?").replace(Zn,Wn)}function Jn(e){return e.replace(/\./g,"").replace(Zn," ").toLowerCase()}function Kn(e,t){return null===e?null:{regex:RegExp(e.map(Hn).join("|")),deser:function(n){var r=n[0];return e.findIndex(function(e){return Jn(r)===Jn(e)})+t}}}function Yn(e,t){return{regex:e,deser:function(e){return yt(e[1],e[2])},groups:t}}function Gn(e){return{regex:e,deser:function(e){return e[0]}}}var Qn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};var Xn=null;function er(e,t){var n;return(n=Array.prototype).concat.apply(n,e.map(function(e){return function(e,t){if(e.literal)return e;var n=rr(zt.macroTokenToFormatOpts(e.val),t);return null==n||n.includes(undefined)?e:n}(e,t)}))}var tr=function(){function e(e,t){if(this.locale=e,this.format=t,this.tokens=er(zt.parseFormat(t),e),this.units=this.tokens.map(function(t){return n=t,i=je(r=e),o=je(r,"{2}"),s=je(r,"{3}"),a=je(r,"{4}"),u=je(r,"{6}"),l=je(r,"{1,2}"),c=je(r,"{1,3}"),f=je(r,"{1,6}"),h=je(r,"{1,9}"),d=je(r,"{2,4}"),m=je(r,"{4,6}"),p=function(e){return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(e){return e[0]},literal:!0};var t},b=function(e){if(n.literal)return p(e);switch(e.val){case"G":return Kn(r.eras("short"),0);case"GG":return Kn(r.eras("long"),0);case"y":return Vn(f);case"yy":case"kk":return Vn(d,pt);case"yyyy":case"kkkk":return Vn(a);case"yyyyy":return Vn(m);case"yyyyyy":return Vn(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Vn(l);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Vn(o);case"MMM":return Kn(r.months("short",!0),1);case"MMMM":return Kn(r.months("long",!0),1);case"LLL":return Kn(r.months("short",!1),1);case"LLLL":return Kn(r.months("long",!1),1);case"o":case"S":return Vn(c);case"ooo":case"SSS":return Vn(s);case"u":return Gn(h);case"uu":return Gn(l);case"uuu":case"E":case"c":return Vn(i);case"a":return Kn(r.meridiems(),0);case"EEE":return Kn(r.weekdays("short",!1),1);case"EEEE":return Kn(r.weekdays("long",!1),1);case"ccc":return Kn(r.weekdays("short",!0),1);case"cccc":return Kn(r.weekdays("long",!0),1);case"Z":case"ZZ":return Yn(new RegExp("([+-]"+l.source+")(?::("+o.source+"))?"),2);case"ZZZ":return Yn(new RegExp("([+-]"+l.source+")("+o.source+")?"),2);case"z":return Gn(/[a-z_+-/]{1,256}?/i);case" ":return Gn(/[^\S\n\r]/);default:return p(e)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"},b.token=n,b;var n,r,i,o,s,a,u,l,c,f,h,d,m,p,b}),this.disqualifyingUnit=this.units.find(function(e){return e.invalidReason}),!this.disqualifyingUnit){var n=["^"+(o=this.units).map(function(e){return e.regex}).reduce(function(e,t){return e+"("+t.source+")"},"")+"$",o],r=n[0],i=n[1];this.regex=RegExp(r,"i"),this.handlers=i}var o}return e.prototype.explainFromTokens=function(e){if(this.isValid){var t=function(e,t,n){var r=e.match(t);if(r){var i={},o=1;for(var s in n)if(tt(n,s)){var a=n[s],u=a.groups?a.groups+1:1;!a.literal&&a.token&&(i[a.token.val[0]]=a.deser(r.slice(o,o+u))),o+=u}return[r,i]}return[r,{}]}(e,this.regex,this.handlers),n=t[0],r=t[1],i=r?function(e){var t,n=null;return Ke(e.z)||(n=ee.create(e.z)),Ke(e.Z)||(n||(n=new ye(e.Z)),t=e.Z),Ke(e.q)||(e.M=3*(e.q-1)+1),Ke(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),Ke(e.u)||(e.S=at(e.u)),[Object.keys(e).reduce(function(t,n){var r=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return r&&(t[r]=e[n]),t},{}),n,t]}(r):[null,null,undefined],o=i[0],s=i[1],a=i[2];if(tt(r,"a")&&tt(r,"H"))throw new k("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:r,result:o,zone:s,specificOffset:a}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}},i(e,[{key:"isValid",get:function(){return!this.disqualifyingUnit}},{key:"invalidReason",get:function(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}]),e}();function nr(e,t,n){return new tr(e,n).explainFromTokens(t)}function rr(e,t){if(!e)return null;var n=zt.create(t,e).dtFormatter((Xn||(Xn=Rr.fromMillis(1555555555555)),Xn)),r=n.formatToParts(),i=n.resolvedOptions();return r.map(function(t){return function(e,t,n){var r=e.type,i=e.value;if("literal"===r){var o=/^\s+$/.test(i);return{literal:!o,val:o?" ":i}}var s=t[r],a=r;"hour"===r&&(a=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");var u=Qn[a];return"object"==typeof u&&(u=u[s]),u?{literal:!1,val:u}:undefined}(t,e,i)})}var ir="Invalid DateTime",or=864e13;function sr(e){return new Ce("unsupported zone",'the zone "'+e.name+'" is not supported')}function ar(e){return null===e.weekData&&(e.weekData=$e(e.c)),e.weekData}function ur(e){return null===e.localWeekData&&(e.localWeekData=$e(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function lr(e,t){var n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Rr(o({},n,t,{old:n}))}function cr(e,t,n){var r=e-60*t*1e3,i=n.offset(r);if(t===i)return[r,t];r-=60*(i-t)*1e3;var o=n.offset(r);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}function fr(e,t){var n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function hr(e,t,n){return cr(ht(e),t,n)}function dr(e,t){var n=e.o,r=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),s=o({},e.c,{year:r,month:i,day:Math.min(e.c.day,ft(r,i))+Math.trunc(t.days)+7*Math.trunc(t.weeks)}),a=zn.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),u=cr(ht(s),n,e.zone),l=u[0],c=u[1];return 0!==a&&(l+=a,c=e.zone.offset(l)),{ts:l,o:c}}function mr(e,t,n,r,i,s){var a=n.setZone,u=n.zone;if(e&&0!==Object.keys(e).length||t){var l=t||u,c=Rr.fromObject(e,o({},n,{zone:l,specificOffset:s}));return a?c:c.setZone(u)}return Rr.invalid(new Ce("unparsable",'the input "'+i+"\" can't be parsed as "+r))}function pr(e,t,n){return void 0===n&&(n=!0),e.isValid?zt.create(pe.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function br(e,t){var n=e.c.year>9999||e.c.year<0,r="";return n&&e.c.year>=0&&(r+="+"),r+=it(e.c.year,n?6:4),t?(r+="-",r+=it(e.c.month),r+="-",r+=it(e.c.day)):(r+=it(e.c.month),r+=it(e.c.day)),r}function yr(e,t,n,r,i,o){var s=it(e.c.hour);return t?(s+=":",s+=it(e.c.minute),0===e.c.millisecond&&0===e.c.second&&n||(s+=":")):s+=it(e.c.minute),0===e.c.millisecond&&0===e.c.second&&n||(s+=it(e.c.second),0===e.c.millisecond&&r||(s+=".",s+=it(e.c.millisecond,3))),i&&(e.isOffsetFixed&&0===e.offset&&!o?s+="Z":e.o<0?(s+="-",s+=it(Math.trunc(-e.o/60)),s+=":",s+=it(Math.trunc(-e.o%60))):(s+="+",s+=it(Math.trunc(e.o/60)),s+=":",s+=it(Math.trunc(e.o%60)))),o&&(s+="["+e.zone.ianaName+"]"),s}var gr,kr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},wr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},vr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},_r=["year","month","day","hour","minute","second","millisecond"],xr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],jr=["year","ordinal","hour","minute","second","millisecond"];function Tr(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(e){var t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new w(e);return t}(e)}}function Sr(e,t){var n=ke(t.zone,De.defaultZone);if(!n.isValid)return Rr.invalid(sr(n));var r,i,o=pe.fromObject(t);if(Ke(e.year))r=De.now();else{for(var s=0,a=_r;s<a.length;s++){var u=a[s];Ke(e[u])&&(e[u]=kr[u])}var l=He(e)||Je(e);if(l)return Rr.invalid(l);var c=function(e){return Ar[e]||(gr===undefined&&(gr=De.now()),Ar[e]=e.offset(gr)),Ar[e]}(n),f=hr(e,c,n);r=f[0],i=f[1]}return new Rr({ts:r,zone:n,loc:o,o:i})}function Or(e,t,n){var r=!!Ke(n.round)||n.round,i=function(e,i){return e=ut(e,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(e,i)},o=function(r){return n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r)};if(n.unit)return i(o(n.unit),n.unit);for(var s,a=d(n.units);!(s=a()).done;){var u=s.value,l=o(u);if(Math.abs(l)>=1)return i(l,u)}return i(e>t?-0:0,n.units[n.units.length-1])}function Er(e){var t,n={};return e.length>0&&"object"==typeof e[e.length-1]?(n=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[n,t]}var Ar={},Rr=function(e){function t(e){var t=e.zone||De.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new Ce("invalid input"):null)||(t.isValid?null:sr(t));this.ts=Ke(e.ts)?De.now():e.ts;var r=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t)){var o=[e.old.c,e.old.o];r=o[0],i=o[1]}else{var s=Ye(e.o)&&!e.old?e.o:t.offset(this.ts);r=fr(this.ts,s),r=(n=Number.isNaN(r.year)?new Ce("invalid input"):null)?null:r,i=n?null:s}this._zone=t,this.loc=e.loc||pe.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}t.now=function(){return new t({})},t.local=function(){var e=Er(arguments),t=e[0],n=e[1];return Sr({year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]},t)},t.utc=function(){var e=Er(arguments),t=e[0],n=e[1],r=n[0],i=n[1],o=n[2],s=n[3],a=n[4],u=n[5],l=n[6];return t.zone=ye.utcInstance,Sr({year:r,month:i,day:o,hour:s,minute:a,second:u,millisecond:l},t)},t.fromJSDate=function(e,n){void 0===n&&(n={});var r,i=(r=e,"[object Date]"===Object.prototype.toString.call(r)?e.valueOf():NaN);if(Number.isNaN(i))return t.invalid("invalid input");var o=ke(n.zone,De.defaultZone);return o.isValid?new t({ts:i,zone:o,loc:pe.fromObject(n)}):t.invalid(sr(o))},t.fromMillis=function(e,n){if(void 0===n&&(n={}),Ye(e))return e<-or||e>or?t.invalid("Timestamp out of range"):new t({ts:e,zone:ke(n.zone,De.defaultZone),loc:pe.fromObject(n)});throw new v("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},t.fromSeconds=function(e,n){if(void 0===n&&(n={}),Ye(e))return new t({ts:1e3*e,zone:ke(n.zone,De.defaultZone),loc:pe.fromObject(n)});throw new v("fromSeconds requires a numerical input")},t.fromObject=function(e,n){void 0===n&&(n={}),e=e||{};var r=ke(n.zone,De.defaultZone);if(!r.isValid)return t.invalid(sr(r));var i=pe.fromObject(n),o=kt(e,Tr),s=Ze(o,i),a=s.minDaysInFirstWeek,u=s.startOfWeek,l=De.now(),c=Ke(n.specificOffset)?r.offset(l):n.specificOffset,f=!Ke(o.ordinal),h=!Ke(o.year),m=!Ke(o.month)||!Ke(o.day),p=h||m,b=o.weekYear||o.weekNumber;if((p||f)&&b)throw new k("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(m&&f)throw new k("Can't mix ordinal dates with month/day");var y,g,w=b||o.weekday&&!p,v=fr(l,c);w?(y=xr,g=wr,v=$e(v,a,u)):f?(y=jr,g=vr,v=Ve(v)):(y=_r,g=kr);for(var _,x=!1,j=d(y);!(_=j()).done;){var T=_.value;Ke(o[T])?o[T]=x?g[T]:v[T]:x=!0}var S=w?function(e,t,n){void 0===t&&(t=4),void 0===n&&(n=1);var r=Ge(e.weekYear),i=rt(e.weekNumber,1,mt(e.weekYear,t,n)),o=rt(e.weekday,1,7);return r?i?!o&&ze("weekday",e.weekday):ze("week",e.weekNumber):ze("weekYear",e.weekYear)}(o,a,u):f?function(e){var t=Ge(e.year),n=rt(e.ordinal,1,ct(e.year));return t?!n&&ze("ordinal",e.ordinal):ze("year",e.year)}(o):He(o),O=S||Je(o);if(O)return t.invalid(O);var E=hr(w?Ue(o,a,u):f?We(o):o,c,r),A=new t({ts:E[0],zone:r,o:E[1],loc:i});return o.weekday&&p&&e.weekday!==A.weekday?t.invalid("mismatched weekday","you can't specify both a weekday of "+o.weekday+" and a date of "+A.toISO()):A.isValid?A:t.invalid(A.invalid)},t.fromISO=function(e,t){void 0===t&&(t={});var n=function(e){return qt(e,[mn,gn],[pn,kn],[bn,wn],[yn,vn])}(e);return mr(n[0],n[1],t,"ISO 8601",e)},t.fromRFC2822=function(e,t){void 0===t&&(t={});var n=function(e){return qt(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[an,un])}(e);return mr(n[0],n[1],t,"RFC 2822",e)},t.fromHTTP=function(e,t){void 0===t&&(t={});var n=function(e){return qt(e,[ln,hn],[cn,hn],[fn,dn])}(e);return mr(n[0],n[1],t,"HTTP",t)},t.fromFormat=function(e,n,r){if(void 0===r&&(r={}),Ke(e)||Ke(n))throw new v("fromFormat requires an input string and a format");var i=r,o=i.locale,s=void 0===o?null:o,a=i.numberingSystem,u=void 0===a?null:a,l=function(e,t,n){var r=nr(e,t,n);return[r.result,r.zone,r.specificOffset,r.invalidReason]}(pe.fromOpts({locale:s,numberingSystem:u,defaultToEN:!0}),e,n),c=l[0],f=l[1],h=l[2],d=l[3];return d?t.invalid(d):mr(c,f,r,"format "+n,e,h)},t.fromString=function(e,n,r){return void 0===r&&(r={}),t.fromFormat(e,n,r)},t.fromSQL=function(e,t){void 0===t&&(t={});var n=function(e){return qt(e,[xn,gn],[jn,Tn])}(e);return mr(n[0],n[1],t,"SQL",e)},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new v("need to specify a reason the DateTime is invalid");var r=e instanceof Ce?e:new Ce(e,n);if(De.throwOnInvalid)throw new b(r);return new t({invalid:r})},t.isDateTime=function(e){return e&&e.isLuxonDateTime||!1},t.parseFormatForOpts=function(e,t){void 0===t&&(t={});var n=rr(e,pe.fromObject(t));return n?n.map(function(e){return e?e.val:null}).join(""):null},t.expandFormat=function(e,t){return void 0===t&&(t={}),er(zt.parseFormat(e),pe.fromObject(t)).map(function(e){return e.val}).join("")},t.resetCache=function(){gr=undefined,Ar={}};var n=t.prototype;return n.get=function(e){return this[e]},n.getPossibleOffsets=function(){if(!this.isValid||this.isOffsetFixed)return[this];var e=864e5,t=6e4,n=ht(this.c),r=this.zone.offset(n-e),i=this.zone.offset(n+e),o=this.zone.offset(n-r*t),s=this.zone.offset(n-i*t);if(o===s)return[this];var a=n-o*t,u=n-s*t,l=fr(a,o),c=fr(u,s);return l.hour===c.hour&&l.minute===c.minute&&l.second===c.second&&l.millisecond===c.millisecond?[lr(this,{ts:a}),lr(this,{ts:u})]:[this]},n.resolvedLocaleOptions=function(e){void 0===e&&(e={});var t=zt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},n.toUTC=function(e,t){return void 0===e&&(e=0),void 0===t&&(t={}),this.setZone(ye.instance(e),t)},n.toLocal=function(){return this.setZone(De.defaultZone)},n.setZone=function(e,n){var r=void 0===n?{}:n,i=r.keepLocalTime,o=void 0!==i&&i,s=r.keepCalendarTime,a=void 0!==s&&s;if((e=ke(e,De.defaultZone)).equals(this.zone))return this;if(e.isValid){var u=this.ts;if(o||a){var l=e.offset(this.ts);u=hr(this.toObject(),l,e)[0]}return lr(this,{ts:u,zone:e})}return t.invalid(sr(e))},n.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.outputCalendar;return lr(this,{loc:this.loc.clone({locale:n,numberingSystem:r,outputCalendar:i})})},n.setLocale=function(e){return this.reconfigure({locale:e})},n.set=function(e){if(!this.isValid)return this;var t,n=kt(e,Tr),r=Ze(n,this.loc),i=r.minDaysInFirstWeek,s=r.startOfWeek,a=!Ke(n.weekYear)||!Ke(n.weekNumber)||!Ke(n.weekday),u=!Ke(n.ordinal),l=!Ke(n.year),c=!Ke(n.month)||!Ke(n.day),f=l||c,h=n.weekYear||n.weekNumber;if((f||u)&&h)throw new k("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&u)throw new k("Can't mix ordinal dates with month/day");a?t=Ue(o({},$e(this.c,i,s),n),i,s):Ke(n.ordinal)?(t=o({},this.toObject(),n),Ke(n.day)&&(t.day=Math.min(ft(t.year,t.month),t.day))):t=We(o({},Ve(this.c),n));var d=hr(t,this.o,this.zone);return lr(this,{ts:d[0],o:d[1]})},n.plus=function(e){return this.isValid?lr(this,dr(this,zn.fromDurationLike(e))):this},n.minus=function(e){return this.isValid?lr(this,dr(this,zn.fromDurationLike(e).negate())):this},n.startOf=function(e,t){var n=(void 0===t?{}:t).useLocaleWeeks,r=void 0!==n&&n;if(!this.isValid)return this;var i={},o=zn.normalizeUnit(e);switch(o){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===o)if(r){var s=this.loc.getStartOfWeek();this.weekday<s&&(i.weekNumber=this.weekNumber-1),i.weekday=s}else i.weekday=1;if("quarters"===o){var a=Math.ceil(this.month/3);i.month=3*(a-1)+1}return this.set(i)},n.endOf=function(e,t){var n;return this.isValid?this.plus((n={},n[e]=1,n)).startOf(e,t).minus(1):this},n.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?zt.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):ir},n.toLocaleString=function(e,t){return void 0===e&&(e=S),void 0===t&&(t={}),this.isValid?zt.create(this.loc.clone(t),e).formatDateTime(this):ir},n.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?zt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},n.toISO=function(e){var t=void 0===e?{}:e,n=t.format,r=void 0===n?"extended":n,i=t.suppressSeconds,o=void 0!==i&&i,s=t.suppressMilliseconds,a=void 0!==s&&s,u=t.includeOffset,l=void 0===u||u,c=t.extendedZone,f=void 0!==c&&c;if(!this.isValid)return null;var h="extended"===r,d=br(this,h);return d+="T",d+=yr(this,h,o,a,l,f)},n.toISODate=function(e){var t=(void 0===e?{}:e).format,n=void 0===t?"extended":t;return this.isValid?br(this,"extended"===n):null},n.toISOWeekDate=function(){return pr(this,"kkkk-'W'WW-c")},n.toISOTime=function(e){var t=void 0===e?{}:e,n=t.suppressMilliseconds,r=void 0!==n&&n,i=t.suppressSeconds,o=void 0!==i&&i,s=t.includeOffset,a=void 0===s||s,u=t.includePrefix,l=void 0!==u&&u,c=t.extendedZone,f=void 0!==c&&c,h=t.format,d=void 0===h?"extended":h;return this.isValid?(l?"T":"")+yr(this,"extended"===d,o,r,a,f):null},n.toRFC2822=function(){return pr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},n.toHTTP=function(){return pr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},n.toSQLDate=function(){return this.isValid?br(this,!0):null},n.toSQLTime=function(e){var t=void 0===e?{}:e,n=t.includeOffset,r=void 0===n||n,i=t.includeZone,o=void 0!==i&&i,s=t.includeOffsetSpace,a="HH:mm:ss.SSS";return(o||r)&&((void 0===s||s)&&(a+=" "),o?a+="z":r&&(a+="ZZ")),pr(this,a,!0)},n.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},n.toString=function(){return this.isValid?this.toISO():ir},n[e]=function(){return this.isValid?"DateTime { ts: "+this.toISO()+", zone: "+this.zone.name+", locale: "+this.locale+" }":"DateTime { Invalid, reason: "+this.invalidReason+" }"},n.valueOf=function(){return this.toMillis()},n.toMillis=function(){return this.isValid?this.ts:NaN},n.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},n.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN},n.toJSON=function(){return this.toISO()},n.toBSON=function(){return this.toJSDate()},n.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=o({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},n.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},n.diff=function(e,t,n){if(void 0===t&&(t="milliseconds"),void 0===n&&(n={}),!this.isValid||!e.isValid)return zn.invalid("created by diffing an invalid DateTime");var r,i=o({locale:this.locale,numberingSystem:this.numberingSystem},n),s=(r=t,Array.isArray(r)?r:[r]).map(zn.normalizeUnit),a=e.valueOf()>this.valueOf(),u=Un(a?this:e,a?e:this,s,i);return a?u.negate():u},n.diffNow=function(e,n){return void 0===e&&(e="milliseconds"),void 0===n&&(n={}),this.diff(t.now(),e,n)},n.until=function(e){return this.isValid?Bn.fromDateTimes(this,e):this},n.hasSame=function(e,t,n){if(!this.isValid)return!1;var r=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(t,n)<=r&&r<=i.endOf(t,n)},n.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},n.toRelative=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var n=e.base||t.fromObject({},{zone:this.zone}),r=e.padding?this<n?-e.padding:e.padding:0,i=["years","months","days","hours","minutes","seconds"],s=e.unit;return Array.isArray(e.unit)&&(i=e.unit,s=undefined),Or(n,this.plus(r),o({},e,{numeric:"always",units:i,unit:s}))},n.toRelativeCalendar=function(e){return void 0===e&&(e={}),this.isValid?Or(e.base||t.fromObject({},{zone:this.zone}),this,o({},e,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},t.min=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!n.every(t.isDateTime))throw new v("min requires all arguments be DateTimes");return et(n,function(e){return e.valueOf()},Math.min)},t.max=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!n.every(t.isDateTime))throw new v("max requires all arguments be DateTimes");return et(n,function(e){return e.valueOf()},Math.max)},t.fromFormatExplain=function(e,t,n){void 0===n&&(n={});var r=n,i=r.locale,o=void 0===i?null:i,s=r.numberingSystem,a=void 0===s?null:s;return nr(pe.fromOpts({locale:o,numberingSystem:a,defaultToEN:!0}),e,t)},t.fromStringExplain=function(e,n,r){return void 0===r&&(r={}),t.fromFormatExplain(e,n,r)},t.buildFormatParser=function(e,t){void 0===t&&(t={});var n=t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,s=void 0===o?null:o,a=pe.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new tr(a,e)},t.fromFormatParser=function(e,n,r){if(void 0===r&&(r={}),Ke(e)||Ke(n))throw new v("fromFormatParser requires an input string and a format parser");var i=r,o=i.locale,s=void 0===o?null:o,a=i.numberingSystem,u=void 0===a?null:a,l=pe.fromOpts({locale:s,numberingSystem:u,defaultToEN:!0});if(!l.equals(n.locale))throw new v("fromFormatParser called with a locale of "+l+", but the format parser was created for "+n.locale);var c=n.explainFromTokens(e),f=c.result,h=c.zone,d=c.specificOffset,m=c.invalidReason;return m?t.invalid(m):mr(f,h,r,"format "+n.format,e,d)},i(t,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?ar(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?ar(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?ar(this).weekday:NaN}},{key:"isWeekend",get:function(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}},{key:"localWeekday",get:function(){return this.isValid?ur(this).weekday:NaN}},{key:"localWeekNumber",get:function(){return this.isValid?ur(this).weekNumber:NaN}},{key:"localWeekYear",get:function(){return this.isValid?ur(this).weekYear:NaN}},{key:"ordinal",get:function(){return this.isValid?Ve(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?qn.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?qn.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?qn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?qn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.isUniversal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return lt(this.year)}},{key:"daysInMonth",get:function(){return ft(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?ct(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?mt(this.weekYear):NaN}},{key:"weeksInLocalWeekYear",get:function(){return this.isValid?mt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}}],[{key:"DATE_SHORT",get:function(){return S}},{key:"DATE_MED",get:function(){return O}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return E}},{key:"DATE_FULL",get:function(){return A}},{key:"DATE_HUGE",get:function(){return R}},{key:"TIME_SIMPLE",get:function(){return N}},{key:"TIME_WITH_SECONDS",get:function(){return I}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return D}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return C}},{key:"TIME_24_SIMPLE",get:function(){return M}},{key:"TIME_24_WITH_SECONDS",get:function(){return P}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return z}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return L}},{key:"DATETIME_SHORT",get:function(){return F}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return B}},{key:"DATETIME_MED",get:function(){return q}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return $}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return U}},{key:"DATETIME_FULL",get:function(){return V}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return W}},{key:"DATETIME_HUGE",get:function(){return Z}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return H}}]),t}(Symbol.for("nodejs.util.inspect.custom"));function Nr(e){if(Rr.isDateTime(e))return e;if(e&&e.valueOf&&Ye(e.valueOf()))return Rr.fromJSDate(e);if(e&&"object"==typeof e)return Rr.fromObject(e);throw new v("Unknown datetime argument: "+e+", of type "+typeof e)}n.DateTime=Rr,n.Duration=zn,n.FixedOffsetZone=ye,n.IANAZone=ee,n.Info=qn,n.Interval=Bn,n.InvalidZone=ge,n.Settings=De,n.SystemZone=Y,n.VERSION="3.5.0",n.Zone=J}}},{package:"luxon",file:"node_modules/luxon/build/cjs-browser/luxon.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/marked/lib/marked.umd.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function i(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e,r){"object"==typeof n&&void 0!==t?r(n):"function"==typeof define&&define.amd?define(["exports"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).marked={})}(void 0,function(e){function t(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function n(t){e.defaults=t}e.defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};const s=/[&<>"']/,a=new RegExp(s.source,"g"),u=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,l=new RegExp(u.source,"g"),c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},f=e=>c[e];function h(e,t){if(t){if(s.test(e))return e.replace(a,f)}else if(u.test(e))return e.replace(l,f);return e}const d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function m(e){return e.replace(d,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const p=/(^|[^\[])\^/g;function b(e,t){let n="string"==typeof e?e:e.source;t=t||"";const r={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(p,"$1"),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}function y(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}const g={exec:()=>null};function k(e,t){const n=e.replace(/\|/g,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function w(e,t,n){const r=e.length;if(0===r)return"";let i=0;for(;i<r;){const o=e.charAt(r-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.slice(0,r-i)}function v(e,t,n,r){const i=t.href,o=t.title?h(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:i,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,e}return{type:"image",raw:n,href:i,title:o,text:h(s)}}class _{constructor(t){o(this,"options",void 0),o(this,"rules",void 0),o(this,"lexer",void 0),this.options=t||e.defaults}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:w(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map(e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=w(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=w(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),n=this.lexer.state.top;this.lexer.state.top=!0;const r=this.lexer.blockTokens(e);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:r,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const r=n.length>1,i={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");const o=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let s="",a="",u=!1;for(;e;){let n=!1;if(!(t=o.exec(e)))break;if(this.rules.block.hr.test(e))break;s=t[0],e=e.substring(s.length);let r=t[2].split("\n",1)[0].replace(/^\t+/,e=>" ".repeat(3*e.length)),l=e.split("\n",1)[0],c=0;this.options.pedantic?(c=2,a=r.trimStart()):(c=t[2].search(/[^ ]/),c=c>4?1:c,a=r.slice(c),c+=t[1].length);let f=!1;if(!r&&/^ *$/.test(l)&&(s+=l+"\n",e=e.substring(l.length+1),n=!0),!n){const t=new RegExp(`^ {0,${Math.min(3,c-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,c-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=new RegExp(`^ {0,${Math.min(3,c-1)}}(?:\`\`\`|~~~)`),o=new RegExp(`^ {0,${Math.min(3,c-1)}}#`);for(;e;){const u=e.split("\n",1)[0];if(l=u,this.options.pedantic&&(l=l.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),i.test(l))break;if(o.test(l))break;if(t.test(l))break;if(n.test(e))break;if(l.search(/[^ ]/)>=c||!l.trim())a+="\n"+l.slice(c);else{if(f)break;if(r.search(/[^ ]/)>=4)break;if(i.test(r))break;if(o.test(r))break;if(n.test(r))break;a+="\n"+l}f||l.trim()||(f=!0),s+=u+"\n",e=e.substring(u.length+1),r=l.slice(c)}}i.loose||(u?i.loose=!0:/\n *\n *$/.test(s)&&(u=!0));let h,d=null;this.options.gfm&&(d=/^\[[ xX]\] /.exec(a),d&&(h="[ ] "!==d[0],a=a.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:s,task:!!d,checked:h,loose:!1,text:a,tokens:[]}),i.raw+=s}i.items[i.items.length-1].raw=s.trimEnd(),i.items[i.items.length-1].text=a.trimEnd(),i.raw=i.raw.trimEnd();for(let e=0;e<i.items.length;e++)if(this.lexer.state.top=!1,i.items[e].tokens=this.lexer.blockTokens(i.items[e].text,[]),!i.loose){const t=i.items[e].tokens.filter(e=>"space"===e.type),n=t.length>0&&t.some(e=>/\n.*\n/.test(e.raw));i.loose=n}if(i.loose)for(let e=0;e<i.items.length;e++)i.items[e].loose=!0;return i}}html(e){const t=this.rules.block.html.exec(e);if(t){return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!/[:|]/.test(t[2]))return;const n=k(t[1]),r=t[2].replace(/^\||\| *$/g,"").split("|"),i=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],o={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(const e of r)/^ *-+: *$/.test(e)?o.align.push("right"):/^ *:-+: *$/.test(e)?o.align.push("center"):/^ *:-+ *$/.test(e)?o.align.push("left"):o.align.push(null);for(const e of n)o.header.push({text:e,tokens:this.lexer.inline(e)});for(const e of i)o.rows.push(k(e,o.header.length).map(e=>({text:e,tokens:this.lexer.inline(e)})));return o}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:h(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=w(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),v(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return v(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!r)return;if(r[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(r[1]||r[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const n=[...r[0]].length-1;let i,o,s=n,a=0;const u="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=u.exec(t));){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(o=[...i].length,r[3]||r[4]){s+=o;continue}if((r[5]||r[6])&&n%3&&!((n+o)%3)){a+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s+a);const t=[...r[0]][0].length,u=e.slice(0,n+r.index+t+o);if(Math.min(n,o)%2){const e=u.slice(1,-1);return{type:"em",raw:u,text:e,tokens:this.lexer.inlineTokens(e)}}const l=u.slice(2,-2);return{type:"strong",raw:u,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=h(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=h(t[1]),n="mailto:"+e):(e=h(t[1]),n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])e=h(t[0]),n="mailto:"+e;else{let r;do{r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(r!==t[0]);e=h(t[0]),n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:h(t[0]),{type:"text",raw:t[0],text:e}}}}const x=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,j=/(?:[*+-]|\d{1,9}[.)])/,T=b(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,j).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),S=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,O=/(?!\s*\])(?:\\.|[^\[\]\\])+/,E=b(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",O).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),A=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,j).getRegex(),R="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",N=/< ! --(?:-?>|[\s\S]*?(?:-- >|$))/,I=b("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",N).replace("tag",R).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),D=b(S).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",R).getRegex(),C={blockquote:b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",D).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:E,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:x,html:I,lheading:T,list:A,newline:/^(?: *(?:\n|$))+/,paragraph:D,table:g,text:/^[^\n]+/},M=b("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",R).getRegex(),P={...C,table:M,paragraph:b(S).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",M).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",R).getRegex()},z={...C,html:b("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",N).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:g,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(S).replace("hr",x).replace("heading"," *#{1,6} *[^\n]").replace("lheading",T).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},L=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,F=/^( {2,}|\\)\n(?!\s*$)/,B="\\p{P}\\p{S}",q=b(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,B).getRegex(),$=b(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,B).getRegex(),U=b("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,B).getRegex(),V=b("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,B).getRegex(),W=b(/\\([punct])/,"gu").replace(/punct/g,B).getRegex(),Z=b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),H=b(N).replace("(?:-- >|$)","-- >").getRegex(),J=b("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",H).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),K=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Y=b(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",K).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),G=b(/^!?\[(label)\]\[(ref)\]/).replace("label",K).replace("ref",O).getRegex(),Q=b(/^!?\[(ref)\](?:\[\])?/).replace("ref",O).getRegex(),X={_backpedal:g,anyPunctuation:W,autolink:Z,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:F,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:g,emStrongLDelim:$,emStrongRDelimAst:U,emStrongRDelimUnd:V,escape:L,link:Y,nolink:Q,punctuation:q,reflink:G,reflinkSearch:b("reflink|nolink(?!\\()","g").replace("reflink",G).replace("nolink",Q).getRegex(),tag:J,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:g},ee={...X,link:b(/^!?\[(label)\]\((.*?)\)/).replace("label",K).getRegex(),reflink:b(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",K).getRegex()},te={...X,escape:b(L).replace("])","~|])").getRegex(),url:b(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},ne={...te,br:b(F).replace("{2,}","*").getRegex(),text:b(te.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},re={normal:C,gfm:P,pedantic:z},ie={normal:X,gfm:te,breaks:ne,pedantic:ee};class oe{constructor(t){o(this,"tokens",void 0),o(this,"options",void 0),o(this,"state",void 0),o(this,"tokenizer",void 0),o(this,"inlineQueue",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||e.defaults,this.options.tokenizer=this.options.tokenizer||new _,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:re.normal,inline:ie.normal};this.options.pedantic?(n.block=re.pedantic,n.inline=ie.pedantic):this.options.gfm&&(n.block=re.gfm,this.options.breaks?n.inline=ie.breaks:n.inline=ie.gfm),this.tokenizer.rules=n}static get rules(){return{block:re,inline:ie}}static lex(e,t){return new oe(t).lex(e)}static lexInline(e,t){return new oe(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[]){let n,r,i,o;for(e=this.options.pedantic?e.replace(/\t/g,"    ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(e,t,n)=>t+"    ".repeat(n.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?t.push(n):(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t=Infinity;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach(e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))}),t<Infinity&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i)))r=t[t.length-1],o&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),o=i.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,r,i,o,s,a,u=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(u));)e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(u));)u=u.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(u));)u=u.slice(0,o.index)+"++"+u.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(s||(a=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,u,a))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e))){if(i=e,this.options.extensions&&this.options.extensions.startInline){let t=Infinity;const n=e.slice(1);let r;this.options.extensions.startInline.forEach(e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))}),t<Infinity&&t>=0&&(i=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(i))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(a=n.raw.slice(-1)),s=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class se{constructor(t){o(this,"options",void 0),this.options=t||e.defaults}code(e,t,n){const r=(t||"").match(/^\S*/)?.[0];return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="language-'+h(r)+'">'+(n?e:h(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:h(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>\n${e}</blockquote>\n`}html(e,t){return e}heading(e,t,n){return`<h${t}>${e}</h${t}>\n`}hr(){return"<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e,t,n){return`<li>${e}</li>\n`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){return`<p>${e}</p>\n`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return`<tr>\n${e}</tr>\n`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>\n`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return"<br>"}del(e){return`<del>${e}</del>`}link(e,t,n){const r=y(e);if(null===r)return n;let i='<a href="'+(e=r)+'"';return t&&(i+=' title="'+t+'"'),i+=">"+n+"</a>",i}image(e,t,n){const r=y(e);if(null===r)return n;let i=`<img src="${e=r}" alt="${n}"`;return t&&(i+=` title="${t}"`),i+=">",i}text(e){return e}}class ae{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class ue{constructor(t){o(this,"options",void 0),o(this,"renderer",void 0),o(this,"textRenderer",void 0),this.options=t||e.defaults,this.options.renderer=this.options.renderer||new se,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ae}static parse(e,t){return new ue(t).parse(e)}static parseInline(e,t){return new ue(t).parseInline(e)}parse(e,t=!0){let n="";for(let r=0;r<e.length;r++){const i=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const e=i,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}switch(i.type){case"space":continue;case"hr":n+=this.renderer.hr();continue;case"heading":{const e=i;n+=this.renderer.heading(this.parseInline(e.tokens),e.depth,m(this.parseInline(e.tokens,this.textRenderer)));continue}case"code":{const e=i;n+=this.renderer.code(e.text,e.lang,!!e.escaped);continue}case"table":{const e=i;let t="",r="";for(let t=0;t<e.header.length;t++)r+=this.renderer.tablecell(this.parseInline(e.header[t].tokens),{header:!0,align:e.align[t]});t+=this.renderer.tablerow(r);let o="";for(let t=0;t<e.rows.length;t++){const n=e.rows[t];r="";for(let t=0;t<n.length;t++)r+=this.renderer.tablecell(this.parseInline(n[t].tokens),{header:!1,align:e.align[t]});o+=this.renderer.tablerow(r)}n+=this.renderer.table(t,o);continue}case"blockquote":{const e=i,t=this.parse(e.tokens);n+=this.renderer.blockquote(t);continue}case"list":{const e=i,t=e.ordered,r=e.start,o=e.loose;let s="";for(let t=0;t<e.items.length;t++){const n=e.items[t],r=n.checked,i=n.task;let a="";if(n.task){const e=this.renderer.checkbox(!!r);o?n.tokens.length>0&&"paragraph"===n.tokens[0].type?(n.tokens[0].text=e+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&"text"===n.tokens[0].tokens[0].type&&(n.tokens[0].tokens[0].text=e+" "+n.tokens[0].tokens[0].text)):n.tokens.unshift({type:"text",text:e+" "}):a+=e+" "}a+=this.parse(n.tokens,o),s+=this.renderer.listitem(a,i,!!r)}n+=this.renderer.list(s,t,r);continue}case"html":{const e=i;n+=this.renderer.html(e.text,e.block);continue}case"paragraph":{const e=i;n+=this.renderer.paragraph(this.parseInline(e.tokens));continue}case"text":{let o=i,s=o.tokens?this.parseInline(o.tokens):o.text;for(;r+1<e.length&&"text"===e[r+1].type;)o=e[++r],s+="\n"+(o.tokens?this.parseInline(o.tokens):o.text);n+=t?this.renderer.paragraph(s):s;continue}default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let r=0;r<e.length;r++){const i=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=e||"";continue}}switch(i.type){case"escape":{const e=i;n+=t.text(e.text);break}case"html":{const e=i;n+=t.html(e.text);break}case"link":{const e=i;n+=t.link(e.href,e.title,this.parseInline(e.tokens,t));break}case"image":{const e=i;n+=t.image(e.href,e.title,e.text);break}case"strong":{const e=i;n+=t.strong(this.parseInline(e.tokens,t));break}case"em":{const e=i;n+=t.em(this.parseInline(e.tokens,t));break}case"codespan":{const e=i;n+=t.codespan(e.text);break}case"br":n+=t.br();break;case"del":{const e=i;n+=t.del(this.parseInline(e.tokens,t));break}case"text":{const e=i;n+=t.text(e.text);break}default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}}class le{constructor(t){o(this,"options",void 0),this.options=t||e.defaults}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}o(le,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var ce=new WeakSet;class fe{constructor(...e){r(this,ce),o(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),o(this,"options",this.setOptions),o(this,"parse",i(ce,this,he).call(this,oe.lex,ue.parse)),o(this,"parseInline",i(ce,this,he).call(this,oe.lexInline,ue.parseInline)),o(this,"Parser",ue),o(this,"Renderer",se),o(this,"TextRenderer",ae),o(this,"Lexer",oe),o(this,"Tokenizer",_),o(this,"Hooks",le),this.use(...e)}walkTokens(e,t){let n=[];for(const r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":{const e=r;for(const r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(const r of e.rows)for(const e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{const e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{const i=e[r].flat(Infinity);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){const t=this.defaults.renderer||new se(this.defaults);for(const n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if("options"===n)continue;const r=n,i=e.renderer[r],o=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=o.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new _(this.defaults);for(const n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const r=n,i=e.tokenizer[r],o=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=o.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new le;for(const n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if("options"===n)continue;const r=n,i=e.hooks[r],o=t[r];le.passThroughHooks.has(n)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(i.call(t,e)).then(e=>o.call(t,e));const n=i.call(t,e);return o.call(t,n)}:t[r]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=o.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return oe.lex(e,t??this.defaults)}parser(e,t){return ue.parse(e,t??this.defaults)}}function he(e,t){return(n,r)=>{const o={...r},s={...this.defaults,...o};!0===this.defaults.async&&!1===o.async&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);const a=i(ce,this,de).call(this,!!s.silent,!!s.async);if(null==n)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(n):n).then(t=>e(t,s)).then(e=>s.hooks?s.hooks.processAllTokens(e):e).then(e=>s.walkTokens?Promise.all(this.walkTokens(e,s.walkTokens)).then(()=>e):e).then(e=>t(e,s)).then(e=>s.hooks?s.hooks.postprocess(e):e).catch(a);try{s.hooks&&(n=s.hooks.preprocess(n));let r=e(n,s);s.hooks&&(r=s.hooks.processAllTokens(r)),s.walkTokens&&this.walkTokens(r,s.walkTokens);let i=t(r,s);return s.hooks&&(i=s.hooks.postprocess(i)),i}catch(e){return a(e)}}}function de(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+h(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}const me=new fe;function pe(e,t){return me.parse(e,t)}pe.options=pe.setOptions=function(e){return me.setOptions(e),pe.defaults=me.defaults,n(pe.defaults),pe},pe.getDefaults=t,pe.defaults=e.defaults,pe.use=function(...e){return me.use(...e),pe.defaults=me.defaults,n(pe.defaults),pe},pe.walkTokens=function(e,t){return me.walkTokens(e,t)},pe.parseInline=me.parseInline,pe.Parser=ue,pe.parser=ue.parse,pe.Renderer=se,pe.TextRenderer=ae,pe.Lexer=oe,pe.lexer=oe.lex,pe.Tokenizer=_,pe.Hooks=le,pe.parse=pe;const be=pe.options,ye=pe.setOptions,ge=pe.use,ke=pe.walkTokens,we=pe.parseInline,ve=pe,_e=ue.parse,xe=oe.lex;e.Hooks=le,e.Lexer=oe,e.Marked=fe,e.Parser=ue,e.Renderer=se,e.TextRenderer=ae,e.Tokenizer=_,e.getDefaults=t,e.lexer=xe,e.marked=pe,e.options=be,e.parse=ve,e.parseInline=we,e.parser=_e,e.setOptions=ye,e.use=ge,e.walkTokens=ke})}}},{package:"@metamask/snaps-utils>marked",file:"node_modules/marked/lib/marked.umd.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/math-intrinsics/abs.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=Math.abs}}},{package:"eslint-plugin-react>array-includes>math-intrinsics",file:"node_modules/math-intrinsics/abs.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/math-intrinsics/floor.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=Math.floor}}},{package:"eslint-plugin-react>array-includes>math-intrinsics",file:"node_modules/math-intrinsics/floor.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/math-intrinsics/isNaN.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=Number.isNaN||function(e){return e!=e}}}},{package:"eslint-plugin-react>array-includes>math-intrinsics",file:"node_modules/math-intrinsics/isNaN.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/math-intrinsics/max.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=Math.max}}},{package:"eslint-plugin-react>array-includes>math-intrinsics",file:"node_modules/math-intrinsics/max.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/math-intrinsics/min.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=Math.min}}},{package:"eslint-plugin-react>array-includes>math-intrinsics",file:"node_modules/math-intrinsics/min.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/math-intrinsics/pow.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=Math.pow}}},{package:"eslint-plugin-react>array-includes>math-intrinsics",file:"node_modules/math-intrinsics/pow.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/math-intrinsics/round.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=Math.round}}},{package:"eslint-plugin-react>array-includes>math-intrinsics",file:"node_modules/math-intrinsics/round.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/math-intrinsics/sign.js",{"./isNaN":"/home/runner/work/metamask-extension/metamask-extension/node_modules/math-intrinsics/isNaN.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("./isNaN");t.exports=function(e){return r(e)||0===e?e:e<0?-1:1}}}},{package:"eslint-plugin-react>array-includes>math-intrinsics",file:"node_modules/math-intrinsics/sign.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/index.js",{"hash-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/hash-base/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("inherits"),i=e("hash-base"),o=e("safe-buffer").Buffer,s=new Array(16);function a(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function u(e,t){return e<<t|e>>>32-t}function l(e,t,n,r,i,o,s){return u(e+(t&n|~t&r)+i+o|0,s)+t|0}function c(e,t,n,r,i,o,s){return u(e+(t&r|n&~r)+i+o|0,s)+t|0}function f(e,t,n,r,i,o,s){return u(e+(t^n^r)+i+o|0,s)+t|0}function h(e,t,n,r,i,o,s){return u(e+(n^(t|~r))+i+o|0,s)+t|0}r(a,i),a.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d;n=l(n,r,i,o,e[0],3614090360,7),o=l(o,n,r,i,e[1],3905402710,12),i=l(i,o,n,r,e[2],606105819,17),r=l(r,i,o,n,e[3],3250441966,22),n=l(n,r,i,o,e[4],4118548399,7),o=l(o,n,r,i,e[5],1200080426,12),i=l(i,o,n,r,e[6],2821735955,17),r=l(r,i,o,n,e[7],4249261313,22),n=l(n,r,i,o,e[8],1770035416,7),o=l(o,n,r,i,e[9],2336552879,12),i=l(i,o,n,r,e[10],4294925233,17),r=l(r,i,o,n,e[11],2304563134,22),n=l(n,r,i,o,e[12],1804603682,7),o=l(o,n,r,i,e[13],4254626195,12),i=l(i,o,n,r,e[14],2792965006,17),n=c(n,r=l(r,i,o,n,e[15],1236535329,22),i,o,e[1],4129170786,5),o=c(o,n,r,i,e[6],3225465664,9),i=c(i,o,n,r,e[11],643717713,14),r=c(r,i,o,n,e[0],3921069994,20),n=c(n,r,i,o,e[5],3593408605,5),o=c(o,n,r,i,e[10],38016083,9),i=c(i,o,n,r,e[15],3634488961,14),r=c(r,i,o,n,e[4],3889429448,20),n=c(n,r,i,o,e[9],568446438,5),o=c(o,n,r,i,e[14],3275163606,9),i=c(i,o,n,r,e[3],4107603335,14),r=c(r,i,o,n,e[8],1163531501,20),n=c(n,r,i,o,e[13],2850285829,5),o=c(o,n,r,i,e[2],4243563512,9),i=c(i,o,n,r,e[7],1735328473,14),n=f(n,r=c(r,i,o,n,e[12],2368359562,20),i,o,e[5],4294588738,4),o=f(o,n,r,i,e[8],2272392833,11),i=f(i,o,n,r,e[11],1839030562,16),r=f(r,i,o,n,e[14],4259657740,23),n=f(n,r,i,o,e[1],2763975236,4),o=f(o,n,r,i,e[4],1272893353,11),i=f(i,o,n,r,e[7],4139469664,16),r=f(r,i,o,n,e[10],3200236656,23),n=f(n,r,i,o,e[13],681279174,4),o=f(o,n,r,i,e[0],3936430074,11),i=f(i,o,n,r,e[3],3572445317,16),r=f(r,i,o,n,e[6],76029189,23),n=f(n,r,i,o,e[9],3654602809,4),o=f(o,n,r,i,e[12],3873151461,11),i=f(i,o,n,r,e[15],530742520,16),n=h(n,r=f(r,i,o,n,e[2],3299628645,23),i,o,e[0],4096336452,6),o=h(o,n,r,i,e[7],1126891415,10),i=h(i,o,n,r,e[14],2878612391,15),r=h(r,i,o,n,e[5],4237533241,21),n=h(n,r,i,o,e[12],1700485571,6),o=h(o,n,r,i,e[3],2399980690,10),i=h(i,o,n,r,e[10],4293915773,15),r=h(r,i,o,n,e[1],2240044497,21),n=h(n,r,i,o,e[8],1873313359,6),o=h(o,n,r,i,e[15],4264355552,10),i=h(i,o,n,r,e[6],2734768916,15),r=h(r,i,o,n,e[13],1309151649,21),n=h(n,r,i,o,e[4],4149444226,6),o=h(o,n,r,i,e[11],3174756917,10),i=h(i,o,n,r,e[2],718787259,15),r=h(r,i,o,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=a}}},{package:"ethereumjs-util>create-hash>md5.js",file:"node_modules/md5.js/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/hash-base/index.js",{inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","readable-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/readable-browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("safe-buffer").Buffer,i=e("readable-stream").Transform;function o(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(o,i),o.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(e){r=e}n(r)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)n[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)n[this._blockOffset++]=e[i++];for(var s=0,a=8*e.length;a>0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();e!==undefined&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base",file:"node_modules/md5.js/node_modules/hash-base/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/errors-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r={};function i(e,t,n){n||(n=Error);var i=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function o(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),i("ERR_INVALID_ARG_TYPE",function(e,t,n){var r,i,s,a;if("string"==typeof t&&(i="not ",t.substr(!s||s<0?0:+s,i.length)===i)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(n===undefined||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(r," ").concat(o(t,"type"));else{var u=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(u," ").concat(r," ").concat(o(t,"type"))}return a+=". Received type ".concat(typeof n)},TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/errors-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_duplex.js",{"./_stream_readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_readable.js","./_stream_writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_writable.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=l;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(l,i);for(var s=r(o.prototype),a=0;a<s.length;a++){var u=s[a];l.prototype[u]||(l.prototype[u]=o.prototype[u])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",c)))}function c(){this._writableState.ended||n.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/_stream_duplex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_passthrough.js",{"./_stream_transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_transform.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=i;var r=e("./_stream_transform");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}e("inherits")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/_stream_passthrough.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_readable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/async_iterator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/async_iterator.js","./internal/streams/buffer_list":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/buffer_list.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/from-browser.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","string_decoder/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/string_decoder/lib/string_decoder.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r;t.exports=j,j.ReadableState=x;e("events").EventEmitter;var i=function(e,t){return e.listeners(t).length},o=e("./internal/streams/stream"),s=e("buffer").Buffer,a=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,l=e("util");u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,f,h,d=e("./internal/streams/buffer_list"),m=e("./internal/streams/destroy"),p=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,y=b.ERR_INVALID_ARG_TYPE,g=b.ERR_STREAM_PUSH_AFTER_EOF,k=b.ERR_METHOD_NOT_IMPLEMENTED,w=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(j,o);var v=m.errorOrDestroy,_=["error","close","destroy","pause","resume"];function x(t,n,i){r=r||e("./_stream_duplex"),t=t||{},"boolean"!=typeof i&&(i=n instanceof r),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=p(this,t,"readableHighWaterMark",i),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(c||(c=e("string_decoder/").StringDecoder),this.decoder=new c(t.encoding),this.encoding=t.encoding)}function j(t){if(r=r||e("./_stream_duplex"),!(this instanceof j))return new j(t);var n=this instanceof r;this._readableState=new x(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),o.call(this)}function T(e,t,n,r,i){u("readableAddChunk",t);var o,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,R(e)))}(e,l);else if(i||(o=function(e,t){var n;r=t,s.isBuffer(r)||r instanceof a||"string"==typeof t||t===undefined||e.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(l,t)),o)v(e,o);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r)l.endEmitted?v(e,new w):S(e,l,t,!0);else if(l.ended)v(e,new g);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(t=l.decoder.write(t),l.objectMode||0!==t.length?S(e,l,t,!1):N(e,l)):S(e,l,t,!1)}else r||(l.reading=!1,N(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function S(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&A(e)),N(e,t)}Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),j.prototype.destroy=m.destroy,j.prototype._undestroy=m.undestroy,j.prototype._destroy=function(e,t){t(e)},j.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=s.from(e,t),t=""),n=!0),T(this,e,t,!1,n)},j.prototype.unshift=function(e){return T(this,e,null,!0,!1)},j.prototype.isPaused=function(){return!1===this._readableState.flowing},j.prototype.setEncoding=function(t){c||(c=e("string_decoder/").StringDecoder);var n=new c(t);this._readableState.decoder=n,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=n.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var O=1073741824;function E(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=O?e=O:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(R,e))}function R(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,P(e)}function N(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(u("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function D(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function C(e){u("readable nexttick read 0"),e.read(0)}function M(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),P(e),t.flowing&&!t.reading&&e.read(0)}function P(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function z(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function L(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(F,t,e))}function F(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function B(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}j.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):A(this),null;if(0===(e=E(e,t))&&t.ended)return 0===t.length&&L(this),null;var r,i=t.needReadable;return u("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",i=!0),t.ended||t.reading?u("reading or ended",i=!1):i&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=E(n,t))),null===(r=e>0?z(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&L(this)),null!==r&&this.emit("data",r),r},j.prototype._read=function(e){v(this,new k("_read()"))},j.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,u("pipe count=%d opts=%j",o.pipesCount,t);var s=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:b;function a(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",m),e.removeListener("finish",p),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",a),r.removeListener("end",l),r.removeListener("end",b),r.removeListener("data",h),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}o.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",a);var c=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,P(e))}}(r);e.on("drain",c);var f=!1;function h(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==B(o.pipes,e))&&!f&&(u("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function d(t){u("onerror",t),b(),e.removeListener("error",d),0===i(e,"error")&&v(e,t)}function m(){e.removeListener("finish",p),b()}function p(){u("onfinish"),e.removeListener("close",m),b()}function b(){u("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",d),e.once("close",m),e.once("finish",p),e.emit("pipe",r),o.flowing||(u("pipe resume"),r.resume()),e},j.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=B(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},j.prototype.on=function(e,t){var r=o.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,u("on readable",i.length,i.reading),i.length?A(this):i.reading||n.nextTick(C,this))),r},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(e,t){var r=o.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(D,this),r},j.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||n.nextTick(D,this),t},j.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(M,e,t))}(this,e)),e.paused=!1,this},j.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},j.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",function(){if(u("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(u("wrapped data"),n.decoder&&(i=n.decoder.write(i)),!n.objectMode||null!==i&&i!==undefined)&&((n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause())))}),e)this[i]===undefined&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<_.length;o++)e.on(_[o],this.emit.bind(this,_[o]));return this._read=function(t){u("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(j.prototype[Symbol.asyncIterator]=function(){return f===undefined&&(f=e("./internal/streams/async_iterator")),f(this)}),Object.defineProperty(j.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(j.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(j.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),j._fromList=z,Object.defineProperty(j.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(j.from=function(t,n){return h===undefined&&(h=e("./internal/streams/from")),h(j,t,n)})}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/_stream_readable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_transform.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_duplex.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=c;var r=e("../errors").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,u=e("./_stream_duplex");function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush(function(t,n){h(e,t,n)})}function h(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new a;if(e._transformState.transforming)throw new s;return e.push(null)}e("inherits")(c,u),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,n){n(new i("_transform()"))},c.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/_stream_transform.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_writable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","util-deprecate":"/home/runner/work/metamask-extension/metamask-extension/node_modules/util-deprecate/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var i;t.exports=j,j.WritableState=x;var o={deprecate:e("util-deprecate")},s=e("./internal/streams/stream"),a=e("buffer").Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,c=e("./internal/streams/destroy"),f=e("./internal/streams/state").getHighWaterMark,h=e("../errors").codes,d=h.ERR_INVALID_ARG_TYPE,m=h.ERR_METHOD_NOT_IMPLEMENTED,p=h.ERR_MULTIPLE_CALLBACK,b=h.ERR_STREAM_CANNOT_PIPE,y=h.ERR_STREAM_DESTROYED,g=h.ERR_STREAM_NULL_VALUES,k=h.ERR_STREAM_WRITE_AFTER_END,w=h.ERR_UNKNOWN_ENCODING,v=c.errorOrDestroy;function _(){}function x(t,o,s){i=i||e("./_stream_duplex"),t=t||{},"boolean"!=typeof s&&(s=o instanceof i),this.objectMode=!!t.objectMode,s&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,o=r.writecb;if("function"!=typeof o)throw new p;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,o){--t.pendingcb,r?(n.nextTick(o,i),n.nextTick(R,e,t),e._writableState.errorEmitted=!0,v(e,i)):(o(i),e._writableState.errorEmitted=!0,v(e,i),R(e,t))}(e,r,i,t,o);else{var s=E(r)||e.destroyed;s||r.corked||r.bufferProcessing||!r.bufferedRequest||O(e,r),i?n.nextTick(S,e,r,s,o):S(e,r,s,o)}}(o,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function j(t){var n=this instanceof(i=i||e("./_stream_duplex"));if(!n&&!l.call(j,this))return new j(t);this._writableState=new x(t,this,n),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),s.call(this)}function T(e,t,n,r,i,o,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function S(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),R(e,t)}function O(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=t.bufferedRequestCount,o=new Array(i),s=t.corkedRequestsFree;s.entry=n;for(var a=0,u=!0;n;)o[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;o.allBuffers=u,T(e,t,!0,t.length,o,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(T(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function E(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final(function(n){t.pendingcb--,n&&v(e,n),t.prefinished=!0,e.emit("prefinish"),R(e,t)})}function R(e,t){var r=E(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}e("inherits")(j,s),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===j&&(e&&e._writableState instanceof x)}})):l=function(e){return e instanceof this},j.prototype.pipe=function(){v(this,new b)},j.prototype.write=function(e,t,r){var i,o=this._writableState,s=!1,l=!o.objectMode&&(i=e,a.isBuffer(i)||i instanceof u);return l&&!a.isBuffer(e)&&(e=function(e){return a.from(e)}(e)),"function"==typeof t&&(r=t,t=null),l?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=_),o.ending?function(e,t){var r=new k;v(e,r),n.nextTick(t,r)}(this,r):(l||function(e,t,r,i){var o;return null===r?o=new g:"string"==typeof r||t.objectMode||(o=new d("chunk",["string","Buffer"],r)),!o||(v(e,o),n.nextTick(i,o),!1)}(this,o,e,r))&&(o.pendingcb++,s=function(e,t,n,r,i,o){if(!n){var s=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=a.from(t,n));return t}(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var u=t.objectMode?1:r.length;t.length+=u;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,u,r,i,o);return l}(this,o,l,e,t,r)),s},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},j.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(e,t,n){n(new m("_write()"))},j.prototype._writev=null,j.prototype.end=function(e,t,r){var i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&e!==undefined&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,R(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),j.prototype.destroy=c.destroy,j.prototype._undestroy=c.undestroy,j.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/_stream_writable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/async_iterator.js",{"./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r;function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=e("./end-of-stream"),s=Symbol("lastResolve"),a=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var n=e[h].read();null!==n&&(e[c]=null,e[s]=null,e[a]=null,t(d(n,!1)))}}function p(e){n.nextTick(m,e)}var b=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((i(r={get stream(){return this[h]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(d(undefined,!0));if(this[h].destroyed)return new Promise(function(t,r){n.nextTick(function(){e[u]?r(e[u]):t(d(undefined,!0))})});var r,i=this[c];if(i)r=new Promise(function(e,t){return function(n,r){e.then(function(){t[l]?n(d(undefined,!0)):t[f](n,r)},r)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(d(o,!1));r=new Promise(this[f])}return this[c]=r,r}},Symbol.asyncIterator,function(){return this}),i(r,"return",function(){var e=this;return new Promise(function(t,n){e[h].destroy(null,function(e){e?n(e):t(d(undefined,!0))})})}),r),b);t.exports=function(e){var t,n=Object.create(y,(i(t={},h,{value:e,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var r=n[h].read();r?(n[c]=null,n[s]=null,n[a]=null,e(d(r,!1))):(n[s]=e,n[a]=t)},writable:!0}),t));return n[c]=null,o(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[a];return null!==t&&(n[c]=null,n[s]=null,n[a]=null,t(e)),void(n[u]=e)}var r=n[s];null!==r&&(n[c]=null,n[s]=null,n[a]=null,r(d(undefined,!0))),n[l]=!0}),e.on("readable",p.bind(null,n)),n}}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/async_iterator.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/buffer_list.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function a(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var u=e("buffer").Buffer,l=e("util").inspect,c=l&&l.custom||"inspect";function f(e,t,n){u.prototype.copy.call(e,t,n)}t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,r;return t=e,(n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),n=this.head,r=0;n;)f(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0===(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:c,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&s(t.prototype,n),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/destroy.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){function n(e,t){i(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}t.exports={destroy:function(t,o){var s=this,a=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return a||u?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!o&&t?s._writableState?s._writableState.errorEmitted?e.nextTick(r,s):(s._writableState.errorEmitted=!0,e.nextTick(n,s,t)):e.nextTick(n,s,t):o?(e.nextTick(r,s),o(t)):e.nextTick(r,s)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/destroy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function e(t,n,o){if("function"==typeof n)return e(t,null,n);n||(n={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(o||i);var s=n.readable||!1!==n.readable&&t.readable,a=n.writable||!1!==n.writable&&t.writable,u=function(){t.writable||c()},l=t._writableState&&t._writableState.finished,c=function(){a=!1,l=!0,s||o.call(t)},f=t._readableState&&t._readableState.endEmitted,h=function(){s=!1,f=!0,a||o.call(t)},d=function(e){o.call(t,e)},m=function(){var e;return s&&!f?(t._readableState&&t._readableState.ended||(e=new r),o.call(t,e)):a&&!l?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},p=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?a&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",c),t.on("abort",m),t.req?p():t.on("request",p)),t.on("end",h),t.on("finish",c),!1!==n.error&&t.on("error",d),t.on("close",m),function(){t.removeListener("complete",c),t.removeListener("abort",m),t.removeListener("request",p),t.req&&t.req.removeListener("finish",c),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",c),t.removeListener("end",h),t.removeListener("error",d),t.removeListener("close",m)}}}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/from-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(){throw new Error("Readable.from is not available in the browser")}}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/from-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/pipeline.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/errors-browser.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r;var i=e("../../../errors").codes,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function u(e){e()}function l(e,t){return e.pipe(t)}t.exports=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var c,f=function(e){return e.length?"function"!=typeof e[e.length-1]?a:e.pop():a}(n);if(Array.isArray(n[0])&&(n=n[0]),n.length<2)throw new o("streams");var h=n.map(function(t,i){var o=i<n.length-1;return function(t,n,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var a=!1;t.on("close",function(){a=!0}),r===undefined&&(r=e("./end-of-stream")),r(t,{readable:n,writable:i},function(e){if(e)return o(e);a=!0,o()});var u=!1;return function(e){if(!a&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new s("pipe"))}}(t,o,i>0,function(e){c||(c=e),e&&h.forEach(u),o||(h.forEach(u),f(c))})});return n.reduce(l)}}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/state.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/state.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/stream-browser.js",{events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=e("events").EventEmitter}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/stream-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/readable-browser.js",{"./lib/_stream_duplex.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_duplex.js","./lib/_stream_passthrough.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_passthrough.js","./lib/_stream_readable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_readable.js","./lib/_stream_transform.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_transform.js","./lib/_stream_writable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/_stream_writable.js","./lib/internal/streams/end-of-stream.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./lib/internal/streams/pipeline.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/md5.js/node_modules/readable-stream/lib/internal/streams/pipeline.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js"),n.finished=e("./lib/internal/streams/end-of-stream.js"),n.pipeline=e("./lib/internal/streams/pipeline.js")}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",file:"node_modules/md5.js/node_modules/readable-stream/readable-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/micro-ftch/index.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",http:"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/index.js",https:"/home/runner/work/metamask-extension/metamask-extension/node_modules/https-browserify/index.js",url:"/home/runner/work/metamask-extension/metamask-extension/node_modules/url/url.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/util/util.js",zlib:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-zlib/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(t,r){(function(){Object.defineProperty(n,"__esModule",{value:!0}),n.InvalidStatusCodeError=n.InvalidCertError=void 0;const i=Object.freeze({redirect:!0,expectStatusCode:200,headers:{},full:!1,keepAlive:!0,cors:!1,referrer:!1,sslAllowSelfSigned:!1,_redirectCount:0});class o extends Error{constructor(e,t){super(e),this.fingerprint256=t}}n.InvalidCertError=o;class s extends Error{constructor(e){super(`Request Failed. Status Code: ${e}`),this.statusCode=e}}function a(e,t){if(!t||"text"===t||"json"===t)try{let n=new TextDecoder("utf8",{fatal:!0}).decode(e);if("text"===t)return n;try{return JSON.parse(n)}catch(e){if("json"===t)throw e;return n}}catch(e){if("text"===t||"json"===t)throw e}return e}n.InvalidStatusCodeError=s;let u={};function l(t,n){let c={...i,...n};const f=e("http"),h=e("https"),d=e("zlib"),{promisify:m}=e("util"),{resolve:p}=e("url"),b=!!/^https/.test(t);let y={method:c.method||"GET",headers:{"Accept-Encoding":"gzip, deflate, br"}};const g=e=>e.replace(/:| /g,"").toLowerCase();if(c.keepAlive){const e={keepAlive:!0,keepAliveMsecs:3e4,maxFreeSockets:1024,maxCachedSessions:1024},t=[b,b&&c.sslPinnedCertificates?.map(e=>g(e)).sort()].join();y.agent=u[t]||(u[t]=new(b?h:f).Agent(e))}"json"===c.type&&(y.headers["Content-Type"]="application/json"),c.data&&(c.method||(y.method="POST"),y.body="json"===c.type?JSON.stringify(c.data):c.data),y.headers={...y.headers,...c.headers},c.sslAllowSelfSigned&&(y.rejectUnauthorized=!1);return new Promise((e,n)=>{const i=async e=>{if(e&&"DEPTH_ZERO_SELF_SIGNED_CERT"===e.code)try{await l(t,{...c,sslAllowSelfSigned:!0,sslPinnedCertificates:[]})}catch(t){t&&t.fingerprint256&&(e=new o(`Self-signed SSL certificate: ${t.fingerprint256}`,t.fingerprint256))}n(e)},u=(b?h:f).request(t,y,o=>{o.on("error",i),(async()=>{try{e(await(async e=>{const n=e.statusCode;if(c.redirect&&300<=n&&n<400&&e.headers.location){if(10==c._redirectCount)throw new Error("Request failed. Too much redirects.");return c._redirectCount+=1,await l(p(t,e.headers.location),c)}if(c.expectStatusCode&&n!==c.expectStatusCode)throw e.resume(),new s(n);let i=[];for await(const t of e)i.push(t);let o=r.concat(i);const u=e.headers["content-encoding"];"br"===u&&(o=await m(d.brotliDecompress)(o)),"gzip"!==u&&"deflate"!==u||(o=await m(d.unzip)(o));const f=a(o,c.type);return c.full?{headers:e.headers,status:n,body:f}:f})(o))}catch(e){n(e)}})()});u.on("error",i);const k=c.sslPinnedCertificates?.map(e=>g(e)),w=e=>{const t=g(e.getPeerCertificate()?.fingerprint256||"");if((t||!e.isSessionReused())&&!k.includes(t))return u.emit("error",new o(`Invalid SSL certificate: ${t} Expected: ${k}`,t)),u.abort()};c.sslPinnedCertificates&&u.on("socket",e=>{e.listeners("secureConnect").map(e=>(e.name||"").replace("bound ","")).includes("mfetchSecureConnect")||e.on("secureConnect",w.bind(null,e))}),c.keepAlive&&u.setNoDelay(!0),y.body&&u.write(y.body),u.end()})}const c=new Set(["Accept","Accept-Language","Content-Language","Content-Type"].map(e=>e.toLowerCase())),f=new Set(["Accept-Charset","Accept-Encoding","Access-Control-Request-Headers","Access-Control-Request-Method","Connection","Content-Length","Cookie","Cookie2","Date","DNT","Expect","Host","Keep-Alive","Origin","Referer","TE","Trailer","Transfer-Encoding","Upgrade","Via"].map(e=>e.toLowerCase()));async function h(e,t){let n={...i,...t};const r=new Headers;"json"===n.type&&r.set("Content-Type","application/json");let o=new URL(e);if(o.username){const e=btoa(`${o.username}:${o.password}`);r.set("Authorization",`Basic ${e}`),o.username="",o.password=""}e=""+o;for(let e in n.headers){const t=e.toLowerCase();(c.has(t)||n.cors&&!f.has(t))&&r.set(e,n.headers[e])}let u={headers:r,redirect:n.redirect?"follow":"manual"};n.referrer||(u.referrerPolicy="no-referrer"),n.cors&&(u.mode="cors"),n.data&&(n.method||(u.method="POST"),u.body="json"===n.type?JSON.stringify(n.data):n.data);const l=await fetch(e,u);if(n.expectStatusCode&&l.status!==n.expectStatusCode)throw new s(l.status);const h=a(new Uint8Array(await l.arrayBuffer()),n.type);return n.full?{headers:Object.fromEntries(l.headers.entries()),status:l.status,body:h}:h}const d=!!("object"==typeof t&&t.versions&&t.versions.node&&t.versions.v8);n.default=function(e,t){return(d?l:h)(e,t)}}).call(this)}).call(this,e("_process"),e("buffer").Buffer)}}},{package:"eth-lattice-keyring>@ethereumjs/util>micro-ftch",file:"node_modules/micro-ftch/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/miller-rabin/lib/mr.js",{"bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js",brorand:"/home/runner/work/metamask-extension/metamask-extension/node_modules/brorand/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("bn.js"),i=e("brorand");function o(e){this.rand=e||new i.Rand}t.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},o.prototype.test=function(e,t,n){var i=e.bitLength(),o=r.mont(e),s=new r(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var a=e.subn(1),u=0;!a.testn(u);u++);for(var l=e.shrn(u),c=a.toRed(o);t>0;t--){var f=this._randrange(new r(2),a);n&&n(f);var h=f.toRed(o).redPow(l);if(0!==h.cmp(s)&&0!==h.cmp(c)){for(var d=1;d<u;d++){if(0===(h=h.redSqr()).cmp(s))return!1;if(0===h.cmp(c))break}if(d===u)return!1}}return!0},o.prototype.getDivisor=function(e,t){var n=e.bitLength(),i=r.mont(e),o=new r(1).toRed(i);t||(t=Math.max(1,n/48|0));for(var s=e.subn(1),a=0;!s.testn(a);a++);for(var u=e.shrn(a),l=s.toRed(i);t>0;t--){var c=this._randrange(new r(2),s),f=e.gcd(c);if(0!==f.cmpn(1))return f;var h=c.toRed(i).redPow(u);if(0!==h.cmp(o)&&0!==h.cmp(l)){for(var d=1;d<a;d++){if(0===(h=h.redSqr()).cmp(o))return h.fromRed().subn(1).gcd(e);if(0===h.cmp(l))break}if(d===a)return(h=h.redSqr()).fromRed().subn(1).gcd(e)}}return!1}}}},{package:"crypto-browserify>diffie-hellman>miller-rabin",file:"node_modules/miller-rabin/lib/mr.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/minimalistic-assert/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}t.exports=r,r.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}}}},{package:"@toruslabs/eccrypto>elliptic>minimalistic-assert",file:"node_modules/minimalistic-assert/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/minimalistic-crypto-utils/lib/utils.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=n;function i(e){return 1===e.length?"0"+e:e}function o(e){for(var t="",n=0;n<e.length;n++)t+=i(e[n].toString(16));return t}r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!=typeof e){for(var r=0;r<e.length;r++)n[r]=0|e[r];return n}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16))}else for(r=0;r<e.length;r++){var i=e.charCodeAt(r),o=i>>8,s=255&i;o?n.push(o,s):n.push(s)}return n},r.zero2=i,r.toHex=o,r.encode=function(e,t){return"hex"===t?o(e):e}}}},{package:"@toruslabs/eccrypto>elliptic>minimalistic-crypto-utils",file:"node_modules/minimalistic-crypto-utils/lib/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ms/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=1e3,i=60*r,o=60*i,s=24*o,a=7*s,u=365.25*s;function l(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}t.exports=function(e,t){t=t||{};var n=typeof e;if("string"===n&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*u;case"weeks":case"week":case"w":return n*a;case"days":case"day":case"d":return n*s;case"hours":case"hour":case"hrs":case"hr":case"h":return n*o;case"minutes":case"minute":case"mins":case"min":case"m":return n*i;case"seconds":case"second":case"secs":case"sec":case"s":return n*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return undefined}}(e);if("number"===n&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=s)return l(e,t,s,"day");if(t>=o)return l(e,t,o,"hour");if(t>=i)return l(e,t,i,"minute");if(t>=r)return l(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=s)return Math.round(e/s)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=i)return Math.round(e/i)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}}}},{package:"mocha>ms",file:"node_modules/ms/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/bases/base.js",{"../../vendor/base-x.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/vendor/base-x.js","../bytes.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/bytes.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("../../vendor/base-x.js"),i=e("../bytes.js");class o{constructor(e,t,n){this.name=e,this.prefix=t,this.baseEncode=n}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class s{constructor(e,t,n){if(this.name=e,this.prefix=t,t.codePointAt(0)===undefined)throw new Error("Invalid prefix character");this.prefixCodePoint=t.codePointAt(0),this.baseDecode=n}decode(e){if("string"==typeof e){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}throw Error("Can only multibase decode strings")}or(e){return u(this,e)}}class a{constructor(e){this.decoders=e}or(e){return u(this,e)}decode(e){const t=e[0],n=this.decoders[t];if(n)return n.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const u=(e,t)=>new a({...e.decoders||{[e.prefix]:e},...t.decoders||{[t.prefix]:t}});class l{constructor(e,t,n,r){this.name=e,this.prefix=t,this.baseEncode=n,this.baseDecode=r,this.encoder=new o(e,t,n),this.decoder=new s(e,t,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const c=({name:e,prefix:t,encode:n,decode:r})=>new l(e,t,n,r);n.Codec=l,n.baseX=({prefix:e,name:t,alphabet:n})=>{const{encode:o,decode:s}=r(n,t);return c({prefix:e,name:t,encode:o,decode:e=>i.coerce(s(e))})},n.from=c,n.or=u,n.rfc4648=({name:e,prefix:t,bitsPerChar:n,alphabet:r})=>c({prefix:t,name:e,encode:e=>((e,t,n)=>{const r="="===t[t.length-1],i=(1<<n)-1;let o="",s=0,a=0;for(let r=0;r<e.length;++r)for(a=a<<8|e[r],s+=8;s>n;)s-=n,o+=t[i&a>>s];if(s&&(o+=t[i&a<<n-s]),r)for(;o.length*n&7;)o+="=";return o})(e,r,n),decode:t=>((e,t,n,r)=>{const i={};for(let e=0;e<t.length;++e)i[t[e]]=e;let o=e.length;for(;"="===e[o-1];)--o;const s=new Uint8Array(o*n/8|0);let a=0,u=0,l=0;for(let t=0;t<o;++t){const o=i[e[t]];if(o===undefined)throw new SyntaxError(`Non-${r} character`);u=u<<n|o,a+=n,a>=8&&(a-=8,s[l++]=255&u>>a)}if(a>=n||255&u<<8-a)throw new SyntaxError("Unexpected end of data");return s})(t,r,n,e)})}}},{package:"@metamask/assets-controllers>multiformats",file:"node_modules/multiformats/cjs/src/bases/base.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/bases/base32.js",{"./base.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/bases/base.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./base.js");const i=r.rfc4648({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),o=r.rfc4648({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),s=r.rfc4648({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),a=r.rfc4648({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),u=r.rfc4648({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),l=r.rfc4648({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),c=r.rfc4648({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),f=r.rfc4648({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),h=r.rfc4648({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});n.base32=i,n.base32hex=u,n.base32hexpad=c,n.base32hexpadupper=f,n.base32hexupper=l,n.base32pad=s,n.base32padupper=a,n.base32upper=o,n.base32z=h}}},{package:"@metamask/assets-controllers>multiformats",file:"node_modules/multiformats/cjs/src/bases/base32.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/bases/base58.js",{"./base.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/bases/base.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./base.js");const i=r.baseX({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),o=r.baseX({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});n.base58btc=i,n.base58flickr=o}}},{package:"@metamask/assets-controllers>multiformats",file:"node_modules/multiformats/cjs/src/bases/base58.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/bytes.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});const r=new Uint8Array(0);n.coerce=e=>{if(e instanceof Uint8Array&&"Uint8Array"===e.constructor.name)return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")},n.empty=r,n.equals=(e,t)=>{if(e===t)return!0;if(e.byteLength!==t.byteLength)return!1;for(let n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0},n.fromHex=e=>{const t=e.match(/../g);return t?new Uint8Array(t.map(e=>parseInt(e,16))):r},n.fromString=e=>(new TextEncoder).encode(e),n.isBinary=e=>e instanceof ArrayBuffer||ArrayBuffer.isView(e),n.toHex=e=>e.reduce((e,t)=>e+t.toString(16).padStart(2,"0"),""),n.toString=e=>(new TextDecoder).decode(e)}}},{package:"@metamask/assets-controllers>multiformats",file:"node_modules/multiformats/cjs/src/bytes.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/cid.js",{"./bases/base32.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/bases/base32.js","./bases/base58.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/bases/base58.js","./bytes.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/bytes.js","./hashes/digest.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/hashes/digest.js","./varint.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/varint.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./varint.js"),i=e("./hashes/digest.js"),o=e("./bases/base58.js"),s=e("./bases/base32.js"),a=e("./bytes.js");class u{constructor(e,t,n,r){this.code=t,this.version=e,this.multihash=n,this.bytes=r,this.byteOffset=r.byteOffset,this.byteLength=r.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:y,byteLength:y,code:b,version:b,multihash:b,bytes:b,_baseCache:y,asCID:y})}toV0(){if(0===this.version)return this;{const{code:e,multihash:t}=this;if(e!==h)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(t.code!==d)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return u.createV0(t)}}toV1(){switch(this.version){case 0:{const{code:e,digest:t}=this.multihash,n=i.create(e,t);return u.createV1(this.code,n)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(e){return e&&this.code===e.code&&this.version===e.version&&i.equals(this.multihash,e.multihash)}toString(e){const{bytes:t,version:n,_baseCache:r}=this;return 0===n?c(t,r,e||o.base58btc.encoder):f(t,r,e||s.base32.encoder)}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(e){return g(/^0\.0/,k),!(!e||!e[p]&&e.asCID!==e)}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(e){if(e instanceof u)return e;if(null!=e&&e.asCID===e){const{version:t,code:n,multihash:r,bytes:i}=e;return new u(t,n,r,i||m(t,n,r.bytes))}if(null!=e&&!0===e[p]){const{version:t,multihash:n,code:r}=e,o=i.decode(n);return u.create(t,r,o)}return null}static create(e,t,n){if("number"!=typeof t)throw new Error("String codecs are no longer supported");switch(e){case 0:if(t!==h)throw new Error(`Version 0 CID must use dag-pb (code: ${h}) block encoding`);return new u(e,t,n,n.bytes);case 1:{const r=m(e,t,n.bytes);return new u(e,t,n,r)}default:throw new Error("Invalid version")}}static createV0(e){return u.create(0,h,e)}static createV1(e,t){return u.create(1,e,t)}static decode(e){const[t,n]=u.decodeFirst(e);if(n.length)throw new Error("Incorrect length");return t}static decodeFirst(e){const t=u.inspectBytes(e),n=t.size-t.multihashSize,r=a.coerce(e.subarray(n,n+t.multihashSize));if(r.byteLength!==t.multihashSize)throw new Error("Incorrect length");const o=r.subarray(t.multihashSize-t.digestSize),s=new i.Digest(t.multihashCode,t.digestSize,o,r);return[0===t.version?u.createV0(s):u.createV1(t.codec,s),e.subarray(t.size)]}static inspectBytes(e){let t=0;const n=()=>{const[n,i]=r.decode(e.subarray(t));return t+=i,n};let i=n(),o=h;if(18===i?(i=0,t=0):1===i&&(o=n()),0!==i&&1!==i)throw new RangeError(`Invalid CID version ${i}`);const s=t,a=n(),u=n(),l=t+u;return{version:i,codec:o,multihashCode:a,digestSize:u,multihashSize:l-s,size:l}}static parse(e,t){const[n,r]=l(e,t),i=u.decode(r);return i._baseCache.set(n,e),i}}const l=(e,t)=>{switch(e[0]){case"Q":{const n=t||o.base58btc;return[o.base58btc.prefix,n.decode(`${o.base58btc.prefix}${e}`)]}case o.base58btc.prefix:{const n=t||o.base58btc;return[o.base58btc.prefix,n.decode(e)]}case s.base32.prefix:{const n=t||s.base32;return[s.base32.prefix,n.decode(e)]}default:if(null==t)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[e[0],t.decode(e)]}},c=(e,t,n)=>{const{prefix:r}=n;if(r!==o.base58btc.prefix)throw Error(`Cannot string encode V0 in ${n.name} encoding`);const i=t.get(r);if(null==i){const i=n.encode(e).slice(1);return t.set(r,i),i}return i},f=(e,t,n)=>{const{prefix:r}=n,i=t.get(r);if(null==i){const i=n.encode(e);return t.set(r,i),i}return i},h=112,d=18,m=(e,t,n)=>{const i=r.encodingLength(e),o=i+r.encodingLength(t),s=new Uint8Array(o+n.byteLength);return r.encodeTo(e,s,0),r.encodeTo(t,s,i),s.set(n,o),s},p=Symbol.for("@ipld/js-cid/CID"),b={writable:!1,configurable:!1,enumerable:!0},y={writable:!1,enumerable:!1,configurable:!1},g=(e,t)=>{if(!e.test("0.0.0-dev"))throw new Error(t);console.warn(t)},k="CID.isCID(v) is deprecated and will be removed in the next major release.\nFollowing code pattern:\n\nif (CID.isCID(value)) {\n  doSomethingWithCID(value)\n}\n\nIs replaced with:\n\nconst cid = CID.asCID(value)\nif (cid) {\n  // Make sure to use cid instead of value\n  doSomethingWithCID(cid)\n}\n";n.CID=u}}},{package:"@metamask/assets-controllers>multiformats",file:"node_modules/multiformats/cjs/src/cid.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/hashes/digest.js",{"../bytes.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/bytes.js","../varint.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/varint.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("../bytes.js"),i=e("../varint.js");class o{constructor(e,t,n,r){this.code=e,this.size=t,this.digest=n,this.bytes=r}}n.Digest=o,n.create=(e,t)=>{const n=t.byteLength,r=i.encodingLength(e),s=r+i.encodingLength(n),a=new Uint8Array(s+n);return i.encodeTo(e,a,0),i.encodeTo(n,a,r),a.set(t,s),new o(e,n,t,a)},n.decode=e=>{const t=r.coerce(e),[n,s]=i.decode(t),[a,u]=i.decode(t.subarray(s)),l=t.subarray(s+u);if(l.byteLength!==a)throw new Error("Incorrect length");return new o(n,a,l,t)},n.equals=(e,t)=>e===t||e.code===t.code&&e.size===t.size&&r.equals(e.bytes,t.bytes)}}},{package:"@metamask/assets-controllers>multiformats",file:"node_modules/multiformats/cjs/src/hashes/digest.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/src/varint.js",{"../vendor/varint.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/vendor/varint.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("../vendor/varint.js");n.decode=(e,t=0)=>[r.decode(e,t),r.decode.bytes],n.encodeTo=(e,t,n=0)=>(r.encode(e,t,n),t),n.encodingLength=e=>r.encodingLength(e)}}},{package:"@metamask/assets-controllers>multiformats",file:"node_modules/multiformats/cjs/src/varint.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/vendor/base-x.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=function(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<e.length;i++){var o=e.charAt(i),s=o.charCodeAt(0);if(255!==n[s])throw new TypeError(o+" is ambiguous");n[s]=i}var a=e.length,u=e.charAt(0),l=Math.log(a)/Math.log(256),c=Math.log(256)/Math.log(a);function f(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return new Uint8Array;var t=0;if(" "!==e[t]){for(var r=0,i=0;e[t]===u;)r++,t++;for(var o=(e.length-t)*l+1>>>0,s=new Uint8Array(o);e[t];){var c=n[e.charCodeAt(t)];if(255===c)return;for(var f=0,h=o-1;(0!==c||f<i)&&-1!==h;h--,f++)c+=a*s[h]>>>0,s[h]=c%256>>>0,c=c/256>>>0;if(0!==c)throw new Error("Non-zero carry");i=f,t++}if(" "!==e[t]){for(var d=o-i;d!==o&&0===s[d];)d++;for(var m=new Uint8Array(r+(o-d)),p=r;d!==o;)m[p++]=s[d++];return m}}}return{encode:function(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===t.length)return"";for(var n=0,r=0,i=0,o=t.length;i!==o&&0===t[i];)i++,n++;for(var s=(o-i)*c+1>>>0,l=new Uint8Array(s);i!==o;){for(var f=t[i],h=0,d=s-1;(0!==f||h<r)&&-1!==d;d--,h++)f+=256*l[d]>>>0,l[d]=f%a>>>0,f=f/a>>>0;if(0!==f)throw new Error("Non-zero carry");r=h,i++}for(var m=s-r;m!==s&&0===l[m];)m++;for(var p=u.repeat(n);m<s;++m)p+=e.charAt(l[m]);return p},decodeUnsafe:f,decode:function(e){var n=f(e);if(n)return n;throw new Error(`Non-${t} character`)}}};t.exports=r}}},{package:"@metamask/assets-controllers>multiformats",file:"node_modules/multiformats/cjs/vendor/base-x.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/multiformats/cjs/vendor/varint.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=function e(t,n,r){n=n||[];var a=r=r||0;for(;t>=s;)n[r++]=255&t|i,t/=128;for(;t&o;)n[r++]=255&t|i,t>>>=7;return n[r]=0|t,e.bytes=r-a+1,n},i=128,o=-128,s=Math.pow(2,31);var a=function e(t,n){var r,i=0,o=0,s=n=n||0,a=t.length;do{if(s>=a)throw e.bytes=0,new RangeError("Could not decode varint");r=t[s++],i+=o<28?(r&l)<<o:(r&l)*Math.pow(2,o),o+=7}while(r>=u);return e.bytes=s-n,i},u=128,l=127;var c=Math.pow(2,7),f=Math.pow(2,14),h=Math.pow(2,21),d=Math.pow(2,28),m=Math.pow(2,35),p=Math.pow(2,42),b=Math.pow(2,49),y=Math.pow(2,56),g=Math.pow(2,63),k={encode:r,decode:a,encodingLength:function(e){return e<c?1:e<f?2:e<h?3:e<d?4:e<m?5:e<p?6:e<b?7:e<y?8:e<g?9:10}};t.exports=k}}},{package:"@metamask/assets-controllers>multiformats",file:"node_modules/multiformats/cjs/vendor/varint.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/nanoid/index.browser.cjs",{"./url-alphabet/index.cjs":"/home/runner/work/metamask-extension/metamask-extension/node_modules/nanoid/url-alphabet/index.cjs"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){let{urlAlphabet:r}=e("./url-alphabet/index.cjs"),i=e=>crypto.getRandomValues(new Uint8Array(e)),o=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*r*t/e.length);return(o=t)=>{let s="";for(;;){let t=n(i),a=0|i;for(;a--;)if(s+=e[t[a]&r]||"",s.length===o)return s}}};t.exports={nanoid:(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_",""),customAlphabet:(e,t=21)=>o(e,t,i),customRandom:o,urlAlphabet:r,random:i}}}},{package:"nanoid",file:"node_modules/nanoid/index.browser.cjs"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/nanoid/url-alphabet/index.cjs",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}}}},{package:"nanoid",file:"node_modules/nanoid/url-alphabet/index.cjs"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/number-to-bn/src/index.js",{"bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js","strip-hex-prefix":"/home/runner/work/metamask-extension/metamask-extension/node_modules/strip-hex-prefix/src/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("bn.js"),i=e("strip-hex-prefix");t.exports=function(e){if("string"==typeof e||"number"==typeof e){var t=new r(1),n=String(e).toLowerCase().trim(),o="0x"===n.substr(0,2)||"-0x"===n.substr(0,3),s=i(n);if("-"===s.substr(0,1)&&(s=i(s.slice(1)),t=new r(-1,10)),!(s=""===s?"0":s).match(/^-?[0-9]+$/)&&s.match(/^[0-9A-Fa-f]+$/)||s.match(/^[a-fA-F]+$/)||!0===o&&s.match(/^[0-9A-Fa-f]+$/))return new r(s,16).mul(t);if((s.match(/^-?[0-9]+$/)||""===s)&&!1===o)return new r(s,10).mul(t)}else if("object"==typeof e&&e.toString&&!e.pop&&!e.push&&e.toString(10).match(/^-?[0-9]+$/)&&(e.mul||e.dividedToIntegerBy))return new r(e.toString(10),10);throw new Error("[number-to-bn] while converting number "+JSON.stringify(e)+" to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported.")}}}},{package:"eth-method-registry>@metamask/ethjs-contract>ethjs-abi>number-to-bn",file:"node_modules/number-to-bn/src/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/object-assign/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,a=function(e){if(null===e||e===undefined)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var l in n=Object(arguments[u]))i.call(n,l)&&(a[l]=n[l]);if(r){s=r(n);for(var c=0;c<s.length;c++)o.call(n,s[c])&&(a[s[c]]=n[s[c]])}}return a}}}},{package:"react>object-assign",file:"node_modules/object-assign/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/object-inspect/index.js",{"./util.inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,s=r&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=a&&u&&"function"==typeof u.get?u.get:null,c=a&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,p=Object.prototype.toString,b=Function.prototype.toString,y=String.prototype.match,g=String.prototype.slice,k=String.prototype.replace,w=String.prototype.toUpperCase,v=String.prototype.toLowerCase,_=RegExp.prototype.test,x=Array.prototype.concat,j=Array.prototype.join,T=Array.prototype.slice,S=Math.floor,O="function"==typeof BigInt?BigInt.prototype.valueOf:null,E=Object.getOwnPropertySymbols,A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,R="function"==typeof Symbol&&"object"==typeof Symbol.iterator,N="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===R||"symbol")?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function C(e,t){if(e===Infinity||e===-Infinity||e!=e||e&&e>-1e3&&e<1e3||_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-S(-e):S(e);if(r!==e){var i=String(r),o=g.call(t,i.length+1);return k.call(i,n,"$&_")+"."+k.call(k.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return k.call(t,n,"$&_")}var M=e("./util.inspect"),P=M.custom,z=W(P)?P:null,L={__proto__:null,double:'"',single:"'"},F={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function B(e,t,n){var r=n.quoteStyle||t,i=L[r];return i+e+i}function q(e){return k.call(String(e),/"/g,"&quot;")}function $(e){return!N||!("object"==typeof e&&(N in e||void 0!==e[N]))}function U(e){return"[object Array]"===J(e)&&$(e)}function V(e){return"[object RegExp]"===J(e)&&$(e)}function W(e){if(R)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}t.exports=function e(t,n,r,i){var a=n||{};if(H(a,"quoteStyle")&&!H(L,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(H(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==Infinity:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!H(a,"customInspect")||a.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(H(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(H(a,"numericSeparator")&&"boolean"!=typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var p=a.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Y(t,a);if("number"==typeof t){if(0===t)return Infinity/t>0?"0":"-0";var w=String(t);return p?C(t,w):w}if("bigint"==typeof t){var _=String(t)+"n";return p?C(t,_):_}var S=void 0===a.depth?5:a.depth;if(void 0===r&&(r=0),r>=S&&S>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var E=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=j.call(Array(e.indent+1)," ")}return{base:n,prev:j.call(Array(t+1),n)}}(a,r);if(void 0===i)i=[];else if(K(i,t)>=0)return"[Circular]";function P(t,n,o){if(n&&(i=T.call(i)).push(n),o){var s={depth:a.depth};return H(a,"quoteStyle")&&(s.quoteStyle=a.quoteStyle),e(t,s,r+1,i)}return e(t,a,r+1,i)}if("function"==typeof t&&!V(t)){var F=function(e){if(e.name)return e.name;var t=y.call(b.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),Z=ne(t,P);return"[Function"+(F?": "+F:" (anonymous)")+"]"+(Z.length>0?" { "+j.call(Z,", ")+" }":"")}if(W(t)){var G=R?k.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):A.call(t);return"object"!=typeof t||R?G:Q(G)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var re="<"+v.call(String(t.nodeName)),ie=t.attributes||[],oe=0;oe<ie.length;oe++)re+=" "+ie[oe].name+"="+B(q(ie[oe].value),"double",a);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+="</"+v.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var se=ne(t,P);return E&&!function(e){for(var t=0;t<e.length;t++)if(K(e[t],"\n")>=0)return!1;return!0}(se)?"["+te(se,E)+"]":"[ "+j.call(se,", ")+" ]"}if(function(e){return"[object Error]"===J(e)&&$(e)}(t)){var ae=ne(t,P);return"cause"in Error.prototype||!("cause"in t)||I.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+j.call(ae,", ")+" }":"{ ["+String(t)+"] "+j.call(x.call("[cause]: "+P(t.cause),ae),", ")+" }"}if("object"==typeof t&&u){if(z&&"function"==typeof t[z]&&M)return M(t,{depth:S-r});if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ue=[];return s&&s.call(t,function(e,n){ue.push(P(n,t,!0)+" => "+P(e,t))}),ee("Map",o.call(t),ue,E)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return c&&c.call(t,function(e){le.push(P(e,t))}),ee("Set",l.call(t),le,E)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return X("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return X("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return X("WeakRef");if(function(e){return"[object Number]"===J(e)&&$(e)}(t))return Q(P(Number(t)));if(function(e){if(!e||"object"!=typeof e||!O)return!1;try{return O.call(e),!0}catch(e){}return!1}(t))return Q(P(O.call(t)));if(function(e){return"[object Boolean]"===J(e)&&$(e)}(t))return Q(m.call(t));if(function(e){return"[object String]"===J(e)&&$(e)}(t))return Q(P(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof global&&t===global)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===J(e)&&$(e)}(t)&&!V(t)){var ce=ne(t,P),fe=D?D(t)===Object.prototype:t instanceof Object||t.constructor===Object,he=t instanceof Object?"":"null prototype",de=!fe&&N&&Object(t)===t&&N in t?g.call(J(t),8,-1):he?"Object":"",me=(fe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||he?"["+j.call(x.call([],de||[],he||[]),": ")+"] ":"");return 0===ce.length?me+"{}":E?me+"{"+te(ce,E)+"}":me+"{ "+j.call(ce,", ")+" }"}return String(t)};var Z=Object.prototype.hasOwnProperty||function(e){return e in this};function H(e,t){return Z.call(e,t)}function J(e){return p.call(e)}function K(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Y(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Y(g.call(e,0,t.maxStringLength),t)+r}var i=F[t.quoteStyle||"single"];return i.lastIndex=0,B(k.call(k.call(e,i,"\\$1"),/[\x00-\x1f]/g,G),"single",t)}function G(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Q(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function ee(e,t,n,r){return e+" ("+t+") {"+(r?te(n,r):j.call(n,", "))+"}"}function te(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+j.call(e,","+n)+"\n"+t.prev}function ne(e,t){var n=U(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=H(e,i)?t(e[i],e):""}var o,s="function"==typeof E?E(e):[];if(R){o={};for(var a=0;a<s.length;a++)o["$"+s[a]]=s[a]}for(var u in e)H(e,u)&&(n&&String(Number(u))===u&&u<e.length||R&&o["$"+u]instanceof Symbol||(_.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof E)for(var l=0;l<s.length;l++)I.call(e,s[l])&&r.push("["+t(s[l])+"]: "+t(e[s[l]],e));return r}}}},{package:"string.prototype.matchall>es-abstract>object-inspect",file:"node_modules/object-inspect/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/once/once.js",{wrappy:"/home/runner/work/metamask-extension/metamask-extension/node_modules/wrappy/wrappy.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("wrappy");function i(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function o(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},n=e.name||"Function wrapped with `once`";return t.onceError=n+" shouldn't be called more than once",t.called=!1,t}t.exports=r(i),t.exports.strict=r(o),i.proto=i(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return o(this)},configurable:!0})})}}},{package:"@metamask/object-multiplex>once",file:"node_modules/once/once.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/p-limit/index.js",{"yocto-queue":"/home/runner/work/metamask-extension/metamask-extension/node_modules/yocto-queue/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("yocto-queue");t.exports=e=>{if(!Number.isInteger(e)&&e!==Infinity||!(e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");const t=new r;let n=0;const i=async(e,r,...i)=>{n++;const o=(async()=>e(...i))();r(o);try{await o}catch{}n--,t.size>0&&t.dequeue()()},o=(r,...o)=>new Promise(s=>{((r,o,...s)=>{t.enqueue(i.bind(null,r,o,...s)),(async()=>{await Promise.resolve(),n<e&&t.size>0&&t.dequeue()()})()})(r,s,...o)});return Object.defineProperties(o,{activeCount:{get:()=>n},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),o}}}},{package:"@metamask/assets-controller>p-limit",file:"node_modules/p-limit/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/utils/common.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)i(n,r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,s;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(s=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],s.set(o,i),i+=o.length;return s}},s={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,o)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,s))},n.setTyped(r)}}},{package:"browserify>browserify-zlib>pako",file:"node_modules/pako/lib/utils/common.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/adler32.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e,t,n,r){for(var i=65535&e,o=e>>>16&65535,s=0;0!==n;){n-=s=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--s);i%=65521,o%=65521}return i|o<<16}}}},{package:"browserify>browserify-zlib>pako",file:"node_modules/pako/lib/zlib/adler32.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/constants.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}}}},{package:"browserify>browserify-zlib>pako",file:"node_modules/pako/lib/zlib/constants.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/crc32.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var o=r,s=i+n;e^=-1;for(var a=i;a<s;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}}}},{package:"browserify>browserify-zlib>pako",file:"node_modules/pako/lib/zlib/crc32.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/deflate.js",{"../utils/common":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/utils/common.js","./adler32":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/adler32.js","./crc32":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/crc32.js","./messages":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/messages.js","./trees":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/trees.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i=e("../utils/common"),o=e("./trees"),s=e("./adler32"),a=e("./crc32"),u=e("./messages"),l=-2,c=258,f=262,h=103,d=113,m=666;function p(e,t){return e.msg=u[t],t}function b(e){return(e<<1)-(e>4?9:0)}function y(e){for(var t=e.length;--t>=0;)e[t]=0}function g(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function k(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,g(e.strm)}function w(e,t){e.pending_buf[e.pending++]=t}function v(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function _(e,t,n,r){var o=e.avail_in;return o>r&&(o=r),0===o?0:(e.avail_in-=o,i.arraySet(t,e.input,e.next_in,o,n),1===e.state.wrap?e.adler=s(e.adler,t,o,n):2===e.state.wrap&&(e.adler=a(e.adler,t,o,n)),e.next_in+=o,e.total_in+=o,o)}function x(e,t){var n,r,i=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,u=e.strstart>e.w_size-f?e.strstart-(e.w_size-f):0,l=e.window,h=e.w_mask,d=e.prev,m=e.strstart+c,p=l[o+s-1],b=l[o+s];e.prev_length>=e.good_match&&(i>>=2),a>e.lookahead&&(a=e.lookahead);do{if(l[(n=t)+s]===b&&l[n+s-1]===p&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&o<m);if(r=c-(m-o),o=m-c,r>s){if(e.match_start=t,s=r,r>=a)break;p=l[o+s-1],b=l[o+s]}}}while((t=d[t&h])>u&&0!==--i);return s<=e.lookahead?s:e.lookahead}function j(e){var t,n,r,o,s,a=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-f)){i.arraySet(e.window,e.window,a,a,0),e.match_start-=a,e.strstart-=a,e.block_start-=a,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=a?r-a:0}while(--n);t=n=a;do{r=e.prev[--t],e.prev[t]=r>=a?r-a:0}while(--n);o+=a}if(0===e.strm.avail_in)break;if(n=_(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=n,e.lookahead+e.insert>=3)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+3-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<f&&0!==e.strm.avail_in)}function T(e,t){for(var n,r;;){if(e.lookahead<f){if(j(e),e.lookahead<f&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-f&&(e.match_length=x(e,n)),e.match_length>=3)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(k(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(k(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(k(e,!1),0===e.strm.avail_out)?1:2}function S(e,t){for(var n,r,i;;){if(e.lookahead<f){if(j(e),e.lookahead<f&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-f&&(e.match_length=x(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(k(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=o._tr_tally(e,0,e.window[e.strstart-1]))&&k(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(k(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(k(e,!1),0===e.strm.avail_out)?1:2}function O(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function E(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),y(this.dyn_ltree),y(this.dyn_dtree),y(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),y(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),y(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function A(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:d,e.adler=2===t.wrap?0:1,t.last_flush=0,o._tr_init(t),0):p(e,l)}function R(e){var t,n=A(e);return 0===n&&((t=e.state).window_size=2*t.w_size,y(t.head),t.max_lazy_match=r[t.level].max_lazy,t.good_match=r[t.level].good_length,t.nice_match=r[t.level].nice_length,t.max_chain_length=r[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function N(e,t,n,r,o,s){if(!e)return l;var a=1;if(-1===t&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),o<1||o>9||8!==n||r<8||r>15||t<0||t>9||s<0||s>4)return p(e,l);8===r&&(r=9);var u=new E;return e.state=u,u.strm=e,u.wrap=a,u.gzhead=null,u.w_bits=r,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=o+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+3-1)/3),u.window=new i.Buf8(2*u.w_size),u.head=new i.Buf16(u.hash_size),u.prev=new i.Buf16(u.w_size),u.lit_bufsize=1<<o+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new i.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=t,u.strategy=s,u.method=n,R(e)}r=[new O(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(j(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,k(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-f&&(k(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(k(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(k(e,!1),e.strm.avail_out),1)}),new O(4,4,8,4,T),new O(4,5,16,8,T),new O(4,6,32,32,T),new O(4,4,16,16,S),new O(8,16,32,32,S),new O(8,16,128,128,S),new O(8,32,128,256,S),new O(32,128,258,1024,S),new O(32,258,258,4096,S)],n.deflateInit=function(e,t){return N(e,t,8,15,8,0)},n.deflateInit2=N,n.deflateReset=R,n.deflateResetKeep=A,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?l:(e.state.gzhead=t,0):l},n.deflate=function(e,t){var n,i,s,u;if(!e||!e.state||t>5||t<0)return e?p(e,l):l;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===m&&4!==t)return p(e,0===e.avail_out?-5:l);if(i.strm=e,n=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,w(i,31),w(i,139),w(i,8),i.gzhead?(w(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),w(i,255&i.gzhead.time),w(i,i.gzhead.time>>8&255),w(i,i.gzhead.time>>16&255),w(i,i.gzhead.time>>24&255),w(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),w(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(w(i,255&i.gzhead.extra.length),w(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=a(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(w(i,0),w(i,0),w(i,0),w(i,0),w(i,0),w(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),w(i,3),i.status=d);else{var f=8+(i.w_bits-8<<4)<<8;f|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(f|=32),f+=31-f%31,i.status=d,v(i,f),0!==i.strstart&&(v(i,e.adler>>>16),v(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(s=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),g(e),s=i.pending,i.pending!==i.pending_buf_size));)w(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),g(e),s=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,w(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),g(e),s=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,w(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===u&&(i.status=h)}else i.status=h;if(i.status===h&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&g(e),i.pending+2<=i.pending_buf_size&&(w(i,255&e.adler),w(i,e.adler>>8&255),e.adler=0,i.status=d)):i.status=d),0!==i.pending){if(g(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&b(t)<=b(n)&&4!==t)return p(e,-5);if(i.status===m&&0!==e.avail_in)return p(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&i.status!==m){var _=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(j(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(k(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(k(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(k(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,r,i,s,a=e.window;;){if(e.lookahead<=c){if(j(e),e.lookahead<=c&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){s=e.strstart+c;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<s);e.match_length=c-(s-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(k(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(k(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(k(e,!1),0===e.strm.avail_out)?1:2}(i,t):r[i.level].func(i,t);if(3!==_&&4!==_||(i.status=m),1===_||3===_)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===_&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(y(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),g(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(w(i,255&e.adler),w(i,e.adler>>8&255),w(i,e.adler>>16&255),w(i,e.adler>>24&255),w(i,255&e.total_in),w(i,e.total_in>>8&255),w(i,e.total_in>>16&255),w(i,e.total_in>>24&255)):(v(i,e.adler>>>16),v(i,65535&e.adler)),g(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},n.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==h&&t!==d&&t!==m?p(e,l):(e.state=null,t===d?p(e,-3):0):l},n.deflateSetDictionary=function(e,t){var n,r,o,a,u,c,f,h,d=t.length;if(!e||!e.state)return l;if(2===(a=(n=e.state).wrap)||1===a&&42!==n.status||n.lookahead)return l;for(1===a&&(e.adler=s(e.adler,t,d,0)),n.wrap=0,d>=n.w_size&&(0===a&&(y(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=new i.Buf8(n.w_size),i.arraySet(h,t,d-n.w_size,n.w_size,0),t=h,d=n.w_size),u=e.avail_in,c=e.next_in,f=e.input,e.avail_in=d,e.next_in=0,e.input=t,j(n);n.lookahead>=3;){r=n.strstart,o=n.lookahead-2;do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--o);n.strstart=r,n.lookahead=2,j(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=c,e.input=f,e.avail_in=u,n.wrap=a,0},n.deflateInfo="pako deflate (from Nodeca project)"}}},{package:"browserify>browserify-zlib>pako",file:"node_modules/pako/lib/zlib/deflate.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/inffast.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e,t){var n,r,i,o,s,a,u,l,c,f,h,d,m,p,b,y,g,k,w,v,_,x,j,T,S;n=e.state,r=e.next_in,T=e.input,i=r+(e.avail_in-5),o=e.next_out,S=e.output,s=o-(t-e.avail_out),a=o+(e.avail_out-257),u=n.dmax,l=n.wsize,c=n.whave,f=n.wnext,h=n.window,d=n.hold,m=n.bits,p=n.lencode,b=n.distcode,y=(1<<n.lenbits)-1,g=(1<<n.distbits)-1;e:do{m<15&&(d+=T[r++]<<m,m+=8,d+=T[r++]<<m,m+=8),k=p[d&y];t:for(;;){if(d>>>=w=k>>>24,m-=w,0===(w=k>>>16&255))S[o++]=65535&k;else{if(!(16&w)){if(64&w){if(32&w){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}k=p[(65535&k)+(d&(1<<w)-1)];continue t}for(v=65535&k,(w&=15)&&(m<w&&(d+=T[r++]<<m,m+=8),v+=d&(1<<w)-1,d>>>=w,m-=w),m<15&&(d+=T[r++]<<m,m+=8,d+=T[r++]<<m,m+=8),k=b[d&g];;){if(d>>>=w=k>>>24,m-=w,16&(w=k>>>16&255)){if(_=65535&k,m<(w&=15)&&(d+=T[r++]<<m,(m+=8)<w&&(d+=T[r++]<<m,m+=8)),(_+=d&(1<<w)-1)>u){e.msg="invalid distance too far back",n.mode=30;break e}if(d>>>=w,m-=w,_>(w=o-s)){if((w=_-w)>c&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(x=0,j=h,0===f){if(x+=l-w,w<v){v-=w;do{S[o++]=h[x++]}while(--w);x=o-_,j=S}}else if(f<w){if(x+=l+f-w,(w-=f)<v){v-=w;do{S[o++]=h[x++]}while(--w);if(x=0,f<v){v-=w=f;do{S[o++]=h[x++]}while(--w);x=o-_,j=S}}}else if(x+=f-w,w<v){v-=w;do{S[o++]=h[x++]}while(--w);x=o-_,j=S}for(;v>2;)S[o++]=j[x++],S[o++]=j[x++],S[o++]=j[x++],v-=3;v&&(S[o++]=j[x++],v>1&&(S[o++]=j[x++]))}else{x=o-_;do{S[o++]=S[x++],S[o++]=S[x++],S[o++]=S[x++],v-=3}while(v>2);v&&(S[o++]=S[x++],v>1&&(S[o++]=S[x++]))}break}if(64&w){e.msg="invalid distance code",n.mode=30;break e}k=b[(65535&k)+(d&(1<<w)-1)]}}break}}while(r<i&&o<a);r-=v=m>>3,d&=(1<<(m-=v<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<a?a-o+257:257-(o-a),n.hold=d,n.bits=m}}}},{package:"browserify>browserify-zlib>pako",file:"node_modules/pako/lib/zlib/inffast.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/inflate.js",{"../utils/common":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/utils/common.js","./adler32":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/adler32.js","./crc32":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/crc32.js","./inffast":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/inffast.js","./inftrees":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/inftrees.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),s=e("./inffast"),a=e("./inftrees"),u=-2,l=12,c=30;function f(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function h(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):u}function m(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):u}function p(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?u:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,m(e))):u}function b(e,t){var n,r;return e?(r=new h,e.state=r,r.window=null,0!==(n=p(e,t))&&(e.state=null),n):u}var y,g,k=!0;function w(e){if(k){var t;for(y=new r.Buf32(512),g=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,y,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),k=!1}e.lencode=y,e.lenbits=9,e.distcode=g,e.distbits=5}function v(e,t,n,i){var o,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new r.Buf8(s.wsize)),i>=s.wsize?(r.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((o=s.wsize-s.wnext)>i&&(o=i),r.arraySet(s.window,t,n-i,o,s.wnext),(i-=o)?(r.arraySet(s.window,t,n-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=o))),0}n.inflateReset=m,n.inflateReset2=p,n.inflateResetKeep=d,n.inflateInit=function(e){return b(e,15)},n.inflateInit2=b,n.inflate=function(e,t){var n,h,d,m,p,b,y,g,k,_,x,j,T,S,O,E,A,R,N,I,D,C,M,P,z=0,L=new r.Buf8(4),F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return u;(n=e.state).mode===l&&(n.mode=13),p=e.next_out,d=e.output,y=e.avail_out,m=e.next_in,h=e.input,b=e.avail_in,g=n.hold,k=n.bits,_=b,x=y,C=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;k<16;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}if(2&n.wrap&&35615===g){n.check=0,L[0]=255&g,L[1]=g>>>8&255,n.check=o(n.check,L,2,0),g=0,k=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",n.mode=c;break}if(8!=(15&g)){e.msg="unknown compression method",n.mode=c;break}if(k-=4,D=8+(15&(g>>>=4)),0===n.wbits)n.wbits=D;else if(D>n.wbits){e.msg="invalid window size",n.mode=c;break}n.dmax=1<<D,e.adler=n.check=1,n.mode=512&g?10:l,g=0,k=0;break;case 2:for(;k<16;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}if(n.flags=g,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=c;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=c;break}n.head&&(n.head.text=g>>8&1),512&n.flags&&(L[0]=255&g,L[1]=g>>>8&255,n.check=o(n.check,L,2,0)),g=0,k=0,n.mode=3;case 3:for(;k<32;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}n.head&&(n.head.time=g),512&n.flags&&(L[0]=255&g,L[1]=g>>>8&255,L[2]=g>>>16&255,L[3]=g>>>24&255,n.check=o(n.check,L,4,0)),g=0,k=0,n.mode=4;case 4:for(;k<16;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}n.head&&(n.head.xflags=255&g,n.head.os=g>>8),512&n.flags&&(L[0]=255&g,L[1]=g>>>8&255,n.check=o(n.check,L,2,0)),g=0,k=0,n.mode=5;case 5:if(1024&n.flags){for(;k<16;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}n.length=g,n.head&&(n.head.extra_len=g),512&n.flags&&(L[0]=255&g,L[1]=g>>>8&255,n.check=o(n.check,L,2,0)),g=0,k=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((j=n.length)>b&&(j=b),j&&(n.head&&(D=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,h,m,j,D)),512&n.flags&&(n.check=o(n.check,h,j,m)),b-=j,m+=j,n.length-=j),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===b)break e;j=0;do{D=h[m+j++],n.head&&D&&n.length<65536&&(n.head.name+=String.fromCharCode(D))}while(D&&j<b);if(512&n.flags&&(n.check=o(n.check,h,j,m)),b-=j,m+=j,D)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===b)break e;j=0;do{D=h[m+j++],n.head&&D&&n.length<65536&&(n.head.comment+=String.fromCharCode(D))}while(D&&j<b);if(512&n.flags&&(n.check=o(n.check,h,j,m)),b-=j,m+=j,D)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;k<16;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}if(g!==(65535&n.check)){e.msg="header crc mismatch",n.mode=c;break}g=0,k=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=l;break;case 10:for(;k<32;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}e.adler=n.check=f(g),g=0,k=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=p,e.avail_out=y,e.next_in=m,e.avail_in=b,n.hold=g,n.bits=k,2;e.adler=n.check=1,n.mode=l;case l:if(5===t||6===t)break e;case 13:if(n.last){g>>>=7&k,k-=7&k,n.mode=27;break}for(;k<3;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}switch(n.last=1&g,k-=1,3&(g>>>=1)){case 0:n.mode=14;break;case 1:if(w(n),n.mode=20,6===t){g>>>=2,k-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=c}g>>>=2,k-=2;break;case 14:for(g>>>=7&k,k-=7&k;k<32;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}if((65535&g)!=(g>>>16^65535)){e.msg="invalid stored block lengths",n.mode=c;break}if(n.length=65535&g,g=0,k=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(j=n.length){if(j>b&&(j=b),j>y&&(j=y),0===j)break e;r.arraySet(d,h,m,j,p),b-=j,m+=j,y-=j,p+=j,n.length-=j;break}n.mode=l;break;case 17:for(;k<14;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}if(n.nlen=257+(31&g),g>>>=5,k-=5,n.ndist=1+(31&g),g>>>=5,k-=5,n.ncode=4+(15&g),g>>>=4,k-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=c;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;k<3;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}n.lens[F[n.have++]]=7&g,g>>>=3,k-=3}for(;n.have<19;)n.lens[F[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,M={bits:n.lenbits},C=a(0,n.lens,0,19,n.lencode,0,n.work,M),n.lenbits=M.bits,C){e.msg="invalid code lengths set",n.mode=c;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;E=(z=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,A=65535&z,!((O=z>>>24)<=k);){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}if(A<16)g>>>=O,k-=O,n.lens[n.have++]=A;else{if(16===A){for(P=O+2;k<P;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}if(g>>>=O,k-=O,0===n.have){e.msg="invalid bit length repeat",n.mode=c;break}D=n.lens[n.have-1],j=3+(3&g),g>>>=2,k-=2}else if(17===A){for(P=O+3;k<P;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}k-=O,D=0,j=3+(7&(g>>>=O)),g>>>=3,k-=3}else{for(P=O+7;k<P;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}k-=O,D=0,j=11+(127&(g>>>=O)),g>>>=7,k-=7}if(n.have+j>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=c;break}for(;j--;)n.lens[n.have++]=D}}if(n.mode===c)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=c;break}if(n.lenbits=9,M={bits:n.lenbits},C=a(1,n.lens,0,n.nlen,n.lencode,0,n.work,M),n.lenbits=M.bits,C){e.msg="invalid literal/lengths set",n.mode=c;break}if(n.distbits=6,n.distcode=n.distdyn,M={bits:n.distbits},C=a(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,M),n.distbits=M.bits,C){e.msg="invalid distances set",n.mode=c;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(b>=6&&y>=258){e.next_out=p,e.avail_out=y,e.next_in=m,e.avail_in=b,n.hold=g,n.bits=k,s(e,x),p=e.next_out,d=e.output,y=e.avail_out,m=e.next_in,h=e.input,b=e.avail_in,g=n.hold,k=n.bits,n.mode===l&&(n.back=-1);break}for(n.back=0;E=(z=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,A=65535&z,!((O=z>>>24)<=k);){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}if(E&&!(240&E)){for(R=O,N=E,I=A;E=(z=n.lencode[I+((g&(1<<R+N)-1)>>R)])>>>16&255,A=65535&z,!(R+(O=z>>>24)<=k);){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}g>>>=R,k-=R,n.back+=R}if(g>>>=O,k-=O,n.back+=O,n.length=A,0===E){n.mode=26;break}if(32&E){n.back=-1,n.mode=l;break}if(64&E){e.msg="invalid literal/length code",n.mode=c;break}n.extra=15&E,n.mode=22;case 22:if(n.extra){for(P=n.extra;k<P;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}n.length+=g&(1<<n.extra)-1,g>>>=n.extra,k-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;E=(z=n.distcode[g&(1<<n.distbits)-1])>>>16&255,A=65535&z,!((O=z>>>24)<=k);){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}if(!(240&E)){for(R=O,N=E,I=A;E=(z=n.distcode[I+((g&(1<<R+N)-1)>>R)])>>>16&255,A=65535&z,!(R+(O=z>>>24)<=k);){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}g>>>=R,k-=R,n.back+=R}if(g>>>=O,k-=O,n.back+=O,64&E){e.msg="invalid distance code",n.mode=c;break}n.offset=A,n.extra=15&E,n.mode=24;case 24:if(n.extra){for(P=n.extra;k<P;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}n.offset+=g&(1<<n.extra)-1,g>>>=n.extra,k-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=c;break}n.mode=25;case 25:if(0===y)break e;if(j=x-y,n.offset>j){if((j=n.offset-j)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=c;break}j>n.wnext?(j-=n.wnext,T=n.wsize-j):T=n.wnext-j,j>n.length&&(j=n.length),S=n.window}else S=d,T=p-n.offset,j=n.length;j>y&&(j=y),y-=j,n.length-=j;do{d[p++]=S[T++]}while(--j);0===n.length&&(n.mode=21);break;case 26:if(0===y)break e;d[p++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;k<32;){if(0===b)break e;b--,g|=h[m++]<<k,k+=8}if(x-=y,e.total_out+=x,n.total+=x,x&&(e.adler=n.check=n.flags?o(n.check,d,x,p-x):i(n.check,d,x,p-x)),x=y,(n.flags?g:f(g))!==n.check){e.msg="incorrect data check",n.mode=c;break}g=0,k=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;k<32;){if(0===b)break e;b--,g+=h[m++]<<k,k+=8}if(g!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=c;break}g=0,k=0}n.mode=29;case 29:C=1;break e;case c:C=-3;break e;case 31:return-4;default:return u}return e.next_out=p,e.avail_out=y,e.next_in=m,e.avail_in=b,n.hold=g,n.bits=k,(n.wsize||x!==e.avail_out&&n.mode<c&&(n.mode<27||4!==t))&&v(e,e.output,e.next_out,x-e.avail_out)?(n.mode=31,-4):(_-=e.avail_in,x-=e.avail_out,e.total_in+=_,e.total_out+=x,n.total+=x,n.wrap&&x&&(e.adler=n.check=n.flags?o(n.check,d,x,e.next_out-x):i(n.check,d,x,e.next_out-x)),e.data_type=n.bits+(n.last?64:0)+(n.mode===l?128:0)+(20===n.mode||15===n.mode?256:0),(0===_&&0===x||4===t)&&0===C&&(C=-5),C)},n.inflateEnd=function(e){if(!e||!e.state)return u;var t=e.state;return t.window&&(t.window=null),e.state=null,0},n.inflateGetHeader=function(e,t){var n;return e&&e.state&&2&(n=e.state).wrap?(n.head=t,t.done=!1,0):u},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?u:11===n.mode&&i(1,t,r,0)!==n.check?-3:v(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):u},n.inflateInfo="pako inflate (from Nodeca project)"}}},{package:"browserify>browserify-zlib>pako",file:"node_modules/pako/lib/zlib/inflate.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/inftrees.js",{"../utils/common":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/utils/common.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("../utils/common"),i=15,o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],u=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,c,f,h,d){var m,p,b,y,g,k,w,v,_,x=d.bits,j=0,T=0,S=0,O=0,E=0,A=0,R=0,N=0,I=0,D=0,C=null,M=0,P=new r.Buf16(16),z=new r.Buf16(16),L=null,F=0;for(j=0;j<=i;j++)P[j]=0;for(T=0;T<l;T++)P[t[n+T]]++;for(E=x,O=i;O>=1&&0===P[O];O--);if(E>O&&(E=O),0===O)return c[f++]=20971520,c[f++]=20971520,d.bits=1,0;for(S=1;S<O&&0===P[S];S++);for(E<S&&(E=S),N=1,j=1;j<=i;j++)if(N<<=1,(N-=P[j])<0)return-1;if(N>0&&(0===e||1!==O))return-1;for(z[1]=0,j=1;j<i;j++)z[j+1]=z[j]+P[j];for(T=0;T<l;T++)0!==t[n+T]&&(h[z[t[n+T]]++]=T);if(0===e?(C=L=h,k=19):1===e?(C=o,M-=257,L=s,F-=257,k=256):(C=a,L=u,k=-1),D=0,T=0,j=S,g=f,A=E,R=0,b=-1,y=(I=1<<E)-1,1===e&&I>852||2===e&&I>592)return 1;for(;;){w=j-R,h[T]<k?(v=0,_=h[T]):h[T]>k?(v=L[F+h[T]],_=C[M+h[T]]):(v=96,_=0),m=1<<j-R,S=p=1<<A;do{c[g+(D>>R)+(p-=m)]=w<<24|v<<16|_}while(0!==p);for(m=1<<j-1;D&m;)m>>=1;if(0!==m?(D&=m-1,D+=m):D=0,T++,0===--P[j]){if(j===O)break;j=t[n+h[T]]}if(j>E&&(D&y)!==b){for(0===R&&(R=E),g+=S,N=1<<(A=j-R);A+R<O&&!((N-=P[A+R])<=0);)A++,N<<=1;if(I+=1<<A,1===e&&I>852||2===e&&I>592)return 1;c[b=D&y]=E<<24|A<<16|g-f}}return 0!==D&&(c[g+D]=j-R<<24|64<<16),d.bits=E,0}}}},{package:"browserify>browserify-zlib>pako",file:"node_modules/pako/lib/zlib/inftrees.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/messages.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}}}},{package:"browserify>browserify-zlib>pako",file:"node_modules/pako/lib/zlib/messages.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/trees.js",{"../utils/common":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/utils/common.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("../utils/common");function i(e){for(var t=e.length;--t>=0;)e[t]=0}var o=256,s=286,a=30,u=15,l=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],c=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],h=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],d=new Array(576);i(d);var m=new Array(60);i(m);var p=new Array(512);i(p);var b=new Array(256);i(b);var y=new Array(29);i(y);var g,k,w,v=new Array(a);function _(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function x(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function j(e){return e<256?p[e]:p[256+(e>>>7)]}function T(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function S(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,T(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function O(e,t,n){S(e,n[2*t],n[2*t+1])}function E(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function A(e,t,n){var r,i,o=new Array(16),s=0;for(r=1;r<=u;r++)o[r]=s=s+n[r-1]<<1;for(i=0;i<=t;i++){var a=e[2*i+1];0!==a&&(e[2*i]=E(o[a]++,a))}}function R(e){var t;for(t=0;t<s;t++)e.dyn_ltree[2*t]=0;for(t=0;t<a;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function N(e){e.bi_valid>8?T(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function I(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function D(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&I(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!I(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function C(e,t,n){var r,i,s,a,u=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*u]<<8|e.pending_buf[e.d_buf+2*u+1],i=e.pending_buf[e.l_buf+u],u++,0===r?O(e,i,t):(O(e,(s=b[i])+o+1,t),0!==(a=l[s])&&S(e,i-=y[s],a),O(e,s=j(--r),n),0!==(a=c[s])&&S(e,r-=v[s],a))}while(u<e.last_lit);O(e,256,t)}function M(e,t){var n,r,i,o=t.dyn_tree,s=t.stat_desc.static_tree,a=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,a&&(e.static_len-=s[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)D(e,o,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],D(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,D(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,s,a,l=t.dyn_tree,c=t.max_code,f=t.stat_desc.static_tree,h=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,p=t.stat_desc.max_length,b=0;for(o=0;o<=u;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(o=l[2*l[2*(r=e.heap[n])+1]+1]+1)>p&&(o=p,b++),l[2*r+1]=o,r>c||(e.bl_count[o]++,s=0,r>=m&&(s=d[r-m]),a=l[2*r],e.opt_len+=a*(o+s),h&&(e.static_len+=a*(f[2*r+1]+s)));if(0!==b){do{for(o=p-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,b-=2}while(b>0);for(o=p;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>c||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),r--)}}(e,t),A(o,c,e.bl_count)}function P(e,t,n){var r,i,o=-1,s=t[1],a=0,u=7,l=4;for(0===s&&(u=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=s,s=t[2*(r+1)+1],++a<u&&i===s||(a<l?e.bl_tree[2*i]+=a:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):a<=10?e.bl_tree[34]++:e.bl_tree[36]++,a=0,o=i,0===s?(u=138,l=3):i===s?(u=6,l=3):(u=7,l=4))}function z(e,t,n){var r,i,o=-1,s=t[1],a=0,u=7,l=4;for(0===s&&(u=138,l=3),r=0;r<=n;r++)if(i=s,s=t[2*(r+1)+1],!(++a<u&&i===s)){if(a<l)do{O(e,i,e.bl_tree)}while(0!==--a);else 0!==i?(i!==o&&(O(e,i,e.bl_tree),a--),O(e,16,e.bl_tree),S(e,a-3,2)):a<=10?(O(e,17,e.bl_tree),S(e,a-3,3)):(O(e,18,e.bl_tree),S(e,a-11,7));a=0,o=i,0===s?(u=138,l=3):i===s?(u=6,l=3):(u=7,l=4)}}i(v);var L=!1;function F(e,t,n,i){S(e,0+(i?1:0),3),function(e,t,n,i){N(e),i&&(T(e,n),T(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){L||(!function(){var e,t,n,r,i,o=new Array(16);for(n=0,r=0;r<28;r++)for(y[r]=n,e=0;e<1<<l[r];e++)b[n++]=r;for(b[n-1]=r,i=0,r=0;r<16;r++)for(v[r]=i,e=0;e<1<<c[r];e++)p[i++]=r;for(i>>=7;r<a;r++)for(v[r]=i<<7,e=0;e<1<<c[r]-7;e++)p[256+i++]=r;for(t=0;t<=u;t++)o[t]=0;for(e=0;e<=143;)d[2*e+1]=8,e++,o[8]++;for(;e<=255;)d[2*e+1]=9,e++,o[9]++;for(;e<=279;)d[2*e+1]=7,e++,o[7]++;for(;e<=287;)d[2*e+1]=8,e++,o[8]++;for(A(d,287,o),e=0;e<a;e++)m[2*e+1]=5,m[2*e]=E(e,5);g=new _(d,l,257,s,u),k=new _(m,c,0,a,u),w=new _(new Array(0),f,0,19,7)}(),L=!0),e.l_desc=new x(e.dyn_ltree,g),e.d_desc=new x(e.dyn_dtree,k),e.bl_desc=new x(e.bl_tree,w),e.bi_buf=0,e.bi_valid=0,R(e)},n._tr_stored_block=F,n._tr_flush_block=function(e,t,n,r){var i,s,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<o;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),M(e,e.l_desc),M(e,e.d_desc),a=function(e){var t;for(P(e,e.dyn_ltree,e.l_desc.max_code),P(e,e.dyn_dtree,e.d_desc.max_code),M(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*h[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==t?F(e,t,n,r):4===e.strategy||s===i?(S(e,2+(r?1:0),3),C(e,d,m)):(S(e,4+(r?1:0),3),function(e,t,n,r){var i;for(S(e,t-257,5),S(e,n-1,5),S(e,r-4,4),i=0;i<r;i++)S(e,e.bl_tree[2*h[i]+1],3);z(e,e.dyn_ltree,t-1),z(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),C(e,e.dyn_ltree,e.dyn_dtree)),R(e),r&&N(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(b[n]+o+1)]++,e.dyn_dtree[2*j(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){S(e,2,3),O(e,256,d),function(e){16===e.bi_valid?(T(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}}}},{package:"browserify>browserify-zlib>pako",file:"node_modules/pako/lib/zlib/trees.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pako/lib/zlib/zstream.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}}}},{package:"browserify>browserify-zlib>pako",file:"node_modules/pako/lib/zlib/zstream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/aesid.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}}}},{package:"crypto-browserify>public-encrypt>parse-asn1",file:"node_modules/parse-asn1/aesid.json"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/asn1.js",{"./certificate":"/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/certificate.js","asn1.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("asn1.js");n.certificate=e("./certificate");var i=r.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});n.RSAPrivateKey=i;var o=r.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});n.RSAPublicKey=o;var s=r.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),a=r.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())});n.PublicKey=a;var u=r.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())});n.PrivateKey=u;var l=r.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});n.EncryptedPrivateKey=l;var c=r.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});n.DSAPrivateKey=c,n.DSAparam=r.define("DSAparam",function(){this.int()});var f=r.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),h=r.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())});n.ECPrivateKey=h,n.signature=r.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})}}},{package:"crypto-browserify>public-encrypt>parse-asn1",file:"node_modules/parse-asn1/asn1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/certificate.js",{"asn1.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/asn1.js/lib/asn1.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("asn1.js"),i=r.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),o=r.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),s=r.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),a=r.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}),u=r.define("RelativeDistinguishedName",function(){this.setof(o)}),l=r.define("RDNSequence",function(){this.seqof(u)}),c=r.define("Name",function(){this.choice({rdnSequence:this.use(l)})}),f=r.define("Validity",function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))}),h=r.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),d=r.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(c),this.key("validity").use(f),this.key("subject").use(c),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())}),m=r.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())});t.exports=m}}},{package:"crypto-browserify>public-encrypt>parse-asn1",file:"node_modules/parse-asn1/certificate.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/fixProc.js",{"browserify-aes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/browser.js",evp_bytestokey:"/home/runner/work/metamask-extension/metamask-extension/node_modules/evp_bytestokey/index.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,s=e("evp_bytestokey"),a=e("browserify-aes"),u=e("safe-buffer").Buffer;t.exports=function(e,t){var n,l=e.toString(),c=l.match(r);if(c){var f="aes"+c[1],h=u.from(c[2],"hex"),d=u.from(c[3].replace(/[\r\n]/g,""),"base64"),m=s(t,h.slice(0,8),parseInt(c[1],10)).key,p=[],b=a.createDecipheriv(f,m,h);p.push(b.update(d)),p.push(b.final()),n=u.concat(p)}else{var y=l.match(o);n=u.from(y[2].replace(/[\r\n]/g,""),"base64")}return{tag:l.match(i)[1],data:n}}}}},{package:"crypto-browserify>public-encrypt>parse-asn1",file:"node_modules/parse-asn1/fixProc.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/index.js",{"./aesid.json":"/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/aesid.json","./asn1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/asn1.js","./fixProc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/fixProc.js","browserify-aes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-aes/browser.js",pbkdf2:"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("./asn1"),i=e("./aesid.json"),o=e("./fixProc"),s=e("browserify-aes"),a=e("pbkdf2"),u=e("safe-buffer").Buffer;function l(e){var t;"object"!=typeof e||u.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=u.from(e));var n,l,c=o(e,t),f=c.tag,h=c.data;switch(f){case"CERTIFICATE":l=r.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=r.PublicKey.decode(h,"der")),n=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=r.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":h=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,f=parseInt(o.split("-")[1],10)/8,h=a.pbkdf2Sync(t,n,r,f,"sha1"),d=s.createDecipheriv(o,h,l),m=[];return m.push(d.update(c)),m.push(d.final()),u.concat(m)}(h=r.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(n=(l=r.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:r.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=r.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=r.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+f)}}l.signature=r.signature,t.exports=l}}},{package:"crypto-browserify>public-encrypt>parse-asn1",file:"node_modules/parse-asn1/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/browser.js",{"./lib/async":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/async.js","./lib/sync":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/sync-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){n.pbkdf2=e("./lib/async"),n.pbkdf2Sync=e("./lib/sync")}}},{package:"crypto-browserify>pbkdf2",file:"node_modules/pbkdf2/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/async.js",{"./default-encoding":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/default-encoding.js","./precondition":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/precondition.js","./sync":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/sync-browser.js","./to-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/to-buffer.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i,o=e("safe-buffer").Buffer,s=e("./precondition"),a=e("./default-encoding"),u=e("./sync"),l=e("./to-buffer"),c=global.crypto&&global.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function d(){return i||(i=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function m(e,t,n,r,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)}).then(function(e){return o.from(e)})}t.exports=function(e,t,n,i,p,b){"function"==typeof p&&(b=p,p=undefined);var y=f[(p=p||"sha1").toLowerCase()];if(y&&"function"==typeof global.Promise){if(s(n,i),e=l(e,a,"Password"),t=l(t,a,"Salt"),"function"!=typeof b)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then(function(e){d()(function(){t(null,e)})},function(e){d()(function(){t(e)})})}(function(e){if(global.process&&!global.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(h[e]!==undefined)return h[e];var t=m(r=r||o.alloc(8),r,10,128,e).then(function(){return!0},function(){return!1});return h[e]=t,t}(y).then(function(r){return r?m(e,t,n,i,y):u(e,t,n,i,p)}),b)}else d()(function(){var r;try{r=u(e,t,n,i,p)}catch(e){return void b(e)}b(null,r)})}}}},{package:"crypto-browserify>pbkdf2",file:"node_modules/pbkdf2/lib/async.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/default-encoding.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){var n;if(global.process&&global.process.browser)n="utf-8";else if(global.process&&global.process.version){n=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else n="utf-8";t.exports=n}).call(this)}).call(this,e("_process"))}}},{package:"crypto-browserify>pbkdf2",file:"node_modules/pbkdf2/lib/default-encoding.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/precondition.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>r||t!=t)throw new TypeError("Bad key length")}}}},{package:"crypto-browserify>pbkdf2",file:"node_modules/pbkdf2/lib/precondition.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/sync-browser.js",{"./default-encoding":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/default-encoding.js","./precondition":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/precondition.js","./to-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/to-buffer.js","create-hash/md5":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/node_modules/create-hash/md5.js",ripemd160:"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/node_modules/ripemd160/index.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js","sha.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("create-hash/md5"),i=e("ripemd160"),o=e("sha.js"),s=e("safe-buffer").Buffer,a=e("./precondition"),u=e("./default-encoding"),l=e("./to-buffer"),c=s.alloc(128),f={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},h={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function d(e){return(new i).update(e).digest()}function m(e,t,n){var i=function(e){return"rmd160"===e||"ripemd160"===e?d:"md5"===e?r:function(t){return o(e).update(t).digest()}}(e),a="sha512"===e||"sha384"===e?128:64;t.length>a?t=i(t):t.length<a&&(t=s.concat([t,c],a));for(var u=s.allocUnsafe(a+f[e]),l=s.allocUnsafe(a+f[e]),h=0;h<a;h++)u[h]=54^t[h],l[h]=92^t[h];var m=s.allocUnsafe(a+n+4);u.copy(m,0,0,a),this.ipad1=m,this.ipad2=u,this.opad=l,this.alg=e,this.blocksize=a,this.hash=i,this.size=f[e]}m.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,n,r,i){a(n,r),e=l(e,u,"Password"),t=l(t,u,"Salt");var o=(i||"sha1").toLowerCase(),c=h[o]||o,d=f[c];if("number"!=typeof d||!d)throw new TypeError("Digest algorithm not supported: "+i);var p=new m(c,e,t.length),b=s.allocUnsafe(r),y=s.allocUnsafe(t.length+4);t.copy(y,0,0,t.length);for(var g=0,k=d,w=Math.ceil(r/k),v=1;v<=w;v++){y.writeUInt32BE(v,t.length);for(var _=p.run(y,p.ipad1),x=_,j=1;j<n;j++){x=p.run(x,p.ipad2);for(var T=0;T<k;T++)_[T]^=x[T]}_.copy(b,g),g+=k}return b}}}},{package:"crypto-browserify>pbkdf2",file:"node_modules/pbkdf2/lib/sync-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/lib/to-buffer.js",{"safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js","to-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/to-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("safe-buffer").Buffer,i=e("to-buffer"),o="undefined"!=typeof Uint8Array,s=o&&"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView;t.exports=function(e,t,n){if("string"==typeof e||r.isBuffer(e)||o&&e instanceof Uint8Array||s&&s(e))return i(e,t);throw new TypeError(n+" must be a string, a Buffer, a Uint8Array, or a DataView")}}}},{package:"crypto-browserify>pbkdf2",file:"node_modules/pbkdf2/lib/to-buffer.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/node_modules/create-hash/make-hash.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){var n=new e(4);n.fill(0);t.exports=function(t,r){var i=r(function(t){if(t.length%4!=0){var r=t.length+(4-t.length%4);t=e.concat([t,n],r)}for(var i=new Array(t.length>>>2),o=0,s=0;o<t.length;o+=4,s++)i[s]=t.readInt32LE(o);return i}(t),8*t.length);t=new e(16);for(var o=0;o<i.length;o++)t.writeInt32LE(i[o],o<<2,!0);return t}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"crypto-browserify>pbkdf2>create-hash",file:"node_modules/pbkdf2/node_modules/create-hash/make-hash.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/node_modules/create-hash/md5.js",{"./make-hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/node_modules/create-hash/make-hash.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("./make-hash");function i(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,f=0;f<e.length;f+=16){var h=n,d=r,m=i,p=o;n=s(n,r,i,o,e[f+0],7,-680876936),o=s(o,n,r,i,e[f+1],12,-389564586),i=s(i,o,n,r,e[f+2],17,606105819),r=s(r,i,o,n,e[f+3],22,-1044525330),n=s(n,r,i,o,e[f+4],7,-176418897),o=s(o,n,r,i,e[f+5],12,1200080426),i=s(i,o,n,r,e[f+6],17,-1473231341),r=s(r,i,o,n,e[f+7],22,-45705983),n=s(n,r,i,o,e[f+8],7,1770035416),o=s(o,n,r,i,e[f+9],12,-1958414417),i=s(i,o,n,r,e[f+10],17,-42063),r=s(r,i,o,n,e[f+11],22,-1990404162),n=s(n,r,i,o,e[f+12],7,1804603682),o=s(o,n,r,i,e[f+13],12,-40341101),i=s(i,o,n,r,e[f+14],17,-1502002290),n=a(n,r=s(r,i,o,n,e[f+15],22,1236535329),i,o,e[f+1],5,-165796510),o=a(o,n,r,i,e[f+6],9,-1069501632),i=a(i,o,n,r,e[f+11],14,643717713),r=a(r,i,o,n,e[f+0],20,-373897302),n=a(n,r,i,o,e[f+5],5,-701558691),o=a(o,n,r,i,e[f+10],9,38016083),i=a(i,o,n,r,e[f+15],14,-660478335),r=a(r,i,o,n,e[f+4],20,-405537848),n=a(n,r,i,o,e[f+9],5,568446438),o=a(o,n,r,i,e[f+14],9,-1019803690),i=a(i,o,n,r,e[f+3],14,-187363961),r=a(r,i,o,n,e[f+8],20,1163531501),n=a(n,r,i,o,e[f+13],5,-1444681467),o=a(o,n,r,i,e[f+2],9,-51403784),i=a(i,o,n,r,e[f+7],14,1735328473),n=u(n,r=a(r,i,o,n,e[f+12],20,-1926607734),i,o,e[f+5],4,-378558),o=u(o,n,r,i,e[f+8],11,-2022574463),i=u(i,o,n,r,e[f+11],16,1839030562),r=u(r,i,o,n,e[f+14],23,-35309556),n=u(n,r,i,o,e[f+1],4,-1530992060),o=u(o,n,r,i,e[f+4],11,1272893353),i=u(i,o,n,r,e[f+7],16,-155497632),r=u(r,i,o,n,e[f+10],23,-1094730640),n=u(n,r,i,o,e[f+13],4,681279174),o=u(o,n,r,i,e[f+0],11,-358537222),i=u(i,o,n,r,e[f+3],16,-722521979),r=u(r,i,o,n,e[f+6],23,76029189),n=u(n,r,i,o,e[f+9],4,-640364487),o=u(o,n,r,i,e[f+12],11,-421815835),i=u(i,o,n,r,e[f+15],16,530742520),n=l(n,r=u(r,i,o,n,e[f+2],23,-995338651),i,o,e[f+0],6,-198630844),o=l(o,n,r,i,e[f+7],10,1126891415),i=l(i,o,n,r,e[f+14],15,-1416354905),r=l(r,i,o,n,e[f+5],21,-57434055),n=l(n,r,i,o,e[f+12],6,1700485571),o=l(o,n,r,i,e[f+3],10,-1894986606),i=l(i,o,n,r,e[f+10],15,-1051523),r=l(r,i,o,n,e[f+1],21,-2054922799),n=l(n,r,i,o,e[f+8],6,1873313359),o=l(o,n,r,i,e[f+15],10,-30611744),i=l(i,o,n,r,e[f+6],15,-1560198380),r=l(r,i,o,n,e[f+13],21,1309151649),n=l(n,r,i,o,e[f+4],6,-145523070),o=l(o,n,r,i,e[f+11],10,-1120210379),i=l(i,o,n,r,e[f+2],15,718787259),r=l(r,i,o,n,e[f+9],21,-343485551),n=c(n,h),r=c(r,d),i=c(i,m),o=c(o,p)}return[n,r,i,o]}function o(e,t,n,r,i,o){return c((s=c(c(t,e),c(r,o)))<<(a=i)|s>>>32-a,n);var s,a}function s(e,t,n,r,i,s,a){return o(t&n|~t&r,e,t,i,s,a)}function a(e,t,n,r,i,s,a){return o(t&r|n&~r,e,t,i,s,a)}function u(e,t,n,r,i,s,a){return o(t^n^r,e,t,i,s,a)}function l(e,t,n,r,i,s,a){return o(n^(t|~r),e,t,i,s,a)}function c(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}t.exports=function(e){return r(e,i)}}}},{package:"crypto-browserify>pbkdf2>create-hash",file:"node_modules/pbkdf2/node_modules/create-hash/md5.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/node_modules/ripemd160/index.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","hash-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/node_modules/ripemd160/node_modules/hash-base/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r=e("inherits"),i=e("hash-base");function o(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function s(e,t){return e<<t|e>>>32-t}function a(e,t,n,r,i,o,a,u){return s(e+(t^n^r)+o+a|0,u)+i|0}function u(e,t,n,r,i,o,a,u){return s(e+(t&n|~t&r)+o+a|0,u)+i|0}function l(e,t,n,r,i,o,a,u){return s(e+((t|~n)^r)+o+a|0,u)+i|0}function c(e,t,n,r,i,o,a,u){return s(e+(t&r|n&~r)+o+a|0,u)+i|0}function f(e,t,n,r,i,o,a,u){return s(e+(t^(n|~r))+o+a|0,u)+i|0}r(o,i),o.prototype._update=function(){for(var e=new Array(16),t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d,h=this._e;n=a(n,r,i,o,h,e[0],0,11),h=a(h,n,r,i=s(i,10),o,e[1],0,14),o=a(o,h,n,r=s(r,10),i,e[2],0,15),i=a(i,o,h,n=s(n,10),r,e[3],0,12),r=a(r,i,o,h=s(h,10),n,e[4],0,5),n=a(n,r,i,o=s(o,10),h,e[5],0,8),h=a(h,n,r,i=s(i,10),o,e[6],0,7),o=a(o,h,n,r=s(r,10),i,e[7],0,9),i=a(i,o,h,n=s(n,10),r,e[8],0,11),r=a(r,i,o,h=s(h,10),n,e[9],0,13),n=a(n,r,i,o=s(o,10),h,e[10],0,14),h=a(h,n,r,i=s(i,10),o,e[11],0,15),o=a(o,h,n,r=s(r,10),i,e[12],0,6),i=a(i,o,h,n=s(n,10),r,e[13],0,7),r=a(r,i,o,h=s(h,10),n,e[14],0,9),h=u(h,n=a(n,r,i,o=s(o,10),h,e[15],0,8),r,i=s(i,10),o,e[7],1518500249,7),o=u(o,h,n,r=s(r,10),i,e[4],1518500249,6),i=u(i,o,h,n=s(n,10),r,e[13],1518500249,8),r=u(r,i,o,h=s(h,10),n,e[1],1518500249,13),n=u(n,r,i,o=s(o,10),h,e[10],1518500249,11),h=u(h,n,r,i=s(i,10),o,e[6],1518500249,9),o=u(o,h,n,r=s(r,10),i,e[15],1518500249,7),i=u(i,o,h,n=s(n,10),r,e[3],1518500249,15),r=u(r,i,o,h=s(h,10),n,e[12],1518500249,7),n=u(n,r,i,o=s(o,10),h,e[0],1518500249,12),h=u(h,n,r,i=s(i,10),o,e[9],1518500249,15),o=u(o,h,n,r=s(r,10),i,e[5],1518500249,9),i=u(i,o,h,n=s(n,10),r,e[2],1518500249,11),r=u(r,i,o,h=s(h,10),n,e[14],1518500249,7),n=u(n,r,i,o=s(o,10),h,e[11],1518500249,13),o=l(o,h=u(h,n,r,i=s(i,10),o,e[8],1518500249,12),n,r=s(r,10),i,e[3],1859775393,11),i=l(i,o,h,n=s(n,10),r,e[10],1859775393,13),r=l(r,i,o,h=s(h,10),n,e[14],1859775393,6),n=l(n,r,i,o=s(o,10),h,e[4],1859775393,7),h=l(h,n,r,i=s(i,10),o,e[9],1859775393,14),o=l(o,h,n,r=s(r,10),i,e[15],1859775393,9),i=l(i,o,h,n=s(n,10),r,e[8],1859775393,13),r=l(r,i,o,h=s(h,10),n,e[1],1859775393,15),n=l(n,r,i,o=s(o,10),h,e[2],1859775393,14),h=l(h,n,r,i=s(i,10),o,e[7],1859775393,8),o=l(o,h,n,r=s(r,10),i,e[0],1859775393,13),i=l(i,o,h,n=s(n,10),r,e[6],1859775393,6),r=l(r,i,o,h=s(h,10),n,e[13],1859775393,5),n=l(n,r,i,o=s(o,10),h,e[11],1859775393,12),h=l(h,n,r,i=s(i,10),o,e[5],1859775393,7),i=c(i,o=l(o,h,n,r=s(r,10),i,e[12],1859775393,5),h,n=s(n,10),r,e[1],2400959708,11),r=c(r,i,o,h=s(h,10),n,e[9],2400959708,12),n=c(n,r,i,o=s(o,10),h,e[11],2400959708,14),h=c(h,n,r,i=s(i,10),o,e[10],2400959708,15),o=c(o,h,n,r=s(r,10),i,e[0],2400959708,14),i=c(i,o,h,n=s(n,10),r,e[8],2400959708,15),r=c(r,i,o,h=s(h,10),n,e[12],2400959708,9),n=c(n,r,i,o=s(o,10),h,e[4],2400959708,8),h=c(h,n,r,i=s(i,10),o,e[13],2400959708,9),o=c(o,h,n,r=s(r,10),i,e[3],2400959708,14),i=c(i,o,h,n=s(n,10),r,e[7],2400959708,5),r=c(r,i,o,h=s(h,10),n,e[15],2400959708,6),n=c(n,r,i,o=s(o,10),h,e[14],2400959708,8),h=c(h,n,r,i=s(i,10),o,e[5],2400959708,6),o=c(o,h,n,r=s(r,10),i,e[6],2400959708,5),r=f(r,i=c(i,o,h,n=s(n,10),r,e[2],2400959708,12),o,h=s(h,10),n,e[4],2840853838,9),n=f(n,r,i,o=s(o,10),h,e[0],2840853838,15),h=f(h,n,r,i=s(i,10),o,e[5],2840853838,5),o=f(o,h,n,r=s(r,10),i,e[9],2840853838,11),i=f(i,o,h,n=s(n,10),r,e[7],2840853838,6),r=f(r,i,o,h=s(h,10),n,e[12],2840853838,8),n=f(n,r,i,o=s(o,10),h,e[2],2840853838,13),h=f(h,n,r,i=s(i,10),o,e[10],2840853838,12),o=f(o,h,n,r=s(r,10),i,e[14],2840853838,5),i=f(i,o,h,n=s(n,10),r,e[1],2840853838,12),r=f(r,i,o,h=s(h,10),n,e[3],2840853838,13),n=f(n,r,i,o=s(o,10),h,e[8],2840853838,14),h=f(h,n,r,i=s(i,10),o,e[11],2840853838,11),o=f(o,h,n,r=s(r,10),i,e[6],2840853838,8),i=f(i,o,h,n=s(n,10),r,e[15],2840853838,5),r=f(r,i,o,h=s(h,10),n,e[13],2840853838,6),o=s(o,10);var d=this._a,m=this._b,p=this._c,b=this._d,y=this._e;d=f(d,m,p,b,y,e[5],1352829926,8),y=f(y,d,m,p=s(p,10),b,e[14],1352829926,9),b=f(b,y,d,m=s(m,10),p,e[7],1352829926,9),p=f(p,b,y,d=s(d,10),m,e[0],1352829926,11),m=f(m,p,b,y=s(y,10),d,e[9],1352829926,13),d=f(d,m,p,b=s(b,10),y,e[2],1352829926,15),y=f(y,d,m,p=s(p,10),b,e[11],1352829926,15),b=f(b,y,d,m=s(m,10),p,e[4],1352829926,5),p=f(p,b,y,d=s(d,10),m,e[13],1352829926,7),m=f(m,p,b,y=s(y,10),d,e[6],1352829926,7),d=f(d,m,p,b=s(b,10),y,e[15],1352829926,8),y=f(y,d,m,p=s(p,10),b,e[8],1352829926,11),b=f(b,y,d,m=s(m,10),p,e[1],1352829926,14),p=f(p,b,y,d=s(d,10),m,e[10],1352829926,14),m=f(m,p,b,y=s(y,10),d,e[3],1352829926,12),y=c(y,d=f(d,m,p,b=s(b,10),y,e[12],1352829926,6),m,p=s(p,10),b,e[6],1548603684,9),b=c(b,y,d,m=s(m,10),p,e[11],1548603684,13),p=c(p,b,y,d=s(d,10),m,e[3],1548603684,15),m=c(m,p,b,y=s(y,10),d,e[7],1548603684,7),d=c(d,m,p,b=s(b,10),y,e[0],1548603684,12),y=c(y,d,m,p=s(p,10),b,e[13],1548603684,8),b=c(b,y,d,m=s(m,10),p,e[5],1548603684,9),p=c(p,b,y,d=s(d,10),m,e[10],1548603684,11),m=c(m,p,b,y=s(y,10),d,e[14],1548603684,7),d=c(d,m,p,b=s(b,10),y,e[15],1548603684,7),y=c(y,d,m,p=s(p,10),b,e[8],1548603684,12),b=c(b,y,d,m=s(m,10),p,e[12],1548603684,7),p=c(p,b,y,d=s(d,10),m,e[4],1548603684,6),m=c(m,p,b,y=s(y,10),d,e[9],1548603684,15),d=c(d,m,p,b=s(b,10),y,e[1],1548603684,13),b=l(b,y=c(y,d,m,p=s(p,10),b,e[2],1548603684,11),d,m=s(m,10),p,e[15],1836072691,9),p=l(p,b,y,d=s(d,10),m,e[5],1836072691,7),m=l(m,p,b,y=s(y,10),d,e[1],1836072691,15),d=l(d,m,p,b=s(b,10),y,e[3],1836072691,11),y=l(y,d,m,p=s(p,10),b,e[7],1836072691,8),b=l(b,y,d,m=s(m,10),p,e[14],1836072691,6),p=l(p,b,y,d=s(d,10),m,e[6],1836072691,6),m=l(m,p,b,y=s(y,10),d,e[9],1836072691,14),d=l(d,m,p,b=s(b,10),y,e[11],1836072691,12),y=l(y,d,m,p=s(p,10),b,e[8],1836072691,13),b=l(b,y,d,m=s(m,10),p,e[12],1836072691,5),p=l(p,b,y,d=s(d,10),m,e[2],1836072691,14),m=l(m,p,b,y=s(y,10),d,e[10],1836072691,13),d=l(d,m,p,b=s(b,10),y,e[0],1836072691,13),y=l(y,d,m,p=s(p,10),b,e[4],1836072691,7),p=u(p,b=l(b,y,d,m=s(m,10),p,e[13],1836072691,5),y,d=s(d,10),m,e[8],2053994217,15),m=u(m,p,b,y=s(y,10),d,e[6],2053994217,5),d=u(d,m,p,b=s(b,10),y,e[4],2053994217,8),y=u(y,d,m,p=s(p,10),b,e[1],2053994217,11),b=u(b,y,d,m=s(m,10),p,e[3],2053994217,14),p=u(p,b,y,d=s(d,10),m,e[11],2053994217,14),m=u(m,p,b,y=s(y,10),d,e[15],2053994217,6),d=u(d,m,p,b=s(b,10),y,e[0],2053994217,14),y=u(y,d,m,p=s(p,10),b,e[5],2053994217,6),b=u(b,y,d,m=s(m,10),p,e[12],2053994217,9),p=u(p,b,y,d=s(d,10),m,e[2],2053994217,12),m=u(m,p,b,y=s(y,10),d,e[13],2053994217,9),d=u(d,m,p,b=s(b,10),y,e[9],2053994217,12),y=u(y,d,m,p=s(p,10),b,e[7],2053994217,5),b=u(b,y,d,m=s(m,10),p,e[10],2053994217,15),m=a(m,p=u(p,b,y,d=s(d,10),m,e[14],2053994217,8),b,y=s(y,10),d,e[12],0,8),d=a(d,m,p,b=s(b,10),y,e[15],0,5),y=a(y,d,m,p=s(p,10),b,e[10],0,12),b=a(b,y,d,m=s(m,10),p,e[4],0,9),p=a(p,b,y,d=s(d,10),m,e[1],0,12),m=a(m,p,b,y=s(y,10),d,e[5],0,5),d=a(d,m,p,b=s(b,10),y,e[8],0,14),y=a(y,d,m,p=s(p,10),b,e[7],0,6),b=a(b,y,d,m=s(m,10),p,e[6],0,8),p=a(p,b,y,d=s(d,10),m,e[2],0,13),m=a(m,p,b,y=s(y,10),d,e[13],0,6),d=a(d,m,p,b=s(b,10),y,e[14],0,5),y=a(y,d,m,p=s(p,10),b,e[0],0,15),b=a(b,y,d,m=s(m,10),p,e[3],0,13),p=a(p,b,y,d=s(d,10),m,e[9],0,11),m=a(m,p,b,y=s(y,10),d,e[11],0,11),b=s(b,10);var g=this._b+i+b|0;this._b=this._c+o+y|0,this._c=this._d+h+d|0,this._d=this._e+n+m|0,this._e=this._a+r+p|0,this._a=g},o.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=o}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"crypto-browserify>pbkdf2>ripemd160",file:"node_modules/pbkdf2/node_modules/ripemd160/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pbkdf2/node_modules/ripemd160/node_modules/hash-base/index.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js",stream:"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r=e("stream").Transform;function i(e){r.call(this),this._block=new n(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(i,r),i.prototype._transform=function(e,t,r){var i=null;try{"buffer"!==t&&(e=new n(e,t)),this.update(e)}catch(e){i=e}r(i)},i.prototype._flush=function(e){var t=null;try{this.push(this._digest())}catch(e){t=e}e(t)},i.prototype.update=function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=new n(e,t||"binary"));for(var r=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)r[this._blockOffset++]=e[i++];for(var s=0,a=8*e.length;a>0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},i.prototype._update=function(e){throw new Error("_update is not implemented")},i.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();return e!==undefined&&(t=t.toString(e)),t},i.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=i}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"crypto-browserify>pbkdf2>ripemd160>hash-base",file:"node_modules/pbkdf2/node_modules/ripemd160/node_modules/hash-base/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pony-cause/index.js",{"./lib/error-with-cause":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pony-cause/lib/error-with-cause.js","./lib/helpers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/pony-cause/lib/helpers.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{ErrorWithCause:r}=e("./lib/error-with-cause"),{findCauseByReference:i,getErrorCause:o,messageWithCauses:s,stackWithCauses:a}=e("./lib/helpers");t.exports={ErrorWithCause:r,findCauseByReference:i,getErrorCause:o,stackWithCauses:a,messageWithCauses:s}}}},{package:"@metamask/utils>pony-cause",file:"node_modules/pony-cause/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pony-cause/lib/error-with-cause.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){class r extends Error{constructor(e,{cause:t}={}){super(e),this.name=r.name,t&&(this.cause=t),this.message=e}}t.exports={ErrorWithCause:r}}}},{package:"@metamask/utils>pony-cause",file:"node_modules/pony-cause/lib/error-with-cause.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/pony-cause/lib/helpers.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e=>{if(e&&"object"==typeof e&&"cause"in e){if("function"==typeof e.cause){const t=e.cause();return t instanceof Error?t:undefined}return e.cause instanceof Error?e.cause:undefined}},i=(e,t)=>{if(!(e instanceof Error))return"";const n=e.stack||"";if(t.has(e))return n+"\ncauses have become circular...";const o=r(e);return o?(t.add(e),n+"\ncaused by: "+i(o,t)):n},o=(e,t,n)=>{if(!(e instanceof Error))return"";const i=n?"":e.message||"";if(t.has(e))return i+": ...";const s=r(e);if(s){t.add(e);const n="cause"in e&&"function"==typeof e.cause;return i+(n?"":": ")+o(s,t,n)}return i};t.exports={findCauseByReference:(e,t)=>{if(!e||!t)return;if(!(e instanceof Error))return;if(!(t.prototype instanceof Error)&&t!==Error)return;const n=new Set;let i=e;for(;i&&!n.has(i);){if(n.add(i),i instanceof t)return i;i=r(i)}},getErrorCause:r,stackWithCauses:e=>i(e,new Set),messageWithCauses:e=>o(e,new Set)}}}},{package:"@metamask/utils>pony-cause",file:"node_modules/pony-cause/lib/helpers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/possible-typed-array-names/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}}},{package:"string.prototype.matchall>es-abstract>typed-array-length>possible-typed-array-names",file:"node_modules/possible-typed-array-names/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/process-nextick-args/index.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,n)});case 3:return e.nextTick(function(){t.call(null,n,r)});case 4:return e.nextTick(function(){t.call(null,n,r,i)});default:for(o=new Array(a-1),s=0;s<o.length;)o[s++]=arguments[s];return e.nextTick(function(){t.apply(null,o)})}}}:t.exports=e}).call(this)}).call(this,e("_process"))}}},{package:"readable-stream-2>process-nextick-args",file:"node_modules/process-nextick-args/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i,o=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(r===setTimeout)return setTimeout(e,0);if((r===s||!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:s}catch(e){r=s}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,c=[],f=!1,h=-1;function d(){f&&l&&(f=!1,l.length?c=l.concat(c):h=-1,c.length&&m())}function m(){if(!f){var e=u(d);f=!0;for(var t=c.length;t;){for(l=c,c=[];++h<t;)l&&l[h].run();h=-1,t=c.length}l=null,f=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function b(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||f||u(m)},p.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=b,o.addListener=b,o.once=b,o.off=b,o.removeListener=b,o.removeAllListeners=b,o.emit=b,o.prependListener=b,o.prependOnceListener=b,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}}}},{package:"process",file:"node_modules/process/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/promise-to-callback/index.js",{"is-fn":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-fn/index.js","set-immediate-shim":"/home/runner/work/metamask-extension/metamask-extension/node_modules/set-immediate-shim/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("is-fn"),i=e("set-immediate-shim");t.exports=function(e){if(!r(e.then))throw new TypeError("Expected a promise");return function(t){e.then(function(e){i(t,null,e)},function(e){i(t,e)})}}}}},{package:"eth-method-registry>@metamask/ethjs-query>promise-to-callback",file:"node_modules/promise-to-callback/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/checkPropTypes.js",{"./lib/ReactPropTypesSecret":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/lib/ReactPropTypesSecret.js","./lib/has":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/lib/has.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e,t,n,r,i){}r.resetWarningCache=function(){0},t.exports=r}}},{package:"prop-types",file:"node_modules/prop-types/checkPropTypes.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/factoryWithThrowingShims.js",{"./lib/ReactPropTypesSecret":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/lib/ReactPropTypesSecret.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("./lib/ReactPropTypesSecret");function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function e(e,t,n,i,o,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}}}},{package:"prop-types",file:"node_modules/prop-types/factoryWithThrowingShims.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/factoryWithTypeCheckers.js",{"./checkPropTypes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/checkPropTypes.js","./lib/ReactPropTypesSecret":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/lib/ReactPropTypesSecret.js","./lib/has":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/lib/has.js","object-assign":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-assign/index.js","react-is":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/node_modules/react-is/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("react-is"),i=e("object-assign"),o=e("./lib/ReactPropTypesSecret"),s=e("./lib/has"),a=e("./checkPropTypes"),u=function(){};function l(){return null}t.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator;var c="<<anonymous>>",f={array:p("array"),bigint:p("bigint"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:m(l),arrayOf:function(e){return m(function(t,n,r,i,s){if("function"!=typeof e)return new d("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new d("Invalid "+i+" `"+s+"` of type `"+g(a)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<a.length;u++){var l=e(a,u,r,i,s+"["+u+"]",o);if(l instanceof Error)return l}return null})},element:m(function(t,n,r,i,o){var s=t[n];return e(s)?null:new d("Invalid "+i+" `"+o+"` of type `"+g(s)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:m(function(e,t,n,i,o){var s=e[t];return r.isValidElementType(s)?null:new d("Invalid "+i+" `"+o+"` of type `"+g(s)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return m(function(t,n,r,i,o){if(!(t[n]instanceof e)){var s=e.name||c;return new d("Invalid "+i+" `"+o+"` of type `"+(((a=t[n]).constructor&&a.constructor.name?a.constructor.name:c)+"` supplied to `")+r+"`, expected instance of `"+s+"`.")}var a;return null})},node:m(function(e,t,n,r,i){return y(e[t])?null:new d("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return m(function(t,n,r,i,a){if("function"!=typeof e)return new d("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=t[n],l=g(u);if("object"!==l)return new d("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var c in u)if(s(u,c)){var f=e(u,c,r,i,a+"."+c,o);if(f instanceof Error)return f}return null})},oneOf:function(e){if(!Array.isArray(e))return l;return m(function(t,n,r,i,o){for(var s=t[n],a=0;a<e.length;a++)if(h(s,e[a]))return null;var u=JSON.stringify(e,function(e,t){return"symbol"===k(t)?String(t):t});return new d("Invalid "+i+" `"+o+"` of value `"+String(s)+"` supplied to `"+r+"`, expected one of "+u+".")})},oneOfType:function(e){if(!Array.isArray(e))return l;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return u("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(n)+" at index "+t+"."),l}return m(function(t,n,r,i,a){for(var u=[],l=0;l<e.length;l++){var c=(0,e[l])(t,n,r,i,a,o);if(null==c)return null;c.data&&s(c.data,"expectedType")&&u.push(c.data.expectedType)}return new d("Invalid "+i+" `"+a+"` supplied to `"+r+"`"+(u.length>0?", expected one of type ["+u.join(", ")+"]":"")+".")})},shape:function(e){return m(function(t,n,r,i,s){var a=t[n],u=g(a);if("object"!==u)return new d("Invalid "+i+" `"+s+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var l in e){var c=e[l];if("function"!=typeof c)return b(r,i,s,l,k(c));var f=c(a,l,r,i,s+"."+l,o);if(f)return f}return null})},exact:function(e){return m(function(t,n,r,a,u){var l=t[n],c=g(l);if("object"!==c)return new d("Invalid "+a+" `"+u+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var f=i({},t[n],e);for(var h in f){var m=e[h];if(s(e,h)&&"function"!=typeof m)return b(r,a,u,h,k(m));if(!m)return new d("Invalid "+a+" `"+u+"` key `"+h+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null,"  ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null,"  "));var p=m(l,h,r,a,u+"."+h,o);if(p)return p}return null})}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){function n(n,r,i,s,a,u,l){if((s=s||c,u=u||i,l!==o)&&t){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}return null==r[i]?n?null===r[i]?new d("The "+a+" `"+u+"` is marked as required in `"+s+"`, but its value is `null`."):new d("The "+a+" `"+u+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(r,i,s,a,u)}var r=n.bind(null,!1);return r.isRequired=n.bind(null,!0),r}function p(e){return m(function(t,n,r,i,o,s){var a=t[n];return g(a)!==e?new d("Invalid "+i+" `"+o+"` of type `"+k(a)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function b(e,t,n,r,i){return new d((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function y(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(y);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!y(i.value))return!1}else for(;!(i=o.next()).done;){var s=i.value;if(s&&!y(s[1]))return!1}return!0;default:return!1}}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function k(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=k(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return d.prototype=Error.prototype,f.checkPropTypes=a,f.resetWarningCache=a.resetWarningCache,f.PropTypes=f,f}}}},{package:"prop-types",file:"node_modules/prop-types/factoryWithTypeCheckers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/index.js",{"./factoryWithThrowingShims":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/factoryWithThrowingShims.js","./factoryWithTypeCheckers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/factoryWithTypeCheckers.js","react-is":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/node_modules/react-is/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=e("./factoryWithThrowingShims")()}}},{package:"prop-types",file:"node_modules/prop-types/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/lib/ReactPropTypesSecret.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}},{package:"prop-types",file:"node_modules/prop-types/lib/ReactPropTypesSecret.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/lib/has.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=Function.call.bind(Object.prototype.hasOwnProperty)}}},{package:"prop-types",file:"node_modules/prop-types/lib/has.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){0}}},{package:"prop-types>react-is",file:"node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,b=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,k=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,v=r?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case f:case h:case s:case u:case a:case m:return e;default:switch(e=e&&e.$$typeof){case c:case d:case y:case b:case l:return e;default:return t}}case o:return t}}}function x(e){return _(e)===h}n.AsyncMode=f,n.ConcurrentMode=h,n.ContextConsumer=c,n.ContextProvider=l,n.Element=i,n.ForwardRef=d,n.Fragment=s,n.Lazy=y,n.Memo=b,n.Portal=o,n.Profiler=u,n.StrictMode=a,n.Suspense=m,n.isAsyncMode=function(e){return x(e)||_(e)===f},n.isConcurrentMode=x,n.isContextConsumer=function(e){return _(e)===c},n.isContextProvider=function(e){return _(e)===l},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},n.isForwardRef=function(e){return _(e)===d},n.isFragment=function(e){return _(e)===s},n.isLazy=function(e){return _(e)===y},n.isMemo=function(e){return _(e)===b},n.isPortal=function(e){return _(e)===o},n.isProfiler=function(e){return _(e)===u},n.isStrictMode=function(e){return _(e)===a},n.isSuspense=function(e){return _(e)===m},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===h||e===u||e===a||e===m||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===b||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===k||e.$$typeof===w||e.$$typeof===v||e.$$typeof===g)},n.typeOf=_}}},{package:"prop-types>react-is",file:"node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/node_modules/react-is/index.js",{"./cjs/react-is.development.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js","./cjs/react-is.production.min.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=e("./cjs/react-is.production.min.js")}}},{package:"prop-types>react-is",file:"node_modules/prop-types/node_modules/react-is/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/light.js",{"./src/index-light":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/index-light.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=e("./src/index-light")}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/light.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/converter.js",{"./enum":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/enum.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=n,i=e("./enum"),o=e("./util");function s(e,t,n,r){var o=!1;if(t.resolvedType)if(t.resolvedType instanceof i){e("switch(d%s){",r);for(var s=t.resolvedType.values,a=Object.keys(s),u=0;u<a.length;++u)s[a[u]]!==t.typeDefault||o||(e("default:")('if(typeof(d%s)==="number"){m%s=d%s;break}',r,r,r),t.repeated||e("break"),o=!0),e("case%j:",a[u])("case %i:",s[a[u]])("m%s=%j",r,s[a[u]])("break");e("}")}else e('if(typeof d%s!=="object")',r)("throw TypeError(%j)",t.fullName+": object expected")("m%s=types[%i].fromObject(d%s,n+1)",r,n,r);else{var l=!1;switch(t.type){case"double":case"float":e("m%s=Number(d%s)",r,r);break;case"uint32":case"fixed32":e("m%s=d%s>>>0",r,r);break;case"int32":case"sint32":case"sfixed32":e("m%s=d%s|0",r,r);break;case"uint64":l=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",r,r,l)('else if(typeof d%s==="string")',r)("m%s=parseInt(d%s,10)",r,r)('else if(typeof d%s==="number")',r)("m%s=d%s",r,r)('else if(typeof d%s==="object")',r)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",r,r,r,l?"true":"");break;case"bytes":e('if(typeof d%s==="string")',r)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",r,r,r)("else if(d%s.length >= 0)",r)("m%s=d%s",r,r);break;case"string":e("m%s=String(d%s)",r,r);break;case"bool":e("m%s=Boolean(d%s)",r,r)}}return e}function a(e,t,n,r){if(t.resolvedType)t.resolvedType instanceof i?e("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s",r,n,r,r,n,r,r):e("d%s=types[%i].toObject(m%s,o)",r,n,r);else{var o=!1;switch(t.type){case"double":case"float":e("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",r,r,r,r);break;case"uint64":o=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e('if(typeof m%s==="number")',r)("d%s=o.longs===String?String(m%s):m%s",r,r,r)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",r,r,r,r,o?"true":"",r);break;case"bytes":e("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",r,r,r,r,r);break;default:e("d%s=m%s",r,r)}}return e}r.fromObject=function(e){var t=e.fieldsArray,n=o.codegen(["d","n"],e.name+"$fromObject")("if(d instanceof this.ctor)")("return d")("if(n===undefined)n=0")("if(n>util.recursionLimit)")('throw Error("maximum nesting depth exceeded")');if(!t.length)return n("return new this.ctor");n("var m=new this.ctor");for(var r=0;r<t.length;++r){var a=t[r].resolve(),u=o.safeProp(a.name);a.map?(n("if(d%s){",u)('if(typeof d%s!=="object")',u)("throw TypeError(%j)",a.fullName+": object expected")("m%s={}",u)("for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){",u),n('if(ks[i]==="__proto__")')("util.makeProp(m%s,ks[i])",u),s(n,a,r,u+"[ks[i]]")("}")("}")):a.repeated?(n("if(d%s){",u)("if(!Array.isArray(d%s))",u)("throw TypeError(%j)",a.fullName+": array expected")("m%s=[]",u)("for(var i=0;i<d%s.length;++i){",u),s(n,a,r,u+"[i]")("}")("}")):(a.resolvedType instanceof i||n("if(d%s!=null){",u),s(n,a,r,u),a.resolvedType instanceof i||n("}"))}return n("return m")},r.toObject=function(e){var t=e.fieldsArray.slice().sort(o.compareFieldsById);if(!t.length)return o.codegen()("return {}");for(var n=o.codegen(["m","o"],e.name+"$toObject")("if(!o)")("o={}")("var d={}"),r=[],s=[],u=[],l=0;l<t.length;++l)t[l].partOf||(t[l].resolve().repeated?r:t[l].map?s:u).push(t[l]);if(r.length){for(n("if(o.arrays||o.defaults){"),l=0;l<r.length;++l)n("d%s=[]",o.safeProp(r[l].name));n("}")}if(s.length){for(n("if(o.objects||o.defaults){"),l=0;l<s.length;++l)n("d%s={}",o.safeProp(s[l].name));n("}")}if(u.length){for(n("if(o.defaults){"),l=0;l<u.length;++l){var c=u[l],f=o.safeProp(c.name);if(c.resolvedType instanceof i)n("d%s=o.enums===String?%j:%j",f,c.resolvedType.valuesById[c.typeDefault],c.typeDefault);else if(c.long)n("if(util.Long){")("var n=new util.Long(%i,%i,%j)",c.typeDefault.low,c.typeDefault.high,c.typeDefault.unsigned)("d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():n",f)("}else")("d%s=o.longs===String?%j:%i",f,c.typeDefault.toString(),c.typeDefault.toNumber());else if(c.bytes){var h=Array.prototype.slice.call(c.typeDefault);n("if(o.bytes===String)d%s=%j",f,String.fromCharCode.apply(String,c.typeDefault))("else{")("d%s=%j",f,h)("if(o.bytes!==Array)d%s=util.newBuffer(d%s)",f,f)("}")}else n("d%s=%j",f,c.typeDefault)}n("}")}var d=!1;for(l=0;l<t.length;++l){c=t[l];var m=e._fieldsArray.indexOf(c);f=o.safeProp(c.name);c.map?(d||(d=!0,n("var ks2")),n("if(m%s&&(ks2=Object.keys(m%s)).length){",f,f)("d%s={}",f)("for(var j=0;j<ks2.length;++j){"),n('if(ks2[j]==="__proto__")')("util.makeProp(d%s,ks2[j])",f),a(n,c,m,f+"[ks2[j]]")("}")):c.repeated?(n("if(m%s&&m%s.length){",f,f)("d%s=[]",f)("for(var j=0;j<m%s.length;++j){",f),a(n,c,m,f+"[j]")("}")):(n("if(m%s!=null&&m.hasOwnProperty(%j)){",f,c.name),a(n,c,m,f),c.partOf&&n("if(o.oneofs)")("d%s=%j",o.safeProp(c.partOf.name),c.name)),n("}")}return n("return d")}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/converter.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/decoder.js",{"./enum":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/enum.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/types.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e){for(var t=o.codegen(["r","l","e","n"],e.name+"$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("if(n===undefined)n=0")("if(n>Reader.recursionLimit)")('throw Error("maximum nesting depth exceeded")')("var c=l===undefined?r.len:r.pos+l,m=new this.ctor"+(e.fieldsArray.filter(function(e){return e.map}).length?",k,value":""))("while(r.pos<c){")("var t=r.uint32()")("if(t===e)")("break")("switch(t>>>3){"),n=0;n<e.fieldsArray.length;++n){var a=e._fieldsArray[n].resolve(),u=a.resolvedType instanceof r?"int32":a.type,l="m"+o.safeProp(a.name);t("case %i: {",a.id),a.map?(t("if(%s===util.emptyObject)",l)("%s={}",l)("var c2 = r.uint32()+r.pos"),i.defaults[a.keyType]!==undefined?t("k=%j",i.defaults[a.keyType]):t("k=null"),i.defaults[u]!==undefined?t("value=%j",i.defaults[u]):t("value=null"),t("while(r.pos<c2){")("var tag2=r.uint32()")("switch(tag2>>>3){")("case 1: k=r.%s(); break",a.keyType)("case 2:"),i.basic[u]===undefined?t("value=types[%i].decode(r,r.uint32(),undefined,n+1)",n):t("value=r.%s()",u),t("break")("default:")("r.skipType(tag2&7,n)")("break")("}")("}"),i.long[a.keyType]!==undefined?t('%s[typeof k==="object"?util.longToHash(k):k]=value',l):("string"===a.keyType&&t('if(k==="__proto__")')("util.makeProp(%s,k)",l),t("%s[k]=value",l))):a.repeated?(t("if(!(%s&&%s.length))",l,l)("%s=[]",l),i.packed[u]!==undefined&&t("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos<c2)")("%s.push(r.%s())",l,u)("}else"),i.basic[u]===undefined?t(a.delimited?"%s.push(types[%i].decode(r,undefined,((t&~7)|4),n+1))":"%s.push(types[%i].decode(r,r.uint32(),undefined,n+1))",l,n):t("%s.push(r.%s())",l,u)):i.basic[u]===undefined?t(a.delimited?"%s=types[%i].decode(r,undefined,((t&~7)|4),n+1)":"%s=types[%i].decode(r,r.uint32(),undefined,n+1)",l,n):t("%s=r.%s()",l,u),t("break")("}")}for(t("default:")("r.skipType(t&7,n)")("break")("}")("}"),n=0;n<e._fieldsArray.length;++n){var c=e._fieldsArray[n];c.required&&t("if(!m.hasOwnProperty(%j))",c.name)("throw util.ProtocolError(%j,{instance:m})",s(c))}return t("return m")};var r=e("./enum"),i=e("./types"),o=e("./util");function s(e){return"missing required '"+e.name+"'"}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/decoder.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/encoder.js",{"./enum":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/enum.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/types.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e){for(var t,n=o.codegen(["m","w"],e.name+"$encode")("if(!w)")("w=Writer.create()"),a=e.fieldsArray.slice().sort(o.compareFieldsById),u=0;u<a.length;++u){var l=a[u].resolve(),c=e._fieldsArray.indexOf(l),f=l.resolvedType instanceof r?"int32":l.type,h=i.basic[f];t="m"+o.safeProp(l.name),l.map?(n("if(%s!=null&&Object.hasOwnProperty.call(m,%j)){",t,l.name)("for(var ks=Object.keys(%s),i=0;i<ks.length;++i){",t)("w.uint32(%i).fork().uint32(%i).%s(ks[i])",(l.id<<3|2)>>>0,8|i.mapKey[l.keyType],l.keyType),h===undefined?n("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",c,t):n(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|h,f,t),n("}")("}")):l.repeated?(n("if(%s!=null&&%s.length){",t,t),l.packed&&i.packed[f]!==undefined?n("w.uint32(%i).fork()",(l.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",t)("w.%s(%s[i])",f,t)("w.ldelim()"):(n("for(var i=0;i<%s.length;++i)",t),h===undefined?s(n,l,c,t+"[i]"):n("w.uint32(%i).%s(%s[i])",(l.id<<3|h)>>>0,f,t)),n("}")):(l.optional&&n("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",t,l.name),h===undefined?s(n,l,c,t):n("w.uint32(%i).%s(%s)",(l.id<<3|h)>>>0,f,t))}return n("return w")};var r=e("./enum"),i=e("./types"),o=e("./util");function s(e,t,n,r){return t.delimited?e("types[%i].encode(%s,w.uint32(%i)).uint32(%i)",n,r,(t.id<<3|3)>>>0,(t.id<<3|4)>>>0):e("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",n,r,(t.id<<3|2)>>>0)}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/encoder.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/enum.js",{"./namespace":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/namespace.js","./object":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/object.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=s;var r=e("./object");((s.prototype=Object.create(r.prototype)).constructor=s).className="Enum";var i=e("./namespace"),o=e("./util");function s(e,t,n,i,o,s){if(r.call(this,e,n),t&&"object"!=typeof t)throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=i,this.comments=o||{},this.valuesOptions=s,this._valuesFeatures={},this.reserved=undefined,t)for(var a=Object.keys(t),u=0;u<a.length;++u)"__proto__"!==a[u]&&"number"==typeof t[a[u]]&&(this.valuesById[this.values[a[u]]=t[a[u]]]=a[u])}s.prototype._resolveFeatures=function(e){return e=this._edition||e,r.prototype._resolveFeatures.call(this,e),Object.keys(this.values).forEach(e=>{var t=Object.assign({},this._features);this._valuesFeatures[e]=Object.assign(t,this.valuesOptions&&this.valuesOptions[e]&&this.valuesOptions[e].features)}),this},s.fromJSON=function(e,t){var n=new s(e,t.values,t.options,t.comment,t.comments);return n.reserved=t.reserved,t.edition&&(n._edition=t.edition),n._defaultEdition="proto3",n},s.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return o.toObject(["edition",this._editionToJSON(),"options",this.options,"valuesOptions",this.valuesOptions,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:undefined,"comment",t?this.comment:undefined,"comments",t?this.comments:undefined])},s.prototype.add=function(e,t,n,r){if(!o.isString(e))throw TypeError("name must be a string");if(!o.isInteger(t))throw TypeError("id must be an integer");if("__proto__"===e)return this;if(this.values[e]!==undefined)throw Error("duplicate name '"+e+"' in "+this);if(this.isReservedId(t))throw Error("id "+t+" is reserved in "+this);if(this.isReservedName(e))throw Error("name '"+e+"' is reserved in "+this);if(this.valuesById[t]!==undefined){if(!this.options||!this.options.allow_alias)throw Error("duplicate id "+t+" in "+this);this.values[e]=t}else this.valuesById[this.values[e]=t]=e;return r&&(this.valuesOptions===undefined&&(this.valuesOptions={}),this.valuesOptions[e]=r||null),this.comments[e]=n||null,this},s.prototype.remove=function(e){if(!o.isString(e))throw TypeError("name must be a string");var t=this.values[e];if(null==t)throw Error("name '"+e+"' does not exist in "+this);return delete this.valuesById[t],delete this.values[e],delete this.comments[e],this.valuesOptions&&delete this.valuesOptions[e],this},s.prototype.isReservedId=function(e){return i.isReservedId(this.reserved,e)},s.prototype.isReservedName=function(e){return i.isReservedName(this.reserved,e)}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/enum.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/field.js",{"./enum":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/enum.js","./object":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/object.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/types.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=l;var r=e("./object");((l.prototype=Object.create(r.prototype)).constructor=l).className="Field";var i,o=e("./enum"),s=e("./types"),a=e("./util"),u=/^required|optional|repeated$/;function l(e,t,n,i,o,l,c){if(a.isObject(i)?(c=o,l=i,i=o=undefined):a.isObject(o)&&(c=l,l=o,o=undefined),r.call(this,e,l),!a.isInteger(t)||t<0)throw TypeError("id must be a non-negative integer");if(!a.isString(n))throw TypeError("type must be a string");if(i!==undefined&&!u.test(i=i.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(o!==undefined&&!a.isString(o))throw TypeError("extend must be a string");"proto3_optional"===i&&(i="optional"),this.rule=i&&"optional"!==i?i:undefined,this.type=n,this.id=t,this.extend=o||undefined,this.repeated="repeated"===i,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!a.Long&&s.long[n]!==undefined,this.bytes="bytes"===n,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this.comment=c}l.fromJSON=function(e,t){var n=new l(e,t.id,t.type,t.rule,t.extend,t.options,t.comment);return t.edition&&(n._edition=t.edition),n._defaultEdition="proto3",n},Object.defineProperty(l.prototype,"required",{get:function(){return"LEGACY_REQUIRED"===this._features.field_presence}}),Object.defineProperty(l.prototype,"optional",{get:function(){return!this.required}}),Object.defineProperty(l.prototype,"delimited",{get:function(){return this.resolvedType instanceof i&&"DELIMITED"===this._features.message_encoding}}),Object.defineProperty(l.prototype,"packed",{get:function(){return"PACKED"===this._features.repeated_field_encoding}}),Object.defineProperty(l.prototype,"hasPresence",{get:function(){return!this.repeated&&!this.map&&(this.partOf||this.declaringField||this.extensionField||"IMPLICIT"!==this._features.field_presence)}}),l.prototype.setOption=function(e,t,n){return r.prototype.setOption.call(this,e,t,n)},l.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return a.toObject(["edition",this._editionToJSON(),"rule","optional"!==this.rule&&this.rule||undefined,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:undefined])},l.prototype.resolve=function(){if(this.resolved)return this;if((this.typeDefault=s.defaults[this.type])===undefined?(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof i?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]):this.options&&this.options.proto3_optional&&(this.typeDefault=null),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof o&&"string"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(this.options.packed===undefined||!this.resolvedType||this.resolvedType instanceof o||delete this.options.packed,Object.keys(this.options).length||(this.options=undefined)),this.long)this.typeDefault=a.Long.fromNumber(this.typeDefault,"u"===this.type.charAt(0)),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&"string"==typeof this.typeDefault){var e;a.base64.test(this.typeDefault)?a.base64.decode(this.typeDefault,e=a.newBuffer(a.base64.length(this.typeDefault)),0):a.utf8.write(this.typeDefault,e=a.newBuffer(a.utf8.length(this.typeDefault)),0),this.typeDefault=e}return this.map?this.defaultValue=a.emptyObject:this.repeated?this.defaultValue=a.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof i&&(this.parent.ctor.prototype[this.name]=this.defaultValue),r.prototype.resolve.call(this)},l.prototype._inferLegacyProtoFeatures=function(e){if("proto2"!==e&&"proto3"!==e)return{};var t={};if("required"===this.rule&&(t.field_presence="LEGACY_REQUIRED"),this.parent&&s.defaults[this.type]===undefined){var n=this.parent.get(this.type.split(".").pop());n&&n instanceof i&&n.group&&(t.message_encoding="DELIMITED")}return!0===this.getOption("packed")?t.repeated_field_encoding="PACKED":!1===this.getOption("packed")&&(t.repeated_field_encoding="EXPANDED"),t},l.prototype._resolveFeatures=function(e){return r.prototype._resolveFeatures.call(this,this._edition||e)},l.d=function(e,t,n,r){return"function"==typeof t?t=a.decorateType(t).name:t&&"object"==typeof t&&(t=a.decorateEnum(t).name),function(i,o){a.decorateType(i.constructor).add(new l(o,e,t,n,{default:r}))}},l._configure=function(e){i=e}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/field.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/index-light.js",{"./converter":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/converter.js","./decoder":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/decoder.js","./encoder":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/encoder.js","./enum":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/enum.js","./field":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/field.js","./index-minimal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/index-minimal.js","./mapfield":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/mapfield.js","./message":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/message.js","./method":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/method.js","./namespace":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/namespace.js","./object":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/object.js","./oneof":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/oneof.js","./root":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/root.js","./service":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/service.js","./type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/type.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/types.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js","./verifier":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/verifier.js","./wrappers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/wrappers.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=t.exports=e("./index-minimal");r.build="light",r.load=function(e,t,n){return"function"==typeof t?(n=t,t=new r.Root):t||(t=new r.Root),t.load(e,n)},r.loadSync=function(e,t){return t||(t=new r.Root),t.loadSync(e)},r.encoder=e("./encoder"),r.decoder=e("./decoder"),r.verifier=e("./verifier"),r.converter=e("./converter"),r.ReflectionObject=e("./object"),r.Namespace=e("./namespace"),r.Root=e("./root"),r.Enum=e("./enum"),r.Type=e("./type"),r.Field=e("./field"),r.OneOf=e("./oneof"),r.MapField=e("./mapfield"),r.Service=e("./service"),r.Method=e("./method"),r.Message=e("./message"),r.wrappers=e("./wrappers"),r.types=e("./types"),r.util=e("./util"),r.ReflectionObject._configure(r.Root),r.Namespace._configure(r.Type,r.Service,r.Enum),r.Root._configure(r.Type),r.Field._configure(r.Type)}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/index-light.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/index-minimal.js",{"./reader":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/reader.js","./reader_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/reader_buffer.js","./roots":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/roots.js","./rpc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/rpc.js","./util/minimal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/minimal.js","./writer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/writer.js","./writer_buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/writer_buffer.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=n;function i(){r.util._configure(),r.Writer._configure(r.BufferWriter),r.Reader._configure(r.BufferReader)}r.build="minimal",r.Writer=e("./writer"),r.BufferWriter=e("./writer_buffer"),r.Reader=e("./reader"),r.BufferReader=e("./reader_buffer"),r.util=e("./util/minimal"),r.rpc=e("./rpc"),r.roots=e("./roots"),r.configure=i,i()}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/index-minimal.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/mapfield.js",{"./field":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/field.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/types.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=s;var r=e("./field");((s.prototype=Object.create(r.prototype)).constructor=s).className="MapField";var i=e("./types"),o=e("./util");function s(e,t,n,i,s,a){if(r.call(this,e,t,i,undefined,undefined,s,a),!o.isString(n))throw TypeError("keyType must be a string");this.keyType=n,this.resolvedKeyType=null,this.map=!0}s.fromJSON=function(e,t){return new s(e,t.id,t.keyType,t.type,t.options,t.comment)},s.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return o.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:undefined])},s.prototype.resolve=function(){if(this.resolved)return this;if(i.mapKey[this.keyType]===undefined)throw Error("invalid key type: "+this.keyType);return r.prototype.resolve.call(this)},s.d=function(e,t,n){return"function"==typeof n?n=o.decorateType(n).name:n&&"object"==typeof n&&(n=o.decorateEnum(n).name),function(r,i){o.decorateType(r.constructor).add(new s(i,e,t,n))}}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/mapfield.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/message.js",{"./util/minimal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/minimal.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=i;var r=e("./util/minimal");function i(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n){var r=t[n];"__proto__"!==r&&(this[r]=e[r])}}i.create=function(e){return this.$type.create(e)},i.encode=function(e,t){return this.$type.encode(e,t)},i.encodeDelimited=function(e,t){return this.$type.encodeDelimited(e,t)},i.decode=function(e){return this.$type.decode(e)},i.decodeDelimited=function(e){return this.$type.decodeDelimited(e)},i.verify=function(e){return this.$type.verify(e)},i.fromObject=function(e){return this.$type.fromObject(e)},i.toObject=function(e,t){return this.$type.toObject(e,t)},i.prototype.toJSON=function(){return this.$type.toObject(this,r.toJSONOptions)}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/message.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/method.js",{"./object":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/object.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=o;var r=e("./object");((o.prototype=Object.create(r.prototype)).constructor=o).className="Method";var i=e("./util");function o(e,t,n,o,s,a,u,l,c){if(i.isObject(s)?(u=s,s=a=undefined):i.isObject(a)&&(u=a,a=undefined),t!==undefined&&!i.isString(t))throw TypeError("type must be a string");if(!i.isString(n))throw TypeError("requestType must be a string");if(!i.isString(o))throw TypeError("responseType must be a string");r.call(this,e,u),this.type=t||"rpc",this.requestType=n,this.requestStream=!!s||undefined,this.responseType=o,this.responseStream=!!a||undefined,this.resolvedRequestType=null,this.resolvedResponseType=null,this.comment=l,this.parsedOptions=c}o.fromJSON=function(e,t){return new o(e,t.type,t.requestType,t.responseType,t.requestStream,t.responseStream,t.options,t.comment,t.parsedOptions)},o.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return i.toObject(["type","rpc"!==this.type&&this.type||undefined,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options,"comment",t?this.comment:undefined,"parsedOptions",this.parsedOptions])},o.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),r.prototype.resolve.call(this))}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/method.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/namespace.js",{"./field":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/field.js","./object":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/object.js","./oneof":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/oneof.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=f;var r=e("./object");((f.prototype=Object.create(r.prototype)).constructor=f).className="Namespace";var i,o,s,a=e("./field"),u=e("./util"),l=e("./oneof");function c(e,t){if(!e||!e.length)return undefined;for(var n={},r=0;r<e.length;++r)n[e[r].name]=e[r].toJSON(t);return n}function f(e,t){r.call(this,e,t),this.nested=undefined,this._nestedArray=null,this._lookupCache=Object.create(null),this._needsRecursiveFeatureResolution=!0,this._needsRecursiveResolve=!0}function h(e){e._nestedArray=null,e._lookupCache=Object.create(null);for(var t=e;t=t.parent;)t._lookupCache=Object.create(null);return e}f.fromJSON=function(e,t,n){return n=u.checkDepth(n),new f(e,t.options).addJSON(t.nested,n)},f.arrayToJSON=c,f.isReservedId=function(e,t){if(e)for(var n=0;n<e.length;++n)if("string"!=typeof e[n]&&e[n][0]<=t&&e[n][1]>t)return!0;return!1},f.isReservedName=function(e,t){if(e)for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1},Object.defineProperty(f.prototype,"nestedArray",{get:function(){return this._nestedArray||(this._nestedArray=u.toArray(this.nested))}}),f.prototype.toJSON=function(e){return u.toObject(["options",this.options,"nested",c(this.nestedArray,e)])},f.prototype.addJSON=function(e,t){t=u.checkDepth(t);if(e)for(var n,r=Object.keys(e),l=0;l<r.length;++l)n=e[r[l]],this.add((n.fields!==undefined?i.fromJSON:n.values!==undefined?s.fromJSON:n.methods!==undefined?o.fromJSON:n.id!==undefined?a.fromJSON:f.fromJSON)(r[l],n,t+1));return this},f.prototype.get=function(e){return this.nested&&Object.prototype.hasOwnProperty.call(this.nested,e)?this.nested[e]:null},f.prototype.getEnum=function(e){if(this.nested&&Object.prototype.hasOwnProperty.call(this.nested,e)&&this.nested[e]instanceof s)return this.nested[e].values;throw Error("no such enum: "+e)},f.prototype.add=function(e){if(!(e instanceof a&&e.extend!==undefined||e instanceof i||e instanceof l||e instanceof s||e instanceof o||e instanceof f))throw TypeError("object must be a valid nested object");if("__proto__"===e.name)return this;if(this.nested){var t=this.get(e.name);if(t){if(!(t instanceof f&&e instanceof f)||t instanceof i||t instanceof o)throw Error("duplicate name '"+e.name+"' in "+this);for(var n=t.nestedArray,r=0;r<n.length;++r)e.add(n[r]);this.remove(t),this.nested||(this.nested={}),e.setOptions(t.options,!0)}}else this.nested={};this.nested[e.name]=e,this instanceof i||this instanceof o||this instanceof s||this instanceof a||e._edition||(e._edition=e._defaultEdition),this._needsRecursiveFeatureResolution=!0,this._needsRecursiveResolve=!0;for(var u=this;u=u.parent;)u._needsRecursiveFeatureResolution=!0,u._needsRecursiveResolve=!0;return e.onAdd(this),h(this)},f.prototype.remove=function(e){if(!(e instanceof r))throw TypeError("object must be a ReflectionObject");if(e.parent!==this)throw Error(e+" is not a member of "+this);return delete this.nested[e.name],Object.keys(this.nested).length||(this.nested=undefined),e.onRemove(this),h(this)},f.prototype.define=function(e,t){if(u.isString(e))e=e.split(".");else if(!Array.isArray(e))throw TypeError("illegal path");if(e&&e.length&&""===e[0])throw Error("path must be relative");for(var n=this;e.length>0;){var r=e.shift();if(n.nested&&n.nested[r]){if(!((n=n.nested[r])instanceof f))throw Error("path conflicts with non-namespace objects")}else n.add(n=new f(r))}return t&&n.addJSON(t),n},f.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;this._resolveFeaturesRecursive(this._edition);var e=this.nestedArray,t=0;for(this.resolve();t<e.length;)e[t]instanceof f?e[t++].resolveAll():e[t++].resolve();return this._needsRecursiveResolve=!1,this},f.prototype._resolveFeaturesRecursive=function(e){return this._needsRecursiveFeatureResolution?(this._needsRecursiveFeatureResolution=!1,e=this._edition||e,r.prototype._resolveFeaturesRecursive.call(this,e),this.nestedArray.forEach(t=>{t._resolveFeaturesRecursive(e)}),this):this},f.prototype.lookup=function(e,t,n){if("boolean"==typeof t?(n=t,t=undefined):t&&!Array.isArray(t)&&(t=[t]),u.isString(e)&&e.length){if("."===e)return this.root;e=e.split(".")}else if(!e.length)return this;var r=e.join(".");if(""===e[0])return this.root.lookup(e.slice(1),t);var i=this.root._fullyQualifiedObjects&&this.root._fullyQualifiedObjects["."+r];if(i&&(!t||t.indexOf(i.constructor)>-1))return i;if((i=this._lookupImpl(e,r))&&(!t||t.indexOf(i.constructor)>-1))return i;if(n)return null;for(var o=this;o.parent;){if((i=o.parent._lookupImpl(e,r))&&(!t||t.indexOf(i.constructor)>-1))return i;o=o.parent}return null},f.prototype._lookupImpl=function(e,t){if(Object.prototype.hasOwnProperty.call(this._lookupCache,t))return this._lookupCache[t];var n=this.get(e[0]),r=null;if(n)1===e.length?r=n:n instanceof f&&(e=e.slice(1),r=n._lookupImpl(e,e.join(".")));else for(var i=0;i<this.nestedArray.length;++i)if(this._nestedArray[i]instanceof f&&(n=this._nestedArray[i]._lookupImpl(e,t))){r=n;break}return this._lookupCache[t]=r,r},f.prototype.lookupType=function(e){var t=this.lookup(e,[i]);if(!t)throw Error("no such type: "+e);return t},f.prototype.lookupEnum=function(e){var t=this.lookup(e,[s]);if(!t)throw Error("no such Enum '"+e+"' in "+this);return t},f.prototype.lookupTypeOrEnum=function(e){var t=this.lookup(e,[i,s]);if(!t)throw Error("no such Type or Enum '"+e+"' in "+this);return t},f.prototype.lookupService=function(e){var t=this.lookup(e,[o]);if(!t)throw Error("no such Service '"+e+"' in "+this);return t},f._configure=function(e,t,n){i=e,o=t,s=n}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/namespace.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/object.js",{"./oneof":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/oneof.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=l,l.className="ReflectionObject";const r=e("./oneof");var i,o=e("./util"),s={enum_type:"OPEN",field_presence:"EXPLICIT",json_format:"ALLOW",message_encoding:"LENGTH_PREFIXED",repeated_field_encoding:"PACKED",utf8_validation:"VERIFY"},a={enum_type:"CLOSED",field_presence:"EXPLICIT",json_format:"LEGACY_BEST_EFFORT",message_encoding:"LENGTH_PREFIXED",repeated_field_encoding:"EXPANDED",utf8_validation:"NONE"},u={enum_type:"OPEN",field_presence:"IMPLICIT",json_format:"ALLOW",message_encoding:"LENGTH_PREFIXED",repeated_field_encoding:"PACKED",utf8_validation:"VERIFY"};function l(e,t){if(!o.isString(e))throw TypeError("name must be a string");if(t&&!o.isObject(t))throw TypeError("options must be an object");this.options=t,this.parsedOptions=null,this.name=e,this._edition=null,this._defaultEdition="proto2",this._features={},this._featuresResolved=!1,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}Object.defineProperties(l.prototype,{root:{get:function(){for(var e=this;null!==e.parent;)e=e.parent;return e}},fullName:{get:function(){for(var e=[this.name],t=this.parent;t;)e.unshift(t.name),t=t.parent;return e.join(".")}}}),l.prototype.toJSON=function(){throw Error()},l.prototype.onAdd=function(e){this.parent&&this.parent!==e&&this.parent.remove(this),this.parent=e,this.resolved=!1;var t=e.root;t instanceof i&&t._handleAdd(this)},l.prototype.onRemove=function(e){var t=e.root;t instanceof i&&t._handleRemove(this),this.parent=null,this.resolved=!1},l.prototype.resolve=function(){return this.resolved||this.root instanceof i&&(this.resolved=!0),this},l.prototype._resolveFeaturesRecursive=function(e){return this._resolveFeatures(this._edition||e)},l.prototype._resolveFeatures=function(e){if(!this._featuresResolved){var t={};if(!e)throw new Error("Unknown edition for "+this.fullName);var n=Object.assign(this.options?Object.assign({},this.options.features):{},this._inferLegacyProtoFeatures(e));if(this._edition){if("proto2"===e)t=Object.assign({},a);else if("proto3"===e)t=Object.assign({},u);else{if("2023"!==e)throw new Error("Unknown edition: "+e);t=Object.assign({},s)}return this._features=Object.assign(t,n||{}),void(this._featuresResolved=!0)}if(this.partOf instanceof r){var i=Object.assign({},this.partOf._features);this._features=Object.assign(i,n||{})}else if(this.declaringField);else{if(!this.parent)throw new Error("Unable to find a parent for "+this.fullName);var o=Object.assign({},this.parent._features);this._features=Object.assign(o,n||{})}this.extensionField&&(this.extensionField._features=this._features),this._featuresResolved=!0}},l.prototype._inferLegacyProtoFeatures=function(){return{}},l.prototype.getOption=function(e){return this.options?this.options[e]:undefined},l.prototype.setOption=function(e,t,n){return"__proto__"===e||(this.options||(this.options={}),/^features\./.test(e)?o.setProperty(this.options,e,t,n):n&&this.options[e]!==undefined||(this.getOption(e)!==t&&(this.resolved=!1),this.options[e]=t)),this},l.prototype.setParsedOption=function(e,t,n){if("__proto__"===e)return this;this.parsedOptions||(this.parsedOptions=[]);var r=this.parsedOptions;if(n){var i=r.find(function(t){return Object.prototype.hasOwnProperty.call(t,e)});if(i){var s=i[e];o.setProperty(s,n,t)}else(i={})[e]=o.setProperty({},n,t),r.push(i)}else{var a={};a[e]=t,r.push(a)}return this},l.prototype.setOptions=function(e,t){if(e)for(var n=Object.keys(e),r=0;r<n.length;++r)this.setOption(n[r],e[n[r]],t);return this},l.prototype.toString=function(){var e=this.constructor.className,t=this.fullName;return t.length?e+" "+t:e},l.prototype._editionToJSON=function(){return this._edition&&"proto3"!==this._edition?this._edition:undefined},l._configure=function(e){i=e}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/object.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/oneof.js",{"./field":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/field.js","./object":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/object.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=s;var r=e("./object");((s.prototype=Object.create(r.prototype)).constructor=s).className="OneOf";var i=e("./field"),o=e("./util");function s(e,t,n,i){if(Array.isArray(t)||(n=t,t=undefined),r.call(this,e,n),t!==undefined&&!Array.isArray(t))throw TypeError("fieldNames must be an Array");this.oneof=t||[],this.fieldsArray=[],this.comment=i}function a(e){if(e.parent)for(var t=0;t<e.fieldsArray.length;++t)e.fieldsArray[t].parent||e.parent.add(e.fieldsArray[t])}s.fromJSON=function(e,t){return new s(e,t.oneof,t.options,t.comment)},s.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return o.toObject(["options",this.options,"oneof",this.oneof,"comment",t?this.comment:undefined])},s.prototype.add=function(e){if(!(e instanceof i))throw TypeError("field must be a Field");return e.parent&&e.parent!==this.parent&&e.parent.remove(e),this.oneof.push(e.name),this.fieldsArray.push(e),e.partOf=this,a(this),this},s.prototype.remove=function(e){if(!(e instanceof i))throw TypeError("field must be a Field");var t=this.fieldsArray.indexOf(e);if(t<0)throw Error(e+" is not a member of "+this);return this.fieldsArray.splice(t,1),(t=this.oneof.indexOf(e.name))>-1&&this.oneof.splice(t,1),e.partOf=null,this},s.prototype.onAdd=function(e){r.prototype.onAdd.call(this,e);for(var t=0;t<this.oneof.length;++t){var n=e.get(this.oneof[t]);n&&!n.partOf&&(n.partOf=this,this.fieldsArray.push(n))}a(this)},s.prototype.onRemove=function(e){for(var t,n=0;n<this.fieldsArray.length;++n)(t=this.fieldsArray[n]).parent&&t.parent.remove(t);r.prototype.onRemove.call(this,e)},Object.defineProperty(s.prototype,"isProto3Optional",{get:function(){if(null==this.fieldsArray||1!==this.fieldsArray.length)return!1;var e=this.fieldsArray[0];return null!=e.options&&!0===e.options.proto3_optional}}),s.d=function(){for(var e=new Array(arguments.length),t=0;t<arguments.length;)e[t]=arguments[t++];return function(t,n){o.decorateType(t.constructor).add(new s(n,e)),Object.defineProperty(t,n,{get:o.oneOfGetter(e),set:o.oneOfSetter(e)})}}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/oneof.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/reader.js",{"./util/minimal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/minimal.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=u;var r,i=e("./util/minimal"),o=i.LongBits,s=i.utf8;function a(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function u(e){this.buf=e,this.pos=0,this.len=e.length}var l,c="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new u(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new u(e);throw Error("illegal buffer")},f=function(){return i.Buffer?function(e){return(u.create=function(e){return i.Buffer.isBuffer(e)?new r(e):c(e)})(e)}:c};function h(){var e=new o(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw a(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw a(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function d(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function m(){if(this.pos+8>this.len)throw a(this,8);return new o(d(this.buf,this.pos+=4),d(this.buf,this.pos+=4))}u.create=f(),u.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,u.prototype.uint32=(l=4294967295,function(){if(l=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return l;if((this.pos+=5)>this.len)throw this.pos=this.len,a(this,10);return l}),u.prototype.int32=function(){return 0|this.uint32()},u.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)},u.prototype.bool=function(){return 0!==this.uint32()},u.prototype.fixed32=function(){if(this.pos+4>this.len)throw a(this,4);return d(this.buf,this.pos+=4)},u.prototype.sfixed32=function(){if(this.pos+4>this.len)throw a(this,4);return 0|d(this.buf,this.pos+=4)},u.prototype.float=function(){if(this.pos+4>this.len)throw a(this,4);var e=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},u.prototype.double=function(){if(this.pos+8>this.len)throw a(this,4);var e=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},u.prototype.bytes=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw a(this,e);if(this.pos+=e,Array.isArray(this.buf))return this.buf.slice(t,n);if(t===n){var r=i.Buffer;return r?r.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,t,n)},u.prototype.string=function(){var e=this.bytes();return s.read(e,0,e.length)},u.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw a(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw a(this)}while(128&this.buf[this.pos++]);return this},u.recursionLimit=i.recursionLimit,u.prototype.skipType=function(e,t){if(t===undefined&&(t=0),t>u.recursionLimit)throw Error("maximum nesting depth exceeded");switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e,t+1);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},u._configure=function(e){r=e,u.create=f(),r._configure();var t=i.Long?"toLong":"toNumber";i.merge(u.prototype,{int64:function(){return h.call(this)[t](!1)},uint64:function(){return h.call(this)[t](!0)},sint64:function(){return h.call(this).zzDecode()[t](!1)},fixed64:function(){return m.call(this)[t](!0)},sfixed64:function(){return m.call(this)[t](!1)}})}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/reader.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/reader_buffer.js",{"./reader":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/reader.js","./util/minimal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/minimal.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=o;var r=e("./reader");(o.prototype=Object.create(r.prototype)).constructor=o;var i=e("./util/minimal");function o(e){r.call(this,e)}o._configure=function(){i.Buffer&&(o.prototype._slice=i.Buffer.prototype.slice)},o.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},o._configure()}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/reader_buffer.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/root.js",{"./enum":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/enum.js","./field":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/field.js","./namespace":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/namespace.js","./oneof":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/oneof.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=f;var r=e("./namespace");((f.prototype=Object.create(r.prototype)).constructor=f).className="Root";var i,o,s,a=e("./field"),u=e("./enum"),l=e("./oneof"),c=e("./util");function f(e){r.call(this,"",e),this.deferred=[],this.files=[],this._edition="proto2",this._fullyQualifiedObjects={}}function h(){}f.fromJSON=function(e,t,n){return n=c.checkDepth(n),t||(t=new f),e.options&&t.setOptions(e.options),t.addJSON(e.nested,n).resolveAll()},f.prototype.resolvePath=c.path.resolve,f.prototype.fetch=c.fetch,f.prototype.load=function e(t,n,r){"function"==typeof n&&(r=n,n=undefined);var i=this;if(!r)return c.asPromise(e,i,t,n);var a=r===h;function u(e,t){if(r){if(a)throw e;t&&t.resolveAll();var n=r;r=null,n(e,t)}}function l(e){var t=e.lastIndexOf("google/protobuf/");if(t>-1){var n=e.substring(t);if(n in s)return n}return null}function f(e,t){try{if(c.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),c.isString(t)){o.filename=e;var r,s=o(t,i,n),f=0;if(s.imports)for(;f<s.imports.length;++f)(r=l(s.imports[f])||i.resolvePath(e,s.imports[f]))&&d(r);if(s.weakImports)for(f=0;f<s.weakImports.length;++f)(r=l(s.weakImports[f])||i.resolvePath(e,s.weakImports[f]))&&d(r,!0)}else i.setOptions(t.options).addJSON(t.nested)}catch(e){u(e)}a||m||u(null,i)}function d(e,t){if(e=l(e)||e,!(i.files.indexOf(e)>-1))if(i.files.push(e),e in s)a?f(e,s[e]):(++m,setTimeout(function(){--m,f(e,s[e])}));else if(a){var n;try{n=c.fs.readFileSync(e).toString("utf8")}catch(e){return void(t||u(e))}f(e,n)}else++m,i.fetch(e,function(n,o){--m,r&&(n?t?m||u(null,i):u(n):f(e,o))})}var m=0;c.isString(t)&&(t=[t]);for(var p,b=0;b<t.length;++b)(p=i.resolvePath("",t[b]))&&d(p);return a?(i.resolveAll(),i):(m||u(null,i),i)},f.prototype.loadSync=function(e,t){if(!c.isNode)throw Error("not supported");return this.load(e,t,h)},f.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;if(this.deferred.length)throw Error("unresolvable extensions: "+this.deferred.map(function(e){return"'extend "+e.extend+"' in "+e.parent.fullName}).join(", "));return r.prototype.resolveAll.call(this)};var d=/^[A-Z]/;function m(e,t){var n=t.parent.lookup(t.extend);if(n){var r=new a(t.fullName,t.id,t.type,t.rule,undefined,t.options);return n.get(r.name)||(r.declaringField=t,t.extensionField=r,n.add(r)),!0}return!1}f.prototype._handleAdd=function(e){if(e instanceof a)e.extend===undefined||e.extensionField||m(0,e)||this.deferred.push(e);else if(e instanceof u)d.test(e.name)&&(e.parent[e.name]=e.values);else if(!(e instanceof l)){if(e instanceof i)for(var t=0;t<this.deferred.length;)m(0,this.deferred[t])?this.deferred.splice(t,1):++t;for(var n=0;n<e.nestedArray.length;++n)this._handleAdd(e._nestedArray[n]);d.test(e.name)&&(e.parent[e.name]=e)}(e instanceof i||e instanceof u||e instanceof a)&&(this._fullyQualifiedObjects[e.fullName]=e)},f.prototype._handleRemove=function(e){if(e instanceof a){if(e.extend!==undefined)if(e.extensionField)e.extensionField.parent.remove(e.extensionField),e.extensionField=null;else{var t=this.deferred.indexOf(e);t>-1&&this.deferred.splice(t,1)}}else if(e instanceof u)d.test(e.name)&&delete e.parent[e.name];else if(e instanceof r){for(var n=0;n<e.nestedArray.length;++n)this._handleRemove(e._nestedArray[n]);d.test(e.name)&&delete e.parent[e.name]}delete this._fullyQualifiedObjects[e.fullName]},f._configure=function(e,t,n){i=e,o=t,s=n}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/root.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/roots.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports={}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/roots.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/rpc.js",{"./rpc/service":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/rpc/service.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){n.Service=e("./rpc/service")}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/rpc.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/rpc/service.js",{"../util/minimal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/minimal.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=i;var r=e("../util/minimal");function i(e,t,n){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");r.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(n)}(i.prototype=Object.create(r.EventEmitter.prototype)).constructor=i,i.prototype.rpcCall=function e(t,n,i,o,s){if(!o)throw TypeError("request must be specified");var a=this;if(!s)return r.asPromise(e,a,t,n,i,o);if(!a.rpcImpl)return setTimeout(function(){s(Error("already ended"))},0),undefined;try{return a.rpcImpl(t,n[a.requestDelimited?"encodeDelimited":"encode"](o).finish(),function(e,n){if(e)return a.emit("error",e,t),s(e);if(null===n)return a.end(!0),undefined;if(!(n instanceof i))try{n=i[a.responseDelimited?"decodeDelimited":"decode"](n)}catch(e){return a.emit("error",e,t),s(e)}return a.emit("data",n,t),s(null,n)})}catch(e){return a.emit("error",e,t),setTimeout(function(){s(e)},0),undefined}},i.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/rpc/service.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/service.js",{"./method":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/method.js","./namespace":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/namespace.js","./rpc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/rpc.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=u;var r=e("./namespace");((u.prototype=Object.create(r.prototype)).constructor=u).className="Service";var i=e("./method"),o=e("./util"),s=e("./rpc"),a=o.patterns.reservedRe;function u(e,t){r.call(this,e,t),this.methods={},this._methodsArray=null}function l(e){return e._methodsArray=null,e}u.fromJSON=function(e,t,n){n=o.checkDepth(n);var r=new u(e,t.options);if(t.methods)for(var s=Object.keys(t.methods),a=0;a<s.length;++a)r.add(i.fromJSON(s[a],t.methods[s[a]]));return t.nested&&r.addJSON(t.nested,n),t.edition&&(r._edition=t.edition),r.comment=t.comment,r._defaultEdition="proto3",r},u.prototype.toJSON=function(e){var t=r.prototype.toJSON.call(this,e),n=!!e&&Boolean(e.keepComments);return o.toObject(["edition",this._editionToJSON(),"options",t&&t.options||undefined,"methods",r.arrayToJSON(this.methodsArray,e)||{},"nested",t&&t.nested||undefined,"comment",n?this.comment:undefined])},Object.defineProperty(u.prototype,"methodsArray",{get:function(){return this._methodsArray||(this._methodsArray=o.toArray(this.methods))}}),u.prototype.get=function(e){return Object.prototype.hasOwnProperty.call(this.methods,e)?this.methods[e]:r.prototype.get.call(this,e)},u.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;r.prototype.resolve.call(this);for(var e=this.methodsArray,t=0;t<e.length;++t)e[t].resolve();return this},u.prototype._resolveFeaturesRecursive=function(e){return this._needsRecursiveFeatureResolution?(e=this._edition||e,r.prototype._resolveFeaturesRecursive.call(this,e),this.methodsArray.forEach(t=>{t._resolveFeaturesRecursive(e)}),this):this},u.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);return e instanceof i?"__proto__"===e.name?this:(this.methods[e.name]=e,e.parent=this,l(this)):r.prototype.add.call(this,e)},u.prototype.remove=function(e){if(e instanceof i){if(this.methods[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.methods[e.name],e.parent=null,l(this)}return r.prototype.remove.call(this,e)},u.prototype.create=function(e,t,n){for(var r,i=new s.Service(e,t,n),u=0;u<this.methodsArray.length;++u){var l=o.lcFirst((r=this._methodsArray[u]).resolve().name).replace(/[^$\w_]/g,"");i[l]=o.codegen(["r","c"],a.test(l)?l+"_":l)("return this.rpcCall(m,q,s,r,c)")({m:r,q:r.resolvedRequestType.ctor,s:r.resolvedResponseType.ctor})}return i}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/service.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/type.js",{"./converter":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/converter.js","./decoder":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/decoder.js","./encoder":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/encoder.js","./enum":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/enum.js","./field":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/field.js","./mapfield":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/mapfield.js","./message":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/message.js","./namespace":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/namespace.js","./oneof":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/oneof.js","./reader":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/reader.js","./service":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/service.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js","./verifier":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/verifier.js","./wrappers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/wrappers.js","./writer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/writer.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=g;var r=e("./namespace");((g.prototype=Object.create(r.prototype)).constructor=g).className="Type";var i=e("./enum"),o=e("./oneof"),s=e("./field"),a=e("./mapfield"),u=e("./service"),l=e("./message"),c=e("./reader"),f=e("./writer"),h=e("./util"),d=e("./encoder"),m=e("./decoder"),p=e("./verifier"),b=e("./converter"),y=e("./wrappers");function g(e,t){e=e.replace(/\W/g,""),r.call(this,e,t),this.fields={},this.oneofs=undefined,this.extensions=undefined,this.reserved=undefined,this.group=undefined,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function k(e){return e._fieldsById=e._fieldsArray=e._oneofsArray=null,delete e.encode,delete e.decode,delete e.verify,e}Object.defineProperties(g.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var e=Object.keys(this.fields),t=0;t<e.length;++t){var n=this.fields[e[t]],r=n.id;if(this._fieldsById[r])throw Error("duplicate id "+r+" in "+this);this._fieldsById[r]=n}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=h.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=h.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=g.generateConstructor(this)())},set:function(e){var t=e.prototype;t instanceof l||((e.prototype=new l).constructor=e,h.merge(e.prototype,t)),e.$type=e.prototype.$type=this,h.merge(e,l,!0),this._ctor=e;for(var n=0;n<this.fieldsArray.length;++n)this._fieldsArray[n].resolve();var r={};for(n=0;n<this.oneofsArray.length;++n)r[this._oneofsArray[n].resolve().name]={get:h.oneOfGetter(this._oneofsArray[n].oneof),set:h.oneOfSetter(this._oneofsArray[n].oneof)};n&&Object.defineProperties(e.prototype,r)}}}),g.generateConstructor=function(e){for(var t,n=h.codegen(["p"],e.name),r=0;r<e.fieldsArray.length;++r)(t=e._fieldsArray[r]).map?n("this%s={}",h.safeProp(t.name)):t.repeated&&n("this%s=[]",h.safeProp(t.name));return n('if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null&&ks[i]!=="__proto__")')("this[ks[i]]=p[ks[i]]")},g.fromJSON=function(e,t,n){n=h.checkDepth(n);var l=new g(e,t.options);l.extensions=t.extensions,l.reserved=t.reserved;for(var c=Object.keys(t.fields),f=0;f<c.length;++f)l.add((void 0!==t.fields[c[f]].keyType?a.fromJSON:s.fromJSON)(c[f],t.fields[c[f]]));if(t.oneofs)for(c=Object.keys(t.oneofs),f=0;f<c.length;++f)l.add(o.fromJSON(c[f],t.oneofs[c[f]]));if(t.nested)for(c=Object.keys(t.nested),f=0;f<c.length;++f){var d=t.nested[c[f]];l.add((d.id!==undefined?s.fromJSON:d.fields!==undefined?g.fromJSON:d.values!==undefined?i.fromJSON:d.methods!==undefined?u.fromJSON:r.fromJSON)(c[f],d,n+1))}return t.extensions&&t.extensions.length&&(l.extensions=t.extensions),t.reserved&&t.reserved.length&&(l.reserved=t.reserved),t.group&&(l.group=!0),t.comment&&(l.comment=t.comment),t.edition&&(l._edition=t.edition),l._defaultEdition="proto3",l},g.prototype.toJSON=function(e){var t=r.prototype.toJSON.call(this,e),n=!!e&&Boolean(e.keepComments);return h.toObject(["edition",this._editionToJSON(),"options",t&&t.options||undefined,"oneofs",r.arrayToJSON(this.oneofsArray,e),"fields",r.arrayToJSON(this.fieldsArray.filter(function(e){return!e.declaringField}),e)||{},"extensions",this.extensions&&this.extensions.length?this.extensions:undefined,"reserved",this.reserved&&this.reserved.length?this.reserved:undefined,"group",this.group||undefined,"nested",t&&t.nested||undefined,"comment",n?this.comment:undefined])},g.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;r.prototype.resolveAll.call(this);var e=this.oneofsArray;for(n=0;n<e.length;)e[n++].resolve();for(var t=this.fieldsArray,n=0;n<t.length;)t[n++].resolve();return this},g.prototype._resolveFeaturesRecursive=function(e){return this._needsRecursiveFeatureResolution?(e=this._edition||e,r.prototype._resolveFeaturesRecursive.call(this,e),this.oneofsArray.forEach(t=>{t._resolveFeatures(e)}),this.fieldsArray.forEach(t=>{t._resolveFeatures(e)}),this):this},g.prototype.get=function(e){return Object.prototype.hasOwnProperty.call(this.fields,e)?this.fields[e]:this.oneofs&&Object.prototype.hasOwnProperty.call(this.oneofs,e)?this.oneofs[e]:this.nested&&Object.prototype.hasOwnProperty.call(this.nested,e)?this.nested[e]:null},g.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);if(e instanceof s&&e.extend===undefined){if(this._fieldsById?this._fieldsById[e.id]:this.fieldsById[e.id])throw Error("duplicate id "+e.id+" in "+this);if(this.isReservedId(e.id))throw Error("id "+e.id+" is reserved in "+this);if(this.isReservedName(e.name))throw Error("name '"+e.name+"' is reserved in "+this);return"__proto__"===e.name?this:(e.parent&&e.parent.remove(e),this.fields[e.name]=e,e.message=this,e.onAdd(this),k(this))}return e instanceof o?"__proto__"===e.name?this:(this.oneofs||(this.oneofs={}),this.oneofs[e.name]=e,e.onAdd(this),k(this)):r.prototype.add.call(this,e)},g.prototype.remove=function(e){if(e instanceof s&&e.extend===undefined){if(!this.fields||this.fields[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.fields[e.name],e.parent=null,e.onRemove(this),k(this)}if(e instanceof o){if(!this.oneofs||this.oneofs[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.oneofs[e.name],e.parent=null,e.onRemove(this),k(this)}return r.prototype.remove.call(this,e)},g.prototype.isReservedId=function(e){return r.isReservedId(this.reserved,e)},g.prototype.isReservedName=function(e){return r.isReservedName(this.reserved,e)},g.prototype.create=function(e){return new this.ctor(e)},g.prototype.setup=function(){for(var e=this.fullName,t=[],n=0;n<this.fieldsArray.length;++n)t.push(this._fieldsArray[n].resolve().resolvedType);this.encode=d(this)({Writer:f,types:t,util:h}),this.decode=m(this)({Reader:c,types:t,util:h}),this.verify=p(this)({types:t,util:h}),this.fromObject=b.fromObject(this)({types:t,util:h}),this.toObject=b.toObject(this)({types:t,util:h});var r=y[e];if(r){var i=Object.create(this);i.fromObject=this.fromObject,this.fromObject=r.fromObject.bind(i),i.toObject=this.toObject,this.toObject=r.toObject.bind(i)}return this},g.prototype.encode=function(e,t){return this.setup().encode(e,t)},g.prototype.encodeDelimited=function(e,t){return this.encode(e,t&&t.len?t.fork():t).ldelim()},g.prototype.decode=function(e,t,n,r){return this.setup().decode(e,t,n,r)},g.prototype.decodeDelimited=function(e){return e instanceof c||(e=c.create(e)),this.decode(e,e.uint32())},g.prototype.verify=function(e,t){return this.setup().verify(e,t)},g.prototype.fromObject=function(e,t){return this.setup().fromObject(e,t)},g.prototype.toObject=function(e,t){return this.setup().toObject(e,t)},g.d=function(e){return function(t){h.decorateType(t,e)}}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/type.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/types.js",{"./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=n,i=e("./util"),o=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];function s(e,t){var n=0,r=Object.create(null);for(t|=0;n<e.length;)r[o[n+t]]=e[n++];return r}r.basic=s([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]),r.defaults=s([0,0,0,0,0,0,0,0,0,0,0,0,!1,"",i.emptyArray,null]),r.long=s([0,0,0,1,1],7),r.mapKey=s([0,0,0,5,5,0,0,0,1,1,0,2],2),r.packed=s([1,5,0,0,0,5,5,0,0,0,1,1,0])}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/types.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js",{"./enum":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/enum.js","./root":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/root.js","./roots":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/roots.js","./type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/type.js","./util/minimal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/minimal.js","./util/patterns":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/patterns.js","@protobufjs/codegen":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@protobufjs/codegen/index.js","@protobufjs/fetch":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@protobufjs/fetch/index.js","@protobufjs/path":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@protobufjs/path/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i,o=t.exports=e("./util/minimal"),s=e("./roots");o.codegen=e("@protobufjs/codegen"),o.fetch=e("@protobufjs/fetch"),o.path=e("@protobufjs/path"),o.patterns=e("./util/patterns");var a=o.patterns.reservedRe,u=o.patterns.unsafePropertyRe;o.fs=o.inquire("fs"),o.checkDepth=function(e){if(e===undefined&&(e=0),e>o.recursionLimit)throw Error("max depth exceeded");return e},o.toArray=function(e){if(e){for(var t=Object.keys(e),n=new Array(t.length),r=0;r<t.length;)n[r]=e[t[r++]];return n}return[]},o.toObject=function(e){for(var t={},n=0;n<e.length;){var r=e[n++],i=e[n++];i!==undefined&&(t[r]=i)}return t},o.isReserved=function(e){return a.test(e)},o.safeProp=function(e){return!/^[$\w_]+$/.test(e)||a.test(e)?"["+JSON.stringify(e)+"]":"."+e},o.ucFirst=function(e){return e.charAt(0).toUpperCase()+e.substring(1)};var l=/_([a-z])/g;o.camelCase=function(e){return e.substring(0,1)+e.substring(1).replace(l,function(e,t){return t.toUpperCase()})},o.compareFieldsById=function(e,t){return e.id-t.id},o.decorateType=function(t,n){if(t.$type)return n&&t.$type.name!==n&&(o.decorateRoot.remove(t.$type),t.$type.name=n,o.decorateRoot.add(t.$type)),t.$type;r||(r=e("./type"));var i=new r(n||t.name);return o.decorateRoot.add(i),i.ctor=t,Object.defineProperty(t,"$type",{value:i,enumerable:!1}),Object.defineProperty(t.prototype,"$type",{value:i,enumerable:!1}),i};var c=0;o.decorateEnum=function(t){if(t.$type)return t.$type;i||(i=e("./enum"));var n=new i("Enum"+c++,t);return o.decorateRoot.add(n),Object.defineProperty(t,"$type",{value:n,enumerable:!1}),n},o.setProperty=function(e,t,n,r){if("object"!=typeof e)throw TypeError("dst must be an object");if(!t)throw TypeError("path must be specified");return function e(t,n,i){var o=n.shift();if(u.test(o))return t;if(n.length>0)t[o]=e(t[o]||{},n,i);else{var s=t[o];if(s&&r)return t;s&&(i=[].concat(s).concat(i)),t[o]=i}return t}(e,t=t.split("."),n)},Object.defineProperty(o,"decorateRoot",{get:function(){return s.decorated||(s.decorated=new(e("./root")))}})}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/util.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/longbits.js",{"../util/minimal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/minimal.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=i;var r=e("../util/minimal");function i(e,t){this.lo=e>>>0,this.hi=t>>>0}var o=i.zero=new i(0,0);o.toNumber=function(){return 0},o.zzEncode=o.zzDecode=function(){return this},o.length=function(){return 1};var s=i.zeroHash="\0\0\0\0\0\0\0\0";i.fromNumber=function(e){if(0===e)return o;var t=e<0;t&&(e=-e);var n=e>>>0,r=(e-n)/4294967296>>>0;return t&&(r=~r>>>0,n=~n>>>0,++n>4294967295&&(n=0,++r>4294967295&&(r=0))),new i(n,r)},i.from=function(e){if("number"==typeof e)return i.fromNumber(e);if(r.isString(e)){if(!r.Long)return i.fromNumber(parseInt(e,10));e=r.Long.fromString(e)}return e.low||e.high?new i(e.low>>>0,e.high>>>0):o},i.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,n=~this.hi>>>0;return t||(n=n+1>>>0),-(t+4294967296*n)}return this.lo+4294967296*this.hi},i.prototype.toLong=function(e){return r.Long?new r.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var a=String.prototype.charCodeAt;i.fromHash=function(e){return e===s?o:new i((a.call(e,0)|a.call(e,1)<<8|a.call(e,2)<<16|a.call(e,3)<<24)>>>0,(a.call(e,4)|a.call(e,5)<<8|a.call(e,6)<<16|a.call(e,7)<<24)>>>0)},i.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},i.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},i.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},i.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0===n?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:n<128?9:10}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/util/longbits.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/minimal.js",{"./longbits":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/longbits.js","@protobufjs/aspromise":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@protobufjs/aspromise/index.js","@protobufjs/base64":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@protobufjs/base64/index.js","@protobufjs/eventemitter":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@protobufjs/eventemitter/index.js","@protobufjs/float":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@protobufjs/float/index.js","@protobufjs/inquire":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@protobufjs/inquire/index.js","@protobufjs/pool":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@protobufjs/pool/index.js","@protobufjs/utf8":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@protobufjs/utf8/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=n;function i(e,t,n){for(var r=Object.keys(t),i=0;i<r.length;++i)e[r[i]]!==undefined&&n||"__proto__"!==r[i]&&(e[r[i]]=t[r[i]]);return e}function o(e){function t(e,n){if(!(this instanceof t))return new t(e,n);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:(new Error).stack||""}),n&&i(this,n)}return t.prototype=Object.create(Error.prototype,{constructor:{value:t,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return e},set:undefined,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),t}r.asPromise=e("@protobufjs/aspromise"),r.base64=e("@protobufjs/base64"),r.EventEmitter=e("@protobufjs/eventemitter"),r.float=e("@protobufjs/float"),r.inquire=e("@protobufjs/inquire"),r.utf8=e("@protobufjs/utf8"),r.pool=e("@protobufjs/pool"),r.LongBits=e("./longbits"),r.isNode=Boolean("undefined"!=typeof global&&global&&global.process&&global.process.versions&&global.process.versions.node),r.global=r.isNode&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&self||this,r.emptyArray=Object.freeze?Object.freeze([]):[],r.emptyObject=Object.freeze?Object.freeze({}):{},r.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},r.isString=function(e){return"string"==typeof e||e instanceof String},r.isObject=function(e){return e&&"object"==typeof e},r.isset=r.isSet=function(e,t){var n=e[t];return!(null==n||!e.hasOwnProperty(t))&&("object"!=typeof n||(Array.isArray(n)?n.length:Object.keys(n).length)>0)},r.Buffer=function(){try{var e=r.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),r._Buffer_from=null,r._Buffer_allocUnsafe=null,r.newBuffer=function(e){return"number"==typeof e?r.Buffer?r._Buffer_allocUnsafe(e):new r.Array(e):r.Buffer?r._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},r.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,r.Long=r.global.dcodeIO&&r.global.dcodeIO.Long||r.global.Long||r.inquire("long"),r.key2Re=/^true|false|0|1$/,r.key32Re=/^-?(?:0|[1-9][0-9]*)$/,r.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,r.longToHash=function(e){return e?r.LongBits.from(e).toHash():r.LongBits.zeroHash},r.longFromHash=function(e,t){var n=r.LongBits.fromHash(e);return r.Long?r.Long.fromBits(n.lo,n.hi,t):n.toNumber(Boolean(t))},r.merge=i,r.recursionLimit=100,r.makeProp=function(e,t){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,writable:!0})},r.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},r.newError=o,r.ProtocolError=o("ProtocolError"),r.oneOfGetter=function(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=1;return function(){for(var e=Object.keys(this),n=e.length-1;n>-1;--n)if(1===t[e[n]]&&this[e[n]]!==undefined&&null!==this[e[n]])return e[n]}},r.oneOfSetter=function(e){return function(t){for(var n=0;n<e.length;++n)e[n]!==t&&delete this[e[n]]}},r.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},r._configure=function(){var e=r.Buffer;e?(r._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,n){return new e(t,n)},r._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}):r._Buffer_from=r._Buffer_allocUnsafe=null}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/util/minimal.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/patterns.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=n;r.numberRe=/^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/,r.typeRefRe=/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/,r.reservedRe=/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/,r.unsafePropertyRe=/^(?:__proto__|prototype|constructor)$/}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/util/patterns.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/verifier.js",{"./enum":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/enum.js","./util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e){var t=i.codegen(["m","n"],e.name+"$verify")('if(typeof m!=="object"||m===null)')("return%j","object expected")("if(n===undefined)n=0")("if(n>util.recursionLimit)")("return%j","maximum nesting depth exceeded"),n=e.oneofsArray,r={};n.length&&t("var p={}");for(var u=0;u<e.fieldsArray.length;++u){var l=e._fieldsArray[u].resolve(),c="m"+i.safeProp(l.name);if(l.optional&&t("if(%s!=null&&m.hasOwnProperty(%j)){",c,l.name),l.map)t("if(!util.isObject(%s))",c)("return%j",o(l,"object"))("var k=Object.keys(%s)",c)("for(var i=0;i<k.length;++i){"),a(t,l,"k[i]"),s(t,l,u,c+"[k[i]]")("}");else if(l.repeated)t("if(!Array.isArray(%s))",c)("return%j",o(l,"array"))("for(var i=0;i<%s.length;++i){",c),s(t,l,u,c+"[i]")("}");else{if(l.partOf){var f=i.safeProp(l.partOf.name);1===r[l.partOf.name]&&t("if(p%s===1)",f)("return%j",l.partOf.name+": multiple values"),r[l.partOf.name]=1,t("p%s=1",f)}s(t,l,u,c)}l.optional&&t("}")}return t("return null")};var r=e("./enum"),i=e("./util");function o(e,t){return e.name+": "+t+(e.repeated&&"array"!==t?"[]":e.map&&"object"!==t?"{k:"+e.keyType+"}":"")+" expected"}function s(e,t,n,i){if(t.resolvedType)if(t.resolvedType instanceof r){e("switch(%s){",i)("default:")("return%j",o(t,"enum value"));for(var s=Object.keys(t.resolvedType.values),a=0;a<s.length;++a)e("case %i:",t.resolvedType.values[s[a]]);e("break")("}")}else e("{")("var e=types[%i].verify(%s,n+1);",n,i)("if(e)")("return%j+e",t.name+".")("}");else switch(t.type){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":e("if(!util.isInteger(%s))",i)("return%j",o(t,"integer"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":e("if(!util.isInteger(%s)&&!(%s&&util.isInteger(%s.low)&&util.isInteger(%s.high)))",i,i,i,i)("return%j",o(t,"integer|Long"));break;case"float":case"double":e('if(typeof %s!=="number")',i)("return%j",o(t,"number"));break;case"bool":e('if(typeof %s!=="boolean")',i)("return%j",o(t,"boolean"));break;case"string":e("if(!util.isString(%s))",i)("return%j",o(t,"string"));break;case"bytes":e('if(!(%s&&typeof %s.length==="number"||util.isString(%s)))',i,i,i)("return%j",o(t,"buffer"))}return e}function a(e,t,n){switch(t.keyType){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":e("if(!util.key32Re.test(%s))",n)("return%j",o(t,"integer key"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":e("if(!util.key64Re.test(%s))",n)("return%j",o(t,"integer|Long key"));break;case"bool":e("if(!util.key2Re.test(%s))",n)("return%j",o(t,"boolean key"))}return e}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/verifier.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/wrappers.js",{"./message":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/message.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=n,i=e("./message");r[".google.protobuf.Any"]={fromObject:function(e,t){if(e&&e["@type"]){var n=e["@type"].substring(e["@type"].lastIndexOf("/")+1),r=this.lookup(n);if(r){var i="."===e["@type"].charAt(0)?e["@type"].slice(1):e["@type"];-1===i.indexOf("/")&&(i="/"+i);var o=t===undefined?1:t+1;return this.create({type_url:i,value:r.encode(r.fromObject(e,o)).finish()})}}return this.fromObject(e,t)},toObject:function(e,t){var n="",r="";if(t&&t.json&&e.type_url&&e.value){r=e.type_url.substring(e.type_url.lastIndexOf("/")+1),n=e.type_url.substring(0,e.type_url.lastIndexOf("/")+1);var o=this.lookup(r);o&&(e=o.decode(e.value))}if(!(e instanceof this.ctor)&&e instanceof i){var s=e.$type.toObject(e,t);return""===n&&(n="type.googleapis.com/"),r=n+("."===e.$type.fullName[0]?e.$type.fullName.slice(1):e.$type.fullName),s["@type"]=r,s}return this.toObject(e,t)}}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/wrappers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/writer.js",{"./util/minimal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/minimal.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=f;var r,i=e("./util/minimal"),o=i.LongBits,s=i.base64,a=i.utf8;function u(e,t,n){this.fn=e,this.len=t,this.next=undefined,this.val=n}function l(){}function c(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function f(){this.len=0,this.head=new u(l,0,0),this.tail=this.head,this.states=null}var h=function(){return i.Buffer?function(){return(f.create=function(){return new r})()}:function(){return new f}};function d(e,t,n){t[n]=255&e}function m(e,t){this.len=e,this.next=undefined,this.val=t}function p(e,t,n){for(;e.hi;)t[n++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[n++]=127&e.lo|128,e.lo=e.lo>>>7;t[n++]=e.lo}function b(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}f.create=h(),f.alloc=function(e){return new i.Array(e)},i.Array!==Array&&(f.alloc=i.pool(f.alloc,i.Array.prototype.subarray)),f.prototype._push=function(e,t,n){return this.tail=this.tail.next=new u(e,t,n),this.len+=t,this},m.prototype=Object.create(u.prototype),m.prototype.fn=function(e,t,n){for(;e>127;)t[n++]=127&e|128,e>>>=7;t[n]=e},f.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new m((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},f.prototype.int32=function(e){return e<0?this._push(p,10,o.fromNumber(e)):this.uint32(e)},f.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},f.prototype.uint64=function(e){var t=o.from(e);return this._push(p,t.length(),t)},f.prototype.int64=f.prototype.uint64,f.prototype.sint64=function(e){var t=o.from(e).zzEncode();return this._push(p,t.length(),t)},f.prototype.bool=function(e){return this._push(d,1,e?1:0)},f.prototype.fixed32=function(e){return this._push(b,4,e>>>0)},f.prototype.sfixed32=f.prototype.fixed32,f.prototype.fixed64=function(e){var t=o.from(e);return this._push(b,4,t.lo)._push(b,4,t.hi)},f.prototype.sfixed64=f.prototype.fixed64,f.prototype.float=function(e){return this._push(i.float.writeFloatLE,4,e)},f.prototype.double=function(e){return this._push(i.float.writeDoubleLE,8,e)};var y=i.Array.prototype.set?function(e,t,n){t.set(e,n)}:function(e,t,n){for(var r=0;r<e.length;++r)t[n+r]=e[r]};f.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(d,1,0);if(i.isString(e)){var n=f.alloc(t=s.length(e));s.decode(e,n,0),e=n}return this.uint32(t)._push(y,t,e)},f.prototype.string=function(e){var t=a.length(e);return t?this.uint32(t)._push(a.write,t,e):this._push(d,1,0)},f.prototype.fork=function(){return this.states=new c(this),this.head=this.tail=new u(l,0,0),this.len=0,this},f.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new u(l,0,0),this.len=0),this},f.prototype.ldelim=function(){var e=this.head,t=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=e.next,this.tail=t,this.len+=n),this},f.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),n=0;e;)e.fn(e.val,t,n),n+=e.len,e=e.next;return t},f._configure=function(e){r=e,f.create=h(),r._configure()}}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/writer.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/writer_buffer.js",{"./util/minimal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/util/minimal.js","./writer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/protobufjs/src/writer.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=o;var r=e("./writer");(o.prototype=Object.create(r.prototype)).constructor=o;var i=e("./util/minimal");function o(){r.call(this)}function s(e,t,n){e.length<40?i.utf8.write(e,t,n):t.utf8Write?t.utf8Write(e,n):t.write(e,n)}o._configure=function(){o.alloc=i._Buffer_allocUnsafe,o.writeBytesBuffer=i.Buffer&&i.Buffer.prototype instanceof Uint8Array&&"set"===i.Buffer.prototype.set.name?function(e,t,n){t.set(e,n)}:function(e,t,n){if(e.copy)e.copy(t,n,0,e.length);else for(var r=0;r<e.length;)t[n++]=e[r++]}},o.prototype.bytes=function(e){i.isString(e)&&(e=i._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(o.writeBytesBuffer,t,e),this},o.prototype.string=function(e){var t=i.Buffer.byteLength(e);return this.uint32(t),t&&this._push(s,t,e),this},o._configure()}}},{package:"@google/genai>protobufjs",file:"node_modules/protobufjs/src/writer_buffer.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/browser.js",{"./privateDecrypt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/privateDecrypt.js","./publicEncrypt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/publicEncrypt.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){n.publicEncrypt=e("./publicEncrypt"),n.privateDecrypt=e("./privateDecrypt"),n.privateEncrypt=function(e,t){return n.publicEncrypt(e,t,!0)},n.publicDecrypt=function(e,t){return n.privateDecrypt(e,t,!0)}}}},{package:"crypto-browserify>public-encrypt",file:"node_modules/public-encrypt/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/mgf.js",{"create-hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hash/browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("create-hash"),i=e("safe-buffer").Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}t.exports=function(e,t){for(var n,s=i.alloc(0),a=0;s.length<t;)n=o(a++),s=i.concat([s,r("sha1").update(e).update(n).digest()]);return s.slice(0,t)}}}},{package:"crypto-browserify>public-encrypt",file:"node_modules/public-encrypt/mgf.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/privateDecrypt.js",{"./mgf":"/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/mgf.js","./withPublic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/withPublic.js","./xor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/xor.js","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js","browserify-rsa":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-rsa/index.js","create-hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hash/browser.js","parse-asn1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/index.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("parse-asn1"),i=e("./mgf"),o=e("./xor"),s=e("bn.js"),a=e("browserify-rsa"),u=e("create-hash"),l=e("./withPublic"),c=e("safe-buffer").Buffer;t.exports=function(e,t,n){var f;f=e.padding?e.padding:n?1:4;var h,d=r(e),m=d.modulus.byteLength();if(t.length>m||new s(t).cmp(d.modulus)>=0)throw new Error("decryption error");h=n?l(new s(t),d):a(t,d);var p=c.alloc(m-h.length);if(h=c.concat([p,h],m),4===f)return function(e,t){var n=e.modulus.byteLength(),r=u("sha1").update(c.alloc(0)).digest(),s=r.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,s+1),l=t.slice(s+1),f=o(a,i(l,s)),h=o(l,i(f,n-s-1));if(function(e,t){e=c.from(e),t=c.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;for(;++i<r;)n+=e[i]^t[i];return n}(r,h.slice(0,s)))throw new Error("decryption error");var d=s;for(;0===h[d];)d++;if(1!==h[d++])throw new Error("decryption error");return h.slice(d)}(d,h);if(1===f)return function(e,t,n){var r=t.slice(0,2),i=2,o=0;for(;0!==t[i++];)if(i>=t.length){o++;break}var s=t.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++;s.length<8&&o++;if(o)throw new Error("decryption error");return t.slice(i)}(0,h,n);if(3===f)return h;throw new Error("unknown padding")}}}},{package:"crypto-browserify>public-encrypt",file:"node_modules/public-encrypt/privateDecrypt.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/publicEncrypt.js",{"./mgf":"/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/mgf.js","./withPublic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/withPublic.js","./xor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/xor.js","bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js","browserify-rsa":"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify-rsa/index.js","create-hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/create-hash/browser.js","parse-asn1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/parse-asn1/index.js",randombytes:"/home/runner/work/metamask-extension/metamask-extension/node_modules/randombytes/browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("parse-asn1"),i=e("randombytes"),o=e("create-hash"),s=e("./mgf"),a=e("./xor"),u=e("bn.js"),l=e("./withPublic"),c=e("browserify-rsa"),f=e("safe-buffer").Buffer;t.exports=function(e,t,n){var h;h=e.padding?e.padding:n?1:4;var d,m=r(e);if(4===h)d=function(e,t){var n=e.modulus.byteLength(),r=t.length,l=o("sha1").update(f.alloc(0)).digest(),c=l.length,h=2*c;if(r>n-h-2)throw new Error("message too long");var d=f.alloc(n-r-h-2),m=n-c-1,p=i(c),b=a(f.concat([l,d,f.alloc(1,1),t],m),s(p,m)),y=a(p,s(b,c));return new u(f.concat([f.alloc(1),y,b],n))}(m,t);else if(1===h)d=function(e,t,n){var r,o=t.length,s=e.modulus.byteLength();if(o>s-11)throw new Error("message too long");r=n?f.alloc(s-o-3,255):function(e){var t,n=f.allocUnsafe(e),r=0,o=i(2*e),s=0;for(;r<e;)s===o.length&&(o=i(2*e),s=0),(t=o[s++])&&(n[r++]=t);return n}(s-o-3);return new u(f.concat([f.from([0,n?1:2]),r,f.alloc(1),t],s))}(m,t,n);else{if(3!==h)throw new Error("unknown padding");if((d=new u(t)).cmp(m.modulus)>=0)throw new Error("data too long for modulus")}return n?c(d,m):l(d,m)}}}},{package:"crypto-browserify>public-encrypt",file:"node_modules/public-encrypt/publicEncrypt.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/withPublic.js",{"bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("bn.js"),i=e("safe-buffer").Buffer;t.exports=function(e,t){return i.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}}}},{package:"crypto-browserify>public-encrypt",file:"node_modules/public-encrypt/withPublic.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/public-encrypt/xor.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e,t){for(var n=e.length,r=-1;++r<n;)e[r]^=t[r];return e}}}},{package:"crypto-browserify>public-encrypt",file:"node_modules/public-encrypt/xor.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/punycode/punycode.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=2147483647,i=36,o=/^xn--/,s=/[^\0-\x7F]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l=Math.floor,c=String.fromCharCode;function f(e){throw new RangeError(u[e])}function h(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(a,".")).split("."),t).join(".");return r+i}function d(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}const m=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:i},p=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},b=function(e,t,n){let r=0;for(e=n?l(e/700):e>>1,e+=l(e/t);e>455;r+=i)e=l(e/35);return l(r+36*e/(e+38))},y=function(e){const t=[],n=e.length;let o=0,s=128,a=72,u=e.lastIndexOf("-");u<0&&(u=0);for(let n=0;n<u;++n)e.charCodeAt(n)>=128&&f("not-basic"),t.push(e.charCodeAt(n));for(let c=u>0?u+1:0;c<n;){const u=o;for(let t=1,s=i;;s+=i){c>=n&&f("invalid-input");const u=m(e.charCodeAt(c++));u>=i&&f("invalid-input"),u>l((r-o)/t)&&f("overflow"),o+=u*t;const h=s<=a?1:s>=a+26?26:s-a;if(u<h)break;const d=i-h;t>l(r/d)&&f("overflow"),t*=d}const h=t.length+1;a=b(o-u,h,0==u),l(o/h)>r-s&&f("overflow"),s+=l(o/h),o%=h,t.splice(o++,0,s)}return String.fromCodePoint(...t)},g=function(e){const t=[],n=(e=d(e)).length;let o=128,s=0,a=72;for(const n of e)n<128&&t.push(c(n));const u=t.length;let h=u;for(u&&t.push("-");h<n;){let n=r;for(const t of e)t>=o&&t<n&&(n=t);const d=h+1;n-o>l((r-s)/d)&&f("overflow"),s+=(n-o)*d,o=n;for(const n of e)if(n<o&&++s>r&&f("overflow"),n===o){let e=s;for(let n=i;;n+=i){const r=n<=a?1:n>=a+26?26:n-a;if(e<r)break;const o=e-r,s=i-r;t.push(c(p(r+o%s,0))),e=l(o/s)}t.push(c(p(e,0))),a=b(s,d,h===u),s=0,++h}++s,++o}return t.join("")},k={version:"2.3.1",ucs2:{decode:d,encode:e=>String.fromCodePoint(...e)},decode:y,encode:g,toASCII:function(e){return h(e,function(e){return s.test(e)?"xn--"+g(e):e})},toUnicode:function(e){return h(e,function(e){return o.test(e)?y(e.slice(4).toLowerCase()):e})}};t.exports=k}}},{package:"punycode",file:"node_modules/punycode/punycode.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/formats.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=String.prototype.replace,i=/%20/g,o="RFC1738",s="RFC3986";t.exports={default:s,formatters:{RFC1738:function(e){return r.call(e,i,"+")},RFC3986:function(e){return String(e)}},RFC1738:o,RFC3986:s}}}},{package:"mockttp>express>qs",file:"node_modules/qs/lib/formats.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/index.js",{"./formats":"/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/formats.js","./parse":"/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/parse.js","./stringify":"/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/stringify.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("./stringify"),i=e("./parse"),o=e("./formats");t.exports={formats:o,parse:i,stringify:r}}}},{package:"mockttp>express>qs",file:"node_modules/qs/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/parse.js",{"./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("./utils"),i=Object.prototype.hasOwnProperty,o=Array.isArray,s={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},a=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},u=function(e,t,n){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},l=function(e,t,n,o){if(e){var s=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&i.call(Object.prototype,n)&&!t.allowPrototypes)return;return[n]}var r=[],o=n.indexOf("["),s=o>=0?n.slice(0,o):n;if(s){if(!t.plainObjects&&i.call(Object.prototype,s)&&!t.allowPrototypes)return;r[r.length]=s}for(var a=n.length,u=o,l=0;u>=0&&l<t.depth;){for(var c=1,f=u+1,h=-1;f<a&&h<0;){var d=n.charCodeAt(f);91===d?c+=1:93===d&&0==(c-=1)&&(h=f),f+=1}if(h<0)return r[r.length]="["+n.slice(u)+"]",r;var m=n.slice(u,h+1),p=m.slice(1,-1);if(!t.plainObjects&&i.call(Object.prototype,p)&&!t.allowPrototypes)return;r[r.length]=m,l+=1,u=n.indexOf("[",h+1)}if(u>=0){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");r[r.length]="["+n.slice(u)+"]"}return r}(e,n);if(s)return function(e,t,n,i){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var s=e.slice(0,-1).join("");o=Array.isArray(t)&&t[s]?t[s].length:0}for(var a=i?t:u(t,n,o),l=e.length-1;l>=0;--l){var c,f=e[l];if("[]"===f&&n.parseArrays)c=r.isOverflow(a)?a:n.allowEmptyArrays&&(""===a||n.strictNullHandling&&null===a)?[]:r.combine([],a,n.arrayLimit,n.plainObjects);else{c=n.plainObjects?{__proto__:null}:{};var h="["===f.charAt(0)&&"]"===f.charAt(f.length-1)?f.slice(1,-1):f,d=n.decodeDotInKeys?h.replace(/%2E/g,"."):h,m=parseInt(d,10),p=!isNaN(m)&&f!==d&&String(m)===d&&m>=0&&n.parseArrays;if(n.parseArrays||""!==d)if(p&&m<n.arrayLimit)(c=[])[m]=a;else{if(p&&n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");p?(c[m]=a,r.markOverflow(c,m)):"__proto__"!==d&&(c[d]=a)}else c={0:a}}a=c}return a}(s,t,n,o)}};t.exports=function(e,t){var n=function(e){if(!e)return s;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?s.charset:e.charset,n=void 0===e.duplicates?s.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||s.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:s.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:s.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:s.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:s.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:s.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:s.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:s.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:s.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:s.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:s.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:s.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:s.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return n.plainObjects?{__proto__:null}:{};for(var c="string"==typeof e?function(e,t){var n={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c=t.parameterLimit===Infinity?void undefined:t.parameterLimit,f=l.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==c?c+1:c);if(t.throwOnLimitExceeded&&void 0!==c&&f.length>c)throw new RangeError("Parameter limit exceeded. Only "+c+" parameter"+(1===c?"":"s")+" allowed.");var h,d=-1,m=t.charset;if(t.charsetSentinel)for(h=0;h<f.length;++h)0===f[h].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[h]?m="utf-8":"utf8=%26%2310003%3B"===f[h]&&(m="iso-8859-1"),d=h,h=f.length);for(h=0;h<f.length;++h)if(h!==d){var p,b,y=f[h],g=y.indexOf("]="),k=-1===g?y.indexOf("="):g+1;if(-1===k?(p=t.decoder(y,s.decoder,m,"key"),b=t.strictNullHandling?null:""):null!==(p=t.decoder(y.slice(0,k),s.decoder,m,"key"))&&(b=r.maybeMap(u(y.slice(k+1),t,o(n[p])?n[p].length:0),function(e){return t.decoder(e,s.decoder,m,"value")})),b&&t.interpretNumericEntities&&"iso-8859-1"===m&&(b=a(String(b))),y.indexOf("[]=")>-1&&(b=o(b)?[b]:b),t.comma&&o(b)&&b.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");b=r.combine([],b,t.arrayLimit,t.plainObjects)}if(null!==p){var w=i.call(n,p);w&&("combine"===t.duplicates||y.indexOf("[]=")>-1)?n[p]=r.combine(n[p],b,t.arrayLimit,t.plainObjects):w&&"last"!==t.duplicates||(n[p]=b)}}return n}(e,n):e,f=n.plainObjects?{__proto__:null}:{},h=Object.keys(c),d=0;d<h.length;++d){var m=h[d],p=l(m,c[m],n,"string"==typeof e);f=r.merge(f,p,n)}return!0===n.allowSparse?f:r.compact(f)}}}},{package:"mockttp>express>qs",file:"node_modules/qs/lib/parse.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/stringify.js",{"./formats":"/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/formats.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/utils.js","side-channel":"/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("side-channel"),i=e("./utils"),o=e("./formats"),s=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,l=Array.prototype.push,c=function(e,t){l.apply(e,u(t)?t:[t])},f=Date.prototype.toISOString,h=o.default,d={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,filter:void undefined,format:h,formatter:o.formatters[h],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},m={},p=function e(t,n,o,s,a,l,f,h,p,b,y,g,k,w,v,_,x,j){for(var T,S=t,O=j,E=0,A=!1;(O=O.get(m))!==void undefined&&!A;){var R=O.get(t);if(E+=1,void 0!==R){if(R===E)throw new RangeError("Cyclic object value");A=!0}void 0===O.get(m)&&(E=0)}if("function"==typeof b?S=b(n,S):S instanceof Date?S=k(S):"comma"===o&&u(S)&&(S=i.maybeMap(S,function(e){return e instanceof Date?k(e):e})),null===S){if(l)return v(p&&!_?p(n,d.encoder,x,"key",w):n);S=""}if("string"==typeof(T=S)||"number"==typeof T||"boolean"==typeof T||"symbol"==typeof T||"bigint"==typeof T||i.isBuffer(S))return p?[v(_?n:p(n,d.encoder,x,"key",w))+"="+v(p(S,d.encoder,x,"value",w))]:[v(n)+"="+v(String(S))];var N,I=[];if(void 0===S)return I;if("comma"===o&&u(S))_&&p&&(S=i.maybeMap(S,function(e){return null==e?e:p(e)})),N=[{value:S.length>0?S.join(",")||null:void undefined}];else if(u(b))N=b;else{var D=Object.keys(S);N=y?D.sort(y):D}var C=h?String(n).replace(/\./g,"%2E"):String(n),M=s&&u(S)&&1===S.length?C+"[]":C;if(a&&u(S)&&0===S.length)return M+"[]";for(var P=0;P<N.length;++P){var z=N[P],L="object"==typeof z&&z&&void 0!==z.value?z.value:S[z];if(!f||null!==L){var F=g&&h?String(z).replace(/\./g,"%2E"):String(z),B=u(S)?"function"==typeof o?o(M,F):M:M+(g?"."+F:"["+F+"]");j.set(t,E);var q=r();q.set(m,j),c(I,e(L,B,o,s,a,l,f,h,"comma"===o&&_&&u(S)?null:p,b,y,g,k,w,v,_,x,q))}}return I};t.exports=function(e,t){var n,i=e,l=function(e){if(!e)return d;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!s.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,i=o.formatters[n],l=d.filter;if(("function"==typeof e.filter||u(e.filter))&&(l=e.filter),r=e.arrayFormat in a?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":d.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=void 0===e.allowDots?!0===e.encodeDotInKeys||d.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:d.allowEmptyArrays,arrayFormat:r,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:d.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:l,format:n,formatter:i,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof l.filter?i=(0,l.filter)("",i):u(l.filter)&&(n=l.filter);var f=[];if("object"!=typeof i||null===i)return"";var h=a[l.arrayFormat],m="comma"===h&&l.commaRoundTrip;n||(n=Object.keys(i)),l.sort&&n.sort(l.sort);for(var b=r(),y=0;y<n.length;++y){var g=n[y];if(null!=g){var k=i[g];l.skipNulls&&null===k||c(f,p(k,g,h,m,l.allowEmptyArrays,l.strictNullHandling,l.skipNulls,l.encodeDotInKeys,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,b))}}var w=f.join(l.delimiter),v=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?v+="utf8=%26%2310003%3B"+l.delimiter:v+="utf8=%E2%9C%93"+l.delimiter),w.length>0?v+w:""}}}},{package:"mockttp>express>qs",file:"node_modules/qs/lib/stringify.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/utils.js",{"./formats":"/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/formats.js","side-channel":"/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("./formats"),i=e("side-channel"),o=Object.prototype.hasOwnProperty,s=Array.isArray,a=i(),u=function(e,t){return a.set(e,t),e},l=function(e){return a.has(e)},c=function(e){return a.get(e)},f=function(e,t){a.set(e,t)},h=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),d=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n},m=1024;t.exports={arrayToObject:d,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},combine:function(e,t,n,r){if(l(e)){var i=c(e)+1;return e[i]=t,f(e,i),e}var o=[].concat(e,t);return o.length>n?u(d(o,{plainObjects:r}),o.length-1):o},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],o=i.obj[i.prop],a=Object.keys(o),u=0;u<a.length;++u){var l=a[u],c=o[l];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t[t.length]={obj:o,prop:l},n[n.length]=c)}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(s(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&(r[r.length]=n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var a="",u=0;u<s.length;u+=m){for(var l=s.length>=m?s.slice(u,u+m):s,c=[],f=0;f<l.length;++f){var d=l.charCodeAt(f);45===d||46===d||95===d||126===d||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||o===r.RFC1738&&(40===d||41===d)?c[c.length]=l.charAt(f):d<128?c[c.length]=h[d]:d<2048?c[c.length]=h[192|d>>6]+h[128|63&d]:d<55296||d>=57344?c[c.length]=h[224|d>>12]+h[128|d>>6&63]+h[128|63&d]:(f+=1,d=65536+((1023&d)<<10|1023&l.charCodeAt(f)),c[c.length]=h[240|d>>18]+h[128|d>>12&63]+h[128|d>>6&63]+h[128|63&d])}a+=c.join("")}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:l,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:u,maybeMap:function(e,t){if(s(e)){for(var n=[],r=0;r<e.length;r+=1)n[n.length]=t(e[r]);return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n&&"function"!=typeof n){if(s(t)){var i=t.length;if(r&&"number"==typeof r.arrayLimit&&i>r.arrayLimit)return u(d(t.concat(n),r),i);t[i]=n}else{if(!t||"object"!=typeof t)return[t,n];if(l(t)){var a=c(t)+1;t[a]=n,f(t,a)}else{if(r&&r.strictMerge)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}}return t}if(!t||"object"!=typeof t){if(l(n)){for(var h=Object.keys(n),m=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},p=0;p<h.length;p++){m[parseInt(h[p],10)+1]=n[h[p]]}return u(m,c(n)+1)}var b=[t].concat(n);return r&&"number"==typeof r.arrayLimit&&b.length>r.arrayLimit?u(d(b,r),b.length-1):b}var y=t;return s(t)&&!s(n)&&(y=d(t,r)),s(t)&&s(n)?(n.forEach(function(n,i){if(o.call(t,i)){var s=t[i];s&&"object"==typeof s&&n&&"object"==typeof n?t[i]=e(s,n,r):t[t.length]=n}else t[i]=n}),t):Object.keys(n).reduce(function(t,i){var s=n[i];if(o.call(t,i)?t[i]=e(t[i],s,r):t[i]=s,l(n)&&!l(t)&&u(t,c(n)),l(t)){var a=parseInt(i,10);String(a)===i&&a>=0&&a>c(t)&&f(t,a)}return t},y)}}}}},{package:"mockttp>express>qs",file:"node_modules/qs/lib/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/randombytes/browser.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r=65536,i=4294967295;var o=e("safe-buffer").Buffer,s=global.crypto||global.msCrypto;s&&s.getRandomValues?t.exports=function(e,t){if(e>i)throw new RangeError("requested too many random bytes");var a=o.allocUnsafe(e);if(e>0)if(e>r)for(var u=0;u<e;u+=r)s.getRandomValues(a.slice(u,u+r));else s.getRandomValues(a);if("function"==typeof t)return n.nextTick(function(){t(null,a)});return a}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this)}).call(this,e("_process"))}}},{package:"crypto-browserify>randombytes",file:"node_modules/randombytes/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/randomfill/browser.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",randombytes:"/home/runner/work/metamask-extension/metamask-extension/node_modules/randombytes/browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(t){(function(){function r(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var i=e("safe-buffer"),o=e("randombytes"),s=i.Buffer,a=i.kMaxLength,u=global.crypto||global.msCrypto,l=Math.pow(2,32)-1;function c(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>l||e<0)throw new TypeError("offset must be a uint32");if(e>a||e>t)throw new RangeError("offset out of range")}function f(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>l||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>a)throw new RangeError("buffer too small")}function h(e,n,r,i){if(t.browser){var s=e.buffer,a=new Uint8Array(s,n,r);return u.getRandomValues(a),i?void t.nextTick(function(){i(null,e)}):e}if(!i)return o(r).copy(e,n),e;o(r,function(t,r){if(t)return i(t);r.copy(e,n),i(null,e)})}u&&u.getRandomValues||!t.browser?(n.randomFill=function(e,t,n,r){if(!(s.isBuffer(e)||e instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)r=t,t=0,n=e.length;else if("function"==typeof n)r=n,n=e.length-t;else if("function"!=typeof r)throw new TypeError('"cb" argument must be a function');return c(t,e.length),f(n,t,e.length),h(e,t,n,r)},n.randomFillSync=function(e,t,n){void 0===t&&(t=0);if(!(s.isBuffer(e)||e instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');c(t,e.length),n===undefined&&(n=e.length-t);return f(n,t,e.length),h(e,t,n)}):(n.randomFill=r,n.randomFillSync=r)}).call(this)}).call(this,e("_process"))}}},{package:"crypto-browserify>randomfill",file:"node_modules/randomfill/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react-compiler-runtime/dist/index.js",{react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of a(t))l.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=s(t,i))||r.enumerable});return e},f={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(f,{$dispatcherGuard:()=>T,$makeReadOnly:()=>O,$reset:()=>S,$structuralCheck:()=>I,c:()=>w,clearRenderCounterRegistry:()=>A,renderCounterRegistry:()=>E,useRenderCounter:()=>R}),t.exports=(r=f,c(o({},"__esModule",{value:!0}),r));var h,d,m=((e,t,n)=>(n=null!=e?i(u(e)):{},c(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(e("react")),{useRef:p,useEffect:b,isValidElement:y}=m,g=null!=(h=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?h:m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.memo_cache_sentinel"),w="function"==typeof(null==(d=m.__COMPILER_RUNTIME)?void 0:d.c)?m.__COMPILER_RUNTIME.c:function(e){return m.useMemo(()=>{const t=new Array(e);for(let n=0;n<e;n++)t[n]=k;return t[k]=!0,t},[])},v={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{v[e]=()=>{throw new Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var _=null;function x(e){return g.ReactCurrentDispatcher.current=e,g.ReactCurrentDispatcher.current}v.useMemoCache=e=>{if(null==_)throw new Error("React Compiler internal invariant violation: unexpected null dispatcher");return _.useMemoCache(e)};var j=[];function T(e){const t=g.ReactCurrentDispatcher.current;if(0===e){if(j.push(t),1===j.length&&(_=t),t===v)throw new Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");x(v)}else if(1===e){const e=j.pop();if(null==e)throw new Error("React Compiler internal error: unexpected null in guard stack");0===j.length&&(_=null),x(e)}else if(2===e)j.push(t),x(_);else{if(3!==e)throw new Error("React Compiler internal error: unreachable block"+e);{const e=j.pop();if(null==e)throw new Error("React Compiler internal error: unexpected null in guard stack");x(e)}}}function S(e){for(let t=0;t<e.length;t++)e[t]=k}function O(){throw new Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var E=new Map;function A(){for(const e of E.values())e.forEach(e=>{e.count=0})}function R(e){const t=p(null);null!=t.current&&(t.current.count+=1),b(()=>{if(null==t.current){const n={count:0};!function(e,t){let n=E.get(e);null==n&&(n=new Set,E.set(e,n)),n.add(t)}(e,n),t.current=n}return()=>{null!==t.current&&function(e,t){const n=E.get(e);null!=n&&n.delete(t)}(e,t.current)}})}var N=new Set;function I(e,t,n,r,i,o){function s(e,t,s,a){const u=`${r}:${o} [${i}] ${n}${s} changed from ${e} to ${t} at depth ${a}`;N.has(u)||(N.add(u),console.error(u))}!function e(t,n,r,i){if(!(i>2)&&t!==n)if(typeof t!=typeof n)s("type "+typeof t,"type "+typeof n,r,i);else if("object"==typeof t){const o=Array.isArray(t),a=Array.isArray(n);if(null===t&&null!==n)s("null","type "+typeof n,r,i);else if(null===n)s("type "+typeof t,"null",r,i);else if(t instanceof Map)if(n instanceof Map)if(t.size!==n.size)s(`Map instance with size ${t.size}`,`Map instance with size ${n.size}`,r,i);else for(const[o,a]of t)n.has(o)?e(a,n.get(o),`${r}.get(${o})`,i+1):s(`Map instance with key ${o}`,`Map instance without key ${o}`,r,i);else s("Map instance","other value",r,i);else if(n instanceof Map)s("other value","Map instance",r,i);else if(t instanceof Set)if(n instanceof Set)if(t.size!==n.size)s(`Set instance with size ${t.size}`,`Set instance with size ${n.size}`,r,i);else for(const e of n)t.has(e)||s(`Set instance without element ${e}`,`Set instance with element ${e}`,r,i);else s("Set instance","other value",r,i);else if(n instanceof Set)s("other value","Set instance",r,i);else if(o||a)if(o!==a)s("type "+(o?"array":"object"),"type "+(a?"array":"object"),r,i);else if(t.length!==n.length)s(`array with length ${t.length}`,`array with length ${n.length}`,r,i);else for(let o=0;o<t.length;o++)e(t[o],n[o],`${r}[${o}]`,i+1);else if(y(t)||y(n))y(t)!==y(n)?s("type "+(y(t)?"React element":"object"),"type "+(y(n)?"React element":"object"),r,i):t.type!==n.type?s(`React element of type ${t.type}`,`React element of type ${n.type}`,r,i):e(t.props,n.props,`[props of ${r}]`,i+1);else{for(const e in n)e in t||s(`object without key ${e}`,`object with key ${e}`,r,i);for(const o in t)o in n?e(t[o],n[o],`${r}.${o}`,i+1):s(`object with key ${o}`,`object without key ${o}`,r,i)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(n)?isNaN(t)!==isNaN(n)&&s(""+(isNaN(t)?"NaN":"non-NaN value"),""+(isNaN(n)?"NaN":"non-NaN value"),r,i):t!==n&&s(t,n,r,i)}}(e,t,"",0)}}}},{package:"react-compiler-runtime",file:"node_modules/react-compiler-runtime/dist/index.js"}]],[],{});