/*! SES sources included by LavaMoat. Do not optimize or minify. */
;
// ses@1.15.0
(functors => options => {
  'use strict';

  const {
    Map,
    Object,
    ReferenceError,
    Reflect,
    TypeError,
  } = globalThis;
  const {
    create,
    defineProperties,
    defineProperty,
    freeze,
    fromEntries,
    getOwnPropertyDescriptors,
    getOwnPropertyNames,
    keys,
  } = Object;
  const { get, set } = Reflect;

  const {
  } = options || {};



  const cell = (name, value = undefined) => {
    const observers = [];
    return freeze({
      get: freeze(() => {
        return value;
      }),
      set: freeze((newValue) => {
        value = newValue;
        for (const observe of observers) {
          observe(value);
        }
      }),
      observe: freeze((observe) => {
        observers.push(observe);
        observe(value);
      }),
      enumerable: true,
    });
  };

  const cells = [
    {
      globalThis: cell("globalThis"),
      Array: cell("Array"),
      ArrayBuffer: cell("ArrayBuffer"),
      Date: cell("Date"),
      FinalizationRegistry: cell("FinalizationRegistry"),
      Float32Array: cell("Float32Array"),
      JSON: cell("JSON"),
      Map: cell("Map"),
      Math: cell("Math"),
      Number: cell("Number"),
      Object: cell("Object"),
      Promise: cell("Promise"),
      Proxy: cell("Proxy"),
      Reflect: cell("Reflect"),
      FERAL_REG_EXP: cell("FERAL_REG_EXP"),
      Set: cell("Set"),
      String: cell("String"),
      Symbol: cell("Symbol"),
      Uint8Array: cell("Uint8Array"),
      WeakMap: cell("WeakMap"),
      WeakSet: cell("WeakSet"),
      FERAL_ERROR: cell("FERAL_ERROR"),
      RangeError: cell("RangeError"),
      ReferenceError: cell("ReferenceError"),
      SyntaxError: cell("SyntaxError"),
      TypeError: cell("TypeError"),
      AggregateError: cell("AggregateError"),
      assign: cell("assign"),
      create: cell("create"),
      defineProperties: cell("defineProperties"),
      entries: cell("entries"),
      freeze: cell("freeze"),
      getOwnPropertyDescriptor: cell("getOwnPropertyDescriptor"),
      getOwnPropertyDescriptors: cell("getOwnPropertyDescriptors"),
      getOwnPropertyNames: cell("getOwnPropertyNames"),
      getPrototypeOf: cell("getPrototypeOf"),
      is: cell("is"),
      isFrozen: cell("isFrozen"),
      isSealed: cell("isSealed"),
      isExtensible: cell("isExtensible"),
      keys: cell("keys"),
      objectPrototype: cell("objectPrototype"),
      seal: cell("seal"),
      preventExtensions: cell("preventExtensions"),
      setPrototypeOf: cell("setPrototypeOf"),
      values: cell("values"),
      fromEntries: cell("fromEntries"),
      speciesSymbol: cell("speciesSymbol"),
      toStringTagSymbol: cell("toStringTagSymbol"),
      iteratorSymbol: cell("iteratorSymbol"),
      matchAllSymbol: cell("matchAllSymbol"),
      replaceSymbol: cell("replaceSymbol"),
      unscopablesSymbol: cell("unscopablesSymbol"),
      symbolKeyFor: cell("symbolKeyFor"),
      symbolFor: cell("symbolFor"),
      isInteger: cell("isInteger"),
      stringifyJson: cell("stringifyJson"),
      defineProperty: cell("defineProperty"),
      apply: cell("apply"),
      construct: cell("construct"),
      reflectGet: cell("reflectGet"),
      reflectGetOwnPropertyDescriptor: cell("reflectGetOwnPropertyDescriptor"),
      reflectHas: cell("reflectHas"),
      reflectIsExtensible: cell("reflectIsExtensible"),
      ownKeys: cell("ownKeys"),
      reflectPreventExtensions: cell("reflectPreventExtensions"),
      reflectSet: cell("reflectSet"),
      isArray: cell("isArray"),
      arrayPrototype: cell("arrayPrototype"),
      arrayBufferPrototype: cell("arrayBufferPrototype"),
      mapPrototype: cell("mapPrototype"),
      proxyRevocable: cell("proxyRevocable"),
      regexpPrototype: cell("regexpPrototype"),
      setPrototype: cell("setPrototype"),
      stringPrototype: cell("stringPrototype"),
      weakmapPrototype: cell("weakmapPrototype"),
      weaksetPrototype: cell("weaksetPrototype"),
      functionPrototype: cell("functionPrototype"),
      promisePrototype: cell("promisePrototype"),
      generatorPrototype: cell("generatorPrototype"),
      iteratorPrototype: cell("iteratorPrototype"),
      typedArrayPrototype: cell("typedArrayPrototype"),
      uncurryThis: cell("uncurryThis"),
      hasOwn: cell("hasOwn"),
      arrayFilter: cell("arrayFilter"),
      arrayForEach: cell("arrayForEach"),
      arrayIncludes: cell("arrayIncludes"),
      arrayJoin: cell("arrayJoin"),
      arrayMap: cell("arrayMap"),
      arrayFlatMap: cell("arrayFlatMap"),
      arrayPop: cell("arrayPop"),
      arrayPush: cell("arrayPush"),
      arraySlice: cell("arraySlice"),
      arraySome: cell("arraySome"),
      arraySort: cell("arraySort"),
      iterateArray: cell("iterateArray"),
      arrayBufferSlice: cell("arrayBufferSlice"),
      arrayBufferGetByteLength: cell("arrayBufferGetByteLength"),
      typedArraySet: cell("typedArraySet"),
      mapSet: cell("mapSet"),
      mapGet: cell("mapGet"),
      mapHas: cell("mapHas"),
      mapDelete: cell("mapDelete"),
      mapEntries: cell("mapEntries"),
      iterateMap: cell("iterateMap"),
      setAdd: cell("setAdd"),
      setDelete: cell("setDelete"),
      setForEach: cell("setForEach"),
      setHas: cell("setHas"),
      iterateSet: cell("iterateSet"),
      regexpExec: cell("regexpExec"),
      regexpReplace: cell("regexpReplace"),
      matchAllRegExp: cell("matchAllRegExp"),
      sealRegexp: cell("sealRegexp"),
      stringEndsWith: cell("stringEndsWith"),
      stringIncludes: cell("stringIncludes"),
      stringIndexOf: cell("stringIndexOf"),
      stringMatch: cell("stringMatch"),
      stringSearch: cell("stringSearch"),
      stringSlice: cell("stringSlice"),
      stringSplit: cell("stringSplit"),
      stringStartsWith: cell("stringStartsWith"),
      iterateString: cell("iterateString"),
      weakmapDelete: cell("weakmapDelete"),
      weakmapGet: cell("weakmapGet"),
      weakmapHas: cell("weakmapHas"),
      weakmapSet: cell("weakmapSet"),
      weaksetAdd: cell("weaksetAdd"),
      weaksetHas: cell("weaksetHas"),
      functionToString: cell("functionToString"),
      functionBind: cell("functionBind"),
      generatorNext: cell("generatorNext"),
      generatorThrow: cell("generatorThrow"),
      promiseAll: cell("promiseAll"),
      promiseCatch: cell("promiseCatch"),
      promiseThen: cell("promiseThen"),
      finalizationRegistryRegister: cell("finalizationRegistryRegister"),
      finalizationRegistryUnregister: cell("finalizationRegistryUnregister"),
      isPrimitive: cell("isPrimitive"),
      isError: cell("isError"),
      identity: cell("identity"),
      FERAL_EVAL: cell("FERAL_EVAL"),
      FERAL_FUNCTION: cell("FERAL_FUNCTION"),
      noEvalEvaluate: cell("noEvalEvaluate"),
      FERAL_STACK_GETTER: cell("FERAL_STACK_GETTER"),
      FERAL_STACK_SETTER: cell("FERAL_STACK_SETTER"),
      AsyncGeneratorFunctionInstance: cell("AsyncGeneratorFunctionInstance"),
    },
    {
    },
    {
      makeEnvironmentCaptor: cell("makeEnvironmentCaptor"),
      getEnvironmentOption: cell("getEnvironmentOption"),
      getEnvironmentOptionsList: cell("getEnvironmentOptionsList"),
      environmentOptionsListHas: cell("environmentOptionsListHas"),
    },
    {
    },
    {
      isBufferImmutable: cell("isBufferImmutable"),
      sliceBufferToImmutable: cell("sliceBufferToImmutable"),
      optTransferBufferToImmutable: cell("optTransferBufferToImmutable"),
    },
    {
    },
    {
    },
    {
      an: cell("an"),
      bestEffortStringify: cell("bestEffortStringify"),
      enJoin: cell("enJoin"),
    },
    {
    },
    {
    },
    {
      makeCacheMapKit: cell("makeCacheMapKit"),
    },
    {
      makeCacheMapKit: cell("makeCacheMapKit"),
    },
    {
      makeNoteLogArgsArrayKit: cell("makeNoteLogArgsArrayKit"),
    },
    {
      q: cell("q"),
      b: cell("b"),
      X: cell("X"),
      unredactedDetails: cell("unredactedDetails"),
      makeError: cell("makeError"),
      annotateError: cell("annotateError"),
      loggedErrorHandler: cell("loggedErrorHandler"),
      assert: cell("assert"),
      assertEqual: cell("assertEqual"),
      sanitizeError: cell("sanitizeError"),
      makeAssert: cell("makeAssert"),
    },
    {
      isTypedArray: cell("isTypedArray"),
      makeHardener: cell("makeHardener"),
    },
    {
      cauterizeProperty: cell("cauterizeProperty"),
    },
    {
      NativeErrors: cell("NativeErrors"),
      constantProperties: cell("constantProperties"),
      universalPropertyNames: cell("universalPropertyNames"),
      initialGlobalPropertyNames: cell("initialGlobalPropertyNames"),
      sharedGlobalPropertyNames: cell("sharedGlobalPropertyNames"),
      uniqueGlobalPropertyNames: cell("uniqueGlobalPropertyNames"),
      FunctionInstance: cell("FunctionInstance"),
      AsyncFunctionInstance: cell("AsyncFunctionInstance"),
      isAccessorPermit: cell("isAccessorPermit"),
      permitted: cell("permitted"),
    },
    {
      makeIntrinsicsCollector: cell("makeIntrinsicsCollector"),
      getGlobalIntrinsics: cell("getGlobalIntrinsics"),
    },
    {
      default: cell("default"),
    },
    {
      default: cell("default"),
    },
    {
      default: cell("default"),
    },
    {
      default: cell("default"),
    },
    {
      default: cell("default"),
    },
    {
      minEnablements: cell("minEnablements"),
      moderateEnablements: cell("moderateEnablements"),
      severeEnablements: cell("severeEnablements"),
    },
    {
      default: cell("default"),
    },
    {
      default: cell("default"),
    },
    {
      makeEvalFunction: cell("makeEvalFunction"),
    },
    {
      makeFunctionConstructor: cell("makeFunctionConstructor"),
    },
    {
      setGlobalObjectSymbolUnscopables: cell("setGlobalObjectSymbolUnscopables"),
      setGlobalObjectConstantProperties: cell("setGlobalObjectConstantProperties"),
      setGlobalObjectMutableProperties: cell("setGlobalObjectMutableProperties"),
      setGlobalObjectEvaluators: cell("setGlobalObjectEvaluators"),
    },
    {
      alwaysThrowHandler: cell("alwaysThrowHandler"),
      strictScopeTerminatorHandler: cell("strictScopeTerminatorHandler"),
      strictScopeTerminator: cell("strictScopeTerminator"),
    },
    {
      createSloppyGlobalsScopeTerminator: cell("createSloppyGlobalsScopeTerminator"),
    },
    {
      makeEvalScopeKit: cell("makeEvalScopeKit"),
    },
    {
      getSourceURL: cell("getSourceURL"),
    },
    {
      rejectHtmlComments: cell("rejectHtmlComments"),
      evadeHtmlCommentTest: cell("evadeHtmlCommentTest"),
      rejectImportExpressions: cell("rejectImportExpressions"),
      evadeImportExpressionTest: cell("evadeImportExpressionTest"),
      rejectSomeDirectEvalExpressions: cell("rejectSomeDirectEvalExpressions"),
      mandatoryTransforms: cell("mandatoryTransforms"),
      applyTransforms: cell("applyTransforms"),
      transforms: cell("transforms"),
    },
    {
      isValidIdentifierName: cell("isValidIdentifierName"),
      getScopeConstants: cell("getScopeConstants"),
    },
    {
      makeEvaluate: cell("makeEvaluate"),
    },
    {
      makeSafeEvaluator: cell("makeSafeEvaluator"),
    },
    {
      tameFunctionToString: cell("tameFunctionToString"),
    },
    {
      tameDomains: cell("tameDomains"),
    },
    {
      tameModuleSource: cell("tameModuleSource"),
    },
    {
      consoleLevelMethods: cell("consoleLevelMethods"),
      consoleOtherMethods: cell("consoleOtherMethods"),
      makeLoggingConsoleKit: cell("makeLoggingConsoleKit"),
      pumpLogToConsole: cell("pumpLogToConsole"),
      makeCausalConsole: cell("makeCausalConsole"),
      defineCausalConsoleFromLogger: cell("defineCausalConsoleFromLogger"),
      filterConsole: cell("filterConsole"),
    },
    {
      makeRejectionHandlers: cell("makeRejectionHandlers"),
    },
    {
      tameConsole: cell("tameConsole"),
    },
    {
      filterFileName: cell("filterFileName"),
      shortenCallSiteString: cell("shortenCallSiteString"),
      tameV8ErrorConstructor: cell("tameV8ErrorConstructor"),
    },
    {
      default: cell("default"),
    },
    {
      makeAlias: cell("makeAlias"),
      load: cell("load"),
      loadNow: cell("loadNow"),
    },
    {
      deferExports: cell("deferExports"),
      getDeferredExports: cell("getDeferredExports"),
    },
    {
      provideCompartmentEvaluator: cell("provideCompartmentEvaluator"),
      compartmentEvaluate: cell("compartmentEvaluate"),
    },
    {
      makeVirtualModuleInstance: cell("makeVirtualModuleInstance"),
      makeModuleInstance: cell("makeModuleInstance"),
    },
    {
      link: cell("link"),
      instantiate: cell("instantiate"),
    },
    {
      InertCompartment: cell("InertCompartment"),
      CompartmentPrototype: cell("CompartmentPrototype"),
      compartmentOptions: cell("compartmentOptions"),
      makeCompartmentConstructor: cell("makeCompartmentConstructor"),
    },
    {
      getAnonymousIntrinsics: cell("getAnonymousIntrinsics"),
    },
    {
      tameHarden: cell("tameHarden"),
    },
    {
      tameSymbolConstructor: cell("tameSymbolConstructor"),
    },
    {
      tameFauxDataProperty: cell("tameFauxDataProperty"),
      tameFauxDataProperties: cell("tameFauxDataProperties"),
    },
    {
      tameRegeneratorRuntime: cell("tameRegeneratorRuntime"),
    },
    {
      shimArrayBufferTransfer: cell("shimArrayBufferTransfer"),
    },
    {
      chooseReporter: cell("chooseReporter"),
      reportInGroup: cell("reportInGroup"),
    },
    {
      repairIntrinsics: cell("repairIntrinsics"),
    },
    {
    },
    {
    },
    {
    },
    {
    },
    {
    },
  ];

  defineProperties(cells[3], getOwnPropertyDescriptors(cells[2]));

  defineProperties(cells[11], {"makeCacheMapKit": { value: cells[10]["makeCacheMapKit"] } });

  const namespaces = cells.map(cells => freeze(create(null, {
    ...cells,
    // Make this appear like an ESM module namespace object.
    [Symbol.toStringTag]: {
      value: 'Module',
      writable: false,
      enumerable: false,
      configurable: false,
    },
  })));

  for (let index = 0; index < namespaces.length; index += 1) {
    cells[index]['*'] = cell('*', namespaces[index]);
  }

function observeImports(map, importName, importIndex) {
  for (const [name, observers] of map.get(importName)) {
    const cell = cells[importIndex][name];
    if (cell === undefined) {
      throw new ReferenceError(`Cannot import name ${name} (has ${Object.getOwnPropertyNames(cells[importIndex]).join(', ')})`);
    }
    for (const observer of observers) {
      cell.observe(observer);
    }
  }
}

  functors[0]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
      universalThis: cells[0].globalThis.set,
      Array: cells[0].Array.set,
      ArrayBuffer: cells[0].ArrayBuffer.set,
      Date: cells[0].Date.set,
      FinalizationRegistry: cells[0].FinalizationRegistry.set,
      Float32Array: cells[0].Float32Array.set,
      JSON: cells[0].JSON.set,
      Map: cells[0].Map.set,
      Math: cells[0].Math.set,
      Number: cells[0].Number.set,
      Object: cells[0].Object.set,
      Promise: cells[0].Promise.set,
      Proxy: cells[0].Proxy.set,
      Reflect: cells[0].Reflect.set,
      FERAL_REG_EXP: cells[0].FERAL_REG_EXP.set,
      Set: cells[0].Set.set,
      String: cells[0].String.set,
      Symbol: cells[0].Symbol.set,
      Uint8Array: cells[0].Uint8Array.set,
      WeakMap: cells[0].WeakMap.set,
      WeakSet: cells[0].WeakSet.set,
      FERAL_ERROR: cells[0].FERAL_ERROR.set,
      RangeError: cells[0].RangeError.set,
      ReferenceError: cells[0].ReferenceError.set,
      SyntaxError: cells[0].SyntaxError.set,
      TypeError: cells[0].TypeError.set,
      AggregateError: cells[0].AggregateError.set,
      assign: cells[0].assign.set,
      create: cells[0].create.set,
      defineProperties: cells[0].defineProperties.set,
      entries: cells[0].entries.set,
      freeze: cells[0].freeze.set,
      getOwnPropertyDescriptor: cells[0].getOwnPropertyDescriptor.set,
      getOwnPropertyDescriptors: cells[0].getOwnPropertyDescriptors.set,
      getOwnPropertyNames: cells[0].getOwnPropertyNames.set,
      getPrototypeOf: cells[0].getPrototypeOf.set,
      is: cells[0].is.set,
      isFrozen: cells[0].isFrozen.set,
      isSealed: cells[0].isSealed.set,
      isExtensible: cells[0].isExtensible.set,
      keys: cells[0].keys.set,
      objectPrototype: cells[0].objectPrototype.set,
      seal: cells[0].seal.set,
      preventExtensions: cells[0].preventExtensions.set,
      setPrototypeOf: cells[0].setPrototypeOf.set,
      values: cells[0].values.set,
      fromEntries: cells[0].fromEntries.set,
      speciesSymbol: cells[0].speciesSymbol.set,
      toStringTagSymbol: cells[0].toStringTagSymbol.set,
      iteratorSymbol: cells[0].iteratorSymbol.set,
      matchAllSymbol: cells[0].matchAllSymbol.set,
      replaceSymbol: cells[0].replaceSymbol.set,
      unscopablesSymbol: cells[0].unscopablesSymbol.set,
      symbolKeyFor: cells[0].symbolKeyFor.set,
      symbolFor: cells[0].symbolFor.set,
      isInteger: cells[0].isInteger.set,
      stringifyJson: cells[0].stringifyJson.set,
      defineProperty: cells[0].defineProperty.set,
      apply: cells[0].apply.set,
      construct: cells[0].construct.set,
      reflectGet: cells[0].reflectGet.set,
      reflectGetOwnPropertyDescriptor: cells[0].reflectGetOwnPropertyDescriptor.set,
      reflectHas: cells[0].reflectHas.set,
      reflectIsExtensible: cells[0].reflectIsExtensible.set,
      ownKeys: cells[0].ownKeys.set,
      reflectPreventExtensions: cells[0].reflectPreventExtensions.set,
      reflectSet: cells[0].reflectSet.set,
      isArray: cells[0].isArray.set,
      arrayPrototype: cells[0].arrayPrototype.set,
      arrayBufferPrototype: cells[0].arrayBufferPrototype.set,
      mapPrototype: cells[0].mapPrototype.set,
      proxyRevocable: cells[0].proxyRevocable.set,
      regexpPrototype: cells[0].regexpPrototype.set,
      setPrototype: cells[0].setPrototype.set,
      stringPrototype: cells[0].stringPrototype.set,
      weakmapPrototype: cells[0].weakmapPrototype.set,
      weaksetPrototype: cells[0].weaksetPrototype.set,
      functionPrototype: cells[0].functionPrototype.set,
      promisePrototype: cells[0].promisePrototype.set,
      generatorPrototype: cells[0].generatorPrototype.set,
      iteratorPrototype: cells[0].iteratorPrototype.set,
      typedArrayPrototype: cells[0].typedArrayPrototype.set,
      uncurryThis: cells[0].uncurryThis.set,
      hasOwn: cells[0].hasOwn.set,
      arrayFilter: cells[0].arrayFilter.set,
      arrayForEach: cells[0].arrayForEach.set,
      arrayIncludes: cells[0].arrayIncludes.set,
      arrayJoin: cells[0].arrayJoin.set,
      arrayMap: cells[0].arrayMap.set,
      arrayFlatMap: cells[0].arrayFlatMap.set,
      arrayPop: cells[0].arrayPop.set,
      arrayPush: cells[0].arrayPush.set,
      arraySlice: cells[0].arraySlice.set,
      arraySome: cells[0].arraySome.set,
      arraySort: cells[0].arraySort.set,
      iterateArray: cells[0].iterateArray.set,
      arrayBufferSlice: cells[0].arrayBufferSlice.set,
      arrayBufferGetByteLength: cells[0].arrayBufferGetByteLength.set,
      typedArraySet: cells[0].typedArraySet.set,
      mapSet: cells[0].mapSet.set,
      mapGet: cells[0].mapGet.set,
      mapHas: cells[0].mapHas.set,
      mapDelete: cells[0].mapDelete.set,
      mapEntries: cells[0].mapEntries.set,
      iterateMap: cells[0].iterateMap.set,
      setAdd: cells[0].setAdd.set,
      setDelete: cells[0].setDelete.set,
      setForEach: cells[0].setForEach.set,
      setHas: cells[0].setHas.set,
      iterateSet: cells[0].iterateSet.set,
      regexpExec: cells[0].regexpExec.set,
      regexpReplace: cells[0].regexpReplace.set,
      matchAllRegExp: cells[0].matchAllRegExp.set,
      sealRegexp: cells[0].sealRegexp.set,
      stringEndsWith: cells[0].stringEndsWith.set,
      stringIncludes: cells[0].stringIncludes.set,
      stringIndexOf: cells[0].stringIndexOf.set,
      stringMatch: cells[0].stringMatch.set,
      stringSearch: cells[0].stringSearch.set,
      stringSlice: cells[0].stringSlice.set,
      stringSplit: cells[0].stringSplit.set,
      stringStartsWith: cells[0].stringStartsWith.set,
      iterateString: cells[0].iterateString.set,
      weakmapDelete: cells[0].weakmapDelete.set,
      weakmapGet: cells[0].weakmapGet.set,
      weakmapHas: cells[0].weakmapHas.set,
      weakmapSet: cells[0].weakmapSet.set,
      weaksetAdd: cells[0].weaksetAdd.set,
      weaksetHas: cells[0].weaksetHas.set,
      functionToString: cells[0].functionToString.set,
      functionBind: cells[0].functionBind.set,
      generatorNext: cells[0].generatorNext.set,
      generatorThrow: cells[0].generatorThrow.set,
      promiseAll: cells[0].promiseAll.set,
      promiseCatch: cells[0].promiseCatch.set,
      promiseThen: cells[0].promiseThen.set,
      finalizationRegistryRegister: cells[0].finalizationRegistryRegister.set,
      finalizationRegistryUnregister: cells[0].finalizationRegistryUnregister.set,
      isPrimitive: cells[0].isPrimitive.set,
      isError: cells[0].isError.set,
      identity: cells[0].identity.set,
      FERAL_EVAL: cells[0].FERAL_EVAL.set,
      FERAL_FUNCTION: cells[0].FERAL_FUNCTION.set,
      noEvalEvaluate: cells[0].noEvalEvaluate.set,
      FERAL_STACK_GETTER: cells[0].FERAL_STACK_GETTER.set,
      FERAL_STACK_SETTER: cells[0].FERAL_STACK_SETTER.set,
      AsyncGeneratorFunctionInstance: cells[0].AsyncGeneratorFunctionInstance.set,
    },
    importMeta: {},
  });
  functors[1]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[2]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
      makeEnvironmentCaptor: cells[2].makeEnvironmentCaptor.set,
      getEnvironmentOption: cells[2].getEnvironmentOption.set,
      getEnvironmentOptionsList: cells[2].getEnvironmentOptionsList.set,
      environmentOptionsListHas: cells[2].environmentOptionsListHas.set,
    },
    importMeta: {},
  });
  functors[3]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./src/env-options.js", 2);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[4]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
      isBufferImmutable: cells[4].isBufferImmutable.set,
      sliceBufferToImmutable: cells[4].sliceBufferToImmutable.set,
      optTransferBufferToImmutable: cells[4].optTransferBufferToImmutable.set,
    },
    importMeta: {},
  });
  functors[5]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./immutable-arraybuffer-pony.js", 4);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[6]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./src/immutable-arraybuffer-shim.js", 5);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[7]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      an: cells[7].an.set,
      bestEffortStringify: cells[7].bestEffortStringify.set,
      enJoin: cells[7].enJoin.set,
    },
    importMeta: {},
  });
  functors[8]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[9]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[10]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
      makeCacheMapKit: cells[10].makeCacheMapKit.set,
    },
    importMeta: {},
  });
  functors[11]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./src/cachemap.js", 10);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[12]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "@endo/cache-map", 11);
    },
    liveVar: {
    },
    onceVar: {
      makeNoteLogArgsArrayKit: cells[12].makeNoteLogArgsArrayKit.set,
    },
    importMeta: {},
  });
  functors[13]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
      observeImports(map, "./stringify-utils.js", 7);
      observeImports(map, "./types.js", 8);
      observeImports(map, "./internal-types.js", 9);
      observeImports(map, "./note-log-args.js", 12);
    },
    liveVar: {
    },
    onceVar: {
      quote: cells[13].q.set,
      bare: cells[13].b.set,
      redactedDetails: cells[13].X.set,
      unredactedDetails: cells[13].unredactedDetails.set,
      makeError: cells[13].makeError.set,
      note: cells[13].annotateError.set,
      loggedErrorHandler: cells[13].loggedErrorHandler.set,
      assert: cells[13].assert.set,
      assertEqual: cells[13].assertEqual.set,
      sanitizeError: cells[13].sanitizeError.set,
      makeAssert: cells[13].makeAssert.set,
    },
    importMeta: {},
  });
  functors[14]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      isTypedArray: cells[14].isTypedArray.set,
      makeHardener: cells[14].makeHardener.set,
    },
    importMeta: {},
  });
  functors[15]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      cauterizeProperty: cells[15].cauterizeProperty.set,
    },
    importMeta: {},
  });
  functors[16]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      NativeErrors: cells[16].NativeErrors.set,
      constantProperties: cells[16].constantProperties.set,
      universalPropertyNames: cells[16].universalPropertyNames.set,
      initialGlobalPropertyNames: cells[16].initialGlobalPropertyNames.set,
      sharedGlobalPropertyNames: cells[16].sharedGlobalPropertyNames.set,
      uniqueGlobalPropertyNames: cells[16].uniqueGlobalPropertyNames.set,
      FunctionInstance: cells[16].FunctionInstance.set,
      AsyncFunctionInstance: cells[16].AsyncFunctionInstance.set,
      isAccessorPermit: cells[16].isAccessorPermit.set,
      permitted: cells[16].permitted.set,
    },
    importMeta: {},
  });
  functors[17]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./cauterize-property.js", 15);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./permits.js", 16);
    },
    liveVar: {
    },
    onceVar: {
      makeIntrinsicsCollector: cells[17].makeIntrinsicsCollector.set,
      getGlobalIntrinsics: cells[17].getGlobalIntrinsics.set,
    },
    importMeta: {},
  });
  functors[18]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./permits.js", 16);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./cauterize-property.js", 15);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[18].default.set,
    },
    importMeta: {},
  });
  functors[19]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[19].default.set,
    },
    importMeta: {},
  });
  functors[20]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[20].default.set,
    },
    importMeta: {},
  });
  functors[21]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[21].default.set,
    },
    importMeta: {},
  });
  functors[22]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[22].default.set,
    },
    importMeta: {},
  });
  functors[23]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      minEnablements: cells[23].minEnablements.set,
      moderateEnablements: cells[23].moderateEnablements.set,
      severeEnablements: cells[23].severeEnablements.set,
    },
    importMeta: {},
  });
  functors[24]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./enablements.js", 23);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[24].default.set,
    },
    importMeta: {},
  });
  functors[25]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[25].default.set,
    },
    importMeta: {},
  });
  functors[26]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
      makeEvalFunction: cells[26].makeEvalFunction.set,
    },
    importMeta: {},
  });
  functors[27]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      makeFunctionConstructor: cells[27].makeFunctionConstructor.set,
    },
    importMeta: {},
  });
  functors[28]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./make-eval-function.js", 26);
      observeImports(map, "./make-function-constructor.js", 27);
      observeImports(map, "./permits.js", 16);
    },
    liveVar: {
    },
    onceVar: {
      setGlobalObjectSymbolUnscopables: cells[28].setGlobalObjectSymbolUnscopables.set,
      setGlobalObjectConstantProperties: cells[28].setGlobalObjectConstantProperties.set,
      setGlobalObjectMutableProperties: cells[28].setGlobalObjectMutableProperties.set,
      setGlobalObjectEvaluators: cells[28].setGlobalObjectEvaluators.set,
    },
    importMeta: {},
  });
  functors[29]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      alwaysThrowHandler: cells[29].alwaysThrowHandler.set,
      strictScopeTerminatorHandler: cells[29].strictScopeTerminatorHandler.set,
      strictScopeTerminator: cells[29].strictScopeTerminator.set,
    },
    importMeta: {},
  });
  functors[30]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./strict-scope-terminator.js", 29);
    },
    liveVar: {
    },
    onceVar: {
      createSloppyGlobalsScopeTerminator: cells[30].createSloppyGlobalsScopeTerminator.set,
    },
    importMeta: {},
  });
  functors[31]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      makeEvalScopeKit: cells[31].makeEvalScopeKit.set,
    },
    importMeta: {},
  });
  functors[32]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      getSourceURL: cells[32].getSourceURL.set,
    },
    importMeta: {},
  });
  functors[33]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./get-source-url.js", 32);
    },
    liveVar: {
    },
    onceVar: {
      rejectHtmlComments: cells[33].rejectHtmlComments.set,
      evadeHtmlCommentTest: cells[33].evadeHtmlCommentTest.set,
      rejectImportExpressions: cells[33].rejectImportExpressions.set,
      evadeImportExpressionTest: cells[33].evadeImportExpressionTest.set,
      rejectSomeDirectEvalExpressions: cells[33].rejectSomeDirectEvalExpressions.set,
      mandatoryTransforms: cells[33].mandatoryTransforms.set,
      applyTransforms: cells[33].applyTransforms.set,
      transforms: cells[33].transforms.set,
    },
    importMeta: {},
  });
  functors[34]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      isValidIdentifierName: cells[34].isValidIdentifierName.set,
      getScopeConstants: cells[34].getScopeConstants.set,
    },
    importMeta: {},
  });
  functors[35]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./scope-constants.js", 34);
    },
    liveVar: {
    },
    onceVar: {
      makeEvaluate: cells[35].makeEvaluate.set,
    },
    importMeta: {},
  });
  functors[36]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./strict-scope-terminator.js", 29);
      observeImports(map, "./sloppy-globals-scope-terminator.js", 30);
      observeImports(map, "./eval-scope.js", 31);
      observeImports(map, "./transforms.js", 33);
      observeImports(map, "./make-evaluate.js", 35);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      makeSafeEvaluator: cells[36].makeSafeEvaluator.set,
    },
    importMeta: {},
  });
  functors[37]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameFunctionToString: cells[37].tameFunctionToString.set,
    },
    importMeta: {},
  });
  functors[38]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameDomains: cells[38].tameDomains.set,
    },
    importMeta: {},
  });
  functors[39]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameModuleSource: cells[39].tameModuleSource.set,
    },
    importMeta: {},
  });
  functors[40]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      consoleLevelMethods: cells[40].consoleLevelMethods.set,
      consoleOtherMethods: cells[40].consoleOtherMethods.set,
      makeLoggingConsoleKit: cells[40].makeLoggingConsoleKit.set,
      pumpLogToConsole: cells[40].pumpLogToConsole.set,
      makeCausalConsole: cells[40].makeCausalConsole.set,
      defineCausalConsoleFromLogger: cells[40].defineCausalConsoleFromLogger.set,
      filterConsole: cells[40].filterConsole.set,
    },
    importMeta: {},
  });
  functors[41]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      makeRejectionHandlers: cells[41].makeRejectionHandlers.set,
    },
    importMeta: {},
  });
  functors[42]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
      observeImports(map, "./assert.js", 13);
      observeImports(map, "./console.js", 40);
      observeImports(map, "./unhandled-rejection.js", 41);
    },
    liveVar: {
    },
    onceVar: {
      tameConsole: cells[42].tameConsole.set,
    },
    importMeta: {},
  });
  functors[43]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      filterFileName: cells[43].filterFileName.set,
      shortenCallSiteString: cells[43].shortenCallSiteString.set,
      tameV8ErrorConstructor: cells[43].tameV8ErrorConstructor.set,
    },
    importMeta: {},
  });
  functors[44]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
      observeImports(map, "../permits.js", 16);
      observeImports(map, "./tame-v8-error-constructor.js", 43);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[44].default.set,
    },
    importMeta: {},
  });
  functors[45]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "@endo/env-options", 3);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      makeAlias: cells[45].makeAlias.set,
      load: cells[45].load.set,
      loadNow: cells[45].loadNow.set,
    },
    importMeta: {},
  });
  functors[46]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./module-load.js", 45);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      deferExports: cells[46].deferExports.set,
      getDeferredExports: cells[46].getDeferredExports.set,
    },
    importMeta: {},
  });
  functors[47]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./transforms.js", 33);
      observeImports(map, "./make-safe-evaluator.js", 36);
    },
    liveVar: {
    },
    onceVar: {
      provideCompartmentEvaluator: cells[47].provideCompartmentEvaluator.set,
      compartmentEvaluate: cells[47].compartmentEvaluate.set,
    },
    importMeta: {},
  });
  functors[48]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./error/assert.js", 13);
      observeImports(map, "./module-proxy.js", 46);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./compartment-evaluate.js", 47);
    },
    liveVar: {
    },
    onceVar: {
      makeVirtualModuleInstance: cells[48].makeVirtualModuleInstance.set,
      makeModuleInstance: cells[48].makeModuleInstance.set,
    },
    importMeta: {},
  });
  functors[49]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./error/assert.js", 13);
      observeImports(map, "./module-instance.js", 48);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      link: cells[49].link.set,
      instantiate: cells[49].instantiate.set,
    },
    importMeta: {},
  });
  functors[50]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./global-object.js", 28);
      observeImports(map, "./error/assert.js", 13);
      observeImports(map, "./permits.js", 16);
      observeImports(map, "./module-load.js", 45);
      observeImports(map, "./module-link.js", 49);
      observeImports(map, "./module-proxy.js", 46);
      observeImports(map, "./compartment-evaluate.js", 47);
      observeImports(map, "./make-safe-evaluator.js", 36);
    },
    liveVar: {
    },
    onceVar: {
      InertCompartment: cells[50].InertCompartment.set,
      CompartmentPrototype: cells[50].CompartmentPrototype.set,
      compartmentOptions: cells[50].compartmentOptions.set,
      makeCompartmentConstructor: cells[50].makeCompartmentConstructor.set,
    },
    importMeta: {},
  });
  functors[51]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./compartment.js", 50);
    },
    liveVar: {
    },
    onceVar: {
      getAnonymousIntrinsics: cells[51].getAnonymousIntrinsics.set,
    },
    importMeta: {},
  });
  functors[52]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameHarden: cells[52].tameHarden.set,
    },
    importMeta: {},
  });
  functors[53]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameSymbolConstructor: cells[53].tameSymbolConstructor.set,
    },
    importMeta: {},
  });
  functors[54]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameFauxDataProperty: cells[54].tameFauxDataProperty.set,
      tameFauxDataProperties: cells[54].tameFauxDataProperties.set,
    },
    importMeta: {},
  });
  functors[55]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameRegeneratorRuntime: cells[55].tameRegeneratorRuntime.set,
    },
    importMeta: {},
  });
  functors[56]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      shimArrayBufferTransfer: cells[56].shimArrayBufferTransfer.set,
    },
    importMeta: {},
  });
  functors[57]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      chooseReporter: cells[57].chooseReporter.set,
      reportInGroup: cells[57].reportInGroup.set,
    },
    importMeta: {},
  });
  functors[58]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "@endo/env-options", 3);
      observeImports(map, "@endo/immutable-arraybuffer/shim.js", 6);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./make-hardener.js", 14);
      observeImports(map, "./intrinsics.js", 17);
      observeImports(map, "./permits-intrinsics.js", 18);
      observeImports(map, "./tame-function-constructors.js", 19);
      observeImports(map, "./tame-date-constructor.js", 20);
      observeImports(map, "./tame-math-object.js", 21);
      observeImports(map, "./tame-regexp-constructor.js", 22);
      observeImports(map, "./enable-property-overrides.js", 24);
      observeImports(map, "./tame-locale-methods.js", 25);
      observeImports(map, "./global-object.js", 28);
      observeImports(map, "./make-safe-evaluator.js", 36);
      observeImports(map, "./permits.js", 16);
      observeImports(map, "./tame-function-tostring.js", 37);
      observeImports(map, "./tame-domains.js", 38);
      observeImports(map, "./tame-module-source.js", 39);
      observeImports(map, "./error/tame-console.js", 42);
      observeImports(map, "./error/tame-error-constructor.js", 44);
      observeImports(map, "./error/assert.js", 13);
      observeImports(map, "./get-anonymous-intrinsics.js", 51);
      observeImports(map, "./compartment.js", 50);
      observeImports(map, "./tame-harden.js", 52);
      observeImports(map, "./tame-symbol-constructor.js", 53);
      observeImports(map, "./tame-faux-data-properties.js", 54);
      observeImports(map, "./tame-regenerator-runtime.js", 55);
      observeImports(map, "./shim-arraybuffer-transfer.js", 56);
      observeImports(map, "./reporting.js", 57);
    },
    liveVar: {
    },
    onceVar: {
      repairIntrinsics: cells[58].repairIntrinsics.set,
    },
    importMeta: {},
  });
  functors[59]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./assert-sloppy-mode.js", 1);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./lockdown.js", 58);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[60]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./compartment.js", 50);
      observeImports(map, "./tame-function-tostring.js", 37);
      observeImports(map, "./intrinsics.js", 17);
      observeImports(map, "./reporting.js", 57);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[61]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[62]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/console.js", 40);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[63]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./src/lockdown-shim.js", 59);
      observeImports(map, "./src/compartment-shim.js", 60);
      observeImports(map, "./src/assert-shim.js", 61);
      observeImports(map, "./src/console-shim.js", 62);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });

  return cells[cells.length - 1]['*'].get();
})([
// === 0. ses ./src/commons.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);/**
 * Captures native intrinsics during initialization, so vetted shims
 * (running between initialization of SES and calling lockdown) are free to
 * modify the environment without compromising the integrity of SES. For
 * example, a vetted shim can modify Object.assign because we capture and
 * export Object and assign here, then never again consult Object to get its
 * assign property.
 *
 * This pattern of use is enforced by eslint rules no-restricted-globals and
 * no-polymorphic-call.
 * We maintain the list of restricted globals in ../package.json.
 *
 * @module
 */

/* global globalThis */
/* eslint-disable no-restricted-globals */

// We cannot use globalThis as the local name since it would capture the
// lexical name.
const universalThis = globalThis;$h͏_once.universalThis(universalThis);


       const {
  Array,
  ArrayBuffer,
  Date,
  FinalizationRegistry,
  Float32Array,
  JSON,
  Map,
  Math,
  Number,
  Object,
  Promise,
  Proxy,
  Reflect,
  RegExp: FERAL_REG_EXP,
  Set,
  String,
  Symbol,
  Uint8Array,
  WeakMap,
  WeakSet,
} = globalThis;$h͏_once.Array(Array);$h͏_once.ArrayBuffer(ArrayBuffer);$h͏_once.Date(Date);$h͏_once.FinalizationRegistry(FinalizationRegistry);$h͏_once.Float32Array(Float32Array);$h͏_once.JSON(JSON);$h͏_once.Map(Map);$h͏_once.Math(Math);$h͏_once.Number(Number);$h͏_once.Object(Object);$h͏_once.Promise(Promise);$h͏_once.Proxy(Proxy);$h͏_once.Reflect(Reflect);$h͏_once.FERAL_REG_EXP(FERAL_REG_EXP);$h͏_once.Set(Set);$h͏_once.String(String);$h͏_once.Symbol(Symbol);$h͏_once.Uint8Array(Uint8Array);$h͏_once.WeakMap(WeakMap);$h͏_once.WeakSet(WeakSet);

       const {
  // The feral Error constructor is safe for internal use, but must not be
  // revealed to post-lockdown code in any compartment including the start
  // compartment since in V8 at least it bears stack inspection capabilities.
  Error: FERAL_ERROR,
  RangeError,
  ReferenceError,
  SyntaxError,
  TypeError,
  AggregateError,
} = globalThis;$h͏_once.FERAL_ERROR(FERAL_ERROR);$h͏_once.RangeError(RangeError);$h͏_once.ReferenceError(ReferenceError);$h͏_once.SyntaxError(SyntaxError);$h͏_once.TypeError(TypeError);$h͏_once.AggregateError(AggregateError);

       const {
  assign,
  create,
  defineProperties,
  entries,
  freeze,
  getOwnPropertyDescriptor,
  getOwnPropertyDescriptors,
  getOwnPropertyNames,
  getPrototypeOf,
  is,
  isFrozen,
  isSealed,
  isExtensible,
  keys,
  prototype: objectPrototype,
  seal,
  preventExtensions,
  setPrototypeOf,
  values,
  fromEntries,
} = Object;$h͏_once.assign(assign);$h͏_once.create(create);$h͏_once.defineProperties(defineProperties);$h͏_once.entries(entries);$h͏_once.freeze(freeze);$h͏_once.getOwnPropertyDescriptor(getOwnPropertyDescriptor);$h͏_once.getOwnPropertyDescriptors(getOwnPropertyDescriptors);$h͏_once.getOwnPropertyNames(getOwnPropertyNames);$h͏_once.getPrototypeOf(getPrototypeOf);$h͏_once.is(is);$h͏_once.isFrozen(isFrozen);$h͏_once.isSealed(isSealed);$h͏_once.isExtensible(isExtensible);$h͏_once.keys(keys);$h͏_once.objectPrototype(objectPrototype);$h͏_once.seal(seal);$h͏_once.preventExtensions(preventExtensions);$h͏_once.setPrototypeOf(setPrototypeOf);$h͏_once.values(values);$h͏_once.fromEntries(fromEntries);

       const {
  species: speciesSymbol,
  toStringTag: toStringTagSymbol,
  iterator: iteratorSymbol,
  matchAll: matchAllSymbol,
  replace: replaceSymbol,
  unscopables: unscopablesSymbol,
  keyFor: symbolKeyFor,
  for: symbolFor,
} = Symbol;$h͏_once.speciesSymbol(speciesSymbol);$h͏_once.toStringTagSymbol(toStringTagSymbol);$h͏_once.iteratorSymbol(iteratorSymbol);$h͏_once.matchAllSymbol(matchAllSymbol);$h͏_once.replaceSymbol(replaceSymbol);$h͏_once.unscopablesSymbol(unscopablesSymbol);$h͏_once.symbolKeyFor(symbolKeyFor);$h͏_once.symbolFor(symbolFor);

       const { isInteger } = Number;$h͏_once.isInteger(isInteger);

       const { stringify: stringifyJson } = JSON;

// Needed only for the Safari bug workaround below
$h͏_once.stringifyJson(stringifyJson);const{defineProperty:originalDefineProperty}=Object;

       const defineProperty = (object, prop, descriptor) => {
  // We used to do the following, until we had to reopen Safari bug
  // https://bugs.webkit.org/show_bug.cgi?id=222538#c17
  // Once this is fixed, we may restore it.
  // // Object.defineProperty is allowed to fail silently so we use
  // // Object.defineProperties instead.
  // return defineProperties(object, { [prop]: descriptor });

  // Instead, to workaround the Safari bug
  const result = originalDefineProperty(object, prop, descriptor);
  if (result !== object) {
    // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_DEFINE_PROPERTY_FAILED_SILENTLY.md
    throw TypeError(
      `Please report that the original defineProperty silently failed to set ${stringifyJson(
        String(prop),
      )}. (SES_DEFINE_PROPERTY_FAILED_SILENTLY)`,
    );
  }
  return result;
};$h͏_once.defineProperty(defineProperty);

       const {
  apply,
  construct,
  get: reflectGet,
  getOwnPropertyDescriptor: reflectGetOwnPropertyDescriptor,
  has: reflectHas,
  isExtensible: reflectIsExtensible,
  ownKeys,
  preventExtensions: reflectPreventExtensions,
  set: reflectSet,
} = Reflect;$h͏_once.apply(apply);$h͏_once.construct(construct);$h͏_once.reflectGet(reflectGet);$h͏_once.reflectGetOwnPropertyDescriptor(reflectGetOwnPropertyDescriptor);$h͏_once.reflectHas(reflectHas);$h͏_once.reflectIsExtensible(reflectIsExtensible);$h͏_once.ownKeys(ownKeys);$h͏_once.reflectPreventExtensions(reflectPreventExtensions);$h͏_once.reflectSet(reflectSet);

       const { isArray, prototype: arrayPrototype } = Array;$h͏_once.isArray(isArray);$h͏_once.arrayPrototype(arrayPrototype);
       const { prototype: arrayBufferPrototype } = ArrayBuffer;$h͏_once.arrayBufferPrototype(arrayBufferPrototype);
       const { prototype: mapPrototype } = Map;$h͏_once.mapPrototype(mapPrototype);
       const { revocable: proxyRevocable } = Proxy;$h͏_once.proxyRevocable(proxyRevocable);
       const { prototype: regexpPrototype } = RegExp;$h͏_once.regexpPrototype(regexpPrototype);
       const { prototype: setPrototype } = Set;$h͏_once.setPrototype(setPrototype);
       const { prototype: stringPrototype } = String;$h͏_once.stringPrototype(stringPrototype);
       const { prototype: weakmapPrototype } = WeakMap;$h͏_once.weakmapPrototype(weakmapPrototype);
       const { prototype: weaksetPrototype } = WeakSet;$h͏_once.weaksetPrototype(weaksetPrototype);
       const { prototype: functionPrototype } = Function;$h͏_once.functionPrototype(functionPrototype);
       const { prototype: promisePrototype } = Promise;$h͏_once.promisePrototype(promisePrototype);
       const { prototype: generatorPrototype } = getPrototypeOf(
  // eslint-disable-next-line no-empty-function, func-names
  function* () {},
);$h͏_once.generatorPrototype(generatorPrototype);
       const iteratorPrototype = getPrototypeOf(
  // eslint-disable-next-line @endo/no-polymorphic-call
  getPrototypeOf(arrayPrototype.values()),
);$h͏_once.iteratorPrototype(iteratorPrototype);

       const typedArrayPrototype = getPrototypeOf(Uint8Array.prototype);$h͏_once.typedArrayPrototype(typedArrayPrototype);

const { bind } = functionPrototype;

/**
 * uncurryThis()
 * Equivalent of: fn => (thisArg, ...args) => apply(fn, thisArg, args)
 *
 * See those reference for a complete explanation:
 * http://wiki.ecmascript.org/doku.php?id=conventions:safe_meta_programming
 * which only lives at
 * http://web.archive.org/web/20160805225710/http://wiki.ecmascript.org/doku.php?id=conventions:safe_meta_programming
 *
 * @type {<F extends (this: any, ...args: any[]) => any>(fn: F) => ((thisArg: ThisParameterType<F>, ...args: Parameters<F>) => ReturnType<F>)}
 */
       const uncurryThis = bind.bind(bind.call); // eslint-disable-line @endo/no-polymorphic-call

// See https://github.com/endojs/endo/issues/2930
$h͏_once.uncurryThis(uncurryThis);if(!('hasOwn'in Object)){
  const ObjectPrototypeHasOwnProperty = objectPrototype.hasOwnProperty;
  const hasOwnShim = (obj, key) => {
    if (obj === undefined || obj === null) {
      // We need to add this extra test because of differences in
      // the order in which `hasOwn` vs `hasOwnProperty` validates
      // arguments.
      throw TypeError('Cannot convert undefined or null to object');
    }
    return apply(ObjectPrototypeHasOwnProperty, obj, [key]);
  };
  defineProperty(Object, 'hasOwn', {
    value: hasOwnShim,
    writable: true,
    enumerable: false,
    configurable: true,
  });
}

       const { hasOwn } = Object;
//
$h͏_once.hasOwn(hasOwn);const arrayFilter=uncurryThis(arrayPrototype.filter);$h͏_once.arrayFilter(arrayFilter);
       const arrayForEach = uncurryThis(arrayPrototype.forEach);$h͏_once.arrayForEach(arrayForEach);
       const arrayIncludes = uncurryThis(arrayPrototype.includes);$h͏_once.arrayIncludes(arrayIncludes);
       const arrayJoin = uncurryThis(arrayPrototype.join);
/** @type {<T, U>(thisArg: readonly T[], callbackfn: (value: T, index: number, array: T[]) => U, cbThisArg?: any) => U[]} */$h͏_once.arrayJoin(arrayJoin);
       const arrayMap = /** @type {any} */ (uncurryThis(arrayPrototype.map));$h͏_once.arrayMap(arrayMap);
       const arrayFlatMap = /** @type {any} */ (
  uncurryThis(arrayPrototype.flatMap)
);$h͏_once.arrayFlatMap(arrayFlatMap);
       const arrayPop = uncurryThis(arrayPrototype.pop);
/** @type {<T>(thisArg: T[], ...items: T[]) => number} */$h͏_once.arrayPop(arrayPop);
       const arrayPush = uncurryThis(arrayPrototype.push);$h͏_once.arrayPush(arrayPush);
       const arraySlice = uncurryThis(arrayPrototype.slice);$h͏_once.arraySlice(arraySlice);
       const arraySome = uncurryThis(arrayPrototype.some);$h͏_once.arraySome(arraySome);
       const arraySort = uncurryThis(arrayPrototype.sort);$h͏_once.arraySort(arraySort);
       const iterateArray = uncurryThis(arrayPrototype[iteratorSymbol]);
//
$h͏_once.iterateArray(iterateArray);const arrayBufferSlice=uncurryThis(arrayBufferPrototype.slice);
/** @type {(b: ArrayBuffer) => number} */$h͏_once.arrayBufferSlice(arrayBufferSlice);
       const arrayBufferGetByteLength = uncurryThis(
  // @ts-expect-error we know it is there on all conforming platforms
  getOwnPropertyDescriptor(arrayBufferPrototype, 'byteLength').get,
);
//
$h͏_once.arrayBufferGetByteLength(arrayBufferGetByteLength);const typedArraySet=uncurryThis(typedArrayPrototype.set);
//
$h͏_once.typedArraySet(typedArraySet);const mapSet=uncurryThis(mapPrototype.set);$h͏_once.mapSet(mapSet);
       const mapGet = uncurryThis(mapPrototype.get);$h͏_once.mapGet(mapGet);
       const mapHas = uncurryThis(mapPrototype.has);$h͏_once.mapHas(mapHas);
       const mapDelete = uncurryThis(mapPrototype.delete);$h͏_once.mapDelete(mapDelete);
       const mapEntries = uncurryThis(mapPrototype.entries);$h͏_once.mapEntries(mapEntries);
       const iterateMap = uncurryThis(mapPrototype[iteratorSymbol]);
//
$h͏_once.iterateMap(iterateMap);const setAdd=uncurryThis(setPrototype.add);$h͏_once.setAdd(setAdd);
       const setDelete = uncurryThis(setPrototype.delete);$h͏_once.setDelete(setDelete);
       const setForEach = uncurryThis(setPrototype.forEach);$h͏_once.setForEach(setForEach);
       const setHas = uncurryThis(setPrototype.has);$h͏_once.setHas(setHas);
       const iterateSet = uncurryThis(setPrototype[iteratorSymbol]);
//
/**
 * `regexpExec` is provided in exclusion of `regexpTest`, which would be
 * vulnerable to RegExp.prototype poisoning.
 */$h͏_once.iterateSet(iterateSet);
       const regexpExec = uncurryThis(regexpPrototype.exec);
/**
 * @type { &
 *   ((thisArg: RegExp, string: string, replaceValue: string) => string) &
 *   ((thisArg: RegExp, string: string, replacer: (substring: string, ...args: any[]) => string) => string)
 * }
 */$h͏_once.regexpExec(regexpExec);
       const regexpReplace = /** @type {any} */ (
  uncurryThis(regexpPrototype[replaceSymbol])
);$h͏_once.regexpReplace(regexpReplace);
       const matchAllRegExp = uncurryThis(regexpPrototype[matchAllSymbol]);$h͏_once.matchAllRegExp(matchAllRegExp);
const { _regexpConstructor, ...regexpDescriptors } =
  getOwnPropertyDescriptors(regexpPrototype);
arrayForEach(ownKeys(regexpDescriptors), key => {
  const desc = regexpDescriptors[/** @type {any} */ (key)];
  desc.configurable = false;
  if (desc.writable) desc.writable = false;
});
/**
 * Protect a RegExp instance against RegExp.prototype poisoning ("exec",
 * "flags", Symbol.replace, etc.).
 * @type {<T extends RegExp>(regexp: T) => T}
 */
       const sealRegexp = regexp =>
  seal(defineProperties(regexp, regexpDescriptors));
//
$h͏_once.sealRegexp(sealRegexp);const stringEndsWith=uncurryThis(stringPrototype.endsWith);$h͏_once.stringEndsWith(stringEndsWith);
       const stringIncludes = uncurryThis(stringPrototype.includes);$h͏_once.stringIncludes(stringIncludes);
       const stringIndexOf = uncurryThis(stringPrototype.indexOf);$h͏_once.stringIndexOf(stringIndexOf);
       const stringMatch = uncurryThis(stringPrototype.match);
// `stringReplace` is intentionally omitted because it would be vulnerable to
// RegExp.prototype poisoning; use `regexpReplace(re, str, replacer)` instead
// (and `sealRegexp` on its regular expressions).
$h͏_once.stringMatch(stringMatch);const stringSearch=uncurryThis(stringPrototype.search);$h͏_once.stringSearch(stringSearch);
       const stringSlice = uncurryThis(stringPrototype.slice);
/**
 * `stringSplit` should only be used with a string separator; regular
 * expressions are vulnerable to RegExp.prototype poisoning.
 * @type {(thisArg: string, separator: string, limit?: number) => string[]}
 */$h͏_once.stringSlice(stringSlice);
       const stringSplit = /** @type {any} */ (
  uncurryThis(stringPrototype.split)
);$h͏_once.stringSplit(stringSplit);
       const stringStartsWith = uncurryThis(stringPrototype.startsWith);$h͏_once.stringStartsWith(stringStartsWith);
       const iterateString = uncurryThis(stringPrototype[iteratorSymbol]);
//
$h͏_once.iterateString(iterateString);const weakmapDelete=uncurryThis(weakmapPrototype.delete);
/** @type {<K extends {}, V>(thisArg: WeakMap<K, V>, ...args: Parameters<WeakMap<K,V>['get']>) => ReturnType<WeakMap<K,V>['get']>} */$h͏_once.weakmapDelete(weakmapDelete);
       const weakmapGet = uncurryThis(weakmapPrototype.get);$h͏_once.weakmapGet(weakmapGet);
       const weakmapHas = uncurryThis(weakmapPrototype.has);$h͏_once.weakmapHas(weakmapHas);
       const weakmapSet = uncurryThis(weakmapPrototype.set);
//
$h͏_once.weakmapSet(weakmapSet);const weaksetAdd=uncurryThis(weaksetPrototype.add);$h͏_once.weaksetAdd(weaksetAdd);
       const weaksetHas = uncurryThis(weaksetPrototype.has);
//
$h͏_once.weaksetHas(weaksetHas);const functionToString=uncurryThis(functionPrototype.toString);$h͏_once.functionToString(functionToString);
       const functionBind = uncurryThis(bind);
//
$h͏_once.functionBind(functionBind);const generatorNext=uncurryThis(generatorPrototype.next);$h͏_once.generatorNext(generatorNext);
       const generatorThrow = uncurryThis(generatorPrototype.throw);
//
$h͏_once.generatorThrow(generatorThrow);const{all}=Promise;
       const promiseAll = promises => apply(all, Promise, [promises]);$h͏_once.promiseAll(promiseAll);
       const promiseCatch = uncurryThis(promisePrototype.catch);
/** @type {<T, TResult1 = T, TResult2 = never>(thisArg: T, onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null) => Promise<TResult1 | TResult2>} */$h͏_once.promiseCatch(promiseCatch);
       const promiseThen = /** @type {any} */ (
  uncurryThis(promisePrototype.then)
);
//
$h͏_once.promiseThen(promiseThen);const finalizationRegistryRegister=
  FinalizationRegistry && uncurryThis(FinalizationRegistry.prototype.register);$h͏_once.finalizationRegistryRegister(finalizationRegistryRegister);
       const finalizationRegistryUnregister =
  FinalizationRegistry &&
  uncurryThis(FinalizationRegistry.prototype.unregister);

/**
 * TODO Consolidate with `isPrimitive` that's currently in `@endo/pass-style`.
 * Layering constraints make this tricky, which is why we haven't yet figured
 * out how to do this.
 *
 * @type {(val: unknown) => val is (undefined
 * | null
 * | boolean
 * | number
 * | bigint
 * | string
 * | symbol)}
 */$h͏_once.finalizationRegistryUnregister(finalizationRegistryUnregister);
       const isPrimitive = val =>
  !val || (typeof val !== 'object' && typeof val !== 'function');

/**
 * isError tests whether an object inherits from the intrinsic
 * `Error.prototype`.
 * We capture the original error constructor as FERAL_ERROR to provide a clear
 * signal for reviewers that we are handling an object with excess authority,
 * like stack trace inspection, that we are carefully hiding from client code.
 * Checking instanceof happens to be safe, but to avoid uttering FERAL_ERROR
 * for such a trivial case outside commons.js, we provide a utility function.
 *
 * @param {any} value
 */$h͏_once.isPrimitive(isPrimitive);
       const isError = value => value instanceof FERAL_ERROR;

/**
 * @template T
 * @param {T} x
 */$h͏_once.isError(isError);
       const identity = x => x;

// The original unsafe untamed eval function, which must not escape.
// Sample at module initialization time, which is before lockdown can
// repair it.  Use it only to build powerless abstractions.
// eslint-disable-next-line no-eval
$h͏_once.identity(identity);const FERAL_EVAL=eval;

// The original unsafe untamed Function constructor, which must not escape.
// Sample at module initialization time, which is before lockdown can
// repair it.  Use it only to build powerless abstractions.
$h͏_once.FERAL_EVAL(FERAL_EVAL);const FERAL_FUNCTION=Function;$h͏_once.FERAL_FUNCTION(FERAL_FUNCTION);

       const noEvalEvaluate = () => {
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_NO_EVAL.md
  throw TypeError('Cannot eval with evalTaming set to "no-eval" (SES_NO_EVAL)');
};

// ////////////////// FERAL_STACK_GETTER FERAL_STACK_SETTER ////////////////////

// The error repair mechanism is very similar to code in
// pass-style/src/error.js and these implementations should be kept in sync.

/**
 * We gratuitiously construct a TypeError instance using syntax in order to
 * obviate the possibility that code that ran before SES (for which we are
 * irreducable vulnerable) may have replaced the global TypeError constructor.
 * We treat the nature of this error instance as the source of truth for the
 * nature of runtime constructed errors on the platform, particularly whether
 * such errors will have an own "stack" property with getters and setters.
 * At time of writing (2025) we know of no comparable mechanism for obtaining a
 * host-generated base Error instance, but we corroborate the nature of the
 * global Error constructor's instances and refuse to initialize SES in an
 * environment where the syntactic TypeError and global Error produce
 * inconsistent "stack" properties.
 * @returns {TypeError}
 */$h͏_once.noEvalEvaluate(noEvalEvaluate);
const makeTypeError = () => {
  try {
    // @ts-expect-error deliberate TypeError
    null.null;
    throw TypeError('obligatory'); // To convince the type flow inferrence.
  } catch (error) {
    return error;
  }
};

const errorStackDesc = getOwnPropertyDescriptor(Error('obligatory'), 'stack');
const typeErrorStackDesc = getOwnPropertyDescriptor(makeTypeError(), 'stack');

let feralStackGetter;
let feralStackSetter;
if (typeErrorStackDesc && typeErrorStackDesc.get) {
  // We should only encounter this case on v8 because of its problematic
  // error own stack accessor behavior.
  // Note that FF/SpiderMonkey, Moddable/XS, and the error stack proposal
  // all inherit a stack accessor property from Error.prototype, which is
  // great. That case needs no heroics to secure.
  if (
    // In the v8 case as we understand it, all errors have an own stack
    // accessor property, but within the same realm, all these accessor
    // properties have the same getter and have the same setter.
    // This is therefore the case that we repair.
    errorStackDesc &&
    typeof typeErrorStackDesc.get === 'function' &&
    typeErrorStackDesc.get === errorStackDesc.get &&
    typeof typeErrorStackDesc.set === 'function' &&
    typeErrorStackDesc.set === errorStackDesc.set
  ) {
    // Otherwise, we have own stack accessor properties that are outside
    // our expectations, that therefore need to be understood better
    // before we know how to repair them.
    feralStackGetter = freeze(typeErrorStackDesc.get);
    feralStackSetter = freeze(typeErrorStackDesc.set);
  } else {
    // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_UNEXPECTED_ERROR_OWN_STACK_ACCESSOR.md
    throw TypeError(
      'Unexpected Error own stack accessor functions (SES_UNEXPECTED_ERROR_OWN_STACK_ACCESSOR)',
    );
  }
}

/**
 * If on a v8 with the problematic error own stack accessor behavior,
 * `FERAL_STACK_GETTER` will be the shared getter of all those accessors
 * and `FERAL_STACK_SETTER` will be the shared setter. On any platform
 * without this problem, `FERAL_STACK_GETTER` and `FERAL_STACK_SETTER` are
 * both `undefined`.
 *
 * @type {(() => any) | undefined}
 */
       const FERAL_STACK_GETTER = feralStackGetter;

/**
 * If on a v8 with the problematic error own stack accessor behavior,
 * `FERAL_STACK_GETTER` will be the shared getter of all those accessors
 * and `FERAL_STACK_SETTER` will be the shared setter. On any platform
 * without this problem, `FERAL_STACK_GETTER` and `FERAL_STACK_SETTER` are
 * both `undefined`.
 *
 * @type {((newValue: any) => void) | undefined}
 */$h͏_once.FERAL_STACK_GETTER(FERAL_STACK_GETTER);
       const FERAL_STACK_SETTER = feralStackSetter;$h͏_once.FERAL_STACK_SETTER(FERAL_STACK_SETTER);

const getAsyncGeneratorFunctionInstance = () => {
  // Test for async generator function syntax support.
  try {
    // Wrapping one in an new Function lets the `hermesc` binary file
    // parse the Metro js bundle without SyntaxError, to generate the
    // optimised Hermes bytecode bundle, when `gradlew` is called to
    // assemble the release build APK for React Native prod Android apps.
    // Delaying the error until runtime lets us customise lockdown behaviour.
    return new FERAL_FUNCTION(
      'return (async function* AsyncGeneratorFunctionInstance() {})',
    )();
  } catch (error) {
    // Note: `Error.prototype.jsEngine` is only set by React Native runtime, not Hermes:
    // https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/hermes/executor/HermesExecutorFactory.cpp#L224-L230
    if (error.name === 'SyntaxError') {
      // Swallows Hermes error `async generators are unsupported` at runtime.
      // Note: `console` is not a JS built-in, so Hermes engine throws:
      // Uncaught ReferenceError: Property 'console' doesn't exist
      // See: https://github.com/facebook/hermes/issues/675
      // However React Native provides a `console` implementation when setting up error handling:
      // https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/Core/InitializeCore.js
      return undefined;
    } else if (error.name === 'EvalError') {
      // eslint-disable-next-line no-empty-function
      return async function* AsyncGeneratorFunctionInstance() {};
    } else {
      throw error;
    }
  }
};

/**
 * If the platform supports async generator functions, this will be an
 * async generator function instance. Otherwise, it will be `undefined`.
 *
 * @type {AsyncGeneratorFunction | undefined}
 */
       const AsyncGeneratorFunctionInstance =
  getAsyncGeneratorFunctionInstance();$h͏_once.AsyncGeneratorFunctionInstance(AsyncGeneratorFunctionInstance);
})()
,
// === 1. ses ./src/assert-sloppy-mode.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError;$h͏_imports([["./commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]]]]]);

/** getThis returns globalThis in sloppy mode or undefined in strict mode. */
function getThis() {
  return this;
}

if (getThis()) {
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_NO_SLOPPY.md
  throw TypeError(`SES failed to initialize, sloppy mode (SES_NO_SLOPPY)`);
}
})()
,
// === 2. env-options ./src/env-options.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);/* global globalThis */
// @ts-check

// `@endo/env-options` needs to be imported quite early, and so should
// avoid importing from ses or anything that depends on ses.

// /////////////////////////////////////////////////////////////////////////////
// Prelude of cheap good - enough imitations of things we'd use or
// do differently if we could depend on ses

// eslint-disable-next-line no-restricted-globals
const localThis = globalThis;

const { Object, Reflect, Array, String, JSON, Error } = localThis;
const { freeze } = Object;
const { apply } = Reflect;

// Should be equivalent to the one in ses' commons.js even though it
// uses the other technique.
const uncurryThis =
  fn =>
  (receiver, ...args) =>
    apply(fn, receiver, args);
const arrayPush = uncurryThis(Array.prototype.push);
const arrayIncludes = uncurryThis(Array.prototype.includes);
const stringSplit = uncurryThis(String.prototype.split);

const q = JSON.stringify;

const Fail = (literals, ...args) => {
  let msg = literals[0];
  for (let i = 0; i < args.length; i += 1) {
    msg = `${msg}${args[i]}${literals[i + 1]}`;
  }
  throw Error(msg);
};

// end prelude
// /////////////////////////////////////////////////////////////////////////////

/**
 * `makeEnvironmentCaptor` provides a mechanism for getting environment
 * variables, if they are needed, and a way to catalog the names of all
 * the environment variables that were captured.
 *
 * @param {object} aGlobal
 * @param {boolean} [dropNames] Defaults to false. If true, don't track
 * names used.
 */
       const makeEnvironmentCaptor = (aGlobal, dropNames = false) => {
  /** @type {string[]} */
  const capturedEnvironmentOptionNames = [];

  /**
   * Gets an environment option by name and returns the option value or the
   * given default.
   *
   * @param {string} optionName
   * @param {string} defaultSetting
   * @param {string[]} [optOtherValues]
   * If provided, the option value must be included or match `defaultSetting`.
   * @returns {string}
   */
  const getEnvironmentOption = (
    optionName,
    defaultSetting,
    optOtherValues = undefined,
  ) => {
    typeof optionName === 'string' ||
      Fail`Environment option name ${q(optionName)} must be a string.`;
    typeof defaultSetting === 'string' ||
      Fail`Environment option default setting ${q(
        defaultSetting,
      )} must be a string.`;

    /** @type {string} */
    let setting = defaultSetting;
    const globalProcess = aGlobal.process || undefined;
    const globalEnv =
      (typeof globalProcess === 'object' && globalProcess.env) || undefined;
    if (typeof globalEnv === 'object') {
      if (optionName in globalEnv) {
        if (!dropNames) {
          arrayPush(capturedEnvironmentOptionNames, optionName);
        }
        const optionValue = globalEnv[optionName];
        // eslint-disable-next-line @endo/no-polymorphic-call
        typeof optionValue === 'string' ||
          Fail`Environment option named ${q(
            optionName,
          )}, if present, must have a corresponding string value, got ${q(
            optionValue,
          )}`;
        setting = optionValue;
      }
    }
    optOtherValues === undefined ||
      setting === defaultSetting ||
      arrayIncludes(optOtherValues, setting) ||
      Fail`Unrecognized ${q(optionName)} value ${q(
        setting,
      )}. Expected one of ${q([defaultSetting, ...optOtherValues])}`;
    return setting;
  };
  freeze(getEnvironmentOption);

  /**
   * @template {string} [T=string]
   * @param {string} optionName
   * @returns {T[]}
   */
  const getEnvironmentOptionsList = optionName => {
    const option = getEnvironmentOption(optionName, '');
    return freeze(option === '' ? [] : stringSplit(option, ','));
  };
  freeze(getEnvironmentOptionsList);

  /**
   * @template {string} [T=string]
   * @param {string} optionName
   * @param {T} element
   * @returns {boolean}
   */
  const environmentOptionsListHas = (optionName, element) =>
    arrayIncludes(getEnvironmentOptionsList(optionName), element);

  const getCapturedEnvironmentOptionNames = () => {
    return freeze([...capturedEnvironmentOptionNames]);
  };
  freeze(getCapturedEnvironmentOptionNames);

  return freeze({
    getEnvironmentOption,
    getEnvironmentOptionsList,
    environmentOptionsListHas,
    getCapturedEnvironmentOptionNames,
  });
};$h͏_once.makeEnvironmentCaptor(makeEnvironmentCaptor);
freeze(makeEnvironmentCaptor);

/**
 * For the simple case, where the global in question is `globalThis` and no
 * reporting of option names is desired.
 */
       const {
  getEnvironmentOption,
  getEnvironmentOptionsList,
  environmentOptionsListHas,
} = makeEnvironmentCaptor(localThis, true);$h͏_once.getEnvironmentOption(getEnvironmentOption);$h͏_once.getEnvironmentOptionsList(getEnvironmentOptionsList);$h͏_once.environmentOptionsListHas(environmentOptionsListHas);
})()
,
// === 3. env-options ./index.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([["./src/env-options.js", []]]);
})()
,
// === 4. immutable-arraybuffer ./src/immutable-arraybuffer-pony.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);/* global globalThis */

const {
  ArrayBuffer,
  Object,
  Reflect,
  Symbol,
  TypeError,
  Uint8Array,
  WeakMap,
  // Capture structuredClone before it can be scuttled.
  structuredClone: optStructuredClone
  // eslint-disable-next-line no-restricted-globals
} = globalThis;

const { freeze, defineProperty, getPrototypeOf, getOwnPropertyDescriptor } =
  Object;
const { apply, ownKeys } = Reflect;
const { toStringTag } = Symbol;

const { prototype: arrayBufferPrototype } = ArrayBuffer;
const { slice, transfer: optTransfer } = arrayBufferPrototype;
// @ts-expect-error TS doesn't know it'll be there
const { get: arrayBufferByteLength } = getOwnPropertyDescriptor(
  arrayBufferPrototype,
  'byteLength',
);

const typedArrayPrototype = getPrototypeOf(Uint8Array.prototype);
const { set: uint8ArraySet } = typedArrayPrototype;
// @ts-expect-error TS doesn't know it'll be there
const { get: uint8ArrayBuffer } = getOwnPropertyDescriptor(
  typedArrayPrototype,
  'buffer',
);

/**
 * Copy a range of values from a genuine ArrayBuffer exotic object into a new
 * ArrayBuffer.
 *
 * @param {ArrayBuffer} realBuffer
 * @param {number} [start]
 * @param {number} [end]
 * @returns {ArrayBuffer}
 */
const arrayBufferSlice = (realBuffer, start = undefined, end = undefined) =>
  apply(slice, realBuffer, [start, end]);

/**
 * Move the contents of a genuine ArrayBuffer exotic object into a new fresh
 * ArrayBuffer and detach the original source.
 * We can only do this on platforms that support `structuredClone` or
 * `ArrayBuffer.prototype.transfer`.
 * On other platforms, we can still emulate
 * `ArrayBuffer.prototoype.sliceToImmutable`, but not
 * `ArrayBuffer.prototype.transferToImmutable`.
 * Currently, these known-deficient platforms are
 * - Hermes
 * - Node.js <= 16
 * - Apparently some versions of JavaScriptCore that are still of concern.
 *
 * @param {ArrayBuffer} arrayBuffer
 * @returns {ArrayBuffer}
 */
let optArrayBufferTransfer;

if (optTransfer) {
  optArrayBufferTransfer = arrayBuffer => apply(optTransfer, arrayBuffer, []);
} else if (optStructuredClone) {
  optArrayBufferTransfer = arrayBuffer => {
    // Hopefully, a zero-length slice is cheap, but still enforces that
    // `arrayBuffer` is a genuine `ArrayBuffer` exotic object.
    arrayBufferSlice(arrayBuffer, 0, 0);
    return optStructuredClone(arrayBuffer, {
      transfer: [arrayBuffer],
    });
  };
} else {
  // Assignment is redundant, but remains for clarity.
  optArrayBufferTransfer = undefined;
}

/**
 * If we could use classes with private fields everywhere, this would have
 * been a `this.#buffer` private field on an `ImmutableArrayBufferInternal`
 * class. But we cannot do so on Hermes. So, instead, we
 * emulate the `this.#buffer` private field, including its use as a brand check.
 * Maps from all and only emulated Immutable ArrayBuffers to real ArrayBuffers.
 *
 * @type {Pick<WeakMap<ArrayBuffer, ArrayBuffer>, 'get' | 'has' | 'set'>}
 */
const buffers = new WeakMap();
// Avoid post-hoc prototype lookups.
for (const methodName of ['get', 'has', 'set']) {
  defineProperty(buffers, methodName, { value: buffers[methodName] });
}
const getBuffer = immuAB => {
  // Safe because this WeakMap owns its get method.
  // eslint-disable-next-line @endo/no-polymorphic-call
  const result = buffers.get(immuAB);
  if (result) {
    return result;
  }
  throw TypeError('Not an emulated Immutable ArrayBuffer');
};

// Omits `constructor` so `Array.prototype.constructor` is inherited.
const ImmutableArrayBufferInternalPrototype = {
  __proto__: arrayBufferPrototype,
  get byteLength() {
    return apply(arrayBufferByteLength, getBuffer(this), []);
  },
  get detached() {
    getBuffer(this); // shim brand check
    return false;
  },
  get maxByteLength() {
    // Not underlying maxByteLength, which is irrelevant
    return apply(arrayBufferByteLength, getBuffer(this), []);
  },
  get resizable() {
    getBuffer(this); // shim brand check
    return false;
  },
  get immutable() {
    getBuffer(this); // shim brand check
    return true;
  },
  slice(start = undefined, end = undefined) {
    return arrayBufferSlice(getBuffer(this), start, end);
  },
  sliceToImmutable(start = undefined, end = undefined) {
    // eslint-disable-next-line no-use-before-define
    return sliceBufferToImmutable(getBuffer(this), start, end);
  },
  resize(_newByteLength = undefined) {
    getBuffer(this); // shim brand check
    throw TypeError('Cannot resize an immutable ArrayBuffer');
  },
  transfer(_newLength = undefined) {
    getBuffer(this); // shim brand check
    throw TypeError('Cannot detach an immutable ArrayBuffer');
  },
  transferToFixedLength(_newLength = undefined) {
    getBuffer(this); // shim brand check
    throw TypeError('Cannot detach an immutable ArrayBuffer');
  },
  transferToImmutable(_newLength = undefined) {
    getBuffer(this); // shim brand check
    throw TypeError('Cannot detach an immutable ArrayBuffer');
  },
  /**
   * See https://github.com/endojs/endo/tree/master/packages/immutable-arraybuffer#purposeful-violation
   */
  [toStringTag]: 'ImmutableArrayBuffer',
};

// Better fidelity emulation of a class prototype
for (const key of ownKeys(ImmutableArrayBufferInternalPrototype)) {
  defineProperty(ImmutableArrayBufferInternalPrototype, key, {
    enumerable: false,
  });
}

/**
 * Emulates what would have been the encapsulated `ImmutableArrayBufferInternal`
 * class constructor. This function takes the `realBuffer` which its
 * result encapsulates. Security demands that this result has exclusive access
 * to the `realBuffer` it is given, which its callers must ensure.
 *
 * @param {ArrayBuffer} realBuffer
 * @returns {ArrayBuffer}
 */
const makeImmutableArrayBufferInternal = realBuffer => {
  const result = /** @type {ArrayBuffer} */ (
    /** @type {unknown} */ ({
      __proto__: ImmutableArrayBufferInternalPrototype,
    })
  );
  // Safe because this WeakMap owns its set method.
  // eslint-disable-next-line @endo/no-polymorphic-call
  buffers.set(result, realBuffer);
  return result;
};
// Since `makeImmutableArrayBufferInternal` MUST not escape,
// this `freeze` is just belt-and-suspenders.
freeze(makeImmutableArrayBufferInternal);

/**
 * @param {ArrayBuffer} buffer
 * @returns {boolean}
 */
// eslint-disable-next-line @endo/no-polymorphic-call
       const isBufferImmutable = buffer => buffers.has(buffer);

/**
 * Creates an immutable slice of the given buffer.
 * @param {ArrayBuffer} buffer The original buffer.
 * @param {number} [start] The start index.
 * @param {number} [end] The end index.
 * @returns {ArrayBuffer} The sliced immutable ArrayBuffer.
 */$h͏_once.isBufferImmutable(isBufferImmutable);
       const sliceBufferToImmutable = (
  buffer,
  start = undefined,
  end = undefined,
) => {
  // Safe because this WeakMap owns its get method.
  // eslint-disable-next-line @endo/no-polymorphic-call
  let realBuffer = buffers.get(buffer);
  if (realBuffer === undefined) {
    realBuffer = buffer;
  }
  return makeImmutableArrayBufferInternal(
    arrayBufferSlice(realBuffer, start, end),
  );
};$h͏_once.sliceBufferToImmutable(sliceBufferToImmutable);

let transferBufferToImmutable;
if (optArrayBufferTransfer) {
  /**
   * Transfer the contents to a new Immutable ArrayBuffer
   *
   * @param {ArrayBuffer} buffer The original buffer.
   * @param {number} [newLength] The start index.
   * @returns {ArrayBuffer}
   */
  transferBufferToImmutable = (buffer, newLength = undefined) => {
    if (newLength === undefined) {
      buffer = optArrayBufferTransfer(buffer);
    } else if (optTransfer) {
      buffer = apply(optTransfer, buffer, [newLength]);
    } else {
      buffer = optArrayBufferTransfer(buffer);
      const oldLength = buffer.byteLength;
      // eslint-disable-next-line @endo/restrict-comparison-operands
      if (newLength <= oldLength) {
        buffer = arrayBufferSlice(buffer, 0, newLength);
      } else {
        const oldTA = new Uint8Array(buffer);
        const newTA = new Uint8Array(newLength);
        apply(uint8ArraySet, newTA, [oldTA]);
        buffer = apply(uint8ArrayBuffer, newTA, []);
      }
    }
    const result = makeImmutableArrayBufferInternal(buffer);
    return /** @type {ArrayBuffer} */ (/** @type {unknown} */ (result));
  };
} else {
  transferBufferToImmutable = undefined;
}

       const optTransferBufferToImmutable = transferBufferToImmutable;$h͏_once.optTransferBufferToImmutable(optTransferBufferToImmutable);
})()
,
// === 5. immutable-arraybuffer ./src/immutable-arraybuffer-shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let isBufferImmutable,sliceBufferToImmutable,optXferBuf2Immu;$h͏_imports([["./immutable-arraybuffer-pony.js", [["isBufferImmutable",[$h͏_a => (isBufferImmutable = $h͏_a)]],["sliceBufferToImmutable",[$h͏_a => (sliceBufferToImmutable = $h͏_a)]],["optTransferBufferToImmutable",[$h͏_a => (optXferBuf2Immu = $h͏_a)]]]]]);







const {
  ArrayBuffer,
  JSON,
  Object,
  Reflect
  // eslint-disable-next-line no-restricted-globals
} = globalThis;

// Even though the imported one is not exported by the pony as a live binding,
// TS doesn't know that,
// so it cannot do its normal flow-based inference. By making and using a local
// copy, no problem.
const optTransferBufferToImmutable = optXferBuf2Immu;

const { getOwnPropertyDescriptors, defineProperties, defineProperty } = Object;
const { ownKeys } = Reflect;
const { prototype: arrayBufferPrototype } = ArrayBuffer;
const { stringify } = JSON;

const arrayBufferMethods = {
  /**
   * Creates an immutable slice of the given buffer.
   *
   * @this {ArrayBuffer} buffer The original buffer.
   * @param {number} [start] The start index.
   * @param {number} [end] The end index.
   * @returns {ArrayBuffer} The sliced immutable ArrayBuffer.
   */
  sliceToImmutable(start = undefined, end = undefined) {
    return sliceBufferToImmutable(this, start, end);
  },

  /**
   * @this {ArrayBuffer}
   */
  get immutable() {
    return isBufferImmutable(this);
  },

  ...(optTransferBufferToImmutable
    ? {
        /**
         * Transfer the contents to a new immutable ArrayBuffer
         *
         * @this {ArrayBuffer} buffer The original buffer.
         * @param {number} [newLength] The start index.
         * @returns {ArrayBuffer} The new immutable ArrayBuffer.
         */
        transferToImmutable(newLength = undefined) {
          return optTransferBufferToImmutable(this, newLength);
        },
      }
    : {}),
};

// Better fidelity emulation of a class prototype
for (const key of ownKeys(arrayBufferMethods)) {
  defineProperty(arrayBufferMethods, key, {
    enumerable: false,
  });
}

// Modern shim practice frowns on conditional installation, at least for
// proposals prior to stage 3. This is so changes to the proposal since
// an old shim was distributed don't need to worry about the proposal
// breaking old code depending on the old shim. Thus, if we detect that
// we're about to overwrite a prior installation, we simply issue this
// warning and continue.
//
// TODO, if the primordials are frozen after the prior implementation, such as
// by `lockdown`, then this precludes overwriting as expected. However, for
// this case, the following warning text will be confusing.
//
// Allowing polymorphic calls because these occur during initialization.
// eslint-disable-next-line @endo/no-polymorphic-call
const overwrites = ownKeys(arrayBufferMethods).filter(
  key => key in arrayBufferPrototype,
);
if (overwrites.length > 0) {
  // eslint-disable-next-line @endo/no-polymorphic-call
  console.warn(
    `About to overwrite ArrayBuffer.prototype properties ${stringify(overwrites)}`,
  );
}

defineProperties(
  arrayBufferPrototype,
  getOwnPropertyDescriptors(arrayBufferMethods),
);
})()
,
// === 6. immutable-arraybuffer ./shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([["./src/immutable-arraybuffer-shim.js", []]]);
})()
,
// === 7. ses ./src/error/stringify-utils.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Set,String,isArray,arrayJoin,arraySlice,arraySort,arrayMap,keys,fromEntries,freeze,is,isError,setAdd,setHas,stringIncludes,stringStartsWith,stringifyJson,toStringTagSymbol;$h͏_imports([["../commons.js", [["Set",[$h͏_a => (Set = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["isArray",[$h͏_a => (isArray = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["arraySlice",[$h͏_a => (arraySlice = $h͏_a)]],["arraySort",[$h͏_a => (arraySort = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["keys",[$h͏_a => (keys = $h͏_a)]],["fromEntries",[$h͏_a => (fromEntries = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["is",[$h͏_a => (is = $h͏_a)]],["isError",[$h͏_a => (isError = $h͏_a)]],["setAdd",[$h͏_a => (setAdd = $h͏_a)]],["setHas",[$h͏_a => (setHas = $h͏_a)]],["stringIncludes",[$h͏_a => (stringIncludes = $h͏_a)]],["stringStartsWith",[$h͏_a => (stringStartsWith = $h͏_a)]],["stringifyJson",[$h͏_a => (stringifyJson = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]]]]]);






















/** @import {Stringable} from '../../types.js' */

/**
 * Joins English terms with commas and an optional conjunction.
 *
 * @param {(string | Stringable)[]} terms
 * @param {"and" | "or"} conjunction
 */
       const enJoin = (terms, conjunction) => {
  if (terms.length === 0) {
    return '(none)';
  } else if (terms.length === 1) {
    return terms[0];
  } else if (terms.length === 2) {
    const [first, second] = terms;
    return `${first} ${conjunction} ${second}`;
  } else {
    return `${arrayJoin(arraySlice(terms, 0, -1), ', ')}, ${conjunction} ${
      terms[terms.length - 1]
    }`;
  }
};

/**
 * Prepend the correct indefinite article onto a noun, typically a typeof
 * result, e.g., "an object" vs. "a number"
 *
 * @param {string} str The noun to prepend
 * @returns {string} The noun prepended with a/an
 */$h͏_once.enJoin(enJoin);
const an = str => {
  str = `${str}`;
  if (str.length >= 1 && stringIncludes('aeiouAEIOU', str[0])) {
    return `an ${str}`;
  }
  return `a ${str}`;
};$h͏_once.an(an);
freeze(an);


/**
 * Like `JSON.stringify` but does not blow up if given a cycle or a bigint.
 * This is not
 * intended to be a serialization to support any useful unserialization,
 * or any programmatic use of the resulting string. The string is intended
 * *only* for showing a human under benign conditions, in order to be
 * informative enough for some
 * logging purposes. As such, this `bestEffortStringify` has an
 * imprecise specification and may change over time.
 *
 * The current `bestEffortStringify` possibly emits too many "seen"
 * markings: Not only for cycles, but also for repeated subtrees by
 * object identity.
 *
 * As a best effort only for diagnostic interpretation by humans,
 * `bestEffortStringify` also turns various cases that normal
 * `JSON.stringify` skips or errors on, like `undefined` or bigints,
 * into strings that convey their meaning. To distinguish this from
 * strings in the input, these synthesized strings always begin and
 * end with square brackets. To distinguish those strings from an
 * input string with square brackets, and input string that starts
 * with an open square bracket `[` is itself placed in square brackets.
 *
 * @param {any} payload
 * @param {(string|number)=} spaces
 * @returns {string}
 */
const bestEffortStringify = (payload, spaces = undefined) => {
  const seenSet = new Set();
  const replacer = (_, val) => {
    switch (typeof val) {
      case 'object': {
        if (val === null) {
          return null;
        }
        if (setHas(seenSet, val)) {
          return '[Seen]';
        }
        setAdd(seenSet, val);
        if (isError(val)) {
          return `[${val.name}: ${val.message}]`;
        }
        if (toStringTagSymbol in val) {
          // For the built-ins that have or inherit a `Symbol.toStringTag`-named
          // property, most of them inherit the default `toString` method,
          // which will print in a similar manner: `"[object Foo]"` vs
          // `"[Foo]"`. The exceptions are
          //    * `Symbol.prototype`, `BigInt.prototype`, `String.prototype`
          //      which don't matter to us since we handle primitives
          //      separately and we don't care about primitive wrapper objects.
          //    * TODO
          //      `Date.prototype`, `TypedArray.prototype`.
          //      Hmmm, we probably should make special cases for these. We're
          //      not using these yet, so it's not urgent. But others will run
          //      into these.
          //
          // Once #2018 is closed, the only objects in our code that have or
          // inherit a `Symbol.toStringTag`-named property are remotables
          // or their remote presences.
          // This printing will do a good job for these without
          // violating abstraction layering. This behavior makes sense
          // purely in terms of JavaScript concepts. That's some of the
          // motivation for choosing that representation of remotables
          // and their remote presences in the first place.
          return `[${val[toStringTagSymbol]}]`;
        }
        if (isArray(val)) {
          return val;
        }
        const names = keys(val);
        if (names.length < 2) {
          return val;
        }
        let sorted = true;
        for (let i = 1; i < names.length; i += 1) {
          if (names[i - 1] >= names[i]) {
            sorted = false;
            break;
          }
        }
        if (sorted) {
          return val;
        }
        arraySort(names);
        const entries = arrayMap(names, name => [name, val[name]]);
        return fromEntries(entries);
      }
      case 'function': {
        return `[Function ${val.name || '<anon>'}]`;
      }
      case 'string': {
        if (stringStartsWith(val, '[')) {
          return `[${val}]`;
        }
        return val;
      }
      case 'undefined':
      case 'symbol': {
        return `[${String(val)}]`;
      }
      case 'bigint': {
        return `[${val}n]`;
      }
      case 'number': {
        if (is(val, NaN)) {
          return '[NaN]';
        } else if (val === Infinity) {
          return '[Infinity]';
        } else if (val === -Infinity) {
          return '[-Infinity]';
        }
        return val;
      }
      default: {
        return val;
      }
    }
  };
  try {
    return stringifyJson(payload, replacer, spaces);
  } catch (_err) {
    // Don't do anything more fancy here if there is any
    // chance that might throw, unless you surround that
    // with another try-catch-recovery. For example,
    // the caught thing might be a proxy or other exotic
    // object rather than an error. The proxy might throw
    // whenever it is possible for it to.
    return '[Something that failed to stringify]';
  }
};$h͏_once.bestEffortStringify(bestEffortStringify);
freeze(bestEffortStringify);
})()
,
// === 8. ses ./src/error/types.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);// @ts-check

/** @import {GenericErrorConstructor, AssertMakeErrorOptions, DetailsToken, Stringable} from '../../types.js' */

/**
 * @typedef {object} VirtualConsole
 * @property {Console['debug']} debug
 * @property {Console['log']} log
 * @property {Console['info']} info
 * @property {Console['warn']} warn
 * @property {Console['error']} error
 *
 * @property {Console['trace']} trace
 * @property {Console['dirxml']} dirxml
 * @property {Console['group']} group
 * @property {Console['groupCollapsed']} groupCollapsed
 *
 * @property {Console['assert']} assert
 * @property {Console['timeLog']} timeLog
 *
 * @property {Console['clear']} clear
 * @property {Console['count']} count
 * @property {Console['countReset']} countReset
 * @property {Console['dir']} dir
 * @property {Console['groupEnd']} groupEnd
 *
 * @property {Console['table']} table
 * @property {Console['time']} time
 * @property {Console['timeEnd']} timeEnd
 * @property {Console['timeStamp']} timeStamp
 */

/* This is deliberately *not* JSDoc, it is a regular comment.
 *
 * TODO: We'd like to add the following properties to the above
 * VirtualConsole, but they currently cause conflicts where
 * some Typescript implementations don't have these properties
 * on the Console type.
 *
 * @property {Console['profile']} profile
 * @property {Console['profileEnd']} profileEnd
 */

/**
 * @typedef {'debug' | 'log' | 'info' | 'warn' | 'error'} LogSeverity
 */

/**
 * @typedef ConsoleFilter
 * @property {(severity: LogSeverity) => boolean} canLog
 */

/**
 * @callback FilterConsole
 * @param {VirtualConsole} baseConsole
 * @param {ConsoleFilter} filter
 * @param {string} [topic]
 * @returns {VirtualConsole}
 */
})()
,
// === 9. ses ./src/error/internal-types.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);// @ts-check

/**
 * @import {VirtualConsole} from './types.js'
 */

/**
 * @typedef {readonly any[]} LogArgs
 *
 * This is an array suitable to be used as arguments of a console
 * level message *after* the format string argument. It is the result of
 * a `details` template string and consists of alternating literal strings
 * and substitution values, starting with a literal string. At least that
 * first literal string is always present.
 */

/**
 * @callback NoteCallback
 *
 * @param {Error} error
 * @param {LogArgs} noteLogArgs
 * @returns {void}
 */

/**
 * @callback GetStackString
 * @param {Error} error
 * @returns {string=}
 */

/**
 * @typedef {object} LoggedErrorHandler
 *
 * Used to parameterize `makeCausalConsole` to give it access to potentially
 * hidden information to augment the logging of errors.
 *
 * @property {GetStackString} getStackString
 * @property {(error: Error) => string} tagError
 * @property {() => void} resetErrorTagNum for debugging purposes only
 * @property {(error: Error) => (LogArgs | undefined)} getMessageLogArgs
 * @property {(error: Error) => (LogArgs | undefined)} takeMessageLogArgs
 * @property {(error: Error, callback?: NoteCallback) => LogArgs[] } takeNoteLogArgsArray
 */

// /////////////////////////////////////////////////////////////////////////////

/**
 * @typedef {readonly [string, ...any[]]} LogRecord
 */

/**
 * @typedef {object} LoggingConsoleKit
 * @property {VirtualConsole} loggingConsole
 * @property {() => readonly LogRecord[]} takeLog
 */

/**
 * @typedef {object} MakeLoggingConsoleKitOptions
 * @property {boolean=} shouldResetForDebugging
 */

/**
 * @callback MakeLoggingConsoleKit
 *
 * A logging console just accumulates the contents of all permitted calls,
 * making them available to callers of `takeLog()`. Calling `takeLog()`
 * consumes these, so later calls to `takeLog()` will only provide a log of
 * calls that have happened since then.
 *
 * @param {LoggedErrorHandler} loggedErrorHandler
 * @param {MakeLoggingConsoleKitOptions=} options
 * @returns {LoggingConsoleKit}
 */

/**
 * @typedef {{
 *   NOTE: 'ERROR_NOTE:',
 *   MESSAGE: 'ERROR_MESSAGE:',
 *   CAUSE: 'cause:',
 *   ERRORS: 'errors:',
 * }} ErrorInfo
 */

/**
 * @typedef {ErrorInfo[keyof ErrorInfo]} ErrorInfoKind
 */

/**
 * @callback MakeCausalConsole
 *
 * Makes a causal console wrapper of a `baseConsole`, where the causal console
 * calls methods of the `loggedErrorHandler` to customize how it handles logged
 * errors.
 *
 * @param {VirtualConsole | undefined} baseConsole
 * @param {LoggedErrorHandler} loggedErrorHandler
 * @returns {VirtualConsole | undefined}
 */
})()
,
// === 10. cache-map ./src/cachemap.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);// @ts-check
/* global globalThis */
/* eslint-disable @endo/no-polymorphic-call */

// eslint-disable-next-line no-restricted-globals
const { Error, TypeError, WeakMap } = globalThis;
// eslint-disable-next-line no-restricted-globals
const { parse, stringify } = JSON;
// eslint-disable-next-line no-restricted-globals
const { isSafeInteger } = Number;
// eslint-disable-next-line no-restricted-globals
const { freeze } = Object;
// eslint-disable-next-line no-restricted-globals
const { toStringTag: toStringTagSymbol } = Symbol;

// eslint-disable-next-line no-restricted-globals
const UNKNOWN_KEY = Symbol('UNKNOWN_KEY');

/**
 * @template T
 * @typedef {T extends object ? { -readonly [K in keyof T]: T[K] } : never} WritableDeep
 *   Intentionally limited to local needs; refer to
 *   https://github.com/sindresorhus/type-fest if insufficient.
 */

/**
 * @template T
 * @param {T} value
 * @param {<U,>(name: string, value: U) => U} [reviver]
 * @returns {WritableDeep<T>}
 */
const deepCopyJsonable = (value, reviver) => {
  const encoded = stringify(value);
  const decoded = parse(encoded, reviver);
  return decoded;
};

const freezingReviver = (_name, value) => freeze(value);

/** @type {<T,>(value: T) => T} */
const deepCopyAndFreezeJsonable = value =>
  deepCopyJsonable(value, freezingReviver);

/**
 * A cache of bounded size, implementing the WeakMap interface but holding keys
 * strongly if created with a non-weak `makeMap` option of
 * {@link makeCacheMapKit}.
 *
 * @template K
 * @template V
 * @typedef {Pick<Map<K, V>, Exclude<keyof WeakMap<WeakKey, *>, 'set'>> & {set: (key: K, value: V) => WeakMapAPI<K, V>}} WeakMapAPI
 */

/**
 * @template K
 * @template V
 * @typedef {WeakMapAPI<K, V> & ({clear?: undefined} | Pick<Map<K, V>, 'clear'>)} SingleEntryMap
 */

/**
 * A cell of a doubly-linked ring (circular list) for a cache map.
 * Instances are not frozen, and so should be closely encapsulated.
 *
 * @template K
 * @template V
 * @typedef {object} CacheMapCell
 * @property {number} id for debugging
 * @property {CacheMapCell<K, V>} next
 * @property {CacheMapCell<K, V>} prev
 * @property {SingleEntryMap<K, V>} data
 */

/**
 * @template K
 * @template V
 * @param {CacheMapCell<K, V>} prev
 * @param {number} id
 * @param {SingleEntryMap<K, V>} data
 * @returns {CacheMapCell<K, V>}
 */
const appendNewCell = (prev, id, data) => {
  const next = prev?.next;
  const cell = { id, next, prev, data };
  prev.next = cell;
  next.prev = cell;
  return cell;
};

/**
 * @template K
 * @template V
 * @param {CacheMapCell<K, V>} cell
 * @param {CacheMapCell<K, V>} prev
 * @param {CacheMapCell<K, V>} [next]
 */
const moveCellAfter = (cell, prev, next = prev.next) => {
  if (cell === prev || cell === next) return; // already in position

  // Splice out cell.
  const { prev: oldPrev, next: oldNext } = cell;
  oldPrev.next = oldNext;
  oldNext.prev = oldPrev;

  // Splice in cell after prev.
  cell.prev = prev;
  cell.next = next;
  prev.next = cell;
  next.prev = cell;
};

/**
 * Clear out a cell to prepare it for future use. Its map is preserved when
 * possible, but must instead be replaced if the associated key is not known.
 *
 * @template K
 * @template V
 * @param {CacheMapCell<K, V>} cell
 * @param {K | UNKNOWN_KEY} oldKey
 * @param {() => SingleEntryMap<K, V>} [makeMap] required when the key is unknown
 */
const resetCell = (cell, oldKey, makeMap) => {
  if (oldKey !== UNKNOWN_KEY) {
    cell.data.delete(oldKey);
    return;
  }
  if (cell.data.clear) {
    cell.data.clear();
    return;
  }
  // WeakMap instances must be replaced when the key is unknown.
  if (!makeMap) {
    throw Error('internal: makeMap is required with UNKNOWN_KEY');
  }
  cell.data = makeMap();
};

const zeroMetrics = freeze({
  totalQueryCount: 0,
  totalHitCount: 0
  // TODO?
  // * method-specific counts
  // * liveTouchStats/evictedTouchStats { count, sum, mean, min, max }
  //   * p50/p90/p95/p99 via Ben-Haim/Tom-Tov streaming histograms
});
/** @typedef {typeof zeroMetrics} CacheMapMetrics */

/**
 * @template {MapConstructor | WeakMapConstructor} [C=WeakMapConstructor]
 * @template {Parameters<InstanceType<C>['set']>[0]} [K=Parameters<InstanceType<C>['set']>[0]]
 * @template {unknown} [V=unknown]
 * @typedef {object} CacheMapKit
 * @property {WeakMapAPI<K, V>} cache
 * @property {() => CacheMapMetrics} getMetrics
 */

/**
 * Create a bounded-size cache having WeakMap-compatible
 * `has`/`get`/`set`/`delete` methods, capable of supporting SES (specifically
 * `assert` error notes).
 * Key validity, comparison, and referential strength are controlled by the
 * `makeMap` option, which defaults to `WeakMap` but can be set to any producer
 * of objects with those methods (e.g., using `Map` allows for arbitrary keys
 * which will be strongly held).
 * Cache eviction policy is not currently configurable, but strives for a hit
 * ratio at least as good as
 * [LRU](https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU) (e.g., it
 * might be
 * [CLOCK](https://en.wikipedia.org/wiki/Page_replacement_algorithm#Clock)
 * or [SIEVE](https://sievecache.com/)).
 *
 * @template {MapConstructor | WeakMapConstructor} [C=WeakMapConstructor]
 * @template {Parameters<InstanceType<C>['set']>[0]} [K=Parameters<InstanceType<C>['set']>[0]]
 * @template {unknown} [V=unknown]
 * @param {number} capacity
 * @param {object} [options]
 * @param {C | (() => SingleEntryMap<K, V>)} [options.makeMap]
 * @returns {CacheMapKit<C, K, V>}
 */
       const makeCacheMapKit = (capacity, options = {}) => {
  if (!isSafeInteger(capacity) || capacity < 0) {
    throw TypeError(
      'capacity must be a non-negative safe integer number <= 2**53 - 1',
    );
  }

  /**
   * @template V
   * @type {<V,>() => SingleEntryMap<K, V>}
   */
  const makeMap = (MaybeCtor => {
    try {
      // @ts-expect-error
      MaybeCtor();
      return /** @type {any} */ (MaybeCtor);
    } catch (err) {
      // @ts-expect-error
      const constructNewMap = () => new MaybeCtor();
      return constructNewMap;
    }
  })(options.makeMap ?? WeakMap);
  const tag =
    /** @type {any} */ (makeMap()).clear === undefined
      ? 'WeakCacheMap'
      : 'CacheMap';

  /** @type {WeakMapAPI<K, CacheMapCell<K, V>>} */
  const keyToCell = makeMap();
  // @ts-expect-error this sentinel head is special
  const head = /** @type {CacheMapCell<K, V>} */ ({
    id: 0,
    // next and prev are established below as self-referential.
    next: undefined,
    prev: undefined,
    data: {
      has: () => {
        throw Error('internal: sentinel head cell has no data');
      },
    },
  });
  head.next = head;
  head.prev = head;
  let cellCount = 0;

  const metrics = deepCopyJsonable(zeroMetrics);
  const getMetrics = () => deepCopyAndFreezeJsonable(metrics);

  /**
   * Touching moves a cell to first position so LRU eviction can target the last
   * cell (`head.prev`).
   *
   * @type {(key: K) => (CacheMapCell<K, V> | undefined)}
   */
  const touchKey = key => {
    metrics.totalQueryCount += 1;
    const cell = keyToCell.get(key);
    if (!cell?.data.has(key)) return undefined;

    metrics.totalHitCount += 1;
    moveCellAfter(cell, head);
    return cell;
  };

  /** @type {WeakMapAPI<K, V>['has']} */
  const has = key => {
    const cell = touchKey(key);
    return cell !== undefined;
  };
  freeze(has);

  /** @type {WeakMapAPI<K, V>['get']} */
  const get = key => {
    const cell = touchKey(key);
    return cell?.data.get(key);
  };
  freeze(get);

  /** @type {WeakMapAPI<K, V>['set']} */
  const set = (key, value) => {
    let cell = touchKey(key);
    if (cell) {
      cell.data.set(key, value);
      // eslint-disable-next-line no-use-before-define
      return implementation;
    }

    if (cellCount < capacity) {
      // Add and use a new cell at first position.
      cell = appendNewCell(head, cellCount + 1, makeMap());
      cellCount += 1; // intentionally follows cell creation
      cell.data.set(key, value);
    } else if (capacity > 0) {
      // Reuse the current tail, moving it to first position.
      cell = head.prev;
      resetCell(/** @type {any} */ (cell), UNKNOWN_KEY, makeMap);
      cell.data.set(key, value);
      moveCellAfter(cell, head);
    }

    // Don't establish this entry until prior steps succeed.
    if (cell) keyToCell.set(key, cell);

    // eslint-disable-next-line no-use-before-define
    return implementation;
  };
  freeze(set);

  // "delete" is a keyword.
  const { delete: deleteEntry } = {
    /** @type {WeakMapAPI<K, V>['delete']} */
    delete: key => {
      const cell = keyToCell.get(key);
      if (!cell?.data.has(key)) {
        keyToCell.delete(key);
        return false;
      }
      moveCellAfter(cell, head.prev);
      resetCell(cell, key);
      keyToCell.delete(key);
      return true;
    },
  };
  freeze(deleteEntry);

  const implementation = /** @type {WeakMapAPI<K, V>} */ ({
    has,
    get,
    set,
    delete: deleteEntry,
    // eslint-disable-next-line jsdoc/check-types
    [/** @type {typeof Symbol.toStringTag} */ (toStringTagSymbol)]: tag,
  });
  freeze(implementation);

  const kit = { cache: implementation, getMetrics };
  return freeze(kit);
};$h͏_once.makeCacheMapKit(makeCacheMapKit);
freeze(makeCacheMapKit);
})()
,
// === 11. cache-map ./index.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([["./src/cachemap.js", []]]);
})()
,
// === 12. ses ./src/error/note-log-args.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let makeCacheMapKit;$h͏_imports([["@endo/cache-map", [["makeCacheMapKit",[$h͏_a => (makeCacheMapKit = $h͏_a)]]]]]);





/**
 * @import {CacheMapKit} from '@endo/cache-map';
 * @import {LogArgs} from './internal-types.js';
 */

const { freeze } = Object;
const { isSafeInteger } = Number;

const defaultLoggedErrorsBudget = 1000;
const defaultArgsPerErrorBudget = 100;

/**
 * @param {number} [errorsBudget]
 * @param {number} [argsPerErrorBudget]
 */
       const makeNoteLogArgsArrayKit = (
  errorsBudget = defaultLoggedErrorsBudget,
  argsPerErrorBudget = defaultArgsPerErrorBudget,
) => {
  if (!isSafeInteger(argsPerErrorBudget) || argsPerErrorBudget < 1) {
    throw TypeError(
      'argsPerErrorBudget must be a safe positive integer number',
    );
  }

  /**
   * Maps from an error to an array of log args, where each log args is
   * remembered as an annotation on that error. This can be used, for example,
   * to keep track of additional causes of the error. The elements of any
   * log args may include errors which are associated with further annotations.
   * An augmented console, like the causal console of `console.js`, could
   * then retrieve the graph of such annotations.
   *
   * @type {CacheMapKit<WeakMapConstructor, Error, LogArgs[]>}
   */
  const { cache: noteLogArgsArrayMap } = makeCacheMapKit(errorsBudget);

  /**
   * @param {Error} error
   * @param {LogArgs} logArgs
   */
  const addLogArgs = (error, logArgs) => {
    const logArgsArray = noteLogArgsArrayMap.get(error);
    if (logArgsArray !== undefined) {
      if (logArgsArray.length >= argsPerErrorBudget) {
        logArgsArray.shift();
      }
      logArgsArray.push(logArgs);
    } else {
      noteLogArgsArrayMap.set(error, [logArgs]);
    }
  };
  freeze(addLogArgs);

  /**
   * @param {Error} error
   * @returns {LogArgs[] | undefined}
   */
  const takeLogArgsArray = error => {
    const result = noteLogArgsArrayMap.get(error);
    noteLogArgsArrayMap.delete(error);
    return result;
  };
  freeze(takeLogArgsArray);

  return freeze({
    addLogArgs,
    takeLogArgsArray,
  });
};$h͏_once.makeNoteLogArgsArrayKit(makeNoteLogArgsArrayKit);
freeze(makeNoteLogArgsArrayKit);
})()
,
// === 13. ses ./src/error/assert.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let RangeError,TypeError,WeakMap,arrayJoin,arrayMap,arrayPop,arrayPush,assign,freeze,defineProperty,globalThis,is,isError,regexpExec,regexpReplace,sealRegexp,stringIndexOf,stringSlice,stringStartsWith,weakmapDelete,weakmapGet,weakmapHas,weakmapSet,AggregateError,getOwnPropertyDescriptors,ownKeys,create,objectPrototype,hasOwn,an,bestEffortStringify,makeNoteLogArgsArrayKit;$h͏_imports([["../commons.js", [["RangeError",[$h͏_a => (RangeError = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["WeakMap",[$h͏_a => (WeakMap = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["arrayPop",[$h͏_a => (arrayPop = $h͏_a)]],["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["is",[$h͏_a => (is = $h͏_a)]],["isError",[$h͏_a => (isError = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]],["regexpReplace",[$h͏_a => (regexpReplace = $h͏_a)]],["sealRegexp",[$h͏_a => (sealRegexp = $h͏_a)]],["stringIndexOf",[$h͏_a => (stringIndexOf = $h͏_a)]],["stringSlice",[$h͏_a => (stringSlice = $h͏_a)]],["stringStartsWith",[$h͏_a => (stringStartsWith = $h͏_a)]],["weakmapDelete",[$h͏_a => (weakmapDelete = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["weakmapHas",[$h͏_a => (weakmapHas = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]],["AggregateError",[$h͏_a => (AggregateError = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["objectPrototype",[$h͏_a => (objectPrototype = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]]]],["./stringify-utils.js", [["an",[$h͏_a => (an = $h͏_a)]],["bestEffortStringify",[$h͏_a => (bestEffortStringify = $h͏_a)]]]],["./types.js", []],["./internal-types.js", []],["./note-log-args.js", [["makeNoteLogArgsArrayKit",[$h͏_a => (makeNoteLogArgsArrayKit = $h͏_a)]]]]]);
















































/**
 * @import {BaseAssert, Assert, AssertionFunctions, AssertionUtilities, DeprecatedAssertionUtilities, Stringable, DetailsToken, MakeAssert} from '../../types.js';
 * @import {LogArgs, NoteCallback, LoggedErrorHandler} from './internal-types.js';
 */

// For internal debugging purposes, uncomment
// const internalDebugConsole = console;

// /////////////////////////////////////////////////////////////////////////////

/**
 * Maps the result of a `quote` or `bare` call back to its input value.
 *
 * @type {WeakMap<Stringable, any>}
 */
const declassifiers = new WeakMap();

/** @type {AssertionUtilities['quote']} */
const quote = (value, spaces = undefined) => {
  const result = freeze({
    toString: freeze(() => bestEffortStringify(value, spaces)),
  });
  weakmapSet(declassifiers, result, value);
  return result;
};$h͏_once.quote(quote);
freeze(quote);

const canBeBare = freeze(/^[\w:-]( ?[\w:-])*$/);

/**
 * @type {AssertionUtilities['bare']}
 */
const bare = (text, spaces = undefined) => {
  if (typeof text !== 'string' || !regexpExec(canBeBare, text)) {
    return quote(text, spaces);
  }
  const result = freeze({
    toString: freeze(() => text),
  });
  weakmapSet(declassifiers, result, text);
  return result;
};$h͏_once.bare(bare);
freeze(bare);

// /////////////////////////////////////////////////////////////////////////////

/**
 * @typedef {{ template: TemplateStringsArray | string[], args: any[] }} DetailsParts
 *
 * The contents of a `details` template literal tag: literal strings (always at
 * least one) and arbitrary substitution values from in between them.
 *
 * Unquoted substitution values are sensitive (and are redacted in error
 * `message` strings), so a DetailsPart must not leak outside of this file.
 */

/**
 * Maps the result of a `details` tagged template literal back to a record of
 * that template literal's contents.
 *
 * @type {WeakMap<DetailsToken, DetailsParts>}
 */
const hiddenDetailsMap = new WeakMap();

/**
 * Construct an error message string from `details` template literal contents,
 * replacing unquoted substitution values with redactions.
 *
 * @param {DetailsParts} hiddenDetails
 * @returns {string}
 */
const getMessageString = ({ template, args }) => {
  const parts = [template[0]];
  for (let i = 0; i < args.length; i += 1) {
    const arg = args[i];
    let argStr;
    if (weakmapHas(declassifiers, arg)) {
      argStr = `${arg}`;
    } else if (isError(arg)) {
      argStr = `(${an(arg.name)})`;
    } else {
      argStr = `(${an(typeof arg)})`;
    }
    arrayPush(parts, argStr, template[i + 1]);
  }
  return arrayJoin(parts, '');
};

/**
 * Define `toString` behavior for DetailsToken. To minimize the overhead of
 * creating new instances, we do this with an inherited `this`-sensitive method,
 * even though we normally avoid such sensitivity. To protect the method from
 * inappropriate application, it verifies that `this` is registered in
 * `redactedDetails` before doing interesting work.
 *
 * The behavior must not reveal anything redacted, so we use `getMessageString`
 * to return the same value as the message for a thrown assertion-failure error.
 */
const DetailsTokenProto = freeze({
  toString() {
    const hiddenDetails = weakmapGet(hiddenDetailsMap, this);
    if (hiddenDetails === undefined) {
      return '[Not a DetailsToken]';
    }
    return getMessageString(hiddenDetails);
  },
});
freeze(DetailsTokenProto.toString);

/**
 * Normally this is the function exported as `assert.details` and often
 * spelled `X`. However, if the `{errorTaming: 'unsafe'}` or
 * `{errorTaming: 'unsafe-debug'}` option is
 * given to `lockdown`, then `unredactedDetails` is used instead.
 *
 * There are some unconditional uses of `redactedDetails` in this module. All
 * of them should be uses where the template literal has no redacted (unquoted)
 * substitution values. In those cases, `redactedDetails` is equivalent to
 * `unredactedDetails`.
 *
 * @type {AssertionUtilities['details']}
 */
const redactedDetails = (template, ...args) => {
  // In case the result of this call is never used, perform as little processing
  // as possible here to keep things fast.
  const detailsToken = freeze({ __proto__: DetailsTokenProto });
  weakmapSet(hiddenDetailsMap, detailsToken, { template, args });
  return /** @type {DetailsToken} */ (/** @type {unknown} */ (detailsToken));
};$h͏_once.redactedDetails(redactedDetails);
freeze(redactedDetails);

/**
 * `unredactedDetails` is like `details` except that it does not redact
 * anything. It acts like `details` would act if all substitution values
 * were wrapped with the `quote` function above (the function normally
 * spelled `q`). If the `{errorTaming: 'unsafe'}`
 * or `{errorTaming: 'unsafe-debug'}` option is given to
 * `lockdown`, then the lockdown-shim arranges for the global `assert` to be
 * one whose `details` property is `unredactedDetails`.
 * This setting optimizes the debugging and testing experience at the price
 * of safety. `unredactedDetails` also sacrifices the speed of `details`,
 * which is usually fine in debugging and testing.
 *
 * @type {AssertionUtilities['details']}
 */
const unredactedDetails = (template, ...args) => {
  args = arrayMap(args, arg =>
    weakmapHas(declassifiers, arg) ? arg : quote(arg),
  );
  return redactedDetails(template, ...args);
};$h͏_once.unredactedDetails(unredactedDetails);
freeze(unredactedDetails);


const leadingSpacePattern = sealRegexp(/^ /);
const trailingSpacePattern = sealRegexp(/ $/);

/**
 * Get arguments suitable for a console logger function (e.g., `console.error`)
 * from `details` template literal contents, unquoting quoted substitution
 * values.
 *
 * @param {DetailsParts} hiddenDetails
 * @returns {LogArgs}
 */
const getLogArgs = ({ template, args }) => {
  const logArgs = [template[0]];
  for (let i = 0; i < args.length; i += 1) {
    let arg = args[i];
    if (weakmapHas(declassifiers, arg)) {
      arg = weakmapGet(declassifiers, arg);
    }
    // Remove substitution-adjacent spaces from template fixed-string parts
    // (since console logging inserts its own argument-separating spaces).
    const prevLiteralPart = regexpReplace(
      trailingSpacePattern,
      arrayPop(logArgs) || '',
      '',
    );
    if (prevLiteralPart !== '') {
      arrayPush(logArgs, prevLiteralPart);
    }
    const nextLiteralPart = regexpReplace(
      leadingSpacePattern,
      template[i + 1],
      '',
    );
    arrayPush(logArgs, arg, nextLiteralPart);
  }
  if (logArgs[logArgs.length - 1] === '') {
    arrayPop(logArgs);
  }
  return logArgs;
};

/**
 * Maps from an error object to arguments suitable for a privileged console
 * logger function such as `console.error`, including values that may be
 * redacted in the error's `message`.
 *
 * @type {WeakMap<Error, LogArgs>}
 */
const hiddenMessageLogArgs = new WeakMap();

// So each error tag will be unique.
let errorTagNum = 0;

/**
 * @type {WeakMap<Error, string>}
 */
const errorTags = new WeakMap();

/**
 * @param {Error} err
 * @param {string=} optErrorName
 * @returns {string}
 */
const tagError = (err, optErrorName = err.name) => {
  let errorTag = weakmapGet(errorTags, err);
  if (errorTag !== undefined) {
    return errorTag;
  }
  errorTagNum += 1;
  errorTag = `${optErrorName}#${errorTagNum}`;
  weakmapSet(errorTags, err, errorTag);
  return errorTag;
};

/**
 * Make reasonable best efforts to make a `Passable` error.
 *   - `sanitizeError` will remove any "extraneous" own properties already added
 *     by the host,
 *     such as `fileName`,`lineNumber` on FireFox or `line` on Safari.
 *   - If any such "extraneous" properties were removed, `sanitizeError` will
 *     annotate
 *     the error with them, so they still appear on the causal console
 *     log output for diagnostic purposes, but not be otherwise visible.
 *   - `sanitizeError` will ensure that any expected properties already
 *     added by the host are data
 *     properties, converting accessor properties to data properties as needed,
 *     such as `stack` on v8 (Chrome, Brave, Edge?)
 *   - `sanitizeError` will freeze the error, preventing any correct engine from
 *     adding or
 *     altering any of the error's own properties `sanitizeError` is done.
 *
 * However, `sanitizeError` will not, for example, `harden`
 * (i.e., deeply freeze)
 * or ensure that the `cause` or `errors` property satisfy the `Passable`
 * constraints. The purpose of `sanitizeError` is only to protect against
 * mischief the host may have already added to the error as created,
 * not to ensure that the error is actually Passable. For that,
 * see `toPassableError` in `@endo/pass-style`.
 *
 * @param {Error} error
 */
       const sanitizeError = error => {
  const descs = getOwnPropertyDescriptors(error);
  const {
    name: _nameDesc,
    message: _messageDesc,
    errors: _errorsDesc = undefined,
    cause: _causeDesc = undefined,
    stack: _stackDesc = undefined,
    ...restDescs
  } = descs;

  const restNames = ownKeys(restDescs);
  if (restNames.length >= 1) {
    for (const name of restNames) {
      delete error[name];
    }
    const dropped = create(objectPrototype, restDescs);
    const droppedDetails = redactedDetails`originally with properties ${quote(dropped)}`;
    // eslint-disable-next-line no-use-before-define
    note(error, droppedDetails);
  }
  for (const name of ownKeys(error)) {
    // @ts-expect-error TypeScript is still confused by symbols as property keys
    const desc = descs[name];
    if (desc && hasOwn(desc, 'get')) {
      const value = error[name]; // invokes the getter
      defineProperty(error, name, { value });
    }
  }
  freeze(error);
};

/**
 * @type {AssertionUtilities['makeError']}
 */$h͏_once.sanitizeError(sanitizeError);
const makeError = (
  optDetails = redactedDetails`Assert failed`,
  errConstructor = globalThis.Error,
  {
    errorName = undefined,
    cause = undefined,
    errors = undefined,
    sanitize = true,
  } = {},
) => {
  // Promote string-valued `optDetails` into a minimal DetailsParts
  // consisting of that string as the sole literal part with no substitutions.
  if (typeof optDetails === 'string') {
    optDetails = redactedDetails([optDetails]);
  }
  const hiddenDetails = weakmapGet(hiddenDetailsMap, optDetails);
  if (hiddenDetails === undefined) {
    throw TypeError(`unrecognized details ${quote(optDetails)}`);
  }
  const messageString = getMessageString(hiddenDetails);
  const opts = cause && { cause };
  let error;
  if (
    typeof AggregateError !== 'undefined' &&
    errConstructor === AggregateError
  ) {
    error = AggregateError(errors || [], messageString, opts);
  } else {
    const ErrorCtor = /** @type {ErrorConstructor} */ (errConstructor);
    error = ErrorCtor(messageString, opts);
    // Since we need to tolerate `errors` on an AggregateError, we may as well
    // tolerate it on all errors.
    if (errors !== undefined) {
      defineProperty(error, 'errors', {
        value: errors,
        writable: true,
        enumerable: false,
        configurable: true,
      });
    }
  }
  weakmapSet(hiddenMessageLogArgs, error, getLogArgs(hiddenDetails));
  if (errorName !== undefined) {
    tagError(error, errorName);
  }
  if (sanitize) {
    sanitizeError(error);
  }
  // The next line is a particularly fruitful place to put a breakpoint.
  return error;
};$h͏_once.makeError(makeError);
freeze(makeError);

// /////////////////////////////////////////////////////////////////////////////

const { addLogArgs: addNoteLogArgs, takeLogArgsArray: takeAllNoteLogArgs } =
  makeNoteLogArgsArrayKit();

/**
 * An augmented console will normally only take the hidden noteArgs array once,
 * when it logs the error being annotated. Once that happens, further
 * annotations of that error should go to the console immediately. We arrange
 * that by accepting a note-callback function from the console as an optional
 * part of that taking operation. Normally there will only be at most one
 * callback per error, but that depends on console behavior which we should not
 * assume. We make this an array of callbacks so multiple registrations
 * are independent.
 *
 * @type {WeakMap<Error, NoteCallback[]>}
 */
const hiddenNoteCallbacks = new WeakMap();

/** @type {AssertionUtilities['note']} */
const note = (error, detailsNote) => {
  // Promote string-valued `detailsNote` into a minimal DetailsParts consisting
  // of that string as the sole literal part with no substitutions.
  if (typeof detailsNote === 'string') {
    detailsNote = redactedDetails([detailsNote]);
  }
  const hiddenDetails = weakmapGet(hiddenDetailsMap, detailsNote);
  if (hiddenDetails === undefined) {
    throw TypeError(`unrecognized details ${quote(detailsNote)}`);
  }
  const logArgs = getLogArgs(hiddenDetails);
  const callbacks = weakmapGet(hiddenNoteCallbacks, error);
  if (callbacks !== undefined) {
    for (const callback of callbacks) {
      callback(error, logArgs);
    }
  } else {
    addNoteLogArgs(error, logArgs);
  }
};$h͏_once.note(note);
freeze(note);

/**
 * The unprivileged form that just uses the de facto `error.stack` property.
 * The start compartment normally has a privileged `globalThis.getStackString`
 * which should be preferred if present.
 *
 * @param {Error} error
 * @returns {string}
 */
const defaultGetStackString = error => {
  if (!('stack' in error)) {
    return '';
  }
  const stackString = `${error.stack}`;
  const pos = stringIndexOf(stackString, '\n');
  if (stringStartsWith(stackString, ' ') || pos === -1) {
    return stackString;
  }
  return stringSlice(stackString, pos + 1); // exclude the initial newline
};

/** @type {LoggedErrorHandler} */
const loggedErrorHandler = {
  getStackString: globalThis.getStackString || defaultGetStackString,
  tagError: error => tagError(error),
  resetErrorTagNum: () => {
    errorTagNum = 0;
  },
  getMessageLogArgs: error => weakmapGet(hiddenMessageLogArgs, error),
  takeMessageLogArgs: error => {
    const logArgs = weakmapGet(hiddenMessageLogArgs, error);
    weakmapDelete(hiddenMessageLogArgs, error);
    return logArgs;
  },
  takeNoteLogArgsArray: (error, callback) => {
    const logArgsArray = takeAllNoteLogArgs(error);
    if (callback !== undefined) {
      const callbacks = weakmapGet(hiddenNoteCallbacks, error);
      if (callbacks) {
        arrayPush(callbacks, callback);
      } else {
        weakmapSet(hiddenNoteCallbacks, error, [callback]);
      }
    }
    return logArgsArray || [];
  },
};$h͏_once.loggedErrorHandler(loggedErrorHandler);
freeze(loggedErrorHandler);


// /////////////////////////////////////////////////////////////////////////////

/**
 * @type {MakeAssert}
 */
       const makeAssert = (optRaise = undefined, unredacted = false) => {
  const details = unredacted ? unredactedDetails : redactedDetails;
  const assertFailedDetails = details`Check failed`;

  /** @type {AssertionFunctions['fail']} */
  const fail = (
    optDetails = assertFailedDetails,
    errConstructor = undefined,
    options = undefined,
  ) => {
    const reason = makeError(optDetails, errConstructor, options);
    if (optRaise !== undefined) {
      optRaise(reason);
    }
    throw reason;
  };
  freeze(fail);

  /** @type {AssertionUtilities['Fail']} */
  const Fail = (template, ...args) => fail(details(template, ...args));

  // Don't freeze or export `assert` until we add methods.
  /** @type {BaseAssert} */
  const assert = (
    condition,
    optDetails = undefined,
    errConstructor = undefined,
    options = undefined,
  ) => {
    condition || fail(optDetails, errConstructor, options);
  };

  /** @type {AssertionFunctions['equal']} */
  const equal = (
    actual,
    expected,
    optDetails = undefined,
    errConstructor = undefined,
    options = undefined,
  ) => {
    is(actual, expected) ||
      fail(
        optDetails || details`Expected ${actual} is same as ${expected}`,
        errConstructor || RangeError,
        options,
      );
  };
  freeze(equal);

  /** @type {AssertionFunctions['typeof']} */
  const assertTypeof = (specimen, typename, optDetails) => {
    // This will safely fall through if typename is not a string,
    // which is what we want.
    // eslint-disable-next-line valid-typeof
    if (typeof specimen === typename) {
      return;
    }
    typeof typename === 'string' || Fail`${quote(typename)} must be a string`;

    if (optDetails === undefined) {
      // Embed the type phrase without quotes.
      const typeWithDeterminer = an(typename);
      optDetails = details`${specimen} must be ${bare(typeWithDeterminer)}`;
    }
    fail(optDetails, TypeError);
  };
  freeze(assertTypeof);

  /** @type {AssertionFunctions['string']} */
  const assertString = (specimen, optDetails = undefined) =>
    assertTypeof(specimen, 'string', optDetails);

  /** @type {Pick<AssertionFunctions, keyof AssertionFunctions>} */
  const assertionFunctions = {
    equal,
    typeof: assertTypeof,
    string: assertString,
    fail,
  };

  /** @type {AssertionUtilities} */
  const assertionUtilities = {
    makeError,
    note,
    details,
    Fail,
    quote,
    bare,
  };

  /** @type {DeprecatedAssertionUtilities} */
  const deprecated = { error: makeError, makeAssert };

  /** @type {Assert} */
  const finishedAssert = assign(assert, {
    ...assertionFunctions,
    ...assertionUtilities,
    ...deprecated,
  });
  return freeze(finishedAssert);
};$h͏_once.makeAssert(makeAssert);
freeze(makeAssert);

/** @type {Assert} */
const assert = makeAssert();$h͏_once.assert(assert);


// Internal, to obviate polymorphic dispatch, but may become rigorously
// consistent with @endo/error:

/** @type {AssertionFunctions['equal']} */
const assertEqual = assert.equal;$h͏_once.assertEqual(assertEqual);
})()
,
// === 14. ses ./src/make-hardener.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Set,String,TypeError,WeakSet,globalThis,apply,arrayForEach,defineProperty,freeze,getOwnPropertyDescriptor,getOwnPropertyDescriptors,getPrototypeOf,isInteger,isPrimitive,hasOwn,ownKeys,preventExtensions,setAdd,setForEach,setHas,toStringTagSymbol,typedArrayPrototype,weaksetAdd,weaksetHas,FERAL_STACK_GETTER,FERAL_STACK_SETTER,isError,assert;$h͏_imports([["./commons.js", [["Set",[$h͏_a => (Set = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["WeakSet",[$h͏_a => (WeakSet = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["arrayForEach",[$h͏_a => (arrayForEach = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]],["isInteger",[$h͏_a => (isInteger = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["preventExtensions",[$h͏_a => (preventExtensions = $h͏_a)]],["setAdd",[$h͏_a => (setAdd = $h͏_a)]],["setForEach",[$h͏_a => (setForEach = $h͏_a)]],["setHas",[$h͏_a => (setHas = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]],["typedArrayPrototype",[$h͏_a => (typedArrayPrototype = $h͏_a)]],["weaksetAdd",[$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas",[$h͏_a => (weaksetHas = $h͏_a)]],["FERAL_STACK_GETTER",[$h͏_a => (FERAL_STACK_GETTER = $h͏_a)]],["FERAL_STACK_SETTER",[$h͏_a => (FERAL_STACK_SETTER = $h͏_a)]],["isError",[$h͏_a => (isError = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);





















































/**
 * @import {Harden} from '../types.js'
 */

// Obtain the string tag accessor of of TypedArray so we can indirectly use the
// TypedArray brand check it employs.
const typedArrayToStringTag = getOwnPropertyDescriptor(
  typedArrayPrototype,
  toStringTagSymbol,
);
assert(typedArrayToStringTag);
const getTypedArrayToStringTag = typedArrayToStringTag.get;
assert(getTypedArrayToStringTag);

// Exported for tests.
/**
 * Duplicates packages/marshal/src/helpers/passStyle-helpers.js to avoid a dependency.
 *
 * @param {unknown} object
 */
       const isTypedArray = object => {
  // The object must pass a brand check or toStringTag will return undefined.
  const tag = apply(getTypedArrayToStringTag, object, []);
  return tag !== undefined;
};

/**
 * Tests if a property key is an integer-valued canonical numeric index.
 * https://tc39.es/ecma262/#sec-canonicalnumericindexstring
 *
 * @param {string | symbol} propertyKey
 */$h͏_once.isTypedArray(isTypedArray);
const isCanonicalIntegerIndexString = propertyKey => {
  const n = +String(propertyKey);
  return isInteger(n) && String(n) === propertyKey;
};

/**
 * @template T
 * @param {ArrayLike<T>} array
 */
const freezeTypedArray = array => {
  preventExtensions(array);

  // Downgrade writable expandos to readonly, even if non-configurable.
  // We get each descriptor individually rather than using
  // getOwnPropertyDescriptors in order to fail safe when encountering
  // an obscure GraalJS issue where getOwnPropertyDescriptor returns
  // undefined for a property that does exist.
  arrayForEach(ownKeys(array), (/** @type {string | symbol} */ name) => {
    const desc = getOwnPropertyDescriptor(array, name);
    assert(desc);
    // TypedArrays are integer-indexed exotic objects, which define special
    // treatment for property names in canonical numeric form:
    // integers in range are permanently writable and non-configurable.
    // https://tc39.es/ecma262/#sec-integer-indexed-exotic-objects
    //
    // This is analogous to the data of a hardened Map or Set,
    // so we carve out this exceptional behavior but make all other
    // properties non-configurable.
    if (!isCanonicalIntegerIndexString(name)) {
      defineProperty(array, name, {
        ...desc,
        writable: false,
        configurable: false,
      });
    }
  });
};

/**
 * Create a `harden` function.
 *
 * @returns {Harden}
 */
       const makeHardener = () => {
  // Use a native hardener if possible.
  if (typeof globalThis.harden === 'function') {
    const safeHarden = globalThis.harden;
    return safeHarden;
  }

  const hardened = new WeakSet();

  const { harden } = {
    /**
     * @template T
     * @param {T} root
     * @returns {T}
     */
    harden(root) {
      const toFreeze = new Set();

      // If val is something we should be freezing but aren't yet,
      // add it to toFreeze.
      /**
       * @param {any} val
       */
      function enqueue(val) {
        if (isPrimitive(val)) {
          // ignore primitives
          return;
        }
        const type = typeof val;
        if (type !== 'object' && type !== 'function') {
          // future proof: break until someone figures out what it should do
          throw TypeError(`Unexpected typeof: ${type}`);
        }
        if (weaksetHas(hardened, val) || setHas(toFreeze, val)) {
          // Ignore if this is an exit, or we've already visited it
          return;
        }
        // console.warn(`adding ${val} to toFreeze`, val);
        setAdd(toFreeze, val);
      }

      /**
       * @param {any} obj
       */
      const baseFreezeAndTraverse = obj => {
        // Now freeze the object to ensure reactive
        // objects such as proxies won't add properties
        // during traversal, before they get frozen.

        // Object are verified before being enqueued,
        // therefore this is a valid candidate.
        // Throws if this fails (strict mode).
        // Also throws if the object is an ArrayBuffer or any TypedArray.
        if (isTypedArray(obj)) {
          freezeTypedArray(obj);
        } else {
          freeze(obj);
        }

        // we rely upon certain commitments of Object.freeze and proxies here

        // get stable/immutable outbound links before a Proxy has a chance to do
        // something sneaky.
        const descs = getOwnPropertyDescriptors(obj);
        const proto = getPrototypeOf(obj);
        enqueue(proto);

        arrayForEach(ownKeys(descs), (/** @type {string | symbol} */ name) => {
          // The 'name' may be a symbol, and TypeScript doesn't like us to
          // index arbitrary symbols on objects, so we pretend they're just
          // strings.
          const desc = descs[/** @type {string} */ (name)];
          // getOwnPropertyDescriptors is guaranteed to return well-formed
          // descriptors, but they still inherit from Object.prototype. If
          // someone has poisoned Object.prototype to add 'value' or 'get'
          // properties, then a simple 'if ("value" in desc)' or 'desc.value'
          // test could be confused. We use hasOwnProperty to be sure about
          // whether 'value' is present or not, which tells us for sure that
          // this is a data property.
          if (hasOwn(desc, 'value')) {
            enqueue(desc.value);
          } else {
            enqueue(desc.get);
            enqueue(desc.set);
          }
        });
      };

      const freezeAndTraverse =
        FERAL_STACK_GETTER === undefined && FERAL_STACK_SETTER === undefined
          ? // On platforms without v8's error own stack accessor problem,
            // don't pay for any extra overhead.
            baseFreezeAndTraverse
          : obj => {
              if (isError(obj)) {
                // Only pay the overhead if it first passes this cheap isError
                // check. Otherwise, it will be unrepaired, but won't be judged
                // to be a passable error anyway, so will not be unsafe.
                const stackDesc = getOwnPropertyDescriptor(obj, 'stack');
                if (
                  stackDesc &&
                  stackDesc.get === FERAL_STACK_GETTER &&
                  stackDesc.configurable
                ) {
                  // Can only repair if it is configurable. Otherwise, leave
                  // unrepaired, in which case it will not be judged passable,
                  // avoiding a safety problem.
                  defineProperty(obj, 'stack', {
                    // NOTE: Calls getter during harden, which seems dangerous.
                    // But we're only calling the problematic getter whose
                    // hazards we think we understand.
                    // @ts-expect-error TS should know FERAL_STACK_GETTER
                    // cannot be `undefined` here.
                    // See https://github.com/endojs/endo/pull/2232#discussion_r1575179471
                    value: apply(FERAL_STACK_GETTER, obj, []),
                  });
                }
              }
              return baseFreezeAndTraverse(obj);
            };

      const dequeue = () => {
        // New values added before forEach() has finished will be visited.
        setForEach(toFreeze, freezeAndTraverse);
      };

      /** @param {any} value */
      const markHardened = value => {
        weaksetAdd(hardened, value);
      };

      const commit = () => {
        setForEach(toFreeze, markHardened);
      };

      enqueue(root);
      dequeue();
      // console.warn("toFreeze set:", toFreeze);
      commit();

      return root;
    },
  };

  return harden;
};$h͏_once.makeHardener(makeHardener);
})()
,
// === 15. ses ./src/cauterize-property.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let hasOwn;$h͏_imports([["./commons.js", [["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]]]]]);

/**
 * @import {Reporter} from './reporting-types.js'
 */

/**
 * Delete `obj[prop]` or at least make it harmless.
 *
 * If the property was not expected, then emit a reporter-dependent warning
 * to bring attention to this case, so someone can determine what to do with it.
 *
 * If the property to be deleted is a function's `.prototype` property, this
 * will normally be because the function was supposed to be a
 * - builtin method or non-constructor function
 * - arrow function
 * - concise method
 *
 * all of whom are not supposed to have a `.prototype` property. Nevertheless,
 * on some platforms (like older versions of Hermes), or as a result of
 * some shim-based mods to the primordials (like core-js?), some of these
 * functions may accidentally be more like `function` functions with
 * an undeletable `.prototype` property. In these cases, if we can
 * set the value of that bogus `.prototype` property to `undefined`,
 * we do so, issuing a warning, rather than failing to initialize ses.
 *
 * @param {object} obj
 * @param {PropertyKey} prop
 * @param {boolean} known If deletion is expected, don't warn
 * @param {string} subPath Used for warning messages
 * @param {Reporter} reporter Where to issue warning or error.
 * @returns {void}
 */
       const cauterizeProperty = (
  obj,
  prop,
  known,
  subPath,
  { warn, error },
) => {
  // Either the object lacks a permit or the object doesn't match the
  // permit.
  // If the permit is specifically false, not merely undefined,
  // this is a property we expect to see because we know it exists in
  // some environments and we have expressly decided to exclude it.
  // Any other disallowed property is one we have not audited and we log
  // that we are removing it so we know to look into it, as happens when
  // the language evolves new features to existing intrinsics.
  if (!known) {
    warn(`Removing ${subPath}`);
  }
  try {
    delete obj[prop];
  } catch (err) {
    if (hasOwn(obj, prop)) {
      if (typeof obj === 'function' && prop === 'prototype') {
        obj.prototype = undefined;
        if (obj.prototype === undefined) {
          warn(`Tolerating undeletable ${subPath} === undefined`);
          return;
        }
      }
      error(`failed to delete ${subPath}`, err);
    } else {
      error(`deleting ${subPath} threw`, err);
    }
    throw err;
  }
};$h͏_once.cauterizeProperty(cauterizeProperty);
})()
,
// === 16. ses ./src/permits.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let arrayPush,arrayForEach;$h͏_imports([["./commons.js", [["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["arrayForEach",[$h͏_a => (arrayForEach = $h͏_a)]]]]]);




/** @import {GenericErrorConstructor} from '../types.js' */

/**
 * Exports {@code permits}, a recursively defined
 * JSON record enumerating all intrinsics and their properties
 * according to ECMA specs.
 *
 * @author JF Paradis
 * @author Mark S. Miller
 *
 * @module
 */

/**
 * constantProperties
 * non-configurable, non-writable data properties of all global objects.
 * Must be powerless.
 * Maps from property name to the actual value
 */
       const constantProperties = {
  // *** Value Properties of the Global Object

  Infinity,
  NaN,
  undefined,
};

/**
 * universalPropertyNames
 * Properties of all global objects.
 * Must be powerless.
 * Maps from property name to the intrinsic name in the permits.
 */$h͏_once.constantProperties(constantProperties);
       const universalPropertyNames = {
  // *** Function Properties of the Global Object

  isFinite: 'isFinite',
  isNaN: 'isNaN',
  parseFloat: 'parseFloat',
  parseInt: 'parseInt',

  decodeURI: 'decodeURI',
  decodeURIComponent: 'decodeURIComponent',
  encodeURI: 'encodeURI',
  encodeURIComponent: 'encodeURIComponent',

  // *** Constructor Properties of the Global Object

  Array: 'Array',
  ArrayBuffer: 'ArrayBuffer',
  BigInt: 'BigInt',
  BigInt64Array: 'BigInt64Array',
  BigUint64Array: 'BigUint64Array',
  Boolean: 'Boolean',
  DataView: 'DataView',
  EvalError: 'EvalError',
  // https://github.com/tc39/proposal-float16array
  Float16Array: 'Float16Array',
  Float32Array: 'Float32Array',
  Float64Array: 'Float64Array',
  Int8Array: 'Int8Array',
  Int16Array: 'Int16Array',
  Int32Array: 'Int32Array',
  Map: 'Map',
  Number: 'Number',
  Object: 'Object',
  Promise: 'Promise',
  Proxy: 'Proxy',
  RangeError: 'RangeError',
  ReferenceError: 'ReferenceError',
  Set: 'Set',
  String: 'String',
  SyntaxError: 'SyntaxError',
  TypeError: 'TypeError',
  Uint8Array: 'Uint8Array',
  Uint8ClampedArray: 'Uint8ClampedArray',
  Uint16Array: 'Uint16Array',
  Uint32Array: 'Uint32Array',
  URIError: 'URIError',
  WeakMap: 'WeakMap',
  WeakSet: 'WeakSet',
  // https://github.com/tc39/proposal-iterator-helpers
  Iterator: 'Iterator',
  // https://github.com/tc39/proposal-async-iterator-helpers
  AsyncIterator: 'AsyncIterator',
  // https://github.com/endojs/endo/issues/550
  AggregateError: 'AggregateError',

  // https://github.com/tc39/proposal-explicit-resource-management
  // TODO DisposableStack, AsyncDisposableStack
  // DisposableStack: 'DisposableStack',
  // AsyncDisposableStack: 'AsyncDisposableStack',

  // https://tc39.es/proposal-shadowrealm/
  // TODO ShadowRealm
  // ShadowRealm: 'ShadowRealm',

  // *** Other Properties of the Global Object

  JSON: 'JSON',
  Reflect: 'Reflect',

  // *** Annex B

  escape: 'escape',
  unescape: 'unescape',

  // ESNext

  // https://github.com/tc39/proposal-source-phase-imports?tab=readme-ov-file#js-module-source
  ModuleSource: 'ModuleSource',

  lockdown: 'lockdown',
  harden: 'harden',

  HandledPromise: 'HandledPromise'  // TODO: Until Promise.delegate (see below).
};

/**
 * initialGlobalPropertyNames
 * Those found only on the initial global, i.e., the global of the
 * start compartment, as well as any compartments created before lockdown.
 * These may provide much of the power provided by the original.
 * Maps from property name to the intrinsic name in the permits.
 */$h͏_once.universalPropertyNames(universalPropertyNames);
       const initialGlobalPropertyNames = {
  // *** Constructor Properties of the Global Object

  Date: '%InitialDate%',
  Error: '%InitialError%',
  RegExp: '%InitialRegExp%',

  // Omit `Symbol`, because we want the original to appear on the
  // start compartment without passing through the permits mechanism, since
  // we want to preserve all its properties, even if we never heard of them.
  // Symbol: '%InitialSymbol%',

  // *** Other Properties of the Global Object

  Math: '%InitialMath%',

  // ESNext

  // From Error-stack proposal
  // Only on initial global. No corresponding
  // powerless form for other globals.
  getStackString: '%InitialGetStackString%'

  // TODO https://github.com/Agoric/SES-shim/issues/551
  // Need initial WeakRef and FinalizationGroup in
  // start compartment only.

  // TODO Temporal
  // https://github.com/tc39/proposal-temporal
  // Temporal: '%InitialTemporal%' // with Temporal.Now
};

/**
 * sharedGlobalPropertyNames
 * Those found only on the globals of new compartments created after lockdown,
 * which must therefore be powerless.
 * Maps from property name to the intrinsic name in the permits.
 */$h͏_once.initialGlobalPropertyNames(initialGlobalPropertyNames);
       const sharedGlobalPropertyNames = {
  // *** Constructor Properties of the Global Object

  Date: '%SharedDate%',
  Error: '%SharedError%',
  RegExp: '%SharedRegExp%',
  Symbol: '%SharedSymbol%',

  // *** Other Properties of the Global Object

  Math: '%SharedMath%'

  // TODO Temporal
  // https://github.com/tc39/proposal-temporal
  // Temporal: '%SharedTemporal%' // without Temporal.Now
};

/**
 * uniqueGlobalPropertyNames
 * Those made separately for each global, including the initial global
 * of the start compartment.
 * Maps from property name to the intrinsic name in the permits
 * (which is currently always the same).
 */$h͏_once.sharedGlobalPropertyNames(sharedGlobalPropertyNames);
       const uniqueGlobalPropertyNames = {
  // *** Value Properties of the Global Object

  globalThis: '%UniqueGlobalThis%',

  // *** Function Properties of the Global Object

  eval: '%UniqueEval%',

  // *** Constructor Properties of the Global Object

  Function: '%UniqueFunction%',

  // *** Other Properties of the Global Object

  // ESNext

  Compartment: '%UniqueCompartment%'
  // According to current agreements, eventually the Realm constructor too.
  // 'Realm',
};

// All the "subclasses" of Error. These are collectively represented in the
// ECMAScript spec by the meta variable NativeError.
/** @type {GenericErrorConstructor[]} */$h͏_once.uniqueGlobalPropertyNames(uniqueGlobalPropertyNames);
const NativeErrors = [
  EvalError,
  RangeError,
  ReferenceError,
  SyntaxError,
  TypeError,
  URIError
  // https://github.com/endojs/endo/issues/550
  // Commented out to accommodate platforms prior to AggregateError.
  // Instead, conditional push below.
  // AggregateError,
];$h͏_once.NativeErrors(NativeErrors);

if (typeof AggregateError !== 'undefined') {
  // Conditional, to accommodate platforms prior to AggregateError
  arrayPush(NativeErrors, AggregateError);
}



/**
 * <p>Each JSON record enumerates the disposition of the properties on
 *    some corresponding intrinsic object.
 *
 * <p>All records are made of key-value pairs where the key
 *    is the property to process, and the value is the associated
 *    dispositions a.k.a. the "permit". Those permits can be:
 * <ul>
 * <li>The boolean value "false", in which case this property is
 *     blacklisted and simply removed. Properties not mentioned
 *     are also considered blacklisted and are removed.
 * <li>A string value equal to a primitive ("number", "string", etc),
 *     in which case the property is permitted if its value property
 *     is typeof the given type. For example, {@code "Infinity"} leads to
 *     "number" and property values that fail {@code typeof "number"}.
 *     are removed.
 * <li>A string value equal to an intinsic name ("ObjectPrototype",
 *     "Array", etc), in which case the property permitted if its
 *     value property is equal to the value of the corresponfing
 *     intrinsics. For example, {@code Map.prototype} leads to
 *     "MapPrototype" and the property is removed if its value is
 *     not equal to %MapPrototype%
 * <li>Another record, in which case this property is simply
 *     permitted and that next record represents the disposition of
 *     the object which is its value. For example, {@code "Object"}
 *     leads to another record explaining what properties {@code
 *     "Object"} may have and how each such property should be treated.
 *
 * <p>Notes:
 * <li>"[[Proto]]" is used to refer to the "[[Prototype]]" internal
 *     slot, which says which object this object inherits from.
 * <li>"--proto--" is used to refer to the "__proto__" property name,
 *     which is the name of an accessor property on Object.prototype.
 *     In practice, it is used to access the [[Proto]] internal slot,
 *     but is distinct from the internal slot itself. We use
 *     "--proto--" rather than "__proto__" below because "__proto__"
 *     in an object literal is special syntax rather than a normal
 *     property definition.
 * <li>"ObjectPrototype" is the default "[[Proto]]" (when not specified).
 * <li>Constants "fn" and "getter" are used to keep the structure DRY.
 * <li>Symbol properties are listed as follow:
 *     <li>Well-known symbols use the "@@name" form.
 *     <li>Registered symbols use the "RegisteredSymbol(key)" form.
 *     <li>Unique symbols use the "UniqueSymbol(description)" form.
 */

// Function Instances
       const FunctionInstance = {
  '[[Proto]]': '%FunctionPrototype%',
  length: 'number',
  name: 'string'
  // Do not specify "prototype" here, since only Function instances that can
  // be used as a constructor have a prototype property. For constructors,
  // since prototype properties are instance-specific, we define it there.
};

// AsyncFunction Instances
$h͏_once.FunctionInstance(FunctionInstance);const AsyncFunctionInstance={
  // This property is not mentioned in ECMA 262, but is present in V8 and
  // necessary for lockdown to succeed.
  '[[Proto]]': '%AsyncFunctionPrototype%',
};

// Aliases
$h͏_once.AsyncFunctionInstance(AsyncFunctionInstance);const fn=FunctionInstance;
const asyncFn = AsyncFunctionInstance;

const getter = {
  get: fn,
  set: 'undefined',
};

// Possible but not encountered in the specs
// export const setter = {
//   get: 'undefined',
//   set: fn,
// };

const accessor = {
  get: fn,
  set: fn,
};

// eslint-disable-next-line func-names
const strict = function () {
  'use strict';
};

// TODO Remove this once we no longer support the Hermes that needed this.
arrayForEach(['caller', 'arguments'], prop => {
  try {
    strict[prop];
  } catch (e) {
    // https://github.com/facebook/hermes/blob/main/test/hermes/function-non-strict.js
    if (e.message === 'Restricted in strict mode') {
      // Fixed in Static Hermes: https://github.com/facebook/hermes/issues/1582
      FunctionInstance[prop] = accessor;
    }
  }
});

       const isAccessorPermit = permit => {
  return permit === getter || permit === accessor;
};

// NativeError Object Structure
$h͏_once.isAccessorPermit(isAccessorPermit);function NativeError(prototype){
  return {
    // Properties of the NativeError Constructors
    '[[Proto]]': '%SharedError%',

    // NativeError.prototype
    prototype,
  };
}

function NativeErrorPrototype(constructor) {
  return {
    // Properties of the NativeError Prototype Objects
    '[[Proto]]': '%ErrorPrototype%',
    constructor,
    message: 'string',
    name: 'string',
    // Redundantly present only on v8. Safe to remove.
    toString: false,
    // Superfluously present in some versions of V8.
    // https://github.com/tc39/notes/blob/master/meetings/2021-10/oct-26.md#:~:text=However%2C%20Chrome%2093,and%20node%2016.11.
    cause: false,
  };
}

// The TypedArray Constructors
function TypedArray(prototype) {
  return {
    // Properties of the TypedArray Constructors
    '[[Proto]]': '%TypedArray%',
    BYTES_PER_ELEMENT: 'number',
    prototype,
  };
}

function TypedArrayPrototype(constructor) {
  return {
    // Properties of the TypedArray Prototype Objects
    '[[Proto]]': '%TypedArrayPrototype%',
    BYTES_PER_ELEMENT: 'number',
    constructor,
  };
}

// Without Math.random
const CommonMath = {
  E: 'number',
  LN10: 'number',
  LN2: 'number',
  LOG10E: 'number',
  LOG2E: 'number',
  PI: 'number',
  SQRT1_2: 'number',
  SQRT2: 'number',
  '@@toStringTag': 'string',
  abs: fn,
  acos: fn,
  acosh: fn,
  asin: fn,
  asinh: fn,
  atan: fn,
  atanh: fn,
  atan2: fn,
  cbrt: fn,
  ceil: fn,
  clz32: fn,
  cos: fn,
  cosh: fn,
  exp: fn,
  expm1: fn,
  floor: fn,
  fround: fn,
  hypot: fn,
  imul: fn,
  log: fn,
  log1p: fn,
  log10: fn,
  log2: fn,
  max: fn,
  min: fn,
  pow: fn,
  round: fn,
  sign: fn,
  sin: fn,
  sinh: fn,
  sqrt: fn,
  tan: fn,
  tanh: fn,
  trunc: fn,
  // https://github.com/tc39/proposal-float16array
  f16round: fn,
  // https://github.com/tc39/proposal-math-sum
  sumPrecise: fn,

  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  idiv: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  idivmod: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  imod: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  imuldiv: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  irem: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  mod: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523#issuecomment-1942904505
  irandom: false,
};

       const permitted = {
  // ECMA https://tc39.es/ecma262

  // The intrinsics object has no prototype to avoid conflicts.
  '[[Proto]]': null,

  // %ThrowTypeError%
  '%ThrowTypeError%': fn,

  // *** The Global Object

  // *** Value Properties of the Global Object
  Infinity: 'number',
  NaN: 'number',
  undefined: 'undefined',

  // *** Function Properties of the Global Object

  // eval
  '%UniqueEval%': fn,
  isFinite: fn,
  isNaN: fn,
  parseFloat: fn,
  parseInt: fn,
  decodeURI: fn,
  decodeURIComponent: fn,
  encodeURI: fn,
  encodeURIComponent: fn,

  // *** Fundamental Objects

  Object: {
    // Properties of the Object Constructor
    '[[Proto]]': '%FunctionPrototype%',
    assign: fn,
    create: fn,
    defineProperties: fn,
    defineProperty: fn,
    entries: fn,
    freeze: fn,
    fromEntries: fn,
    getOwnPropertyDescriptor: fn,
    getOwnPropertyDescriptors: fn,
    getOwnPropertyNames: fn,
    getOwnPropertySymbols: fn,
    getPrototypeOf: fn,
    is: fn,
    isExtensible: fn,
    isFrozen: fn,
    isSealed: fn,
    keys: fn,
    preventExtensions: fn,
    prototype: '%ObjectPrototype%',
    seal: fn,
    setPrototypeOf: fn,
    values: fn,
    'RegisteredSymbol(harden)': {
      ...fn,
      // Installed with hardenTaming: 'unsafe'
      isFake: 'boolean',
    },
    // https://github.com/tc39/proposal-accessible-object-hasownproperty
    hasOwn: fn,
    // https://github.com/tc39/proposal-array-grouping
    groupBy: fn,
    // Seen on QuickJS
    __getClass: false,
  },

  '%ObjectPrototype%': {
    // Properties of the Object Prototype Object
    '[[Proto]]': null,
    constructor: 'Object',
    hasOwnProperty: fn,
    isPrototypeOf: fn,
    propertyIsEnumerable: fn,
    toLocaleString: fn,
    toString: fn,
    valueOf: fn,

    // Annex B: Additional Properties of the Object.prototype Object

    // See note in header about the difference between [[Proto]] and --proto--
    // special notations.
    '--proto--': accessor,
    __defineGetter__: fn,
    __defineSetter__: fn,
    __lookupGetter__: fn,
    __lookupSetter__: fn,
  },

  '%UniqueFunction%': {
    // Properties of the Function Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%FunctionPrototype%',
  },

  '%InertFunction%': {
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%FunctionPrototype%',
  },

  '%FunctionPrototype%': {
    apply: fn,
    bind: fn,
    call: fn,
    constructor: '%InertFunction%',
    toString: fn,
    '@@hasInstance': fn,
    // proposed but not yet std. To be removed if there
    caller: false,
    // proposed but not yet std. To be removed if there
    arguments: false,
    // Seen on QuickJS. TODO grab getter for use by console
    fileName: false,
    // Seen on QuickJS. TODO grab getter for use by console
    lineNumber: false,
  },

  Boolean: {
    // Properties of the Boolean Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%BooleanPrototype%',
  },

  '%BooleanPrototype%': {
    constructor: 'Boolean',
    toString: fn,
    valueOf: fn,
  },

  '%SharedSymbol%': {
    // Properties of the Symbol Constructor
    '[[Proto]]': '%FunctionPrototype%',
    asyncIterator: 'symbol',
    for: fn,
    hasInstance: 'symbol',
    isConcatSpreadable: 'symbol',
    iterator: 'symbol',
    keyFor: fn,
    match: 'symbol',
    matchAll: 'symbol',
    prototype: '%SymbolPrototype%',
    replace: 'symbol',
    search: 'symbol',
    species: 'symbol',
    split: 'symbol',
    toPrimitive: 'symbol',
    toStringTag: 'symbol',
    unscopables: 'symbol',
    // https://github.com/tc39/proposal-explicit-resource-management
    asyncDispose: 'symbol',
    // https://github.com/tc39/proposal-explicit-resource-management
    dispose: 'symbol',
    // Seen at core-js https://github.com/zloirock/core-js#ecmascript-symbol
    useSimple: false,
    // Seen at core-js https://github.com/zloirock/core-js#ecmascript-symbol
    useSetter: false,
    // Seen on QuickJS
    operatorSet: false,
  },

  '%SymbolPrototype%': {
    // Properties of the Symbol Prototype Object
    constructor: '%SharedSymbol%',
    description: getter,
    toString: fn,
    valueOf: fn,
    '@@toPrimitive': fn,
    '@@toStringTag': 'string',
  },

  '%InitialError%': {
    // Properties of the Error Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%ErrorPrototype%',
    // Non standard, v8 only, used by tap
    captureStackTrace: fn,
    // Non standard, v8 only, used by tap, tamed to accessor
    stackTraceLimit: accessor,
    // Non standard, v8 only, used by several, tamed to accessor
    prepareStackTrace: accessor,
    // https://github.com/tc39/proposal-is-error
    isError: fn,
  },

  '%SharedError%': {
    // Properties of the Error Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%ErrorPrototype%',
    // Non standard, v8 only, used by tap
    captureStackTrace: fn,
    // Non standard, v8 only, used by tap, tamed to accessor
    stackTraceLimit: accessor,
    // Non standard, v8 only, used by several, tamed to accessor
    prepareStackTrace: accessor,
    // https://github.com/tc39/proposal-is-error
    isError: fn,
  },

  '%ErrorPrototype%': {
    constructor: '%SharedError%',
    message: 'string',
    name: 'string',
    toString: fn,
    // proposed de-facto, assumed TODO
    // Seen on FF Nightly 88.0a1
    at: false,
    // Seen on FF and XS
    stack: accessor,
    // Superfluously present in some versions of V8.
    // https://github.com/tc39/notes/blob/master/meetings/2021-10/oct-26.md#:~:text=However%2C%20Chrome%2093,and%20node%2016.11.
    cause: false,
  },

  // NativeError

  EvalError: NativeError('%EvalErrorPrototype%'),
  RangeError: NativeError('%RangeErrorPrototype%'),
  ReferenceError: NativeError('%ReferenceErrorPrototype%'),
  SyntaxError: NativeError('%SyntaxErrorPrototype%'),
  TypeError: NativeError('%TypeErrorPrototype%'),
  URIError: NativeError('%URIErrorPrototype%'),
  // https://github.com/endojs/endo/issues/550
  AggregateError: NativeError('%AggregateErrorPrototype%'),

  // TODO SuppressedError
  // https://github.com/tc39/proposal-explicit-resource-management
  // SuppressedError: NativeError('%SuppressedErrorPrototype%'),

  '%EvalErrorPrototype%': NativeErrorPrototype('EvalError'),
  '%RangeErrorPrototype%': NativeErrorPrototype('RangeError'),
  '%ReferenceErrorPrototype%': NativeErrorPrototype('ReferenceError'),
  '%SyntaxErrorPrototype%': NativeErrorPrototype('SyntaxError'),
  '%TypeErrorPrototype%': NativeErrorPrototype('TypeError'),
  '%URIErrorPrototype%': NativeErrorPrototype('URIError'),
  // https://github.com/endojs/endo/issues/550
  '%AggregateErrorPrototype%': NativeErrorPrototype('AggregateError'),
  // TODO AggregateError .errors

  // TODO SuppressedError
  // https://github.com/tc39/proposal-explicit-resource-management
  // '%SuppressedErrorPrototype%': NativeErrorPrototype('SuppressedError'),
  // TODO SuppressedError .error
  // TODO SuppressedError .suppressed

  // *** Numbers and Dates

  Number: {
    // Properties of the Number Constructor
    '[[Proto]]': '%FunctionPrototype%',
    EPSILON: 'number',
    isFinite: fn,
    isInteger: fn,
    isNaN: fn,
    isSafeInteger: fn,
    MAX_SAFE_INTEGER: 'number',
    MAX_VALUE: 'number',
    MIN_SAFE_INTEGER: 'number',
    MIN_VALUE: 'number',
    NaN: 'number',
    NEGATIVE_INFINITY: 'number',
    parseFloat: fn,
    parseInt: fn,
    POSITIVE_INFINITY: 'number',
    prototype: '%NumberPrototype%',
  },

  '%NumberPrototype%': {
    // Properties of the Number Prototype Object
    constructor: 'Number',
    toExponential: fn,
    toFixed: fn,
    toLocaleString: fn,
    toPrecision: fn,
    toString: fn,
    valueOf: fn,
  },

  BigInt: {
    // Properties of the BigInt Constructor
    '[[Proto]]': '%FunctionPrototype%',
    asIntN: fn,
    asUintN: fn,
    prototype: '%BigIntPrototype%',
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    bitLength: false,
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    fromArrayBuffer: false,
    // Seen on QuickJS
    tdiv: false,
    // Seen on QuickJS
    fdiv: false,
    // Seen on QuickJS
    cdiv: false,
    // Seen on QuickJS
    ediv: false,
    // Seen on QuickJS
    tdivrem: false,
    // Seen on QuickJS
    fdivrem: false,
    // Seen on QuickJS
    cdivrem: false,
    // Seen on QuickJS
    edivrem: false,
    // Seen on QuickJS
    sqrt: false,
    // Seen on QuickJS
    sqrtrem: false,
    // Seen on QuickJS
    floorLog2: false,
    // Seen on QuickJS
    ctz: false,
  },

  '%BigIntPrototype%': {
    constructor: 'BigInt',
    toLocaleString: fn,
    toString: fn,
    valueOf: fn,
    '@@toStringTag': 'string',
  },

  '%InitialMath%': {
    ...CommonMath,
    // `%InitialMath%.random()` has the standard unsafe behavior
    random: fn,
  },

  '%SharedMath%': {
    ...CommonMath,
    // `%SharedMath%.random()` is tamed to always throw
    random: fn,
  },

  '%InitialDate%': {
    // Properties of the Date Constructor
    '[[Proto]]': '%FunctionPrototype%',
    now: fn,
    parse: fn,
    prototype: '%DatePrototype%',
    UTC: fn,
  },

  '%SharedDate%': {
    // Properties of the Date Constructor
    '[[Proto]]': '%FunctionPrototype%',
    // `%SharedDate%.now()` is tamed to always throw
    now: fn,
    parse: fn,
    prototype: '%DatePrototype%',
    UTC: fn,
  },

  '%DatePrototype%': {
    constructor: '%SharedDate%',
    getDate: fn,
    getDay: fn,
    getFullYear: fn,
    getHours: fn,
    getMilliseconds: fn,
    getMinutes: fn,
    getMonth: fn,
    getSeconds: fn,
    getTime: fn,
    getTimezoneOffset: fn,
    getUTCDate: fn,
    getUTCDay: fn,
    getUTCFullYear: fn,
    getUTCHours: fn,
    getUTCMilliseconds: fn,
    getUTCMinutes: fn,
    getUTCMonth: fn,
    getUTCSeconds: fn,
    setDate: fn,
    setFullYear: fn,
    setHours: fn,
    setMilliseconds: fn,
    setMinutes: fn,
    setMonth: fn,
    setSeconds: fn,
    setTime: fn,
    setUTCDate: fn,
    setUTCFullYear: fn,
    setUTCHours: fn,
    setUTCMilliseconds: fn,
    setUTCMinutes: fn,
    setUTCMonth: fn,
    setUTCSeconds: fn,
    toDateString: fn,
    toISOString: fn,
    toJSON: fn,
    toLocaleDateString: fn,
    toLocaleString: fn,
    toLocaleTimeString: fn,
    toString: fn,
    toTimeString: fn,
    toUTCString: fn,
    valueOf: fn,
    '@@toPrimitive': fn,

    // Annex B: Additional Properties of the Date.prototype Object
    getYear: fn,
    setYear: fn,
    toGMTString: fn,
  },

  // Text Processing

  String: {
    // Properties of the String Constructor
    '[[Proto]]': '%FunctionPrototype%',
    fromCharCode: fn,
    fromCodePoint: fn,
    prototype: '%StringPrototype%',
    raw: fn,
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    fromArrayBuffer: false,
  },

  '%StringPrototype%': {
    // Properties of the String Prototype Object
    length: 'number',
    charAt: fn,
    charCodeAt: fn,
    codePointAt: fn,
    concat: fn,
    constructor: 'String',
    endsWith: fn,
    includes: fn,
    indexOf: fn,
    lastIndexOf: fn,
    localeCompare: fn,
    match: fn,
    matchAll: fn,
    normalize: fn,
    padEnd: fn,
    padStart: fn,
    repeat: fn,
    replace: fn,
    replaceAll: fn, // ES2021
    search: fn,
    slice: fn,
    split: fn,
    startsWith: fn,
    substring: fn,
    toLocaleLowerCase: fn,
    toLocaleUpperCase: fn,
    toLowerCase: fn,
    toString: fn,
    toUpperCase: fn,
    trim: fn,
    trimEnd: fn,
    trimStart: fn,
    valueOf: fn,
    '@@iterator': fn,
    // Failed tc39 proposal
    // https://github.com/tc39/proposal-relative-indexing-method
    at: fn,
    // https://github.com/tc39/proposal-is-usv-string
    isWellFormed: fn,
    toWellFormed: fn,
    unicodeSets: fn,

    // Annex B: Additional Properties of the String.prototype Object
    substr: fn,
    anchor: fn,
    big: fn,
    blink: fn,
    bold: fn,
    fixed: fn,
    fontcolor: fn,
    fontsize: fn,
    italics: fn,
    link: fn,
    small: fn,
    strike: fn,
    sub: fn,
    sup: fn,
    trimLeft: fn,
    trimRight: fn,
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    compare: false,
    // Seen on QuickJS
    __quote: false,
  },

  '%StringIteratorPrototype%': {
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    '@@toStringTag': 'string',
  },

  '%InitialRegExp%': {
    // Properties of the RegExp Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%RegExpPrototype%',
    '@@species': getter,
    // https://github.com/tc39/proposal-regex-escaping
    escape: fn,

    // The https://github.com/tc39/proposal-regexp-legacy-features
    // are all optional, unsafe, and omitted
    input: false,
    $_: false,
    lastMatch: false,
    '$&': false,
    lastParen: false,
    '$+': false,
    leftContext: false,
    '$`': false,
    rightContext: false,
    "$'": false,
    $1: false,
    $2: false,
    $3: false,
    $4: false,
    $5: false,
    $6: false,
    $7: false,
    $8: false,
    $9: false,
  },

  '%SharedRegExp%': {
    // Properties of the RegExp Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%RegExpPrototype%',
    '@@species': getter,
    // https://github.com/tc39/proposal-regex-escaping
    escape: fn,
  },

  '%RegExpPrototype%': {
    // Properties of the RegExp Prototype Object
    constructor: '%SharedRegExp%',
    exec: fn,
    dotAll: getter,
    flags: getter,
    global: getter,
    hasIndices: getter,
    ignoreCase: getter,
    '@@match': fn,
    '@@matchAll': fn,
    multiline: getter,
    '@@replace': fn,
    '@@search': fn,
    source: getter,
    '@@split': fn,
    sticky: getter,
    test: fn,
    toString: fn,
    unicode: getter,
    unicodeSets: getter,

    // Annex B: Additional Properties of the RegExp.prototype Object
    compile: false  // UNSAFE and suppressed.
  },

  '%RegExpStringIteratorPrototype%': {
    // The %RegExpStringIteratorPrototype% Object
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    '@@toStringTag': 'string',
  },

  // Indexed Collections

  Array: {
    // Properties of the Array Constructor
    '[[Proto]]': '%FunctionPrototype%',
    from: fn,
    isArray: fn,
    of: fn,
    prototype: '%ArrayPrototype%',
    '@@species': getter,

    // Failed tc39 proposal
    // https://tc39.es/proposal-relative-indexing-method/
    at: fn,
    // https://tc39.es/proposal-array-from-async/
    fromAsync: fn,
  },

  '%ArrayPrototype%': {
    // Properties of the Array Prototype Object
    length: 'number',
    concat: fn,
    constructor: 'Array',
    copyWithin: fn,
    entries: fn,
    every: fn,
    fill: fn,
    filter: fn,
    find: fn,
    findIndex: fn,
    flat: fn,
    flatMap: fn,
    forEach: fn,
    includes: fn,
    indexOf: fn,
    join: fn,
    keys: fn,
    lastIndexOf: fn,
    map: fn,
    pop: fn,
    push: fn,
    reduce: fn,
    reduceRight: fn,
    reverse: fn,
    shift: fn,
    slice: fn,
    some: fn,
    sort: fn,
    splice: fn,
    toLocaleString: fn,
    toString: fn,
    unshift: fn,
    values: fn,
    '@@iterator': fn,
    '@@unscopables': {
      '[[Proto]]': null,
      copyWithin: 'boolean',
      entries: 'boolean',
      fill: 'boolean',
      find: 'boolean',
      findIndex: 'boolean',
      flat: 'boolean',
      flatMap: 'boolean',
      includes: 'boolean',
      keys: 'boolean',
      values: 'boolean',
      // Failed tc39 proposal
      // https://tc39.es/proposal-relative-indexing-method/
      // Seen on FF Nightly 88.0a1
      at: 'boolean',
      // See https://github.com/tc39/proposal-array-find-from-last
      findLast: 'boolean',
      findLastIndex: 'boolean',
      // https://github.com/tc39/proposal-change-array-by-copy
      toReversed: 'boolean',
      toSorted: 'boolean',
      toSpliced: 'boolean',
      with: 'boolean',
      // https://github.com/tc39/proposal-array-grouping
      group: 'boolean',
      groupToMap: 'boolean',
      groupBy: 'boolean',
    },
    // See https://github.com/tc39/proposal-array-find-from-last
    findLast: fn,
    findLastIndex: fn,
    // https://github.com/tc39/proposal-change-array-by-copy
    toReversed: fn,
    toSorted: fn,
    toSpliced: fn,
    with: fn,
    // https://github.com/tc39/proposal-array-grouping
    group: fn, // Not in proposal? Where?
    groupToMap: fn, // Not in proposal? Where?
    groupBy: fn,
    // Failed tc39 proposal
    // https://tc39.es/proposal-relative-indexing-method/
    at: fn,
  },

  '%ArrayIteratorPrototype%': {
    // The %ArrayIteratorPrototype% Object
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    '@@toStringTag': 'string',
  },

  // *** TypedArray Objects

  '%TypedArray%': {
    // Properties of the %TypedArray% Intrinsic Object
    '[[Proto]]': '%FunctionPrototype%',
    from: fn,
    of: fn,
    prototype: '%TypedArrayPrototype%',
    '@@species': getter,
  },

  '%TypedArrayPrototype%': {
    buffer: getter,
    byteLength: getter,
    byteOffset: getter,
    constructor: '%TypedArray%',
    copyWithin: fn,
    entries: fn,
    every: fn,
    fill: fn,
    filter: fn,
    find: fn,
    findIndex: fn,
    forEach: fn,
    includes: fn,
    indexOf: fn,
    join: fn,
    keys: fn,
    lastIndexOf: fn,
    length: getter,
    map: fn,
    reduce: fn,
    reduceRight: fn,
    reverse: fn,
    set: fn,
    slice: fn,
    some: fn,
    sort: fn,
    subarray: fn,
    toLocaleString: fn,
    toString: fn,
    values: fn,
    '@@iterator': fn,
    '@@toStringTag': getter,
    // Failed tc39 proposal
    // https://tc39.es/proposal-relative-indexing-method/
    at: fn,
    // See https://github.com/tc39/proposal-array-find-from-last
    findLast: fn,
    findLastIndex: fn,
    // https://github.com/tc39/proposal-change-array-by-copy
    toReversed: fn,
    toSorted: fn,
    with: fn,
  },

  // The TypedArray Constructors

  BigInt64Array: TypedArray('%BigInt64ArrayPrototype%'),
  BigUint64Array: TypedArray('%BigUint64ArrayPrototype%'),
  // https://github.com/tc39/proposal-float16array
  Float16Array: TypedArray('%Float16ArrayPrototype%'),
  Float32Array: TypedArray('%Float32ArrayPrototype%'),
  Float64Array: TypedArray('%Float64ArrayPrototype%'),
  Int16Array: TypedArray('%Int16ArrayPrototype%'),
  Int32Array: TypedArray('%Int32ArrayPrototype%'),
  Int8Array: TypedArray('%Int8ArrayPrototype%'),
  Uint16Array: TypedArray('%Uint16ArrayPrototype%'),
  Uint32Array: TypedArray('%Uint32ArrayPrototype%'),
  Uint8ClampedArray: TypedArray('%Uint8ClampedArrayPrototype%'),
  Uint8Array: {
    ...TypedArray('%Uint8ArrayPrototype%'),
    // https://github.com/tc39/proposal-arraybuffer-base64
    fromBase64: fn,
    // https://github.com/tc39/proposal-arraybuffer-base64
    fromHex: fn,
  },

  '%BigInt64ArrayPrototype%': TypedArrayPrototype('BigInt64Array'),
  '%BigUint64ArrayPrototype%': TypedArrayPrototype('BigUint64Array'),
  // https://github.com/tc39/proposal-float16array
  '%Float16ArrayPrototype%': TypedArrayPrototype('Float16Array'),
  '%Float32ArrayPrototype%': TypedArrayPrototype('Float32Array'),
  '%Float64ArrayPrototype%': TypedArrayPrototype('Float64Array'),
  '%Int16ArrayPrototype%': TypedArrayPrototype('Int16Array'),
  '%Int32ArrayPrototype%': TypedArrayPrototype('Int32Array'),
  '%Int8ArrayPrototype%': TypedArrayPrototype('Int8Array'),
  '%Uint16ArrayPrototype%': TypedArrayPrototype('Uint16Array'),
  '%Uint32ArrayPrototype%': TypedArrayPrototype('Uint32Array'),
  '%Uint8ClampedArrayPrototype%': TypedArrayPrototype('Uint8ClampedArray'),
  '%Uint8ArrayPrototype%': {
    ...TypedArrayPrototype('Uint8Array'),
    // https://github.com/tc39/proposal-arraybuffer-base64
    setFromBase64: fn,
    // https://github.com/tc39/proposal-arraybuffer-base64
    setFromHex: fn,
    // https://github.com/tc39/proposal-arraybuffer-base64
    toBase64: fn,
    // https://github.com/tc39/proposal-arraybuffer-base64
    toHex: fn,
  },

  // *** Keyed Collections

  Map: {
    // Properties of the Map Constructor
    '[[Proto]]': '%FunctionPrototype%',
    '@@species': getter,
    prototype: '%MapPrototype%',
    // https://github.com/tc39/proposal-array-grouping
    groupBy: fn,
  },

  '%MapPrototype%': {
    clear: fn,
    constructor: 'Map',
    delete: fn,
    entries: fn,
    forEach: fn,
    get: fn,
    has: fn,
    keys: fn,
    set: fn,
    size: getter,
    values: fn,
    '@@iterator': fn,
    '@@toStringTag': 'string',
  },

  '%MapIteratorPrototype%': {
    // The %MapIteratorPrototype% Object
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    '@@toStringTag': 'string',
  },

  Set: {
    // Properties of the Set Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%SetPrototype%',
    '@@species': getter,
    // Seen on QuickJS
    groupBy: false,
  },

  '%SetPrototype%': {
    add: fn,
    clear: fn,
    constructor: 'Set',
    delete: fn,
    entries: fn,
    forEach: fn,
    has: fn,
    keys: fn,
    size: getter,
    values: fn,
    '@@iterator': fn,
    '@@toStringTag': 'string',
    // See https://github.com/tc39/proposal-set-methods
    intersection: fn,
    // See https://github.com/tc39/proposal-set-methods
    union: fn,
    // See https://github.com/tc39/proposal-set-methods
    difference: fn,
    // See https://github.com/tc39/proposal-set-methods
    symmetricDifference: fn,
    // See https://github.com/tc39/proposal-set-methods
    isSubsetOf: fn,
    // See https://github.com/tc39/proposal-set-methods
    isSupersetOf: fn,
    // See https://github.com/tc39/proposal-set-methods
    isDisjointFrom: fn,
  },

  '%SetIteratorPrototype%': {
    // The %SetIteratorPrototype% Object
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    '@@toStringTag': 'string',
  },

  WeakMap: {
    // Properties of the WeakMap Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%WeakMapPrototype%',
  },

  '%WeakMapPrototype%': {
    constructor: 'WeakMap',
    delete: fn,
    get: fn,
    has: fn,
    set: fn,
    '@@toStringTag': 'string',
  },

  WeakSet: {
    // Properties of the WeakSet Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%WeakSetPrototype%',
  },

  '%WeakSetPrototype%': {
    add: fn,
    constructor: 'WeakSet',
    delete: fn,
    has: fn,
    '@@toStringTag': 'string',
  },

  // *** Structured Data

  ArrayBuffer: {
    // Properties of the ArrayBuffer Constructor
    '[[Proto]]': '%FunctionPrototype%',
    isView: fn,
    prototype: '%ArrayBufferPrototype%',
    '@@species': getter,
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    fromString: false,
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    fromBigInt: false,
  },

  '%ArrayBufferPrototype%': {
    byteLength: getter,
    constructor: 'ArrayBuffer',
    slice: fn,
    '@@toStringTag': 'string',
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    concat: false,
    // See https://github.com/tc39/proposal-resizablearraybuffer
    transfer: fn,
    resize: fn,
    resizable: getter,
    maxByteLength: getter,
    // https://github.com/tc39/proposal-arraybuffer-transfer
    transferToFixedLength: fn,
    detached: getter,
    // https://github.com/endojs/endo/pull/2309#issuecomment-2155513240
    // to be proposed
    transferToImmutable: fn,
    sliceToImmutable: fn,
    immutable: getter,
  },

  // If this exists, it is purely an artifact of how we currently shim
  // `transferToImmutable`. As natively implemented, there would be no
  // such extra prototype.
  '%ImmutableArrayBufferPrototype%': {
    '[[Proto]]': '%ArrayBufferPrototype%',
    byteLength: getter,
    slice: fn,
    // See https://github.com/endojs/endo/tree/master/packages/immutable-arraybuffer#purposeful-violation
    '@@toStringTag': 'string',
    // See https://github.com/tc39/proposal-resizablearraybuffer
    transfer: fn,
    resize: fn,
    resizable: getter,
    maxByteLength: getter,
    // https://github.com/tc39/proposal-arraybuffer-transfer
    transferToFixedLength: fn,
    detached: getter,
    // https://github.com/endojs/endo/pull/2309#issuecomment-2155513240
    // to be proposed
    transferToImmutable: fn,
    sliceToImmutable: fn,
    immutable: getter,
  },

  // SharedArrayBuffer Objects
  SharedArrayBuffer: false, // UNSAFE and purposely suppressed.
  '%SharedArrayBufferPrototype%': false, // UNSAFE and purposely suppressed.

  DataView: {
    // Properties of the DataView Constructor
    '[[Proto]]': '%FunctionPrototype%',
    BYTES_PER_ELEMENT: 'number', // Non std but undeletable on Safari.
    prototype: '%DataViewPrototype%',
  },

  '%DataViewPrototype%': {
    buffer: getter,
    byteLength: getter,
    byteOffset: getter,
    constructor: 'DataView',
    getBigInt64: fn,
    getBigUint64: fn,
    // https://github.com/tc39/proposal-float16array
    getFloat16: fn,
    getFloat32: fn,
    getFloat64: fn,
    getInt8: fn,
    getInt16: fn,
    getInt32: fn,
    getUint8: fn,
    getUint16: fn,
    getUint32: fn,
    setBigInt64: fn,
    setBigUint64: fn,
    // https://github.com/tc39/proposal-float16array
    setFloat16: fn,
    setFloat32: fn,
    setFloat64: fn,
    setInt8: fn,
    setInt16: fn,
    setInt32: fn,
    setUint8: fn,
    setUint16: fn,
    setUint32: fn,
    '@@toStringTag': 'string',
  },

  // Atomics
  Atomics: false, // UNSAFE and suppressed.

  JSON: {
    parse: fn,
    stringify: fn,
    '@@toStringTag': 'string',
    // https://github.com/tc39/proposal-json-parse-with-source/
    rawJSON: fn,
    isRawJSON: fn,
  },

  // *** Control Abstraction Objects

  // https://github.com/tc39/proposal-iterator-helpers
  Iterator: {
    // Properties of the Iterator Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%IteratorPrototype%',
    from: fn,
    // https://github.com/tc39/proposal-joint-iteration
    zip: fn,
    zipKeyed: fn,
    // https://github.com/tc39/proposal-iterator-sequencing
    concat: fn,
  },

  '%IteratorPrototype%': {
    // The %IteratorPrototype% Object
    '@@iterator': fn,
    // https://github.com/tc39/proposal-iterator-helpers
    constructor: 'Iterator',
    map: fn,
    filter: fn,
    take: fn,
    drop: fn,
    flatMap: fn,
    reduce: fn,
    toArray: fn,
    forEach: fn,
    some: fn,
    every: fn,
    find: fn,
    '@@toStringTag': 'string',
    // https://github.com/tc39/proposal-async-iterator-helpers
    toAsync: fn,
    // https://github.com/tc39/proposal-explicit-resource-management
    // See https://github.com/Moddable-OpenSource/moddable/issues/523#issuecomment-1942904505
    '@@dispose': false,
  },

  // https://github.com/tc39/proposal-iterator-helpers
  '%WrapForValidIteratorPrototype%': {
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    return: fn,
  },

  // https://github.com/tc39/proposal-iterator-helpers
  '%IteratorHelperPrototype%': {
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    return: fn,
    '@@toStringTag': 'string',
  },

  // https://github.com/tc39/proposal-async-iterator-helpers
  AsyncIterator: {
    // Properties of the Iterator Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%AsyncIteratorPrototype%',
    from: fn,
  },

  '%AsyncIteratorPrototype%': {
    // The %AsyncIteratorPrototype% Object
    '@@asyncIterator': fn,
    // https://github.com/tc39/proposal-async-iterator-helpers
    constructor: 'AsyncIterator',
    map: fn,
    filter: fn,
    take: fn,
    drop: fn,
    flatMap: fn,
    reduce: fn,
    toArray: fn,
    forEach: fn,
    some: fn,
    every: fn,
    find: fn,
    '@@toStringTag': 'string',
    // https://github.com/tc39/proposal-explicit-resource-management
    // See https://github.com/Moddable-OpenSource/moddable/issues/523#issuecomment-1942904505
    '@@asyncDispose': false,
  },

  // https://github.com/tc39/proposal-async-iterator-helpers
  '%WrapForValidAsyncIteratorPrototype%': {
    '[[Proto]]': '%AsyncIteratorPrototype%',
    next: fn,
    return: fn,
  },

  // https://github.com/tc39/proposal-async-iterator-helpers
  '%AsyncIteratorHelperPrototype%': {
    '[[Proto]]': '%AsyncIteratorPrototype%',
    next: fn,
    return: fn,
    '@@toStringTag': 'string',
  },

  '%InertGeneratorFunction%': {
    // Properties of the GeneratorFunction Constructor
    '[[Proto]]': '%InertFunction%',
    prototype: '%Generator%',
  },

  '%Generator%': {
    // Properties of the GeneratorFunction Prototype Object
    '[[Proto]]': '%FunctionPrototype%',
    constructor: '%InertGeneratorFunction%',
    prototype: '%GeneratorPrototype%',
    '@@toStringTag': 'string',
  },

  '%InertAsyncGeneratorFunction%': {
    // Properties of the AsyncGeneratorFunction Constructor
    '[[Proto]]': '%InertFunction%',
    prototype: '%AsyncGenerator%',
  },

  '%AsyncGenerator%': {
    // Properties of the AsyncGeneratorFunction Prototype Object
    '[[Proto]]': '%FunctionPrototype%',
    constructor: '%InertAsyncGeneratorFunction%',
    prototype: '%AsyncGeneratorPrototype%',
    // length prop added here for React Native jsc-android
    // https://github.com/endojs/endo/issues/660
    // https://github.com/react-native-community/jsc-android-buildscripts/issues/181
    length: 'number',
    '@@toStringTag': 'string',
  },

  '%GeneratorPrototype%': {
    // Properties of the Generator Prototype Object
    '[[Proto]]': '%IteratorPrototype%',
    constructor: '%Generator%',
    next: fn,
    return: fn,
    throw: fn,
    '@@toStringTag': 'string',
  },

  '%AsyncGeneratorPrototype%': {
    // Properties of the AsyncGenerator Prototype Object
    '[[Proto]]': '%AsyncIteratorPrototype%',
    constructor: '%AsyncGenerator%',
    next: fn,
    return: fn,
    throw: fn,
    '@@toStringTag': 'string',
  },

  // TODO: To be replaced with Promise.delegate
  //
  // The HandledPromise global variable shimmed by `@agoric/eventual-send/shim`
  // implements an initial version of the eventual send specification at:
  // https://github.com/tc39/proposal-eventual-send
  //
  // We will likely change this to add a property to Promise called
  // Promise.delegate and put static methods on it, which will necessitate
  // another permits change to update to the current proposed standard.
  HandledPromise: {
    '[[Proto]]': 'Promise',
    applyFunction: fn,
    applyFunctionSendOnly: fn,
    applyMethod: fn,
    applyMethodSendOnly: fn,
    get: fn,
    getSendOnly: fn,
    prototype: '%PromisePrototype%',
    resolve: fn,
  },

  // https://github.com/tc39/proposal-source-phase-imports?tab=readme-ov-file#js-module-source

  ModuleSource: {
    '[[Proto]]': '%AbstractModuleSource%',
    prototype: '%ModuleSourcePrototype%',
  },

  '%ModuleSourcePrototype%': {
    '[[Proto]]': '%AbstractModuleSourcePrototype%',
    constructor: 'ModuleSource',
    '@@toStringTag': 'string',
    // https://github.com/tc39/proposal-compartments
    bindings: getter,
    needsImport: getter,
    needsImportMeta: getter,
    // @endo/module-source provides a legacy interface
    imports: getter,
    exports: getter,
    reexports: getter,
  },

  '%AbstractModuleSource%': {
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%AbstractModuleSourcePrototype%',
  },

  '%AbstractModuleSourcePrototype%': {
    constructor: '%AbstractModuleSource%',
  },

  Promise: {
    // Properties of the Promise Constructor
    '[[Proto]]': '%FunctionPrototype%',
    all: fn,
    allSettled: fn,
    // https://github.com/Agoric/SES-shim/issues/550
    any: fn,
    prototype: '%PromisePrototype%',
    race: fn,
    reject: fn,
    resolve: fn,
    // https://github.com/tc39/proposal-promise-with-resolvers
    withResolvers: fn,
    '@@species': getter,
    // https://github.com/tc39/proposal-promise-try
    try: fn,
  },

  '%PromisePrototype%': {
    // Properties of the Promise Prototype Object
    catch: fn,
    constructor: 'Promise',
    finally: fn,
    then: fn,
    '@@toStringTag': 'string',
    // Non-standard, used in node to prevent async_hooks from breaking
    'UniqueSymbol(async_id_symbol)': accessor,
    'UniqueSymbol(trigger_async_id_symbol)': accessor,
    'UniqueSymbol(destroyed)': accessor,
  },

  '%InertAsyncFunction%': {
    // Properties of the AsyncFunction Constructor
    '[[Proto]]': '%InertFunction%',
    prototype: '%AsyncFunctionPrototype%',
  },

  '%AsyncFunctionPrototype%': {
    // Properties of the AsyncFunction Prototype Object
    '[[Proto]]': '%FunctionPrototype%',
    constructor: '%InertAsyncFunction%',
    // length prop added here for React Native jsc-android
    // https://github.com/endojs/endo/issues/660
    // https://github.com/react-native-community/jsc-android-buildscripts/issues/181
    length: 'number',
    '@@toStringTag': 'string',
  },

  // Reflection

  Reflect: {
    // The Reflect Object
    // Not a function object.
    apply: fn,
    construct: fn,
    defineProperty: fn,
    deleteProperty: fn,
    get: fn,
    getOwnPropertyDescriptor: fn,
    getPrototypeOf: fn,
    has: fn,
    isExtensible: fn,
    ownKeys: fn,
    preventExtensions: fn,
    set: fn,
    setPrototypeOf: fn,
    '@@toStringTag': 'string',
  },

  Proxy: {
    // Properties of the Proxy Constructor
    '[[Proto]]': '%FunctionPrototype%',
    revocable: fn,
  },

  // Appendix B

  // Annex B: Additional Properties of the Global Object

  escape: fn,
  unescape: fn,

  // Proposed

  '%UniqueCompartment%': {
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%CompartmentPrototype%',
    toString: fn,
  },

  '%InertCompartment%': {
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%CompartmentPrototype%',
    toString: fn,
  },

  '%CompartmentPrototype%': {
    constructor: '%InertCompartment%',
    evaluate: fn,
    globalThis: getter,
    name: getter,
    import: asyncFn,
    load: asyncFn,
    importNow: fn,
    module: fn,
    '@@toStringTag': 'string',
  },

  lockdown: fn,
  harden: { ...fn, isFake: 'boolean' },

  '%InitialGetStackString%': fn,
};$h͏_once.permitted(permitted);
})()
,
// === 17. ses ./src/intrinsics.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let cauterizeProperty,TypeError,WeakSet,arrayFilter,create,defineProperty,entries,freeze,getOwnPropertyDescriptor,getOwnPropertyDescriptors,globalThis,is,isPrimitive,hasOwn,values,weaksetHas,constantProperties,sharedGlobalPropertyNames,universalPropertyNames,permitted;$h͏_imports([["./cauterize-property.js", [["cauterizeProperty",[$h͏_a => (cauterizeProperty = $h͏_a)]]]],["./commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["WeakSet",[$h͏_a => (WeakSet = $h͏_a)]],["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["is",[$h͏_a => (is = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["values",[$h͏_a => (values = $h͏_a)]],["weaksetHas",[$h͏_a => (weaksetHas = $h͏_a)]]]],["./permits.js", [["constantProperties",[$h͏_a => (constantProperties = $h͏_a)]],["sharedGlobalPropertyNames",[$h͏_a => (sharedGlobalPropertyNames = $h͏_a)]],["universalPropertyNames",[$h͏_a => (universalPropertyNames = $h͏_a)]],["permitted",[$h͏_a => (permitted = $h͏_a)]]]]]);

























/**
 * @import {Reporter} from './reporting-types.js'
 */

const isFunction = obj => typeof obj === 'function';

// Like defineProperty, but throws if it would modify an existing property.
// We use this to ensure that two conflicting attempts to define the same
// property throws, causing SES initialization to fail. Otherwise, a
// conflict between, for example, two of SES's internal permits might
// get masked as one overwrites the other. Accordingly, the thrown error
// complains of a "Conflicting definition".
function initProperty(obj, name, desc) {
  if (hasOwn(obj, name)) {
    const preDesc = getOwnPropertyDescriptor(obj, name);
    if (
      !preDesc ||
      !is(preDesc.value, desc.value) ||
      preDesc.get !== desc.get ||
      preDesc.set !== desc.set ||
      preDesc.writable !== desc.writable ||
      preDesc.enumerable !== desc.enumerable ||
      preDesc.configurable !== desc.configurable
    ) {
      throw TypeError(`Conflicting definitions of ${name}`);
    }
  }
  defineProperty(obj, name, desc);
}

// Like defineProperties, but throws if it would modify an existing property.
// This ensures that the intrinsics added to the intrinsics collector object
// graph do not overlap.
function initProperties(obj, descs) {
  for (const [name, desc] of entries(descs)) {
    initProperty(obj, name, desc);
  }
}

// sampleGlobals creates an intrinsics object, suitable for
// interinsicsCollector.addIntrinsics, from the named properties of a global
// object.
function sampleGlobals(globalObject, newPropertyNames) {
  const newIntrinsics = { __proto__: null };
  for (const [globalName, intrinsicName] of entries(newPropertyNames)) {
    if (hasOwn(globalObject, globalName)) {
      newIntrinsics[intrinsicName] = globalObject[globalName];
    }
  }
  return newIntrinsics;
}

/**
 * @param {Reporter} reporter
 */
       const makeIntrinsicsCollector = reporter => {
  /** @type {Record<any, any>} */
  const intrinsics = create(null);
  let pseudoNatives;

  const addIntrinsics = newIntrinsics => {
    initProperties(intrinsics, getOwnPropertyDescriptors(newIntrinsics));
  };
  freeze(addIntrinsics);

  // For each intrinsic, if it has a `.prototype` property, use the
  // permits to find out the intrinsic name for that prototype and add it
  // to the intrinsics.
  const completePrototypes = () => {
    for (const [name, intrinsic] of entries(intrinsics)) {
      if (isPrimitive(intrinsic)) {
        // eslint-disable-next-line no-continue
        continue;
      }
      if (!hasOwn(intrinsic, 'prototype')) {
        // eslint-disable-next-line no-continue
        continue;
      }
      const permit = permitted[name];
      if (typeof permit !== 'object') {
        throw TypeError(`Expected permit object at permits.${name}`);
      }
      const namePrototype = permit.prototype;
      if (!namePrototype) {
        cauterizeProperty(
          intrinsic,
          'prototype',
          false,
          `${name}.prototype`,
          reporter,
        );
        // eslint-disable-next-line no-continue
        continue;
      }
      if (
        typeof namePrototype !== 'string' ||
        !hasOwn(permitted, namePrototype)
      ) {
        throw TypeError(`Unrecognized ${name}.prototype permits entry`);
      }
      const intrinsicPrototype = intrinsic.prototype;
      if (hasOwn(intrinsics, namePrototype)) {
        if (intrinsics[namePrototype] !== intrinsicPrototype) {
          throw TypeError(`Conflicting bindings of ${namePrototype}`);
        }
        // eslint-disable-next-line no-continue
        continue;
      }
      intrinsics[namePrototype] = intrinsicPrototype;
    }
  };
  freeze(completePrototypes);

  const finalIntrinsics = () => {
    freeze(intrinsics);
    pseudoNatives = new WeakSet(arrayFilter(values(intrinsics), isFunction));
    return intrinsics;
  };
  freeze(finalIntrinsics);

  const isPseudoNative = obj => {
    if (!pseudoNatives) {
      throw TypeError(
        'isPseudoNative can only be called after finalIntrinsics',
      );
    }
    return weaksetHas(pseudoNatives, obj);
  };
  freeze(isPseudoNative);

  const intrinsicsCollector = {
    addIntrinsics,
    completePrototypes,
    finalIntrinsics,
    isPseudoNative,
  };
  freeze(intrinsicsCollector);

  addIntrinsics(constantProperties);
  addIntrinsics(sampleGlobals(globalThis, universalPropertyNames));

  return intrinsicsCollector;
};

/**
 * getGlobalIntrinsics()
 * Doesn't tame, delete, or modify anything. Samples globalObject to create an
 * intrinsics record containing only the permitted global variables, listed
 * by the intrinsic names appropriate for new globals, i.e., the globals of
 * newly constructed compartments.
 *
 * WARNING:
 * If run before lockdown, the returned intrinsics record will carry the
 * *original* unsafe (feral, untamed) bindings of these global variables.
 *
 * @param {object} globalObject
 * @param {Reporter} reporter
 */$h͏_once.makeIntrinsicsCollector(makeIntrinsicsCollector);
       const getGlobalIntrinsics = (globalObject, reporter) => {
  // TODO pass a proper reporter to `makeIntrinsicsCollector`
  const { addIntrinsics, finalIntrinsics } = makeIntrinsicsCollector(reporter);

  addIntrinsics(sampleGlobals(globalObject, sharedGlobalPropertyNames));

  return finalIntrinsics();
};$h͏_once.getGlobalIntrinsics(getGlobalIntrinsics);
})()
,
// === 18. ses ./src/permits-intrinsics.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let permitted,FunctionInstance,isAccessorPermit,Map,String,Symbol,TypeError,arrayFilter,arrayIncludes,arrayMap,entries,getOwnPropertyDescriptor,getPrototypeOf,isPrimitive,mapGet,hasOwn,ownKeys,symbolKeyFor,cauterizeProperty;$h͏_imports([["./permits.js", [["permitted",[$h͏_a => (permitted = $h͏_a)]],["FunctionInstance",[$h͏_a => (FunctionInstance = $h͏_a)]],["isAccessorPermit",[$h͏_a => (isAccessorPermit = $h͏_a)]]]],["./commons.js", [["Map",[$h͏_a => (Map = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["Symbol",[$h͏_a => (Symbol = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["arrayIncludes",[$h͏_a => (arrayIncludes = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["symbolKeyFor",[$h͏_a => (symbolKeyFor = $h͏_a)]]]],["./cauterize-property.js", [["cauterizeProperty",[$h͏_a => (cauterizeProperty = $h͏_a)]]]]]);
































































/**
 * @import {Reporter} from './reporting-types.js'
 */

/**
 * Removes all non-allowed properties found by recursively and
 * reflectively walking own property chains.
 *
 * @param {object} intrinsics
 * @param {(virtualizedNativeFunction: object) => void} markVirtualizedNativeFunction
 * @param {Reporter} reporter
 */
               function removeUnpermittedIntrinsics(
  intrinsics,
  markVirtualizedNativeFunction,
  reporter,
) {
  // These primitives are allowed for permits.
  const primitives = ['undefined', 'boolean', 'number', 'string', 'symbol'];

  // These symbols are allowed as well-known symbols
  const wellKnownSymbolNames = new Map(
    Symbol
      ? arrayMap(
          arrayFilter(
            entries(permitted['%SharedSymbol%']),
            ([name, permit]) =>
              permit === 'symbol' && typeof Symbol[name] === 'symbol',
          ),
          ([name]) => [Symbol[name], `@@${name}`],
        )
      : [],
  );

  /**
   * asStringPropertyName()
   *
   * @param {string} path
   * @param {string | symbol} prop
   */
  function asStringPropertyName(path, prop) {
    if (typeof prop === 'string') {
      return prop;
    }

    const wellKnownSymbol = mapGet(wellKnownSymbolNames, prop);

    if (typeof prop === 'symbol') {
      if (wellKnownSymbol) {
        return wellKnownSymbol;
      } else {
        const registeredKey = symbolKeyFor(prop);
        if (registeredKey !== undefined) {
          return `RegisteredSymbol(${registeredKey})`;
        } else {
          return `Unique${String(prop)}`;
        }
      }
    }

    throw TypeError(`Unexpected property name type ${path} ${prop}`);
  }

  /*
   * visitPrototype()
   * Validate the object's [[prototype]] against a permit.
   */
  function visitPrototype(path, obj, protoName) {
    if (isPrimitive(obj)) {
      throw TypeError(`Object expected: ${path}, ${String(obj)}, ${protoName}`);
    }
    const proto = getPrototypeOf(obj);

    // Null prototype.
    if (proto === null && protoName === null) {
      return;
    }

    // Assert: protoName, if provided, is a string.
    if (protoName !== undefined && typeof protoName !== 'string') {
      throw TypeError(`Malformed permit ${path}.__proto__`);
    }

    // If permit not specified, default to Object.prototype.
    if (proto === intrinsics[protoName || '%ObjectPrototype%']) {
      return;
    }

    // We can't clean [[Prototype]], therefore abort.
    throw TypeError(
      `Unexpected [[Prototype]] at ${path}.__proto__ (expected ${protoName || '%ObjectPrototype%'})`,
    );
  }

  /*
   * isAllowedPropertyValue()
   * enforce permit for a single property value.
   */
  function isAllowedPropertyValue(path, value, prop, permit) {
    if (typeof permit === 'object') {
      // eslint-disable-next-line no-use-before-define
      visitProperties(path, value, permit);
      // The property is allowed.
      return true;
    }

    if (permit === false) {
      // A boolan 'false' permit specifies the removal of a property.
      // We require a more specific permit instead of allowing 'true'.
      return false;
    }

    if (typeof permit === 'string') {
      // A string permit can have one of two meanings:

      if (prop === 'prototype' || prop === 'constructor') {
        // For prototype and constructor value properties, the permit
        // is the name of an intrinsic.
        // Assumption: prototype and constructor cannot be primitives.
        // Assert: the permit is the name of an intrinsic.
        // Assert: the property value is equal to that intrinsic.

        if (hasOwn(intrinsics, permit)) {
          if (value !== intrinsics[permit]) {
            throw TypeError(`Does not match permit for ${path}`);
          }
          return true;
        }
      } else {
        // For all other properties, the permit is the name of a primitive.
        // Assert: the permit is the name of a primitive.
        // Assert: the property value type is equal to that primitive.

        // eslint-disable-next-line no-lonely-if
        if (arrayIncludes(primitives, permit)) {
          // eslint-disable-next-line valid-typeof
          if (typeof value !== permit) {
            throw TypeError(
              `At ${path} expected ${permit} not ${typeof value}`,
            );
          }
          return true;
        }
      }
    }

    throw TypeError(
      `Unexpected property ${prop} with permit ${permit} at ${path}`,
    );
  }

  /*
   * isAllowedProperty()
   * Check whether a single property is allowed.
   */
  function isAllowedProperty(path, obj, prop, permit) {
    const desc = getOwnPropertyDescriptor(obj, prop);
    if (!desc) {
      throw TypeError(`Property ${prop} not found at ${path}`);
    }

    // Is this a value property?
    if (hasOwn(desc, 'value')) {
      if (isAccessorPermit(permit)) {
        throw TypeError(`Accessor expected at ${path}`);
      }
      return isAllowedPropertyValue(path, desc.value, prop, permit);
    }
    if (!isAccessorPermit(permit)) {
      throw TypeError(`Accessor not expected at ${path}`);
    }
    return (
      isAllowedPropertyValue(`${path}<get>`, desc.get, prop, permit.get) &&
      isAllowedPropertyValue(`${path}<set>`, desc.set, prop, permit.set)
    );
  }

  /*
   * getSubPermit()
   */
  function getSubPermit(obj, permit, prop) {
    const permitProp = prop === '__proto__' ? '--proto--' : prop;
    if (hasOwn(permit, permitProp)) {
      return permit[permitProp];
    }

    if (typeof obj === 'function') {
      if (hasOwn(FunctionInstance, permitProp)) {
        return FunctionInstance[permitProp];
      }
    }

    return undefined;
  }

  /*
   * visitProperties()
   * Visit all properties for a permit.
   */
  function visitProperties(path, obj, permit) {
    if (obj === undefined || obj === null) {
      return;
    }

    const protoName = permit['[[Proto]]'];
    visitPrototype(path, obj, protoName);

    if (typeof obj === 'function') {
      markVirtualizedNativeFunction(obj);
    }

    for (const prop of ownKeys(obj)) {
      const propString = asStringPropertyName(path, prop);
      const subPath = `${path}.${propString}`;
      const subPermit = getSubPermit(obj, permit, propString);

      if (!subPermit || !isAllowedProperty(subPath, obj, prop, subPermit)) {
        cauterizeProperty(obj, prop, subPermit === false, subPath, reporter);
      }
    }
  }

  // Start path with 'intrinsics' to clarify that properties are not
  // removed from the global object by the permitting operation.
  visitProperties('intrinsics', intrinsics, permitted);
}$h͏_once.default(      removeUnpermittedIntrinsics);
})()
,
// === 19. ses ./src/tame-function-constructors.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_FUNCTION,SyntaxError,TypeError,defineProperties,getPrototypeOf,setPrototypeOf,freeze,AsyncGeneratorFunctionInstance;$h͏_imports([["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["SyntaxError",[$h͏_a => (SyntaxError = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]],["setPrototypeOf",[$h͏_a => (setPrototypeOf = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["AsyncGeneratorFunctionInstance",[$h͏_a => (AsyncGeneratorFunctionInstance = $h͏_a)]]]]]);










// This module replaces the original `Function` constructor, and the original
// `%GeneratorFunction%`, `%AsyncFunction%` and `%AsyncGeneratorFunction%`,
// with safe replacements that throw if invoked.
//
// These are all reachable via syntax, so it isn't sufficient to just
// replace global properties with safe versions. Our main goal is to prevent
// access to the `Function` constructor through these starting points.
//
// After modules block is done, the originals must no longer be reachable,
// unless a copy has been made, and functions can only be created by syntax
// (using eval) or by invoking a previously saved reference to the originals.
//
// Typically, this module will not be used directly, but via the
// [lockdown - shim] which handles all necessary repairs and taming in SES.
//
// Relation to ECMA specifications
//
// The taming of constructors really wants to be part of the standard, because
// new constructors may be added in the future, reachable from syntax, and this
// list must be updated to match.
//
// In addition, the standard needs to define four new intrinsics for the safe
// replacement functions. See [./permits-intrinsics.js].
//
// Adapted from SES/Caja
// Copyright (C) 2011 Google Inc.
// https://github.com/google/caja/blob/master/src/com/google/caja/ses/startSES.js
// https://github.com/google/caja/blob/master/src/com/google/caja/ses/repairES5.js

/**
 * tameFunctionConstructors()
 * This block replaces the original Function constructor, and the original
 * %GeneratorFunction% %AsyncFunction% and %AsyncGeneratorFunction%, with
 * safe replacements that throw if invoked.
 */
               function tameFunctionConstructors() {
  try {
    // Verify that the method is not callable.
    // eslint-disable-next-line @endo/no-polymorphic-call
    FERAL_FUNCTION.prototype.constructor('return 1');
  } catch (ignore) {
    // Throws, no need to patch.
    return freeze({});
  }

  const newIntrinsics = {};

  /*
   * The process to repair constructors:
   * 1. Create an instance of the function by evaluating syntax
   * 2. Obtain the prototype from the instance
   * 3. Create a substitute tamed constructor
   * 4. Replace the original constructor with the tamed constructor
   * 5. Replace tamed constructor prototype property with the original one
   * 6. Replace its [[Prototype]] slot with the tamed constructor of Function
   */
  function repairFunction(name, intrinsicName, declaration) {
    let FunctionInstance;
    try {
      // eslint-disable-next-line no-eval, no-restricted-globals
      FunctionInstance = (0, eval)(declaration);
    } catch (e) {
      if (e instanceof SyntaxError) {
        // Prevent failure on platforms where async and/or generators
        // are not supported.
        return;
      }
      // Re-throw
      throw e;
    }
    const FunctionPrototype = getPrototypeOf(FunctionInstance);

    // Prevents the evaluation of source when calling constructor on the
    // prototype of functions.
    // eslint-disable-next-line func-names
    const InertConstructor = function () {
      throw TypeError(
        'Function.prototype.constructor is not a valid constructor.',
      );
    };
    defineProperties(InertConstructor, {
      prototype: { value: FunctionPrototype },
      name: {
        value: name,
        writable: false,
        enumerable: false,
        configurable: true,
      },
    });

    defineProperties(FunctionPrototype, {
      constructor: { value: InertConstructor },
    });

    // Reconstructs the inheritance among the new tamed constructors
    // to mirror the original specified in normal JS.
    if (InertConstructor !== FERAL_FUNCTION.prototype.constructor) {
      setPrototypeOf(InertConstructor, FERAL_FUNCTION.prototype.constructor);
    }

    newIntrinsics[intrinsicName] = InertConstructor;
  }

  // Here, the order of operation is important: Function needs to be repaired
  // first since the other repaired constructors need to inherit from the
  // tamed Function function constructor.

  repairFunction('Function', '%InertFunction%', '(function(){})');
  repairFunction(
    'GeneratorFunction',
    '%InertGeneratorFunction%',
    '(function*(){})',
  );
  repairFunction(
    'AsyncFunction',
    '%InertAsyncFunction%',
    '(async function(){})',
  );

  if (AsyncGeneratorFunctionInstance !== undefined) {
    repairFunction(
      'AsyncGeneratorFunction',
      '%InertAsyncGeneratorFunction%',
      '(async function*(){})',
    );
  }

  return newIntrinsics;
}$h͏_once.default(      tameFunctionConstructors);
})()
,
// === 20. ses ./src/tame-date-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Date,TypeError,apply,construct,defineProperties;$h͏_imports([["./commons.js", [["Date",[$h͏_a => (Date = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["construct",[$h͏_a => (construct = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]]]]]);









               function tameDateConstructor() {
  const OriginalDate = Date;
  const DatePrototype = OriginalDate.prototype;

  // Use concise methods to obtain named functions without constructors.
  const tamedMethods = {
    /**
     * `%SharedDate%.now()` throw a `TypeError` starting with "secure mode".
     * See https://github.com/endojs/endo/issues/910#issuecomment-1581855420
     */
    now() {
      throw TypeError('secure mode Calling %SharedDate%.now() throws');
    },
  };

  /**
   * Tame the Date constructor.
   * See https://github.com/endojs/endo/issues/910#issuecomment-1581855420
   *
   * Common behavior
   *   * `new Date(x)` coerces x into a number and then returns a Date
   *     for that number of millis since the epoch
   *   * `new Date(NaN)` returns a Date object which stringifies to
   *     'Invalid Date'
   *   * `new Date(undefined)` returns a Date object which stringifies to
   *     'Invalid Date'
   *
   * OriginalDate (normal standard) behavior preserved by
   * `%InitialDate%`.
   *   * `Date(anything)` gives a string with the current time
   *   * `new Date()` returns the current time, as a Date object
   *
   * `%SharedDate%` behavior
   *   * `Date(anything)` throws a TypeError starting with "secure mode"
   *   * `new Date()` throws a TypeError starting with "secure mode"
   *
   * @param {{powers?: string}} [opts]
   */
  const makeDateConstructor = ({ powers = 'none' } = {}) => {
    let ResultDate;
    if (powers === 'original') {
      // eslint-disable-next-line no-shadow
      ResultDate = function Date(...rest) {
        if (new.target === undefined) {
          return apply(OriginalDate, undefined, rest);
        }
        return construct(OriginalDate, rest, new.target);
      };
    } else {
      // eslint-disable-next-line no-shadow
      ResultDate = function Date(...rest) {
        if (new.target === undefined) {
          throw TypeError(
            'secure mode Calling %SharedDate% constructor as a function throws',
          );
        }
        if (rest.length === 0) {
          throw TypeError(
            'secure mode Calling new %SharedDate%() with no arguments throws',
          );
        }
        return construct(OriginalDate, rest, new.target);
      };
    }

    defineProperties(ResultDate, {
      length: { value: 7 },
      prototype: {
        value: DatePrototype,
        writable: false,
        enumerable: false,
        configurable: false,
      },
      parse: {
        value: OriginalDate.parse,
        writable: true,
        enumerable: false,
        configurable: true,
      },
      UTC: {
        value: OriginalDate.UTC,
        writable: true,
        enumerable: false,
        configurable: true,
      },
    });
    return ResultDate;
  };
  const InitialDate = makeDateConstructor({ powers: 'original' });
  const SharedDate = makeDateConstructor({ powers: 'none' });

  defineProperties(InitialDate, {
    now: {
      value: OriginalDate.now,
      writable: true,
      enumerable: false,
      configurable: true,
    },
  });
  defineProperties(SharedDate, {
    now: {
      value: tamedMethods.now,
      writable: true,
      enumerable: false,
      configurable: true,
    },
  });

  defineProperties(DatePrototype, {
    constructor: { value: SharedDate },
  });

  return {
    '%InitialDate%': InitialDate,
    '%SharedDate%': SharedDate,
  };
}$h͏_once.default(      tameDateConstructor);
})()
,
// === 21. ses ./src/tame-math-object.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Math,TypeError,create,getOwnPropertyDescriptors,objectPrototype;$h͏_imports([["./commons.js", [["Math",[$h͏_a => (Math = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["objectPrototype",[$h͏_a => (objectPrototype = $h͏_a)]]]]]);







               function tameMathObject() {
  const originalMath = Math;
  const initialMath = originalMath; // to follow the naming pattern

  const { random: _, ...otherDescriptors } =
    getOwnPropertyDescriptors(originalMath);

  // Use concise methods to obtain named functions without constructors.
  const tamedMethods = {
    /**
     * `%SharedMath%.random()` throws a TypeError starting with "secure mode".
     * See https://github.com/endojs/endo/issues/910#issuecomment-1581855420
     */
    random() {
      throw TypeError('secure mode %SharedMath%.random() throws');
    },
  };

  const sharedMath = create(objectPrototype, {
    ...otherDescriptors,
    random: {
      value: tamedMethods.random,
      writable: true,
      enumerable: false,
      configurable: true,
    },
  });

  return {
    '%InitialMath%': initialMath,
    '%SharedMath%': sharedMath,
  };
}$h͏_once.default(      tameMathObject);
})()
,
// === 22. ses ./src/tame-regexp-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_REG_EXP,TypeError,construct,defineProperties,getOwnPropertyDescriptor,speciesSymbol;$h͏_imports([["./commons.js", [["FERAL_REG_EXP",[$h͏_a => (FERAL_REG_EXP = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["construct",[$h͏_a => (construct = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["speciesSymbol",[$h͏_a => (speciesSymbol = $h͏_a)]]]]]);








               function tameRegExpConstructor(regExpTaming = 'safe') {
  const RegExpPrototype = FERAL_REG_EXP.prototype;

  const makeRegExpConstructor = (_ = {}) => {
    // RegExp has non-writable static properties we need to omit.
    /**
     * @param  {Parameters<typeof FERAL_REG_EXP>} rest
     */
    const ResultRegExp = function RegExp(...rest) {
      if (new.target === undefined) {
        return FERAL_REG_EXP(...rest);
      }
      return construct(FERAL_REG_EXP, rest, new.target);
    };

    defineProperties(ResultRegExp, {
      length: { value: 2 },
      prototype: {
        value: RegExpPrototype,
        writable: false,
        enumerable: false,
        configurable: false,
      },
    });
    // Hermes does not have `Symbol.species`. We should support such platforms.
    if (speciesSymbol) {
      const speciesDesc = getOwnPropertyDescriptor(
        FERAL_REG_EXP,
        speciesSymbol,
      );
      if (!speciesDesc) {
        throw TypeError('no RegExp[Symbol.species] descriptor');
      }
      defineProperties(ResultRegExp, {
        [speciesSymbol]: speciesDesc,
      });
    }
    return ResultRegExp;
  };

  const InitialRegExp = makeRegExpConstructor();
  const SharedRegExp = makeRegExpConstructor();

  if (regExpTaming !== 'unsafe') {
    // @ts-expect-error Deleted properties must be optional
    delete RegExpPrototype.compile;
  }
  defineProperties(RegExpPrototype, {
    constructor: { value: SharedRegExp },
  });

  return {
    '%InitialRegExp%': InitialRegExp,
    '%SharedRegExp%': SharedRegExp,
  };
}$h͏_once.default(      tameRegExpConstructor);
})()
,
// === 23. ses ./src/enablements.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let toStringTagSymbol,iteratorSymbol;$h͏_imports([["./commons.js", [["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]],["iteratorSymbol",[$h͏_a => (iteratorSymbol = $h͏_a)]]]]]);

/**
 * Exports {@code enablements}, a recursively defined
 * JSON record defining the optimum set of intrinsics properties
 * that need to be "repaired" before hardening is applied on
 * enviromments subject to the override mistake.
 *
 * @author JF Paradis
 * @author Mark S. Miller
 *
 * @module
 */

/**
 * <p>Because "repairing" replaces data properties with accessors, every
 * time a repaired property is accessed, the associated getter is invoked,
 * which degrades the runtime performance of all code executing in the
 * repaired enviromment, compared to the non-repaired case. In order
 * to maintain performance, we only repair the properties of objects
 * for which hardening causes a breakage of their normal intended usage.
 *
 * There are three unwanted cases:
 * <ul>
 * <li>Overriding properties on objects typically used as records,
 *     namely {@code "Object"} and {@code "Array"}. In the case of arrays,
 *     the situation is unintentional, a given program might not be aware
 *     that non-numerical properties are stored on the underlying object
 *     instance, not on the array. When an object is typically used as a
 *     map, we repair all of its prototype properties.
 * <li>Overriding properties on objects that provide defaults on their
 *     prototype and that programs typically set using an assignment, such as
 *     {@code "Error.prototype.message"} and {@code "Function.prototype.name"}
 *     (both default to "").
 * <li>Setting-up a prototype chain, where a constructor is set to extend
 *     another one. This is typically set by assignment, for example
 *     {@code "Child.prototype.constructor = Child"}, instead of invoking
 *     Object.defineProperty();
 *
 * <p>Each JSON record enumerates the disposition of the properties on
 * some corresponding intrinsic object.
 *
 * <p>For each such record, the values associated with its property
 * names can be:
 * <ul>
 * <li>true, in which case this property is simply repaired. The
 *     value associated with that property is not traversed. For
 *     example, {@code "Function.prototype.name"} leads to true,
 *     meaning that the {@code "name"} property of {@code
 *     "Function.prototype"} should be repaired (which is needed
 *     when inheriting from @code{Function} and setting the subclass's
 *     {@code "prototype.name"} property). If the property is
 *     already an accessor property, it is not repaired (because
 *     accessors are not subject to the override mistake).
 * <li>"*", in which case this property is not repaired but the
 *     value associated with that property are traversed and repaired.
 * <li>Another record, in which case this property is not repaired
 *     and that next record represents the disposition of the object
 *     which is its value. For example,{@code "FunctionPrototype"}
 *     leads to another record explaining which properties {@code
 *     Function.prototype} need to be repaired.
 */

/**
 * Minimal enablements when all the code is modern and known not to
 * step into the override mistake, except for the following pervasive
 * cases.
 */
       const minEnablements = {
  '%ObjectPrototype%': {
    toString: true,
  },

  '%FunctionPrototype%': {
    toString: true  // set by "rollup"
  },

  '%ErrorPrototype%': {
    name: true  // set by "precond", "ava", "node-fetch"
  },

  '%IteratorPrototype%': {
    toString: true,
    // https://github.com/tc39/proposal-iterator-helpers
    constructor: true,
    // https://github.com/tc39/proposal-iterator-helpers
    [toStringTagSymbol]: true,
  },
};

/**
 * Moderate enablements are usually good enough for legacy compat.
 */$h͏_once.minEnablements(minEnablements);
       const moderateEnablements = {
  ...minEnablements,

  '%ObjectPrototype%': {
    toString: true,
    valueOf: true,
  },

  '%ArrayPrototype%': {
    toString: true,
    push: true, // set by "Google Analytics"
    concat: true, // set by mobx generated code (old TS compiler?)
    [iteratorSymbol]: true  // set by mobx generated code (old TS compiler?)
  },

  '%IteratorPrototype%': {
    [iteratorSymbol]: true  // is sometimes used in custom iterators and generators implementations eg. @rive-app/canvas
  },

  // Function.prototype has no 'prototype' property to enable.
  // Function instances have their own 'name' and 'length' properties
  // which are configurable and non-writable. Thus, they are already
  // non-assignable anyway.
  '%FunctionPrototype%': {
    constructor: true, // set by "regenerator-runtime"
    bind: true, // set by "underscore", "express"
    toString: true  // set by "rollup"
  },

  '%ErrorPrototype%': {
    constructor: true, // set by "fast-json-patch", "node-fetch"
    message: true,
    name: true, // set by "precond", "ava", "node-fetch", "node 14"
    toString: true  // set by "bluebird"
  },

  '%TypeErrorPrototype%': {
    constructor: true, // set by "readable-stream"
    message: true, // set by "tape"
    name: true  // set by "readable-stream", "node 14"
  },

  '%SyntaxErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"
  },

  '%RangeErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"
  },

  '%URIErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"
  },

  '%EvalErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"
  },

  '%ReferenceErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"
  },

  // https://github.com/endojs/endo/issues/550
  '%AggregateErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"?
  },

  '%PromisePrototype%': {
    constructor: true  // set by "core-js"
  },

  '%TypedArrayPrototype%': '*', // set by https://github.com/feross/buffer

  '%Generator%': {
    constructor: true,
    name: true,
    toString: true,
  },
};

/**
 * The 'severe' enablement are needed because of issues tracked at
 * https://github.com/endojs/endo/issues/576
 *
 * They are like the `moderate` enablements except for the entries below.
 */$h͏_once.moderateEnablements(moderateEnablements);
       const severeEnablements = {
  ...moderateEnablements,

  /**
   * Rollup (as used at least by vega) and webpack
   * (as used at least by regenerator) both turn exports into assignments
   * to a big `exports` object that inherits directly from
   * `Object.prototype`. Some of the exported names we've seen include
   * `hasOwnProperty`, `constructor`, and `toString`. But the strategy used
   * by rollup and webpack potentionally turns any exported name
   * into an assignment rejected by the override mistake. That's why
   * the `severe` enablements takes the extreme step of enabling
   * everything on `Object.prototype`.
   *
   * In addition, code doing inheritance manually will often override
   * the `constructor` property on the new prototype by assignment. We've
   * seen this several times.
   *
   * The cost of enabling all these is that they create a miserable debugging
   * experience specifically on Node.
   * https://github.com/Agoric/agoric-sdk/issues/2324
   * explains how it confused the Node console.
   *
   * (TODO Reexamine the vscode situation. I think it may have improved
   * since the following paragraph was written.)
   *
   * The vscode debugger's object inspector shows the own data properties of
   * an object, which is typically what you want, but also shows both getter
   * and setter for every accessor property whether inherited or own.
   * With the `'*'` setting here, all the properties inherited from
   * `Object.prototype` are accessors, creating an unusable display as seen
   * at As explained at
   * https://github.com/endojs/endo/blob/master/packages/ses/docs/lockdown.md#overridetaming-options
   * Open the triangles at the bottom of that section.
   */
  '%ObjectPrototype%': '*',

  /**
   * The widely used Buffer defined at https://github.com/feross/buffer
   * on initialization, manually creates the equivalent of a subclass of
   * `TypedArray`, which it then initializes by assignment. These assignments
   * include enough of the `TypeArray` methods that here, the `severe`
   * enablements just enable them all.
   */
  '%TypedArrayPrototype%': '*',

  /**
   * Needed to work with Immer before https://github.com/immerjs/immer/pull/914
   * is accepted.
   */
  '%MapPrototype%': '*',

  /**
   * Needed to work with Immer before https://github.com/immerjs/immer/pull/914
   * is accepted.
   */
  '%SetPrototype%': '*',
};$h͏_once.severeEnablements(severeEnablements);
})()
,
// === 24. ses ./src/enable-property-overrides.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Set,String,TypeError,arrayForEach,defineProperty,getOwnPropertyDescriptor,getOwnPropertyDescriptors,isPrimitive,hasOwn,ownKeys,setHas,minEnablements,moderateEnablements,severeEnablements;$h͏_imports([["./commons.js", [["Set",[$h͏_a => (Set = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayForEach",[$h͏_a => (arrayForEach = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["setHas",[$h͏_a => (setHas = $h͏_a)]]]],["./enablements.js", [["minEnablements",[$h͏_a => (minEnablements = $h͏_a)]],["moderateEnablements",[$h͏_a => (moderateEnablements = $h͏_a)]],["severeEnablements",[$h͏_a => (severeEnablements = $h͏_a)]]]]]);
























/** @import {Reporter} from './reporting-types.js' */

/**
 * For a special set of properties defined in the `enablement` list,
 * `enablePropertyOverrides` ensures that the effect of freezing does not
 * suppress the ability to override these properties on derived objects by
 * simple assignment.
 *
 * Because of lack of sufficient foresight at the time, ES5 unfortunately
 * specified that a simple assignment to a non-existent property must fail if
 * it would override an non-writable data property of the same name in the
 * shadow of the prototype chain. In retrospect, this was a mistake, the
 * so-called "override mistake". But it is now too late and we must live with
 * the consequences.
 *
 * As a result, simply freezing an object to make it tamper proof has the
 * unfortunate side effect of breaking previously correct code that is
 * considered to have followed JS best practices, if this previous code used
 * assignment to override.
 *
 * For the enabled properties, `enablePropertyOverrides` effectively shims what
 * the assignment behavior would have been in the absence of the override
 * mistake. However, the shim produces an imperfect emulation. It shims the
 * behavior by turning these data properties into accessor properties, where
 * the accessor's getter and setter provide the desired behavior. For
 * non-reflective operations, the illusion is perfect. However, reflective
 * operations like `getOwnPropertyDescriptor` see the descriptor of an accessor
 * property rather than the descriptor of a data property. At the time of this
 * writing, this is the best we know how to do.
 *
 * To the getter of the accessor we add a property named
 * `'originalValue'` whose value is, as it says, the value that the
 * data property had before being converted to an accessor property. We add
 * this extra property to the getter for two reason:
 *
 * The harden algorithm walks the own properties reflectively, i.e., with
 * `getOwnPropertyDescriptor` semantics, rather than `[[Get]]` semantics. When
 * it sees an accessor property, it does not invoke the getter. Rather, it
 * proceeds to walk both the getter and setter as part of its transitive
 * traversal. Without this extra property, `enablePropertyOverrides` would have
 * hidden the original data property value from `harden`, which would be bad.
 * Instead, by exposing that value in an own data property on the getter,
 * `harden` finds and walks it anyway.
 *
 * We enable a form of cooperative emulation, giving reflective code an
 * opportunity to cooperate in upholding the illusion. When such cooperative
 * reflective code sees an accessor property, where the accessor's getter
 * has an `originalValue` property, it knows that the getter is
 * alleging that it is the result of the `enablePropertyOverrides` conversion
 * pattern, so it can decide to cooperatively "pretend" that it sees a data
 * property with that value.
 *
 * @param {Record<string, any>} intrinsics
 * @param {'min' | 'moderate' | 'severe'} overrideTaming
 * @param {Reporter} reporter
 * @param {Iterable<string | symbol>} [overrideDebug]
 */
               function enablePropertyOverrides(
  intrinsics,
  overrideTaming,
  { warn },
  overrideDebug = [],
) {
  const debugProperties = new Set(overrideDebug);
  function enable(path, obj, prop, desc) {
    if ('value' in desc && desc.configurable) {
      const { value } = desc;

      const isDebug = setHas(debugProperties, prop);

      // We use concise method syntax to be `this` sensitive, but still
      // omit a prototype property or [[Construct]] behavior.
      // @ts-expect-error We know there is an accessor descriptor there
      const { get: getter, set: setter } = getOwnPropertyDescriptor(
        {
          get [prop]() {
            return value;
          },
          set [prop](newValue) {
            if (obj === this) {
              throw TypeError(
                `Cannot assign to read only property '${String(
                  prop,
                )}' of '${path}'`,
              );
            }
            if (hasOwn(this, prop)) {
              this[prop] = newValue;
            } else {
              if (isDebug) {
                warn(TypeError(`Override property ${prop}`));
              }
              defineProperty(this, prop, {
                value: newValue,
                writable: true,
                enumerable: true,
                configurable: true,
              });
            }
          },
        },
        prop,
      );

      defineProperty(getter, 'originalValue', {
        value,
        writable: false,
        enumerable: false,
        configurable: false,
      });

      defineProperty(obj, prop, {
        get: getter,
        set: setter,
        enumerable: desc.enumerable,
        configurable: desc.configurable,
      });
    }
  }

  function enableProperty(path, obj, prop) {
    const desc = getOwnPropertyDescriptor(obj, prop);
    if (!desc) {
      return;
    }
    enable(path, obj, prop, desc);
  }

  function enableAllProperties(path, obj) {
    const descs = getOwnPropertyDescriptors(obj);
    if (!descs) {
      return;
    }
    // TypeScript does not allow symbols to be used as indexes because it
    // cannot recokon types of symbolized properties.
    arrayForEach(ownKeys(descs), prop => enable(path, obj, prop, descs[prop]));
  }

  function enableProperties(path, obj, plan) {
    for (const prop of ownKeys(plan)) {
      const desc = getOwnPropertyDescriptor(obj, prop);
      if (!desc || desc.get || desc.set) {
        // No not a value property, nothing to do.
        // eslint-disable-next-line no-continue
        continue;
      }

      // In case `prop` is a symbol, we first coerce it with `String`,
      // purely for diagnostic purposes.
      const subPath = `${path}.${String(prop)}`;
      const subPlan = plan[prop];

      if (subPlan === true) {
        enableProperty(subPath, obj, prop);
      } else if (subPlan === '*') {
        enableAllProperties(subPath, desc.value);
      } else if (!isPrimitive(subPlan)) {
        enableProperties(subPath, desc.value, subPlan);
      } else {
        throw TypeError(`Unexpected override enablement plan ${subPath}`);
      }
    }
  }

  let plan;
  switch (overrideTaming) {
    case 'min': {
      plan = minEnablements;
      break;
    }
    case 'moderate': {
      plan = moderateEnablements;
      break;
    }
    case 'severe': {
      plan = severeEnablements;
      break;
    }
    default: {
      throw TypeError(`unrecognized overrideTaming ${overrideTaming}`);
    }
  }

  // Do the repair.
  enableProperties('root', intrinsics, plan);
}$h͏_once.default(      enablePropertyOverrides);
})()
,
// === 25. ses ./src/tame-locale-methods.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Number,String,TypeError,defineProperty,getOwnPropertyNames,isPrimitive,regexpExec,assert;$h͏_imports([["./commons.js", [["Number",[$h͏_a => (Number = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["getOwnPropertyNames",[$h͏_a => (getOwnPropertyNames = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);










const { Fail, quote: q } = assert;

const localePattern = /^(\w*[a-z])Locale([A-Z]\w*)$/;

// Use concise methods to obtain named functions without constructor
// behavior or `.prototype` property.
const tamedMethods = {
  // See https://tc39.es/ecma262/#sec-string.prototype.localecompare
  localeCompare(arg) {
    if (this === null || this === undefined) {
      throw TypeError(
        'Cannot localeCompare with null or undefined "this" value',
      );
    }
    const s = `${this}`;
    const that = `${arg}`;
    if (s < that) {
      return -1;
    }
    if (s > that) {
      return 1;
    }
    s === that || Fail`expected ${q(s)} and ${q(that)} to compare`;
    return 0;
  },

  toString() {
    return `${this}`;
  },
};

const nonLocaleCompare = tamedMethods.localeCompare;
const numberToString = tamedMethods.toString;

               function tameLocaleMethods(intrinsics, localeTaming = 'safe') {
  if (localeTaming === 'unsafe') {
    return;
  }

  defineProperty(String.prototype, 'localeCompare', {
    value: nonLocaleCompare,
  });

  for (const intrinsicName of getOwnPropertyNames(intrinsics)) {
    const intrinsic = intrinsics[intrinsicName];
    if (!isPrimitive(intrinsic)) {
      for (const methodName of getOwnPropertyNames(intrinsic)) {
        const match = regexpExec(localePattern, methodName);
        if (match) {
          typeof intrinsic[methodName] === 'function' ||
            Fail`expected ${q(methodName)} to be a function`;
          const nonLocaleMethodName = `${match[1]}${match[2]}`;
          const method = intrinsic[nonLocaleMethodName];
          typeof method === 'function' ||
            Fail`function ${q(nonLocaleMethodName)} not found`;
          defineProperty(intrinsic, methodName, { value: method });
        }
      }
    }
  }

  // Numbers are special because toString accepts a radix instead of ignoring
  // all of the arguments that we would otherwise forward.
  defineProperty(Number.prototype, 'toLocaleString', {
    value: numberToString,
  });
}$h͏_once.default(      tameLocaleMethods);
})()
,
// === 26. ses ./src/make-eval-function.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);/**
 * makeEvalFunction()
 * A safe version of the native eval function which relies on
 * the safety of `safe-eval` for confinement, unless `no-eval`
 * is specified (then a TypeError is thrown on use).
 *
 * @param {Function} evaluator
 */
       const makeEvalFunction = evaluator => {
  // We use the concise method syntax to create an eval without a
  // [[Construct]] behavior (such that the invocation "new eval()" throws
  // TypeError: eval is not a constructor"), but which still accepts a
  // 'this' binding.
  const newEval = {
    eval(source) {
      if (typeof source !== 'string') {
        // As per the runtime semantic of PerformEval [ECMAScript 18.2.1.1]:
        // If Type(source) is not String, return source.
        // TODO Recent proposals from Mike Samuel may change this non-string
        // rule. Track.
        return source;
      }
      return evaluator(source);
    },
  }.eval;

  return newEval;
};$h͏_once.makeEvalFunction(makeEvalFunction);
})()
,
// === 27. ses ./src/make-function-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_FUNCTION,arrayJoin,arrayPop,defineProperties,getPrototypeOf,assert;$h͏_imports([["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["arrayPop",[$h͏_a => (arrayPop = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);








const { Fail } = assert;

/*
 * makeFunctionConstructor()
 * A safe version of the native Function which relies on
 * the safety of `safe-eval` for confinement, unless `no-eval`
 * is specified (then a TypeError is thrown on use).
 */
       const makeFunctionConstructor = evaluator => {
  // Define an unused parameter to ensure Function.length === 1
  const newFunction = function Function(_body) {
    // Sanitize all parameters at the entry point.
    // eslint-disable-next-line prefer-rest-params
    const bodyText = `${arrayPop(arguments) || ''}`;
    // eslint-disable-next-line prefer-rest-params
    const parameters = `${arrayJoin(arguments, ',')}`;

    // Are parameters and bodyText valid code, or is someone
    // attempting an injection attack? This will throw a SyntaxError if:
    // - parameters doesn't parse as parameters
    // - bodyText doesn't parse as a function body
    // - either contain a call to super() or references a super property.
    //
    // It seems that XS may still be vulnerable to the attack explained at
    // https://github.com/tc39/ecma262/pull/2374#issuecomment-813769710
    // where `new Function('/*', '*/ ) {')` would incorrectly validate.
    // Before we worried about this, we check the parameters and bodyText
    // together in one call
    // ```js
    // new FERAL_FUNCTION(parameters, bodyTest);
    // ```
    // However, this check is vulnerable to that bug. Aside from that case,
    // all engines do seem to validate the parameters, taken by themselves,
    // correctly. And all engines do seem to validate the bodyText, taken
    // by itself correctly. So with the following two checks, SES builds a
    // correct safe `Function` constructor by composing two calls to an
    // original unsafe `Function` constructor that may suffer from this bug
    // but is otherwise correctly validating.
    //
    // eslint-disable-next-line no-new
    new FERAL_FUNCTION(parameters, '');
    // eslint-disable-next-line no-new
    new FERAL_FUNCTION(bodyText);

    // Safe to be combined. Defeat potential trailing comments.
    // TODO: since we create an anonymous function, the 'this' value
    // isn't bound to the global object as per specs, but set as undefined.
    const src = `(function anonymous(${parameters}\n) {\n${bodyText}\n})`;
    return evaluator(src);
  };

  defineProperties(newFunction, {
    // Ensure that any function created in any evaluator in a realm is an
    // instance of Function in any evaluator of the same realm.
    prototype: {
      value: FERAL_FUNCTION.prototype,
      writable: false,
      enumerable: false,
      configurable: false,
    },
  });

  // Assert identity of Function.__proto__ accross all compartments
  getPrototypeOf(FERAL_FUNCTION) === FERAL_FUNCTION.prototype ||
    Fail`Function prototype is the same accross compartments`;
  getPrototypeOf(newFunction) === FERAL_FUNCTION.prototype ||
    Fail`Function constructor prototype is the same across compartments`;

  return newFunction;
};$h͏_once.makeFunctionConstructor(makeFunctionConstructor);
})()
,
// === 28. ses ./src/global-object.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError,assign,create,defineProperty,entries,freeze,hasOwn,unscopablesSymbol,makeEvalFunction,makeFunctionConstructor,constantProperties,universalPropertyNames;$h͏_imports([["./commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["unscopablesSymbol",[$h͏_a => (unscopablesSymbol = $h͏_a)]]]],["./make-eval-function.js", [["makeEvalFunction",[$h͏_a => (makeEvalFunction = $h͏_a)]]]],["./make-function-constructor.js", [["makeFunctionConstructor",[$h͏_a => (makeFunctionConstructor = $h͏_a)]]]],["./permits.js", [["constantProperties",[$h͏_a => (constantProperties = $h͏_a)]],["universalPropertyNames",[$h͏_a => (universalPropertyNames = $h͏_a)]]]]]);













/**
 * The host's ordinary global object is not provided by a `with` block, so
 * assigning to Symbol.unscopables has no effect.
 * Since this shim uses `with` blocks to create a confined lexical scope for
 * guest programs, we cannot emulate the proper behavior.
 * With this shim, assigning Symbol.unscopables causes the given lexical
 * names to fall through to the terminal scope proxy.
 * But, we can install this setter to prevent a program from proceding on
 * this false assumption.
 *
 * @param {object} globalObject
 */
       const setGlobalObjectSymbolUnscopables = globalObject => {
  defineProperty(
    globalObject,
    unscopablesSymbol,
    freeze(
      assign(create(null), {
        set: freeze(() => {
          throw TypeError(
            `Cannot set Symbol.unscopables of a Compartment's globalThis`,
          );
        }),
        enumerable: false,
        configurable: false,
      }),
    ),
  );
};

/**
 * setGlobalObjectConstantProperties()
 * Initializes a new global object using a process similar to ECMA specifications
 * (SetDefaultGlobalBindings). This process is split between this function and
 * `setGlobalObjectMutableProperties`.
 *
 * @param {object} globalObject
 */$h͏_once.setGlobalObjectSymbolUnscopables(setGlobalObjectSymbolUnscopables);
       const setGlobalObjectConstantProperties = globalObject => {
  for (const [name, constant] of entries(constantProperties)) {
    defineProperty(globalObject, name, {
      value: constant,
      writable: false,
      enumerable: false,
      configurable: false,
    });
  }
};

/**
 * setGlobalObjectMutableProperties()
 * Create new global object using a process similar to ECMA specifications
 * (portions of SetRealmGlobalObject and SetDefaultGlobalBindings).
 * `newGlobalPropertyNames` should be either `initialGlobalPropertyNames` or
 * `sharedGlobalPropertyNames`.
 *
 * @param {object} globalObject
 * @param {object} args
 * @param {object} args.intrinsics
 * @param {object} args.newGlobalPropertyNames
 * @param {Function} args.makeCompartmentConstructor
 * @param {(object) => void} args.markVirtualizedNativeFunction
 * @param {Compartment} [args.parentCompartment]
 */$h͏_once.setGlobalObjectConstantProperties(setGlobalObjectConstantProperties);
       const setGlobalObjectMutableProperties = (
  globalObject,
  {
    intrinsics,
    newGlobalPropertyNames,
    makeCompartmentConstructor,
    markVirtualizedNativeFunction,
    parentCompartment,
  },
) => {
  for (const [name, intrinsicName] of entries(universalPropertyNames)) {
    if (hasOwn(intrinsics, intrinsicName)) {
      defineProperty(globalObject, name, {
        value: intrinsics[intrinsicName],
        writable: true,
        enumerable: false,
        configurable: true,
      });
    }
  }

  for (const [name, intrinsicName] of entries(newGlobalPropertyNames)) {
    if (hasOwn(intrinsics, intrinsicName)) {
      defineProperty(globalObject, name, {
        value: intrinsics[intrinsicName],
        writable: true,
        enumerable: false,
        configurable: true,
      });
    }
  }

  const perCompartmentGlobals = {
    globalThis: globalObject,
  };

  perCompartmentGlobals.Compartment = freeze(
    makeCompartmentConstructor(
      makeCompartmentConstructor,
      intrinsics,
      markVirtualizedNativeFunction,
      {
        parentCompartment,
        enforceNew: true,
      },
    ),
  );

  // TODO These should still be tamed according to the permits before
  // being made available.
  for (const [name, value] of entries(perCompartmentGlobals)) {
    defineProperty(globalObject, name, {
      value,
      writable: true,
      enumerable: false,
      configurable: true,
    });
    if (typeof value === 'function') {
      markVirtualizedNativeFunction(value);
    }
  }
};

/**
 * setGlobalObjectEvaluators()
 * Set the eval and the Function evaluator on the global object with given evalTaming policy.
 *
 * @param {object} globalObject
 * @param {Function} evaluator
 * @param {(object) => void} markVirtualizedNativeFunction
 */$h͏_once.setGlobalObjectMutableProperties(setGlobalObjectMutableProperties);
       const setGlobalObjectEvaluators = (
  globalObject,
  evaluator,
  markVirtualizedNativeFunction,
) => {
  {
    const f = freeze(makeEvalFunction(evaluator));
    markVirtualizedNativeFunction(f);
    defineProperty(globalObject, 'eval', {
      value: f,
      writable: true,
      enumerable: false,
      configurable: true,
    });
  }
  {
    const f = freeze(makeFunctionConstructor(evaluator));
    markVirtualizedNativeFunction(f);
    defineProperty(globalObject, 'Function', {
      value: f,
      writable: true,
      enumerable: false,
      configurable: true,
    });
  }
};$h͏_once.setGlobalObjectEvaluators(setGlobalObjectEvaluators);
})()
,
// === 29. ses ./src/strict-scope-terminator.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Proxy,String,TypeError,ReferenceError,create,freeze,getOwnPropertyDescriptors,assert;$h͏_imports([["./commons.js", [["Proxy",[$h͏_a => (Proxy = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["ReferenceError",[$h͏_a => (ReferenceError = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);










const { Fail, quote: q } = assert;

/**
 * `freeze` but not `harden` the proxy target so it remains trapping.
 * Thus, it should not be shared outside this module.
 *
 * @see https://github.com/endojs/endo/blob/master/packages/ses/docs/preparing-for-stabilize.md
 */
const objTarget = freeze({ __proto__: null });

/**
 * alwaysThrowHandler
 * This is an object that throws if any property is called. It's used as
 * a proxy handler which throws on any trap called.
 * It's made from a proxy with a get trap that throws. It's safe to
 * create one and share it between all Proxy handlers.
 */
       const alwaysThrowHandler = new Proxy(
  objTarget,
  freeze({
    get(_shadow, prop) {
      Fail`Please report unexpected scope handler trap: ${q(String(prop))}`;
    },
  }),
);

/*
 * scopeProxyHandlerProperties
 * scopeTerminatorHandler manages a strictScopeTerminator Proxy which serves as
 * the final scope boundary that will always return "undefined" in order
 * to prevent access to "start compartment globals".
 */$h͏_once.alwaysThrowHandler(alwaysThrowHandler);
const scopeProxyHandlerProperties = {
  get(_shadow, _prop) {
    return undefined;
  },

  set(_shadow, prop, _value) {
    // We should only hit this if the has() hook returned true matches the v8
    // ReferenceError message "Uncaught ReferenceError: xyz is not defined"
    throw ReferenceError(`${String(prop)} is not defined`);
  },

  has(_shadow, prop) {
    // we must at least return true for all properties on the realm globalThis
    return true;
  },

  // note: this is likely a bug of safari
  // https://bugs.webkit.org/show_bug.cgi?id=195534
  getPrototypeOf(_shadow) {
    return null;
  },

  // See https://github.com/endojs/endo/issues/1510
  // TODO: report as bug to v8 or Chrome, and record issue link here.
  getOwnPropertyDescriptor(_shadow, prop) {
    // Coerce with `String` in case prop is a symbol.
    const quotedProp = q(String(prop));
    // eslint-disable-next-line @endo/no-polymorphic-call
    console.warn(
      `getOwnPropertyDescriptor trap on scopeTerminatorHandler for ${quotedProp}`,
      TypeError().stack,
    );
    return undefined;
  },

  // See https://github.com/endojs/endo/issues/1490
  // TODO Report bug to JSC or Safari
  ownKeys(_shadow) {
    return [];
  },
};

// The scope handler's prototype is a proxy that throws if any trap other
// than get/set/has are run (like getOwnPropertyDescriptors, apply,
// getPrototypeOf).
       const strictScopeTerminatorHandler = freeze(
  create(
    alwaysThrowHandler,
    getOwnPropertyDescriptors(scopeProxyHandlerProperties),
  ),
);$h͏_once.strictScopeTerminatorHandler(strictScopeTerminatorHandler);

       const strictScopeTerminator = new Proxy(
  objTarget,
  strictScopeTerminatorHandler,
);$h͏_once.strictScopeTerminator(strictScopeTerminator);
})()
,
// === 30. ses ./src/sloppy-globals-scope-terminator.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Proxy,create,freeze,getOwnPropertyDescriptors,reflectSet,strictScopeTerminatorHandler,alwaysThrowHandler;$h͏_imports([["./commons.js", [["Proxy",[$h͏_a => (Proxy = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["reflectSet",[$h͏_a => (reflectSet = $h͏_a)]]]],["./strict-scope-terminator.js", [["strictScopeTerminatorHandler",[$h͏_a => (strictScopeTerminatorHandler = $h͏_a)]],["alwaysThrowHandler",[$h͏_a => (alwaysThrowHandler = $h͏_a)]]]]]);











/**
 * `freeze` but not `harden` the proxy target so it remains trapping.
 * Thus, it should not be shared outside this module.
 *
 * @see https://github.com/endojs/endo/blob/master/packages/ses/docs/preparing-for-stabilize.md
 */
const objTarget = freeze({ __proto__: null });

/*
 * createSloppyGlobalsScopeTerminator()
 * strictScopeTerminatorHandler manages a scopeTerminator Proxy which serves as
 * the final scope boundary that will always return "undefined" in order
 * to prevent access to "start compartment globals". When "sloppyGlobalsMode"
 * is true, the Proxy will perform sets on the "globalObject".
 */
       const createSloppyGlobalsScopeTerminator = globalObject => {
  const scopeProxyHandlerProperties = {
    // inherit scopeTerminator behavior
    ...strictScopeTerminatorHandler,

    // Redirect set properties to the globalObject.
    set(_shadow, prop, value) {
      return reflectSet(globalObject, prop, value);
    },

    // Always claim to have a potential property in order to be the recipient of a set
    has(_shadow, _prop) {
      return true;
    },
  };

  // The scope handler's prototype is a proxy that throws if any trap other
  // than get/set/has are run (like getOwnPropertyDescriptors, apply,
  // getPrototypeOf).
  const sloppyGlobalsScopeTerminatorHandler = freeze(
    create(
      alwaysThrowHandler,
      getOwnPropertyDescriptors(scopeProxyHandlerProperties),
    ),
  );

  const sloppyGlobalsScopeTerminator = new Proxy(
    objTarget,
    sloppyGlobalsScopeTerminatorHandler,
  );

  return sloppyGlobalsScopeTerminator;
};$h͏_once.createSloppyGlobalsScopeTerminator(createSloppyGlobalsScopeTerminator);
freeze(createSloppyGlobalsScopeTerminator);
})()
,
// === 31. ses ./src/eval-scope.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_EVAL,create,defineProperties,freeze,assert;$h͏_imports([["./commons.js", [["FERAL_EVAL",[$h͏_a => (FERAL_EVAL = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);



const { Fail } = assert;

// We attempt to frustrate stack bumping attacks on the safe evaluator
// (`make-safe-evaluator.js`).
// A stack bumping attack forces an API call to throw a stack overflow
// `RangeError` at an inopportune time.
// The attacker arranges for the stack to be sufficiently deep that the API
// consumes exactly enough stack frames to throw an exception.
//
// For the safe evaluator, an exception thrown between adding and then deleting
// `eval` on `evalScope` could leak the real `eval` to an attacker's lexical
// scope.
// This would be sufficiently disastrous that we guard against it twice.
// First, we delete `eval` from `evalScope` immediately before rendering it to
// the guest program's lexical scope.
//
// If the attacker manages to arrange for `eval` to throw an exception after we
// call `allowNextEvalToBeUnsafe` but before the guest program accesses `eval`,
// it would be able to access `eval` once more in its own code.
// Although they could do no harm with a direct `eval`, they would be able to
// escape to the true global scope with an indirect `eval`.
//
//   prepareStack(depth, () => {
//     (eval)('');
//   });
//   const unsafeEval = (eval);
//   const safeEval = (eval);
//   const realGlobal = unsafeEval('globalThis');
//
// To protect against that case, we also delete `eval` from the `evalScope` in
// a `finally` block surrounding the call to the safe evaluator.
// The only way to reach this case is if `eval` remains on `evalScope` due to
// an attack, so we assume that attack would have have invalided our isolation
// and revoke all future access to the evaluator.
//
// To defeat a stack bumping attack, we must use fewer stack frames to recover
// in that `finally` block than we used in the `try` block.
// We have no reliable guarantees about how many stack frames a block of
// JavaScript will consume.
// Function inlining, tail-call optimization, variations in the size of a stack
// frame, and block scopes may affect the depth of the stack.
// The only number of acceptable stack frames to use in the finally block is
// zero.
// We only use property assignment and deletion in the safe evaluator's
// `finally` block.
// We use `delete evalScope.eval` to withhold the evaluator.
// We assign an envelope object over `evalScopeKit.revoked` to revoke the
// evaluator.
//
// This is why we supply a meaningfully named function for
// `allowNextEvalToBeUnsafe` but do not provide a corresponding
// `revokeAccessToUnsafeEval` or even simply `revoke`.
// These recovery routines are expressed inline in the safe evaluator.

       const makeEvalScopeKit = () => {
  const evalScope = create(null);
  const oneTimeEvalProperties = freeze({
    eval: {
      get() {
        delete evalScope.eval;
        return FERAL_EVAL;
      },
      enumerable: false,
      configurable: true,
    },
  });

  const evalScopeKit = {
    evalScope,
    allowNextEvalToBeUnsafe() {
      const { revoked } = evalScopeKit;
      if (revoked !== null) {
        Fail`a handler did not reset allowNextEvalToBeUnsafe ${revoked.err}`;
      }
      // Allow next reference to eval produce the unsafe FERAL_EVAL.
      // We avoid defineProperty because it consumes an extra stack frame taming
      // its return value.
      defineProperties(evalScope, oneTimeEvalProperties);
    },
    /** @type {null | { err: any }} */
    revoked: null,
  };

  return evalScopeKit;
};$h͏_once.makeEvalScopeKit(makeEvalScopeKit);
})()
,
// === 32. ses ./src/get-source-url.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_REG_EXP,regexpExec,stringSlice;$h͏_imports([["./commons.js", [["FERAL_REG_EXP",[$h͏_a => (FERAL_REG_EXP = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]],["stringSlice",[$h͏_a => (stringSlice = $h͏_a)]]]]]);

// Captures a key and value of the form #key=value or @key=value
const sourceMetaEntryRegExp =
  '\\s*[@#]\\s*([a-zA-Z][a-zA-Z0-9]*)\\s*=\\s*([^\\s\\*]*)';
// Captures either a one-line or multi-line comment containing
// one #key=value or @key=value.
// Produces two pairs of capture groups, but the initial two may be undefined.
// On account of the mechanics of regular expressions, scanning from the end
// does not allow us to capture every pair, so getSourceURL must capture and
// trim until there are no matching comments.
const sourceMetaEntriesRegExp = new FERAL_REG_EXP(
  `(?:\\s*//${sourceMetaEntryRegExp}|/\\*${sourceMetaEntryRegExp}\\s*\\*/)\\s*$`,
);

/**
 * @param {string} src
 */
       const getSourceURL = src => {
  let sourceURL = '<unknown>';

  // Our regular expression matches the last one or two comments with key value
  // pairs at the end of the source, avoiding a scan over the entire length of
  // the string, but at the expense of being able to capture all the (key,
  // value) pair meta comments at the end of the source, which may include
  // sourceMapURL in addition to sourceURL.
  // So, we sublimate the comments out of the source until no source or no
  // comments remain.
  while (src.length > 0) {
    const match = regexpExec(sourceMetaEntriesRegExp, src);
    if (match === null) {
      break;
    }
    src = stringSlice(src, 0, src.length - match[0].length);

    // We skip $0 since it contains the entire match.
    // The match contains four capture groups,
    // two (key, value) pairs, the first of which
    // may be undefined.
    // On the off-chance someone put two sourceURL comments in their code with
    // different commenting conventions, the latter has precedence.
    if (match[3] === 'sourceURL') {
      sourceURL = match[4];
    } else if (match[1] === 'sourceURL') {
      sourceURL = match[2];
    }
  }

  return sourceURL;
};$h͏_once.getSourceURL(getSourceURL);
})()
,
// === 33. ses ./src/transforms.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_REG_EXP,SyntaxError,regexpReplace,sealRegexp,stringSearch,stringSlice,stringSplit,freeze,getSourceURL;$h͏_imports([["./commons.js", [["FERAL_REG_EXP",[$h͏_a => (FERAL_REG_EXP = $h͏_a)]],["SyntaxError",[$h͏_a => (SyntaxError = $h͏_a)]],["regexpReplace",[$h͏_a => (regexpReplace = $h͏_a)]],["sealRegexp",[$h͏_a => (sealRegexp = $h͏_a)]],["stringSearch",[$h͏_a => (stringSearch = $h͏_a)]],["stringSlice",[$h͏_a => (stringSlice = $h͏_a)]],["stringSplit",[$h͏_a => (stringSplit = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]]]],["./get-source-url.js", [["getSourceURL",[$h͏_a => (getSourceURL = $h͏_a)]]]]]);













/**
 * Find the first occurence of the given pattern and return
 * the location as the approximate line number.
 *
 * @param {string} src
 * @param {RegExp} pattern
 * @returns {number}
 */
function getLineNumber(src, pattern) {
  const index = stringSearch(src, pattern);
  if (index < 0) {
    return -1;
  }

  // The importPattern incidentally captures an initial \n in
  // an attempt to reject a . prefix, so we need to offset
  // the line number in that case.
  const adjustment = src[index] === '\n' ? 1 : 0;

  return stringSplit(stringSlice(src, 0, index), '\n').length + adjustment;
}

// /////////////////////////////////////////////////////////////////////////////

const htmlCommentPattern = sealRegexp(
  new FERAL_REG_EXP(`(?:${'<'}!--|--${'>'})`, 'g'),
);

/**
 * Conservatively reject the source text if it may contain text that some
 * JavaScript parsers may treat as an html-like comment. To reject without
 * parsing, `rejectHtmlComments` will also reject some other text as well.
 *
 * https://www.ecma-international.org/ecma-262/9.0/index.html#sec-html-like-comments
 * explains that JavaScript parsers may or may not recognize html
 * comment tokens "<" immediately followed by "!--" and "--"
 * immediately followed by ">" in non-module source text, and treat
 * them as a kind of line comment. Since otherwise both of these can
 * appear in normal JavaScript source code as a sequence of operators,
 * we have the terrifying possibility of the same source code parsing
 * one way on one correct JavaScript implementation, and another way
 * on another.
 *
 * This shim takes the conservative strategy of just rejecting source
 * text that contains these strings anywhere. Note that this very
 * source file is written strangely to avoid mentioning these
 * character strings explicitly.
 *
 * We do not write the regexp in a straightforward way, so that an
 * apparennt html comment does not appear in this file. Thus, we avoid
 * rejection by the overly eager rejectDangerousSources.
 *
 * @param {string} src
 * @returns {string}
 */
       const rejectHtmlComments = src => {
  const lineNumber = getLineNumber(src, htmlCommentPattern);
  if (lineNumber < 0) {
    return src;
  }
  const name = getSourceURL(src);
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_HTML_COMMENT_REJECTED.md
  throw SyntaxError(
    `Possible HTML comment rejected at ${name}:${lineNumber}. (SES_HTML_COMMENT_REJECTED)`,
  );
};

/**
 * An optional transform to place ahead of `rejectHtmlComments` to evade *that*
 * rejection. However, it may change the meaning of the program.
 *
 * This evasion replaces each alleged html comment with the space-separated
 * JavaScript operator sequence that it may mean, assuming that it appears
 * outside of a comment or literal string, in source code where the JS
 * parser makes no special case for html comments (like module source code).
 * In that case, this evasion preserves the meaning of the program, though it
 * does change the souce column numbers on each effected line.
 *
 * If the html comment appeared in a literal (a string literal, regexp literal,
 * or a template literal), then this evasion will change the meaning of the
 * program by changing the text of that literal.
 *
 * If the html comment appeared in a JavaScript comment, then this evasion does
 * not change the meaning of the program because it only changes the contents of
 * those comments.
 *
 * @param {string} src
 * @returns {string}
 */$h͏_once.rejectHtmlComments(rejectHtmlComments);
       const evadeHtmlCommentTest = src => {
  const replaceFn = match => (match[0] === '<' ? '< ! --' : '-- >');
  return regexpReplace(htmlCommentPattern, src, replaceFn);
};

// /////////////////////////////////////////////////////////////////////////////
$h͏_once.evadeHtmlCommentTest(evadeHtmlCommentTest);
const importPattern = sealRegexp(
  new FERAL_REG_EXP('(^|[^.]|\\.\\.\\.)\\bimport(\\s*(?:\\(|/[/*]))', 'g'),
);

/**
 * Conservatively reject the source text if it may contain a dynamic
 * import expression. To reject without parsing, `rejectImportExpressions` will
 * also reject some other text as well.
 *
 * The proposed dynamic import expression is the only syntax currently
 * proposed, that can appear in non-module JavaScript code, that
 * enables direct access to the outside world that cannot be
 * suppressed or intercepted without parsing and rewriting. Instead,
 * this shim conservatively rejects any source text that seems to
 * contain such an expression. To do this safely without parsing, we
 * must also reject some valid programs, i.e., those containing
 * apparent import expressions in literal strings or comments.
 *
 * The current conservative rule looks for the identifier "import"
 * followed by either an open paren or something that looks like the
 * beginning of a comment. We assume that we do not need to worry
 * about html comment syntax because that was already rejected by
 * rejectHtmlComments.
 *
 * this \s *must* match all kinds of syntax-defined whitespace. If e.g.
 * U+2028 (LINE SEPARATOR) or U+2029 (PARAGRAPH SEPARATOR) is treated as
 * whitespace by the parser, but not matched by /\s/, then this would admit
 * an attack like: import\u2028('power.js') . We're trying to distinguish
 * something like that from something like importnotreally('power.js') which
 * is perfectly safe.
 *
 * @param {string} src
 * @returns {string}
 */
       const rejectImportExpressions = src => {
  const lineNumber = getLineNumber(src, importPattern);
  if (lineNumber < 0) {
    return src;
  }
  const name = getSourceURL(src);
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_IMPORT_REJECTED.md
  throw SyntaxError(
    `Possible import expression rejected at ${name}:${lineNumber}. (SES_IMPORT_REJECTED)`,
  );
};

/**
 * An optional transform to place ahead of `rejectImportExpressions` to evade
 * *that* rejection. However, it may change the meaning of the program.
 *
 * This evasion replaces each suspicious `import` identifier with `__import__`.
 * If the alleged import expression appears in a JavaScript comment, this
 * evasion will not change the meaning of the program. If it appears in a
 * literal (string literal, regexp literal, or a template literal), then this
 * evasion will change the contents of that literal. If it appears as code
 * where it would be parsed as an expression, then it might or might not change
 * the meaning of the program, depending on the binding, if any, of the lexical
 * variable `__import__`.
 *
 * @param {string} src
 * @returns {string}
 */$h͏_once.rejectImportExpressions(rejectImportExpressions);
       const evadeImportExpressionTest = src => {
  const replaceFn = (_, p1, p2) => `${p1}__import__${p2}`;
  return regexpReplace(importPattern, src, replaceFn);
};

// /////////////////////////////////////////////////////////////////////////////
$h͏_once.evadeImportExpressionTest(evadeImportExpressionTest);
const someDirectEvalPattern = new FERAL_REG_EXP(
  '(^|[^.])\\beval(\\s*\\()',
  'g',
);

/**
 * Heuristically reject some text that seems to contain a direct eval
 * expression, with both false positives and false negavives. To reject without
 * parsing, `rejectSomeDirectEvalExpressions` may will also reject some other
 * text as well. It may also accept source text that contains a direct eval
 * written oddly, such as `(eval)(src)`. This false negative is not a security
 * vulnerability. Rather it is a compat hazard because it will execute as
 * an indirect eval under the SES-shim but as a direct eval on platforms that
 * support SES directly (like XS).
 *
 * The shim cannot correctly emulate a direct eval as explained at
 * https://github.com/Agoric/realms-shim/issues/12
 * If we did not reject direct eval syntax, we would
 * accidentally evaluate these with an emulation of indirect eval. To
 * prevent future compatibility problems, in shifting from use of the
 * shim to genuine platform support for the proposal, we should
 * instead statically reject code that seems to contain a direct eval
 * expression.
 *
 * As with the dynamic import expression, to avoid a full parse, we do
 * this approximately with a regexp, that will also reject strings
 * that appear safely in comments or strings. Unlike dynamic import,
 * if we miss some, this only creates future compat problems, not
 * security problems. Thus, we are only trying to catch innocent
 * occurrences, not malicious one. In particular, `(eval)(...)` is
 * direct eval syntax that would not be caught by the following regexp.
 *
 * Exported for unit tests.
 *
 * @param {string} src
 * @returns {string}
 */
       const rejectSomeDirectEvalExpressions = src => {
  const lineNumber = getLineNumber(src, someDirectEvalPattern);
  if (lineNumber < 0) {
    return src;
  }
  const name = getSourceURL(src);
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_EVAL_REJECTED.md
  throw SyntaxError(
    `Possible direct eval expression rejected at ${name}:${lineNumber}. (SES_EVAL_REJECTED)`,
  );
};

// /////////////////////////////////////////////////////////////////////////////

/**
 * A transform that bundles together the transforms that must unconditionally
 * happen last in order to ensure safe evaluation without parsing.
 *
 * @param {string} source
 * @returns {string}
 */$h͏_once.rejectSomeDirectEvalExpressions(rejectSomeDirectEvalExpressions);
       const mandatoryTransforms = source => {
  source = rejectHtmlComments(source);
  source = rejectImportExpressions(source);
  return source;
};

/**
 * Starting with `source`, apply each transform to the result of the
 * previous one, returning the result of the last transformation.
 *
 * @param {string} source
 * @param {((str: string) => string)[]} transforms
 * @returns {string}
 */$h͏_once.mandatoryTransforms(mandatoryTransforms);
       const applyTransforms = (source, transforms) => {
  for (let i = 0, l = transforms.length; i < l; i += 1) {
    const transform = transforms[i];
    source = transform(source);
  }
  return source;
};

// export all as a frozen object
$h͏_once.applyTransforms(applyTransforms);const transforms=freeze({
  rejectHtmlComments: freeze(rejectHtmlComments),
  evadeHtmlCommentTest: freeze(evadeHtmlCommentTest),
  rejectImportExpressions: freeze(rejectImportExpressions),
  evadeImportExpressionTest: freeze(evadeImportExpressionTest),
  rejectSomeDirectEvalExpressions: freeze(rejectSomeDirectEvalExpressions),
  mandatoryTransforms: freeze(mandatoryTransforms),
  applyTransforms: freeze(applyTransforms),
});$h͏_once.transforms(transforms);
})()
,
// === 34. ses ./src/scope-constants.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let arrayFilter,arrayIncludes,getOwnPropertyDescriptor,getOwnPropertyNames,hasOwn,regexpExec,Set,setHas;$h͏_imports([["./commons.js", [["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["arrayIncludes",[$h͏_a => (arrayIncludes = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getOwnPropertyNames",[$h͏_a => (getOwnPropertyNames = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]],["Set",[$h͏_a => (Set = $h͏_a)]],["setHas",[$h͏_a => (setHas = $h͏_a)]]]]]);










/**
 * reservedNames
 * In JavaScript you cannot use reserved words as variable names (except for
 * "eval", which is specially reserved to prevent shadowing).
 * https://tc39.es/ecma262/multipage/ecmascript-language-lexical-grammar.html#sec-identifier-names
 */
const reservedNames = new Set([
  // 11.6.2.1 Keywords
  'await',
  'break',
  'case',
  'catch',
  'class',
  'const',
  'continue',
  'debugger',
  'default',
  'delete',
  'do',
  'else',
  'export',
  'extends',
  'finally',
  'for',
  'function',
  'if',
  'import',
  'in',
  'instanceof',
  'new',
  'return',
  'super',
  'switch',
  'this',
  'throw',
  'try',
  'typeof',
  'var',
  'void',
  'while',
  'with',
  'yield',

  // Also reserved when parsing strict mode code
  'let',
  'static',

  // 11.6.2.2 Future Reserved Words
  'enum',

  // Also reserved when parsing strict mode code
  'implements',
  'package',
  'protected',
  'interface',
  'private',
  'public',

  // Reserved but not mentioned in specs
  'await',

  'null',
  'true',
  'false',

  'this',
  'arguments',

  // Reserved by us
  'eval',
]);

/**
 * identifierPattern
 * Simplified validation of identifier names: may only contain alphanumeric
 * characters (or "$" or "_"), and may not start with a digit. This is safe
 * and does not reduces the compatibility of the shim. The motivation for
 * this limitation was to decrease the complexity of the implementation,
 * and to maintain a resonable level of performance.
 * Note: \w is equivalent [a-zA-Z_0-9]
 * See 11.6.1 Identifier Names
 */
const identifierPattern = /^[a-zA-Z_$][\w$]*$/;

/**
 * isValidIdentifierName()
 * Is a value allowed as an arbitrary identifier name?
 *
 * @param {string} name
 */
       const isValidIdentifierName = name =>
  !setHas(reservedNames, name) && !!regexpExec(identifierPattern, name);

/*
 * isImmutableDataProperty
 */$h͏_once.isValidIdentifierName(isValidIdentifierName);

function isImmutableDataProperty(obj, name) {
  const desc = getOwnPropertyDescriptor(obj, name);
  return (
    desc &&
    //
    // The getters will not have .writable, don't let the falsyness of
    // 'undefined' trick us: test with === false, not ! . However descriptors
    // inherit from the (potentially poisoned) global object, so we might see
    // extra properties which weren't really there. Accessor properties have
    // 'get/set/enumerable/configurable', while data properties have
    // 'value/writable/enumerable/configurable'.
    desc.configurable === false &&
    desc.writable === false &&
    //
    // Checks for data properties because they're the only ones we can
    // optimize (accessors are most likely non-constant). Descriptors can't
    // can't have accessors and value properties at the same time, therefore
    // this check is sufficient. Using explicit own property deal with the
    // case where Object.prototype has been poisoned.
    hasOwn(desc, 'value')
  );
}

/**
 * getScopeConstants()
 * What variable names might be brought into scope? These include all
 * property names which can be variable names, including the names
 * of inherited properties. It excludes symbols and names which are
 * keywords. We drop symbols safely. Currently, this shim refuses
 * service if any of the names are keywords or keyword-like. This is
 * safe and only affects performance optimization.
 *
 * @param {object} globalObject
 * @param {object} moduleLexicals
 */
       const getScopeConstants = (globalObject, moduleLexicals = {}) => {
  // getOwnPropertyNames() does ignore Symbols so we don't need to
  // filter them out.
  const globalObjectNames = getOwnPropertyNames(globalObject);
  const moduleLexicalNames = getOwnPropertyNames(moduleLexicals);

  // Collect all valid & immutable identifiers from the endowments.
  const moduleLexicalConstants = arrayFilter(
    moduleLexicalNames,
    name =>
      isValidIdentifierName(name) &&
      isImmutableDataProperty(moduleLexicals, name),
  );

  // Collect all valid & immutable identifiers from the global that
  // are also not present in the endowments (immutable or not).
  const globalObjectConstants = arrayFilter(
    globalObjectNames,
    name =>
      // Can't define a constant: it would prevent a
      // lookup on the endowments.
      !arrayIncludes(moduleLexicalNames, name) &&
      isValidIdentifierName(name) &&
      isImmutableDataProperty(globalObject, name),
  );

  return {
    globalObjectConstants,
    moduleLexicalConstants,
  };
};$h͏_once.getScopeConstants(getScopeConstants);
})()
,
// === 35. ses ./src/make-evaluate.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_FUNCTION,arrayJoin,apply,getScopeConstants;$h͏_imports([["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]]]],["./scope-constants.js", [["getScopeConstants",[$h͏_a => (getScopeConstants = $h͏_a)]]]]]);




/**
 * buildOptimizer()
 * Given an array of identifiers, the optimizer returns a `const` declaration
 * destructuring `this.${name}`.
 *
 * @param {Array<string>} constants
 * @param {string} name
 */
function buildOptimizer(constants, name) {
  // No need to build an optimizer when there are no constants.
  if (constants.length === 0) return '';
  // Use 'this' to avoid going through the scope proxy, which is unnecessary
  // since the optimizer only needs references to the safe global.
  // Destructure the constants from the target scope object.
  return `const {${arrayJoin(constants, ',')}} = this.${name};`;
}

/**
 * makeEvaluate()
 * Create an 'evaluate' function with the correct optimizer inserted.
 *
 * @param {object} context
 * @param {object} context.evalScope
 * @param {object} context.moduleLexicals
 * @param {object} context.globalObject
 * @param {object} context.scopeTerminator
 */
       const makeEvaluate = context => {
  const { globalObjectConstants, moduleLexicalConstants } = getScopeConstants(
    context.globalObject,
    context.moduleLexicals,
  );
  const globalObjectOptimizer = buildOptimizer(
    globalObjectConstants,
    'globalObject',
  );
  const moduleLexicalOptimizer = buildOptimizer(
    moduleLexicalConstants,
    'moduleLexicals',
  );

  // Create a function in sloppy mode, so that we can use 'with'. It returns
  // a function in strict mode that evaluates the provided code using direct
  // eval, and thus in strict mode in the same scope. We must be very careful
  // to not create new names in this scope

  // 1: we use multiple nested 'with' to catch all free variable names. The
  // `this` value of the outer sloppy function holds the different scope
  // layers, from inner to outer:
  //    a) `evalScope` which must release the `FERAL_EVAL` as 'eval' once for
  //       every invocation of the inner `evaluate` function in order to
  //       trigger direct eval. The direct eval semantics is what allows the
  //       evaluated code to lookup free variable names on the other scope
  //       objects and not in global scope.
  //    b) `moduleLexicals` which provide a way to introduce free variables
  //       that are not available on the globalObject.
  //    c) `globalObject` is the global scope object of the evaluator, aka the
  //       Compartment's `globalThis`.
  //    d) `scopeTerminator` is a proxy object which prevents free variable
  //       lookups to escape to the start compartment's global object.
  // 2: `optimizer`s catch constant variable names for speed.
  // 3: The inner strict `evaluate` function should be passed two parameters:
  //    a) its arguments[0] is the source to be directly evaluated.
  //    b) its 'this' is the this binding seen by the code being
  //       directly evaluated (the globalObject).

  // Notes:
  // - The `optimizer` strings only lookup values on the `globalObject` and
  //   `moduleLexicals` objects by construct. Keywords like 'function' are
  //   reserved and cannot be used as a variable, so they are excluded from the
  //   optimizer. Furthermore to prevent shadowing 'eval', while a valid
  //   identifier, that name is also explicitly excluded.
  // - when 'eval' is looked up in the `evalScope`, the powerful unsafe eval
  //   intrinsic is returned after automatically removing it from the
  //   `evalScope`. Any further reference to 'eval' in the evaluate string will
  //   get the tamed evaluator from the `globalObject`, if any.

  // TODO https://github.com/endojs/endo/issues/816
  // The optimizer currently runs under sloppy mode, and although we doubt that
  // there is any vulnerability introduced just by running the optimizer
  // sloppy, we are much more confident in the semantics of strict mode.
  // The `evaluate` function can be and is reused across multiple evaluations.
  // Since the optimizer should not be re-evaluated every time, it cannot be
  // inside the `evaluate` closure. While we could potentially nest an
  // intermediate layer of `() => {'use strict'; ${optimizers}; ...`, it
  // doesn't seem worth the overhead and complexity.
  const evaluateFactory = FERAL_FUNCTION(`
    with (this.scopeTerminator) {
      with (this.globalObject) {
        with (this.moduleLexicals) {
          with (this.evalScope) {
            ${globalObjectOptimizer}
            ${moduleLexicalOptimizer}
            return function() {
              'use strict';
              return eval(arguments[0]);
            };
          }
        }
      }
    }
  `);

  return apply(evaluateFactory, context, []);
};$h͏_once.makeEvaluate(makeEvaluate);
})()
,
// === 36. ses ./src/make-safe-evaluator.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let apply,arrayFlatMap,freeze,identity,strictScopeTerminator,createSloppyGlobalsScopeTerminator,makeEvalScopeKit,applyTransforms,mandatoryTransforms,makeEvaluate,assert;$h͏_imports([["./commons.js", [["apply",[$h͏_a => (apply = $h͏_a)]],["arrayFlatMap",[$h͏_a => (arrayFlatMap = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["identity",[$h͏_a => (identity = $h͏_a)]]]],["./strict-scope-terminator.js", [["strictScopeTerminator",[$h͏_a => (strictScopeTerminator = $h͏_a)]]]],["./sloppy-globals-scope-terminator.js", [["createSloppyGlobalsScopeTerminator",[$h͏_a => (createSloppyGlobalsScopeTerminator = $h͏_a)]]]],["./eval-scope.js", [["makeEvalScopeKit",[$h͏_a => (makeEvalScopeKit = $h͏_a)]]]],["./transforms.js", [["applyTransforms",[$h͏_a => (applyTransforms = $h͏_a)]],["mandatoryTransforms",[$h͏_a => (mandatoryTransforms = $h͏_a)]]]],["./make-evaluate.js", [["makeEvaluate",[$h͏_a => (makeEvaluate = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);










const { Fail } = assert;

/**
 * makeSafeEvaluator()
 * Build the low-level operation used by all evaluators:
 * eval(), Function(), Compartment.prototype.evaluate().
 *
 * @param {object} options
 * @param {object} options.globalObject
 * @param {object} [options.moduleLexicals]
 * @param {Array<import('./lockdown.js').Transform>} [options.globalTransforms]
 * @param {boolean} [options.sloppyGlobalsMode]
 */
       const makeSafeEvaluator = ({
  globalObject,
  moduleLexicals = {},
  globalTransforms = [],
  sloppyGlobalsMode = false,
}) => {
  const scopeTerminator = sloppyGlobalsMode
    ? createSloppyGlobalsScopeTerminator(globalObject)
    : strictScopeTerminator;
  const evalScopeKit = makeEvalScopeKit();
  const { evalScope } = evalScopeKit;

  const evaluateContext = freeze({
    evalScope,
    moduleLexicals,
    globalObject,
    scopeTerminator,
  });

  // Defer creating the actual evaluator to first use.
  // Creating a compartment should be possible in no-eval environments
  // It also allows more global constants to be captured by the optimizer
  let evaluate;
  const provideEvaluate = () => {
    if (!evaluate) {
      evaluate = makeEvaluate(evaluateContext);
    }
  };

  /**
   * @param {string} source
   * @param {object} [options]
   * @param {Array<import('./lockdown.js').Transform>} [options.localTransforms]
   */
  const safeEvaluate = (source, options) => {
    const { localTransforms = [] } = options || {};
    provideEvaluate();

    // Execute the mandatory transforms last to ensure that any rewritten code
    // meets those mandatory requirements.
    source = applyTransforms(
      source,
      arrayFlatMap(
        [localTransforms, globalTransforms, [mandatoryTransforms]],
        identity,
      ),
    );

    let err;
    try {
      // Allow next reference to eval produce the unsafe FERAL_EVAL.
      // eslint-disable-next-line @endo/no-polymorphic-call
      evalScopeKit.allowNextEvalToBeUnsafe();

      // Ensure that "this" resolves to the safe global.
      return apply(evaluate, globalObject, [source]);
    } catch (e) {
      // stash the child-code error in hopes of debugging the internal failure
      err = e;
      throw e;
    } finally {
      const unsafeEvalWasStillExposed = 'eval' in evalScope;
      delete evalScope.eval;
      if (unsafeEvalWasStillExposed) {
        // Barring a defect in the SES shim, the evalScope should allow the
        // powerful, unsafe  `eval` to be used by `evaluate` exactly once, as the
        // very first name that it attempts to access from the lexical scope.
        // A defect in the SES shim could throw an exception after we set
        // `evalScope.eval` and before `evaluate` calls `eval` internally.
        // If we get here, SES is very broken.
        // This condition is one where this vat is now hopelessly confused, and
        // the vat as a whole should be aborted.
        // No further code should run.
        // All immediately reachable state should be abandoned.
        // However, that is not yet possible, so we at least prevent further
        // variable resolution via the scopeHandler, and throw an error with
        // diagnostic info including the thrown error if any from evaluating the
        // source code.
        evalScopeKit.revoked = { err };
        // TODO A GOOD PLACE TO PANIC(), i.e., kill the vat incarnation.
        // See https://github.com/Agoric/SES-shim/issues/490
        Fail`handler did not reset allowNextEvalToBeUnsafe ${err}`;
      }
    }
  };

  return { safeEvaluate };
};$h͏_once.makeSafeEvaluator(makeSafeEvaluator);
})()
,
// === 37. ses ./src/tame-function-tostring.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let WeakSet,defineProperty,freeze,functionPrototype,functionToString,stringEndsWith,weaksetAdd,weaksetHas;$h͏_imports([["./commons.js", [["WeakSet",[$h͏_a => (WeakSet = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["functionPrototype",[$h͏_a => (functionPrototype = $h͏_a)]],["functionToString",[$h͏_a => (functionToString = $h͏_a)]],["stringEndsWith",[$h͏_a => (stringEndsWith = $h͏_a)]],["weaksetAdd",[$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas",[$h͏_a => (weaksetHas = $h͏_a)]]]]]);










const nativeSuffix = ') { [native code] }';

// Note: Top level mutable state. Does not make anything worse, since the
// patching of `Function.prototype.toString` is also globally stateful. We
// use this top level state so that multiple calls to `tameFunctionToString` are
// idempotent, rather than creating redundant indirections.
let markVirtualizedNativeFunction;

/**
 * Replace `Function.prototype.toString` with one that recognizes
 * shimmed functions as honorary native functions.
 */
       const tameFunctionToString = () => {
  if (markVirtualizedNativeFunction === undefined) {
    const virtualizedNativeFunctions = new WeakSet();

    const tamingMethods = {
      toString() {
        const str = functionToString(this);
        if (
          stringEndsWith(str, nativeSuffix) ||
          !weaksetHas(virtualizedNativeFunctions, this)
        ) {
          return str;
        }
        return `function ${this.name}() { [native code] }`;
      },
    };

    defineProperty(functionPrototype, 'toString', {
      value: tamingMethods.toString,
    });

    markVirtualizedNativeFunction = freeze(func =>
      weaksetAdd(virtualizedNativeFunctions, func),
    );
  }
  return markVirtualizedNativeFunction;
};$h͏_once.tameFunctionToString(tameFunctionToString);
})()
,
// === 38. ses ./src/tame-domains.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError,globalThis,getOwnPropertyDescriptor,defineProperty;$h͏_imports([["./commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]]]]]);Object.defineProperty(tameDomains,'name',{value:"tameDomains"});$h͏_once.tameDomains(tameDomains);








       function tameDomains(domainTaming = 'safe') {
  if (domainTaming === 'unsafe') {
    return;
  }

  // Protect against the hazard presented by Node.js domains.
  const globalProcess = globalThis.process || undefined;
  if (typeof globalProcess === 'object') {
    // Check whether domains were initialized.
    const domainDescriptor = getOwnPropertyDescriptor(globalProcess, 'domain');
    if (domainDescriptor !== undefined && domainDescriptor.get !== undefined) {
      // The domain descriptor on Node.js initially has value: null, which
      // becomes a get, set pair after domains initialize.
      // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_NO_DOMAINS.md
      throw TypeError(
        `SES failed to lockdown, Node.js domains have been initialized (SES_NO_DOMAINS)`,
      );
    }
    // Prevent domains from initializing.
    // This is clunky because the exception thrown from the domains package does
    // not direct the user's gaze toward a knowledge base about the problem.
    // The domain module merely throws an exception when it attempts to define
    // the domain property of the process global during its initialization.
    // We have no better recourse because Node.js uses defineProperty too.
    defineProperty(globalProcess, 'domain', {
      value: null,
      configurable: false,
      writable: false,
      enumerable: false,
    });
  }
}
})()
,
// === 39. ses ./src/tame-module-source.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let functionPrototype,getPrototypeOf,globalThis,objectPrototype,setPrototypeOf;$h͏_imports([["./commons.js", [["functionPrototype",[$h͏_a => (functionPrototype = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["objectPrototype",[$h͏_a => (objectPrototype = $h͏_a)]],["setPrototypeOf",[$h͏_a => (setPrototypeOf = $h͏_a)]]]]]);







       const tameModuleSource = () => {
  const newIntrinsics = {};

  const ModuleSource = globalThis.ModuleSource;
  if (ModuleSource !== undefined) {
    newIntrinsics.ModuleSource = ModuleSource;

    // We introduce ModuleSource.[[Proto]] === AbstractModuleSource
    // and ModuleSource.prototype.[[Proto]] === AbstractModuleSource.prototype
    // if that layer is absent because the permitting system can more
    // gracefully tolerate the absence of an expected prototype than the
    // presence of an unexpected prototype,.
    function AbstractModuleSource() {
      // no-op safe to super()
    }

    const ModuleSourceProto = getPrototypeOf(ModuleSource);
    if (ModuleSourceProto === functionPrototype) {
      setPrototypeOf(ModuleSource, AbstractModuleSource);
      newIntrinsics['%AbstractModuleSource%'] = AbstractModuleSource;
      newIntrinsics['%AbstractModuleSourcePrototype%'] =
        AbstractModuleSource.prototype;
    } else {
      newIntrinsics['%AbstractModuleSource%'] = ModuleSourceProto;
      newIntrinsics['%AbstractModuleSourcePrototype%'] =
        ModuleSourceProto.prototype;
    }

    const ModuleSourcePrototype = ModuleSource.prototype;
    if (ModuleSourcePrototype !== undefined) {
      newIntrinsics['%ModuleSourcePrototype%'] = ModuleSourcePrototype;

      // ModuleSource.prototype.__proto__ should be the
      // AbstractModuleSource.prototype.
      const ModuleSourcePrototypeProto = getPrototypeOf(ModuleSourcePrototype);
      if (ModuleSourcePrototypeProto === objectPrototype) {
        setPrototypeOf(ModuleSource.prototype, AbstractModuleSource.prototype);
      }
    }
  }

  return newIntrinsics;
};$h͏_once.tameModuleSource(tameModuleSource);
})()
,
// === 40. ses ./src/error/console.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let WeakSet,arrayFilter,arrayFlatMap,arrayMap,arrayPop,arrayPush,defineProperty,freeze,fromEntries,isError,stringEndsWith,stringIncludes,stringSplit,weaksetAdd,weaksetHas;$h͏_imports([["../commons.js", [["WeakSet",[$h͏_a => (WeakSet = $h͏_a)]],["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["arrayFlatMap",[$h͏_a => (arrayFlatMap = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["arrayPop",[$h͏_a => (arrayPop = $h͏_a)]],["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["fromEntries",[$h͏_a => (fromEntries = $h͏_a)]],["isError",[$h͏_a => (isError = $h͏_a)]],["stringEndsWith",[$h͏_a => (stringEndsWith = $h͏_a)]],["stringIncludes",[$h͏_a => (stringIncludes = $h͏_a)]],["stringSplit",[$h͏_a => (stringSplit = $h͏_a)]],["weaksetAdd",[$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas",[$h͏_a => (weaksetHas = $h͏_a)]]]]]);
























/**
 * @import {FilterConsole, LogSeverity, VirtualConsole} from './types.js'
 * @import {ErrorInfo, ErrorInfoKind, LogRecord, NoteCallback, LoggedErrorHandler, MakeCausalConsole, MakeLoggingConsoleKit} from "./internal-types.js";
 */

/**
 * Explicitly set a function's name, supporting use of arrow functions for which
 * source text doesn't include a name and no initial name is set by
 * NamedEvaluation
 * https://tc39.es/ecma262/multipage/syntax-directed-operations.html#sec-runtime-semantics-namedevaluation
 * Instead, we hope that tooling uses only the explicit `name` property.
 *
 * @template {Function} F
 * @param {string} name
 * @param {F} fn
 * @returns {F}
 */
const defineName = (name, fn) => defineProperty(fn, 'name', { value: name });

// For our internal debugging purposes, uncomment
// const internalDebugConsole = console;

// The permitted console methods, from:
// Whatwg "living standard" https://console.spec.whatwg.org/
// Node https://nodejs.org/dist/latest-v14.x/docs/api/console.html
// MDN https://developer.mozilla.org/en-US/docs/Web/API/Console_API
// TypeScript https://openstapps.gitlab.io/projectmanagement/interfaces/_node_modules__types_node_globals_d_.console.html
// Chrome https://developers.google.com/web/tools/chrome-devtools/console/api

// All console level methods have parameters (fmt?, ...args)
// where the argument sequence `fmt?, ...args` formats args according to
// fmt if fmt is a format string. Otherwise, it just renders them all as values
// separated by spaces.
// https://console.spec.whatwg.org/#formatter
// https://nodejs.org/docs/latest/api/util.html#util_util_format_format_args

// For the causal console, all occurrences of `fmt, ...args` or `...args` by
// itself must check for the presence of an error to ask the
// `loggedErrorHandler` to handle.
// In theory we should do a deep inspection to detect for example an array
// containing an error. We currently do not detect these and may never.

/** @typedef {keyof VirtualConsole | 'profile' | 'profileEnd'} ConsoleProps */

/**
 * Those console methods whose actual parameters are `(fmt?, ...args)`
 * even if their TypeScript types claim otherwise.
 *
 * Each is paired with what we consider to be their log severity level.
 * This is the same as the log severity of these on other
 * platform console implementations when they all agree.
 *
 * @type {readonly [ConsoleProps, LogSeverity | undefined][]}
 */
       const consoleLevelMethods = freeze([
  ['debug', 'debug'], // (fmt?, ...args) verbose level on Chrome
  ['log', 'log'], // (fmt?, ...args) info level on Chrome
  ['info', 'info'], // (fmt?, ...args)
  ['warn', 'warn'], // (fmt?, ...args)
  ['error', 'error'], // (fmt?, ...args)

  ['trace', 'log'], // (fmt?, ...args)
  ['dirxml', 'log'], // (fmt?, ...args)          but TS typed (...data)
  ['group', 'log'], // (fmt?, ...args)           but TS typed (...label)
  ['groupCollapsed', 'log']  // (fmt?, ...args)  but TS typed (...label)
]);

/**
 * Those console methods other than those already enumerated by
 * `consoleLevelMethods`.
 *
 * Each is paired with what we consider to be their log severity level.
 * This is the same as the log severity of these on other
 * platform console implementations when they all agree.
 *
 * @type {readonly [ConsoleProps, LogSeverity | undefined][]}
 */$h͏_once.consoleLevelMethods(consoleLevelMethods);
       const consoleOtherMethods = freeze([
  ['assert', 'error'], // (value, fmt?, ...args)
  ['timeLog', 'log'], // (label?, ...args) no fmt string

  // Insensitive to whether any argument is an error. All arguments can pass
  // thru to baseConsole as is.
  ['clear', undefined], // ()
  ['count', 'info'], // (label?)
  ['countReset', undefined], // (label?)
  ['dir', 'log'], // (item, options?)
  ['groupEnd', 'log'], // ()
  // In theory tabular data may be or contain an error. However, we currently
  // do not detect these and may never.
  ['table', 'log'], // (tabularData, properties?)
  ['time', 'info'], // (label?)
  ['timeEnd', 'info'], // (label?)

  // Node Inspector only, MDN, and TypeScript, but not whatwg
  ['profile', undefined], // (label?)
  ['profileEnd', undefined], // (label?)
  ['timeStamp', undefined]  // (label?)
]);

/** @type {readonly [ConsoleProps, LogSeverity | undefined][]} */$h͏_once.consoleOtherMethods(consoleOtherMethods);
const consoleMethodPermits = freeze([
  ...consoleLevelMethods,
  ...consoleOtherMethods,
]);

/**
 * consoleOmittedProperties is currently unused. I record and maintain it here
 * with the intention that it be treated like the `false` entries in the main
 * SES permits: that seeing these on the original console is expected, but
 * seeing anything else that's outside the permits is surprising and should
 * provide a diagnostic.
 *
 * const consoleOmittedProperties = freeze([
 *   'memory', // Chrome
 *   'exception', // FF, MDN
 *   '_ignoreErrors', // Node
 *   '_stderr', // Node
 *   '_stderrErrorHandler', // Node
 *   '_stdout', // Node
 *   '_stdoutErrorHandler', // Node
 *   '_times', // Node
 *   'context', // Chrome, Node
 *   'record', // Safari
 *   'recordEnd', // Safari
 *
 *   'screenshot', // Safari
 *   // Symbols
 *   '@@toStringTag', // Chrome: "Object", Safari: "Console"
 *   // A variety of other symbols also seen on Node
 * ]);
 */

// //////////////////////////// Logging Console ////////////////////////////////

/** @type {MakeLoggingConsoleKit} */
       const makeLoggingConsoleKit = (
  loggedErrorHandler,
  { shouldResetForDebugging = false } = {},
) => {
  if (shouldResetForDebugging) {
    // eslint-disable-next-line @endo/no-polymorphic-call
    loggedErrorHandler.resetErrorTagNum();
  }

  // Not frozen!
  let logArray = [];

  const loggingConsole = fromEntries(
    arrayMap(consoleMethodPermits, ([name, _]) => {
      /**
       * @param {...any} args
       */
      const method = defineName(name, (...args) => {
        arrayPush(logArray, [name, ...args]);
      });
      return [name, freeze(method)];
    }),
  );
  freeze(loggingConsole);

  const takeLog = () => {
    const result = freeze(logArray);
    logArray = [];
    return result;
  };
  freeze(takeLog);

  const typedLoggingConsole = /** @type {VirtualConsole} */ (loggingConsole);

  return freeze({ loggingConsole: typedLoggingConsole, takeLog });
};$h͏_once.makeLoggingConsoleKit(makeLoggingConsoleKit);
freeze(makeLoggingConsoleKit);

/**
 * Makes the same calls on a `baseConsole` that were made on a
 * `loggingConsole` to produce this `log`. In this way, a logging console
 * can be used as a buffer to delay the application of these calls to a
 * `baseConsole`.
 *
 * @param {LogRecord[]} log
 * @param {VirtualConsole} baseConsole
 */
       const pumpLogToConsole = (log, baseConsole) => {
  for (const [name, ...args] of log) {
    // eslint-disable-next-line @endo/no-polymorphic-call
    baseConsole[name](...args);
  }
};
// //////////////////////////// Causal Console /////////////////////////////////

/** @type {ErrorInfo} */$h͏_once.pumpLogToConsole(pumpLogToConsole);
const ErrorInfo = {
  NOTE: 'ERROR_NOTE:',
  MESSAGE: 'ERROR_MESSAGE:',
  CAUSE: 'cause:',
  ERRORS: 'errors:',
};
freeze(ErrorInfo);

/** @type {MakeCausalConsole} */
       const makeCausalConsole = (baseConsole, loggedErrorHandler) => {
  if (!baseConsole) {
    return undefined;
  }

  const { getStackString, tagError, takeMessageLogArgs, takeNoteLogArgsArray } =
    loggedErrorHandler;

  /**
   * @param {ReadonlyArray<any>} logArgs
   * @param {Array<any>} subErrorsSink
   * @returns {any}
   */
  const extractErrorArgs = (logArgs, subErrorsSink) => {
    const argTags = arrayMap(logArgs, arg => {
      if (isError(arg)) {
        arrayPush(subErrorsSink, arg);
        return `(${tagError(arg)})`;
      }
      return arg;
    });
    return argTags;
  };

  /**
   * @param {LogSeverity} severity
   * @param {Error} error
   * @param {ErrorInfoKind} kind
   * @param {readonly any[]} logArgs
   * @param {Array<Error>} subErrorsSink
   */
  const logErrorInfo = (severity, error, kind, logArgs, subErrorsSink) => {
    const errorTag = tagError(error);
    const errorName =
      kind === ErrorInfo.MESSAGE ? `${errorTag}:` : `${errorTag} ${kind}`;
    const argTags = extractErrorArgs(logArgs, subErrorsSink);
    // eslint-disable-next-line @endo/no-polymorphic-call
    baseConsole[severity](errorName, ...argTags);
  };

  /**
   * Logs the `subErrors` within a group name mentioning `optTag`.
   *
   * @param {LogSeverity} severity
   * @param {Error[]} subErrors
   * @param {string | undefined} optTag
   * @returns {void}
   */
  const logSubErrors = (severity, subErrors, optTag = undefined) => {
    if (subErrors.length === 0) {
      return;
    }
    if (subErrors.length === 1 && optTag === undefined) {
      // eslint-disable-next-line no-use-before-define
      logError(severity, subErrors[0]);
      return;
    }
    let label;
    if (subErrors.length === 1) {
      label = `Nested error`;
    } else {
      label = `Nested ${subErrors.length} errors`;
    }
    if (optTag !== undefined) {
      label = `${label} under ${optTag}`;
    }
    // eslint-disable-next-line @endo/no-polymorphic-call
    baseConsole.group(label);
    try {
      for (const subError of subErrors) {
        // eslint-disable-next-line no-use-before-define
        logError(severity, subError);
      }
    } finally {
      if (baseConsole.groupEnd) {
        // eslint-disable-next-line @endo/no-polymorphic-call
        baseConsole.groupEnd();
      }
    }
  };

  const errorsLogged = new WeakSet();

  /** @type {(severity: LogSeverity) => NoteCallback} */
  const makeNoteCallback = severity => (error, noteLogArgs) => {
    const subErrors = [];
    // Annotation arrived after the error has already been logged,
    // so just log the annotation immediately, rather than remembering it.
    logErrorInfo(severity, error, ErrorInfo.NOTE, noteLogArgs, subErrors);
    logSubErrors(severity, subErrors, tagError(error));
  };

  /**
   * @param {LogSeverity} severity
   * @param {Error} error
   */
  const logError = (severity, error) => {
    if (weaksetHas(errorsLogged, error)) {
      return;
    }
    const errorTag = tagError(error);
    weaksetAdd(errorsLogged, error);
    const subErrors = [];
    const messageLogArgs = takeMessageLogArgs(error);
    const noteLogArgsArray = takeNoteLogArgsArray(
      error,
      makeNoteCallback(severity),
    );
    // Show the error's most informative error message
    if (messageLogArgs === undefined) {
      // If there is no message log args, then just show the message that
      // the error itself carries.
      // eslint-disable-next-line @endo/no-polymorphic-call
      baseConsole[severity](`${errorTag}:`, error.message);
    } else {
      // If there is one, we take it to be strictly more informative than the
      // message string carried by the error, so show it *instead*.
      logErrorInfo(
        severity,
        error,
        ErrorInfo.MESSAGE,
        messageLogArgs,
        subErrors,
      );
    }
    // After the message but before any other annotations, show the stack.
    let stackString = getStackString(error);
    if (
      typeof stackString === 'string' &&
      stackString.length >= 1 &&
      !stringEndsWith(stackString, '\n')
    ) {
      stackString += '\n';
    }
    // eslint-disable-next-line @endo/no-polymorphic-call
    baseConsole[severity](stackString);
    // Show the other annotations on error
    if (error.cause) {
      logErrorInfo(severity, error, ErrorInfo.CAUSE, [error.cause], subErrors);
    }
    // @ts-expect-error AggregateError has an `errors` property.
    if (error.errors) {
      // @ts-expect-error AggregateError has an `errors` property.
      logErrorInfo(severity, error, ErrorInfo.ERRORS, error.errors, subErrors);
    }
    for (const noteLogArgs of noteLogArgsArray) {
      logErrorInfo(severity, error, ErrorInfo.NOTE, noteLogArgs, subErrors);
    }
    // explain all the errors seen in the messages already emitted.
    logSubErrors(severity, subErrors, errorTag);
  };

  const levelMethods = arrayMap(consoleLevelMethods, ([level, _]) => {
    /**
     * @param {...any} logArgs
     */
    const levelMethod = defineName(level, (...logArgs) => {
      const subErrors = [];
      const argTags = extractErrorArgs(logArgs, subErrors);
      if (baseConsole[level]) {
        // eslint-disable-next-line @endo/no-polymorphic-call
        baseConsole[level](...argTags);
      }
      // @ts-expect-error ConsoleProp vs LogSeverity mismatch
      logSubErrors(level, subErrors);
    });
    return [level, freeze(levelMethod)];
  });
  const otherMethodNames = arrayFilter(
    consoleOtherMethods,
    ([name, _]) => name in baseConsole,
  );
  const otherMethods = arrayMap(otherMethodNames, ([name, _]) => {
    /**
     * @param {...any} args
     */
    const otherMethod = defineName(name, (...args) => {
      // @ts-ignore
      // eslint-disable-next-line @endo/no-polymorphic-call
      baseConsole[name](...args);
      return undefined;
    });
    return [name, freeze(otherMethod)];
  });

  const causalConsole = fromEntries([...levelMethods, ...otherMethods]);
  return /** @type {VirtualConsole} */ (freeze(causalConsole));
};$h͏_once.makeCausalConsole(makeCausalConsole);
freeze(makeCausalConsole);

/**
 * @typedef {(...args: unknown[]) => void} Logger
 */

/**
 * This is a rather horrible kludge to indent the output to a logger in
 * the case where some arguments are strings containing newlines. Part of
 * the problem is that console-like loggers, including the one in ava,
 * join the string arguments of the log message with a space.
 * Because of this, there's an extra space at the beginning of each of
 * the split lines. So this kludge compensated by putting an extra empty
 * string at the beginning, so that the logger will add the same extra
 * joiner.
 * TODO: Fix this horrible kludge, and indent in a sane manner.
 *
 * @param {string} str
 * @param {string} sep
 * @param {string[]} indents
 * @returns {string[]}
 */
const indentAfterAllSeps = (str, sep, indents) => {
  const [firstLine, ...restLines] = stringSplit(str, sep);
  const indentedRest = arrayFlatMap(restLines, line => [sep, ...indents, line]);
  return ['', firstLine, ...indentedRest];
};

/**
 * @param {LoggedErrorHandler} loggedErrorHandler
 */
       const defineCausalConsoleFromLogger = loggedErrorHandler => {
  /**
   * Implement the `VirtualConsole` API badly by turning all calls into
   * calls on `tlogger`. We need to do this to have `console` logging
   * turn into calls to Ava's `t.log`, so these console log messages
   * are output in the right place.
   *
   * @param {Logger} tlogger
   * @returns {VirtualConsole}
   */
  const makeCausalConsoleFromLogger = tlogger => {
    const indents = [];
    const logWithIndent = (...args) => {
      if (indents.length > 0) {
        args = arrayFlatMap(args, arg =>
          typeof arg === 'string' && stringIncludes(arg, '\n')
            ? indentAfterAllSeps(arg, '\n', indents)
            : [arg],
        );
        args = [...indents, ...args];
      }
      return tlogger(...args);
    };

    const baseConsole = fromEntries([
      ...arrayMap(consoleLevelMethods, ([name]) => [
        name,
        defineName(name, (...args) => logWithIndent(...args)),
      ]),
      ...arrayMap(consoleOtherMethods, ([name]) => [
        name,
        defineName(name, (...args) => logWithIndent(name, ...args)),
      ]),
    ]);
    // https://console.spec.whatwg.org/#grouping
    for (const name of ['group', 'groupCollapsed']) {
      if (baseConsole[name]) {
        baseConsole[name] = defineName(name, (...args) => {
          if (args.length >= 1) {
            // Prefix the logged data with "group" or "groupCollapsed".
            logWithIndent(...args);
          }
          // A single space is enough;
          // the host console will separate them with additional spaces.
          arrayPush(indents, ' ');
        });
      } else {
        baseConsole[name] = defineName(name, () => {});
      }
    }
    baseConsole.groupEnd = defineName(
      'groupEnd',
      baseConsole.groupEnd
        ? (...args) => {
            arrayPop(indents);
          }
        : () => {},
    );
    harden(baseConsole);
    const causalConsole = makeCausalConsole(
      /** @type {VirtualConsole} */ (baseConsole),
      loggedErrorHandler,
    );
    return /** @type {VirtualConsole} */ (causalConsole);
  };
  return freeze(makeCausalConsoleFromLogger);
};$h͏_once.defineCausalConsoleFromLogger(defineCausalConsoleFromLogger);
freeze(defineCausalConsoleFromLogger);

// ///////////////////////// Filter Console ////////////////////////////////////

/** @type {FilterConsole} */
       const filterConsole = (baseConsole, filter, _topic = undefined) => {
  // TODO do something with optional topic string
  const methodPermits = arrayFilter(
    consoleMethodPermits,
    ([name, _]) => name in baseConsole,
  );
  const methods = arrayMap(methodPermits, ([name, severity]) => {
    /**
     * @param {...any} args
     */
    const method = defineName(name, (...args) => {
      // eslint-disable-next-line @endo/no-polymorphic-call
      if (severity === undefined || filter.canLog(severity)) {
        // @ts-ignore
        // eslint-disable-next-line @endo/no-polymorphic-call
        baseConsole[name](...args);
      }
    });
    return [name, freeze(method)];
  });
  const filteringConsole = fromEntries(methods);
  return /** @type {VirtualConsole} */ (freeze(filteringConsole));
};$h͏_once.filterConsole(filterConsole);
freeze(filterConsole);
})()
,
// === 41. ses ./src/error/unhandled-rejection.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FinalizationRegistry,Map,mapGet,mapDelete,WeakMap,mapSet,finalizationRegistryRegister,weakmapSet,weakmapGet,mapEntries,mapHas;$h͏_imports([["../commons.js", [["FinalizationRegistry",[$h͏_a => (FinalizationRegistry = $h͏_a)]],["Map",[$h͏_a => (Map = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["mapDelete",[$h͏_a => (mapDelete = $h͏_a)]],["WeakMap",[$h͏_a => (WeakMap = $h͏_a)]],["mapSet",[$h͏_a => (mapSet = $h͏_a)]],["finalizationRegistryRegister",[$h͏_a => (finalizationRegistryRegister = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["mapEntries",[$h͏_a => (mapEntries = $h͏_a)]],["mapHas",[$h͏_a => (mapHas = $h͏_a)]]]]]);














/**
 * Create rejection-tracking machinery compatible with Node.js and browsers.
 *
 * Note that modern browsers *prevent* access to the 'unhandledrejection' and
 * 'rejectionhandled' events needed:
 * - in cross-origin mode, like when served from file://
 * - in the browser console (interactively typed-in code)
 * - in the debugger
 *
 * Then, they just look like: `Uncaught (in promise) Error: ...` and don't
 * implement the machinery.
 *
 * The solution is to serve your web page from an http:// or https:// web server
 * and execute actual code.
 *
 * @param {(reason: unknown) => void} reportReason report the reason for an
 * unhandled rejection.
 */
       const makeRejectionHandlers = reportReason => {
  if (FinalizationRegistry === undefined) {
    return undefined;
  }

  /** @typedef {number} ReasonId */
  let lastReasonId = 0;

  /** @type {Map<ReasonId, unknown>} */
  const idToReason = new Map();

  /** @type {(() => void) | undefined} */
  let cancelChecking;

  const removeReasonId = reasonId => {
    mapDelete(idToReason, reasonId);
    if (cancelChecking && idToReason.size === 0) {
      // No more unhandled rejections to check, just cancel the check.
      cancelChecking();
      cancelChecking = undefined;
    }
  };

  /** @type {WeakMap<Promise, ReasonId>} */
  const promiseToReasonId = new WeakMap();

  /**
   * Clean up and report the reason for a GCed unhandled rejection.
   *
   * @param {ReasonId} heldReasonId
   */
  const finalizeDroppedPromise = heldReasonId => {
    if (mapHas(idToReason, heldReasonId)) {
      const reason = mapGet(idToReason, heldReasonId);
      removeReasonId(heldReasonId);
      reportReason(reason);
    }
  };

  /** @type {FinalizationRegistry<ReasonId>} */
  const promiseToReason = new FinalizationRegistry(finalizeDroppedPromise);

  /**
   * Track a rejected promise and its corresponding reason if there is no
   * rejection handler synchronously attached.
   *
   * @param {unknown} reason
   * @param {Promise} pr
   */
  const unhandledRejectionHandler = (reason, pr) => {
    lastReasonId += 1;
    const reasonId = lastReasonId;

    // Update bookkeeping.
    mapSet(idToReason, reasonId, reason);
    weakmapSet(promiseToReasonId, pr, reasonId);
    finalizationRegistryRegister(promiseToReason, pr, reasonId, pr);
  };

  /**
   * Deal with the addition of a handler to a previously rejected promise.
   *
   * Just remove it from our list.  Let the FinalizationRegistry or
   * processTermination report any GCed unhandled rejected promises.
   *
   * @param {Promise} pr
   */
  const rejectionHandledHandler = pr => {
    const reasonId = weakmapGet(promiseToReasonId, pr);
    removeReasonId(reasonId);
  };

  /**
   * Report all the unhandled rejections, now that we are abruptly terminating
   * the agent cluster.
   */
  const processTerminationHandler = () => {
    for (const [reasonId, reason] of mapEntries(idToReason)) {
      removeReasonId(reasonId);
      reportReason(reason);
    }
  };

  return {
    rejectionHandledHandler,
    unhandledRejectionHandler,
    processTerminationHandler,
  };
};$h͏_once.makeRejectionHandlers(makeRejectionHandlers);
})()
,
// === 42. ses ./src/error/tame-console.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError,apply,defineProperty,freeze,globalThis,defaultHandler,makeCausalConsole,makeRejectionHandlers;$h͏_imports([["../commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./assert.js", [["loggedErrorHandler",[$h͏_a => (defaultHandler = $h͏_a)]]]],["./console.js", [["makeCausalConsole",[$h͏_a => (makeCausalConsole = $h͏_a)]]]],["./unhandled-rejection.js", [["makeRejectionHandlers",[$h͏_a => (makeRejectionHandlers = $h͏_a)]]]]]);













/**
 * @import {VirtualConsole} from './types.js'
 * @import {GetStackString} from './internal-types.js';
 */

const failFast = message => {
  throw TypeError(message);
};

const wrapLogger = (logger, thisArg) =>
  freeze((...args) => apply(logger, thisArg, args));

/**
 * Wrap console unless suppressed.
 * At the moment, the console is considered a host power in the start
 * compartment, and not a primordial. Hence it is absent from the whilelist
 * and bypasses the intrinsicsCollector.
 *
 * @param {"safe" | "unsafe"} consoleTaming
 * @param {"platform" | "exit" | "abort" | "report" | "none"} [errorTrapping]
 * @param {"report" | "none"} [unhandledRejectionTrapping]
 * @param {GetStackString=} optGetStackString
 */
       const tameConsole = (
  consoleTaming = 'safe',
  errorTrapping = 'platform',
  unhandledRejectionTrapping = 'report',
  optGetStackString = undefined,
) => {
  let loggedErrorHandler;
  if (optGetStackString === undefined) {
    loggedErrorHandler = defaultHandler;
  } else {
    loggedErrorHandler = {
      ...defaultHandler,
      getStackString: optGetStackString,
    };
  }

  // eslint-disable-next-line no-restricted-globals
  const originalConsole = /** @type {VirtualConsole} */ (
    // eslint-disable-next-line no-nested-ternary
    typeof globalThis.console !== 'undefined'
      ? globalThis.console
      : typeof globalThis.print === 'function'
        ? // Make a good-enough console for eshost (including only functions that
          // log at a specific level with no special argument interpretation).
          // https://console.spec.whatwg.org/#logging
          (p => freeze({ debug: p, log: p, info: p, warn: p, error: p }))(
            // eslint-disable-next-line no-undef
            wrapLogger(globalThis.print),
          )
        : undefined
  );

  // Upgrade a log-only console (as in `eshost -h SpiderMonkey`).
  if (originalConsole && originalConsole.log) {
    for (const methodName of ['warn', 'error']) {
      if (!originalConsole[methodName]) {
        defineProperty(originalConsole, methodName, {
          value: wrapLogger(originalConsole.log, originalConsole),
        });
      }
    }
  }

  const ourConsole = /** @type {VirtualConsole} */ (
    consoleTaming === 'unsafe'
      ? originalConsole
      : makeCausalConsole(originalConsole, loggedErrorHandler)
  );

  // Attach platform-specific error traps such that any error that gets thrown
  // at top-of-turn (the bottom of stack) will get logged by our causal
  // console, revealing the diagnostic information associated with the error,
  // including the stack from when the error was created.

  // In the following Node.js and web browser cases, `process` and `window` are
  // spelled as `globalThis` properties to avoid the overweaning gaze of
  // Parcel, which dutifully installs an unnecessary `process` shim if we ever
  // utter that. That unnecessary shim forces the whole bundle into sloppy mode,
  // which in turn breaks SES's strict mode invariant.

  // Disable the polymorphic check for the rest of this file.  It's too noisy
  // when dealing with platform APIs.
  /* eslint-disable @endo/no-polymorphic-call */

  // Node.js
  const globalProcess = globalThis.process || undefined;
  if (
    errorTrapping !== 'none' &&
    typeof globalProcess === 'object' &&
    typeof globalProcess.on === 'function'
  ) {
    let terminate;
    if (errorTrapping === 'platform' || errorTrapping === 'exit') {
      const { exit } = globalProcess;
      // If there is a function-valued process.on but no function-valued process.exit,
      // fail early without caring whether errorTrapping is "platform" only by default.
      typeof exit === 'function' || failFast('missing process.exit');
      terminate = () => exit(globalProcess.exitCode || -1);
    } else if (errorTrapping === 'abort') {
      terminate = globalProcess.abort;
      typeof terminate === 'function' || failFast('missing process.abort');
    }

    globalProcess.on('uncaughtException', error => {
      // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_UNCAUGHT_EXCEPTION.md
      ourConsole.error('SES_UNCAUGHT_EXCEPTION:', error);
      if (terminate) {
        terminate();
      }
    });
  }
  if (
    unhandledRejectionTrapping !== 'none' &&
    typeof globalProcess === 'object' &&
    typeof globalProcess.on === 'function'
  ) {
    const handleRejection = reason => {
      // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_UNHANDLED_REJECTION.md
      ourConsole.error('SES_UNHANDLED_REJECTION:', reason);
      // 'platform' and 'report' just log the reason.
    };
    // Maybe track unhandled promise rejections.
    const h = makeRejectionHandlers(handleRejection);
    if (h) {
      // Rejection handlers are supported.
      globalProcess.on('unhandledRejection', h.unhandledRejectionHandler);
      globalProcess.on('rejectionHandled', h.rejectionHandledHandler);
      globalProcess.on('exit', h.processTerminationHandler);
    }
  }

  // Browser
  const globalWindow = globalThis.window || undefined;
  if (
    errorTrapping !== 'none' &&
    typeof globalWindow === 'object' &&
    typeof globalWindow.addEventListener === 'function'
  ) {
    globalWindow.addEventListener('error', event => {
      event.preventDefault();
      // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_UNCAUGHT_EXCEPTION.md
      ourConsole.error('SES_UNCAUGHT_EXCEPTION:', event.error);
      // 'platform' and 'report' just log the reason.
      if (errorTrapping === 'exit' || errorTrapping === 'abort') {
        globalWindow.location.href = `about:blank`;
      }
    });
  }
  if (
    unhandledRejectionTrapping !== 'none' &&
    typeof globalWindow === 'object' &&
    typeof globalWindow.addEventListener === 'function'
  ) {
    const handleRejection = reason => {
      // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_UNHANDLED_REJECTION.md
      ourConsole.error('SES_UNHANDLED_REJECTION:', reason);
    };

    const h = makeRejectionHandlers(handleRejection);
    if (h) {
      // Rejection handlers are supported.
      globalWindow.addEventListener('unhandledrejection', event => {
        event.preventDefault();
        h.unhandledRejectionHandler(event.reason, event.promise);
      });

      globalWindow.addEventListener('rejectionhandled', event => {
        event.preventDefault();
        h.rejectionHandledHandler(event.promise);
      });

      globalWindow.addEventListener('beforeunload', _event => {
        h.processTerminationHandler();
      });
    }
  }
  /* eslint-enable @endo/no-polymorphic-call */

  return { console: ourConsole };
};$h͏_once.tameConsole(tameConsole);
})()
,
// === 43. ses ./src/error/tame-v8-error-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let WeakMap,WeakSet,apply,arrayFilter,arrayJoin,arrayMap,arraySlice,create,defineProperties,fromEntries,reflectSet,regexpExec,weakmapGet,weakmapSet,weaksetAdd,weaksetHas,TypeError;$h͏_imports([["../commons.js", [["WeakMap",[$h͏_a => (WeakMap = $h͏_a)]],["WeakSet",[$h͏_a => (WeakSet = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["arraySlice",[$h͏_a => (arraySlice = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["fromEntries",[$h͏_a => (fromEntries = $h͏_a)]],["reflectSet",[$h͏_a => (reflectSet = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]],["weaksetAdd",[$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas",[$h͏_a => (weaksetHas = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]]]]]);



















// Permit names from https://v8.dev/docs/stack-trace-api
// Permiting only the names used by error-stack-shim/src/v8StackFrames
// callSiteToFrame to shim the error stack proposal.
const safeV8CallSiteMethodNames = [
  // suppress 'getThis' definitely
  'getTypeName',
  // suppress 'getFunction' definitely
  'getFunctionName',
  'getMethodName',
  'getFileName',
  'getLineNumber',
  'getColumnNumber',
  'getEvalOrigin',
  'isToplevel',
  'isEval',
  'isNative',
  'isConstructor',
  'isAsync',
  // suppress 'isPromiseAll' for now
  // suppress 'getPromiseIndex' for now

  // Additional names found by experiment, absent from
  // https://v8.dev/docs/stack-trace-api
  'getPosition',
  'getScriptNameOrSourceURL',

  'toString'  // TODO replace to use only permitted info
];

// TODO this is a ridiculously expensive way to attenuate callsites.
// Before that matters, we should switch to a reasonable representation.
const safeV8CallSiteFacet = callSite => {
  const methodEntry = name => {
    const method = callSite[name];
    return [name, () => apply(method, callSite, [])];
  };
  const o = fromEntries(arrayMap(safeV8CallSiteMethodNames, methodEntry));
  return create(o, {});
};

const safeV8SST = sst => arrayMap(sst, safeV8CallSiteFacet);

// If it has `/node_modules/` anywhere in it, on Node it is likely
// to be a dependent package of the current package, and so to
// be an infrastructure frame to be dropped from concise stack traces.
const FILENAME_NODE_DEPENDENTS_CENSOR = /\/node_modules\//;

// If it begins with `internal/` or `node:internal` then it is likely
// part of the node infrustructre itself, to be dropped from concise
// stack traces.
const FILENAME_NODE_INTERNALS_CENSOR = /^(?:node:)?internal\//;

// Frames within SES `assert.js` should be dropped from concise stack traces, as
// these are just steps towards creating the error object in question.
const FILENAME_ASSERT_CENSOR = /\/packages\/ses\/src\/error\/assert\.js$/;

// Frames within the `eventual-send` shim should be dropped so that concise
// deep stacks omit the internals of the eventual-sending mechanism causing
// asynchronous messages to be sent.
// Note that the eventual-send package will move from agoric-sdk to
// Endo, so this rule will be of general interest.
const FILENAME_EVENTUAL_SEND_CENSOR = /\/packages\/eventual-send\/src\//;

// Frames within the `ses-ava` package should be dropped from concise stack
// traces, as they just support exposing error details to AVA.
const FILENAME_SES_AVA_CENSOR = /\/packages\/ses-ava\/src\/ses-ava-test\.js$/;

// Any stack frame whose `fileName` matches any of these censor patterns
// will be omitted from concise stacks.
// TODO Enable users to configure FILENAME_CENSORS via `lockdown` options.
const FILENAME_CENSORS = [
  FILENAME_NODE_DEPENDENTS_CENSOR,
  FILENAME_NODE_INTERNALS_CENSOR,
  FILENAME_ASSERT_CENSOR,
  FILENAME_EVENTUAL_SEND_CENSOR,
  FILENAME_SES_AVA_CENSOR,
];

// Should a stack frame with this as its fileName be included in a concise
// stack trace?
// Exported only so it can be unit tested.
// TODO Move so that it applies not just to v8.
       const filterFileName = fileName => {
  if (fileName === null) {
    // Seems to suppress builtins like `Array.every (<anonymous>)`
    return false;
  }
  for (const filter of FILENAME_CENSORS) {
    if (regexpExec(filter, fileName)) {
      return false;
    }
  }
  return true;
};

// The ad-hoc rule of the current pattern is that any likely-file-path or
// likely url-path prefix, ending in a `/.../` should get dropped.
// Anything to the left of the likely path text is kept.
// Everything to the right of `/.../` is kept. Thus
// `'Object.bar (/vat-v1/.../errors/test/deep-send.test.js:13:21)'`
// simplifies to
// `'Object.bar (errors/test/deep-send.test.js:13:21)'`.
//
// See thread starting at
// https://github.com/Agoric/agoric-sdk/issues/2326#issuecomment-773020389
$h͏_once.filterFileName(filterFileName);const CALLSITE_ELLIPSIS_PATTERN1=/^((?:.*[( ])?)[:/\w_-]*\/\.\.\.\/(.+)$/;

// The ad-hoc rule of the current pattern is that any likely-file-path or
// likely url-path prefix consisting of `.../` should get dropped.
// Anything to the left of the likely path text is kept.
// Everything to the right of `.../` is kept. Thus
// `'Object.bar (.../errors/test/deep-send.test.js:13:21)'`
// simplifies to
// `'Object.bar (errors/test/deep-send.test.js:13:21)'`.
//
// See thread starting at
// https://github.com/Agoric/agoric-sdk/issues/2326#issuecomment-773020389
const CALLSITE_ELLIPSIS_PATTERN2 = /^((?:.*[( ])?)\.\.\.\/(.+)$/;

// The ad-hoc rule of the current pattern is that any likely-file-path or
// likely url-path prefix, ending in a `/` and prior to `package/` should get
// dropped.
// Anything to the left of the likely path prefix text is kept. `package/` and
// everything to its right is kept. Thus
// `'Object.bar (/Users/markmiller/src/ongithub/agoric/agoric-sdk/packages/errors/test/deep-send.test.js:13:21)'`
// simplifies to
// `'Object.bar (packages/errors/test/deep-send.test.js:13:21)'`.
// Note that `/packages/` is a convention for monorepos encouraged by
// lerna.
const CALLSITE_PACKAGES_PATTERN = /^((?:.*[( ])?)[:/\w_-]*\/(packages\/.+)$/;

// The ad-hoc rule of the current pattern is that any likely-file-path or
// likely url-path prefix of the form `file://` but not `file:///` gets
// dropped.
// Anything to the left of the likely path prefix text is kept. Everything to
// the right of `file://` is kept. Thus
// `'Object.bar (file:///Users/markmiller/src/ongithub/endojs/endo/packages/errors/test/deep-send.test.js:13:21)'` is unchanged but
// `'Object.bar (file://test/deep-send.test.js:13:21)'`

// simplifies to
// `'Object.bar (test/deep-send.test.js:13:21)'`.
// The reason is that `file:///` usually precedes an absolute path which is
// clickable without removing the `file:///`, whereas `file://` usually precedes
// a relative path which, for whatever vscode reason, is not clickable until the
// `file://` is removed.
const CALLSITE_FILE_2SLASH_PATTERN = /^((?:.*[( ])?)file:\/\/([^/].*)$/;

// The use of these callSite patterns below assumes that any match will bind
// capture groups containing the parts of the original string we want
// to keep. The parts outside those capture groups will be dropped from concise
// stacks.
// TODO Enable users to configure CALLSITE_PATTERNS via `lockdown` options.
const CALLSITE_PATTERNS = [
  CALLSITE_ELLIPSIS_PATTERN1,
  CALLSITE_ELLIPSIS_PATTERN2,
  CALLSITE_PACKAGES_PATTERN,
  CALLSITE_FILE_2SLASH_PATTERN,
];

// For a stack frame that should be included in a concise stack trace, if
// `callSiteString` is the original stringified stack frame, return the
// possibly-shorter stringified stack frame that should be shown instead.
// Exported only so it can be unit tested.
// TODO Move so that it applies not just to v8.
/**
 * @param {string} callSiteString
 */
       const shortenCallSiteString = callSiteString => {
  for (const filter of CALLSITE_PATTERNS) {
    const match = regexpExec(filter, callSiteString);
    if (match) {
      return arrayJoin(arraySlice(match, 1), '');
    }
  }
  return callSiteString;
};$h͏_once.shortenCallSiteString(shortenCallSiteString);

       const tameV8ErrorConstructor = (
  OriginalError,
  InitialError,
  errorTaming,
  stackFiltering,
) => {
  if (errorTaming === 'unsafe-debug') {
    throw TypeError(
      'internal: v8+unsafe-debug special case should already be done',
    );
  }
  // TODO: Proper CallSite types
  /** @typedef {{}} CallSite */

  const originalCaptureStackTrace = OriginalError.captureStackTrace;

  const omitFrames =
    stackFiltering === 'concise' || stackFiltering === 'omit-frames';

  const shortenPaths =
    stackFiltering === 'concise' || stackFiltering === 'shorten-paths';

  // const callSiteFilter = _callSite => true;
  const callSiteFilter = callSite => {
    if (omitFrames) {
      // eslint-disable-next-line @endo/no-polymorphic-call
      if (callSite.getFunctionName()?.startsWith('__HIDE_')) {
        return false;
      }
      // eslint-disable-next-line @endo/no-polymorphic-call
      return filterFileName(callSite.getFileName());
    }
    return true;
  };

  const callSiteStringifier = callSite => {
    let callSiteString = `${callSite}`;
    if (shortenPaths) {
      callSiteString = shortenCallSiteString(callSiteString);
    }
    return `\n  at ${callSiteString}`;
  };

  const stackStringFromSST = (_error, sst) =>
    arrayJoin(
      arrayMap(arrayFilter(sst, callSiteFilter), callSiteStringifier),
      '',
    );

  /**
   * @typedef {object} StructuredStackInfo
   * @property {CallSite[]} callSites
   * @property {undefined} [stackString]
   */

  /**
   * @typedef {object} ParsedStackInfo
   * @property {undefined} [callSites]
   * @property {string} stackString
   */

  // Mapping from error instance to the stack for that instance.
  // The stack info is either the structured stack trace
  // or the generated tamed stack string
  /** @type {WeakMap<Error, ParsedStackInfo | StructuredStackInfo>} */
  const stackInfos = new WeakMap();

  // Use concise methods to obtain named functions without constructors.
  const tamedMethods = {
    // The optional `optFn` argument is for cutting off the bottom of
    // the stack --- for capturing the stack only above the topmost
    // call to that function. Since this isn't the "real" captureStackTrace
    // but instead calls the real one, if no other cutoff is provided,
    // we cut this one off.
    captureStackTrace(error, optFn = tamedMethods.captureStackTrace) {
      if (typeof originalCaptureStackTrace === 'function') {
        // OriginalError.captureStackTrace is only on v8
        apply(originalCaptureStackTrace, OriginalError, [error, optFn]);
        return;
      }
      reflectSet(error, 'stack', '');
    },
    // Shim of proposed special power, to reside by default only
    // in the start compartment, for getting the stack traceback
    // string associated with an error.
    // See https://tc39.es/proposal-error-stacks/
    getStackString(error) {
      let stackInfo = weakmapGet(stackInfos, error);

      if (stackInfo === undefined) {
        // The following will call `prepareStackTrace()` synchronously
        // which will populate stackInfos
        // eslint-disable-next-line no-void
        void error.stack;
        stackInfo = weakmapGet(stackInfos, error);
        if (!stackInfo) {
          stackInfo = { stackString: '' };
          weakmapSet(stackInfos, error, stackInfo);
        }
      }

      // prepareStackTrace() may generate the stackString
      // if errorTaming === 'unsafe'

      if (stackInfo.stackString !== undefined) {
        return stackInfo.stackString;
      }

      const stackString = stackStringFromSST(error, stackInfo.callSites);
      weakmapSet(stackInfos, error, { stackString });

      return stackString;
    },
    prepareStackTrace(error, sst) {
      if (errorTaming === 'unsafe') {
        const stackString = stackStringFromSST(error, sst);
        weakmapSet(stackInfos, error, { stackString });
        return `${error}${stackString}`;
      } else {
        weakmapSet(stackInfos, error, { callSites: sst });
        return '';
      }
    },
  };

  // A prepareFn is a prepareStackTrace function.
  // An sst is a `structuredStackTrace`, which is an array of
  // callsites.
  // A user prepareFn is a prepareFn defined by a client of this API,
  // and provided by assigning to `Error.prepareStackTrace`.
  // A user prepareFn should only receive an attenuated sst, which
  // is an array of attenuated callsites.
  // A system prepareFn is the prepareFn created by this module to
  // be installed on the real `Error` constructor, to receive
  // an original sst, i.e., an array of unattenuated callsites.
  // An input prepareFn is a function the user assigns to
  // `Error.prepareStackTrace`, which might be a user prepareFn or
  // a system prepareFn previously obtained by reading
  // `Error.prepareStackTrace`.

  const defaultPrepareFn = tamedMethods.prepareStackTrace;

  OriginalError.prepareStackTrace = defaultPrepareFn;

  // A weakset branding some functions as system prepareFns, all of which
  // must be defined by this module, since they can receive an
  // unattenuated sst.
  const systemPrepareFnSet = new WeakSet([defaultPrepareFn]);

  const systemPrepareFnFor = inputPrepareFn => {
    if (weaksetHas(systemPrepareFnSet, inputPrepareFn)) {
      return inputPrepareFn;
    }
    // Use concise methods to obtain named functions without constructors.
    const systemMethods = {
      prepareStackTrace(error, sst) {
        weakmapSet(stackInfos, error, { callSites: sst });
        return inputPrepareFn(error, safeV8SST(sst));
      },
    };
    weaksetAdd(systemPrepareFnSet, systemMethods.prepareStackTrace);
    return systemMethods.prepareStackTrace;
  };

  // Note `stackTraceLimit` accessor already defined by
  // tame-error-constructor.js
  defineProperties(InitialError, {
    captureStackTrace: {
      value: tamedMethods.captureStackTrace,
      writable: true,
      enumerable: false,
      configurable: true,
    },
    prepareStackTrace: {
      get() {
        return OriginalError.prepareStackTrace;
      },
      set(inputPrepareStackTraceFn) {
        if (typeof inputPrepareStackTraceFn === 'function') {
          const systemPrepareFn = systemPrepareFnFor(inputPrepareStackTraceFn);
          OriginalError.prepareStackTrace = systemPrepareFn;
        } else {
          OriginalError.prepareStackTrace = defaultPrepareFn;
        }
      },
      enumerable: false,
      configurable: true,
    },
  });

  return tamedMethods.getStackString;
};$h͏_once.tameV8ErrorConstructor(tameV8ErrorConstructor);
})()
,
// === 44. ses ./src/error/tame-error-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_ERROR,apply,construct,defineProperties,setPrototypeOf,getOwnPropertyDescriptor,defineProperty,getOwnPropertyDescriptors,NativeErrors,tameV8ErrorConstructor;$h͏_imports([["../commons.js", [["FERAL_ERROR",[$h͏_a => (FERAL_ERROR = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["construct",[$h͏_a => (construct = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["setPrototypeOf",[$h͏_a => (setPrototypeOf = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]]]],["../permits.js", [["NativeErrors",[$h͏_a => (NativeErrors = $h͏_a)]]]],["./tame-v8-error-constructor.js", [["tameV8ErrorConstructor",[$h͏_a => (tameV8ErrorConstructor = $h͏_a)]]]]]);












// Present on at least FF and XS. Proposed by Error-proposal. The original
// is dangerous, so tameErrorConstructor replaces it with a safe one.
// We grab the original here before it gets replaced.
const stackDesc = getOwnPropertyDescriptor(FERAL_ERROR.prototype, 'stack');
const stackGetter = stackDesc && stackDesc.get;

// Use concise methods to obtain named functions without constructors.
const tamedMethods = {
  getStackString(error) {
    if (typeof stackGetter === 'function') {
      return apply(stackGetter, error, []);
    } else if ('stack' in error) {
      // The fallback is to just use the de facto `error.stack` if present
      return `${error.stack}`;
    }
    return '';
  },
};
let initialGetStackString = tamedMethods.getStackString;

               function tameErrorConstructor(
  errorTaming = 'safe',
  stackFiltering = 'concise',
) {
  const ErrorPrototype = FERAL_ERROR.prototype;

  const { captureStackTrace: originalCaptureStackTrace } = FERAL_ERROR;
  const platform =
    typeof originalCaptureStackTrace === 'function' ? 'v8' : 'unknown';

  const makeErrorConstructor = (_ = {}) => {
    // eslint-disable-next-line no-shadow
    const ResultError = function Error(...rest) {
      let error;
      if (new.target === undefined) {
        error = apply(FERAL_ERROR, this, rest);
      } else {
        error = construct(FERAL_ERROR, rest, new.target);
      }
      if (platform === 'v8') {
        // TODO Likely expensive!
        apply(originalCaptureStackTrace, FERAL_ERROR, [error, ResultError]);
      }
      return error;
    };
    defineProperties(ResultError, {
      length: { value: 1 },
      prototype: {
        value: ErrorPrototype,
        writable: false,
        enumerable: false,
        configurable: false,
      },
    });
    return ResultError;
  };
  const InitialError = makeErrorConstructor({ powers: 'original' });
  const SharedError = makeErrorConstructor({ powers: 'none' });
  defineProperties(ErrorPrototype, {
    constructor: { value: SharedError },
  });

  for (const NativeError of NativeErrors) {
    setPrototypeOf(NativeError, SharedError);
  }

  // https://v8.dev/docs/stack-trace-api#compatibility advises that
  // programmers can "always" set `Error.stackTraceLimit`
  // even on non-v8 platforms. On non-v8
  // it will have no effect, but this advice only makes sense
  // if the assignment itself does not fail, which it would
  // if `Error` were naively frozen. Hence, we add setters that
  // accept but ignore the assignment on non-v8 platforms.
  defineProperties(InitialError, {
    stackTraceLimit: {
      get() {
        if (typeof FERAL_ERROR.stackTraceLimit === 'number') {
          // FERAL_ERROR.stackTraceLimit is only on v8
          return FERAL_ERROR.stackTraceLimit;
        }
        return undefined;
      },
      set(newLimit) {
        if (typeof newLimit !== 'number') {
          // silently do nothing. This behavior doesn't precisely
          // emulate v8 edge-case behavior. But given the purpose
          // of this emulation, having edge cases err towards
          // harmless seems the safer option.
          return;
        }
        if (typeof FERAL_ERROR.stackTraceLimit === 'number') {
          // FERAL_ERROR.stackTraceLimit is only on v8
          FERAL_ERROR.stackTraceLimit = newLimit;
          // We place the useless return on the next line to ensure
          // that anything we place after the if in the future only
          // happens if the then-case does not.
          // eslint-disable-next-line no-useless-return
          return;
        }
      },
      // WTF on v8 stackTraceLimit is enumerable
      enumerable: false,
      configurable: true,
    },
  });

  if (errorTaming === 'unsafe-debug' && platform === 'v8') {
    // This case is a kludge to work around
    // https://github.com/endojs/endo/issues/1798
    // https://github.com/endojs/endo/issues/2348
    // https://github.com/Agoric/agoric-sdk/issues/8662

    defineProperties(InitialError, {
      prepareStackTrace: {
        get() {
          return FERAL_ERROR.prepareStackTrace;
        },
        set(newPrepareStackTrace) {
          FERAL_ERROR.prepareStackTrace = newPrepareStackTrace;
        },
        enumerable: false,
        configurable: true,
      },
      captureStackTrace: {
        value: FERAL_ERROR.captureStackTrace,
        writable: true,
        enumerable: false,
        configurable: true,
      },
    });

    const descs = getOwnPropertyDescriptors(InitialError);
    defineProperties(SharedError, {
      stackTraceLimit: descs.stackTraceLimit,
      prepareStackTrace: descs.prepareStackTrace,
      captureStackTrace: descs.captureStackTrace,
    });

    return {
      '%InitialGetStackString%': initialGetStackString,
      '%InitialError%': InitialError,
      '%SharedError%': SharedError,
    };
  }

  // The default SharedError much be completely powerless even on v8,
  // so the lenient `stackTraceLimit` accessor does nothing on all
  // platforms.
  defineProperties(SharedError, {
    stackTraceLimit: {
      get() {
        return undefined;
      },
      set(_newLimit) {
        // do nothing
      },
      enumerable: false,
      configurable: true,
    },
  });

  if (platform === 'v8') {
    // `SharedError.prepareStackTrace`, if it exists, must also be
    // powerless. However, from what we've heard, depd expects to be able to
    // assign to it without the assignment throwing. It is normally a function
    // that returns a stack string to be magically added to error objects.
    // However, as long as we're adding a lenient standin, we may as well
    // accommodate any who expect to get a function they can call and get
    // a string back. This prepareStackTrace is a do-nothing function that
    // always returns the empty string.
    defineProperties(SharedError, {
      prepareStackTrace: {
        get() {
          return () => '';
        },
        set(_prepareFn) {
          // do nothing
        },
        enumerable: false,
        configurable: true,
      },
      captureStackTrace: {
        value: (errorish, _constructorOpt) => {
          defineProperty(errorish, 'stack', {
            value: '',
          });
        },
        writable: false,
        enumerable: false,
        configurable: true,
      },
    });
  }

  if (platform === 'v8') {
    initialGetStackString = tameV8ErrorConstructor(
      FERAL_ERROR,
      InitialError,
      errorTaming,
      stackFiltering,
    );
  } else if (errorTaming === 'unsafe' || errorTaming === 'unsafe-debug') {
    // v8 has too much magic around their 'stack' own property for it to
    // coexist cleanly with this accessor. So only install it on non-v8

    // Error.prototype.stack property as proposed at
    // https://tc39.es/proposal-error-stacks/
    // with the fix proposed at
    // https://github.com/tc39/proposal-error-stacks/issues/46
    // On others, this still protects from the override mistake,
    // essentially like enable-property-overrides.js would
    // once this accessor property itself is frozen, as will happen
    // later during lockdown.
    //
    // However, there is here a change from the intent in the current
    // state of the proposal. If experience tells us whether this change
    // is a good idea, we should modify the proposal accordingly. There is
    // much code in the world that assumes `error.stack` is a string. So
    // where the proposal accommodates secure operation by making the
    // property optional, we instead accommodate secure operation by
    // having the secure form always return only the stable part, the
    // stringified error instance, and omitting all the frame information
    // rather than omitting the property.
    defineProperties(ErrorPrototype, {
      stack: {
        get() {
          return initialGetStackString(this);
        },
        set(newValue) {
          defineProperties(this, {
            stack: {
              value: newValue,
              writable: true,
              enumerable: true,
              configurable: true,
            },
          });
        },
      },
    });
  } else {
    // v8 has too much magic around their 'stack' own property for it to
    // coexist cleanly with this accessor. So only install it on non-v8
    defineProperties(ErrorPrototype, {
      stack: {
        get() {
          // https://github.com/tc39/proposal-error-stacks/issues/46
          // allows this to not add an unpleasant newline. Otherwise
          // we should fix this.
          return `${this}`;
        },
        set(newValue) {
          defineProperties(this, {
            stack: {
              value: newValue,
              writable: true,
              enumerable: true,
              configurable: true,
            },
          });
        },
      },
    });
  }

  return {
    '%InitialGetStackString%': initialGetStackString,
    '%InitialError%': InitialError,
    '%SharedError%': SharedError,
  };
}$h͏_once.default(      tameErrorConstructor);
})()
,
// === 45. ses ./src/module-load.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let getenv,Map,Set,TypeError,arrayJoin,arrayMap,arrayPush,arraySome,create,freeze,generatorNext,generatorThrow,getOwnPropertyNames,isArray,isPrimitive,mapGet,mapHas,mapSet,promiseThen,setAdd,values,weakmapGet,weakmapHas,makeError,annotateError,q,b,X;$h͏_imports([["@endo/env-options", [["getEnvironmentOption",[$h͏_a => (getenv = $h͏_a)]]]],["./commons.js", [["Map",[$h͏_a => (Map = $h͏_a)]],["Set",[$h͏_a => (Set = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["arraySome",[$h͏_a => (arraySome = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["generatorNext",[$h͏_a => (generatorNext = $h͏_a)]],["generatorThrow",[$h͏_a => (generatorThrow = $h͏_a)]],["getOwnPropertyNames",[$h͏_a => (getOwnPropertyNames = $h͏_a)]],["isArray",[$h͏_a => (isArray = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["mapHas",[$h͏_a => (mapHas = $h͏_a)]],["mapSet",[$h͏_a => (mapSet = $h͏_a)]],["promiseThen",[$h͏_a => (promiseThen = $h͏_a)]],["setAdd",[$h͏_a => (setAdd = $h͏_a)]],["values",[$h͏_a => (values = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["weakmapHas",[$h͏_a => (weakmapHas = $h͏_a)]]]],["./error/assert.js", [["makeError",[$h͏_a => (makeError = $h͏_a)]],["annotateError",[$h͏_a => (annotateError = $h͏_a)]],["q",[$h͏_a => (q = $h͏_a)]],["b",[$h͏_a => (b = $h͏_a)]],["X",[$h͏_a => (X = $h͏_a)]]]]]);


























const noop = () => {};

const asyncTrampoline = async (generatorFunc, args, errorWrapper) => {
  await null;
  const iterator = generatorFunc(...args);
  let result = generatorNext(iterator);
  while (!result.done) {
    try {
      // eslint-disable-next-line no-await-in-loop
      const val = await result.value;
      result = generatorNext(iterator, val);
    } catch (error) {
      result = generatorThrow(iterator, errorWrapper(error));
    }
  }
  return result.value;
};

const syncTrampoline = (generatorFunc, args) => {
  const iterator = generatorFunc(...args);
  let result = generatorNext(iterator);
  while (!result.done) {
    try {
      result = generatorNext(iterator, result.value);
    } catch (error) {
      result = generatorThrow(iterator, error);
    }
  }
  return result.value;
};

// `makeAlias` constructs compartment specifier tuples for the `aliases`
// private field of compartments.
// These aliases allow a compartment to alias an internal module specifier to a
// module specifier in an external compartment, and also to create internal
// aliases.
// Both are facilitated by the moduleMap Compartment constructor option.
       const makeAlias = (compartment, specifier) =>
  freeze({ compartment, specifier });

// `resolveAll` pre-computes resolutions of all imports within the compartment
// in which a module was loaded.
$h͏_once.makeAlias(makeAlias);const resolveAll=(imports,resolveHook,fullReferrerSpecifier)=>{
  const resolvedImports = create(null);
  for (const importSpecifier of imports) {
    const fullSpecifier = resolveHook(importSpecifier, fullReferrerSpecifier);
    resolvedImports[importSpecifier] = fullSpecifier;
  }
  return freeze(resolvedImports);
};

const loadModuleSource = (
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
  moduleSource,
  enqueueJob,
  selectImplementation,
  moduleLoads,
  importMeta,
) => {
  const { resolveHook, name: compartmentName } = weakmapGet(
    compartmentPrivateFields,
    compartment,
  );

  const { imports } = moduleSource;
  if (
    !isArray(imports) ||
    arraySome(imports, specifier => typeof specifier !== 'string')
  ) {
    throw makeError(
      X`Invalid module source: 'imports' must be an array of strings, got ${imports} for module ${q(moduleSpecifier)} of compartment ${q(compartmentName)}`,
    );
  }

  // resolve all imports relative to this referrer module.
  const resolvedImports = resolveAll(imports, resolveHook, moduleSpecifier);
  const moduleRecord = freeze({
    compartment,
    moduleSource,
    moduleSpecifier,
    resolvedImports,
    importMeta,
  });

  // Enqueue jobs to load this module's shallow dependencies.
  for (const fullSpecifier of values(resolvedImports)) {
    // Behold: recursion.
    // eslint-disable-next-line no-use-before-define
    enqueueJob(memoizedLoadWithErrorAnnotation, [
      compartmentPrivateFields,
      moduleAliases,
      compartment,
      fullSpecifier,
      enqueueJob,
      selectImplementation,
      moduleLoads,
    ]);
  }

  return moduleRecord;
};

function* loadWithoutErrorAnnotation(
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
  enqueueJob,
  selectImplementation,
  moduleLoads,
) {
  const {
    importHook,
    importNowHook,
    moduleMap,
    moduleMapHook,
    moduleRecords,
    parentCompartment,
  } = weakmapGet(compartmentPrivateFields, compartment);

  if (mapHas(moduleRecords, moduleSpecifier)) {
    return mapGet(moduleRecords, moduleSpecifier);
  }

  // Follow moduleMap, or moduleMapHook if present.
  let moduleDescriptor = moduleMap[moduleSpecifier];
  if (moduleDescriptor === undefined && moduleMapHook !== undefined) {
    moduleDescriptor = moduleMapHook(moduleSpecifier);
  }
  if (moduleDescriptor === undefined) {
    const moduleHook = selectImplementation(importHook, importNowHook);
    if (moduleHook === undefined) {
      const moduleHookName = selectImplementation(
        'importHook',
        'importNowHook',
      );
      throw makeError(
        X`${b(moduleHookName)} needed to load module ${q(
          moduleSpecifier,
        )} in compartment ${q(compartment.name)}`,
      );
    }
    moduleDescriptor = moduleHook(moduleSpecifier);
    // Uninitialized module namespaces throw if we attempt to coerce them into
    // promises.
    if (!weakmapHas(moduleAliases, moduleDescriptor)) {
      moduleDescriptor = yield moduleDescriptor;
    }
  }

  if (typeof moduleDescriptor === 'string') {
    // eslint-disable-next-line @endo/no-polymorphic-call
    throw makeError(
      X`Cannot map module ${q(moduleSpecifier)} to ${q(
        moduleDescriptor,
      )} in parent compartment, use {source} module descriptor`,
      TypeError,
    );
  } else if (!isPrimitive(moduleDescriptor)) {
    // In this shim (and not in XS, and not in the standard we imagine), we
    // allow a module namespace object to stand in for a module descriptor that
    // describes its original {compartment, specifier} so that it can be used
    // to create a link.
    let aliasDescriptor = weakmapGet(moduleAliases, moduleDescriptor);
    if (aliasDescriptor !== undefined) {
      moduleDescriptor = aliasDescriptor;
    }

    if (moduleDescriptor.namespace !== undefined) {
      // { namespace: string, compartment?: Compartment }
      // Namespace module descriptors link to a module instance.

      if (typeof moduleDescriptor.namespace === 'string') {
        // The default compartment is the *parent*, not this child compartment.
        // This is a difference from the legacy {specifier, compartment} module
        // descriptor.
        const {
          compartment: aliasCompartment = parentCompartment,
          namespace: aliasSpecifier,
        } = moduleDescriptor;
        if (
          isPrimitive(aliasCompartment) ||
          !weakmapHas(compartmentPrivateFields, aliasCompartment)
        ) {
          throw makeError(
            X`Invalid compartment in module descriptor for specifier ${q(moduleSpecifier)} in compartment ${q(compartment.name)}`,
          );
        }
        // Behold: recursion.
        // eslint-disable-next-line no-use-before-define
        const aliasRecord = yield memoizedLoadWithErrorAnnotation(
          compartmentPrivateFields,
          moduleAliases,
          aliasCompartment,
          aliasSpecifier,
          enqueueJob,
          selectImplementation,
          moduleLoads,
        );
        mapSet(moduleRecords, moduleSpecifier, aliasRecord);
        return aliasRecord;
      }

      // All remaining objects must either be a module namespace, or be
      // promoted into a module namespace with a virtual module source.
      if (!isPrimitive(moduleDescriptor.namespace)) {
        const { namespace } = moduleDescriptor;
        // Brand-check SES shim module exports namespaces:
        aliasDescriptor = weakmapGet(moduleAliases, namespace);
        if (aliasDescriptor !== undefined) {
          moduleDescriptor = aliasDescriptor;
          // Fall through to processing the resulting {compartment, specifier}
          // alias.
        } else {
          // Promote an arbitrary object to a module namespace with a virtual
          // module source.
          // { namespace: Object }
          const exports = getOwnPropertyNames(namespace);
          /** @type {import('../types.js').VirtualModuleSource} */
          const moduleSource = {
            imports: [],
            exports,
            execute(env) {
              for (const name of exports) {
                env[name] = namespace[name];
              }
            },
          };
          const importMeta = undefined;
          const moduleRecord = loadModuleSource(
            compartmentPrivateFields,
            moduleAliases,
            compartment,
            moduleSpecifier,
            moduleSource,
            enqueueJob,
            selectImplementation,
            moduleLoads,
            importMeta,
          );
          mapSet(moduleRecords, moduleSpecifier, moduleRecord);
          return moduleRecord;
        }
      } else {
        throw makeError(
          X`Invalid compartment in module descriptor for specifier ${q(moduleSpecifier)} in compartment ${q(compartment.name)}`,
        );
      }
    }

    if (moduleDescriptor.source !== undefined) {
      // Module source descriptors create an instance from a module source.
      // The descriptor may contain the module source, or refer to a source
      // loaded in a particular compartment.

      if (typeof moduleDescriptor.source === 'string') {
        // { source: string, importMeta?, specifier?: string, compartment? }
        // A string source is the specifier for a different module source.
        // That source may come from this compartment's parent (default), or
        // from a specified compartment, and the specified compartment may be
        // this compartment to make a duplicate.

        const {
          source: loaderSpecifier,
          specifier: instanceSpecifier = moduleSpecifier,
          compartment: loaderCompartment = parentCompartment,
          importMeta = undefined,
        } = moduleDescriptor;

        // Induce the compartment, possibly a different compartment
        // to load a module source.

        // Behold: recursion.
        // eslint-disable-next-line no-use-before-define
        const loaderRecord = yield memoizedLoadWithErrorAnnotation(
          compartmentPrivateFields,
          moduleAliases,
          loaderCompartment,
          loaderSpecifier,
          enqueueJob,
          selectImplementation,
          moduleLoads,
        );

        // Extract the source of the module from the loader compartment's
        // record.
        const { moduleSource } = loaderRecord;

        // Instantiate that source in our own compartment, possibly with a
        // different specifier for resolving its own imports.
        const moduleRecord = loadModuleSource(
          compartmentPrivateFields,
          moduleAliases,
          compartment,
          instanceSpecifier,
          moduleSource,
          enqueueJob,
          selectImplementation,
          moduleLoads,
          importMeta,
        );
        mapSet(moduleRecords, moduleSpecifier, moduleRecord);
        return moduleRecord;
      } else {
        // { source: ModuleSource, importMeta?, specifier?: string }
        // We assume all non-string module sources are any of the supported
        // kinds of module source: PrecompiledModuleSource,
        // VirtualModuleSource, or a native ModuleSource.

        const {
          source: moduleSource,
          specifier: aliasSpecifier = moduleSpecifier,
          importMeta,
        } = moduleDescriptor;

        const aliasRecord = loadModuleSource(
          compartmentPrivateFields,
          moduleAliases,
          compartment,
          aliasSpecifier,
          moduleSource,
          enqueueJob,
          selectImplementation,
          moduleLoads,
          importMeta,
        );
        mapSet(moduleRecords, moduleSpecifier, aliasRecord);
        return aliasRecord;
      }
    }

    if (moduleDescriptor.archive !== undefined) {
      // { archive: Archive, path: string }
      // We do not support this XS-native module descriptor.
      throw makeError(
        X`Unsupported archive module descriptor for specifier ${q(moduleSpecifier)} in compartment ${q(compartment.name)}`,
      );
    }

    // { record, specifier?, compartment?, importMeta? }
    // A (legacy) module descriptor for when we find the module source (record)
    // but at a different specifier than requested.
    // Providing this {specifier, record} descriptor serves as an ergonomic
    // short-hand for stashing the record, returning a {compartment, specifier}
    // reference, bouncing the module hook, then producing the source (record)
    // when module hook receives the response specifier.
    if (moduleDescriptor.record !== undefined) {
      const {
        compartment: aliasCompartment = compartment,
        specifier: aliasSpecifier = moduleSpecifier,
        record: moduleSource,
        importMeta,
      } = moduleDescriptor;

      const aliasRecord = loadModuleSource(
        compartmentPrivateFields,
        moduleAliases,
        aliasCompartment,
        aliasSpecifier,
        moduleSource,
        enqueueJob,
        selectImplementation,
        moduleLoads,
        importMeta,
      );
      mapSet(moduleRecords, moduleSpecifier, aliasRecord);
      mapSet(moduleRecords, aliasSpecifier, aliasRecord);
      return aliasRecord;
    }

    // { specifier: string, compartment: Compartment }
    // A (legacy) module descriptor that describes a link to a module instance
    // in a specified compartment.
    if (
      moduleDescriptor.compartment !== undefined &&
      moduleDescriptor.specifier !== undefined
    ) {
      if (
        isPrimitive(moduleDescriptor.compartment) ||
        !weakmapHas(compartmentPrivateFields, moduleDescriptor.compartment) ||
        typeof moduleDescriptor.specifier !== 'string'
      ) {
        throw makeError(
          X`Invalid compartment in module descriptor for specifier ${q(moduleSpecifier)} in compartment ${q(compartment.name)}`,
        );
      }
      // Behold: recursion.
      // eslint-disable-next-line no-use-before-define
      const aliasRecord = yield memoizedLoadWithErrorAnnotation(
        compartmentPrivateFields,
        moduleAliases,
        moduleDescriptor.compartment,
        moduleDescriptor.specifier,
        enqueueJob,
        selectImplementation,
        moduleLoads,
      );
      mapSet(moduleRecords, moduleSpecifier, aliasRecord);
      return aliasRecord;
    }

    // A (legacy) behavior: If we do not recognize the module descriptor as a
    // module descriptor, we assume that it is a module source (record):
    const moduleSource = moduleDescriptor;
    const moduleRecord = loadModuleSource(
      compartmentPrivateFields,
      moduleAliases,
      compartment,
      moduleSpecifier,
      moduleSource,
      enqueueJob,
      selectImplementation,
      moduleLoads,
    );
    // Memoize.
    mapSet(moduleRecords, moduleSpecifier, moduleRecord);
    return moduleRecord;
  } else {
    throw makeError(
      X`module descriptor must be a string or object for specifier ${q(
        moduleSpecifier,
      )} in compartment ${q(compartment.name)}`,
    );
  }
}

const memoizedLoadWithErrorAnnotation = (
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
  enqueueJob,
  selectImplementation,
  moduleLoads,
) => {
  const { name: compartmentName } = weakmapGet(
    compartmentPrivateFields,
    compartment,
  );

  // Prevent data-lock from recursion into branches visited in dependent loads.
  let compartmentLoading = mapGet(moduleLoads, compartment);
  if (compartmentLoading === undefined) {
    compartmentLoading = new Map();
    mapSet(moduleLoads, compartment, compartmentLoading);
  }
  let moduleLoading = mapGet(compartmentLoading, moduleSpecifier);
  if (moduleLoading !== undefined) {
    return moduleLoading;
  }

  moduleLoading = selectImplementation(asyncTrampoline, syncTrampoline)(
    loadWithoutErrorAnnotation,
    [
      compartmentPrivateFields,
      moduleAliases,
      compartment,
      moduleSpecifier,
      enqueueJob,
      selectImplementation,
      moduleLoads,
    ],
    error => {
      // eslint-disable-next-line @endo/no-polymorphic-call
      annotateError(
        error,
        X`${error.message}, loading ${q(moduleSpecifier)} in compartment ${q(
          compartmentName,
        )}`,
      );
      throw error;
    },
  );

  mapSet(compartmentLoading, moduleSpecifier, moduleLoading);

  return moduleLoading;
};

/**
 * If `aggregateErrors` is `false`, the `errors` property of the fulfilled object
 * will always be empty.
 * @param {{errors?: Error[], noAggregateErrors?: boolean}} [options]
 */
const asyncJobQueue = ({ errors = [], noAggregateErrors = false } = {}) => {
  /** @type {Set<Promise<undefined>>} */
  const pendingJobs = new Set();

  /**
   * Enqueues a job that starts immediately but won't be awaited until drainQueue is called.
   *
   * @template {(...args: any[]) => Promise<void>} F
   * @param {F} func - An async function to execute
   * @param {Parameters<F>} args - Arguments to pass to the function
   * @returns {void}
   */
  const enqueueJob = (func, args) => {
    setAdd(
      pendingJobs,
      promiseThen(func(...args), noop, error => {
        if (noAggregateErrors) {
          throw error;
        } else {
          arrayPush(errors, error);
        }
      }),
    );
  };
  /**
   * Sequentially awaits pending jobs and returns an array of errors
   */
  const drainQueue = async () => {
    await null;
    for (const job of pendingJobs) {
      // eslint-disable-next-line no-await-in-loop
      await job;
    }
  };
  return { enqueueJob, drainQueue, errors };
};

/**
 * If `aggregateErrors` is `false`, the `errors` property of the returned object
 * will always be empty.
 * @param {{errors?: Error[], noAggregateErrors?: boolean}} [options]
 */
const syncJobQueue = ({ errors = [], noAggregateErrors = false } = {}) => {
  let current = [];
  let next = [];

  /**
   * Enqueues a job
   *
   * @template {(...args: any[]) => void} F
   * @param {F} func - An async function to execute
   * @param {Parameters<F>} args - Arguments to pass to the function
   * @returns {void}
   */
  const enqueueJob = (func, args) => {
    arrayPush(next, [func, args]);
  };
  const drainQueue = () => {
    // Attention: load bearing flow order. Calling another enqueued function in the
    // synchronous usecase must happen after the one that enqueued it has finished.
    // Jobs enqueued in one pass do not interleave with jobs resulting from them.
    // It's necessary for efficient memoization and to break cycles.
    for (const [func, args] of current) {
      try {
        func(...args);
      } catch (error) {
        if (noAggregateErrors) {
          throw error;
        } else {
          arrayPush(errors, error);
        }
      }
    }
    current = next;
    next = [];
    if (current.length > 0) drainQueue();
  };
  return { enqueueJob, drainQueue, errors };
};

/**
 * @param {object} options
 * @param {Array<Error>} options.errors
 * @param {string} options.errorPrefix
 */
const throwAggregateError = ({ errors, errorPrefix }) => {
  // Throw an aggregate error if there were any errors.
  if (errors.length > 0) {
    const verbose =
      /** @type {'' | 'verbose'} */
      (getenv('COMPARTMENT_LOAD_ERRORS', '', ['verbose'])) === 'verbose';
    throw TypeError(
      `${errorPrefix} (${errors.length} underlying failures: ${arrayJoin(
        arrayMap(errors, error => error.message + (verbose ? error.stack : '')),
        ', ',
      )}`,
    );
  }
};

const preferSync = (_asyncImpl, syncImpl) => syncImpl;
const preferAsync = (asyncImpl, _syncImpl) => asyncImpl;

/**
 * `load` asynchronously gathers the module records for a module and its
 * transitive dependencies.
 * The module records refer to each other by a reference to the dependency's
 * compartment and the specifier of the module within its own compartment.
 * This graph is then ready to be synchronously linked and executed.
 * @param {WeakMap<Compartment, any>} compartmentPrivateFields
 * @param {WeakMap<object, object>} moduleAliases
 * @param {Compartment} compartment
 * @param {string} moduleSpecifier - The module specifier to load.
 * @param {{ noAggregateErrors?: boolean}} options
 */
       const load = async (
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
  { noAggregateErrors = false } = {},
) => {
  const { name: compartmentName } = weakmapGet(
    compartmentPrivateFields,
    compartment,
  );

  /** @type {Map<object, Map<string, Promise<Record<any, any>>>>} */
  const moduleLoads = new Map();

  const { enqueueJob, drainQueue, errors } = asyncJobQueue({
    noAggregateErrors,
  });

  enqueueJob(memoizedLoadWithErrorAnnotation, [
    compartmentPrivateFields,
    moduleAliases,
    compartment,
    moduleSpecifier,
    enqueueJob,
    preferAsync,
    moduleLoads,
  ]);

  await drainQueue();

  throwAggregateError({
    errors,
    errorPrefix: `Failed to load module ${q(moduleSpecifier)} in package ${q(
      compartmentName,
    )}`,
  });
};

/**
 * `loadNow` synchronously gathers the module records for a specified module
 * and its transitive dependencies.
 * The module records refer to each other by a reference to the dependency's
 * compartment and the specifier of the module within its own compartment.
 * This graph is then ready to be synchronously linked and executed.
 * @param {WeakMap<Compartment, any>} compartmentPrivateFields
 * @param {WeakMap<object, object>} moduleAliases
 * @param {Compartment} compartment
 * @param {string} moduleSpecifier - The module specifier to load.
 * @param {{ noAggregateErrors?: boolean}} options
 */$h͏_once.load(load);

       const loadNow = (
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
  { noAggregateErrors = false } = {},
) => {
  const { name: compartmentName } = weakmapGet(
    compartmentPrivateFields,
    compartment,
  );

  /** @type {Map<object, Map<string, Promise<Record<any, any>>>>} */
  const moduleLoads = new Map();

  const { enqueueJob, drainQueue, errors } = syncJobQueue({
    noAggregateErrors,
  });

  enqueueJob(memoizedLoadWithErrorAnnotation, [
    compartmentPrivateFields,
    moduleAliases,
    compartment,
    moduleSpecifier,
    enqueueJob,
    preferSync,
    moduleLoads,
  ]);

  drainQueue();

  throwAggregateError({
    errors,
    errorPrefix: `Failed to load module ${q(moduleSpecifier)} in package ${q(
      compartmentName,
    )}`,
  });
};$h͏_once.loadNow(loadNow);
})()
,
// === 46. ses ./src/module-proxy.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let makeAlias,Proxy,TypeError,create,freeze,mapGet,mapHas,mapSet,ownKeys,reflectGet,reflectGetOwnPropertyDescriptor,reflectHas,reflectIsExtensible,reflectPreventExtensions,toStringTagSymbol,weakmapSet,assert;$h͏_imports([["./module-load.js", [["makeAlias",[$h͏_a => (makeAlias = $h͏_a)]]]],["./commons.js", [["Proxy",[$h͏_a => (Proxy = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["mapHas",[$h͏_a => (mapHas = $h͏_a)]],["mapSet",[$h͏_a => (mapSet = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["reflectGet",[$h͏_a => (reflectGet = $h͏_a)]],["reflectGetOwnPropertyDescriptor",[$h͏_a => (reflectGetOwnPropertyDescriptor = $h͏_a)]],["reflectHas",[$h͏_a => (reflectHas = $h͏_a)]],["reflectIsExtensible",[$h͏_a => (reflectIsExtensible = $h͏_a)]],["reflectPreventExtensions",[$h͏_a => (reflectPreventExtensions = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);































const { quote: q } = assert;

// `deferExports` creates a module's exports proxy, proxied exports, and
// activator.
// A `Compartment` can create a module for any module specifier, regardless of
// whether it is loadable or executable, and use that object as a token that
// can be fed into another compartment's module map.
// Only after the specified module has been analyzed is it possible for the
// module namespace proxy to behave properly, so it throws exceptions until
// after the compartment has begun executing the module.
// The module instance must freeze the proxied exports and activate the exports
// proxy before executing the module.
//
// The module exports proxy's behavior differs from the ECMAScript 262
// specification for "module namespace exotic objects" only in that according
// to the specification value property descriptors have a non-writable "value"
// and this implementation models all properties with accessors.
//
// https://tc39.es/ecma262/#sec-module-namespace-exotic-objects
//
       const deferExports = () => {
  let active = false;
  const exportsTarget = create(null, {
    // Make this appear like an ESM module namespace object.
    [toStringTagSymbol]: {
      value: 'Module',
      writable: false,
      enumerable: false,
      configurable: false,
    },
  });
  return freeze({
    activate() {
      active = true;
    },
    exportsTarget,
    exportsProxy: new Proxy(exportsTarget, {
      get(_target, name, receiver) {
        if (!active) {
          throw TypeError(
            `Cannot get property ${q(
              name,
            )} of module exports namespace, the module has not yet begun to execute`,
          );
        }
        return reflectGet(exportsTarget, name, receiver);
      },
      set(_target, name, _value) {
        throw TypeError(
          `Cannot set property ${q(name)} of module exports namespace`,
        );
      },
      has(_target, name) {
        if (!active) {
          throw TypeError(
            `Cannot check property ${q(
              name,
            )}, the module has not yet begun to execute`,
          );
        }
        return reflectHas(exportsTarget, name);
      },
      deleteProperty(_target, name) {
        throw TypeError(
          `Cannot delete property ${q(name)}s of module exports namespace`,
        );
      },
      ownKeys(_target) {
        if (!active) {
          throw TypeError(
            'Cannot enumerate keys, the module has not yet begun to execute',
          );
        }
        return ownKeys(exportsTarget);
      },
      getOwnPropertyDescriptor(_target, name) {
        if (!active) {
          throw TypeError(
            `Cannot get own property descriptor ${q(
              name,
            )}, the module has not yet begun to execute`,
          );
        }
        return reflectGetOwnPropertyDescriptor(exportsTarget, name);
      },
      preventExtensions(_target) {
        if (!active) {
          throw TypeError(
            'Cannot prevent extensions of module exports namespace, the module has not yet begun to execute',
          );
        }
        return reflectPreventExtensions(exportsTarget);
      },
      isExtensible() {
        if (!active) {
          throw TypeError(
            'Cannot check extensibility of module exports namespace, the module has not yet begun to execute',
          );
        }
        return reflectIsExtensible(exportsTarget);
      },
      getPrototypeOf(_target) {
        return null;
      },
      setPrototypeOf(_target, _proto) {
        throw TypeError('Cannot set prototype of module exports namespace');
      },
      defineProperty(_target, name, _descriptor) {
        throw TypeError(
          `Cannot define property ${q(name)} of module exports namespace`,
        );
      },
      apply(_target, _thisArg, _args) {
        throw TypeError(
          'Cannot call module exports namespace, it is not a function',
        );
      },
      construct(_target, _args) {
        throw TypeError(
          'Cannot construct module exports namespace, it is not a constructor',
        );
      },
    }),
  });
};

/**
 * @typedef {object} DeferredExports
 * @property {Record<string, any>} exportsTarget - The object to which a
 * module's exports will be added.
 * @property {Record<string, any>} exportsProxy - A proxy over the `exportsTarget`,
 * used to expose its "exports" to other compartments.
 * @property {() => void} activate - Activate the `exportsProxy` such that it can
 * be used as a module namespace object.
 */

/**
 * Memoizes the creation of a deferred module exports namespace proxy for any
 * arbitrary full specifier in a compartment. It also records the compartment
 * and specifier affiliated with that module exports namespace proxy so it
 * can be used as an alias into another compartment when threaded through
 * a compartment's `moduleMap` argument.
 *
 * @param {*} compartment - The compartment to retrieve deferred exports from.
 * @param {*} compartmentPrivateFields - The private fields of the compartment.
 * @param {*} moduleAliases - The module aliases of the compartment.
 * @param {string} specifier - The module specifier to retrieve deferred exports for.
 * @returns {DeferredExports} - The deferred exports for the module specifier of
 * the compartment.
 */$h͏_once.deferExports(deferExports);
       const getDeferredExports = (
  compartment,
  compartmentPrivateFields,
  moduleAliases,
  specifier,
) => {
  const { deferredExports } = compartmentPrivateFields;
  if (!mapHas(deferredExports, specifier)) {
    const deferred = deferExports();
    weakmapSet(
      moduleAliases,
      deferred.exportsProxy,
      makeAlias(compartment, specifier),
    );
    mapSet(deferredExports, specifier, deferred);
  }
  return mapGet(deferredExports, specifier);
};$h͏_once.getDeferredExports(getDeferredExports);
})()
,
// === 47. ses ./src/compartment-evaluate.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError,arrayPush,create,getOwnPropertyDescriptors,evadeHtmlCommentTest,evadeImportExpressionTest,rejectSomeDirectEvalExpressions,makeSafeEvaluator;$h͏_imports([["./commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]]]],["./transforms.js", [["evadeHtmlCommentTest",[$h͏_a => (evadeHtmlCommentTest = $h͏_a)]],["evadeImportExpressionTest",[$h͏_a => (evadeImportExpressionTest = $h͏_a)]],["rejectSomeDirectEvalExpressions",[$h͏_a => (rejectSomeDirectEvalExpressions = $h͏_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator",[$h͏_a => (makeSafeEvaluator = $h͏_a)]]]]]);













       const provideCompartmentEvaluator = (compartmentFields, options) => {
  const { sloppyGlobalsMode = false, __moduleShimLexicals__ = undefined } =
    options;

  let safeEvaluate;

  if (__moduleShimLexicals__ === undefined && !sloppyGlobalsMode) {
    ({ safeEvaluate } = compartmentFields);
  } else {
    // The scope proxy or global lexicals are different from the
    // shared evaluator so we need to build a new one

    let { globalTransforms } = compartmentFields;
    const { globalObject } = compartmentFields;

    let moduleLexicals;
    if (__moduleShimLexicals__ !== undefined) {
      // When using `evaluate` for ESM modules, as should only occur from the
      // module-shim's module-instance.js, we do not reveal the SES-shim's
      // module-to-program translation, as this is not standardizable behavior.
      // However, the `localTransforms` will come from the `__shimTransforms__`
      // Compartment option in this case, which is a non-standardizable escape
      // hatch so programs designed specifically for the SES-shim
      // implementation may opt-in to use the same transforms for `evaluate`
      // and `import`, at the expense of being tightly coupled to SES-shim.
      globalTransforms = undefined;

      moduleLexicals = create(
        null,
        getOwnPropertyDescriptors(__moduleShimLexicals__),
      );
    }

    ({ safeEvaluate } = makeSafeEvaluator({
      globalObject,
      moduleLexicals,
      globalTransforms,
      sloppyGlobalsMode,
    }));
  }

  return { safeEvaluate };
};$h͏_once.provideCompartmentEvaluator(provideCompartmentEvaluator);

       const compartmentEvaluate = (compartmentFields, source, options) => {
  // Perform this check first to avoid unnecessary sanitizing.
  // TODO Maybe relax string check and coerce instead:
  // https://github.com/tc39/proposal-dynamic-code-brand-checks
  if (typeof source !== 'string') {
    throw TypeError('first argument of evaluate() must be a string');
  }

  // Extract options, and shallow-clone transforms.
  const {
    transforms = [],
    __evadeHtmlCommentTest__ = false,
    __evadeImportExpressionTest__ = false,
    __rejectSomeDirectEvalExpressions__ = true  // Note default on
  } = options;
  const localTransforms = [...transforms];
  if (__evadeHtmlCommentTest__ === true) {
    arrayPush(localTransforms, evadeHtmlCommentTest);
  }
  if (__evadeImportExpressionTest__ === true) {
    arrayPush(localTransforms, evadeImportExpressionTest);
  }
  if (__rejectSomeDirectEvalExpressions__ === true) {
    arrayPush(localTransforms, rejectSomeDirectEvalExpressions);
  }

  const { safeEvaluate } = provideCompartmentEvaluator(
    compartmentFields,
    options,
  );

  return safeEvaluate(source, {
    localTransforms,
  });
};$h͏_once.compartmentEvaluate(compartmentEvaluate);
})()
,
// === 48. ses ./src/module-instance.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let assert,getDeferredExports,ReferenceError,SyntaxError,TypeError,arrayForEach,arrayIncludes,arrayPush,arraySome,arraySort,create,defineProperty,entries,freeze,isArray,keys,mapGet,weakmapGet,reflectHas,assign,compartmentEvaluate;$h͏_imports([["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]],["./module-proxy.js", [["getDeferredExports",[$h͏_a => (getDeferredExports = $h͏_a)]]]],["./commons.js", [["ReferenceError",[$h͏_a => (ReferenceError = $h͏_a)]],["SyntaxError",[$h͏_a => (SyntaxError = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayForEach",[$h͏_a => (arrayForEach = $h͏_a)]],["arrayIncludes",[$h͏_a => (arrayIncludes = $h͏_a)]],["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["arraySome",[$h͏_a => (arraySome = $h͏_a)]],["arraySort",[$h͏_a => (arraySort = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["isArray",[$h͏_a => (isArray = $h͏_a)]],["keys",[$h͏_a => (keys = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["reflectHas",[$h͏_a => (reflectHas = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]]]],["./compartment-evaluate.js", [["compartmentEvaluate",[$h͏_a => (compartmentEvaluate = $h͏_a)]]]]]);

























const { quote: q } = assert;

       const makeVirtualModuleInstance = (
  compartmentPrivateFields,
  moduleSource,
  compartment,
  moduleAliases,
  moduleSpecifier,
  resolvedImports,
) => {
  const { exportsProxy, exportsTarget, activate } = getDeferredExports(
    compartment,
    weakmapGet(compartmentPrivateFields, compartment),
    moduleAliases,
    moduleSpecifier,
  );

  const notifiers = create(null);

  if (moduleSource.exports) {
    if (
      !isArray(moduleSource.exports) ||
      arraySome(moduleSource.exports, name => typeof name !== 'string')
    ) {
      throw TypeError(
        `SES virtual module source "exports" property must be an array of strings for module ${moduleSpecifier}`,
      );
    }
    arrayForEach(moduleSource.exports, name => {
      let value = exportsTarget[name];
      const updaters = [];

      const get = () => value;

      const set = newValue => {
        value = newValue;
        for (const updater of updaters) {
          updater(newValue);
        }
      };

      defineProperty(exportsTarget, name, {
        get,
        set,
        enumerable: true,
        configurable: false,
      });

      notifiers[name] = update => {
        arrayPush(updaters, update);
        update(value);
      };
    });
    // This is enough to support import * from cjs - the '*' field doesn't need to be in exports nor exportsTarget because import will only ever access it via notifiers
    notifiers['*'] = update => {
      update(exportsTarget);
    };
  }

  const localState = {
    activated: false,
  };
  return freeze({
    notifiers,
    exportsProxy,
    execute() {
      if (reflectHas(localState, 'errorFromExecute')) {
        throw localState.errorFromExecute;
      }
      if (!localState.activated) {
        activate();
        localState.activated = true;
        try {
          // eslint-disable-next-line @endo/no-polymorphic-call
          moduleSource.execute(exportsTarget, compartment, resolvedImports);
        } catch (err) {
          localState.errorFromExecute = err;
          throw err;
        }
      }
    },
  });
};

// `makeModuleInstance` takes a module's compartment record, the live import
// namespace, and a global object; and produces a module instance.
// The module instance carries the proxied module exports namespace (the
// "exports"), notifiers to update the module's internal import namespace, and
// an idempotent execute function.
// The module exports namespace is a proxy to the proxied exports namespace
// that the execution of the module instance populates.
$h͏_once.makeVirtualModuleInstance(makeVirtualModuleInstance);const makeModuleInstance=(
  privateFields,
  moduleAliases,
  moduleRecord,
  importedInstances,
) => {
  const {
    compartment,
    moduleSpecifier,
    moduleSource,
    importMeta: moduleRecordMeta,
  } = moduleRecord;
  const {
    reexports: exportAlls = [],
    __syncModuleProgram__: functorSource,
    __fixedExportMap__: fixedExportMap = {},
    __liveExportMap__: liveExportMap = {},
    __reexportMap__: reexportMap = {},
    __needsImport__: needsImport = false,
    __needsImportMeta__: needsImportMeta = false,
    __syncModuleFunctor__,
  } = moduleSource;

  const compartmentFields = weakmapGet(privateFields, compartment);

  const { __shimTransforms__, resolveHook, importMetaHook, compartmentImport } =
    compartmentFields;

  const { exportsProxy, exportsTarget, activate } = getDeferredExports(
    compartment,
    compartmentFields,
    moduleAliases,
    moduleSpecifier,
  );

  // {_exportName_: getter} module exports namespace
  // object (eventually proxied).
  const exportsProps = create(null);

  // {_localName_: accessor} proxy traps for moduleLexicals and live bindings.
  // The moduleLexicals object is frozen and the corresponding properties of
  // moduleLexicals must be immutable, so we copy the descriptors.
  const moduleLexicals = create(null);

  // {_localName_: init(initValue) -> initValue} used by the
  // rewritten code to initialize exported fixed bindings.
  const onceVar = create(null);

  // {_localName_: update(newValue)} used by the rewritten code to
  // both initialize and update live bindings.
  const liveVar = create(null);

  const importMeta = create(null);
  if (moduleRecordMeta) {
    assign(importMeta, moduleRecordMeta);
  }
  if (needsImportMeta && importMetaHook) {
    importMetaHook(moduleSpecifier, importMeta);
  }

  /** @type {(fullSpecifier: string) => Promise<ModuleExportsNamespace>} */
  let dynamicImport;
  if (needsImport) {
    /** @param {string} importSpecifier */
    dynamicImport = async importSpecifier =>
      compartmentImport(resolveHook(importSpecifier, moduleSpecifier));
  }

  // {_localName_: [{get, set, notify}]} used to merge all the export updaters.
  const localGetNotify = create(null);

  // {[importName: string]: notify(update(newValue))} Used by code that imports
  // one of this module's exports, so that their update function will
  // be notified when this binding is initialized or updated.
  const notifiers = create(null);

  arrayForEach(entries(fixedExportMap), ([fixedExportName, [localName]]) => {
    let fixedGetNotify = localGetNotify[localName];
    if (!fixedGetNotify) {
      // fixed binding state
      let value;
      let tdz = true;
      /** @type {null | Array<(value: any) => void>} */
      let optUpdaters = [];

      // tdz sensitive getter
      const get = () => {
        if (tdz) {
          throw ReferenceError(`binding ${q(localName)} not yet initialized`);
        }
        return value;
      };

      // leave tdz once
      const init = freeze(initValue => {
        // init with initValue of a declared const binding, and return
        // it.
        if (!tdz) {
          throw TypeError(
            `Internal: binding ${q(localName)} already initialized`,
          );
        }
        value = initValue;
        const updaters = optUpdaters;
        optUpdaters = null;
        tdz = false;
        for (const updater of updaters || []) {
          updater(initValue);
        }
        return initValue;
      });

      // If still tdz, register update for notification later.
      // Otherwise, update now.
      const notify = updater => {
        if (updater === init) {
          // Prevent recursion.
          return;
        }
        if (tdz) {
          arrayPush(optUpdaters || [], updater);
        } else {
          updater(value);
        }
      };

      // Need these for additional exports of the local variable.
      fixedGetNotify = {
        get,
        notify,
      };
      localGetNotify[localName] = fixedGetNotify;
      onceVar[localName] = init;
    }

    exportsProps[fixedExportName] = {
      get: fixedGetNotify.get,
      set: undefined,
      enumerable: true,
      configurable: false,
    };

    notifiers[fixedExportName] = fixedGetNotify.notify;
  });

  arrayForEach(
    entries(liveExportMap),
    ([liveExportName, [localName, setProxyTrap]]) => {
      let liveGetNotify = localGetNotify[localName];
      if (!liveGetNotify) {
        // live binding state
        let value;
        let tdz = true;
        const updaters = [];

        // tdz sensitive getter
        const get = () => {
          if (tdz) {
            throw ReferenceError(
              `binding ${q(liveExportName)} not yet initialized`,
            );
          }
          return value;
        };

        // This must be usable locally for the translation of initializing
        // a declared local live binding variable.
        //
        // For reexported variable, this is also an update function to
        // register for notification with the downstream import, which we
        // must assume to be live. Thus, it can be called independent of
        // tdz but always leaves tdz. Such reexporting creates a tree of
        // bindings. This lets the tree be hooked up even if the imported
        // module instance isn't initialized yet, as may happen in cycles.
        const update = freeze(newValue => {
          value = newValue;
          tdz = false;
          for (const updater of updaters) {
            updater(newValue);
          }
        });

        // tdz sensitive setter
        const set = newValue => {
          if (tdz) {
            throw ReferenceError(`binding ${q(localName)} not yet initialized`);
          }
          value = newValue;
          for (const updater of updaters) {
            updater(newValue);
          }
        };

        // Always register the updater function.
        // If not in tdz, also update now.
        const notify = updater => {
          if (updater === update) {
            // Prevent recursion.
            return;
          }
          arrayPush(updaters, updater);
          if (!tdz) {
            updater(value);
          }
        };

        liveGetNotify = {
          get,
          notify,
        };

        localGetNotify[localName] = liveGetNotify;
        if (setProxyTrap) {
          defineProperty(moduleLexicals, localName, {
            get,
            set,
            enumerable: true,
            configurable: false,
          });
        }
        liveVar[localName] = update;
      }

      exportsProps[liveExportName] = {
        get: liveGetNotify.get,
        set: undefined,
        enumerable: true,
        configurable: false,
      };

      notifiers[liveExportName] = liveGetNotify.notify;
    },
  );

  const notifyStar = update => {
    update(exportsTarget);
  };
  notifiers['*'] = notifyStar;

  const wireUpExportNotifier = (exportName, notify) => {
    if (!notifiers[exportName] && notify !== false) {
      notifiers[exportName] = notify;

      // exported live binding state
      let value;
      const update = newValue => (value = newValue);
      notify(update);
      exportsProps[exportName] = {
        get() {
          return value;
        },
        set: undefined,
        enumerable: true,
        configurable: false,
      };
    }
  };

  // Per the calling convention for the moduleFunctor generated from
  // an ESM, the `imports` function gets called once up front
  // to populate or arrange the population of imports and reexports.
  // The generated code produces an `updateRecord`: the means for
  // the linker to update the imports and exports of the module.
  // The updateRecord must conform to moduleAnalysis.imports
  // updateRecord = Map<specifier, importUpdaters>
  // importUpdaters = Map<importName, [update(newValue)*]>
  function imports(updateRecord) {
    // By the time imports is called, the importedInstances should already be
    // initialized with module instances that satisfy
    // imports.
    // importedInstances = Map[_specifier_, { notifiers, module, execute }]
    // notifiers = { [importName: string]: notify(update(newValue))}

    // export * cannot export default.
    const candidateAll = create(null);
    candidateAll.default = false;
    for (const [specifier, importUpdaters] of updateRecord) {
      const instance = mapGet(importedInstances, specifier);
      // The module instance object is an internal literal, does not bind this,
      // and never revealed outside the SES shim.
      // There are two instantiation sites for instances and they are both in
      // this module.
      // eslint-disable-next-line @endo/no-polymorphic-call
      instance.execute(); // bottom up cycle tolerant
      const { notifiers: importNotifiers } = instance;
      for (const [importName, updaters] of importUpdaters) {
        const importNotify = importNotifiers[importName];
        if (!importNotify) {
          throw SyntaxError(
            `The requested module '${specifier}' does not provide an export named '${importName}'`,
          );
        }
        for (const updater of updaters) {
          importNotify(updater);
        }
      }
      if (arrayIncludes(exportAlls, specifier)) {
        // Make all these imports candidates.
        // Note names don't change in reexporting all
        for (const [importAndExportName, importNotify] of entries(
          importNotifiers,
        )) {
          if (candidateAll[importAndExportName] === undefined) {
            candidateAll[importAndExportName] = importNotify;
          } else {
            // Already a candidate: remove ambiguity.
            candidateAll[importAndExportName] = false;
          }
        }
      }
      if (reexportMap[specifier]) {
        // Set up reexport notifiers instantly so they are available in cycles.
        for (const [localName, exportedName] of reexportMap[specifier]) {
          wireUpExportNotifier(exportedName, importNotifiers[localName]);
        }
      }
    }

    for (const [exportName, notify] of entries(candidateAll)) {
      wireUpExportNotifier(exportName, notify);
    }

    // Sort the module exports namespace as per spec.
    // The module exports namespace will be wrapped in a module namespace
    // exports proxy which will serve as a "module exports namespace exotic
    // object".
    // Sorting properties is not generally reliable because some properties may
    // be symbols, and symbols do not have an inherent relative order, but
    // since all properties of the exports namespace must be keyed by a string
    // and the string must correspond to a valid identifier, sorting these
    // properties works for this specific case.
    arrayForEach(arraySort(keys(exportsProps)), k =>
      defineProperty(exportsTarget, k, exportsProps[k]),
    );

    freeze(exportsTarget);
    activate();
  }

  let optFunctor;
  if (__syncModuleFunctor__ !== undefined) {
    optFunctor = __syncModuleFunctor__;
  } else {
    optFunctor = compartmentEvaluate(compartmentFields, functorSource, {
      globalObject: compartment.globalThis,
      transforms: __shimTransforms__,
      __moduleShimLexicals__: moduleLexicals,
    });
  }
  let didThrow = false;
  let thrownError;
  function execute() {
    if (optFunctor) {
      // uninitialized
      const functor = optFunctor;
      optFunctor = null;
      // initializing - call with `this` of `undefined`.
      try {
        functor(
          freeze({
            imports: freeze(imports),
            onceVar: freeze(onceVar),
            liveVar: freeze(liveVar),
            import: dynamicImport,
            importMeta,
          }),
        );
      } catch (e) {
        didThrow = true;
        thrownError = e;
      }
      // initialized
    }
    if (didThrow) {
      throw thrownError;
    }
  }

  return freeze({
    notifiers,
    exportsProxy,
    execute,
  });
};$h͏_once.makeModuleInstance(makeModuleInstance);
})()
,
// === 49. ses ./src/module-link.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let assert,makeModuleInstance,makeVirtualModuleInstance,Map,ReferenceError,TypeError,entries,isArray,isPrimitive,mapGet,mapHas,mapSet,weakmapGet;$h͏_imports([["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]],["./module-instance.js", [["makeModuleInstance",[$h͏_a => (makeModuleInstance = $h͏_a)]],["makeVirtualModuleInstance",[$h͏_a => (makeVirtualModuleInstance = $h͏_a)]]]],["./commons.js", [["Map",[$h͏_a => (Map = $h͏_a)]],["ReferenceError",[$h͏_a => (ReferenceError = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["isArray",[$h͏_a => (isArray = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["mapHas",[$h͏_a => (mapHas = $h͏_a)]],["mapSet",[$h͏_a => (mapSet = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]]]]]);



















const { Fail, quote: q } = assert;

// `link` creates `ModuleInstances` and `ModuleNamespaces` for a module and its
// transitive dependencies and connects their imports and exports.
// After linking, the resulting working set is ready to be executed.
// The linker only concerns itself with module namespaces that are objects with
// property descriptors for their exports, which the Compartment proxies with
// the actual `ModuleNamespace`.
       const link = (
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
) => {
  const { name: compartmentName, moduleRecords } = weakmapGet(
    compartmentPrivateFields,
    compartment,
  );

  const moduleRecord = mapGet(moduleRecords, moduleSpecifier);
  if (moduleRecord === undefined) {
    throw ReferenceError(
      `Missing link to module ${q(moduleSpecifier)} from compartment ${q(
        compartmentName,
      )}`,
    );
  }

  // Mutual recursion so there's no confusion about which
  // compartment is in context: the module record may be in another
  // compartment, denoted by moduleRecord.compartment.
  // eslint-disable-next-line no-use-before-define
  return instantiate(compartmentPrivateFields, moduleAliases, moduleRecord);
};$h͏_once.link(link);

function mayBePrecompiledModuleSource(moduleSource) {
  return typeof moduleSource.__syncModuleProgram__ === 'string';
}

function validatePrecompiledModuleSource(moduleSource, moduleSpecifier) {
  const { __fixedExportMap__, __liveExportMap__ } = moduleSource;
  !isPrimitive(__fixedExportMap__) ||
    Fail`Property '__fixedExportMap__' of a precompiled module source must be an object, got ${q(
      __fixedExportMap__,
    )}, for module ${q(moduleSpecifier)}`;
  !isPrimitive(__liveExportMap__) ||
    Fail`Property '__liveExportMap__' of a precompiled module source must be an object, got ${q(
      __liveExportMap__,
    )}, for module ${q(moduleSpecifier)}`;
}

function mayBeVirtualModuleSource(moduleSource) {
  return typeof moduleSource.execute === 'function';
}

function validateVirtualModuleSource(moduleSource, moduleSpecifier) {
  const { exports } = moduleSource;
  isArray(exports) ||
    Fail`Invalid module source: 'exports' of a virtual module source must be an array, got ${q(
      exports,
    )}, for module ${q(moduleSpecifier)}`;
}

function validateModuleSource(moduleSource, moduleSpecifier) {
  !isPrimitive(moduleSource) ||
    Fail`Invalid module source: must be of type object, got ${q(
      moduleSource,
    )}, for module ${q(moduleSpecifier)}`;
  const { imports, exports, reexports = [] } = moduleSource;
  isArray(imports) ||
    Fail`Invalid module source: 'imports' must be an array, got ${q(
      imports,
    )}, for module ${q(moduleSpecifier)}`;
  isArray(exports) ||
    Fail`Invalid module source: 'exports' must be an array, got ${q(
      exports,
    )}, for module ${q(moduleSpecifier)}`;
  isArray(reexports) ||
    Fail`Invalid module source: 'reexports' must be an array if present, got ${q(
      reexports,
    )}, for module ${q(moduleSpecifier)}`;
}

       const instantiate = (
  compartmentPrivateFields,
  moduleAliases,
  moduleRecord,
) => {
  const { compartment, moduleSpecifier, resolvedImports, moduleSource } =
    moduleRecord;
  const { instances } = weakmapGet(compartmentPrivateFields, compartment);

  // Memoize.
  if (mapHas(instances, moduleSpecifier)) {
    return mapGet(instances, moduleSpecifier);
  }

  validateModuleSource(moduleSource, moduleSpecifier);

  const importedInstances = new Map();
  let moduleInstance;
  if (mayBePrecompiledModuleSource(moduleSource)) {
    validatePrecompiledModuleSource(moduleSource, moduleSpecifier);
    moduleInstance = makeModuleInstance(
      compartmentPrivateFields,
      moduleAliases,
      moduleRecord,
      importedInstances,
    );
  } else if (mayBeVirtualModuleSource(moduleSource)) {
    validateVirtualModuleSource(moduleSource, moduleSpecifier);
    moduleInstance = makeVirtualModuleInstance(
      compartmentPrivateFields,
      moduleSource,
      compartment,
      moduleAliases,
      moduleSpecifier,
      resolvedImports,
    );
  } else {
    throw TypeError(`Invalid module source, got ${q(moduleSource)}`);
  }

  // Memoize.
  mapSet(instances, moduleSpecifier, moduleInstance);

  // Link dependency modules.
  for (const [importSpecifier, resolvedSpecifier] of entries(resolvedImports)) {
    const importedInstance = link(
      compartmentPrivateFields,
      moduleAliases,
      compartment,
      resolvedSpecifier,
    );
    mapSet(importedInstances, importSpecifier, importedInstance);
  }

  return moduleInstance;
};$h͏_once.instantiate(instantiate);
})()
,
// === 50. ses ./src/compartment.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Map,TypeError,WeakMap,arrayFlatMap,assign,defineProperties,identity,promiseThen,toStringTagSymbol,weakmapGet,weakmapSet,setGlobalObjectSymbolUnscopables,setGlobalObjectConstantProperties,setGlobalObjectMutableProperties,setGlobalObjectEvaluators,assert,assertEqual,q,sharedGlobalPropertyNames,load,loadNow,link,getDeferredExports,compartmentEvaluate,makeSafeEvaluator;$h͏_imports([["./commons.js", [["Map",[$h͏_a => (Map = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["WeakMap",[$h͏_a => (WeakMap = $h͏_a)]],["arrayFlatMap",[$h͏_a => (arrayFlatMap = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["identity",[$h͏_a => (identity = $h͏_a)]],["promiseThen",[$h͏_a => (promiseThen = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]]]],["./global-object.js", [["setGlobalObjectSymbolUnscopables",[$h͏_a => (setGlobalObjectSymbolUnscopables = $h͏_a)]],["setGlobalObjectConstantProperties",[$h͏_a => (setGlobalObjectConstantProperties = $h͏_a)]],["setGlobalObjectMutableProperties",[$h͏_a => (setGlobalObjectMutableProperties = $h͏_a)]],["setGlobalObjectEvaluators",[$h͏_a => (setGlobalObjectEvaluators = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]],["assertEqual",[$h͏_a => (assertEqual = $h͏_a)]],["q",[$h͏_a => (q = $h͏_a)]]]],["./permits.js", [["sharedGlobalPropertyNames",[$h͏_a => (sharedGlobalPropertyNames = $h͏_a)]]]],["./module-load.js", [["load",[$h͏_a => (load = $h͏_a)]],["loadNow",[$h͏_a => (loadNow = $h͏_a)]]]],["./module-link.js", [["link",[$h͏_a => (link = $h͏_a)]]]],["./module-proxy.js", [["getDeferredExports",[$h͏_a => (getDeferredExports = $h͏_a)]]]],["./compartment-evaluate.js", [["compartmentEvaluate",[$h͏_a => (compartmentEvaluate = $h͏_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator",[$h͏_a => (makeSafeEvaluator = $h͏_a)]]]]]);




































































/**
 * @import {ImportHook, ImportMetaHook, ImportNowHook, ModuleDescriptor, ModuleExportsNamespace, ModuleMap, ModuleMapHook, ResolveHook, ModuleSource, CompartmentOptions} from '../types.js'
 * @import {Transform} from './lockdown.js'
 * @import {DeferredExports} from './module-proxy.js'
 */

/**
 * Associates every public module exports namespace with its corresponding
 * compartment and specifier so they can be used to link modules across
 * compartments. The mechanism to thread an alias is to use the
 * {@link Compartment.module} function to obtain the exports namespace of a foreign
 * module and pass it into another compartment's `moduleMap` constructor option
 * @type {WeakMap<ModuleExportsNamespace, Compartment>}
 *
 */
const moduleAliases = new WeakMap();

/**
 * Private fields for `Compartment` instances
 * @typedef {object} CompartmentFields
 * @property {string} name
 * @property {object} globalObject
 * @property {Array<Transform>} globalTransforms
 * @property {(source: string, options?: {localTransforms?: Array<Transform>}) => void} safeEvaluate
 * @property {ResolveHook} resolveHook
 * @property {ImportHook} importHook
 * @property {ImportNowHook} importNowHook
 * @property {ModuleMap} moduleMap
 * @property {ModuleMapHook} moduleMapHook
 * @property {ImportMetaHook} importMetaHook
 * @property {Map<string, ModuleSource>} moduleRecords
 * @property {Array<Transform>} __shimTransforms__
 * @property {DeferredExports} deferredExports
 * @property {Map<string, ModuleDescriptor>} instances
 * @property {Compartment} [parentCompartment]
 * @property {boolean} noNamespaceBox
 * @property {(fullSpecifier: string) => Promise<ModuleExportsNamespace>} compartmentImport
 * @property {boolean} [noAggregateLoadErrors]
 */

/**
 * Captures the private state for each {@link Compartment}
 * @type {WeakMap<Compartment, CompartmentFields>}
 */
const privateFields = new WeakMap();

       const InertCompartment = function Compartment(
  _endowments = {},
  _modules = {},
  _options = {},
) {
  throw TypeError(
    'Compartment.prototype.constructor is not a valid constructor.',
  );
};

/**
 * @param {Compartment} compartment
 * @param {string} specifier
 * @returns {{namespace: ModuleExportsNamespace}}
 */$h͏_once.InertCompartment(InertCompartment);
const compartmentImportNow = (compartment, specifier) => {
  const { execute, exportsProxy } = link(
    privateFields,
    moduleAliases,
    compartment,
    specifier,
  );
  execute();
  return exportsProxy;
};

/** @type {Compartment & {constructor: typeof InertCompartment}} */
       const CompartmentPrototype = {
  constructor: InertCompartment,

  get globalThis() {
    return /** @type {CompartmentFields} */ (weakmapGet(privateFields, this))
      .globalObject;
  },

  get name() {
    return /** @type {CompartmentFields} */ (weakmapGet(privateFields, this))
      .name;
  },

  evaluate(source, options = {}) {
    const compartmentFields = weakmapGet(privateFields, this);
    return compartmentEvaluate(compartmentFields, source, options);
  },

  module(specifier) {
    if (typeof specifier !== 'string') {
      throw TypeError('first argument of module() must be a string');
    }

    const { exportsProxy } = getDeferredExports(
      this,
      weakmapGet(privateFields, this),
      moduleAliases,
      specifier,
    );

    return exportsProxy;
  },

  async import(specifier) {
    const { noNamespaceBox, noAggregateLoadErrors } =
      /** @type {CompartmentFields} */ (weakmapGet(privateFields, this));

    if (typeof specifier !== 'string') {
      throw TypeError('first argument of import() must be a string');
    }

    return promiseThen(
      load(privateFields, moduleAliases, this, specifier, {
        noAggregateErrors: noAggregateLoadErrors,
      }),
      () => {
        // The namespace box is a contentious design and likely to be a breaking
        // change in an appropriately numbered future version.
        const namespace = compartmentImportNow(
          /** @type {Compartment} */ (this),
          specifier,
        );
        if (noNamespaceBox) {
          return namespace;
        }
        // Legacy behavior: box the namespace object so that thenable modules
        // do not get coerced into a promise accidentally.
        return { namespace };
      },
    );
  },

  async load(specifier) {
    if (typeof specifier !== 'string') {
      throw TypeError('first argument of load() must be a string');
    }

    const { noAggregateLoadErrors } = /** @type {CompartmentFields} */ (
      weakmapGet(privateFields, this)
    );

    return load(privateFields, moduleAliases, this, specifier, {
      noAggregateErrors: noAggregateLoadErrors,
    });
  },

  importNow(specifier) {
    if (typeof specifier !== 'string') {
      throw TypeError('first argument of importNow() must be a string');
    }
    const { noAggregateLoadErrors } = /** @type {CompartmentFields} */ (
      weakmapGet(privateFields, this)
    );

    loadNow(privateFields, moduleAliases, this, specifier, {
      noAggregateErrors: noAggregateLoadErrors,
    });
    return compartmentImportNow(/** @type {Compartment} */ (this), specifier);
  },
};

// This causes `String(new Compartment())` to evaluate to `[object Compartment]`.
// The descriptor follows the conventions of other globals with @@toStringTag
// properties, e.g. Math.
$h͏_once.CompartmentPrototype(CompartmentPrototype);defineProperties(CompartmentPrototype,{
  [toStringTagSymbol]: {
    value: 'Compartment',
    writable: false,
    enumerable: false,
    configurable: true,
  },
});

defineProperties(InertCompartment, {
  prototype: { value: CompartmentPrototype },
});

/**
 * @callback MakeCompartmentConstructor
 * @param {MakeCompartmentConstructor} targetMakeCompartmentConstructor
 * @param {Record<string, any>} intrinsics
 * @param {(object: object) => void} markVirtualizedNativeFunction
 * @param {object} [options]
 * @param {Compartment} [options.parentCompartment]
 * @param {boolean} [options.enforceNew]
 * @returns {Compartment['constructor']}
 */

/**
 * "Options bag"-style `Compartment` constructor arguments.
 * @typedef {[options?: CompartmentOptions & { __options__: true }]} CompartmentOptionsArgs
 */

/**
 * Legacy `Compartment` constructor arguments.
 *
 * @deprecated
 * @typedef {[globals?: Map<string, any>, modules?: Map<string, ModuleDescriptor>, options?: CompartmentOptions]} LegacyCompartmentOptionsArgs
 */

/**
 * In order to facilitate migration from the deprecated signature of the
 * compartment constructor,
 *
 * `new Compartent(globals?, modules?, options?)`
 *
 * to the new signature:
 *
 * `new Compartment(options?)`
 *
 * ...where globals and modules are expressed in the options bag instead of
 * positional arguments, this function detects the temporary sigil __options__
 * on the first argument and coerces compartments arguments into a single
 * compartments object.
 * @param {CompartmentOptionsArgs|LegacyCompartmentOptionsArgs} args
 * @returns {CompartmentOptions}
 */
       const compartmentOptions = (...args) => {
  if (args.length === 0) {
    return {};
  }
  if (
    args.length === 1 &&
    typeof args[0] === 'object' &&
    args[0] !== null &&
    '__options__' in args[0]
  ) {
    const { __options__, ...options } = args[0];
    assert(
      __options__ === true,
      `Compartment constructor only supports true __options__ sigil, got ${__options__}`,
    );
    return options;
  } else {
    const [
      globals = /** @type {Map<string, any>} */ ({}),
      modules = /** @type {Map<string, ModuleDescriptor>} */ ({}),
      options = {},
    ] = /** @type {LegacyCompartmentOptionsArgs} */ (args);
    assertEqual(
      options.modules,
      undefined,
      `Compartment constructor must receive either a module map argument or modules option, not both`,
    );
    assertEqual(
      options.globals,
      undefined,
      `Compartment constructor must receive either globals argument or option, not both`,
    );
    return {
      ...options,
      globals,
      modules,
    };
  }
};

/** @type {MakeCompartmentConstructor} */$h͏_once.compartmentOptions(compartmentOptions);
       const makeCompartmentConstructor = (
  targetMakeCompartmentConstructor,
  intrinsics,
  markVirtualizedNativeFunction,
  { parentCompartment = undefined, enforceNew = false } = {},
) => {
  /**
   *
   * @param {CompartmentOptionsArgs|LegacyCompartmentOptionsArgs} args
   */
  function Compartment(...args) {
    if (enforceNew && new.target === undefined) {
      throw TypeError(
        "Class constructor Compartment cannot be invoked without 'new'",
      );
    }

    // Extract options, and shallow-clone transforms.
    const {
      name = '<unknown>',
      transforms = [],
      __shimTransforms__ = [],
      globals: endowmentsOption = {},
      modules: moduleMapOption = {},
      resolveHook,
      importHook,
      importNowHook,
      moduleMapHook,
      importMetaHook,
      __noNamespaceBox__: noNamespaceBox = false,
      noAggregateLoadErrors = false,
    } = compartmentOptions(...args);
    const globalTransforms = arrayFlatMap(
      [transforms, __shimTransforms__],
      identity,
    );
    const endowments = { __proto__: null, ...endowmentsOption };
    const moduleMap = { __proto__: null, ...moduleMapOption };

    // Map<FullSpecifier, ModuleCompartmentRecord>
    const moduleRecords = new Map();
    // Map<FullSpecifier, ModuleInstance>
    const instances = new Map();
    // Map<FullSpecifier, {ExportsProxy, ProxiedExports, activate()}>
    const deferredExports = new Map();

    const globalObject = {};

    const compartment = this;

    setGlobalObjectSymbolUnscopables(globalObject);

    // We must initialize all constant properties first because
    // `makeSafeEvaluator` may use them to create optimized bindings
    // in the evaluator.
    // TODO: consider merging into a single initialization if internal
    // evaluator is no longer eagerly created
    setGlobalObjectConstantProperties(globalObject);

    const { safeEvaluate } = makeSafeEvaluator({
      globalObject,
      globalTransforms,
      sloppyGlobalsMode: false,
    });

    setGlobalObjectMutableProperties(globalObject, {
      intrinsics,
      newGlobalPropertyNames: sharedGlobalPropertyNames,
      makeCompartmentConstructor: targetMakeCompartmentConstructor,
      parentCompartment: this,
      markVirtualizedNativeFunction,
    });

    // TODO: maybe add evalTaming to the Compartment constructor 3rd options?
    setGlobalObjectEvaluators(
      globalObject,
      safeEvaluate,
      markVirtualizedNativeFunction,
    );

    assign(globalObject, endowments);

    /**
     * In support dynamic import in a module source loaded by this compartment,
     * like `await import(importSpecifier)`, induces this compartment to import
     * a module, returning a promise for the resulting module exports
     * namespace.
     * Unlike `compartment.import`, never creates a box object for the
     * namespace as that behavior is deprecated and inconsistent with the
     * standard behavior of dynamic import.
     * Obliges the caller to resolve import specifiers to their corresponding
     * full specifier.
     * That is, every module must have its own dynamic import function that
     * closes over the surrounding module's full module specifier and calls
     * through to this function.
     * @param {string} fullSpecifier - A full specifier is a key in the
     * compartment's module memo.
     * The method `compartment.import` accepts a full specifier, but dynamic
     * import accepts an import specifier and resolves it to a full specifier
     * relative to the calling module's full specifier.
     * @returns {Promise<ModuleExportsNamespace>}
     */
    const compartmentImport = async fullSpecifier => {
      if (typeof resolveHook !== 'function') {
        throw TypeError(
          `Compartment does not support dynamic import: no configured resolveHook for compartment ${q(name)}`,
        );
      }
      await load(privateFields, moduleAliases, compartment, fullSpecifier, {
        noAggregateErrors: noAggregateLoadErrors,
      });
      const { execute, exportsProxy } = link(
        privateFields,
        moduleAliases,
        compartment,
        fullSpecifier,
      );
      execute();
      return exportsProxy;
    };

    weakmapSet(privateFields, this, {
      name: `${name}`,
      globalTransforms,
      globalObject,
      safeEvaluate,
      resolveHook,
      importHook,
      importNowHook,
      moduleMap,
      moduleMapHook,
      importMetaHook,
      moduleRecords,
      __shimTransforms__,
      deferredExports,
      instances,
      parentCompartment,
      noNamespaceBox,
      compartmentImport,
      noAggregateLoadErrors,
    });
  }

  Compartment.prototype = CompartmentPrototype;

  return Compartment;
};$h͏_once.makeCompartmentConstructor(makeCompartmentConstructor);
})()
,
// === 51. ses ./src/get-anonymous-intrinsics.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_FUNCTION,Float32Array,Map,Set,String,getOwnPropertyDescriptor,getPrototypeOf,iterateArray,iterateMap,iterateSet,iterateString,matchAllRegExp,matchAllSymbol,regexpPrototype,globalThis,assign,AsyncGeneratorFunctionInstance,ArrayBuffer,InertCompartment;$h͏_imports([["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["Float32Array",[$h͏_a => (Float32Array = $h͏_a)]],["Map",[$h͏_a => (Map = $h͏_a)]],["Set",[$h͏_a => (Set = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]],["iterateArray",[$h͏_a => (iterateArray = $h͏_a)]],["iterateMap",[$h͏_a => (iterateMap = $h͏_a)]],["iterateSet",[$h͏_a => (iterateSet = $h͏_a)]],["iterateString",[$h͏_a => (iterateString = $h͏_a)]],["matchAllRegExp",[$h͏_a => (matchAllRegExp = $h͏_a)]],["matchAllSymbol",[$h͏_a => (matchAllSymbol = $h͏_a)]],["regexpPrototype",[$h͏_a => (regexpPrototype = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]],["AsyncGeneratorFunctionInstance",[$h͏_a => (AsyncGeneratorFunctionInstance = $h͏_a)]],["ArrayBuffer",[$h͏_a => (ArrayBuffer = $h͏_a)]]]],["./compartment.js", [["InertCompartment",[$h͏_a => (InertCompartment = $h͏_a)]]]]]);





















/**
 * Object.getConstructorOf()
 * Helper function to improve readability, similar to Object.getPrototypeOf().
 *
 * @param {object} obj
 */
function getConstructorOf(obj) {
  return getPrototypeOf(obj).constructor;
}

// getAnonymousIntrinsics uses a utility function to construct an arguments
// object, since it cannot have one of its own and also be a const export.
function makeArguments() {
  // eslint-disable-next-line prefer-rest-params
  return arguments;
}

/**
 * getAnonymousIntrinsics()
 * Get the intrinsics not otherwise reachable by named own property
 * traversal from the global object.
 *
 * @returns {object}
 */
       const getAnonymousIntrinsics = () => {
  const InertFunction = FERAL_FUNCTION.prototype.constructor;

  // 9.2.4.1 %ThrowTypeError%

  const argsCalleeDesc = getOwnPropertyDescriptor(makeArguments(), 'callee');
  const ThrowTypeError = argsCalleeDesc && argsCalleeDesc.get;

  // 21.1.5.2 The %StringIteratorPrototype% Object

  // eslint-disable-next-line no-new-wrappers
  const StringIteratorObject = iterateString(new String());
  const StringIteratorPrototype = getPrototypeOf(StringIteratorObject);

  // 21.2.7.1 The %RegExpStringIteratorPrototype% Object
  const RegExpStringIterator =
    regexpPrototype[matchAllSymbol] && matchAllRegExp(/./);
  const RegExpStringIteratorPrototype =
    RegExpStringIterator && getPrototypeOf(RegExpStringIterator);

  // 22.1.5.2 The %ArrayIteratorPrototype% Object

  // eslint-disable-next-line no-array-constructor
  const ArrayIteratorObject = iterateArray([]);
  const ArrayIteratorPrototype = getPrototypeOf(ArrayIteratorObject);

  // 22.2.1 The %TypedArray% Intrinsic Object

  const TypedArray = getPrototypeOf(Float32Array);

  // 23.1.5.2 The %MapIteratorPrototype% Object

  const MapIteratorObject = iterateMap(new Map());
  const MapIteratorPrototype = getPrototypeOf(MapIteratorObject);

  // 23.2.5.2 The %SetIteratorPrototype% Object

  const SetIteratorObject = iterateSet(new Set());
  const SetIteratorPrototype = getPrototypeOf(SetIteratorObject);

  // 25.1.2 The %IteratorPrototype% Object

  const IteratorPrototype = getPrototypeOf(ArrayIteratorPrototype);

  // 25.2.1 The GeneratorFunction Constructor

  // eslint-disable-next-line no-empty-function
  function* GeneratorFunctionInstance() {}
  const GeneratorFunction = getConstructorOf(GeneratorFunctionInstance);

  // 25.2.3 Properties of the GeneratorFunction Prototype Object

  const Generator = GeneratorFunction.prototype;

  // 25.7.1 The AsyncFunction Constructor

  // eslint-disable-next-line no-empty-function
  async function AsyncFunctionInstance() {}
  const AsyncFunction = getConstructorOf(AsyncFunctionInstance);

  const intrinsics = {
    '%InertFunction%': InertFunction,
    '%ArrayIteratorPrototype%': ArrayIteratorPrototype,
    '%InertAsyncFunction%': AsyncFunction,
    '%Generator%': Generator,
    '%InertGeneratorFunction%': GeneratorFunction,
    '%IteratorPrototype%': IteratorPrototype,
    '%MapIteratorPrototype%': MapIteratorPrototype,
    '%RegExpStringIteratorPrototype%': RegExpStringIteratorPrototype,
    '%SetIteratorPrototype%': SetIteratorPrototype,
    '%StringIteratorPrototype%': StringIteratorPrototype,
    '%ThrowTypeError%': ThrowTypeError,
    '%TypedArray%': TypedArray,
    '%InertCompartment%': InertCompartment,
  };

  if (AsyncGeneratorFunctionInstance !== undefined) {
    // 25.3.1 The AsyncGeneratorFunction Constructor

    const AsyncGeneratorFunction = getConstructorOf(
      AsyncGeneratorFunctionInstance,
    );

    // 25.3.2.2 AsyncGeneratorFunction.prototype
    const AsyncGenerator = AsyncGeneratorFunction.prototype;
    // 25.5.1 Properties of the AsyncGenerator Prototype Object
    const AsyncGeneratorPrototype = AsyncGenerator.prototype;
    const AsyncIteratorPrototype = getPrototypeOf(AsyncGeneratorPrototype);

    assign(intrinsics, {
      '%AsyncGenerator%': AsyncGenerator,
      '%InertAsyncGeneratorFunction%': AsyncGeneratorFunction,
      '%AsyncGeneratorPrototype%': AsyncGeneratorPrototype,
      '%AsyncIteratorPrototype%': AsyncIteratorPrototype,
    });
  }

  if (globalThis.Iterator) {
    intrinsics['%IteratorHelperPrototype%'] = getPrototypeOf(
      // eslint-disable-next-line @endo/no-polymorphic-call
      globalThis.Iterator.from([]).take(0),
    );
    intrinsics['%WrapForValidIteratorPrototype%'] = getPrototypeOf(
      // eslint-disable-next-line @endo/no-polymorphic-call
      globalThis.Iterator.from({
        next() {
          return { value: undefined };
        },
      }),
    );
  }

  if (globalThis.AsyncIterator) {
    intrinsics['%AsyncIteratorHelperPrototype%'] = getPrototypeOf(
      // eslint-disable-next-line @endo/no-polymorphic-call
      globalThis.AsyncIterator.from([]).take(0),
    );
    intrinsics['%WrapForValidAsyncIteratorPrototype%'] = getPrototypeOf(
      // eslint-disable-next-line @endo/no-polymorphic-call
      globalThis.AsyncIterator.from({ next() {} }),
    );
  }

  const ab = new ArrayBuffer(0);
  // eslint-disable-next-line @endo/no-polymorphic-call
  const iab = ab.sliceToImmutable();
  const iabProto = getPrototypeOf(iab);
  if (iabProto !== ArrayBuffer.prototype) {
    // In a native implementation, these will be the same prototype
    intrinsics['%ImmutableArrayBufferPrototype%'] = iabProto;
  }

  return intrinsics;
};$h͏_once.getAnonymousIntrinsics(getAnonymousIntrinsics);
})()
,
// === 52. ses ./src/tame-harden.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let freeze;$h͏_imports([["./commons.js", [["freeze",[$h͏_a => (freeze = $h͏_a)]]]]]);


/** @import {Harden} from '../types.js'; */

/** @type {(safeHarden: Harden, hardenTaming: 'safe' | 'unsafe') => Harden} */
       const tameHarden = (safeHarden, hardenTaming) => {
  if (hardenTaming === 'safe') {
    return safeHarden;
  }

  // In on the joke
  Object.isExtensible = () => false;
  Object.isFrozen = () => true;
  Object.isSealed = () => true;
  Reflect.isExtensible = () => false;

  // @ts-expect-error secret property
  if (safeHarden.isFake) {
    // The "safe" hardener is already a fake hardener.
    // Just use it.
    return safeHarden;
  }

  const fakeHarden = arg => arg;
  fakeHarden.isFake = true;
  return freeze(fakeHarden);
};$h͏_once.tameHarden(tameHarden);
freeze(tameHarden);
})()
,
// === 53. ses ./src/tame-symbol-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Symbol,entries,fromEntries,getOwnPropertyDescriptors,defineProperties,arrayMap,functionBind;$h͏_imports([["./commons.js", [["Symbol",[$h͏_a => (Symbol = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["fromEntries",[$h͏_a => (fromEntries = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["functionBind",[$h͏_a => (functionBind = $h͏_a)]]]]]);









/**
 * This taming provides a tamed alternative to the original `Symbol` constructor
 * that starts off identical, except that all its properties are "temporarily"
 * configurable. The original `Symbol` constructor remains unmodified on
 * the start compartment's global. The tamed alternative is used as the shared
 * `Symbol` constructor on constructed compartments.
 *
 * Starting these properties as configurable assumes two succeeding phases of
 * processing: A permit enforcement phase, that
 * removes all properties not on the permits (which requires them to be
 * configurable) and a global hardening step that freezes all primordials,
 * returning these properties to their expected non-configurable status.
 *
 * The ses shim is constructed to eventually enable vetted shims to run between
 * repair and global hardening. However, such vetted shims would normally
 * run in the start compartment, which continues to use the original unmodified
 * `Symbol`, so they should not normally be affected by the temporary
 * configurability of these properties.
 *
 * Note that the spec refers to the global `Symbol` function as the
 * ["Symbol Constructor"](https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-symbol-constructor)
 * even though it has a call behavior (can be called as a function) and does not
 * not have a construct behavior (cannot be called with `new`). Accordingly,
 * to tame it, we must replace it with a function without a construct
 * behavior.
 */
       const tameSymbolConstructor = () => {
  const OriginalSymbol = Symbol;
  const SymbolPrototype = OriginalSymbol.prototype;

  // Bypass Hermes bug, fixed in: https://github.com/facebook/hermes/commit/00f18c89c720e1c34592bb85a1a8d311e6e99599
  // Make a "copy" of the primordial [Symbol "constructor"](https://tc39.es/ecma262/#sec-symbol-description) which maintains all observable behavior. The primordial explicitly throws on `[[Construct]]` and has a `[[Call]]` which ignores the receiver. Binding also maintains the `toString` source as a native function. The `name` is restored below when copying own properties.
  const SharedSymbol = functionBind(Symbol, undefined);

  defineProperties(SymbolPrototype, {
    constructor: {
      value: SharedSymbol
      // leave other `constructor` attributes as is
    },
  });

  const originalDescsEntries = entries(
    getOwnPropertyDescriptors(OriginalSymbol),
  );
  const descs = fromEntries(
    arrayMap(originalDescsEntries, ([name, desc]) => [
      name,
      { ...desc, configurable: true },
    ]),
  );
  defineProperties(SharedSymbol, descs);

  return { '%SharedSymbol%': SharedSymbol };
};$h͏_once.tameSymbolConstructor(tameSymbolConstructor);
})()
,
// === 54. ses ./src/tame-faux-data-properties.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let getOwnPropertyDescriptor,apply,defineProperty,toStringTagSymbol;$h͏_imports([["./commons.js", [["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]]]]]);






const throws = thunk => {
  try {
    thunk();
    return false;
  } catch (er) {
    return true;
  }
};

/**
 * Exported for convenience of unit testing. Harmless, but not expected
 * to be useful by itself.
 *
 * @param {any} obj
 * @param {string|symbol} prop
 * @param {any} expectedValue
 * @returns {boolean}
 * Returns whether `tameFauxDataProperty` turned the property in question
 * from an apparent faux data property into the actual data property it
 * seemed to emulate.
 * If this function returns `false`, then we hope no effects happened.
 * However, sniffing out if an accessor property seems to be a faux data
 * property requires invoking the getter and setter functions that might
 * possibly have side effects.
 * `tameFauxDataProperty` is not in a position to tell.
 */
       const tameFauxDataProperty = (obj, prop, expectedValue) => {
  if (obj === undefined) {
    // The object does not exist in this version of the platform
    return false;
  }
  const desc = getOwnPropertyDescriptor(obj, prop);
  if (!desc || 'value' in desc) {
    // The property either doesn't exist, or is already an actual data property.
    return false;
  }
  const { get, set } = desc;
  if (typeof get !== 'function' || typeof set !== 'function') {
    // A faux data property has both a getter and a setter
    return false;
  }
  if (get() !== expectedValue) {
    // The getter called by itself should produce the expectedValue
    return false;
  }
  if (apply(get, obj, []) !== expectedValue) {
    // The getter called with `this === obj` should also return the
    // expectedValue.
    return false;
  }
  const testValue = 'Seems to be a setter';
  const subject1 = { __proto__: null };
  apply(set, subject1, [testValue]);
  if (subject1[prop] !== testValue) {
    // The setter called with an unrelated object as `this` should
    // set the property on the object.
    return false;
  }
  const subject2 = { __proto__: obj };
  apply(set, subject2, [testValue]);
  if (subject2[prop] !== testValue) {
    // The setter called on an object that inherits from `obj` should
    // override the property from `obj` as if by assignment.
    return false;
  }
  if (!throws(() => apply(set, obj, [expectedValue]))) {
    // The setter called with `this === obj` should throw without having
    // caused any effect.
    // This is the test that has the greatest danger of leaving behind some
    // persistent side effect. The most obvious one is to emulate a
    // successful assignment to the property. That's why this test
    // uses `expectedValue`, so that case is likely not to actually
    // change anything.
    return false;
  }
  if ('originalValue' in get) {
    // The ses-shim uniquely, as far as we know, puts an `originalValue`
    // property on the getter, so that reflect property tranversal algorithms,
    // like `harden`, will traverse into the enulated value without
    // calling the getter. That does not happen until `permits-intrinsics.js`
    // which is much later. So if we see one this early, we should
    // not assume we understand what's going on.
    return false;
  }

  // We assume that this code runs before any untrusted code runs, so
  // we do not need to worry about the above conditions passing because of
  // malicious intent. In fact, it runs even before vetted shims are supposed
  // to run, between repair and hardening. Given that, after all these tests
  // pass, we have adequately validated that the property in question is
  // an accessor function whose purpose is suppressing the override mistake,
  // i.e., enabling a non-writable property to be overridden by assignment.
  // In that case, here we *temporarily* turn it into the data property
  // it seems to emulate, but writable so that it does not trigger the
  // override mistake while in this temporary state.

  // For those properties that are also listed in `enablements.js`,
  // that phase will re-enable override for these properties, but
  // via accessor functions that SES controls, so we know what they are
  // doing. In addition, the getter functions installed by
  // `enable-property-overrides.js` have an `originalValue` field
  // enabling meta-traversal code like harden to visit the original value
  // without calling the getter.

  if (desc.configurable === false) {
    // Even though it seems to be a faux data property, we're unable to fix it.
    return false;
  }

  // Many of the `return false;` cases above plausibly should be turned into
  // errors, or an least generate warnings. However, for those, the checks
  // following this phase are likely to signal an error anyway.

  // At this point, we have passed all our sniff checks for validating that
  // it seems to be a faux data property with the expected value. Turn
  // it into the actual data property it emulates, but writable so there is
  // not yet an override mistake problem.

  defineProperty(obj, prop, {
    value: expectedValue,
    writable: true,
    enumerable: desc.enumerable,
    configurable: true,
  });

  return true;
};

/**
 * In JavaScript, the so-called "override mistake" is the inability to
 * override an inherited non-writable data property by assignment. A common
 * workaround is to instead define an accessor property that acts like
 * a non-writable data property, except that it allows an object that
 * inherits this property to override it by assignment. Let's call
 * an access property that acts this way a "faux data property". In this
 * ses-shim, `enable-property-overrides.js` makes the properties listed in
 * `enablements.js` into faux data properties.
 *
 * But the ses-shim is not alone in use of this trick. Starting with the
 * [Iterator Helpers proposal](https://github.com/tc39/proposal-iterator-helpers),
 * some properties are defined as (what we call) faux data properties.
 * Some of these are new properties (`Interator.prototype.constructor`) and
 * some are old data properties converted to accessor properties
 * (`Iterator.prototype[String.toStringTag]`). So the ses-shim needs to be
 * prepared for some enumerated set of properties to already be faux data
 * properties in the platform prior to our initialization.
 *
 * For these possible faux data properties, it is important that
 * `permits.js` describe each as a data property, so that it can further
 * constrain the apparent value (that allegedly would be returned by the
 * getter) according to its own permits.
 *
 * However, at the time of this writing, the precise behavior specified
 * by the iterator-helpers proposal for these faux data properties is
 * novel. We should not be too confident that all further such platform
 * additions do what we would now expect. So, for each of these possible
 * faux data properties, we do some sniffing to see if it behaves as we
 * currently expect a faux data property to act. If not, then
 * `tameFauxDataProperties` tries not to modify it, leaving it to later
 * checks, especially `permits-intrinsics.js`, to error when it sees an
 * unexpected accessor.
 *
 * If one of these enumerated accessor properties does seem to be
 * a faithful faux data property, then `tameFauxDataProperties` itself
 * *tempoarily* turns it into the actual data property that it seems to emulate.
 * This data property starts as writable, so that in this state it will
 * not trigger the override mistake, i.e., assignment to an object inheriting
 * this property is allowed to succeed at overriding this property.
 *
 * For those properties that should be a faux data property rather than an
 * actual one, such as those from the iterator-helpers proposal,
 * they should be listed as such in `enablements.js`, so
 * `enable-property-overrides.js` will turn it back into a faux data property.
 * But one controlled by the ses-shim, whose behavior we understand.
 *
 * `tameFauxDataProperties`, which turns these into actual data properties,
 * happens during the `repairIntrinsics` phase
 * of `lockdown`, before even vetted shim are supposed to run.
 * `enable-property-overrides.js` runs after vetted shims, turning the
 * appropriate ones back into faux data properties. Thus vetted shims
 * can observe the possibly non-conforming state where these are temporarily
 * actual data properties, rather than faux data properties.
 *
 * Coordinate the property enumeration here
 * with `enablements.js`, so the appropriate properties are
 * turned back to faux data properties.
 *
 * @param {Record<any,any>} intrinsics
 */$h͏_once.tameFauxDataProperty(tameFauxDataProperty);
       const tameFauxDataProperties = intrinsics => {
  // https://github.com/tc39/proposal-iterator-helpers
  tameFauxDataProperty(
    intrinsics['%IteratorPrototype%'],
    'constructor',
    intrinsics.Iterator,
  );
  // https://github.com/tc39/proposal-iterator-helpers
  tameFauxDataProperty(
    intrinsics['%IteratorPrototype%'],
    toStringTagSymbol,
    'Iterator',
  );
};$h͏_once.tameFauxDataProperties(tameFauxDataProperties);
})()
,
// === 55. ses ./src/tame-regenerator-runtime.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let defineProperty,iteratorPrototype,iteratorSymbol,hasOwn;$h͏_imports([["./commons.js", [["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["iteratorPrototype",[$h͏_a => (iteratorPrototype = $h͏_a)]],["iteratorSymbol",[$h͏_a => (iteratorSymbol = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]]]]]);






       const tameRegeneratorRuntime = () => {
  const iter = iteratorPrototype[iteratorSymbol];
  defineProperty(iteratorPrototype, iteratorSymbol, {
    configurable: true,
    get() {
      return iter;
    },
    set(value) {
      // ignore the assignment on IteratorPrototype
      if (this === iteratorPrototype) return;
      if (hasOwn(this, iteratorSymbol)) {
        this[iteratorSymbol] = value;
      }
      defineProperty(this, iteratorSymbol, {
        value,
        writable: true,
        enumerable: true,
        configurable: true,
      });
    },
  });
};$h͏_once.tameRegeneratorRuntime(tameRegeneratorRuntime);
})()
,
// === 56. ses ./src/shim-arraybuffer-transfer.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let ArrayBuffer,arrayBufferPrototype,arrayBufferSlice,arrayBufferGetByteLength,Uint8Array,typedArraySet,globalThis,TypeError,defineProperty;$h͏_imports([["./commons.js", [["ArrayBuffer",[$h͏_a => (ArrayBuffer = $h͏_a)]],["arrayBufferPrototype",[$h͏_a => (arrayBufferPrototype = $h͏_a)]],["arrayBufferSlice",[$h͏_a => (arrayBufferSlice = $h͏_a)]],["arrayBufferGetByteLength",[$h͏_a => (arrayBufferGetByteLength = $h͏_a)]],["Uint8Array",[$h͏_a => (Uint8Array = $h͏_a)]],["typedArraySet",[$h͏_a => (typedArraySet = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]]]]]);











       const shimArrayBufferTransfer = () => {
  if (typeof arrayBufferPrototype.transfer === 'function') {
    // Assume already exists so does not need to be shimmed.
    // Such conditional shimming is ok in this case since ArrayBuffer.p.transfer
    // is already officially part of JS.
    //
    // Empty object because this shim has nothing for `addIntrinsics` to add.
    return {};
  }
  const clone = globalThis.structuredClone;
  if (typeof clone !== 'function') {
    // On a platform with neither `Array.prototype.transfer`
    // nor `structuredClone`, this shim does nothing.
    // For example, Node <= 16 has neither.
    //
    // Empty object because this shim has nothing for `addIntrinsics` to add.
    return {};
    // TODO Rather than doing nothing, should the endo ses-shim throw
    // in this case?
    // throw TypeError(
    //   `Can only shim missing ArrayBuffer.prototype.transfer on a platform with "structuredClone"`,
    // );
    // For example, endo no longer supports Node <= 16. All browsers have
    // `structuredClone`. XS has `Array.prototype.transfer`. Are there still
    // any platforms without both that Endo should still support?
    // What about Hermes?
  }

  /**
   * @type {ThisType<ArrayBuffer>}
   */
  const methods = {
    /**
     * @param {number} [newLength]
     */
    transfer(newLength = undefined) {
      // Using this builtin getter also ensures that `this` is a genuine
      // ArrayBuffer.
      const oldLength = arrayBufferGetByteLength(this);
      if (newLength === undefined || newLength === oldLength) {
        return clone(this, { transfer: [this] });
      }
      if (typeof newLength !== 'number') {
        throw TypeError(`transfer newLength if provided must be a number`);
      }
      if (newLength > oldLength) {
        const result = new ArrayBuffer(newLength);
        const taOld = new Uint8Array(this);
        const taNew = new Uint8Array(result);
        typedArraySet(taNew, taOld);
        // Using clone only to detach, and only after the copy succeeds
        clone(this, { transfer: [this] });
        return result;
      } else {
        const result = arrayBufferSlice(this, 0, newLength);
        // Using clone only to detach, and only after the slice succeeds
        clone(this, { transfer: [this] });
        return result;
      }
    },
  };

  defineProperty(arrayBufferPrototype, 'transfer', {
    // @ts-expect-error
    value: methods.transfer,
    writable: true,
    enumerable: false,
    configurable: true,
  });

  // Empty object because this shim has nothing for `addIntrinsics` to add.
  return {};
};$h͏_once.shimArrayBufferTransfer(shimArrayBufferTransfer);
})()
,
// === 57. ses ./src/reporting.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,assert;$h͏_imports([["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);


/**
 * @import {Reporter, GroupReporter} from './reporting-types.js'
 */

/* eslint-disable @endo/no-polymorphic-call */
/**
 * To address https://github.com/endojs/endo/issues/2908,
 * the `consoleReporter` uses the current `console` rather
 * than the original one.
 *
 * @type {GroupReporter}
 */
const consoleReporter = {
  warn(...args) {
    globalThis.console.warn(...args);
  },
  error(...args) {
    globalThis.console.error(...args);
  },
  ...(globalThis.console?.groupCollapsed
    ? {
        groupCollapsed(...args) {
          globalThis.console.groupCollapsed(...args);
        },
      }
    : undefined),
  ...(globalThis.console?.groupEnd
    ? {
        groupEnd() {
          globalThis.console.groupEnd();
        },
      }
    : undefined),
};
/* eslint-enable @endo/no-polymorphic-call */

/**
 * Creates a suitable reporter for internal errors and warnings out of the
 * Node.js console.error to ensure all messages go to stderr, including the
 * group label.
 * Accounts for the extra space introduced by console.error as a delimiter
 * between the indent and subsequent arguments.
 *
 * @param {(...message: Array<any>) => void} print
 */
const makeReportPrinter = print => {
  let indent = false;
  /** @param {Array<any>} args */
  const printIndent = (...args) => {
    if (indent) {
      print(' ', ...args);
    } else {
      print(...args);
    }
  };
  return /** @type {GroupReporter} */ ({
    warn(...args) {
      printIndent(...args);
    },
    error(...args) {
      printIndent(...args);
    },
    groupCollapsed(...args) {
      assert(!indent);
      print(...args);
      indent = true;
    },
    groupEnd() {
      indent = false;
    },
  });
};

const mute = () => {};

/**
 * @param {"platform" | "console" | "none"} reporting
 */
       const chooseReporter = reporting => {
  if (reporting === 'none') {
    return makeReportPrinter(mute);
  }
  if (globalThis.console !== undefined) {
    if (
      reporting === 'console' || // asks for console explicitly
      globalThis.window === globalThis || // likely on browser
      globalThis.importScripts !== undefined // likely on worker
    ) {
      // reporter just delegates directly to the current console
      return consoleReporter;
    }
    assert(reporting === 'platform');
    // On Node.js, we send all feedback to stderr, regardless of purported level.
    // This uses `consoleReporter.error` instead of `console.error` because we
    // want the constructed reporter to use the `console.error` of the current
    // `console`, not the `console` that was installed when the reporter
    // was created.
    return makeReportPrinter(consoleReporter.error);
  }
  if (globalThis.print !== undefined) {
    return makeReportPrinter(globalThis.print);
  }
  return makeReportPrinter(mute);
};

/**
 * @param {string} groupLabel
 * @param {GroupReporter} console
 * @param {(internalConsole: Reporter) => void} callback
 */$h͏_once.chooseReporter(chooseReporter);
       const reportInGroup = (groupLabel, console, callback) => {
  const { warn, error, groupCollapsed, groupEnd } = console;
  const grouping = groupCollapsed && groupEnd;
  let groupStarted = false;
  try {
    return callback({
      warn(...args) {
        if (grouping && !groupStarted) {
          groupCollapsed(groupLabel);
          groupStarted = true;
        }
        warn(...args);
      },
      error(...args) {
        if (grouping && !groupStarted) {
          groupCollapsed(groupLabel);
          groupStarted = true;
        }
        error(...args);
      },
    });
  } finally {
    if (grouping && groupStarted) {
      groupEnd();
      groupStarted = false;
    }
  }
};$h͏_once.reportInGroup(reportInGroup);
})()
,
// === 58. ses ./src/lockdown.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let getenv,FERAL_FUNCTION,FERAL_EVAL,TypeError,arrayFilter,globalThis,is,ownKeys,stringSplit,symbolFor,noEvalEvaluate,getOwnPropertyNames,getPrototypeOf,makeHardener,makeIntrinsicsCollector,removeUnpermittedIntrinsics,tameFunctionConstructors,tameDateConstructor,tameMathObject,tameRegExpConstructor,enablePropertyOverrides,tameLocaleMethods,setGlobalObjectConstantProperties,setGlobalObjectMutableProperties,setGlobalObjectEvaluators,makeSafeEvaluator,initialGlobalPropertyNames,tameFunctionToString,tameDomains,tameModuleSource,tameConsole,tameErrorConstructor,assert,makeAssert,getAnonymousIntrinsics,makeCompartmentConstructor,tameHarden,tameSymbolConstructor,tameFauxDataProperties,tameRegeneratorRuntime,shimArrayBufferTransfer,reportInGroup,chooseReporter;$h͏_imports([["@endo/env-options", [["getEnvironmentOption",[$h͏_a => (getenv = $h͏_a)]]]],["@endo/immutable-arraybuffer/shim.js", []],["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["FERAL_EVAL",[$h͏_a => (FERAL_EVAL = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["is",[$h͏_a => (is = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["stringSplit",[$h͏_a => (stringSplit = $h͏_a)]],["symbolFor",[$h͏_a => (symbolFor = $h͏_a)]],["noEvalEvaluate",[$h͏_a => (noEvalEvaluate = $h͏_a)]],["getOwnPropertyNames",[$h͏_a => (getOwnPropertyNames = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]]]],["./make-hardener.js", [["makeHardener",[$h͏_a => (makeHardener = $h͏_a)]]]],["./intrinsics.js", [["makeIntrinsicsCollector",[$h͏_a => (makeIntrinsicsCollector = $h͏_a)]]]],["./permits-intrinsics.js", [["default",[$h͏_a => (removeUnpermittedIntrinsics = $h͏_a)]]]],["./tame-function-constructors.js", [["default",[$h͏_a => (tameFunctionConstructors = $h͏_a)]]]],["./tame-date-constructor.js", [["default",[$h͏_a => (tameDateConstructor = $h͏_a)]]]],["./tame-math-object.js", [["default",[$h͏_a => (tameMathObject = $h͏_a)]]]],["./tame-regexp-constructor.js", [["default",[$h͏_a => (tameRegExpConstructor = $h͏_a)]]]],["./enable-property-overrides.js", [["default",[$h͏_a => (enablePropertyOverrides = $h͏_a)]]]],["./tame-locale-methods.js", [["default",[$h͏_a => (tameLocaleMethods = $h͏_a)]]]],["./global-object.js", [["setGlobalObjectConstantProperties",[$h͏_a => (setGlobalObjectConstantProperties = $h͏_a)]],["setGlobalObjectMutableProperties",[$h͏_a => (setGlobalObjectMutableProperties = $h͏_a)]],["setGlobalObjectEvaluators",[$h͏_a => (setGlobalObjectEvaluators = $h͏_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator",[$h͏_a => (makeSafeEvaluator = $h͏_a)]]]],["./permits.js", [["initialGlobalPropertyNames",[$h͏_a => (initialGlobalPropertyNames = $h͏_a)]]]],["./tame-function-tostring.js", [["tameFunctionToString",[$h͏_a => (tameFunctionToString = $h͏_a)]]]],["./tame-domains.js", [["tameDomains",[$h͏_a => (tameDomains = $h͏_a)]]]],["./tame-module-source.js", [["tameModuleSource",[$h͏_a => (tameModuleSource = $h͏_a)]]]],["./error/tame-console.js", [["tameConsole",[$h͏_a => (tameConsole = $h͏_a)]]]],["./error/tame-error-constructor.js", [["default",[$h͏_a => (tameErrorConstructor = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]],["makeAssert",[$h͏_a => (makeAssert = $h͏_a)]]]],["./get-anonymous-intrinsics.js", [["getAnonymousIntrinsics",[$h͏_a => (getAnonymousIntrinsics = $h͏_a)]]]],["./compartment.js", [["makeCompartmentConstructor",[$h͏_a => (makeCompartmentConstructor = $h͏_a)]]]],["./tame-harden.js", [["tameHarden",[$h͏_a => (tameHarden = $h͏_a)]]]],["./tame-symbol-constructor.js", [["tameSymbolConstructor",[$h͏_a => (tameSymbolConstructor = $h͏_a)]]]],["./tame-faux-data-properties.js", [["tameFauxDataProperties",[$h͏_a => (tameFauxDataProperties = $h͏_a)]]]],["./tame-regenerator-runtime.js", [["tameRegeneratorRuntime",[$h͏_a => (tameRegeneratorRuntime = $h͏_a)]]]],["./shim-arraybuffer-transfer.js", [["shimArrayBufferTransfer",[$h͏_a => (shimArrayBufferTransfer = $h͏_a)]]]],["./reporting.js", [["reportInGroup",[$h͏_a => (reportInGroup = $h͏_a)]],["chooseReporter",[$h͏_a => (chooseReporter = $h͏_a)]]]]]);































































/** @import {LockdownOptions} from '../types.js' */

const { Fail, details: X, quote: q } = assert;

/** @type {Error=} */
let priorRepairIntrinsics;

/** @type {Error=} */
let priorHardenIntrinsics;

// Build a harden() with an empty fringe.
// Gate it on lockdown.
/**
 * @template T
 * @param {T} ref
 * @returns {T}
 */
const safeHarden = makeHardener();

/**
 * @callback Transform
 * @param {string} source
 * @returns {string}
 */

/**
 * @callback CompartmentConstructor
 * @param {object} endowments
 * @param {object} moduleMap
 * @param {object} [options]
 * @param {Array<Transform>} [options.transforms]
 * @param {Array<Transform>} [options.__shimTransforms__]
 */

// TODO https://github.com/endojs/endo/issues/814
// Lockdown currently allows multiple calls provided that the specified options
// of every call agree.  With experience, we have observed that lockdown should
// only ever need to be called once and that simplifying lockdown will improve
// the quality of audits.

const probeHostEvaluators = () => {
  let functionAllowed;
  try {
    functionAllowed = FERAL_FUNCTION('return true')();
  } catch (_error) {
    // We reach here if the Function() constructor is outright forbidden by a
    // strict Content Security Policy (containing either a `default-src` or a
    // `script-src` directive), not been implemented in the host, or the host
    // is configured to throw an exception instead of `new Function`.
    functionAllowed = false;
  }

  let evalAllowed;
  try {
    evalAllowed = FERAL_EVAL('true');
  } catch (_error) {
    // We reach here if `eval` is outright forbidden by a strict Content Security Policy,
    // not implemented in the host, or the host is configured to throw an exception.
    // We allow this for SES usage that delegates the responsibility to isolate
    // guest code to production code generation.
    evalAllowed = false;
  }

  let directEvalAllowed;
  if (functionAllowed && evalAllowed) {
    directEvalAllowed = FERAL_FUNCTION(
      'eval',
      'SES_changed',
      `\
        eval("SES_changed = true");
        return SES_changed;
      `,
    )(FERAL_EVAL, false);
    // If we get here and SES_changed stayed false, that means the eval was sloppy
    // and indirect, which generally creates a new global.
    // We are going to throw an exception for failing to initialize SES, but
    // good neighbors clean up.
    if (!directEvalAllowed) {
      delete globalThis.SES_changed;
    }
  }

  return { functionAllowed, evalAllowed, directEvalAllowed };
};

/**
 * @param {LockdownOptions} [options]
 */
       const repairIntrinsics = (options = {}) => {
  // First time, absent options default to 'safe'.
  // Subsequent times, absent options default to first options.
  // Thus, all present options must agree with first options.
  // Reconstructing `option` here also ensures that it is a well
  // behaved record, with only own data properties.
  //
  // The `overrideTaming` is not a safety issue. Rather it is a tradeoff
  // between code compatibility, which is better with the `'moderate'`
  // setting, and tool compatibility, which is better with the `'min'`
  // setting. See
  // https://github.com/Agoric/SES-shim/blob/master/packages/ses/README.md#enabling-override-by-assignment)
  // for an explanation of when to use which.
  //
  // The `stackFiltering` is not a safety issue. Rather it is a tradeoff
  // between relevance and completeness of the stack frames shown on the
  // console. Setting`stackFiltering` to `'verbose'` applies no filters, providing
  // the raw stack frames that can be quite verbose. Setting
  // `stackFrameFiltering` to`'concise'` limits the display to the stack frame
  // information most likely to be relevant, eliminating distracting frames
  // such as those from the infrastructure. However, the bug you're trying to
  // track down might be in the infrastructure, in which case the `'verbose'` setting
  // is useful. See
  // [`stackFiltering` options](https://github.com/Agoric/SES-shim/blob/master/packages/ses/docs/lockdown.md#stackfiltering-options)
  // for an explanation.

  const {
    errorTaming = /** @type {'safe' | 'unsafe' | 'unsafe-debug'} */ (
      getenv('LOCKDOWN_ERROR_TAMING', 'safe', ['unsafe', 'unsafe-debug'])
    ),
    errorTrapping = /** @type {'platform' | 'none' | 'report' | 'abort' | 'exit'} */ (
      getenv('LOCKDOWN_ERROR_TRAPPING', 'platform', [
        'none',
        'report',
        'abort',
        'exit',
      ])
    ),
    reporting = /** @type {'platform' | 'console' | 'none'} */ (
      getenv('LOCKDOWN_REPORTING', 'platform', ['console', 'none'])
    ),
    unhandledRejectionTrapping = /** @type {'none' | 'report'} */ (
      getenv('LOCKDOWN_UNHANDLED_REJECTION_TRAPPING', 'report', ['none'])
    ),
    regExpTaming = /** @type {'safe' | 'unsafe'} */ (
      getenv('LOCKDOWN_REGEXP_TAMING', 'safe', ['unsafe'])
    ),
    localeTaming = /** @type {'safe' | 'unsafe'} */ (
      getenv('LOCKDOWN_LOCALE_TAMING', 'safe', ['unsafe'])
    ),
    consoleTaming = /** @type {'unsafe' | 'safe'} */ (
      getenv('LOCKDOWN_CONSOLE_TAMING', 'safe', ['unsafe'])
    ),
    overrideTaming = /** @type {'moderate' | 'min' | 'severe'} */ (
      getenv('LOCKDOWN_OVERRIDE_TAMING', 'moderate', ['min', 'severe'])
    ),
    stackFiltering = /** @type {'concise' | 'omit-frames' | 'shorten-paths' | 'verbose'} */ (
      getenv('LOCKDOWN_STACK_FILTERING', 'concise', [
        'omit-frames',
        'shorten-paths',
        'verbose',
      ])
    ),
    domainTaming = /** @type {'safe' | 'unsafe'} */ (
      getenv('LOCKDOWN_DOMAIN_TAMING', 'safe', ['unsafe'])
    ),
    evalTaming = /** @type {'safe-eval' | 'unsafe-eval' | 'no-eval'} */ (
      getenv('LOCKDOWN_EVAL_TAMING', 'safe-eval', [
        'unsafe-eval',
        'no-eval',
        // deprecated
        'safeEval',
        'unsafeEval',
        'noEval',
      ])
    ),
    overrideDebug = /** @type {string[]} */ (
      arrayFilter(
        stringSplit(getenv('LOCKDOWN_OVERRIDE_DEBUG', ''), ','),
        /** @param {string} debugName */
        debugName => debugName !== '',
      )
    ),
    legacyRegeneratorRuntimeTaming = /** @type {'safe' | 'unsafe-ignore'} */ (
      getenv('LOCKDOWN_LEGACY_REGENERATOR_RUNTIME_TAMING', 'safe', [
        'unsafe-ignore',
      ])
    ),
    __hardenTaming__ = /** @type {'safe' | 'unsafe'} */ (
      getenv('LOCKDOWN_HARDEN_TAMING', 'safe', ['unsafe'])
    ),
    dateTaming, // deprecated
    mathTaming, // deprecated
    ...extraOptions
  } = options;

  // Assert that only supported options were passed.
  // Use Reflect.ownKeys to reject symbol-named properties as well.
  const extraOptionsNames = ownKeys(extraOptions);
  extraOptionsNames.length === 0 ||
    Fail`lockdown(): non supported option ${q(extraOptionsNames)}`;

  const reporter = chooseReporter(reporting);
  const { warn } = reporter;

  if (dateTaming !== undefined) {
    warn(
      `SES The 'dateTaming' option is deprecated and does nothing. In the future specifying it will be an error.`,
    );
  }
  if (mathTaming !== undefined) {
    warn(
      `SES The 'mathTaming' option is deprecated and does nothing. In the future specifying it will be an error.`,
    );
  }

  priorRepairIntrinsics === undefined ||
    // eslint-disable-next-line @endo/no-polymorphic-call
    assert.fail(
      X`Already locked down at ${priorRepairIntrinsics} (SES_ALREADY_LOCKED_DOWN)`,
      TypeError,
    );
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_ALREADY_LOCKED_DOWN.md
  priorRepairIntrinsics = TypeError('Prior lockdown (SES_ALREADY_LOCKED_DOWN)');
  // Tease V8 to generate the stack string and release the closures the stack
  // trace retained:
  priorRepairIntrinsics.stack;

  const { functionAllowed, evalAllowed, directEvalAllowed } =
    probeHostEvaluators();

  if (
    directEvalAllowed === false &&
    evalTaming === 'safe-eval' &&
    (functionAllowed || evalAllowed)
  ) {
    // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_DIRECT_EVAL.md
    throw TypeError(
      "SES cannot initialize unless 'eval' is the original intrinsic 'eval', suitable for direct eval (dynamically scoped eval) (SES_DIRECT_EVAL)",
    );
  }

  /**
   * Because of packagers and bundlers, etc, multiple invocations of lockdown
   * might happen in separate instantiations of the source of this module.
   * In that case, each one sees its own `firstOptions` variable, so the test
   * above will not detect that lockdown has already happened. We
   * unreliably test some telltale signs that lockdown has run, to avoid
   * trying to lock down a locked down environment. Although the test is
   * unreliable, this is consistent with the SES threat model. SES provides
   * security only if it runs first in a given realm, or if everything that
   * runs before it is SES-aware and cooperative. Neither SES nor anything
   * can protect itself from corrupting code that runs first. For these
   * purposes, code that turns a realm into something that passes these
   * tests without actually locking down counts as corrupting code.
   *
   * The specifics of what this tests for may change over time, but it
   * should be consistent with any setting of the lockdown options.
   */
  const seemsToBeLockedDown = () => {
    return (
      globalThis.Function.prototype.constructor !== globalThis.Function &&
      // @ts-ignore harden is absent on globalThis type def.
      typeof globalThis.harden === 'function' &&
      // @ts-ignore lockdown is absent on globalThis type def.
      typeof globalThis.lockdown === 'function' &&
      globalThis.Date.prototype.constructor !== globalThis.Date &&
      typeof globalThis.Date.now === 'function' &&
      // @ts-ignore does not recognize that Date constructor is a special
      // Function.
      // eslint-disable-next-line @endo/no-polymorphic-call
      is(globalThis.Date.prototype.constructor.now(), NaN)
    );
  };

  if (seemsToBeLockedDown()) {
    // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_MULTIPLE_INSTANCES.md
    throw TypeError(
      `Already locked down but not by this SES instance (SES_MULTIPLE_INSTANCES)`,
    );
  }

  /**
   * 1. TAME powers & gather intrinsics first.
   */

  tameDomains(domainTaming);

  // Replace Function.prototype.toString with one that recognizes
  // shimmed functions as honorary native functions.
  const markVirtualizedNativeFunction = tameFunctionToString();

  const { addIntrinsics, completePrototypes, finalIntrinsics } =
    makeIntrinsicsCollector(reporter);

  const tamedHarden = tameHarden(safeHarden, __hardenTaming__);
  addIntrinsics({ harden: tamedHarden });

  addIntrinsics(tameFunctionConstructors());

  addIntrinsics(tameDateConstructor());
  addIntrinsics(tameErrorConstructor(errorTaming, stackFiltering));
  addIntrinsics(tameMathObject());
  addIntrinsics(tameRegExpConstructor(regExpTaming));
  addIntrinsics(tameSymbolConstructor());
  addIntrinsics(shimArrayBufferTransfer());
  addIntrinsics(tameModuleSource());

  addIntrinsics(getAnonymousIntrinsics());

  completePrototypes();

  const intrinsics = finalIntrinsics();

  // Install Object[@harden] or abort.
  const symbolForHarden = symbolFor('harden');
  const priorHarden = intrinsics.Object[symbolForHarden];
  if (priorHarden) {
    // By convention, if a module like @endo/harden gets used before lockdown,
    // it will install itself as a non-configurable, non-writable property over
    // Object[@harden] so that versions of SES predating the introduction of
    // Object[@harden] will fail to lockdown because they cannot remove an
    // unknown intrinsic.
    // All newer versions explicitly check for Object[@harden] (here).
    // The @endo/harden implementation additionally captures a stack trace
    // where harden was first used to assist developers in tracking down the
    // hardened module that was initialized before lockdown.
    if (priorHarden.lockdownError) {
      throw priorHarden.lockdownError;
    }
    // And in the event a library installs Object[@harden] without leaving a
    // hint, we fall back to a generic lockdown error.
    throw new TypeError(
      'Cannot lockdown (repairIntrinsics) if a prior harden implementation has been used and installed. Check for libraries using @endo/harden before lockdown.',
    );
  }
  intrinsics.Object[symbolForHarden] = tamedHarden;

  const hostIntrinsics = { __proto__: null };

  // The Node.js Buffer is a derived class of Uint8Array, and as such is often
  // passed around where a Uint8Array is expected.
  if (typeof globalThis.Buffer === 'function') {
    hostIntrinsics.Buffer = globalThis.Buffer;
  }

  /**
   * Wrap console unless suppressed.
   * At the moment, the console is considered a host power in the start
   * compartment, and not a primordial. Hence it is absent from the whilelist
   * and bypasses the intrinsicsCollector.
   *
   * @type {((error: any) => string | undefined) | undefined}
   */
  let optGetStackString;
  if (errorTaming === 'safe') {
    optGetStackString = intrinsics['%InitialGetStackString%'];
  }
  const consoleRecord = tameConsole(
    consoleTaming,
    errorTrapping,
    unhandledRejectionTrapping,
    optGetStackString,
  );
  globalThis.console = /** @type {Console} */ (consoleRecord.console);

  // The untamed Node.js console cannot itself be hardened as it has mutable
  // internal properties, but some of these properties expose internal versions
  // of classes from node's "primordials" concept.
  // eslint-disable-next-line no-underscore-dangle
  if (typeof (/** @type {any} */ (consoleRecord.console)._times) === 'object') {
    // SafeMap is a derived Map class used internally by Node
    // There doesn't seem to be a cleaner way to reach it.
    hostIntrinsics.SafeMap = getPrototypeOf(
      // eslint-disable-next-line no-underscore-dangle
      /** @type {any} */ (consoleRecord.console)._times,
    );
  }

  // The default `assert` installed by `assert-shim.js` does not redact errors,
  // leaving `lockdown` or `repairIntrinsics` with the obligation to replace it
  // with a redacting version, unless the caller opts-out with errorTaming set
  // to `unsafe` or `unsafe-debug`.
  // The inverse was true through version 1.13.0, except the configuration
  // was disregarded and the redacting `assert` left in place if lexical
  // `assert` differed from `globalThis.assert`.
  // @ts-ignore assert is absent on globalThis type def.
  if (errorTaming !== 'unsafe' && errorTaming !== 'unsafe-debug') {
    globalThis.assert = makeAssert();
  }

  // Replace *Locale* methods with their non-locale equivalents
  tameLocaleMethods(intrinsics, localeTaming);

  tameFauxDataProperties(intrinsics);

  /**
   * 2. Enforce PERMITS on shared intrinsics
   */

  // Remove non-standard properties.
  // All remaining functions encountered during whitelisting are
  // branded as honorary native functions.
  reportInGroup(
    'SES Removing unpermitted intrinsics',
    reporter,
    groupReporter =>
      removeUnpermittedIntrinsics(
        intrinsics,
        markVirtualizedNativeFunction,
        groupReporter,
      ),
  );

  // Initialize the powerful initial global, i.e., the global of the
  // start compartment, from the intrinsics.

  setGlobalObjectConstantProperties(globalThis);

  setGlobalObjectMutableProperties(globalThis, {
    intrinsics,
    newGlobalPropertyNames: initialGlobalPropertyNames,
    makeCompartmentConstructor,
    markVirtualizedNativeFunction,
  });

  if (
    evalTaming === 'no-eval' ||
    // deprecated
    evalTaming === 'noEval'
  ) {
    setGlobalObjectEvaluators(
      globalThis,
      noEvalEvaluate,
      markVirtualizedNativeFunction,
    );
  } else if (
    evalTaming === 'safe-eval' ||
    // deprecated
    evalTaming === 'safeEval'
  ) {
    const { safeEvaluate } = makeSafeEvaluator({ globalObject: globalThis });
    setGlobalObjectEvaluators(
      globalThis,
      safeEvaluate,
      markVirtualizedNativeFunction,
    );
  } else if (
    evalTaming === 'unsafe-eval' ||
    // deprecated
    evalTaming === 'unsafeEval'
  ) {
    // Leave eval function and Function constructor of the initial
    // compartment intact.
    // Other compartments will not have access to these evaluators unless a
    // guest program escapes containment.
  }

  /**
   * 3. HARDEN to share the intrinsics.
   *
   * We define hardenIntrinsics here so that options are in scope, but return
   * it to the caller because we intend to eventually allow vetted shims to run
   * between repairs and the hardening of intrinsics and so we can benchmark
   * repair separately from hardening.
   */

  const hardenIntrinsics = () => {
    priorHardenIntrinsics === undefined ||
      // eslint-disable-next-line @endo/no-polymorphic-call
      assert.fail(
        X`Already locked down at ${priorHardenIntrinsics} (SES_ALREADY_LOCKED_DOWN)`,
        TypeError,
      );
    // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_ALREADY_LOCKED_DOWN.md
    priorHardenIntrinsics = TypeError(
      'Prior lockdown (SES_ALREADY_LOCKED_DOWN)',
    );
    // Tease V8 to generate the stack string and release the closures the stack
    // trace retained:
    priorHardenIntrinsics.stack;

    // Circumvent the override mistake.
    // TODO consider moving this to the end of the repair phase, and
    // therefore before vetted shims rather than afterwards. It is not
    // clear yet which is better.
    // @ts-ignore enablePropertyOverrides does its own input validation
    reportInGroup('SES Enabling property overrides', reporter, groupReporter =>
      enablePropertyOverrides(
        intrinsics,
        overrideTaming,
        groupReporter,
        overrideDebug,
      ),
    );
    if (legacyRegeneratorRuntimeTaming === 'unsafe-ignore') {
      tameRegeneratorRuntime();
    }

    // Finally register and optionally freeze all the intrinsics. This
    // must be the operation that modifies the intrinsics.
    const toHarden = {
      intrinsics,
      hostIntrinsics,
      globals: {
        // Harden evaluators
        Function: globalThis.Function,
        eval: globalThis.eval,
        // @ts-ignore Compartment does exist on globalThis
        Compartment: globalThis.Compartment,

        // Harden Symbol
        Symbol: globalThis.Symbol,
      },
    };

    // Harden Symbol and properties for initialGlobalPropertyNames in the host realm
    for (const prop of getOwnPropertyNames(initialGlobalPropertyNames)) {
      toHarden.globals[prop] = globalThis[prop];
    }

    tamedHarden(toHarden);

    return tamedHarden;
  };

  return hardenIntrinsics;
};$h͏_once.repairIntrinsics(repairIntrinsics);
})()
,
// === 59. ses ./src/lockdown-shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,repairIntrinsics;$h͏_imports([["./assert-sloppy-mode.js", []],["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./lockdown.js", [["repairIntrinsics",[$h͏_a => (repairIntrinsics = $h͏_a)]]]]]);








/** @import {LockdownOptions} from '../types.js' */

/**
 * @param {LockdownOptions} [options]
 */
globalThis.lockdown = options => {
  const hardenIntrinsics = repairIntrinsics(options);
  globalThis.harden = hardenIntrinsics();
};

/**
 * @param {LockdownOptions} [options]
 */
globalThis.repairIntrinsics = options => {
  const hardenIntrinsics = repairIntrinsics(options);
  // Reveal hardenIntrinsics after repairs.
  globalThis.hardenIntrinsics = () => {
    // Reveal harden after hardenIntrinsics.
    // Harden is dangerous before hardenIntrinsics because hardening just
    // about anything will inadvertently render intrinsics irreparable.
    // Also, for modules that must work both before or after lockdown (code
    // that is portable between JS and SES), the existence of harden in global
    // scope signals whether such code should attempt to use harden in the
    // defense of its own API.
    // @ts-ignore harden not yet recognized on globalThis.
    globalThis.harden = hardenIntrinsics();
  };
};
})()
,
// === 60. ses ./src/compartment-shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,makeCompartmentConstructor,tameFunctionToString,getGlobalIntrinsics,chooseReporter;$h͏_imports([["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./compartment.js", [["makeCompartmentConstructor",[$h͏_a => (makeCompartmentConstructor = $h͏_a)]]]],["./tame-function-tostring.js", [["tameFunctionToString",[$h͏_a => (tameFunctionToString = $h͏_a)]]]],["./intrinsics.js", [["getGlobalIntrinsics",[$h͏_a => (getGlobalIntrinsics = $h͏_a)]]]],["./reporting.js", [["chooseReporter",[$h͏_a => (chooseReporter = $h͏_a)]]]]]);





const markVirtualizedNativeFunction = tameFunctionToString();

const muteReporter = chooseReporter('none');

// @ts-ignore Compartment is definitely on globalThis.
globalThis.Compartment = makeCompartmentConstructor(
  makeCompartmentConstructor,
  // Any reporting that would need to be done should have already been done
  // during `lockdown()`.
  // See https://github.com/endojs/endo/pull/2624#discussion_r1840979770
  getGlobalIntrinsics(globalThis, muteReporter),
  markVirtualizedNativeFunction,
  {
    enforceNew: true,
  },
);
})()
,
// === 61. ses ./src/assert-shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,makeAssert;$h͏_imports([["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./error/assert.js", [["makeAssert",[$h͏_a => (makeAssert = $h͏_a)]]]]]);


globalThis.assert = makeAssert(undefined, true);
})()
,
// === 62. ses ./src/console-shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let symbolFor,globalThis,defineCausalConsoleFromLogger,loggedErrorHandler;$h͏_imports([["./commons.js", [["symbolFor",[$h͏_a => (symbolFor = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./error/console.js", [["defineCausalConsoleFromLogger",[$h͏_a => (defineCausalConsoleFromLogger = $h͏_a)]]]],["./error/assert.js", [["loggedErrorHandler",[$h͏_a => (loggedErrorHandler = $h͏_a)]]]]]);



// TODO possible additional exports. Some are privileged.
// export { loggedErrorHandler };
// export {
//   makeCausalConsole,
//   consoleLevelMethods,
//   consoleOtherMethods,
//   makeLoggingConsoleKit,
//   filterConsole,
//   pumpLogToConsole,
// } from './src/error/console.js';
// export { assertLogs, throwsAndLogs } from './src/error/throws-and-logs.js';

/**
 * Makes a Console like the
 * [SES causal `console`](https://github.com/endojs/endo/blob/master/packages/ses/src/error/README.md)
 * but whose output is redirected to the supplied `logger` function.
 */
const makeCausalConsoleFromLoggerForSesAva =
  defineCausalConsoleFromLogger(loggedErrorHandler);

/**
 *`makeCausalConsoleFromLoggerForSesAva` is privileged because it exposes
 * unredacted error info onto the `Logger` provided by the caller. It
 * should not be made available to non-privileged code.
 *
 * Further, we consider this particular API choice to be experimental
 * and may change in the future. It is currently only intended for use by
 * `@endo/ses-ava`, with which it will be co-maintained.
 *
 * Thus, this `console-shim.js` makes `makeCausalConsoleFromLoggerForSesAva`
 * available on `globalThis` which it *assumes* is the global of the start
 * compartment and is therefore allowed to hold powers that should not be
 * available in constructed compartments. It makes it available as the value of
 * a global property named by a registered symbol named
 * `MAKE_CAUSAL_CONSOLE_FROM_LOGGER_KEY_FOR_SES_AVA`.
 *
 * Anyone accessing this, including `@endo/ses-ava`, should feature test for
 * this and be tolerant of its absence. It may indeed disappear from later
 * versions of the ses-shim.
 */
const MAKE_CAUSAL_CONSOLE_FROM_LOGGER_KEY_FOR_SES_AVA = symbolFor(
  'MAKE_CAUSAL_CONSOLE_FROM_LOGGER_KEY_FOR_SES_AVA',
);

globalThis[MAKE_CAUSAL_CONSOLE_FROM_LOGGER_KEY_FOR_SES_AVA] =
  makeCausalConsoleFromLoggerForSesAva;
})()
,
// === 63. ses ./index.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([["./src/lockdown-shim.js", []],["./src/compartment-shim.js", []],["./src/assert-shim.js", []],["./src/console-shim.js", []]]);
})()
,
])()
;/*! end SES */
(()=>{var __webpack_modules__={1090(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$N:()=>s,Hd:()=>r,NX:()=>a,xE:()=>i});var e=__webpack_require__(665812);let t=__webpack_require__(769233).O;function r(e,t={}){if(!e)return"<unknown>";try{let r=e;let s=[];let a=0;let i=0;let o=" > ".length;let l;let c=Array.isArray(t)?t:t.keyAttrs;let u=!Array.isArray(t)&&t.maxStringLength||80;while(r&&a++<5){if((l=n(r,c))==="html"||a>1&&i+s.length*o+l.length>=u)break;s.push(l),i+=l.length,r=r.parentNode}return s.reverse().join(" > ")}catch(e){return"<unknown>"}}function n(r,n){let s=[];if(!r||!r.tagName)return"";if(t.HTMLElement){if(r instanceof HTMLElement&&r.dataset){if(r.dataset["sentryComponent"])return r.dataset["sentryComponent"];if(r.dataset["sentryElement"])return r.dataset["sentryElement"]}}s.push(r.tagName.toLowerCase());let a=n&&n.length?n.filter(e=>r.getAttribute(e)).map(e=>[e,r.getAttribute(e)]):null;if(a&&a.length)a.forEach(e=>{s.push(`[${e[0]}="${e[1]}"]`)});else{r.id&&s.push(`#${r.id}`);let t=r.className;if(t&&(0,e.Kg)(t))for(let e of t.split(/\s+/))s.push(`.${e}`)}for(let e of["aria-label","type","name","title","alt"]){let t=r.getAttribute(e);t&&s.push(`[${e}="${t}"]`)}return s.join("")}function s(){try{return t.document.location.href}catch(e){return""}}function a(e){return t.document&&t.document.querySelector?t.document.querySelector(e):(0,null)}function i(e){if(!t.HTMLElement)return null;let r=e;for(let e=0;e<5;e++){if(!r)return null;if(r instanceof HTMLElement){if(r.dataset["sentryComponent"])return r.dataset["sentryComponent"];if(r.dataset["sentryElement"])return r.dataset["sentryElement"]}r=r.parentNode}return null}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},5152(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{r:()=>i});var e=__webpack_require__(665812);var t=__webpack_require__(605257);function r(t){return(0,e.bJ)(t)&&t.name==="ZodError"&&Array.isArray(t.errors)}function n(e){return{...e,path:"path"in e&&Array.isArray(e.path)?e.path.join("."):undefined,keys:"keys"in e?JSON.stringify(e.keys):undefined,unionErrors:"unionErrors"in e?JSON.stringify(e.unionErrors):undefined}}function s(e){let r=new Set;for(let t of e.issues)t.path&&t.path[0]&&r.add(t.path[0]);let n=Array.from(r);return`Failed to validate keys: ${(0,t.xv)(n.join(", "),100)}`}function a(e,t,a){return!t.exception||!t.exception.values||!a||!a.originalException||!r(a.originalException)||a.originalException.issues.length===0?t:(0,{...t,exception:{...t.exception,values:[{...t.exception.values[0],value:s(a.originalException)},...t.exception.values.slice(1)]},extra:{...t.extra,"zoderror.issues":a.originalException.errors.slice(0,e).map(n)}})}let i=(0,__webpack_require__(577102)._C)((e={})=>{let t=e.limit||10;return{name:"ZodErrors",processEvent(e,r){return a(t,e,r)}}})}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},6246(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B$:()=>o,ur:()=>i});var e=__webpack_require__(665812);var t=__webpack_require__(84607);var r=__webpack_require__(520348);var n=__webpack_require__(650773);var s=__webpack_require__(769233);var a=__webpack_require__(370861);function i(e,t){let r="fetch";(0,a.s5)(r,e),(0,a.AS)(r,()=>l(undefined,t))}function o(e){let t="fetch-body-resolved";(0,a.s5)(t,e),(0,a.AS)(t,()=>l(u))}function l(i,o=!1){if(o&&!(0,r.m7)())return;(0,t.GS)(s.O,"fetch",function(r){return function(...o){let{method:l,url:c}=m(o);let u={args:o,fetchData:{method:l,url:c},startTimestamp:(0,n.zf)()*1e3};!i&&(0,a.aj)("fetch",{...u});let h=new Error().stack;return r.apply(s.O,o).then(async e=>{return i?i(e):(0,a.aj)("fetch",{...u,endTimestamp:(0,n.zf)()*1e3,response:e}),e},r=>{throw(0,a.aj)("fetch",{...u,endTimestamp:(0,n.zf)()*1e3,error:r}),(0,e.bJ)(r)&&r.stack===undefined&&(r.stack=h,(0,t.my)(r,"framesToPop",1)),r})}})}async function c(e,t){if(e&&e.body){let r=e.body;let n=r.getReader();let s=setTimeout(()=>{r.cancel().then(null,()=>{})},90*1e3);let a=!0;while(a){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);let{done:s}=await n.read();clearTimeout(e),s&&(t(),a=!1)}catch(e){a=!1}finally{clearTimeout(e)}}clearTimeout(s),n.releaseLock(),r.cancel().then(null,()=>{})}}function u(e){let t;try{t=e.clone()}catch(e){return}c(t,()=>{(0,a.aj)("fetch-body-resolved",{endTimestamp:(0,n.zf)()*1e3,response:e})})}function h(e,t){return!!e&&typeof e=="object"&&!!e[t]}function d(e){return typeof e=="string"?e:(0,!e)?"":(0,h(e,"url"))?e.url:(0,e.toString)?e.toString():(0,"")}function m(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){let[t,r]=e;return{url:d(t),method:h(r,"method")?String(r.method).toUpperCase():"GET"}}let t=e[0];return{url:d(t),method:h(t,"method")?String(t.method).toUpperCase():"GET"}}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},14631(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>e});class e{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:(0,this.reason)}}}}).call(__webpack_require__._LM_("luxon",{__webpack_exports__,__webpack_require__}))()},14635(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{F:()=>y});var e=__webpack_require__(71337);var t=__webpack_require__(662925);var r=__webpack_require__(993671);var n=__webpack_require__(123532);var s=__webpack_require__(577102);var a=__webpack_require__(848294);var i=__webpack_require__(38561);var o=__webpack_require__(1090);var l=__webpack_require__(401967);var c=__webpack_require__(6246);var u=__webpack_require__(613608);var h=__webpack_require__(814508);var d=__webpack_require__(785755);var m=__webpack_require__(605257);var f=__webpack_require__(716547);var p=__webpack_require__(366523);var g=__webpack_require__(382128);let y=(0,s._C)((n={})=>{let s={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...n};return{name:"Breadcrumbs",setup(n){s.console&&(0,l.P)(k(n)),s.dom&&(0,e.i)(b(n,s.dom)),s.xhr&&(0,r.Mn)(w(n)),s.fetch&&(0,c.ur)(_(n)),s.history&&(0,t._)(S(n)),s.sentry&&n.on("beforeSendEvent",v(n))}}});function v(e){return function(t){if((0,n.KU)()!==e)return;(0,a.Z)({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:(0,h.$X)(t)},{event:t})}}function b(e,t){return function(r){if((0,n.KU)()!==e)return;let s;let i;let l=typeof t=="object"?t.serializeAttribute:undefined;let c=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:undefined;c&&c>1024&&(p.T&&u.vF.warn(`\`dom.maxStringLength\` cannot exceed ${"1024"}, but a value of ${c} was configured. Sentry will use ${"1024"} instead.`),c=1024),typeof l=="string"&&(l=[l]);try{let e=r.event;let t=T(e)?e.target:e;s=(0,o.Hd)(t,{keyAttrs:l,maxStringLength:c}),i=(0,o.xE)(t)}catch(e){s="<unknown>"}if(s.length===0)return;let h={category:`ui.${r.name}`,message:s};i&&(h.data={"ui.component_name":i}),(0,a.Z)(h,{event:r.event,name:r.name,global:r.global})}}function k(e){return function(t){if((0,n.KU)()!==e)return;let r={category:"console",data:{arguments:t.args,logger:"console"},level:(0,d.t)(t.level),message:(0,m.gt)(t.args," ")};if(t.level==="assert"){if(t.args[0]!==!1)return;r.message=`Assertion failed: ${(0,m.gt)(t.args.slice(1)," ")||"console.assert"}`,r.data.arguments=t.args.slice(1)}(0,a.Z)(r,{input:t.args,level:t.level})}}function w(e){return function(t){if((0,n.KU)()!==e)return;let{startTimestamp:s,endTimestamp:o}=t;let l=t.xhr[r.Er];if(!s||!o||!l)return;let{method:c,url:u,status_code:h,body:d}=l;let m={xhr:t.xhr,input:d,startTimestamp:s,endTimestamp:o};let f=(0,i.X)(h);(0,a.Z)({category:"xhr",data:{method:c,url:u,status_code:h},type:"http",level:f},m)}}function _(e){return function(t){if((0,n.KU)()!==e)return;let{startTimestamp:r,endTimestamp:s}=t;if(!s||t.fetchData.url.match(/sentry_key/)&&t.fetchData.method==="POST")return;if(t.error){let e=t.fetchData;let n={data:t.error,input:t.args,startTimestamp:r,endTimestamp:s};(0,a.Z)({category:"fetch",data:e,level:"error",type:"http"},n)}else{let e=t.response;let n={...t.fetchData,status_code:e&&e.status};let o={input:t.args,response:e,startTimestamp:r,endTimestamp:s};let l=(0,i.X)(n.status_code);(0,a.Z)({category:"fetch",data:n,type:"http",level:l},o)}}}function S(e){return function(t){if((0,n.KU)()!==e)return;let r=t.from;let s=t.to;let i=(0,f.Dl)(g.jf.location.href);let o=r?(0,f.Dl)(r):undefined;let l=(0,f.Dl)(s);(!o||!o.path)&&(o=i),i.protocol===l.protocol&&i.host===l.host&&(s=l.relative),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),(0,a.Z)({category:"navigation",data:{from:r,to:s}})}}function T(e){return!!e&&!!e.target}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},15797(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>e});let e="production"}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_exports__,__webpack_require__}))()},16478(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>t});var e=__webpack_require__(923533);let t=function(t){return typeof t=="string"&&e.A.test(t)}}}).call(__webpack_require__._LM_("uuid",{__webpack_require__,__webpack_exports__}))()},16905(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{f:()=>e,z:()=>t});let e={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}};let t={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},"4001":{standard:"EIP-1193",message:"User rejected the request."},"4100":{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},"4200":{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},"4900":{standard:"EIP-1193",message:"The provider is disconnected from all chains."},"4901":{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}}}}).call(__webpack_require__._LM_("@metamask/rpc-errors",{__webpack_exports__,__webpack_require__}))()},17072(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{BP:()=>s});var e=__webpack_require__(613608);var t=__webpack_require__(402228);var r=__webpack_require__(74263);var n=__webpack_require__(352158);function s(s){function a(...t){n.T&&e.vF.info("[Offline]:",...t)}return e=>{let n=s(e);if(!e.createStore)throw new Error("No `createStore` function was provided");let i=e.createStore(e);let o=5e3;let l;function c(r,n,s){return(0,t.hP)(r,["client_report"])?!1:(0,e.shouldStore)?e.shouldStore(r,n,s):(0,!0)}function u(e){l&&clearTimeout(l),typeof(l=setTimeout(async()=>{l=undefined;let e=await i.shift();e&&(a("Attempting to send previously queued event"),e[0].sent_at=new Date().toISOString(),d(e,!0).catch(e=>{a("Failed to retry sending",e)}))},e))!=="number"&&l.unref&&l.unref()}function h(){if(l)return;u(o),o=Math.min(o*2,36e5)}async function d(e,s=!1){if(!s&&(0,t.hP)(e,["replay_event","replay_recording"]))return await i.push(e),u(100),{};try{let t=await n.send(e);let s=100;if(t){if(t.headers&&t.headers["retry-after"])s=(0,r.FA)(t.headers["retry-after"]);else if(t.headers&&t.headers["x-sentry-rate-limits"])s=6e4;else if((t.statusCode||0)>=400)return t}return u(s),o=5e3,t}catch(t){if(await c(e,t,o))return s?await i.unshift(e):await i.push(e),h(),a("Error sending. Event queued.",t),{};throw t}}return e.flushAtStartup&&h(),{send:d,flush:e=>n.flush(e)}}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},19467(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{r:()=>d});var e=__webpack_require__(765698);var t=__webpack_require__(57324);var r=__webpack_require__(314408);var n=__webpack_require__(515400);var s=__webpack_require__(975431);var a=__webpack_require__(676979);var i=__webpack_require__(768571);let o=[200,500];let l=()=>{return(0,a.O)()-0};let c=[];let u={};let h=e=>{let t=c[c.length-1];let r=u[e.interactionId];if(r||c.length<10||t&&e.duration>t.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};u[t.id]=t,c.push(t)}c.sort((e,t)=>t.latency-e.latency),c.splice(10).forEach(e=>{delete u[e.id]})}};let d=(u,d={})=>{(0,i.I)(()=>{(0,a.D)();let i=(0,r.X)("INP");let m;let f=e=>{e.forEach(e=>{e.interactionId&&h(e),e.entryType==="first-input"&&!c.some(t=>{return t.entries.some(t=>{return e.duration===t.duration&&e.startTime===t.startTime})})&&h(e)});let t=(()=>{let e=Math.min(c.length-1,Math.floor(l()/50));return c[e]})();t&&t.latency!==i.value&&(i.value=t.latency,i.entries=t.entries,m())};let p=(0,n.l)("event",f,{durationThreshold:d.durationThreshold!=null?d.durationThreshold:40});m=(0,t.R)(u,i,o,d.reportAllChanges),p&&("PerformanceEventTiming"in e.j&&"interactionId"in PerformanceEventTiming.prototype&&p.observe({type:"first-input",buffered:!0}),(0,s.Q)(()=>{f(p.takeRecords()),i.value<0&&l()>0&&(i.value=0,i.entries=[]),m(!0)}))})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},29947(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>c,s:()=>m});var e=__webpack_require__(552558);var t=undefined||function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)};var r=undefined||function(e,t,r,n,s){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?s.call(e,r):s?s.value=r:t.set(e,r),r};var n,s,a,i,o;let l=["clearState","addSubjectMetadata","getSubjectMetadata","trimMetadataState"];var c;var u;(u=c||(c={}))["Extension"]="extension",u["Internal"]="internal",u["Unknown"]="unknown",u["Website"]="website",u["Snap"]="snap";let h={subjectMetadata:{includeInStateLogs:!0,persist:!0,includeInDebugSnapshot:!1,usedInUi:!0}};let d={subjectMetadata:{}};class m extends e.w{constructor({messenger:e,subjectCacheLimit:c,state:u={}}){if(!Number.isInteger(c)||c<1)throw new Error(`subjectCacheLimit must be a positive integer. Received: "${c}"`);let d=t=>{return e.call("PermissionController:hasPermissions",t)};super({name:"SubjectMetadataController",metadata:h,messenger:e,state:{...t(n,n,"m",o).call(n,u,d)}}),s.set(this,void 0),a.set(this,void 0),i.set(this,void 0),r(this,i,d,"f"),r(this,s,c,"f"),r(this,a,new Set,"f"),this.messenger.registerMethodActionHandlers(this,l)}clearState(){t(this,a,"f").clear(),this.update(e=>{return{...d}})}addSubjectMetadata(e){let{origin:r}=e;let n={...e,extensionId:e.extensionId??null,iconUrl:e.iconUrl??null,name:e.name??null,subjectType:e.subjectType??null};let o=null;if(t(this,a,"f").size>=t(this,s,"f")){let e=t(this,a,"f").values().next().value;t(this,a,"f").delete(e),!t(this,i,"f").call(this,e)&&(o=e)}t(this,a,"f").add(r),this.update(e=>{e.subjectMetadata[r]=n,typeof o=="string"&&delete e.subjectMetadata[o]})}getSubjectMetadata(e){return this.state.subjectMetadata[e]}trimMetadataState(){this.update(()=>{return t(n,n,"m",o).call(n,this.state,t(this,i,"f"))})}}n=m,s=new WeakMap,a=new WeakMap,i=new WeakMap,o=function(e,t){let{subjectMetadata:r={}}=e;return{subjectMetadata:Object.keys(r).reduce((e,n)=>{return t(n)&&(e[n]=r[n]),e},{})}}}}).call(__webpack_require__._LM_("@metamask/permission-controller",{__webpack_require__,__webpack_exports__}))()},33040(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>o,Kk:()=>s,Tn:()=>a,kD:()=>i,rv:()=>l});var e=__webpack_require__(827284);var t=__webpack_require__(123532);var r=__webpack_require__(682631);var n=__webpack_require__(765698);function s(e){return typeof e=="number"&&isFinite(e)}function a(t,n,s,{...a}){let i=(0,r.et)(t).start_timestamp;return i&&i>n&&typeof t.updateStartTime=="function"&&t.updateStartTime(n),(0,e.hb)(t,()=>{let t=(0,e.Uk)({startTime:n,...a});return t&&t.end(s),t})}function i(r){let s=(0,t.KU)();if(!s)return;let{name:a,transaction:i,attributes:o,startTime:l}=r;let{release:c,environment:u}=s.getOptions();let h=s.getIntegrationByName("Replay");let d=h&&h.getReplayId();let m=(0,t.o5)();let f=m.getUser();let p=f!==undefined?f.email||f.id||f.ip_address:undefined;let g;try{g=m.getScopeData().contexts.profile.profile_id}catch(e){}let y={release:c,environment:u,user:p||undefined,profile_id:g||undefined,replay_id:d||undefined,transaction:i,"user_agent.original":n.j.navigator&&n.j.navigator.userAgent,...o};return(0,e.Uk)({name:a,attributes:y,startTime:l,experimental:{standalone:!0}})}function o(){return n.j&&n.j.addEventListener&&n.j.performance}function l(e){return e/1e3}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},38561(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){return e===undefined?undefined:(0,e>=400&&e<500)?"warning":(0,e>=500)?"error":(0,undefined)}__webpack_require__.d(__webpack_exports__,{X:()=>e})}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},39859(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>c});var e=__webpack_require__(665812);var t=__webpack_require__(671480);var r=__webpack_require__(665016);var n=__webpack_require__(943924);class s{constructor(e,t){let n;n=e||new r.H;let s;s=t||new r.H,this._stack=[{scope:n}],this._isolationScope=s}withScope(t){let r=this._pushScope();let n;try{n=t(r)}catch(e){throw this._popScope(),e}return(0,e.Qg)(n)?n.then(e=>{return this._popScope(),e},e=>{throw this._popScope(),e}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:(0,!!this._stack.pop())}}function a(){let e=(0,n.E)();let r=(0,n.S)(e);return r.stack=r.stack||new s((0,t.r)(),(0,t.q)())}function i(e){return a().withScope(e)}function o(e,t){let r=a();return r.withScope(()=>{return r.getStackTop().scope=e,t(e)})}function l(e){return a().withScope(()=>{return e(a().getIsolationScope())})}function c(){return{withIsolationScope:l,withScope:i,withSetScope:o,withSetIsolationScope:(e,t)=>{return l(t)},getCurrentScope:()=>a().getScope(),getIsolationScope:()=>a().getIsolationScope()}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},43417(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Qb:()=>w,h$:()=>k});var e=__webpack_require__(821396);var t=__webpack_require__(993671);var r=__webpack_require__(911216);var n=__webpack_require__(276435);var s=__webpack_require__(827284);var a=__webpack_require__(98154);var i=__webpack_require__(78463);var o=__webpack_require__(123532);var l=__webpack_require__(548697);var c=__webpack_require__(682631);var u=__webpack_require__(704776);var h=__webpack_require__(6246);var d=__webpack_require__(605257);var m=__webpack_require__(650773);var f=__webpack_require__(973544);var p=__webpack_require__(566612);var g=__webpack_require__(716547);var y=__webpack_require__(382128);let v=new WeakMap;let b=new Map;let k={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function w(e,r){let{traceFetch:n,traceXHR:s,shouldCreateSpanForRequest:a,enableHTTPTimings:i,tracePropagationTargets:o}={traceFetch:k.traceFetch,traceXHR:k.traceXHR,...r};let l=typeof a=="function"?a:e=>!0;let c=e=>j(e,o);let d={};n&&(e.addEventProcessor(e=>{return e.type==="transaction"&&e.spans&&e.spans.forEach(e=>{if(e.op==="http.client"){let t=b.get(e.span_id);t&&(e.timestamp=t/1e3,b.delete(e.span_id))}}),e}),(0,h.B$)(e=>{if(e.response){let t=v.get(e.response);t&&e.endTimestamp&&b.set(t,e.endTimestamp)}}),(0,h.ur)(e=>{let t=(0,u.v)(e,l,c,d);if(e.response&&e.fetchData.__span&&v.set(e.response,e.fetchData.__span),t){let r=I(e.fetchData.url);let n=r?(0,g.Dl)(r).host:undefined;t.setAttributes({"http.url":r,"server.address":n})}i&&t&&S(t)})),s&&(0,t.Mn)(e=>{let t=A(e,l,c,d);i&&t&&S(t)})}function _(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function S(t){let{url:r}=(0,c.et)(t).data||{};if(!r||typeof r!=="string")return;let n=(0,e.wv)("resource",({entries:e})=>{e.forEach(e=>{_(e)&&e.name.endsWith(r)&&(E(e).forEach(e=>t.setAttribute(...e)),setTimeout(n))})})}function T(e){let t="unknown";let r="unknown";let n="";for(let s of e){if(s==="/"){[t,r]=e.split("/");break}if(!isNaN(Number(s))){t=n==="h"?"http":n,r=e.split(n)[1];break}n+=s}return n===e&&(t=n),{name:t,version:r}}function x(e=0){return((m.k3||performance.timeOrigin)+e)/1e3}function E(e){let{name:t,version:r}=T(e.nextHopProtocol);let n=[];return(n.push(["network.protocol.version",r],["network.protocol.name",t]),!m.k3)?n:(0,[...n,["http.request.redirect_start",x(e.redirectStart)],["http.request.fetch_start",x(e.fetchStart)],["http.request.domain_lookup_start",x(e.domainLookupStart)],["http.request.domain_lookup_end",x(e.domainLookupEnd)],["http.request.connect_start",x(e.connectStart)],["http.request.secure_connection_start",x(e.secureConnectionStart)],["http.request.connection_end",x(e.connectEnd)],["http.request.request_start",x(e.requestStart)],["http.request.response_start",x(e.responseStart)],["http.request.response_end",x(e.responseEnd)]])}function j(e,t){let r=y.jf.location&&y.jf.location.href;if(r){let n;let s;try{n=new URL(e,r),s=new URL(r).origin}catch(e){return!1}let a=n.origin===s;return!t?a:(0,(0,d.Xr)(n.toString(),t)||a&&(0,d.Xr)(n.pathname,t))}{let r=!!e.match(/^\/(?!\/)/);return!t?r:(0,(0,d.Xr)(e,t))}}function A(e,a,u,h){let d=e.xhr;let m=d&&d[t.Er];if(!d||d.__sentry_own_request__||!m)return undefined;let f=(0,l.w)()&&a(m.url);if(e.endTimestamp&&f){let e=d.__sentry_xhr_span_id__;if(!e)return;let t=h[e];return t&&m.status_code!==undefined&&((0,n.N8)(t,m.status_code),t.end(),delete h[e]),undefined}let p=I(m.url);let y=p?(0,g.Dl)(p).host:undefined;let v=!!(0,c.Bk)();let b=f&&v?(0,s.Uk)({name:`${m.method} ${m.url}`,attributes:{type:"xhr","http.method":m.method,"http.url":p,url:m.url,"server.address":y,[i.JD]:"auto.http.browser",[i.uT]:"http.client"}}):new r.w;d.__sentry_xhr_span_id__=b.spanContext().spanId,h[d.__sentry_xhr_span_id__]=b;let k=(0,o.KU)();return d.setRequestHeader&&u(m.url)&&k&&C(d,k,(0,l.w)()&&v?b:undefined),b}function C(e,t,r){let n=(0,o.o5)();let{traceId:s,spanId:i,sampled:u,dsc:h}={...(0,o.rm)().getPropagationContext(),...n.getPropagationContext()};M(e,r&&(0,l.w)()?(0,c.Qh)(r):(0,f.TC)(s,i,u),(0,p.De)(h||(r?(0,a.k1)(r):(0,a.lF)(s,t))))}function M(e,t,r){try{e.setRequestHeader("sentry-trace",t),r&&e.setRequestHeader(p.hF,r)}catch(e){}}function I(e){try{return new URL(e,y.jf.location.origin).href}catch(e){return undefined}}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},45217(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{t:()=>s});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);let s=(0,t.kp)(n.Wu,(0,e.Ik)({type:(0,r.eu)(n.Z6.Spinner)}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},51450(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{b:()=>t});var e=__webpack_require__(234512);let t=()=>{let t=(0,e.z)();return t&&t.activationStart||0}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},52018(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>f});var e=__webpack_require__(613608);var t=__webpack_require__(814508);var r=__webpack_require__(84607);var n=__webpack_require__(650773);var s=__webpack_require__(123532);var a=__webpack_require__(352158);var i=__webpack_require__(713966);var o=__webpack_require__(355989);var l=__webpack_require__(78463);var c=__webpack_require__(682631);var u=__webpack_require__(98154);var h=__webpack_require__(664746);var d=__webpack_require__(468417);var m=__webpack_require__(709356);class f{constructor(e={}){this._traceId=e.traceId||(0,t.eJ)(),this._spanId=e.spanId||(0,t.eJ)().substring(16),this._startTime=e.startTimestamp||(0,n.zf)(),this._attributes={},this.setAttributes({[l.JD]:"manual",[l.uT]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this}addLinks(e){return this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?c.aO:c.CC}}setAttribute(e,t){return t===undefined?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,c.cI)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this}end(e){if(this._endTime)return;this._endTime=(0,c.cI)(e),(0,h.U)(this),this._onSpanEnded()}getSpanJSON(){return(0,r.Ce)({data:this._attributes,description:this._name,op:this._attributes[l.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,c.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[l.JD],_metrics_summary:(0,o.g)(this),profile_id:this._attributes[l.E1],exclusive_time:this._attributes[l.jG],measurements:(0,d.$)(this._events),is_segment:this._isStandaloneSpan&&(0,c.zU)(this)===this||undefined,segment_id:this._isStandaloneSpan?(0,c.zU)(this).spanContext().spanId:undefined})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,r,s){a.T&&e.vF.log("[Tracing] Adding an event to span:",t);let i=p(r)?r:s||(0,n.zf)();let o=p(r)?{}:r||{};let l={name:t,time:(0,c.cI)(i),attributes:o};return this._events.push(l),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=(0,s.KU)();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,c.zU)(this)))return;if(this._isStandaloneSpan){this._sampled?v((0,i.lu)([this],t)):(a.T&&e.vF.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}let r=this._convertSpanToTransaction();r&&((0,m.Lb)(this).scope||(0,s.o5)()).captureEvent(r)}_convertSpanToTransaction(){if(!g((0,c.et)(this)))return undefined;!this._name&&(a.T&&e.vF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:n}=(0,m.Lb)(this);let i=(t||(0,s.o5)()).getClient()||(0,s.KU)();if(this._sampled!==!0)return a.T&&e.vF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),i&&i.recordDroppedEvent("sample_rate","transaction"),undefined;let h=(0,c.xO)(this).filter(e=>e!==this&&!y(e)).map(e=>(0,c.et)(e)).filter(g);let f=this._attributes[l.i_];let p={contexts:{trace:(0,c.Ck)(this)},spans:h.length>1e3?h.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):h,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,...(0,r.Ce)({dynamicSamplingContext:(0,u.k1)(this)})},_metrics_summary:(0,o.g)(this),...f&&{transaction_info:{source:f}}};let v=(0,d.$)(this._events);return v&&Object.keys(v).length&&(a.T&&e.vF.log("[Measurements] Adding measurements to transaction event",JSON.stringify(v,undefined,2)),p.measurements=v),p}}function p(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function g(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function y(e){return e instanceof f&&e.isStandaloneSpan()}function v(t){let r=(0,s.KU)();if(!r)return;let n=t[1];if(!n||n.length===0){r.recordDroppedEvent("before_send","span");return}let i=r.getTransport();i&&i.send(t).then(null,t=>{a.T&&e.vF.error("Error while sending span:",t)})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},56680(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>e});let e=e=>{let t=!1;return r=>{!t&&(e(r),t=!0)}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},57324(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>e});let e=(e,t,r,n)=>{let s;let a;return i=>{if(t.value>=0){if(i||n){if((a=t.value-(s||0))||s===undefined){var o;s=t.value,t.delta=a,o=t.value,t.rating=o>r[1]?"poor":(0,o>r[0])?"needs-improvement":(0,"good"),e(t)}}}}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},59824(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>o});var e=__webpack_require__(665812);var t=__webpack_require__(613608);var r=__webpack_require__(879561);var n=__webpack_require__(84607);var s=__webpack_require__(605257);var a=__webpack_require__(577102);var i=__webpack_require__(352158);let o=(0,a._C)((e={})=>{let{depth:t=3,captureErrorCause:r=!0}=e;return{name:"ExtraErrorData",processEvent(e,n,s){let{maxValueLength:a=250}=s.getOptions();return l(e,n,t,r,a)}}});function l(t,s={},a,i,o){if(!s.originalException||!(0,e.bJ)(s.originalException))return t;let u=s.originalException.name||s.originalException.constructor.name;let h=c(s.originalException,i,o);if(h){let s={...t.contexts};let i=(0,r.S8)(h,a);return(0,e.Qd)(i)&&((0,n.my)(i,"__sentry_skip_normalization__",!0),s[u]=i),{...t,contexts:s}}return t}function c(r,n,a){try{let t=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"];let i={};for(let n of Object.keys(r)){if(t.indexOf(n)!==-1)continue;let o=r[n];i[n]=(0,e.bJ)(o)||typeof o=="string"?(0,s.xv)(`${o}`,a):o}if(n&&r.cause!==undefined&&(i.cause=(0,e.bJ)(r.cause)?r.cause.toString():r.cause),typeof r.toJSON=="function"){let t=r.toJSON();for(let r of Object.keys(t)){let n=t[r];i[r]=(0,e.bJ)(n)?n.toString():n}}return i}catch(e){i.T&&t.vF.error("Unable to extract extra data from the Error object:",e)}return null}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},71337(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{i:()=>o});var e=__webpack_require__(370861);var t=__webpack_require__(814508);var r=__webpack_require__(84607);var n=__webpack_require__(765698);let s;let a;let i;function o(t){(0,e.s5)("dom",t),(0,e.AS)("dom",l)}function l(){if(!n.j.document)return;let t=e.aj.bind(null,"dom");let s=h(t,!0);n.j.document.addEventListener("click",s,!1),n.j.document.addEventListener("keypress",s,!1),["EventTarget","Node"].forEach(e=>{let s=n.j[e]&&n.j[e].prototype;if(!s||!s.hasOwnProperty||!s.hasOwnProperty("addEventListener"))return;(0,r.GS)(s,"addEventListener",function(e){return function(r,n,s){if(r==="click"||r=="keypress")try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{};let a=n[r]=n[r]||{refCount:0};if(!a.handler){let n=h(t);a.handler=n,e.call(this,r,n,s)}a.refCount++}catch(e){}return e.call(this,r,n,s)}}),(0,r.GS)(s,"removeEventListener",function(e){return function(t,r,n){if(t==="click"||t=="keypress")try{let r=this.__sentry_instrumentation_handlers__||{};let s=r[t];s&&(s.refCount--,s.refCount<=0&&(e.call(this,t,s.handler,n),s.handler=undefined,delete r[t]),Object.keys(r).length===0&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,r,n)}})})}function c(e){if(e.type!==a)return!1;try{if(!e.target||e.target._sentryId!==i)return!1}catch(e){}return!0}function u(e,t){return e!=="keypress"?!1:(0,!t||!t.tagName)?!0:(0,t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)?!1:(0,!0)}function h(e,o=!1){return l=>{if(!l||l["_sentryCaptured"])return;let h=d(l);if(u(l.type,h))return;(0,r.my)(l,"_sentryCaptured",!0),h&&!h._sentryId&&(0,r.my)(h,"_sentryId",(0,t.eJ)());let m=l.type==="keypress"?"input":l.type;!c(l)&&(e({event:l,name:m,global:o}),a=l.type,i=h?h._sentryId:undefined),clearTimeout(s),s=n.j.setTimeout(()=>{i=undefined,a=undefined},1e3)}}function d(e){try{return e.target}catch(e){return null}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},74263(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{FA:()=>t,Jz:()=>n,wq:()=>s});let e=60*1e3;function t(r,n=Date.now()){let s=parseInt(`${r}`,10);if(!isNaN(s))return s*1e3;let a=Date.parse(`${r}`);return!isNaN(a)?a-n:(0,e)}function r(e,t){return e[t]||e.all||0}function n(e,t,s=Date.now()){return r(e,t)>s}function s(e,{statusCode:r,headers:n},a=Date.now()){let i={...e};let o=n&&n["x-sentry-rate-limits"];let l=n&&n["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,r,,,n]=e.split(":",5);let s=parseInt(t,10);let o=(!isNaN(s)?s:60)*1e3;if(r)for(let e of r.split(";"))e==="metric_bucket"?(!n||n.split(";").includes("custom"))&&(i[e]=a+o):i[e]=a+o;else i.all=a+o}else l?i.all=a+t(l,a):r===429&&(i.all=a+60*1e3);return i}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},74342(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{qd:()=>a,wg:()=>o,y7:()=>i});var e=__webpack_require__(613608);var t=__webpack_require__(520348);var r=__webpack_require__(814601);var n=__webpack_require__(765698);let s={};function a(a){let i=s[a];if(i)return i;let o=n.j[a];if((0,t.a3)(o))return s[a]=o.bind(n.j);let l=n.j.document;if(l&&typeof l.createElement=="function")try{let e=l.createElement("iframe");e.hidden=!0,l.head.appendChild(e);let t=e.contentWindow;t&&t[a]&&(o=t[a]),l.head.removeChild(e)}catch(t){r.T&&e.vF.warn(`Could not create sandbox iframe for ${a} check, bailing to window.${a}: `,t)}return!o?o:(0,s[a]=o.bind(n.j))}function i(e){s[e]=undefined}function o(...e){return a("setTimeout")(...e)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},78463(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E1:()=>o,JD:()=>n,Sn:()=>a,fs:()=>s,i_:()=>e,jG:()=>l,sy:()=>t,uT:()=>r,xc:()=>i});let e="sentry.source";let t="sentry.sample_rate";let r="sentry.op";let n="sentry.origin";let s="sentry.idle_span_finish_reason";let a="sentry.measurement_unit";let i="sentry.measurement_value";let o="sentry.profile_id";let l="sentry.exclusive_time"}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_exports__,__webpack_require__}))()},78565(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>n});var e=__webpack_require__(600473);function t(t,r){let n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=n(r)-n(t);return Math.floor(e.Ay.fromMillis(s).as("days"))}function r(e,r,n){let s={};let a=e;let i,o;for(let[l,c]of[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],["months",(e,t)=>t.month-e.month+(t.year-e.year)*12],["weeks",(e,r)=>{let n=t(e,r);return(n-n%7)/7}],["days",t]])n.indexOf(l)>=0&&(i=l,s[l]=c(e,r),(o=a.plus(s))>r?(s[l]--,(e=a.plus(s))>r&&(o=e,s[l]--,e=a.plus(s))):e=o);return[e,s,o,i]}function n(t,n,s,a){let[i,o,l,c]=r(t,n,s);let u=n-i;let h=s.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);h.length===0&&(l<n&&(l=i.plus({[c]:1})),l!==i&&(o[c]=(o[c]||0)+u/(l-i)));let d=e.Ay.fromObject(o,a);return h.length>0?e.Ay.fromMillis(u,a).shiftTo(...h).plus(d):(0,d)}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},84607(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ce:()=>f,GS:()=>a,HF:()=>m,W4:()=>u,my:()=>i,pO:()=>o,sp:()=>l,u4:()=>c});var e=__webpack_require__(1090);var t=__webpack_require__(462128);var r=__webpack_require__(665812);var n=__webpack_require__(613608);var s=__webpack_require__(605257);function a(e,t,r){if(!(t in e))return;let n=e[t];let s=r(n);typeof s=="function"&&o(s,n),e[t]=s}function i(e,r,s){try{Object.defineProperty(e,r,{value:s,writable:!0,configurable:!0})}catch(s){t.T&&n.vF.log(`Failed to add non-enumerable property "${r}" to object`,e)}}function o(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,i(e,"__sentry_original__",t)}catch(e){}}function l(e){return e.__sentry_original__}function c(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function u(e){if((0,r.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...d(e)};if(!(0,r.xH)(e))return e;{let t={type:e.type,target:h(e.target),currentTarget:h(e.currentTarget),...d(e)};return typeof CustomEvent!=="undefined"&&(0,r.tH)(e,CustomEvent)&&(t.detail=e.detail),t}}function h(t){try{return(0,r.vq)(t)?(0,e.Hd)(t):Object.prototype.toString.call(t)}catch(e){return"<unknown>"}}function d(e){if(typeof e!="object"||e===null)return{};{let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}}function m(e,t=40){let r=Object.keys(u(e));r.sort();let n=r[0];if(!n)return"[object has no keys]";if(n.length>=t)return(0,s.xv)(n,t);for(let e=r.length;e>0;e--){let n=r.slice(0,e).join(", ");if(n.length>t)continue;if(e===r.length)return n;return(0,s.xv)(n,t)}return""}function f(e){return p(e,new Map)}function p(e,t){if(g(e)){let r=t.get(e);if(r!==undefined)return r;let n={};for(let r of(t.set(e,n),Object.getOwnPropertyNames(e)))e[r]!==void 0&&(n[r]=p(e[r],t));return n}if(Array.isArray(e)){let r=t.get(e);if(r!==undefined)return r;let n=[];return t.set(e,n),e.forEach(e=>{n.push(p(e,t))}),n}return e}function g(e){if(!(0,r.Qd)(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch(e){return!0}}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},96434(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{f:()=>i});var e=__webpack_require__(577102);var t=__webpack_require__(682631);var r=__webpack_require__(613608);var n=__webpack_require__(366523);var s=__webpack_require__(538564);var a=__webpack_require__(606189);let i=(0,e._C)(()=>{return{name:"BrowserProfiling",setup(e){let i=(0,t.Bk)();let o=i&&(0,t.zU)(i);o&&(0,a.c4)(o)&&(0,a.Xu)(o)&&(0,s.H)(o),e.on("spanStart",e=>{e===(0,t.zU)(e)&&(0,a.Xu)(e)&&(0,s.H)(e)}),e.on("beforeEnvelope",e=>{if(!(0,a.ex)())return;let t=(0,a.WK)(e);if(!t.length)return;let s=[];for(let e of t){let t=e&&e.contexts;let i=t&&t["profile"]&&t["profile"]["profile_id"];let o=t&&t["profile"]&&t["profile"]["start_timestamp"];if(typeof i!=="string"||!i){n.T&&r.vF.log("[Profiling] cannot find profile for a span without a profile context");continue}t&&t["profile"]&&delete t.profile;let l=(0,a.ws)(i);if(!l){n.T&&r.vF.log(`[Profiling] Could not retrieve profile for span: ${i}`);continue}let c=(0,a.Bj)(i,o,l,e);c&&s.push(c)}(0,a.lV)(e,s)})}}})}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},98154(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{HW:()=>h,LZ:()=>l,k1:()=>u,lF:()=>c});var e=__webpack_require__(84607);var t=__webpack_require__(566612);var r=__webpack_require__(15797);var n=__webpack_require__(123532);var s=__webpack_require__(78463);var a=__webpack_require__(548697);var i=__webpack_require__(682631);let o="_frozenDsc";function l(t,r){(0,e.my)(t,o,r)}function c(t,n){let s=n.getOptions();let{publicKey:a}=n.getDsn()||{};let i=(0,e.Ce)({environment:s.environment||r.U,release:s.release,public_key:a,trace_id:t});return n.emit("createDsc",i),i}function u(e){let r=(0,n.KU)();if(!r)return{};let l=c((0,i.et)(e).trace_id||"",r);let u=(0,i.zU)(e);let h=u[o];if(h)return h;let d=u.spanContext().traceState;let m=d&&d.get("sentry.dsc");let f=m&&(0,t.yD)(m);if(f)return f;let p=(0,i.et)(u);let g=p.data||{};let y=g[s.sy];y!=null&&(l.sample_rate=`${y}`);let v=g[s.i_];let b=p.description;return v!=="url"&&b&&(l.transaction=b),(0,a.w)()&&(l.sampled=String((0,i.pK)(u))),r.emit("createDsc",l,u),l}function h(e){let r=u(e);return(0,t.De)(r)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},100209(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>i,w:()=>a});var e=__webpack_require__(115691);var t=undefined||function(e,t,r,n,s){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?s.call(e,r):s?s.value=r:t.set(e,r),r};var r=undefined||function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)};var n,s;(0,e.YT)();class a{constructor({messenger:a,metadata:i,name:o,state:l}){n.set(this,void 0),s.set(this,void 0),t(this,s,a,"f"),this.messenger=a,this.name=o,t(this,n,(0,e.CN)(l,!0),"f"),this.metadata=i,r(this,s,"f").registerActionHandler(`${o}:getState`,()=>this.state),r(this,s,"f").registerInitialEventPayload({eventType:`${o}:stateChange`,getPayload:()=>[this.state,[]]}),r(this,s,"f").registerInitialEventPayload({eventType:`${o}:stateChanged`,getPayload:()=>[this.state,[]]})}get state(){return r(this,n,"f")}set state(e){throw new Error(`Controller state cannot be directly mutated; use 'update' method instead.`)}update(a){let[i,o,l]=(0,e.vI)(r(this,n,"f"),a);return o.length>0&&(t(this,n,i,"f"),r(this,s,"f").publish(`${this.name}:stateChange`,i,o),r(this,s,"f").publish(`${this.name}:stateChanged`,i,o)),{nextState:i,patches:o,inversePatches:l}}applyPatches(a){let i=(0,e.$i)(r(this,n,"f"),a);t(this,n,i,"f"),r(this,s,"f").publish(`${this.name}:stateChange`,i,a),r(this,s,"f").publish(`${this.name}:stateChanged`,i,a)}destroy(){this.messenger.clearEventSubscriptions(`${this.name}:stateChange`),this.messenger.clearEventSubscriptions(`${this.name}:stateChanged`)}}function i(e,t,r,n){return Object.keys(e).reduce((s,a)=>{try{let n=t[a];if(!n)throw new Error(`No metadata found for '${String(a)}'`);let i=n[r];let o=e[a];return typeof i=="function"?s[a]=i(o):i&&(s[a]=o),s}catch(e){if(n)try{n(e instanceof Error?e:new Error(String(e)))}catch(t){console.error(new Error(`Error thrown when calling 'captureException'`),t),console.error(e)}else console.error(e);return s}},{})}n=new WeakMap,s=new WeakMap}}).call(__webpack_require__._LM_("@metamask/base-controller",{__webpack_require__,__webpack_exports__}))()},105557(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e({getAnalyticsState:e,log:t}){return{name:"MetaMetrics",processEvent:async(r,n,s)=>{let a=await e();return!a?.completedMetaMetricsOnboarding||!a.optedIn?(t("Event dropped as metrics disabled"),null):(a.analyticsId&&(r.user={...r.user,id:a.analyticsId}),r)}}}__webpack_require__.d(__webpack_exports__,{t:()=>e})}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},108120(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>r});var e=__webpack_require__(413279);var t=__webpack_require__.n(e);function r(){return!1||!t().runtime.getManifest?{}:(0,t().runtime.getManifest()._flags||{})}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},109910(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>e});let e="8.33.1"}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},112471(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>n});var e=__webpack_require__(16478);var t=[];for(var r=0;r<256;++r)t.push((r+256).toString(16).substr(1));let n=function(r){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;var s=(t[r[n+0]]+t[r[n+1]]+t[r[n+2]]+t[r[n+3]]+"-"+t[r[n+4]]+t[r[n+5]]+"-"+t[r[n+6]]+t[r[n+7]]+"-"+t[r[n+8]]+t[r[n+9]]+"-"+t[r[n+10]]+t[r[n+11]]+t[r[n+12]]+t[r[n+13]]+t[r[n+14]]+t[r[n+15]]).toLowerCase();if(!(0,e.A)(s))throw TypeError("Stringified UUID is invalid");return s}}}).call(__webpack_require__._LM_("uuid",{__webpack_require__,__webpack_exports__}))()},115691(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw!1,Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function t(e){return!!e&&!!e[G]}function r(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===V}(e)||Array.isArray(e)||!!e[B]||!!((t=e.constructor)==null?void 0:t[B])||c(e)||u(e))}function n(e,t,r){void 0===r&&(r=!1),0===s(e)?(r?Object.keys:Y)(e).forEach(function(n){r&&"symbol"==typeof n||t(n,e[n],e)}):e.forEach(function(r,n){return t(n,r,e)})}function s(e){var t=e[G];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:c(e)?2:u(e)?3:0}function a(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function i(e,t){return 2===s(e)?e.get(t):e[t]}function o(e,t,r){var n=s(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function l(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function c(e){return q&&e instanceof Map}function u(e){return z&&e instanceof Set}function h(e){return e.o||e.t}function d(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=J(e);delete t[G];for(var r=Y(t),n=0;n<r.length;n++){var s=r[n],a=t[s];!1===a.writable&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[s]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[s]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,a){return void 0===a&&(a=!1),p(e)||t(e)||!r(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=f),Object.freeze(e),a&&n(e,function(e,t){return m(t,!0)},!0)),e}function f(){e(2)}function p(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function g(t){var r=K[t];return r||e(18,t),r}function y(e,t){K[e]||(K[e]=t)}function v(){return!0,P}function b(e,t){t&&(g("Patches"),e.u=[],e.s=[],e.v=t)}function k(e){w(e),e.p.forEach(S),e.p=null}function w(e){e===P&&(P=e.l)}function _(e){return P={p:[],l:P,h:e,m:!0,_:0}}function S(e){var t=e[G];0===t.i||1===t.i?t.j():t.g=!0}function T(t,n){n._=n.p.length;var s=n.p[0],a=void 0!==t&&t!==s;return n.h.O||g("ES5").S(n,t,a),a?(s[G].P&&(k(n),e(4)),r(t)&&(t=x(n,t),n.l||j(n,t)),n.u&&g("Patches").M(s[G].t,t,n.u,n.s)):t=x(n,s,[]),k(n),n.u&&n.v(n.u,n.s),t!==U?t:void 0}function x(e,t,r){if(p(t))return t;var s=t[G];if(!s)return n(t,function(n,a){return E(e,s,t,n,a,r)},!0),t;if(s.A!==e)return t;if(!s.P)return j(e,s.t,!0),s.t;if(!s.I){s.I=!0,s.A._--;var a=4===s.i||5===s.i?s.o=d(s.k):s.o,i=a,o=!1;3===s.i&&(i=new Set(a),a.clear(),o=!0),n(i,function(t,n){return E(e,s,a,t,n,r,o)}),j(e,a,!1),r&&e.u&&g("Patches").N(s,r,e.u,e.s)}return s.o}function E(e,n,s,i,l,c,u){if(!1,t(l)){var h=x(e,l,c&&n&&3!==n.i&&!a(n.R,i)?c.concat(i):void 0);if(o(s,i,h),!t(h))return;e.m=!1}else u&&s.add(l);if(r(l)&&!p(l)){if(!e.h.D&&e._<1)return;x(e,l),n&&n.A.l||j(e,l)}}function j(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e.m&&m(t,r)}function A(e,t){var r=e[G];return(r?h(r):e)[t]}function C(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function M(e){e.P||(e.P=!0,e.l&&M(e.l))}function I(e){e.o||(e.o=d(e.t))}function R(e,t,r){;var n,s,a,i;var o,l,h;var d=c(t)?g("MapSet").F(t,r):u(t)?g("MapSet").T(t,r):e.O?(t,r,a=s={i:(n=Array.isArray(t))?1:0,A:r?r.A:v(),P:!1,I:!1,R:{},l:r,t:t,k:null,o:null,j:null,C:!1},i=Z,n&&(a=[s],i=X),l=(o=Proxy.revocable(a,i)).revoke,s.k=h=o.proxy,s.j=l,h):g("ES5").J(t,r);return(r?r.A:v()).p.push(d),d}function O(a){return t(a)||e(22,a),function e(t){if(!r(t))return t;var a,l=t[G],c=s(t);if(l){if(!l.P&&(l.i<4||!g("ES5").K(l)))return l.t;l.I=!0,a=L(t,c),l.I=!1}else a=L(t,c);return n(a,function(t,r){l&&i(l.t,t)===r||o(a,t,e(r))}),3===c?new Set(a):a}(a)}function L(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return d(e)}__webpack_require__.d(__webpack_exports__,{$i:()=>er,CN:()=>m,YT:()=>N,h4:()=>D,jM:()=>ee,vI:()=>et});function N(){function o(e){if(!r(e))return e;if(Array.isArray(e))return e.map(o);if(c(e))return new Map(Array.from(e.entries()).map(function(e){return[e[0],o(e[1])]}));if(u(e))return new Set(Array.from(e).map(o));var t=Object.create(Object.getPrototypeOf(e));for(var n in e)t[n]=o(e[n]);return a(e,B)&&(t[B]=e[B]),t}function l(e){return t(e)?o(e):e}y("Patches",{$:function(t,r){return r.forEach(function(r){for(var n=r.path,a=r.op,l=t,c=0;c<n.length-1;c++){var u=s(l),h=n[c];"string"!=typeof h&&"number"!=typeof h&&(h=""+h),0!==u&&1!==u||"__proto__"!==h&&"constructor"!==h||e(24),"function"==typeof l&&"prototype"===h&&e(24),"object"!=typeof(l=i(l,h))&&e(15,n.join("/"))}var d=s(l),m=o(r.value),f=n[n.length-1];switch(a){case"replace":switch(d){case 2:return l.set(f,m);case 3:e(16);default:return l[f]=m}case"add":switch(d){case 1:return"-"===f?l.push(m):l.splice(f,0,m);case 2:return l.set(f,m);case 3:return l.add(m);default:return l[f]=m}case"remove":switch(d){case 1:return l.splice(f,1);case 2:return l.delete(f);case 3:return l.delete(r.value);default:return delete l[f]}default:e(17,a)}}),t},N:function(e,t,r,s){switch(e.i){case 0:case 4:case 2:;var o,c;return e,t,r,s,o=e.t,c=e.o,void n(e.R,function(e,n){var u=i(o,e),h=i(c,e),d=n?a(o,e)?"replace":"add":"remove";if(u!==h||"replace"!==d){var m=t.concat(e);r.push("remove"===d?{op:d,path:m}:{op:d,path:m,value:h}),s.push(d==="add"?{op:"remove",path:m}:"remove"===d?{op:"add",path:m,value:l(u)}:{op:"replace",path:m,value:l(u)})}});case 5:case 1:return function(e,t,r,n){var s=e.t,a=e.R,i=e.o;if(i.length<s.length){var o=[i,s];s=o[0],i=o[1];var c=[n,r];r=c[0],n=c[1]}for(var u=0;u<s.length;u++)if(a[u]&&i[u]!==s[u]){var h=t.concat([u]);r.push({op:"replace",path:h,value:l(i[u])}),n.push({op:"replace",path:h,value:l(s[u])})}for(var d=s.length;d<i.length;d++){var m=t.concat([d]);r.push({op:"add",path:m,value:l(i[d])})}s.length<i.length&&n.push({op:"replace",path:t.concat(["length"]),value:s.length})}(e,t,r,s);case 3:;var u,h,d;return e,t,r,s,u=e.t,h=e.o,d=0,void(u.forEach(function(e){if(!h.has(e)){var n=t.concat([d]);r.push({op:"remove",path:n,value:e}),s.unshift({op:"add",path:n,value:e})}d++}),d=0,h.forEach(function(e){if(!u.has(e)){var n=t.concat([d]);r.push({op:"add",path:n,value:e}),s.unshift({op:"remove",path:n,value:e})}d++}))}},M:function(e,t,r,n){r.push({op:"replace",path:[],value:t===U?void 0:t}),n.push({op:"replace",path:[],value:e})}})}function D(e){return e}var F,P,$="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),q="undefined"!=typeof Map,z="undefined"!=typeof Set,H="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,U=$?Symbol.for("immer-nothing"):((F={})["immer-nothing"]=!0,F),B=$?Symbol.for("immer-draftable"):"__$immer_draftable",G=$?Symbol.for("immer-state"):"__$immer_state",W="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",V=""+Object.prototype.constructor,Y="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,J=Object.getOwnPropertyDescriptors||function(e){var t={};return Y(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},K={},Z={get:function(e,t){if(t===G)return e;var n=h(e);if(!a(n,t)){;var s,i;return e,(i=C(n,t))?"value"in i?i.value:(s=i.get)==null?void 0:s.call(e.k):void 0}var o=n[t];return e.I||!r(o)?o:o===A(e.t,t)?(I(e),e.o[t]=R(e.A.h,o,e)):o},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,r){var n=C(h(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var s=A(h(e),t),i=null==s?void 0:s[G];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(l(r,s)&&(void 0!==r||a(e.t,t)))return!0;I(e),M(e)}return e.o[t]===r&&(void 0!==r||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==A(e.t,t)||t in e.t?(e.R[t]=!1,I(e),M(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=h(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){e(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){e(12)}},X={};n(Z,function(e,t){X[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),X.deleteProperty=function(e,t){return!1,X.set.call(this,e,t,void 0)},X.set=function(e,t,r){return!1,Z.set.call(this,e[0],t,r,e[0])};var Q=new(function(){function n(t){var n=this;this.O=H,this.D=!0,this.produce=function(t,s,a){if("function"==typeof t&&"function"!=typeof s){var i=s;return(s=t),function(e){var t=this;void 0===e&&(e=i);for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return n.produce(e,function(e){var r;return(r=s).call.apply(r,[t,e].concat(a))})}}var o;if("function"!=typeof s&&e(6),void 0!==a&&"function"!=typeof a&&e(7),r(t)){var l=_(n),c=R(n,t,void 0),u=!0;try{o=s(c),u=!1}finally{u?k(l):w(l)}return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return b(l,a),T(e,l)},function(e){throw k(l),e}):(b(l,a),T(o,l))}if(!t||"object"!=typeof t){if(void 0===(o=s(t))&&(o=t),o===U&&(o=void 0),n.D&&m(o,!0),a){var h=[],d=[];g("Patches").M(t,o,h,d),a(h,d)}return o}e(21,t)},this.produceWithPatches=function(e,t){if("function"==typeof e)return function(t){for(var r=arguments.length,s=Array(r>1?r-1:0),a=1;a<r;a++)s[a-1]=arguments[a];return n.produceWithPatches(t,function(t){return e.apply(void 0,[t].concat(s))})};var r,s,a=n.produce(e,t,function(e,t){r=e,s=t});return"undefined"!=typeof Promise&&a instanceof Promise?a.then(function(e){return[e,r,s]}):[a,r,s]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var s=n.prototype;return s.createDraft=function(n){r(n)||e(8),t(n)&&(n=O(n));var s=_(this),a=R(this,n,void 0);return a[G].C=!0,w(s),a},s.finishDraft=function(e,t){var r=(e&&e[G]).A;return b(r,t),T(void 0,r)},s.setAutoFreeze=function(e){this.D=e},s.setUseProxies=function(t){t&&!H&&e(20),this.O=t},s.applyPatches=function(e,r){var n;for(n=r.length-1;n>=0;n--){var s=r[n];if(0===s.path.length&&"replace"===s.op){e=s.value;break}}n>-1&&(r=r.slice(n+1));var a=g("Patches").$;return t(e)?a(e,r):this.produce(e,function(e){return a(e,r)})},n}()),ee=Q.produce,et=Q.produceWithPatches.bind(Q),er=(Q.setAutoFreeze.bind(Q),Q.setUseProxies.bind(Q),Q.applyPatches.bind(Q));Q.createDraft.bind(Q),Q.finishDraft.bind(Q)}}).call(__webpack_require__._LM_("immer",{__webpack_exports__,__webpack_require__}))()},115726(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ay:()=>R});var e=__webpack_require__(549140);var t=__webpack_require__(639781);var r=__webpack_require__(410710);var n=__webpack_require__(892145);var s=__webpack_require__(931263);var a=__webpack_require__(123532);var i=__webpack_require__(244880);var o=__webpack_require__(960767);var l=__webpack_require__(59824);var c=__webpack_require__(613608);var u=__webpack_require__(456895);__webpack_require__.n(u);var h=__webpack_require__(413279);var d=__webpack_require__.n(h);var m=__webpack_require__(480021);var f=__webpack_require__(650710);__webpack_require__.n(f);var p=__webpack_require__(108120);var g=__webpack_require__(942566);var y=__webpack_require__(659212);var v=__webpack_require__(105557);var b=__webpack_require__(735641);var k=__webpack_require__(787631);var w=__webpack_require__(499985);var _=__webpack_require__(964451);let S=(0,e.X)(m.wQ,"internal");let T="testing";let x=(0,g.n)(T,"13.40.0-flask.0");let E="https://3567c198f8a8412082d32655da2961d0@sentry.io/273505";let j="https://f59f3dd640d2429d9d0e2445a87ea8e1@sentry.io/273496";let A="https://17e6db85bd66517e7c828d36f53e2f26@sentry.io/4510302346608640";let C=!!1;let M="https://fake@sentry.io/0000000";let I={CRYPTOCOMPARE:"cryptocompare.com",COINGECKO:"coingecko.com",ETHERSCAN:"etherscan.io",CODEFI:"codefi.network",SEGMENT:"segment.io"};function R(){if(!x)throw new Error("Missing release");return!P()?((0,m.wQ)("Skipped initialization"),undefined):((0,m.wQ)("Initializing"),(0,_.I)(),ei(),$(),{...t})}function O(e){try{return(0,u.cloneDeep)(e)}catch(t){return(0,m.wQ)("Failed to clone Sentry event, using original reference",t),e}}function L(){let e=F();let t=P();return{beforeBreadcrumb:z(),beforeSend:e=>Y(O(e)),beforeSendTransaction:e=>{let t=V(O(e));return W(t),t},debug:!1,dist:f.isManifestV3?"mv3":"mv2",dsn:t,environment:e,integrations:[o.s(),l.X(),i.dp({enableLongAnimationFrame:!0,shouldCreateSpanForRequest:H}),(0,v.t)({getAnalyticsState:k.kS,log:m.wQ}),...C?[(0,b.Vu)({log:m.wQ})]:[]],release:x,...C&&{tracePropagationTargets:b.dm},sendClientReports:!1,tracesSampleRate:N(t),ignoreErrors:t===A?[/.*/u]:undefined,transport:w._}}function N(e){if(e===M)return 1;let t=(0,p.P)();return t.sentry?.tracesSampleRate!==undefined?t.sentry.tracesSampleRate:(0,t.ci)?t.ci.branch==="main"?.015:(0,.001):(0,!1?1:(0,.0075))}function D(){let{ci:e}=(0,p.P)();e?.enabled&&(s.NA("ci.enabled",e.enabled),s.NA("ci.branch",e.branch),s.NA("ci.commitHash",e.commitHash),s.NA("ci.job",e.job),s.NA("ci.matrixIndex",e.matrixIndex),s.NA("ci.prNumber",e.prNumber),e.persona&&s.NA("ci.persona",e.persona),e.testTitle&&s.NA("ci.testTitle",e.testTitle))}function F(){return"flask"=="main"?T:(0,`${T}-${"flask"}`)}function P(){let e=(0,p.P)();if(!0&&(!j||!e.sentry?.forceEnable))return M;if(e.ci?.enabled&&A)return A;if("testing"!=="production")return j;if(!E)throw new Error(`Missing SENTRY_DSN environment variable in production environment`);return E}function $(){let e=L();let{dsn:t,environment:s,release:a,tracesSampleRate:i}=e;return globalThis.nw={},globalThis.history??={},(0,m.wQ)("Updating client",{environment:s,dsn:t,release:a,tracesSampleRate:i}),r.s(),n.Ts(e),D(),eo(),!0}function q(e){return!e.match(/^(chrome-extension|moz-extension):\/\//u)?"":(0,e)}function z(){return e=>{if(!k.Gu)return null;let t=(0,k.Gu)();let r=(0,k.eR)(t);return!r?.completedMetaMetricsOnboarding||!r?.optedIn||e?.category==="ui.input"?null:(0,e)}}function H(e){return/^https?:\/\/(?:[\w\d.@-]+\.)?(?:sentry\.io|segment\.io|chainid\.network|acl\.execution\.metamask\.io)(?:\/|$)/u.test(e)||/^(?:chrome|moz)-extension:\/\/[^/]+\/(?:(?:snaps|_locales)\/|[0-9a-f]{8,}\.json$)/u.test(e)?!1:(0,!0)}function U(e){return e?.data?.url&&(e.data.url=q(e.data.url)),e?.data?.to&&(e.data.to=q(e.data.to)),e?.data?.from&&(e.data.from=q(e.data.from)),typeof e?.message=="string"&&(e.message=Q(e.message)),e?.data&&(e.data=ee(e.data)),e}function B(e){if(!Array.isArray(e.breadcrumbs))return;for(let t=0;t<e.breadcrumbs.length;t++)U(e.breadcrumbs[t])}let G=new Set(["sentry-tracing-init","mm-hero-painted"]);function W(e){if(!Array.isArray(e.spans))return;e.spans=e.spans.filter(e=>{let t=e?.description??e?.name;return!(e?.op==="mark"&&G.has(t))})}function V(e){return B(e),e}function Y(e){try{er(e),J(e),K(e),B(e),et(e),es(e);let t=(0,k.Gu)();!e.extra&&(e.extra={}),!e.tags&&(e.tags={});let r=(0,_.K)();Object.assign(e.extra,{appState:t,installType:r,extensionId:d().runtime?.id}),e.tags.installType=r,e.tags.storageKind=globalThis.stateHooks?.getStorageKind?.()??"unknown"}catch(e){(0,m.wQ)("Error rewriting report",e)}return e}function J(e){en(e,e=>{let t=e;return(t.match(/(([-.+a-zA-Z]+:\/\/)|(www\.))\S+[@:.]\S+/gu)||[]).forEach(e=>{try{let{hostname:r}=new URL(e);!Object.values(I).some(e=>r===e||r.endsWith(`.${e}`))&&(t=t.replace(e,"**"))}catch(r){t=t.replace(e,"**")}}),t})}function K(e){en(e,e=>Q(e))}let Z=/0x[A-Fa-f0-9]{40}/gu;let X=[/\bT[1-9A-HJ-NP-Za-km-z]{33}\b/gu,/\bG[A-Z2-7]{55}\b/gu,/\bbc1[02-9ac-hj-np-z]{6,87}\b/gu,/\b[13][1-9A-HJ-NP-Za-km-z]{25,34}\b/gu,/\b[1-9A-HJ-NP-Za-km-z]{32,44}\b/gu];function Q(e){let t=e.replace(Z,"0x**");for(let e of X)t=t.replace(e,"**");return t}function ee(e,t=new WeakMap){if(typeof e=="string")return Q(e);if(e===null||typeof e!=="object")return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=[];t.set(e,r);for(let n=0;n<e.length;n++)r[n]=ee(e[n],t);return r}let r={};for(let n of(t.set(e,r),e instanceof Error&&(typeof e.message=="string"&&(r.message=Q(e.message)),typeof e.stack=="string"&&(r.stack=Q(e.stack))),Object.keys(e)))r[n]=ee(e[n],t);return r}function et(e){e.extra&&(e.extra=ee(e.extra)),e.contexts&&(e.contexts=ee(e.contexts))}function er(e){en(e,e=>{let t=(0,y.A)(e);return t.indexOf("Transaction Failed: known transaction")===0&&(t="Transaction Failed: known transaction"),t})}function en(e,t){typeof e.message=="string"&&(e.message=t(e.message)),e.exception&&e.exception.values&&e.exception.values.forEach(e=>{typeof e.value=="string"&&(e.value=t(e.value))})}function es(e){e.request?.url&&(e.request.url=ea(e.request.url)),e.exception&&e.exception.values&&e.exception.values.forEach(e=>{e.stacktrace&&e.stacktrace.frames.forEach(e=>{e.filename=ea(e.filename)})})}function ea(e){if(!globalThis.location?.origin)return e;let t=e?.split(globalThis.location.origin)[1];return!t?e:(0,`/metamask${t}`)}function ei(){if(!!1)return;for(let e of["log","error"])c.vF[e]=(...t)=>{S(t[0].replace(`Sentry Logger [${e}]: `,""),...t.slice(1))};(0,m.wQ)("Integrated logging")}function eo(){if(!!1)return;let e=a.KU();e?.on("beforeEnvelope",e=>{el(e)&&(0,m.wQ)("Completed session",e)}),e?.on("afterSendEvent",e=>{let t=ec(e);(0,m.wQ)(t,e)}),(0,m.wQ)("Added debug listeners")}function el(e){let t=e?.[1]?.[0]?.[0]?.type;let r=e?.[1]?.[0]?.[1]??{};return t==="session"&&r.status==="exited"}function ec(e){return e.type==="transaction"?"Trace":(0,e.level==="error")?"Error":(0,"Event")}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},122411(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>l});var e=__webpack_require__(769233);var t=__webpack_require__(401967);var r=__webpack_require__(613608);var n=__webpack_require__(814508);var s=__webpack_require__(785755);var a=__webpack_require__(605257);var i=__webpack_require__(123532);var o=__webpack_require__(931263);let l=(0,__webpack_require__(577102)._C)((n={})=>{let s=n.levels||r.Ow;return{name:"CaptureConsole",setup(r){if(!("console"in e.O))return;(0,t.P)(({args:e,level:t})=>{if((0,i.KU)()!==r||!s.includes(t))return;c(e,t)})}}});function c(e,t){let r={level:(0,s.t)(t),extra:{arguments:e}};(0,i.v4)(s=>{if(s.addEventProcessor(e=>{return e.logger="console",(0,n.M6)(e,{handled:!1,type:"console"}),e}),t==="assert"){if(!e[0]){let t=`Assertion failed: ${(0,a.gt)(e.slice(1)," ")||"console.assert"}`;s.setExtra("arguments",e.slice(1)),(0,o.wd)(t,r)}return}let i=e.find(e=>e instanceof Error);if(i){(0,o.Cp)(i,r);return}let l=(0,a.gt)(e," ");(0,o.wd)(l,r)})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},122552(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ci:()=>a,DJ:()=>f,US:()=>n,fw:()=>y,mx:()=>o,qH:()=>d,s$:()=>t,s7:()=>s,tz:()=>m,us:()=>l,xS:()=>g,zH:()=>p}),__webpack_require__(891728),__webpack_require__(512986);let e=["January","February","March","April","May","June","July","August","September","October","November","December"];let t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];let r=["J","F","M","A","M","J","J","A","S","O","N","D"];function n(n){switch(n){case"narrow":return[...r];case"short":return[...t];case"long":return[...e];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}}let s=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];let a=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];let i=["M","T","W","T","F","S","S"];function o(e){switch(e){case"narrow":return[...i];case"short":return[...a];case"long":return[...s];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}let l=["AM","PM"];let c=["Before Christ","Anno Domini"];let u=["BC","AD"];let h=["B","A"];function d(e){switch(e){case"narrow":return[...h];case"short":return[...u];case"long":return[...c];default:return null}}function m(e){return l[e.hour<12?0:1]}function f(e,t){return o(t)[e.weekday-1]}function p(e,t){return n(t)[e.month-1]}function g(e,t){return d(t)[e.year<0?0:1]}function y(e,t,r="always",n=!1){let s={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."]};let a=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&a){let r=e==="days";switch(t){case 1:return r?"tomorrow":`next ${s[e][0]}`;case-1:return r?"yesterday":`last ${s[e][0]}`;case 0:return r?"today":`this ${s[e][0]}`;default:}}let i=Object.is(t,-0)||t<0,o=Math.abs(t),l=o===1,c=s[e],u=n?l?c[1]:c[2]||c[1]:l?s[e][0]:e;return i?`${o} ${u} ago`:`in ${o} ${u}`}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},123532(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{KU:()=>c,m6:()=>i,o5:()=>s,rB:()=>l,rm:()=>a,v4:()=>o});var e=__webpack_require__(769233);var t=__webpack_require__(920938);var r=__webpack_require__(943924);var n=__webpack_require__(665016);function s(){let e=(0,r.E)();return(0,t.h)(e).getCurrentScope()}function a(){let e=(0,r.E)();return(0,t.h)(e).getIsolationScope()}function i(){return(0,e.B)("globalScope",()=>new n.H)}function o(...e){let n=(0,r.E)();let s=(0,t.h)(n);if(e.length===2){let[t,r]=e;return!t?s.withScope(r):(0,s.withSetScope(t,r))}return s.withScope(e[0])}function l(...e){let n=(0,r.E)();let s=(0,t.h)(n);if(e.length===2){let[t,r]=e;return!t?s.withIsolationScope(r):(0,s.withSetIsolationScope(t,r))}return s.withIsolationScope(e[0])}function c(){return s().getClient()}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},134281(module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e=1e3*60;var t=1e3*60*60;var r=1e3*60*60*24;var n=1e3*60*60*24*7;var s=1e3*60*60*24*365.25;function a(a){if((a=String(a)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(!i)return;var o=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return o*s;case"weeks":case"week":case"w":return o*n;case"days":case"day":case"d":return o*r;case"hours":case"hour":case"hrs":case"hr":case"h":return o*t;case"minutes":case"minute":case"mins":case"min":case"m":return o*e;case"seconds":case"second":case"secs":case"sec":case"s":return o*1e3;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return undefined}}function i(n){var s=Math.abs(n);return s>=r?Math.round(n/r)+"d":(0,s>=t)?Math.round(n/t)+"h":(0,s>=e)?Math.round(n/e)+"m":(0,s>=1e3)?Math.round(n/1e3)+"s":(0,n+"ms")}function o(n){var s=Math.abs(n);return s>=r?l(n,s,r,"day"):(0,s>=t)?l(n,s,t,"hour"):(0,s>=e)?l(n,s,e,"minute"):(0,s>=1e3)?l(n,s,1e3,"second"):(0,n+" ms")}function l(e,t,r,n){return Math.round(e/r)+" "+n+(t>=r*1.5?"s":"")}module.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return a(e);if(r==="number"&&isFinite(e))return t.long?o(e):i(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}}}).call(__webpack_require__._LM_("mocha>ms",{module,__webpack_require__}))()},138292(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{dO:()=>i,o_:()=>n,wO:()=>a});let e={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[０-９]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};let t={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]};let r=e.hanidec.replace(/[\[|\]]/g,"").split("");function n(n){let s=parseInt(n,10);if(!isNaN(s))return s;{s="";for(let a=0;a<n.length;a++){let i=n.charCodeAt(a);if(n[a].search(e.hanidec)!==-1)s+=r.indexOf(n[a]);else for(let e in t){let[r,n]=t[e];i>=r&&i<=n&&(s+=i-r)}}return parseInt(s,10)}}let s={};function a(){s={}}function i({numberingSystem:t},r=""){let n=t||"latn";return!s[n]&&(s[n]={}),!s[n][r]&&(s[n][r]=new RegExp(`${e[n]}${r}`)),s[n][r]}}}).call(__webpack_require__._LM_("luxon",{__webpack_exports__,__webpack_require__}))()},138716(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{DI:()=>S,QU:()=>A,U$:()=>_,bk:()=>k,c8:()=>w});var e=__webpack_require__(827284);var t=__webpack_require__(468417);var r=__webpack_require__(78463);var n=__webpack_require__(682631);var s=__webpack_require__(1090);var a=__webpack_require__(613608);var i=__webpack_require__(650773);var o=__webpack_require__(716547);var l=__webpack_require__(814601);var c=__webpack_require__(765698);var u=__webpack_require__(903217);var h=__webpack_require__(821396);var d=__webpack_require__(33040);var m=__webpack_require__(51450);var f=__webpack_require__(234512);var p=__webpack_require__(978802);let g=0;let y={};let v;let b;function k({recordClsStandaloneSpans:e}){let t=(0,d.D)();if(t&&i.k3){t.mark&&c.j.performance.mark("sentry-tracing-init");let r=E();let n=x();let s=j();let a=e?(0,u.D)():T();return()=>{r(),n(),s(),a&&a()}}return()=>undefined}function w(){(0,h.wv)("longtask",({entries:t})=>{if(!(0,n.Bk)())return;for(let n of t){let t=(0,d.rv)(i.k3+n.startTime);let s=(0,d.rv)(n.duration);let a=(0,e.Uk)({name:"Main UI thread blocked",op:"ui.long-task",startTime:t,attributes:{[r.JD]:"auto.ui.browser.metrics"}});a&&a.end(t+s)}})}function _(){new PerformanceObserver(t=>{if(!(0,n.Bk)())return;for(let n of t.getEntries()){if(!n.scripts[0])continue;let t=(0,d.rv)(i.k3+n.startTime);let s=(0,d.rv)(n.duration);let a={[r.JD]:"auto.ui.browser.metrics"};let{invoker:o,invokerType:l,sourceURL:c,sourceFunctionName:u,sourceCharPosition:h}=n.scripts[0];a["browser.script.invoker"]=o,a["browser.script.invoker_type"]=l,c&&(a["code.filepath"]=c),u&&(a["code.function"]=u),h!==-1&&(a["browser.script.source_char_position"]=h);let m=(0,e.Uk)({name:"Main UI thread blocked",op:"ui.long-animation-frame",startTime:t,attributes:a});m&&m.end(t+s)}}).observe({type:"long-animation-frame",buffered:!0})}function S(){(0,h.wv)("event",({entries:t})=>{if(!(0,n.Bk)())return;for(let n of t)if(n.name==="click"){let t=(0,d.rv)(i.k3+n.startTime);let a=(0,d.rv)(n.duration);let o={name:(0,s.Hd)(n.target),op:`ui.interaction.${n.name}`,startTime:t,attributes:{[r.JD]:"auto.ui.browser.metrics"}};let l=(0,s.xE)(n.target);l&&(o.attributes["ui.component_name"]=l);let c=(0,e.Uk)(o);c&&c.end(t+a)}})}function T(){return(0,h.a9)(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;l.T&&a.vF.log(`[Measurements] Adding CLS ${e.value}`),y["cls"]={value:e.value,unit:""},b=t},!0)}function x(){return(0,h.Pt)(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;l.T&&a.vF.log("[Measurements] Adding LCP"),y["lcp"]={value:e.value,unit:"millisecond"},v=t},!0)}function E(){return(0,h.T5)(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let r=(0,d.rv)(i.k3);let n=(0,d.rv)(t.startTime);l.T&&a.vF.log("[Measurements] Adding FID"),y["fid"]={value:e.value,unit:"millisecond"},y["mark.fid"]={value:r+n,unit:"second"}})}function j(){return(0,h.YG)(({metric:e})=>{if(!e.entries[e.entries.length-1])return;l.T&&a.vF.log("[Measurements] Adding TTFB"),y["ttfb"]={value:e.value,unit:"millisecond"}})}function A(e,s){let o=(0,d.D)();if(!o||!c.j.performance.getEntries||!i.k3)return;l.T&&a.vF.log("[Tracing] Adding & adjusting spans using Performance API");let u=(0,d.rv)(i.k3);let h=o.getEntries();let{op:f,start_timestamp:k}=(0,n.et)(e);if(h.slice(g).forEach(t=>{let r=(0,d.rv)(t.startTime);let n=(0,d.rv)(Math.max(0,t.duration));if(f==="navigation"&&k&&u+r<k)return;switch(t.entryType){case"navigation":{M(e,t,u);break}case"mark":case"paint":case"measure":{C(e,t,r,n,u);let s=(0,p.N)();let i=t.startTime<s.firstHiddenTime;t.name==="first-paint"&&i&&(l.T&&a.vF.log("[Measurements] Adding FP"),y["fp"]={value:t.startTime,unit:"millisecond"}),t.name==="first-contentful-paint"&&i&&(l.T&&a.vF.log("[Measurements] Adding FCP"),y["fcp"]={value:t.startTime,unit:"millisecond"});break}case"resource":{O(e,t,t.name,r,n,u);break}}}),g=Math.max(h.length-1,0),L(e),f==="pageload"){F(y);let n=y["mark.fid"];n&&y["fid"]&&((0,d.Tn)(e,n.value,n.value+(0,d.rv)(y["fid"].value),{name:"first input delay",op:"ui.action",attributes:{[r.JD]:"auto.ui.browser.metrics"}}),delete y["mark.fid"]),(!("fcp"in y)||!s.recordClsOnPageloadSpan)&&delete y.cls,Object.entries(y).forEach(([e,r])=>{(0,t.X)(e,r.value,r.unit)}),e.setAttribute("performance.timeOrigin",u),e.setAttribute("performance.activationStart",(0,m.b)()),N(e)}v=undefined,b=undefined,y={}}function C(e,t,n,s,a){let i=(0,f.z)();let o=a+Math.max(n,(0,d.rv)(i?i.requestStart:0));let l=a+n;let c={[r.JD]:"auto.resource.browser.metrics"};return o!==l&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=o),(0,d.Tn)(e,o,l+s,{name:t.name,op:t.entryType,attributes:c}),o}function M(e,t,r){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{I(e,t,n,r)}),I(e,t,"secureConnection",r,"TLS/SSL","connectEnd"),I(e,t,"fetch",r,"cache","domainLookupStart"),I(e,t,"domainLookup",r,"DNS"),R(e,t,r)}function I(e,t,n,s,a,i){let o=i?t[i]:t[`${n}End`];let l=t[`${n}Start`];if(!l||!o)return;(0,d.Tn)(e,s+(0,d.rv)(l),s+(0,d.rv)(o),{op:`browser.${a||n}`,name:t.name,attributes:{[r.JD]:"auto.ui.browser.metrics"}})}function R(e,t,n){let s=n+(0,d.rv)(t.requestStart);let a=n+(0,d.rv)(t.responseEnd);let i=n+(0,d.rv)(t.responseStart);t.responseEnd&&((0,d.Tn)(e,s,a,{op:"browser.request",name:t.name,attributes:{[r.JD]:"auto.ui.browser.metrics"}}),(0,d.Tn)(e,i,a,{op:"browser.response",name:t.name,attributes:{[r.JD]:"auto.ui.browser.metrics"}}))}function O(e,t,n,s,a,i){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;let l=(0,o.Dl)(n);let u={[r.JD]:"auto.resource.browser.metrics"};D(u,t,"transferSize","http.response_transfer_size"),D(u,t,"encodedBodySize","http.response_content_length"),D(u,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(u["resource.render_blocking_status"]=t.renderBlockingStatus),l.protocol&&(u["url.scheme"]=l.protocol.split(":").pop()),l.host&&(u["server.address"]=l.host),u["url.same_origin"]=n.includes(c.j.location.origin);let h=i+s;(0,d.Tn)(e,h,h+a,{name:n.replace(c.j.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:u})}function L(e){let t=c.j.navigator;if(!t)return;let r=t.connection;r&&(r.effectiveType&&e.setAttribute("effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute("connectionType",r.type),(0,d.Kk)(r.rtt)&&(y["connection.rtt"]={value:r.rtt,unit:"millisecond"})),(0,d.Kk)(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),(0,d.Kk)(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function N(e){v&&(l.T&&a.vF.log("[Measurements] Adding LCP Data"),v.element&&e.setAttribute("lcp.element",(0,s.Hd)(v.element)),v.id&&e.setAttribute("lcp.id",v.id),v.url&&e.setAttribute("lcp.url",v.url.trim().slice(0,200)),e.setAttribute("lcp.size",v.size)),b&&b.sources&&(l.T&&a.vF.log("[Measurements] Adding CLS Data"),b.sources.forEach((t,r)=>e.setAttribute(`cls.source.${r+1}`,(0,s.Hd)(t.node))))}function D(e,t,r,n){let s=t[r];s!=null&&s<0x7fffffff&&(e[n]=s)}function F(e){let t=(0,f.z)();if(!t)return;let{responseStart:r,requestStart:n}=t;n<=r&&(l.T&&a.vF.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},142282(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A9:()=>x,Dz:()=>j,FX:()=>d,K4:()=>v,SY:()=>f,Ts:()=>A,dg:()=>h,e9:()=>C,h$:()=>R,jx:()=>m,nW:()=>b,pI:()=>I,qH:()=>w,rW:()=>E,vZ:()=>k,vg:()=>M,wV:()=>g,x2:()=>p});var e=__webpack_require__(705025);let t=/^(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-_a-zA-Z0-9]{1,32})$/u;let r=/^[-a-z0-9]{3,8}$/u;let n=/^[-_a-zA-Z0-9]{1,32}$/u;let s=/^(?<chainId>(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-_a-zA-Z0-9]{1,32})):(?<accountAddress>[-.%a-zA-Z0-9]{1,128})$/u;let a=/^[-.%a-zA-Z0-9]{1,128}$/u;let i=/^[-a-z0-9]{3,8}$/u;let o=/^[-.%a-zA-Z0-9]{1,128}$/u;let l=/^[-.%a-zA-Z0-9]{1,78}$/u;let c=/^(?<chainId>(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-_a-zA-Z0-9]{1,32}))\/(?<assetNamespace>[-a-z0-9]{3,8}):(?<assetReference>[-.%a-zA-Z0-9]{1,128})$/u;let u=/^(?<chainId>(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-_a-zA-Z0-9]{1,32}))\/(?<assetNamespace>[-a-z0-9]{3,8}):(?<assetReference>[-.%a-zA-Z0-9]{1,128})\/(?<tokenId>[-.%a-zA-Z0-9]{1,78})$/u;let h=(0,e.s)("CaipChainId",t);(0,e.s)("CaipNamespace",r),(0,e.s)("CaipReference",n);let d=(0,e.s)("CaipAccountId",s);(0,e.s)("CaipAccountAddress",a),(0,e.s)("CaipAssetNamespace",i),(0,e.s)("CaipAssetReference",o),(0,e.s)("CaipTokenId",l);let m=(0,e.s)("CaipAssetType",c);let f=(0,e.s)("CaipAssetId",u);let p=(0,e.s)("CaipAssetTypeOrId",/^(?<chainId>(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-_a-zA-Z0-9]{1,32}))\/(?<assetNamespace>[-a-z0-9]{3,8}):(?<assetReference>[-.%a-zA-Z0-9]{1,128})(\/(?<tokenId>[-.%a-zA-Z0-9]{1,78}))?$/u);var g;var y;function v(e){return typeof e=="string"&&t.test(e)}function b(e){return typeof e=="string"&&r.test(e)}function k(e){return typeof e=="string"&&n.test(e)}function w(e){return typeof e=="string"&&s.test(e)}function _(e){return typeof e=="string"&&a.test(e)}function S(e){return typeof e=="string"&&i.test(e)}function T(e){return typeof e=="string"&&o.test(e)}function x(e){return typeof e=="string"&&c.test(e)}function E(e){let r=t.exec(e);if(!r?.groups)throw new Error("Invalid CAIP chain ID.");return{namespace:r.groups.namespace,reference:r.groups.reference}}function j(e){let t=s.exec(e);if(!t?.groups)throw new Error("Invalid CAIP account ID.");return{address:t.groups.accountAddress,chainId:t.groups.chainId,chain:{namespace:t.groups.namespace,reference:t.groups.reference}}}function A(e){let t=c.exec(e);if(!t?.groups)throw new Error("Invalid CAIP asset type.");return{assetNamespace:t.groups.assetNamespace,assetReference:t.groups.assetReference,chainId:t.groups.chainId,chain:{namespace:t.groups.namespace,reference:t.groups.reference}}}function C(e){let t=u.exec(e);if(!t?.groups)throw new Error("Invalid CAIP asset ID.");return{assetNamespace:t.groups.assetNamespace,assetReference:t.groups.assetReference,tokenId:t.groups.tokenId,chainId:t.groups.chainId,chain:{namespace:t.groups.namespace,reference:t.groups.reference}}}function M(e,t){if(!b(e))throw new Error(`Invalid "namespace", must match: ${r.toString()}`);if(!k(t))throw new Error(`Invalid "reference", must match: ${n.toString()}`);return`${e}:${t}`}function I(e,t,s){if(!b(e))throw new Error(`Invalid "namespace", must match: ${r.toString()}`);if(!k(t))throw new Error(`Invalid "reference", must match: ${n.toString()}`);if(!_(s))throw new Error(`Invalid "accountAddress", must match: ${a.toString()}`);return`${e}:${t}:${s}`}function R(e,t,s,a){if(!b(e))throw new Error(`Invalid "namespace", must match: ${r.toString()}`);if(!k(t))throw new Error(`Invalid "reference", must match: ${n.toString()}`);if(!S(s))throw new Error(`Invalid "assetNamespace", must match: ${i.toString()}`);if(!T(a))throw new Error(`Invalid "assetReference", must match: ${o.toString()}`);return`${e}:${t}/${s}:${a}`}(y=g=g||(g={}))["Bip122"]="bip122",y["Solana"]="solana",y["Stellar"]="stellar",y["Tron"]="tron",y["Eip155"]="eip155",y["Wallet"]="wallet"}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},142827(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E8:()=>n,RZ:()=>s,cJ:()=>a,kp:()=>r});var e=__webpack_require__(356583);var t=__webpack_require__(342672);function r(...e){let n=e[0]?.type==="type";let s=Object.assign({},...e.map(({schema:e})=>e));return n?(0,t.NW)(s):(0,t.Ik)(s)}function n(t,r){return new e._k({type:t,schema:null,validator:r})}function s(t){let r;return new e._k({type:"lazy",schema:null,*entries(e,n){r??(r=t()),yield*r.entries(e,n)},validator(e,n){return r??(r=t()),r.validator(e,n)},coercer(e,n){return r??(r=t()),r.coercer(e,n)},refiner(e,n){return r??(r=t()),r.refiner(e,n)}})}function a(e,r){let{schema:n}=e;let s={...n};for(let e of r)delete s[e];switch(e.type){case"type":return(0,t.NW)(s);default:return(0,t.Ik)(s)}}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_require__,__webpack_exports__}))()},144008(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{DW:()=>a,P5:()=>o,_K:()=>h,el:()=>m});var e=__webpack_require__(908743);var t=__webpack_require__(745085);var r=__webpack_require__(16905);let n=r.f.rpc.internal;let s={code:n,message:a(n)};function a(e,n="Unspecified error message. This is a bug, please report it."){if(i(e)){let n=e.toString();if((0,t.i5)(r.z,n))return r.z[n].message;if(u(e))return"Unspecified server error."}return n}function i(e){return Number.isInteger(e)}function o(t,{fallbackError:r=s,shouldIncludeStack:n=!0,shouldPreserveMessage:a=!0}={}){if(!(0,e.U$)(r))throw new Error("Must provide fallback error with integer number code and string message.");let i=l(t,r,a);return!n&&delete i.stack,i}function l(t,r,n){if(t&&typeof t=="object"&&"serialize"in t&&typeof t.serialize=="function")return t.serialize();if((0,e.U$)(t))return t;let s=c(t);let a=h(t);return{...r,...n&&s&&{message:s},data:{cause:a}}}function c(e){return(0,t.Gv)(e)&&(0,t.i5)(e,"message")&&typeof e.message=="string"&&e.message.length>0?e.message:(0,undefined)}function u(e){return e>=-32099&&e<=-32e3}function h(r){return Array.isArray(r)?r.map(r=>{return(0,e.jU)(r)?r:(0,(0,t.Gv)(r))?d(r):(0,null)}):(0,(0,t.Gv)(r))?d(r):(0,(0,e.jU)(r))?r:(0,null)}function d(t){return Object.getOwnPropertyNames(t).reduce((r,n)=>{let s=t[n];return(0,e.jU)(s)&&(r[n]=s),r},{})}function m(e){return(0,t.Gv)(e)&&(0,t.i5)(e,"cause")&&(0,t.Gv)(e.cause)}}}).call(__webpack_require__._LM_("@metamask/rpc-errors",{__webpack_require__,__webpack_exports__}))()},148366(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(){let e=typeof WeakSet=="function";let t=e?new WeakSet:[];return[function(r){if(e)return t.has(r)?!0:(t.add(r),!1);for(let e=0;e<t.length;e++)if(t[e]===r)return!0;return t.push(r),!1},function(r){if(e)t.delete(r);else for(let e=0;e<t.length;e++)if(t[e]===r){t.splice(e,1);break}}]}__webpack_require__.d(__webpack_exports__,{s:()=>e})}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},151201(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>t});var e=__webpack_require__(814508);function t(){return{traceId:(0,e.eJ)(),spanId:(0,e.eJ)().substring(16)}}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},155001(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{L:()=>r});var e=__webpack_require__(536275);var t=__webpack_require__(402228);function r(r,{metadata:s,tunnel:a,dsn:i}){let o={event_id:r.event_id,sent_at:new Date().toISOString(),...s&&s.sdk&&{sdk:{name:s.sdk.name,version:s.sdk.version}},...!!a&&!!i&&{dsn:(0,e.SB)(i)}};let l=n(r);return(0,t.h4)(o,[l])}function n(e){return[{type:"user_report"},e]}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},162183(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{p:()=>n});var e=__webpack_require__(577102);var t=__webpack_require__(497577);var r=__webpack_require__(795966);let n=(0,e._C)((e={})=>{let n=e.limit||5;let s=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,a,i){let o=i.getOptions();(0,t.Q)(r.K8,o.stackParser,o.maxValueLength,s,n,e,a)}}})}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},172900(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Vu:()=>a,fj:()=>n,qO:()=>s});var e=__webpack_require__(814508);var t=__webpack_require__(84607);var r=__webpack_require__(650773);function n(t){let n=(0,r.zf)();let a={sid:(0,e.eJ)(),init:!0,timestamp:n,started:n,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>i(a)};return t&&s(a,t),a}function s(t,n={}){if(n.user&&(!t.ipAddress&&n.user.ip_address&&(t.ipAddress=n.user.ip_address),!t.did&&!n.did&&(t.did=n.user.id||n.user.email||n.user.username)),t.timestamp=n.timestamp||(0,r.zf)(),n.abnormal_mechanism&&(t.abnormal_mechanism=n.abnormal_mechanism),n.ignoreDuration&&(t.ignoreDuration=n.ignoreDuration),n.sid&&(t.sid=n.sid.length===32?n.sid:(0,e.eJ)()),n.init!==undefined&&(t.init=n.init),!t.did&&n.did&&(t.did=`${n.did}`),typeof n.started=="number"&&(t.started=n.started),t.ignoreDuration)t.duration=undefined;else if(typeof n.duration=="number")t.duration=n.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e:0}n.release&&(t.release=n.release),n.environment&&(t.environment=n.environment),!t.ipAddress&&n.ipAddress&&(t.ipAddress=n.ipAddress),!t.userAgent&&n.userAgent&&(t.userAgent=n.userAgent),typeof n.errors=="number"&&(t.errors=n.errors),n.status&&(t.status=n.status)}function a(e,t){let r={};t?r={status:t}:e.status==="ok"&&(r={status:"exited"}),s(e,r)}function i(e){return(0,t.Ce)({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:undefined,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},174638(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>a});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(760184);var n=__webpack_require__(879771);var s=__webpack_require__(676358);let a=(0,t.kp)(s.Tl,(0,e.Ik)({type:(0,n.eu)(s.Z6.Address),value:r.UG}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},175384(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>a});var e=__webpack_require__(84607);var t=__webpack_require__(123532);var r=__webpack_require__(577102);let n;let s=new WeakMap;let a=(0,r._C)(()=>{return{name:"FunctionToString",setupOnce(){n=Function.prototype.toString;try{Function.prototype.toString=function(...r){let a=(0,e.sp)(this);let i=s.has((0,t.KU)())&&a!==undefined?a:this;return n.apply(i,r)}}catch(e){}},setup(e){s.set(e,!0)}}})}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},178061(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e,n){let s=n&&n.getDsn();let a=n&&n.getOptions().tunnel;return r(e,s)||t(e,a)}function t(e,t){return!t?!1:(0,n(e)===n(t))}function r(e,t){return t?e.includes(t.host):!1}function n(e){return e[e.length-1]==="/"?e.slice(0,-1):e}__webpack_require__.d(__webpack_exports__,{A:()=>e})}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_exports__,__webpack_require__}))()},178066(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Sq:()=>T,U$:()=>tw,aD:()=>F,e4:()=>P,j0:()=>th});var e=__webpack_require__(123532);var t=__webpack_require__(902309);var r=__webpack_require__(1090);var n=__webpack_require__(769233);var s=__webpack_require__(709502);var a=__webpack_require__(613608);let i=n.O;let o=i.document;let l=i.navigator;let c="Report a Bug";let u="Cancel";let h="Send Bug Report";let d="Confirm";let m="Report a Bug";let f="your.email@example.org";let p="Email";let g="What's the bug? What did you expect?";let y="Description";let v="Your Name";let b="Name";let k="Thank you for your report!";let w="(required)";let _="Add a screenshot";let S="Remove screenshot";let T=(n,s={includeReplay:!0})=>{if(!n.message)throw new Error("Unable to submit feedback with empty message");let a=(0,e.KU)();if(!a)throw new Error("No client setup, cannot send feedback.");n.tags&&Object.keys(n.tags).length&&(0,e.o5)().setTags(n.tags);let i=(0,t.q)({source:"api",url:(0,r.$N)(),...n},s);return new Promise((e,t)=>{let r=setTimeout(()=>t("Unable to determine if Feedback was correctly sent."),5e3);let n=a.on("afterSendEvent",(s,a)=>{return s.event_id!==i?void 0:(clearTimeout(r),n(),a&&typeof a.statusCode=="number"&&a.statusCode>=200&&a.statusCode<300&&e(i),a&&typeof a.statusCode=="number"&&a.statusCode===0)?t("Unable to send Feedback. This is because of network issues, or because you are using an ad-blocker."):(0,a&&typeof a.statusCode=="number"&&a.statusCode===403)?t("Unable to send Feedback. This could be because this domain is not in your list of allowed domains."):(0,t("Unable to send Feedback. This could be because of network issues, or because you are using an ad-blocker"))})})};let x=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__;function E(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(l.userAgent)||/Macintosh/i.test(l.userAgent)&&l.maxTouchPoints&&l.maxTouchPoints>1||!isSecureContext?!1:(0,!0)}function j(e,t){return{...e,...t,tags:{...e.tags,...t.tags},onFormOpen:()=>{t.onFormOpen&&t.onFormOpen(),e.onFormOpen&&e.onFormOpen()},onFormClose:()=>{t.onFormClose&&t.onFormClose(),e.onFormClose&&e.onFormClose()},onSubmitSuccess:r=>{t.onSubmitSuccess&&t.onSubmitSuccess(r),e.onSubmitSuccess&&e.onSubmitSuccess(r)},onSubmitError:r=>{t.onSubmitError&&t.onSubmitError(r),e.onSubmitError&&e.onSubmitError(r)},onFormSubmitted:()=>{t.onFormSubmitted&&t.onFormSubmitted(),e.onFormSubmitted&&e.onFormSubmitted()},themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function A(e){let t=o.createElement("style");return t.textContent=`
.widget__actor {
  position: fixed;
  z-index: var(--z-index);
  margin: var(--page-margin);
  inset: var(--actor-inset);

  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;

  font-family: inherit;
  font-size: var(--font-size);
  font-weight: 600;
  line-height: 1.14em;
  text-decoration: none;

  background: var(--actor-background, var(--background));
  border-radius: var(--actor-border-radius, 1.7em/50%);
  border: var(--actor-border, var(--border));
  box-shadow: var(--actor-box-shadow, var(--box-shadow));
  color: var(--actor-color, var(--foreground));
  fill: var(--actor-color, var(--foreground));
  cursor: pointer;
  opacity: 1;
  transition: transform 0.2s ease-in-out;
  transform: translate(0, 0) scale(1);
}
.widget__actor[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translate(0, 16px) scale(0.98);
}

.widget__actor:hover {
  background: var(--actor-hover-background, var(--background));
  filter: var(--interactive-filter);
}

.widget__actor svg {
  width: 1.14em;
  height: 1.14em;
}

@media (max-width: 600px) {
  .widget__actor span {
    display: none;
  }
}
`,e&&t.setAttribute("nonce",e),t}function C(e,t){return Object.entries(t).forEach(([t,r])=>{e.setAttributeNS(null,t,r)}),e}function M(){let e=e=>i.document.createElementNS("http://www.w3.org/2000/svg",e);let t=C(e("svg"),{width:`${"20"}`,height:`${"20"}`,viewBox:`0 0 ${"20"} ${"20"}`,fill:"var(--actor-color, var(--foreground))"});let r=C(e("g"),{clipPath:"url(#clip0_57_80)"});let n=C(e("path"),{["fill-rule"]:"evenodd",["clip-rule"]:"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});t.appendChild(r).appendChild(n);let s=e("defs");let a=C(e("clipPath"),{id:"clip0_57_80"});let o=C(e("rect"),{width:`${"20"}`,height:`${"20"}`,fill:"white"});return a.appendChild(o),s.appendChild(a),t.appendChild(s).appendChild(a).appendChild(o),t}function I({triggerLabel:e,triggerAriaLabel:t,shadow:r,styleNonce:n}){let s=o.createElement("button");if(s.type="button",s.className="widget__actor",s.ariaHidden="false",s.ariaLabel=t||e||c,s.appendChild(M()),e){let t=o.createElement("span");t.appendChild(o.createTextNode(e)),s.appendChild(t)}let a=A(n);return{el:s,appendToDom(){r.appendChild(a),r.appendChild(s)},removeFromDom(){r.removeChild(s),r.removeChild(a)},show(){s.ariaHidden="false"},hide(){s.ariaHidden="true"}}}let R="rgba(88, 74, 192, 1)";let O={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:R,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"};let L={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:R,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function N(e){return`
  --foreground: ${e.foreground};
  --background: ${e.background};
  --accent-foreground: ${e.accentForeground};
  --accent-background: ${e.accentBackground};
  --success-color: ${e.successColor};
  --error-color: ${e.errorColor};
  --border: ${e.border};
  --box-shadow: ${e.boxShadow};
  --outline: ${e.outline};
  --interactive-filter: ${e.interactiveFilter};
  `}function D({colorScheme:e,themeDark:t,themeLight:r,styleNonce:n}){let s=o.createElement("style");return s.textContent=`
:host {
  --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif;
  --font-size: 14px;
  --z-index: 100000;

  --page-margin: 16px;
  --inset: auto 0 0 auto;
  --actor-inset: var(--inset);

  font-family: var(--font-family);
  font-size: var(--font-size);

  ${e!=="system"?"color-scheme: only light;":""}

  ${N(e==="dark"?{...L,...t}:{...O,...r})}
}

${e==="system"?`
@media (prefers-color-scheme: dark) {
  :host {
    ${N({...L,...t})}
  }
}`:""}
}
`,n&&s.setAttribute("nonce",n),s}let F=({lazyLoadIntegration:t,getModalIntegration:r,getScreenshotIntegration:n})=>{return({id:i="sentry-feedback",autoInject:l=!0,showBranding:A=!0,isEmailRequired:C=!1,isNameRequired:M=!1,showEmail:R=!0,showName:O=!0,enableScreenshot:L=!0,useSentryUser:N={email:"email",name:"username"},tags:F,styleNonce:P,scriptNonce:$,colorScheme:q="system",themeLight:z={},themeDark:H={},addScreenshotButtonLabel:U=_,cancelButtonLabel:B=u,confirmButtonLabel:G=d,emailLabel:W=p,emailPlaceholder:V=f,formTitle:Y=m,isRequiredLabel:J=w,messageLabel:K=y,messagePlaceholder:Z=g,nameLabel:X=b,namePlaceholder:Q=v,removeScreenshotButtonLabel:ee=S,submitButtonLabel:et=h,successMessageText:er=k,triggerLabel:en=c,triggerAriaLabel:es="",onFormOpen:ea,onFormClose:ei,onSubmitSuccess:eo,onSubmitError:el,onFormSubmitted:ec}={})=>{let eu={id:i,autoInject:l,showBranding:A,isEmailRequired:C,isNameRequired:M,showEmail:R,showName:O,enableScreenshot:L,useSentryUser:N,tags:F,styleNonce:P,scriptNonce:$,colorScheme:q,themeDark:H,themeLight:z,triggerLabel:en,triggerAriaLabel:es,cancelButtonLabel:B,submitButtonLabel:et,confirmButtonLabel:G,formTitle:Y,emailLabel:W,emailPlaceholder:V,messageLabel:K,messagePlaceholder:Z,nameLabel:X,namePlaceholder:Q,successMessageText:er,isRequiredLabel:J,addScreenshotButtonLabel:U,removeScreenshotButtonLabel:ee,onFormClose:ei,onFormOpen:ea,onSubmitError:el,onSubmitSuccess:eo,onFormSubmitted:ec};let eh=null;let ed=[];let em=e=>{if(!eh){let t=o.createElement("div");t.id=String(e.id),o.body.appendChild(t),(eh=t.attachShadow({mode:"open"})).appendChild(D(e))}return eh};let ef=async(r,n,s)=>{let a=(0,e.KU)();let i=a&&a.getIntegrationByName(r);if(i)return i;let o=(n&&n()||await t(s,$))();return a&&a.addIntegration(o),o};let ep=async e=>{let t=e.enableScreenshot&&E();let[s,i]=await Promise.all([ef("FeedbackModal",r,"feedbackModalIntegration"),t?ef("FeedbackScreenshot",n,"feedbackScreenshotIntegration"):undefined]);if(!s)throw x&&a.vF.error("[Feedback] Missing feedback modal integration. Try using `feedbackSyncIntegration` in your `Sentry.init`."),new Error("[Feedback] Missing feedback modal integration!");t&&!i&&x&&a.vF.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.");let o=s.createDialog({options:{...e,onFormClose:()=>{o&&o.close(),e.onFormClose&&e.onFormClose()},onFormSubmitted:()=>{o&&o.close(),e.onFormSubmitted&&e.onFormSubmitted()}},screenshotIntegration:t?i:undefined,sendFeedback:T,shadow:em(e)});return o};let eg=(e,t={})=>{let r=j(eu,t);let n=typeof e=="string"?o.querySelector(e):typeof e.addEventListener=="function"?e:null;if(!n)throw x&&a.vF.error("[Feedback] Unable to attach to target element"),new Error("Unable to attach to target element");let s=null;let i=async()=>{!s&&(s=await ep({...r,onFormSubmitted:()=>{s&&s.removeFromDom(),r.onFormSubmitted&&r.onFormSubmitted()}})),s.appendToDom(),s.open()};n.addEventListener("click",i);let l=()=>{ed=ed.filter(e=>e!==l),s&&s.removeFromDom(),s=null,n.removeEventListener("click",i)};return ed.push(l),l};let ey=(e={})=>{let t=j(eu,e);let r=em(t);let n=I({triggerLabel:t.triggerLabel,triggerAriaLabel:t.triggerAriaLabel,shadow:r,styleNonce:P});return eg(n.el,{...t,onFormOpen(){n.hide()},onFormClose(){n.show()},onFormSubmitted(){n.show()}}),n};return{name:"Feedback",setupOnce(){if(!(0,s.B)()||!eu.autoInject)return;o.readyState==="loading"?o.addEventListener("DOMContentLoaded",()=>ey().appendToDom()):ey().appendToDom()},attachTo:eg,createWidget(e={}){let t=ey(j(eu,e));return t.appendToDom(),t},async createForm(e={}){return ep(j(eu,e))},remove(){eh&&(eh.parentElement&&eh.parentElement.remove(),eh=null),ed.forEach(e=>e()),ed=[]}}}};function P(){let t=(0,e.KU)();return t&&t.getIntegrationByName("Feedback")}var $,q,z,H,U,B,G,W={},V=[],Y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,J=Array.isArray;function K(e,t){for(var r in t)e[r]=t[r];return e}function Z(e){var t=e.parentNode;t&&t.removeChild(e)}function X(e,t,r){var n,s,a,i={};for(a in t)"key"==a?n=t[a]:"ref"==a?s=t[a]:i[a]=t[a];if(arguments.length>2&&(i.children=arguments.length>3?$.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===i[a]&&(i[a]=e.defaultProps[a]);return Q(e,i,n,s,null)}function Q(e,t,r,n,s){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==s?++z:s,__i:-1,__u:0};return null==s&&null!=q.vnode&&q.vnode(a),a}function ee(e){return e.children}function et(e,t){this.props=e,this.context=t}function er(e,t){if(null==t)return e.__?er(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?er(e):null}function en(e,t,r){var n,s=e.__v,a=s.__e,i=e.__P;if(i)return(n=K({},s)).__v=s.__v+1,q.vnode&&q.vnode(n),ep(i,n,s,e.__n,void 0!==i.ownerSVGElement,32&s.__u?[a]:null,t,null==a?er(s):a,!!(32&s.__u),r),n.__.__k[n.__i]=n,n.__d=void 0,n.__e!=a&&es(n),n}function es(e){var t,r;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e){e.__e=e.__c.base=r.__e;break}return es(e)}}function ea(e){(!e.__d&&(e.__d=!0)&&H.push(e)&&!ei.__r++||U!==q.debounceRendering)&&((U=q.debounceRendering)||B)(ei)}function ei(){var e,t,r,n=[],s=[];for(H.sort(G);e=H.shift();)e.__d&&(r=H.length,t=en(e,n,s)||t,0===r||H.length>r?(eg(n,t,s),s.length=n.length=0,t=void 0,H.sort(G)):t&&q.__c&&q.__c(t,V));t&&eg(n,t,s),ei.__r=0}function eo(e,t,r,n,s,a,i,o,l,c,u){var h,d,m,f,p,g=n&&n.__k||V,y=t.length;for(r.__d=l,el(r,t,g),l=r.__d,h=0;h<y;h++)null!=(m=r.__k[h])&&"boolean"!=typeof m&&"function"!=typeof m&&(d=-1===m.__i?W:g[m.__i]||W,m.__i=h,ep(e,m,d,s,a,i,o,l,c,u),f=m.__e,m.ref&&d.ref!=m.ref&&(d.ref&&ev(d.ref,null,m),u.push(m.ref,m.__c||f,m)),null==p&&null!=f&&(p=f),65536&m.__u||d.__k===m.__k?l=ec(m,l,e):"function"==typeof m.type&&void 0!==m.__d?l=m.__d:f&&(l=f.nextSibling),m.__d=void 0,m.__u&=-196609);r.__d=l,r.__e=p}function el(e,t,r){var n,s,a,i,o,l=t.length,c=r.length,u=c,h=0;for(e.__k=[],n=0;n<l;n++)null!=(s=e.__k[n]=null==(s=t[n])||"boolean"==typeof s||"function"==typeof s?null:"string"==typeof s||"number"==typeof s||"bigint"==typeof s||s.constructor==String?Q(null,s,null,null,s):J(s)?Q(ee,{children:s},null,null,null):void 0===s.constructor&&s.__b>0?Q(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):s)?(s.__=e,s.__b=e.__b+1,o=eu(s,r,i=n+h,u),s.__i=o,a=null,-1!==o&&(u--,(a=r[o])&&(a.__u|=131072)),null==a||null===a.__v?(-1==o&&h--,"function"!=typeof s.type&&(s.__u|=65536)):o!==i&&(o===i+1?h++:o>i?u>l-i?h+=o-i:h--:h=o<i&&o==i-1?o-i:0,o!==n+h&&(s.__u|=65536))):(a=r[n])&&null==a.key&&a.__e&&(a.__e==e.__d&&(e.__d=er(a)),eb(a,a,!1),r[n]=null,u--);if(u)for(n=0;n<c;n++)null!=(a=r[n])&&0==(131072&a.__u)&&(a.__e==e.__d&&(e.__d=er(a)),eb(a,a))}function ec(e,t,r){var n,s;if("function"==typeof e.type){for(n=e.__k,s=0;n&&s<n.length;s++)n[s]&&(n[s].__=e,t=ec(n[s],t,r));return t}e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(null!=t&&8===t.nodeType)return t}function eu(e,t,r,n){var s=e.key,a=e.type,i=r-1,o=r+1,l=t[r];if(null===l||l&&s==l.key&&a===l.type)return r;if(n>(null!=l&&0==(131072&l.__u)?1:0))for(;i>=0||o<t.length;){if(i>=0){if((l=t[i])&&0==(131072&l.__u)&&s==l.key&&a===l.type)return i;i--}if(o<t.length){if((l=t[o])&&0==(131072&l.__u)&&s==l.key&&a===l.type)return o;o++}}return-1}function eh(e,t,r){"-"===t[0]?e.setProperty(t,null==r?"":r):e[t]=null==r?"":"number"!=typeof r||Y.test(t)?r:r+"px"}function ed(e,t,r,n,s){var a;e:if("style"===t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||eh(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||eh(e.style,t,r[t])}else if("o"===t[0]&&"n"===t[1])a=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=r,r?n?r.u=n.u:(r.u=Date.now(),e.addEventListener(t,a?ef:em,a)):e.removeEventListener(t,a?ef:em,a);else{if(s)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==r?"":r;break e}catch(e){}"function"==typeof r||(null==r||!1===r&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,r))}}function em(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(q.event?q.event(e):e)}}function ef(e){if(this.l)return this.l[e.type+!0](q.event?q.event(e):e)}function ep(e,t,r,n,s,a,i,o,l,c){var u,h,d,m,f,p,g,y,v,b,k,w,_,S,T,x=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(l=!!(32&r.__u),a=[o=t.__e=r.__e]),(u=q.__b)&&u(t);e:if("function"==typeof x)try{if(y=t.props,v=(u=x.contextType)&&n[u.__c],b=u?v?v.props.value:u.__:n,r.__c?g=(h=t.__c=r.__c).__=h.__E:("prototype"in x&&x.prototype.render?t.__c=h=new x(y,b):(t.__c=h=new et(y,b),h.constructor=x,h.render=ek),v&&v.sub(h),h.props=y,h.state||(h.state={}),h.context=b,h.__n=n,d=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=x.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=K({},h.__s)),K(h.__s,x.getDerivedStateFromProps(y,h.__s))),m=h.props,f=h.state,h.__v=t,d)null==x.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==x.getDerivedStateFromProps&&y!==m&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(y,b),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(y,h.__s,b)||t.__v===r.__v)){for(t.__v!==r.__v&&(h.props=y,h.state=h.__s,h.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(e){e&&(e.__=t)}),k=0;k<h._sb.length;k++)h.__h.push(h._sb[k]);h._sb=[],h.__h.length&&i.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(y,h.__s,b),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(m,f,p)})}if(h.context=b,h.props=y,h.__P=e,h.__e=!1,w=q.__r,_=0,"prototype"in x&&x.prototype.render){for(h.state=h.__s,h.__d=!1,w&&w(t),u=h.render(h.props,h.state,h.context),S=0;S<h._sb.length;S++)h.__h.push(h._sb[S]);h._sb=[]}else do h.__d=!1,w&&w(t),u=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++_<25)h.state=h.__s,null!=h.getChildContext&&(n=K(K({},n),h.getChildContext())),d||null==h.getSnapshotBeforeUpdate||(p=h.getSnapshotBeforeUpdate(m,f)),eo(e,J(T=null!=u&&u.type===ee&&null==u.key?u.props.children:u)?T:[T],t,r,n,s,a,i,o,l,c),h.base=t.__e,t.__u&=-161,h.__h.length&&i.push(h),g&&(h.__E=h.__=null)}catch(e){t.__v=null,l||null!=a?(t.__e=o,t.__u|=l?160:32,a[a.indexOf(o)]=null):(t.__e=r.__e,t.__k=r.__k),q.__e(e,t,r)}else null==a&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=ey(r.__e,t,r,n,s,a,i,l,c);(u=q.diffed)&&u(t)}function eg(e,t,r){for(var n=0;n<r.length;n++)ev(r[n],r[++n],r[++n]);q.__c&&q.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){q.__e(e,t.__v)}})}function ey(e,t,r,n,s,a,i,o,l){var c,u,h,d,m,f,p,g=r.props,y=t.props,v=t.type;if("svg"===v&&(s=!0),null!=a){for(c=0;c<a.length;c++)if((m=a[c])&&"setAttribute"in m==!!v&&(v?m.localName===v:3===m.nodeType)){e=m,a[c]=null;break}}if(null==e){if(null===v)return document.createTextNode(y);e=s?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,y.is&&y),a=null,o=!1}if(null===v)g===y||o&&e.data===y||(e.data=y);else{if(a=a&&$.call(e.childNodes),g=r.props||W,!o&&null!=a)for(g={},c=0;c<e.attributes.length;c++)g[(m=e.attributes[c]).name]=m.value;for(c in g)m=g[c],"children"==c||("dangerouslySetInnerHTML"==c?h=m:"key"===c||c in y||ed(e,c,null,m,s));for(c in y)m=y[c],"children"==c?d=m:"dangerouslySetInnerHTML"==c?u=m:"value"==c?f=m:"checked"==c?p=m:"key"===c||o&&"function"!=typeof m||g[c]===m||ed(e,c,m,g[c],s);if(u)o||h&&(u.__html===h.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(h&&(e.innerHTML=""),eo(e,J(d)?d:[d],t,r,n,s&&"foreignObject"!==v,a,i,a?a[0]:r.__k&&er(r,0),o,l),null!=a)for(c=a.length;c--;)null!=a[c]&&Z(a[c]);o||(c="value",void 0!==f&&(f!==e[c]||"progress"===v&&!f||"option"===v&&f!==g[c])&&ed(e,c,f,g[c],!1),c="checked",void 0!==p&&p!==e[c]&&ed(e,c,p,g[c],!1))}return e}function ev(e,t,r){try{"function"==typeof e?e(t):e.current=t}catch(e){q.__e(e,r)}}function eb(e,t,r){var n,s;if(q.unmount&&q.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||ev(n,null,t)),null!=(n=e.__c)){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(e){q.__e(e,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(s=0;s<n.length;s++)n[s]&&eb(n[s],t,r||"function"!=typeof e.type);r||null==e.__e||Z(e.__e),e.__=e.__e=e.__d=void 0}function ek(e,t,r){return this.constructor(e,r)}function ew(e,t,r){var n,s,a,i;q.__&&q.__(e,t),s=(n="function"==typeof r)?null:r&&r.__k||t.__k,a=[],i=[],ep(t,e=(!n&&r||t).__k=X(ee,null,[e]),s||W,W,void 0!==t.ownerSVGElement,!n&&r?[r]:s?null:t.firstChild?$.call(t.childNodes):null,a,!n&&r?r:s?s.__e:t.firstChild,n,i),e.__d=void 0,eg(a,e,i)}$=V.slice,q={__e:function(e,t,r,n){for(var s,a,i;t=t.__;)if((s=t.__c)&&!s.__)try{if((a=s.constructor)&&null!=a.getDerivedStateFromError&&(s.setState(a.getDerivedStateFromError(e)),i=s.__d),null!=s.componentDidCatch&&(s.componentDidCatch(e,n||{}),i=s.__d),i)return s.__E=s}catch(t){e=t}throw e}},z=0,et.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=K({},this.state),"function"==typeof e&&(e=e(K({},r),this.props)),e&&K(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),ea(this))},et.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ea(this))},et.prototype.render=ee,H=[],B="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,G=function(e,t){return e.__v.__b-t.__v.__b},ei.__r=0;var e_,eS,eT,ex,eE=0,ej=[],eA=[],eC=q,eM=eC.__b,eI=eC.__r,eR=eC.diffed,eO=eC.__c,eL=eC.unmount,eN=eC.__;function eD(e,t){eC.__h&&eC.__h(eS,e,eE||t),eE=0;var r=eS.__H||(eS.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:eA}),r.__[e]}function eF(e){return eE=1,eP(e1,e)}function eP(e,t,r){var n=eD(e_++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):e1(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],r=n.t(t,e);t!==r&&(n.__N=[r,n.__[1]],n.__c.setState({}))}],n.__c=eS,!eS.u)){var s=function(e,t,r){if(!n.__c.__H)return!0;var s=n.__c.__H.__.filter(function(e){return!!e.__c});if(s.every(function(e){return!e.__N}))return!a||a.call(this,e,t,r);var i=!1;return s.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),!(!i&&n.__c.props===e)&&(!a||a.call(this,e,t,r))};eS.u=!0;var a=eS.shouldComponentUpdate,i=eS.componentWillUpdate;eS.componentWillUpdate=function(e,t,r){if(this.__e){var n=a;a=void 0,s(e,t,r),a=n}i&&i.call(this,e,t,r)},eS.shouldComponentUpdate=s}return n.__N||n.__}function e$(e,t){var r=eD(e_++,3);!eC.__s&&e0(r.__H,t)&&(r.__=e,r.i=t,eS.__H.__h.push(r))}function eq(e,t){var r=eD(e_++,4);!eC.__s&&e0(r.__H,t)&&(r.__=e,r.i=t,eS.__h.push(r))}function ez(e){return eE=5,eU(function(){return{current:e}},[])}function eH(e,t,r){eE=6,eq(function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},null==r?r:r.concat(e))}function eU(e,t){var r=eD(e_++,7);return e0(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function eB(e,t){return eE=8,eU(function(){return e},t)}function eG(e){var t=eS.context[e.__c],r=eD(e_++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(eS)),t.props.value):e.__}function eW(e,t){eC.useDebugValue&&eC.useDebugValue(t?t(e):e)}function eV(e){var t=eD(e_++,10),r=eF();return t.__=e,eS.componentDidCatch||(eS.componentDidCatch=function(e,n){t.__&&t.__(e,n),r[1](e)}),[r[0],function(){r[1](void 0)}]}function eY(){var e=eD(e_++,11);if(!e.__){for(var t=eS.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function eJ(){for(var e;e=ej.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eX),e.__H.__h.forEach(eQ),e.__H.__h=[]}catch(t){e.__H.__h=[],eC.__e(t,e.__v)}}eC.__b=function(e){eS=null,eM&&eM(e)},eC.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),eN&&eN(e,t)},eC.__r=function(e){eI&&eI(e),e_=0;var t=(eS=e.__c).__H;t&&(eT===eS?(t.__h=[],eS.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=eA,e.__N=e.i=void 0})):(t.__h.forEach(eX),t.__h.forEach(eQ),t.__h=[],e_=0)),eT=eS},eC.diffed=function(e){eR&&eR(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==ej.push(t)&&ex===eC.requestAnimationFrame||((ex=eC.requestAnimationFrame)||eZ)(eJ)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==eA&&(e.__=e.__V),e.i=void 0,e.__V=eA})),eT=eS=null},eC.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eX),e.__h=e.__h.filter(function(e){return!e.__||eQ(e)})}catch(r){t.some(function(e){e.__h&&(e.__h=[])}),t=[],eC.__e(r,e.__v)}}),eO&&eO(e,t)},eC.unmount=function(e){eL&&eL(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(e){try{eX(e)}catch(e){t=e}}),r.__H=void 0,t&&eC.__e(t,r.__v))};var eK="function"==typeof requestAnimationFrame;function eZ(e){var t,r=function(){clearTimeout(n),eK&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);eK&&(t=requestAnimationFrame(r))}function eX(e){var t=eS,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),eS=t}function eQ(e){var t=eS;e.__c=e.__(),eS=t}function e0(e,t){return!e||e.length!==t.length||t.some(function(t,r){return t!==e[r]})}function e1(e,t){return"function"==typeof t?t(e):t}let e3={__proto__:null,useCallback:eB,useContext:eG,useDebugValue:eW,useEffect:e$,useErrorBoundary:eV,useId:eY,useImperativeHandle:eH,useLayoutEffect:eq,useMemo:eU,useReducer:eP,useRef:ez,useState:eF};function e2(){let e=e=>o.createElementNS("http://www.w3.org/2000/svg",e);let t=C(e("svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"});let r=C(e("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});return t.appendChild(r),t}let e6="/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/modal/components/DialogHeader.tsx";function e5({options:e}){let t=eU(()=>({__html:e2().outerHTML}),[]);return X("h2",{class:"dialog__header",__self:this,__source:{fileName:e6,lineNumber:16}},e.formTitle,e.showBranding?X("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:t,__self:this,__source:{fileName:e6,lineNumber:19}}):null)}function e8(e,t){let r=[];return t.isNameRequired&&!e.name&&r.push(t.nameLabel),t.isEmailRequired&&!e.email&&r.push(t.emailLabel),!e.message&&r.push(t.messageLabel),r}let e7="/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/modal/components/Form.tsx";function e4(e,t){let r=e.get(t);return typeof r=="string"?r.trim():(0,"")}function e9({options:e,defaultEmail:t,defaultName:r,onFormClose:n,onSubmit:s,onSubmitSuccess:i,onSubmitError:o,showEmail:l,showName:c,screenshotInput:u}){let{tags:h,addScreenshotButtonLabel:d,removeScreenshotButtonLabel:m,cancelButtonLabel:f,emailLabel:p,emailPlaceholder:g,isEmailRequired:y,isNameRequired:v,messageLabel:b,messagePlaceholder:k,nameLabel:w,namePlaceholder:_,submitButtonLabel:S,isRequiredLabel:T}=e;let[E,j]=eF(null);let[A,C]=eF(!1);let M=u&&u.input;let[I,R]=eF(null);let O=eB(e=>{R(e),C(!1)},[]);let L=eB(e=>{let t=e8(e,{emailLabel:p,isEmailRequired:y,isNameRequired:v,messageLabel:b,nameLabel:w});return t.length>0?j(`Please enter in the following required fields: ${t.join(", ")}`):j(null),t.length===0},[p,y,v,b,w]);return X("form",{class:"form",onSubmit:eB(async e=>{try{if(e.preventDefault(),!(e.target instanceof HTMLFormElement))return;let t=new FormData(e.target);let r=await (u&&A?u.value():undefined);let n={name:e4(t,"name"),email:e4(t,"email"),message:e4(t,"message"),attachments:r?[r]:undefined};if(!L(n))return;try{await s({name:n.name,email:n.email,message:n.message,source:"widget",tags:h},{attachments:n.attachments}),i(n)}catch(e){x&&a.vF.error(e),j(e),o(e)}}catch(e){}},[u&&A,i,o]),__self:this,__source:{fileName:e7,lineNumber:144}},M&&A?X(M,{onError:O,__self:this,__source:{fileName:e7,lineNumber:146}}):null,X("div",{class:"form__right","data-sentry-feedback":!0,__self:this,__source:{fileName:e7,lineNumber:149}},X("div",{class:"form__top",__self:this,__source:{fileName:e7,lineNumber:150}},E?X("div",{class:"form__error-container",__self:this,__source:{fileName:e7,lineNumber:151}},E):null,c?X("label",{for:"name",class:"form__label",__self:this,__source:{fileName:e7,lineNumber:154}},X(te,{label:w,isRequiredLabel:T,isRequired:v,__self:this,__source:{fileName:e7,lineNumber:155}}),X("input",{class:"form__input",defaultValue:r,id:"name",name:"name",placeholder:_,required:v,type:"text",__self:this,__source:{fileName:e7,lineNumber:156}})):X("input",{"aria-hidden":!0,value:r,name:"name",type:"hidden",__self:this,__source:{fileName:e7,lineNumber:167}}),l?X("label",{for:"email",class:"form__label",__self:this,__source:{fileName:e7,lineNumber:171}},X(te,{label:p,isRequiredLabel:T,isRequired:y,__self:this,__source:{fileName:e7,lineNumber:172}}),X("input",{class:"form__input",defaultValue:t,id:"email",name:"email",placeholder:g,required:y,type:"email",__self:this,__source:{fileName:e7,lineNumber:173}})):X("input",{"aria-hidden":!0,value:t,name:"email",type:"hidden",__self:this,__source:{fileName:e7,lineNumber:184}}),X("label",{for:"message",class:"form__label",__self:this,__source:{fileName:e7,lineNumber:187}},X(te,{label:b,isRequiredLabel:T,isRequired:!0,__self:this,__source:{fileName:e7,lineNumber:188}}),X("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:k,required:!0,rows:5,__self:this,__source:{fileName:e7,lineNumber:189}})),M?X("label",{for:"screenshot",class:"form__label",__self:this,__source:{fileName:e7,lineNumber:201}},X("button",{class:"btn btn--default",type:"button",onClick:()=>{R(null),C(e=>!e)},__self:this,__source:{fileName:e7,lineNumber:202}},A?m:d),I?X("div",{class:"form__error-container",__self:this,__source:{fileName:e7,lineNumber:212}},I.message):null):null),X("div",{class:"btn-group",__self:this,__source:{fileName:e7,lineNumber:216}},X("button",{class:"btn btn--primary",type:"submit",__self:this,__source:{fileName:e7,lineNumber:217}},S),X("button",{class:"btn btn--default",type:"button",onClick:n,__self:this,__source:{fileName:e7,lineNumber:220}},f))))}function te({label:e,isRequired:t,isRequiredLabel:r}){return X("span",{class:"form__label__text",__self:this,__source:{fileName:e7,lineNumber:239}},e,t&&X("span",{class:"form__label__text--required",__self:this,__source:{fileName:e7,lineNumber:241}},r))}function tt(){let e=e=>i.document.createElementNS("http://www.w3.org/2000/svg",e);let t=C(e("svg"),{width:`${"16"}`,height:`${"17"}`,viewBox:`0 0 ${"16"} ${"17"}`,fill:"inherit"});let r=C(e("g"),{clipPath:"url(#clip0_57_156)"});let n=C(e("path"),{["fill-rule"]:"evenodd",["clip-rule"]:"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"});let s=C(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});t.appendChild(r).append(s,n);let a=e("defs");let o=C(e("clipPath"),{id:"clip0_57_156"});let l=C(e("rect"),{width:`${"16"}`,height:`${"16"}`,fill:"white",transform:"translate(0 0.5)"});return o.appendChild(l),a.appendChild(o),t.appendChild(a).appendChild(o).appendChild(l),t}let tr="/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/modal/components/Dialog.tsx";function tn({open:e,onFormSubmitted:t,...r}){let n=r.options;let s=eU(()=>({__html:tt().outerHTML}),[]);let[a,i]=eF(null);let o=eB(()=>{a&&(clearTimeout(a),i(null)),t()},[a]);let l=eB(e=>{r.onSubmitSuccess(e),i(setTimeout(()=>{t(),i(null)},5e3))},[t]);return X(ee,{__self:this,__source:{fileName:tr,lineNumber:48}},a?X("div",{class:"success__position",onClick:o,__self:this,__source:{fileName:tr,lineNumber:50}},X("div",{class:"success__content",__self:this,__source:{fileName:tr,lineNumber:51}},n.successMessageText,X("span",{class:"success__icon",dangerouslySetInnerHTML:s,__self:this,__source:{fileName:tr,lineNumber:53}}))):X("dialog",{class:"dialog",onClick:n.onFormClose,open:e,__self:this,__source:{fileName:tr,lineNumber:57}},X("div",{class:"dialog__position",__self:this,__source:{fileName:tr,lineNumber:58}},X("div",{class:"dialog__content",onClick:e=>{e.stopPropagation()},__self:this,__source:{fileName:tr,lineNumber:59}},X(e5,{options:n,__self:this,__source:{fileName:tr,lineNumber:66}}),X(e9,{...r,onSubmitSuccess:l,__self:this,__source:{fileName:tr,lineNumber:67}})))))}let ts=`
.dialog {
  position: fixed;
  z-index: var(--z-index);
  margin: 0;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 100vh;
  width: 100vw;

  color: var(--dialog-color, var(--foreground));
  fill: var(--dialog-color, var(--foreground));
  line-height: 1.75em;

  background-color: rgba(0, 0, 0, 0.05);
  border: none;
  inset: 0;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.dialog__position {
  position: fixed;
  z-index: var(--z-index);
  inset: var(--dialog-inset);
  padding: var(--page-margin);
  display: flex;
  max-height: calc(100vh - (2 * var(--page-margin)));
}
@media (max-width: 600px) {
  .dialog__position {
    inset: var(--page-margin);
    padding: 0;
  }
}

.dialog__position:has(.editor) {
  inset: var(--page-margin);
  padding: 0;
}

.dialog:not([open]) {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.dialog:not([open]) .dialog__content {
  transform: translate(0, -16px) scale(0.98);
}

.dialog__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: var(--dialog-padding, 24px);
  max-width: 100%;
  width: 100%;
  max-height: 100%;
  overflow: auto;

  background: var(--dialog-background, var(--background));
  border-radius: var(--dialog-border-radius, 20px);
  border: var(--dialog-border, var(--border));
  box-shadow: var(--dialog-box-shadow, var(--box-shadow));
  transform: translate(0, 0) scale(1);
  transition: transform 0.2s ease-in-out;
}
`;let ta=`
.dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: var(--dialog-header-weight, 600);
  margin: 0;
}

.brand-link {
  display: inline-flex;
}
.brand-link:focus-visible {
  outline: var(--outline);
}
`;let ti=`
.form {
  display: flex;
  overflow: auto;
  flex-direction: row;
  gap: 16px;
  flex: 1 0;
}

.form__right {
  flex: 0 0 auto;
  width: var(--form-width, 272px);
  display: flex;
  overflow: auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 600px) {
  .form__right {
    width: var(--form-width, 100%);
  }
}

.form__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__error-container {
  color: var(--error-color);
  fill: var(--error-color);
}

.form__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0px;
}

.form__label__text {
  display: flex;
  gap: 4px;
  align-items: center;
}

.form__label__text--required {
  font-size: 0.85em;
}

.form__input {
  font-family: inherit;
  line-height: inherit;
  background: transparent;
  box-sizing: border-box;
  border: var(--input-border, var(--border));
  border-radius: var(--input-border-radius, 6px);
  color: var(--input-color, inherit);
  fill: var(--input-color, inherit);
  font-size: var(--input-font-size, inherit);
  font-weight: var(--input-font-weight, 500);
  padding: 6px 12px;
}

.form__input::placeholder {
  opacity: 0.65;
  color: var(--input-placeholder-color, inherit);
  filter: var(--interactive-filter);
}

.form__input:focus-visible {
  outline: var(--input-focus-outline, var(--outline));
}

.form__input--textarea {
  font-family: inherit;
  resize: vertical;
}

.error {
  color: var(--error-color);
  fill: var(--error-color);
}
`;let to=`
.btn-group {
  display: grid;
  gap: 8px;
}

.btn {
  line-height: inherit;
  border: var(--button-border, var(--border));
  border-radius: var(--button-border-radius, 6px);
  cursor: pointer;
  font-family: inherit;
  font-size: var(--button-font-size, inherit);
  font-weight: var(--button-font-weight, 600);
  padding: var(--button-padding, 6px 16px);
}
.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.btn--primary {
  color: var(--button-primary-color, var(--accent-foreground));
  fill: var(--button-primary-color, var(--accent-foreground));
  background: var(--button-primary-background, var(--accent-background));
  border: var(--button-primary-border, var(--border));
  border-radius: var(--button-primary-border-radius, 6px);
  font-weight: var(--button-primary-font-weight, 500);
}
.btn--primary:hover {
  color: var(--button-primary-hover-color, var(--accent-foreground));
  fill: var(--button-primary-hover-color, var(--accent-foreground));
  background: var(--button-primary-hover-background, var(--accent-background));
  filter: var(--interactive-filter);
}
.btn--primary:focus-visible {
  background: var(--button-primary-hover-background, var(--accent-background));
  filter: var(--interactive-filter);
  outline: var(--button-primary-focus-outline, var(--outline));
}

.btn--default {
  color: var(--button-color, var(--foreground));
  fill: var(--button-color, var(--foreground));
  background: var(--button-background, var(--background));
  border: var(--button-border, var(--border));
  border-radius: var(--button-border-radius, 6px);
  font-weight: var(--button-font-weight, 500);
}
.btn--default:hover {
  color: var(--button-color, var(--foreground));
  fill: var(--button-color, var(--foreground));
  background: var(--button-hover-background, var(--background));
  filter: var(--interactive-filter);
}
.btn--default:focus-visible {
  background: var(--button-hover-background, var(--background));
  filter: var(--interactive-filter);
  outline: var(--button-focus-outline, var(--outline));
}
`;let tl=`
.success__position {
  position: fixed;
  inset: var(--dialog-inset);
  padding: var(--page-margin);
  z-index: var(--z-index);
}
.success__content {
  background: var(--success-background, var(--background));
  border: var(--success-border, var(--border));
  border-radius: var(--success-border-radius, 1.7em/50%);
  box-shadow: var(--success-box-shadow, var(--box-shadow));
  font-weight: var(--success-font-weight, 600);
  color: var(--success-color);
  fill: var(--success-color);
  padding: 12px 24px;
  line-height: 1.75em;

  display: grid;
  align-items: center;
  grid-auto-flow: column;
  gap: 6px;
  cursor: default;
}

.success__icon {
  display: flex;
}
`;function tc(e){let t=o.createElement("style");return t.textContent=`
:host {
  --dialog-inset: var(--inset);
}

${ts}
${ta}
${ti}
${to}
${tl}
`,e&&t.setAttribute("nonce",e),t}function tu(){let t=(0,e.o5)().getUser();let r=(0,e.rm)().getUser();let n=(0,e.m6)().getUser();return t&&Object.keys(t).length?t:(0,r&&Object.keys(r).length)?r:(0,n)}let th=()=>{return{name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:r,shadow:n})=>{let s=e.useSentryUser;let a=tu();let i=o.createElement("div");let l=tc(e.styleNonce);let c="";let u={get el(){return i},appendToDom(){!n.contains(l)&&!n.contains(i)&&(n.appendChild(l),n.appendChild(i))},removeFromDom(){n.removeChild(i),n.removeChild(l),o.body.style.overflow=c},open(){d(!0),e.onFormOpen&&e.onFormOpen(),c=o.body.style.overflow,o.body.style.overflow="hidden"},close(){d(!1),o.body.style.overflow=c}};let h=t&&t.createInput({h:X,hooks:e3,dialog:u,options:e});let d=t=>{ew(X(tn,{options:e,screenshotInput:h,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:s&&a&&a[s.name]||"",defaultEmail:s&&a&&a[s.email]||"",onFormClose:()=>{d(!1),e.onFormClose&&e.onFormClose()},onSubmit:r,onSubmitSuccess:t=>{d(!1),e.onSubmitSuccess&&e.onSubmitSuccess(t)},onSubmitError:t=>{e.onSubmitError&&e.onSubmitError(t)},onFormSubmitted:()=>{e.onFormSubmitted&&e.onFormSubmitted()},open:t,__self:undefined,__source:{fileName:"/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/modal/integration.tsx",lineNumber:67}}),i)};return u}}};function td({h:e}){return function({top:t,left:r,corner:n,onGrabButton:s}){return e("button",{class:`editor__crop-corner editor__crop-corner--${n} `,style:{top:t,left:r},onMouseDown:e=>{e.preventDefault(),s(e,n)},onClick:e=>{e.preventDefault()},__self:this,__source:{fileName:"/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/screenshot/components/CropCorner.tsx",lineNumber:22}})}}function tm(e){let t=o.createElement("style");let r="#1A141F";let n="#302735";return t.textContent=`
.editor {
  padding: 10px;
  padding-top: 65px;
  padding-bottom: 65px;
  flex-grow: 1;

  background-color: ${r};
  background-image: repeating-linear-gradient(
      -145deg,
      transparent,
      transparent 8px,
      ${r} 8px,
      ${r} 11px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 15px,
      ${n} 15px,
      ${n} 16px
    );
}

.editor__canvas-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor__canvas-container canvas {
  object-fit: contain;
  position: relative;
}

.editor__crop-btn-group {
  padding: 8px;
  gap: 8px;
  border-radius: var(--menu-border-radius, 6px);
  background: var(--button-primary-background, var(--background));
  width: 175px;
  position: absolute;
}

.editor__crop-corner {
  width: 30px;
  height: 30px;
  position: absolute;
  background: none;
  border: 3px solid #ffffff;
}

.editor__crop-corner--top-left {
  cursor: nwse-resize;
  border-right: none;
  border-bottom: none;
}
.editor__crop-corner--top-right {
  cursor: nesw-resize;
  border-left: none;
  border-bottom: none;
}
.editor__crop-corner--bottom-left {
  cursor: nesw-resize;
  border-right: none;
  border-top: none;
}
.editor__crop-corner--bottom-right {
  cursor: nwse-resize;
  border-left: none;
  border-top: none;
}
`,e&&t.setAttribute("nonce",e),t}function tf({hooks:e}){return function({onBeforeScreenshot:t,onScreenshot:r,onAfterScreenshot:n,onError:s}){e.useEffect(()=>{(async()=>{t();let e=await l.mediaDevices.getDisplayMedia({video:{width:i.innerWidth*i.devicePixelRatio,height:i.innerHeight*i.devicePixelRatio},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"});let s=o.createElement("video");await new Promise((t,n)=>{s.srcObject=e,s.onloadedmetadata=()=>{r(s),e.getTracks().forEach(e=>e.stop()),t()},s.play().catch(n)}),n()})().catch(s)},[])}}let tp="/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/screenshot/components/ScreenshotEditor.tsx";let tg=30+3;let ty=i.devicePixelRatio;let tv=e=>{return{x:Math.min(e.startX,e.endX),y:Math.min(e.startY,e.endY),width:Math.abs(e.startX-e.endX),height:Math.abs(e.startY-e.endY)}};let tb=e=>{let t=e.clientHeight;let r=e.clientWidth;let n=e.width/e.height;let s=t*n;let a=t;s>r&&(s=r,a=r/n);let i=(r-s)/2;let o=(t-a)/2;return{startX:i,startY:o,endX:s+i,endY:a+o}};function tk({h:e,hooks:t,imageBuffer:r,dialog:n,options:s}){let a=tf({hooks:t});return function({onError:l}){let c=t.useMemo(()=>({__html:tm(s.styleNonce).innerText}),[]);let u=td({h:e});let h=t.useRef(null);let d=t.useRef(null);let m=t.useRef(null);let[f,p]=t.useState({startX:0,startY:0,endX:0,endY:0});let[g,y]=t.useState(!1);let[v,b]=t.useState(!1);function k(){let e=m.current;let t=tv(tb(r));if(e){e.width=t.width*ty,e.height=t.height*ty,e.style.width=`${t.width}px`,e.style.height=`${t.height}px`;let r=e.getContext("2d");r&&r.scale(ty,ty)}let n=d.current;n&&(n.style.width=`${t.width}px`,n.style.height=`${t.height}px`),p({startX:0,startY:0,endX:t.width,endY:t.height})}function w(e,t){y(!1),b(!0);let r=_(t);let n=()=>{o.removeEventListener("mousemove",r),o.removeEventListener("mouseup",n),y(!0),b(!1)};o.addEventListener("mouseup",n),o.addEventListener("mousemove",r)}t.useEffect(()=>{i.addEventListener("resize",k,!1)},[]),t.useEffect(()=>{let e=m.current;if(!e)return;let t=e.getContext("2d");if(!t)return;let n=tv(tb(r));let s=tv(f);t.clearRect(0,0,n.width,n.height),t.fillStyle="rgba(0, 0, 0, 0.5)",t.fillRect(0,0,n.width,n.height),t.clearRect(s.x,s.y,s.width,s.height),t.strokeStyle="#ffffff",t.lineWidth=3,t.strokeRect(s.x+1,s.y+1,s.width-2,s.height-2),t.strokeStyle="#000000",t.lineWidth=1,t.strokeRect(s.x+3,s.y+3,s.width-6,s.height-6)},[f]);let _=t.useCallback(e=>{return function(t){if(!m.current)return;let r=m.current;let n=r.getBoundingClientRect();let s=t.clientX-n.x;let a=t.clientY-n.y;switch(e){case"top-left":p(e=>({...e,startX:Math.min(Math.max(0,s),e.endX-tg),startY:Math.min(Math.max(0,a),e.endY-tg)}));break;case"top-right":p(e=>({...e,endX:Math.max(Math.min(s,r.width/ty),e.startX+tg),startY:Math.min(Math.max(0,a),e.endY-tg)}));break;case"bottom-left":p(e=>({...e,startX:Math.min(Math.max(0,s),e.endX-tg),endY:Math.max(Math.min(a,r.height/ty),e.startY+tg)}));break;case"bottom-right":p(e=>({...e,endX:Math.max(Math.min(s,r.width/ty),e.startX+tg),endY:Math.max(Math.min(a,r.height/ty),e.startY+tg)}));break}}},[]);let S=t.useRef({initialX:0,initialY:0});function T(e){if(v)return;S.current={initialX:e.clientX,initialY:e.clientY};let t=e=>{let t=m.current;if(!t)return;let r=e.clientX-S.current.initialX;let n=e.clientY-S.current.initialY;p(s=>{let a=Math.max(0,Math.min(s.startX+r,t.width/ty-(s.endX-s.startX)));let i=Math.max(0,Math.min(s.startY+n,t.height/ty-(s.endY-s.startY)));let o=a+(s.endX-s.startX);let l=i+(s.endY-s.startY);return S.current.initialX=e.clientX,S.current.initialY=e.clientY,{startX:a,startY:i,endX:o,endY:l}})};let r=()=>{o.removeEventListener("mousemove",t),o.removeEventListener("mouseup",r)};o.addEventListener("mousemove",t),o.addEventListener("mouseup",r)}function x(){let e=o.createElement("canvas");let t=tv(tb(r));let n=tv(f);e.width=n.width*ty,e.height=n.height*ty;let s=e.getContext("2d");s&&r&&s.drawImage(r,n.x/t.width*r.width,n.y/t.height*r.height,n.width/t.width*r.width,n.height/t.height*r.height,0,0,e.width,e.height);let a=r.getContext("2d");a&&(a.clearRect(0,0,r.width,r.height),r.width=e.width,r.height=e.height,r.style.width=`${n.width}px`,r.style.height=`${n.height}px`,a.drawImage(e,0,0),k())}return a({onBeforeScreenshot:t.useCallback(()=>{n.el.style.display="none"},[]),onScreenshot:t.useCallback(e=>{let t=r.getContext("2d");if(!t)throw new Error("Could not get canvas context");r.width=e.videoWidth,r.height=e.videoHeight,r.style.width="100%",r.style.height="100%",t.drawImage(e,0,0)},[r]),onAfterScreenshot:t.useCallback(()=>{n.el.style.display="block";let e=h.current;e&&e.appendChild(r),k()},[]),onError:t.useCallback(e=>{n.el.style.display="block",l(e)},[])}),e("div",{class:"editor",__self:this,__source:{fileName:tp,lineNumber:315}},e("style",{nonce:s.styleNonce,dangerouslySetInnerHTML:c,__self:this,__source:{fileName:tp,lineNumber:316}}),e("div",{class:"editor__canvas-container",ref:h,__self:this,__source:{fileName:tp,lineNumber:317}},e("div",{class:"editor__crop-container",style:{position:"absolute",zIndex:1},ref:d,__self:this,__source:{fileName:tp,lineNumber:318}},e("canvas",{onMouseDown:T,style:{position:"absolute",cursor:g?"move":"auto"},ref:m,__self:this,__source:{fileName:tp,lineNumber:319}}),e(u,{left:f.startX-3,top:f.startY-3,onGrabButton:w,corner:"top-left",__self:this,__source:{fileName:tp,lineNumber:324}}),e(u,{left:f.endX-30+3,top:f.startY-3,onGrabButton:w,corner:"top-right",__self:this,__source:{fileName:tp,lineNumber:330}}),e(u,{left:f.startX-3,top:f.endY-30+3,onGrabButton:w,corner:"bottom-left",__self:this,__source:{fileName:tp,lineNumber:336}}),e(u,{left:f.endX-30+3,top:f.endY-30+3,onGrabButton:w,corner:"bottom-right",__self:this,__source:{fileName:tp,lineNumber:342}}),e("div",{style:{left:Math.max(0,f.endX-191),top:Math.max(0,f.endY+8),display:g?"flex":"none"},class:"editor__crop-btn-group",__self:this,__source:{fileName:tp,lineNumber:348}},e("button",{onClick:e=>{e.preventDefault(),m.current&&p({startX:0,startY:0,endX:m.current.width/ty,endY:m.current.height/ty}),y(!1)},class:"btn btn--default",__self:this,__source:{fileName:tp,lineNumber:356}},s.cancelButtonLabel),e("button",{onClick:e=>{e.preventDefault(),x(),y(!1)},class:"btn btn--primary",__self:this,__source:{fileName:tp,lineNumber:373}},s.confirmButtonLabel)))))}}let tw=()=>{return{name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:r,options:n})=>{let s=o.createElement("canvas");return{input:tk({h:e,hooks:t,imageBuffer:s,dialog:r,options:n}),value:async()=>{let e=await new Promise(e=>{s.toBlob(e,"image/png")});return e?{data:new Uint8Array(await e.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}:(0,undefined)}}}}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/feedback",{__webpack_require__,__webpack_exports__}))()},178430(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";class e extends Error{constructor(t,{cause:r}={}){super(t),this.name=e.name,r&&(this.cause=r),this.message=t}}}}).call(__webpack_require__._LM_("@metamask/utils>pony-cause",{__webpack_exports__,__webpack_require__}))()},182881(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(){return typeof __SENTRY_BROWSER_BUNDLE__!=="undefined"&&!!__SENTRY_BROWSER_BUNDLE__}function t(){return"npm"}__webpack_require__.d(__webpack_exports__,{Z:()=>e,e:()=>t})}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},185635(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{l:()=>a});var e=__webpack_require__(577102);var t=__webpack_require__(769233);var r=__webpack_require__(814508);var n=__webpack_require__(716547);let s=t.O;let a=(0,e._C)((e={})=>{let t=e.frameContextLines!=null?e.frameContextLines:7;return{name:"ContextLines",processEvent(e){return i(e,t)}}});function i(e,t){let r=s.document;let a=s.location&&(0,n.f)(s.location.href);if(!r||!a)return e;let i=e.exception&&e.exception.values;if(!i||!i.length)return e;let l=r.documentElement.innerHTML;if(!l)return e;let c=["<!DOCTYPE html>","<html>",...l.split(`
`),"</html>"];return i.forEach(e=>{let r=e.stacktrace;r&&r.frames&&(r.frames=r.frames.map(e=>o(e,c,a,t)))}),e}function o(e,t,n,s){return e.filename!==n||!e.lineno||!t.length||(0,(0,r.db)(t,e,s)),e}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},186119(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{_g:()=>a,j6:()=>n,s1:()=>s});var e=__webpack_require__(784225);var t=__webpack_require__(342672);var r=__webpack_require__(142282);let n=(0,e.YP)((0,t.YO)(r.FX),"Non-EIP-155 Matching Addresses Account ID List",e=>{let t=e.map(e=>(0,r.Dz)(e));return!t.every(({address:e,chain:{namespace:r}})=>e===t[0].address&&r===t[0].chain.namespace)?"All account IDs must have the same address and namespace.":(0,t.some(({chain:{namespace:e}})=>{return e===r.wV.Eip155}))?"All account IDs must have non-EIP-155 namespaces.":(0,!0)});let s=(0,e.YP)(r.dg,"Non-EIP-155 Chain ID",e=>{let{namespace:t}=(0,r.rW)(e);return t===r.wV.Eip155?"Chain ID must not be an EIP-155 chain ID.":(0,!0)});let a=(0,e.YP)(r.jx,"Non-EIP-155 Asset Type",e=>{let{chain:{namespace:t}}=(0,r.Ts)(e);return t===r.wV.Eip155?"Asset type must not be an EIP-155 asset type.":(0,!0)})}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},187474(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{x:()=>t});var e=__webpack_require__(665812);function t(e,n,s=()=>{}){let a;try{a=e()}catch(e){throw n(e),s(),e}return r(a,n,s)}function r(t,r,n){return(0,e.Qg)(t)?t.then(e=>{return n(),e},e=>{throw r(e),n(),e}):(n(),t)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},187973(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>n});var e=__webpack_require__(402228);var t=__webpack_require__(577102);var r=__webpack_require__(411335);let n=(0,t._C)(()=>{return{name:"ModuleMetadata",setup(t){t.on("beforeEnvelope",t=>{(0,e.yH)(t,(e,t)=>{if(t==="event"){let t=Array.isArray(e)?e[1]:undefined;t&&((0,r.KT)(t),e[1]=t)}})}),t.on("applyFrameMetadata",e=>{if(e.type)return;let n=t.getOptions().stackParser;(0,r.Gr)(n,e)})}}})}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},188320(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>t});var e=__webpack_require__(818365);var t;var r;(r=t||(t={}))["Accessibility"]="accessibility",r["Activity"]="activity",r["AddCard"]="add-card",r["AddCircle"]="add-circle",r["AddSquare"]="add-square",r["Add"]="add",r["Ai"]="ai",r["AlternateEmail"]="alternate-email",r["Apple"]="apple",r["Apps"]="apps",r["Arrow2Down"]="arrow-2-down",r["Arrow2Left"]="arrow-2-left",r["Arrow2Right"]="arrow-2-right",r["Arrow2UpRight"]="arrow-2-up-right",r["Arrow2Up"]="arrow-2-up",r["ArrowCircleDown"]="arrow-circle-down",r["ArrowCircleUp"]="arrow-circle-up",r["ArrowDoubleLeft"]="arrow-double-left",r["ArrowDoubleRight"]="arrow-double-right",r["ArrowDown"]="arrow-down",r["ArrowDropDownCircle"]="arrow-drop-down-circle",r["ArrowLeft"]="arrow-left",r["ArrowRight"]="arrow-right",r["ArrowUp"]="arrow-up",r["Attachment"]="attachment",r["Ban"]="ban",r["BankAssured"]="bank-assured",r["Bank"]="bank",r["Bold"]="bold",r["Book"]="book",r["Bookmark"]="bookmark",r["Bridge"]="bridge",r["Briefcase"]="briefcase",r["Bulb"]="bulb",r["BuySell"]="buy-sell",r["Cake"]="cake",r["Calculator"]="calculator",r["Calendar"]="calendar",r["Call"]="call",r["Camera"]="camera",r["Campaign"]="campaign",r["CardPos"]="card-pos",r["Card"]="card",r["Cash"]="cash",r["Category"]="category",r["Chart"]="chart",r["CheckBold"]="check-bold",r["Check"]="check",r["CircleX"]="circle-x",r["ClockFilled"]="clock-filled",r["Clock"]="clock",r["Close"]="close",r["CloudDownload"]="cloud-download",r["CloudUpload"]="cloud-upload",r["Cloud"]="cloud",r["CodeCircle"]="code-circle",r["Code"]="code",r["Coin"]="coin",r["Collapse"]="collapse",r["Confirmation"]="confirmation",r["Connect"]="connect",r["CopySuccess"]="copy-success",r["Copy"]="copy",r["CreditCheck"]="credit-check",r["CurrencyFranc"]="currency-franc",r["CurrencyLira"]="currency-lira",r["CurrencyPound"]="currency-pound",r["CurrencyYuan"]="currency-yuan",r["Customize"]="customize",r["Danger"]="danger",r["DarkFilled"]="dark-filled",r["Dark"]="dark",r["Data"]="data",r["Description"]="description",r["Details"]="details",r["Diagram"]="diagram",r["DocumentCode"]="document-code",r["Download"]="download",r["Draft"]="draft",r["EcoLeaf"]="eco-leaf",r["EditSquare"]="edit-square",r["Edit"]="edit",r["EncryptedAdd"]="encrypted-add",r["Eraser"]="eraser",r["Error"]="error",r["Ethereum"]="ethereum",r["Exchange"]="exchange",r["ExpandVertical"]="expand-vertical",r["Expand"]="expand",r["ExploreFilled"]="explore-filled",r["Explore"]="explore",r["Export"]="export",r["Extension"]="extension",r["EyeSlash"]="eye-slash",r["Eye"]="eye",r["FaceId"]="face-id",r["Feedback"]="feedback",r["File"]="file",r["Filter"]="filter",r["Fingerprint"]="fingerprint",r["Fire"]="fire",r["FirstPage"]="first-page",r["Flag"]="flag",r["FlashSlash"]="flash-slash",r["Flash"]="flash",r["Flask"]="flask",r["Flower"]="flower",r["Folder"]="folder",r["Forest"]="forest",r["FullCircle"]="full-circle",r["Gas"]="gas",r["Gift"]="gift",r["GlobalSearch"]="global-search",r["Global"]="global",r["Graph"]="graph",r["Hardware"]="hardware",r["HashTag"]="hash-tag",r["HeartFilled"]="heart-filled",r["Heart"]="heart",r["Hierarchy"]="hierarchy",r["HomeFilled"]="home-filled",r["Home"]="home",r["Image"]="image",r["Info"]="info",r["Inventory"]="inventory",r["Joystick"]="joystick",r["KeepFilled"]="keep-filled",r["Keep"]="keep",r["Key"]="key",r["LastPage"]="last-page",r["LightFilled"]="light-filled",r["Light"]="light",r["Link"]="link",r["Loading"]="loading",r["Location"]="location",r["LockSlash"]="lock-slash",r["Lock"]="lock",r["LockedFilled"]="locked-filled",r["Login"]="login",r["Logout"]="logout",r["Mail"]="mail",r["Map"]="map",r["Menu"]="menu",r["MessageQuestion"]="message-question",r["Messages"]="messages",r["Mic"]="mic",r["MinusBold"]="minus-bold",r["MinusSquare"]="minus-square",r["Minus"]="minus",r["Mobile"]="mobile",r["MoneyBag"]="money-bag",r["Money"]="money",r["Monitor"]="monitor",r["MoreHorizontal"]="more-horizontal",r["MoreVertical"]="more-vertical",r["MountainFlag"]="mountain-flag",r["MusicNote"]="music-note",r["Notification"]="notification",r["PageInfo"]="page-info",r["Palette"]="palette",r["PasswordCheck"]="password-check",r["Pending"]="pending",r["People"]="people",r["PersonCancel"]="person-cancel",r["Pin"]="pin",r["Plant"]="plant",r["Plug"]="plug",r["PlusAndMinus"]="plus-and-minus",r["PolicyAlert"]="policy-alert",r["Print"]="print",r["PriorityHigh"]="priority-high",r["PrivacyTip"]="privacy-tip",r["ProgrammingArrows"]="programming-arrows",r["Publish"]="publish",r["QrCode"]="qr-code",r["Question"]="question",r["Receive"]="receive",r["Received"]="received",r["Refresh"]="refresh",r["RemoveMinus"]="remove-minus",r["Report"]="report",r["Rocket"]="rocket",r["SaveFilled"]="save-filled",r["Save"]="save",r["Saving"]="saving",r["ScanBarcode"]="scan-barcode",r["ScanFocus"]="scan-focus",r["Scan"]="scan",r["Search"]="search",r["SecurityAlert"]="security-alert",r["SecurityCross"]="security-cross",r["SecurityKey"]="security-key",r["SecuritySearch"]="security-search",r["SecuritySlash"]="security-slash",r["SecurityTick"]="security-tick",r["SecurityTime"]="security-time",r["SecurityUser"]="security-user",r["Security"]="security",r["Send"]="send",r["SentimentDissatisfied"]="sentiment-dissatisfied",r["SentimentNeutral"]="sentiment-neutral",r["SentimentSatisfied"]="sentiment-satisfied",r["SentimentVerySatisfied"]="sentiment-very-satisfied",r["SettingFilled"]="setting-filled",r["Setting"]="setting",r["Share"]="share",r["ShieldLock"]="shield-lock",r["ShoppingBag"]="shopping-bag",r["ShoppingCart"]="shopping-cart",r["SignalCellular"]="signal-cellular",r["Slash"]="slash",r["Sms"]="sms",r["SnapsMobile"]="snaps-mobile",r["SnapsPlus"]="snaps-plus",r["SnapsRound"]="snaps-round",r["Snaps"]="snaps",r["SortByAlpha"]="sort-by-alpha",r["Sort"]="sort",r["Sparkle"]="sparkle",r["Speed"]="speed",r["Speedometer"]="speedometer",r["Square"]="square",r["Stake"]="stake",r["StarFilled"]="star-filled",r["Star"]="star",r["Start"]="start",r["Storefront"]="storefront",r["Student"]="student",r["SwapHorizontal"]="swap-horizontal",r["SwapVertical"]="swap-vertical",r["TabClose"]="tab-close",r["TableRow"]="table-row",r["Tablet"]="tablet",r["Tag"]="tag",r["ThumbDownFilled"]="thumb-down-filled",r["ThumbDown"]="thumb-down",r["ThumbUpFilled"]="thumb-up-filled",r["ThumbUp"]="thumb-up",r["Tint"]="tint",r["Tooltip"]="tooltip",r["Translate"]="translate",r["Trash"]="trash",r["TrendDown"]="trend-down",r["TrendUp"]="trend-up",r["TriangleUp"]="triangle-up",r["TriangleDown"]="triangle-down",r["Undo"]="undo",r["Unfold"]="unfold",r["UnlockedFilled"]="unlocked-filled",r["Unpin"]="unpin",r["UploadFile"]="upload-file",r["Upload"]="upload",r["Usb"]="usb",r["UserCheck"]="user-check",r["UserCircleAdd"]="user-circle-add",r["UserCircleRemove"]="user-circle-remove",r["UserCircle"]="user-circle",r["User"]="user",r["VerifiedFilled"]="verified-filled",r["Verified"]="verified",r["Videocam"]="videocam",r["ViewColumn"]="view-column",r["ViewInAr"]="view-in-ar",r["VolumeOff"]="volume-off",r["VolumeUp"]="volume-up",r["WalletFilled"]="wallet-filled",r["Wallet"]="wallet",r["Warning"]="warning",r["WebTraffic"]="web-traffic",r["Widgets"]="widgets",r["WifiOff"]="wifi-off",r["Wifi"]="wifi",r["X"]="x",(0,e.K)("Icon")}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},189193(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{j:()=>s});var e=__webpack_require__(665812);var t=__webpack_require__(613608);var r=__webpack_require__(316310);var n=__webpack_require__(352158);function s(a,i,o,l=0){return new r.T2((r,c)=>{let u=a[l];if(i===null||typeof u!=="function")r(i);else{let h=u({...i},o);n.T&&u.id&&h===null&&t.vF.log(`Event processor "${u.id}" dropped event`),(0,e.Qg)(h)?h.then(e=>s(a,e,o,l+1).then(r)).then(null,c):s(a,h,o,l+1).then(r).then(null,c)}})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},195829(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>r});var e=__webpack_require__(178066);var t=__webpack_require__(810087);let r=(0,e.aD)({lazyLoadIntegration:t.b,getModalIntegration:()=>e.j0,getScreenshotIntegration:()=>e.U$})}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},201740(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>i});var e=__webpack_require__(613608);var t=__webpack_require__(814508);var r=__webpack_require__(605257);var n=__webpack_require__(352158);var s=__webpack_require__(577102);let a=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"];let i=(0,s._C)((e={})=>{return{name:"InboundFilters",processEvent(t,r,n){return l(t,o(e,n.getOptions()))?null:t}}});function o(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:a],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==undefined?e.ignoreInternal:!0}}function l(r,s){return s.ignoreInternal&&f(r)?(n.T&&e.vF.warn(`Event dropped due to being internal Sentry Error.
Event: ${(0,t.$X)(r)}`),!0):(0,c(r,s.ignoreErrors))?(n.T&&e.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${(0,t.$X)(r)}`),!0):(0,y(r))?(n.T&&e.vF.warn(`Event dropped due to not having an error message, error type or stacktrace.
Event: ${(0,t.$X)(r)}`),!0):(0,u(r,s.ignoreTransactions))?(n.T&&e.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${(0,t.$X)(r)}`),!0):(0,h(r,s.denyUrls))?(n.T&&e.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${(0,t.$X)(r)}.
Url: ${g(r)}`),!0):(0,!d(r,s.allowUrls))?(n.T&&e.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${(0,t.$X)(r)}.
Url: ${g(r)}`),!0):(0,!1)}function c(e,t){return e.type||!t||!t.length?!1:(0,m(e).some(e=>(0,r.Xr)(e,t)))}function u(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;let n=e.transaction;return n?(0,r.Xr)(n,t):!1}function h(e,t){if(!t||!t.length)return!1;let n=g(e);return!n?!1:(0,r.Xr)(n,t)}function d(e,t){if(!t||!t.length)return!0;let n=g(e);return!n?!0:(0,r.Xr)(n,t)}function m(e){let t=[];e.message&&t.push(e.message);let r;try{r=e.exception.values[e.exception.values.length-1]}catch(e){}return r&&r.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`)),t}function f(e){try{return e.exception.values[0].type==="SentryError"}catch(e){}return!1}function p(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&r.filename!=="<anonymous>"&&r.filename!=="[native code]")return r.filename||null}return null}function g(r){try{let e;try{e=r.exception.values[0].stacktrace.frames}catch(e){}return e?p(e):null}catch(s){return n.T&&e.vF.error(`Cannot extract url for event ${(0,t.$X)(r)}`),null}}function y(e){return e.type||!e.exception||!e.exception.values||e.exception.values.length===0?!1:(0,!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!=="Error"||e.value))}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},208554(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E:()=>u});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(174638);var n=__webpack_require__(861913);var s=__webpack_require__(955187);var a=__webpack_require__(879771);var i=__webpack_require__(676358);var o;var l;(l=o||(o={}))["Default"]="default",l["Critical"]="critical",l["Warning"]="warning";let c=(0,e.KC)([n.x,s.z,r.A]);let u=(0,t.kp)(i.Tl,(0,e.Ik)({type:(0,a.eu)(i.Z6.Row),variant:(0,e.lq)((0,e.KC)([(0,a.$9)(o.Default),(0,a.$9)(o.Critical),(0,a.$9)(o.Warning)])),label:(0,e.Yj)(),value:c}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},210164(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{J5:()=>G,QE:()=>J,_E:()=>Q,a8:()=>W,lA:()=>B,rB:()=>V});var e=__webpack_require__(512986);var t=__webpack_require__(122552);var r=__webpack_require__(774810);var n=__webpack_require__(750628);let s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function a(...e){let t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function i(...e){return t=>e.reduce(([e,r,n],s)=>{let[a,i,o]=s(t,n);return[{...e,...a},i||r,o]},[{},null,1]).slice(0,2)}function o(e,...t){if(e==null)return[null,null];for(let[r,n]of t){let t=r.exec(e);if(t)return n(t)}return[null,null]}function l(...t){return(r,n)=>{let s={};let a;for(a=0;a<t.length;a++)s[t[a]]=(0,e.cG)(r[n+a]);return[s,null,n+a]}}let c=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/;let u=`(?:${c.source}?(?:\\[(${s.source})\\])?)?`;let h=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/;let d=RegExp(`${h.source}${u}`);let m=RegExp(`(?:T${d.source})?`);let f=l("weekYear","weekNumber","weekDay");let p=l("year","ordinal");let g=RegExp(`${h.source} ?(?:${c.source}|(${s.source}))?`);let y=RegExp(`(?: ${g.source})?`);function v(t,r,n){let s=t[r];return(0,e.b0)(s)?n:(0,e.cG)(s)}function b(e,t){return[{year:v(e,t),month:v(e,t+1,1),day:v(e,t+2,1)},null,t+3]}function k(t,r){return[{hours:v(t,r,0),minutes:v(t,r+1,0),seconds:v(t,r+2,0),milliseconds:(0,e.m3)(t[r+3])},null,r+4]}function w(t,n){let s=!t[n]&&!t[n+1],a=(0,e.gu)(t[n+1],t[n+2]);return[{},s?null:r.A.instance(a),n+3]}function _(e,t){return[{},e[t]?n.A.create(e[t]):null,t+1]}let S=RegExp(`^T?${h.source}$`);let T=/^-?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 x(t){let[r,n,s,a,i,o,l,c,u]=t;let h=r[0]==="-";let d=c&&c[0]==="-";let m=(e,t=!1)=>e!==undefined&&(t||e&&h)?-e:e;return[{years:m((0,e.mp)(n)),months:m((0,e.mp)(s)),weeks:m((0,e.mp)(a)),days:m((0,e.mp)(i)),hours:m((0,e.mp)(o)),minutes:m((0,e.mp)(l)),seconds:m((0,e.mp)(c),c==="-0"),milliseconds:m((0,e.m3)(u),d)}]}let E={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function j(r,n,s,a,i,o,l){let c={year:n.length===2?(0,e.fT)((0,e.cG)(n)):(0,e.cG)(n),month:t.s$.indexOf(s)+1,day:(0,e.cG)(a),hour:(0,e.cG)(i),minute:(0,e.cG)(o)};return l&&(c.second=(0,e.cG)(l)),r&&(c.weekday=r.length>3?t.s7.indexOf(r)+1:t.Ci.indexOf(r)+1),c}let A=/^(?:(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 C(t){let[,n,s,a,i,o,l,c,u,h,d,m]=t,f=j(n,i,a,s,o,l,c);let p;return p=u?E[u]:h?0:(0,e.gu)(d,m),[f,new r.A(p)]}function M(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}let I=/^(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$/,R=/^(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$/,O=/^(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 L(e){let[,t,n,s,a,i,o,l]=e;return[j(t,a,s,n,i,o,l),r.A.utcInstance]}function N(e){let[,t,n,s,a,i,o,l]=e;return[j(t,l,n,s,a,i,o),r.A.utcInstance]}let D=a(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,m);let F=a(/(\d{4})-?W(\d\d)(?:-?(\d))?/,m);let P=a(/(\d{4})-?(\d{3})/,m);let $=a(d);let q=i(b,k,w,_);let z=i(f,k,w,_);let H=i(p,k,w,_);let U=i(k,w,_);function B(e){return o(e,[D,q],[F,z],[P,H],[$,U])}function G(e){return o(M(e),[A,C])}function W(e){return o(e,[I,L],[R,L],[O,N])}function V(e){return o(e,[T,x])}let Y=i(k);function J(e){return o(e,[S,Y])}let K=a(/(\d{4})-(\d\d)-(\d\d)/,y);let Z=a(g);let X=i(k,w,_);function Q(e){return o(e,[K,q],[Z,X])}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},232712(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>i});var e=__webpack_require__(835203);var t=__webpack_require__(750628);var r=__webpack_require__(774810);var n=__webpack_require__(948972);var s=__webpack_require__(512986);var a=__webpack_require__(597054);function i(i,o){if((0,s.b0)(i)||i===null)return o;if(i instanceof e.A)return i;if((0,s.Kg)(i)){let e=i.toLowerCase();return e==="default"?o:(0,e==="local"||e==="system")?a.A.instance:(0,e==="utc"||e==="gmt")?r.A.utcInstance:r.A.parseSpecifier(e)||t.A.create(i)}if((0,s.Et)(i))return r.A.instance(i);if(typeof i=="object"&&"offset"in i&&typeof i.offset=="function")return i;else return new n.A(i)}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},234512(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>t});var e=__webpack_require__(765698);let t=()=>{return e.j.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},241361(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Fy:()=>t,_d:()=>r,eZ:()=>n,wb:()=>a});var e=__webpack_require__(531589);function t(t){let{caveats:r=null,invoker:n,target:s}=t;return{id:(0,e.Ak)(),parentCapability:s,invoker:n,caveats:r,date:new Date().getTime()}}function r(e,t){return e.caveats?.find(e=>e.type===t)}var n;var s;function a(e,t){return e.permissionType===t}(s=n||(n={}))["RestrictedMethod"]="RestrictedMethod",s["Endowment"]="Endowment"}}).call(__webpack_require__._LM_("@metamask/permission-controller",{__webpack_require__,__webpack_exports__}))()},244231(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){return t(e)&&typeof e[Symbol.iterator]=="function"}function t(e){return typeof e=="object"&&e!==null}function r(e){return typeof e=="symbol"?e.toString():(0,typeof e=="string"?JSON.stringify(e):`${e}`)}function n(e){let{done:t,value:r}=e.next();return t?undefined:r}function s(e,t,n,s){if(e===!0)return undefined;e===!1?e={}:typeof e=="string"&&(e={message:e});let{path:a,branch:i}=t;let{type:o}=n;let{refinement:l,message:c=`Expected a value of type \`${o}\`${l?` with refinement \`${l}\``:""}, but received: \`${r(s)}\``}=e;return{value:s,type:o,refinement:l,key:a[a.length-1],path:a,branch:i,...e,message:c}}function*a(t,r,n,a){for(let i of(!e(t)&&(t=[t]),t)){let e=s(i,r,n,a);e&&(yield e)}}function*i(e,r,n={}){let{path:s=[],branch:a=[e],coerce:o=!1,mask:l=!1}=n;let c={path:s,branch:a};if(o){if(e=r.coercer(e,c),l&&r.type!=="type"&&t(r.schema)&&t(e)&&!Array.isArray(e))for(let t in e)r.schema[t]===undefined&&delete e[t]}let u="valid";for(let t of r.validator(e,c))t.explanation=n.message,u="not_valid",yield[t,undefined];for(let[h,d,m]of r.entries(e,c))for(let r of i(d,m,{path:h===undefined?s:[...s,h],branch:h===undefined?a:[...a,d],coerce:o,mask:l,message:n.message}))r[0]?(u=r[0].refinement===null||r[0].refinement===undefined?"not_valid":"not_refined",yield[r[0],undefined]):o&&(d=r[1],h===undefined?e=d:e instanceof Map?e.set(h,d):e instanceof Set?e.add(d):t(e)&&(d!==undefined||h in e)&&(e[h]=d));if(u!=="not_valid")for(let t of r.refiner(e,c))t.explanation=n.message,u="not_refined",yield[t,undefined];u==="valid"&&(yield[undefined,e])}__webpack_require__.d(__webpack_exports__,{Gv:()=>t,RF:()=>a,eF:()=>i,jT:()=>n,yy:()=>r})}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_exports__,__webpack_require__}))()},244880(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Nt:()=>_,Sx:()=>w,dp:()=>k});var e=__webpack_require__(138716);var t=__webpack_require__(662925);var r=__webpack_require__(566632);var n=__webpack_require__(410710);var s=__webpack_require__(538979);var a=__webpack_require__(98154);var i=__webpack_require__(78463);var o=__webpack_require__(123532);var l=__webpack_require__(682631);var c=__webpack_require__(1090);var u=__webpack_require__(769233);var h=__webpack_require__(613608);var d=__webpack_require__(650773);var m=__webpack_require__(973544);var f=__webpack_require__(151201);var p=__webpack_require__(366523);var g=__webpack_require__(382128);var y=__webpack_require__(472847);var v=__webpack_require__(43417);let b={...s.C,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...v.h$};let k=(c={})=>{(0,n.s)();let{enableInp:f,enableLongTask:k,enableLongAnimationFrame:x,_experiments:{enableInteractions:E,enableStandaloneClsSpans:j},beforeStartSpan:A,idleTimeout:C,finalTimeout:M,childSpanTimeout:I,markBackgroundSpan:R,traceFetch:O,traceXHR:L,shouldCreateSpanForRequest:N,enableHTTPTimings:D,instrumentPageLoad:F,instrumentNavigation:P}={...b,...c};let $=(0,e.bk)({recordClsStandaloneSpans:j||!1});f&&(0,r.Z)(),x&&u.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?(0,e.U$)():k&&(0,e.c8)(),E&&(0,e.DI)();let q={name:undefined,source:undefined};function z(t,r){let n=r.op==="pageload";let a=A?A(r):r;let o=a.attributes||{};r.name!==a.name&&(o[i.i_]="custom",a.attributes=o),q.name=a.name,q.source=o[i.i_];let l=(0,s.D)(a,{idleTimeout:C,finalTimeout:M,childSpanTimeout:I,disableAutoFinish:n,beforeSpanEnd:t=>{$(),(0,e.QU)(t,{recordClsOnPageloadSpan:!j})}});function c(){["interactive","complete"].includes(g.jf.document.readyState)&&t.emit("idleSpanEnableAutoFinish",l)}return n&&g.jf.document&&(g.jf.document.addEventListener("readystatechange",()=>{c()}),c()),l}return{name:"BrowserTracing",afterAllSetup(e){let n;let s=g.jf.location&&g.jf.location.href;e.on("startNavigationSpan",t=>{if((0,o.KU)()!==e)return;n&&!(0,l.et)(n).timestamp&&(p.T&&h.vF.log(`[Tracing] Finishing current root span with op: ${(0,l.et)(n).op}`),n.end()),n=z(e,{op:"navigation",...t})}),e.on("startPageLoadSpan",(t,r={})=>{if((0,o.KU)()!==e)return;n&&!(0,l.et)(n).timestamp&&(p.T&&h.vF.log(`[Tracing] Finishing current root span with op: ${(0,l.et)(n).op}`),n.end());let s=r.sentryTrace||S("sentry-trace");let a=r.baggage||S("baggage");let i=(0,m.kM)(s,a);(0,o.o5)().setPropagationContext(i),n=z(e,{op:"pageload",...t})}),e.on("spanEnd",e=>{let t=(0,l.et)(e).op;if(e!==(0,l.zU)(e)||t!=="navigation"&&t!=="pageload")return;let r=(0,o.o5)();let n=r.getPropagationContext();r.setPropagationContext({...n,sampled:n.sampled!==undefined?n.sampled:(0,l.pK)(e),dsc:n.dsc||(0,a.k1)(e)})}),g.jf.location&&(F&&w(e,{name:g.jf.location.pathname,startTime:d.k3?d.k3/1e3:undefined,attributes:{[i.i_]:"url",[i.JD]:"auto.pageload.browser"}}),P&&(0,t._)(({to:t,from:r})=>{if(r===undefined&&s&&s.indexOf(t)!==-1){s=undefined;return}r!==t&&(s=undefined,_(e,{name:g.jf.location.pathname,attributes:{[i.i_]:"url",[i.JD]:"auto.navigation.browser"}}))})),R&&(0,y.i)(),E&&T(C,M,I,q),f&&(0,r.B)(),(0,v.Qb)(e,{traceFetch:O,traceXHR:L,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:N,enableHTTPTimings:D})}}};function w(e,t,r){e.emit("startPageLoadSpan",t,r),(0,o.o5)().setTransactionName(t.name);let n=(0,l.Bk)();return(n&&(0,l.et)(n).op)==="pageload"?n:undefined}function _(e,t){(0,o.rm)().setPropagationContext((0,f.J)()),(0,o.o5)().setPropagationContext((0,f.J)()),e.emit("startNavigationSpan",t),(0,o.o5)().setTransactionName(t.name);let r=(0,l.Bk)();return(r&&(0,l.et)(r).op)==="navigation"?r:undefined}function S(e){let t=(0,c.NX)(`meta[name=${e}]`);return t?t.getAttribute("content"):undefined}function T(e,t,r,n){let a;g.jf.document&&addEventListener("click",()=>{let o="ui.action.click";let c=(0,l.Bk)();let u=c&&(0,l.zU)(c);if(u){if(["navigation","pageload"].includes((0,l.et)(u).op))return p.T&&h.vF.warn(`[Tracing] Did not create ${o} span because a pageload or navigation span is in progress.`),undefined}if(a&&(a.setAttribute(i.fs,"interactionInterrupted"),a.end(),a=undefined),!n.name)return p.T&&h.vF.warn(`[Tracing] Did not create ${o} transaction because _latestRouteName is missing.`),undefined;a=(0,s.D)({name:n.name,op:o,attributes:{[i.i_]:n.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:r})},{once:!1,capture:!0})}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},276435(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{AJ:()=>n,F3:()=>t,N8:()=>s,TJ:()=>r,a3:()=>e});let e=0;let t=1;let r=2;function n(e){if(e<400&&e>=100)return{code:t};if(e>=400&&e<500)switch(e){case 401:return{code:r,message:"unauthenticated"};case 403:return{code:r,message:"permission_denied"};case 404:return{code:r,message:"not_found"};case 409:return{code:r,message:"already_exists"};case 413:return{code:r,message:"failed_precondition"};case 429:return{code:r,message:"resource_exhausted"};case 499:return{code:r,message:"cancelled"};default:return{code:r,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:r,message:"unimplemented"};case 503:return{code:r,message:"unavailable"};case 504:return{code:r,message:"deadline_exceeded"};default:return{code:r,message:"internal_error"}}return{code:r,message:"unknown_error"}}function s(e,t){e.setAttribute("http.response.status_code",t);let r=n(t);r.message!=="unknown_error"&&e.setStatus(r)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_exports__,__webpack_require__}))()},279802(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>h});var e=__webpack_require__(993671);var t=__webpack_require__(931263);var r=__webpack_require__(123532);var n=__webpack_require__(577102);var s=__webpack_require__(178061);var a=__webpack_require__(769233);var i=__webpack_require__(6246);var o=__webpack_require__(613608);var l=__webpack_require__(814508);var c=__webpack_require__(520348);var u=__webpack_require__(366523);let h=(0,n._C)((e={})=>{let t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){w(e,t),_(e,t)}}});function d(e,r,n,s){if(S(e,n.status,n.url)){let e=x(r,s);let a,i,o,l;E()&&([a,o]=m("Cookie",e),[i,l]=m("Set-Cookie",n));let c=T({url:e.url,method:e.method,status:n.status,requestHeaders:a,responseHeaders:i,requestCookies:o,responseCookies:l});(0,t.r)(c)}}function m(e,t){let r=y(t.headers);let n;try{let t=r[e]||r[e.toLowerCase()]||undefined;t&&(n=g(t))}catch(t){u.T&&o.vF.log(`Could not extract cookies from header ${e}`)}return[r,n]}function f(e,r,n,s){if(S(e,r.status,r.responseURL)){let e,a,i;if(E()){try{let e=r.getResponseHeader("Set-Cookie")||r.getResponseHeader("set-cookie")||undefined;e&&(a=g(e))}catch(e){u.T&&o.vF.log("Could not extract cookies from response headers")}try{i=v(r)}catch(e){u.T&&o.vF.log("Could not extract headers from response")}e=s}let l=T({url:r.responseURL,method:n,status:r.status,requestHeaders:e,responseHeaders:i,responseCookies:a});(0,t.r)(l)}}function p(e){if(e){let t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}return undefined}function g(e){return e.split("; ").reduce((e,t)=>{let[r,n]=t.split("=");return r&&n&&(e[r]=n),e},{})}function y(e){let t={};return e.forEach((e,r)=>{t[r]=e}),t}function v(e){let t=e.getAllResponseHeaders();return!t?{}:(0,t.split(`\r
`).reduce((e,t)=>{let[r,n]=t.split(": ");return r&&n&&(e[r]=n),e},{}))}function b(e,t){return e.some(e=>{return typeof e=="string"?t.includes(e):(0,e.test(t))})}function k(e,t){return e.some(e=>{return typeof e=="number"?e===t:(0,t>=e[0]&&t<=e[1])})}function w(e,t){if(!(0,c.m7)())return;(0,i.ur)(n=>{if((0,r.KU)()!==e)return;let{response:s,args:a}=n;let[i,o]=a;if(!s)return;d(t,i,s,o)})}function _(t,n){if(!("XMLHttpRequest"in a.O))return;(0,e.Mn)(s=>{if((0,r.KU)()!==t)return;let a=s.xhr;let i=a[e.Er];if(!i)return;let{method:l,request_headers:c}=i;try{f(n,a,l,c)}catch(e){u.T&&o.vF.warn("Error while extracting response event form XHR response",e)}})}function S(e,t,n){return k(e.failedRequestStatusCodes,t)&&b(e.failedRequestTargets,n)&&!(0,s.A)(n,(0,r.KU)())}function T(e){let t=`HTTP Client Error with status code: ${e.status}`;let r={message:t,exception:{values:[{type:"Error",value:t}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:p(e.responseHeaders)}}};return(0,l.M6)(r,{type:"http.client",handled:!1}),r}function x(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:(0,new Request(e,t))}function E(){let e=(0,r.KU)();return e?Boolean(e.getOptions().sendDefaultPii):!1}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},283049(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{m:()=>r});var e=__webpack_require__(402228);var t=__webpack_require__(650773);function r(r,n,s){let a=[{type:"client_report"},{timestamp:s||(0,t.lu)(),discarded_events:r}];return(0,e.h4)(n?{dsn:n}:{},[a])}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},285803(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Mz:()=>s,T3:()=>a,VZ:()=>u,eG:()=>t,ik:()=>n,tx:()=>r});var e=__webpack_require__(84607);function t(t,r,n,s){let a=Object.entries((0,e.Ce)(s)).sort((e,t)=>e[0].localeCompare(t[0]));return`${t}${r}${n}${a}`}function r(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return t>>>0}function n(e){let t="";for(let r of e){let e=Object.entries(r.tags);let n=e.length>0?`|#${e.map(([e,t])=>`${e}:${t}`).join(",")}`:"";t+=`${r.name}@${r.unit}:${r.metric}|${r.metricType}${n}|T${r.timestamp}
`}return t}function s(e){return e.replace(/[^\w]+/gi,"_")}function a(e){return e.replace(/[^\w\-.]+/gi,"_")}function i(e){return e.replace(/[^\w\-./]+/gi,"")}let o=[[`
`,"\\n"],["\r","\\r"],["	","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];function l(e){for(let[t,r]of o)if(e===t)return r;return e}function c(e){return[...e].reduce((e,t)=>e+l(t),"")}function u(e){let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[i(r)]=c(String(e[r])));return t}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},295088(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>s,J:()=>n});var e=__webpack_require__(613608);var t=__webpack_require__(123532);var r=__webpack_require__(352158);function n(n,a){a.debug===!0&&(r.T?e.vF.enable():(0,e.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,t.o5)().update(a.initialScope);let i=new n(a);return s(i),i.init(),i}function s(e){(0,t.o5)().setClient(e)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},298556(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>a,k:()=>i});var e=__webpack_require__(536275);var t=__webpack_require__(84607);function r(e){let t=e.protocol?`${e.protocol}:`:"";let r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function n(e){return`${r(e)}${e.projectId}/envelope/`}function s(e,r){return(0,t.u4)({sentry_key:e.publicKey,sentry_version:"7",...r&&{sentry_client:`${r.name}/${r.version}`}})}function a(e,t,r){return t||`${n(e)}?${s(e,r)}`}function i(t,n){let s=(0,e.AD)(t);if(!s)return"";let a=`${r(s)}embed/error-page/`;let i=`dsn=${(0,e.SB)(s)}`;for(let e in n){if(e==="dsn"||e==="onClose")continue;if(e==="user"){let e=n.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`}return`${a}?${i}`}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},301170(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>r});var e=__webpack_require__(485791);var t=__webpack_require__(112471);let r=function(r,n,s){var a=(r=r||{}).random||(r.rng||e.A)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,n){s=s||0;for(var i=0;i<16;++i)n[s+i]=a[i];return n}return(0,t.A)(a)}}}).call(__webpack_require__._LM_("uuid",{__webpack_require__,__webpack_exports__}))()},314408(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>s});var e=__webpack_require__(765698);var t=__webpack_require__(621827);var r=__webpack_require__(51450);var n=__webpack_require__(234512);let s=(s,a)=>{let i=(0,n.z)();let o="navigate";return(i&&(e.j.document&&e.j.document.prerendering||(0,r.b)()>0?o="prerender":e.j.document&&e.j.document.wasDiscarded?o="restore":i.type&&(o=i.type.replace(/_/g,"-")))),{name:s,value:a===void 0?-1:a,rating:"good",delta:0,entries:[],id:(0,t.W)(),navigationType:o}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},316310(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{T2:()=>a,XW:()=>n,xg:()=>s});var e=__webpack_require__(665812);var t;var r;function n(e){return new a(t=>{t(e)})}function s(e){return new a((t,r)=>{r(e)})}(r=t||(t={}))[r["PENDING"]=0]="PENDING",r[r["RESOLVED"]=1]="RESOLVED",r[r["REJECTED"]=2]="REJECTED";class a{constructor(e){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=t.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new a((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new a((t,r)=>{let n;let s;return this.then(t=>{s=!1,n=t,e&&e()},t=>{s=!0,n=t,e&&e()}).then(()=>{if(s){r(n);return}t(n)})})}__init(){this._resolve=e=>{this._setResult(t.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(t.REJECTED,e)}}__init3(){this._setResult=(r,n)=>{if(this._state!==t.PENDING)return;if((0,e.Qg)(n)){n.then(this._resolve,this._reject);return}this._state=r,this._value=n,this._executeHandlers()}}__init4(){this._executeHandlers=()=>{if(this._state===t.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{if(e[0])return;this._state===t.RESOLVED&&e[1](this._value),this._state===t.REJECTED&&e[2](this._value),e[0]=!0})}}}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},317588(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>c});var e=__webpack_require__(835060);var t=__webpack_require__(600473);var r=__webpack_require__(603476);var n=__webpack_require__(695358);var s=__webpack_require__(14631);var a=__webpack_require__(868766);var i=__webpack_require__(891728);let o="Invalid Interval";function l(e,t){return!e||!e.isValid?c.invalid("missing or invalid start"):(0,!t||!t.isValid)?c.invalid("missing or invalid end"):(0,t<e)?c.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):(0,null)}class c{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new n.Di("need to specify a reason the Interval is invalid");let a=e instanceof s.A?e:new s.A(e,t);if(!r.A.throwOnInvalid)return new c({invalid:a});throw new n.hq(a)}static fromDateTimes(t,r){let n=(0,e.R)(t),s=(0,e.R)(r);let a=l(n,s);return a==null?new c({start:n,end:s}):(0,a)}static after(r,n){let s=t.Ay.fromDurationLike(n),a=(0,e.R)(r);return c.fromDateTimes(a,a.plus(s))}static before(r,n){let s=t.Ay.fromDurationLike(n),a=(0,e.R)(r);return c.fromDateTimes(a.minus(s),a)}static fromISO(r,n){let[s,a]=(r||"").split("/",2);if(s&&a){let r,i;try{i=(r=e.A.fromISO(s,n)).isValid}catch(e){i=!1}let o,l;try{l=(o=e.A.fromISO(a,n)).isValid}catch(e){l=!1}if(i&&l)return c.fromDateTimes(r,o);if(i){let e=t.Ay.fromISO(a,n);if(e.isValid)return c.after(r,e)}else if(l){let e=t.Ay.fromISO(s,n);if(e.isValid)return c.before(o,e)}}return c.invalid("unparsable",`the input "${r}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(...[e]).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;let r=this.start.startOf(e,t);let n;return Math.floor((n=(n=t?.useLocaleWeeks?this.end.reconfigure({locale:r.locale}):this.end).startOf(e,t)).diff(r,e).get(e))+(n.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!this.isValid?!1:(0,this.s>e)}isBefore(e){return!this.isValid?!1:(0,this.e<=e)}contains(e){return!this.isValid?!1:(0,this.s<=e&&this.e>e)}set({start:e,end:t}={}){return!this.isValid?this:(0,c.fromDateTimes(e||this.s,t||this.e))}splitAt(...t){if(!this.isValid)return[];let r=t.map(e.R).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),n=[];let{s}=this,a=0;while(s<this.e){let e=r[a]||this.e,t=+e>+this.e?this.e:e;n.push(c.fromDateTimes(s,t)),s=t,a+=1}return n}splitBy(e){let r=t.Ay.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,s=1,a;let i=[];while(n<this.e){let e=this.start.plus(r.mapUnits(e=>e*s));a=+e>+this.e?this.e:e,i.push(c.fromDateTimes(n,a)),n=a,s+=1}return i}divideEqually(e){return!this.isValid?[]:(0,this.splitBy(this.length()/e).slice(0,e))}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!this.isValid?!1:(0,+this.e==+e.s)}abutsEnd(e){return!this.isValid?!1:(0,+e.e==+this.s)}engulfs(e){return!this.isValid?!1:(0,this.s<=e.s&&this.e>=e.e)}equals(e){return!this.isValid||!e.isValid?!1:(0,this.s.equals(e.s)&&this.e.equals(e.e))}intersection(e){if(!this.isValid)return this;let t=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return t>=r?null:(0,c.fromDateTimes(t,r))}union(e){if(!this.isValid)return this;let t=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return c.fromDateTimes(t,r)}static merge(e){let[t,r]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],r)=>{return!t?[e,r]:(0,t.overlaps(r)||t.abutsStart(r))?[e,t.union(r)]:[e.concat([t]),r]},[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0;let n=[],s=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]);for(let e of Array.prototype.concat(...s).sort((e,t)=>e.time-t.time))(r+=e.type==="s"?1:-1)===1?t=e.time:(t&&+t!==+e.time&&n.push(c.fromDateTimes(t,e.time)),t=null);return c.merge(n)}difference(...e){return c.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return!this.isValid?o:(0,`[${this.s.toISO()} – ${this.e.toISO()})`)}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:(0,`Interval { Invalid, reason: ${this.invalidReason} }`)}toLocaleString(e=i.aY,t={}){return this.isValid?a.A.create(this.s.loc.clone(t),e).formatInterval(this):o}toISO(e){return!this.isValid?o:(0,`${this.s.toISO(e)}/${this.e.toISO(e)}`)}toISODate(){return!this.isValid?o:(0,`${this.s.toISODate()}/${this.e.toISODate()}`)}toISOTime(e){return!this.isValid?o:(0,`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`)}toFormat(e,{separator:t=" – "}={}){return!this.isValid?o:(0,`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`)}toDuration(e,r){return!this.isValid?t.Ay.invalid(this.invalidReason):(0,this.e.diff(this.s,e,r))}mapEndpoints(e){return c.fromDateTimes(e(this.s),e(this.e))}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},329537(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>m});var e=__webpack_require__(769233);var t=__webpack_require__(613608);var r=__webpack_require__(650773);var n=__webpack_require__(123532);var s=__webpack_require__(352158);var a=__webpack_require__(682631);var i=__webpack_require__(827284);var o=__webpack_require__(187474);var l=__webpack_require__(341035);function c(t,r){let n=(0,e.B)("globalMetricsAggregators",()=>new WeakMap);let s=n.get(t);if(s)return s;let a=new r(t);return t.on("flush",()=>a.flush()),t.on("close",()=>a.close()),n.set(t,a),a}function u(e,r,i,o,l={}){let h=l.client||(0,n.KU)();if(!h)return;let d=(0,a.Bk)();let m=d?(0,a.zU)(d):undefined;let f=m&&(0,a.et)(m).description;let{unit:p,tags:g,timestamp:y}=l;let{release:v,environment:b}=h.getOptions();let k={};v&&(k.release=v),b&&(k.environment=b),f&&(k.transaction=f),s.T&&t.vF.log(`Adding value of ${o} to ${r} metric ${i}`),c(h,e).add(r,i,o,p,{...k,...g},y)}function h(e,t,r,n){u(e,l.vR,t,f(r),n)}function d(e,t,n,s="second",a){if(typeof n=="function"){let s=(0,r.zf)();return(0,i.nV)({op:"metrics.timing",name:t,startTime:s,onlyIfParent:!0},i=>{return(0,o.x)(()=>n(),()=>{},()=>{let n=(0,r.zf)();h(e,t,n-s,{...a,unit:"second"}),i.end(n)})})}h(e,t,n,{...a,unit:s})}let m={increment:function(e,t,r=1,n){u(e,l.bD,t,f(r),n)},distribution:h,set:function(e,t,r,n){u(e,l.fN,t,r,n)},gauge:function(e,t,r,n){u(e,l.co,t,f(r),n)},timing:d,getMetricsAggregatorForClient:c};function f(e){return typeof e=="string"?parseInt(e):e}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},335562(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{y:()=>i});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);var s;var a;(a=s||(s={}))["Text"]="text",a["Number"]="number",a["Password"]="password";let i=(0,t.kp)(n.Tl,(0,e.Ik)({type:(0,r.eu)(n.Z6.Input),value:(0,e.lq)((0,e.Yj)()),name:(0,e.Yj)(),inputType:(0,e.lq)((0,e.KC)([(0,r.$9)(s.Text),(0,r.$9)(s.Password),(0,r.$9)(s.Number)])),placeholder:(0,e.lq)((0,e.Yj)()),label:(0,e.lq)((0,e.Yj)()),error:(0,e.lq)((0,e.Yj)())}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},341035(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{bD:()=>e,co:()=>t,fN:()=>r,vR:()=>n,yQ:()=>s});let e="c";let t="g";let r="s";let n="d";let s=5e3}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_exports__,__webpack_require__}))()},342672(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E$:()=>c,Ik:()=>f,KC:()=>w,L5:()=>_,NW:()=>k,PV:()=>b,Pc:()=>o,YO:()=>s,Yj:()=>v,ai:()=>m,bz:()=>n,eu:()=>u,g1:()=>y,lq:()=>p,me:()=>d,nd:()=>l,vP:()=>i,yq:()=>g,zM:()=>a});var e=__webpack_require__(356583);var t=__webpack_require__(244231);var r=__webpack_require__(142827);function n(){return(0,r.E8)("any",()=>!0)}function s(r){return new e._k({type:"array",schema:r,*entries(e){if(r&&Array.isArray(e))for(let[t,n]of e.entries())yield[t,n,r]},coercer(e){return Array.isArray(e)?e.slice():e},validator(e){return Array.isArray(e)||`Expected an array value, but received: ${(0,t.yy)(e)}`}})}function a(){return(0,r.E8)("boolean",e=>{return typeof e=="boolean"})}function i(r){let n={};let s=r.map(e=>(0,t.yy)(e)).join();for(let e of r)n[e]=e;return new e._k({type:"enums",schema:n,validator(e){return r.includes(e)||`Expected one of \`${s}\`, but received: ${(0,t.yy)(e)}`}})}function o(){return(0,r.E8)("func",e=>{return typeof e=="function"||`Expected a function, but received: ${(0,t.yy)(e)}`})}function l(){return(0,r.E8)("integer",e=>{return typeof e=="number"&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: ${(0,t.yy)(e)}`})}function c(t){return new e._k({type:"intersection",schema:null,*entries(e,r){for(let{entries:n}of t)yield*n(e,r)},*validator(e,r){for(let{validator:n}of t)yield*n(e,r)},*refiner(e,r){for(let{refiner:n}of t)yield*n(e,r)}})}function u(r){let n=(0,t.yy)(r);let s=typeof r;return new e._k({type:"literal",schema:s==="string"||s==="number"||s==="boolean"?r:null,validator(e){return e===r||`Expected the literal \`${n}\`, but received: ${(0,t.yy)(e)}`}})}function h(){return(0,r.E8)("never",()=>!1)}function d(t){return new e._k({...t,validator:(e,r)=>e===null||t.validator(e,r),refiner:(e,r)=>e===null||t.refiner(e,r)})}function m(){return(0,r.E8)("number",e=>{return typeof e=="number"&&!isNaN(e)||`Expected a number, but received: ${(0,t.yy)(e)}`})}function f(r){let n=r?Object.keys(r):[];let s=h();return new e._k({type:"object",schema:r??null,*entries(a){if(r&&(0,t.Gv)(a)){let t=new Set(Object.keys(a));for(let s of n){t.delete(s);let n=r[s];if(e.P$.isExactOptional(n)&&!Object.prototype.hasOwnProperty.call(a,s))continue;yield[s,a[s],r[s]]}for(let e of t)yield[e,a[e],s]}},validator(e){return(0,t.Gv)(e)||`Expected an object, but received: ${(0,t.yy)(e)}`},coercer(e){return(0,t.Gv)(e)?{...e}:e}})}function p(t){return new e._k({...t,validator:(e,r)=>e===undefined||t.validator(e,r),refiner:(e,r)=>e===undefined||t.refiner(e,r)})}function g(t){return new e.P$(t)}function y(r,n){return new e._k({type:"record",schema:null,*entries(e){if((0,t.Gv)(e))for(let t in e){let s=e[t];yield[t,t,r],yield[t,s,n]}},validator(e){return(0,t.Gv)(e)||`Expected an object, but received: ${(0,t.yy)(e)}`}})}function v(){return(0,r.E8)("string",e=>{return typeof e=="string"||`Expected a string, but received: ${(0,t.yy)(e)}`})}function b(r){let n=h();return new e._k({type:"tuple",schema:null,*entries(e){if(Array.isArray(e)){let t=Math.max(r.length,e.length);for(let s=0;s<t;s++)yield[s,e[s],r[s]||n]}},validator(e){return Array.isArray(e)||`Expected an array, but received: ${(0,t.yy)(e)}`}})}function k(r){let n=Object.keys(r);return new e._k({type:"type",schema:r,*entries(e){if((0,t.Gv)(e))for(let t of n)yield[t,e[t],r[t]]},validator(e){return(0,t.Gv)(e)||`Expected an object, but received: ${(0,t.yy)(e)}`},coercer(e){return(0,t.Gv)(e)?{...e}:e}})}function w(r){let n=r.map(e=>e.type).join(" | ");return new e._k({type:"union",schema:null,coercer(e){for(let t of r){let[r,n]=t.validate(e,{coerce:!0});if(!r)return n}return e},validator(e,s){let a=[];for(let n of r){let[...r]=(0,t.eF)(e,n,s);let[i]=r;if(!i?.[0])return[];for(let[e]of r)e&&a.push(e)}return[`Expected the value to satisfy a union of \`${n}\`, but received: ${(0,t.yy)(e)}`,...a]}})}function _(){return(0,r.E8)("unknown",()=>!0)}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_require__,__webpack_exports__}))()},352158(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{T:()=>e});let e=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_exports__,__webpack_require__}))()},355608(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{au:()=>t});var e=__webpack_require__(356583);function t(t,r,n){return new e._k({...t,coercer:(s,a)=>{return(0,e.is)(s,r)?t.coercer(n(s,a),a):t.coercer(s,a)}})}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_require__,__webpack_exports__}))()},355989(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>n,g:()=>r});var e=__webpack_require__(84607);let t="_sentryMetrics";function r(r){let n=r[t];if(!n)return undefined;let s={};for(let[,[t,r]]of n)(s[t]||(s[t]=[])).push((0,e.Ce)(r));return s}function n(e,r,n,s,a,i,o){let l=e[t]||(e[t]=new Map);let c=`${r}:${n}@${a}`;let u=l.get(o);if(u){let[,e]=u;l.set(o,[c,{min:Math.min(e.min,s),max:Math.max(e.max,s),count:e.count+=1,sum:e.sum+=s,tags:e.tags}])}else l.set(o,[c,{min:s,max:s,count:1,sum:s,tags:i}])}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},356583(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P$:()=>s,_k:()=>r,dK:()=>o,is:()=>l,tf:()=>c,vA:()=>a,vt:()=>i});var e=__webpack_require__(449070);var t=__webpack_require__(244231);class r{constructor(e){let{type:r,schema:n,validator:s,refiner:a,coercer:i=e=>e,entries:o=function*(){}}=e;this.type=r,this.schema=n,this.entries=o,this.coercer=i,s?this.validator=(e,r)=>{let n=s(e,r);return(0,t.RF)(n,r,this,e)}:this.validator=()=>[],a?this.refiner=(e,r)=>{let n=a(e,r);return(0,t.RF)(n,r,this,e)}:this.refiner=()=>[]}assert(e,t){return a(e,this,t)}create(e,t){return i(e,this,t)}is(e){return l(e,this)}mask(e,t){return o(e,this,t)}validate(e,t={}){return c(e,this,t)}}let n="EXACT_OPTIONAL";class s extends r{constructor(e){super({...e,type:`exact optional ${e.type}`}),this.brand=n}static isExactOptional(e){return(0,t.Gv)(e)&&"brand"in e&&e.brand===n}}function a(e,t,r){let n=c(e,t,{message:r});if(n[0])throw n[0]}function i(e,t,r){let n=c(e,t,{coerce:!0,message:r});if(!n[0])return n[1];throw n[0]}function o(e,t,r){let n=c(e,t,{coerce:!0,mask:!0,message:r});if(!n[0])return n[1];throw n[0]}function l(e,t){return!c(e,t)[0]}function c(r,n,s={}){let a=(0,t.eF)(r,n,s);let i=(0,t.jT)(a);return i[0]?[new e.C(i[0],function*(){for(let e of a)e[0]&&(yield e[0])}),undefined]:(0,[undefined,i[1]])}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_require__,__webpack_exports__}))()},362108(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E:()=>e});let e=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:undefined}}).call(__webpack_require__._LM_("@noble/hashes",{__webpack_exports__,__webpack_require__}))()},366523(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{T:()=>e});let e=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_exports__,__webpack_require__}))()},369793(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>n});var e=__webpack_require__(848294);var t=__webpack_require__(123532);var r=__webpack_require__(931263);let n=function(){return{bindClient(e){(0,t.o5)().setClient(e)},withScope:t.v4,getClient:()=>(0,t.KU)(),getScope:t.o5,getIsolationScope:t.rm,captureException:(e,r)=>{return(0,t.o5)().captureException(e,r)},captureMessage:(e,r,n)=>{return(0,t.o5)().captureMessage(e,r,n)},captureEvent:r.r,addBreadcrumb:e.Z,setUser:r.gV,setTags:r.Wt,setTag:r.NA,setExtra:r.l7,setExtras:r.cx,setContext:r.o,getIntegration(e){let r=(0,t.KU)();return r&&r.getIntegrationByName(e.id)||null},startSession:r.J0,endSession:r.ky,captureSession(e){if(e)return(0,r.ky)();s()}}};function s(){let e=(0,t.o5)();let r=(0,t.KU)();let n=e.getSession();r&&n&&r.captureSession(n)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},370861(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{AS:()=>i,aj:()=>o,s5:()=>a});var e=__webpack_require__(462128);var t=__webpack_require__(613608);var r=__webpack_require__(414753);let n={};let s={};function a(e,t){n[e]=n[e]||[],n[e].push(t)}function i(e,t){!s[e]&&(t(),s[e]=!0)}function o(s,a){let i=s&&n[s];if(!i)return;for(let n of i)try{n(a)}catch(a){e.T&&t.vF.error(`Error while triggering instrumentation handler.
Type: ${s}
Name: ${(0,r.qQ)(n)}
Error:`,a)}}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},378326(module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e=module.exports={};var t;var r;function n(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}try{t=typeof setTimeout=="function"?setTimeout:n}catch(e){t=n}try{r=typeof clearTimeout=="function"?clearTimeout:s}catch(e){r=s}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===n||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}function i(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}var o=[];var l=!1;var c;var u=-1;function h(){if(!l||!c)return;l=!1,c.length?o=c.concat(o):u=-1,o.length&&d()}function d(){if(l)return;var e=a(h);l=!0;var t=o.length;while(t){c=o,o=[];while(++u<t)c&&c[u].run();u=-1,t=o.length}c=null,l=!1,i(e)}function m(e,t){this.fun=e,this.array=t}function f(){}e.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];o.push(new m(e,t)),o.length===1&&!l&&a(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=f,e.addListener=f,e.once=f,e.off=f,e.removeListener=f,e.removeAllListeners=f,e.emit=f,e.prependListener=f,e.prependOnceListener=f,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}}}).call(__webpack_require__._LM_("process",{module,__webpack_require__}))()},382128(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{LV:()=>c,jN:()=>o,jf:()=>a});var e=__webpack_require__(931263);var t=__webpack_require__(123532);var r=__webpack_require__(769233);var n=__webpack_require__(814508);var s=__webpack_require__(84607);let a=r.O;let i=0;function o(){return i>0}function l(){i++,setTimeout(()=>{i--})}function c(r,a={},i){if(typeof r!=="function")return r;try{let e=r.__sentry_wrapped__;if(e){if(typeof e=="function")return e;return r}if((0,s.sp)(r))return r}catch(e){return r}let o=function(){let s=Array.prototype.slice.call(arguments);try{i&&typeof i=="function"&&i.apply(this,arguments);let e=s.map(e=>c(e,a));return r.apply(this,e)}catch(r){throw l(),(0,t.v4)(t=>{t.addEventProcessor(e=>{return a.mechanism&&((0,n.gO)(e,undefined,undefined),(0,n.M6)(e,a.mechanism)),e.extra={...e.extra,arguments:s},e}),(0,e.Cp)(r)}),r}};try{for(let e in r)Object.prototype.hasOwnProperty.call(r,e)&&(o[e]=r[e])}catch(e){}(0,s.pO)(o,r),(0,s.my)(r,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get(){return r.name}})}catch(e){}return o}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},382906(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s3:()=>l});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);var s;var a;var i;var o;(a=s||(s={}))["Primary"]="primary",a["Secondary"]="secondary",(o=i||(i={}))["Button"]="button",o["Submit"]="submit";let l=(0,t.kp)(n.Tl,(0,e.Ik)({type:(0,r.eu)(n.Z6.Button),value:(0,e.Yj)(),variant:(0,e.lq)((0,e.KC)([(0,r.$9)(s.Primary),(0,r.$9)(s.Secondary)])),buttonType:(0,e.lq)((0,e.KC)([(0,r.$9)(i.Button),(0,r.$9)(i.Submit)])),name:(0,e.lq)((0,e.Yj)())}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},398471(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{wz:()=>i});var e=__webpack_require__(341035);var t=__webpack_require__(285803);class r{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}}class n{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,e<this._min&&(this._min=e),e>this._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}}class s{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}}class a{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map(e=>typeof e=="string"?(0,t.tx)(e):e).join(":")}}let i={[e.bD]:r,[e.co]:n,[e.vR]:s,[e.fN]:a}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},401967(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>s});var e=__webpack_require__(613608);var t=__webpack_require__(84607);var r=__webpack_require__(769233);var n=__webpack_require__(370861);function s(e){let t="console";(0,n.s5)(t,e),(0,n.AS)(t,a)}function a(){if(!("console"in r.O))return;e.Ow.forEach(function(s){if(!(s in r.O.console))return;(0,t.GS)(r.O.console,s,function(t){return e.Z9[s]=t,function(...t){(0,n.aj)("console",{args:t,level:s});let a=e.Z9[s];a&&a.apply(r.O.console,t)}})})}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},402228(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Cj:()=>y,W3:()=>a,bN:()=>u,bm:()=>f,h4:()=>s,hP:()=>o,mE:()=>d,n2:()=>v,y5:()=>m,yH:()=>i,zk:()=>g});var e=__webpack_require__(536275);var t=__webpack_require__(879561);var r=__webpack_require__(84607);var n=__webpack_require__(769233);function s(e,t=[]){return[e,t]}function a(e,t){let[r,n]=e;return[r,[...n,t]]}function i(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function o(e,t){return i(e,(e,r)=>t.includes(r))}function l(e){return n.O.__SENTRY__&&n.O.__SENTRY__.encodePolyfill?n.O.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function c(e){return n.O.__SENTRY__&&n.O.__SENTRY__.decodePolyfill?n.O.__SENTRY__.decodePolyfill(e):new TextDecoder().decode(e)}function u(e){let[r,n]=e;let s=JSON.stringify(r);function a(e){typeof s=="string"?s=typeof e=="string"?s+e:[l(s),e]:s.push(typeof e=="string"?l(e):e)}for(let e of n){let[r,n]=e;if(a(`
${JSON.stringify(r)}
`),typeof n=="string"||n instanceof Uint8Array)a(n);else{let e;try{e=JSON.stringify(n)}catch(r){e=JSON.stringify((0,t.S8)(n))}a(e)}}return typeof s=="string"?s:h(s)}function h(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0));let r=0;for(let n of e)t.set(n,r),r+=n.length;return t}function d(e){let t=typeof e=="string"?l(e):e;function r(e){let r=t.subarray(0,e);return t=t.subarray(e+1),r}function n(){let e=t.indexOf(10);return e<0&&(e=t.length),JSON.parse(c(r(e)))}let s=n();let a=[];while(t.length){let e=n();let t=typeof e.length=="number"?e.length:undefined;a.push([e,t?r(t):n()])}return[s,a]}function m(e){return[{type:"span"},e]}function f(e){let t=typeof e.data=="string"?l(e.data):e.data;return[(0,r.Ce)({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}let p={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function g(e){return p[e]}function y(e){if(!e||!e.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}}function v(t,n,s,a){let i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...n&&{sdk:n},...!!s&&a&&{dsn:(0,e.SB)(a)},...i&&{trace:(0,r.Ce)({...i})}}}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},410710(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>o});var e=__webpack_require__(490521);var t=__webpack_require__(708521);var r=__webpack_require__(613608);var n=__webpack_require__(352158);var s=__webpack_require__(682631);var a=__webpack_require__(276435);let i=!1;function o(){if(i)return;i=!0,(0,e.L)(l),(0,t.r)(l)}function l(){let e=(0,s.Bk)();let t=e&&(0,s.zU)(e);if(t){let e="internal_error";n.T&&r.vF.log(`[Tracing] Root span: ${e} -> Global error occured`),t.setStatus({code:a.TJ,message:e})}}l.tag="sentry_tracingErrorCallback"}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},411335(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Gr:()=>a,KT:()=>i});var e=__webpack_require__(769233);let t=new Map;let r=new Set;function n(n){if(!e.O._sentryModuleMetadata)return;for(let s of Object.keys(e.O._sentryModuleMetadata)){let a=e.O._sentryModuleMetadata[s];if(r.has(s))continue;for(let e of(r.add(s),n(s).reverse()))if(e.filename){t.set(e.filename,a);break}}}function s(e,r){return n(e),t.get(r)}function a(e,t){try{t.exception.values.forEach(t=>{if(!t.stacktrace)return;for(let r of t.stacktrace.frames||[]){if(!r.filename||r.module_metadata)continue;let t=s(e,r.filename);t&&(r.module_metadata=t)}})}catch(e){}}function i(e){try{e.exception.values.forEach(e=>{if(!e.stacktrace)return;for(let t of e.stacktrace.frames||[])delete t.module_metadata})}catch(e){}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},413279(module,exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e,t;var r,n;r=typeof globalThis!=="undefined"&&globalThis,n=function(e){if(typeof browser=="undefined"||Object.getPrototypeOf(browser)!==Object.prototype){if(typeof chrome!="object"||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=(e=>{let t={"alarms":{"clear":{"minArgs":0,"maxArgs":1},"clearAll":{"minArgs":0,"maxArgs":0},"get":{"minArgs":0,"maxArgs":1},"getAll":{"minArgs":0,"maxArgs":0}},"bookmarks":{"create":{"minArgs":1,"maxArgs":1},"get":{"minArgs":1,"maxArgs":1},"getChildren":{"minArgs":1,"maxArgs":1},"getRecent":{"minArgs":1,"maxArgs":1},"getSubTree":{"minArgs":1,"maxArgs":1},"getTree":{"minArgs":0,"maxArgs":0},"move":{"minArgs":2,"maxArgs":2},"remove":{"minArgs":1,"maxArgs":1},"removeTree":{"minArgs":1,"maxArgs":1},"search":{"minArgs":1,"maxArgs":1},"update":{"minArgs":2,"maxArgs":2}},"browserAction":{"disable":{"minArgs":0,"maxArgs":1,"fallbackToNoCallback":!0},"enable":{"minArgs":0,"maxArgs":1,"fallbackToNoCallback":!0},"getBadgeBackgroundColor":{"minArgs":1,"maxArgs":1},"getBadgeText":{"minArgs":1,"maxArgs":1},"getPopup":{"minArgs":1,"maxArgs":1},"getTitle":{"minArgs":1,"maxArgs":1},"openPopup":{"minArgs":0,"maxArgs":0},"setBadgeBackgroundColor":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"setBadgeText":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"setIcon":{"minArgs":1,"maxArgs":1},"setPopup":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"setTitle":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0}},"browsingData":{"remove":{"minArgs":2,"maxArgs":2},"removeCache":{"minArgs":1,"maxArgs":1},"removeCookies":{"minArgs":1,"maxArgs":1},"removeDownloads":{"minArgs":1,"maxArgs":1},"removeFormData":{"minArgs":1,"maxArgs":1},"removeHistory":{"minArgs":1,"maxArgs":1},"removeLocalStorage":{"minArgs":1,"maxArgs":1},"removePasswords":{"minArgs":1,"maxArgs":1},"removePluginData":{"minArgs":1,"maxArgs":1},"settings":{"minArgs":0,"maxArgs":0}},"commands":{"getAll":{"minArgs":0,"maxArgs":0}},"contextMenus":{"remove":{"minArgs":1,"maxArgs":1},"removeAll":{"minArgs":0,"maxArgs":0},"update":{"minArgs":2,"maxArgs":2}},"cookies":{"get":{"minArgs":1,"maxArgs":1},"getAll":{"minArgs":1,"maxArgs":1},"getAllCookieStores":{"minArgs":0,"maxArgs":0},"remove":{"minArgs":1,"maxArgs":1},"set":{"minArgs":1,"maxArgs":1}},"devtools":{"inspectedWindow":{"eval":{"minArgs":1,"maxArgs":2,"singleCallbackArg":!1}},"panels":{"create":{"minArgs":3,"maxArgs":3,"singleCallbackArg":!0},"elements":{"createSidebarPane":{"minArgs":1,"maxArgs":1}}}},"downloads":{"cancel":{"minArgs":1,"maxArgs":1},"download":{"minArgs":1,"maxArgs":1},"erase":{"minArgs":1,"maxArgs":1},"getFileIcon":{"minArgs":1,"maxArgs":2},"open":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"pause":{"minArgs":1,"maxArgs":1},"removeFile":{"minArgs":1,"maxArgs":1},"resume":{"minArgs":1,"maxArgs":1},"search":{"minArgs":1,"maxArgs":1},"show":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0}},"extension":{"isAllowedFileSchemeAccess":{"minArgs":0,"maxArgs":0},"isAllowedIncognitoAccess":{"minArgs":0,"maxArgs":0}},"history":{"addUrl":{"minArgs":1,"maxArgs":1},"deleteAll":{"minArgs":0,"maxArgs":0},"deleteRange":{"minArgs":1,"maxArgs":1},"deleteUrl":{"minArgs":1,"maxArgs":1},"getVisits":{"minArgs":1,"maxArgs":1},"search":{"minArgs":1,"maxArgs":1}},"i18n":{"detectLanguage":{"minArgs":1,"maxArgs":1},"getAcceptLanguages":{"minArgs":0,"maxArgs":0}},"identity":{"launchWebAuthFlow":{"minArgs":1,"maxArgs":1}},"idle":{"queryState":{"minArgs":1,"maxArgs":1}},"management":{"get":{"minArgs":1,"maxArgs":1},"getAll":{"minArgs":0,"maxArgs":0},"getSelf":{"minArgs":0,"maxArgs":0},"setEnabled":{"minArgs":2,"maxArgs":2},"uninstallSelf":{"minArgs":0,"maxArgs":1}},"notifications":{"clear":{"minArgs":1,"maxArgs":1},"create":{"minArgs":1,"maxArgs":2},"getAll":{"minArgs":0,"maxArgs":0},"getPermissionLevel":{"minArgs":0,"maxArgs":0},"update":{"minArgs":2,"maxArgs":2}},"pageAction":{"getPopup":{"minArgs":1,"maxArgs":1},"getTitle":{"minArgs":1,"maxArgs":1},"hide":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"setIcon":{"minArgs":1,"maxArgs":1},"setPopup":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"setTitle":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"show":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0}},"permissions":{"contains":{"minArgs":1,"maxArgs":1},"getAll":{"minArgs":0,"maxArgs":0},"remove":{"minArgs":1,"maxArgs":1},"request":{"minArgs":1,"maxArgs":1}},"runtime":{"getBackgroundPage":{"minArgs":0,"maxArgs":0},"getPlatformInfo":{"minArgs":0,"maxArgs":0},"openOptionsPage":{"minArgs":0,"maxArgs":0},"requestUpdateCheck":{"minArgs":0,"maxArgs":0},"sendMessage":{"minArgs":1,"maxArgs":3},"sendNativeMessage":{"minArgs":2,"maxArgs":2},"setUninstallURL":{"minArgs":1,"maxArgs":1}},"sessions":{"getDevices":{"minArgs":0,"maxArgs":1},"getRecentlyClosed":{"minArgs":0,"maxArgs":1},"restore":{"minArgs":0,"maxArgs":1}},"storage":{"local":{"clear":{"minArgs":0,"maxArgs":0},"get":{"minArgs":0,"maxArgs":1},"getBytesInUse":{"minArgs":0,"maxArgs":1},"remove":{"minArgs":1,"maxArgs":1},"set":{"minArgs":1,"maxArgs":1}},"managed":{"get":{"minArgs":0,"maxArgs":1},"getBytesInUse":{"minArgs":0,"maxArgs":1}},"sync":{"clear":{"minArgs":0,"maxArgs":0},"get":{"minArgs":0,"maxArgs":1},"getBytesInUse":{"minArgs":0,"maxArgs":1},"remove":{"minArgs":1,"maxArgs":1},"set":{"minArgs":1,"maxArgs":1}}},"tabs":{"captureVisibleTab":{"minArgs":0,"maxArgs":2},"create":{"minArgs":1,"maxArgs":1},"detectLanguage":{"minArgs":0,"maxArgs":1},"discard":{"minArgs":0,"maxArgs":1},"duplicate":{"minArgs":1,"maxArgs":1},"executeScript":{"minArgs":1,"maxArgs":2},"get":{"minArgs":1,"maxArgs":1},"getCurrent":{"minArgs":0,"maxArgs":0},"getZoom":{"minArgs":0,"maxArgs":1},"getZoomSettings":{"minArgs":0,"maxArgs":1},"goBack":{"minArgs":0,"maxArgs":1},"goForward":{"minArgs":0,"maxArgs":1},"highlight":{"minArgs":1,"maxArgs":1},"insertCSS":{"minArgs":1,"maxArgs":2},"move":{"minArgs":2,"maxArgs":2},"query":{"minArgs":1,"maxArgs":1},"reload":{"minArgs":0,"maxArgs":2},"remove":{"minArgs":1,"maxArgs":1},"removeCSS":{"minArgs":1,"maxArgs":2},"sendMessage":{"minArgs":2,"maxArgs":3},"setZoom":{"minArgs":1,"maxArgs":2},"setZoomSettings":{"minArgs":1,"maxArgs":2},"update":{"minArgs":1,"maxArgs":2}},"topSites":{"get":{"minArgs":0,"maxArgs":0}},"webNavigation":{"getAllFrames":{"minArgs":1,"maxArgs":1},"getFrame":{"minArgs":1,"maxArgs":1}},"webRequest":{"handlerBehaviorChanged":{"minArgs":0,"maxArgs":0}},"windows":{"create":{"minArgs":0,"maxArgs":1},"get":{"minArgs":1,"maxArgs":2},"getAll":{"minArgs":0,"maxArgs":1},"getCurrent":{"minArgs":0,"maxArgs":1},"getLastFocused":{"minArgs":0,"maxArgs":1},"remove":{"minArgs":1,"maxArgs":1},"update":{"minArgs":2,"maxArgs":2}}};if(Object.keys(t).length===0)throw new Error("api-metadata.json has not been included in browser-polyfill");class r extends WeakMap{constructor(e,t=undefined){super(t),this.createItem=e}get(e){return!this.has(e)&&this.set(e,this.createItem(e)),super.get(e)}}let n=(t,r)=>{return(...n)=>{e.runtime.lastError?t.reject(new Error(e.runtime.lastError.message)):r.singleCallbackArg||n.length<=1&&r.singleCallbackArg!==!1?t.resolve(n[0]):t.resolve(n)}};let s=e=>e==1?"argument":"arguments";let a=(e,t,r)=>{return new Proxy(t,{apply(t,n,s){return r.call(n,e,...s)}})};let i=Function.call.bind(Object.prototype.hasOwnProperty);let o=(e,t={},r={})=>{let l=Object.create(null);return new Proxy(Object.create(e),{has(t,r){return r in e||r in l},get(c,u,h){if(u in l)return l[u];if(!(u in e))return undefined;let d=e[u];if(typeof d=="function")if(typeof t[u]=="function")d=a(e,e[u],t[u]);else if(i(r,u)){var m;let t=(u,m=r[u],function(e,...t){if(t.length<m.minArgs)throw new Error(`Expected at least ${m.minArgs} ${s(m.minArgs)} for ${u}(), got ${t.length}`);if(t.length>m.maxArgs)throw new Error(`Expected at most ${m.maxArgs} ${s(m.maxArgs)} for ${u}(), got ${t.length}`);return new Promise((r,s)=>{if(m.fallbackToNoCallback)try{e[u](...t,n({resolve:r,reject:s},m))}catch(n){console.warn(`${u} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",n),e[u](...t),m.fallbackToNoCallback=!1,m.noCallback=!0,r()}else m.noCallback?(e[u](...t),r()):e[u](...t,n({resolve:r,reject:s},m))})});d=a(e,e[u],t)}else d=d.bind(e);else if(typeof d=="object"&&d!==null&&(i(t,u)||i(r,u)))d=o(d,t[u],r[u]);else if(!i(r,"*"))return Object.defineProperty(l,u,{configurable:!0,enumerable:!0,get(){return e[u]},set(t){e[u]=t}}),d;else d=o(d,t[u],r["*"]);return l[u]=d,d},set(t,r,n,s){return r in l?l[r]=n:e[r]=n,!0},defineProperty(e,t,r){return Reflect.defineProperty(l,t,r)},deleteProperty(e,t){return Reflect.deleteProperty(l,t)}})};let l=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener(t,r){return t.hasListener(e.get(r))},removeListener(t,r){t.removeListener(e.get(r))}});let c=new r(e=>{return typeof e!=="function"?e:(0,function(t){e(o(t,{},{getContent:{minArgs:0,maxArgs:0}}))})});let u=!1;let h=new r(e=>{return typeof e!=="function"?e:(0,function(t,r,n){let s=!1;let a;let i=new Promise(e=>{a=function(t){!u&&(console.warn("Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",new Error().stack),u=!0),s=!0,e(t)}});let o;try{o=e(t,r,a)}catch(e){o=Promise.reject(e)}var l;let c=o!==!0&&(l=o)&&typeof l=="object"&&typeof l.then=="function";if(o!==!0&&!c&&!s)return!1;return(c?o:i).then(e=>{n(e)},e=>{let t;n({__mozWebExtensionPolyfillReject__:!0,message:t=e&&(e instanceof Error||typeof e.message=="string")?e.message:"An unexpected error occurred"})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)}),!0})});let d=({reject:t,resolve:r},n)=>{e.runtime.lastError?e.runtime.lastError.message==="The message port closed before a response was received."?r():t(new Error(e.runtime.lastError.message)):n&&n.__mozWebExtensionPolyfillReject__?t(new Error(n.message)):r(n)};let m=(e,t,r,...n)=>{if(n.length<t.minArgs)throw new Error(`Expected at least ${t.minArgs} ${s(t.minArgs)} for ${e}(), got ${n.length}`);if(n.length>t.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${s(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,t)=>{let s=d.bind(null,{resolve:e,reject:t});n.push(s),r.sendMessage(...n)})};let f={devtools:{network:{onRequestFinished:l(c)}},runtime:{onMessage:l(h),onMessageExternal:l(h),sendMessage:m.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:m.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}};let p={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return t.privacy={network:{"*":p},services:{"*":p},websites:{"*":p}},o(e,f,t)})(chrome)}else e.exports=browser},!0&&(e=[module],(t="function"=="function"?n.apply(exports,e):n)!==undefined&&(module.exports=t))}}).call(__webpack_require__._LM_("webextension-polyfill",{module,exports,__webpack_require__})).bind(exports)()},414753(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{RV:()=>c,gd:()=>n,qQ:()=>l,vk:()=>s,yF:()=>e});let e="?";let t=/\(error: (.*)\)/;let r=/captureMessage|captureException/;function n(...e){let r=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,s=0)=>{let i=[];let o=e.split(`
`);for(let e=n;e<o.length;e++){let n=o[e];if(n.length>1024)continue;let a=t.test(n)?n.replace(t,"$1"):n;if(a.match(/\S*Error: /))continue;for(let e of r){let t=e(a);if(t){i.push(t);break}}if(i.length>=50+s)break}return a(i.slice(s))}}function s(e){return Array.isArray(e)?n(...e):(0,e)}function a(t){if(!t.length)return[];let n=Array.from(t);return/sentryWrapped/.test(i(n).function||"")&&n.pop(),n.reverse(),r.test(i(n).function||"")&&(n.pop(),r.test(i(n).function||"")&&n.pop()),n.slice(0,50).map(t=>({...t,filename:t.filename||i(n).filename,function:t.function||e}))}function i(e){return e[e.length-1]||{}}let o="<anonymous>";function l(e){try{if(!e||typeof e!=="function")return o;return e.name||o}catch(e){return o}}function c(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(e){return undefined}}return undefined}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},420376(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>t});var e=__webpack_require__(650773);let t=(0,__webpack_require__(577102)._C)(()=>{let t=(0,e.zf)()*1e3;return{name:"SessionTiming",processEvent(r){let n=(0,e.zf)()*1e3;return{...r,extra:{...r.extra,["session:start"]:t,["session:duration"]:n-t,["session:end"]:n}}}}})}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},441265(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{l:()=>l});var e=__webpack_require__(57324);var t=__webpack_require__(978802);var r=__webpack_require__(314408);var n=__webpack_require__(515400);var s=__webpack_require__(975431);var a=__webpack_require__(56680);var i=__webpack_require__(768571);let o=[100,300];let l=(l,c={})=>{(0,i.I)(()=>{let i=(0,t.N)();let u=(0,r.X)("FID");let h;let d=e=>{e.startTime<i.firstHiddenTime&&(u.value=e.processingStart-e.startTime,u.entries.push(e),h(!0))};let m=e=>{e.forEach(d)};let f=(0,n.l)("first-input",m);h=(0,e.R)(l,u,o,c.reportAllChanges),f&&(0,s.Q)((0,a.J)(()=>{m(f.takeRecords()),f.disconnect()}))})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},441775(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{L_:()=>a,Tz:()=>i,YQ:()=>s,hS:()=>n});let e="MM_MV3_SERVICE_WORKER_DIAG";let t=0;let r=!1;function n(){return Boolean(!0)}function s(e){return e instanceof Error?{name:e.name,message:e.message,stack:e.stack}:(0,e&&typeof e=="object")?{name:typeof e.name=="string"?e.name:undefined,message:typeof e.message=="string"?e.message:String(e),stack:typeof e.stack=="string"?e.stack:undefined}:(0,{message:String(e)})}function a(r,i={}){if(!n()||t>=200)return;let o={sequence:t+=1,timestamp:new Date().toISOString(),event:r,...i};try{console.log(e,JSON.stringify(o))}catch(t){console.log(e,r,{diagnosticSerializationError:s(t)})}}function i(){if(!n()||r||typeof globalThis.addEventListener!=="function")return;r=!0,globalThis.addEventListener("error",e=>{a("global-error",{message:e.message,filename:e.filename,lineno:e.lineno,colno:e.colno,error:s(e.error)})}),globalThis.addEventListener("unhandledrejection",e=>{a("unhandled-rejection",{reason:s(e.reason)})})}}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},443697(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Qi:()=>u,cM:()=>d,cs:()=>h});var e=__webpack_require__(342672);var t=__webpack_require__(142282);var r=__webpack_require__(908743);var n=__webpack_require__(745085);var s=__webpack_require__(647388);var a=__webpack_require__(879771);var i=__webpack_require__(937053);var o=__webpack_require__(484068);let l=(0,e.KC)([s.rI,s.Es,s.ux,(0,e.Yj)(),(0,e.zM)(),t.FX]);let c=(0,e.g1)((0,e.Yj)(),(0,e.me)(l));(0,e.g1)((0,e.Yj)(),(0,e.KC)([c,(0,e.me)(l)]));let u=(0,a.E$)(e=>{return(0,n.Gv)(e)&&!(0,n.i5)(e,"props")?o.vb:(0,i.Pm)});let h=(0,e.g1)((0,e.Yj)(),r.zC);var d;var m;(m=d||(d={}))["Insight"]="Insight",m["Dialog"]="Dialog",m["Notification"]="Notification",m["HomePage"]="HomePage"}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},444284(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>s});var e=__webpack_require__(536275);var t=__webpack_require__(613608);var r=__webpack_require__(402228);var n=__webpack_require__(285803);function s(e,r){t.vF.log(`Flushing aggregated metrics, number of metrics: ${r.length}`);let n=e.getDsn();let s=a(r,n,e.getSdkMetadata(),e.getOptions().tunnel);e.sendEnvelope(s)}function a(t,n,s,a){let o={sent_at:new Date().toISOString()};s&&s.sdk&&(o.sdk={name:s.sdk.name,version:s.sdk.version}),!!a&&n&&(o.dsn=(0,e.SB)(n));let l=i(t);return(0,r.h4)(o,[l])}function i(e){let t=(0,n.ik)(e);return[{type:"statsd",length:t.length},t]}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},449070(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>e});class e extends TypeError{constructor(e,t){let r;let{message:n,explanation:s,...a}=e;let{path:i}=e;let o=i.length===0?n:`At path: ${i.join(".")} -- ${n}`;super(s??o),s!==null&&s!==undefined&&(this.cause=o),Object.assign(this,a),this.name=this.constructor.name,this.failures=()=>{return r??(r=[e,...t()])}}}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_exports__,__webpack_require__}))()},453945(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>s});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);let s=(0,t.kp)(n.Tl,(0,e.Ik)({type:(0,r.eu)(n.Z6.Copyable),value:(0,e.Yj)(),sensitive:(0,e.lq)((0,e.zM)())}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},455142(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{G:()=>a});var e=__webpack_require__(577102);var t=__webpack_require__(84607);var r=__webpack_require__(414753);var n=__webpack_require__(382128);let s=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];let a=(0,e._C)((e={})=>{let r={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){r.setTimeout&&(0,t.GS)(n.jf,"setTimeout",i),r.setInterval&&(0,t.GS)(n.jf,"setInterval",i),r.requestAnimationFrame&&(0,t.GS)(n.jf,"requestAnimationFrame",o),r.XMLHttpRequest&&"XMLHttpRequest"in n.jf&&(0,t.GS)(XMLHttpRequest.prototype,"send",l);let e=r.eventTarget;e&&(Array.isArray(e)?e:s).forEach(c)}}});function i(e){return function(...t){let s=t[0];return t[0]=(0,n.LV)(s,{mechanism:{data:{function:(0,r.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function o(e){return function(t){return e.apply(this,[(0,n.LV)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,r.qQ)(e)},handled:!1,type:"instrument"}})])}}function l(e){return function(...s){let a=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in a&&typeof a[e]=="function"&&(0,t.GS)(a,e,function(s){let a={mechanism:{data:{function:e,handler:(0,r.qQ)(s)},handled:!1,type:"instrument"}};let i=(0,t.sp)(s);return i&&(a.mechanism.data.handler=(0,r.qQ)(i)),(0,n.LV)(s,a)})}),e.apply(this,s)}}function c(e){let s=n.jf;let a=s[e]&&s[e].prototype;if(!a||!a.hasOwnProperty||!a.hasOwnProperty("addEventListener"))return;(0,t.GS)(a,"addEventListener",function(t){return function(s,a,i){try{typeof a.handleEvent=="function"&&(a.handleEvent=(0,n.LV)(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,r.qQ)(a),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[s,(0,n.LV)(a,{mechanism:{data:{function:"addEventListener",handler:(0,r.qQ)(a),target:e},handled:!1,type:"instrument"}}),i])}}),(0,t.GS)(a,"removeEventListener",function(e){return function(t,r,n){try{let s=r&&r.__sentry_wrapped__;s&&e.call(this,t,s,n)}catch(e){}return e.call(this,t,r,n)}})}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},456895(module,exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e;module=__webpack_require__.nmd(module),(function(){var t;var r="Expected a function";var n="__lodash_hash_undefined__";var s="__lodash_placeholder__";var a=1/0,i=0/0;var o=0xffffffff-1,l=0xffffffff>>>1;var c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];var u="[object Arguments]",h="[object Array]",d="[object Boolean]",m="[object Date]",f="[object Error]",p="[object Function]",g="[object GeneratorFunction]",y="[object Map]",v="[object Number]",b="[object Object]",k="[object Promise]",w="[object RegExp]",_="[object Set]",S="[object String]",T="[object Symbol]",x="[object WeakMap]";var E="[object ArrayBuffer]",j="[object DataView]",A="[object Float32Array]",C="[object Float64Array]",M="[object Int8Array]",I="[object Int16Array]",R="[object Int32Array]",O="[object Uint8Array]",L="[object Uint8ClampedArray]",N="[object Uint16Array]",D="[object Uint32Array]";var F=/\b__p \+= '';/g,P=/\b(__p \+=) '' \+/g,$=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var q=/&(?:amp|lt|gt|quot|#39);/g,z=/[&<>"']/g,H=RegExp(q.source),U=RegExp(z.source);var B=/<%-([\s\S]+?)%>/g,G=/<%([\s\S]+?)%>/g,W=/<%=([\s\S]+?)%>/g;var V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,J=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var K=/[\\^$.*+?()[\]{}|]/g,Z=RegExp(K.source);var X=/^\s+/;var Q=/\s/;var ee=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,et=/\{\n\/\* \[wrapped with (.+)\] \*/,er=/,? & /;var en=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var es=/[()=,{}\[\]\/\s]/;var ea=/\\(\\)?/g;var ei=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var eo=/\w*$/;var el=/^[-+]0x[0-9a-f]+$/i;var ec=/^0b[01]+$/i;var eu=/^\[object .+?Constructor\]$/;var eh=/^0o[0-7]+$/i;var ed=/^(?:0|[1-9]\d*)$/;var em=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var ef=/($^)/;var ep=/['\n\r\u2028\u2029\\]/g;var eg="\ud800-\udfff",ey="\\u0300-\\u036f"+"\\ufe20-\\ufe2f"+"\\u20d0-\\u20ff",ev="\\u2700-\\u27bf",eb="a-z\\xdf-\\xf6\\xf8-\\xff",ek="A-Z\\xc0-\\xd6\\xd8-\\xde",ew="\\ufe0e\\ufe0f",e_="\\xac\\xb1\\xd7\\xf7"+"\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf"+"\\u2000-\\u206f"+" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000";var eS="['’]",eT="["+e_+"]",ex="["+ey+"]",eE="["+eb+"]",ej="[^"+eg+e_+"\\d+"+ev+eb+ek+"]",eA="\ud83c[\udffb-\udfff]",eC="[^"+eg+"]",eM="(?:\ud83c[\udde6-\uddff]){2}",eI="[\ud800-\udbff][\udc00-\udfff]",eR="["+ek+"]",eO="\\u200d";var eL="(?:"+eE+"|"+ej+")",eN="(?:"+eR+"|"+ej+")",eD="(?:"+eS+"(?:d|ll|m|re|s|t|ve))?",eF="(?:"+eS+"(?:D|LL|M|RE|S|T|VE))?",eP="(?:"+ex+"|"+eA+")"+"?",e$="["+ew+"]?",eq="(?:"+eO+"(?:"+[eC,eM,eI].join("|")+")"+e$+eP+")*",ez=e$+eP+eq,eH="(?:"+["["+ev+"]",eM,eI].join("|")+")"+ez,eU="(?:"+[eC+ex+"?",ex,eM,eI,"["+eg+"]"].join("|")+")";var eB=RegExp(eS,"g");var eG=RegExp(ex,"g");var eW=RegExp(eA+"(?="+eA+")|"+eU+ez,"g");var eV=RegExp([eR+"?"+eE+"+"+eD+"(?="+[eT,eR,"$"].join("|")+")",eN+"+"+eF+"(?="+[eT,eR+eL,"$"].join("|")+")",eR+"?"+eL+"+"+eD,eR+"+"+eF,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",eH].join("|"),"g");var eY=RegExp("["+eO+eg+ey+ew+"]");var eJ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var eK=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var eZ=-1;var eX={};eX[A]=eX[C]=eX[M]=eX[I]=eX[R]=eX[O]=eX[L]=eX[N]=eX[D]=!0,eX[u]=eX[h]=eX[E]=eX[d]=eX[j]=eX[m]=eX[f]=eX[p]=eX[y]=eX[v]=eX[b]=eX[w]=eX[_]=eX[S]=eX[x]=!1;var eQ={};eQ[u]=eQ[h]=eQ[E]=eQ[j]=eQ[d]=eQ[m]=eQ[A]=eQ[C]=eQ[M]=eQ[I]=eQ[R]=eQ[y]=eQ[v]=eQ[b]=eQ[w]=eQ[_]=eQ[S]=eQ[T]=eQ[O]=eQ[L]=eQ[N]=eQ[D]=!0,eQ[f]=eQ[p]=eQ[x]=!1;var e0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var e1=parseFloat,e3=parseInt;var e2=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;var e6=typeof self=="object"&&self&&self.Object===Object&&self;var e5=e2||e6||Function("return this")();var e8=!0&&exports&&!exports.nodeType&&exports;var e7=e8&&"object"=="object"&&module&&!module.nodeType&&module;var e4=e7&&e7.exports===e8;var e9=e4&&e2.process;var te=function(){try{var e=e7&&e7.require&&e7.require("util").types;if(e)return e;return e9&&e9.binding&&e9.binding("util")}catch(e){}}();var tt=te&&te.isArrayBuffer,tr=te&&te.isDate,tn=te&&te.isMap,ts=te&&te.isRegExp,ta=te&&te.isSet,ti=te&&te.isTypedArray;function to(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function tl(e,t,r,n){var s=-1,a=e==null?0:e.length;while(++s<a){var i=e[s];t(n,i,r(i),e)}return n}function tc(e,t){var r=-1,n=e==null?0:e.length;while(++r<n)if(t(e[r],r,e)===!1)break;return e}function tu(e,t){var r=e==null?0:e.length;while(r--)if(t(e[r],r,e)===!1)break;return e}function th(e,t){var r=-1,n=e==null?0:e.length;while(++r<n)if(!t(e[r],r,e))return!1;return!0}function td(e,t){var r=-1,n=e==null?0:e.length,s=0,a=[];while(++r<n){var i=e[r];t(i,r,e)&&(a[s++]=i)}return a}function tm(e,t){return!!(e==null?0:e.length)&&tx(e,t,0)>-1}function tf(e,t,r){var n=-1,s=e==null?0:e.length;while(++n<s)if(r(t,e[n]))return!0;return!1}function tp(e,t){var r=-1,n=e==null?0:e.length,s=Array(n);while(++r<n)s[r]=t(e[r],r,e);return s}function tg(e,t){var r=-1,n=t.length,s=e.length;while(++r<n)e[s+r]=t[r];return e}function ty(e,t,r,n){var s=-1,a=e==null?0:e.length;n&&a&&(r=e[++s]);while(++s<a)r=t(r,e[s],s,e);return r}function tv(e,t,r,n){var s=e==null?0:e.length;n&&s&&(r=e[--s]);while(s--)r=t(r,e[s],s,e);return r}function tb(e,t){var r=-1,n=e==null?0:e.length;while(++r<n)if(t(e[r],r,e))return!0;return!1}var tk=tC("length");function tw(e){return e.split("")}function t_(e){return e.match(en)||[]}function tS(e,t,r){var n;return r(e,function(e,r,s){if(t(e,r,s))return n=r,!1}),n}function tT(e,t,r,n){var s=e.length,a=r+(n?1:-1);while(n?a--:++a<s)if(t(e[a],a,e))return a;return-1}function tx(e,t,r){return t==t?t1(e,t,r):tT(e,tj,r)}function tE(e,t,r,n){var s=r-1,a=e.length;while(++s<a)if(n(e[s],t))return s;return-1}function tj(e){return e!=e}function tA(e,t){var r=e==null?0:e.length;return r?tO(e,t)/r:i}function tC(e){return function(r){return r==null?t:r[e]}}function tM(e){return function(r){return e==null?t:e[r]}}function tI(e,t,r,n,s){return s(e,function(e,s,a){r=n?(n=!1,e):t(r,e,s,a)}),r}function tR(e,t){var r=e.length;e.sort(t);while(r--)e[r]=e[r].value;return e}function tO(e,r){var n,s=-1,a=e.length;while(++s<a){var i=r(e[s]);i!==t&&(n=n===t?i:n+i)}return n}function tL(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function tN(e,t){return tp(t,function(t){return[t,e[t]]})}function tD(e){return e?e.slice(0,t5(e)+1).replace(X,""):e}function tF(e){return function(t){return e(t)}}function tP(e,t){return tp(t,function(t){return e[t]})}function t$(e,t){return e.has(t)}function tq(e,t){var r=-1,n=e.length;while(++r<n&&tx(t,e[r],0)>-1);return r}function tz(e,t){var r=e.length;while(r--&&tx(t,e[r],0)>-1);return r}function tH(e,t){var r=e.length,n=0;while(r--)e[r]===t&&++n;return n}var tU=tM({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"});var tB=tM({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function tG(e){return"\\"+e0[e]}function tW(e,r){return e==null?t:e[r]}function tV(e){return eY.test(e)}function tY(e){return eJ.test(e)}function tJ(e){var t,r=[];while(!(t=e.next()).done)r.push(t.value);return r}function tK(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function tZ(e,t){return function(r){return e(t(r))}}function tX(e,t){var r=-1,n=e.length,a=0,i=[];while(++r<n){var o=e[r];(o===t||o===s)&&(e[r]=s,i[a++]=r)}return i}function tQ(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function t0(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}function t1(e,t,r){var n=r-1,s=e.length;while(++n<s)if(e[n]===t)return n;return-1}function t3(e,t,r){var n=r+1;while(n--)if(e[n]===t)return n;return n}function t2(e){return tV(e)?t7(e):tk(e)}function t6(e){return tV(e)?t4(e):tw(e)}function t5(e){var t=e.length;while(t--&&Q.test(e.charAt(t)));return t}var t8=tM({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});function t7(e){var t=eW.lastIndex=0;while(eW.test(e))++t;return t}function t4(e){return e.match(eW)||[]}function t9(e){return e.match(eV)||[]}var re=function e(Q){var en=(Q=Q==null?e5:re.defaults(e5.Object(),Q,re.pick(e5,eK))).Array,eg=Q.Date,ey=Q.Error,ev=Q.Function,eb=Q.Math,ek=Q.Object,ew=Q.RegExp,e_=Q.String,eS=Q.TypeError;var eT=en.prototype,ex=ev.prototype,eE=ek.prototype;var ej=Q["__core-js_shared__"];var eA=ex.toString;var eC=eE.hasOwnProperty;var eM=0;var eI;var eR=(eI=/[^.]+$/.exec(ej&&ej.keys&&ej.keys.IE_PROTO||""))?"Symbol(src)_1."+eI:"";var eO=eE.toString;var eL=eA.call(ek);var eN=e5._;var eD=ew("^"+eA.call(eC).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var eF=e4?Q.Buffer:t,eP=Q.Symbol,e$=Q.Uint8Array,eq=eF?eF.allocUnsafe:t,ez=tZ(ek.getPrototypeOf,ek),eH=ek.create,eU=eE.propertyIsEnumerable,eW=eT.splice,eV=eP?eP.isConcatSpreadable:t,eY=eP?eP.iterator:t,eJ=eP?eP.toStringTag:t;var e0=function(){try{var e=am(ek,"defineProperty");return e({},"",{}),e}catch(e){}}();var e2=Q.clearTimeout!==e5.clearTimeout&&Q.clearTimeout,e6=eg&&eg.now!==e5.Date.now&&eg.now,e8=Q.setTimeout!==e5.setTimeout&&Q.setTimeout;var e7=eb.ceil,e9=eb.floor,te=ek.getOwnPropertySymbols,tk=eF?eF.isBuffer:t,tw=Q.isFinite,tM=eT.join,t1=tZ(ek.keys,ek),t7=eb.max,t4=eb.min,rt=eg.now,rr=Q.parseInt,rn=eb.random,rs=eT.reverse;var ra=am(Q,"DataView"),ri=am(Q,"Map"),ro=am(Q,"Promise"),rl=am(Q,"Set"),rc=am(Q,"WeakMap"),ru=am(ek,"create");var rh=rc&&new rc;var rd={};var rm=aX(ra),rf=aX(ri),rp=aX(ro),rg=aX(rl),ry=aX(rc);var rv=eP?eP.prototype:t,rb=rv?rv.valueOf:t,rk=rv?rv.toString:t;function rw(e){if(ly(e)&&!le(e)&&!(e instanceof rx)){if(e instanceof rT)return e;if(eC.call(e,"__wrapped__"))return a0(e)}return new rT(e)}var r_=function(){function e(){}return function(r){if(!lg(r))return{};if(eH)return eH(r);e.prototype=r;var n=new e;return e.prototype=t,n}}();function rS(){}function rT(e,r){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=t}function rx(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}function rE(){var e=new rx(this.__wrapped__);return e.__actions__=sL(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=sL(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=sL(this.__views__),e}function rj(){if(this.__filtered__){var e=new rx(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function rA(){var e=this.__wrapped__.value(),t=this.__dir__,r=le(e),n=t<0,s=r?e.length:0,a=av(0,s,this.__views__),i=a.start,o=a.end,l=o-i,c=n?o:i-1,u=this.__iteratees__,h=u.length,d=0,m=t4(l,this.__takeCount__);if(!r||!n&&s==l&&m==l)return sg(e,this.__actions__);var f=[];t:while(l--&&d<m){var p=-1,g=e[c+=t];while(++p<h){var y=u[p],v=y.iteratee,b=y.type,k=v(g);if(b==2)g=k;else if(!k){if(b==1)continue t;break t}}f[d++]=g}return f}function rC(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function rM(){this.__data__=ru?ru(null):{},this.size=0}function rI(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function rR(e){var r=this.__data__;if(ru){var s=r[e];return s===n?t:s}return eC.call(r,e)?r[e]:t}function rO(e){var r=this.__data__;return ru?r[e]!==t:eC.call(r,e)}function rL(e,r){var s=this.__data__;return this.size+=this.has(e)?0:1,s[e]=ru&&r===t?n:r,this}function rN(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function rD(){this.__data__=[],this.size=0}function rF(e){var t=this.__data__,r=r4(t,e);return r<0?!1:(r==t.length-1?t.pop():eW.call(t,r,1),--this.size,!0)}function rP(e){var r=this.__data__,n=r4(r,e);return n<0?t:r[n][1]}function r$(e){return r4(this.__data__,e)>-1}function rq(e,t){var r=this.__data__,n=r4(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function rz(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function rH(){this.size=0,this.__data__={"hash":new rC,"map":new(ri||rN),"string":new rC}}function rU(e){var t=ah(this,e)["delete"](e);return this.size-=t?1:0,t}function rB(e){return ah(this,e).get(e)}function rG(e){return ah(this,e).has(e)}function rW(e,t){var r=ah(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function rV(e){var t=-1,r=e==null?0:e.length;this.__data__=new rz;while(++t<r)this.add(e[t])}function rY(e){return this.__data__.set(e,n),this}function rJ(e){return this.__data__.has(e)}function rK(e){var t=this.__data__=new rN(e);this.size=t.size}function rZ(){this.__data__=new rN,this.size=0}function rX(e){var t=this.__data__,r=t["delete"](e);return this.size=t.size,r}function rQ(e){return this.__data__.get(e)}function r0(e){return this.__data__.has(e)}function r1(e,t){var r=this.__data__;if(r instanceof rN){var n=r.__data__;if(!ri||n.length<200-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new rz(n)}return r.set(e,t),this.size=r.size,this}function r3(e,t){var r=le(e),n=!r&&o9(e),s=!r&&!n&&la(e),a=!r&&!n&&!s&&lR(e),i=r||n||s||a,o=i?tL(e.length,e_):[],l=o.length;for(var c in e)(t||eC.call(e,c))&&!(i&&(c=="length"||s&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||aE(c,l)))&&o.push(c);return o}function r2(e){var r=e.length;return r?e[n5(0,r-1)]:t}function r6(e,t){return aJ(sL(e),ns(t,0,e.length))}function r5(e){return aJ(sL(e))}function r8(e,r,n){(n!==t&&!o8(e[r],n)||n===t&&!(r in e))&&nr(e,r,n)}function r7(e,r,n){var s=e[r];(!(eC.call(e,r)&&o8(s,n))||n===t&&!(r in e))&&nr(e,r,n)}function r4(e,t){var r=e.length;while(r--)if(o8(e[r][0],t))return r;return-1}function r9(e,t,r,n){return nu(e,function(e,s,a){t(n,e,r(e),a)}),n}function ne(e,t){return e&&sN(t,cs(t),e)}function nt(e,t){return e&&sN(t,ca(t),e)}function nr(e,t,r){t=="__proto__"&&e0?e0(e,t,{"configurable":!0,"enumerable":!0,"value":r,"writable":!0}):e[t]=r}function nn(e,r){var n=-1,s=r.length,a=en(s),i=e==null;while(++n<s)a[n]=i?t:l4(e,r[n]);return a}function ns(e,r,n){return e==e&&(n!==t&&(e=e<=n?e:n),r!==t&&(e=e>=r?e:r)),e}function na(e,r,n,s,a,i){var o,l=r&1,c=r&2,h=r&4;if(n&&(o=a?n(e,s,a,i):n(e)),o!==t)return o;if(!lg(e))return e;var d=le(e);if(d){if(o=aw(e),!l)return sL(e,o)}else{var m=ay(e),f=m==p||m==g;if(la(e))return sT(e,l);if(m==b||m==u||f&&!a){if(o=c||f?{}:a_(e),!l)return c?sF(e,nt(o,e)):sD(e,ne(o,e))}else{if(!eQ[m])return a?e:{};o=aS(e,m,l)}}i||(i=new rK);var y=i.get(e);if(y)return y;i.set(e,o),lC(e)?e.forEach(function(t){o.add(na(t,r,n,t,e,i))}):lv(e)&&e.forEach(function(t,s){o.set(s,na(t,r,n,s,e,i))});var v=h?c?ai:aa:c?ca:cs;var k=d?t:v(e);return tc(k||e,function(t,s){k&&(t=e[s=t]),r7(o,s,na(t,r,n,s,e,i))}),o}function ni(e){var t=cs(e);return function(r){return no(r,e,t)}}function no(e,r,n){var s=n.length;if(e==null)return!s;e=ek(e);while(s--){var a=n[s],i=r[a],o=e[a];if(o===t&&!(a in e)||!i(o))return!1}return!0}function nl(e,n,s){if(typeof e!="function")throw new eS(r);return aG(function(){e.apply(t,s)},n)}function nc(e,t,r,n){var s=-1,a=tm,i=!0,o=e.length,l=[],c=t.length;if(!o)return l;r&&(t=tp(t,tF(r))),n?(a=tf,i=!1):t.length>=200&&(a=t$,i=!1,t=new rV(t));t:while(++s<o){var u=e[s],h=r==null?u:r(u);if(u=n||u!==0?u:0,i&&h==h){var d=c;while(d--)if(t[d]===h)continue t;l.push(u)}else!a(t,h,n)&&l.push(u)}return l}rw.templateSettings={"escape":B,"evaluate":G,"interpolate":W,"variable":"","imports":{"_":rw}},rw.prototype=rS.prototype,rw.prototype.constructor=rw,rT.prototype=r_(rS.prototype),rT.prototype.constructor=rT,rx.prototype=r_(rS.prototype),rx.prototype.constructor=rx,rC.prototype.clear=rM,rC.prototype["delete"]=rI,rC.prototype.get=rR,rC.prototype.has=rO,rC.prototype.set=rL,rN.prototype.clear=rD,rN.prototype["delete"]=rF,rN.prototype.get=rP,rN.prototype.has=r$,rN.prototype.set=rq,rz.prototype.clear=rH,rz.prototype["delete"]=rU,rz.prototype.get=rB,rz.prototype.has=rG,rz.prototype.set=rW,rV.prototype.add=rV.prototype.push=rY,rV.prototype.has=rJ,rK.prototype.clear=rZ,rK.prototype["delete"]=rX,rK.prototype.get=rQ,rK.prototype.has=r0,rK.prototype.set=r1;var nu=sq(nb);var nh=sq(nk,!0);function nd(e,t){var r=!0;return nu(e,function(e,n,s){return r=!!t(e,n,s)}),r}function nm(e,r,n){var s=-1,a=e.length;while(++s<a){var i=e[s],o=r(i);if(o!=null&&(l===t?o==o&&!lI(o):n(o,l)))var l=o,c=i}return c}function nf(e,r,n,s){var a=e.length;(n=lq(n))<0&&(n=-n>a?0:a+n),(s=s===t||s>a?a:lq(s))<0&&(s+=a),s=n>s?0:lz(s);while(n<s)e[n++]=r;return e}function np(e,t){var r=[];return nu(e,function(e,n,s){t(e,n,s)&&r.push(e)}),r}function ng(e,t,r,n,s){var a=-1,i=e.length;r||(r=ax),s||(s=[]);while(++a<i){var o=e[a];t>0&&r(o)?t>1?ng(o,t-1,r,n,s):tg(s,o):!n&&(s[s.length]=o)}return s}var ny=sz();var nv=sz(!0);function nb(e,t){return e&&ny(e,t,cs)}function nk(e,t){return e&&nv(e,t,cs)}function nw(e,t){return td(t,function(t){return lm(e[t])})}function n_(e,r){r=sw(r,e);var n=0,s=r.length;while(e!=null&&n<s)e=e[aZ(r[n++])];return n&&n==s?e:t}function nS(e,t,r){var n=t(e);return le(e)?n:tg(n,r(e))}function nT(e){return e==null?e===t?"[object Undefined]":"[object Null]":(0,eJ&&eJ in ek(e)?af(e):a$(e))}function nx(e,t){return e>t}function nE(e,t){return e!=null&&eC.call(e,t)}function nj(e,t){return e!=null&&t in ek(e)}function nA(e,t,r){return e>=t4(t,r)&&e<t7(t,r)}function nC(e,r,n){var s=n?tf:tm,a=e[0].length,i=e.length,o=i,l=en(i),c=Infinity,u=[];while(o--){var h=e[o];o&&r&&(h=tp(h,tF(r))),c=t4(h.length,c),l[o]=!n&&(r||a>=120&&h.length>=120)?new rV(o&&h):t}h=e[0];var d=-1,m=l[0];t:while(++d<a&&u.length<c){var f=h[d],p=r?r(f):f;if(f=n||f!==0?f:0,!(m?t$(m,p):s(u,p,n))){o=i;while(--o){var g=l[o];if(!(g?t$(g,p):s(e[o],p,n)))continue t}m&&m.push(p),u.push(f)}}return u}function nM(e,t,r,n){return nb(e,function(e,s,a){t(n,r(e),s,a)}),n}function nI(e,r,n){r=sw(r,e);var s=(e=az(e,r))==null?e:e[aZ(iy(r))];return s==null?t:to(s,e,n)}function nR(e){return ly(e)&&nT(e)==u}function nO(e){return ly(e)&&nT(e)==E}function nL(e){return ly(e)&&nT(e)==m}function nN(e,t,r,n,s){return e===t?!0:(0,e==null||t==null||!ly(e)&&!ly(t))?e!=e&&t!=t:(0,nD(e,t,r,n,nN,s))}function nD(e,t,r,n,s,a){var i=le(e),o=le(t),l=i?h:ay(e),c=o?h:ay(t);l=l==u?b:l,c=c==u?b:c;var d=l==b,m=c==b,f=l==c;if(f&&la(e)){if(!la(t))return!1;i=!0,d=!1}if(f&&!d)return a||(a=new rK),i||lR(e)?at(e,t,r,n,s,a):ar(e,t,l,r,n,s,a);if(!(r&1)){var p=d&&eC.call(e,"__wrapped__"),g=m&&eC.call(t,"__wrapped__");if(p||g){var y=p?e.value():e,v=g?t.value():t;return a||(a=new rK),s(y,v,r,n,a)}}return!f?!1:(a||(a=new rK),an(e,t,r,n,s,a))}function nF(e){return ly(e)&&ay(e)==y}function nP(e,r,n,s){var a=n.length,i=a,o=!s;if(e==null)return!i;e=ek(e);while(a--){var l=n[a];if(o&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}while(++a<i){var c=(l=n[a])[0],u=e[c],h=l[1];if(o&&l[2]){if(u===t&&!(c in e))return!1}else{var d=new rK;if(s)var m=s(u,h,c,e,r,d);if(!(m===t?nN(h,u,1|2,s,d):m))return!1}}return!0}function n$(e){return!lg(e)||aI(e)?!1:(0,(lm(e)?eD:eu).test(aX(e)))}function nq(e){return ly(e)&&nT(e)==w}function nz(e){return ly(e)&&ay(e)==_}function nH(e){return ly(e)&&lp(e.length)&&!!eX[nT(e)]}function nU(e){return typeof e=="function"?e:(0,e==null)?ur:(0,typeof e=="object")?le(e)?nJ(e[0],e[1]):nY(e):(0,up(e))}function nB(e){if(!aO(e))return t1(e);var t=[];for(var r in ek(e))eC.call(e,r)&&r!="constructor"&&t.push(r);return t}function nG(e){if(!lg(e))return aP(e);var t=aO(e),r=[];for(var n in e)!(n=="constructor"&&(t||!eC.call(e,n)))&&r.push(n);return r}function nW(e,t){return e<t}function nV(e,t){var r=-1,n=lr(e)?en(e.length):[];return nu(e,function(e,s,a){n[++r]=t(e,s,a)}),n}function nY(e){var t=ad(e);return t.length==1&&t[0][2]?aN(t[0][0],t[0][1]):(0,function(r){return r===e||nP(r,e,t)})}function nJ(e,r){return aA(e)&&aL(r)?aN(aZ(e),r):(0,function(n){var s=l4(n,e);return s===t&&s===r?ce(n,e):nN(r,s,1|2)})}function nK(e,r,n,s,a){if(e===r)return;ny(r,function(i,o){if(a||(a=new rK),lg(i))nZ(e,r,o,n,nK,s,a);else{var l=s?s(aU(e,o),i,o+"",e,r,a):t;l===t&&(l=i),r8(e,o,l)}},ca)}function nZ(e,r,n,s,a,i,o){var l=aU(e,n),c=aU(r,n),u=o.get(c);if(u){r8(e,n,u);return}var h=i?i(l,c,n+"",e,r,o):t;var d=h===t;if(d){var m=le(c),f=!m&&la(c),p=!m&&!f&&lR(c);h=c,m||f||p?le(l)?h=l:ln(l)?h=sL(l):f?(d=!1,h=sT(c,!0)):p?(d=!1,h=sC(c,!0)):h=[]:lE(c)||o9(c)?(h=l,o9(l)?h=lU(l):(!lg(l)||lm(l))&&(h=a_(c))):d=!1}d&&(o.set(c,h),a(h,c,s,i,o),o["delete"](c)),r8(e,n,h)}function nX(e,r){var n=e.length;if(!n)return;return aE(r+=r<0?n:0,n)?e[r]:t}function nQ(e,t,r){t=t.length?tp(t,function(e){return le(e)?function(t){return n_(t,e.length===1?e[0]:e)}:(0,e)}):[ur];var n=-1;return t=tp(t,tF(au())),tR(nV(e,function(e,r,s){return{"criteria":tp(t,function(t){return t(e)}),"index":++n,"value":e}}),function(e,t){return sI(e,t,r)})}function n0(e,t){return n1(e,t,function(t,r){return ce(e,r)})}function n1(e,t,r){var n=-1,s=t.length,a={};while(++n<s){var i=t[n],o=n_(e,i);r(o,i)&&st(a,sw(i,e),o)}return a}function n3(e){return function(t){return n_(t,e)}}function n2(e,t,r,n){var s=n?tE:tx,a=-1,i=t.length,o=e;e===t&&(t=sL(t)),r&&(o=tp(e,tF(r)));while(++a<i){var l=0,c=t[a],u=r?r(c):c;while((l=s(o,u,l,n))>-1)o!==e&&eW.call(o,l,1),eW.call(e,l,1)}return e}function n6(e,t){var r=e?t.length:0,n=r-1;while(r--){var s=t[r];if(r==n||s!==a){var a=s;aE(s)?eW.call(e,s,1):sm(e,s)}}return e}function n5(e,t){return e+e9(rn()*(t-e+1))}function n8(e,t,r,n){var s=-1,a=t7(e7((t-e)/(r||1)),0),i=en(a);while(a--)i[n?a:++s]=e,e+=r;return i}function n7(e,t){var r="";if(!e||t<1||t>0x1fffffffffffff)return r;do t%2&&(r+=e),(t=e9(t/2))&&(e+=e);while(t)return r}function n4(e,t){return aW(aq(e,t,ur),e+"")}function n9(e){return r2(cS(e))}function se(e,t){var r=cS(e);return aJ(r,ns(t,0,r.length))}function st(e,r,n,s){if(!lg(e))return e;r=sw(r,e);var a=-1,i=r.length,o=i-1,l=e;while(l!=null&&++a<i){var c=aZ(r[a]),u=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(a!=o){var h=l[c];(u=s?s(h,c,l):t)===t&&(u=lg(h)?h:aE(r[a+1])?[]:{})}r7(l,c,u),l=l[c]}return e}var sr=!rh?ur:function(e,t){return rh.set(e,t),e};var sn=!e0?ur:function(e,t){return e0(e,"toString",{"configurable":!0,"enumerable":!1,"value":c4(t),"writable":!0})};function ss(e){return aJ(cS(e))}function sa(e,t,r){var n=-1,s=e.length;t<0&&(t=-t>s?0:s+t),(r=r>s?s:r)<0&&(r+=s),s=t>r?0:r-t>>>0,t>>>=0;var a=en(s);while(++n<s)a[n]=e[n+t];return a}function si(e,t){var r;return nu(e,function(e,n,s){return!(r=t(e,n,s))}),!!r}function so(e,t,r){var n=0,s=e==null?n:e.length;if(typeof t=="number"&&t==t&&s<=l){while(n<s){var a=n+s>>>1,i=e[a];i!==null&&!lI(i)&&(r?i<=t:i<t)?n=a+1:s=a}return s}return sl(e,t,ur,r)}function sl(e,r,n,s){var a=0,i=e==null?0:e.length;if(i===0)return 0;var l=(r=n(r))!=r,c=r===null,u=lI(r),h=r===t;while(a<i){var d=e9((a+i)/2),m=n(e[d]),f=m!==t,p=m===null,g=m==m,y=lI(m);if(l)var v=s||g;else v=h?g&&(s||f):c?g&&f&&(s||!p):u?g&&f&&!p&&(s||!y):p||y?!1:s?m<=r:m<r;v?a=d+1:i=d}return t4(i,o)}function sc(e,t){var r=-1,n=e.length,s=0,a=[];while(++r<n){var i=e[r],o=t?t(i):i;if(!r||!o8(o,l)){var l=o;a[s++]=i===0?0:i}}return a}function su(e){return typeof e=="number"?e:(0,lI(e))?i:(0,+e)}function sh(e){if(typeof e=="string")return e;if(le(e))return tp(e,sh)+"";if(lI(e))return rk?rk.call(e):"";var t=e+"";return t=="0"&&1/e==-a?"-0":t}function sd(e,t,r){var n=-1,s=tm,a=e.length,i=!0,o=[],l=o;if(r)i=!1,s=tf;else if(a>=200){var c=t?null:s5(e);if(c)return tQ(c);i=!1,s=t$,l=new rV}else l=t?[]:o;t:while(++n<a){var u=e[n],h=t?t(u):u;if(u=r||u!==0?u:0,i&&h==h){var d=l.length;while(d--)if(l[d]===h)continue t;t&&l.push(h),o.push(u)}else!s(l,h,r)&&(l!==o&&l.push(h),o.push(u))}return o}function sm(e,t){t=sw(t,e);var r=-1,n=t.length;if(!n)return!0;while(++r<n){var s=aZ(t[r]);if(s==="__proto__"&&!eC.call(e,"__proto__")||(s==="constructor"||s==="prototype")&&r<n-1)return!1}var a=az(e,t);return a==null||delete a[aZ(iy(t))]}function sf(e,t,r,n){return st(e,t,r(n_(e,t)),n)}function sp(e,t,r,n){var s=e.length,a=n?s:-1;while((n?a--:++a<s)&&t(e[a],a,e));return r?sa(e,n?0:a,n?a+1:s):sa(e,n?a+1:0,n?s:a)}function sg(e,t){var r=e;return r instanceof rx&&(r=r.value()),ty(t,function(e,t){return t.func.apply(t.thisArg,tg([e],t.args))},r)}function sy(e,t,r){var n=e.length;if(n<2)return n?sd(e[0]):[];var s=-1,a=en(n);while(++s<n){var i=e[s],o=-1;while(++o<n)o!=s&&(a[s]=nc(a[s]||i,e[o],t,r))}return sd(ng(a,1),t,r)}function sv(e,r,n){var s=-1,a=e.length,i=r.length,o={};while(++s<a){var l=s<i?r[s]:t;n(o,e[s],l)}return o}function sb(e){return ln(e)?e:[]}function sk(e){return typeof e=="function"?e:ur}function sw(e,t){return le(e)?e:(0,aA(e,t)?[e]:aK(lG(e)))}function s_(e,r,n){var s=e.length;return n=n===t?s:n,!r&&n>=s?e:sa(e,r,n)}var sS=e2||function(e){return e5.clearTimeout(e)};function sT(e,t){if(t)return e.slice();var r=e.length,n=eq?eq(r):new e.constructor(r);return e.copy(n),n}function sx(e){var t=new e.constructor(e.byteLength);return new e$(t).set(new e$(e)),t}function sE(e,t){var r=t?sx(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function sj(e){var t=new e.constructor(e.source,eo.exec(e));return t.lastIndex=e.lastIndex,t}function sA(e){return rb?ek(rb.call(e)):{}}function sC(e,t){var r=t?sx(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function sM(e,r){if(e!==r){var n=e!==t,s=e===null,a=e==e,i=lI(e);var o=r!==t,l=r===null,c=r==r,u=lI(r);if(!l&&!u&&!i&&e>r||i&&o&&c&&!l&&!u||s&&o&&c||!n&&c||!a)return 1;if(!s&&!i&&!u&&e<r||u&&n&&a&&!s&&!i||l&&n&&a||!o&&a||!c)return-1}return 0}function sI(e,t,r){var n=-1,s=e.criteria,a=t.criteria,i=s.length,o=r.length;while(++n<i){var l=sM(s[n],a[n]);if(l){if(n>=o)return l;return l*(r[n]=="desc"?-1:1)}}return e.index-t.index}function sR(e,t,r,n){var s=-1,a=e.length,i=r.length,o=-1,l=t.length,c=t7(a-i,0),u=en(l+c),h=!n;while(++o<l)u[o]=t[o];while(++s<i)(h||s<a)&&(u[r[s]]=e[s]);while(c--)u[o++]=e[s++];return u}function sO(e,t,r,n){var s=-1,a=e.length,i=-1,o=r.length,l=-1,c=t.length,u=t7(a-o,0),h=en(u+c),d=!n;while(++s<u)h[s]=e[s];var m=s;while(++l<c)h[m+l]=t[l];while(++i<o)(d||s<a)&&(h[m+r[i]]=e[s++]);return h}function sL(e,t){var r=-1,n=e.length;t||(t=en(n));while(++r<n)t[r]=e[r];return t}function sN(e,r,n,s){var a=!n;n||(n={});var i=-1,o=r.length;while(++i<o){var l=r[i];var c=s?s(n[l],e[l],l,n,e):t;c===t&&(c=e[l]),a?nr(n,l,c):r7(n,l,c)}return n}function sD(e,t){return sN(e,ap(e),t)}function sF(e,t){return sN(e,ag(e),t)}function sP(e,t){return function(r,n){var s=le(r)?tl:r9,a=t?t():{};return s(r,e,au(n,2),a)}}function s$(e){return n4(function(r,n){var s=-1,a=n.length,i=a>1?n[a-1]:t,o=a>2?n[2]:t;i=e.length>3&&typeof i=="function"?(a--,i):t,o&&aj(n[0],n[1],o)&&(i=a<3?t:i,a=1),r=ek(r);while(++s<a){var l=n[s];l&&e(r,l,s,i)}return r})}function sq(e,t){return function(r,n){if(r==null)return r;if(!lr(r))return e(r,n);var s=r.length,a=t?s:-1,i=ek(r);while(t?a--:++a<s)if(n(i[a],a,i)===!1)break;return r}}function sz(e){return function(t,r,n){var s=-1,a=ek(t),i=n(t),o=i.length;while(o--){var l=i[e?o:++s];if(r(a[l],l,a)===!1)break}return t}}function sH(e,t,r){var n=t&1,s=sG(e);function a(){return(this&&this!==e5&&this instanceof a?s:e).apply(n?r:this,arguments)}return a}function sU(e){return function(r){var n=tV(r=lG(r))?t6(r):t;var s=n?n[0]:r.charAt(0);var a=n?s_(n,1).join(""):r.slice(1);return s[e]()+a}}function sB(e){return function(t){return ty(c2(cM(t).replace(eB,"")),e,"")}}function sG(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=r_(e.prototype),n=e.apply(r,t);return lg(n)?n:r}}function sW(e,r,n){var s=sG(e);function a(){var i=arguments.length,o=en(i),l=i,c=ac(a);while(l--)o[l]=arguments[l];var u=i<3&&o[0]!==c&&o[i-1]!==c?[]:tX(o,c);return(i-=u.length)<n?s2(e,r,sJ,a.placeholder,t,o,u,t,t,n-i):(0,to(this&&this!==e5&&this instanceof a?s:e,this,o))}return a}function sV(e){return function(r,n,s){var a=ek(r);if(!lr(r)){var i=au(n,3);r=cs(r),n=function(e){return i(a[e],e,a)}}var o=e(r,n,s);return o>-1?a[i?r[o]:o]:t}}function sY(e){return as(function(n){var s=n.length,a=s,i=rT.prototype.thru;e&&n.reverse();while(a--){var o=n[a];if(typeof o!="function")throw new eS(r);if(i&&!l&&al(o)=="wrapper")var l=new rT([],!0)}a=l?a:s;while(++a<s){var c=al(o=n[a]),u=c=="wrapper"?ao(o):t;l=u&&aM(u[0])&&u[1]==(128|8|32|256)&&!u[4].length&&u[9]==1?l[al(u[0])].apply(l,u[3]):o.length==1&&aM(o)?l[c]():l.thru(o)}return function(){var e=arguments,t=e[0];if(l&&e.length==1&&le(t))return l.plant(t).value();var r=0,a=s?n[r].apply(this,e):t;while(++r<s)a=n[r].call(this,a);return a}})}function sJ(e,r,n,s,a,i,o,l,c,u){var h=r&128,d=r&1,m=r&2,f=r&(8|16),p=r&512,g=m?t:sG(e);function y(){var t=arguments.length,v=en(t),b=t;while(b--)v[b]=arguments[b];if(f)var k=ac(y),w=tH(v,k);if(s&&(v=sR(v,s,a,f)),i&&(v=sO(v,i,o,f)),t-=w,f&&t<u){var _=tX(v,k);return s2(e,r,sJ,y.placeholder,n,v,_,l,c,u-t)}var S=d?n:this,T=m?S[e]:e;return t=v.length,l?v=aH(v,l):p&&t>1&&v.reverse(),h&&c<t&&(v.length=c),this&&this!==e5&&this instanceof y&&(T=g||sG(T)),T.apply(S,v)}return y}function sK(e,t){return function(r,n){return nM(r,e,t(n),{})}}function sZ(e,r){return function(n,s){var a;if(n===t&&s===t)return r;if(n!==t&&(a=n),s!==t){if(a===t)return s;typeof n=="string"||typeof s=="string"?(n=sh(n),s=sh(s)):(n=su(n),s=su(s)),a=e(n,s)}return a}}function sX(e){return as(function(t){return t=tp(t,tF(au())),n4(function(r){var n=this;return e(t,function(e){return to(e,n,r)})})})}function sQ(e,r){var n=(r=r===t?" ":sh(r)).length;if(n<2)return n?n7(r,e):r;var s=n7(r,e7(e/t2(r)));return tV(r)?s_(t6(s),0,e).join(""):s.slice(0,e)}function s0(e,t,r,n){var s=t&1,a=sG(e);function i(){var t=-1,o=arguments.length,l=-1,c=n.length,u=en(c+o),h=this&&this!==e5&&this instanceof i?a:e;while(++l<c)u[l]=n[l];while(o--)u[l++]=arguments[++t];return to(h,s?r:this,u)}return i}function s1(e){return function(r,n,s){return s&&typeof s!="number"&&aj(r,n,s)&&(n=s=t),r=l$(r),n===t?(n=r,r=0):n=l$(n),s=s===t?r<n?1:-1:l$(s),n8(r,n,s,e)}}function s3(e){return function(t,r){return!(typeof t=="string"&&typeof r=="string")&&(t=lH(t),r=lH(r)),e(t,r)}}function s2(e,r,n,s,a,i,o,l,c,u){var h=r&8,d=h?o:t,m=h?t:o,f=h?i:t,p=h?t:i;r|=h?32:64,!((r&=~(h?64:32))&4)&&(r&=~(1|2));var g=[e,r,a,f,d,p,m,l,c,u];var y=n.apply(t,g);return aM(e)&&aB(y,g),y.placeholder=s,aV(y,e,r)}function s6(e){var t=eb[e];return function(e,r){if(e=lH(e),(r=r==null?0:t4(lq(r),292))&&tw(e)){var n=(lG(e)+"e").split("e");return+((n=(lG(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var s5=!(rl&&1/tQ(new rl([,-0]))[1]==a)?uu:function(e){return new rl(e)};function s8(e){return function(t){var r=ay(t);return r==y?tK(t):(0,r==_)?t0(t):(0,tN(t,e(t)))}}function s7(e,n,s,a,i,o,l,c){var u=n&2;if(!u&&typeof e!="function")throw new eS(r);var h=a?a.length:0;if(!h&&(n&=~(32|64),a=i=t),l=l===t?l:t7(lq(l),0),c=c===t?c:lq(c),h-=i?i.length:0,n&64){var d=a,m=i;a=i=t}var f=u?t:ao(e);var p=[e,n,s,a,i,d,m,o,l,c];if(f&&aF(p,f),e=p[0],n=p[1],s=p[2],a=p[3],i=p[4],!(c=p[9]=p[9]===t?u?0:e.length:t7(p[9]-h,0))&&n&(8|16)&&(n&=~(8|16)),n&&n!=1)g=n==8||n==16?sW(e,n,c):n!=32&&n!=(1|32)||i.length?sJ.apply(t,p):s0(e,n,s,a);else var g=sH(e,n,s);return aV((f?sr:aB)(g,p),e,n)}function s4(e,r,n,s){return e===t||o8(e,eE[n])&&!eC.call(s,n)?r:(0,e)}function s9(e,r,n,s,a,i){return lg(e)&&lg(r)&&(i.set(r,e),nK(e,r,t,s9,i),i["delete"](r)),e}function ae(e){return lE(e)?t:e}function at(e,r,n,s,a,i){var o=n&1,l=e.length,c=r.length;if(l!=c&&!(o&&c>l))return!1;var u=i.get(e);var h=i.get(r);if(u&&h)return u==r&&h==e;var d=-1,m=!0,f=n&2?new rV:t;i.set(e,r),i.set(r,e);while(++d<l){var p=e[d],g=r[d];if(s)var y=o?s(g,p,d,r,e,i):s(p,g,d,e,r,i);if(y!==t){if(y)continue;m=!1;break}if(f){if(!tb(r,function(e,t){if(!t$(f,t)&&(p===e||a(p,e,n,s,i)))return f.push(t)})){m=!1;break}}else if(!(p===g||a(p,g,n,s,i))){m=!1;break}}return i["delete"](e),i["delete"](r),m}function ar(e,t,r,n,s,a,i){switch(r){case j:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case E:if(e.byteLength!=t.byteLength||!a(new e$(e),new e$(t)))return!1;return!0;case d:case m:case v:return o8(+e,+t);case f:return e.name==t.name&&e.message==t.message;case w:case S:return e==t+"";case y:var o=tK;case _:var l=n&1;if(o||(o=tQ),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;n|=2,i.set(e,t);var u=at(o(e),o(t),n,s,a,i);return i["delete"](e),u;case T:if(rb)return rb.call(e)==rb.call(t)}return!1}function an(e,r,n,s,a,i){var o=n&1,l=aa(e),c=l.length;if(c!=aa(r).length&&!o)return!1;var u=c;while(u--){var h=l[u];if(!(o?h in r:eC.call(r,h)))return!1}var d=i.get(e);var m=i.get(r);if(d&&m)return d==r&&m==e;var f=!0;i.set(e,r),i.set(r,e);var p=o;while(++u<c){var g=e[h=l[u]],y=r[h];if(s)var v=o?s(y,g,h,r,e,i):s(g,y,h,e,r,i);if(!(v===t?g===y||a(g,y,n,s,i):v)){f=!1;break}p||(p=h=="constructor")}if(f&&!p){var b=e.constructor,k=r.constructor;b!=k&&"constructor"in e&&"constructor"in r&&!(typeof b=="function"&&b instanceof b&&typeof k=="function"&&k instanceof k)&&(f=!1)}return i["delete"](e),i["delete"](r),f}function as(e){return aW(aq(e,t,ia),e+"")}function aa(e){return nS(e,cs,ap)}function ai(e){return nS(e,ca,ag)}var ao=!rh?uu:function(e){return rh.get(e)};function al(e){var t=e.name+"",r=rd[t],n=eC.call(rd,t)?r.length:0;while(n--){var s=r[n],a=s.func;if(a==null||a==e)return s.name}return t}function ac(e){return(eC.call(rw,"placeholder")?rw:e).placeholder}function au(){var e=rw.iteratee||un;return e=e===un?nU:e,arguments.length?e(arguments[0],arguments[1]):e}function ah(e,t){var r=e.__data__;return aC(t)?r[typeof t=="string"?"string":"hash"]:r.map}function ad(e){var t=cs(e),r=t.length;while(r--){var n=t[r],s=e[n];t[r]=[n,s,aL(s)]}return t}function am(e,r){var n=tW(e,r);return n$(n)?n:t}function af(e){var r=eC.call(e,eJ),n=e[eJ];try{e[eJ]=t;var s=!0}catch(e){}var a=eO.call(e);return s&&(r?e[eJ]=n:delete e[eJ]),a}var ap=!te?ub:function(e){return e==null?[]:(0,td(te(e=ek(e)),function(t){return eU.call(e,t)}))};var ag=!te?ub:function(e){var t=[];while(e)tg(t,ap(e)),e=ez(e);return t};var ay=nT;function av(e,t,r){var n=-1,s=r.length;while(++n<s){var a=r[n],i=a.size;switch(a.type){case"drop":e+=i;break;case"dropRight":t-=i;break;case"take":t=t4(t,e+i);break;case"takeRight":e=t7(e,t-i);break}}return{"start":e,"end":t}}function ab(e){var t=e.match(et);return t?t[1].split(er):[]}function ak(e,t,r){t=sw(t,e);var n=-1,s=t.length,a=!1;while(++n<s){var i=aZ(t[n]);if(!(a=e!=null&&r(e,i)))break;e=e[i]}return a||++n!=s?a:(0,!!(s=e==null?0:e.length)&&lp(s)&&aE(i,s)&&(le(e)||o9(e)))}function aw(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&eC.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function a_(e){return typeof e.constructor=="function"&&!aO(e)?r_(ez(e)):{}}function aS(e,t,r){var n=e.constructor;switch(t){case E:return sx(e);case d:case m:return new n(+e);case j:return sE(e,r);case A:case C:case M:case I:case R:case O:case L:case N:case D:return sC(e,r);case y:return new n;case v:case S:return new n(e);case w:return sj(e);case _:return new n;case T:return sA(e)}}function aT(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(ee,`{
/* [wrapped with `+t+`] */
`)}function ax(e){return le(e)||o9(e)||!!(eV&&e&&e[eV])}function aE(e,t){var r=typeof e;return!!(t=t==null?0x1fffffffffffff:t)&&(r=="number"||r!="symbol"&&ed.test(e))&&e>-1&&e%1==0&&e<t}function aj(e,t,r){if(!lg(r))return!1;var n=typeof t;return(n=="number"?lr(r)&&aE(t,r.length):n=="string"&&t in r)?o8(r[t],e):(0,!1)}function aA(e,t){if(le(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||lI(e)?!0:(0,Y.test(e)||!V.test(e)||t!=null&&e in ek(t))}function aC(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function aM(e){var t=al(e),r=rw[t];if(typeof r!="function"||!(t in rx.prototype))return!1;if(e===r)return!0;var n=ao(r);return!!n&&e===n[0]}function aI(e){return!!eR&&eR in e}(ra&&ay(new ra(new ArrayBuffer(1)))!=j||ri&&ay(new ri)!=y||ro&&ay(ro.resolve())!=k||rl&&ay(new rl)!=_||rc&&ay(new rc)!=x)&&(ay=function(e){var r=nT(e),n=r==b?e.constructor:t,s=n?aX(n):"";if(s)switch(s){case rm:return j;case rf:return y;case rp:return k;case rg:return _;case ry:return x}return r});var aR=ej?lm:uk;function aO(e){var t=e&&e.constructor;return e===(typeof t=="function"&&t.prototype||eE)}function aL(e){return e==e&&!lg(e)}function aN(e,r){return function(n){return n==null?!1:(0,n[e]===r&&(r!==t||e in ek(n)))}}function aD(e){var t=oH(e,function(e){return r.size===500&&r.clear(),e});var r=t.cache;return t}function aF(e,t){var r=e[1],n=t[1],a=r|n,i=a<(1|2|128);var o=n==128&&r==8||n==128&&r==256&&e[7].length<=t[8]||n==(128|256)&&t[7].length<=t[8]&&r==8;if(!(i||o))return e;n&1&&(e[2]=t[2],a|=r&1?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?sR(c,l,t[4]):l,e[4]=c?tX(e[3],s):t[4]}return(l=t[5])&&(c=e[5],e[5]=c?sO(c,l,t[6]):l,e[6]=c?tX(e[5],s):t[6]),(l=t[7])&&(e[7]=l),n&128&&(e[8]=e[8]==null?t[8]:t4(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=a,e}function aP(e){var t=[];if(e!=null)for(var r in ek(e))t.push(r);return t}function a$(e){return eO.call(e)}function aq(e,r,n){return r=t7(r===t?e.length-1:r,0),function(){var t=arguments,s=-1,a=t7(t.length-r,0),i=en(a);while(++s<a)i[s]=t[r+s];s=-1;var o=en(r+1);while(++s<r)o[s]=t[s];return o[r]=n(i),to(e,this,o)}}function az(e,t){return t.length<2?e:n_(e,sa(t,0,-1))}function aH(e,r){var n=e.length,s=t4(r.length,n),a=sL(e);while(s--){var i=r[s];e[s]=aE(i,n)?a[i]:t}return e}function aU(e,t){if(t==="constructor"&&typeof e[t]=="function"||t=="__proto__")return;return e[t]}var aB=aY(sr);var aG=e8||function(e,t){return e5.setTimeout(e,t)};var aW=aY(sn);function aV(e,t,r){var n=t+"";return aW(e,aT(n,aQ(ab(n),r)))}function aY(e){var r=0,n=0;return function(){var s=rt(),a=16-(s-n);if(n=s,a>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(t,arguments)}}function aJ(e,r){var n=-1,s=e.length,a=s-1;r=r===t?s:r;while(++n<r){var i=n5(n,a),o=e[i];e[i]=e[n],e[n]=o}return e.length=r,e}var aK=aD(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(J,function(e,r,n,s){t.push(n?s.replace(ea,"$1"):r||e)}),t});function aZ(e){if(typeof e=="string"||lI(e))return e;var t=e+"";return t=="0"&&1/e==-a?"-0":t}function aX(e){if(e!=null){try{return eA.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function aQ(e,t){return tc(c,function(r){var n="_."+r[0];t&r[1]&&!tm(e,n)&&e.push(n)}),e.sort()}function a0(e){if(e instanceof rx)return e.clone();var t=new rT(e.__wrapped__,e.__chain__);return t.__actions__=sL(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function a1(e,r,n){r=(n?aj(e,r,n):r===t)?1:t7(lq(r),0);var s=e==null?0:e.length;if(!s||r<1)return[];var a=0,i=0,o=en(e7(s/r));while(a<s)o[i++]=sa(e,a,a+=r);return o}function a3(e){var t=-1,r=e==null?0:e.length,n=0,s=[];while(++t<r){var a=e[t];a&&(s[n++]=a)}return s}function a2(){var e=arguments.length;if(!e)return[];var t=en(e-1),r=arguments[0],n=e;while(n--)t[n-1]=arguments[n];return tg(le(r)?sL(r):[r],ng(t,1))}var a6=n4(function(e,t){return ln(e)?nc(e,ng(t,1,ln,!0)):[]});var a5=n4(function(e,r){var n=iy(r);return ln(n)&&(n=t),ln(e)?nc(e,ng(r,1,ln,!0),au(n,2)):[]});var a8=n4(function(e,r){var n=iy(r);return ln(n)&&(n=t),ln(e)?nc(e,ng(r,1,ln,!0),t,n):[]});function a7(e,r,n){var s=e==null?0:e.length;return!s?[]:(0,sa(e,(r=n||r===t?1:lq(r))<0?0:r,s))}function a4(e,r,n){var s=e==null?0:e.length;return!s?[]:(0,sa(e,0,(r=s-(r=n||r===t?1:lq(r)))<0?0:r))}function a9(e,t){return e&&e.length?sp(e,au(t,3),!0,!0):[]}function ie(e,t){return e&&e.length?sp(e,au(t,3),!0):[]}function it(e,t,r,n){var s=e==null?0:e.length;return!s?[]:(r&&typeof r!="number"&&aj(e,t,r)&&(r=0,n=s),nf(e,t,r,n))}function ir(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var s=r==null?0:lq(r);return s<0&&(s=t7(n+s,0)),tT(e,au(t,3),s)}function is(e,r,n){var s=e==null?0:e.length;if(!s)return-1;var a=s-1;return n!==t&&(a=lq(n),a=n<0?t7(s+a,0):t4(a,s-1)),tT(e,au(r,3),a,!0)}function ia(e){return(e==null?0:e.length)?ng(e,1):[]}function ii(e){return(e==null?0:e.length)?ng(e,a):[]}function io(e,r){return!(e==null?0:e.length)?[]:(0,ng(e,r=r===t?1:lq(r)))}function il(e){var t=-1,r=e==null?0:e.length,n={};while(++t<r){var s=e[t];nr(n,s[0],s[1])}return n}function ic(e){return e&&e.length?e[0]:t}function iu(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var s=r==null?0:lq(r);return s<0&&(s=t7(n+s,0)),tx(e,t,s)}function ih(e){return(e==null?0:e.length)?sa(e,0,-1):[]}var id=n4(function(e){var t=tp(e,sb);return t.length&&t[0]===e[0]?nC(t):[]});var im=n4(function(e){var r=iy(e),n=tp(e,sb);return r===iy(n)?r=t:n.pop(),n.length&&n[0]===e[0]?nC(n,au(r,2)):[]});var ip=n4(function(e){var r=iy(e),n=tp(e,sb);return(r=typeof r=="function"?r:t)&&n.pop(),n.length&&n[0]===e[0]?nC(n,t,r):[]});function ig(e,t){return e==null?"":tM.call(e,t)}function iy(e){var r=e==null?0:e.length;return r?e[r-1]:t}function iv(e,r,n){var s=e==null?0:e.length;if(!s)return-1;var a=s;return n!==t&&(a=(a=lq(n))<0?t7(s+a,0):t4(a,s-1)),r==r?t3(e,r,a):tT(e,tj,a,!0)}function ib(e,r){return e&&e.length?nX(e,lq(r)):t}var ik=n4(iw);function iw(e,t){return e&&e.length&&t&&t.length?n2(e,t):e}function i_(e,t,r){return e&&e.length&&t&&t.length?n2(e,t,au(r,2)):e}function iS(e,r,n){return e&&e.length&&r&&r.length?n2(e,r,t,n):e}var iT=as(function(e,t){var r=e==null?0:e.length,n=nn(e,t);return n6(e,tp(t,function(e){return aE(e,r)?+e:e}).sort(sM)),n});function ix(e,t){var r=[];if(!(e&&e.length))return r;var n=-1,s=[],a=e.length;t=au(t,3);while(++n<a){var i=e[n];t(i,n,e)&&(r.push(i),s.push(n))}return n6(e,s),r}function iE(e){return e==null?e:rs.call(e)}function ij(e,r,n){var s=e==null?0:e.length;return!s?[]:(n&&typeof n!="number"&&aj(e,r,n)?(r=0,n=s):(r=r==null?0:lq(r),n=n===t?s:lq(n)),sa(e,r,n))}function iA(e,t){return so(e,t)}function iC(e,t,r){return sl(e,t,au(r,2))}function iM(e,t){var r=e==null?0:e.length;if(r){var n=so(e,t);if(n<r&&o8(e[n],t))return n}return-1}function iI(e,t){return so(e,t,!0)}function iR(e,t,r){return sl(e,t,au(r,2),!0)}function iO(e,t){if(e==null?0:e.length){var r=so(e,t,!0)-1;if(o8(e[r],t))return r}return-1}function iL(e){return e&&e.length?sc(e):[]}function iN(e,t){return e&&e.length?sc(e,au(t,2)):[]}function iD(e){var t=e==null?0:e.length;return t?sa(e,1,t):[]}function iF(e,r,n){return!(e&&e.length)?[]:(0,sa(e,0,(r=n||r===t?1:lq(r))<0?0:r))}function iP(e,r,n){var s=e==null?0:e.length;return!s?[]:(0,sa(e,(r=s-(r=n||r===t?1:lq(r)))<0?0:r,s))}function i$(e,t){return e&&e.length?sp(e,au(t,3),!1,!0):[]}function iq(e,t){return e&&e.length?sp(e,au(t,3)):[]}var iz=n4(function(e){return sd(ng(e,1,ln,!0))});var iH=n4(function(e){var r=iy(e);return ln(r)&&(r=t),sd(ng(e,1,ln,!0),au(r,2))});var iU=n4(function(e){var r=iy(e);return r=typeof r=="function"?r:t,sd(ng(e,1,ln,!0),t,r)});function iB(e){return e&&e.length?sd(e):[]}function iG(e,t){return e&&e.length?sd(e,au(t,2)):[]}function iW(e,r){return r=typeof r=="function"?r:t,e&&e.length?sd(e,t,r):[]}function iV(e){if(!(e&&e.length))return[];var t=0;return e=td(e,function(e){if(ln(e))return t=t7(e.length,t),!0}),tL(t,function(t){return tp(e,tC(t))})}function iY(e,r){if(!(e&&e.length))return[];var n=iV(e);return r==null?n:(0,tp(n,function(e){return to(r,t,e)}))}var iJ=n4(function(e,t){return ln(e)?nc(e,t):[]});var iK=n4(function(e){return sy(td(e,ln))});var iZ=n4(function(e){var r=iy(e);return ln(r)&&(r=t),sy(td(e,ln),au(r,2))});var iX=n4(function(e){var r=iy(e);return r=typeof r=="function"?r:t,sy(td(e,ln),t,r)});var iQ=n4(iV);function i0(e,t){return sv(e||[],t||[],r7)}function i1(e,t){return sv(e||[],t||[],st)}var i3=n4(function(e){var r=e.length,n=r>1?e[r-1]:t;return n=typeof n=="function"?(e.pop(),n):t,iY(e,n)});function i2(e){var t=rw(e);return t.__chain__=!0,t}function i6(e,t){return t(e),e}function i5(e,t){return t(e)}var i8=as(function(e){var r=e.length,n=r?e[0]:0,s=this.__wrapped__,a=function(t){return nn(t,e)};return r>1||this.__actions__.length||!(s instanceof rx)||!aE(n)?this.thru(a):((s=s.slice(n,+n+(r?1:0))).__actions__.push({"func":i5,"args":[a],"thisArg":t}),new rT(s,this.__chain__).thru(function(e){return r&&!e.length&&e.push(t),e}))});function i7(){return i2(this)}function i4(){return new rT(this.value(),this.__chain__)}function i9(){this.__values__===t&&(this.__values__=lP(this.value()));var e=this.__index__>=this.__values__.length,r=e?t:this.__values__[this.__index__++];return{"done":e,"value":r}}function oe(){return this}function ot(e){var r,n=this;while(n instanceof rS){var s=a0(n);s.__index__=0,s.__values__=t,r?a.__wrapped__=s:r=s;var a=s;n=n.__wrapped__}return a.__wrapped__=e,r}function or(){var e=this.__wrapped__;if(e instanceof rx){var r=e;return this.__actions__.length&&(r=new rx(this)),(r=r.reverse()).__actions__.push({"func":i5,"args":[iE],"thisArg":t}),new rT(r,this.__chain__)}return this.thru(iE)}function on(){return sg(this.__wrapped__,this.__actions__)}var os=sP(function(e,t,r){eC.call(e,r)?++e[r]:nr(e,r,1)});function oa(e,r,n){var s=le(e)?th:nd;return n&&aj(e,r,n)&&(r=t),s(e,au(r,3))}function oi(e,t){return(le(e)?td:np)(e,au(t,3))}var oo=sV(ir);var ol=sV(is);function oc(e,t){return ng(ov(e,t),1)}function ou(e,t){return ng(ov(e,t),a)}function oh(e,r,n){return n=n===t?1:lq(n),ng(ov(e,r),n)}function od(e,t){return(le(e)?tc:nu)(e,au(t,3))}function om(e,t){return(le(e)?tu:nh)(e,au(t,3))}var of=sP(function(e,t,r){eC.call(e,r)?e[r].push(t):nr(e,r,[t])});function op(e,t,r,n){e=lr(e)?e:cS(e),r=r&&!n?lq(r):0;var s=e.length;return r<0&&(r=t7(s+r,0)),lM(e)?r<=s&&e.indexOf(t,r)>-1:!!s&&tx(e,t,r)>-1}var og=n4(function(e,t,r){var n=-1,s=typeof t=="function",a=lr(e)?en(e.length):[];return nu(e,function(e){a[++n]=s?to(t,e,r):nI(e,t,r)}),a});var oy=sP(function(e,t,r){nr(e,r,t)});function ov(e,t){return(le(e)?tp:nV)(e,au(t,3))}function ob(e,r,n,s){return e==null?[]:(!le(r)&&(r=r==null?[]:[r]),!le(n=s?t:n)&&(n=n==null?[]:[n]),nQ(e,r,n))}var ok=sP(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});function ow(e,t,r){var n=le(e)?ty:tI,s=arguments.length<3;return n(e,au(t,4),r,s,nu)}function o_(e,t,r){var n=le(e)?tv:tI,s=arguments.length<3;return n(e,au(t,4),r,s,nh)}function oS(e,t){return(le(e)?td:np)(e,oU(au(t,3)))}function oT(e){return(le(e)?r2:n9)(e)}function ox(e,r,n){return r=(n?aj(e,r,n):r===t)?1:lq(r),(le(e)?r6:se)(e,r)}function oE(e){return(le(e)?r5:ss)(e)}function oj(e){if(e==null)return 0;if(lr(e))return lM(e)?t2(e):e.length;var t=ay(e);return t==y||t==_?e.size:(0,nB(e).length)}function oA(e,r,n){var s=le(e)?tb:si;return n&&aj(e,r,n)&&(r=t),s(e,au(r,3))}var oC=n4(function(e,t){if(e==null)return[];var r=t.length;return r>1&&aj(e,t[0],t[1])?t=[]:r>2&&aj(t[0],t[1],t[2])&&(t=[t[0]]),nQ(e,ng(t,1),[])});var oM=e6||function(){return e5.Date.now()};function oI(e,t){if(typeof t!="function")throw new eS(r);return e=lq(e),function(){if(--e<1)return t.apply(this,arguments)}}function oR(e,r,n){return r=n?t:r,r=e&&r==null?e.length:r,s7(e,128,t,t,t,t,r)}function oO(e,n){var s;if(typeof n!="function")throw new eS(r);return e=lq(e),function(){return--e>0&&(s=n.apply(this,arguments)),e<=1&&(n=t),s}}var oL=n4(function(e,t,r){var n=1;if(r.length){var s=tX(r,ac(oL));n|=32}return s7(e,n,t,r,s)});var oN=n4(function(e,t,r){var n=1|2;if(r.length){var s=tX(r,ac(oN));n|=32}return s7(t,n,e,r,s)});function oD(e,r,n){r=n?t:r;var s=s7(e,8,t,t,t,t,t,r);return s.placeholder=oD.placeholder,s}function oF(e,r,n){r=n?t:r;var s=s7(e,16,t,t,t,t,t,r);return s.placeholder=oF.placeholder,s}function oP(e,n,s){var a,i,o,l,c,u,h=0,d=!1,m=!1,f=!0;if(typeof e!="function")throw new eS(r);function p(r){var n=a,s=i;return a=i=t,h=r,l=e.apply(s,n)}function g(e){return h=e,c=aG(b,n),d?p(e):l}function y(e){var t=e-u,r=e-h,s=n-t;return m?t4(s,o-r):s}function v(e){var r=e-u,s=e-h;return u===t||r>=n||r<0||m&&s>=o}function b(){var e=oM();if(v(e))return k(e);c=aG(b,y(e))}function k(e){return(c=t,f&&a)?p(e):(a=i=t,l)}function w(){return c===t?l:k(oM())}function _(){var e=oM(),r=v(e);if(a=arguments,i=this,u=e,r){if(c===t)return g(u);if(m)return sS(c),c=aG(b,n),p(u)}return c===t&&(c=aG(b,n)),l}return n=lH(n)||0,lg(s)&&(d=!!s.leading,o=(m="maxWait"in s)?t7(lH(s.maxWait)||0,n):o,f="trailing"in s?!!s.trailing:f),_.cancel=function(){c!==t&&sS(c),h=0,a=u=i=c=t},_.flush=w,_}var o$=n4(function(e,t){return nl(e,1,t)});var oq=n4(function(e,t,r){return nl(e,lH(t)||0,r)});function oz(e){return s7(e,512)}function oH(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new eS(r);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],a=n.cache;if(a.has(s))return a.get(s);var i=e.apply(this,r);return n.cache=a.set(s,i)||a,i};return n.cache=new(oH.Cache||rz),n}function oU(e){if(typeof e!="function")throw new eS(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function oB(e){return oO(2,e)}oH.Cache=rz;var oG=n4(function(e,t){var r=(t=t.length==1&&le(t[0])?tp(t[0],tF(au())):tp(ng(t,1),tF(au()))).length;return n4(function(n){var s=-1,a=t4(n.length,r);while(++s<a)n[s]=t[s].call(this,n[s]);return to(e,this,n)})});var oW=n4(function(e,r){var n=tX(r,ac(oW));return s7(e,32,t,r,n)});var oV=n4(function(e,r){var n=tX(r,ac(oV));return s7(e,64,t,r,n)});var oY=as(function(e,r){return s7(e,256,t,t,t,r)});function oJ(e,n){if(typeof e!="function")throw new eS(r);return n4(e,n=n===t?n:lq(n))}function oK(e,t){if(typeof e!="function")throw new eS(r);return t=t==null?0:t7(lq(t),0),n4(function(r){var n=r[t],s=s_(r,0,t);return n&&tg(s,n),to(e,this,s)})}function oZ(e,t,n){var s=!0,a=!0;if(typeof e!="function")throw new eS(r);return lg(n)&&(s="leading"in n?!!n.leading:s,a="trailing"in n?!!n.trailing:a),oP(e,t,{"leading":s,"maxWait":t,"trailing":a})}function oX(e){return oR(e,1)}function oQ(e,t){return oW(sk(t),e)}function o0(){if(!arguments.length)return[];var e=arguments[0];return le(e)?e:[e]}function o1(e){return na(e,4)}function o3(e,r){return na(e,4,r=typeof r=="function"?r:t)}function o2(e){return na(e,1|4)}function o6(e,r){return na(e,1|4,r=typeof r=="function"?r:t)}function o5(e,t){return t==null||no(e,t,cs(t))}function o8(e,t){return e===t||e!=e&&t!=t}var o7=s3(nx);var o4=s3(function(e,t){return e>=t});var o9=nR(function(){return arguments}())?nR:function(e){return ly(e)&&eC.call(e,"callee")&&!eU.call(e,"callee")};var le=en.isArray;var lt=tt?tF(tt):nO;function lr(e){return e!=null&&lp(e.length)&&!lm(e)}function ln(e){return ly(e)&&lr(e)}function ls(e){return e===!0||e===!1||ly(e)&&nT(e)==d}var la=tk||uk;var li=tr?tF(tr):nL;function lo(e){return ly(e)&&e.nodeType===1&&!lE(e)}function ll(e){if(e==null)return!0;if(lr(e)&&(le(e)||typeof e=="string"||typeof e.splice=="function"||la(e)||lR(e)||o9(e)))return!e.length;var t=ay(e);if(t==y||t==_)return!e.size;if(aO(e))return!nB(e).length;for(var r in e)if(eC.call(e,r))return!1;return!0}function lc(e,t){return nN(e,t)}function lu(e,r,n){var s=(n=typeof n=="function"?n:t)?n(e,r):t;return s===t?nN(e,r,t,n):!!s}function lh(e){if(!ly(e))return!1;var t=nT(e);return t==f||t=="[object DOMException]"||typeof e.message=="string"&&typeof e.name=="string"&&!lE(e)}function ld(e){return typeof e=="number"&&tw(e)}function lm(e){if(!lg(e))return!1;var t=nT(e);return t==p||t==g||t=="[object AsyncFunction]"||t=="[object Proxy]"}function lf(e){return typeof e=="number"&&e==lq(e)}function lp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function lg(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function ly(e){return e!=null&&typeof e=="object"}var lv=tn?tF(tn):nF;function lb(e,t){return e===t||nP(e,t,ad(t))}function lk(e,r,n){return n=typeof n=="function"?n:t,nP(e,r,ad(r),n)}function lw(e){return lx(e)&&e!=+e}function l_(e){if(aR(e))throw new ey("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return n$(e)}function lS(e){return e===null}function lT(e){return e==null}function lx(e){return typeof e=="number"||ly(e)&&nT(e)==v}function lE(e){if(!ly(e)||nT(e)!=b)return!1;var t=ez(e);if(t===null)return!0;var r=eC.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&eA.call(r)==eL}var lj=ts?tF(ts):nq;function lA(e){return lf(e)&&e>=-0x1fffffffffffff&&e<=0x1fffffffffffff}var lC=ta?tF(ta):nz;function lM(e){return typeof e=="string"||!le(e)&&ly(e)&&nT(e)==S}function lI(e){return typeof e=="symbol"||ly(e)&&nT(e)==T}var lR=ti?tF(ti):nH;function lO(e){return e===t}function lL(e){return ly(e)&&ay(e)==x}function lN(e){return ly(e)&&nT(e)=="[object WeakSet]"}var lD=s3(nW);var lF=s3(function(e,t){return e<=t});function lP(e){if(!e)return[];if(lr(e))return lM(e)?t6(e):sL(e);if(eY&&e[eY])return tJ(e[eY]());var t=ay(e);return(t==y?tK:t==_?tQ:cS)(e)}function l$(e){return!e?e===0?e:0:(0,(e=lH(e))===a||e===-a)?(e<0?-1:1)*17976931348623157e292:(0,e==e?e:0)}function lq(e){var t=l$(e),r=t%1;return t==t?r?t-r:t:0}function lz(e){return e?ns(lq(e),0,0xffffffff):0}function lH(e){if(typeof e=="number")return e;if(lI(e))return i;if(lg(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=lg(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=tD(e);var r=ec.test(e);return r||eh.test(e)?e3(e.slice(2),r?2:8):el.test(e)?i:+e}function lU(e){return sN(e,ca(e))}function lB(e){return e?ns(lq(e),-0x1fffffffffffff,0x1fffffffffffff):e===0?e:0}function lG(e){return e==null?"":sh(e)}var lW=s$(function(e,t){if(aO(t)||lr(t)){sN(t,cs(t),e);return}for(var r in t)eC.call(t,r)&&r7(e,r,t[r])});var lV=s$(function(e,t){sN(t,ca(t),e)});var lY=s$(function(e,t,r,n){sN(t,ca(t),e,n)});var lJ=s$(function(e,t,r,n){sN(t,cs(t),e,n)});var lK=as(nn);function lZ(e,t){var r=r_(e);return t==null?r:ne(r,t)}var lX=n4(function(e,r){e=ek(e);var n=-1;var s=r.length;var a=s>2?r[2]:t;a&&aj(r[0],r[1],a)&&(s=1);while(++n<s){var i=r[n];var o=ca(i);var l=-1;var c=o.length;while(++l<c){var u=o[l];var h=e[u];(h===t||o8(h,eE[u])&&!eC.call(e,u))&&(e[u]=i[u])}}return e});var lQ=n4(function(e){return e.push(t,s9),to(cc,t,e)});function l0(e,t){return tS(e,au(t,3),nb)}function l1(e,t){return tS(e,au(t,3),nk)}function l3(e,t){return e==null?e:ny(e,au(t,3),ca)}function l2(e,t){return e==null?e:nv(e,au(t,3),ca)}function l6(e,t){return e&&nb(e,au(t,3))}function l5(e,t){return e&&nk(e,au(t,3))}function l8(e){return e==null?[]:nw(e,cs(e))}function l7(e){return e==null?[]:nw(e,ca(e))}function l4(e,r,n){var s=e==null?t:n_(e,r);return s===t?n:s}function l9(e,t){return e!=null&&ak(e,t,nE)}function ce(e,t){return e!=null&&ak(e,t,nj)}var ct=sK(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=eO.call(t)),e[t]=r},c4(ur));var cr=sK(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=eO.call(t)),eC.call(e,t)?e[t].push(r):e[t]=[r]},au);var cn=n4(nI);function cs(e){return lr(e)?r3(e):nB(e)}function ca(e){return lr(e)?r3(e,!0):nG(e)}function ci(e,t){var r={};return t=au(t,3),nb(e,function(e,n,s){nr(r,t(e,n,s),e)}),r}function co(e,t){var r={};return t=au(t,3),nb(e,function(e,n,s){nr(r,n,t(e,n,s))}),r}var cl=s$(function(e,t,r){nK(e,t,r)});var cc=s$(function(e,t,r,n){nK(e,t,r,n)});var cu=as(function(e,t){var r={};if(e==null)return r;var n=!1;t=tp(t,function(t){return t=sw(t,e),n||(n=t.length>1),t}),sN(e,ai(e),r),n&&(r=na(r,1|2|4,ae));var s=t.length;while(s--)sm(r,t[s]);return r});function ch(e,t){return cm(e,oU(au(t)))}var cd=as(function(e,t){return e==null?{}:n0(e,t)});function cm(e,t){if(e==null)return{};var r=tp(ai(e),function(e){return[e]});return t=au(t),n1(e,r,function(e,r){return t(e,r[0])})}function cf(e,r,n){r=sw(r,e);var s=-1,a=r.length;!a&&(a=1,e=t);while(++s<a){var i=e==null?t:e[aZ(r[s])];i===t&&(s=a,i=n),e=lm(i)?i.call(e):i}return e}function cp(e,t,r){return e==null?e:st(e,t,r)}function cg(e,r,n,s){return s=typeof s=="function"?s:t,e==null?e:st(e,r,n,s)}var cy=s8(cs);var cv=s8(ca);function cb(e,t,r){var n=le(e),s=n||la(e)||lR(e);if(t=au(t,4),r==null){var a=e&&e.constructor;r=s?n?new a:[]:lg(e)&&lm(a)?r_(ez(e)):{}}return(s?tc:nb)(e,function(e,n,s){return t(r,e,n,s)}),r}function ck(e,t){return e==null?!0:sm(e,t)}function cw(e,t,r){return e==null?e:sf(e,t,sk(r))}function c_(e,r,n,s){return s=typeof s=="function"?s:t,e==null?e:sf(e,r,sk(n),s)}function cS(e){return e==null?[]:tP(e,cs(e))}function cT(e){return e==null?[]:tP(e,ca(e))}function cx(e,r,n){return n===t&&(n=r,r=t),n!==t&&(n=(n=lH(n))==n?n:0),r!==t&&(r=(r=lH(r))==r?r:0),ns(lH(e),r,n)}function cE(e,r,n){return r=l$(r),n===t?(n=r,r=0):n=l$(n),nA(e=lH(e),r,n)}function cj(e,r,n){if(n&&typeof n!="boolean"&&aj(e,r,n)&&(r=n=t),n===t&&(typeof r=="boolean"?(n=r,r=t):typeof e=="boolean"&&(n=e,e=t)),e===t&&r===t?(e=0,r=1):(e=l$(e),r===t?(r=e,e=0):r=l$(r)),e>r){var s=e;e=r,r=s}if(n||e%1||r%1){var a=rn();return t4(e+a*(r-e+e1("1e-"+((a+"").length-1))),r)}return n5(e,r)}var cA=sB(function(e,t,r){return t=t.toLowerCase(),e+(r?cC(t):t)});function cC(e){return c3(lG(e).toLowerCase())}function cM(e){return(e=lG(e))&&e.replace(em,tU).replace(eG,"")}function cI(e,r,n){e=lG(e),r=sh(r);var s=e.length;var a=n=n===t?s:ns(lq(n),0,s);return(n-=r.length)>=0&&e.slice(n,a)==r}function cR(e){return(e=lG(e))&&U.test(e)?e.replace(z,tB):e}function cO(e){return(e=lG(e))&&Z.test(e)?e.replace(K,"\\$&"):e}var cL=sB(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()});var cN=sB(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()});var cD=sU("toLowerCase");function cF(e,t,r){e=lG(e);var n=(t=lq(t))?t2(e):0;if(!t||n>=t)return e;var s=(t-n)/2;return sQ(e9(s),r)+e+sQ(e7(s),r)}function cP(e,t,r){e=lG(e);var n=(t=lq(t))?t2(e):0;return t&&n<t?e+sQ(t-n,r):e}function c$(e,t,r){e=lG(e);var n=(t=lq(t))?t2(e):0;return t&&n<t?sQ(t-n,r)+e:e}function cq(e,t,r){return r||t==null?t=0:t&&(t=+t),rr(lG(e).replace(X,""),t||0)}function cz(e,r,n){return r=(n?aj(e,r,n):r===t)?1:lq(r),n7(lG(e),r)}function cH(){var e=arguments,t=lG(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var cU=sB(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});function cB(e,r,n){if(n&&typeof n!="number"&&aj(e,r,n)&&(r=n=t),!(n=n===t?0xffffffff:n>>>0))return[];if((e=lG(e))&&(typeof r=="string"||r!=null&&!lj(r))){if(!(r=sh(r))&&tV(e))return s_(t6(e),0,n)}return e.split(r,n)}var cG=sB(function(e,t,r){return e+(r?" ":"")+c3(t)});function cW(e,t,r){return e=lG(e),r=r==null?0:ns(lq(r),0,e.length),t=sh(t),e.slice(r,r+t.length)==t}function cV(e,r,n){var s=rw.templateSettings;n&&aj(e,r,n)&&(r=t),e=lG(e),r=lJ({},r,s,s4);var a=lJ({},r.imports,s.imports,s4),i=cs(a),o=tP(a,i);tc(i,function(e){if(es.test(e))throw new ey("Invalid `imports` option passed into `_.template`")});var l,c,u=0,h=r.interpolate||ef,d="__p += '";var m=ew((r.escape||ef).source+"|"+h.source+"|"+(h===W?ei:ef).source+"|"+(r.evaluate||ef).source+"|$","g");var f="//# sourceURL="+(eC.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++eZ+"]")+`
`;e.replace(m,function(t,r,n,s,a,i){return n||(n=s),d+=e.slice(u,i).replace(ep,tG),r&&(l=!0,d+=`' +
__e(`+r+`) +
'`),a&&(c=!0,d+=`';
`+a+`;
__p += '`),n&&(d+=`' +
((__t = (`+n+`)) == null ? '' : __t) +
'`),u=i+t.length,t}),d+=`';
`;var p=eC.call(r,"variable")&&r.variable;if(p){if(es.test(p))throw new ey("Invalid `variable` option passed into `_.template`")}else d=`with (obj) {
`+d+`
}
`;d=(c?d.replace(F,""):d).replace(P,"$1").replace($,"$1;"),d="function("+(p||"obj")+`) {
`+(p?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(l?", __e = _.escape":"")+(c?`, __j = Array.prototype.join;
`+`function print() { __p += __j.call(arguments, '') }
`:`;
`)+d+`return __p
}`;var g=c6(function(){return ev(i,f+"return "+d).apply(t,o)});if(g.source=d,lh(g))throw g;return g}function cY(e){return lG(e).toLowerCase()}function cJ(e){return lG(e).toUpperCase()}function cK(e,r,n){if((e=lG(e))&&(n||r===t))return tD(e);if(!e||!(r=sh(r)))return e;var s=t6(e),a=t6(r),i=tq(s,a),o=tz(s,a)+1;return s_(s,i,o).join("")}function cZ(e,r,n){if((e=lG(e))&&(n||r===t))return e.slice(0,t5(e)+1);if(!e||!(r=sh(r)))return e;var s=t6(e),a=tz(s,t6(r))+1;return s_(s,0,a).join("")}function cX(e,r,n){if((e=lG(e))&&(n||r===t))return e.replace(X,"");if(!e||!(r=sh(r)))return e;var s=t6(e),a=tq(s,t6(r));return s_(s,a).join("")}function cQ(e,r){var n=30,s="...";if(lg(r)){var a="separator"in r?r.separator:a;n="length"in r?lq(r.length):n,s="omission"in r?sh(r.omission):s}var i=(e=lG(e)).length;if(tV(e)){var o=t6(e);i=o.length}if(n>=i)return e;var l=n-t2(s);if(l<1)return s;var c=o?s_(o,0,l).join(""):e.slice(0,l);if(a===t)return c+s;if(o&&(l+=c.length-l),lj(a)){if(e.slice(l).search(a)){var u,h=c;!a.global&&(a=ew(a.source,lG(eo.exec(a))+"g")),a.lastIndex=0;while(u=a.exec(h))var d=u.index;c=c.slice(0,d===t?l:d)}}else if(e.indexOf(sh(a),l)!=l){var m=c.lastIndexOf(a);m>-1&&(c=c.slice(0,m))}return c+s}function c0(e){return(e=lG(e))&&H.test(e)?e.replace(q,t8):e}var c1=sB(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()});var c3=sU("toUpperCase");function c2(e,r,n){return(e=lG(e),(r=n?t:r)===t)?tY(e)?t9(e):t_(e):(0,e.match(r)||[])}var c6=n4(function(e,r){try{return to(e,t,r)}catch(e){return lh(e)?e:new ey(e)}});var c5=as(function(e,t){return tc(t,function(t){nr(e,t=aZ(t),oL(e[t],e))}),e});function c8(e){var t=e==null?0:e.length,n=au();return e=!t?[]:tp(e,function(e){if(typeof e[1]!="function")throw new eS(r);return[n(e[0]),e[1]]}),n4(function(r){var n=-1;while(++n<t){var s=e[n];if(to(s[0],this,r))return to(s[1],this,r)}})}function c7(e){return ni(na(e,1))}function c4(e){return function(){return e}}function c9(e,t){return e==null||e!=e?t:e}var ue=sY();var ut=sY(!0);function ur(e){return e}function un(e){return nU(typeof e=="function"?e:na(e,1))}function us(e){return nY(na(e,1))}function ua(e,t){return nJ(e,na(t,1))}var ui=n4(function(e,t){return function(r){return nI(r,e,t)}});var uo=n4(function(e,t){return function(r){return nI(e,r,t)}});function ul(e,t,r){var n=cs(t),s=nw(t,n);r==null&&!(lg(t)&&(s.length||!n.length))&&(r=t,t=e,e=this,s=nw(t,cs(t)));var a=!(lg(r)&&"chain"in r)||!!r.chain,i=lm(e);return tc(s,function(r){var n=t[r];e[r]=n,i&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__);return(r.__actions__=sL(this.__actions__)).push({"func":n,"args":arguments,"thisArg":e}),r.__chain__=t,r}return n.apply(e,tg([this.value()],arguments))})}),e}function uc(){return e5._===this&&(e5._=eN),this}function uu(){}function uh(e){return e=lq(e),n4(function(t){return nX(t,e)})}var ud=sX(tp);var um=sX(th);var uf=sX(tb);function up(e){return aA(e)?tC(aZ(e)):n3(e)}function ug(e){return function(r){return e==null?t:n_(e,r)}}var uy=s1();var uv=s1(!0);function ub(){return[]}function uk(){return!1}function uw(){return{}}function u_(){return""}function uS(){return!0}function uT(e,t){if((e=lq(e))<1||e>0x1fffffffffffff)return[];var r=0xffffffff,n=t4(e,0xffffffff);t=au(t),e-=0xffffffff;var s=tL(n,t);while(++r<e)t(r);return s}function ux(e){return le(e)?tp(e,aZ):(0,lI(e)?[e]:sL(aK(lG(e))))}function uE(e){var t=++eM;return lG(e)+t}var uj=sZ(function(e,t){return e+t},0);var uA=s6("ceil");var uC=sZ(function(e,t){return e/t},1);var uM=s6("floor");function uI(e){return e&&e.length?nm(e,ur,nx):t}function uR(e,r){return e&&e.length?nm(e,au(r,2),nx):t}function uO(e){return tA(e,ur)}function uL(e,t){return tA(e,au(t,2))}function uN(e){return e&&e.length?nm(e,ur,nW):t}function uD(e,r){return e&&e.length?nm(e,au(r,2),nW):t}var uF=sZ(function(e,t){return e*t},1);var uP=s6("round");var u$=sZ(function(e,t){return e-t},0);function uq(e){return e&&e.length?tO(e,ur):0}function uz(e,t){return e&&e.length?tO(e,au(t,2)):0}var uH;return rw.after=oI,rw.ary=oR,rw.assign=lW,rw.assignIn=lV,rw.assignInWith=lY,rw.assignWith=lJ,rw.at=lK,rw.before=oO,rw.bind=oL,rw.bindAll=c5,rw.bindKey=oN,rw.castArray=o0,rw.chain=i2,rw.chunk=a1,rw.compact=a3,rw.concat=a2,rw.cond=c8,rw.conforms=c7,rw.constant=c4,rw.countBy=os,rw.create=lZ,rw.curry=oD,rw.curryRight=oF,rw.debounce=oP,rw.defaults=lX,rw.defaultsDeep=lQ,rw.defer=o$,rw.delay=oq,rw.difference=a6,rw.differenceBy=a5,rw.differenceWith=a8,rw.drop=a7,rw.dropRight=a4,rw.dropRightWhile=a9,rw.dropWhile=ie,rw.fill=it,rw.filter=oi,rw.flatMap=oc,rw.flatMapDeep=ou,rw.flatMapDepth=oh,rw.flatten=ia,rw.flattenDeep=ii,rw.flattenDepth=io,rw.flip=oz,rw.flow=ue,rw.flowRight=ut,rw.fromPairs=il,rw.functions=l8,rw.functionsIn=l7,rw.groupBy=of,rw.initial=ih,rw.intersection=id,rw.intersectionBy=im,rw.intersectionWith=ip,rw.invert=ct,rw.invertBy=cr,rw.invokeMap=og,rw.iteratee=un,rw.keyBy=oy,rw.keys=cs,rw.keysIn=ca,rw.map=ov,rw.mapKeys=ci,rw.mapValues=co,rw.matches=us,rw.matchesProperty=ua,rw.memoize=oH,rw.merge=cl,rw.mergeWith=cc,rw.method=ui,rw.methodOf=uo,rw.mixin=ul,rw.negate=oU,rw.nthArg=uh,rw.omit=cu,rw.omitBy=ch,rw.once=oB,rw.orderBy=ob,rw.over=ud,rw.overArgs=oG,rw.overEvery=um,rw.overSome=uf,rw.partial=oW,rw.partialRight=oV,rw.partition=ok,rw.pick=cd,rw.pickBy=cm,rw.property=up,rw.propertyOf=ug,rw.pull=ik,rw.pullAll=iw,rw.pullAllBy=i_,rw.pullAllWith=iS,rw.pullAt=iT,rw.range=uy,rw.rangeRight=uv,rw.rearg=oY,rw.reject=oS,rw.remove=ix,rw.rest=oJ,rw.reverse=iE,rw.sampleSize=ox,rw.set=cp,rw.setWith=cg,rw.shuffle=oE,rw.slice=ij,rw.sortBy=oC,rw.sortedUniq=iL,rw.sortedUniqBy=iN,rw.split=cB,rw.spread=oK,rw.tail=iD,rw.take=iF,rw.takeRight=iP,rw.takeRightWhile=i$,rw.takeWhile=iq,rw.tap=i6,rw.throttle=oZ,rw.thru=i5,rw.toArray=lP,rw.toPairs=cy,rw.toPairsIn=cv,rw.toPath=ux,rw.toPlainObject=lU,rw.transform=cb,rw.unary=oX,rw.union=iz,rw.unionBy=iH,rw.unionWith=iU,rw.uniq=iB,rw.uniqBy=iG,rw.uniqWith=iW,rw.unset=ck,rw.unzip=iV,rw.unzipWith=iY,rw.update=cw,rw.updateWith=c_,rw.values=cS,rw.valuesIn=cT,rw.without=iJ,rw.words=c2,rw.wrap=oQ,rw.xor=iK,rw.xorBy=iZ,rw.xorWith=iX,rw.zip=iQ,rw.zipObject=i0,rw.zipObjectDeep=i1,rw.zipWith=i3,rw.entries=cy,rw.entriesIn=cv,rw.extend=lV,rw.extendWith=lY,ul(rw,rw),rw.add=uj,rw.attempt=c6,rw.camelCase=cA,rw.capitalize=cC,rw.ceil=uA,rw.clamp=cx,rw.clone=o1,rw.cloneDeep=o2,rw.cloneDeepWith=o6,rw.cloneWith=o3,rw.conformsTo=o5,rw.deburr=cM,rw.defaultTo=c9,rw.divide=uC,rw.endsWith=cI,rw.eq=o8,rw.escape=cR,rw.escapeRegExp=cO,rw.every=oa,rw.find=oo,rw.findIndex=ir,rw.findKey=l0,rw.findLast=ol,rw.findLastIndex=is,rw.findLastKey=l1,rw.floor=uM,rw.forEach=od,rw.forEachRight=om,rw.forIn=l3,rw.forInRight=l2,rw.forOwn=l6,rw.forOwnRight=l5,rw.get=l4,rw.gt=o7,rw.gte=o4,rw.has=l9,rw.hasIn=ce,rw.head=ic,rw.identity=ur,rw.includes=op,rw.indexOf=iu,rw.inRange=cE,rw.invoke=cn,rw.isArguments=o9,rw.isArray=le,rw.isArrayBuffer=lt,rw.isArrayLike=lr,rw.isArrayLikeObject=ln,rw.isBoolean=ls,rw.isBuffer=la,rw.isDate=li,rw.isElement=lo,rw.isEmpty=ll,rw.isEqual=lc,rw.isEqualWith=lu,rw.isError=lh,rw.isFinite=ld,rw.isFunction=lm,rw.isInteger=lf,rw.isLength=lp,rw.isMap=lv,rw.isMatch=lb,rw.isMatchWith=lk,rw.isNaN=lw,rw.isNative=l_,rw.isNil=lT,rw.isNull=lS,rw.isNumber=lx,rw.isObject=lg,rw.isObjectLike=ly,rw.isPlainObject=lE,rw.isRegExp=lj,rw.isSafeInteger=lA,rw.isSet=lC,rw.isString=lM,rw.isSymbol=lI,rw.isTypedArray=lR,rw.isUndefined=lO,rw.isWeakMap=lL,rw.isWeakSet=lN,rw.join=ig,rw.kebabCase=cL,rw.last=iy,rw.lastIndexOf=iv,rw.lowerCase=cN,rw.lowerFirst=cD,rw.lt=lD,rw.lte=lF,rw.max=uI,rw.maxBy=uR,rw.mean=uO,rw.meanBy=uL,rw.min=uN,rw.minBy=uD,rw.stubArray=ub,rw.stubFalse=uk,rw.stubObject=uw,rw.stubString=u_,rw.stubTrue=uS,rw.multiply=uF,rw.nth=ib,rw.noConflict=uc,rw.noop=uu,rw.now=oM,rw.pad=cF,rw.padEnd=cP,rw.padStart=c$,rw.parseInt=cq,rw.random=cj,rw.reduce=ow,rw.reduceRight=o_,rw.repeat=cz,rw.replace=cH,rw.result=cf,rw.round=uP,rw.runInContext=e,rw.sample=oT,rw.size=oj,rw.snakeCase=cU,rw.some=oA,rw.sortedIndex=iA,rw.sortedIndexBy=iC,rw.sortedIndexOf=iM,rw.sortedLastIndex=iI,rw.sortedLastIndexBy=iR,rw.sortedLastIndexOf=iO,rw.startCase=cG,rw.startsWith=cW,rw.subtract=u$,rw.sum=uq,rw.sumBy=uz,rw.template=cV,rw.times=uT,rw.toFinite=l$,rw.toInteger=lq,rw.toLength=lz,rw.toLower=cY,rw.toNumber=lH,rw.toSafeInteger=lB,rw.toString=lG,rw.toUpper=cJ,rw.trim=cK,rw.trimEnd=cZ,rw.trimStart=cX,rw.truncate=cQ,rw.unescape=c0,rw.uniqueId=uE,rw.upperCase=c1,rw.upperFirst=c3,rw.each=od,rw.eachRight=om,rw.first=ic,ul(rw,(uH={},nb(rw,function(e,t){!eC.call(rw.prototype,t)&&(uH[t]=e)}),uH),{"chain":!1}),rw.VERSION="4.18.1",tc(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){rw[e].placeholder=rw}),tc(["drop","take"],function(e,r){rx.prototype[e]=function(n){n=n===t?1:t7(lq(n),0);var s=this.__filtered__&&!r?new rx(this):this.clone();return s.__filtered__?s.__takeCount__=t4(n,s.__takeCount__):s.__views__.push({"size":t4(n,0xffffffff),"type":e+(s.__dir__<0?"Right":"")}),s},rx.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tc(["filter","map","takeWhile"],function(e,t){var r=t+1,n=r==1||r==3;rx.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({"iteratee":au(e,3),"type":r}),t.__filtered__=t.__filtered__||n,t}}),tc(["head","last"],function(e,t){var r="take"+(t?"Right":"");rx.prototype[e]=function(){return this[r](1).value()[0]}}),tc(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");rx.prototype[e]=function(){return this.__filtered__?new rx(this):this[r](1)}}),rx.prototype.compact=function(){return this.filter(ur)},rx.prototype.find=function(e){return this.filter(e).head()},rx.prototype.findLast=function(e){return this.reverse().find(e)},rx.prototype.invokeMap=n4(function(e,t){return typeof e=="function"?new rx(this):(0,this.map(function(r){return nI(r,e,t)}))}),rx.prototype.reject=function(e){return this.filter(oU(au(e)))},rx.prototype.slice=function(e,r){e=lq(e);var n=this;return n.__filtered__&&(e>0||r<0)?new rx(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),r!==t&&(n=(r=lq(r))<0?n.dropRight(-r):n.take(r-e)),n)},rx.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},rx.prototype.toArray=function(){return this.take(0xffffffff)},nb(rx.prototype,function(e,r){var n=/^(?:filter|find|map|reject)|While$/.test(r),s=/^(?:head|last)$/.test(r),a=rw[s?"take"+(r=="last"?"Right":""):r],i=s||/^find/.test(r);if(!a)return;rw.prototype[r]=function(){var r=this.__wrapped__,o=s?[1]:arguments,l=r instanceof rx,c=o[0],u=l||le(r);var h=function(e){var t=a.apply(rw,tg([e],o));return s&&d?t[0]:t};u&&n&&typeof c=="function"&&c.length!=1&&(l=u=!1);var d=this.__chain__,m=!!this.__actions__.length,f=i&&!d,p=l&&!m;if(!i&&u){r=p?r:new rx(this);var g=e.apply(r,o);return g.__actions__.push({"func":i5,"args":[h],"thisArg":t}),new rT(g,d)}return f&&p?e.apply(this,o):(g=this.thru(h),f?s?g.value()[0]:g.value():g)}}),tc(["pop","push","shift","sort","splice","unshift"],function(e){var t=eT[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);rw.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var s=this.value();return t.apply(le(s)?s:[],e)}return this[r](function(r){return t.apply(le(r)?r:[],e)})}}),nb(rx.prototype,function(e,t){var r=rw[t];if(r){var n=r.name+"";!eC.call(rd,n)&&(rd[n]=[]),rd[n].push({"name":t,"func":r})}}),rd[sJ(t,2).name]=[{"name":"wrapper","func":t}],rx.prototype.clone=rE,rx.prototype.reverse=rj,rx.prototype.value=rA,rw.prototype.at=i8,rw.prototype.chain=i7,rw.prototype.commit=i4,rw.prototype.next=i9,rw.prototype.plant=ot,rw.prototype.reverse=or,rw.prototype.toJSON=rw.prototype.valueOf=rw.prototype.value=on,rw.prototype.first=rw.prototype.head,eY&&(rw.prototype[eY]=oe),rw}();!0&&(e5._=re,(e=(function(){return re}).call(exports,__webpack_require__,exports,module))!==t&&(module.exports=e))}).call(this)}}).call(__webpack_require__._LM_("lodash",{exports,module,__webpack_require__})).bind(exports)()},461582(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{v:()=>i});var e=__webpack_require__(650773);var t=__webpack_require__(682631);var r=__webpack_require__(341035);var n=__webpack_require__(444284);var s=__webpack_require__(398471);var a=__webpack_require__(285803);class i{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),r.yQ)}add(n,i,o,l="none",c={},u=(0,e.zf)()){let h=Math.floor(u);let d=(0,a.T3)(i);let m=(0,a.VZ)(c);let f=(0,a.Mz)(l);let p=(0,a.eG)(n,d,f,m);let g=this._buckets.get(p);let y=g&&n===r.fN?g.metric.weight:0;g?(g.metric.add(o),g.timestamp<h&&(g.timestamp=h)):(g={metric:new s.wz[n](o),timestamp:h,metricType:n,name:d,unit:f,tags:m},this._buckets.set(p,g));let v=typeof o=="string"?g.metric.weight-y:o;(0,t.r2)(n,d,v,f,c,p)}flush(){if(this._buckets.size===0)return;let e=Array.from(this._buckets.values());(0,n.$)(this._client,e),this._buckets.clear()}close(){clearInterval(this._interval),this.flush()}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},461893(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>s});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);let s=(0,t.kp)(n.Wu,(0,e.Ik)({type:(0,r.eu)(n.Z6.Divider)}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},462128(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{T:()=>e});let e=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},465273(module,exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e=__webpack_require__(378326);exports.formatArgs=n,exports.save=s,exports.load=a,exports.useColors=r,exports.storage=i();let t;function r(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return document!==void 0&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+module.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0;let n=0;e[0].replace(/%[a-zA-Z%]/g,e=>{if(e==="%%")return;r++,e==="%c"&&(n=r)}),e.splice(n,0,t)}function s(e){try{e?exports.storage.setItem("debug",e):exports.storage.removeItem("debug")}catch(e){}}function a(){let t;try{t=exports.storage.getItem("debug")||exports.storage.getItem("DEBUG")}catch(e){}return!t&&e!==void 0&&"env"in e&&(t=null),t}function i(){try{return localStorage}catch(e){}}t=!1,exports.destroy=()=>{!t&&(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},exports.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],exports.log=console.debug||console.log||(()=>{}),module.exports=__webpack_require__(617648)(exports);let{formatters:o}=module.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}}).call(__webpack_require__._LM_("nock>debug",{exports,module,__webpack_require__}))()},466024(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>n});var e=__webpack_require__(74342);var t=__webpack_require__(513234);var r=__webpack_require__(316310);function n(s,a=(0,e.qd)("fetch")){let i=0;let o=0;function l(t){let n=t.body.length;i+=n,o++;let l={body:t.body,method:"POST",referrerPolicy:"origin",headers:s.headers,keepalive:i<=6e4&&o<15,...s.fetchOptions};if(!a)return(0,e.y7)("fetch"),(0,r.xg)("No fetch implementation available");try{return a(s.url,l).then(e=>{return i-=n,o--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}})}catch(t){return(0,e.y7)("fetch"),i-=n,o--,(0,r.xg)(t)}}return(0,t.o)(s,l)}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},466737(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{f:()=>n,r:()=>r});var e=__webpack_require__(84607);let t="_sentrySpan";function r(r,n){n?(0,e.my)(r,t,n):delete r[t]}function n(e){return e[t]}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},468417(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>n,X:()=>r});var e=__webpack_require__(78463);var t=__webpack_require__(682631);function r(n,s,a,i=(0,t.Bk)()){let o=i&&(0,t.zU)(i);o&&o.addEvent(n,{[e.xc]:s,[e.Sn]:a})}function n(t){if(!t||t.length===0)return undefined;let r={};return t.forEach(t=>{let n=t.attributes||{};let s=n[e.Sn];let a=n[e.xc];typeof s=="string"&&typeof a=="number"&&(r[t.name]={value:a,unit:s})}),r}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},472847(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{i:()=>a});var e=__webpack_require__(276435);var t=__webpack_require__(682631);var r=__webpack_require__(613608);var n=__webpack_require__(366523);var s=__webpack_require__(382128);function a(){s.jf&&s.jf.document?s.jf.document.addEventListener("visibilitychange",()=>{let a=(0,t.Bk)();if(!a)return;let i=(0,t.zU)(a);if(s.jf.document.hidden&&i){let s="cancelled";let{op:a,status:o}=(0,t.et)(i);n.T&&r.vF.log(`[Tracing] Transaction: ${s} -> since tab moved to the background, op: ${a}`),!o&&i.setStatus({code:e.TJ,message:s}),i.setAttribute("sentry.cancellation_reason","document.hidden"),i.end()}}):n.T&&r.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},477964(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$h:()=>w,AE:()=>S,AI:()=>_,CC:()=>a,DH:()=>o,DO:()=>n,Fe:()=>r,Ht:()=>i,Id:()=>E,K_:()=>x,My:()=>y,O8:()=>c,Ow:()=>u,Vw:()=>A,ZJ:()=>T,aT:()=>b,aY:()=>t,aZ:()=>h,fd:()=>f,po:()=>M,qj:()=>C,sd:()=>s,tY:()=>j,uH:()=>l});var e=__webpack_require__(362108);function t(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function r(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function n(e,...r){if(!t(e))throw new Error("Uint8Array expected");if(r.length>0&&!r.includes(e.length))throw new Error("Uint8Array expected of length "+r+", got length="+e.length)}function s(e){if(typeof e!=="function"||typeof e.create!=="function")throw new Error("Hash should be wrapped by utils.createHasher");r(e.outputLen),r(e.blockLen)}function a(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function i(e,t){n(e);let r=t.outputLen;if(e.length<r)throw new Error("digestInto() expects output buffer of length at least "+r)}function o(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function l(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function c(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function u(e,t){return e<<32-t|e>>>t}function h(e,t){return e<<t|e>>>32-t>>>0}function d(e){return e<<24&0xff000000|e<<8&0xff0000|e>>>8&65280|e>>>24&255}function m(e){for(let t=0;t<e.length;t++)e[t]=d(e[t]);return e}let f=(0,new Uint8Array(new Uint32Array([0x11223344]).buffer)[0]===68)?e=>e:m;let p=(0,typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function");let g=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function y(e){if(n(e),p)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=g[e[r]];return t}function v(e){return e>=48&&e<=57?e-48:(0,e>=65&&e<=70)?e-(65-10):(0,e>=97&&e<=102)?e-(97-10):(0,void 0)}function b(e){if(typeof e!=="string")throw new Error("hex string expected, got "+typeof e);if(p)return Uint8Array.fromHex(e);let t=e.length;let r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,s=0;t<r;t++,s+=2){let r=v(e.charCodeAt(s));let a=v(e.charCodeAt(s+1));if(r===undefined||a===undefined)throw new Error('hex string expected, got non-hex character "'+(e[s]+e[s+1])+'" at index '+s);n[t]=r*16+a}return n}let k=async()=>{};async function w(e,t,r){let n=Date.now();for(let s=0;s<e;s++){r(s);let e=Date.now()-n;if(e>=0&&e<t)continue;await k(),n+=e}}function _(e){if(typeof e!=="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function S(e){return new TextDecoder().decode(e)}function T(e){return typeof e=="string"&&(e=_(e)),n(e),e}function x(e){return typeof e=="string"&&(e=_(e)),n(e),e}function E(...e){let t=0;for(let r=0;r<e.length;r++){let s=e[r];n(s),t+=s.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let s=e[t];r.set(s,n),n+=s.length}return r}function j(e,t){if(t!==undefined&&({}).toString.call(t)!=="[object Object]")throw new Error("options should be object or undefined");return Object.assign(e,t)}class A{}function C(e){let t=t=>e().update(T(t)).digest();let r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function M(t=32){if(e.E&&typeof e.E.getRandomValues=="function")return e.E.getRandomValues(new Uint8Array(t));if(e.E&&typeof e.E.randomBytes=="function")return Uint8Array.from(e.E.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}}}).call(__webpack_require__._LM_("@noble/hashes",{__webpack_require__,__webpack_exports__}))()},480021(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Cp:()=>n,wQ:()=>r,wd:()=>s});var e=__webpack_require__(549140);let t=(0,e.u)("sentry");let r=(0,e.X)(t,globalThis.document?"ui":"background");function n(e,t){return(console.error(e,...t?[t]:[]),!globalThis.sentry?.captureException)?(console.warn("Sentry not initialized"),undefined):(0,globalThis.sentry.captureException(e,...t?[t]:[]))}function s(e,t){return!globalThis.sentry?.captureMessage?(console.warn("Sentry not initialized"),console.log(e,...t?[t]:[]),undefined):(0,globalThis.sentry.captureMessage(e,...t?[t]:[]))}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},484068(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{vb:()=>y});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(174638);var n=__webpack_require__(382906);var s=__webpack_require__(453945);var a=__webpack_require__(461893);var i=__webpack_require__(706524);var o=__webpack_require__(515828);var l=__webpack_require__(861913);var c=__webpack_require__(335562);var u=__webpack_require__(208554);var h=__webpack_require__(45217);var d=__webpack_require__(955187);var m=__webpack_require__(879771);var f=__webpack_require__(676358);let p=(0,t.kp)(f.Wu,(0,e.Ik)({children:(0,e.YO)((0,t.RZ)(()=>y))}));let g=(0,t.kp)(p,(0,e.Ik)({type:(0,m.eu)(f.Z6.Panel)}));let y=(0,m.i5)([s.$,a.z,o.Y,l.x,g,h.t,d.z,u.E,r.A,c.y,i.W,n.s3])}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},485791(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e;__webpack_require__.d(__webpack_exports__,{A:()=>r});var t=new Uint8Array(16);function r(){if(!e){if(!(e=typeof crypto!=="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!=="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported")}return e(t)}}}).call(__webpack_require__._LM_("uuid",{__webpack_exports__,__webpack_require__}))()},488560(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>r});var e=__webpack_require__(769233);var t=__webpack_require__(669891);let r=(0,__webpack_require__(577102)._C)((t={})=>{let r=t.root;let s=t.prefix||"app:///";let a="window"in e.O&&e.O.window!==undefined;let i=t.iteratee||n({isBrowser:a,root:r,prefix:s});function o(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>({...e,...e.stacktrace&&{stacktrace:l(e.stacktrace)}}))}}}catch(t){return e}}function l(e){return{...e,frames:e&&e.frames&&e.frames.map(e=>i(e))}}return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=o(t)),t}}});function n({isBrowser:e,root:r,prefix:n}){return s=>{if(!s.filename)return s;let a=/^[a-zA-Z]:\\/.test(s.filename)||s.filename.includes("\\")&&!s.filename.includes("/");let i=/^\//.test(s.filename);if(e){if(r){let e=s.filename;e.indexOf(r)===0&&(s.filename=e.replace(r,n))}}else if(a||i){let e=a?s.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):s.filename;let i=r?(0,t.V8)(r,e):(0,t.P8)(e);s.filename=`${n}${i}`}return s}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},490521(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{L:()=>n});var e=__webpack_require__(769233);var t=__webpack_require__(370861);let r=null;function n(e){let r="error";(0,t.s5)(r,e),(0,t.AS)(r,s)}function s(){r=e.O.onerror,e.O.onerror=function(e,n,s,a,i){return((0,t.aj)("error",{column:a,error:i,line:s,msg:e,url:n}),r&&!r.__SENTRY_LOADER__)?r.apply(this,arguments):(0,!1)},e.O.onerror.__SENTRY_INSTRUMENTED__=!0}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},497577(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>r});var e=__webpack_require__(665812);var t=__webpack_require__(605257);function r(t,s,a=250,o,l,c,u){if(!c.exception||!c.exception.values||!u||!(0,e.tH)(u.originalException,Error))return;let h=c.exception.values.length>0?c.exception.values[c.exception.values.length-1]:undefined;h&&(c.exception.values=i(n(t,s,l,u.originalException,o,c.exception.values,h,0),a))}function n(t,r,i,o,l,c,u,h){if(c.length>=i+1)return c;let d=[...c];if((0,e.tH)(o[l],Error)){s(u,h);let e=t(r,o[l]);let c=d.length;a(e,l,c,h),d=n(t,r,i,o[l],l,[e,...d],e,c)}return Array.isArray(o.errors)&&o.errors.forEach((o,c)=>{if((0,e.tH)(o,Error)){s(u,h);let e=t(r,o);let m=d.length;a(e,`errors[${c}]`,m,h),d=n(t,r,i,o,l,[e,...d],e,m)}}),d}function s(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function a(e,t,r,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}function i(e,r){return e.map(e=>{return e.value&&(e.value=(0,t.xv)(e.value,r)),e})}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},499490(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A$:()=>n,E2:()=>l,N2:()=>o,fC:()=>c,iQ:()=>r,u1:()=>i});var e=__webpack_require__(908743);var t=__webpack_require__(745085);let r=-31002;let n="Snap Error";function s(e,r,n=null){return(0,t.Gv)(e)&&(0,t.i5)(e,r)?e[r]:(0,n)}function a(e,t,r=String(e)){let n=s(e,t);return typeof n=="string"?n:(0,r)}function i(e){return a(e,"message")}function o(e){return a(e,"stack",null)}function l(e){let t=s(e,"code");return typeof t=="number"&&Number.isInteger(t)?t:(0,-32603)}function c(t){let r=s(t,"data");return r!==null&&(0,e.jU)(r)&&!Array.isArray(r)?r:(0,{})}}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},499985(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>r});var e=__webpack_require__(466024);var t=__webpack_require__(787631);function r(r){return e._(r,async(...e)=>{let r=await (0,t.kS)();if(!r?.completedMetaMetricsOnboarding||!r.optedIn)throw new Error("Network request skipped as metrics disabled");return await fetch(...e)})}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},512986(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$P:()=>o,B9:()=>L,CF:()=>y,El:()=>u,Et:()=>s,Fl:()=>R,Fq:()=>a,GB:()=>w,Iw:()=>h,JZ:()=>x,Kg:()=>i,Ki:()=>S,L3:()=>T,U_:()=>_,_v:()=>f,ac:()=>j,b0:()=>n,cG:()=>v,f8:()=>p,fT:()=>A,gu:()=>M,h3:()=>l,i:()=>I,jv:()=>c,m3:()=>k,mQ:()=>m,mp:()=>b,wG:()=>C,xS:()=>O});var e=__webpack_require__(695358);var t=__webpack_require__(603476);var r=__webpack_require__(686333);function n(e){return e===void 0}function s(e){return typeof e=="number"}function a(e){return typeof e=="number"&&e%1==0}function i(e){return typeof e=="string"}function o(e){return Object.prototype.toString.call(e)==="[object Date]"}function l(){try{return typeof Intl!=="undefined"&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function c(){try{return typeof Intl!=="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function u(e){return Array.isArray(e)?e:[e]}function h(e,t,r){return e.length===0?undefined:(0,e.reduce((e,n)=>{let s=[t(n),n];return!e?s:(0,r(e[0],s[0])===e[0])?e:s},null)[1])}function d(e,t){return t.reduce((t,r)=>{return t[r]=e[r],t},{})}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(t){if(t==null)return null;if(typeof t!=="object")throw new e.Di("Week settings must be an object");{if(!p(t.firstDay,1,7)||!p(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!p(e,1,7)))throw new e.Di("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}}function p(e,t,r){return a(e)&&e>=t&&e<=r}function g(e,t){return e-t*Math.floor(e/t)}function y(e,t=2){let r;return e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function v(e){return n(e)||e===null||e===""?undefined:(0,parseInt(e,10))}function b(e){return n(e)||e===null||e===""?undefined:(0,parseFloat(e))}function k(e){return n(e)||e===null||e===""?undefined:(0,Math.floor(parseFloat("0."+e)*1e3))}function w(e,t,r=!1){let n=10**t;return(r?Math.trunc:Math.round)(e*n)/n}function _(e){return e%4==0&&(e%100!==0||e%400==0)}function S(e){return _(e)?366:365}function T(e,t){let r=g(t-1,12)+1;return r===2?_(e+(t-r)/12)?29:28:(0,[31,null,31,30,31,30,31,31,30,31,30,31][r-1])}function x(e){let 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 E(e,t,n){return-(0,r.ui)((0,r.mK)(e,1,t),n)+t-1}function j(e,t=4,r=1){let n=E(e,t,r);let s=E(e+1,t,r);return(S(e)-n+s)/7}function A(e){return e>99?e:(0,e>t.A.twoDigitCutoffYear?1900+e:2e3+e)}function C(e,t,r,n=null){let s=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(a.timeZone=n);let i={timeZoneName:t,...a};let o=new Intl.DateTimeFormat(r,i).formatToParts(s).find(e=>e.type.toLowerCase()==="timezonename");return o?o.value:null}function M(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);let n=parseInt(t,10)||0,s=r<0||Object.is(r,-0)?-n:n;return r*60+s}function I(t){let r=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(r))throw new e.Di(`Invalid unit value ${t}`);return r}function R(e,t){let r={};for(let n in e)if(m(e,n)){let s=e[n];if(s===undefined||s===null)continue;r[t(n)]=I(s)}return r}function O(e,t){let r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${y(r,2)}:${y(n,2)}`;case"narrow":return`${s}${r}${n>0?`:${n}`:""}`;case"techie":return`${s}${y(r,2)}${y(n,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function L(e){return d(e,["hour","minute","second","millisecond"])}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},513064(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>e});class e extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},513234(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{o:()=>o});var e=__webpack_require__(513064);var t=__webpack_require__(613608);var r=__webpack_require__(646493);var n=__webpack_require__(316310);var s=__webpack_require__(402228);var a=__webpack_require__(74263);var i=__webpack_require__(352158);function o(c,u,h=(0,r.C)(c.bufferSize||64)){let d={};return{send:function(r){let o=[];if((0,s.yH)(r,(e,t)=>{let r=(0,s.zk)(t);if((0,a.Jz)(d,r)){let n=l(e,t);c.recordDroppedEvent("ratelimit_backoff",r,n)}else o.push(e)}),o.length===0)return(0,n.XW)({});let m=(0,s.h4)(r[0],o);let f=e=>{(0,s.yH)(m,(t,r)=>{let n=l(t,r);c.recordDroppedEvent(e,(0,s.zk)(r),n)})};return h.add(()=>u({body:(0,s.bN)(m)}).then(e=>{return e.statusCode!==undefined&&(e.statusCode<200||e.statusCode>=300)&&i.T&&t.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),d=(0,a.wq)(d,e),e},e=>{throw f("network_error"),e})).then(e=>e,r=>{if(r instanceof e.U)return i.T&&t.vF.error("Skipped sending event because buffer is full."),f("queue_overflow"),(0,n.XW)({});throw r})},flush:e=>h.drain(e)}}function l(e,t){return t!=="event"&&t!=="transaction"?undefined:(0,Array.isArray(e)?e[1]:undefined)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},515400(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{l:()=>e});let e=(e,t,r)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}return}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},515828(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Y:()=>s});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);let s=(0,t.kp)(n.Tl,(0,e.Ik)({type:(0,r.eu)(n.Z6.Heading),value:(0,e.Yj)()}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},520348(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{a3:()=>s,m7:()=>a,vQ:()=>i,vm:()=>n});var e=__webpack_require__(462128);var t=__webpack_require__(613608);let r=__webpack_require__(769233).O;function n(){if(!("fetch"in r))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function s(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function a(){if(typeof EdgeRuntime=="string")return!0;if(!n())return!1;if(s(r.fetch))return!0;let a=!1;let i=r.document;if(i&&typeof i.createElement=="function")try{let e=i.createElement("iframe");e.hidden=!0,i.head.appendChild(e),e.contentWindow&&e.contentWindow.fetch&&(a=s(e.contentWindow.fetch)),i.head.removeChild(e)}catch(r){e.T&&t.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return a}function i(){return"ReportingObserver"in r}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},531589(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ak:()=>e});let e=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>{return(t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e},"")}}).call(__webpack_require__._LM_("nanoid",{__webpack_exports__,__webpack_require__}))()},535279(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{L:()=>d});var e=__webpack_require__(931263);var t=__webpack_require__(123532);var r=__webpack_require__(577102);var n=__webpack_require__(1090);var s=__webpack_require__(490521);var a=__webpack_require__(708521);var i=__webpack_require__(665812);var o=__webpack_require__(613608);var l=__webpack_require__(414753);var c=__webpack_require__(366523);var u=__webpack_require__(795966);var h=__webpack_require__(382128);let d=(0,r._C)((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(m(e),v("onerror")),t.onunhandledrejection&&(f(e),v("onunhandledrejection"))}}});function m(r){(0,s.L)(n=>{let{stackParser:s,attachStacktrace:a}=b();if((0,t.KU)()!==r||(0,h.jN)())return;let{msg:i,url:o,line:l,column:c,error:d}=n;let m=y((0,u.H7)(s,d||i,undefined,a,!1),o,l,c);m.level="error",(0,e.r)(m,{originalException:d,mechanism:{handled:!1,type:"onerror"}})})}function f(r){(0,a.r)(n=>{let{stackParser:s,attachStacktrace:a}=b();if((0,t.KU)()!==r||(0,h.jN)())return;let o=p(n);let l=(0,i.sO)(o)?g(o):(0,u.H7)(s,o,undefined,a,!0);l.level="error",(0,e.r)(l,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function p(e){if((0,i.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}function g(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function y(e,t,r,s){let a=e.exception=e.exception||{};let o=a.values=a.values||[];let c=o[0]=o[0]||{};let u=c.stacktrace=c.stacktrace||{};let h=u.frames=u.frames||[];let d=isNaN(parseInt(s,10))?undefined:s;let m=isNaN(parseInt(r,10))?undefined:r;let f=(0,i.Kg)(t)&&t.length>0?t:(0,n.$N)();return h.length===0&&h.push({colno:d,filename:f,function:l.yF,in_app:!0,lineno:m}),e}function v(e){c.T&&o.vF.log(`Global Handler attached: ${e}`)}function b(){let e=(0,t.KU)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},536275(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{AD:()=>l,SB:()=>s,hH:()=>a});var e=__webpack_require__(462128);var t=__webpack_require__(613608);let r=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function n(e){return e==="http"||e==="https"}function s(e,t=!1){let{host:r,path:n,pass:a,port:i,projectId:o,protocol:l,publicKey:c}=e;return`${l}://${c}${t&&a?`:${a}`:""}`+`@${r}${i?`:${i}`:""}/${n?`${n}/`:n}${o}`}function a(e){let n=r.exec(e);if(!n)return(0,t.pq)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)}),undefined;let[s,a,o="",l="",c="",u=""]=n.slice(1);let h="";let d=u;let m=d.split("/");if(m.length>1&&(h=m.slice(0,-1).join("/"),d=m.pop()),d){let e=d.match(/^\d+/);e&&(d=e[0])}return i({host:l,pass:o,path:h,projectId:d,port:c,protocol:s,publicKey:a})}function i(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function o(r){if(!e.T)return!0;let{port:s,projectId:a,protocol:i}=r;return["protocol","publicKey","host","projectId"].find(e=>{return!r[e]?(t.vF.error(`Invalid Sentry Dsn: ${e} missing`),!0):(0,!1)})?!1:(0,!a.match(/^\d+$/))?(t.vF.error(`Invalid Sentry Dsn: Invalid projectId ${a}`),!1):(0,!n(i))?(t.vF.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(0,s&&isNaN(parseInt(s,10)))?(t.vF.error(`Invalid Sentry Dsn: Invalid port ${s}`),!1):(0,!0)}function l(e){let t=typeof e=="string"?a(e):i(e);return!t||!o(t)?undefined:(0,t)}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},538564(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{H:()=>l});var e=__webpack_require__(123532);var t=__webpack_require__(682631);var r=__webpack_require__(613608);var n=__webpack_require__(814508);var s=__webpack_require__(650773);var a=__webpack_require__(366523);var i=__webpack_require__(382128);var o=__webpack_require__(606189);function l(l){let c;(0,o.c4)(l)&&(c=(0,s.zf)()*1e3);let u=(0,o.Dg)();if(!u)return;a.T&&r.vF.log(`[Profiling] started profiling span: ${(0,t.et)(l).description}`);let h=(0,n.eJ)();async function d(){if(!l||!u)return;return u.stop().then(e=>{if(m&&(i.jf.clearTimeout(m),m=undefined),a.T&&r.vF.log(`[Profiling] stopped profiling of span: ${(0,t.et)(l).description}`),!e){a.T&&r.vF.log(`[Profiling] profiler returned null profile for: ${(0,t.et)(l).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}(0,o.DE)(h,e)}).catch(e=>{a.T&&r.vF.log("[Profiling] error while stopping profiler:",e)})}(0,e.o5)().setContext("profile",{profile_id:h,start_timestamp:c});let m=i.jf.setTimeout(()=>{a.T&&r.vF.log("[Profiling] max profile duration elapsed, stopping profiling for:",(0,t.et)(l).description),d()},o.TD);let f=l.end.bind(l);function p(){return!l?f():(d().then(()=>{f()},()=>{f()}),l)}l.end=p}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},538979(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>h,D:()=>d});var e=__webpack_require__(613608);var t=__webpack_require__(650773);var r=__webpack_require__(123532);var n=__webpack_require__(352158);var s=__webpack_require__(78463);var a=__webpack_require__(548697);var i=__webpack_require__(466737);var o=__webpack_require__(682631);var l=__webpack_require__(911216);var c=__webpack_require__(276435);var u=__webpack_require__(827284);let h={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function d(u,f={}){let p=new Map;let g=!1;let y;let v="externalFinish";let b=!f.disableAutoFinish;let k=[];let{idleTimeout:w=h.idleTimeout,finalTimeout:_=h.finalTimeout,childSpanTimeout:S=h.childSpanTimeout,beforeSpanEnd:T}=f;let x=(0,r.KU)();if(!x||!(0,a.w)())return new l.w;let E=(0,r.o5)();let j=(0,o.Bk)();let A=m(u);function C(){y&&(clearTimeout(y),y=undefined)}function M(e){C(),y=setTimeout(()=>{!g&&p.size===0&&b&&(v="idleTimeout",A.end(e))},w)}function I(e){y=setTimeout(()=>{!g&&b&&(v="heartbeatFailed",A.end(e))},S)}function R(e){C(),p.set(e,!0),I((0,t.zf)()+S/1e3)}function O(e){p.has(e)&&p.delete(e),p.size===0&&M((0,t.zf)()+w/1e3)}function L(t){g=!0,p.clear(),k.forEach(e=>e()),(0,i.r)(E,j);let r=(0,o.et)(A);let{start_timestamp:a}=r;if(!a)return;!(r.data||{})[s.fs]&&A.setAttribute(s.fs,v),e.vF.log(`[Tracing] Idle span "${r.op}" finished`);let l=(0,o.xO)(A).filter(e=>e!==A);let u=0;l.forEach(r=>{r.isRecording()&&(r.setStatus({code:c.TJ,message:"cancelled"}),r.end(t),n.T&&e.vF.log("[Tracing] Cancelling span since span ended early",JSON.stringify(r,undefined,2)));let{timestamp:s=0,start_timestamp:a=0}=(0,o.et)(r);let i=a<=t;let l=s-a<=(_+w)/1e3;if(n.T){let t=JSON.stringify(r,undefined,2);i?!l&&e.vF.log("[Tracing] Discarding span since it finished after idle span final timeout",t):e.vF.log("[Tracing] Discarding span since it happened after idle span was finished",t)}(!l||!i)&&((0,o.VS)(A,r),u++)}),u>0&&A.setAttribute("sentry.idle_span_discarded_spans",u)}return A.end=new Proxy(A.end,{apply(e,r,n){T&&T(A);let[s,...a]=n;let i=s||(0,t.zf)();let l=(0,o.cI)(i);let c=(0,o.xO)(A).filter(e=>e!==A);if(!c.length)return L(l),Reflect.apply(e,r,[l,...a]);let u=c.map(e=>(0,o.et)(e).timestamp).filter(e=>!!e);let h=u.length?Math.max(...u):undefined;let d=(0,o.et)(A).start_timestamp;let m=Math.min(d?d+_/1e3:Infinity,Math.max(d||-Infinity,Math.min(l,h||Infinity)));return L(m),Reflect.apply(e,r,[m,...a])}}),k.push(x.on("spanStart",e=>{if(g||e===A||!!(0,o.et)(e).timestamp)return;(0,o.xO)(A).includes(e)&&R(e.spanContext().spanId)})),k.push(x.on("spanEnd",e=>{if(g)return;O(e.spanContext().spanId)})),k.push(x.on("idleSpanEnableAutoFinish",e=>{e===A&&(b=!0,M(),p.size&&I())})),!f.disableAutoFinish&&M(),setTimeout(()=>{!g&&(A.setStatus({code:c.TJ,message:"deadline_exceeded"}),v="finalTimeout",A.end())},_),A}function m(t){let s=(0,u.Uk)(t);return(0,i.r)((0,r.o5)(),s),n.T&&e.vF.log("[Tracing] Started span is an idle span"),s}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},542764(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>t});var e=__webpack_require__(410710);function t(){(0,e.s)()}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},544299(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{H:()=>a});var e=__webpack_require__(449070);var t=__webpack_require__(356583);var r=__webpack_require__(784225);var n=__webpack_require__(342672);var s=__webpack_require__(499490);let a=(a={})=>(0,r.YP)((0,n.Yj)(),"uri",r=>{try{let e=new URL(r);let s=(0,n.NW)(a);return(0,t.vA)(e,s),!0}catch(t){if(t instanceof e.C)return(0,s.u1)(t);return`Expected URL, got "${r.toString()}"`}})}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},548697(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{w:()=>t});var e=__webpack_require__(123532);function t(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;let r=(0,e.KU)();let n=t||r&&r.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},549140(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>r,u:()=>t});let e=__webpack_require__(465273)("metamask");function t(t){return e.extend(t)}function r(e,t){return e.extend(t)}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},550866(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{N:()=>i});var e=__webpack_require__(536275);var t=__webpack_require__(402228);var r=__webpack_require__(298556);function n(e,r){let n;return(0,t.yH)(e,(e,t)=>{return r.includes(t)&&(n=Array.isArray(e)?e[1]:undefined),!!n}),n}function s(e,t){return r=>{let s=e(r);return{...s,send:async e=>{let r=n(e,["event","transaction","profile","replay_event"]);return r&&(r.release=t),s.send(e)}}}}function a(e,r){return(0,t.h4)(r?{...e[0],dsn:r}:e[0],e[1])}function i(t,i){return o=>{let l=t(o);let c=new Map;function u(n,a){let i=a?`${n}:${a}`:n;let l=c.get(i);if(!l){let u=(0,e.hH)(n);if(!u)return undefined;let h=(0,r.Z)(u,o.tunnel);l=a?s(t,a)({...o,url:h}):t({...o,url:h}),c.set(i,l)}return[n,l]}return{send:async function(e){function t(t){return n(e,t&&t.length?t:["event"])}let r=i({envelope:e,getEvent:t}).map(e=>{return typeof e=="string"?u(e,undefined):(0,u(e.dsn,e.release))}).filter(e=>!!e);let s=r.length?r:[["",l]];return(await Promise.all(s.map(([t,r])=>r.send(a(e,t)))))[0]},flush:async function(e){let t=[...c.values(),l];return(await Promise.all(t.map(t=>t.flush(e)))).every(e=>e)}}}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},552558(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>e.s,w:()=>e.w});var e=__webpack_require__(100209)}}).call(__webpack_require__._LM_("@metamask/base-controller",{__webpack_require__,__webpack_exports__}))()},564350(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{y:()=>l});var e=__webpack_require__(707212);var t=__webpack_require__(939543);var r=__webpack_require__(613608);var n=__webpack_require__(182881);var s=__webpack_require__(366523);var a=__webpack_require__(795966);var i=__webpack_require__(382128);var o=__webpack_require__(155001);class l extends e.V{constructor(e){let r={parentSpanIsAlwaysRootSpan:!0,...e};let s=i.jf.SENTRY_SDK_SOURCE||(0,n.e)();(0,t.K)(r,"browser",["browser"],s),super(r),r.sendClientReports&&i.jf.document&&i.jf.document.addEventListener("visibilitychange",()=>{i.jf.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(e,t){return(0,a.u)(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return(0,a.qv)(this._options.stackParser,e,t,r,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){s.T&&r.vF.warn("SDK not enabled, will not capture user feedback.");return}let t=(0,o.L)(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r)}}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},566612(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{De:()=>o,hF:()=>n,yD:()=>i});var e=__webpack_require__(462128);var t=__webpack_require__(665812);var r=__webpack_require__(613608);let n="baggage";let s="sentry-";let a=/^sentry-/;function i(e){let t=l(e);if(!t)return undefined;let r=Object.entries(t).reduce((e,[t,r])=>{return t.match(a)&&(e[t.slice(s.length)]=r),e},{});return Object.keys(r).length>0?r:(0,undefined)}function o(e){return!e?undefined:(0,u(Object.entries(e).reduce((e,[t,r])=>{return r&&(e[`${s}${t}`]=r),e},{})))}function l(e){return!e||!(0,t.Kg)(e)&&!Array.isArray(e)?undefined:(0,Array.isArray(e))?e.reduce((e,t)=>{return Object.entries(c(t)).forEach(([t,r])=>{e[t]=r}),e},{}):(0,c(e))}function c(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,r])=>{return t&&r&&(e[t]=r),e},{})}function u(t){return Object.keys(t).length===0?undefined:(0,Object.entries(t).reduce((t,[n,s],a)=>{let i=`${encodeURIComponent(n)}=${encodeURIComponent(s)}`;let o=a===0?i:`${t},${i}`;return o.length>8192?(e.T&&r.vF.warn(`Not adding key: ${n} with val: ${s} to baggage header due to exceeding baggage size limits.`),t):(0,o)},""))}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},566632(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>f,Z:()=>h});var e=__webpack_require__(833097);var t=__webpack_require__(78463);var r=__webpack_require__(123532);var n=__webpack_require__(682631);var s=__webpack_require__(1090);var a=__webpack_require__(84607);var i=__webpack_require__(650773);var o=__webpack_require__(821396);var l=__webpack_require__(33040);let c=[];let u=new Map;function h(){if((0,l.D)()&&i.k3){let e=m();return()=>{e()}}return()=>undefined}let d={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function m(){return(0,o.hT)(({metric:o})=>{if(o.value==undefined)return;let c=o.entries.find(e=>e.duration===o.value&&d[e.name]);if(!c)return;let{interactionId:h}=c;let m=d[c.name];let f=(0,l.rv)(i.k3+c.startTime);let p=(0,l.rv)(o.value);let g=(0,n.Bk)();let y=g?(0,n.zU)(g):undefined;let v=(h!=null?u.get(h):undefined)||y;let b=v?(0,n.et)(v).description:(0,r.o5)().getScopeData().transactionName;let k=(0,s.Hd)(c.target);let w=(0,a.Ce)({[t.JD]:"auto.http.browser.inp",[t.uT]:`ui.interaction.${m}`,[t.jG]:c.duration});let _=(0,l.kD)({name:k,transaction:b,attributes:w,startTime:f});(0,e.z)([_,"optionalAccess",e=>e.addEvent,"call",e=>e("inp",{[t.Sn]:"millisecond",[t.xc]:o.value})]),(0,e.z)([_,"optionalAccess",e=>e.end,"call",e=>e(f+p)])})}function f(e){let t=({entries:e})=>{let t=(0,n.Bk)();let r=t&&(0,n.zU)(t);e.forEach(e=>{if(!(0,o.tC)(e)||!r)return;let t=e.interactionId;if(t==null||u.has(t))return;if(c.length>10){let e=c.shift();u.delete(e)}c.push(t),u.set(t,r)})};(0,o.wv)("event",t),(0,o.wv)("first-input",t)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},571893(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{n:()=>o});var e=__webpack_require__(931263);var t=__webpack_require__(123532);var r=__webpack_require__(577102);var n=__webpack_require__(769233);var s=__webpack_require__(520348);let a=n.O;let i=new WeakMap;let o=(0,r._C)((r={})=>{let n=r.types||["crash","deprecation","intervention"];function o(r){if(!i.has((0,t.KU)()))return;for(let n of r)(0,t.v4)(t=>{t.setExtra("url",n.url);let r=`ReportingObserver [${n.type}]`;let s="No details available";if(n.body){let e={};for(let t in n.body)e[t]=n.body[t];if(t.setExtra("body",e),n.type==="crash"){let e=n.body;s=[e.crashId||"",e.reason||""].join(" ").trim()||s}else s=n.body.message||s}(0,e.wd)(`${r}: ${s}`)})}return{name:"ReportingObserver",setupOnce(){if(!(0,s.vQ)())return;new a.ReportingObserver(o,{buffered:!0,types:n}).observe()},setup(e){i.set(e,!0)}}})}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},577102(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P$:()=>o,Q8:()=>u,_C:()=>h,lc:()=>l,mH:()=>i,qm:()=>c});var e=__webpack_require__(613608);var t=__webpack_require__(814508);var r=__webpack_require__(123532);var n=__webpack_require__(352158);let s=[];function a(e){let t={};return e.forEach(e=>{let{name:r}=e;let n=t[r];if(n&&!n.isDefaultInstance&&e.isDefaultInstance)return;t[r]=e}),Object.values(t)}function i(e){let r=e.defaultIntegrations||[];let n=e.integrations;r.forEach(e=>{e.isDefaultInstance=!0});let s;let i=a(s=Array.isArray(n)?[...r,...n]:typeof n=="function"?(0,t.k9)(n(r)):r);let o=i.findIndex(e=>e.name==="Debug");if(o>-1){let[e]=i.splice(o,1);i.push(e)}return i}function o(e,t){let r={};return t.forEach(t=>{t&&c(e,t,r)}),r}function l(e,t){for(let r of t)r&&r.afterAllSetup&&r.afterAllSetup(e)}function c(t,r,a){if(a[r.name]){n.T&&e.vF.log(`Integration skipped because it was already installed: ${r.name}`);return}if(a[r.name]=r,s.indexOf(r.name)===-1&&typeof r.setupOnce=="function"&&(r.setupOnce(),s.push(r.name)),r.setup&&typeof r.setup=="function"&&r.setup(t),typeof r.preprocessEvent=="function"){let e=r.preprocessEvent.bind(r);t.on("preprocessEvent",(r,n)=>e(r,n,t))}if(typeof r.processEvent=="function"){let e=r.processEvent.bind(r);let n=Object.assign((r,n)=>e(r,n,t),{id:r.name});t.addEventProcessor(n)}n.T&&e.vF.log(`Integration installed: ${r.name}`)}function u(t){let s=(0,r.KU)();if(!s){n.T&&e.vF.warn(`Cannot add integration "${t.name}" because no SDK Client is available.`);return}s.addIntegration(t)}function h(e){return e}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},581327(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>i,G:()=>a});var e=__webpack_require__(745085);var t=__webpack_require__(754255);var r=__webpack_require__(144008);var n;let s=(n=t,n?.__esModule?n.default:(0,n));class a extends Error{constructor(t,n,s){if(!Number.isInteger(t))throw new Error('"code" must be an integer.');if(!n||typeof n!=="string")throw new Error('"message" must be a non-empty string.');(0,r.el)(s)?(super(n,{cause:s.cause}),!(0,e.i5)(this,"cause")&&Object.assign(this,{cause:s.cause})):super(n),s!==undefined&&(this.data=s),this.code=t}serialize(){let t={code:this.code,message:this.message};return this.data!==undefined&&(t.data=this.data,(0,e.Qd)(this.data)&&(t.data.cause=(0,r._K)(this.data.cause))),this.stack&&(t.stack=this.stack),t}toString(){return s(this.serialize(),l,2)}}class i extends a{constructor(e,t,r){if(!o(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,t,r)}}function o(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}function l(e,t){return t==="[Circular]"?undefined:(0,t)}}}).call(__webpack_require__._LM_("@metamask/rpc-errors",{__webpack_require__,__webpack_exports__}))()},587279(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.r(__webpack_exports__);var e=__webpack_require__(115726);globalThis.stateHooks=globalThis.stateHooks||{},globalThis.sentry=(0,e.Ay)()}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},597054(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>n});var e=__webpack_require__(512986);var t=__webpack_require__(835203);let r=null;class n extends t.A{static get instance(){return r===null&&(r=new n),r}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:r,locale:n}){return(0,e.wG)(t,r,n)}formatOffset(t,r){return(0,e.xS)(this.offset(t),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},598723(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(t,...r){let n=new String(String.raw(t,...r));return n.__sentry_template_string__=t.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),n.__sentry_template_values__=r,n}__webpack_require__.d(__webpack_exports__,{y:()=>e})}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_exports__,__webpack_require__}))()},600473(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ay:()=>v});var e=__webpack_require__(695358);var t=__webpack_require__(868766);var r=__webpack_require__(14631);var n=__webpack_require__(912276);var s=__webpack_require__(210164);var a=__webpack_require__(512986);var i=__webpack_require__(603476);var o=__webpack_require__(835060);let l="Invalid Duration";let c={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},u={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...c},h={years:{quarters:4,months:12,weeks:146097/400/7,days:146097/400,hours:146097/400*24,minutes:146097/400*24*60,seconds:146097/400*24*60*60,milliseconds:146097/400*24*60*60*1e3},quarters:{months:3,weeks:146097/400/28,days:146097/400/4,hours:146097/400*24/4,minutes:146097/400*24*60/4,seconds:146097/400*24*60*60/4,milliseconds:146097/400*24*60*60*1e3/4},months:{weeks:146097/4800/7,days:146097/4800,hours:146097/4800*24,minutes:146097/4800*24*60,seconds:146097/4800*24*60*60,milliseconds:146097/4800*24*60*60*1e3},...c};let d=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];let m=d.slice(0).reverse();function f(e,t,r=!1){return new v({values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix})}function p(e,t){let r=t.milliseconds??0;for(let n of m.slice(1))t[n]&&(r+=t[n]*e[n]["milliseconds"]);return r}function g(e,t){let r=p(e,t)<0?-1:1;d.reduceRight((n,s)=>{if((0,a.b0)(t[s]))return n;{if(n){let a=t[n]*r;let i=e[s][n];let o=Math.floor(a/i);t[s]+=o*r,t[n]-=o*i*r}return s}},null),d.reduce((r,n)=>{if((0,a.b0)(t[n]))return r;{if(r){let s=t[r]%1;t[r]-=s,t[n]+=s*e[r][n]}return n}},null)}function y(e){let t={};for(let[r,n]of Object.entries(e))n!==0&&(t[r]=n);return t}class v{constructor(e){let t=e.conversionAccuracy==="longterm";let r=t?h:u;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||n.A.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return v.fromObject({milliseconds:e},t)}static fromObject(t,r={}){if(t==null||typeof t!=="object")throw new e.Di(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new v({values:(0,a.Fl)(t,v.normalizeUnit),loc:n.A.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(t){if((0,a.Et)(t))return v.fromMillis(t);if(v.isDuration(t))return t;if(typeof t=="object")return v.fromObject(t);throw new e.Di(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(e,t){let[r]=(0,s.rB)(e);return r?v.fromObject(r,t):(0,v.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`))}static fromISOTime(e,t){let[r]=(0,s.QE)(e);return r?v.fromObject(r,t):(0,v.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`))}static invalid(t,n=null){if(!t)throw new e.Di("need to specify a reason the Duration is invalid");let s=t instanceof r.A?t:new r.A(t,n);if(!i.A.throwOnInvalid)return new v({invalid:s});throw new e.Op(s)}static normalizeUnit(t){let r={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"}[t?t.toLowerCase():t];if(!r)throw new e.iq(t);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?t.A.create(this.loc,n).formatDurationFromString(this,e):l}toHuman(e={}){if(!this.isValid)return l;let t=d.map(t=>{let r=this.values[t];return(0,a.b0)(r)?null:(0,this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(r))}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return!this.isValid?{}:(0,{...this.values})}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=(0,a.GB)(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},o.A.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:(0,`Duration { Invalid, reason: ${this.invalidReason} }`)}toMillis(){return!this.isValid?NaN:(0,p(this.matrix,this.values))}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let t=v.fromDurationLike(e),r={};for(let e of d)((0,a.mQ)(t.values,e)||(0,a.mQ)(this.values,e))&&(r[e]=t.get(e)+this.get(e));return f(this,{values:r},!0)}minus(e){if(!this.isValid)return this;let t=v.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;let t={};for(let r of Object.keys(this.values))t[r]=(0,a.i)(e(this.values[r],r));return f(this,{values:t},!0)}get(e){return this[v.normalizeUnit(e)]}set(e){return!this.isValid?this:(0,f(this,{values:{...this.values,...(0,a.Fl)(e,v.normalizeUnit)}}))}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:n}={}){return f(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:n,conversionAccuracy:r})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return g(this.matrix,e),f(this,{values:e},!0)}rescale(){return!this.isValid?this:(0,f(this,{values:y(this.normalize().shiftToAll().toObject())},!0))}shiftTo(...e){if(!this.isValid||e.length===0)return this;e=e.map(e=>v.normalizeUnit(e));let t={},r={},n=this.toObject();let s;for(let i of d)if(e.indexOf(i)>=0){s=i;let e=0;for(let t in r)e+=this.matrix[t][i]*r[t],r[t]=0;(0,a.Et)(n[i])&&(e+=n[i]);let o=Math.trunc(e);t[i]=o,r[i]=(e*1e3-o*1e3)/1e3}else(0,a.Et)(n[i])&&(r[i]=n[i]);for(let e in r)r[e]!==0&&(t[s]+=e===s?r[e]:r[e]/this.matrix[s][e]);return g(this.matrix,t),f(this,{values:t},!0)}shiftToAll(){return!this.isValid?this:(0,this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"))}negate(){if(!this.isValid)return this;let e={};for(let t of Object.keys(this.values))e[t]=this.values[t]===0?0:-this.values[t];return f(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(e,t){return e===undefined||e===0?t===undefined||t===0:(0,e===t)}for(let r of d)if(!t(this.values[r],e.values[r]))return!1;return!0}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},603476(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>p});var e=__webpack_require__(597054);var t=__webpack_require__(750628);var r=__webpack_require__(912276);var n=__webpack_require__(835060);var s=__webpack_require__(232712);var a=__webpack_require__(512986);var i=__webpack_require__(138292);let o=()=>Date.now(),l="system",c=null,u=null,h=null,d=60,m,f=null;class p{static get now(){return o}static set now(e){o=e}static set defaultZone(e){l=e}static get defaultZone(){return(0,s.q)(l,e.A.instance)}static get defaultLocale(){return c}static set defaultLocale(e){c=e}static get defaultNumberingSystem(){return u}static set defaultNumberingSystem(e){u=e}static get defaultOutputCalendar(){return h}static set defaultOutputCalendar(e){h=e}static get defaultWeekSettings(){return f}static set defaultWeekSettings(e){f=(0,a._v)(e)}static get twoDigitCutoffYear(){return d}static set twoDigitCutoffYear(e){d=e%100}static get throwOnInvalid(){return m}static set throwOnInvalid(e){m=e}static resetCaches(){r.A.resetCache(),t.A.resetCache(),n.A.resetCache(),(0,i.wO)()}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},605257(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Xr:()=>a,gt:()=>n,nC:()=>r,xv:()=>t});var e=__webpack_require__(665812);function t(e,r=0){return typeof e!=="string"||r===0?e:(0,e.length<=r?e:`${e.slice(0,r)}...`)}function r(e,t){let r=e;let n=r.length;if(n<=150)return r;t>n&&(t=n);let s=Math.max(t-60,0);s<5&&(s=0);let a=Math.min(s+140,n);return a>n-5&&(a=n),a===n&&(s=Math.max(a-140,0)),r=r.slice(s,a),s>0&&(r=`'{snip} ${r}`),a<n&&(r+=" {snip}"),r}function n(t,r){if(!Array.isArray(t))return"";let n=[];for(let r=0;r<t.length;r++){let s=t[r];try{(0,e.L2)(s)?n.push("[VueViewModel]"):n.push(String(s))}catch(e){n.push("[value cannot be serialized]")}}return n.join(r)}function s(t,r,n=!1){return!(0,e.Kg)(t)?!1:(0,(0,e.gd)(r))?r.test(t):(0,(0,e.Kg)(r))?n?t===r:t.includes(r):(0,!1)}function a(e,t=[],r=!1){return t.some(t=>s(e,t,r))}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},606189(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Bj:()=>D,DE:()=>q,Dg:()=>L,TD:()=>R,WK:()=>E,Xu:()=>N,c4:()=>S,ex:()=>P,lV:()=>x,ws:()=>$});var e=__webpack_require__(123532);var t=__webpack_require__(682631);var r=__webpack_require__(15797);var n=__webpack_require__(769233);var s=__webpack_require__(613608);var a=__webpack_require__(814508);var i=__webpack_require__(650773);var o=__webpack_require__(402228);var l=__webpack_require__(366523);var c=__webpack_require__(382128);let u=String(0);let h="";let d="";let m="";let f=c.jf.navigator&&c.jf.navigator.userAgent||"";let p="";let g=c.jf.navigator&&c.jf.navigator.language||c.jf.navigator&&c.jf.navigator.languages&&c.jf.navigator.languages[0]||"";function y(e){return typeof e=="object"&&e!==null&&"getHighEntropyValues"in e}let v=c.jf.navigator&&c.jf.navigator.userAgentData;function b(e){return!("thread_metadata"in e)}function k(e){return!b(e)?e:(0,T(e))}function w(e){let t=e&&e.contexts&&e.contexts["trace"]&&e.contexts["trace"]["trace_id"];return(typeof t=="string"&&t.length!==32&&l.T&&s.vF.log(`[Profiling] Invalid traceId: ${t} on profiled event`),typeof t!=="string")?"":(0,t)}function _(e,t,n,s){if(s.type!=="transaction")throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(n===undefined||n===null)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);let o=w(s);let l=k(n);let y=t||(typeof s.start_timestamp=="number"?s.start_timestamp*1e3:(0,i.zf)()*1e3);let v=typeof s.timestamp=="number"?s.timestamp*1e3:(0,i.zf)()*1e3;return{event_id:e,timestamp:new Date(y).toISOString(),platform:"javascript",version:"1",release:s.release||"",environment:s.environment||r.U,runtime:{name:"javascript",version:c.jf.navigator.userAgent},os:{name:h,version:d,build_number:f},device:{locale:g,model:p,manufacturer:f,architecture:m,is_emulator:!1},debug_meta:{images:A(n.resources)},profile:l,transactions:[{name:s.transaction||"",id:s.event_id||(0,a.eJ)(),trace_id:o,active_thread_id:u,relative_start_ns:"0",relative_end_ns:((v-y)*1e6).toFixed(0)}]}}function S(e){return(0,t.et)(e).op==="pageload"}function T(e){let t;let r=0;let n={samples:[],stacks:[],frames:[],thread_metadata:{[u]:{name:"main"}}};let s=e.samples[0];if(!s)return n;let a=s.timestamp;let o=typeof performance.timeOrigin=="number"?performance.timeOrigin:i.k3||0;let l=o-(i.k3||o);return e.samples.forEach((s,i)=>{if(s.stackId===undefined){t===undefined&&(t=r,n.stacks[t]=[],r++),n["samples"][i]={elapsed_since_start_ns:((s.timestamp+l-a)*1e6).toFixed(0),stack_id:t,thread_id:u};return}let o=e.stacks[s.stackId];let c=[];while(o){c.push(o.frameId);let t=e.frames[o.frameId];t&&n.frames[o.frameId]===undefined&&(n.frames[o.frameId]={function:t.name,abs_path:typeof t.resourceId=="number"?e.resources[t.resourceId]:undefined,lineno:t.line,colno:t.column}),o=o.parentId===undefined?undefined:e.stacks[o.parentId]}let h={elapsed_since_start_ns:((s.timestamp+l-a)*1e6).toFixed(0),stack_id:r,thread_id:u};n["stacks"][r]=c,n["samples"][i]=h,r++}),n}function x(e,t){if(!t.length)return e;for(let r of t)e[1].push([{type:"profile"},r]);return e}function E(e){let t=[];return(0,o.yH)(e,(e,r)=>{if(r!=="transaction")return;for(let r=1;r<e.length;r++){let n=e[r];n&&n.contexts&&n.contexts["profile"]&&n.contexts["profile"]["profile_id"]&&t.push(e[r])}}),t}y(v)&&v.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(h=e.platform||"",m=e.architecture||"",p=e.model||"",d=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){let t=e.fullVersionList[e.fullVersionList.length-1];f=`${t.brand} ${t.version}`}}).catch(e=>void 0);let j=new WeakMap;function A(t){let r=n.O._sentryDebugIds;if(!r)return[];let s=(0,e.KU)();let a=s&&s.getOptions();let i=a&&a.stackParser;if(!i)return[];let o;let l=j.get(i);l?o=l:(o=new Map,j.set(i,o));let c=Object.keys(r).reduce((e,t)=>{let n;let s=o.get(t);s?n=s:(n=i(t),o.set(t,n));for(let s=n.length-1;s>=0;s--){let a=n[s];let i=a&&a.filename;if(a&&i){e[i]=r[t];break}}return e},{});let u=[];for(let e of t)e&&c[e]&&u.push({type:"sourcemap",code_file:e,debug_id:c[e]});return u}function C(e){return typeof e!=="number"&&typeof e!=="boolean"||typeof e=="number"&&isNaN(e)?(l.T&&s.vF.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):(0,e===!0||e===!1)?!0:(0,e<0||e>1)?(l.T&&s.vF.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1):(0,!0)}function M(e){return e.samples.length<2?(l.T&&s.vF.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):(0,!e.frames.length)?(l.T&&s.vF.log("[Profiling] Discarding profile because it contains no frames"),!1):(0,!0)}let I=!1;let R=3e4;function O(e){return typeof e=="function"}function L(){let e=c.jf.Profiler;if(!O(e)){l.T&&s.vF.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}let t=Math.floor(R/10);try{return new e({sampleInterval:10,maxBufferSize:t})}catch(e){l.T&&(s.vF.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),s.vF.log("[Profiling] Disabling profiling for current user session.")),I=!0}return}function N(t){if(I)return l.T&&s.vF.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!t.isRecording())return l.T&&s.vF.log("[Profiling] Discarding profile because transaction was not sampled."),!1;let r=(0,e.KU)();let n=r&&r.getOptions();if(!n)return l.T&&s.vF.log("[Profiling] Profiling disabled, no options found."),!1;let a=n.profilesSampleRate;return!C(a)?(l.T&&s.vF.warn("[Profiling] Discarding profile because of invalid sample rate."),!1):(0,!a)?(l.T&&s.vF.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(0,!(a===!0?!0:Math.random()<a))?(l.T&&s.vF.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(a)})`),!1):(0,!0)}function D(e,t,r,n){return!M(r)?null:(0,_(e,t,r,n))}let F=new Map;function P(){return F.size}function $(e){let t=F.get(e);return t&&F.delete(e),t}function q(e,t){if(F.set(e,t),F.size>30){let e=F.keys().next().value;F.delete(e)}}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},609948(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>s});var e=__webpack_require__(784225);var t=__webpack_require__(342672);var r=__webpack_require__(984381);let n=/Z|([+-]\d{2}:?\d{2})$/u;let s=(0,e.YP)((0,t.Yj)(),"ISO 8601 date",e=>{return!r.c9.fromISO(e).isValid?"Not a valid ISO 8601 date":(0,!n.test(e))?"ISO 8601 date must have timezone information":(0,!0)})}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},612717(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{li:()=>v,mG:()=>u});var e=__webpack_require__(769233);var t=__webpack_require__(814508);var r=__webpack_require__(879561);var n=__webpack_require__(605257);var s=__webpack_require__(650773);var a=__webpack_require__(15797);var i=__webpack_require__(123532);var o=__webpack_require__(189193);var l=__webpack_require__(665016);var c=__webpack_require__(967173);function u(e,r,n,a,l,u){let{normalizeDepth:d=3,normalizeMaxBreadth:v=1e3}=e;let b={...r,event_id:r.event_id||n.event_id||(0,t.eJ)(),timestamp:r.timestamp||(0,s.lu)()};let k=n.integrations||e.integrations.map(e=>e.name);h(b,e),p(b,k),l&&l.emit("applyFrameMetadata",r),r.type===undefined&&m(b,e.stackParser);let w=y(a,n.captureContext);n.mechanism&&(0,t.M6)(b,n.mechanism);let _=l?l.getEventProcessors():[];let S=(0,i.m6)().getScopeData();if(u){let e=u.getScopeData();(0,c.Rg)(S,e)}if(w){let e=w.getScopeData();(0,c.Rg)(S,e)}let T=[...n.attachments||[],...S.attachments];T.length&&(n.attachments=T),(0,c.e2)(b,S);let x=[..._,...S.eventProcessors];return(0,o.j)(x,b,n).then(e=>{return(e&&f(e),typeof d=="number"&&d>0)?g(e,d,v):(0,e)})}function h(e,t){let{environment:r,release:s,dist:i,maxValueLength:o=250}=t;!("environment"in e)&&(e.environment="environment"in t?r:a.U),e.release===undefined&&s!==undefined&&(e.release=s),e.dist===undefined&&i!==undefined&&(e.dist=i),e.message&&(e.message=(0,n.xv)(e.message,o));let l=e.exception&&e.exception.values&&e.exception.values[0];l&&l.value&&(l.value=(0,n.xv)(l.value,o));let c=e.request;c&&c.url&&(c.url=(0,n.xv)(c.url,o))}let d=new WeakMap;function m(t,r){let n=e.O._sentryDebugIds;if(!n)return;let s;let a=d.get(r);a?s=a:(s=new Map,d.set(r,s));let i=Object.entries(n).reduce((e,[t,n])=>{let a;let i=s.get(t);i?a=i:(a=r(t),s.set(t,a));for(let t=a.length-1;t>=0;t--){let r=a[t];if(r.filename){e[r.filename]=n;break}}return e},{});try{t.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.filename&&(e.debug_id=i[e.filename])})})}catch(e){}}function f(e){let t={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}function p(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function g(e,t,n){if(!e)return null;let s={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,r.S8)(e.data,t,n)}}))},...e.user&&{user:(0,r.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,r.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,r.S8)(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&s.contexts&&(s.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(s.contexts.trace.data=(0,r.S8)(e.contexts.trace.data,t,n))),e.spans&&(s.spans=e.spans.map(e=>{return{...e,...e.data&&{data:(0,r.S8)(e.data,t,n)}}})),s}function y(e,t){if(!t)return e;let r=e?e.clone():new l.H;return r.update(t),r}function v(e){return!e?undefined:(0,b(e)||w(e))?{captureContext:e}:(0,e)}function b(e){return e instanceof l.H||typeof e=="function"}let k=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function w(e){return Object.keys(e).some(e=>k.includes(e))}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},613608(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ow:()=>r,Z9:()=>n,pq:()=>s,vF:()=>i});var e=__webpack_require__(462128);var t=__webpack_require__(769233);let r=["debug","info","warn","error","log","assert","trace"];let n={};function s(e){if(!("console"in t.O))return e();let r=t.O.console;let s={};let a=Object.keys(n);a.forEach(e=>{let t=n[e];s[e]=r[e],r[e]=t});try{return e()}finally{a.forEach(e=>{r[e]=s[e]})}}function a(){let n=!1;let a={enable:()=>{n=!0},disable:()=>{n=!1},isEnabled:()=>n};return e.T?r.forEach(e=>{a[e]=(...r)=>{n&&s(()=>{t.O.console[e](`${"Sentry Logger "}[${e}]:`,...r)})}}):r.forEach(e=>{a[e]=()=>undefined}),a}let i=(0,t.B)("logger",a)}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},614130(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>t});var e=__webpack_require__(879771);function t(t){return(0,e.KC)(t)}}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},617648(module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";module.exports=function(e){function t(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r)|0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){let t;let s=null;let a;let i;function o(...e){if(!o.enabled)return;let n=Number(new Date);o.diff=n-(t||n),o.prev=t,o.curr=n,t=n,e[0]=r.coerce(e[0]),typeof e[0]!=="string"&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,n)=>{if(t==="%%")return"%";s++;let a=r.formatters[n];if(typeof a=="function"){let r=e[s];t=a.call(o,r),e.splice(s,1),s--}return t}),r.formatArgs.call(o,e),(o.log||r.log).apply(o,e)}return o.namespace=e,o.useColors=r.useColors(),o.color=r.selectColor(e),o.extend=n,o.destroy=r.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>{return s!==null?s:(a!==r.namespaces&&(a=r.namespaces,i=r.enabled(e)),i)},set:e=>{s=e}}),typeof r.init=="function"&&r.init(o),o}function n(e,t){let n=r(this.namespace+(t===void 0?":":t)+e);return n.log=this.log,n}function s(e){for(let t of(r.save(e),r.namespaces=e,r.names=[],r.skips=[],(typeof e=="string"?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))t[0]==="-"?r.skips.push(t.slice(1)):r.names.push(t)}function a(e,t){let r=0;let n=0;let s=-1;let a=0;while(r<e.length)if(n<t.length&&(t[n]===e[r]||t[n]==="*"))t[n]==="*"?(s=n,a=r):r++,n++;else if(s===-1)return!1;else n=s+1,r=++a;while(n<t.length&&t[n]==="*")n++;return n===t.length}function i(){let e=[...r.names,...r.skips.map(e=>"-"+e)].join(",");return r.enable(""),e}function o(e){for(let t of r.skips)if(a(e,t))return!1;for(let t of r.names)if(a(e,t))return!0;return!1}function l(e){return e instanceof Error?e.stack||e.message:(0,e)}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=s,r.enabled=o,r.humanize=__webpack_require__(134281),r.destroy=c,Object.keys(e).forEach(t=>{r[t]=e[t]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}}}).call(__webpack_require__._LM_("nock>debug",{module,__webpack_require__}))()},621827(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>e});let e=()=>{return`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},639781(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{BrowserClient:()=>R.y,SDK_VERSION:()=>b.M,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>i.uT,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>i.JD,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>i.sy,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>i.i_,Scope:()=>c.H,WINDOW:()=>I.jf,addBreadcrumb:()=>g.Z,addEventProcessor:()=>o.SA,addIntegration:()=>m.Q8,addTracingExtensions:()=>t.U,breadcrumbsIntegration:()=>P.F,browserApiErrorsIntegration:()=>H.G,browserProfilingIntegration:()=>er.f,browserTracingIntegration:()=>ee.dp,captureConsoleIntegration:()=>w.q,captureEvent:()=>o.r,captureException:()=>o.Cp,captureFeedback:()=>C.q,captureMessage:()=>o.wd,captureSession:()=>o.J5,captureUserFeedback:()=>F.lo,chromeStackLineParser:()=>L.Yj,close:()=>o.VN,contextLinesIntegration:()=>W.l,continueTrace:()=>n.V4,createTransport:()=>h.o,createUserFeedbackEnvelope:()=>D.L,debugIntegration:()=>_._,dedupeIntegration:()=>S.s,defaultRequestInstrumentationOptions:()=>Q.h$,defaultStackLineParsers:()=>L.c9,defaultStackParser:()=>L.lG,endSession:()=>o.ky,eventFromException:()=>N.u,eventFromMessage:()=>N.qv,exceptionFromError:()=>N.K8,extraErrorDataIntegration:()=>T.X,feedbackAsyncIntegration:()=>J.C,feedbackIntegration:()=>K.X,feedbackSyncIntegration:()=>K.X,flush:()=>o.bX,forceLoad:()=>F.w7,functionToStringIntegration:()=>y.Z,geckoStackLineParser:()=>L.dY,getActiveSpan:()=>p.Bk,getClient:()=>l.KU,getCurrentHub:()=>M.B,getCurrentScope:()=>l.o5,getDefaultIntegrations:()=>F.nI,getFeedback:()=>Z.e4,getGlobalScope:()=>l.m6,getIsolationScope:()=>l.rm,getReplay:()=>V.M,getRootSpan:()=>p.zU,getSpanDescendants:()=>p.xO,getSpanStatusFromHttpCode:()=>r.AJ,globalHandlersIntegration:()=>$.L,httpClientIntegration:()=>G.c,httpContextIntegration:()=>q.M,inboundFiltersIntegration:()=>v.D,init:()=>F.Ts,instrumentOutgoingRequests:()=>Q.Qb,isInitialized:()=>o.Dp,lastEventId:()=>o.Q,lazyLoadIntegration:()=>U.b,linkedErrorsIntegration:()=>z.p,makeBrowserOfflineTransport:()=>et.z9,makeFetchTransport:()=>O._,makeMultiplexedTransport:()=>d.N,metrics:()=>X.q,moduleMetadataIntegration:()=>k.Q,onLoad:()=>F.kF,opera10StackLineParser:()=>L.Q_,opera11StackLineParser:()=>L.Vv,parameterize:()=>f.y,registerSpanErrorInstrumentation:()=>e.s,replayCanvasIntegration:()=>Y.y,replayIntegration:()=>V.w,reportingObserverIntegration:()=>B.n,rewriteFramesIntegration:()=>x.D,sendFeedback:()=>Z.Sq,sessionTimingIntegration:()=>E.Z,setContext:()=>o.o,setCurrentClient:()=>u.B,setExtra:()=>o.l7,setExtras:()=>o.cx,setHttpStatus:()=>r.N8,setMeasurement:()=>a.X,setTag:()=>o.NA,setTags:()=>o.Wt,setUser:()=>o.gV,showReportDialog:()=>F.mn,spanToBaggageHeader:()=>s.HW,spanToJSON:()=>p.et,spanToTraceHeader:()=>p.Qh,startBrowserTracingNavigationSpan:()=>ee.Nt,startBrowserTracingPageLoadSpan:()=>ee.Sx,startInactiveSpan:()=>n.Uk,startNewTrace:()=>n.Y7,startSession:()=>o.J0,startSpan:()=>n.Lk,startSpanManual:()=>n.nV,thirdPartyErrorFilterIntegration:()=>A.y,winjsStackLineParser:()=>L.$2,withActiveSpan:()=>n.hb,withIsolationScope:()=>l.rB,withScope:()=>l.v4,zodErrorsIntegration:()=>j.r});var e=__webpack_require__(410710);var t=__webpack_require__(542764);var r=__webpack_require__(276435);var n=__webpack_require__(827284);var s=__webpack_require__(98154);var a=__webpack_require__(468417);var i=__webpack_require__(78463);var o=__webpack_require__(931263);var l=__webpack_require__(123532);var c=__webpack_require__(665016);var u=__webpack_require__(295088);var h=__webpack_require__(513234);var d=__webpack_require__(550866);var m=__webpack_require__(577102);var f=__webpack_require__(598723);var p=__webpack_require__(682631);var g=__webpack_require__(848294);var y=__webpack_require__(175384);var v=__webpack_require__(201740);var b=__webpack_require__(109910);var k=__webpack_require__(187973);var w=__webpack_require__(122411);var _=__webpack_require__(778313);var S=__webpack_require__(960767);var T=__webpack_require__(59824);var x=__webpack_require__(488560);var E=__webpack_require__(420376);var j=__webpack_require__(5152);var A=__webpack_require__(934379);var C=__webpack_require__(902309);var M=__webpack_require__(369793);var I=__webpack_require__(382128);var R=__webpack_require__(564350);var O=__webpack_require__(466024);var L=__webpack_require__(753036);var N=__webpack_require__(795966);var D=__webpack_require__(155001);var F=__webpack_require__(892145);var P=__webpack_require__(14635);var $=__webpack_require__(535279);var q=__webpack_require__(982238);var z=__webpack_require__(162183);var H=__webpack_require__(455142);var U=__webpack_require__(810087);var B=__webpack_require__(571893);var G=__webpack_require__(279802);var W=__webpack_require__(185635);var V=__webpack_require__(949306);var Y=__webpack_require__(986415);var J=__webpack_require__(748028);var K=__webpack_require__(195829);var Z=__webpack_require__(178066);var X=__webpack_require__(723808);var Q=__webpack_require__(43417);var ee=__webpack_require__(244880);var et=__webpack_require__(763935);var er=__webpack_require__(96434)}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},646493(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>r});var e=__webpack_require__(513064);var t=__webpack_require__(316310);function r(r){let n=[];function s(){return r===undefined||n.length<r}function a(e){return n.splice(n.indexOf(e),1)[0]||Promise.resolve(undefined)}function i(r){if(!s())return(0,t.xg)(new e.U("Not adding Promise because buffer limit was reached."));let i=r();return n.indexOf(i)===-1&&n.push(i),i.then(()=>a(i)).then(null,()=>a(i).then(null,()=>{})),i}function o(e){return new t.T2((r,s)=>{let a=n.length;if(!a)return r(!0);let i=setTimeout(()=>{e&&e>0&&r(!1)},e);n.forEach(e=>{(0,t.XW)(e).then(()=>{!--a&&(clearTimeout(i),r(!0))},s)})})}return{$:n,add:i,drain:o}}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},647388(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Es:()=>u,rI:()=>l,ux:()=>c});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(142282);var n=__webpack_require__(879771);var s;var a;(a=s||(s={}))["ButtonClickEvent"]="ButtonClickEvent",a["FormSubmitEvent"]="FormSubmitEvent",a["InputChangeEvent"]="InputChangeEvent",a["FileUploadEvent"]="FileUploadEvent";let i=(0,e.Ik)({type:(0,e.Yj)(),name:(0,e.lq)((0,e.Yj)())});let o=(0,t.kp)(i,(0,e.Ik)({type:(0,n.eu)(s.ButtonClickEvent),name:(0,e.lq)((0,e.Yj)())}));let l=(0,e.Ik)({accountId:(0,e.Yj)(),addresses:(0,e.YO)(r.FX)});let c=(0,e.Ik)({name:(0,e.Yj)(),size:(0,e.ai)(),contentType:(0,e.Yj)(),contents:(0,e.Yj)()});let u=(0,e.Ik)({asset:r.jx,name:(0,e.Yj)(),symbol:(0,e.Yj)()});let h=(0,t.kp)(i,(0,e.Ik)({type:(0,n.eu)(s.FormSubmitEvent),value:(0,e.g1)((0,e.Yj)(),(0,e.me)((0,e.KC)([(0,e.Yj)(),c,(0,e.zM)(),l,u]))),name:(0,e.Yj)()}));let d=(0,t.kp)(i,(0,e.Ik)({type:(0,n.eu)(s.InputChangeEvent),name:(0,e.Yj)(),value:(0,e.me)((0,e.KC)([(0,e.Yj)(),(0,e.zM)(),l,u]))}));let m=(0,t.kp)(i,(0,e.Ik)({type:(0,n.eu)(s.FileUploadEvent),name:(0,e.Yj)(),file:(0,e.me)(c)}));(0,n.i5)([o,h,d,m])}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},650710(module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";let e=globalThis.chrome?.runtime.getManifest()||globalThis.browser?.runtime.getManifest();let t=e?e.manifest_version===3:!0;let r=Boolean(globalThis.chrome?.offscreen);module.exports={isManifestV3:t,isOffscreenAvailable:r,isMv3ButOffscreenDocIsMissing:t&&!r}}}).call(__webpack_require__._LM_("$root$",{module,__webpack_require__}))()},650773(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{k3:()=>s,lu:()=>t,zf:()=>r});var e=__webpack_require__(769233);function t(){return Date.now()/1e3}let r=function(){let{performance:r}=e.O;if(!r||!r.now)return t;let n=Date.now()-r.now();let s=r.timeOrigin==undefined?n:r.timeOrigin;return()=>{return(s+r.now())/1e3}}();let n;let s=(()=>{let{performance:t}=e.O;if(!t||!t.now)return n="none",undefined;let r=3600*1e3;let s=t.now();let a=Date.now();let i=t.timeOrigin?Math.abs(t.timeOrigin+s-a):r;let o=t.timing&&t.timing.navigationStart;let l=typeof o=="number"?Math.abs(o+s-a):r;return i<r||l<r?i<=l?(n="timeOrigin",t.timeOrigin):(n="navigationStart",o):(n="dateNow",a)})()}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},659212(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>r});let e="Error: [ethjs-rpc] rpc error with payload ";let t="Error: ";function r(r){if(r.includes(e)){let n=r.slice(e.length);return n.slice(n.indexOf(t)+t.length)}return r}}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},659677(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";["XMLHttpRequest"].forEach(e=>{!Reflect.has(globalThis,e)&&(globalThis[e]=undefined)}),!Reflect.has(globalThis,"window")&&(globalThis.window=globalThis)}}).call(__webpack_require__._LM_("$root$",{__webpack_require__}))()},661330(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{DZ:()=>w,Md:()=>b,a0:()=>_,lY:()=>k});var e=__webpack_require__(671955);var t=__webpack_require__(477964);let r=BigInt(0);let n=BigInt(1);let s=BigInt(2);let a=BigInt(7);let i=BigInt(256);let o=BigInt(113);let l=[];let c=[];let u=[];for(let e=0,t=n,h=1,d=0;e<24;e++){[h,d]=[d,(2*h+3*d)%5],l.push(2*(5*d+h)),c.push((e+1)*(e+2)/2%64);let m=r;for(let e=0;e<7;e++)(t=(t<<n^(t>>a)*o)%i)&s&&(m^=n<<(n<<BigInt(e))-n);u.push(m)}let h=(0,e.lD)(u,!0);let d=h[0];let m=h[1];let f=(t,r,n)=>n>32?(0,e.WM)(t,r,n):(0,e.P5)(t,r,n);let p=(t,r,n)=>n>32?(0,e.im)(t,r,n):(0,e.B4)(t,r,n);function g(e,r=24){let n=new Uint32Array(5*2);for(let t=24-r;t<24;t++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let r=(t+8)%10;let s=(t+2)%10;let a=n[s];let i=n[s+1];let o=f(a,i,1)^n[r];let l=p(a,i,1)^n[r+1];for(let r=0;r<50;r+=10)e[t+r]^=o,e[t+r+1]^=l}let r=e[2];let s=e[3];for(let t=0;t<24;t++){let n=c[t];let a=f(r,s,n);let i=p(r,s,n);let o=l[t];r=e[o],s=e[o+1],e[o]=a,e[o+1]=i}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=d[t],e[1]^=m[t]}(0,t.uH)(n)}class y extends t.Vw{constructor(e,r,n,s=!1,a=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=r,this.outputLen=n,this.enableXOF=s,this.rounds=a,(0,t.Fe)(n),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,t.DH)(this.state)}clone(){return this._cloneInto()}keccak(){(0,t.fd)(this.state32),g(this.state32,this.rounds),(0,t.fd)(this.state32),this.posOut=0,this.pos=0}update(e){(0,t.CC)(this),e=(0,t.ZJ)(e),(0,t.DO)(e);let{blockLen:r,state:n}=this;let s=e.length;for(let t=0;t<s;){let a=Math.min(r-this.pos,s-t);for(let r=0;r<a;r++)n[this.pos++]^=e[t++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:r,blockLen:n}=this;e[r]^=t,(t&128)!==0&&r===n-1&&this.keccak(),e[n-1]^=128,this.keccak()}writeInto(e){(0,t.CC)(this,!1),(0,t.DO)(e),this.finish();let r=this.state;let{blockLen:n}=this;for(let t=0,s=e.length;t<s;){this.posOut>=n&&this.keccak();let a=Math.min(n-this.posOut,s-t);e.set(r.subarray(this.posOut,this.posOut+a),t),this.posOut+=a,t+=a}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,t.Fe)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,t.Ht)(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,(0,t.uH)(this.state)}_cloneInto(e){let{blockLen:t,suffix:r,outputLen:n,rounds:s,enableXOF:a}=this;return e||(e=new y(t,r,n,a,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=r,e.outputLen=n,e.enableXOF=a,e.destroyed=this.destroyed,e}}let v=(e,r,n)=>(0,t.qj)(()=>new y(r,e,n));let b=(0,v(1,144,224/8));let k=(0,v(1,136,256/8));let w=(0,v(1,104,384/8));let _=(0,v(1,72,512/8))}}).call(__webpack_require__._LM_("@noble/hashes",{__webpack_require__,__webpack_exports__}))()},662925(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>a});var e=__webpack_require__(370861);var t=__webpack_require__(84607);var r=__webpack_require__(950825);var n=__webpack_require__(765698);let s;function a(t){let r="history";(0,e.s5)(r,t),(0,e.AS)(r,i)}function i(){if(!(0,r.N)())return;let a=n.j.onpopstate;function i(t){return function(...r){let n=r.length>2?r[2]:undefined;if(n){let t=s;let r=String(n);s=r,(0,e.aj)("history",{from:t,to:r})}return t.apply(this,r)}}n.j.onpopstate=function(...t){let r=n.j.location.href;let i=s;if(s=r,(0,e.aj)("history",{from:i,to:r}),a)try{return a.apply(this,t)}catch(e){}},(0,t.GS)(n.j.history,"pushState",i),(0,t.GS)(n.j.history,"replaceState",i)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},664746(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>s,z:()=>n});var e=__webpack_require__(613608);var t=__webpack_require__(352158);var r=__webpack_require__(682631);function n(n){if(!t.T)return;let{description:s="< unknown name >",op:a="< unknown op >",parent_span_id:i}=(0,r.et)(n);let{spanId:o}=n.spanContext();let l=(0,r.pK)(n);let c=(0,r.zU)(n);let u=c===n;let h=`[Tracing] Starting ${l?"sampled":"unsampled"} ${u?"root ":""}span`;let d=[`op: ${a}`,`name: ${s}`,`ID: ${o}`];if(i&&d.push(`parent ID: ${i}`),!u){let{op:e,description:t}=(0,r.et)(c);d.push(`root ID: ${c.spanContext().spanId}`),e&&d.push(`root op: ${e}`),t&&d.push(`root description: ${t}`)}e.vF.log(`${h}
  ${d.join(`
  `)}`)}function s(n){if(!t.T)return;let{description:s="< unknown name >",op:a="< unknown op >"}=(0,r.et)(n);let{spanId:i}=n.spanContext();let o=(0,r.zU)(n)===n;let l=`[Tracing] Finishing "${a}" ${o?"root ":""}span "${s}" with ID ${i}`;e.vF.log(l)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},665016(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{H:()=>l});var e=__webpack_require__(665812);var t=__webpack_require__(613608);var r=__webpack_require__(814508);var n=__webpack_require__(650773);var s=__webpack_require__(151201);var a=__webpack_require__(172900);var i=__webpack_require__(466737);class o{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=(0,s.J)()}clone(){let e=new o;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,(0,i.r)(e,(0,i.f)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:undefined,id:undefined,ip_address:undefined,username:undefined},this._session&&(0,a.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let r=typeof t=="function"?t(this):t;let[n,s]=r instanceof l?[r.getScopeData(),r.getRequestSession()]:(0,e.Qd)(r)?[t,t.requestSession]:[];let{tags:a,extra:i,user:o,contexts:c,level:u,fingerprint:h=[],propagationContext:d}=n||{};return this._tags={...this._tags,...a},this._extra={...this._extra,...i},this._contexts={...this._contexts,...c},o&&Object.keys(o).length&&(this._user=o),u&&(this._level=u),h.length&&(this._fingerprint=h),d&&(this._propagationContext=d),s&&(this._requestSession=s),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=undefined,this._transactionName=undefined,this._fingerprint=undefined,this._requestSession=undefined,this._session=undefined,(0,i.r)(this,undefined),this._attachments=[],this._propagationContext=(0,s.J)(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r=typeof t=="number"?t:100;if(r<=0)return this;let s={timestamp:(0,n.lu)(),...e};let a=this._breadcrumbs;return a.push(s),this._breadcrumbs=a.length>r?a.slice(-r):a,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,i.f)(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){let s=n&&n.event_id?n.event_id:(0,r.eJ)();if(!this._client)return t.vF.warn("No client configured on scope - will not capture exception!"),s;let a=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:a,...n,event_id:s},this),s}captureMessage(e,n,s){let a=s&&s.event_id?s.event_id:(0,r.eJ)();if(!this._client)return t.vF.warn("No client configured on scope - will not capture message!"),a;let i=new Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:i,...s,event_id:a},this),a}captureEvent(e,n){let s=n&&n.event_id?n.event_id:(0,r.eJ)();return!this._client?t.vF.warn("No client configured on scope - will not capture event!"):(0,this._client.captureEvent(e,{...n,event_id:s},this)),s}_notifyScopeListeners(){!this._notifyingListeners&&(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}let l=o}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},665812(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{BD:()=>s,Kg:()=>i,L2:()=>g,NF:()=>o,Qd:()=>c,Qg:()=>m,T2:()=>n,W6:()=>a,bJ:()=>t,gd:()=>d,mE:()=>f,sO:()=>l,tH:()=>p,vq:()=>h,xH:()=>u});let e=Object.prototype.toString;function t(t){switch(e.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return p(t,Error)}}function r(t,r){return e.call(t)===`[object ${r}]`}function n(e){return r(e,"ErrorEvent")}function s(e){return r(e,"DOMError")}function a(e){return r(e,"DOMException")}function i(e){return r(e,"String")}function o(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function l(e){return e===null||o(e)||typeof e!=="object"&&typeof e!=="function"}function c(e){return r(e,"Object")}function u(e){return typeof Event!=="undefined"&&p(e,Event)}function h(e){return typeof Element!=="undefined"&&p(e,Element)}function d(e){return r(e,"RegExp")}function m(e){return Boolean(e&&e.then&&typeof e.then=="function")}function f(e){return c(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function p(e,t){try{return e instanceof t}catch(e){return!1}}function g(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},669891(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];n==="."?e.splice(t,1):n===".."?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}__webpack_require__.d(__webpack_exports__,{P8:()=>o,V8:()=>a});let t=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function r(e){let r=e.length>1024?`<truncated>${e.slice(-1024)}`:e;let n=t.exec(r);return n?n.slice(1):[]}function n(...t){let r="";let s=!1;for(let e=t.length-1;e>=-1&&!s;e--){let n=e>=0?t[e]:"/";if(!n)continue;r=`${n}/${r}`,s=n.charAt(0)==="/"}return r=e(r.split("/").filter(e=>!!e),!s).join("/"),(s?"/":"")+r||"."}function s(e){let t=0;for(;t<e.length;t++)if(e[t]!=="")break;let r=e.length-1;for(;r>=0;r--)if(e[r]!=="")break;return t>r?[]:(0,e.slice(t,r-t+1))}function a(e,t){e=n(e).slice(1),t=n(t).slice(1);let r=s(e.split("/"));let a=s(t.split("/"));let i=Math.min(r.length,a.length);let o=i;for(let e=0;e<i;e++)if(r[e]!==a[e]){o=e;break}let l=[];for(let e=o;e<r.length;e++)l.push("..");return(l=l.concat(a.slice(o))).join("/")}function i(e){return e.charAt(0)==="/"}function o(e,t){let n=r(e)[2]||"";return t&&n.slice(t.length*-1)===t&&(n=n.slice(0,n.length-t.length)),n}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},671480(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>n,r:()=>r});var e=__webpack_require__(769233);var t=__webpack_require__(665016);function r(){return(0,e.B)("defaultCurrentScope",()=>new t.H)}function n(){return(0,e.B)("defaultIsolationScope",()=>new t.H)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},671955(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B4:()=>h,CQ:()=>v,CW:()=>y,Ei:()=>c,F8:()=>b,P5:()=>u,TH:()=>k,Vl:()=>p,Vr:()=>g,WM:()=>d,WQ:()=>f,im:()=>m,jm:()=>a,lD:()=>n,qh:()=>l,rE:()=>i,ry:()=>o,xn:()=>s});let e=BigInt(0x100000000-1);let t=BigInt(32);function r(n,s=!1){return s?{h:Number(n&e),l:Number(n>>t&e)}:(0,{h:Number(n>>t&e)|0,l:Number(n&e)|0})}function n(e,t=!1){let s=e.length;let a=new Uint32Array(s);let i=new Uint32Array(s);for(let n=0;n<s;n++){let{h:s,l:o}=r(e[n],t);[a[n],i[n]]=[s,o]}return[a,i]}let s=(e,t,r)=>e>>>r;let a=(e,t,r)=>e<<32-r|t>>>r;let i=(e,t,r)=>e>>>r|t<<32-r;let o=(e,t,r)=>e<<32-r|t>>>r;let l=(e,t,r)=>e<<64-r|t>>>r-32;let c=(e,t,r)=>e>>>r-32|t<<64-r;let u=(e,t,r)=>e<<r|t>>>32-r;let h=(e,t,r)=>t<<r|e>>>32-r;let d=(e,t,r)=>t<<r-32|e>>>64-r;let m=(e,t,r)=>e<<r-32|t>>>64-r;function f(e,t,r,n){let s=(t>>>0)+(n>>>0);return{h:e+r+(s/0x100000000|0)|0,l:s|0}}let p=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);let g=(e,t,r,n)=>t+r+n+(e/0x100000000|0)|0;let y=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);let v=(e,t,r,n,s)=>t+r+n+s+(e/0x100000000|0)|0;let b=(e,t,r,n,s)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(s>>>0);let k=(e,t,r,n,s,a)=>t+r+n+s+a+(e/0x100000000|0)|0}}).call(__webpack_require__._LM_("@noble/hashes",{__webpack_exports__,__webpack_require__}))()},676358(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Tl:()=>a,Wu:()=>s,Z6:()=>r});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r;var n;(n=r||(r={}))["Copyable"]="copyable",n["Divider"]="divider",n["Heading"]="heading",n["Panel"]="panel",n["Spinner"]="spinner",n["Text"]="text",n["Image"]="image",n["Row"]="row",n["Address"]="address",n["Button"]="button",n["Input"]="input",n["Form"]="form";let s=(0,e.Ik)({type:(0,e.Yj)()});let a=(0,t.kp)(s,(0,e.Ik)({value:(0,e.L5)()}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},676979(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>o,O:()=>i});var e=__webpack_require__(515400);let t=0;let r=Infinity;let n=0;let s=e=>{e.forEach(e=>{e.interactionId&&(r=Math.min(r,e.interactionId),t=(n=Math.max(n,e.interactionId))?(n-r)/7+1:0)})};let a;let i=()=>{return a?t:performance.interactionCount||0};let o=()=>{if("interactionCount"in performance||a)return;a=(0,e.l)("event",s,{type:"event",buffered:!0,durationThreshold:0})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},682631(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Bk:()=>A,CC:()=>u,Ck:()=>d,Hu:()=>T,Qh:()=>f,VS:()=>x,aO:()=>h,cI:()=>p,et:()=>y,kX:()=>m,pK:()=>k,r2:()=>C,xO:()=>E,yW:()=>w,zU:()=>j});var e=__webpack_require__(84607);var t=__webpack_require__(650773);var r=__webpack_require__(973544);var n=__webpack_require__(920938);var s=__webpack_require__(943924);var a=__webpack_require__(123532);var i=__webpack_require__(355989);var o=__webpack_require__(78463);var l=__webpack_require__(276435);var c=__webpack_require__(466737);let u=0;let h=1;function d(t){let{spanId:r,traceId:n}=t.spanContext();let{data:s,op:a,parent_span_id:i,status:o,origin:l}=y(t);return(0,e.Ce)({parent_span_id:i,span_id:r,trace_id:n,data:s,op:a,status:o,origin:l})}function m(t){let{spanId:r,traceId:n}=t.spanContext();let{parent_span_id:s}=y(t);return(0,e.Ce)({parent_span_id:s,span_id:r,trace_id:n})}function f(e){let{traceId:t,spanId:n}=e.spanContext();let s=k(e);return(0,r.TC)(t,n,s)}function p(e){return typeof e=="number"?g(e):(0,Array.isArray(e))?e[0]+e[1]/1e9:(0,e instanceof Date)?g(e.getTime()):(0,(0,t.zf)())}function g(e){return e>0x2540be3ff?e/1e3:e}function y(t){if(b(t))return t.getSpanJSON();try{let{spanId:r,traceId:n}=t.spanContext();if(v(t)){let{attributes:s,startTime:a,name:l,endTime:c,parentSpanId:u,status:h}=t;return(0,e.Ce)({span_id:r,trace_id:n,data:s,description:l,parent_span_id:u,start_timestamp:p(a),timestamp:p(c)||undefined,status:w(h),op:s[o.uT],origin:s[o.JD],_metrics_summary:(0,i.g)(t)})}return{span_id:r,trace_id:n}}catch(e){return{}}}function v(e){return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function b(e){return typeof e.getSpanJSON=="function"}function k(e){let{traceFlags:t}=e.spanContext();return t===h}function w(e){return!e||e.code===l.a3?undefined:(0,e.code===l.F3)?"ok":(0,e.message||"unknown_error")}let _="_sentryChildSpans";let S="_sentryRootSpan";function T(t,r){let n=t[S]||t;(0,e.my)(r,S,n),t[_]?t[_].add(r):(0,e.my)(t,_,new Set([r]))}function x(e,t){e[_]&&e[_].delete(t)}function E(e){let t=new Set;function r(e){if(t.has(e))return;if(k(e))for(let n of(t.add(e),e[_]?Array.from(e[_]):[]))r(n)}return r(e),Array.from(t)}function j(e){return e[S]||e}function A(){let e=(0,s.E)();let t=(0,n.h)(e);return t.getActiveSpan?t.getActiveSpan():(0,(0,c.f)((0,a.o5)()))}function C(e,t,r,n,s,a){let o=A();o&&(0,i.X)(o,e,t,r,n,s,a)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},686333(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C9:()=>u,De:()=>g,EG:()=>y,WF:()=>p,WO:()=>h,_3:()=>f,d3:()=>d,fZ:()=>m,mK:()=>i,nM:()=>v,ui:()=>c});var e=__webpack_require__(512986);var t=__webpack_require__(14631);var r=__webpack_require__(695358);let n=[0,31,59,90,120,151,181,212,243,273,304,334],s=[0,31,60,91,121,152,182,213,244,274,305,335];function a(e,r){return new t.A("unit out of range",`you specified ${r} (of type ${typeof r}) as a ${e}, which is invalid`)}function i(e,t,r){let n=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let s=n.getUTCDay();return s===0?7:s}function o(t,r,a){return a+((0,e.U_)(t)?s:n)[r-1]}function l(t,r){let a=(0,e.U_)(t)?s:n,i=a.findIndex(e=>e<r),o=r-a[i];return{month:i+1,day:o}}function c(e,t){return(e-t+7)%7+1}function u(t,r=4,n=1){let{year:s,month:a,day:l}=t,h=o(s,a,l),d=c(i(s,a,l),n);let m=Math.floor((h-d+14-r)/7),f;return m<1?(f=s-1,m=(0,e.ac)(f,r,n)):m>(0,e.ac)(s,r,n)?(f=s+1,m=1):f=s,{weekYear:f,weekNumber:m,weekday:d,...(0,e.B9)(t)}}function h(t,r=4,n=1){let{weekYear:s,weekNumber:a,weekday:o}=t,u=c(i(s,1,r),n),d=(0,e.Ki)(s);let m=a*7+o-u-7+r,f;m<1?(f=s-1,m+=(0,e.Ki)(f)):m>d?(f=s+1,m-=(0,e.Ki)(s)):f=s;let{month:p,day:g}=l(f,m);return{year:f,month:p,day:g,...(0,e.B9)(t)}}function d(t){let{year:r,month:n,day:s}=t;let a=o(r,n,s);return{year:r,ordinal:a,...(0,e.B9)(t)}}function m(t){let{year:r,ordinal:n}=t;let{month:s,day:a}=l(r,n);return{year:r,month:s,day:a,...(0,e.B9)(t)}}function f(t,n){if(!(!(0,e.b0)(t.localWeekday)||!(0,e.b0)(t.localWeekNumber)||!(0,e.b0)(t.localWeekYear)))return{minDaysInFirstWeek:4,startOfWeek:1};{if(!(0,e.b0)(t.weekday)||!(0,e.b0)(t.weekNumber)||!(0,e.b0)(t.weekYear))throw new r.gN("Cannot mix locale-based week fields with ISO-based week fields");return!(0,e.b0)(t.localWeekday)&&(t.weekday=t.localWeekday),!(0,e.b0)(t.localWeekNumber)&&(t.weekNumber=t.localWeekNumber),!(0,e.b0)(t.localWeekYear)&&(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:n.getMinDaysInFirstWeek(),startOfWeek:n.getStartOfWeek()}}}function p(t,r=4,n=1){let s=(0,e.Fq)(t.weekYear),i=(0,e.f8)(t.weekNumber,1,(0,e.ac)(t.weekYear,r,n)),o=(0,e.f8)(t.weekday,1,7);return!s?a("weekYear",t.weekYear):(0,!i)?a("week",t.weekNumber):(0,!o)?a("weekday",t.weekday):(0,!1)}function g(t){let r=(0,e.Fq)(t.year),n=(0,e.f8)(t.ordinal,1,(0,e.Ki)(t.year));return!r?a("year",t.year):(0,!n)?a("ordinal",t.ordinal):!1}function y(t){let r=(0,e.Fq)(t.year),n=(0,e.f8)(t.month,1,12),s=(0,e.f8)(t.day,1,(0,e.L3)(t.year,t.month));return!r?a("year",t.year):(0,!n)?a("month",t.month):(0,!s)?a("day",t.day):(0,!1)}function v(t){let{hour:r,minute:n,second:s,millisecond:i}=t;let o=(0,e.f8)(r,0,23)||r===24&&n===0&&s===0&&i===0,l=(0,e.f8)(n,0,59),c=(0,e.f8)(s,0,59),u=(0,e.f8)(i,0,999);return!o?a("hour",r):(0,!l)?a("minute",n):(0,!c)?a("second",s):(0,!u)?a("millisecond",i):!1}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},689132(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ur:()=>m,rW:()=>h});var e=__webpack_require__(241361);var t=__webpack_require__(29947);var r=__webpack_require__(805248);var n=__webpack_require__(722837);var s=__webpack_require__(879771);var a=__webpack_require__(443697);var i=__webpack_require__(356583);var o=__webpack_require__(784225);var l=__webpack_require__(342672);var c=__webpack_require__(745085);let u="snap_dialog";let h={[n.h.Alert]:`${u}:alert`,[n.h.Confirmation]:`${u}:confirmation`,[n.h.Prompt]:`${u}:prompt`,default:u};let d=(0,l.lq)((0,o.Ej)((0,l.Yj)(),1,40));let m=Object.freeze({targetName:u,specificationBuilder:({allowedCaveats:r=null,messenger:n})=>{return{permissionType:e.eZ.RestrictedMethod,targetName:u,allowedCaveats:r,methodImplementation:j({messenger:n}),subjectTypes:[t.P.Snap]}},actionNames:["ApprovalController:addRequest","SnapInterfaceController:createInterface","SnapInterfaceController:getInterface","SnapInterfaceController:setInterfaceDisplayed"]});let f=(0,l.Ik)({type:(0,s.$9)(n.h.Alert),content:a.Qi});let p=(0,l.Ik)({type:(0,s.$9)(n.h.Alert),id:(0,l.Yj)()});let g=(0,s.E$)(e=>{return(0,c.Qd)(e)&&(0,c.i5)(e,"id")?p:(0,f)});let y=(0,l.Ik)({type:(0,s.$9)(n.h.Confirmation),content:a.Qi});let v=(0,l.Ik)({type:(0,s.$9)(n.h.Confirmation),id:(0,l.Yj)()});let b=(0,s.E$)(e=>{return(0,c.Qd)(e)&&(0,c.i5)(e,"id")?v:(0,y)});let k=(0,l.Ik)({type:(0,s.$9)(n.h.Prompt),content:a.Qi,placeholder:d});let w=(0,l.Ik)({type:(0,s.$9)(n.h.Prompt),id:(0,l.Yj)(),placeholder:d});let _=(0,s.E$)(e=>{return(0,c.Qd)(e)&&(0,c.i5)(e,"id")?w:(0,k)});let S=(0,l.Ik)({content:a.Qi});let T=(0,l.Ik)({id:(0,l.Yj)()});let x=(0,s.E$)(e=>{return(0,c.Qd)(e)&&(0,c.i5)(e,"id")?T:(0,S)});let E=(0,s.E$)(e=>{if((0,c.Qd)(e)&&(0,c.i5)(e,"type"))switch(e.type){case n.h.Alert:return g;case n.h.Confirmation:return b;case n.h.Prompt:return _;default:throw new Error(`The "type" property must be one of: ${Object.values(n.h).join(", ")}.`)}return x});function j({messenger:e}){return async function(t){let{params:n,context:{origin:s}}=t;if(!(0,c.Gv)(n))throw r.r.invalidParams({message:"Invalid params: Expected params to be a single object."});let a=I(n);let i=M(a)?a.placeholder:undefined;let o=h[(0,c.i5)(a,"type")?a.type:"default"];if((0,c.i5)(a,"content")){let t=e.call("SnapInterfaceController:createInterface",s,a.content);return e.call("SnapInterfaceController:setInterfaceDisplayed",s,t),e.call("ApprovalController:addRequest",{id:o===h.default?t:undefined,origin:s,type:o,requestData:{id:t,placeholder:i}},!0)}return A(s,a.id,e),e.call("SnapInterfaceController:setInterfaceDisplayed",s,a.id),e.call("ApprovalController:addRequest",{id:o===h.default?a.id:undefined,origin:s,type:o,requestData:{id:a.id,placeholder:i}},!0)}}function A(e,t,n){try{n.call("SnapInterfaceController:getInterface",e,t)}catch(e){throw r.r.invalidParams({message:`Invalid params: ${e.message}`})}}function C(e){return(0,c.i5)(e,"type")?e.type:undefined}function M(e){return C(e)===n.h.Prompt}function I(e){try{return(0,i.vt)(e,E)}catch(e){throw r.r.invalidParams({message:`Invalid params: ${e.message}`})}}}}).call(__webpack_require__._LM_("@metamask/snaps-rpc-methods",{__webpack_require__,__webpack_exports__}))()},695358(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Di:()=>i,Op:()=>n,gN:()=>s,hq:()=>r,iq:()=>a,jP:()=>o,t:()=>t});class e extends Error{}class t extends e{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class r extends e{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class n extends e{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class s extends e{}class a extends e{constructor(e){super(`Invalid unit ${e}`)}}class i extends e{}class o extends e{constructor(){super("Zone is an abstract class")}}}}).call(__webpack_require__._LM_("luxon",{__webpack_exports__,__webpack_require__}))()},702053(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{f:()=>h});var e=__webpack_require__(765698);var t=__webpack_require__(57324);var r=__webpack_require__(51450);var n=__webpack_require__(978802);var s=__webpack_require__(314408);var a=__webpack_require__(515400);var i=__webpack_require__(975431);var o=__webpack_require__(56680);var l=__webpack_require__(768571);let c=[2500,4e3];let u={};let h=(h,d={})=>{(0,l.I)(()=>{let l=(0,n.N)();let m=(0,s.X)("LCP");let f;let p=e=>{let t=e[e.length-1];t&&t.startTime<l.firstHiddenTime&&(m.value=Math.max(t.startTime-(0,r.b)(),0),m.entries=[t],f())};let g=(0,a.l)("largest-contentful-paint",p);if(g){f=(0,t.R)(h,m,c,d.reportAllChanges);let r=(0,o.J)(()=>{!u[m.id]&&(p(g.takeRecords()),g.disconnect(),u[m.id]=!0,f(!0))});["keydown","click"].forEach(t=>{e.j.document&&addEventListener(t,()=>setTimeout(r,0),!0)}),(0,i.Q)(r)}})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},704776(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{v:()=>d});var e=__webpack_require__(665812);var t=__webpack_require__(973544);var r=__webpack_require__(566612);var n=__webpack_require__(716547);var s=__webpack_require__(123532);var a=__webpack_require__(78463);var i=__webpack_require__(548697);var o=__webpack_require__(682631);var l=__webpack_require__(911216);var c=__webpack_require__(276435);var u=__webpack_require__(827284);var h=__webpack_require__(98154);function d(e,t,r,c,h="auto.http.browser"){if(!e.fetchData)return undefined;let g=(0,i.w)()&&t(e.fetchData.url);if(e.endTimestamp&&g){let t=e.fetchData.__span;if(!t)return;let r=c[t];return r&&(p(r,e),delete c[t]),undefined}let y=(0,s.o5)();let v=(0,s.KU)();let{method:b,url:k}=e.fetchData;let w=f(k);let _=w?(0,n.Dl)(w).host:undefined;let S=!!(0,o.Bk)();let T=g&&S?(0,u.Uk)({name:`${b} ${k}`,attributes:{url:k,type:"fetch","http.method":b,"http.url":w,"server.address":_,[a.JD]:h,[a.uT]:"http.client"}}):new l.w;if(e.fetchData.__span=T.spanContext().spanId,c[T.spanContext().spanId]=T,r(e.fetchData.url)&&v){let t=e.args[0];e.args[1]=e.args[1]||{};let r=e.args[1];r.headers=m(t,v,y,r,(0,i.w)()&&S?T:undefined)}return T}function m(n,a,i,l,c){let{traceId:u,spanId:d,sampled:m,dsc:f}={...(0,s.rm)().getPropagationContext(),...i.getPropagationContext()};let p=c?(0,o.Qh)(c):(0,t.TC)(u,d,m);let g=(0,r.De)(f||(c?(0,h.k1)(c):(0,h.lF)(u,a)));let y=l.headers||(typeof Request!=="undefined"&&(0,e.tH)(n,Request)?n.headers:undefined);if(!y)return{"sentry-trace":p,baggage:g};if(typeof Headers!=="undefined"&&(0,e.tH)(y,Headers)){let e=new Headers(y);return e.append("sentry-trace",p),g&&e.append(r.hF,g),e}if(Array.isArray(y)){let e=[...y,["sentry-trace",p]];return g&&e.push([r.hF,g]),e}{let e="baggage"in y?y.baggage:undefined;let t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),g&&t.push(g),{...y,"sentry-trace":p,baggage:t.length>0?t.join(","):undefined}}}function f(e){try{return new URL(e).href}catch(e){return undefined}}function p(e,t){if(t.response){(0,c.N8)(e,t.response.status);let r=t.response&&t.response.headers&&t.response.headers.get("content-length");if(r){let t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:c.TJ,message:"internal_error"});e.end()}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},705025(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>t});var e=__webpack_require__(142827);function t(t,r){return(0,e.E8)(t,e=>{return typeof e=="string"&&r.test(e)})}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},706524(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>o});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(382906);var n=__webpack_require__(335562);var s=__webpack_require__(879771);var a=__webpack_require__(676358);let i=(0,e.KC)([n.y,r.s3]);let o=(0,t.kp)(a.Wu,(0,e.Ik)({type:(0,s.eu)(a.Z6.Form),children:(0,e.YO)(i),name:(0,e.Yj)()}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},707212(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{V:()=>b});var e=__webpack_require__(536275);var t=__webpack_require__(513064);var r=__webpack_require__(665812);var n=__webpack_require__(613608);var s=__webpack_require__(814508);var a=__webpack_require__(84607);var i=__webpack_require__(316310);var o=__webpack_require__(402228);var l=__webpack_require__(283049);var c=__webpack_require__(298556);var u=__webpack_require__(123532);var h=__webpack_require__(352158);var d=__webpack_require__(713966);var m=__webpack_require__(577102);var f=__webpack_require__(172900);var p=__webpack_require__(98154);var g=__webpack_require__(865961);var y=__webpack_require__(612717);let v="Not capturing exception because it's already been captured.";class b{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=(0,e.AD)(t.dsn):h.T&&n.vF.warn("No DSN provided, client will not send events."),this._dsn){let e=(0,c.Z)(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:undefined);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(e,t,r){let a=(0,s.eJ)();if((0,s.GR)(e))return h.T&&n.vF.log(v),a;let i={event_id:a,...t};return this._process(this.eventFromException(e,i).then(e=>this._captureEvent(e,i,r))),i.event_id}captureMessage(e,t,n,a){let i={event_id:(0,s.eJ)(),...n};let o=(0,r.NF)(e)?e:String(e);let l=(0,r.sO)(e)?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(l.then(e=>this._captureEvent(e,i,a))),i.event_id}captureEvent(e,t,r){let a=(0,s.eJ)();if(t&&t.originalException&&(0,s.GR)(t.originalException))return h.T&&n.vF.log(v),a;let i={event_id:a,...t};let o=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,i,o||r)),i.event_id}captureSession(e){typeof e.release=="string"?(this.sendSession(e),(0,f.qO)(e,{init:!1})):h.T&&n.vF.warn("Discarded session because of missing or non-string release")}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(r=>{return t.flush(e).then(e=>r&&e)})):(0,(0,i.XW)(!0))}close(e){return this.flush(e).then(e=>{return this.getOptions().enabled=!1,this.emit("close"),e})}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];(0,m.qm)(this,e,this._integrations),!t&&(0,m.lc)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=(0,d.V7)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=(0,o.W3)(r,(0,o.bm)(e));let n=this.sendEnvelope(r);n&&n.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=(0,d.LE)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,r){if(this._options.sendClientReports){let s=typeof r=="number"?r:1;let a=`${e}:${t}`;h.T&&n.vF.log(`Recording outcome: "${a}"${s>1?` (${s} times)`:""}`),this._outcomes[a]=(this._outcomes[a]||0)+s}}on(e,t){let r=this._hooks[e]=this._hooks[e]||[];return r.push(t),()=>{let e=r.indexOf(t);e>-1&&r.splice(e,1)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>{return h.T&&n.vF.error("Error while sending event:",e),e}):(h.T&&n.vF.error("Transport disabled"),(0,i.XW)({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=(0,m.P$)(this,e),(0,m.lc)(this,e)}_updateSessionFromEvent(e,t){let r=!1;let n=!1;let s=t.exception&&t.exception.values;if(s)for(let e of(n=!0,s)){let t=e.mechanism;if(t&&t.handled===!1){r=!0;break}}let a=e.status==="ok";(a&&e.errors===0||a&&r)&&((0,f.qO)(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}_isClientDoneProcessing(e){return new i.T2(t=>{let r=0;let n=setInterval(()=>{this._numProcessing==0?(clearInterval(n),t(!0)):(r+=1,e&&r>=e&&(clearInterval(n),t(!1)))},1)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==undefined}_prepareEvent(e,t,r,n=(0,u.rm)()){let s=this.getOptions();let i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),this.emit("preprocessEvent",e,t),!e.type&&n.setLastEventId(e.event_id||t.event_id),(0,y.mG)(s,e,t,r,this,n).then(e=>{if(e===null)return e;let t={...n.getPropagationContext(),...r?r.getPropagationContext():undefined};if(!(e.contexts&&e.contexts.trace)&&t){let{traceId:r,spanId:n,parentSpanId:s,dsc:i}=t;e.contexts={trace:(0,a.Ce)({trace_id:r,span_id:n,parent_span_id:s}),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:i||(0,p.lF)(r,this),...e.sdkProcessingMetadata}}return e})}_captureEvent(e,t={},r){return this._processEvent(e,t,r).then(e=>{return e.event_id},e=>{return h.T&&(e.logLevel==="log"?n.vF.log(e.message):n.vF.warn(e)),undefined})}_processEvent(e,r,n){let s=this.getOptions();let{sampleRate:a}=s;let o=S(e);let l=_(e);let c=e.type||"error";let u=`before send for type \`${c}\``;let h=a===void 0?undefined:(0,g.i)(a);if(l&&typeof h=="number"&&Math.random()>h)return this.recordDroppedEvent("sample_rate","error",e),(0,i.xg)(new t.U(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));let d=c==="replay_event"?"replay":c;let m=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,r,n,m).then(n=>{if(n===null)throw this.recordDroppedEvent("event_processor",d,e),new t.U("An event processor returned `null`, will not send event.","log");return r.data&&r.data.__sentry__===!0?n:(0,k(w(this,s,n,r),u))}).then(s=>{if(s===null){if(this.recordDroppedEvent("before_send",d,e),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new t.U(`${u} returned \`null\`, will not send event.`,"log")}let a=n&&n.getSession();if(!o&&a&&this._updateSessionFromEvent(a,s),o){let e=(s.sdkProcessingMetadata&&s.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(s.spans?s.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let i=s.transaction_info;return o&&i&&s.transaction!==e.transaction&&(s.transaction_info={...i,source:"custom"}),this.sendEvent(s,r),s}).then(null,e=>{if(e instanceof t.U)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new t.U(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>{return this._numProcessing--,e},e=>{return this._numProcessing--,e})}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[r,n]=e.split(":");return{reason:r,category:n,quantity:t}})}_flushOutcomes(){h.T&&n.vF.log("Flushing outcomes...");let t=this._clearOutcomes();if(t.length===0){h.T&&n.vF.log("No outcomes to send");return}if(!this._dsn){h.T&&n.vF.log("No dsn provided, will not send outcomes");return}h.T&&n.vF.log("Sending outcomes:",t);let r=(0,l.m)(t,this._options.tunnel&&(0,e.SB)(this._dsn));this.sendEnvelope(r)}}function k(e,n){let s=`${n} must return \`null\` or a valid event.`;if((0,r.Qg)(e))return e.then(e=>{if(!(0,r.Qd)(e)&&e!==null)throw new t.U(s);return e},e=>{throw new t.U(`${n} rejected with ${e}`)});if(!(0,r.Qd)(e)&&e!==null)throw new t.U(s);return e}function w(e,t,r,n){let{beforeSend:s,beforeSendTransaction:a,beforeSendSpan:i}=t;if(_(r)&&s)return s(r,n);if(S(r)){if(r.spans&&i){let t=[];for(let n of r.spans){let r=i(n);r?t.push(r):e.recordDroppedEvent("before_send","span")}r.spans=t}if(a){if(r.spans){let e=r.spans.length;r.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(r,n)}}return r}function _(e){return e.type===undefined}function S(e){return e.type==="transaction"}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},708521(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{r:()=>n});var e=__webpack_require__(769233);var t=__webpack_require__(370861);let r=null;function n(e){let r="unhandledrejection";(0,t.s5)(r,e),(0,t.AS)(r,s)}function s(){r=e.O.onunhandledrejection,e.O.onunhandledrejection=function(e){return((0,t.aj)("unhandledrejection",e),r&&!r.__SENTRY_LOADER__)?r.apply(this,arguments):(0,!0)},e.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},709356(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Lb:()=>s,d_:()=>n});var e=__webpack_require__(84607);let t="_sentryScope";let r="_sentryIsolationScope";function n(n,s,a){n&&((0,e.my)(n,r,a),(0,e.my)(n,t,s))}function s(e){return{scope:e[t],isolationScope:e[r]}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},709502(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>r});var e=__webpack_require__(921368);var t=__webpack_require__(769233);function r(){return typeof window!=="undefined"&&(!(0,e.wD)()||n())}function n(){return t.O.process!==undefined&&t.O.process.type==="renderer"}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},713966(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{LE:()=>a,V7:()=>i,lu:()=>o});var e=__webpack_require__(536275);var t=__webpack_require__(402228);var r=__webpack_require__(98154);var n=__webpack_require__(682631);function s(e,t){return!t||(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function a(r,n,s,a){let i=(0,t.Cj)(s);let o={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!a&&n&&{dsn:(0,e.SB)(n)}};let l="aggregates"in r?[{type:"sessions"},r]:[{type:"session"},r.toJSON()];return(0,t.h4)(o,[l])}function i(e,r,n,a){let i=(0,t.Cj)(n);let o=e.type&&e.type!=="replay_event"?e.type:"event";s(e,n&&n.sdk);let l=(0,t.n2)(e,i,a,r);delete e.sdkProcessingMetadata;let c=[{type:o},e];return(0,t.h4)(l,[c])}function o(s,a){function i(e){return!!e.trace_id&&!!e.public_key}let o=(0,r.k1)(s[0]);let l=a&&a.getDsn();let c=a&&a.getOptions().tunnel;let u={sent_at:new Date().toISOString(),...i(o)&&{trace:o},...!!c&&l&&{dsn:(0,e.SB)(l)}};let h=a&&a.getOptions().beforeSendSpan;let d=h?e=>h((0,n.et)(e)):e=>(0,n.et)(e);let m=[];for(let e of s){let r=d(e);r&&m.push((0,t.y5)(r))}return(0,t.h4)(u,m)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},716547(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"";let n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function t(e){return e.split(/[?#]/,1)[0]}__webpack_require__.d(__webpack_exports__,{Dl:()=>e,f:()=>t})}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},721127(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Cw:()=>r,c9:()=>n,dO:()=>t,pr:()=>e});let e="APP_INIT_ALIVE";let t="ALIVE";let r="BACKGROUND_INITIALIZED";let n="START_UI_SYNC"}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},722837(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e;var t;__webpack_require__.d(__webpack_exports__,{h:()=>e}),(t=e||(e={}))["Alert"]="alert",t["Confirmation"]="confirmation",t["Prompt"]="prompt"}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_exports__,__webpack_require__}))()},723808(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>r});var e=__webpack_require__(329537);var t=__webpack_require__(461582);let r={increment:function(r,n=1,s){e.q.increment(t.v,r,n,s)},distribution:function(r,n,s){e.q.distribution(t.v,r,n,s)},set:function(r,n,s){e.q.set(t.v,r,n,s)},gauge:function(r,n,s){e.q.gauge(t.v,r,n,s)},timing:function(r,n,s="second",a){return e.q.timing(t.v,r,n,s,a)}}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},735641(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Vu:()=>g,dm:()=>s});var e=__webpack_require__(123532);var t=__webpack_require__(682631);var r=__webpack_require__(6246);var n=__webpack_require__(301170);let s=[/^https:\/\/[a-z0-9.-]+\.(?:[a-z0-9]+-)?api\.cx\.metamask\.io(?:[/?#]|$)/u];let a;let i=new Map;function o(e){return e%2==1}function l(e){return s.some(t=>t.test(e))}function c(){try{let r=(0,t.Bk)();if(r){let{traceId:e,spanId:t,traceFlags:n}=r.spanContext();if(!e||!t)return undefined;let s=o(n??1)?"01":"00";return`00-${e}-${t}-${s}`}let{traceId:n,spanId:s,sampled:a}={...(0,e.rm)().getPropagationContext(),...(0,e.o5)().getPropagationContext()};if(!n||!s)return undefined;return`00-${n}-${s}-${a===!1?"00":"01"}`}catch{return undefined}}function u(e){return`consensys-request-id=${e},consensys-application=${"metamask-extension"}`}function h(e){return typeof Request!=="undefined"&&e instanceof Request}function d(e){let t=new Headers;if(!e)return t;if(typeof Headers!=="undefined"&&e instanceof Headers)e.forEach((e,r)=>t.append(r,e));else if(Array.isArray(e))for(let r of e){let[e,n]=r;n!==undefined&&n!==null&&t.append(e,String(n))}else if(typeof e=="object")for(let[r,n]of Object.entries(e))n!==undefined&&n!==null&&t.append(r,String(n));return t}function m(e,{traceparent:t,requestId:r}){let[n,s]=e;let a=d(h(n)?n.headers:undefined);return d(s?.headers).forEach((e,t)=>{a.set(t,e)}),t&&!a.has("traceparent")&&a.set("traceparent",t),a.append("baggage",u(r)),a}function f(e){let[,t]=e.split("-");return t||undefined}function p(e,t){if(i.has(e)){i.get(e)!==t&&i.set(e,null);return}if(i.set(e,t),i.size<=100)return;let r=i.keys().next().value;r&&i.delete(r)}function g({log:e}){return{name:"ConsensysTracePropagation",afterAllSetup:()=>{(0,r.ur)(t=>{if(t.endTimestamp!==undefined)return;let r=t.fetchData?.url;if(!r||!l(r))return;try{let e=(0,(0,n.A)());a=e;let r=c();if(r){let t=f(r);t&&p(t,e)}let s=m(t.args,{traceparent:r,requestId:e});t.args[1]=t.args[1]||{},t.args[1].headers=s}catch(t){e("Failed to propagate trace headers",t)}})},processEvent:(e,t,r)=>{let n=e.contexts?.trace?.trace_id;if(n){e.tags={...e.tags,otelTraceId:n};let t=i.get(n);t&&(e.tags={...e.tags,consensysRequestId:t})}return e}}}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},745085(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){return Array.isArray(e)&&e.length>0}function t(e){return e===null||e===undefined}function r(e){return Boolean(e)&&typeof e=="object"&&!Array.isArray(e)}__webpack_require__.d(__webpack_exports__,{EI:()=>e,Gv:()=>r,Qd:()=>o,VM:()=>s,hX:()=>t,i5:()=>n});let n=(e,t)=>Object.hasOwnProperty.call(e,t);function s(e){return Object.getOwnPropertyNames(e)}var a;var i;(i=a=a||(a={}))[i["Null"]=4]="Null",i[i["Comma"]=1]="Comma",i[i["Wrapper"]=1]="Wrapper",i[i["True"]=4]="True",i[i["False"]=5]="False",i[i["Quote"]=1]="Quote",i[i["Colon"]=1]="Colon",i[i["Date"]=24]="Date";function o(e){if(typeof e!=="object"||e===null)return!1;try{let t=e;while(Object.getPrototypeOf(t)!==null)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}catch(e){return!1}}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_exports__,__webpack_require__}))()},748028(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>r});var e=__webpack_require__(178066);var t=__webpack_require__(810087);let r=(0,e.aD)({lazyLoadIntegration:t.b})}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},750628(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>l});var e=__webpack_require__(512986);var t=__webpack_require__(835203);let r={};function n(e){return!r[e]&&(r[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),r[e]}let s={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function a(e,t){let r=e.format(t).replace(/\u200E/g,""),[,n,s,a,i,o,l,c]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r);return[a,n,s,i,o,l,c]}function i(t,r){let n=t.formatToParts(r);let a=[];for(let t=0;t<n.length;t++){let{type:r,value:i}=n[t];let o=s[r];r==="era"?a[o]=i:!(0,e.b0)(o)&&(a[o]=parseInt(i,10))}return a}let o={};class l extends t.A{static create(e){return!o[e]&&(o[e]=new l(e)),o[e]}static resetCache(){o={},r={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=l.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:r,locale:n}){return(0,e.wG)(t,r,n,this.name)}formatOffset(t,r){return(0,e.xS)(this.offset(t),r)}offset(t){let r=new Date(t);if(isNaN(r))return NaN;let s=n(this.name);let[o,l,c,u,h,d,m]=s.formatToParts?i(s,r):a(s,r);u==="BC"&&(o=-Math.abs(o)+1);let f=(0,e.JZ)({year:o,month:l,day:c,hour:h===24?0:h,minute:d,second:m,millisecond:0});let p=+r;let g=p%1e3;return(f-(p-=g>=0?g:1e3+g))/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},753036(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$2:()=>u,Q_:()=>d,Vv:()=>f,Yj:()=>a,c9:()=>p,dY:()=>l,lG:()=>g});var e=__webpack_require__(414753);function t(t,r,n,s){let a={filename:t,function:r==="<anonymous>"?e.yF:r,in_app:!0};return n!==undefined&&(a.lineno=n),s!==undefined&&(a.colno=s),a}let r=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;let n=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;let s=/\((\S*)(?::(\d+))(?::(\d+))\)/;let a=[30,a=>{let i=r.exec(a);if(i){let[,r,n,s]=i;return t(r,e.yF,+n,+s)}let o=n.exec(a);if(o){if(o[2]&&o[2].indexOf("eval")===0){let e=s.exec(o[2]);e&&(o[2]=e[1],o[3]=e[2],o[4]=e[3])}let[r,n]=y(o[1]||e.yF,o[2]);return t(n,r,o[3]?+o[3]:undefined,o[4]?+o[4]:undefined)}return}];let i=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;let o=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;let l=[50,r=>{let n=i.exec(r);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){let e=o.exec(n[3]);e&&(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]="")}let r=n[3];let s=n[1]||e.yF;return[s,r]=y(s,r),t(r,s,n[4]?+n[4]:undefined,n[5]?+n[5]:undefined)}return}];let c=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;let u=[40,r=>{let n=c.exec(r);return n?t(n[2],n[1]||e.yF,+n[3],n[4]?+n[4]:undefined):undefined}];let h=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;let d=[10,r=>{let n=h.exec(r);return n?t(n[2],n[3]||e.yF,+n[1]):undefined}];let m=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i;let f=[20,r=>{let n=m.exec(r);return n?t(n[5],n[3]||n[4]||e.yF,+n[1],+n[2]):undefined}];let p=[a,l];let g=(0,e.gd)(...p);let y=(t,r)=>{let n=t.indexOf("safari-extension")!==-1;let s=t.indexOf("safari-web-extension")!==-1;return n||s?[t.indexOf("@")!==-1?t.split("@")[0]:e.yF,n?`safari-extension:${r}`:`safari-web-extension:${r}`]:[t,r]}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},754255(module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";module.exports=a,a.default=a,a.stable=c,a.stableStringify=c;var e="[...]";var t="[Circular]";var r=[];var n=[];function s(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(e,t,a,i){var l;i===void 0&&(i=s()),o(e,"",0,[],undefined,0,i);try{l=n.length===0?JSON.stringify(e,t,a):JSON.stringify(e,h(t),a)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{while(r.length!==0){var c=r.pop();c.length===4?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return l}function i(e,t,s,a){var i=Object.getOwnPropertyDescriptor(a,s);i.get!==undefined?i.configurable?(Object.defineProperty(a,s,{value:e}),r.push([a,s,t,i])):n.push([t,s,e]):(a[s]=e,r.push([a,s,t]))}function o(r,n,s,a,l,c,u){var h;if(c+=1,typeof r=="object"&&r!==null){for(h=0;h<a.length;h++)if(a[h]===r){i(t,r,n,l);return}if(u.depthLimit!==void 0&&c>u.depthLimit||u.edgesLimit!==void 0&&s+1>u.edgesLimit){i(e,r,n,l);return}if(a.push(r),Array.isArray(r))for(h=0;h<r.length;h++)o(r[h],h,h,a,r,c,u);else{var d=Object.keys(r);for(h=0;h<d.length;h++){var m=d[h];o(r[m],m,h,a,r,c,u)}}a.pop()}}function l(e,t){return e<t?-1:(0,e>t)?1:(0,0)}function c(e,t,a,i){i===void 0&&(i=s());var o=u(e,"",0,[],undefined,0,i)||e;var l;try{l=n.length===0?JSON.stringify(o,t,a):JSON.stringify(o,h(t),a)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{while(r.length!==0){var c=r.pop();c.length===4?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return l}function u(n,s,a,o,c,h,d){var m;if(h+=1,typeof n=="object"&&n!==null){for(m=0;m<o.length;m++)if(o[m]===n){i(t,n,s,c);return}try{if(typeof n.toJSON=="function")return}catch(e){return}if(d.depthLimit!==void 0&&h>d.depthLimit||d.edgesLimit!==void 0&&a+1>d.edgesLimit){i(e,n,s,c);return}if(o.push(n),Array.isArray(n))for(m=0;m<n.length;m++)u(n[m],m,m,o,n,h,d);else{var f={};var p=Object.keys(n).sort(l);for(m=0;m<p.length;m++){var g=p[m];u(n[g],g,m,o,n,h,d),f[g]=n[g]}if(c===void 0)return f;r.push([c,s,n]),c[s]=f}o.pop()}}function h(e){return e=e!==void 0?e:function(e,t){return t},function(t,r){if(n.length>0)for(var s=0;s<n.length;s++){var a=n[s];if(a[1]===t&&a[0]===r){r=a[2],n.splice(s,1);break}}return e.call(this,t,r)}}}}).call(__webpack_require__._LM_("@metamask/rpc-errors>fast-safe-stringify",{module,__webpack_require__}))()},760184(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Cv:()=>k,I4:()=>y,IV:()=>v,Ky:()=>m,Lo:()=>d,Ph:()=>g,Sh:()=>f,UG:()=>h,mu:()=>w,nF:()=>_,qI:()=>u,vw:()=>p});var e=__webpack_require__(784225);var t=__webpack_require__(342672);var r=__webpack_require__(661330);var n=__webpack_require__(456895);var s=__webpack_require__(896639);let{memoize:a}=n;let i=/^(?:0x)?[0-9a-f]+$/iu;let o=/^0x[0-9a-f]+$/iu;let l=/^0x[0-9a-f]{40}$/u;let c=/^0x[0-9a-fA-F]{40}$/u;(0,e.T1)((0,t.Yj)(),i);let u=(0,e.T1)((0,t.Yj)(),o);(0,e.T1)((0,t.Yj)(),l);let h=(0,e.T1)((0,t.Yj)(),c);function d(e){return(0,typeof e=="string")&&i.test(e)}function m(e){return(0,typeof e=="string")&&o.test(e)}function f(e){return(0,typeof e=="string")&&l.test(e)}function p(e){return(0,typeof e=="string")&&c.test(e)}function g(e){(0,s.vA)(d(e),"Value must be a hexadecimal string.")}function y(e){(0,s.vA)(m(e),'Value must be a hexadecimal string, starting with "0x".')}let v=a(function(e){(0,s.vA)(p(e),"Invalid hex address.");let t=_(e).toLowerCase();let n=(0,r.lY)(t);let{length:a}=t;let i=new Array(a);for(let e=0;e<a;e++){let r=e>>1;let s=e&1;let a=n[r];let o=s===0?a>>4:a&15;i[e]=o>=8?t[e].toUpperCase():t[e]}return`0x${i.join("")}`});let b=a(function(e){return!p(e)?!1:(0,v(e)===e)});let k=a(function(e){return f(e)||b(e)});function w(e){return e.startsWith("0x")?e:(0,e.startsWith("0X"))?`0x${e.substring(2)}`:(0,`0x${e}`)}function _(e){return e.startsWith("0x")||e.startsWith("0X")?e.substring(2):(0,e)}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},761788(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ef:()=>t,u1:()=>r}),__webpack_require__(762565);var e=__webpack_require__(745085);function t(e){return typeof e=="object"&&e!==null&&"message"in e}function r(r){return t(r)&&typeof r.message=="string"?r.message:(0,(0,e.hX)(r))?"":(0,String(r))}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},762565(__unused_webpack___webpack_module__,__unused_webpack___webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__(178430)}}).call(__webpack_require__._LM_("@metamask/utils>pony-cause",{__webpack_require__}))()},763935(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z9:()=>h});var e=__webpack_require__(17072);var t=__webpack_require__(402228);var r=__webpack_require__(466024);function n(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function s(e,t){let r=indexedDB.open(e);r.onupgradeneeded=()=>r.result.createObjectStore(t);let s=n(r);return e=>s.then(r=>e(r.transaction(t,"readwrite").objectStore(t)))}function a(e){return n(e.getAllKeys())}function i(e,t,r){return e(e=>{return a(e).then(s=>{if(s.length>=r)return;return e.put(t,Math.max(...s,0)+1),n(e.transaction)})})}function o(e,t,r){return e(e=>{return a(e).then(s=>{if(s.length>=r)return;return e.put(t,Math.min(...s,0)-1),n(e.transaction)})})}function l(e){return e(e=>{return a(e).then(t=>{let r=t[0];return r==null?undefined:(0,n(e.get(r)).then(t=>{return e.delete(r),n(e.transaction).then(()=>t)}))})})}function c(e){let r;function n(){return r==undefined&&(r=s(e.dbName||"sentry-offline",e.storeName||"queue")),r}return{push:async r=>{try{let s=await (0,t.bN)(r);await i(n(),s,e.maxQueueSize||30)}catch(e){}},unshift:async r=>{try{let s=await (0,t.bN)(r);await o(n(),s,e.maxQueueSize||30)}catch(e){}},shift:async()=>{try{let e=await l(n());if(e)return(0,t.mE)(e)}catch(e){}return undefined}}}function u(e){return t=>e({...t,createStore:c})}function h(t=r._){return u((0,e.BP)(t))}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},765698(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{j:()=>e});let e=__webpack_require__(769233).O}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},768571(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>t});var e=__webpack_require__(765698);let t=t=>{e.j.document&&e.j.document.prerendering?addEventListener("prerenderingchange",()=>t(),!0):t()}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},769233(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>r,O:()=>t});var e=__webpack_require__(109910);let t=globalThis;function r(r,n,s){let a=s||t;let i=a.__SENTRY__=a.__SENTRY__||{};let o=i[e.M]=i[e.M]||{};return o[r]||(o[r]=n())}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},772879(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>l});var e=__webpack_require__(765698);var t=__webpack_require__(57324);var r=__webpack_require__(51450);var n=__webpack_require__(234512);var s=__webpack_require__(314408);var a=__webpack_require__(768571);let i=[800,1800];let o=t=>{e.j.document&&e.j.document.prerendering?(0,a.I)(()=>o(t)):e.j.document&&e.j.document.readyState!=="complete"?addEventListener("load",()=>o(t),!0):setTimeout(t,0)};let l=(e,a={})=>{let l=(0,s.X)("TTFB");let c=(0,t.R)(e,l,i,a.reportAllChanges);o(()=>{let e=(0,n.z)();if(e){let t=e.responseStart;if(t<=0||t>performance.now())return;l.value=Math.max(t-(0,r.b)(),0),l.entries=[e],c(!0)}})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},774810(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>n});var e=__webpack_require__(512986);var t=__webpack_require__(835203);let r=null;class n extends t.A{static get utcInstance(){return r===null&&(r=new n(0)),r}static instance(e){return e===0?n.utcInstance:new n(e)}static parseSpecifier(t){if(t){let r=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new n((0,e.gu)(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${(0,e.xS)(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":(0,`Etc/GMT${(0,e.xS)(-this.fixed,"narrow")}`)}offsetName(){return this.name}formatOffset(t,r){return(0,e.xS)(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},775158(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{GR:()=>A,Z7:()=>M,np:()=>E,ws:()=>C,zb:()=>j});var e=__webpack_require__(512986);var t=__webpack_require__(868766);var r=__webpack_require__(774810);var n=__webpack_require__(750628);var s=__webpack_require__(835060);var a=__webpack_require__(138292);var i=__webpack_require__(695358);function o(e,t=e=>e){return{regex:e,deser:([e])=>t((0,a.o_)(e))}}let l=String.fromCharCode(160);let c=`[ ${l}]`;let u=new RegExp(c,"g");function h(e){return e.replace(/\./g,"\\.?").replace(u,c)}function d(e){return e.replace(/\./g,"").replace(u," ").toLowerCase()}function m(e,t){return e===null?null:(0,{regex:RegExp(e.map(h).join("|")),deser:([r])=>e.findIndex(e=>d(r)===d(e))+t})}function f(t,r){return{regex:t,deser:([,t,r])=>(0,e.gu)(t,r),groups:r}}function p(e){return{regex:e,deser:([e])=>e}}function g(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function y(t,r){let n=(0,a.dO)(r),s=(0,a.dO)(r,"{2}"),i=(0,a.dO)(r,"{3}"),l=(0,a.dO)(r,"{4}"),c=(0,a.dO)(r,"{6}"),u=(0,a.dO)(r,"{1,2}"),h=(0,a.dO)(r,"{1,3}"),d=(0,a.dO)(r,"{1,6}"),y=(0,a.dO)(r,"{1,9}"),v=(0,a.dO)(r,"{2,4}"),b=(0,a.dO)(r,"{4,6}"),k=e=>({regex:RegExp(g(e.val)),deser:([e])=>e,literal:!0});let w=(a=>{if(t.literal)return k(a);switch(a.val){case"G":return m(r.eras("short"),0);case"GG":return m(r.eras("long"),0);case"y":return o(d);case"yy":return o(v,e.fT);case"yyyy":return o(l);case"yyyyy":return o(b);case"yyyyyy":return o(c);case"M":return o(u);case"MM":return o(s);case"MMM":return m(r.months("short",!0),1);case"MMMM":return m(r.months("long",!0),1);case"L":return o(u);case"LL":return o(s);case"LLL":return m(r.months("short",!1),1);case"LLLL":return m(r.months("long",!1),1);case"d":return o(u);case"dd":return o(s);case"o":return o(h);case"ooo":return o(i);case"HH":return o(s);case"H":return o(u);case"hh":return o(s);case"h":return o(u);case"mm":return o(s);case"m":return o(u);case"q":return o(u);case"qq":return o(s);case"s":return o(u);case"ss":return o(s);case"S":return o(h);case"SSS":return o(i);case"u":return p(y);case"uu":return p(u);case"uuu":return o(n);case"a":return m(r.meridiems(),0);case"kkkk":return o(l);case"kk":return o(v,e.fT);case"W":return o(u);case"WW":return o(s);case"E":case"c":return o(n);case"EEE":return m(r.weekdays("short",!1),1);case"EEEE":return m(r.weekdays("long",!1),1);case"ccc":return m(r.weekdays("short",!0),1);case"cccc":return m(r.weekdays("long",!0),1);case"Z":case"ZZ":return f(new RegExp(`([+-]${u.source})(?::(${s.source}))?`),2);case"ZZZ":return f(new RegExp(`([+-]${u.source})(${s.source})?`),2);case"z":return p(/[a-z_+-/]{1,256}?/i);case" ":return p(/[^\S\n\r]/);default:return k(a)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return w.token=t,w}let v={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"}};function b(e,t,r){let{type:n,value:s}=e;if(n==="literal"){let e=/^\s+$/.test(s);return{literal:!e,val:e?" ":s}}let a=t[n];let i=n;n==="hour"&&(i=t.hour12!=null?t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?"hour12":"hour24":r.hour12?"hour12":"hour24");let o=v[i];return(typeof o=="object"&&(o=o[a]),o)?{literal:!1,val:o}:(0,undefined)}function k(e){let t=e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"");return[`^${t}$`,e]}function w(t,r,n){let s=t.match(r);if(!s)return[s,{}];{let t={};let r=1;for(let a in n)if((0,e.mQ)(n,a)){let e=n[a],i=e.groups?e.groups+1:1;!e.literal&&e.token&&(t[e.token.val[0]]=e.deser(s.slice(r,r+i))),r+=i}return[s,t]}}function _(t){let s=null;let a;return!(0,e.b0)(t.z)&&(s=n.A.create(t.z)),!(0,e.b0)(t.Z)&&(!s&&(s=new r.A(t.Z)),a=t.Z),!(0,e.b0)(t.q)&&(t.M=(t.q-1)*3+1),!(0,e.b0)(t.h)&&(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),!(0,e.b0)(t.u)&&(t.S=(0,e.m3)(t.u)),[Object.keys(t).reduce((e,r)=>{let n=(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}})(r);return n&&(e[n]=t[r]),e},{}),s,a]}let S=null;function T(){return!S&&(S=s.A.fromMillis(0x16a2e5618e3)),S}function x(e,r){if(e.literal)return e;let n=M(t.A.macroTokenToFormatOpts(e.val),r);return n==null||n.includes(undefined)?e:(0,n)}function E(e,t){return Array.prototype.concat(...e.map(e=>x(e,t)))}class j{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=E(t.A.parseFormat(r),e),this.units=this.tokens.map(t=>y(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){let[e,t]=k(this.units);this.regex=RegExp(e,"i"),this.handlers=t}}explainFromTokens(t){if(!this.isValid)return{input:t,tokens:this.tokens,invalidReason:this.invalidReason};{let[r,n]=w(t,this.regex,this.handlers),[s,a,o]=n?_(n):[null,null,undefined];if((0,e.mQ)(n,"a")&&(0,e.mQ)(n,"H"))throw new i.gN("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:s,zone:a,specificOffset:o}}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function A(e,t,r){return new j(e,r).explainFromTokens(t)}function C(e,t,r){let{result:n,zone:s,specificOffset:a,invalidReason:i}=A(e,t,r);return[n,s,a,i]}function M(e,r){if(!e)return null;let n=t.A.create(r,e).dtFormatter(T());let s=n.formatToParts();let a=n.resolvedOptions();return s.map(t=>b(t,e,a))}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},777544(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Kc:()=>e,L5:()=>t,VJ:()=>r});let e=Object.freeze({"endowment:network-access":"endowment:network-access","endowment:transaction-insight":"endowment:transaction-insight","endowment:cronjob":"endowment:cronjob","endowment:ethereum-provider":"endowment:ethereum-provider","endowment:rpc":"endowment:rpc","endowment:webassembly":"endowment:webassembly","endowment:lifecycle-hooks":"endowment:lifecycle-hooks","endowment:multichain-provider":"endowment:multichain-provider","endowment:page-home":"endowment:page-home","endowment:page-settings":"endowment:page-settings","endowment:signature-insight":"endowment:signature-insight","endowment:name-lookup":"endowment:name-lookup","endowment:assets":"endowment:assets","endowment:protocol":"endowment:protocol","endowment:keyring":"endowment:keyring"});let t=Object.freeze({});let r=Object.freeze({"endowment:caip25":"eth_accounts is disabled. For more information please see https://github.com/MetaMask/snaps/issues/990."});Object.freeze(["endowment:caip25"])}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},778313(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>t});var e=__webpack_require__(613608);let t=(0,__webpack_require__(577102)._C)((t={})=>{let r={debugger:!1,stringify:!1,...t};return{name:"Debug",setup(t){t.on("beforeSendEvent",(t,n)=>{if(r.debugger)debugger;(0,e.pq)(()=>{r.stringify?(console.log(JSON.stringify(t,null,2)),n&&Object.keys(n).length&&console.log(JSON.stringify(n,null,2))):(console.log(t),n&&Object.keys(n).length&&console.log(n))})})}}})}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},778552(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>s});var e=__webpack_require__(613608);var t=__webpack_require__(352158);var r=__webpack_require__(548697);var n=__webpack_require__(865961);function s(s,a){if(!(0,r.w)(s))return[!1];let i;i=typeof s.tracesSampler=="function"?s.tracesSampler(a):a.parentSampled!==undefined?a.parentSampled:s.tracesSampleRate!==void 0?s.tracesSampleRate:1;let o=(0,n.i)(i);return o===undefined?(t.T&&e.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):(0,!o)?(t.T&&e.vF.log(`[Tracing] Discarding transaction because ${typeof s.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,o]):(0,!(Math.random()<o))?(t.T&&e.vF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),[!1,o]):(0,[!0,o])}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},780094(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>e});class e{#e;#t=new Map;constructor(e,t={},r=2e4){for(let[r,n]of(this.#e=e,Object.entries(t))){let e=new Map;for(let t of n){let n=[];let s=(...e)=>{n.push(e)};this.#r(r,t).addListener(s),e.set(t,{listener:s,args:n})}this.#t.set(r,e)}this.#n(r)}#n(e){setTimeout(()=>{for(let[t,r]of this.#t)for(let[n,{args:s}]of r){let r=`ExtensionLazyListener: Possible memory leak detected. The event "${t}.${n}" has been listened to, but no application code has added a listener after ${e}ms. There are currently ${s.length} buffered calls. If you are a developer of this extension, please ensure that you have added a listener for this event. If you are a user of this extension, please report this warning to the developers of the extension.`;!0&&console.error(r)}},e)}#r(e,t){return this.#e[e][t]}addListener(e,t,r){let n=this.#r(e,t);n.addListener(r);let s=this.#t.get(e);if(s){let a=s.get(t);if(a){n.removeListener(a.listener),s.delete(t),s.size===0&&this.#t.delete(e);let{args:i}=a;for(let o=0,{length:l}=i;o<l;o++)try{if(r(...i[o]),!n.hasListener(r)){let r=o+1;r!==l&&(i.splice(0,r),s.set(t,a),this.#t.set(e,s),n.addListener(a.listener));break}}catch(c){let r=o+1;throw r!==l&&(i.splice(0,r),s.set(t,a),this.#t.set(e,s),n.addListener(a.listener)),c}}}}once(e,t){return new Promise(r=>{let n=this.#r(e,t);let s=this.#t.get(e);if(s){let a=s.get(t);let i=a?.args.length;if(i){r(a.args.shift()),n.removeListener(a.listener),i===1&&(s.delete(t),s.size===0&&this.#t.delete(e));return}}let a=(...e)=>{n.removeListener(a),r(e)};n.addListener(a)})}}}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},784225(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$l:()=>s,Ej:()=>i,Ie:()=>r,T1:()=>a,YP:()=>o});var e=__webpack_require__(356583);var t=__webpack_require__(244231);function r(e){return o(e,"empty",t=>{let r=n(t);return r===0||`Expected an empty ${e.type} but received one with a size of \`${r}\``})}function n(e){return e instanceof Map||e instanceof Set?e.size:(0,e.length)}function s(e){return o(e,"nonempty",t=>{return n(t)>0||`Expected a nonempty ${e.type} but received an empty one`})}function a(e,t){return o(e,"pattern",r=>{return t.test(r)||`Expected a ${e.type} matching \`/${t.source}/\` but received "${r}"`})}function i(e,t,r=t){let n=`Expected a ${e.type}`;let s=t===r?`of \`${t}\``:`between \`${t}\` and \`${r}\``;return o(e,"size",e=>{if(typeof e=="number"||e instanceof Date)return t<=e&&e<=r||`${n} ${s} but received \`${e}\``;if(e instanceof Map||e instanceof Set){let{size:a}=e;return t<=a&&a<=r||`${n} with a size ${s} but received one with a size of \`${a}\``}let{length:a}=e;return t<=a&&a<=r||`${n} with a length ${s} but received one with a length of \`${a}\``})}function o(r,n,s){return new e._k({...r,*refiner(e,a){yield*r.refiner(e,a);let i=s(e,a);for(let s of(0,t.RF)(i,a,r,e))yield{...s,refinement:n}}})}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_require__,__webpack_exports__}))()},785755(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{t:()=>t});let e=["fatal","error","warning","log","info","debug"];function t(t){return t==="warn"?"warning":e.includes(t)?t:"log"}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},787631(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Gu:()=>r,eR:()=>s,kS:()=>n});var e=__webpack_require__(108120);var t=__webpack_require__(480021);function r(){return globalThis.stateHooks?.getSentryState?.()||{}}async function n(){let n=(0,e.P)();if(n.ci&&n.sentry?.forceEnable)return{analyticsId:undefined,optedIn:!0,completedMetaMetricsOnboarding:!0};let o=r();if(o.state||o.persistedState)return s(o);try{let e=await globalThis.stateHooks.getPersistedState({reportErrors:!1});return a(e)}catch(e){(0,t.wQ)("Error retrieving persisted state, falling back to backup",e);try{let{getBackupState:e}=globalThis.stateHooks;if(!e)return null;let t=await e();return i(t)}catch(e){return(0,t.wQ)("Error retrieving backup state",e),null}}}function s(e){if(e.persistedState)return a(e.persistedState);if(e.state){let t=e.state;return"metamask"in t&&t.metamask!==undefined?o(t.metamask):(0,l(t))}return null}function a(e){return l(e?.data)}function i(e){return l(e)}function o(e){let{analyticsId:t,completedMetaMetricsOnboarding:r,optedIn:n}=e;return{analyticsId:typeof t=="string"?t:undefined,optedIn:n===!0,completedMetaMetricsOnboarding:r===!0}}function l(e){let t=u(e)?e:{};let r=c(t.AnalyticsController);let n=c(t.MetaMetricsController);let{analyticsId:s,optedIn:a}=r??{};return{analyticsId:typeof s=="string"?s:undefined,optedIn:a===!0,completedMetaMetricsOnboarding:n?.completedMetaMetricsOnboarding===!0}}function c(e){return u(e)?e:undefined}function u(e){return Boolean(e)&&typeof e=="object"}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},795966(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{H7:()=>g,K8:()=>i,qv:()=>p,u:()=>f});var e=__webpack_require__(123532);var t=__webpack_require__(665812);var r=__webpack_require__(814508);var n=__webpack_require__(879561);var s=__webpack_require__(84607);var a=__webpack_require__(316310);function i(e,t){let r=c(e,t);let n={type:t&&t.name,value:m(t)};return r.length&&(n.stacktrace={frames:r}),n.type===undefined&&n.value===""&&(n.value="Unrecoverable error caught"),n}function o(r,s,a,o){let l=(0,e.KU)();let u=l&&l.getOptions().normalizeDepth;let h=k(s);let d={__serialized__:(0,n.cd)(s,u)};if(h)return{exception:{values:[i(r,h)]},extra:d};let m={exception:{values:[{type:(0,t.xH)(s)?s.constructor.name:o?"UnhandledRejection":"Error",value:v(s,{isUnhandledRejection:o})}]},extra:d};if(a){let e=c(r,a);e.length&&(m.exception.values[0].stacktrace={frames:e})}return m}function l(e,t){return{exception:{values:[i(e,t)]}}}function c(e,t){let r=t.stacktrace||t.stack||"";let n=h(t);let s=d(t);try{return e(r,n,s)}catch(e){}return[]}let u=/Minified React error #\d+;/i;function h(e){return e&&u.test(e.message)?1:(0,0)}function d(e){return typeof e.framesToPop=="number"?e.framesToPop:(0,0)}function m(e){let t=e&&e.message;return!t?"No error message":(0,t.error&&typeof t.error.message=="string")?t.error.message:(0,t)}function f(e,t,n,s){let i=g(e,t,n&&n.syntheticException||undefined,s);return(0,r.M6)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,a.XW)(i)}function p(e,t,r="info",n,s){let i=y(e,t,n&&n.syntheticException||undefined,s);return i.level=r,n&&n.event_id&&(i.event_id=n.event_id),(0,a.XW)(i)}function g(e,n,s,a,i){let c;if((0,t.T2)(n)&&n.error)return l(e,n.error);if((0,t.BD)(n)||(0,t.W6)(n)){if("stack"in n)c=l(e,n);else{let i=n.name||((0,t.BD)(n)?"DOMError":"DOMException");let o=n.message?`${i}: ${n.message}`:i;c=y(e,o,s,a),(0,r.gO)(c,o)}return"code"in n&&(c.tags={...c.tags,"DOMException.code":`${n.code}`}),c}return(0,t.bJ)(n)?l(e,n):((0,(0,t.Qd)(n)||(0,t.xH)(n))?c=o(e,n,s,i):(c=y(e,n,s,a),(0,r.gO)(c,`${n}`,undefined)),(0,r.M6)(c,{synthetic:!0}),c)}function y(e,r,n,s){let a={};if(s&&n){let t=c(e,n);t.length&&(a.exception={values:[{value:r,stacktrace:{frames:t}}]})}if((0,t.NF)(r)){let{__sentry_template_string__:e,__sentry_template_values__:t}=r;return a.logentry={message:e,params:t},a}return a.message=r,a}function v(e,{isUnhandledRejection:r}){let n=(0,s.HF)(e);let a=r?"promise rejection":"exception";if((0,t.T2)(e))return`Event \`ErrorEvent\` captured as ${a} with message \`${e.message}\``;if((0,t.xH)(e)){let t=b(e);return`Event \`${t}\` (type=${e.type}) captured as ${a}`}return`Object captured as ${a} with keys: ${n}`}function b(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:undefined}catch(e){}}function k(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];if(r instanceof Error)return r}return undefined}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},796213(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$g:()=>S,$z:()=>O,Ae:()=>C,BJ:()=>h,Ek:()=>j,F$:()=>b,HC:()=>w,J6:()=>P,Jf:()=>g,Ju:()=>u,OH:()=>$,OS:()=>R,PN:()=>d,Qe:()=>x,SB:()=>k,V8:()=>U,VS:()=>T,Vq:()=>E,Wf:()=>L,Wi:()=>D,XU:()=>n,YY:()=>r,Yb:()=>p,Yw:()=>N,ZL:()=>c,_:()=>I,_B:()=>m,_r:()=>B,dI:()=>M,eI:()=>o,fg:()=>_,gn:()=>i,ie:()=>F,jo:()=>l,jt:()=>q,og:()=>v,r1:()=>z,sf:()=>A,t8:()=>s,uQ:()=>y,x$:()=>a,yC:()=>H,yh:()=>f});var e=__webpack_require__(689132);var t=__webpack_require__(886418);let r="popup";let n="notification";let s="fullscreen";let a="sidepanel";let i="background";let o="popup.html";let l="sidepanel.html";let c="Brave";let u="Chrome";let h="Chromium";let d="CocCoc";let m="Edge";let f="EdgeAndroid";let p="Firefox";let g="Kiwi";let y="Lemur";let v="Maxthon";let b="Mises";let k="Opera";let w="Other";let _="Puffin";let S="QQBrowser";let T="Samsung";let x="Silk";let E="UCBrowser";let j="Vivaldi";let A="Whale";let C="Yandex";let M={ADMIN:"admin",DEVELOPMENT:"development",NORMAL:"normal",SIDELOAD:"sideload",OTHER:"other",UNKNOWN:"unknown"};let I={DESKTOP:"desktop",MOBILE:"mobile"};let R={ANDROID:"Android",IOS:"iOS",LINUX:"Linux",MACOS:"macOS",UNKNOWN:"unknown",WINDOWS:"Windows",OTHER:"Other"};let O={ADD_ETHEREUM_CHAIN:"wallet_addEthereumChain",ETH_ACCOUNTS:t.wq.eth_accounts,ETH_DECRYPT:"eth_decrypt",ETH_CHAIN_ID:"eth_chainId",ETH_GET_ENCRYPTION_PUBLIC_KEY:"eth_getEncryptionPublicKey",ETH_GET_BLOCK_BY_NUMBER:"eth_getBlockByNumber",ETH_REQUEST_ACCOUNTS:"eth_requestAccounts",ETH_SEND_TRANSACTION:"eth_sendTransaction",ETH_SEND_RAW_TRANSACTION:"eth_sendRawTransaction",ETH_SIGN_TRANSACTION:"eth_signTransaction",ETH_SIGN_TYPED_DATA:"eth_signTypedData",ETH_SIGN_TYPED_DATA_V1:"eth_signTypedData_v1",ETH_SIGN_TYPED_DATA_V3:"eth_signTypedData_v3",ETH_SIGN_TYPED_DATA_V4:"eth_signTypedData_v4",GET_PROVIDER_STATE:"metamask_getProviderState",LOG_WEB3_SHIM_USAGE:"metamask_logWeb3ShimUsage",PERSONAL_SIGN:"personal_sign",SEND_METADATA:"metamask_sendDomainMetadata",SWITCH_ETHEREUM_CHAIN:"wallet_switchEthereumChain",TRANSACTION:"transaction",WALLET_CREATE_SESSION:"wallet_createSession",WALLET_GET_CALLS_STATUS:"wallet_getCallsStatus",WALLET_GET_CAPABILITIES:"wallet_getCapabilities",WALLET_GET_SESSION:"wallet_getSession",WALLET_INVOKE_METHOD:"wallet_invokeMethod",WALLET_REQUEST_PERMISSIONS:"wallet_requestPermissions",WALLET_REVOKE_SESSION:"wallet_revokeSession",WALLET_SEND_CALLS:"wallet_sendCalls",WALLET_SESSION_CHANGED:"wallet_sessionChanged",WALLET_REQUEST_EXECUTION_PERMISSIONS:"wallet_requestExecutionPermissions",WALLET_GET_SUPPORTED_EXECUTION_PERMISSIONS:"wallet_getSupportedExecutionPermissions",WALLET_GET_GRANTED_EXECUTION_PERMISSIONS:"wallet_getGrantedExecutionPermissions",WATCH_ASSET:"wallet_watchAsset",WATCH_ASSET_LEGACY:"metamask_watchAsset",SNAP_DIALOG_ALERT:e.rW.alert,SNAP_DIALOG_CONFIRMATION:e.rW.confirmation,SNAP_DIALOG_PROMPT:e.rW.prompt,SNAP_DIALOG_DEFAULT:e.rW.default,HYPERLIQUID_REFERRAL_CONSENT:"hyperliquid_referral_consent",ASTERDEX_REFERRAL_CONSENT:"asterdex_referral_consent",GMX_REFERRAL_CONSENT:"gmx_referral_consent"};let L=O.HYPERLIQUID_REFERRAL_CONSENT;let N=O.ASTERDEX_REFERRAL_CONSENT;let D=O.GMX_REFERRAL_CONSENT;let F={confirmAccountCreation:"snap_manageAccounts:confirmAccountCreation",confirmAccountRemoval:"snap_manageAccounts:confirmAccountRemoval",showSnapAccountRedirect:"snap_manageAccounts:showSnapAccountRedirect"};let P={showSmartTransactionStatusPage:"smartTransaction:showSmartTransactionStatusPage"};let $={[r]:"popupGasPollTokens",[n]:"notificationGasPollTokens",[s]:"fullScreenGasPollTokens",[a]:"sidePanelGasPollTokens",[i]:"none"};let q="metamask";let z=["pbbkamfgmaedccnfkmjcofcecjhfgldn","nkbihfbeogaeaoehlefnkodbefgpgknn","ljfoeinjpaedjfecbmggjgodbgkmjkjk","kmbhbcbadohhhgdgihejcicbgcehoaeg","ikkihjamdhfiojpdbnfllpjigpneipbc"];let H=["webextension-beta@metamask.io","webextension@metamask.io","webextension-flask@metamask.io"];let U="UNKNOWN";O.ETH_SIGN_TYPED_DATA,O.ETH_SIGN_TYPED_DATA_V1,O.ETH_SIGN_TYPED_DATA_V3,O.ETH_SIGN_TYPED_DATA_V4,O.PERSONAL_SIGN;let B="downloadMobileApp"}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},797999(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>r});var e=__webpack_require__(784225);var t=__webpack_require__(342672);function r(){return(0,e.YP)((0,t.Yj)(),"SVG",e=>{return!e.includes("<svg")?"Value is not a valid SVG.":(0,!0)})}}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},805248(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>s,r:()=>n});var e=__webpack_require__(581327);var t=__webpack_require__(16905);var r=__webpack_require__(144008);let n={parse:e=>a(t.f.rpc.parse,e),invalidRequest:e=>a(t.f.rpc.invalidRequest,e),invalidParams:e=>a(t.f.rpc.invalidParams,e),methodNotFound:e=>a(t.f.rpc.methodNotFound,e),internal:e=>a(t.f.rpc.internal,e),server:e=>{if(!e||typeof e!=="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return a(t,e)},invalidInput:e=>a(t.f.rpc.invalidInput,e),resourceNotFound:e=>a(t.f.rpc.resourceNotFound,e),resourceUnavailable:e=>a(t.f.rpc.resourceUnavailable,e),transactionRejected:e=>a(t.f.rpc.transactionRejected,e),methodNotSupported:e=>a(t.f.rpc.methodNotSupported,e),limitExceeded:e=>a(t.f.rpc.limitExceeded,e)};let s={userRejectedRequest:e=>{return i(t.f.provider.userRejectedRequest,e)},unauthorized:e=>{return i(t.f.provider.unauthorized,e)},unsupportedMethod:e=>{return i(t.f.provider.unsupportedMethod,e)},disconnected:e=>{return i(t.f.provider.disconnected,e)},chainDisconnected:e=>{return i(t.f.provider.chainDisconnected,e)},custom:t=>{if(!t||typeof t!=="object"||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");let{code:r,message:n,data:s}=t;if(!n||typeof n!=="string")throw new Error('"message" must be a nonempty string');return new e.B(r,n,s)}};function a(t,n){let[s,a]=o(n);return new e.G(t,s??(0,r.DW)(t),a)}function i(t,n){let[s,a]=o(n);return new e.B(t,s??(0,r.DW)(t),a)}function o(e){if(e){if(typeof e=="string")return[e];if(typeof e=="object"&&!Array.isArray(e)){let{message:t,data:r}=e;if(t&&typeof t!=="string")throw new Error("Must specify string message.");return[t??undefined,r]}}return[]}}}).call(__webpack_require__._LM_("@metamask/rpc-errors",{__webpack_require__,__webpack_exports__}))()},810087(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";async function e(e,t){throw new Error(`Use of @sentry/browser's lazyLoadIntegration function is not supported by MetaMask Extension`)}__webpack_require__.d(__webpack_exports__,{b:()=>e})}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_exports__,__webpack_require__}))()},814508(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$X:()=>a,GR:()=>c,M6:()=>o,db:()=>l,eJ:()=>n,gO:()=>i,k9:()=>u});var e=__webpack_require__(84607);var t=__webpack_require__(605257);var r=__webpack_require__(769233);function n(){let e=r.O;let t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,e=>(e^(n()&15)>>e/4).toString(16))}function s(e){return e.exception&&e.exception.values?e.exception.values[0]:undefined}function a(e){let{message:t,event_id:r}=e;if(t)return t;let n=s(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:(0,n.type||n.value||r||"<unknown>"):(0,r||"<unknown>")}function i(e,t,r){let n=e.exception=e.exception||{};let s=n.values=n.values||[];let a=s[0]=s[0]||{};!a.value&&(a.value=t||""),!a.type&&(a.type=r||"Error")}function o(e,t){let r=s(e);if(!r)return;let n=r.mechanism;if(r.mechanism={...{type:"generic",handled:!0},...n,...t},t&&"data"in t){let e={...n&&n.data,...t.data};r.mechanism.data=e}}function l(e,r,n=5){if(r.lineno===undefined)return;let s=e.length;let a=Math.max(Math.min(s-1,r.lineno-1),0);r.pre_context=e.slice(Math.max(0,a-n),a).map(e=>(0,t.nC)(e,0));let i=Math.min(s-1,a);r.context_line=(0,t.nC)(e[i],r.colno||0),r.post_context=e.slice(Math.min(a+1,s),a+1+n).map(e=>(0,t.nC)(e,0))}function c(t){if(t&&t.__sentry_captured__)return!0;try{(0,e.my)(t,"__sentry_captured__",!0)}catch(e){}return!1}function u(e){return Array.isArray(e)?e:[e]}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},814601(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{T:()=>e});let e=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},818365(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==undefined))}function t(t){return r=>{let{key:n=null,...s}=r;return{type:t,props:e(s),key:n}}}__webpack_require__.d(__webpack_exports__,{K:()=>t})}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_exports__,__webpack_require__}))()},821396(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Pt:()=>y,T5:()=>v,YG:()=>b,a9:()=>g,hT:()=>k,tC:()=>R,wv:()=>w});var e=__webpack_require__(613608);var t=__webpack_require__(414753);var r=__webpack_require__(814601);var n=__webpack_require__(879954);var s=__webpack_require__(441265);var a=__webpack_require__(19467);var i=__webpack_require__(702053);var o=__webpack_require__(515400);var l=__webpack_require__(772879);let c={};let u={};let h;let d;let m;let f;let p;function g(e,t=!1){return A("cls",e,S,h,t)}function y(e,t=!1){return A("lcp",e,x,m,t)}function v(e){return A("fid",e,T,d)}function b(e){return A("ttfb",e,E,f)}function k(e){return A("inp",e,j,p)}function w(e,t){return M(e,t),!u[e]&&(C(e),u[e]=!0),I(e,t)}function _(n,s){let a=c[n];if(!a||!a.length)return;for(let i of a)try{i(s)}catch(s){r.T&&e.vF.error(`Error while triggering instrumentation handler.
Type: ${n}
Name: ${(0,t.qQ)(i)}
Error:`,s)}}function S(){return(0,n.I)(e=>{_("cls",{metric:e}),h=e},{reportAllChanges:!0})}function T(){return(0,s.l)(e=>{_("fid",{metric:e}),d=e})}function x(){return(0,i.f)(e=>{_("lcp",{metric:e}),m=e},{reportAllChanges:!0})}function E(){return(0,l.C)(e=>{_("ttfb",{metric:e}),f=e})}function j(){return(0,a.r)(e=>{_("inp",{metric:e}),p=e})}function A(e,t,r,n,s=!1){M(e,t);let a;return!u[e]&&(a=r(),u[e]=!0),n&&t({metric:n}),I(e,t,s?a:undefined)}function C(e){let t={};e==="event"&&(t.durationThreshold=0),(0,o.l)(e,t=>{_(e,{entries:t})},t)}function M(e,t){c[e]=c[e]||[],c[e].push(t)}function I(e,t,r){return()=>{r&&r();let n=c[e];if(!n)return;let s=n.indexOf(t);s!==-1&&n.splice(s,1)}}function R(e){return"duration"in e}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},827284(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Lk:()=>k,Uk:()=>_,V4:()=>S,Y7:()=>x,hb:()=>T,nV:()=>w});var e=__webpack_require__(613608);var t=__webpack_require__(973544);var r=__webpack_require__(151201);var n=__webpack_require__(943924);var s=__webpack_require__(123532);var a=__webpack_require__(920938);var i=__webpack_require__(352158);var o=__webpack_require__(78463);var l=__webpack_require__(187474);var c=__webpack_require__(548697);var u=__webpack_require__(466737);var h=__webpack_require__(682631);var d=__webpack_require__(98154);var m=__webpack_require__(664746);var f=__webpack_require__(778552);var p=__webpack_require__(911216);var g=__webpack_require__(52018);var y=__webpack_require__(276435);var v=__webpack_require__(709356);let b="__SENTRY_SUPPRESS_TRACING__";function k(e,t){let r=A();if(r.startSpan)return r.startSpan(e,t);let n=j(e);let{forceTransaction:a,parentSpan:i}=e;return(0,s.v4)(e.scope,()=>{return R(i)(()=>{let r=(0,s.o5)();let i=I(r);let o=e.onlyIfParent&&!i?new p.w:E({parentSpan:i,spanArguments:n,forceTransaction:a,scope:r});return(0,u.r)(r,o),(0,l.x)(()=>t(o),()=>{let{status:e}=(0,h.et)(o);o.isRecording()&&(!e||e==="ok")&&o.setStatus({code:y.TJ,message:"internal_error"})},()=>o.end())})})}function w(e,t){let r=A();if(r.startSpanManual)return r.startSpanManual(e,t);let n=j(e);let{forceTransaction:a,parentSpan:i}=e;return(0,s.v4)(e.scope,()=>{return R(i)(()=>{let r=(0,s.o5)();let i=I(r);let o=e.onlyIfParent&&!i?new p.w:E({parentSpan:i,spanArguments:n,forceTransaction:a,scope:r});function c(){o.end()}return(0,u.r)(r,o),(0,l.x)(()=>t(o,c),()=>{let{status:e}=(0,h.et)(o);o.isRecording()&&(!e||e==="ok")&&o.setStatus({code:y.TJ,message:"internal_error"})})})})}function _(e){let t=A();if(t.startInactiveSpan)return t.startInactiveSpan(e);let r=j(e);let{forceTransaction:n,parentSpan:a}=e;return(e.scope?t=>(0,s.v4)(e.scope,t):a!==undefined?e=>T(a,e):e=>e())(()=>{let t=(0,s.o5)();let a=I(t);return e.onlyIfParent&&!a?new p.w:(0,E({parentSpan:a,spanArguments:r,forceTransaction:n,scope:t}))})}let S=({sentryTrace:e,baggage:r},n)=>{return(0,s.v4)(s=>{let a=(0,t.kM)(e,r);return s.setPropagationContext(a),n()})};function T(e,t){let r=A();return r.withActiveSpan?r.withActiveSpan(e,t):(0,(0,s.v4)(r=>{return(0,u.r)(r,e||undefined),t(r)}))}function x(t){return(0,s.v4)(n=>{return n.setPropagationContext((0,r.J)()),i.T&&e.vF.info(`Starting a new trace with id ${n.getPropagationContext().traceId}`),T(null,t)})}function E({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){if(!(0,c.w)())return new p.w;let a=(0,s.rm)();let i;if(e&&!r)i=M(e,n,t),(0,h.Hu)(e,i);else if(e){let r=(0,d.k1)(e);let{traceId:s,spanId:a}=e.spanContext();let o=(0,h.pK)(e);i=C({traceId:s,parentSpanId:a,...t},n,o),(0,d.LZ)(i,r)}else{let{traceId:e,dsc:r,parentSpanId:s,sampled:o}={...a.getPropagationContext(),...n.getPropagationContext()};i=C({traceId:e,parentSpanId:s,...t},n,o),r&&(0,d.LZ)(i,r)}return(0,m.z)(i),(0,v.d_)(i,n,a),i}function j(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=(0,h.cI)(e.startTime),delete r.startTime,r}return t}function A(){let e=(0,n.E)();return(0,a.h)(e)}function C(e,t,r){let n=(0,s.KU)();let a=n&&n.getOptions()||{};let{name:i="",attributes:l}=e;let[c,u]=t.getScopeData().sdkProcessingMetadata[b]?[!1]:(0,f.Z)(a,{name:i,parentSampled:r,attributes:l,transactionContext:{name:i,parentSampled:r}});let h=new g.W({...e,attributes:{[o.i_]:"custom",...e.attributes},sampled:c});return u!==undefined&&h.setAttribute(o.sy,u),n&&n.emit("spanStart",h),h}function M(e,t,r){let{spanId:n,traceId:a}=e.spanContext();let i=t.getScopeData().sdkProcessingMetadata[b]?!1:(0,h.pK)(e);let o=i?new g.W({...r,parentSpanId:n,traceId:a,sampled:i}):new p.w({traceId:a});(0,h.Hu)(e,o);let l=(0,s.KU)();return l&&(l.emit("spanStart",o),r.endTimestamp&&l.emit("spanEnd",o)),o}function I(e){let t=(0,u.f)(e);if(!t)return undefined;let r=(0,s.KU)();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,h.zU)(t):(0,t)}function R(e){return e!==undefined?t=>{return T(e,t)}:e=>e()}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},833097(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){let t;let r=e[0];let n=1;while(n<e.length){let s=e[n];let a=e[n+1];if(n+=2,(s==="optionalAccess"||s==="optionalCall")&&r==null)return;s==="access"||s==="optionalAccess"?(t=r,r=a(r)):(s==="call"||s==="optionalCall")&&(r=a((...e)=>r.call(t,...e)),t=undefined)}return r}__webpack_require__.d(__webpack_exports__,{z:()=>e})}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},835060(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>U,R:()=>B});var e=__webpack_require__(600473);var t=__webpack_require__(317588);var r=__webpack_require__(603476);var n=__webpack_require__(991213);var s=__webpack_require__(868766);var a=__webpack_require__(774810);var i=__webpack_require__(912276);var o=__webpack_require__(512986);var l=__webpack_require__(232712);var c=__webpack_require__(78565);var u=__webpack_require__(210164);var h=__webpack_require__(775158);var d=__webpack_require__(686333);var m=__webpack_require__(891728);var f=__webpack_require__(695358);var p=__webpack_require__(14631);let g="Invalid DateTime";function y(e){return new p.A("unsupported zone",`the zone "${e.name}" is not supported`)}function v(e){return e.weekData===null&&(e.weekData=(0,d.C9)(e.c)),e.weekData}function b(e){return e.localWeekData===null&&(e.localWeekData=(0,d.C9)(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function k(e,t){let r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new U({...r,...t,old:r})}function w(e,t,r){let n=e-t*60*1e3;let s=r.offset(n);if(t===s)return[n,t];n-=(s-t)*60*1e3;let a=r.offset(n);return s===a?[n,s]:(0,[e-Math.min(s,a)*60*1e3,Math.max(s,a)])}function _(e,t){let r=new Date(e+=t*60*1e3);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function S(e,t,r){return w((0,o.JZ)(e),t,r)}function T(t,r){let n=t.o,s=t.c.year+Math.trunc(r.years),a=t.c.month+Math.trunc(r.months)+Math.trunc(r.quarters)*3,i={...t.c,year:s,month:a,day:Math.min(t.c.day,(0,o.L3)(s,a))+Math.trunc(r.days)+Math.trunc(r.weeks)*7},l=e.Ay.fromObject({years:r.years-Math.trunc(r.years),quarters:r.quarters-Math.trunc(r.quarters),months:r.months-Math.trunc(r.months),weeks:r.weeks-Math.trunc(r.weeks),days:r.days-Math.trunc(r.days),hours:r.hours,minutes:r.minutes,seconds:r.seconds,milliseconds:r.milliseconds}).as("milliseconds");let[c,u]=w((0,o.JZ)(i),n,t.zone);return l!==0&&(c+=l,u=t.zone.offset(c)),{ts:c,o:u}}function x(e,t,r,n,s,a){let{setZone:i,zone:o}=r;if((!e||Object.keys(e).length===0)&&!t)return U.invalid(new p.A("unparsable",`the input "${s}" can't be parsed as ${n}`));{let n=U.fromObject(e,{...r,zone:t||o,specificOffset:a});return i?n:n.setZone(o)}}function E(e,t,r=!0){return e.isValid?s.A.create(i.A.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function j(e,t){let r=e.c.year>9999||e.c.year<0;let n="";return r&&e.c.year>=0&&(n+="+"),n+=(0,o.CF)(e.c.year,r?6:4),t?(n+="-",n+=(0,o.CF)(e.c.month),n+="-"):n+=(0,o.CF)(e.c.month),n+=(0,o.CF)(e.c.day)}function A(e,t,r,n,s,a){let i=(0,o.CF)(e.c.hour);return t?(i+=":",i+=(0,o.CF)(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!r)&&(i+=":")):i+=(0,o.CF)(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!r)&&(i+=(0,o.CF)(e.c.second),(e.c.millisecond!==0||!n)&&(i+=".",i+=(0,o.CF)(e.c.millisecond,3))),s&&(e.isOffsetFixed&&e.offset===0&&!a?i+="Z":e.o<0?(i+="-",i+=(0,o.CF)(Math.trunc(-e.o/60)),i+=":",i+=(0,o.CF)(Math.trunc(-e.o%60))):(i+="+",i+=(0,o.CF)(Math.trunc(e.o/60)),i+=":",i+=(0,o.CF)(Math.trunc(e.o%60)))),a&&(i+="["+e.zone.ianaName+"]"),i}let C={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},M={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},I={ordinal:1,hour:0,minute:0,second:0,millisecond:0};let R=["year","month","day","hour","minute","second","millisecond"],O=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],L=["year","ordinal","hour","minute","second","millisecond"];function N(e){let 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 f.iq(e);return t}function D(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return N(e)}}function F(e){return!H[e]&&(z===undefined&&(z=r.A.now()),H[e]=e.offset(z)),H[e]}function P(e,t){let n=(0,l.q)(t.zone,r.A.defaultZone);if(!n.isValid)return U.invalid(y(n));let s=i.A.fromObject(t);let a,c;if((0,o.b0)(e.year))a=r.A.now();else{for(let t of R)(0,o.b0)(e[t])&&(e[t]=C[t]);let t=(0,d.EG)(e)||(0,d.nM)(e);if(t)return U.invalid(t);let r=F(n);[a,c]=S(e,r,n)}return new U({ts:a,zone:n,loc:s,o:c})}function $(e,t,r){let n=(0,o.b0)(r.round)?!0:r.round,s=(e,s)=>{return e=(0,o.GB)(e,n||r.calendary?0:2,!0),t.loc.clone(r).relFormatter(r).format(e,s)},a=n=>{return!r.calendary?t.diff(e,n).get(n):(0,!t.hasSame(e,n)?t.startOf(n).diff(e.startOf(n),n).get(n):(0,0))};if(r.unit)return s(a(r.unit),r.unit);for(let e of r.units){let t=a(e);if(Math.abs(t)>=1)return s(t,e)}return s(e>t?-0:0,r.units[r.units.length-1])}function q(e){let t={},r;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[t,r]}let z;let H={};class U{constructor(e){let t=e.zone||r.A.defaultZone;let n=e.invalid||(Number.isNaN(e.ts)?new p.A("invalid input"):null)||(!t.isValid?y(t):null);this.ts=(0,o.b0)(e.ts)?r.A.now():e.ts;let s=null,a=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[s,a]=[e.old.c,e.old.o];else{let r=(0,o.Et)(e.o)&&!e.old?e.o:t.offset(this.ts);s=(n=Number.isNaN((s=_(this.ts,r)).year)?new p.A("invalid input"):null)?null:s,a=n?null:r}this._zone=t,this.loc=e.loc||i.A.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=s,this.o=a,this.isLuxonDateTime=!0}static now(){return new U({})}static local(){let[e,t]=q(arguments),[r,n,s,a,i,o,l]=t;return P({year:r,month:n,day:s,hour:a,minute:i,second:o,millisecond:l},e)}static utc(){let[e,t]=q(arguments),[r,n,s,i,o,l,c]=t;return e.zone=a.A.utcInstance,P({year:r,month:n,day:s,hour:i,minute:o,second:l,millisecond:c},e)}static fromJSDate(e,t={}){let n=(0,o.$P)(e)?e.valueOf():NaN;if(Number.isNaN(n))return U.invalid("invalid input");let s=(0,l.q)(t.zone,r.A.defaultZone);return!s.isValid?U.invalid(y(s)):(0,new U({ts:n,zone:s,loc:i.A.fromObject(t)}))}static fromMillis(e,t={}){if((0,o.Et)(e))if(e<-864e13||e>864e13)return U.invalid("Timestamp out of range");else return new U({ts:e,zone:(0,l.q)(t.zone,r.A.defaultZone),loc:i.A.fromObject(t)});throw new f.Di(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if((0,o.Et)(e))return new U({ts:e*1e3,zone:(0,l.q)(t.zone,r.A.defaultZone),loc:i.A.fromObject(t)});throw new f.Di("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};let n=(0,l.q)(t.zone,r.A.defaultZone);if(!n.isValid)return U.invalid(y(n));let s=i.A.fromObject(t);let a=(0,o.Fl)(e,D);let{minDaysInFirstWeek:c,startOfWeek:u}=(0,d._3)(a,s);let h=r.A.now(),m=!(0,o.b0)(t.specificOffset)?t.specificOffset:n.offset(h),p=!(0,o.b0)(a.ordinal),g=!(0,o.b0)(a.year),v=!(0,o.b0)(a.month)||!(0,o.b0)(a.day),b=g||v,k=a.weekYear||a.weekNumber;if((b||p)&&k)throw new f.gN("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(v&&p)throw new f.gN("Can't mix ordinal dates with month/day");let w=k||a.weekday&&!b;let T,x,E=_(h,m);w?(T=O,x=M,E=(0,d.C9)(E,c,u)):p?(T=L,x=I,E=(0,d.d3)(E)):(T=R,x=C);let j=!1;for(let e of T){let t=a[e];(0,o.b0)(t)?j?a[e]=x[e]:a[e]=E[e]:j=!0}let A=(w?(0,d.WF)(a,c,u):p?(0,d.De)(a):(0,d.EG)(a))||(0,d.nM)(a);if(A)return U.invalid(A);let[N,F]=S(w?(0,d.WO)(a,c,u):p?(0,d.fZ)(a):a,m,n),P=new U({ts:N,zone:n,o:F,loc:s});return a.weekday&&b&&e.weekday!==P.weekday?U.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${P.toISO()}`):(0,!P.isValid)?U.invalid(P.invalid):(0,P)}static fromISO(e,t={}){let[r,n]=(0,u.lA)(e);return x(r,n,t,"ISO 8601",e)}static fromRFC2822(e,t={}){let[r,n]=(0,u.J5)(e);return x(r,n,t,"RFC 2822",e)}static fromHTTP(e,t={}){let[r,n]=(0,u.a8)(e);return x(r,n,t,"HTTP",t)}static fromFormat(e,t,r={}){if((0,o.b0)(e)||(0,o.b0)(t))throw new f.Di("fromFormat requires an input string and a format");let{locale:n=null,numberingSystem:s=null}=r,a=i.A.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[l,c,u,d]=(0,h.ws)(a,e,t);return d?U.invalid(d):(0,x(l,c,r,`format ${t}`,e,u))}static fromString(e,t,r={}){return U.fromFormat(e,t,r)}static fromSQL(e,t={}){let[r,n]=(0,u._E)(e);return x(r,n,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new f.Di("need to specify a reason the DateTime is invalid");let n=e instanceof p.A?e:new p.A(e,t);if(!r.A.throwOnInvalid)return new U({invalid:n});throw new f.t(n)}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){let r=(0,h.Z7)(e,i.A.fromObject(t));return!r?null:r.map(e=>e?e.val:null).join("")}static expandFormat(e,t={}){return(0,h.np)(s.A.parseFormat(e),i.A.fromObject(t)).map(e=>e.val).join("")}static resetCache(){z=undefined,H={}}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?v(this).weekYear:NaN}get weekNumber(){return this.isValid?v(this).weekNumber:NaN}get weekday(){return this.isValid?v(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?b(this).weekday:NaN}get localWeekNumber(){return this.isValid?b(this).weekNumber:NaN}get localWeekYear(){return this.isValid?b(this).weekYear:NaN}get ordinal(){return this.isValid?(0,d.d3)(this.c).ordinal:NaN}get monthShort(){return this.isValid?n.A.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?n.A.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?n.A.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?n.A.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):(0,null)}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):(0,null)}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:(0,this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=(0,o.JZ)(this.c);let t=this.zone.offset(e-864e5);let r=this.zone.offset(e+864e5);let n=this.zone.offset(e-t*6e4);let s=this.zone.offset(e-r*6e4);if(n===s)return[this];let a=e-n*6e4;let i=e-s*6e4;let l=_(a,n);let c=_(i,s);return l.hour===c.hour&&l.minute===c.minute&&l.second===c.second&&l.millisecond===c.millisecond?[k(this,{ts:a}),k(this,{ts:i})]:(0,[this])}get isInLeapYear(){return(0,o.U_)(this.year)}get daysInMonth(){return(0,o.L3)(this.year,this.month)}get daysInYear(){return this.isValid?(0,o.Ki)(this.year):NaN}get weeksInWeekYear(){return this.isValid?(0,o.ac)(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?(0,o.ac)(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:t,numberingSystem:r,calendar:n}=s.A.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:n}}toUTC(e=0,t={}){return this.setZone(a.A.instance(e),t)}toLocal(){return this.setZone(r.A.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:n=!1}={}){if((e=(0,l.q)(e,r.A.defaultZone)).equals(this.zone))return this;if(!e.isValid)return U.invalid(y(e));{let r=this.ts;if(t||n){let t=e.offset(this.ts);let n=this.toObject();[r]=S(n,t,e)}return k(this,{ts:r,zone:e})}}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return k(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let t=(0,o.Fl)(e,D);let{minDaysInFirstWeek:r,startOfWeek:n}=(0,d._3)(t,this.loc);let s=!(0,o.b0)(t.weekYear)||!(0,o.b0)(t.weekNumber)||!(0,o.b0)(t.weekday),a=!(0,o.b0)(t.ordinal),i=!(0,o.b0)(t.year),l=!(0,o.b0)(t.month)||!(0,o.b0)(t.day),c=t.weekYear||t.weekNumber;if((i||l||a)&&c)throw new f.gN("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&a)throw new f.gN("Can't mix ordinal dates with month/day");let u;s?u=(0,d.WO)({...(0,d.C9)(this.c,r,n),...t},r,n):(0,o.b0)(t.ordinal)?(u={...this.toObject(),...t},(0,o.b0)(t.day)&&(u.day=Math.min((0,o.L3)(u.year,u.month),u.day))):u=(0,d.fZ)({...(0,d.d3)(this.c),...t});let[h,m]=S(u,this.o,this.zone);return k(this,{ts:h,o:m})}plus(t){return!this.isValid?this:(0,k(this,T(this,e.Ay.fromDurationLike(t))))}minus(t){return!this.isValid?this:(0,k(this,T(this,e.Ay.fromDurationLike(t).negate())))}startOf(t,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},s=e.Ay.normalizeUnit(t);switch(s){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break;case"milliseconds":break}if(s==="weeks")if(r){let e=this.loc.getStartOfWeek();let{weekday:t}=this;t<e&&(n.weekNumber=this.weekNumber-1),n.weekday=e}else n.weekday=1;return s==="quarters"&&(n.month=(Math.ceil(this.month/3)-1)*3+1),this.set(n)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?s.A.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):g}toLocaleString(e=m.aY,t={}){return this.isValid?s.A.create(this.loc.clone(t),e).formatDateTime(this):g}toLocaleParts(e={}){return this.isValid?s.A.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:r=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;let a=e==="extended";let i=j(this,a);return i+="T",i+=A(this,a,t,r,n,s)}toISODate({format:e="extended"}={}){return!this.isValid?null:(0,j(this,e==="extended"))}toISOWeekDate(){return E(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:r=!0,includePrefix:n=!1,extendedZone:s=!1,format:a="extended"}={}){return!this.isValid?null:(0,(n?"T":"")+A(this,a==="extended",t,e,r,s))}toRFC2822(){return E(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return E(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return!this.isValid?null:(0,j(this,!0))}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:r=!0}={}){let n="HH:mm:ss.SSS";return(t||e)&&(r&&(n+=" "),t?n+="z":e&&(n+="ZZ")),E(this,n,!0)}toSQL(e={}){return!this.isValid?null:(0,`${this.toSQLDate()} ${this.toSQLTime(e)}`)}toString(){return this.isValid?this.toISO():g}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:(0,`DateTime { Invalid, reason: ${this.invalidReason} }`)}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,r="milliseconds",n={}){if(!this.isValid||!t.isValid)return e.Ay.invalid("created by diffing an invalid DateTime");let s={locale:this.locale,numberingSystem:this.numberingSystem,...n};let a=(0,o.El)(r).map(e.Ay.normalizeUnit),i=t.valueOf()>this.valueOf(),l=i?this:t,u=i?t:this,h=(0,c.A)(l,u,a,s);return i?h.negate():h}diffNow(e="milliseconds",t={}){return this.diff(U.now(),e,t)}until(e){return this.isValid?t.A.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;let n=e.valueOf();let s=this.setZone(e.zone,{keepLocalTime:!0});return s.startOf(t,r)<=n&&n<=s.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let t=e.base||U.fromObject({},{zone:this.zone}),r=e.padding?this<t?-e.padding:e.padding:0;let n=["years","months","days","hours","minutes","seconds"];let s=e.unit;return Array.isArray(e.unit)&&(n=e.unit,s=undefined),$(t,this.plus(r),{...e,numeric:"always",units:n,unit:s})}toRelativeCalendar(e={}){return!this.isValid?null:(0,$(e.base||U.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}))}static min(...e){if(!e.every(U.isDateTime))throw new f.Di("min requires all arguments be DateTimes");return(0,o.Iw)(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(U.isDateTime))throw new f.Di("max requires all arguments be DateTimes");return(0,o.Iw)(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){let{locale:n=null,numberingSystem:s=null}=r,a=i.A.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});return(0,h.GR)(a,e,t)}static fromStringExplain(e,t,r={}){return U.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){let{locale:r=null,numberingSystem:n=null}=t,s=i.A.fromOpts({locale:r,numberingSystem:n,defaultToEN:!0});return new h.zb(s,e)}static fromFormatParser(e,t,r={}){if((0,o.b0)(e)||(0,o.b0)(t))throw new f.Di("fromFormatParser requires an input string and a format parser");let{locale:n=null,numberingSystem:s=null}=r,a=i.A.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!a.equals(t.locale))throw new f.Di(`fromFormatParser called with a locale of ${a}, `+`but the format parser was created for ${t.locale}`);let{result:l,zone:c,specificOffset:u,invalidReason:h}=t.explainFromTokens(e);return h?U.invalid(h):(0,x(l,c,r,`format ${t.format}`,e,u))}static get DATE_SHORT(){return m.aY}static get DATE_MED(){return m.g5}static get DATE_MED_WITH_WEEKDAY(){return m.M$}static get DATE_FULL(){return m.Rb}static get DATE_HUGE(){return m.d6}static get TIME_SIMPLE(){return m.dz}static get TIME_WITH_SECONDS(){return m.hF}static get TIME_WITH_SHORT_OFFSET(){return m.oq}static get TIME_WITH_LONG_OFFSET(){return m.o}static get TIME_24_SIMPLE(){return m.My}static get TIME_24_WITH_SECONDS(){return m.cE}static get TIME_24_WITH_SHORT_OFFSET(){return m.dO}static get TIME_24_WITH_LONG_OFFSET(){return m.FX}static get DATETIME_SHORT(){return m.DN}static get DATETIME_SHORT_WITH_SECONDS(){return m.h0}static get DATETIME_MED(){return m.pM}static get DATETIME_MED_WITH_SECONDS(){return m.AX}static get DATETIME_MED_WITH_WEEKDAY(){return m.fO}static get DATETIME_FULL(){return m.Al}static get DATETIME_FULL_WITH_SECONDS(){return m.h3}static get DATETIME_HUGE(){return m.MC}static get DATETIME_HUGE_WITH_SECONDS(){return m.nt}}function B(e){if(U.isDateTime(e))return e;if(e&&e.valueOf&&(0,o.Et)(e.valueOf()))return U.fromJSDate(e);if(e&&typeof e=="object")return U.fromObject(e);throw new f.Di(`Unknown datetime argument: ${e}, of type ${typeof e}`)}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},835203(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>t});var e=__webpack_require__(695358);class t{get type(){throw new e.jP}get name(){throw new e.jP}get ianaName(){return this.name}get isUniversal(){throw new e.jP}offsetName(t,r){throw new e.jP}formatOffset(t,r){throw new e.jP}offset(t){throw new e.jP}equals(t){throw new e.jP}get isValid(){throw new e.jP}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},848294(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>n});var e=__webpack_require__(613608);var t=__webpack_require__(650773);var r=__webpack_require__(123532);function n(n,s){let a=(0,r.KU)();let i=(0,r.rm)();if(!a)return;let{beforeBreadcrumb:o=null,maxBreadcrumbs:l=100}=a.getOptions();if(l<=0)return;let c={timestamp:(0,t.lu)(),...n};let u=o?(0,e.pq)(()=>o(c,s)):c;if(u===null)return;a.emit&&a.emit("beforeAddBreadcrumb",u,s),i.addBreadcrumb(u,l)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},856928(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e,t){return e!=null?e:t()}__webpack_require__.d(__webpack_exports__,{S:()=>e})}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_exports__,__webpack_require__}))()},858572(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";globalThis.stateHooks={},!0&&__webpack_require__(587279),__webpack_require__(659677)}}).call(__webpack_require__._LM_("$root$",{__webpack_require__}))()},861913(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{x:()=>a});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(797999);var s=__webpack_require__(676358);let a=(0,t.kp)(s.Wu,(0,e.Ik)({type:(0,r.eu)(s.Z6.Image),value:(0,n.J)()}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},865961(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{i:()=>r});var e=__webpack_require__(613608);var t=__webpack_require__(352158);function r(r){if(typeof r=="boolean")return Number(r);let n=typeof r=="string"?parseFloat(r):r;return typeof n!=="number"||isNaN(n)||n<0||n>1?(t.T&&e.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),undefined):(0,n)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},868766(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>a});var e=__webpack_require__(122552);var t=__webpack_require__(891728);var r=__webpack_require__(512986);function n(e,t){let r="";for(let n of e)n.literal?r+=n.val:r+=t(n.val);return r}let s={D:t.aY,DD:t.g5,DDD:t.Rb,DDDD:t.d6,t:t.dz,tt:t.hF,ttt:t.oq,tttt:t.o,T:t.My,TT:t.cE,TTT:t.dO,TTTT:t.FX,f:t.DN,ff:t.pM,fff:t.Al,ffff:t.MC,F:t.h0,FF:t.AX,FFF:t.h3,FFFF:t.nt};class a{static create(e,t={}){return new a(e,t)}static parseFormat(e){let t=null,r="",n=!1;let s=[];for(let a=0;a<e.length;a++){let i=e.charAt(a);i==="'"?(r.length>0&&s.push({literal:n||/^\s+$/.test(r),val:r}),t=null,r="",n=!n):n||i===t?r+=i:(r.length>0&&s.push({literal:/^\s+$/.test(r),val:r}),r=i,t=i)}return r.length>0&&s.push({literal:n||/^\s+$/.test(r),val:r}),s}static macroTokenToFormatOpts(e){return s[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return(0,r.CF)(e,t);let n={...this.opts};return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)}formatDateTimeFromString(t,r){let s=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(e,r)=>this.loc.extract(t,e,r),l=e=>{return t.isOffsetFixed&&t.offset===0&&e.allowZ?"Z":(0,t.isValid?t.zone.formatOffset(t.ts,e.format):"")},c=(r,n)=>s?e.zH(t,r):o(n?{month:r}:{month:r,day:"numeric"},"month"),u=(r,n)=>s?e.DJ(t,r):o(n?{weekday:r}:{weekday:r,month:"long",day:"numeric"},"weekday"),h=e=>{let r=a.macroTokenToFormatOpts(e);return r?this.formatWithSystemDefault(t,r):(0,e)},d=r=>s?e.xS(t,r):o({era:r},"era"),m=r=>{switch(r){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return l({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return l({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return l({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return 0,s?e.tz(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return i?o({day:"numeric"},"day"):this.num(t.day);case"dd":return i?o({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return i?o({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return i?o({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return i?o({month:"numeric"},"month"):this.num(t.month);case"MM":return i?o({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return i?o({year:"numeric"},"year"):this.num(t.year);case"yy":return i?o({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return i?o({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return i?o({year:"numeric"},"year"):this.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return h(r)}};return n(a.parseFormat(r),m)}formatDurationFromString(e,t){let r=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=>t=>{let n=r(t);return n?this.num(e.get(n),t.length):(0,t)},i=a.parseFormat(t),o=i.reduce((e,{literal:t,val:r})=>t?e:e.concat(r),[]);return n(i,s(e.shiftTo(...o.map(r).filter(e=>e))))}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},879561(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{S8:()=>s,cd:()=>a});var e=__webpack_require__(665812);var t=__webpack_require__(148366);var r=__webpack_require__(84607);var n=__webpack_require__(414753);function s(e,t=100,r=+Infinity){try{return i("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function a(e,t=3,r=100*1024){let n=s(e,t);return u(n)>r?a(e,t-1,r):(0,n)}function i(e,n,s=+Infinity,a=+Infinity,l=(0,t.s)()){let[c,u]=l;if(n==null||["boolean","string"].includes(typeof n)||typeof n=="number"&&Number.isFinite(n))return n;let h=o(e,n);if(!h.startsWith("[object "))return h;if(n["__sentry_skip_normalization__"])return n;let d=typeof n["__sentry_override_normalization_depth__"]=="number"?n["__sentry_override_normalization_depth__"]:s;if(d===0)return h.replace("object ","");if(c(n))return"[Circular ~]";if(n&&typeof n.toJSON=="function")try{let e=n.toJSON();return i("",e,d-1,a,l)}catch(e){}let m=Array.isArray(n)?[]:{};let f=0;let p=(0,r.W4)(n);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=a){m[e]="[MaxProperties ~]";break}let t=p[e];m[e]=i(e,t,d-1,a,l),f++}return u(n),m}function o(t,r){try{if(t==="domain"&&r&&typeof r=="object"&&r._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof globalThis!=="undefined"&&r===globalThis)return"[Global]";if(typeof window!=="undefined"&&r===window)return"[Window]";if(document!==void 0&&r===document)return"[Document]";if((0,e.L2)(r))return"[VueViewModel]";if((0,e.mE)(r))return"[SyntheticEvent]";if(typeof r=="number"&&!Number.isFinite(r))return`[${r}]`;if(typeof r=="function")return`[Function: ${(0,n.qQ)(r)}]`;if(typeof r=="symbol")return`[${String(r)}]`;if(typeof r=="bigint")return`[BigInt: ${String(r)}]`;let s=l(r);if(/^HTML(\w*)Element$/.test(s))return`[HTMLElement: ${s}]`;return`[object ${s}]`}catch(e){return`**non-serializable** (${e})`}}function l(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function c(e){return~-encodeURI(e).split(/%..|./).length}function u(e){return c(JSON.stringify(e))}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},879771(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$9:()=>o,E$:()=>c,KC:()=>i,eu:()=>a,i5:()=>l,o1:()=>u});var e=__webpack_require__(356583);var t=__webpack_require__(784225);var r=__webpack_require__(342672);var n=__webpack_require__(142827);var s=__webpack_require__(745085);function a(e){return(0,n.E8)(JSON.stringify(e),(0,r.eu)(e).validator)}function i([t,...n]){let s=(0,r.KC)([t,...n]);return new e._k({...s,schema:[t,...n]})}function o(e){return a(e)}function l(t){let r=t.map(e=>e.type==="union"&&Array.isArray(e.schema)?e.schema:e).flat(Infinity);let n=r.map(({schema:e})=>e.type.type);let a=r.reduce((e,t)=>{return e[JSON.parse(t.schema.type.type)]=t,e},{});return new e._k({type:"union",schema:r,*entries(e,t){if(!(0,s.Gv)(e)||!(0,s.i5)(e,"type")||typeof e.type!=="string")return;let{type:r}=e;let n=a[r];if(!n)return;for(let r of n.entries(e,t))yield r},coercer(e,t){if(!(0,s.Gv)(e)||!(0,s.i5)(e,"type")||typeof e.type!=="string")return e;let{type:r}=e;let n=a[r];return n?n.coercer(e,t):(0,e)},*refiner(e,t){let r=a[e.type];yield*r.refiner(e,t)},validator(e,t){if(!(0,s.Gv)(e)||!(0,s.i5)(e,"type")||typeof e.type!=="string")return`Expected type to be one of: ${n.join(", ")}, but received: undefined`;let{type:r}=e;let i=a[r];return i?i.validator(e,t):(0,`Expected type to be one of: ${n.join(", ")}, but received: "${r}"`)}})}function c(t){return new e._k({type:"union",schema:null,*entries(e,r){for(let n of t(e).entries(e,r))yield n},*refiner(e,r){let n=t(e);yield*n.refiner(e,r)},coercer(e,r){return t(e).coercer(e,r)},validator(e,r){return t(e).validator(e,r)}})}function u(e,n){return(0,t.YP)((0,r.g1)(e,n),"Non-empty record",e=>{return!Array.isArray(e)&&Object.keys(e).length>0})}}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},879954(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>o});var e=__webpack_require__(57324);var t=__webpack_require__(314408);var r=__webpack_require__(515400);var n=__webpack_require__(975431);var s=__webpack_require__(56680);var a=__webpack_require__(956354);let i=[.1,.25];let o=(o,l={})=>{(0,a.z)((0,s.J)(()=>{let s=(0,t.X)("CLS",0);let a;let c=0;let u=[];let h=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=u[0];let r=u[u.length-1];c&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(c+=e.value,u.push(e)):(c=e.value,u=[e])}}),c>s.value&&(s.value=c,s.entries=u,a())};let d=(0,r.l)("layout-shift",h);d&&(a=(0,e.R)(o,s,i,l.reportAllChanges),(0,n.Q)(()=>{h(d.takeRecords()),a(!0)}),setTimeout(a,0))}))}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},886418(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{ed:()=>e,l_:()=>t,ll:()=>r,wq:()=>n}),__webpack_require__(777544);let e=Object.freeze({restrictReturnedAccounts:"restrictReturnedAccounts",restrictNetworkSwitching:"restrictNetworkSwitching"});let t=Object.freeze({permittedChains:"endowment:permitted-chains"});let r=Object.freeze({eth_accounts:"eth_accounts"});let n=Object.freeze({eth_accounts:"eth_accounts",snap_dialog:"snap_dialog",snap_notify:"snap_notify",snap_manageState:"snap_manageState",snap_getBip32PublicKey:"snap_getBip32PublicKey",snap_getBip32Entropy:"snap_getBip32Entropy",snap_getBip44Entropy:"snap_getBip44Entropy",snap_getEntropy:"snap_getEntropy",snap_getLocale:"snap_getLocale",snap_getPreferences:"snap_getPreferences",wallet_snap:"wallet_snap",snap_manageAccounts:"snap_manageAccounts"});Object.freeze({connection_permission:"connection_permission"}),Object.freeze({snapInstall:3,snapUpdateApprovedPermissions:3}),Object.freeze({eth_accounts:3,permittedChains:3,snap_dialog:4,snap_notify:4,snap_getBip32PublicKey:3,snap_getBip32Entropy:1,snap_getBip44Entropy:1,snap_getEntropy:3,snap_manageState:4,snap_getLocale:4,wallet_snap:4,endowment_networkAccess:3,endowment_assets:3,endowment_protocol:3,endowment_webassembly:4,endowment_transactionInsight:4,endowment_cronjob:4,endowment_ethereumProvider:4,endowment_multichainProvider:4,endowment_rpc:4,endowment_lifecycleHooks:4,endowment_pageHome:4,snap_manageAccounts:3,endowment_keyring:4,endowment_nameLookup:3,endowment_signatureInsight:4,connection_permission:3,unknown_permission:3})}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},891728(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{AX:()=>b,Al:()=>w,DN:()=>g,FX:()=>p,M$:()=>a,MC:()=>S,My:()=>d,Rb:()=>i,aY:()=>n,cE:()=>m,d6:()=>o,dO:()=>f,dz:()=>l,fO:()=>k,g5:()=>s,h0:()=>y,h3:()=>_,hF:()=>c,nt:()=>T,o:()=>h,oq:()=>u,pM:()=>v});let e="numeric",t="short",r="long";let n={year:e,month:e,day:e};let s={year:e,month:t,day:e};let a={year:e,month:t,day:e,weekday:t};let i={year:e,month:r,day:e};let o={year:e,month:r,day:e,weekday:r};let l={hour:e,minute:e};let c={hour:e,minute:e,second:e};let u={hour:e,minute:e,second:e,timeZoneName:t};let h={hour:e,minute:e,second:e,timeZoneName:r};let d={hour:e,minute:e,hourCycle:"h23"};let m={hour:e,minute:e,second:e,hourCycle:"h23"};let f={hour:e,minute:e,second:e,hourCycle:"h23",timeZoneName:t};let p={hour:e,minute:e,second:e,hourCycle:"h23",timeZoneName:r};let g={year:e,month:e,day:e,hour:e,minute:e};let y={year:e,month:e,day:e,hour:e,minute:e,second:e};let v={year:e,month:t,day:e,hour:e,minute:e};let b={year:e,month:t,day:e,hour:e,minute:e,second:e};let k={year:e,month:t,day:e,weekday:t,hour:e,minute:e};let w={year:e,month:r,day:e,hour:e,minute:e,timeZoneName:t};let _={year:e,month:r,day:e,hour:e,minute:e,second:e,timeZoneName:t};let S={year:e,month:r,day:e,weekday:r,hour:e,minute:e,timeZoneName:r};let T={year:e,month:r,day:e,weekday:r,hour:e,minute:e,second:e,timeZoneName:r}}}).call(__webpack_require__._LM_("luxon",{__webpack_exports__,__webpack_require__}))()},892145(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ts:()=>x,kF:()=>A,lo:()=>M,mn:()=>E,nI:()=>_,w7:()=>j});var e=__webpack_require__(931263);var t=__webpack_require__(123532);var r=__webpack_require__(298556);var n=__webpack_require__(295088);var s=__webpack_require__(577102);var a=__webpack_require__(175384);var i=__webpack_require__(201740);var o=__webpack_require__(960767);var l=__webpack_require__(613608);var c=__webpack_require__(414753);var u=__webpack_require__(520348);var h=__webpack_require__(662925);var d=__webpack_require__(564350);var m=__webpack_require__(366523);var f=__webpack_require__(382128);var p=__webpack_require__(14635);var g=__webpack_require__(455142);var y=__webpack_require__(535279);var v=__webpack_require__(982238);var b=__webpack_require__(162183);var k=__webpack_require__(753036);var w=__webpack_require__(466024);function _(e){return[(0,i.D)(),(0,a.Z)(),(0,g.G)(),(0,p.F)(),(0,y.L)(),(0,b.p)(),(0,o.s)(),(0,v.M)()]}function S(e={}){let t={defaultIntegrations:_(),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:f.jf.SENTRY_RELEASE&&f.jf.SENTRY_RELEASE.id?f.jf.SENTRY_RELEASE.id:undefined,autoSessionTracking:!0,sendClientReports:!0};return e.defaultIntegrations==null&&delete e.defaultIntegrations,{...t,...e}}function T(){let e=f.jf.window!==void 0&&f.jf;if(!e)return!1;let t=e.chrome?"chrome":"browser";let r=e[t];let n=r&&r.runtime&&r.runtime.id;let s=f.jf.location&&f.jf.location.href||"";let a=!!n&&f.jf===f.jf.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some(e=>s.startsWith(`${e}//`));let i=e.nw!==void 0;return!!n&&!a&&!i}function x(e={}){let t=S(e);if(T()){(0,l.pq)(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}m.T&&!(0,u.vm)()&&l.vF.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.");let r={...t,stackParser:(0,c.vk)(t.stackParser||k.lG),integrations:(0,s.mH)(t),transport:t.transport||w._};let a=(0,n.J)(d.y,r);return t.autoSessionTracking&&C(),a}function E(n={}){if(!f.jf.document){m.T&&l.vF.error("Global document not defined in showReportDialog call");return}let s=(0,t.o5)();let a=s.getClient();let i=a&&a.getDsn();if(!i){m.T&&l.vF.error("DSN not configured for showReportDialog call");return}if(s&&(n.user={...s.getUser(),...n.user}),!n.eventId){let t=(0,e.Q)();t&&(n.eventId=t)}let o=f.jf.document.createElement("script");o.async=!0,o.crossOrigin="anonymous",o.src=(0,r.k)(i,n),n.onLoad&&(o.onload=n.onLoad);let{onClose:c}=n;if(c){let e=t=>{if(t.data==="__sentry_reportdialog_closed__")try{c()}finally{f.jf.removeEventListener("message",e)}};f.jf.addEventListener("message",e)}let u=f.jf.document.head||f.jf.document.body;u?u.appendChild(o):m.T&&l.vF.error("Not injecting report dialog. No injection point found in HTML")}function j(){}function A(e){e()}function C(){if(f.jf.document===void 0){m.T&&l.vF.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}(0,e.J0)({ignoreDuration:!0}),(0,e.J5)(),(0,h._)(({from:t,to:r})=>{t!==undefined&&t!==r&&((0,e.J0)({ignoreDuration:!0}),(0,e.J5)())})}function M(e){let r=(0,t.KU)();r&&r.captureUserFeedback(e)}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},896639(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Bd:()=>l,ut:()=>o,vA:()=>i});var e=__webpack_require__(356583);var t=__webpack_require__(761788);function r(e){return Boolean(typeof e?.prototype?.constructor?.name=="string")}function n(e){return(0,t.u1)(e).replace(/\.$/u,"")}function s(e,t){return r(e)?new e({message:t}):(0,e({message:t}))}class a extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}}function i(e,t="Assertion failed.",r=a){if(!e){if(t instanceof Error)throw t;throw s(r,t)}}function o(t,r,i="Assertion failed",l=a){try{(0,e.vA)(t,r)}catch(e){throw s(l,`${i}: ${n(e)}.`)}}function l(e){throw new Error("Invalid branch reached. Should be detected during compilation.")}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},902309(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>r});var e=__webpack_require__(84607);var t=__webpack_require__(123532);function r(n,s={},a=(0,t.o5)()){let{message:i,name:o,email:l,url:c,source:u,associatedEventId:h,tags:d}=n;let m={contexts:{feedback:(0,e.Ce)({contact_email:l,name:o,message:i,url:c,source:u,associated_event_id:h})},type:"feedback",level:"info",tags:d};let f=a&&a.getClient()||(0,t.KU)();return f&&f.emit("beforeSendFeedback",m,s),a.captureEvent(m,s)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},903217(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>d});var e=__webpack_require__(833097);var t=__webpack_require__(78463);var r=__webpack_require__(123532);var n=__webpack_require__(682631);var s=__webpack_require__(1090);var a=__webpack_require__(613608);var i=__webpack_require__(84607);var o=__webpack_require__(650773);var l=__webpack_require__(814601);var c=__webpack_require__(821396);var u=__webpack_require__(33040);var h=__webpack_require__(975431);function d(){let t=0;let s;let a;if(!f())return;let i=!1;function o(){if(i)return;i=!0,a&&m(t,s,a),l()}let l=(0,c.a9)(({metric:e})=>{let r=e.entries[e.entries.length-1];if(!r)return;t=e.value,s=r},!0);(0,h.Q)(()=>{o()}),setTimeout(()=>{let t=(0,r.KU)();let s=(0,e.z)([t,"optionalAccess",e=>e.on,"call",e=>e("startNavigationSpan",()=>{o(),s&&s()})]);let i=(0,n.Bk)();let l=i&&(0,n.zU)(i);let c=l&&(0,n.et)(l);c&&c.op==="pageload"&&(a=l.spanContext().spanId)},0)}function m(n,c,h){l.T&&a.vF.log(`Sending CLS span (${n})`);let d=(0,u.rv)((o.k3||0)+((0,e.z)([c,"optionalAccess",e=>e.startTime])||0));let m=(0,r.o5)().getScopeData().transactionName;let f=c?(0,s.Hd)((0,e.z)([c,"access",e=>e.sources,"access",e=>e[0],"optionalAccess",e=>e.node])):"Layout shift";let p=(0,i.Ce)({[t.JD]:"auto.http.browser.cls",[t.uT]:"ui.webvital.cls",[t.jG]:(0,e.z)([c,"optionalAccess",e=>e.duration])||0,"sentry.pageload.span_id":h});let g=(0,u.kD)({name:f,transaction:m,attributes:p,startTime:d});(0,e.z)([g,"optionalAccess",e=>e.addEvent,"call",e=>e("cls",{[t.Sn]:"",[t.xc]:n})]),(0,e.z)([g,"optionalAccess",e=>e.end,"call",e=>e(d)])}function f(){try{return(0,e.z)([PerformanceObserver,"access",e=>e.supportedEntryTypes,"optionalAccess",e=>e.includes,"call",e=>e("layout-shift")])}catch(e){return!1}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},908743(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{H1:()=>S,SS:()=>f,SZ:()=>g,U$:()=>E,bo:()=>p,jU:()=>m,p3:()=>_,tQ:()=>w,x8:()=>v,zC:()=>d});var e=__webpack_require__(356583);var t=__webpack_require__(355608);var r=__webpack_require__(784225);var n=__webpack_require__(342672);var s=__webpack_require__(142827);var a=__webpack_require__(896639);var i=__webpack_require__(745085);let o=e=>(0,n.Ik)(e);function l({path:e,branch:t}){let r=e[e.length-1];return(0,i.i5)(t[t.length-2],r)}function c(t){return new e._k({...t,type:`optional ${t.type}`,validator:(e,r)=>!l(r)||t.validator(e,r),refiner:(e,r)=>!l(r)||t.refiner(e,r)})}function u(e){if(e===null||typeof e=="boolean"||typeof e=="string"||typeof e=="number"&&Number.isFinite(e))return!0;if(typeof e=="object"){let t=!0;if(Array.isArray(e)){for(let r=0;r<e.length;r++)if(!u(e[r])){t=!1;break}return t}let r=Object.entries(e);for(let e=0;e<r.length;e++)if(typeof r[e][0]!=="string"||!u(r[e][1])){t=!1;break}return t}return!1}let h=(0,s.E8)("JSON",e=>u(e));let d=(0,t.au)(h,(0,r.YP)((0,n.bz)(),"JSON",t=>(0,e.is)(t,h)),e=>JSON.parse(JSON.stringify(e,(e,t)=>{return e==="__proto__"||e==="constructor"?undefined:(0,t)})));function m(e){try{return f(e),!0}catch{return!1}}function f(t){return(0,e.vt)(t,d)}let p=(0,n.eu)("2.0");let g=(0,n.me)((0,n.KC)([(0,n.ai)(),(0,n.Yj)()]));let y=o({code:(0,n.nd)(),message:(0,n.Yj)(),data:c(d),stack:c((0,n.Yj)())});let v=(0,n.KC)([(0,n.g1)((0,n.Yj)(),d),(0,n.YO)(d)]);let b=o({id:g,jsonrpc:p,method:(0,n.Yj)(),params:c(v)});let k=o({jsonrpc:p,method:(0,n.Yj)(),params:c(v)});function w(t){return(0,e.is)(t,k)}function _(t){return(0,e.is)(t,b)}function S(e,t){(0,a.ut)(e,b,"Invalid JSON-RPC request",t)}(0,n.Ik)({id:g,jsonrpc:p,result:(0,n.lq)((0,n.L5)()),error:(0,n.lq)(y)});let T=o({id:g,jsonrpc:p,result:d});let x=o({id:g,jsonrpc:p,error:y});function E(t){return(0,e.is)(t,y)}(0,n.KC)([T,x])}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},911216(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{w:()=>r});var e=__webpack_require__(814508);var t=__webpack_require__(682631);class r{constructor(t={}){this._traceId=t.traceId||(0,e.eJ)(),this._spanId=t.spanId||(0,e.eJ)().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:t.CC}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},912276(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>j});var e=__webpack_require__(512986);var t=__webpack_require__(122552);var r=__webpack_require__(603476);var n=__webpack_require__(835060);var s=__webpack_require__(750628);let a={};function i(e,t={}){let r=JSON.stringify([e,t]);let n=a[r];return!n&&(n=new Intl.ListFormat(e,t),a[r]=n),n}let o={};function l(e,t={}){let r=JSON.stringify([e,t]);let n=o[r];return!n&&(n=new Intl.DateTimeFormat(e,t),o[r]=n),n}let c={};function u(e,t={}){let r=JSON.stringify([e,t]);let n=c[r];return!n&&(n=new Intl.NumberFormat(e,t),c[r]=n),n}let h={};function d(e,t={}){let{base:r,...n}=t;let s=JSON.stringify([e,n]);let a=h[s];return!a&&(a=new Intl.RelativeTimeFormat(e,t),h[s]=a),a}let m=null;function f(){return m||(0,m=new Intl.DateTimeFormat().resolvedOptions().locale)}let p={};function g(e){let t=p[e];if(!t){let r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,p[e]=t}return t}function y(e){let t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));let r=e.indexOf("-u-");if(r===-1)return[e];{let t;let n;try{t=l(e).resolvedOptions(),n=e}catch(a){let s=e.substring(0,r);t=l(s).resolvedOptions(),n=s}let{numberingSystem:s,calendar:a}=t;return[n,s,a]}}function v(e,t,r){return r||t?(!e.includes("-u-")&&(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`)):void 0,e}function b(e){let t=[];for(let r=1;r<=12;r++){let s=n.A.utc(2009,r,1);t.push(e(s))}return t}function k(e){let t=[];for(let r=1;r<=7;r++){let s=n.A.utc(2016,11,13+r);t.push(e(s))}return t}function w(e,t,r,n){let s=e.listingMode();return s==="error"?null:(0,s==="en")?r(t):n(t)}function _(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:(0,e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn")}class S{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;let{padTo:n,floor:s,...a}=r;if(!t||Object.keys(a).length>0){let t={useGrouping:!1,...r};r.padTo>0&&(t.minimumIntegerDigits=r.padTo),this.inf=u(e,t)}}format(t){if(this.inf){let e=this.floor?Math.floor(t):t;return this.inf.format(e)}{let r=this.floor?Math.floor(t):(0,e.GB)(t,3);return(0,e.CF)(r,this.padTo)}}}class T{constructor(e,t,r){this.opts=r,this.originalZone=undefined;let n;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let t=-1*(e.offset/60);let r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;e.offset!==0&&s.A.create(r).valid?(n=r,this.dt=e):(n="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,n=e.zone.name):(n="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let a={...this.opts};a.timeZone=a.timeZone||n,this.dtf=l(t,a)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):(0,this.dtf.format(this.dt.toJSDate()))}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if(e.type!=="timeZoneName")return e;{let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}}):(0,e)}resolvedOptions(){return this.dtf.resolvedOptions()}}class x{constructor(t,r,n){this.opts={style:"long",...n},!r&&(0,e.h3)()&&(this.rtf=d(t,n))}format(e,r){return this.rtf?this.rtf.format(e,r):(0,t.fw(r,e,this.opts.numeric,this.opts.style!=="long"))}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):(0,[])}}let E={firstDay:1,minimalDays:4,weekend:[6,7]};class j{static fromOpts(e){return j.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(t,n,s,a,i=!1){let o=t||r.A.defaultLocale;let l=o||(i?"en-US":f());let c=n||r.A.defaultNumberingSystem;return new j(l,c,s||r.A.defaultOutputCalendar,(0,e._v)(a)||r.A.defaultWeekSettings,o)}static resetCache(){m=null,o={},c={},h={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:n}={}){return j.create(e,t,r,n)}constructor(e,t,r,n,s){let[a,i,o]=y(e);this.locale=a,this.numberingSystem=t||i||null,this.outputCalendar=r||o||null,this.weekSettings=n,this.intl=v(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=_(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish();let t=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&t?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:(0,j.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,(0,e._v)(t.weekSettings)||this.weekSettings,t.defaultToEN||!1))}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return w(this,e,t.US,()=>{let t=r?{month:e,day:"numeric"}:{month:e},n=r?"format":"standalone";return!this.monthsCache[n][e]&&(this.monthsCache[n][e]=b(e=>this.extract(e,t,"month"))),this.monthsCache[n][e]})}weekdays(e,r=!1){return w(this,e,t.mx,()=>{let t=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},n=r?"format":"standalone";return!this.weekdaysCache[n][e]&&(this.weekdaysCache[n][e]=k(e=>this.extract(e,t,"weekday"))),this.weekdaysCache[n][e]})}meridiems(){return w(this,undefined,()=>t.us,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[n.A.utc(2016,11,13,9),n.A.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return w(this,e,t.qH,()=>{let t={era:e};return!this.eraCache[e]&&(this.eraCache[e]=[n.A.utc(-40,1,1),n.A.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]})}extract(e,t,r){let n=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===r);return n?n.value:null}numberFormatter(e={}){return new S(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new T(e,this.intl,t)}relFormatter(e={}){return new x(this.intl,this.isEnglish(),e)}listFormatter(e={}){return i(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:(0,!(0,e.jv)())?E:g(this.locale)}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},920938(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{h:()=>r});var e=__webpack_require__(943924);var t=__webpack_require__(39859);function r(r){let n=(0,e.S)(r);return n.acs?n.acs:(0,(0,t.z)())}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},921368(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{wD:()=>r});var e=__webpack_require__(182881);var t=__webpack_require__(378326);function r(){return!(0,e.Z)()&&Object.prototype.toString.call(t!==void 0?t:0)==="[object process]"}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},923533(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>e});let e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i}}).call(__webpack_require__._LM_("uuid",{__webpack_exports__,__webpack_require__}))()},931263(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Cp:()=>o,Dp:()=>b,J0:()=>w,J5:()=>T,NA:()=>f,Q:()=>g,SA:()=>k,VN:()=>v,Wt:()=>m,bX:()=>y,cx:()=>h,gV:()=>p,ky:()=>_,l7:()=>d,o:()=>u,r:()=>c,wd:()=>l});var e=__webpack_require__(769233);var t=__webpack_require__(613608);var r=__webpack_require__(15797);var n=__webpack_require__(123532);var s=__webpack_require__(352158);var a=__webpack_require__(172900);var i=__webpack_require__(612717);function o(e,t){return(0,n.o5)().captureException(e,(0,i.li)(t))}function l(e,t){let r=typeof t=="string"?t:undefined;let s=typeof t!=="string"?{captureContext:t}:undefined;return(0,n.o5)().captureMessage(e,r,s)}function c(e,t){return(0,n.o5)().captureEvent(e,t)}function u(e,t){(0,n.rm)().setContext(e,t)}function h(e){(0,n.rm)().setExtras(e)}function d(e,t){(0,n.rm)().setExtra(e,t)}function m(e){(0,n.rm)().setTags(e)}function f(e,t){(0,n.rm)().setTag(e,t)}function p(e){(0,n.rm)().setUser(e)}function g(){return(0,n.rm)().lastEventId()}async function y(e){let r=(0,n.KU)();return r?r.flush(e):(s.T&&t.vF.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function v(e){let r=(0,n.KU)();return r?r.close(e):(s.T&&t.vF.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function b(){return!!(0,n.KU)()}function k(e){(0,n.rm)().addEventProcessor(e)}function w(t){let s=(0,n.KU)();let i=(0,n.rm)();let o=(0,n.o5)();let{release:l,environment:c=r.U}=s&&s.getOptions()||{};let{userAgent:u}=e.O.navigator||{};let h=(0,a.fj)({release:l,environment:c,user:o.getUser()||i.getUser(),...u&&{userAgent:u},...t});let d=i.getSession();return d&&d.status==="ok"&&(0,a.qO)(d,{status:"exited"}),_(),i.setSession(h),o.setSession(h),h}function _(){let e=(0,n.rm)();let t=(0,n.o5)();let r=t.getSession()||e.getSession();r&&(0,a.Vu)(r),S(),e.setSession(),t.setSession()}function S(){let e=(0,n.rm)();let t=(0,n.o5)();let r=(0,n.KU)();let s=t.getSession()||e.getSession();s&&r&&r.captureSession(s)}function T(e=!1){if(e){_();return}S()}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},934379(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{y:()=>s});var e=__webpack_require__(414753);var t=__webpack_require__(402228);var r=__webpack_require__(577102);var n=__webpack_require__(411335);let s=(0,r._C)(e=>{return{name:"ThirdPartyErrorsFilter",setup(e){e.on("beforeEnvelope",e=>{(0,t.yH)(e,(e,t)=>{if(t==="event"){let t=Array.isArray(e)?e[1]:undefined;t&&((0,n.KT)(t),e[1]=t)}})}),e.on("applyFrameMetadata",t=>{if(t.type)return;let r=e.getOptions().stackParser;(0,n.Gr)(r,t)})},processEvent(t){let r=a(t);if(r){if(r[e.behaviour==="drop-error-if-contains-third-party-frames"||e.behaviour==="apply-tag-if-contains-third-party-frames"?"some":"every"](t=>!t.some(t=>e.filterKeys.includes(t)))){if(e.behaviour==="drop-error-if-contains-third-party-frames"||e.behaviour==="drop-error-if-exclusively-contains-third-party-frames")return null;t.tags={...t.tags,third_party_code:!0}}}return t}}});function a(t){let r=(0,e.RV)(t);return!r?undefined:(0,r.filter(e=>!!e.filename).map(e=>{return e.module_metadata?Object.keys(e.module_metadata).filter(e=>e.startsWith(i)).map(e=>e.slice(i.length)):(0,[])}))}let i="_sentryBundlerPluginAppKey:"}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},937053(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Pm:()=>e_,Sw:()=>eT});var e=__webpack_require__(784225);var t=__webpack_require__(342672);var r=__webpack_require__(142827);var n=__webpack_require__(142282);var s=__webpack_require__(760184);var a=__webpack_require__(908743);var i=__webpack_require__(745085);var o=__webpack_require__(188320);var l=__webpack_require__(879771);var c=__webpack_require__(614130);var u=__webpack_require__(797999);var h=__webpack_require__(609948);var d=__webpack_require__(544299);var m=__webpack_require__(186119);let f=(0,c.J)([(0,t.Yj)(),(0,t.ai)()]);let p=y([(0,t.Yj)()]);function g(e){let n=(0,l.E$)(s=>{return Array.isArray(s)?(0,t.YO)((0,r.RZ)(()=>n)):(0,e)});return n}function y(e){let r=e.length===1?e[0]:(0,c.J)(e);return g((0,t.me)((0,l.E$)(e=>{return typeof e=="boolean"?(0,t.zM)():(0,r)})))}function v(e){return(0,t.me)((0,l.E$)(r=>{return typeof r=="boolean"?(0,t.zM)():(0,e)}))}function b(e,r={}){return(0,t.Ik)({type:(0,l.eu)(e),props:(0,t.Ik)(r),key:(0,t.me)(f)})}function k(e,r){return(0,t.Ik)({type:(0,l.eu)(e),props:(0,l.E$)(r),key:(0,t.me)(f)})}(0,t.Ik)({type:(0,t.Yj)(),props:(0,t.g1)((0,t.Yj)(),a.zC),key:(0,t.me)(f)});let w=(0,c.J)([(0,l.eu)("none"),(0,l.eu)("medium"),(0,l.eu)("full")]);let _=b("Image",{src:(0,c.J)([(0,u.J)(),(0,d.H)({protocol:(0,l.eu)("https:")})]),alt:(0,t.lq)((0,t.Yj)()),borderRadius:(0,t.lq)(w),width:(0,t.lq)((0,t.ai)()),height:(0,t.lq)((0,t.ai)())});let S=b("Icon",{name:(0,c.J)(Object.values(o.$).map(e=>(0,l.eu)(e))),color:(0,t.lq)((0,c.J)([(0,l.eu)("default"),(0,l.eu)("primary"),(0,l.eu)("muted"),(0,l.eu)("error"),(0,l.eu)("success"),(0,l.eu)("warning")])),size:(0,t.lq)((0,c.J)([(0,l.eu)("md"),(0,l.eu)("inherit")]))});let T=b("Button",{children:y([p,_,S]),name:(0,t.lq)((0,t.Yj)()),type:(0,t.lq)((0,c.J)([(0,l.eu)("button"),(0,l.eu)("submit")])),variant:(0,t.lq)((0,c.J)([(0,l.eu)("primary"),(0,l.eu)("destructive")])),size:(0,t.lq)((0,c.J)([(0,l.eu)("sm"),(0,l.eu)("md")])),disabled:(0,t.lq)((0,t.zM)()),loading:(0,t.lq)((0,t.zM)()),form:(0,t.lq)((0,t.Yj)())});let x=b("Checkbox",{name:(0,t.Yj)(),checked:(0,t.lq)((0,t.zM)()),label:(0,t.lq)((0,t.Yj)()),variant:(0,t.lq)((0,c.J)([(0,l.eu)("default"),(0,l.eu)("toggle")])),disabled:(0,t.lq)((0,t.zM)())});let E=(0,t.Ik)({name:(0,t.Yj)(),value:(0,t.lq)((0,t.Yj)()),placeholder:(0,t.lq)((0,t.Yj)()),disabled:(0,t.lq)((0,t.zM)())});let j=(0,r.kp)(E,(0,t.Ik)({type:(0,l.eu)("text")}));let A=(0,r.kp)(E,(0,t.Ik)({type:(0,l.eu)("password")}));let C=(0,r.kp)(E,(0,t.Ik)({type:(0,l.eu)("number"),min:(0,t.lq)((0,t.ai)()),max:(0,t.lq)((0,t.ai)()),step:(0,t.lq)((0,t.ai)())}));let M=k("Input",e=>{if((0,i.Qd)(e)&&(0,i.i5)(e,"type"))switch(e.type){case"text":return j;case"password":return A;case"number":return C;default:return E}return E});let I=b("AddressInput",{name:(0,t.Yj)(),chainId:n.dg,value:(0,t.lq)((0,t.Yj)()),placeholder:(0,t.lq)((0,t.Yj)()),disabled:(0,t.lq)((0,t.zM)()),displayAvatar:(0,t.lq)((0,t.zM)())});let R=b("Option",{value:(0,t.Yj)(),children:(0,t.Yj)(),disabled:(0,t.lq)((0,t.zM)())});let O=b("Dropdown",{name:(0,t.Yj)(),value:(0,t.lq)((0,t.Yj)()),children:y([R]),disabled:(0,t.lq)((0,t.zM)())});let L=b("DateTimePicker",{name:(0,t.Yj)(),type:(0,t.lq)((0,c.J)([(0,l.eu)("date"),(0,l.eu)("time"),(0,l.eu)("datetime")])),placeholder:(0,t.lq)((0,t.Yj)()),disabled:(0,t.lq)((0,t.zM)()),disablePast:(0,t.lq)((0,t.zM)()),disableFuture:(0,t.lq)((0,t.zM)()),value:(0,t.lq)(h.U)});let N=b("Address",{address:(0,l.E$)(e=>{return typeof e=="string"&&e.startsWith("0x")?s.UG:(0,n.FX)}),truncate:(0,t.lq)((0,t.zM)()),displayName:(0,t.lq)((0,t.zM)()),avatar:(0,t.lq)((0,t.zM)())});let D=b("AccountSelector",{name:(0,t.Yj)(),hideExternalAccounts:(0,t.lq)((0,t.zM)()),chainIds:(0,t.lq)((0,t.YO)(n.dg)),switchGlobalAccount:(0,t.lq)((0,t.zM)()),value:(0,t.lq)(n.FX),disabled:(0,t.lq)((0,t.zM)())});let F=b("Card",{image:(0,t.lq)((0,t.Yj)()),title:(0,l.E$)(e=>{return typeof e=="object"?N:(0,(0,t.Yj)())}),description:(0,t.lq)((0,t.Yj)()),value:(0,t.Yj)(),extra:(0,t.lq)((0,t.Yj)())});let P=b("SelectorOption",{value:(0,t.Yj)(),children:F,disabled:(0,t.lq)((0,t.zM)())});let $=b("Selector",{name:(0,t.Yj)(),title:(0,t.Yj)(),value:(0,t.lq)((0,t.Yj)()),children:y([P]),disabled:(0,t.lq)((0,t.zM)())});let q=b("AssetSelector",{name:(0,t.Yj)(),addresses:m.j6,chainIds:(0,t.lq)((0,t.YO)(m.s1)),value:(0,t.lq)(m._g),disabled:(0,t.lq)((0,t.zM)())});let z=b("Radio",{value:(0,t.Yj)(),children:(0,t.Yj)(),disabled:(0,t.lq)((0,t.zM)())});let H=b("RadioGroup",{name:(0,t.Yj)(),value:(0,t.lq)((0,t.Yj)()),children:y([z]),disabled:(0,t.lq)((0,t.zM)())});let U=b("FileInput",{name:(0,t.Yj)(),accept:(0,c.J)([(0,t.lq)((0,t.YO)((0,t.Yj)()))]),compact:(0,t.lq)((0,t.zM)()),disabled:(0,t.lq)((0,t.zM)())});let B=[v((0,r.RZ)(()=>ek)),M];let G=[M,v((0,r.RZ)(()=>ek))];let W=[v((0,r.RZ)(()=>ek)),M,v((0,r.RZ)(()=>ek))];let V=[q,I,D,M,O,H,U,x,$,L];(0,c.J)([...V,...B,...G,...W]);let Y=(0,l.E$)(e=>{let r=Array.isArray(e);return r&&e.length===3?(0,t.PV)(W):(0,r&&e.length===2)?e[0]?.type==="Box"?(0,t.PV)(B):(0,t.PV)(G):(0,(0,l.i5)(V))});let J=b("Field",{label:(0,t.lq)((0,t.Yj)()),error:(0,t.lq)((0,t.Yj)()),children:Y});let K=b("Bold",{children:y([(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,Z)})])});let Z=b("Italic",{children:y([(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,K)})])});let X=(0,l.i5)([K,Z]);let Q=b("Avatar",{address:n.FX,size:(0,t.lq)((0,c.J)([(0,l.eu)("sm"),(0,l.eu)("md"),(0,l.eu)("lg")]))});let ee=y([(0,r.RZ)(()=>ek)]);let et=b("Box",{children:ee,direction:(0,t.lq)((0,c.J)([(0,l.eu)("horizontal"),(0,l.eu)("vertical")])),alignment:(0,t.lq)((0,c.J)([(0,l.eu)("start"),(0,l.eu)("center"),(0,l.eu)("end"),(0,l.eu)("space-between"),(0,l.eu)("space-around")])),crossAlignment:(0,t.lq)((0,c.J)([(0,l.eu)("start"),(0,l.eu)("center"),(0,l.eu)("end")])),center:(0,t.lq)((0,t.zM)())});let er=b("Form",{children:ee,name:(0,t.Yj)()});let en=(0,e.YP)(T,"FooterButton",e=>{if(typeof e.props.children=="string"||typeof e.props.children=="boolean"||e.props.children===null)return!0;if(Array.isArray(e.props.children)){if(!e.props.children.some(e=>typeof e!=="string"&&typeof e!=="boolean"&&e!==null))return!0}return"Footer buttons may only contain text."});let es=b("Section",{children:ee,direction:(0,t.lq)((0,c.J)([(0,l.eu)("horizontal"),(0,l.eu)("vertical")])),alignment:(0,t.lq)((0,c.J)([(0,l.eu)("start"),(0,l.eu)("center"),(0,l.eu)("end"),(0,l.eu)("space-between"),(0,l.eu)("space-around")]))});let ea=b("CollapsibleSection",{children:ee,label:(0,t.Yj)(),isLoading:(0,t.lq)((0,t.zM)()),isExpanded:(0,t.lq)((0,t.zM)()),direction:(0,t.lq)((0,c.J)([(0,l.eu)("horizontal"),(0,l.eu)("vertical")])),alignment:(0,t.lq)((0,c.J)([(0,l.eu)("start"),(0,l.eu)("center"),(0,l.eu)("end"),(0,l.eu)("space-between"),(0,l.eu)("space-around")]))});let ei=b("Footer",{children:(0,l.E$)(e=>{return Array.isArray(e)?(0,t.PV)([en,en]):(0,en)})});let eo=b("Copyable",{value:(0,t.Yj)(),sensitive:(0,t.lq)((0,t.zM)())});let el=b("Divider");let ec=b("Heading",{children:p,size:(0,t.lq)((0,c.J)([(0,l.eu)("sm"),(0,l.eu)("md"),(0,l.eu)("lg")]))});let eu=b("Link",{href:(0,t.Yj)(),children:y([(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,(0,l.i5)([X,S,_,N]))})])});let eh=b("Skeleton",{width:(0,t.lq)((0,t.KC)([(0,t.ai)(),(0,t.Yj)()])),height:(0,t.lq)((0,t.KC)([(0,t.ai)(),(0,t.Yj)()])),borderRadius:(0,t.lq)(w)});let ed=b("Text",{children:y([(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,(0,l.i5)([K,Z,eu,S,eh]))})]),alignment:(0,t.lq)((0,c.J)([(0,l.eu)("start"),(0,l.eu)("center"),(0,l.eu)("end")])),color:(0,t.lq)((0,c.J)([(0,l.eu)("default"),(0,l.eu)("alternative"),(0,l.eu)("muted"),(0,l.eu)("error"),(0,l.eu)("success"),(0,l.eu)("warning")])),size:(0,t.lq)((0,c.J)([(0,l.eu)("sm"),(0,l.eu)("md")])),fontWeight:(0,t.lq)((0,c.J)([(0,l.eu)("regular"),(0,l.eu)("medium"),(0,l.eu)("bold")]))});let em=b("Value",{value:(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,ed)}),extra:(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,ed)})});let ef=(0,l.E$)(e=>{return typeof e=="boolean"?(0,t.zM)():(0,(0,l.i5)([ed,K,Z,eu,_,S]))});let ep=(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,(0,l.i5)([ed,K,Z,eu,S]))});let eg=b("Tooltip",{children:(0,t.me)(ef),content:ep});let ey=b("Banner",{children:y([(0,l.i5)([ed,eu,S,T,K,Z,eh])]),title:(0,t.Yj)(),severity:(0,t.KC)([(0,l.eu)("danger"),(0,l.eu)("info"),(0,l.eu)("success"),(0,l.eu)("warning")])});let ev=b("Row",{label:(0,t.Yj)(),children:(0,r.RZ)(()=>(0,l.i5)([em,ek])),variant:(0,t.lq)((0,c.J)([(0,l.eu)("default"),(0,l.eu)("warning"),(0,l.eu)("critical")])),tooltip:(0,t.lq)((0,t.Yj)())});let eb=b("Spinner");let ek=(0,l.i5)([D,N,q,I,K,et,T,eo,L,el,O,H,J,U,er,ec,M,_,Z,eu,ev,eb,ed,eg,x,F,S,$,es,Q,ey,eh,ea]);let ew=b("Container",{children:(0,l.E$)(e=>{return Array.isArray(e)?(0,t.PV)([ek,ei]):(0,ek)}),backgroundColor:(0,t.lq)((0,c.J)([(0,l.eu)("default"),(0,l.eu)("alternative")]))});let e_=(0,l.i5)([ek,ew]);let eS=(0,l.i5)([q,I,D,T,M,U,J,er,K,Z,N,et,eo,L,el,ec,_,eu,ev,eb,ed,O,R,H,z,em,eg,x,ei,ew,F,S,$,P,es,Q,ey,eh,ea]);function eT(e){return(0,i.Qd)(e)&&(0,i.i5)(e,"type")&&(0,i.i5)(e,"props")&&(0,i.i5)(e,"key")}}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},939543(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{K:()=>t});var e=__webpack_require__(109910);function t(r,n,s=[n],a="npm"){let i=r._metadata||{};!i.sdk&&(i.sdk={name:`sentry.javascript.${n}`,packages:s.map(t=>({name:`${a}:@sentry/${t}`,version:e.M})),version:e.M}),r._metadata=i}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},942566(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e,t){let r=e==="production"?"metamask-extension":`metamask-extension-test`;return`${r}@${t}`}__webpack_require__.d(__webpack_exports__,{n:()=>e})}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},943924(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E:()=>r,S:()=>n});var e=__webpack_require__(769233);var t=__webpack_require__(109910);function r(){return n(e.O),e.O}function n(e){let r=e.__SENTRY__=e.__SENTRY__||{};return r.version=r.version||t.M,r[t.M]=r[t.M]||{}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},948972(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>t});var e=__webpack_require__(835203);class t extends e.A{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},949306(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>sY,w:()=>sB});var e=__webpack_require__(856928);var t=__webpack_require__(833097);var r=__webpack_require__(78463);var n=__webpack_require__(931263);var s=__webpack_require__(123532);var a=__webpack_require__(612717);var i=__webpack_require__(178061);var o=__webpack_require__(682631);var l=__webpack_require__(865961);var c=__webpack_require__(848294);var u=__webpack_require__(1090);var h=__webpack_require__(769233);var d=__webpack_require__(709502);var m=__webpack_require__(613608);var f=__webpack_require__(814508);var p=__webpack_require__(879561);var g=__webpack_require__(84607);var y=__webpack_require__(785755);var v=__webpack_require__(605257);var b=__webpack_require__(316310);var k=__webpack_require__(650773);var w=__webpack_require__(402228);var _=__webpack_require__(74263);var S=__webpack_require__(821396);var T=__webpack_require__(71337);var x=__webpack_require__(662925);var E=__webpack_require__(74342);var j=__webpack_require__(993671);let A=h.O;let C="sentryReplaySession";let M="Unable to send Replay";function I(e,t){return e!=null?e:(0,t())}function R(e){let t;let r=e[0];let n=1;while(n<e.length){let s=e[n];let a=e[n+1];if(n+=2,(s==="optionalAccess"||s==="optionalCall")&&r==null)return undefined;s==="access"||s==="optionalAccess"?(t=r,r=a(r)):(s==="call"||s==="optionalCall")&&(r=a((...e)=>r.call(t,...e)),t=undefined)}return r}var O;var L;function N(e){return e.nodeType===e.ELEMENT_NODE}function D(e){let t=R([e,"optionalAccess",e=>e.host]);return Boolean(R([t,"optionalAccess",e=>e.shadowRoot])===e)}function F(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function P(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),e}function $(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let r=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?r.push(`layer`):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}function q(e){try{let t=e.rules||e.cssRules;return t?P(Array.from(t,z).join("")):null}catch(e){return null}}function z(e){let t;if(U(e))try{t=q(e.styleSheet)||$(e)}catch(e){}else if(B(e)&&e.selectorText.includes(":"))return H(e.cssText);return t||e.cssText}function H(e){return e.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")}function U(e){return"styleSheet"in e}function B(e){return"selectorText"in e}(L=O||(O={}))[L["Document"]=0]="Document",L[L["DocumentType"]=1]="DocumentType",L[L["Element"]=2]="Element",L[L["Text"]=3]="Text",L[L["CDATA"]=4]="CDATA",L[L["Comment"]=5]="Comment";class G{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){return!e?-1:(0,I(R([this,"access",e=>e.getMeta,"call",t=>t(e),"optionalAccess",e=>e.id]),()=>-1))}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){let r=this.getNode(e);if(r){let e=this.nodeMetaMap.get(r);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function W(){return new G}function V({maskInputOptions:e,tagName:t,type:r}){return t==="OPTION"&&(t="SELECT"),Boolean(e[t.toLowerCase()]||r&&e[r]||r==="password"||t==="INPUT"&&!r&&e["text"])}function Y({isMasked:e,element:t,value:r,maskInputFn:n}){let s=r||"";return!e?s:(n&&(s=n(s,t)),"*".repeat(s.length))}function J(e){return e.toLowerCase()}function K(e){return e.toUpperCase()}let Z="__rrweb_original__";function X(e){let t=e.getContext("2d");if(!t)return!0;for(let r=0;r<e.width;r+=50)for(let n=0;n<e.height;n+=50){let s=t.getImageData;if(new Uint32Array((Z in s?s[Z]:s).call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(e=>e!==0))return!1}return!0}function Q(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?J(t):null}function ee(e,t,r){return t==="INPUT"&&(r==="radio"||r==="checkbox")?e.getAttribute("value")||"":(0,e.value)}function et(e,t){let r;try{r=new URL(e,I(t,()=>window.location.href))}catch(e){return null}return I(R([r.pathname.match(/\.([0-9a-z]+)(?:$)/i),"optionalAccess",e=>e[1]]),()=>null)}let er={};function en(e){let t=er[e];if(t)return t;let r=window.document;let n=window[e];if(r&&typeof r.createElement=="function")try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let s=t.contentWindow;s&&s[e]&&(n=s[e]),r.head.removeChild(t)}catch(e){}return er[e]=n.bind(window)}function es(...e){return en("setTimeout")(...e)}function ea(...e){return en("clearTimeout")(...e)}let ei=1;let eo=new RegExp("[^a-z0-9-_:]");let el=-2;function ec(){return ei++}function eu(e){if(e instanceof HTMLFormElement)return"form";let t=J(e.tagName);return eo.test(t)?"div":(0,t)}function eh(e){let t="";return(t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0]).split("?")[0]}let ed;let em;let ef=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm;let ep=/^(?:[a-z+]+:)?\/\//i;let eg=/^www\..*/i;let ey=/^(data:)([^,]*),(.*)/i;function ev(e,t){return(e||"").replace(ef,(e,r,n,s,a,i)=>{let o=n||a||i;let l=r||s||"";if(!o)return e;if(ep.test(o)||eg.test(o)||ey.test(o))return`url(${l}${o}${l})`;if(o[0]==="/")return`url(${l}${eh(t)+o}${l})`;let c=t.split("/");let u=o.split("/");for(let e of(c.pop(),u)){if(e===".")continue;e===".."?c.pop():c.push(e)}return`url(${l}${c.join("/")}${l})`})}let eb=/^[^ \t\n\r\u000c]+/;let ek=/^[, \t\n\r\u000c]+/;function ew(e,t){if(t.trim()==="")return t;let r=0;function n(e){let n;let s=e.exec(t.substring(r));return s?(n=s[0],r+=n.length,n):(0,"")}let s=[];while(!0){if(n(ek),r>=t.length)break;let a=n(eb);if(a.slice(-1)===",")a=e_(e,a.substring(0,a.length-1)),s.push(a);else{let n="";a=e_(e,a);let i=!1;while(!0){let e=t.charAt(r);if(e===""){s.push((a+n).trim());break}if(i)e===")"&&(i=!1);else{if(e===","){r+=1,s.push((a+n).trim());break}e==="("&&(i=!0)}n+=e,r+=1}}}return s.join(", ")}function e_(e,t){if(!t||t.trim()==="")return t;let r=e.createElement("a");return r.href=t,r.href}function eS(e){return Boolean(e.tagName==="svg"||e.ownerSVGElement)}function eT(){let e=document.createElement("a");return e.href="",e.href}function ex(e,t,r,n,s,a){if(!n)return n;if(r==="src"||r==="href"&&!(t==="use"&&n[0]==="#")||r==="xlink:href"&&n[0]!=="#")return e_(e,n);if(r==="background"&&(t==="table"||t==="td"||t==="th"))return e_(e,n);if(r==="srcset")return ew(e,n);if(r==="style")return ev(n,eT());else if(t==="object"&&r==="data")return e_(e,n);return typeof a=="function"?a(r,n,s):(0,n)}function eE(e,t,r){return(e==="video"||e==="audio")&&t==="autoplay"}function ej(e,t,r,n){try{if(n&&e.matches(n))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}if(r)return e.matches(r)}catch(e){}return!1}function eA(e,t){for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!1}function eC(e,t,r=Infinity,n=0){return!e||e.nodeType!==e.ELEMENT_NODE||n>r?-1:(0,t(e))?n:(0,eC(e.parentNode,t,r,n+1))}function eM(e,t){return r=>{if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(eA(r,e))return!0}if(t&&r.matches(t))return!0;return!1}catch(e){return!1}}}function eI(e,t,r,n,s,a){try{let i=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(i===null)return!1;if(i.tagName==="INPUT"){let e=i.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let o=-1;let l=-1;if(a){if((l=eC(i,eM(n,s)))<0)return!0;o=eC(i,eM(t,r),l>=0?l:Infinity)}else{if((o=eC(i,eM(t,r)))<0)return!1;l=eC(i,eM(n,s),o>=0?o:Infinity)}return o>=0?l>=0?o<=l:!0:l>=0?!1:!!a}catch(e){}return!!a}function eR(e,t,r){let n=e.contentWindow;if(!n)return;let s=!1;let a;try{a=n.document.readyState}catch(e){return}if(a!=="complete"){let n=es(()=>{!s&&(t(),s=!0)},r);e.addEventListener("load",()=>{ea(n),s=!0,t()});return}let i="about:blank";if(n.location.href!==i||e.src===i||e.src==="")return es(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function eO(e,t,r){let n=!1;let s;try{s=e.sheet}catch(e){return}if(s)return;let a=es(()=>{!n&&(t(),n=!0)},r);e.addEventListener("load",()=>{ea(a),n=!0,t()})}function eL(e,t){let{doc:r,mirror:n,blockClass:s,blockSelector:a,unblockSelector:i,maskAllText:o,maskAttributeFn:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:h,unmaskTextSelector:d,inlineStylesheet:m,maskInputOptions:f={},maskTextFn:p,maskInputFn:g,dataURLOptions:y={},inlineImages:v,recordCanvas:b,keepIframeSrcFn:k,newlyAddedElement:w=!1}=t;let _=eN(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:if(e.compatMode!=="CSS1Compat")return{type:O.Document,childNodes:[],compatMode:e.compatMode};return{type:O.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:O.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:_};case e.ELEMENT_NODE:return eF(e,{doc:r,blockClass:s,blockSelector:a,unblockSelector:i,inlineStylesheet:m,maskAttributeFn:l,maskInputOptions:f,maskInputFn:g,dataURLOptions:y,inlineImages:v,recordCanvas:b,keepIframeSrcFn:k,newlyAddedElement:w,rootId:_,maskAllText:o,maskTextClass:c,unmaskTextClass:u,maskTextSelector:h,unmaskTextSelector:d});case e.TEXT_NODE:return eD(e,{maskAllText:o,maskTextClass:c,unmaskTextClass:u,maskTextSelector:h,unmaskTextSelector:d,maskTextFn:p,maskInputOptions:f,maskInputFn:g,rootId:_});case e.CDATA_SECTION_NODE:return{type:O.CDATA,textContent:"",rootId:_};case e.COMMENT_NODE:return{type:O.Comment,textContent:e.textContent||"",rootId:_};default:return!1}}function eN(e,t){if(!t.hasNode(e))return undefined;let r=t.getId(e);return r===1?undefined:r}function eD(e,t){let{maskAllText:r,maskTextClass:n,unmaskTextClass:s,maskTextSelector:a,unmaskTextSelector:i,maskTextFn:o,maskInputOptions:l,maskInputFn:c,rootId:u}=t;let h=e.parentNode&&e.parentNode.tagName;let d=e.textContent;let m=h==="STYLE"?!0:undefined;let f=h==="SCRIPT"?!0:undefined;let p=h==="TEXTAREA"?!0:undefined;if(m&&d){try{e.nextSibling||e.previousSibling||R([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(d=q(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}d=ev(d,eT())}f&&(d="SCRIPT_PLACEHOLDER");let g=eI(e,n,a,s,i,r);return!m&&!f&&!p&&d&&g&&(d=o?o(d,e.parentElement):d.replace(/[\S]/g,"*")),p&&d&&(l.textarea||g)&&(d=c?c(d,e.parentNode):d.replace(/[\S]/g,"*")),h==="OPTION"&&d&&(d=Y({isMasked:eI(e,n,a,s,i,V({type:null,tagName:h,maskInputOptions:l})),element:e,value:d,maskInputFn:c})),{type:O.Text,textContent:d||"",isStyle:m,rootId:u}}function eF(e,t){let{doc:r,blockClass:n,blockSelector:s,unblockSelector:a,inlineStylesheet:i,maskInputOptions:o={},maskAttributeFn:l,maskInputFn:c,dataURLOptions:u={},inlineImages:h,recordCanvas:d,keepIframeSrcFn:m,newlyAddedElement:f=!1,rootId:p,maskAllText:g,maskTextClass:y,unmaskTextClass:v,maskTextSelector:b,unmaskTextSelector:k}=t;let w=ej(e,n,s,a);let _=eu(e);let S={};let T=e.attributes.length;for(let t=0;t<T;t++){let n=e.attributes[t];n.name&&!eE(_,n.name,n.value)&&(S[n.name]=ex(r,_,J(n.name),n.value,e,l))}if(_==="link"&&i){let t=Array.from(r.styleSheets).find(t=>{return t.href===e.href});let n=null;t&&(n=q(t)),n&&(delete S.rel,delete S.href,S._cssText=ev(n,t.href))}if(_==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=q(e.sheet);t&&(S._cssText=ev(t,eT()))}if(_==="input"||_==="textarea"||_==="select"||_==="option"){let t=Q(e);let r=ee(e,K(_),t);let n=e.checked;if(t!=="submit"&&t!=="button"&&r){let n=eI(e,y,b,v,k,V({type:t,tagName:K(_),maskInputOptions:o}));S.value=Y({isMasked:n,element:e,value:r,maskInputFn:c})}n&&(S.checked=n)}if(_==="option"&&(e.selected&&!o["select"]?S.selected=!0:delete S.selected),_==="canvas"&&d){if(e.__context==="2d")!X(e)&&(S.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){let t=e.toDataURL(u.type,u.quality);let r=document.createElement("canvas");r.width=e.width,r.height=e.height,t!==r.toDataURL(u.type,u.quality)&&(S.rr_dataURL=t)}}if(_==="img"&&h){!ed&&(em=(ed=r.createElement("canvas")).getContext("2d"));let t=e.crossOrigin;e.crossOrigin="anonymous";let n=()=>{e.removeEventListener("load",n);try{ed.width=e.naturalWidth,ed.height=e.naturalHeight,em.drawImage(e,0,0),S.rr_dataURL=ed.toDataURL(u.type,u.quality)}catch(t){console.warn(`Cannot inline img src=${e.currentSrc}! Error: ${t}`)}t?S.crossOrigin=t:e.removeAttribute("crossorigin")};e.complete&&e.naturalWidth!==0?n():e.addEventListener("load",n)}if((_==="audio"||_==="video")&&(S.rr_mediaState=e.paused?"paused":"played",S.rr_mediaCurrentTime=e.currentTime),!f&&(e.scrollLeft&&(S.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(S.rr_scrollTop=e.scrollTop)),w){let{width:t,height:r}=e.getBoundingClientRect();S={class:S.class,rr_width:`${t}px`,rr_height:`${r}px`}}_==="iframe"&&!m(S.src)&&(!w&&!e.contentDocument&&(S.rr_src=S.src),delete S.src);let x;try{customElements.get(_)&&(x=!0)}catch(e){}return{type:O.Element,tagName:_,attributes:S,childNodes:[],isSVG:eS(e)||undefined,needBlock:w,rootId:p,isCustom:x}}function eP(e){return e===undefined||e===null?"":(0,e.toLowerCase())}function e$(e,t){if(t.comment&&e.type===O.Comment)return!0;if(e.type===O.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")&&e.attributes.as==="script"||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&et(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(eP(e.attributes.name).match(/^msapplication-tile(image|color)$/)||eP(e.attributes.name)==="application-name"||eP(e.attributes.rel)==="icon"||eP(e.attributes.rel)==="apple-touch-icon"||eP(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&eP(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(eP(e.attributes.property).match(/^(og|twitter|fb):/)||eP(e.attributes.name).match(/^(og|twitter):/)||eP(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(eP(e.attributes.name)==="robots"||eP(e.attributes.name)==="googlebot"||eP(e.attributes.name)==="bingbot"))return!0;else if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==undefined)return!0;else if(t.headMetaAuthorship&&(eP(e.attributes.name)==="author"||eP(e.attributes.name)==="generator"||eP(e.attributes.name)==="framework"||eP(e.attributes.name)==="publisher"||eP(e.attributes.name)==="progid"||eP(e.attributes.property).match(/^article:/)||eP(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&(eP(e.attributes.name)==="google-site-verification"||eP(e.attributes.name)==="yandex-verification"||eP(e.attributes.name)==="csrf-token"||eP(e.attributes.name)==="p:domain_verify"||eP(e.attributes.name)==="verify-v1"||eP(e.attributes.name)==="verification"||eP(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function eq(e,t){let{doc:r,mirror:n,blockClass:s,blockSelector:a,unblockSelector:i,maskAllText:o,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:h,skipChild:d=!1,inlineStylesheet:m=!0,maskInputOptions:f={},maskAttributeFn:p,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b={},inlineImages:k=!1,recordCanvas:w=!1,onSerialize:_,onIframeLoad:S,iframeLoadTimeout:T=5e3,onStylesheetLoad:x,stylesheetLoadTimeout:E=5e3,keepIframeSrcFn:j=()=>!1,newlyAddedElement:A=!1}=t;let{preserveWhiteSpace:C=!0}=t;let M=eL(e,{doc:r,mirror:n,blockClass:s,blockSelector:a,maskAllText:o,unblockSelector:i,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:h,inlineStylesheet:m,maskInputOptions:f,maskAttributeFn:p,maskTextFn:g,maskInputFn:y,dataURLOptions:b,inlineImages:k,recordCanvas:w,keepIframeSrcFn:j,newlyAddedElement:A});if(!M)return console.warn(e,"not serialized"),null;let I;I=n.hasNode(e)?n.getId(e):!e$(M,v)&&(C||M.type!==O.Text||M.isStyle||M.textContent.replace(/^\s+|\s+$/gm,"").length)?ec():el;let R=Object.assign(M,{id:I});if(n.add(e,R),I===el)return null;_&&_(e);let L=!d;if(R.type===O.Element){L=L&&!R.needBlock,delete R.needBlock;let t=e.shadowRoot;t&&F(t)&&(R.isShadowHost=!0)}if((R.type===O.Document||R.type===O.Element)&&L){v.headWhitespace&&R.type===O.Element&&R.tagName==="head"&&(C=!1);let t={doc:r,mirror:n,blockClass:s,blockSelector:a,maskAllText:o,unblockSelector:i,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:h,skipChild:d,inlineStylesheet:m,maskInputOptions:f,maskAttributeFn:p,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:k,recordCanvas:w,preserveWhiteSpace:C,onSerialize:_,onIframeLoad:S,iframeLoadTimeout:T,onStylesheetLoad:x,stylesheetLoadTimeout:E,keepIframeSrcFn:j};for(let r of Array.from(e.childNodes)){let e=eq(r,t);e&&R.childNodes.push(e)}if(N(e)&&e.shadowRoot)for(let r of Array.from(e.shadowRoot.childNodes)){let n=eq(r,t);n&&(F(e.shadowRoot)&&(n.isShadow=!0),R.childNodes.push(n))}}return e.parentNode&&D(e.parentNode)&&F(e.parentNode)&&(R.isShadow=!0),R.type===O.Element&&R.tagName==="iframe"&&eR(e,()=>{let t=e.contentDocument;if(t&&S){let r=eq(t,{doc:t,mirror:n,blockClass:s,blockSelector:a,unblockSelector:i,maskAllText:o,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:m,maskInputOptions:f,maskAttributeFn:p,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:k,recordCanvas:w,preserveWhiteSpace:C,onSerialize:_,onIframeLoad:S,iframeLoadTimeout:T,onStylesheetLoad:x,stylesheetLoadTimeout:E,keepIframeSrcFn:j});r&&S(e,r)}},T),R.type===O.Element&&R.tagName==="link"&&typeof R.attributes.rel=="string"&&(R.attributes.rel==="stylesheet"||R.attributes.rel==="preload"&&typeof R.attributes.href=="string"&&et(R.attributes.href)==="css")&&eO(e,()=>{if(x){let t=eq(e,{doc:r,mirror:n,blockClass:s,blockSelector:a,unblockSelector:i,maskAllText:o,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:m,maskInputOptions:f,maskAttributeFn:p,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:k,recordCanvas:w,preserveWhiteSpace:C,onSerialize:_,onIframeLoad:S,iframeLoadTimeout:T,onStylesheetLoad:x,stylesheetLoadTimeout:E,keepIframeSrcFn:j});t&&x(e,t)}},E),R}function ez(e,t){let{mirror:r=new G,blockClass:n="rr-block",blockSelector:s=null,unblockSelector:a=null,maskAllText:i=!1,maskTextClass:o="rr-mask",unmaskTextClass:l=null,maskTextSelector:c=null,unmaskTextSelector:u=null,inlineStylesheet:h=!0,inlineImages:d=!1,recordCanvas:m=!1,maskAllInputs:f=!1,maskAttributeFn:p,maskTextFn:g,maskInputFn:y,slimDOM:v=!1,dataURLOptions:b,preserveWhiteSpace:k,onSerialize:w,onIframeLoad:_,iframeLoadTimeout:S,onStylesheetLoad:T,stylesheetLoadTimeout:x,keepIframeSrcFn:E=()=>!1}=t||{};return eq(e,{doc:e,mirror:r,blockClass:n,blockSelector:s,unblockSelector:a,maskAllText:i,maskTextClass:o,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:h,maskInputOptions:f===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:f===!1?{}:f,maskAttributeFn:p,maskTextFn:g,maskInputFn:y,slimDOMOptions:v===!0||v==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:v==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:v===!1?{}:v,dataURLOptions:b,inlineImages:d,recordCanvas:m,preserveWhiteSpace:k,onSerialize:w,onIframeLoad:_,iframeLoadTimeout:S,onStylesheetLoad:T,stylesheetLoadTimeout:x,keepIframeSrcFn:E,newlyAddedElement:!1})}function eH(e){let t;let r=e[0];let n=1;while(n<e.length){let s=e[n];let a=e[n+1];if(n+=2,(s==="optionalAccess"||s==="optionalCall")&&r==null)return undefined;s==="access"||s==="optionalAccess"?(t=r,r=a(r)):(s==="call"||s==="optionalCall")&&(r=a((...e)=>r.call(t,...e)),t=undefined)}return r}function eU(e,t,r=document){let n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>r.removeEventListener(e,t,n)}let eB="Please stop import mirror directly. Instead of that,"+`\r
`+"now you can use replayer.getMirror() to access the mirror instance of a replayer,"+`\r
`+"or you can use record.mirror to access the mirror instance during recording.";let eG={map:{},getId(){return console.error(eB),-1},getNode(){return console.error(eB),null},removeNodeFromMap(){console.error(eB)},has(){return console.error(eB),!1},reset(){console.error(eB)}};function eW(e,t,r={}){let n=null;let s=0;return function(...a){let i=Date.now();!s&&r.leading===!1&&(s=i);let o=t-(i-s);let l=this;o<=0||o>t?(n&&(tl(n),n=null),s=i,e.apply(l,a)):!n&&r.trailing!==!1&&(n=to(()=>{s=r.leading===!1?0:Date.now(),n=null,e.apply(l,a)},o))}}function eV(e,t,r,n,s=window){let a=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,n?r:{set(e){to(()=>{r.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>eV(e,t,a||{},!0)}function eY(e,t,r){try{if(!(t in e))return()=>{};let n=e[t];let s=r(n);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=s,()=>{e[t]=n}}catch(e){return()=>{}}}typeof window!=="undefined"&&window.Proxy&&window.Reflect&&(eG=new Proxy(eG,{get(e,t,r){return t==="map"&&console.error(eB),Reflect.get(e,t,r)}}));let eJ=Date.now;function eK(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==undefined?e.pageXOffset:eH([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||eH([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||eH([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==undefined?e.pageYOffset:eH([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||eH([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||eH([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function eZ(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function eX(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function eQ(e){return!e?null:(0,e.nodeType===e.ELEMENT_NODE?e:e.parentElement)}function e0(e,t,r,n,s){if(!e)return!1;let a=eQ(e);if(!a)return!1;let i=eM(t,r);if(!s){let e=n&&a.matches(n);return i(a)&&!e}let o=eC(a,i);let l=-1;return o<0?!1:(n&&(l=eC(a,eM(null,n))),o>-1&&l<0)?!0:(0,o<l)}function e1(e,t){return t.getId(e)!==-1}function e3(e,t){return t.getId(e)===el}function e2(e,t){if(D(e))return!1;let r=t.getId(e);return!t.has(r)?!0:(0,e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE)?!1:(0,!e.parentNode)?!0:(0,e2(e.parentNode,t))}function e6(e){return Boolean(e.changedTouches)}function e5(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),!Node.prototype.contains&&(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode)return!1})}function e8(e,t){return Boolean(e.nodeName==="IFRAME"&&t.getMeta(e))}function e7(e,t){return Boolean(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function e4(e){return Boolean(eH([e,"optionalAccess",e=>e.shadowRoot]))}!/[1-9][0-9]{12}/.test(Date.now().toString())&&(eJ=()=>new Date().getTime());class e9{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return(0,e.S)(this.styleIDMap.get(t),()=>-1)}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let r;return r=t===undefined?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function te(e){let t=null;return eH([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function tt(e){let t=e;let r;while(r=te(t))t=r;return t}function tr(e){let t=e.ownerDocument;if(!t)return!1;let r=tt(e);return t.contains(r)}function tn(e){let t=e.ownerDocument;return!t?!1:(0,t.contains(e)||tr(e))}let ts={};function ta(e){let t=ts[e];if(t)return t;let r=window.document;let n=window[e];if(r&&typeof r.createElement=="function")try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let s=t.contentWindow;s&&s[e]&&(n=s[e]),r.head.removeChild(t)}catch(e){}return ts[e]=n.bind(window)}function ti(...e){return ta("requestAnimationFrame")(...e)}function to(...e){return ta("setTimeout")(...e)}function tl(...e){return ta("clearTimeout")(...e)}var tc;var tu=((tc=tu||{})[tc["DomContentLoaded"]=0]="DomContentLoaded",tc[tc["Load"]=1]="Load",tc[tc["FullSnapshot"]=2]="FullSnapshot",tc[tc["IncrementalSnapshot"]=3]="IncrementalSnapshot",tc[tc["Meta"]=4]="Meta",tc[tc["Custom"]=5]="Custom",tc[tc["Plugin"]=6]="Plugin",tc);var th;var td=((th=td||{})[th["Mutation"]=0]="Mutation",th[th["MouseMove"]=1]="MouseMove",th[th["MouseInteraction"]=2]="MouseInteraction",th[th["Scroll"]=3]="Scroll",th[th["ViewportResize"]=4]="ViewportResize",th[th["Input"]=5]="Input",th[th["TouchMove"]=6]="TouchMove",th[th["MediaInteraction"]=7]="MediaInteraction",th[th["StyleSheetRule"]=8]="StyleSheetRule",th[th["CanvasMutation"]=9]="CanvasMutation",th[th["Font"]=10]="Font",th[th["Log"]=11]="Log",th[th["Drag"]=12]="Drag",th[th["StyleDeclaration"]=13]="StyleDeclaration",th[th["Selection"]=14]="Selection",th[th["AdoptedStyleSheet"]=15]="AdoptedStyleSheet",th[th["CustomElement"]=16]="CustomElement",th);var tm;var tf=((tm=tf||{})[tm["MouseUp"]=0]="MouseUp",tm[tm["MouseDown"]=1]="MouseDown",tm[tm["Click"]=2]="Click",tm[tm["ContextMenu"]=3]="ContextMenu",tm[tm["DblClick"]=4]="DblClick",tm[tm["Focus"]=5]="Focus",tm[tm["Blur"]=6]="Blur",tm[tm["TouchStart"]=7]="TouchStart",tm[tm["TouchMove_Departed"]=8]="TouchMove_Departed",tm[tm["TouchEnd"]=9]="TouchEnd",tm[tm["TouchCancel"]=10]="TouchCancel",tm);var tp;var tg=((tp=tg||{})[tp["Mouse"]=0]="Mouse",tp[tp["Pen"]=1]="Pen",tp[tp["Touch"]=2]="Touch",tp);function ty(e){let t;let r=e[0];let n=1;while(n<e.length){let s=e[n];let a=e[n+1];if(n+=2,(s==="optionalAccess"||s==="optionalCall")&&r==null)return undefined;s==="access"||s==="optionalAccess"?(t=r,r=a(r)):(s==="call"||s==="optionalCall")&&(r=a((...e)=>r.call(t,...e)),t=undefined)}return r}function tv(e){return"__ln"in e}class tb{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let r=0;r<e;r++)t=ty([t,"optionalAccess",e=>e.next])||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&tv(e.previousSibling)){let r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&tv(e.nextSibling)&&e.nextSibling.__ln.previous){let r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;t.next===null&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;if(!this.head)return;t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--}}let tk=(e,t)=>`${e}@${t}`;class tw{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[];let t=new Set;let r=new tb;let n=e=>{let t=e;let r=el;while(r===el)r=(t=t&&t.nextSibling)&&this.mirror.getId(t);return r};let s=s=>{if(!s.parentNode||!tn(s))return;let a=D(s.parentNode)?this.mirror.getId(te(s)):this.mirror.getId(s.parentNode);let i=n(s);if(a===-1||i===-1)return r.addNode(s);let o=eq(s,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{e8(e,this.mirror)&&!e0(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),e7(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),e4(s)&&this.shadowDomManager.addShadowRoot(s.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{if(e0(e,this.blockClass,this.blockSelector,this.unblockSelector,!1))return;this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});o&&(e.push({parentId:a,nextId:i,node:o}),t.add(o.id))};while(this.mapRemoves.length)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet){if(tS(this.removes,e,this.mirror)&&!this.movedSet.has(e.parentNode))continue;s(e)}for(let e of this.addedSet)tx(this.droppedSet,e)||tS(this.removes,e,this.mirror)?tx(this.movedSet,e)?s(e):this.droppedSet.add(e):s(e);let a=null;while(r.length){let e=null;if(a){let t=this.mirror.getId(a.value.parentNode);let r=n(a.value);t!==-1&&r!==-1&&(e=a)}if(!e){let t=r.tail;while(t){let r=t;if(t=t.previous,r){let t=this.mirror.getId(r.value.parentNode);if(n(r.value)===-1)continue;if(t!==-1){e=r;break}{let t=r.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let n=t.parentNode.host;if(this.mirror.getId(n)!==-1){e=r;break}}}}}}if(!e){while(r.head)r.removeNode(r.head.value);break}a=e.previous,r.removeNode(e.value),s(e.value)}let i={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if(typeof t.style=="string"){let r=JSON.stringify(e.styleDiff);let n=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+n).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};if(!i.texts.length&&!i.attributes.length&&!i.removes.length&&!i.adds.length)return;this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(i)},this.processMutation=e=>{if(e3(e.target,this.mirror))return;switch(e.type){case"characterData":{let t=e.target.textContent;!e0(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&t!==e.oldValue&&this.texts.push({value:eI(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,eQ(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target;let r=e.attributeName;let n=e.target.getAttribute(r);if(r==="value"){let r=Q(t);let s=t.tagName;n=ee(t,s,r);let a=V({maskInputOptions:this.maskInputOptions,tagName:s,type:r});n=Y({isMasked:eI(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,a),element:t,value:n,maskInputFn:this.maskInputFn})}if(e0(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===e.oldValue)return;let s=this.attributeMap.get(e.target);if(t.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(n)){if(t.contentDocument)return;r="rr_src"}if(!s&&(s={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s),this.attributeMap.set(e.target,s)),r==="type"&&t.tagName==="INPUT"&&(e.oldValue||"").toLowerCase()==="password"&&t.setAttribute("data-rr-is-password","true"),!eE(t.tagName,r)){if(s.attributes[r]=ex(this.doc,J(t.tagName),J(r),n,t,this.maskAttributeFn),r==="style"){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let r=this.unattachedDoc.createElement("span");for(let n of(e.oldValue&&r.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(n);let a=t.style.getPropertyPriority(n);e!==r.style.getPropertyValue(n)||a!==r.style.getPropertyPriority(n)?a===""?s.styleDiff[n]=e:s.styleDiff[n]=[e,a]:s._unchangedStyles[n]=[e,a]}for(let e of Array.from(r.style))t.style.getPropertyValue(e)===""&&(s.styleDiff[e]=!1)}}break}case"childList":{if(e0(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let r=this.mirror.getId(t);let n=D(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);if(e0(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||e3(t,this.mirror)||!e1(t,this.mirror))return;this.addedSet.has(t)?(t_(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&r===-1||e2(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[tk(r,n)]?t_(this.movedSet,t):this.removes.push({parentId:n,id:r,isShadow:D(e.target)&&F(e.target)?!0:undefined})),this.mapRemoves.push(t)});break}}},this.genAdds=(e,t)=>{if(this.processedNodeManager.inOtherBuffer(e,this)||this.addedSet.has(e)||this.movedSet.has(e))return;if(this.mirror.hasNode(e)){if(e3(e,this.mirror))return;this.movedSet.add(e);let r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&r!==-1&&(this.movedMap[tk(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!e0(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes.forEach(e=>this.genAdds(e)),e4(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function t_(e,t){e.delete(t),t.childNodes.forEach(t=>t_(e,t))}function tS(e,t,r){return e.length===0?!1:(0,tT(e,t,r))}function tT(e,t,r){let{parentNode:n}=t;if(!n)return!1;let s=r.getId(n);return e.some(e=>e.id===s)?!0:(0,tT(e,n,r))}function tx(e,t){return e.size===0?!1:(0,tE(e,t))}function tE(e,t){let{parentNode:r}=t;return!r?!1:(0,e.has(r))?!0:(0,tE(e,r))}let tj;function tA(e){tj=e}function tC(){tj=undefined}let tM=e=>{return!tj?e:(0,(...t)=>{try{return e(...t)}catch(e){if(tj&&tj(e)===!0)return()=>{};throw e}})};function tI(e){let t;let r=e[0];let n=1;while(n<e.length){let s=e[n];let a=e[n+1];if(n+=2,(s==="optionalAccess"||s==="optionalCall")&&r==null)return undefined;s==="access"||s==="optionalAccess"?(t=r,r=a(r)):(s==="call"||s==="optionalCall")&&(r=a((...e)=>r.call(t,...e)),t=undefined)}return r}let tR=[];function tO(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function tL(e,t){let r=new tw;tR.push(r),r.init(e);let n=window.MutationObserver||window.__rrMutationObserver;let s=tI([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);s&&window[s]&&(n=window[s]);let a=new n(tM(t=>{if(e.onMutation&&e.onMutation(t)===!1)return;r.processMutations.bind(r)(t)}));return a.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function tN({mousemoveCb:e,sampling:t,doc:r,mirror:n}){if(t.mousemove===!1)return()=>{};let s=typeof t.mousemove=="number"?t.mousemove:50;let a=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let i=[];let o;let l=eW(tM(t=>{let r=Date.now()-o;e(i.map(e=>{return e.timeOffset-=r,e}),t),i=[],o=null}),a);let c=tM(eW(tM(e=>{let t=tO(e);let{clientX:r,clientY:s}=e6(e)?e.changedTouches[0]:e;!o&&(o=eJ()),i.push({x:r,y:s,id:n.getId(t),timeOffset:eJ()-o}),l(typeof DragEvent!=="undefined"&&e instanceof DragEvent?td.Drag:e instanceof MouseEvent?td.MouseMove:td.TouchMove)}),s,{trailing:!1}));let u=[eU("mousemove",c,r),eU("touchmove",c,r),eU("drag",c,r)];return tM(()=>{u.forEach(e=>e())})}function tD({mouseInteractionCb:e,doc:t,mirror:r,blockClass:n,blockSelector:s,unblockSelector:a,sampling:i}){if(i.mouseInteraction===!1)return()=>{};let o=i.mouseInteraction===!0||i.mouseInteraction===undefined?{}:i.mouseInteraction;let l=[];let c=null;return Object.keys(tf).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&o[e]!==!1).forEach(i=>{let o=J(i);let u=(i,t=>{let o=tO(t);if(e0(o,n,s,a,!0))return;let l=null;let u=i;if("pointerType"in t){switch(t.pointerType){case"mouse":l=tg.Mouse;break;case"touch":l=tg.Touch;break;case"pen":l=tg.Pen;break}l===tg.Touch?tf[i]===tf.MouseDown?u="TouchStart":tf[i]===tf.MouseUp&&(u="TouchEnd"):tg.Pen}else e6(t)&&(l=tg.Touch);l!==null?(c=l,(u.startsWith("Touch")&&l===tg.Touch||u.startsWith("Mouse")&&l===tg.Mouse)&&(l=null)):tf[i]===tf.Click&&(l=c,c=null);let h=e6(t)?t.changedTouches[0]:t;if(!h)return;let d=r.getId(o);let{clientX:m,clientY:f}=h;tM(e)({type:tf[u],id:d,x:m,y:f,...l!==null&&{pointerType:l}})});if(window.PointerEvent)switch(tf[i]){case tf.MouseDown:case tf.MouseUp:o=o.replace("mouse","pointer");break;case tf.TouchStart:case tf.TouchEnd:return}l.push(eU(o,u,t))}),tM(()=>{l.forEach(e=>e())})}function tF({scrollCb:e,doc:t,mirror:r,blockClass:n,blockSelector:s,unblockSelector:a,sampling:i}){return eU("scroll",tM(eW(tM(i=>{let o=tO(i);if(!o||e0(o,n,s,a,!0))return;let l=r.getId(o);if(o===t&&t.defaultView){let r=eK(t.defaultView);e({id:l,x:r.left,y:r.top})}else e({id:l,x:o.scrollLeft,y:o.scrollTop})}),i.scroll||100)),t)}function tP({viewportResizeCb:e},{win:t}){let r=-1;let n=-1;return eU("resize",tM(eW(tM(()=>{let t=eZ();let s=eX();(r!==t||n!==s)&&(e({width:Number(s),height:Number(t)}),r=t,n=s)}),200)),t)}let t$=["INPUT","TEXTAREA","SELECT"];let tq=new WeakMap;function tz({inputCb:e,doc:t,mirror:r,blockClass:n,blockSelector:s,unblockSelector:a,ignoreClass:i,ignoreSelector:o,maskInputOptions:l,maskInputFn:c,sampling:u,userTriggeredOnInput:h,maskTextClass:d,unmaskTextClass:m,maskTextSelector:f,unmaskTextSelector:p}){function g(e){let r=tO(e);let u=e.isTrusted;let g=r&&K(r.tagName);if(g==="OPTION"&&(r=r.parentElement),!r||!g||t$.indexOf(g)<0||e0(r,n,s,a,!0))return;let v=r;if(v.classList.contains(i)||o&&v.matches(o))return;let b=Q(r);let k=ee(v,g,b);let w=!1;let _=V({maskInputOptions:l,tagName:g,type:b});let S=eI(r,d,f,m,p,_);(b==="radio"||b==="checkbox")&&(w=r.checked),k=Y({isMasked:S,element:r,value:k,maskInputFn:c}),y(r,h?{text:k,isChecked:w,userTriggered:u}:{text:k,isChecked:w});let T=r.name;b==="radio"&&T&&w&&t.querySelectorAll(`input[type="radio"][name="${T}"]`).forEach(e=>{if(e!==r){let t=Y({isMasked:S,element:e,value:ee(e,g,b),maskInputFn:c});y(e,h?{text:t,isChecked:!w,userTriggered:!1}:{text:t,isChecked:!w})}})}function y(t,n){let s=tq.get(t);if(!s||s.text!==n.text||s.isChecked!==n.isChecked){tq.set(t,n);let s=r.getId(t);tM(e)({...n,id:s})}}let v=(u.input==="last"?["change"]:["input","change"]).map(e=>eU(e,tM(g),t));let b=t.defaultView;if(!b)return()=>{v.forEach(e=>e())};let k=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value");let w=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return k&&k.set&&v.push(...w.map(e=>eV(e[0],e[1],{set(){tM(g)({target:this,isTrusted:!1})}},!1,b))),tM(()=>{v.forEach(e=>e())})}function tH(e){var t,r;return t=e,r=[],tX("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||tX("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||tX("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||tX("CSSConditionRule")&&t.parentRule instanceof CSSConditionRule?r.unshift(Array.from(t.parentRule.cssRules).indexOf(t)):t.parentStyleSheet&&r.unshift(Array.from(t.parentStyleSheet.cssRules).indexOf(t)),r}function tU(e,t,r){let n,s;return!e?{}:(e.ownerNode?n=t.getId(e.ownerNode):s=r.getId(e),{styleId:s,id:n})}function tB({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:n}){if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};let s=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:tM((n,s,a)=>{let[i,o]=a;let{id:l,styleId:c}=tU(s,t,r.styleMirror);return(l&&l!==-1||c&&c!==-1)&&e({id:l,styleId:c,adds:[{rule:i,index:o}]}),n.apply(s,a)})});let a=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:tM((n,s,a)=>{let[i]=a;let{id:o,styleId:l}=tU(s,t,r.styleMirror);return(o&&o!==-1||l&&l!==-1)&&e({id:o,styleId:l,removes:[{index:i}]}),n.apply(s,a)})});let i;n.CSSStyleSheet.prototype.replace&&(i=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:tM((n,s,a)=>{let[i]=a;let{id:o,styleId:l}=tU(s,t,r.styleMirror);return(o&&o!==-1||l&&l!==-1)&&e({id:o,styleId:l,replace:i}),n.apply(s,a)})}));let o;n.CSSStyleSheet.prototype.replaceSync&&(o=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:tM((n,s,a)=>{let[i]=a;let{id:o,styleId:l}=tU(s,t,r.styleMirror);return(o&&o!==-1||l&&l!==-1)&&e({id:o,styleId:l,replaceSync:i}),n.apply(s,a)})}));let l={};tQ("CSSGroupingRule")?l.CSSGroupingRule=n.CSSGroupingRule:(tQ("CSSMediaRule")&&(l.CSSMediaRule=n.CSSMediaRule),tQ("CSSConditionRule")&&(l.CSSConditionRule=n.CSSConditionRule),tQ("CSSSupportsRule")&&(l.CSSSupportsRule=n.CSSSupportsRule));let c={};return Object.entries(l).forEach(([n,s])=>{c[n]={insertRule:s.prototype.insertRule,deleteRule:s.prototype.deleteRule},s.prototype.insertRule=new Proxy(c[n].insertRule,{apply:tM((n,s,a)=>{let[i,o]=a;let{id:l,styleId:c}=tU(s.parentStyleSheet,t,r.styleMirror);return(l&&l!==-1||c&&c!==-1)&&e({id:l,styleId:c,adds:[{rule:i,index:[...tH(s),o||0]}]}),n.apply(s,a)})}),s.prototype.deleteRule=new Proxy(c[n].deleteRule,{apply:tM((n,s,a)=>{let[i]=a;let{id:o,styleId:l}=tU(s.parentStyleSheet,t,r.styleMirror);return(o&&o!==-1||l&&l!==-1)&&e({id:o,styleId:l,removes:[{index:[...tH(s),i]}]}),n.apply(s,a)})})}),tM(()=>{n.CSSStyleSheet.prototype.insertRule=s,n.CSSStyleSheet.prototype.deleteRule=a,i&&(n.CSSStyleSheet.prototype.replace=i),o&&(n.CSSStyleSheet.prototype.replaceSync=o),Object.entries(l).forEach(([e,t])=>{t.prototype.insertRule=c[e].insertRule,t.prototype.deleteRule=c[e].deleteRule})})}function tG({mirror:e,stylesheetManager:t},r){let n=null;n=r.nodeName==="#document"?e.getId(r):e.getId(r.host);let s=r.nodeName==="#document"?tI([r,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):tI([r,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]);let a=tI([s,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(tI([s,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):undefined;return n===null||n===-1||!s||!a?()=>{}:(Object.defineProperty(r,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){return tI([a,"access",e=>e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){let r=tI([a,"access",e=>e.set,"optionalAccess",e=>e.call,"call",t=>t(this,e)]);if(n!==null&&n!==-1)try{t.adoptStyleSheets(e,n)}catch(e){}return r}}),tM(()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set})}))}function tW({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:n},{win:s}){let a=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:tM((s,i,o)=>{let[l,c,u]=o;if(r.has(l))return a.apply(i,[l,c,u]);let{id:h,styleId:d}=tU(tI([i,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,n.styleMirror);return(h&&h!==-1||d&&d!==-1)&&e({id:h,styleId:d,set:{property:l,value:c,priority:u},index:tH(i.parentRule)}),s.apply(i,o)})});let i=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:tM((s,a,o)=>{let[l]=o;if(r.has(l))return i.apply(a,[l]);let{id:c,styleId:u}=tU(tI([a,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,n.styleMirror);return(c&&c!==-1||u&&u!==-1)&&e({id:c,styleId:u,remove:{property:l},index:tH(a.parentRule)}),s.apply(a,o)})}),tM(()=>{s.CSSStyleDeclaration.prototype.setProperty=a,s.CSSStyleDeclaration.prototype.removeProperty=i})}function tV({mediaInteractionCb:e,blockClass:t,blockSelector:r,unblockSelector:n,mirror:s,sampling:a,doc:i}){let o=tM(i=>eW(tM(a=>{let o=tO(a);if(!o||e0(o,t,r,n,!0))return;let{currentTime:l,volume:c,muted:u,playbackRate:h}=o;e({type:i,id:s.getId(o),currentTime:l,volume:c,muted:u,playbackRate:h})}),a.media||500));let l=[eU("play",o(0),i),eU("pause",o(1),i),eU("seeked",o(2),i),eU("volumechange",o(3),i),eU("ratechange",o(4),i)];return tM(()=>{l.forEach(e=>e())})}function tY({fontCb:e,doc:t}){let r=t.defaultView;if(!r)return()=>{};let n=[];let s=new WeakMap;let a=r.FontFace;r.FontFace=function(e,t,r){let n=new a(e,t,r);return s.set(n,{family:e,buffer:typeof t!=="string",descriptors:r,fontSource:typeof t=="string"?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};let i=eY(t.fonts,"add",function(t){return function(r){return to(tM(()=>{let t=s.get(r);t&&(e(t),s.delete(r))}),0),t.apply(this,[r])}});return n.push(()=>{r.FontFace=a}),n.push(i),tM(()=>{n.forEach(e=>e())})}function tJ(e){let{doc:t,mirror:r,blockClass:n,blockSelector:s,unblockSelector:a,selectionCb:i}=e;let o=!0;let l=tM(()=>{let e=t.getSelection();if(!e||o&&tI([e,"optionalAccess",e=>e.isCollapsed]))return;o=e.isCollapsed||!1;let l=[];let c=e.rangeCount||0;for(let t=0;t<c;t++){let{startContainer:i,startOffset:o,endContainer:c,endOffset:u}=e.getRangeAt(t);if(e0(i,n,s,a,!0)||e0(c,n,s,a,!0))continue;l.push({start:r.getId(i),startOffset:o,end:r.getId(c),endOffset:u})}i({ranges:l})});return l(),eU("selectionchange",l)}function tK({doc:e,customElementCb:t}){let r=e.defaultView;return!r||!r.customElements?()=>{}:(0,eY(r.customElements,"define",function(e){return function(r,n,s){try{t({define:{name:r}})}catch(e){}return e.apply(this,[r,n,s])}}))}function tZ(e,t={}){let r=e.doc.defaultView;if(!r)return()=>{};let n;e.recordDOM&&(n=tL(e,e.doc));let s=tN(e);let a=tD(e);let i=tF(e);let o=tP(e,{win:r});let l=tz(e);let c=tV(e);let u=()=>{};let h=()=>{};let d=()=>{};let m=()=>{};e.recordDOM&&(u=tB(e,{win:r}),h=tG(e,e.doc),d=tW(e,{win:r}),e.collectFonts&&(m=tY(e)));let f=tJ(e);let p=tK(e);let g=[];for(let t of e.plugins)g.push(t.observer(t.callback,r,t.options));return tM(()=>{tR.forEach(e=>e.reset()),tI([n,"optionalAccess",e=>e.disconnect,"call",e=>e()]),s(),a(),i(),o(),l(),c(),u(),h(),d(),m(),f(),p(),g.forEach(e=>e())})}function tX(e){return window[e]!==void 0}function tQ(e){return Boolean(window[e]!==void 0&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class t0{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,r,n){let s=r||this.getIdToRemoteIdMap(e);let a=n||this.getRemoteIdToIdMap(e);let i=s.get(t);return!i&&(i=this.generateIdFn(),s.set(t,i),a.set(i,t)),i}getIds(e,t){let r=this.getIdToRemoteIdMap(e);let n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,r,n))}getRemoteId(e,t,r){let n=r||this.getRemoteIdToIdMap(e);if(typeof t!=="number")return t;let s=n.get(t);return!s?-1:(0,s)}getRemoteIds(e,t){let r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,r))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return!t&&(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return!t&&(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}function t1(e){let t;let r=e[0];let n=1;while(n<e.length){let s=e[n];let a=e[n+1];if(n+=2,(s==="optionalAccess"||s==="optionalCall")&&r==null)return undefined;s==="access"||s==="optionalAccess"?(t=r,r=a(r)):(s==="call"||s==="optionalCall")&&(r=a((...e)=>r.call(t,...e)),t=undefined)}return r}class t3{constructor(){this.crossOriginIframeMirror=new t0(ec),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class t2{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new t0(ec),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new t0(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),t1([this,"access",e=>e.loadListener,"optionalCall",t=>t(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){if(e.data.type!=="rrweb"||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let r=this.transformCrossOriginEvent(t,e.data.event);r&&this.wrappedEmit(r,e.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case tu.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let r=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,r),this.patchRootIdOnNode(t.data.node,r),{timestamp:t.timestamp,type:tu.IncrementalSnapshot,data:{source:td.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case tu.Meta:case tu.Load:case tu.DomContentLoaded:return!1;case tu.Plugin:return t;case tu.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case tu.IncrementalSnapshot:switch(t.data.source){case td.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let r=this.crossOriginIframeRootIdMap.get(e);r&&this.patchRootIdOnNode(t.node,r)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case td.Drag:case td.TouchMove:case td.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case td.ViewportResize:return!1;case td.MediaInteraction:case td.MouseInteraction:case td.Scroll:case td.CanvasMutation:case td.Input:return this.replaceIds(t.data,e,["id"]),t;case td.StyleSheetRule:case td.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case td.Font:return t;case td.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case td.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t1([t,"access",e=>e.data,"access",e=>e.styles,"optionalAccess",e=>e.forEach,"call",t=>t(t=>{this.replaceStyleIds(t,e,["styleId"])})]),t}}return!1}replace(e,t,r,n){for(let s of n){if(!Array.isArray(t[s])&&typeof t[s]!=="number")continue;Array.isArray(t[s])?t[s]=e.getIds(r,t[s]):t[s]=e.getId(r,t[s])}return t}replaceIds(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)}replaceStyleIds(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type!==O.Document&&!e.rootId&&(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class t6{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class t5{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!F(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let r=tL({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(tF({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),to(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(tG({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){if(!e.contentWindow||!e.contentDocument)return;this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){let r=this;this.restoreHandlers.push(eY(e.prototype,"attachShadow",function(e){return function(n){let s=e.call(this,n);return this.shadowRoot&&tn(this)&&r.addShadowRoot(this.shadowRoot,t),s}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class t8{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class t7{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new e9,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){if(this.trackedLinkElements.has(e))return;this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e)}adoptStyleSheets(e,t){if(e.length===0)return;let r={id:t,styleIds:[]};let n=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),n.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:z(e),index:t}))})),r.styleIds.push(e)}n.length>0&&(r.styles=n),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class t4{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){ti(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(e,t){let r=this.nodeMap.get(e);return r&&Array.from(r).some(e=>e!==t)}add(e,t){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}let t9;let re;try{if(Array.from([1],e=>e*2)[0]!==2){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=(0,t.z)([e,"access",e=>e.contentWindow,"optionalAccess",e=>e.Array,"access",e=>e.from])||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let rt=W();function rr(e={}){let{emit:r,checkoutEveryNms:n,checkoutEveryNth:s,blockClass:a="rr-block",blockSelector:i=null,unblockSelector:o=null,ignoreClass:l="rr-ignore",ignoreSelector:c=null,maskAllText:u=!1,maskTextClass:h="rr-mask",unmaskTextClass:d=null,maskTextSelector:m=null,unmaskTextSelector:f=null,inlineStylesheet:p=!0,maskAllInputs:g,maskInputOptions:y,slimDOMOptions:v,maskAttributeFn:b,maskInputFn:k,maskTextFn:w,maxCanvasSize:_=null,packFn:S,sampling:T={},dataURLOptions:x={},mousemoveWait:E,recordDOM:j=!0,recordCanvas:A=!1,recordCrossOriginIframes:C=!1,recordAfter:M=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:I=!1,collectFonts:R=!1,inlineImages:O=!1,plugins:L,keepIframeSrcFn:N=()=>!1,ignoreCSSAttributes:D=new Set([]),errorHandler:F,onMutation:P,getCanvasManager:$}=e;tA(F);let q=C?window.parent===window:!0;let z=!1;if(!q)try{window.parent.document&&(z=!1)}catch(e){z=!0}if(q&&!r)throw new Error("emit function is required");E!==undefined&&T.mousemove===undefined&&(T.mousemove=E),rt.reset();let H=g===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:y!==undefined?y:{};let U=v===!0||v==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:v==="all",headMetaDescKeywords:v==="all"}:v||{};e5();let B;let G=0;let W=e=>{for(let t of L||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&!z&&(e=S(e)),e};t9=(e,a)=>{if(e.timestamp=eJ(),(0,t.z)([tR,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])&&e.type!==tu.FullSnapshot&&!(e.type===tu.IncrementalSnapshot&&e.data.source===td.Mutation)&&tR.forEach(e=>e.unfreeze()),q)(0,t.z)([r,"optionalCall",t=>t(W(e),a)]);else if(z){let t={type:"rrweb",event:W(e),origin:window.location.origin,isCheckout:a};window.parent.postMessage(t,"*")}if(e.type===tu.FullSnapshot)B=e,G=0;else if(e.type===tu.IncrementalSnapshot){if(e.data.source===td.Mutation&&e.data.isAttachIframe)return;G++;let t=s&&G>=s;let r=n&&B&&e.timestamp-B.timestamp>n;(t||r)&&et(!0)}};let V=e=>{t9({type:tu.IncrementalSnapshot,data:{source:td.Mutation,...e}})};let Y=e=>t9({type:tu.IncrementalSnapshot,data:{source:td.Scroll,...e}});let J=e=>t9({type:tu.IncrementalSnapshot,data:{source:td.CanvasMutation,...e}});let K=new t7({mutationCb:V,adoptedStyleSheetCb:e=>t9({type:tu.IncrementalSnapshot,data:{source:td.AdoptedStyleSheet,...e}})});let Z=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new t3:new t2({mirror:rt,mutationCb:V,stylesheetManager:K,recordCrossOriginIframes:C,wrappedEmit:t9});for(let e of L||[])e.getMirror&&e.getMirror({nodeMirror:rt,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});let X=new t4;let Q=rs($,{mirror:rt,win:window,mutationCb:e=>t9({type:tu.IncrementalSnapshot,data:{source:td.CanvasMutation,...e}}),recordCanvas:A,blockClass:a,blockSelector:i,unblockSelector:o,maxCanvasSize:_,sampling:T["canvas"],dataURLOptions:x,errorHandler:F});let ee=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new t6:new t5({mutationCb:V,scrollCb:Y,bypassOptions:{onMutation:P,blockClass:a,blockSelector:i,unblockSelector:o,maskAllText:u,maskTextClass:h,unmaskTextClass:d,maskTextSelector:m,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:H,dataURLOptions:x,maskAttributeFn:b,maskTextFn:w,maskInputFn:k,recordCanvas:A,inlineImages:O,sampling:T,slimDOMOptions:U,iframeManager:Z,stylesheetManager:K,canvasManager:Q,keepIframeSrcFn:N,processedNodeManager:X},mirror:rt});let et=(e=!1)=>{if(!j)return;t9({type:tu.Meta,data:{href:window.location.href,width:eX(),height:eZ()}},e),K.reset(),ee.init(),tR.forEach(e=>e.lock());let t=ez(document,{mirror:rt,blockClass:a,blockSelector:i,unblockSelector:o,maskAllText:u,maskTextClass:h,unmaskTextClass:d,maskTextSelector:m,unmaskTextSelector:f,inlineStylesheet:p,maskAllInputs:H,maskAttributeFn:b,maskInputFn:k,maskTextFn:w,slimDOM:U,dataURLOptions:x,recordCanvas:A,inlineImages:O,onSerialize:e=>{e8(e,rt)&&Z.addIframe(e),e7(e,rt)&&K.trackLinkElement(e),e4(e)&&ee.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Z.attachIframe(e,t),e.contentWindow&&Q.addWindow(e.contentWindow),ee.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{K.attachLinkElement(e,t)},keepIframeSrcFn:N});if(!t)return console.warn("Failed to snapshot the document");t9({type:tu.FullSnapshot,data:{node:t,initialOffset:eK(window)}}),tR.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&K.adoptStyleSheets(document.adoptedStyleSheets,rt.getId(document))};re=et;try{let e=[];let r=e=>{return tM(tZ)({onMutation:P,mutationCb:V,mousemoveCb:(e,t)=>t9({type:tu.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>t9({type:tu.IncrementalSnapshot,data:{source:td.MouseInteraction,...e}}),scrollCb:Y,viewportResizeCb:e=>t9({type:tu.IncrementalSnapshot,data:{source:td.ViewportResize,...e}}),inputCb:e=>t9({type:tu.IncrementalSnapshot,data:{source:td.Input,...e}}),mediaInteractionCb:e=>t9({type:tu.IncrementalSnapshot,data:{source:td.MediaInteraction,...e}}),styleSheetRuleCb:e=>t9({type:tu.IncrementalSnapshot,data:{source:td.StyleSheetRule,...e}}),styleDeclarationCb:e=>t9({type:tu.IncrementalSnapshot,data:{source:td.StyleDeclaration,...e}}),canvasMutationCb:J,fontCb:e=>t9({type:tu.IncrementalSnapshot,data:{source:td.Font,...e}}),selectionCb:e=>{t9({type:tu.IncrementalSnapshot,data:{source:td.Selection,...e}})},customElementCb:e=>{t9({type:tu.IncrementalSnapshot,data:{source:td.CustomElement,...e}})},blockClass:a,ignoreClass:l,ignoreSelector:c,maskAllText:u,maskTextClass:h,unmaskTextClass:d,maskTextSelector:m,unmaskTextSelector:f,maskInputOptions:H,inlineStylesheet:p,sampling:T,recordDOM:j,recordCanvas:A,inlineImages:O,userTriggeredOnInput:I,collectFonts:R,doc:e,maskAttributeFn:b,maskInputFn:k,maskTextFn:w,keepIframeSrcFn:N,blockSelector:i,unblockSelector:o,slimDOMOptions:U,dataURLOptions:x,mirror:rt,iframeManager:Z,stylesheetManager:K,shadowDomManager:ee,processedNodeManager:X,canvasManager:Q,ignoreCSSAttributes:D,plugins:(0,t.z)([L,"optionalAccess",e=>e.filter,"call",e=>e(e=>e.observer),"optionalAccess",e=>e.map,"call",e=>e(e=>({observer:e.observer,options:e.options,callback:t=>t9({type:tu.Plugin,data:{plugin:e.name,payload:t}})}))])||[]},{})};Z.addLoadListener(t=>{try{e.push(r(t.contentDocument))}catch(e){console.warn(e)}});let n=()=>{et(),e.push(r(document))};return document.readyState==="interactive"||document.readyState==="complete"?n():(e.push(eU("DOMContentLoaded",()=>{t9({type:tu.DomContentLoaded,data:{}}),M==="DOMContentLoaded"&&n()})),e.push(eU("load",()=>{t9({type:tu.Load,data:{}}),M==="load"&&n()},window))),()=>{e.forEach(e=>e()),X.destroy(),re=undefined,tC()}}catch(e){console.warn(e)}}function rn(e){if(!re)throw new Error("please take full snapshot after start recording");re(e)}function rs(e,t){try{return e?e(t):new t8}catch(e){return console.warn("Unable to initialize CanvasManager"),new t8}}rr.mirror=rt,rr.takeFullSnapshot=rn;let ra=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__;let ri=["info","warn","error","log"];let ro="[Replay] ";function rl(e,t="info"){(0,c.Z)({category:"console",data:{logger:"replay"},level:t,message:`${ro}${e}`},{level:t})}let rc=function(){let e=!1;let t=!1;let r={exception:()=>undefined,infoTick:()=>undefined,setConfig:r=>{e=r.captureExceptions,t=r.traceInternals}};return ra?(ri.forEach(e=>{r[e]=(...r)=>{m.vF[e](ro,...r),t&&rl(r.join(""),(0,y.t)(e))}}),r.exception=(s,...a)=>{a.length&&r.error&&r.error(...a),m.vF.error(ro,s),e?(0,n.Cp)(s):t&&rl(s,"error")},r.infoTick=(...e)=>{m.vF.info(ro,...e),t&&setTimeout(()=>rl(e[0]),0)}):ri.forEach(e=>{r[e]=()=>undefined}),r}();function ru(e){return e>0x2540be3ff?e:e*1e3}function rh(e){return e>0x2540be3ff?e/1e3:e}function rd(e,t){if(t.category==="sentry.transaction")return;["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>{return e.throttledAddEvent({type:tu.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:(0,p.S8)(t,10,1e3)}}),t.category==="console"})}function rm(e){return e.closest("button,a")||e}function rf(e){let t=rp(e);return!t||!(t instanceof Element)?t:(0,rm(t))}function rp(e){return rg(e)?e.target:(0,e)}function rg(e){return typeof e=="object"&&!!e&&"target"in e}let ry;function rv(e){return!ry&&(ry=[],rb()),ry.push(e),()=>{let t=ry?ry.indexOf(e):-1;t>-1&&ry.splice(t,1)}}function rb(){(0,g.GS)(A,"open",function(e){return function(...t){if(ry)try{ry.forEach(e=>e())}catch(e){}return e.apply(A,t)}})}let rk=new Set([td.Mutation,td.StyleSheetRule,td.StyleDeclaration,td.AdoptedStyleSheet,td.CanvasMutation,td.Selection,td.MediaInteraction]);function rw(e,t,r){e.handleClick(t,r)}class r_{constructor(e,t,r=rd){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){let e=rv(()=>{this._lastMutation=rE()});this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(rT(t,this._ignoreSelector)||!rx(e))return;let r={timestamp:rh(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};if(this._clicks.some(e=>e.node===r.node&&Math.abs(e.timestamp-r.timestamp)<1))return;this._clicks.push(r),this._clicks.length===1&&this._scheduleCheckClicks()}registerMutation(e=Date.now()){this._lastMutation=rh(e)}registerScroll(e=Date.now()){this._lastScroll=rh(e)}registerClick(e){let t=rm(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[];let t=rE();for(let r of(this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:undefined),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:undefined),r.timestamp+this._timeout<=t&&e.push(r)}),e)){let e=this._clicks.indexOf(r);e>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay;let r=e.scrollAfter&&e.scrollAfter<=this._scollTimeout;let n=e.mutationAfter&&e.mutationAfter<=this._threshold;let{clickCount:s,clickBreadcrumb:a}=e;if(!r&&!n){let r=Math.min(e.mutationAfter||this._timeout,this._timeout)*1e3;let n=r<this._timeout*1e3?"mutation":"timeout";let i={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:A.location.href,route:t.getCurrentRoute(),timeAfterClickMs:r,endReason:n,clickCount:s||1}};this._addBreadcrumbEvent(t,i);return}if(s>1){let e={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:A.location.href,route:t.getCurrentRoute(),clickCount:s,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=(0,E.wg)(()=>this._checkClicks(),1e3)}}let rS=["A","BUTTON","INPUT"];function rT(e,t){return!rS.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t)?!0:(0,!1)}function rx(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function rE(){return Date.now()/1e3}function rj(e,t){try{if(!rA(t))return;let{source:r}=t.data;if(rk.has(r)&&e.registerMutation(t.timestamp),r===td.Scroll&&e.registerScroll(t.timestamp),rC(t)){let{type:r,id:n}=t.data;let s=rr.mirror.getNode(n);s instanceof HTMLElement&&r===tf.Click&&e.registerClick(s)}}catch(e){}}function rA(e){return e.type===3}function rC(e){return e.data.source===td.MouseInteraction}function rM(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var rI;var rR;(rR=rI||(rI={}))[rR["Document"]=0]="Document",rR[rR["DocumentType"]=1]="DocumentType",rR[rR["Element"]=2]="Element",rR[rR["Text"]=3]="Text",rR[rR["CDATA"]=4]="CDATA",rR[rR["Comment"]=5]="Comment";let rO=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function rL(e){let t={};for(let r in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(rO.has(r)){let n=r;(r==="data-testid"||r==="data-test-id")&&(n="testId"),t[n]=e[r]}return t}function rN(e,t){let r=rr.mirror.getId(e);let n=r&&rr.mirror.getNode(r);let s=n&&rr.mirror.getMeta(n);let a=s&&rP(s)?s:null;return{message:t,data:a?{nodeId:r,node:{id:r,tagName:a.tagName,textContent:Array.from(a.childNodes).map(e=>e.type===rI.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:rL(a.attributes)}}:{}}}function rD(e){let{target:t,message:r}=rF(e);return rM({category:`ui.${e.name}`,...rN(t,r)})}function rF(e){let t=e.name==="click";let r;let n=null;try{n=t?rf(e.event):rp(e.event),r=(0,u.Hd)(n,{maxStringLength:200})||"<unknown>"}catch(e){r="<unknown>"}return{target:n,message:r}}function rP(e){return e.type===rI.Element}function r$(e,t){if(!e.isEnabled())return;e.updateUserActivity();let r=rq(t);if(!r)return;rd(e,r)}function rq(e){let{metaKey:t,shiftKey:r,ctrlKey:n,altKey:s,key:a,target:i}=e;if(!i||rz(i)||!a)return null;let o=t||n||s;let l=a.length===1;if(!o&&l)return null;let c=(0,u.Hd)(i,{maxStringLength:200})||"<unknown>";let h=rN(i,c);return rM({category:"ui.keyDown",message:c,data:{...h.data,metaKey:t,shiftKey:r,ctrlKey:n,altKey:s,key:a}})}function rz(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}let rH={resource:rJ,paint:rV,navigation:rY};function rU(e,t){return({metric:r})=>void t.replayPerformanceEntries.push(e(r))}function rB(e){return e.map(rG).filter(Boolean)}function rG(e){let t=rH[e.entryType];return!t?null:(0,t(e))}function rW(e){return((k.k3||A.performance.timeOrigin)+e)/1e3}function rV(e){let{duration:t,entryType:r,name:n,startTime:s}=e;let a=rW(s);return{type:r,name:n,start:a,end:a+t,data:undefined}}function rY(e){let{entryType:t,name:r,decodedBodySize:n,duration:s,domComplete:a,encodedBodySize:i,domContentLoadedEventStart:o,domContentLoadedEventEnd:l,domInteractive:c,loadEventStart:u,loadEventEnd:h,redirectCount:d,startTime:m,transferSize:f,type:p}=e;return s===0?null:(0,{type:`${t}.${p}`,start:rW(m),end:rW(a),name:r,data:{size:f,decodedBodySize:n,encodedBodySize:i,duration:s,domInteractive:c,domContentLoadedEventStart:o,domContentLoadedEventEnd:l,loadEventStart:u,loadEventEnd:h,domComplete:a,redirectCount:d}})}function rJ(e){let{entryType:t,initiatorType:r,name:n,responseEnd:s,startTime:a,decodedBodySize:i,encodedBodySize:o,responseStatus:l,transferSize:c}=e;return["fetch","xmlhttprequest"].includes(r)?null:(0,{type:`${t}.${r}`,start:rW(a),end:rW(s),name:n,data:{size:c,statusCode:l,decodedBodySize:i,encodedBodySize:o}})}function rK(e){let t=e.entries[e.entries.length-1];return r1(e,"largest-contentful-paint",t&&t.element?[t.element]:undefined)}function rZ(e){return e.sources!==undefined}function rX(e){let t=[];let r=[];for(let n of e.entries)if(rZ(n)){let e=[];for(let t of n.sources)if(t.node){r.push(t.node);let n=rr.mirror.getId(t.node);n&&e.push(n)}t.push({value:n.value,nodeIds:e.length?e:undefined})}return r1(e,"cumulative-layout-shift",r,t)}function rQ(e){let t=e.entries[e.entries.length-1];return r1(e,"first-input-delay",t&&t.target?[t.target]:undefined)}function r0(e){let t=e.entries[e.entries.length-1];return r1(e,"interaction-to-next-paint",t&&t.target?[t.target]:undefined)}function r1(e,t,r,n){let s=e.value;let a=e.rating;let i=rW(s);return{type:"web-vital",name:t,start:i,end:i,data:{value:s,size:s,rating:a,nodeIds:r?r.map(e=>rr.mirror.getId(e)):undefined,attributions:n}}}function r3(e){function t(t){!e.performanceEntries.includes(t)&&e.performanceEntries.push(t)}function r({entries:e}){e.forEach(t)}let n=[];return["navigation","paint","resource"].forEach(e=>{n.push((0,S.wv)(e,r))}),n.push((0,S.Pt)(rU(rK,e)),(0,S.a9)(rU(rX,e)),(0,S.T5)(rU(rQ,e)),(0,S.hT)(rU(r0,e))),()=>{n.forEach(e=>e())}}let r2=`var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([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,0,0,0]),i=new t([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,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}},L=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},O=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},j=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},q=function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&j(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(O(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&&j(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),J="undefined"!=typeof TextEncoder&&new TextEncoder,K="undefined"!=typeof TextDecoder&&new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(J)return J.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),a=i.length;return q(i,n),j(i,a-8,r.d()),j(i,a-4,e),i}(P(t))}const R=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new H,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new N(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=>{R.clear()},addEvent:t=>R.addEvent(t),finish:()=>R.finish(),compress:t=>Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&&"function"==typeof V[n])try{const t=V[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});`;function r6(){let e=new Blob([r2]);return URL.createObjectURL(e)}class r5 extends Error{constructor(){super(`Event buffer exceeded maximum size of ${"20000000"}.`)}}class r8{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>2e7)throw new r5;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return!e?null:(0,ru(e))}}class r7{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(0,this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:r})=>{r.success?e():t()},{once:!0}),this._worker.addEventListener("error",e=>{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){ra&&rc.info("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){let r=this._getAndIncrementId();return new Promise((n,s)=>{let a=({data:t})=>{if(t.method!==e||t.id!==r)return;if(this._worker.removeEventListener("message",a),!t.success){ra&&rc.error("Error in compression worker: ",t.response),s(new Error("Error in compression worker"));return}n(t.response)};this._worker.addEventListener("message",a),this._worker.postMessage({id:r,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class r4{constructor(e){this._worker=new r7(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=ru(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let r=JSON.stringify(e);return(this._totalSize+=r.length,this._totalSize>2e7)?Promise.reject(new r5):(0,this._sendEventToWorker(r))}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{ra&&rc.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class r9{constructor(e){this._fallback=new r8,this._compression=new r4(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){ra&&rc.exception(e,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t}=this._fallback;let r=[];for(let t of e)r.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._used=this._compression;try{await Promise.all(r)}catch(e){ra&&rc.exception(e,"Failed to add events when switching buffers.")}}}function ne({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=nt(t);if(e)return e}return ra&&rc.info("Using simple buffer"),new r8}function nt(e){try{let t=e||nr();if(!t)return;ra&&rc.info(`Using compression worker${e?` from ${e}`:""}`);let r=new Worker(t);return new r9(r)}catch(e){ra&&rc.exception(e,"Failed to create compression worker")}}function nr(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__=="undefined"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?r6():(0,"")}function nn(){try{return"sessionStorage"in A&&!!A.sessionStorage}catch(e){return!1}}function ns(e){na(),e.session=undefined}function na(){if(!nn())return;try{A.sessionStorage.removeItem(C)}catch(e){}}function ni(e){return e===undefined?!1:(0,Math.random()<e)}function no(e){let t=Date.now();let r=e.id||(0,f.eJ)();let n=e.started||t;let s=e.lastActivity||t;let a=e.segmentId||0;return{id:r,started:n,lastActivity:s,segmentId:a,sampled:e.sampled,previousSessionId:e.previousSessionId}}function nl(e){if(!nn())return;try{A.sessionStorage.setItem(C,JSON.stringify(e))}catch(e){}}function nc(e,t){return ni(e)?"session":t?"buffer":!1}function nu({sessionSampleRate:e,allowBuffering:t,stickySession:r=!1},{previousSessionId:n}={}){let s=no({sampled:nc(e,t),previousSessionId:n});return r&&nl(s),s}function nh(){if(!nn())return null;try{let e=A.sessionStorage.getItem(C);if(!e)return null;let t=JSON.parse(e);return ra&&rc.infoTick("Loading existing session"),no(t)}catch(e){return null}}function nd(e,t,r=+new Date){return e===null||t===undefined||t<0?!0:(0,t===0)?!1:(0,e+t<=r)}function nm(e,{maxReplayDuration:t,sessionIdleExpire:r,targetTime:n=Date.now()}){return nd(e.started,t,n)||nd(e.lastActivity,r,n)}function nf(e,{sessionIdleExpire:t,maxReplayDuration:r}){return!nm(e,{sessionIdleExpire:t,maxReplayDuration:r})||e.sampled==="buffer"&&e.segmentId===0?!1:(0,!0)}function np({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:r},n){let s=n.stickySession&&nh();return!s?(ra&&rc.infoTick("Creating new session"),nu(n,{previousSessionId:r})):(0,!nf(s,{sessionIdleExpire:e,maxReplayDuration:t}))?s:(ra&&rc.infoTick("Session in sessionStorage is expired, creating new one..."),nu(n,{previousSessionId:s.id}))}function ng(e){return e.type===tu.Custom}function ny(e,t,r){return!nk(e,t)?!1:(nb(e,t,r),!0)}function nv(e,t,r){return!nk(e,t)?Promise.resolve(null):(0,nb(e,t,r))}async function nb(e,t,r){if(!e.eventBuffer)return null;try{r&&e.recordingMode==="buffer"&&e.eventBuffer.clear(),r&&(e.eventBuffer.hasCheckout=!0);let n=e.getOptions();let s=nw(t,n.beforeAddRecordingEvent);if(!s)return;return await e.eventBuffer.addEvent(s)}catch(n){let t=n&&n instanceof r5?"addEventSizeExceeded":"addEvent";e.handleException(n),await e.stop({reason:t});let r=(0,s.KU)();r&&r.recordDroppedEvent("internal_sdk_error","replay")}}function nk(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let r=ru(t.timestamp);return r+e.timeouts.sessionIdlePause<Date.now()?!1:(0,r>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)?(ra&&rc.infoTick(`Skipping event with timestamp ${r} because it is after maxReplayDuration`),!1):(0,!0)}function nw(e,t){try{if(typeof t=="function"&&ng(e))return t(e)}catch(e){return ra&&rc.exception(e,"An error occured in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function n_(e){return!e.type}function nS(e){return e.type==="transaction"}function nT(e){return e.type==="replay_event"}function nx(e){return e.type==="feedback"}function nE(e){return(t,r)=>{if(!e.isEnabled()||!n_(t)&&!nS(t))return;let n=r&&r.statusCode;if(!n||n<200||n>=300)return;if(nS(t)){nj(e,t);return}nA(e,t)}}function nj(e,t){let r=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&r.traceIds.size<100&&r.traceIds.add(t.contexts.trace.trace_id)}function nA(e,t){let r=e.getContext();if(t.event_id&&r.errorIds.size<100&&r.errorIds.add(t.event_id),e.recordingMode!=="buffer"||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:n}=e.getOptions();if(typeof n=="function"&&!n(t))return;(0,E.wg)(()=>{e.sendBufferedReplayOrFlush()})}function nC(e){return t=>{if(!e.isEnabled()||!n_(t))return;nM(e,t)}}function nM(e,t){let r=t.exception&&t.exception.values&&t.exception.values[0]&&t.exception.values[0].value;if(typeof r!=="string")return;(r.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||r.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&rd(e,rM({category:"replay.hydrate-error",data:{url:(0,u.$N)()}}))}function nI(e){let t=(0,s.KU)();if(!t)return;t.on("beforeAddBreadcrumb",t=>nR(e,t))}function nR(e,t){if(!e.isEnabled()||!nN(t))return;let r=nO(t);r&&rd(e,r)}function nO(e){return!nN(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:(0,e.category==="console")?nL(e):(0,rM(e))}function nL(e){let t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return rM(e);let r=!1;let n=t.map(e=>{if(!e)return e;if(typeof e=="string")return e.length>5e3?(r=!0,`${e.slice(0,5e3)}…`):(0,e);if(typeof e=="object")try{let t=(0,p.S8)(e,7);if(JSON.stringify(t).length>5e3)return r=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}…`;return t}catch(e){}return e});return rM({...e,data:{...e.data,arguments:n,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function nN(e){return!!e.category}function nD(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:(0,t.originalException&&t.originalException.__rrweb__)?!0:(0,!1)}function nF(e,t){e.triggerUserActivity(),e.addUpdate(()=>{return!t.timestamp?!0:(e.throttledAddEvent({type:tu.Custom,timestamp:t.timestamp*1e3,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)})}function nP(e,t){return e.recordingMode!=="buffer"||t.message===M||!t.exception||t.type?!1:(0,ni(e.getOptions().errorSampleRate))}function n$(e){return Object.assign((t,r)=>{return!e.isEnabled()||e.isPaused()?t:(0,nT(t))?(delete t.breadcrumbs,t):(0,!n_(t)&&!nS(t)&&!nx(t)||!e.checkAndHandleExpiredSession())?t:(0,nx(t))?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),nF(e,t),t):(0,nD(t,r)&&!e.getOptions()._experiments.captureExceptions)?(ra&&rc.log("Ignoring error from rrweb internals",t),null):((nP(e,t)||e.recordingMode==="session")&&(t.tags={...t.tags,replayId:e.getSessionId()}),t)},{id:"Replay"})}function nq(e,t){return t.map(({type:t,start:r,end:n,name:s,data:a})=>{let i=e.throttledAddEvent({type:tu.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:t,description:s,startTimestamp:r,endTimestamp:n,data:a}}});return typeof i=="string"?Promise.resolve(null):i})}function nz(e){let{from:t,to:r}=e;let n=Date.now()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:t}}}function nH(e){return t=>{if(!e.isEnabled())return;let r=nz(t);if(r===null)return;e.getContext().urls.push(r.name),e.triggerUserActivity(),e.addUpdate(()=>{return nq(e,[r]),!1})}}function nU(e,t){return ra&&e.getOptions()._experiments.traceInternals?!1:(0,(0,i.A)(t,(0,s.KU)()))}function nB(e,t){if(!e.isEnabled()||t===null||nU(e,t.name))return;e.addUpdate(()=>{return nq(e,[t]),!0})}function nG(e){if(!e)return undefined;let t=new TextEncoder;try{if(typeof e=="string")return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let r=nQ(e);return t.encode(r).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}return undefined}function nW(e){if(!e)return undefined;let t=parseInt(e,10);return isNaN(t)?undefined:t}function nV(e){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[nQ(e)];if(!e)return[undefined]}catch(t){return ra&&rc.exception(t,"Failed to serialize body",e),[undefined,"BODY_PARSE_ERROR"]}return ra&&rc.info("Skipping network body because of body type",e),[undefined,"UNPARSEABLE_BODY_TYPE"]}function nY(e,t){if(!e)return{headers:{},size:undefined,_meta:{warnings:[t]}};let r={...e._meta};let n=r.warnings||[];return r.warnings=[...n,t],e._meta=r,e}function nJ(e,t){if(!t)return null;let{startTimestamp:r,endTimestamp:n,url:s,method:a,statusCode:i,request:o,response:l}=t;return{type:e,start:r/1e3,end:n/1e3,name:s,data:(0,g.Ce)({method:a,statusCode:i,request:o,response:l})}}function nK(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function nZ(e,t,r){if(!t&&Object.keys(e).length===0)return undefined;if(!t)return{headers:e};if(!r)return{headers:e,size:t};let n={headers:e,size:t};let{body:s,warnings:a}=n0(r);return n.body=s,a&&a.length>0&&(n._meta={warnings:a}),n}function nX(e,t){return Object.entries(e).reduce((r,[n,s])=>{let a=n.toLowerCase();return t.includes(a)&&e[n]&&(r[a]=s),r},{})}function nQ(e){return new URLSearchParams(e).toString()}function n0(e){if(!e||typeof e!=="string")return{body:e};let t=e.length>15e4;let r=n1(e);if(t){let t=e.slice(0,15e4);return r?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:(0,{body:`${t}…`,warnings:["TEXT_TRUNCATED"]})}if(r)try{return{body:JSON.parse(e)}}catch(e){}return{body:e}}function n1(e){let t=e[0];let r=e[e.length-1];return t==="["&&r==="]"||t==="{"&&r==="}"}function n3(e,t){let r=n2(e);return(0,v.Xr)(r,t)}function n2(e,t=A.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(A.location.origin))return e;let r=new URL(e,t);if(r.origin!==new URL(t).origin)return e;let n=r.href;return!e.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):(0,n)}async function n6(e,t,r){try{let n=await n8(e,t,r);let s=nJ("resource.fetch",n);nB(r.replay,s)}catch(e){ra&&rc.exception(e,"Failed to capture fetch breadcrumb")}}function n5(e,t){let{input:r,response:n}=t;let s=nG(r?st(r):undefined);let a=n?nW(n.headers.get("content-length")):undefined;s!==undefined&&(e.data.request_body_size=s),a!==undefined&&(e.data.response_body_size=a)}async function n8(e,t,r){let n=Date.now();let{startTimestamp:s=n,endTimestamp:a=n}=t;let{url:i,method:o,status_code:l=0,request_body_size:c,response_body_size:u}=e.data;let h=n3(i,r.networkDetailAllowUrls)&&!n3(i,r.networkDetailDenyUrls);return{startTimestamp:s,endTimestamp:a,url:i,method:o,statusCode:l,request:h?n7(r,t.input,c):nK(c),response:await n4(h,r,t.response,u)}}function n7({networkCaptureBodies:e,networkRequestHeaders:t},r,n){let s=r?sn(r,t):{};if(!e)return nZ(s,n,undefined);let[a,i]=nV(st(r));let o=nZ(s,n,a);return i?nY(o,i):(0,o)}async function n4(e,{networkCaptureBodies:t,networkResponseHeaders:r},n,s){if(!e&&s!==undefined)return nK(s);let a=n?sr(n.headers,r):{};if(!n||!t&&s!==undefined)return nZ(a,s,undefined);let[i,o]=await se(n);let l=n9(i,{networkCaptureBodies:t,responseBodySize:s,captureDetails:e,headers:a});return o?nY(l,o):(0,l)}function n9(e,{networkCaptureBodies:t,responseBodySize:r,captureDetails:n,headers:s}){try{let a=e&&e.length&&r===undefined?nG(e):r;if(!n)return nK(a);if(t)return nZ(s,a,e);return nZ(s,a,undefined)}catch(e){return ra&&rc.exception(e,"Failed to serialize response body"),nZ(s,r,undefined)}}async function se(e){let t=sa(e);if(!t)return[undefined,"BODY_PARSE_ERROR"];try{return[await si(t)]}catch(e){return ra&&rc.exception(e,"Failed to get text body from response"),[undefined,"BODY_PARSE_ERROR"]}}function st(e=[]){return e.length!==2||typeof e[1]!=="object"?undefined:(0,e[1].body)}function sr(e,t){let r={};return t.forEach(t=>{e.get(t)&&(r[t]=e.get(t))}),r}function sn(e,t){return e.length===1&&typeof e[0]!=="string"?ss(e[0],t):(0,e.length===2)?ss(e[1],t):(0,{})}function ss(e,t){if(!e)return{};let r=e.headers;return!r?{}:(0,r instanceof Headers)?sr(r,t):(0,Array.isArray(r))?{}:(0,nX(r,t))}function sa(e){try{return e.clone()}catch(e){ra&&rc.exception(e,"Failed to clone response body")}}function si(e){return new Promise((t,r)=>{let n=(0,E.wg)(()=>r(new Error("Timeout while trying to read response body")),500);so(e).then(e=>t(e),e=>r(e)).finally(()=>clearTimeout(n))})}async function so(e){return await e.text()}async function sl(e,t,r){try{let n=su(e,t,r);let s=nJ("resource.xhr",n);nB(r.replay,s)}catch(e){ra&&rc.exception(e,"Failed to capture xhr breadcrumb")}}function sc(e,t){let{xhr:r,input:n}=t;if(!r)return;let s=nG(n);let a=r.getResponseHeader("content-length")?nW(r.getResponseHeader("content-length")):sf(r.response,r.responseType);s!==undefined&&(e.data.request_body_size=s),a!==undefined&&(e.data.response_body_size=a)}function su(e,t,r){let n=Date.now();let{startTimestamp:s=n,endTimestamp:a=n,input:i,xhr:o}=t;let{url:l,method:c,status_code:u=0,request_body_size:h,response_body_size:d}=e.data;if(!l)return null;if(!o||!n3(l,r.networkDetailAllowUrls)||n3(l,r.networkDetailDenyUrls))return{startTimestamp:s,endTimestamp:a,url:l,method:c,statusCode:u,request:nK(h),response:nK(d)};let m=o[j.Er];let f=m?nX(m.request_headers,r.networkRequestHeaders):{};let p=nX(sh(o),r.networkResponseHeaders);let[g,y]=r.networkCaptureBodies?nV(i):[undefined];let[v,b]=r.networkCaptureBodies?sd(o):[undefined];let k=nZ(f,h,g);let w=nZ(p,d,v);return{startTimestamp:s,endTimestamp:a,url:l,method:c,statusCode:u,request:y?nY(k,y):k,response:b?nY(w,b):w}}function sh(e){let t=e.getAllResponseHeaders();return!t?{}:(0,t.split(`\r
`).reduce((e,t)=>{let[r,n]=t.split(": ");return n&&(e[r.toLowerCase()]=n),e},{}))}function sd(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return sm(e.response,e.responseType)}catch(e){t.push(e)}return ra&&rc.warn("Failed to get xhr response body",...t),[undefined]}function sm(e,t){try{if(typeof e=="string")return[e];if(e instanceof Document)return[e.body.outerHTML];if(t==="json"&&e&&typeof e=="object")return[JSON.stringify(e)];if(!e)return[undefined]}catch(t){return ra&&rc.exception(t,"Failed to serialize body",e),[undefined,"BODY_PARSE_ERROR"]}return ra&&rc.info("Skipping network body because of body type",e),[undefined,"UNPARSEABLE_BODY_TYPE"]}function sf(e,t){try{let r=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return nG(r)}catch(e){return undefined}}function sp(e){let t=(0,s.KU)();try{let{networkDetailAllowUrls:r,networkDetailDenyUrls:n,networkCaptureBodies:s,networkRequestHeaders:a,networkResponseHeaders:i}=e.getOptions();let o={replay:e,networkDetailAllowUrls:r,networkDetailDenyUrls:n,networkCaptureBodies:s,networkRequestHeaders:a,networkResponseHeaders:i};t&&t.on("beforeAddBreadcrumb",(e,t)=>sg(o,e,t))}catch(e){}}function sg(e,t,r){if(!t.data)return;try{sy(t)&&sb(r)&&(sc(t,r),sl(t,r,e)),sv(t)&&sk(r)&&(n5(t,r),n6(t,r,e))}catch(e){ra&&rc.exception(e,"Error when enriching network breadcrumb")}}function sy(e){return e.category==="xhr"}function sv(e){return e.category==="fetch"}function sb(e){return e&&e.xhr}function sk(e){return e&&e.response}function sw(e){let t=(0,s.KU)();(0,T.i)((e,t=>{if(!e.isEnabled())return;let r=rD(t);if(!r)return;let n=t.name==="click";let s=n?t.event:undefined;n&&e.clickDetector&&s&&s.target&&!s.altKey&&!s.metaKey&&!s.ctrlKey&&!s.shiftKey&&rw(e.clickDetector,r,rf(t.event)),rd(e,r)})),(0,x._)(nH(e)),nI(e),sp(e);let r=n$(e);(0,n.SA)(r),t&&(t.on("beforeSendEvent",nC(e)),t.on("afterSendEvent",nE(e)),t.on("createDsc",t=>{let r=e.getSessionId();r&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(t.replay_id=r)}),t.on("spanStart",t=>{e.lastActiveSpan=t}),t.on("spanEnd",t=>{e.lastActiveSpan=t}),t.on("beforeSendFeedback",(t,r)=>{let n=e.getSessionId();r&&r.includeReplay&&e.isEnabled()&&n&&t.contexts&&t.contexts.feedback&&(t.contexts.feedback.replay_id=n)}))}async function s_(e){try{return Promise.all(nq(e,[sS(A.performance.memory)]))}catch(e){return[]}}function sS(e){let{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}=e;let s=Date.now()/1e3;return{type:"memory",name:"memory",start:s,end:s,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}}}}function sT(e,t,r){let n;let s;let a;let i=r&&r.maxWait?Math.max(r.maxWait,t):0;function o(){return l(),n=e()}function l(){s!==undefined&&clearTimeout(s),a!==undefined&&clearTimeout(a),s=a=undefined}function c(){return s!==undefined||a!==undefined?o():(0,n)}function u(){return s&&clearTimeout(s),s=(0,E.wg)(o,t),i&&a===undefined&&(a=(0,E.wg)(o,i)),n}return u.cancel=l,u.flush=c,u}function sx(e){let t=!1;return(r,n)=>{if(!e.checkAndHandleExpiredSession()){ra&&rc.warn("Received replay event after session expired.");return}let s=n||!t;t=!0,e.clickDetector&&rj(e.clickDetector,r),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&s&&e.setInitialState(),!ny(e,r,s))return!0;if(!s)return!1;let t=e.session;if(sj(e,s),t&&t.previousSessionId)return!0;if(e.recordingMode==="buffer"&&t&&e.eventBuffer){let r=e.eventBuffer.getEarliestTimestamp();r&&(ra&&rc.info(`Updating session start time to earliest event in buffer to ${new Date(r)}`),t.started=r,e.getOptions().stickySession&&nl(t))}return e.recordingMode==="session"&&e.flush(),!0})}}function sE(e){let t=e.getOptions();return{type:tu.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function sj(e,t){if(!t||!e.session||e.session.segmentId!==0)return;ny(e,sE(e),!1)}function sA(e,t,r,n){return(0,w.h4)((0,w.n2)(e,(0,w.Cj)(e),n,r),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function sC({recordingData:e,headers:t}){let r;let n=`${JSON.stringify(t)}
`;if(typeof e=="string")r=`${n}${e}`;else{let t=new TextEncoder().encode(n);(r=new Uint8Array(t.length+e.length)).set(t),r.set(e,t.length)}return r}async function sM({client:e,scope:t,replayId:r,event:n}){let i={event_id:r,integrations:typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):undefined};e.emit("preprocessEvent",n,i);let o=await (0,a.mG)(e.getOptions(),n,i,t,e,(0,s.rm)());if(!o)return null;o.platform=o.platform||"javascript";let l=e.getSdkMetadata();let{name:c,version:u}=l&&l.sdk||{};return o.sdk={...o.sdk,name:c||"sentry.javascript.unknown",version:u||"0.0.0"},o}async function sI({recordingData:e,replayId:t,segmentId:r,eventContext:n,timestamp:a,session:i}){let o=sC({recordingData:e,headers:{segment_id:r}});let{urls:l,errorIds:c,traceIds:u,initialTimestamp:h}=n;let d=(0,s.KU)();let m=(0,s.o5)();let f=d&&d.getTransport();let p=d&&d.getDsn();if(!d||!f||!p||!i.sampled)return(0,b.XW)({});let g={type:"replay_event",replay_start_timestamp:h/1e3,timestamp:a/1e3,error_ids:c,trace_ids:u,urls:l,replay_id:t,segment_id:r,replay_type:i.sampled};let y=await sM({scope:m,client:d,replayId:t,event:g});if(!y)return d.recordDroppedEvent("event_processor","replay",g),ra&&rc.info("An event processor returned `null`, will not send event."),(0,b.XW)({});delete y.sdkProcessingMetadata;let v=sA(y,o,p,d.getOptions().tunnel);let k;try{k=await f.send(v)}catch(t){let e=new Error(M);try{e.cause=t}catch(e){}throw e}if(typeof k.statusCode=="number"&&(k.statusCode<200||k.statusCode>=300))throw new sR(k.statusCode);let w=(0,_.wq)({},k);if((0,_.Jz)(w,"replay"))throw new sO(w);return k}class sR extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class sO extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function sL(e,t={count:0,interval:5e3}){let{recordingData:r,onError:s}=e;if(!r.length)return;try{return await sI(e),!0}catch(r){if(r instanceof sR||r instanceof sO)throw r;if((0,n.o)("Replays",{_retryCount:t.count}),s&&s(r),t.count>=3){let e=new Error(`${M} - max retries exceeded`);try{e.cause=r}catch(e){}throw e}return t.interval*=++t.count,new Promise((r,n)=>{(0,E.wg)(async()=>{try{await sL(e,t),r(!0)}catch(e){n(e)}},t.interval)})}}let sN="__THROTTLED";function sD(e,t,r){let n=new Map;let s=!1;return(...a)=>{let i=Math.floor(Date.now()/1e3);let o=i-r;if(n.forEach((e,t)=>{t<o&&n.delete(t)}),[...n.values()].reduce((e,t)=>e+t,0)>=t){let e=s;return s=!0,e?"__SKIPPED":sN}s=!1;let l=n.get(i)||0;return n.set(i,l+1),e(...a)}}class sF{constructor({options:e,recordingOptions:t}){sF.prototype.__init.call(this),sF.prototype.__init2.call(this),sF.prototype.__init3.call(this),sF.prototype.__init4.call(this),sF.prototype.__init5.call(this),sF.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=sT(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=sD((e,t)=>nv(this,e,t),300,5);let{slowClickTimeout:r,slowClickIgnoreSelectors:n}=this.getOptions();let s=r?{threshold:Math.min(3e3,r),timeout:r,scrollTimeout:300,ignoreSelector:n?n.join(","):""}:undefined;if(s&&(this.clickDetector=new r_(this,s)),ra){let t=e._experiments;rc.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}handleException(e){ra&&rc.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:r}=this._options;let n=t<=0&&r<=0;if(this._requiresManualStart=n,n)return;if(this._initializeSessionForSampling(e),!this.session){ra&&rc.exception(new Error("Unable to initialize and create session"));return}if(this.session.sampled===!1)return;this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",ra&&rc.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording()}start(){if(this._isEnabled&&this.recordingMode==="session"){ra&&rc.info("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){ra&&rc.info("Buffering is in progress, call `flush()` to save the replay");return}ra&&rc.infoTick("Starting replay in session mode"),this._updateUserActivity();let e=np({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled){ra&&rc.info("Buffering is in progress, call `flush()` to save the replay");return}ra&&rc.infoTick("Starting replay in buffer mode");let e=np({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{let e=this._canvas;this._stopRecording=rr({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:sx(this),onMutation:this._onMutationHandler,...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=undefined),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(!this._isEnabled)return;this._isEnabled=!1;try{ra&&rc.info(`Stopping Replay${t?` triggered by ${t}`:""}`),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,ns(this)}catch(e){this.handleException(e)}}pause(){if(this._isPaused)return;this._isPaused=!0,this.stopRecording(),ra&&rc.info("Pausing replay")}resume(){if(!this._isPaused||!this._checkSession())return;this._isPaused=!1,this.startRecording(),ra&&rc.info("Resuming replay")}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();let t=Date.now();ra&&rc.info("Converting buffer to session"),await this.flushImmediate();let r=this.stopRecording();if(!e||!r||this.recordingMode==="session")return;this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording()}addUpdate(e){let t=e();if(this.recordingMode==="buffer"||t===!0)return;this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():(0,this.flushImmediate())}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&nd(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!this._checkSession()?!1:(0,!0)}setInitialState(){let e=`${A.location.pathname}${A.location.hash}${A.location.search}`;let t=`${A.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let r=this._throttledAddEvent(e,t);if(r===sN){let e=rM({category:"replay.throttled"});this.addUpdate(()=>{return!ny(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}})})}return r}getCurrentRoute(){let e=this.lastActiveSpan||(0,o.Bk)();let t=e&&(0,o.zU)(e);let n=(t&&(0,o.et)(t).data||{})[r.i_];return!t||!n||!["route","custom"].includes(n)?undefined:(0,(0,o.et)(t).description)}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=ne({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0;let r=np({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=r}_checkSession(){if(!this.session)return!1;let e=this.session;return nf(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(e),!1):(0,!0)}async _refreshSession(e){if(!this._isEnabled)return;await this.stop({reason:"refresh session"}),this.initializeSampling(e.id)}_addListeners(){try{A.document.addEventListener("visibilitychange",this._handleVisibilityChange),A.addEventListener("blur",this._handleWindowBlur),A.addEventListener("focus",this._handleWindowFocus),A.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),!this._hasInitializedCoreListeners&&(sw(this),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=r3(this)}_removeListeners(){try{A.document.removeEventListener("visibilitychange",this._handleVisibilityChange),A.removeEventListener("blur",this._handleWindowBlur),A.removeEventListener("focus",this._handleWindowFocus),A.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}__init(){this._handleVisibilityChange=()=>{A.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{let e=rM({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{let e=rM({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{r$(this,e)}}_doChangeToBackgroundTasks(e){if(!this.session||nm(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire}))return;e&&this._createCustomBreadcrumb(e),this.conditionalFlush()}_doChangeToForegroundTasks(e){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){ra&&rc.info("Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:tu.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=rB(this.performanceEntries).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(nq(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let r=t.getEarliestTimestamp();r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){ra&&rc.error("No session or eventBuffer found to flush.");return}if((await this._addPerformanceEntries(),!this.eventBuffer||!this.eventBuffer.hasEvents)||(await s_(this),!this.eventBuffer||e!==this.getSessionId()))return;try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");let r=this._popEventContext();let n=this.session.segmentId++;this._maybeSaveSession();let s=await this.eventBuffer.finish();await sL({replayId:e,recordingData:s,segmentId:n,eventContext:r,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendReplay"});let e=(0,s.KU)();e&&e.recordDroppedEvent(t instanceof sO?"ratelimit_backoff":"send_error","replay")}}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){ra&&rc.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;let t=this.session.started;let r=Date.now()-t;this._debouncedFlush.cancel();let n=r<this._options.minReplayDuration;let s=r>this._options.maxReplayDuration+5e3;if(n||s){ra&&rc.info(`Session duration (${Math.floor(r/1e3)}s) is too ${n?"short":"long"}, not sending replay.`),n&&this._debouncedFlush();return}let a=this.eventBuffer;a&&this.session.segmentId===0&&!a.hasCheckout&&ra&&rc.info("Flushing initial segment without checkout.");let i=!!this._flushLock;!this._flushLock&&(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=undefined,i&&this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&nl(this.session)}__init6(){this._onMutationHandler=e=>{let t=e.length;let r=this._options.mutationLimit;let n=this._options.mutationBreadcrumbLimit;let s=r&&t>r;if(t>n||s){let e=rM({category:"replay.mutations",data:{count:t,limit:s}});this._createCustomBreadcrumb(e)}return s?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):(0,!0)}}}function sP(e,t){return[...e,...t].join(",")}function s$({mask:e,unmask:t,block:r,unblock:n,ignore:s}){return{maskTextSelector:sP(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:sP(t,[]),blockSelector:sP(r,[".sentry-block","[data-sentry-block]",...['base[href="/"]']]),unblockSelector:sP(n,[]),ignoreSelector:sP(s,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function sq({el:e,key:t,maskAttributes:r,maskAllText:n,privacyOptions:s,value:a}){return!n||s.unmaskTextSelector&&e.matches(s.unmaskTextSelector)?a:(0,r.includes(t)||t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||""))?a.replace(/[\S]/g,"*"):(0,a)}let sz='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]';let sH=["content-length","content-type","accept"];let sU=!1;let sB=e=>{return new sG(e)};class sG{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:r=4999,maxReplayDuration:n=36e5,stickySession:s=!0,useCompression:a=!0,workerUrl:i,_experiments:o={},maskAllText:l=!0,maskAllInputs:c=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:h=750,mutationLimit:m=1e4,slowClickTimeout:f=7e3,slowClickIgnoreSelectors:p=[],networkDetailAllowUrls:g=[],networkDetailDenyUrls:y=[],networkCaptureBodies:v=!0,networkRequestHeaders:b=[],networkResponseHeaders:k=[],mask:w=[],maskAttributes:_=["title","placeholder"],unmask:S=[],block:T=[],unblock:x=[],ignore:E=[],maskFn:j,beforeAddRecordingEvent:A,beforeErrorSampling:C}={}){this.name=sG.id;let M=s$({mask:w,unmask:S,block:T,unblock:x,ignore:E});if(this._recordingOptions={maskAllInputs:c,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:j,maskInputFn:j,maskAttributeFn:(e,t,r)=>sq({maskAttributes:_,maskAllText:l,privacyOptions:M,key:e,value:t,el:r}),...M,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(r,15e3),maxReplayDuration:Math.min(n,36e5),stickySession:s,useCompression:a,workerUrl:i,blockAllMedia:u,maskAllInputs:c,maskAllText:l,mutationBreadcrumbLimit:h,mutationLimit:m,slowClickTimeout:f,slowClickIgnoreSelectors:p,networkDetailAllowUrls:g,networkDetailDenyUrls:y,networkCaptureBodies:v,networkRequestHeaders:sV(b),networkResponseHeaders:sV(k),beforeAddRecordingEvent:A,beforeErrorSampling:C,_experiments:o},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=!this._recordingOptions.blockSelector?sz:`${this._recordingOptions.blockSelector},${sz}`),this._isInitialized&&(0,d.B)())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return sU}set _isInitialized(e){sU=e}afterAllSetup(e){if(!(0,d.B)()||this._replay)return;this._setup(e),this._initialize(e)}start(){if(!this._replay)return;this._replay.start()}startBuffering(){if(!this._replay)return;this._replay.startBuffering()}stop(){return!this._replay?Promise.resolve():(0,this._replay.stop({forceFlush:this._replay.recordingMode==="session"}))}flush(e){return!this._replay?Promise.resolve():(0,!this._replay.isEnabled())?(this._replay.start(),Promise.resolve()):(0,this._replay.sendBufferedReplayOrFlush(e))}getReplayId(){if(!this._replay||!this._replay.isEnabled())return;return this._replay.getSessionId()}_initialize(e){if(!this._replay)return;this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling()}_setup(e){let t=sW(this._initialOptions,e);this._replay=new sF({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay["_canvas"]=t.getOptions()}catch(e){}}}function sW(e,t){let r=t.getOptions();let n={sessionSampleRate:0,errorSampleRate:0,...(0,g.Ce)(e)};let s=(0,l.i)(r.replaysSessionSampleRate);let a=(0,l.i)(r.replaysOnErrorSampleRate);return s==null&&a==null&&(0,m.pq)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),s!=null&&(n.sessionSampleRate=s),a!=null&&(n.errorSampleRate=a),n}function sV(e){return[...sH,...e.map(e=>e.toLowerCase())]}function sY(){let e=(0,s.KU)();return e&&e.getIntegrationByName("Replay")}sG.__initStatic()}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/replay",{__webpack_require__,__webpack_exports__}))()},950825(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{N:()=>t});let e=__webpack_require__(769233).O;function t(){let t=e.chrome;let r=t&&t.app&&t.app.runtime;let n="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!r&&n}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},955187(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>s});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);let s=(0,t.kp)(n.Tl,(0,e.Ik)({type:(0,r.eu)(n.Z6.Text),value:(0,e.Yj)(),markdown:(0,e.lq)((0,e.zM)())}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},956354(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>o});var e=__webpack_require__(57324);var t=__webpack_require__(51450);var r=__webpack_require__(978802);var n=__webpack_require__(314408);var s=__webpack_require__(515400);var a=__webpack_require__(768571);let i=[1800,3e3];let o=(o,l={})=>{(0,a.I)(()=>{let a=(0,r.N)();let c=(0,n.X)("FCP");let u;let h=(0,s.l)("paint",e=>{e.forEach(e=>{e.name==="first-contentful-paint"&&(h.disconnect(),e.startTime<a.firstHiddenTime&&(c.value=Math.max(e.startTime-(0,t.b)(),0),c.entries.push(e),u(!0)))})});h&&(u=(0,e.R)(o,c,i,l.reportAllChanges))})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},960767(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>s});var e=__webpack_require__(613608);var t=__webpack_require__(414753);var r=__webpack_require__(577102);var n=__webpack_require__(352158);let s=(0,r._C)(()=>{let t;return{name:"Dedupe",processEvent(r){if(r.type)return r;try{if(a(r,t))return n.T&&e.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return t=r}}});function a(e,t){return!t?!1:(0,i(e,t)||o(e,t))?!0:(0,!1)}function i(e,t){let r=e.message;let n=t.message;return!r&&!n||r&&!n||!r&&n||r!==n||!c(e,t)||!l(e,t)?!1:(0,!0)}function o(e,t){let r=u(t);let n=u(e);return!r||!n||r.type!==n.type||r.value!==n.value||!c(e,t)||!l(e,t)?!1:(0,!0)}function l(e,r){let n=(0,t.RV)(e);let s=(0,t.RV)(r);if(!n&&!s)return!0;if(n&&!s||!n&&s||(n=n,(s=s).length!==n.length))return!1;for(let e=0;e<s.length;e++){let t=s[e];let r=n[e];if(t.filename!==r.filename||t.lineno!==r.lineno||t.colno!==r.colno||t.function!==r.function)return!1}return!0}function c(e,t){let r=e.fingerprint;let n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;r=r,n=n;try{return r.join("")===n.join("")}catch(e){return!1}}function u(e){return e.exception&&e.exception.values&&e.exception.values[0]}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},964451(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>n,K:()=>s});var e=__webpack_require__(413279);var t=__webpack_require__.n(e);let r=__webpack_require__(796213).dI.UNKNOWN;let n=async()=>{try{let e=await t().management.getSelf();e.installType&&(r=e.installType)}catch(e){console.error("Error getting extension installType",e)}return r};let s=()=>{return r}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},967173(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Rg:()=>a,e2:()=>s});var e=__webpack_require__(814508);var t=__webpack_require__(84607);var r=__webpack_require__(98154);var n=__webpack_require__(682631);function s(e,t){let{fingerprint:r,span:n,breadcrumbs:s,sdkProcessingMetadata:a}=t;o(e,t),n&&u(e,n),h(e,r),l(e,s),c(e,a)}function a(e,t){let{extra:r,tags:n,user:s,contexts:a,level:o,sdkProcessingMetadata:l,breadcrumbs:c,fingerprint:u,eventProcessors:h,attachments:d,propagationContext:m,transactionName:f,span:p}=t;i(e,"extra",r),i(e,"tags",n),i(e,"user",s),i(e,"contexts",a),i(e,"sdkProcessingMetadata",l),o&&(e.level=o),f&&(e.transactionName=f),p&&(e.span=p),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),h.length&&(e.eventProcessors=[...e.eventProcessors,...h]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...m}}function i(e,t,r){if(r&&Object.keys(r).length)for(let n in e[t]={...e[t]},r)Object.prototype.hasOwnProperty.call(r,n)&&(e[t][n]=r[n])}function o(e,r){let{extra:n,tags:s,user:a,contexts:i,level:o,transactionName:l}=r;let c=(0,t.Ce)(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});let u=(0,t.Ce)(s);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let h=(0,t.Ce)(a);h&&Object.keys(h).length&&(e.user={...h,...e.user});let d=(0,t.Ce)(i);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),o&&(e.level=o),l&&e.type!=="transaction"&&(e.transaction=l)}function l(e,t){let r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:undefined}function c(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function u(e,t){e.contexts={trace:(0,n.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,r.k1)(t),...e.sdkProcessingMetadata};let s=(0,n.zU)(t);let a=(0,n.et)(s).description;a&&!e.transaction&&e.type==="transaction"&&(e.transaction=a)}function h(t,r){t.fingerprint=t.fingerprint?(0,e.k9)(t.fingerprint):[],r&&(t.fingerprint=t.fingerprint.concat(r)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry/core",{__webpack_require__,__webpack_exports__}))()},973544(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{TC:()=>a,kM:()=>s});var e=__webpack_require__(566612);var t=__webpack_require__(814508);let r=new RegExp("^[ \\t]*"+"([0-9a-f]{32})?"+"-?([0-9a-f]{16})?"+"-?([01])?"+"[ \\t]*$");function n(e){if(!e)return undefined;let t=e.match(r);if(!t)return undefined;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function s(r,s){let a=n(r);let i=(0,e.yD)(s);let{traceId:o,parentSpanId:l,parentSampled:c}=a||{};return!a?{traceId:o||(0,t.eJ)(),spanId:(0,t.eJ)().substring(16)}:(0,{traceId:o||(0,t.eJ)(),parentSpanId:l||(0,t.eJ)().substring(16),spanId:(0,t.eJ)().substring(16),sampled:c,dsc:i||{}})}function a(e=(0,t.eJ)(),r=(0,t.eJ)().substring(16),n){let s="";return n!==undefined&&(s=n?"-1":"-0"),`${e}-${r}${s}`}}}).call(__webpack_require__._LM_("@sentry/utils",{__webpack_require__,__webpack_exports__}))()},975431(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>t});var e=__webpack_require__(765698);let t=t=>{let r=r=>{(r.type==="pagehide"||e.j.document&&e.j.document.visibilityState==="hidden")&&t(r)};e.j.document&&(addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0))}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},978802(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{N:()=>n});var e=__webpack_require__(765698);let t=-1;let r=n=>{e.j.document.visibilityState==="hidden"&&t>-1&&(t=n.type==="visibilitychange"?n.timeStamp:0,removeEventListener("visibilitychange",r,!0),removeEventListener("prerenderingchange",r,!0))};let n=()=>{return e.j.document&&t<0&&(t=e.j.document.visibilityState==="hidden"&&!e.j.document.prerendering?0:Infinity,addEventListener("visibilitychange",r,!0),addEventListener("prerenderingchange",r,!0)),{get firstHiddenTime(){return t}}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},982238(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>r});var e=__webpack_require__(577102);var t=__webpack_require__(382128);let r=(0,e._C)(()=>{return{name:"HttpContext",preprocessEvent(e){if(!t.jf.navigator&&!t.jf.location&&!t.jf.document)return;let r=e.request&&e.request.url||t.jf.location&&t.jf.location.href;let{referrer:n}=t.jf.document||{};let{userAgent:s}=t.jf.navigator||{};let a={...e.request&&e.request.headers,...n&&{Referer:n},...s&&{"User-Agent":s}};let i={...e.request,...r&&{url:r},headers:a};e.request=i}}})}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},984381(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{c9:()=>e.A,dw:()=>t.Ay});var e=__webpack_require__(835060);var t=__webpack_require__(600473);__webpack_require__(317588),__webpack_require__(991213),__webpack_require__(835203),__webpack_require__(774810),__webpack_require__(750628),__webpack_require__(948972),__webpack_require__(597054),__webpack_require__(603476)}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},986415(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{y:()=>z});var e=__webpack_require__(833097);var t=__webpack_require__(577102);var r;var n;function s(e,t){for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!1}function a(e,t,r=Infinity,n=0){return!e||e.nodeType!==e.ELEMENT_NODE||n>r?-1:(0,t(e))?n:(0,a(e.parentNode,t,r,n+1))}function i(e,t){return r=>{if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(s(r,e))return!0}if(t&&r.matches(t))return!0;return!1}catch(e){return!1}}}(n=r||(r={}))[n["Document"]=0]="Document",n[n["DocumentType"]=1]="DocumentType",n[n["Element"]=2]="Element",n[n["Text"]=3]="Text",n[n["CDATA"]=4]="CDATA",n[n["Comment"]=5]="Comment";let o="Please stop import mirror directly. Instead of that,"+`\r
`+"now you can use replayer.getMirror() to access the mirror instance of a replayer,"+`\r
`+"or you can use record.mirror to access the mirror instance during recording.";let l={map:{},getId(){return console.error(o),-1},getNode(){return console.error(o),null},removeNodeFromMap(){console.error(o)},has(){return console.error(o),!1},reset(){console.error(o)}};function c(e,t,r,n,s=window){let a=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,n?r:{set(e){g(()=>{r.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>c(e,t,a||{},!0)}function u(e,t,r){try{if(!(t in e))return()=>{};let n=e[t];let s=r(n);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=s,()=>{e[t]=n}}catch(e){return()=>{}}}function h(e){return!e?null:(0,e.nodeType===e.ELEMENT_NODE?e:e.parentElement)}function d(e,t,r,n,s){if(!e)return!1;let o=h(e);if(!o)return!1;let l=i(t,r);if(!s){let e=n&&o.matches(n);return l(o)&&!e}let c=a(o,l);let u=-1;return c<0?!1:(n&&(u=a(o,i(null,n))),c>-1&&u<0)?!0:(0,c<u)}typeof window!=="undefined"&&window.Proxy&&window.Reflect&&(l=new Proxy(l,{get(e,t,r){return t==="map"&&console.error(o),Reflect.get(e,t,r)}})),/[1-9][0-9]{12}/.test(Date.now().toString());let m={};function f(e){let t=m[e];if(t)return t;let r=window.document;let n=window[e];if(r&&typeof r.createElement=="function")try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let s=t.contentWindow;s&&s[e]&&(n=s[e]),r.head.removeChild(t)}catch(e){}return m[e]=n.bind(window)}function p(...e){return f("requestAnimationFrame")(...e)}function g(...e){return f("setTimeout")(...e)}var y;var v=((y=v||{})[y["2D"]=0]="2D",y[y["WebGL"]=1]="WebGL",y[y["WebGL2"]=2]="WebGL2",y);let b;function k(e){b=e}let w=e=>{return!b?e:(0,(...t)=>{try{return e(...t)}catch(e){if(b&&b(e)===!0)return()=>{};throw e}})};var _="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var S=typeof Uint8Array=="undefined"?[]:new Uint8Array(256);for(var T=0;T<_.length;T++)S[_.charCodeAt(T)]=T;var x=function(e){var t=new Uint8Array(e),r,n=t.length,s="";for(r=0;r<n;r+=3)s+=_[t[r]>>2],s+=_[(t[r]&3)<<4|t[r+1]>>4],s+=_[(t[r+1]&15)<<2|t[r+2]>>6],s+=_[t[r+2]&63];return n%3==2?s=s.substring(0,s.length-1)+"=":n%3==1&&(s=s.substring(0,s.length-2)+"=="),s};let E=new Map;function j(e,t){let r=E.get(e);return!r&&(r=new Map,E.set(e,r)),!r.has(t)&&r.set(t,[]),r.get(t)}let A=(e,t,r)=>{if(!e||!(I(e,t)||typeof e=="object"))return;let n=j(r,e.constructor.name);let s=n.indexOf(e);return s===-1&&(s=n.length,n.push(e)),s};function C(e,t,r){if(e instanceof Array)return e.map(e=>C(e,t,r));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer)return{rr_type:e.constructor.name,base64:x(e)};if(e instanceof DataView)return{rr_type:e.constructor.name,args:[C(e.buffer,t,r),e.byteOffset,e.byteLength]};else if(e instanceof HTMLImageElement){let t=e.constructor.name;let{src:r}=e;return{rr_type:t,src:r}}else if(e instanceof HTMLCanvasElement)return{rr_type:"HTMLImageElement",src:e.toDataURL()};else if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[C(e.data,t,r),e.width,e.height]};else if(I(e,t)||typeof e=="object")return{rr_type:e.constructor.name,index:A(e,t,r)};return e}let M=(e,t,r)=>{return e.map(e=>C(e,t,r))};let I=(e,t)=>{return Boolean(["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(e=>typeof t[e]=="function").find(r=>e instanceof t[r]))};function R(e,t,r,n,s){let a=[];for(let i of Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype))try{if(typeof t.CanvasRenderingContext2D.prototype[i]!=="function")continue;let o=u(t.CanvasRenderingContext2D.prototype,i,function(a){return function(...o){return!d(this.canvas,r,n,s,!0)&&g(()=>{let r=M(o,t,this);e(this.canvas,{type:v["2D"],property:i,args:r})},0),a.apply(this,o)}});a.push(o)}catch(n){let r=c(t.CanvasRenderingContext2D.prototype,i,{set(t){e(this.canvas,{type:v["2D"],property:i,args:[t],setter:!0})}});a.push(r)}return()=>{a.forEach(e=>e())}}function O(e){return e==="experimental-webgl"?"webgl":e}function L(e,t,r,n,s){let a=[];try{let i=u(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(a,...i){if(!d(this,t,r,n,!0)){let e=O(a);if(!("__context"in this)&&(this.__context=e),s&&["webgl","webgl2"].includes(e))if(i[0]&&typeof i[0]=="object"){let e=i[0];!e.preserveDrawingBuffer&&(e.preserveDrawingBuffer=!0)}else i.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[a,...i])}});a.push(i)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach(e=>e())}}function N(e,t,r,n,s,a,i,o){let l=[];for(let i of Object.getOwnPropertyNames(e)){if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(i))continue;try{if(typeof e[i]!=="function")continue;let c=u(e,i,function(e){return function(...l){let c=e.apply(this,l);if(A(c,o,this),"tagName"in this.canvas&&!d(this.canvas,n,s,a,!0)){let e=M(l,o,this);let n={type:t,property:i,args:e};r(this.canvas,n)}return c}});l.push(c)}catch(s){let n=c(e,i,{set(e){r(this.canvas,{type:t,property:i,args:[e],setter:!0})}});l.push(n)}}return l}function D(e,t,r,n,s,a){let i=[];return i.push(...N(t.WebGLRenderingContext.prototype,v.WebGL,e,r,n,s,a,t)),t.WebGL2RenderingContext!==void 0&&i.push(...N(t.WebGL2RenderingContext.prototype,v.WebGL2,e,r,n,s,a,t)),()=>{i.forEach(e=>e())}}var F=`for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};`;function P(){let e=new Blob([F]);return URL.createObjectURL(e)}class ${reset(){this.pendingCanvasMutations.clear(),this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.windowsSet=new WeakSet,this.windows=[],this.shadowDoms=new Set,(0,e.z)([this,"access",e=>e.worker,"optionalAccess",e=>e.terminate,"call",e=>e()]),this.worker=null,this.snapshotInProgressMap=new Map,(this.options.recordCanvas&&typeof this.options.sampling=="number"||this.options.enableManualSnapshot)&&(this.worker=this.initFPSWorker())}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.shadowDoms=new Set,this.windowsSet=new WeakSet,this.windows=[],this.restoreHandlers=[],this.frozen=!1,this.locked=!1,this.snapshotInProgressMap=new Map,this.worker=null,this.processMutation=(e,t)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),!this.pendingCanvasMutations.has(e)&&this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};let{sampling:t="all",win:r,blockClass:n,blockSelector:s,unblockSelector:a,maxCanvasSize:i,recordCanvas:o,dataURLOptions:l,errorHandler:c}=e;if(this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,c&&k(c),(o&&typeof t=="number"||e.enableManualSnapshot)&&(this.worker=this.initFPSWorker()),this.addWindow(r),e.enableManualSnapshot)return;w(()=>{o&&t==="all"&&(this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher()),o&&typeof t=="number"&&this.initCanvasFPSObserver(t,n,s,a,i,{dataURLOptions:l})})()}addWindow(e){let{sampling:t="all",blockClass:r,blockSelector:n,unblockSelector:s,recordCanvas:a,enableManualSnapshot:i}=this.options;if(this.windowsSet.has(e))return;if(i){this.windowsSet.add(e),this.windows.push(new WeakRef(e));return}w(()=>{if(a&&t==="all"&&this.initCanvasMutationObserver(e,r,n,s),a&&typeof t=="number"){let t=L(e,r,n,s,!0);this.restoreHandlers.push(()=>{t()})}})(),this.windowsSet.add(e),this.windows.push(new WeakRef(e))}addShadowRoot(e){this.shadowDoms.add(new WeakRef(e))}resetShadowRoots(){this.shadowDoms=new Set}initFPSWorker(){let e=new Worker(P());return e.onmessage=e=>{let t=e.data;let{id:r}=t;if(this.snapshotInProgressMap.set(r,!1),!("base64"in t))return;let{base64:n,type:s,width:a,height:i}=t;this.mutationCb({id:r,type:v["2D"],commands:[{property:"clearRect",args:[0,0,a,i]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:s}]},0,0,a,i]}]})},e}initCanvasFPSObserver(e,t,r,n,s,a){let i=this.takeSnapshot(!1,e,t,r,n,s,a.dataURLOptions);this.restoreHandlers.push(()=>{cancelAnimationFrame(i)})}initCanvasMutationObserver(e,t,r,n){let s=L(e,t,r,n,!1);let a=R(this.processMutation.bind(this),e,t,r,n);let i=D(this.processMutation.bind(this),e,t,r,n,this.mirror);this.restoreHandlers.push(()=>{s(),a(),i()})}snapshot(e){let{options:t}=this;let r=this.takeSnapshot(!0,t.sampling==="all"?2:t.sampling||2,t.blockClass,t.blockSelector,t.unblockSelector,t.maxCanvasSize,t.dataURLOptions,e);this.restoreHandlers.push(()=>{cancelAnimationFrame(r)})}takeSnapshot(t,r,n,s,a,i,o,l){let c=1e3/r;let u=0;let h;let m=e=>{if(e)return[e];let t=[];let r=e=>{e.querySelectorAll("canvas").forEach(e=>{!d(e,n,s,a,!0)&&t.push(e)})};for(let e of this.windows){let t=e.deref();t&&r(t.document)}for(let e of this.shadowDoms){let t=e.deref();t&&r(t)}return t};let f=r=>{if(!this.windows.length)return;if(u&&r-u<c){h=p(f);return}u=r,m(l).forEach(r=>{if(!this.mirror.hasNode(r))return;let n=this.mirror.getId(r);if(this.snapshotInProgressMap.get(n)||!r.width||!r.height)return;if(this.snapshotInProgressMap.set(n,!0),!t&&["webgl","webgl2"].includes(r.__context)){let t=r.getContext(r.__context);(0,e.z)([t,"optionalAccess",e=>e.getContextAttributes,"call",e=>e(),"optionalAccess",e=>e.preserveDrawingBuffer])===!1&&t.clear(t.COLOR_BUFFER_BIT)}createImageBitmap(r).then(t=>{(0,e.z)([this,"access",e=>e.worker,"optionalAccess",e=>e.postMessage,"call",e=>e({id:n,bitmap:t,width:r.width,height:r.height,dataURLOptions:o,maxCanvasSize:i},[t])])}).catch(e=>{w(()=>{throw e})()})}),!t&&(h=p(f))};return h=p(f)}startPendingCanvasMutationFlusher(){p(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let e=t=>{this.rafStamps.latestId=t,p(e)};p(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,t)=>{let r=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,r)}),p(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;let r=this.pendingCanvasMutations.get(e);if(!r||t===-1)return;let n=r.map(e=>{let{type:t,...r}=e;return r});let{type:s}=r[0];this.mutationCb({id:t,type:s,commands:n}),this.pendingCanvasMutations.delete(e)}}let q={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}};let z=(0,t._C)((e={})=>{let[t,r]=e.maxCanvasSize||[];let n={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,1280):1280,r?Math.min(r,1280):1280]};let s;let a=new Promise(e=>s=e);return{name:"ReplayCanvas",getOptions(){let{quality:e,enableManualSnapshot:t,maxCanvasSize:r}=n;return{enableManualSnapshot:t,recordCanvas:!0,getCanvasManager:e=>{let n=new $({...e,enableManualSnapshot:t,maxCanvasSize:r,errorHandler:e=>{try{typeof e=="object"&&(e.__rrweb__=!0)}catch(e){}}});return s(n),n},...q[e||"medium"]||q.medium}},async snapshot(e){(await a).snapshot(e)}}})}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/replay-canvas",{__webpack_require__,__webpack_exports__}))()},991213(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>i});var e=__webpack_require__(835060);var t=__webpack_require__(603476);var r=__webpack_require__(912276);var n=__webpack_require__(750628);var s=__webpack_require__(232712);var a=__webpack_require__(512986);class i{static hasDST(r=t.A.defaultZone){let n=e.A.now().setZone(r).set({month:12});return!r.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return n.A.isValidZone(e)}static normalizeZone(e){return(0,s.q)(e,t.A.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||r.A.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||r.A.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||r.A.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:n=null,locObj:s=null,outputCalendar:a="gregory"}={}){return(s||r.A.create(t,n,a)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:s=null,outputCalendar:a="gregory"}={}){return(s||r.A.create(t,n,a)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:n=null,locObj:s=null}={}){return(s||r.A.create(t,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:s=null}={}){return(s||r.A.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return r.A.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return r.A.create(t,null,"gregory").eras(e)}static features(){return{relative:(0,a.h3)(),localeWeek:(0,a.jv)()}}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},993671(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Er:()=>s,Mn:()=>a});var e=__webpack_require__(370861);var t=__webpack_require__(665812);var r=__webpack_require__(650773);var n=__webpack_require__(765698);let s="__sentry_xhr_v3__";function a(t){(0,e.s5)("xhr",t),(0,e.AS)("xhr",i)}function i(){if(!n.j.XMLHttpRequest)return;let a=XMLHttpRequest.prototype;a.open=new Proxy(a.open,{apply(n,a,i){let l=(0,r.zf)()*1e3;let c=(0,t.Kg)(i[0])?i[0].toUpperCase():undefined;let u=o(i[1]);if(!c||!u)return n.apply(a,i);a[s]={method:c,url:u,request_headers:{}},c==="POST"&&u.match(/sentry_key/)&&(a.__sentry_own_request__=!0);let h=()=>{let t=a[s];if(!t)return;if(a.readyState===4){try{t.status_code=a.status}catch(e){}let n={endTimestamp:(0,r.zf)()*1e3,startTimestamp:l,xhr:a};(0,e.aj)("xhr",n)}};return"onreadystatechange"in a&&typeof a.onreadystatechange=="function"?a.onreadystatechange=new Proxy(a.onreadystatechange,{apply(e,t,r){return h(),e.apply(t,r)}}):a.addEventListener("readystatechange",h),a.setRequestHeader=new Proxy(a.setRequestHeader,{apply(e,r,n){let[a,i]=n;let o=r[s];return o&&(0,t.Kg)(a)&&(0,t.Kg)(i)&&(o.request_headers[a.toLowerCase()]=i),e.apply(r,n)}}),n.apply(a,i)}}),a.send=new Proxy(a.send,{apply(t,n,a){let i=n[s];if(!i)return t.apply(n,a);a[0]!==undefined&&(i.body=a[0]);let o={startTimestamp:(0,r.zf)()*1e3,xhr:n};return(0,e.aj)("xhr",o),t.apply(n,a)}})}function o(e){if((0,t.Kg)(e))return e;try{return e.toString()}catch(e){}return undefined}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.m=__webpack_modules__;var location=globalThis.location,setTimeout=globalThis.setTimeout,clearTimeout=globalThis.clearTimeout,document=globalThis.document,trustedTypes=globalThis.trustedTypes,self=globalThis.self;let LOCKDOWN_SHIMS=[];__webpack_require__.amdO={},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,r)=>(__webpack_require__.f[r](e,t),t),[])),__webpack_require__.u=e=>""+e+"."+({283:"caded4b68903685bbdc1",338:"ac98967061941c584b74",629:"7fe057f1a2b239a53af1",900:"54e0147042d91f6e1ad1",937:"dc445f14cc677bb50b3a",1300:"885ec2867aa6ead2cc6d",2756:"b0431187a2079bb2732c",3211:"498ed21a07d53ce4b5d3",3262:"2f409361df1db8e749e2",3366:"91d76fb8c4c16978f516",4570:"551173c296852580cadd",4629:"0f1232a1c6163e70d616",4966:"068ce8c516625f3cca2a",5104:"c86310021437455212bb",5703:"a2d6e2b7546a476ef8f7",5819:"7de4e93ebb691ca1a2e3",7193:"0c0a7323ad22e4e17285",7344:"76f47b091fcb44177f6f",7416:"b21881c49cc830669014",7643:"f567495a1a825d7e5347",8231:"a295ebf7a0b6cef278ff",8452:"b36e5f885ad5b78c2c6e",8942:"55f50ac3401d6f9da0c8",9510:"29de8738d72ee1abec69",9828:"db8da0e3d3ea07223635"})[e]+".js",__webpack_require__.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),__webpack_require__.p="",(()=>{__webpack_require__.b=self.location+"";var e={1818:1,5864:1};__webpack_require__.f.i=(t,r)=>{e[t]||importScripts(__webpack_require__.p+__webpack_require__.u(t))};var t=globalThis.webpackChunk=globalThis.webpackChunk||[],r=t.push.bind(t);t.push=t=>{var[n,s,a]=t;for(var i in s)__webpack_require__.o(s,i)&&(__webpack_require__.m[i]=s[i]);for(a&&a(__webpack_require__);n.length;)e[n.pop()]=1;r(t)}})(),(()=>{let e=Object.create(null);e.root="$root$",e.idmap=[["$root$",[100008,100055,100573,100862,100900,101719,101743,102190,102320,102609,102801,102905,102985,103261,103321,103396,103651,104231,104429,104758,105049,105178,105214,105241,105522,105557,105557,105967,106828,107048,107230,107381,107580,107804,107804,107874,107886,108116,108120,108120,108178,108439,108474,108474,108700,108933,109704,110010,11021,110303,110407,110814,110927,111644,111985,112094,11233,11253,112604,112652,113337,113366,113956,114168,114174,114199,114274,115726,115726,115782,115884,116048,116255,116255,116372,116739,116882,117253,117567,11775,117903,11795,118055,118670,118834,118997,119023,119023,11917,119278,119278,119681,119789,119939,120054,120433,120584,120584,12074,120776,120925,121216,121854,122175,122536,123231,123391,123455,123556,12376,12376,123784,123799,124397,124599,125091,125393,125894,126142,126142,126177,126177,126660,126980,127015,127388,127565,128256,128364,128567,130289,130331,130428,130780,130920,131074,13126,13126,131666,131669,13176,131811,132019,132516,13286,13296,133195,133714,133714,134236,134727,135047,136088,136303,136426,136447,136862,137557,137622,137937,1381,138409,138623,138865,138915,139284,139354,139674,139768,139833,139842,139976,14029,140775,140778,141057,141573,141784,142014,142064,14299,143195,143394,143472,143918,144586,144944,144988,145034,145102,145153,145502,145657,145865,14600,146188,146194,146740,146759,146802,146802,146869,147099,147133,147278,147599,148249,148496,148887,149040,149177,149235,149235,149235,149235,149861,150320,150350,151235,15151,151958,152256,152336,15250,15289,153030,153059,153068,153294,153692,153753,15392,154565,155180,155246,155309,155862,156292,156429,156540,156549,156760,156852,156852,156955,157187,157234,157234,157395,157479,157794,157794,157944,157960,157962,158175,158221,158259,158332,158332,158374,158637,158637,15890,159163,15923,159307,159315,159454,159472,159472,159667,160002,160087,160099,16026,160461,160873,161356,161413,161863,162393,162444,162560,163305,163305,163310,163310,163636,163723,16415,16467,164684,164983,16512,16530,165788,165851,165927,165937,165972,166034,166133,166532,166879,167472,16750,167643,16809,16809,168671,168798,168960,16930,169518,169727,16979,169816,169889,17e4,170024,170232,170237,170450,170455,170490,170524,17079,170904,170951,171018,171090,171209,171229,17198,172013,172153,172165,172745,173030,173249,173611,173674,174131,174199,174345,174520,174869,17513,175150,175436,175449,175917,177505,177540,177540,177540,178100,178121,178121,17856,178665,178712,178755,179099,179113,179113,179408,179564,17967,179913,179946,180415,180415,180439,180589,181231,181443,181443,181726,181726,181768,181798,181824,182020,182321,182711,182721,182721,182747,182824,18361,183876,184790,184899,185119,185127,185164,185331,185362,185433,185458,185517,185615,185734,185734,185878,186030,186050,186324,186339,186362,186495,186495,186644,186943,187090,187306,188175,188189,188221,189202,18921,189241,189249,189332,189332,189383,189596,189692,189726,189732,190032,19155,192361,192449,192671,192732,192832,193035,193055,19374,193945,193969,194181,194181,194351,194510,194735,194776,194895,195348,195439,195603,195993,195993,196201,196201,196358,196425,19684,197067,197081,197434,197852,197875,198339,198444,198494,198588,199170,199238,199448,199715,200006,200266,201029,201044,201242,201249,201631,201686,202064,202431,202431,202561,202565,202716,20317,20327,203531,204007,204283,20429,204325,204427,20450,204502,204582,205009,205009,205009,205009,205033,205136,205756,205818,206252,206252,206260,206538,206611,20760,208459,208566,208750,208830,208889,209062,209234,209284,209417,209469,210147,210462,210509,210615,210771,211157,211314,212290,212517,212528,212814,212814,212971,213650,213666,213751,213948,214592,214597,214597,215353,215612,216415,216776,216939,217702,217768,217865,217890,218033,218033,218033,218033,218033,218033,218725,21873,218743,218924,219115,219115,21920,219336,219500,220031,220180,220202,220202,220313,220372,220464,220562,220566,220693,220893,220893,221349,221475,221526,221527,221527,221628,221656,221677,222236,222236,222455,22249,22335,223450,224052,224259,224451,224610,225087,225133,225133,225761,225813,226183,226535,226535,226535,226535,22677,227323,227481,227662,227858,227894,22793,227980,228153,228394,228677,228816,229326,229499,229540,22958,229640,229871,229880,2299,230027,230562,230879,231008,231728,23176,231769,232853,23299,233479,233651,233651,234852,234852,234950,234958,235029,235193,23560,235633,23565,235807,236123,236301,236538,236622,236669,236940,236954,237095,237106,237154,237219,237837,237997,238175,238304,23876,238886,239116,239128,239231,240066,240314,240474,240497,240501,240541,240735,240854,24094,241797,241912,242100,242326,242376,24296,243160,243176,243403,243549,243549,243562,244174,244497,244894,244970,245680,245806,24609,246260,247392,247404,247404,247722,247755,247924,247938,24809,248313,248463,248463,248550,248866,249071,249257,249257,249824,250095,250286,25038,250594,250670,25102,251087,251239,251474,25183,251845,252446,253042,253127,253410,253529,253573,253601,253628,253707,253814,254042,254113,254174,254239,254518,254518,25456,254629,254629,254735,255018,255301,255544,255734,256080,256102,256638,256718,257375,258380,25860,25860,258833,259016,259416,259623,259859,25990,26,260105,260133,260199,260467,260677,260723,260723,26133,261523,261645,262371,262541,262541,262667,263022,26319,263294,263294,263458,263738,263831,263880,264013,264070,264070,264085,264198,264258,264377,264607,264727,265396,265724,266180,266203,266391,266692,266892,266923,267208,267208,26765,267782,268282,268765,269185,269243,269243,269256,26956,269627,26973,270006,27057,270642,270692,270965,271077,271326,271525,271641,272,272189,27223,272323,272342,272491,272721,273136,273370,273404,273573,273978,274068,274584,274709,275024,275059,275148,276814,277121,277258,277315,277315,277336,277416,277933,278072,278332,278356,278438,278441,278457,27906,279323,279623,280560,280821,280838,280889,281351,281753,281790,281995,282078,282078,282835,283003,283010,283042,283122,283802,283875,283941,2841,2844,284999,284999,284999,284999,285053,28508,285133,285217,285412,285554,285749,285820,285921,286206,286418,286434,286524,286545,286683,286831,286831,287075,287838,287867,287961,288157,288166,288612,288827,288885,289127,289561,289636,289750,2899,290185,290194,290254,290944,291319,291319,291323,291680,291705,2920,292106,292485,292485,292830,293460,293941,294150,294151,294155,29438,29472,294777,294777,294935,294938,295494,295627,29563,295857,296053,296260,29667,296780,297075,297177,297268,297268,297292,298136,298191,298298,298789,298914,299150,299150,299150,299211,299401,299539,29963,29963,299871,300046,300047,300110,300425,300425,300652,300798,300833,301622,302390,302579,302684,302764,302764,302876,302939,30294,303124,303374,303643,303727,303879,304002,304473,304473,304614,304614,304961,306214,30642,30642,306544,306585,306639,306650,306814,307136,307201,308203,308206,30860,308734,309037,309037,309114,309172,309281,30943,30943,30943,30943,309724,309750,309950,310311,310728,310728,311441,311532,311734,311734,311734,311736,311770,31213,312332,31234,312584,312641,312680,312710,312787,31309,313400,313418,313418,31342,31342,313484,313535,313847,3139,31402,314793,314876,314876,315282,315313,316358,316555,317021,317095,317161,317678,318443,318630,318768,318800,318808,319381,319424,319961,320059,320175,320337,32052,32052,320821,320847,321194,321505,321545,321602,322064,322244,322600,323291,323673,324039,324143,324357,324457,325135,325870,326089,326162,326325,326563,32667,32667,32667,32667,327253,327342,327563,328123,328436,328746,328861,329825,329904,329904,330965,331134,331276,331329,331351,331651,331722,331747,331822,332028,332116,332133,332414,332427,332471,332647,332764,332764,333332,333530,333592,33397,334111,334205,334265,334823,334836,334959,334990,335115,335270,335270,335480,335517,335517,335683,336576,336680,336795,336866,337208,337214,337214,337735,337736,337736,338028,338028,338184,338865,339169,33922,339566,339745,339829,34045,340687,340737,340976,34121,34125,341441,341441,341595,341613,341616,341695,342951,343415,344248,344531,344531,344617,34474,344815,344827,345297,345661,345791,345949,346375,346667,348037,348227,348228,348264,348632,348826,348826,348826,348826,348826,348826,34899,34899,349028,349450,349465,349723,350241,35091,350924,351309,351609,351651,351793,351794,351806,351806,352136,352412,352996,353183,353183,353660,354699,354779,354779,355123,355816,355816,355852,355852,355933,356743,357262,357470,357594,357801,358202,358254,358343,358383,358623,35986,360184,361507,361705,361713,361734,362254,362418,362705,363086,363910,364289,364496,364679,364756,365161,365161,365337,365337,365377,365521,365919,365919,36690,367058,367149,367149,367566,367611,367699,36830,368519,368656,368872,369107,36915,369436,369436,369436,369436,369920,370236,37083,37083,371052,371379,372171,372363,37315,373177,373208,373472,373492,373748,373889,374064,37408,374195,374371,374470,374753,375185,37557,375837,376012,376084,37615,376213,376213,376214,376906,377109,377163,377204,377495,377558,377652,377946,377946,37803,378033,378247,378442,378456,37855,378715,378831,378831,378831,37902,379049,379277,379738,380127,380855,380855,380980,381122,382043,382045,382583,383026,383046,383073,383145,383280,383280,383282,383687,383708,384043,38439,38493,385028,385319,385672,386019,386516,386522,386522,386645,386691,387131,387192,387651,38780,388064,388205,388296,389097,389316,389461,389610,389726,390340,390764,390764,391163,391327,391677,39226,392503,392667,392838,392838,392968,393177,39321,39357,393582,393740,39377,393822,393980,394502,394579,394749,394810,395448,395648,396132,396602,396973,397171,397361,397773,397937,398011,398612,398778,398785,399151,399431,399475,399707,400078,400566,401138,401379,401515,401624,401781,401864,401870,402143,402711,402735,402972,403225,403416,403485,403634,403933,404186,404437,404475,404499,405970,406044,406363,406515,406639,406861,407365,407711,408866,409325,409493,409629,409823,410006,410111,410716,41073,41073,410931,411290,411360,411419,411419,411449,411504,41189,411926,411930,411969,412522,412750,413441,41348,41348,413661,413700,413881,414131,4142,414410,414437,414483,414580,414744,414774,41488,415021,415221,415221,415344,41601,416305,416595,416606,418254,418635,418635,419309,419362,41937,420151,420322,420736,420765,421008,421203,422113,422132,422607,422638,422909,423262,423533,423533,423650,423694,42395,424068,424073,424075,424584,424727,424727,424731,424898,425195,425348,425348,425462,425784,426021,426021,426171,426195,426613,426639,426898,426939,427495,42768,428050,428484,429120,429176,429184,42972,429752,429758,429780,429866,429866,429891,430167,430480,430560,430679,430801,43089,430900,431218,431218,431319,431423,431618,43186,431877,432121,432142,432514,433285,433332,434024,434062,434062,434062,434062,434188,434268,434296,434424,434599,434663,434718,435e3,435121,435210,435602,435766,43588,435956,435964,436199,436232,436649,436892,436954,437054,43710,437165,437173,437313,4374,437622,437628,437628,438174,438376,438552,438749,438797,438835,438839,439081,439113,439117,439122,439212,439281,439728,439748,439786,439984,440193,440369,440490,44056,440770,440776,440900,440900,440944,440948,440952,440976,441,441308,44135,441465,441670,441670,441775,442100,442286,442722,442722,442938,443068,443634,443820,443900,444375,444504,444837,445272,445272,445274,445495,44585,446068,446084,446649,447104,447213,447213,447238,447521,447614,448138,448139,448350,4486,448849,449024,449367,449540,44970,450190,450295,450951,451069,451083,451249,451432,4515,451753,45181,451881,452489,452614,452797,45294,45294,453450,453643,454050,454293,454704,454735,454744,454752,454867,455333,455478,456292,456401,456568,456614,456641,4568,4568,456825,456827,457337,45779,45779,457965,458156,458261,458416,458417,458446,458544,458606,458899,458981,45901,459766,459837,459979,460333,460383,46127,461297,461386,461487,46164,461698,462893,463885,464183,464478,464795,465188,465243,465594,466213,466808,46754,467648,467907,467907,46847,468528,468966,469076,469496,46985,469885,469964,469964,471326,471326,471620,471641,471957,472094,47255,472961,473025,473064,473377,473625,473907,474185,474787,474787,475165,475252,475274,475281,475308,475308,476407,476637,476857,476857,477055,477082,477082,477232,477479,477479,477738,478110,478367,478420,478976,47913,479248,479248,479376,479447,479720,479731,480021,480021,480031,480242,481108,481343,481382,481394,481654,482118,482133,482284,482442,482747,482747,482903,483388,483405,483596,483801,483885,483906,484157,484179,484302,484332,485597,48569,486840,487115,487135,487208,487429,48750,488862,489019,489060,489076,489096,489220,489242,490219,49025,490288,490335,490335,491047,491305,491698,491754,492949,4930,493059,493063,493070,493332,493404,493816,493999,494142,494641,495749,495958,496017,496324,496775,496920,497023,497305,497432,497825,497946,498387,498603,498615,498624,498784,499421,499685,499749,499985,499985,500590,500602,500855,500855,501047,501056,501100,50133,502459,503157,503301,503344,503741,503843,504423,504507,504580,504580,504622,50468,504732,505071,505071,505180,50550,506126,506484,506484,506620,507003,507096,507206,507307,507321,507335,507475,507604,507837,507905,508112,509289,509486,509589,510172,510353,510995,511265,511265,511357,511619,511716,511848,512115,512364,512620,512664,512755,513143,514509,514753,514800,514919,514981,514981,515405,515672,515923,516020,516776,517186,517299,517452,517846,517899,518176,518307,518332,518684,518706,518805,518833,518992,519001,519136,519136,519387,51953,519632,51966,519740,520124,520143,520169,520201,520418,520425,520803,521112,521128,521276,521607,521640,521981,52212,522317,522442,523162,523311,523315,523391,523414,523891,524512,524670,52519,525721,52599,527011,52705,527122,528804,528889,529,529023,52918,5292,529244,529247,529807,529840,529944,529944,529979,530175,530690,530932,530953,530980,531004,531325,531381,531728,531888,532115,532203,532690,532747,532912,533132,533363,5338,534115,5343,534863,535177,535411,536006,536084,536112,536188,536266,536327,536529,536827,537127,537238,537324,537610,538093,538710,538710,538874,538874,539322,539322,539645,540603,540866,541417,541909,541909,542159,542386,542429,542492,542780,543007,54309,543246,543366,543427,543960,544187,544323,544813,544813,544952,545149,545423,545791,546219,546219,546243,546938,54724,547928,547950,548153,548764,549169,549991,550141,55035,550624,551044,551518,552122,552342,55236,55258,55273,553038,553346,553607,553670,553827,553827,554218,554376,554435,554606,554659,555426,556097,556097,556109,556354,55638,556888,557213,557213,55768,558072,558203,558236,558726,559167,559256,559384,559873,560094,560304,560670,561012,561092,561864,562197,562421,562719,562833,563451,563452,563632,563712,564039,564130,564260,564570,564993,565478,565654,565795,565861,56675,566805,567064,567107,567230,567637,5685,568615,568893,568936,569337,5696,569805,570029,570330,570601,570668,570914,571745,572056,572213,572356,57260,572640,573139,573630,573713,573873,574193,574211,574356,574618,574618,575214,575217,575353,575483,575510,57562,57562,575738,575774,57593,576384,576693,576988,577205,577237,577265,577279,577279,577300,577560,577576,577683,578423,578423,578926,578944,579303,579847,580253,580445,580585,580610,580832,581207,581716,581831,581843,582304,583064,583078,583078,584243,584358,584444,584614,585134,585178,585258,585453,585658,585670,58568,585844,585844,585876,585928,586143,586297,586297,586297,586297,58631,586577,586614,586677,587,587279,587279,587295,588298,58836,588498,588575,588914,588917,589022,58925,589562,589569,589628,589642,590151,590343,590446,591049,591058,591197,591301,591425,592181,592492,592492,592671,59293,592990,593130,593226,593258,593457,593767,59391,594108,594450,594756,594768,595468,595502,59555,596271,596364,596396,596414,596472,596790,596829,596829,597106,597436,598480,598607,598667,599e3,599224,59939,599425,599645,599948,599962,600275,600369,60046,600537,600540,600831,601392,601504,60192,602532,602668,603343,603534,603735,603742,604239,604331,606122,606308,606582,606736,606760,606807,606965,607335,607777,608182,608182,608416,608416,608639,608972,609654,609654,609706,609949,609989,610332,610332,610378,610378,610696,610923,611727,611770,6121,612650,61283,612903,613518,614323,614547,614781,614821,614852,614855,614855,614988,615087,615924,615924,616212,616245,61625,61625,616713,617209,617209,617651,617936,618052,618277,618693,618932,619232,619454,619469,619470,619486,619602,619745,619926,619928,620065,62037,620852,621125,621358,621902,621956,622713,622784,622922,623654,624034,624250,624404,624720,625526,625546,625564,625862,626041,626438,626481,626667,627009,627009,627038,627339,628367,628478,628530,629265,629273,629456,629650,629909,630496,630496,630841,631275,631442,631442,631672,63260,632690,632894,633090,63342,633683,633690,633723,633785,634120,634419,634547,635299,635349,635577,635607,635800,635876,635876,636447,63681,63682,636925,636925,636925,636925,636934,637241,637312,637330,63739,637778,638063,638063,638228,638670,638846,638927,638932,638940,638953,639049,639362,639498,639698,639898,64006,640421,640469,640469,640469,640469,640655,640674,640758,641315,641316,641334,641540,641663,641762,64235,642350,642540,643246,644757,64478,644854,645444,646083,646178,646241,646289,646552,646826,647168,647731,647775,648210,648273,64858,648954,648954,649071,649564,649943,650,65036,65068,650710,650710,650836,651095,651625,652119,652167,652318,652499,653098,653346,654046,654270,654352,654639,655170,655204,655204,655335,655850,655850,656054,656244,656252,656317,656615,656685,656773,657218,657218,65725,657624,657700,657754,657927,658116,658152,658506,658684,658718,658805,658924,65896,659173,659195,659212,659212,659579,659579,659677,659677,660063,660770,660955,661287,661287,661377,661692,661796,662067,662067,662090,662509,662664,66305,663195,663870,66406,664254,665028,665309,665541,666011,666499,666499,666766,666771,66681,667202,667436,667551,66760,667618,667629,667855,667855,66822,668673,668751,668795,668795,668852,6690,669165,669217,669378,669909,670342,670402,67093,671054,671075,671656,671839,672487,672632,672673,672911,673265,673913,674108,674156,674342,674382,674551,674621,674924,675274,67529,675616,675620,675656,67606,676333,676432,676525,67661,676864,677203,677245,677465,677890,678558,678606,678863,678999,67906,67925,67957,679718,680201,680245,680440,680927,68102,681186,681292,682398,682428,682504,682566,682685,682705,682984,682988,682988,683,68306,683061,683061,683683,683683,683996,684289,684289,684835,684936,685641,685780,685986,686834,686898,686898,686898,686898,687165,687507,6877,68772,68806,689786,689851,690109,690134,690294,690554,691232,691241,691897,692002,692322,692322,692499,693281,694,694027,694068,695094,695598,696054,696128,696278,696570,696778,697136,697141,697179,697363,69738,697397,697880,698097,698208,698694,69953,700046,700124,700159,700485,700823,700850,700898,700900,70094,701611,701814,702176,702176,70229,702294,702458,702768,702802,703279,703303,703346,703613,704169,70435,704588,704901,705098,705106,705120,705195,705406,705612,706439,70686,706890,706890,706902,706928,706990,707330,707380,707455,708468,709093,70935,70935,709562,709723,709971,710100,710124,7103,710335,710362,711023,711024,711055,711139,711457,711496,711540,711615,711994,712177,712383,712383,71239,712587,712894,713117,713376,71353,713633,713700,713856,71427,714725,714879,71507,715276,715303,715390,715918,716004,716122,716134,716214,716229,716297,716304,716650,71707,717271,718246,71826,718807,719069,72e3,720063,720063,720159,720262,720578,720578,720698,721127,721127,721755,72187,722198,722198,72297,722999,723061,723605,724180,724194,724270,724593,724803,724935,725018,725103,725115,725115,725131,725411,725528,725613,725629,725736,725873,726126,72617,72617,726249,726607,726999,727300,727300,727975,72828,728284,728497,728620,728857,728966,729021,729866,730027,730155,730280,73050,730597,73095,730994,730994,731047,731136,731174,731409,731728,732006,732186,732623,733072,73338,733679,733686,733814,734041,734221,734811,734845,734845,734910,735191,735311,735434,735641,735641,73579,735929,736054,736170,736172,736552,736711,737117,737185,737513,737739,738,738012,738215,738315,738663,738903,739164,739195,739472,739610,739646,740242,740366,740674,740764,740953,740953,740953,740953,740966,741070,741212,742303,742830,743207,743241,743771,743890,744093,744239,744690,744850,745e3,745095,745110,745332,745565,745565,745671,745766,746769,746828,747598,747598,747707,747748,747835,748049,748222,748222,748364,748717,748792,748811,748994,749035,749153,749728,749965,7500,750001,750944,751430,751490,751557,751741,751804,752271,752271,752351,752870,7533,753808,753872,753908,75433,75433,754486,754720,755047,755057,75514,755935,756028,756036,756098,756147,756497,756509,757011,757305,757330,757559,757867,757923,758007,758285,758363,758438,759027,759027,759595,759791,760191,760264,760831,760994,761649,76184,761906,762115,762418,762430,762526,762550,762661,762780,763052,763073,76318,763220,763548,763639,763797,763985,764130,764130,764540,764670,764960,765124,765844,765919,765919,766204,766322,766372,766597,766707,767248,767798,767807,767902,768110,768132,768344,768388,768427,768427,768466,768466,768829,768968,769544,769604,769682,770100,770399,770418,770845,771042,771085,771201,771669,771800,772294,772364,772409,772638,772961,773318,773417,773417,774153,774243,774281,774346,775072,77526,775481,776141,776320,776323,776500,776500,776598,776844,77691,777006,777006,777051,777544,777544,777544,777732,778063,778093,778368,779370,779719,779865,780094,78052,780555,780578,780671,780829,780991,781342,781448,7815,781687,782113,782189,782219,782219,782343,782399,782895,783058,783063,783096,783169,783431,783566,783714,783714,784108,784289,784289,784598,784671,784686,784686,785015,785449,785591,785859,785935,786748,786881,78714,787544,787561,787631,787631,78766,787719,788289,788614,788787,788932,789006,789151,790453,790803,790804,790882,791774,791791,791796,79194,792172,79222,79222,792570,792757,793017,793174,793574,793591,793735,793923,794163,794360,79443,794646,794857,794857,794921,794921,795223,796178,796213,796213,796213,796267,797056,797095,797095,797300,797948,798328,798660,798806,798975,799580,800014,800609,800877,801121,801189,80127,801516,801516,80157,801689,802184,8024,802870,80339,803402,804154,804647,804647,804647,804647,804647,804647,805102,805326,805626,80583,806084,806201,806201,806625,806806,806911,807605,807720,807895,808069,808069,808227,808681,809120,80931,809581,809654,809726,809726,809745,809873,810263,810437,810462,810649,810814,810839,810964,811077,811437,811491,811491,81170,811940,812045,812312,812553,812582,812994,813210,813278,813321,813321,813444,813498,813897,813908,814086,814393,81523,815268,815583,815614,815629,815765,815841,815953,81598,816245,816402,816402,816402,816402,816467,816519,816752,816752,817008,817111,817856,817936,818658,818798,818881,818906,81892,81892,819073,819157,819157,819219,81943,820311,820736,821328,821436,821604,821781,821858,821931,822086,822376,822376,82353,823673,823803,824017,824240,824781,82488,825057,825066,825133,825361,825461,825617,825745,826042,826305,826596,826686,827013,827368,827370,827460,828079,828126,828305,828787,829140,829272,829627,829751,83014,830377,83046,830636,83075,830914,831125,831329,83149,831553,831703,832065,832430,832514,832670,832678,833628,833671,834018,83432,83432,834923,835391,83555,835729,835729,836293,836401,836441,836658,836658,836665,83679,837112,837287,8375,837844,837871,837926,838048,838269,838517,839248,839622,839812,839975,840374,840446,840483,840658,841103,841612,841646,841759,841929,841993,842004,84274,842856,843570,844418,845382,845551,8456,845806,845995,846442,84701,847258,847486,847824,84789,847993,84849,84852,848587,848843,84886,848894,848896,849177,849443,84955,850089,850891,850926,851365,851389,851711,851887,851987,852480,852991,85317,853249,853619,854029,854110,854353,854598,854759,854912,855451,855637,855769,856034,857172,857243,857665,857665,858032,858067,858323,858323,858493,858572,858572,858753,858753,858863,858909,858928,859075,859504,85965,85965,859689,859830,859830,859870,860007,860339,860603,86098,861029,86111,861710,862262,863294,863373,863459,863566,86428,864468,865070,865137,865210,865797,865985,866625,86664,866708,866766,866766,866814,866900,866952,866991,868143,868415,86907,869348,86965,869782,869782,869949,870087,870445,870543,870721,870721,871008,871251,87191,87191,87203,872200,872582,873084,87314,8737,873702,874037,874088,87488,875258,875450,875532,876488,876747,877073,877223,878066,878202,878202,878469,878875,879271,879271,879429,879932,879958,879958,87998,880009,880332,880416,880687,880724,88087,880909,880909,880933,881061,881245,881882,882016,882298,882409,88247,882584,882584,882921,88320,883540,883682,883775,883931,885175,885276,885711,885830,886018,886067,886125,886363,886376,886418,886418,886418,886705,887267,887281,887590,887717,887773,888780,888867,88905,889767,889814,890051,890154,890194,890393,891545,892014,892267,892776,89340,893638,894123,894123,894193,894521,894521,894521,894521,894521,894521,894949,895109,895175,895280,89540,895462,896090,896123,896289,896336,896559,896832,896832,89724,897360,898837,899184,899210,899414,899497,899869,90004,900311,900463,901497,901506,901773,90260,90260,902635,902820,90301,90317,9038,904247,904249,904346,904438,904445,904497,904573,904678,90507,905226,905369,905564,905687,906057,906057,906153,906283,906309,906309,906588,906980,907109,907168,907569,907606,907781,908226,908226,908328,908355,909122,909300,909344,909381,909478,909521,909521,909582,909904,91030,91050,910606,910689,910689,910919,911134,911361,911361,911455,911485,911552,911873,912047,912047,912200,912231,912445,91348,913620,913702,913702,914022,914125,914475,914515,914703,914826,914827,914878,915021,915288,915742,915785,915925,916174,916272,916398,916595,916824,916926,917167,917214,918227,918449,918540,918691,918935,919074,91909,919388,920038,920117,920122,920342,920427,920499,920540,920623,920695,921239,921754,921787,921828,921836,922047,922749,922945,92326,923286,923381,923484,923682,923956,924056,924066,924736,92491,924968,92513,92531,926266,92627,926412,926745,926791,926912,926912,927166,927166,927534,927737,92786,928062,92807,928113,928780,929354,929366,929371,929508,92984,92988,930171,930171,930291,930574,930626,931025,931043,931507,932209,932586,932791,934381,934460,934623,934644,934812,934899,935276,93534,935603,935614,935892,935892,936007,936112,936276,936618,936854,936912,937380,937403,937510,93769,937746,938685,938742,939036,939195,939284,939284,93990,94061,94094,940962,941311,941503,941581,941731,941920,942236,942566,942566,942895,943202,943398,943804,943819,943908,943912,943971,944220,944348,944661,944674,944833,944976,945519,946235,946251,94630,946502,946554,946802,947266,947276,947290,947290,948362,948569,948835,949320,949928,950230,950544,950659,950887,950913,9510,9510,9510,9510,9510,9510,951238,951407,951571,95180,951903,953118,953215,953449,95350,954280,954349,954376,954376,954574,954614,954726,954870,955546,955706,955944,956166,956452,956517,956853,956861,957449,957604,957854,957948,958709,958927,959519,959588,959588,959614,960085,960085,960117,960178,960315,960540,961276,962331,962857,962957,962986,963266,963407,963493,963493,963866,964451,964451,964779,96537,965519,965639,965657,966383,966631,967142,967369,967746,968055,968255,968565,968565,9690,969124,969210,969402,969402,969617,969716,969716,969866,969898,970276,970945,970962,971301,971301,972160,972165,972238,972380,972443,972866,972896,972962,973629,973802,974209,974280,97441,974415,974535,974672,975269,975434,975762,975908,976907,97695,977064,97719,977222,97740,97813,97813,978512,978512,978595,978969,979493,979536,97966,97966,980062,980124,980234,980276,98035,980385,9805,980632,981119,981344,981834,981909,982287,982587,982773,983375,983556,983736,983916,983916,984409,984409,984423,984580,985728,986848,986905,98703,987462,987701,988110,988600,988847,988876,989288,989433,989530,990076,990087,990105,99027,990790,991074,991697,992377,992396,992396,992565,992582,993051,994682,994864,99490,994970,995451,995477,9957,995850,996294,99643,996525,996526,996697,996788,997100,997403,997403,997595,997783,998125,998797,99881,998879,999156,999394,99981,999920]],["@babel/runtime",[124255,127119,127119,138312,266103,266103,34276,34276,369953,369953,387539,406527,440484,449859,449859,451055,45735,457812,463565,474658,498421,498421,500069,502349,560458,562954,612823,612823,6490,6490,688947,688947,709371,71586,71586,757709,757709,779786,779786,783093,800928,800928,810356,810356,824076,841024,854717,854717,871820,871820,877159,896478,896478,935191,935191,979245,98105,98105,999227]],["@blockaid/ppom_release",[635675,89962]],["@emotion/react",[230908,954541]],["@emotion/react>@emotion/cache",[145319]],["@emotion/react>@emotion/cache>@emotion/memoize",[880657]],["@emotion/react>@emotion/cache>@emotion/sheet",[849159]],["@emotion/react>@emotion/cache>stylis",[176154,272480,292907,709823,857267,985114]],["@emotion/react>@emotion/serialize",[612093]],["@emotion/react>@emotion/serialize>@emotion/hash",[866385]],["@emotion/react>@emotion/serialize>@emotion/unitless",[591217]],["@emotion/react>@emotion/use-insertion-effect-with-fallbacks",[128999]],["@emotion/react>@emotion/utils",[839145]],["@emotion/styled",[266708,551187]],["@emotion/styled>@emotion/is-prop-valid",[262835]],["@ensdomains/content-hash",[509411,575298,761166]],["@ensdomains/content-hash>cids",[332906,342757]],["@ensdomains/content-hash>cids>multibase",[234746,436281,835652,856745,930699]],["@ensdomains/content-hash>cids>multibase>@multiformats/base-x",[196780]],["@ensdomains/content-hash>cids>multihashes",[341718,417971]],["@ensdomains/content-hash>cids>multihashes>uint8arrays",[395294,509085,959154]],["@ensdomains/content-hash>cids>multihashes>varint",[286240,662984,846980,886826]],["@ensdomains/content-hash>cids>uint8arrays",[186967,589996,868149]],["@ensdomains/content-hash>js-base64",[192943]],["@ensdomains/content-hash>multicodec",[291901,624245,675970,982917]],["@ensdomains/content-hash>multicodec>uint8arrays",[115686,218737,263454,297907,406611,985066]],["@ensdomains/content-hash>multihashes",[588856,632145]],["@ensdomains/content-hash>multihashes>buffer",[972417]],["@ensdomains/content-hash>multihashes>multibase",[199431,217597,276626,555403,966920]],["@ensdomains/content-hash>multihashes>multibase>base-x",[874484,874484]],["@ensdomains/content-hash>multihashes>varint",[264713,371057,752263,987067]],["@ensdomains/content-hash>multihashes>web-encoding",[580731]],["@ethereumjs/tx",[100452,100452,126896,126896,127314,127314,127469,127469,155e3,155e3,215366,215366,242676,242676,279528,279528,282703,282703,325733,325733,407539,407539,443901,443901,571637,571637,815357,815357,830723,830723,986319,986319,988296,988296]],["@ethereumjs/tx>@ethereumjs/common",[138049,138049,207769,207769,428097,428097,440598,440598,617778,617778,77547,77547,921628,921628,932733,932733]],["@ethereumjs/tx>@ethereumjs/rlp",[626536,626536,971047]],["@ethereumjs/tx>@ethereumjs/util",[160942,160942,18546,197133,197133,199456,199456,211645,211645,262336,262336,29433,296648,310188,336422,341872,349456,349456,384377,388655,388655,416527,437881,448578,448578,478459,47909,47909,543178,580203,580203,586720,596187,596187,632496,657076,657076,671762,741736,741736,783798,783798,83895,83895,855224,855224,874349,881019,881019,888838,890415,892667,898069,899217,906238,932477,932477,99683,99683]],["@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography",[110377,219828,301302,301302,401868,401868,452197,535309,567417,567417,732]],["@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/curves",[107004,107004,108099,224981,266786,278956,278956,495448,617072,617072,622643,671003,671003,678298,678298,710609,710609,762871,796262]],["@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/hashes",[10780,224683,224683,285861,285861,321705,321705,359750,445115,447856,476244,476244,481449,481449,533968,533968,543657,543657,610068,813303,813303,915253,929920,963426]],["@ethereumjs/tx>ethereum-cryptography",[271465,271465,81446,81446]],["@ethereumjs/tx>ethereum-cryptography>@noble/hashes",[130407,130407,224661,224661,362180,362180,532953,532953]],["@ethersproject/abi",[207619,207619,2720,2720,290117,290117,380106,380106,393718,393718,402741,402741,403119,403119,408505,408505,450337,450337,485050,485050,552281,552281,552364,552364,611782,611782,651911,651911,715904,715904,871050,871050]],["@ethersproject/bignumber",[323489,323489,367302,631229,631229,726731,726731]],["@ethersproject/bytes",[524443,524443,993558,993558]],["@ethersproject/contracts",[264926,264926,295523,295523]],["@ethersproject/hdnode",[42014,42014,563965,563965]],["@ethersproject/providers",[144240,144240,203284,203284,235086,235086,272585,272585,286156,286156,375693,375693,380392,380392,396515,396515,416895,416895,504409,504409,675682,675682,683411,683411,702541,702541,728024,728024,732500,732500,806355,806355,819790,819790,930847,930847,935424,935424,981328,981328]],["@ethersproject/providers>bech32",[579841,579841]],["@ethersproject/transactions",[482925,482925,894e3,894e3]],["@fortawesome/fontawesome-free",[1527,1527,1527,1527,411525,411525,411525,411525,70035,70035,70035,70035]],["@google/genai>protobufjs",[119463,119463,151942,151942,179394,179394,19298,19298,218825,218825,233393,233393,265120,265120,275867,275867,277049,277049,28e3,28e3,281537,281537,299467,299467,31787,31787,350553,350553,35271,35271,411124,411124,481277,481277,488703,488703,540186,540186,54984,54984,550602,550602,649399,649399,677694,677694,762632,762632,792509,792509,798572,798572,817362,817362,829594,829594,864122,864122,929078,929078,960613,960613,961051,961051]],["@google/genai>protobufjs>@protobufjs/aspromise",[35757,35757]],["@google/genai>protobufjs>@protobufjs/base64",[380567,380567]],["@google/genai>protobufjs>@protobufjs/codegen",[80225,80225]],["@google/genai>protobufjs>@protobufjs/eventemitter",[846230,846230]],["@google/genai>protobufjs>@protobufjs/fetch",[890554,890554,895260,895260]],["@google/genai>protobufjs>@protobufjs/float",[179442,179442]],["@google/genai>protobufjs>@protobufjs/path",[437271,437271]],["@google/genai>protobufjs>@protobufjs/pool",[476366,476366]],["@google/genai>protobufjs>@protobufjs/utf8",[843255,843255]],["@google/genai>protobufjs>long",[35849,35849]],["@keystonehq/bc-ur-registry-eth",[2593,544829]],["@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",[124e3,191052,231626,249615,265655,2977,459024,467722,527355,534855,564315,573995,57636,646539,67798,682001,747747,773884,794735,804119,867283,883483,927029,939286,976399,987339]],["@lavamoat/lavadome-react",[494708]],["@lavamoat/webpack>json-stable-stringify>isarray",[664074,664074]],["@lavamoat/webpack>json-stable-stringify>object-keys",[266165,266165,69051,69051,910229,910229]],["@ledgerhq/errors",[30649,30649,315100,315100]],["@ledgerhq/hw-app-eth",[104027,104586,113800,268879,30606,383317,463313,536227,551257,568746,63684,687439,705565,906779]],["@ledgerhq/hw-app-eth>@ledgerhq/cryptoassets-evm-signatures",[116736,116736,124859,124859,163015,163015,169781,169781,199597,199597,210703,210703,230970,236883,236883,248848,248848,250685,250685,255154,255154,258052,258052,274109,274109,322847,322847,334270,334270,347020,347020,366551,366551,369002,37908,37908,384717,384717,404282,404282,416093,416093,419682,419682,443852,443852,462622,462622,477649,477649,480075,480075,518851,518851,519988,519988,524815,524815,527390,527390,545688,545688,579237,579237,590888,590888,591272,591272,594750,594750,605933,605933,610625,610625,616814,616814,626884,626884,668059,668059,672311,672311,67928,67928,696055,696055,730571,730571,743225,743225,745686,745686,762051,762051,765119,78373,78373,787985,787985,819889,819889,835776,835776,848707,848707,867849,867849,89350,89350,895421,895421,902902,902902,908299,908299,9231,9231,938612,938612,950401,950401,95776,95776,983883,983883]],["@ledgerhq/hw-app-eth>@ledgerhq/domain-service",[224675,565967,862553]],["@ledgerhq/hw-app-eth>@ledgerhq/evm-tools",[454077,819304,977702]],["@ledgerhq/hw-app-eth>@ledgerhq/evm-tools>@ledgerhq/live-env",[265370,373941]],["@ledgerhq/hw-app-eth>@ledgerhq/logs",[878528,878528]],["@ledgerhq/hw-app-eth>bignumber.js",[784124]],["@ledgerhq/hw-transport",[912015]],["@ledgerhq/hw-transport-webhid",[53406]],["@ledgerhq/hw-transport-webhid>@ledgerhq/devices",[42324,695006]],["@ledgerhq/hw-transport-webhid>@ledgerhq/devices>semver",[122508,124306,153063,156827,196336,206080,219259,238402,248308,254004,273435,281017,2911,292487,308262,327803,35765,375822,421895,48037,486088,50122,5166,599021,632189,66184,723811,734082,744484,756398,762961,81032,829019,832090,852453,853846,867350,898423,898721,901711,909957,93192,960393,989346,997168]],["@ledgerhq/hw-transport-webhid>@ledgerhq/hw-transport",[127439]],["@metamask/abi-utils",[104527,104527,252332,252332,29607,29607,311312,311312,367419,367419,479238,479238,502414,502414,548249,548249,553588,553588,601499,601499,627674,627674,743732,743732,756330,756330,785400,785400,833750,833750,838797,838797,961858,961858,968912,968912,974538,974538,986563,986563]],["@metamask/account-api",[360726,360726,462357,462357,531819,531819,674288,674288,689812,689812,716904,716904,809904,809904]],["@metamask/account-tree-controller",[212369,212369,270718,270718,294987,294987,321902,321902,335349,335349,370246,370246,384983,384983,402561,402561,41997,41997,422719,422719,424752,424752,436829,436829,460699,460699,517113,517113,550321,550321,564758,564758,564855,564855,599500,599500,687542,687542,788527,788527,81909,81909,827362,827362,93043,93043,992452,992452]],["@metamask/account-watcher",[498850]],["@metamask/accounts-controller",[53178,53178,569831,836207]],["@metamask/accounts-controller>ethereum-cryptography",[586390,586390,671508,671508]],["@metamask/accounts-controller>ethereum-cryptography>@noble/hashes",[407105,407105,655163,655163,700931,700931,872574,872574]],["@metamask/address-book-controller",[108072]],["@metamask/analytics-controller",[170639,383081,440901,996874]],["@metamask/announcement-controller",[820437]],["@metamask/approval-controller",[394813,394813,65997,65997]],["@metamask/assets-controller",[143147,143147,147759,147759,169086,169086,241943,241943,253139,253139,26522,26522,266468,266468,267269,267269,286306,286306,347263,347263,370534,370534,37479,37479,391638,391638,405369,405369,44327,44327,496414,496414,500016,500016,528304,528304,532612,532612,535325,535325,583584,583584,631549,631549,659933,659933,685951,685951,745908,745908,747837,747837,754049,754049,78089,78089,810628,810628,811752,811752,820927,820927,860645,860645,889133,889133,979117,983918,983918]],["@metamask/assets-controller>@metamask/assets-controllers",[278674,278674,768239,768239]],["@metamask/assets-controller>bignumber.js",[694204,694204]],["@metamask/assets-controller>p-limit",[336741,336741]],["@metamask/assets-controller>p-limit>yocto-queue",[632773,632773]],["@metamask/assets-controllers",[110276,158252,167851,171001,172686,227866,228231,232858,237906,238761,244955,252816,252816,27351,288409,343126,361938,374902,390625,405850,439753,469817,469817,482139,496218,496218,508644,554112,577053,626171,629210,642238,650464,650726,700704,702071,713383,717283,80006,80576,80576,855536,886040,99926]],["@metamask/assets-controllers>@metamask/abi-utils",[104009,226133,266222,308585,338588,392577,403883,482771,489936,514103,520679,609803,646930,72774,733541,788957,793925,937732,957092,990511]],["@metamask/assets-controllers>@metamask/abi-utils>@metamask/utils",[109103,180082,222167,264180,293255,388024,426254,442491,511868,576264,610036,748292,772184,814636,820218,850268,851018,867089,911136,929290,958918]],["@metamask/assets-controllers>multiformats",[148156,255843,255843,293394,323487,333102,371330,371330,374668,385376,427475,441965,448335,526898,526898,588626,62677,62677,64844,64844,649495,649495,67680,748102,748102,814198,814198,952101,963547,963547,964097,97286,992647]],["@metamask/assets-controllers>single-call-balance-checker-abi",[800904,800904]],["@metamask/authenticated-user-storage",[280078,366552,366552,385890]],["@metamask/base-controller",[100209,100209,100209,293889,35747,418920,552558,552558,552558,777386]],["@metamask/bitcoin-wallet-snap",[709397]],["@metamask/bitcoin-wallet-standard",[243229,337874,467743,500285,63130,747555,776179,789365,880287,884948,921950,985447]],["@metamask/bitcoin-wallet-standard>@exodus/bitcoin-wallet-standard>@exodus/bitcoin-wallet-standard-core>@exodus/bitcoin-wallet-standard-chains",[467062]],["@metamask/bitcoin-wallet-standard>@exodus/bitcoin-wallet-standard>@exodus/bitcoin-wallet-standard-core>@exodus/bitcoin-wallet-standard-features",[157519]],["@metamask/bitcoin-wallet-standard>@wallet-standard/wallet",[491867,856492]],["@metamask/bridge-controller",[108398,16340,182317,182317,182348,182348,213142,213142,229718,229718,269405,269405,290025,290025,360862,404283,404283,408776,408776,436243,436243,458622,475583,475583,527704,527704,550293,550293,572586,572839,619489,619489,66216,66216,723591,748512,748512,878370]],["@metamask/bridge-controller>bignumber.js",[990088,990088]],["@metamask/bridge-status-controller",[106065,119059,121155,131997,181294,274039,283450,303911,312464,336779,39609,492986,515578,521066,533891,556520,607105,635769,637401,676522,679218,689270,707009,745440,816670,856770,864924,865350,89579,910758,917434,917662,922645,957050,962123,996435,996688]],["@metamask/bridge-status-controller>bignumber.js",[752819]],["@metamask/browser-passworder",[5875]],["@metamask/chain-agnostic-permission",[145096,145096,267603,296639,296639,381375,381375,431324,562708,712765,721077,739999,77523,77523,825365,825365,825365,825365,849231,849231,85904,85904,942824]],["@metamask/chain-agnostic-permission>@metamask/api-specs",[751601,751601,934683,934683,934683,934683,934683,934683,99790,99790,99790,99790,99790,99790]],["@metamask/claims-controller",[178566,39193,41181,515813,515813,518553]],["@metamask/claims-controller>@metamask/controller-utils",[193080,248556,596979,596979,673296]],["@metamask/client-controller",[214101,599726,599726]],["@metamask/compliance-controller",[332771,332771,361978,6362,713765,713765]],["@metamask/config-registry-controller",[116382,377130,792770]],["@metamask/connectivity-controller",[440931,440931,685901]],["@metamask/contract-metadata",[243179,243179,243179,243179,243179,243179,988313]],["@metamask/controller-utils",[17605,17605,30018,30018,496705,496705,644174,644174,657638,657638,672307,672307]],["@metamask/controller-utils>@metamask/eth-query",[605895,605895]],["@metamask/controller-utils>@metamask/ethjs-unit",[886634,886634]],["@metamask/controller-utils>@metamask/ethjs-unit>@metamask/number-to-bn",[360646,360646]],["@metamask/controller-utils>@spruceid/siwe-parser",[129409,129409,751528,751528,890577,890577]],["@metamask/controller-utils>@spruceid/siwe-parser>apg-js",[118675,118675,1305,1305,133543,133543,135322,135322,151097,151097,190686,190686,204777,204777,216202,216202,245981,245981,283691,283691,383737,383737,397721,397721,431304,431304,442480,442480,46509,46509,469328,469328,488665,488665,548907,548907,622282,622282,670078,670078,810722,810722,820724,820724,872735,872735,965892,965892]],["@metamask/controller-utils>@spruceid/siwe-parser>valid-url",[378477]],["@metamask/core-backend",[209656,209656,213997,234697,234697,396880,396880,440116,440116,64637,64637,646372,818082,852281,852281,926115,926115]],["@metamask/core-backend>@tanstack/query-core",[101148,101148,156121,156121,161171,161171,202888,202888,203094,203094,217142,217142,358746,358746,439038,439038,455135,455135,545940,545940,637584,637584,667857,667857,747931,747931,748346,748346,983043,983043]],["@metamask/delegation-controller",[413600,561716,666903]],["@metamask/delegation-controller>@metamask/keyring-controller",[451946,609454,811502]],["@metamask/delegation-core",[846404,846404]],["@metamask/delegation-deployments",[721785]],["@metamask/design-system-react",[100791,101545,104095,108379,111700,112038,112120,116791,118991,124856,126134,126528,139911,146950,147602,148696,153108,153472,154468,157783,157994,158250,158317,160370,160687,166537,168743,170533,173556,174795,17635,179218,180219,180781,181657,181902,183745,185194,186304,192794,195120,197951,201718,205278,212504,21263,21292,216346,216793,21875,219384,221371,222496,223901,227485,237405,237457,241686,243877,244569,244701,248477,250778,254465,255145,261181,266965,268870,27150,274207,2762,276277,281051,281244,282311,283931,287002,287721,289055,290070,290605,296263,302175,303362,305955,306392,309111,310583,311698,314356,314756,323966,327468,330793,331498,33539,3372,339262,340390,343043,344809,346414,34997,353187,353438,355670,35721,364588,367792,376193,380917,381150,382707,385780,386745,38914,392800,395528,398412,40106,403015,405165,407554,407699,409644,410701,411275,412524,424341,424502,431037,432914,434186,435684,437840,439295,439550,443273,445973,446947,449341,449565,450435,451902,452304,452668,454831,455836,457302,458646,459182,460390,465560,466770,47233,479746,480116,486359,48845,488581,492670,493611,49421,494800,498677,502676,50627,507803,508323,508533,510243,516438,518206,518491,519559,520430,524405,526447,527442,529775,531462,533632,534408,53669,53784,538324,539783,540463,541292,544020,544944,546947,559099,563376,564250,566707,568085,576040,578429,579952,581745,582814,588106,588156,592479,593902,596940,600838,60209,602435,608887,60938,609415,616203,618485,621719,622832,623197,627871,632419,633400,634850,635860,639263,640713,641816,644493,65093,652230,655301,657580,65874,661447,671492,672992,67493,675319,676513,679085,679968,68323,68593,687513,687949,68940,690034,694394,709071,712964,719082,720483,72180,723576,729079,738935,742351,746005,746150,746812,748507,75451,756741,757654,758832,759310,762644,772737,773742,775075,779749,783088,783173,785016,785427,78990,790558,793216,797460,799163,804968,805600,806198,80649,81120,811571,814520,823445,827933,828116,829471,831404,832190,836726,838175,838490,842111,844326,845022,845417,848365,848558,849803,852336,853169,855034,865740,86660,866927,868118,870677,87288,874176,876365,877291,879575,879638,884056,890954,895370,903273,904306,907319,912629,913802,913807,922726,926968,927951,931231,93278,934509,935664,937069,938132,942959,949098,955662,958152,962428,963245,964414,966455,966872,970443,972938,976849,982635,983857,985268,990900,992164,995163,998246]],["@metamask/design-system-react>@radix-ui/react-slot",[700694]],["@metamask/design-system-react>@radix-ui/react-slot>@radix-ui/react-compose-refs",[128659]],["@metamask/design-system-react>blo",[150609,749193,904710,999084]],["@metamask/design-system-react>tailwind-merge",[704044]],["@metamask/design-system-shared",[206576,305142,506410,520858,556734,568894,584942,683772,706794,73804,75734,789292,79038,833304,848574,918070,918318]],["@metamask/design-tokens",[158967,158967,167203,167203,225344,225344,288228,288228,347861,347861,377043,377043,394478,394478,4796,4796,482988,482988,500944,500944,522686,522686,633612,633612,681561,681561,690691,690691,711582,711582,783158,783158,784672,784672,868103,868103,870912,870912,875644,875644,914025,914025,91504,91504,92071,92071,972017,972017]],["@metamask/eip-5792-middleware",[128263,203268,357659,399703,456200,736462,752916,800324,965456]],["@metamask/eip-5792-middleware>@metamask/transaction-controller",[408401]],["@metamask/eip-7702-internal-rpc-middleware",[346583,353243,528171,755975,930635]],["@metamask/ens-controller",[156825]],["@metamask/ens-resolver-snap",[830316]],["@metamask/eth-hd-keyring",[739583,739583,780268,780268]],["@metamask/eth-hd-keyring>ethereum-cryptography",[731631,731631,780922,780922]],["@metamask/eth-hd-keyring>ethereum-cryptography>@noble/curves",[187339,187339,275501,275501,354273,354273,862530,862530,86744,86744,987385,987385]],["@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes",[147274,147274,248241,248241,459303,459303,474660,474660,536710,536710,546308,546308,592843,592843,612378,612378,628989,628989,701194,701194]],["@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32",[66889,66889]],["@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32>@scure/base",[907904,907904]],["@metamask/eth-json-rpc-filters",[278719,330124,413157,514940,64118,680785,784897,793971,801961]],["@metamask/eth-json-rpc-middleware",[14889,14889,175448,313439,313439,368847,368847,38375,389642,400071,400071,422581,563755,576704,576704,681384,681384,686162,706620,706620,804404,81650,865707,865707,881809,881809,936027,936027,957027,957027,974732,994521]],["@metamask/eth-json-rpc-middleware>safe-stable-stringify",[330764,330764,612980,612980]],["@metamask/eth-json-rpc-provider",[55711,55711,884465,884465]],["@metamask/eth-ledger-bridge-keyring",[324398,517652,64822,64822,712450,764413,77193,77378]],["@metamask/eth-qr-keyring",[35653,360209,807147,807147,995456,995456]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth",[11448,11448,545448,545448]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util",[106166,106166,184430,184430,242063,242063,287160,287160,317236,317236,365684,365684,413456,413456,416838,416838,451854,451854,463212,463212,499760,499760,650359,650359,910697,910697,924906,924906,977461,977461]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>@ethereumjs/rlp",[506783,506783]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography",[613096,613096,748037,748037,837272,837272]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/curves",[158115,158115,23489,23489,291818,291818,397454,397454,774223,774223,889447,889447,933636,933636]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/hashes",[245326,245326,274209,274209,402728,402728,408688,408688,562204,562204,772775,772775,778756,778756,860498,860498]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",[115358,115358,122720,122720,133557,133557,161856,161856,177355,177355,182666,182666,261574,261574,456406,456406,461683,461683,470297,470297,470600,470600,550736,550736,648167,648167,67503,67503,675722,675722,700095,700095,782172,782172,791890,791890,816816,816816,879846,879846,887673,887673,934292,934292,949592,949592,961101,961101,99602,99602,996720,996720]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>uuid",[241376,241376,242547,242547,260475,260475,301443,301443,506592,506592,544660,544660,68131,68131,695274,695274,695305,695305,713983,713983,724869,724869,743621,743621,751815,751815,76104,76104,946844,946844]],["@metamask/eth-qr-keyring>hdkey",[821827,821827]],["@metamask/eth-qr-keyring>uuid",[329214,329214,579133,579133,611514,611514,646280,646280,852884,852884,995985,995985]],["@metamask/eth-sig-util",[162924,162924,371046,371046,47994,47994,57209,57209,876521,876521,937867,937867]],["@metamask/eth-sig-util>@ethereumjs/rlp",[799901,799901]],["@metamask/eth-sig-util>@ethereumjs/util",[193298,193298,209472,209472,212876,212876,227526,227526,374639,374639,415846,415846,495838,495838,627626,627626,670186,670186,729945,729945,7824,7824,789337,789337,789352,789352,853979,853979,952208,952208]],["@metamask/eth-sig-util>@scure/base",[96959,96959]],["@metamask/eth-sig-util>ethereum-cryptography",[369916,369916,457095,457095,519021,519021]],["@metamask/eth-sig-util>ethereum-cryptography>@noble/curves",[173752,173752,394542,394542,416989,416989,498307,498307,591346,591346,629229,629229,790586,790586]],["@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes",[122679,122679,173646,173646,337099,337099,570641,570641,59242,59242,755859,755859,760501,760501,845139,845139]],["@metamask/eth-snap-keyring",[177652,349088,388443,390321,425508,607629,610606,703288,707671,712790,871947,930342,991965]],["@metamask/eth-snap-keyring>@metamask/keyring-internal-snap-client",[372483]],["@metamask/eth-snap-keyring>@metamask/keyring-snap-sdk",[946281]],["@metamask/eth-snap-keyring>uuid",[424171,769267,973046,990075]],["@metamask/eth-token-tracker",[255353,521476,767110]],["@metamask/eth-token-tracker>@metamask/eth-block-tracker",[46097,607723,614362,624895,696478]],["@metamask/eth-token-tracker>deep-equal",[747174]],["@metamask/eth-token-tracker>deep-equal>es-get-iterator",[89048]],["@metamask/eth-token-tracker>deep-equal>es-get-iterator>is-map",[107274]],["@metamask/eth-token-tracker>deep-equal>is-date-object",[952632]],["@metamask/eth-token-tracker>deep-equal>which-boxed-primitive",[114003]],["@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-bigint",[1771]],["@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-boolean-object",[841928]],["@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-number-object",[523543]],["@metamask/eth-token-tracker>deep-equal>which-collection",[539681]],["@metamask/eth-token-tracker>deep-equal>which-collection>is-weakmap",[46066]],["@metamask/eth-token-tracker>deep-equal>which-collection>is-weakset",[954136]],["@metamask/eth-trezor-keyring",[159997,185396,400458,421774,425995,484999]],["@metamask/eth-trezor-keyring>@trezor/connect-plugin-ethereum",[357361]],["@metamask/etherscan-link",[314846,314846,450656,450656,633713,633713,64025,64025,759868,759868,947264,947264,971443,971443]],["@metamask/gas-fee-controller",[431866,431866,65293,65293,899051,899051]],["@metamask/gator-permissions-controller",[11195,131172,150360,206790,313748,346138,364202,392566,400486,431157,431529,514156,523105,537206,558096,580639,585733,650818,667144,717682,847931,904390,918794]],["@metamask/gator-permissions-controller>@metamask/abi-utils",[16970,202648,207569,223647,330407,339537,407854,491968,559645,598578,600451,607603,64269,647513,652275,702395,722802,797092,842691,927929]],["@metamask/gator-permissions-controller>@metamask/abi-utils>@metamask/utils",[119802,136777,147660,180886,279513,329974,375721,430416,49982,504225,646277,719844,723518,778635,789370,794274,869658,881058,916184,926428,937724]],["@metamask/gator-permissions-snap",[454989]],["@metamask/geolocation-controller",[443136,899513,909614]],["@metamask/geolocation-controller>@metamask/controller-utils",[835663,923248]],["@metamask/hw-wallet-sdk",[649775,649775,784717,784717,832813,832813,853955,853955,925338,925338]],["@metamask/institutional-wallet-snap",[654294]],["@metamask/jazzicon",[256985,762823,983303]],["@metamask/jazzicon>color",[796458]],["@metamask/jazzicon>color>clone",[901347]],["@metamask/jazzicon>color>color-convert",[665773,698052,793961]],["@metamask/jazzicon>color>color-convert>color-name",[670366]],["@metamask/jazzicon>color>color-string",[362611]],["@metamask/jazzicon>mersenne-twister",[760322]],["@metamask/json-rpc-engine",[129385,140667,157637,19352,19352,19352,19352,19352,19352,199481,199481,314307,314307,350026,350026,354466,354466,354466,354466,354466,354466,368371,372429,395037,395037,422356,438025,438025,482742,482742,482742,482742,482742,482742,556620,556620,556620,556620,556620,556620,574527,574527,574527,574527,574527,574527,647553,647553,647553,647553,647553,647553,69388,69388,742547,742547,742547,742547,742547,742547,787307,787307,797561,813216,813216,813216,813216,813216,813216,858594,858594,858594,858594,858594,858594,894454,894454,895171,896558,897312,897312,897312,897312,897312,897312,905416,905416,905416,905416,905416,905416,96214,96214,96214,96214,96214,96214,97002,97002,97002,97002,97002,97002,993793]],["@metamask/json-rpc-engine>klona",[699479,699479,810045,810045]],["@metamask/json-rpc-middleware-stream",[273342,407394,643984,643984]],["@metamask/json-rpc-middleware-stream>readable-stream",[104760,123210,123210,156997,235139,235139,278031,304983,304983,306788,329687,424983,558254,63063,682145,682145,700528,700528,710347,724843,752314,813254,813254,820213,825326,839868,839868,847866,859321,867208,867208,906781,906781,915142,915142,925777,925777,942412,942412,942755,942755,960094,960094,979496,979496]],["@metamask/keyring-api",[139918,161271,161271,161934,161934,201831,201831,242317,242317,250727,286141,286141,341483,341483,348554,348554,360041,373585,373585,39610,39610,418569,467236,467236,477322,477322,536805,592653,592653,595704,595704,612293,612293,670158,670158,674397,674397,711298,711298,751817,751817,853429,853429,861320,861320,867525,867525,871089,871089,886319,886319,896322,896322,906646,906646,957740,957740,960661,970519,970519,979855,979855]],["@metamask/keyring-controller",[280501,280501,511133,511133,869959,869959]],["@metamask/keyring-controller>@metamask/eth-simple-keyring",[232031,232031,688668,688668]],["@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography",[11305,11305,460532,460532]],["@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography>@noble/hashes",[223880,223880,310270,310270,741197,741197,828940,828940]],["@metamask/keyring-controller>ethereumjs-wallet",[512249,512249,562210,562210,610527,610527]],["@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",[143313,143313,267378,267378,283155,283155,361274,361274,51747,51747,564783,564783,585825,585825,61648,61648,723983,723983,748852,748852,749005,749005]],["@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",[206354,206354,255583,255583,303999,303999,388918,388918,531412,531412,681551,681551,681987,681987,701971,701971,75560,75560,851954,851954,892253,892253,945458,945458]],["@metamask/keyring-controller>ethereumjs-wallet>utf8",[670655,670655]],["@metamask/keyring-controller>ulid",[31299,31299,599794,599794]],["@metamask/keyring-internal-api",[362408]],["@metamask/keyring-sdk",[210385,210385,314527,314527,693228,693228,698214,932754,932754,984228]],["@metamask/keyring-sdk>ethereum-cryptography",[103525,103525,824745,824745]],["@metamask/keyring-sdk>ethereum-cryptography>@noble/hashes",[10928,10928,411983,411983,785108,785108,821114,821114]],["@metamask/keyring-sdk>uuid",[280255,280255,345719,345719,682642,682642,905303,905303]],["@metamask/keyring-snap-client",[656228,656228]],["@metamask/keyring-snap-client>uuid",[210603,210603,292899,292899,580723,580723,724414,724414]],["@metamask/keyring-utils",[156635,156635,364524,364524,510930,510930,551277,551277,61683,61683]],["@metamask/logging-controller",[197372,612870,841177]],["@metamask/logo",[663411,663411,663411,739929,739929,739929,844113,844113,844113]],["@metamask/logo>gl-mat4",[58879,58879,58879,717641,717641,717641,733652,733652,733652,740435,740435,740435,974021,974021,974021,979173,979173,979173]],["@metamask/logo>gl-vec3",[239384,239384,239384]],["@metamask/message-manager",[229690,306128,307179,672657]],["@metamask/message-manager>@metamask/controller-utils",[270179,552418,998790]],["@metamask/message-manager>jsonschema",[143064,144276,227698,47847,52805]],["@metamask/message-signing-snap",[423752]],["@metamask/messenger",[324960,324960,446337,446337,446337,446337,446337,446337,547368,547368,547368,547368,547368,547368]],["@metamask/metamask-eth-abis",[285981,285981,409227,409227,571397,571397,632915,632915,785012,785012]],["@metamask/multichain-account-service",[111916,150102,185216,236917,273316,380849,425842,431389,468013,560102,608891,705268,761340,831261,891847,913889,960168]],["@metamask/multichain-api-client",[220677,366196,412454,4712,56710,675768,676687,991999]],["@metamask/multichain-api-middleware",[116462,398575,446882,573993,677044,774329,951474,960364,993285]],["@metamask/multichain-api-middleware>@metamask/api-specs",[340968,72215,89361]],["@metamask/multichain-network-controller",[131831,15549,15549,270913,328063,590026,951493,951493]],["@metamask/multichain-transactions-controller",[809882]],["@metamask/name-controller",[122859,138904,140701,140701,206320,265209,349820,394168,479088,530451,530451]],["@metamask/name-controller>@metamask/controller-utils",[812830,812830]],["@metamask/network-controller",[339710,339710,418084,418084,469233,469233,552682,552682,636061,636061,762180,762180,871933,871933,877882,877882,964084,964084]],["@metamask/network-controller>@metamask/eth-block-tracker",[336767,336767,601556,601556]],["@metamask/network-controller>@metamask/eth-json-rpc-infura",[196288,196288,391341,391341,597837,597837,717129,717129,975366,975366]],["@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider",[139596,139596,139596,139596,139596,139596,163433,163433,163433,163433,163433,163433,357480,357480,357480,357480,357480,357480,666594,666594,666594,666594,666594,666594]],["@metamask/network-controller>@metamask/swappable-obj-proxy",[101126,101126,480251,480251,832336,832336,871023,871023]],["@metamask/network-enablement-controller",[27340,540012,65352,912351]],["@metamask/notification-services-controller",[152282,19676,19676,221890,221890,291105,291105,303728,303728,308033,308033,390923,390923,432592,47250,523176,543884,543884,565553,565553,599565,599565,713351,713351,749512,749512,767678,767678,795086,795086,914806,914806,916866,923231,923231,924352,989029,989029]],["@metamask/notification-services-controller>@contentful/rich-text-html-renderer",[777316,777316]],["@metamask/notification-services-controller>bignumber.js",[807275,807275]],["@metamask/notification-services-controller>firebase",[406131,624267,958250]],["@metamask/notification-services-controller>firebase>@firebase/app",[116089]],["@metamask/notification-services-controller>firebase>@firebase/app>@firebase/component",[517177]],["@metamask/notification-services-controller>firebase>@firebase/app>@firebase/logger",[829036]],["@metamask/notification-services-controller>firebase>@firebase/app>idb",[171560,757110]],["@metamask/notification-services-controller>firebase>@firebase/installations",[716395]],["@metamask/notification-services-controller>firebase>@firebase/messaging",[102932,78712]],["@metamask/notification-services-controller>firebase>@firebase/util",[771927]],["@metamask/object-multiplex",[136940,373445,541726,541726,541726,657887,657887,657887,967744,967744,967744,993027]],["@metamask/object-multiplex>once",[688655,688655,688655,842744]],["@metamask/object-multiplex>once>wrappy",[368616,885067,885067,885067]],["@metamask/object-multiplex>readable-stream",[103508,103508,103508,108694,108694,108694,15394,15394,15394,181531,181531,181531,183588,258565,258565,258565,284911,292787,304208,304208,304208,319353,446267,446267,446267,472387,478633,478633,478633,540031,540031,540031,554907,593545,593545,593545,659909,66066,666688,666688,666688,691259,729063,737465,75284,75284,75284,835990,838926,838926,838926,839488,846686,884578,934344,934344,934344,979662,979662,979662]],["@metamask/obs-store",[196157,293729,29584,452512,792410,960742]],["@metamask/obs-store>readable-stream",[13938,14474,189861,263502,264222,3024,316879,693971,725397,803178,843604,88819,893812,957452,981313]],["@metamask/passkey-controller",[178690,17925,365833,632839,677490,717386,749002,749002,776700,778393,804622,865122,868088,914998,933441,980167,981155]],["@metamask/passkey-controller>@levischuck/tiny-cbor",[301947,600752,710278]],["@metamask/permission-controller",[241361,241361,241361,253990,29947,29947,29947,408613,408613,431297,441099,462105,766840,766840,775377,775377,831851,831851]],["@metamask/permission-log-controller",[157908,648391]],["@metamask/permissions-kernel-snap",[18171]],["@metamask/perps-controller",[121592,162729,163243,166861,166861,16793,16793,173800,186957,192206,222750,248394,282514,334323,348124,373663,373663,388843,416431,445301,478880,479133,486232,519226,522187,54381,562832,585609,585609,585609,585609,585609,607653,616395,625845,757506,760057,760837,760900,78776,793434,798777,798777,810634,810634,835078,848964,858623,872652,911430,926180,931150,932811,937640,942225,970671,97487,979587]],["@metamask/perps-controller>@metamask/abi-utils",[1395,145325,290001,330383,356515,406653,496476,573613,575115,626417,631673,634810,66343,675964,7157,752774,7896,797470,814660,874415]],["@metamask/perps-controller>@metamask/abi-utils>@metamask/utils",[100561,110588,11850,26208,328370,346740,387655,436443,437194,455639,470584,53690,590779,622982,773167,830852,84376,912455,962924,965340,974158]],["@metamask/perps-controller>@nktkas/hyperliquid",[103126,105127,112351,117853,126180,126395,131866,134419,148979,150071,153029,159933,163233,164804,172911,188787,192010,193452,21131,218443,225748,226558,227950,228473,229429,233610,23515,23534,238744,241285,257601,264622,285553,293277,303136,304870,315268,324992,343506,344312,345315,356216,35806,360957,363677,368180,373757,378925,38110,381777,390780,405059,41211,42496,427825,431012,435792,44952,452769,454562,455292,456534,47196,483329,486223,494484,500496,505976,506939,51482,51740,519233,526682,52690,542120,542761,544850,557372,558063,558104,569411,571859,57553,582818,584584,585044,592650,610840,611842,618007,618304,630647,633194,633696,634075,643865,649665,651942,653028,655477,660706,661771,667682,669276,675625,676534,684309,686046,686370,687464,689459,692013,696528,704368,704438,710754,720305,721641,724758,725801,727275,728697,743095,747035,748536,750104,75889,759865,766618,768687,769195,770685,771236,778570,778826,783363,789330,79928,80091,805168,809953,811803,818084,821129,822863,829781,84237,842396,845751,853528,853711,855283,85779,860366,86915,870484,881273,88298,884152,89088,892100,915050,918049,923512,92669,930182,939914,942311,949685,952359,952915,957435,960981,965469,966297,968331,977542,980484,988554,991255,998272,999572]],["@metamask/perps-controller>@nktkas/hyperliquid>@nktkas/rews",[221836]],["@metamask/perps-controller>@nktkas/hyperliquid>@noble/hashes",[394621,575241,71896]],["@metamask/perps-controller>@nktkas/hyperliquid>valibot",[16082]],["@metamask/phishing-controller",[257881,311290,311290,318392,382182,48142,794847,851610]],["@metamask/phishing-controller>@metamask/transaction-controller",[346579]],["@metamask/phishing-controller>ethereum-cryptography",[295810,994752]],["@metamask/phishing-controller>ethereum-cryptography>@noble/hashes",[217551,420730,464551,679709]],["@metamask/polling-controller",[729986,729986,816571,816571,937882]],["@metamask/post-message-stream",[101274,101274,101274,107927,107927,107927,23400,359799,379148,411515,465868,524382,524382,524382,543433,620498,620498,620498,74883,74883,74883,755593,755593,755593,822105,927785,927785,927785]],["@metamask/post-message-stream>readable-stream",[122587,122587,122587,128093,128093,128093,149890,149890,149890,158647,158647,158647,164196,280932,335992,365149,377228,377228,377228,387923,387923,387923,430723,430723,430723,437116,450432,456224,456224,456224,490137,490137,490137,506348,506348,506348,508142,508142,508142,525366,538997,621123,67395,67395,67395,68193,702682,742819,846471,85990,864992,864992,864992,883886,938361,938361,938361,976199,976199,976199]],["@metamask/ppom-validator",[177674,289357,560797,802625]],["@metamask/ppom-validator>@metamask/controller-utils",[139624,173631,292844,53568,561277,629867,958344]],["@metamask/ppom-validator>await-semaphore",[972622]],["@metamask/ppom-validator>crypto-js",[136152,156953,212122,28681,299772,316531,388593,416696,467074,495238,496468,546210,554120,605410,626217,63691,648024,659663,67012,67012,706799,736059,741309,741309,756836,782539,812436,826321,826321,833881,848140,851069,855049,857468,863576,925909,936517,939493,954177]],["@metamask/ppom-validator>json-rpc-random-id",[84187,84187]],["@metamask/preinstalled-example-snap",[675919]],["@metamask/profile-metrics-controller",[535484,752112,887335,947913]],["@metamask/profile-sync-controller",[119324,125054,131602,145811,158486,163269,175526,208614,214084,285815,408685,408685,411475,412247,536073,583513,60095,710448,731171,731171,751944,760234,763204,784140,871229,881381,911075,911443,936070,941764,958387,958387,96556,978337]],["@metamask/profile-sync-controller>siwe",[250783,345447,499052,771035,966691]],["@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser",[651193,692745,916624]],["@metamask/profile-sync-controller>siwe>@stablelib/random",[605021,669716,839148,960997]],["@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/binary",[472652]],["@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/binary>@stablelib/int",[692672]],["@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/wipe",[716903]],["@metamask/providers",[116263,152704,178618,482392,604632,611766,683527,725087,733762,748698,78279,798563,944401,946170,946822,958440]],["@metamask/providers>is-stream",[84773,902544]],["@metamask/providers>readable-stream",[125282,131581,167911,206930,217247,272419,275885,31329,31356,352992,360996,366175,373035,406951,433634,478694,577916,609843,616714,655772,660418,670086,719599,769499,777480,789321,817741,834278,871965,919766]],["@metamask/rate-limit-controller",[859998]],["@metamask/react-data-query",[574018]],["@metamask/react-data-query>@metamask/base-data-service",[124456]],["@metamask/react-data-query>@metamask/base-data-service>@tanstack/query-core",[168395,248863,264145,28280,3607,37098,632010,683813,723011,753594,772272,916366,961622,97880,98033]],["@metamask/react-data-query>@tanstack/query-core",[117168,12569,150029,206549,210534,236783,332205,375448,394846,543348,633538,635404,690899,721876,804467]],["@metamask/remote-feature-flag-controller",[110809,229582,502008,556814,56558,874810]],["@metamask/rpc-errors",[132002,132002,135299,135299,135299,135299,135299,135299,144008,144008,144008,16905,16905,16905,195057,195057,195057,195057,195057,195057,207534,207534,207534,207534,207534,207534,353959,353959,581327,581327,581327,584553,584553,703640,703640,703640,703640,703640,703640,711210,711210,805248,805248,805248,875088,875088,875088,875088,875088,875088]],["@metamask/rpc-errors>fast-safe-stringify",[101292,101292,754255,754255,754255]],["@metamask/safe-event-emitter",[177805,177805,532596,532596,664053]],["@metamask/scure-bip39",[592190,592190,595876,595876]],["@metamask/scure-bip39>@noble/hashes",[239227,239227,401576,401576,494981,494981,614013,614013,835673,835673,879240,879240,88469,88469,938735,938735,980895,980895]],["@metamask/scure-bip39>@scure/base",[763261,763261]],["@metamask/seedless-onboarding-controller",[189780,2809,364870,437762,627122,949340,987160,987160,987160]],["@metamask/seedless-onboarding-controller>@metamask/auth-network-utils",[845414]],["@metamask/seedless-onboarding-controller>@metamask/auth-network-utils>@toruslabs/constants",[901527]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup",[113685,17564,242335,284271,327293,553072,568412,635124,706026,787309,812995,878813,917364]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@metamask/auth-network-utils",[170422,229468,286031,288582,336355,716362,781036,83789]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details",[859723]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/fnd-base",[15531,262620,579858,928075]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/http-helpers",[65983]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/http-helpers",[779159]],["@metamask/selected-network-controller",[269068,69796]],["@metamask/shield-controller",[181547,182405,275378,742033,751037]],["@metamask/shield-controller>@metamask/controller-utils",[16081,350864]],["@metamask/shield-controller>@metamask/transaction-controller",[732904]],["@metamask/signature-controller",[328640,415436,415436,467521,743605,931899,951912,999926]],["@metamask/smart-transactions-controller",[261426,407608,407608,541149,541149,612157,612157,631561,631561,729118,810961,847512,847512]],["@metamask/smart-transactions-controller>bignumber.js",[143984]],["@metamask/snap-account-service",[215877,546574,694652,775810]],["@metamask/snaps-controllers",[112990,133884,142700,183940,196833,271855,349990,387855,419414,44384,529460,548552,571594,590831,6940,752077,791368,792124,82215,834155,935494,937038,937580,94502,971587,999342]],["@metamask/snaps-controllers>@xstate/fsm",[497792]],["@metamask/snaps-controllers>concat-stream",[157651]],["@metamask/snaps-controllers>get-npm-tarball-url",[25608]],["@metamask/snaps-controllers>readable-stream",[16879,201291,276622,377382,383198,389521,441790,457020,485102,507985,552197,656451,678257,777816,855501]],["@metamask/snaps-controllers>readable-web-to-node-stream",[868278]],["@metamask/snaps-controllers>readable-web-to-node-stream>readable-stream",[11491,195581,295951,326381,34895,409259,469959,521720,632698,763609,792400,807140,835479,857844,928302]],["@metamask/snaps-controllers>tar-stream",[214199,452762,641710,743849,840318]],["@metamask/snaps-controllers>tar-stream>b4a",[510209,520395,534895,656807,673362,701623]],["@metamask/snaps-controllers>tar-stream>fast-fifo",[7296,849774]],["@metamask/snaps-controllers>tar-stream>streamx",[953792]],["@metamask/snaps-controllers>tar-stream>streamx>queue-tick",[344789]],["@metamask/snaps-execution-environments",[449787,449787,897911]],["@metamask/snaps-registry",[505884,79693]],["@metamask/snaps-rpc-methods",[114318,178407,195708,199366,205001,210734,210734,222338,236665,241348,302380,315290,315290,315290,315290,333166,343817,357986,371340,378210,380297,385099,387402,388488,396164,397212,398683,410219,412629,430664,434878,46547,46547,470992,481255,488678,494652,505073,516787,524792,537210,540524,551053,56439,574861,580594,597776,602876,615146,636064,646071,647629,655673,657454,689132,689132,689132,715543,71570,725625,751854,758290,784846,814266,817226,819596,840672,840672,857982,863675,869128,899342,899342,919854,925443,985615,992061]],["@metamask/snaps-sdk",[101940,105626,115412,137750,157392,159167,174638,174638,174638,186119,186119,186119,188320,188320,188320,191699,208554,208554,208554,254995,297416,300005,310408,32014,33029,335562,335562,335562,382906,382906,382906,392154,392154,402644,414221,416877,434322,443697,443697,443697,45217,45217,45217,453945,453945,453945,461893,461893,461893,484068,484068,484068,499490,499490,499490,515828,515828,515828,524390,544299,544299,544299,564534,5654,597361,609948,609948,609948,614130,614130,614130,633089,642015,647388,647388,647388,652384,676358,676358,676358,68318,689686,694729,704340,706524,706524,706524,711073,721117,722837,722837,722837,728195,746658,759742,773466,773466,777040,780947,78121,785876,797999,797999,797999,80332,807925,814006,818365,818365,818365,833399,833414,834788,861913,861913,861913,869864,879516,879771,879771,879771,931217,936435,937053,937053,937053,955187,955187,955187,971188,98414,98414,984524,988068]],["@metamask/snaps-sdk>@metamask/key-tree",[100468,100468,141769,141769,224378,224378,256046,256046,268988,268988,379669,379669,410574,410574,476536,476536,480665,480665,508238,508238,53921,53921,568607,568607,64263,64263,650475,650475,693932,693932,697917,697917,732112,732112,920131,920131,94947,94947,949840,949840,963624,963624]],["@metamask/snaps-utils",[116243,116243,135006,156828,156828,15948,172112,180559,237825,237825,252164,252164,260184,296148,355433,355897,355897,358e3,358e3,374955,392380,392380,431050,431050,448372,504536,504536,529638,54872,54872,58473,619193,619193,62099,62099,630249,630249,631524,631524,635843,650976,650976,665797,66580,676798,676798,685502,685502,723807,761368,761368,793671,797549,90157,90157,90157,90404,90404,914420,914420,939912,968074,968074,97324,985338,988931,988931,988950,988950]],["@metamask/snaps-utils>@metamask/slip44",[847408,847408,847408,847408]],["@metamask/snaps-utils>fast-xml-parser",[141844,311041,434627,490105,632435,637724,712175,905874,942721]],["@metamask/snaps-utils>fast-xml-parser>@nodable/entities",[733501,9845]],["@metamask/snaps-utils>fast-xml-parser>path-expression-matcher",[360912,702374,723880]],["@metamask/snaps-utils>fast-xml-parser>strnum",[243320]],["@metamask/snaps-utils>marked",[44747,44747]],["@metamask/snaps-utils>rfdc",[397348,397348]],["@metamask/snaps-utils>validate-npm-package-name",[226237,226237]],["@metamask/snaps-utils>validate-npm-package-name>builtins",[81481,81481]],["@metamask/solana-wallet-snap",[245743]],["@metamask/solana-wallet-standard",[158133,29645,309289,819292,876553]],["@metamask/solana-wallet-standard>@solana/wallet-standard-features",[45444,527170,598497,943760]],["@metamask/solana-wallet-standard>@wallet-standard/features",[694718,716207,986059]],["@metamask/solana-wallet-standard>@wallet-standard/wallet",[295412,302163]],["@metamask/storage-service",[12851,652919,68978]],["@metamask/subscription-controller",[135109,135109,419686,60607,663425,663425,690474,932821]],["@metamask/subscription-controller>bignumber.js",[591268]],["@metamask/superstruct",[142827,142827,142827,147698,147698,147698,147698,147698,147698,147698,147698,179379,179379,179379,179379,179379,179379,179379,179379,244231,244231,244231,290266,290266,315560,315560,315560,315560,315560,315560,315560,315560,342672,342672,342672,355608,355608,355608,356583,356583,356583,411554,411554,448967,448967,449070,449070,449070,497177,497177,497177,497177,497177,497177,497177,497177,5136,5136,5136,5136,5136,5136,5136,5136,545203,545203,599805,599805,599805,599805,599805,599805,599805,599805,612815,612815,628674,628674,628674,628674,628674,628674,628674,628674,638737,638737,638737,638737,638737,638737,638737,638737,652825,652825,784225,784225,784225,982944,982944]],["@metamask/test-dapp-solana>@solana/wallet-standard-chains",[826167]],["@metamask/transaction-controller",[129438,129438,133660,133660,145895,145895,15420,15420,158388,158388,174838,174838,200881,200881,204471,204471,24889,24889,317525,317525,348372,348372,354166,354166,420762,420762,454515,454515,491993,491993,493646,493646,523615,523615,53002,53002,546292,546292,579150,579150,592361,592361,607402,607402,619783,619783,622702,622702,623476,623476,637434,637434,660227,660227,660502,660502,685128,685128,71530,71530,730691,730691,731521,731521,755199,755199,780690,780690,788457,788457,795886,795886,80667,80667,850156,850156,857157,857157,8862,8862,900682,900682,907315,907315,910368,910368,963648,963648,976022,976022,978561,978561]],["@metamask/transaction-controller>@metamask/nonce-tracker",[775896,775896,877795,877795]],["@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex",[420968,420968,751816,751816,793012,793012,857279,857279,955353,955353,997852,997852]],["@metamask/transaction-controller>bignumber.js",[717341,717341]],["@metamask/transaction-pay-controller",[101009,105313,123646,13475,158511,184549,186986,210220,219848,222065,24139,250500,297689,301536,313295,3413,346329,364985,372027,381432,385374,407825,41150,41417,452543,481511,481511,500762,512802,513265,514996,577857,588804,600740,621834,62324,63322,63676,66246,696073,706442,709890,710432,718539,722273,748603,758848,764976,780512,787865,791378,83447,840766,881283,902177,93161,955429,95614,963432,963584,964544,97797,986092,99916]],["@metamask/transaction-pay-controller>@metamask/ramps-controller",[384540,62498]],["@metamask/transaction-pay-controller>bignumber.js",[722906]],["@metamask/tron-wallet-snap",[990306]],["@metamask/user-operation-controller",[177720,44032,462451,527333,565720,651451,769743,775170,798208,904617,974289,997651]],["@metamask/utils",[103453,103453,103453,103453,103453,103453,103453,103453,142282,142282,142282,155499,166378,166378,166378,166378,166378,166378,166378,166378,204179,204179,204179,204179,204179,204179,204179,204179,211600,211600,230855,230855,230855,230855,230855,230855,230855,230855,258862,269530,269530,269530,269530,269530,269530,269530,269530,297564,301885,301885,301885,301885,301885,301885,301885,301885,334031,334031,334031,334031,334031,334031,334031,334031,364705,364705,364705,364705,364705,364705,364705,364705,379054,379054,379054,379054,379054,379054,379054,379054,38333,38333,38333,38333,38333,38333,38333,38333,418021,418021,418021,418021,418021,418021,418021,418021,432315,432315,432315,432315,432315,432315,432315,432315,447519,447519,481009,481009,481009,481009,481009,481009,481009,481009,502257,502257,502257,502257,502257,502257,502257,502257,507060,507060,507060,507060,507060,507060,507060,507060,536560,536560,536560,536560,536560,536560,536560,536560,549140,549140,554839,554839,570302,570302,570302,570302,570302,570302,570302,570302,572433,572433,572433,572433,572433,572433,572433,572433,691991,691991,691991,691991,691991,691991,691991,691991,699844,699844,699844,699844,699844,699844,699844,699844,705025,705025,705025,745085,745085,745085,745928,745928,755244,755244,755244,755244,755244,755244,755244,755244,760184,760184,760184,761788,761788,812805,812805,818337,832018,832018,851754,851754,870601,870601,870601,870601,870601,870601,870601,870601,889333,889333,889333,889333,889333,889333,889333,889333,896639,896639,896639,908743,908743,908743,933647,933647,933647,933647,933647,933647,933647,933647,934538,934538,935406,935406,971968,971968,973594]],["@metamask/utils>pony-cause",[178430,178430,207912,207912,341875,341875,67282,67282,762565,762565]],["@metamask/wallet",[184390,347008,382908,406040,423728,635028,665236,732574,883693,918298,976020,997476]],["@mui/material",[104312,11577,11847,127519,131770,133546,133610,134295,138369,149615,153167,156273,157655,162330,165360,166451,167754,167889,178627,181078,181235,189302,191831,203048,210303,226316,236307,255651,259731,26139,2653,282411,301846,307879,310781,313877,324435,332447,332703,336669,341331,35299,35395,365663,368447,370166,378470,379241,38422,398360,412251,413825,416935,425277,431563,436002,440400,450283,452141,454296,465673,471225,473091,479487,501597,514651,519621,531344,538827,548057,551018,55753,569241,57703,578155,57903,590551,591867,597805,599115,6059,609711,61123,614039,624277,62485,632116,640422,641503,648848,654282,656872,661831,663415,66571,671692,676437,678803,682879,685075,689227,700221,714326,715498,767335,768420,812063,818175,819181,822498,834867,836235,852735,860482,867615,879514,886401,895557,901045,90255,909476,91357,917195,920763,925855,928405,933304,94413,945520,945831,955653,963413,965979,97417,989167,989507,991447,999946]],["@mui/system",[112307,157747,170487,223596,260499,292499,337791,382928,508125,51009,518028,521462,559495,571389,573633,613431,627531,740860,75139,752367,759456,767479,768766,773517,800001,801105,828135,87567,884047,901626,927296,961052,967443,97900]],["@mui/system>@mui/private-theming",[57094,573456,603025,82634]],["@mui/system>@mui/styled-engine",[184884,472395,669950]],["@mui/system>@mui/utils",[103354,184229,1975,20613,214359,230793,246517,282805,291577,305397,319,331467,331569,394779,418965,439189,448157,486545,487849,498525,503031,510163,540913,554911,557889,599139,632271,650543,711433,727645,768304,781887,79181,843102,850845,856709,875719,902965,958525,991061,996063]],["@mui/system>@mui/utils>react-is",[254918]],["@mui/x-date-pickers",[10168,10283,109947,111395,122804,123803,126836,129352,135,137138,143620,14500,193795,207533,217914,232699,236e3,240425,252109,253626,256113,276833,28014,282147,286591,291798,296702,297337,299813,306965,312931,31307,31610,324552,346464,347478,360213,367588,371017,373436,407675,409265,427557,428868,43945,439705,449361,450172,456280,462684,465385,471109,472329,475479,481776,493444,495730,509819,516586,531919,534334,535112,549645,559442,560807,57035,575472,575759,576361,591276,613923,621225,62313,636789,637605,644658,645967,664886,684598,696035,696877,722351,731545,735574,743304,748043,76734,777039,79095,794182,794335,797343,802198,802583,804689,807381,81821,836036,837819,842867,844151,847094,860107,861581,864041,868232,872762,881645,883161,888956,903160,904440,909821,916237,918664,922167,922940,923449,92574,931514,939733,946300,948710,983447,984247,995814]],["@mui/x-date-pickers>@mui/utils",[119651,197021,248723,261091,302419,340611,352023,365965,48343,529819,586991,63207,646853,676243,677617,73013,77457,789905,803499,86397]],["@ngraveio/bc-ur",[10198,10198,216814,216814,334683,334683,347103,347103,526436,526436,585651,585651,608778,608778,669916,669916,715987,715987,816060,816060,912490,912490,916561,916561]],["@ngraveio/bc-ur>@keystonehq/alias-sampling",[836484,836484]],["@ngraveio/bc-ur>assert",[100734,100734,158196,158196,215851,215851,784333,784333]],["@ngraveio/bc-ur>assert>is-nan",[247643,247643,277973,277973,461010,461010,924544,924544]],["@ngraveio/bc-ur>assert>object-is",[129730,129730,331205,331205,628587,628587,827856,827856]],["@ngraveio/bc-ur>bignumber.js",[574149,574149]],["@ngraveio/bc-ur>cbor-sync",[632362,632362]],["@ngraveio/bc-ur>crc",[136322,136322,219649,219649,274359,274359,389601,389601,457640,457640,524523,524523,633555,633555,739574,739574,761450,761450,852556,852556,858449,858449,878551,878551,888882,888882,946884,946884]],["@ngraveio/bc-ur>crc>buffer",[797843,797843]],["@ngraveio/bc-ur>jsbi",[847743,847743]],["@ngraveio/bc-ur>sha.js",[132806,132806,158146,158146,240184,240184,363368,363368,381195,381195,576585,576585,588986,588986,774747,774747]],["@ngraveio/bc-ur>sha.js>to-buffer",[715425,715425]],["@noble/ciphers",[2081,363798,43634,626400,801112]],["@noble/curves",[117286,158163,215644,215644,298465,36773,36773,446266,446266,465386,489928,489928,526286,58340,58340,584681,589072,589072,610537,610537,792499,792499,912303,923959,927500,927500,951297]],["@noble/hashes",[117154,117154,128961,128961,163684,163684,237402,237402,277206,279307,279307,362108,362108,367013,367013,38578,38578,399502,399502,41903,41903,477964,477964,477964,496153,496153,505886,505886,617711,661330,661330,661330,671955,671955,671955,716070,770999,770999,772169,772169,850479,850479,85428,85428,921178,943940,945794,975651]],["@open-rpc/meta-schema",[696281]],["@open-rpc/schema-utils-js",[178112,286865,498746]],["@open-rpc/schema-utils-js>@json-schema-tools/dereferencer",[247747,839041]],["@open-rpc/schema-utils-js>@json-schema-tools/dereferencer>@json-schema-tools/traverse",[300427]],["@open-rpc/schema-utils-js>@json-schema-tools/meta-schema",[6989]],["@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver",[213505,27476,707120,870923,915941]],["@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver>@json-schema-spec/json-pointer",[298824]],["@open-rpc/schema-utils-js>is-url",[324673]],["@open-rpc/test-coverage>isomorphic-fetch",[207672]],["@open-rpc/test-coverage>isomorphic-fetch>whatwg-fetch",[645680]],["@popperjs/core",[104262,120185,131500,134115,149922,172285,183817,201918,206556,218858,226744,25019,262272,289140,302530,326635,330629,335526,33565,351475,3598,400267,492560,50696,513223,532874,553918,568598,589833,638543,659638,674110,680243,70361,750319,757155,762019,773577,790791,794063,814127,815258,818832,826916,843022,864542,872787,886298,891016,908905,925448,947862,954239,978752]],["@reduxjs/toolkit",[55820,55820]],["@reduxjs/toolkit>reselect",[317341,317341,93958,93958]],["@rive-app/react-canvas",[913965]],["@rive-app/react-canvas>@rive-app/canvas",[236494,236494,236494,236494,236494,888132]],["@scure/base",[54584,54584,591315,591315]],["@segment/analytics-node",[135879,135879,163263,163263,23300,23300,279322,279322,32883,32883,335978,335978,340597,340597,34948,34948,499454,499454,521632,521632,617928,617928,653229,653229,668435,668435,677885,677885,679751,679751,703484,703484,744764,744764,778153,778153,881020,881020,885160,885160,950625,950625]],["@segment/analytics-node>@lukeed/uuid",[43220,43220]],["@segment/analytics-node>@segment/analytics-core",[12916,12916,160021,160021,171519,171519,184523,184523,243329,243329,265654,265654,395707,395707,416644,416644,58131,58131,599055,599055,681279,681279,706813,706813,70932,70932,781258,781258,858693,858693,863234,863234,946716,946716,956877,956877]],["@segment/analytics-node>@segment/analytics-core>dset",[433864,433864]],["@segment/analytics-node>@segment/analytics-generic-utils",[927339,927339,958351,958351]],["@segment/analytics-node>jose",[115208,115208,116941,116941,171121,171121,222891,222891,260779,260779,378729,378729,463860,463860,527336,527336,53295,53295,577658,577658,589323,589323,615640,615640,663478,663478,67737,67737,678296,678296,732642,732642,755924,755924,796358,796358,8143,8143,850867,850867,851454,851454,896511,896511,936995,936995,953385,953385,968646,968646,989618,989618]],["@sentry/browser",[106438,130760,14635,14635,155001,155001,162183,162183,185635,185635,195829,195829,216295,224245,244880,244880,266615,273521,279802,279802,327566,360023,366523,366523,369735,382128,382128,392788,43417,43417,443227,455142,455142,466024,466024,472847,472847,47810,494688,503510,535279,535279,537252,538564,538564,550041,553205,564350,564350,571893,571893,591386,606189,606189,639781,639781,642735,659129,707995,717309,723808,723808,747402,748028,748028,753036,753036,763935,763935,795966,795966,810087,810087,845226,851781,868888,892145,892145,902419,943544,96434,96434,982238,982238]],["@sentry/browser>@sentry-internal/browser-utils",[104168,117529,12796,132076,133481,138716,138716,184748,185335,185746,19467,19467,225669,234512,234512,234598,259463,303818,314408,314408,327140,33040,33040,406097,417860,441265,441265,459517,495242,51450,51450,515400,515400,533858,566632,566632,56680,56680,57324,57324,621827,621827,662925,662925,676979,676979,681747,702053,702053,71337,71337,714599,74342,74342,756025,764651,765698,765698,768571,768571,772879,772879,814601,814601,821396,821396,858586,863531,879954,879954,882555,898026,903217,903217,932294,956354,956354,956742,975431,975431,978802,978802,993671,993671]],["@sentry/browser>@sentry-internal/feedback",[178066,178066,666012]],["@sentry/browser>@sentry-internal/replay",[117172,949306,949306]],["@sentry/browser>@sentry-internal/replay-canvas",[928535,986415,986415]],["@sentry/browser>@sentry/core",[105388,115433,122411,122411,123532,123532,125617,136244,137891,138706,140722,145834,153839,155682,15797,15797,16278,16686,17072,17072,172900,172900,173177,175384,175384,178061,178061,179184,187474,187474,187763,187973,187973,189193,189193,191895,192279,198066,201740,201740,24708,254759,267276,276435,276435,285803,285803,290264,295088,295088,298556,298556,329537,329537,341035,341035,352158,352158,355989,355989,367877,369793,369793,398471,398471,39859,39859,405971,410710,410710,411335,411335,420376,420376,438774,441227,444284,444284,461582,461582,466737,466737,468417,468417,48718,488560,488560,498658,513234,513234,5152,5152,52018,52018,532725,534098,538979,538979,542764,542764,548697,548697,550866,550866,577102,577102,584222,587044,597014,59824,59824,598723,598723,608119,612717,612717,631905,664746,664746,665016,665016,671480,671480,67904,682631,682631,691963,704776,704776,707212,707212,709356,709356,713966,713966,71409,718800,719149,719509,724666,730074,76838,768881,77614,777217,778313,778313,778552,778552,78463,78463,793111,803537,808106,812863,818747,827284,827284,836164,837971,848294,848294,865961,865961,884405,884488,901814,902309,902309,903226,911216,911216,920938,920938,92376,931263,931263,933190,934379,934379,939543,939543,943924,943924,960196,960767,960767,96331,967173,967173,973149,973234,98154,98154,986746]],["@sentry/utils",[107842,1090,1090,109910,109910,148366,148366,151201,151201,16786,179329,182881,182881,230337,25605,283049,283049,316310,316310,370861,370861,37853,384255,38561,38561,388006,397718,401967,401967,40209,402228,402228,414753,414753,424264,425535,450579,462128,462128,471265,490521,490521,494945,497577,497577,513064,513064,520348,520348,536275,536275,538600,562298,566612,566612,571825,572858,586312,605257,605257,613608,613608,620209,6246,6246,644094,646493,646493,648017,650773,650773,654761,665812,665812,669891,669891,680985,696294,708521,708521,709502,709502,716547,716547,74263,74263,766221,769233,769233,785755,785755,799130,814508,814508,821016,830339,833097,833097,834028,834529,837075,84607,84607,851338,85182,856928,856928,879561,879561,895315,906769,921368,921368,940344,950825,950825,973544,973544,97407,988217]],["@simplewebauthn/browser",[134797,173983,173983,216354,216354,311050,322193,322193,328784,328784,345592,345592,454807,50783,50783,537185,537185,600306,600306,80287,80287,891367,891367,931567,955988]],["@solana/addresses",[500089,500089]],["@solana/addresses>@solana/codecs-core",[531837,531837]],["@solana/addresses>@solana/codecs-strings",[726472,726472]],["@solana/addresses>@solana/errors",[410059,410059]],["@storybook/addon-docs>remark-external-links>mdast-util-definitions",[603936]],["@storybook/react>util-deprecate",[381763,381763,381763,79894]],["@tanstack/react-query",[224732,237278,493565,511705,599973,630844,842109,866471,940025,967358]],["@tanstack/react-query>@tanstack/query-core",[205762,236190,302985,461608,53199,632922,652413,915115,959783]],["@tanstack/react-query>use-sync-external-store",[11853,941760]],["@tanstack/react-virtual",[207896]],["@tanstack/react-virtual>@tanstack/virtual-core",[282889,737520]],["@toruslabs/eccrypto",[840752]],["@toruslabs/eccrypto>elliptic",[206133,206133,31289,31289,385483,385483,431844,431844,439410,439410,505841,505841,520526,520526,56160,56160,595344,595344,598866,598866,671066,671066,756924,756924,834229,834229,917768,917768,917768,917768,917768,917768,917768,917768,97907,97907,995991,995991]],["@toruslabs/eccrypto>elliptic>brorand",[700493,700493]],["@toruslabs/eccrypto>elliptic>hmac-drbg",[178403,178403]],["@toruslabs/eccrypto>elliptic>minimalistic-assert",[147749,147749]],["@toruslabs/eccrypto>elliptic>minimalistic-crypto-utils",[178175,178175]],["@trezor/connect-web",[161947,161947,264637,264637,448771,448771,475227,475227,511005,511005,676994,676994,777401,777401,802974,802974,883249,883249,932425,932425,942600,942600,948414,948414]],["@trezor/connect-web>@trezor/connect",[108752,108752,122517,122517,151165,151165,195279,195279,203181,203181,266718,266718,274388,274388,283080,283080,314251,314251,329191,329191,3467,3467,347648,347648,381398,381398,390491,390491,40275,40275,40574,40574,416188,416188,43960,43960,507351,507351,515009,515009,531360,531360,565501,565501,644936,644936,646784,646784,659703,659703,686693,686693,699779,699779,715952,715952,728359,728359,740975,740975,767847,767847,773642,773642,792108,792108,794554,794554,799799,799799,823473,823473,832029,832029,841885,841885,845438,845438,860263,860263,878923,878923,896867,896867,92633,92633,941442,941442,945725,945725,95052,95052,965279,965279,996616,996616]],["@trezor/connect-web>@trezor/connect-common",[32142,32142,439606,439606,494623,494623,556102,556102]],["@trezor/connect-web>@trezor/connect-common>@trezor/env-utils",[410764,410764,53958,53958,759514,759514]],["@trezor/connect-web>@trezor/connect-common>@trezor/env-utils>ua-parser-js",[959498,959498]],["@trezor/connect-web>@trezor/connect>@trezor/blockchain-link>@trezor/websocket-client",[34818,34818,47679,47679,487483,487483]],["@trezor/connect-web>@trezor/connect>@trezor/device-utils",[292761,292761,358991,358991,389452,389452,406597,406597,586775,586775,886318,886318,913937,913937]],["@trezor/connect-web>@trezor/connect>@trezor/protobuf",[192040,192040,311145,311145,534276,534276,669094,669094,783184,783184,969356,969356,974893,974893]],["@trezor/connect-web>@trezor/connect>@trezor/protobuf>long",[229996,229996]],["@trezor/connect-web>@trezor/connect>@trezor/schema-utils",[122668,122668,261702,261702,342180,342180,463685,463685,508198,508198,585053,585053,736876,736876,948506,948506]],["@trezor/connect-web>@trezor/connect>@trezor/schema-utils>@sinclair/typebox",[10071,10071,100733,100733,103796,103796,118003,118003,119200,119200,147967,147967,156134,156134,159565,159565,16791,16791,168041,168041,169820,169820,170758,170758,171039,171039,172991,172991,174218,174218,188342,188342,194706,194706,200299,200299,201099,201099,206718,206718,208399,208399,214286,214286,216042,216042,219050,219050,239055,239055,242637,242637,257519,257519,257695,257695,260556,260556,265631,265631,268431,268431,271739,271739,274396,274396,301031,301031,304363,304363,31199,31199,318295,318295,32976,32976,329881,329881,331519,331519,331682,331682,335570,335570,341314,341314,343978,343978,345602,345602,34641,34641,346487,346487,349811,349811,351009,351009,364835,364835,367026,367026,373225,373225,379348,379348,381147,381147,382219,382219,383298,383298,387371,387371,393392,393392,394828,394828,405919,405919,406295,406295,407776,407776,408619,408619,409603,409603,410500,410500,412896,412896,415827,415827,421427,421427,430971,430971,433803,433803,436271,436271,447676,447676,448635,448635,449922,449922,454835,454835,465701,465701,469696,469696,471615,471615,481167,481167,482649,482649,48745,48745,489560,489560,49638,49638,503150,503150,50320,50320,504217,504217,50501,50501,505749,505749,50615,50615,50686,50686,50892,50892,51314,51314,51590,51590,526787,526787,538011,538011,538649,538649,54028,54028,549475,549475,557183,557183,559614,559614,560885,560885,561224,561224,561555,561555,562097,562097,572055,572055,575449,575449,57744,57744,583492,583492,588569,588569,596773,596773,606394,606394,607170,607170,608015,608015,621097,621097,630094,630094,63092,63092,632188,632188,634166,634166,637094,637094,638924,638924,652547,652547,652606,652606,655535,655535,657502,657502,664900,664900,668354,668354,670079,670079,671534,671534,672327,672327,673921,673921,684089,684089,685526,685526,687162,687162,688581,688581,689850,689850,691341,691341,712099,712099,717272,717272,719546,719546,720281,720281,725168,725168,731968,731968,732863,732863,747896,747896,751934,751934,753591,753591,757749,757749,760170,760170,760233,760233,761770,761770,769314,769314,778184,778184,780967,780967,781247,781247,791780,791780,792063,792063,798959,798959,804806,804806,806053,806053,810711,810711,813970,813970,8156,8156,834141,834141,836330,836330,842900,842900,843683,843683,846752,846752,848123,848123,848245,848245,850066,850066,851479,851479,853339,853339,854521,854521,859079,859079,859375,859375,861799,861799,86775,86775,868260,868260,876464,876464,878559,878559,880937,880937,888891,888891,891552,891552,893015,893015,896175,896175,897100,897100,901930,901930,905518,905518,906404,906404,913407,913407,925046,925046,929194,929194,93690,93690,937600,937600,951275,951275,955668,955668,957389,957389,96495,96495,971233,971233,972457,972457,976667,976667,980367,980367,980539,980539,988942,988942,99035,99035,994890,994890]],["@trezor/connect-web>@trezor/connect>@trezor/transport",[10733,10733]],["@trezor/connect-web>@trezor/utils",[105122,105122,114422,114422,118452,118452,140895,140895,151988,151988,152458,152458,163960,163960,168562,168562,193114,193114,240990,240990,245471,245471,297908,297908,303251,303251,309599,309599,312634,312634,312898,312898,315922,315922,317668,317668,3283,3283,360391,360391,377702,377702,386474,386474,38717,38717,391697,391697,402625,402625,468313,468313,473116,473116,486057,486057,488143,488143,507929,507929,514914,514914,540608,540608,551151,551151,562303,562303,610477,610477,618189,618189,635766,635766,639474,639474,662552,662552,671958,671958,673885,673885,682727,682727,686691,686691,700160,700160,702946,702946,706191,706191,707446,707446,707804,707804,746311,746311,755685,755685,763770,763770,773861,773861,777833,777833,805328,805328,814213,814213,842779,842779,897150,897150,961652,961652,97101,97101,977779,977779]],["@trezor/connect-web>@trezor/utils>bignumber.js",[549083,549083]],["@zxing/browser",[145953,147414,301448,342264,585117,594168,657902,717209,729074,754576,855256,877446]],["@zxing/library",[102076,104640,105846,10967,118907,130552,131671,135525,13619,137253,147843,148535,157062,161840,162502,165773,173036,177378,177605,181600,182358,1880,192328,200985,204042,211185,214711,217403,220502,222151,225176,226658,226843,231804,245348,245586,256598,265347,267647,281891,283130,283402,290294,290552,292589,30383,305577,30700,312627,313691,318681,322242,326170,330187,33047,331102,342062,344837,344937,348944,350023,350110,353827,35702,358354,36393,364077,366804,367456,37933,382336,38382,384185,389157,391484,395347,398079,398319,403738,410854,413135,414480,420387,426748,429613,447649,448751,448788,452848,454274,467294,470216,475173,476225,480383,48100,4886,490735,491694,495292,511410,512766,51355,517495,520474,524483,533622,543903,545034,550786,5641,567973,568293,576257,579657,58251,595812,599545,602724,604879,605398,606450,608296,618081,618221,628824,628900,633971,633978,636179,638450,639014,643367,643977,659159,66029,670237,674724,689980,690012,693466,696602,696739,701767,702808,70813,7139,715814,717651,720949,723205,726724,731223,731411,73343,734567,739843,744838,754217,762947,764246,770429,77429,781645,795293,805428,805970,809671,810595,812056,812169,826170,845566,84931,849943,853708,862070,863850,865388,873614,879385,881821,887588,887774,888951,895334,902900,907072,923877,935419,935949,939171,943402,946912,959134,96263,964206,966391,972327,978368,980892,981228,992729,993255,993733,99546,996484]],["@zxing/library>ts-custom-error",[325932]],["addons-linter>deepmerge",[239016,239016]],["async-mutex",[1310,34965,34965,553002,563013,906263,946806,983482]],["base32-encode",[334106]],["base32-encode>to-data-view",[265887]],["base64-js",[223159,685590,685590,685590]],["bignumber.js",[60746,60746]],["bitcoin-address-validation",[272909,272909]],["bitcoin-address-validation>bech32",[938807]],["bowser",[598640,598640,598640]],["browserify>concat-stream>typedarray",[528568]],["browserify>has>function-bind",[500185,500185,819495,819495]],["browserify>string_decoder",[242714,938453,938453,938453]],["browserify>url",[558163,558163]],["browserify>url>punycode",[646246,646246]],["browserify>util",[204191,204191,333961,333961,807928,807928]],["browserify>util>is-arguments",[790588,790588]],["browserify>util>is-generator-function",[664264,664264]],["browserify>util>is-typed-array",[242256,242256]],["browserify>util>which-typed-array",[708759,708759]],["browserify>util>which-typed-array>for-each",[541290,541290]],["bs58",[121295,753815]],["bs58>base-x",[772079,908463]],["buffer",[916794,971567,971567,971567]],["buffer>ieee754",[170059,170059,170059,305992]],["chalk",[289568,289568,620047,620047,995050,995050]],["chalk>ansi-styles",[780723,780723]],["chalk>ansi-styles>color-convert",[179422,179422,286427,286427,969867,969867]],["chalk>supports-color",[469146,469146]],["chart.js",[137490,464071]],["chart.js>@kurkle/color",[283251]],["clsx",[92288]],["cockatiel",[144226,229411,229411,286985,286985,324161,324161,342467,350209,380736,380736,496021,496021,50519,50519,507271,507271,519577,519577,576549,606424,606424,670456,671151,690468,690468,755020,755020,791579,791579,821411,826585,826585,897560,906022,974971,991321,991321,999124,999985]],["copy-to-clipboard",[258205]],["copy-to-clipboard>toggle-selection",[876026]],["core-js-pure",[120990,120990,12759,12759,151859,151859,188366,188366,194094,194094,20560,20560,207845,207845,227607,227607,258224,258224,25884,25884,277064,277064,277389,277389,278892,278892,303606,303606,305727,305727,330035,330035,330636,330636,347599,347599,35086,35086,353883,353883,356579,356579,360330,360330,370579,370579,400874,400874,407322,407322,413491,413491,42848,42848,465210,465210,468876,468876,485365,485365,508591,508591,536708,536708,54840,54840,55696,55696,576773,576773,587510,587510,613408,613408,646878,646878,655559,655559,662482,662482,665216,665216,666050,666050,673319,673319,702630,702630,719418,719418,739256,739256,747440,747440,748841,748841,752223,752223,782214,782214,792385,792385,828095,828095,850958,850958,856768,856768,878832,878832,884024,884024,885109,885109,895202,895202,907471,907471,928937,928937,978775,978775,985456,985456]],["cron-parser",[212712,212712,433256,433256,439869,439869,495081,495081,528063,528063]],["crypto-browserify",[554365,554365]],["crypto-browserify>browserify-cipher",[647133,647133]],["crypto-browserify>browserify-cipher>browserify-des",[213314,213314,769094,769094]],["crypto-browserify>browserify-cipher>browserify-des>des.js",[104109,104109,398216,398216,609466,609466,699112,699112,731279,731279,762931,762931]],["crypto-browserify>browserify-cipher>evp_bytestokey",[626238,626238]],["crypto-browserify>browserify-sign",[184715,184715,184715,184715,184715,184715,184715,184715,210639,210639,370063,370063,373124,373124,661841,661841,661841,661841,661841,661841,661841,661841,750771,750771]],["crypto-browserify>browserify-sign>readable-stream",[207368,207368,24961,24961,34862,34862,389274,389274,400143,400143,49634,49634,728536,728536,85840,85840,954630,954630]],["crypto-browserify>browserify-sign>readable-stream>isarray",[828544,828544]],["crypto-browserify>browserify-sign>readable-stream>safe-buffer",[228612,228612]],["crypto-browserify>browserify-sign>readable-stream>string_decoder",[813931,813931]],["crypto-browserify>browserify-sign>readable-stream>string_decoder>safe-buffer",[791641,791641]],["crypto-browserify>create-ecdh",[65084,65084]],["crypto-browserify>create-hmac",[209475,209475,954968,954968]],["crypto-browserify>diffie-hellman",[487876,487876,53365,53365,53365,53365,53365,53365,53365,53365,678158,678158,7702,7702]],["crypto-browserify>diffie-hellman>miller-rabin",[434884,434884]],["crypto-browserify>pbkdf2",[2216,2216,303271,303271,428172,428172,696696,696696,86900,86900,910166,910166]],["crypto-browserify>pbkdf2>create-hash",[205939,205939,396674,396674]],["crypto-browserify>pbkdf2>ripemd160",[652176,652176]],["crypto-browserify>pbkdf2>ripemd160>hash-base",[571210,571210]],["crypto-browserify>public-encrypt",[139006,139006,574303,574303,576758,576758,584160,584160,889634,889634,97677,97677]],["crypto-browserify>public-encrypt>browserify-rsa",[172788,172788]],["crypto-browserify>public-encrypt>parse-asn1",[657421,657421,756021,756021,890535,890535,890535,890535,890535,890535,890535,890535,910026,910026,996481,996481]],["crypto-browserify>public-encrypt>parse-asn1>asn1.js",[208103,208103,42905,42905,502048,502048,540274,540274,542561,542561,561813,561813,597323,597323,600205,600205,61716,61716,728554,728554,8083,8083,853593,853593,933023,933023,964662,964662]],["crypto-browserify>randombytes",[883369,883369]],["crypto-browserify>randomfill",[96103,96103]],["currency-formatter",[160041,160041,187270,187270,758533,758533,758533,758533,758533,758533,888624,888624,888624,888624,888624,888624]],["currency-formatter>accounting",[241927,241927]],["currency-formatter>locale-currency",[789077,789077,802055,802055]],["deep-freeze-strict",[627685,627685]],["dompurify",[88174,88174]],["eslint-plugin-react>array-includes>is-string",[118857]],["eslint-plugin-react>array-includes>math-intrinsics",[439486,439486,608107,608107,662346,662346,742296,742296,779452,779452,877e3,877e3,963442,963442,96533,96533]],["eslint-plugin-react>es-iterator-helpers>has-property-descriptors",[584368,584368]],["eslint-plugin-react>es-iterator-helpers>has-proto>dunder-proto",[826936,826936]],["eslint-plugin-react>hasown",[704149,704149]],["eslint>ajv",[131366,137731,142193,14526,146906,148126,14967,17331,180699,194730,203214,25665,282790,287943,288874,32177,330861,359044,473645,515098,528051,556118,611462,61206,61605,653970,666470,675796,739168,753098,765230,781032,781280,786702,796418,852187,862680,873752,882600,903529,978511,997646]],["eslint>ajv>json-schema-traverse",[376018]],["eslint>fast-deep-equal",[170210,932993,932993]],["eslint>json-stable-stringify-without-jsonify",[959573]],["eth-chainlist",[39576,445016]],["eth-ens-namehash",[558791,558791]],["eth-ens-namehash>idna-uts46-hx",[593891,593891,683712,683712]],["eth-ens-namehash>idna-uts46-hx>punycode",[33245,33245]],["eth-ens-namehash>js-sha3",[227864,227864]],["eth-lattice-keyring",[778701]],["eth-lattice-keyring>@ethereumjs/util",[110708,137578,143792,158480,201653,208236,25076,279095,397318,402447,499832,639721,664526,892270,923318]],["eth-lattice-keyring>@ethereumjs/util>@ethereumjs/rlp",[487263]],["eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography",[635567,719201,905742]],["eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/curves",[105354,381439,438817,620416,808364,837643,949148]],["eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/hashes",[10417,22861,233921,35068,381699,561423,6161,761144]],["eth-lattice-keyring>@ethereumjs/util>micro-ftch",[203639,203639]],["eth-lattice-keyring>gridplus-sdk",[255181]],["eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp",[514853,802378]],["eth-lattice-keyring>gridplus-sdk>aes-js",[972828,972828]],["eth-lattice-keyring>gridplus-sdk>bignumber.js",[602169,766891]],["eth-lattice-keyring>gridplus-sdk>bs58check",[401492,745787]],["eth-lattice-keyring>gridplus-sdk>cbor",[155756,173863,18685,374457,529311,559008,637552,641797,643569,744141,813859,83725,911305]],["eth-lattice-keyring>gridplus-sdk>cbor-bigdecimal",[510225]],["eth-lattice-keyring>gridplus-sdk>cbor>nofilter",[4664]],["eth-lattice-keyring>gridplus-sdk>crc-32",[534918]],["eth-lattice-keyring>gridplus-sdk>ox",[23680,359095,400540,406022,416962,469001,767363,934820,962690]],["eth-lattice-keyring>gridplus-sdk>secp256k1",[333376,647984,842388]],["eth-lattice-keyring>gridplus-sdk>zod",[122824,123519,131745,135902,148498,151409,152355,164383,186231,206045,213512,218334,219041,220777,234738,255925,256185,270677,283893,29061,305624,313598,326979,340041,361897,381722,397710,409992,439474,445930,46422,464937,466311,493213,495928,509583,51189,529381,561378,57073,583448,600717,604198,633546,635680,656101,658838,681846,6890,713841,724846,729371,760751,782865,792282,799030,809807,812732,820680,835757,856990,860395,86198,876072,90083,904697,922653,927565,929848,935893,93734,944060,958963,979865]],["eth-lattice-keyring>rlp",[513680]],["eth-method-registry",[243922,243922,243922,243922,243922,243922,432999,432999,852032,852032,852032,852032,852032,852032]],["eth-method-registry>@metamask/ethjs-contract",[149490,149490,171151,171151,814390,814390]],["eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter",[9590,9590]],["eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util",[820764,820764]],["eth-method-registry>@metamask/ethjs-contract>ethjs-abi",[43470,43470,452332,452332]],["eth-method-registry>@metamask/ethjs-contract>ethjs-abi>number-to-bn",[545984,545984]],["eth-method-registry>@metamask/ethjs-query",[883348,883348]],["eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format",[407843,407843]],["eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>ethjs-schema",[613122,613122,613122,613122,613122,613122]],["eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>is-hex-prefixed",[433028,433028]],["eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix",[341529,341529]],["eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc",[482131,482131]],["eth-method-registry>@metamask/ethjs-query>promise-to-callback",[587668,587668]],["eth-method-registry>@metamask/ethjs-query>promise-to-callback>is-fn",[754084,754084]],["eth-method-registry>@metamask/ethjs-query>promise-to-callback>set-immediate-shim",[408243,408243]],["ethereum-cryptography",[208098,945639]],["ethereumjs-util",[260161,260161,362242,362242,500520,500520,512477,512477,527514,527514,567856,567856,57111,57111,7201,7201,756854,756854,801305,801305,822020,822020,850844,850844]],["ethereumjs-util>bn.js",[461532,461532]],["ethereumjs-util>create-hash",[765236,765236,825936,825936]],["ethereumjs-util>create-hash>cipher-base",[372024,372024]],["ethereumjs-util>create-hash>md5.js",[689828,689828]],["ethereumjs-util>create-hash>md5.js>hash-base",[368942,368942]],["ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",[138273,138273,160302,160302,271873,271873,295891,295891,377502,377502,388078,388078,555963,555963,556543,556543,614793,614793,646997,646997,700460,700460,703581,703581,708830,708830,938792,938792,973505,973505]],["ethereumjs-util>create-hash>ripemd160",[777899,777899]],["ethereumjs-util>create-hash>ripemd160>hash-base",[346203,346203]],["ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",[172368,172368,379370,379370,409345,409345,43604,43604,438430,438430,462220,462220,493940,493940,516851,516851,551538,551538,567434,567434,605971,605971,682597,682597,816462,816462,952405,952405,972431,972431]],["ethereumjs-util>ethereum-cryptography",[110404,110404,496988,496988,894002,894002,95453,95453]],["ethereumjs-util>ethereum-cryptography>browserify-aes",[104667,104667,120362,120362,160855,160855,166623,166623,194324,194324,328328,328328,425693,425693,496770,496770,564143,564143,564395,564395,589543,589543,589543,589543,589543,589543,589543,589543,626996,626996,652708,652708,766738,766738,787881,787881,825934,825934,958896,958896]],["ethereumjs-util>ethereum-cryptography>browserify-aes>buffer-xor",[64679,64679]],["ethereumjs-util>ethereum-cryptography>bs58check",[283092,283092,767265,767265]],["ethereumjs-util>ethereum-cryptography>bs58check>bs58",[411447,411447]],["ethereumjs-util>ethereum-cryptography>keccak",[188166,188166,2560,2560,289124,289124,399137,399137,599140,599140,883926,883926]],["ethereumjs-util>ethereum-cryptography>keccak>readable-stream",[141293,141293,234258,234258,236194,236194,261453,261453,364924,364924,43819,43819,527114,527114,535004,535004,611239,611239,618502,618502,7176,7176,722326,722326,731291,731291,751113,751113,972964,972964]],["ethereumjs-util>ethereum-cryptography>secp256k1",[524053,524053,634699,634699,667525,667525]],["ethereumjs-util>rlp",[724840,724840]],["ethers",[164293,164293,201248,523321,631426,964052]],["ethers>@ethersproject/abstract-provider",[211701,211701,445174,445174]],["ethers>@ethersproject/abstract-signer",[230706,230706,654687,654687]],["ethers>@ethersproject/address",[317262,317262,998381,998381]],["ethers>@ethersproject/base64",[384786,384786,893747,893747]],["ethers>@ethersproject/basex",[873202,873202]],["ethers>@ethersproject/constants",[101866,101866,490622,714372,738178,738178,885644,885644]],["ethers>@ethersproject/hash",[130488,130488,248528,248528,410943,410943,412718,412718,578030,578030,580813,580813,79978,79978,886384,886384,974082,974082]],["ethers>@ethersproject/json-wallets",[156057,156057,37426,37426,459908,459908,580226,580226,611720,611720,749805,749805]],["ethers>@ethersproject/json-wallets>aes-js",[302968,302968]],["ethers>@ethersproject/json-wallets>scrypt-js",[305583,305583]],["ethers>@ethersproject/keccak256",[453002,453002]],["ethers>@ethersproject/logger",[329882,329882,697489,697489]],["ethers>@ethersproject/networks",[332071,332071,484058,484058]],["ethers>@ethersproject/pbkdf2",[25643,25643]],["ethers>@ethersproject/properties",[338777,338777,830724,830724]],["ethers>@ethersproject/random",[247023,247023,401282,401282,862331,862331,942107,942107]],["ethers>@ethersproject/rlp",[603988,603988,820707,820707]],["ethers>@ethersproject/sha2",[116409,116409,323064,323064,451058,451058,805929,805929]],["ethers>@ethersproject/sha2>hash.js",[132485,132485,179206,179206,283376,283376,387824,387824,438047,438047,439794,439794,466610,466610,567879,567879,57764,57764,80193,80193,88054,88054,970813,970813]],["ethers>@ethersproject/signing-key",[234380,234380,255468,255468,629441,629441]],["ethers>@ethersproject/solidity",[743720,743720,911877,911877]],["ethers>@ethersproject/strings",[340519,340519,465085,465085,795768,795768,855040,855040,936523,936523]],["ethers>@ethersproject/units",[315087,315087,91170,91170]],["ethers>@ethersproject/wallet",[309353,309353,923412,923412]],["ethers>@ethersproject/web",[254712,254712,55410,55410,699423,699423]],["ethers>@ethersproject/wordlists",[400906,400906,760345,760345,792456,792456,995917,995917]],["extension-port-stream",[283079,283079,283079,48050,48050,48050,770467,770467,770467,803058,803058,803058]],["fast-json-patch",[191787,343337,533298,767584]],["fast-json-stable-stringify",[323260,323260]],["fuse.js",[863985]],["gulp>vinyl-fs>object.assign",[302547,302547,461066,461066,724264,983725]],["he",[106115]],["https-browserify",[965339,965339]],["human-standard-token-abi",[944211,944211]],["humanize-duration",[477355]],["immer",[115691,115691,115691,319222,319222,92365,92365,950515]],["ip-regex",[357910,357910]],["jest-canvas-mock>moo-color>color-name",[469804,469804]],["jsdom>form-data>es-set-tostringtag>has-tostringtag",[197300,197300]],["lightweight-charts",[194859]],["lightweight-charts>fancy-canvas",[128943,243582,418818,443436,631652]],["localforage",[544654,544654]],["lodash",[104045,104045,108041,108041,109528,109528,112437,112437,11616,11616,122368,122368,127750,127750,133527,133527,135471,135471,136471,136471,137234,137234,138115,138115,145831,145831,14786,14786,15361,15361,164325,164325,166136,166136,168474,168474,169811,169811,170906,170906,174506,174506,180624,184084,184084,186049,186049,188312,188312,197614,197614,202665,202665,21937,21937,223116,223116,225953,225953,236872,236872,23879,23879,241297,241297,241421,241421,245780,245780,247835,247835,250846,250846,254517,254517,255991,255991,257776,257776,271916,271916,272175,272175,276617,276617,281657,281657,284431,284431,286210,286210,289577,289577,29025,29025,295215,295215,296033,298730,298730,305256,308731,308731,310326,310326,311588,311588,319805,319805,323304,323304,323904,328821,328821,33586,33586,339886,339886,358633,358633,361178,361178,366931,366931,369940,369940,376972,376972,37766,37766,378768,378768,380279,383565,383565,386042,386042,394939,394939,422966,422966,423,423,428926,428926,433702,433702,433752,433752,433789,433789,436820,438993,438993,440477,440477,447201,456895,456895,456895,458916,459722,459722,461663,461663,463851,463851,471378,471378,476031,476031,481585,481585,481803,481803,485063,485063,487091,487091,497208,498256,498256,500610,500610,502503,502503,504273,504273,510185,510185,517141,517141,522306,522306,524621,524621,529090,533439,553939,553939,556600,556600,55750,55750,558909,558909,563252,563252,564009,564009,576629,576629,580484,580484,58095,58095,586053,586053,605271,605271,616685,616685,618431,618431,623755,623755,631293,631293,631328,631328,633411,633411,641229,641229,647294,647294,653160,653160,653552,653552,655367,655676,655676,658647,658647,665697,665697,667537,667537,668205,668205,671945,671945,68055,68055,685209,685209,685544,685544,690007,690007,695038,695038,699180,699180,700365,700365,702879,702879,704597,704597,709499,709499,722604,722604,726927,726927,72890,72890,72999,72999,733395,733395,744305,744305,758387,758387,759045,760824,760824,7640,769956,771366,771366,79662,799648,799648,807822,807822,80830,810914,810914,813523,813523,821432,821432,822539,822539,826448,826448,830728,830728,83454,834725,834725,835792,835792,837054,837054,844065,844065,845341,851077,851077,859340,861862,861862,868080,868080,871429,871429,871614,871614,891013,891013,895615,910005,910005,91158,91158,919816,919816,920277,920277,922462,927445,927445,928442,928442,928863,928863,933290,933290,935487,938312,939132,939132,944880,944880,945343,945343,953568,953568,964653,968001,978696,978696,981561,982070,983297,995922,995922,997225,997225,998084,998084]],["loglevel",[171097,171097,171097,681050]],["lottie-web",[908216]],["luxon",[122552,122552,122552,138292,138292,138292,14631,14631,14631,208570,210164,210164,210164,232712,232712,232712,263496,283707,305921,305921,316244,317588,317588,317588,347022,352134,360569,392134,419186,442525,446655,451798,493104,512986,512986,512986,525037,597054,597054,597054,600473,600473,600473,603476,603476,603476,640846,686333,686333,686333,695358,695358,695358,731318,750628,750628,750628,774810,774810,774810,775158,775158,775158,78565,78565,78565,794204,821213,831022,835060,835060,835060,835203,835203,835203,85013,868766,868766,868766,891728,891728,891728,912276,912276,912276,925752,938102,948972,948972,948972,951906,961520,984381,984381,984381,991213,991213,991213]],["mocha>ms",[134281,134281,254660]],["mocha>yargs-unparser>is-plain-obj",[119552]],["mockttp>@httptoolkit/subscriptions-transport-ws>symbol-observable",[795713,795713,992594,992594]],["mockttp>express>qs",[169116,169116,315677,315677,556189,556189,717698,717698,80776,80776]],["mockttp>express>safe-buffer",[495670,677197,677197,677197]],["nanoid",[531589,531589]],["nock>debug",[465273,465273,617648,617648,683075,952574]],["openai>abort-controller",[113795,581808,581808,581808]],["path-browserify",[386023]],["pify",[256723]],["process",[208835,208835,378326,378326,378326]],["prop-types",[557789,557789,787332,787332,991606,991606]],["psl",[153782,153782]],["pumpify>inherits",[509847,985738,985738,985738]],["punycode",[478759,478759]],["qrcode-generator",[929736]],["qrcode.react",[174799]],["react",[23591,23591,276592,336620,860012,860012]],["react-beautiful-dnd",[556653]],["react-beautiful-dnd>css-box-model",[200635]],["react-beautiful-dnd>css-box-model>tiny-invariant",[387325]],["react-beautiful-dnd>memoize-one",[62147]],["react-beautiful-dnd>raf-schd",[930197]],["react-beautiful-dnd>use-memo-one",[214897]],["react-chartjs-2",[173127]],["react-compiler-runtime",[303280,303280]],["react-devtools-core",[38588]],["react-dom",[1159,1159,879505,879505]],["react-dom>scheduler",[285234,285234,707611,707611]],["react-focus-lock",[124676,171702,304417,59129,679770,921718,977522]],["react-focus-lock>focus-lock",[130680,135719,153956,176839,296640,341413,360116,365187,367975,417071,578063,653567,664882,697295,716734,750025,780392,826111,837793,906089,997295]],["react-focus-lock>react-clientside-effect",[132165]],["react-focus-lock>use-callback-ref",[334392,415976,989992]],["react-focus-lock>use-sidecar",[886509]],["react-hot-toast",[638891]],["react-hot-toast>goober",[656304]],["react-idle-timer",[282382]],["react-markdown",[66117,909295,966680,973839]],["react-markdown>comma-separated-tokens",[142527]],["react-markdown>property-information",[109794,136933,222985,287738,293780,403493,403939,489890,625821,651420,709064,709064,709064,709064,709064,713726,815182,887583,897558,918358,927244,95526,993601]],["react-markdown>react-is",[287916,848688]],["react-markdown>remark-parse",[11815]],["react-markdown>remark-parse>mdast-util-from-markdown",[284865,839200]],["react-markdown>remark-parse>mdast-util-from-markdown>mdast-util-to-string",[350350]],["react-markdown>remark-parse>mdast-util-from-markdown>micromark",[115271,122266,129245,13320,144508,147528,156518,158366,160413,166022,167141,191006,236757,255771,300725,32735,345752,350100,367096,369e3,386920,387601,415431,429198,432225,434122,465465,472696,50096,50571,505862,513233,517015,542008,55976,588891,596678,619258,619473,626280,646592,667890,677964,678462,68733,703367,725077,749567,754388,757024,763528,779357,784573,804392,835101,852994,857909,861137,877216,89161,913200,91494,920522,935714,942864,961766,970745,971206,971933,993242,995783]],["react-markdown>remark-rehype",[607537]],["react-markdown>remark-rehype>mdast-util-to-hast",[127017,130453,157984,191532,195532,215432,235812,247600,281038,317058,361014,370310,467157,532167,540226,542795,55227,56788,571047,577504,645553,646177,658367,694268,695298,712147,866355,868166,943308,964922]],["react-markdown>remark-rehype>mdast-util-to-hast>mdurl",[590387]],["react-markdown>remark-rehype>mdast-util-to-hast>unist-builder",[7900]],["react-markdown>remark-rehype>mdast-util-to-hast>unist-util-generated",[602721]],["react-markdown>remark-rehype>mdast-util-to-hast>unist-util-position",[679975]],["react-markdown>space-separated-tokens",[127668]],["react-markdown>style-to-object",[230916]],["react-markdown>style-to-object>inline-style-parser",[395196]],["react-markdown>unified",[286837]],["react-markdown>unified>bail",[370001]],["react-markdown>unified>extend",[203585]],["react-markdown>unified>is-buffer",[287094]],["react-markdown>unified>trough",[652804]],["react-markdown>unist-util-visit",[498679]],["react-markdown>unist-util-visit>unist-util-is",[498559]],["react-markdown>unist-util-visit>unist-util-visit-parents",[776279,949742]],["react-markdown>vfile",[461651,621468]],["react-markdown>vfile>is-buffer",[444576]],["react-markdown>vfile>replace-ext",[68215]],["react-markdown>vfile>unist-util-stringify-position",[296107]],["react-markdown>vfile>vfile-message",[166301]],["react-popper",[646948,897908]],["react-popper>react-fast-compare",[101875]],["react-redux",[176578,176578,23106,23106,235140,235140,291331,291331,314701,314701,369148,421859,421859,470995,470995,473584,473584,48084,48084,525300,525300,52906,52906,5637,5637,62629,62629,684723,684723,701844,721075,721075,745865,745865,772362,772362,872169,872169,956152,956152]],["react-redux>hoist-non-react-statics",[339394,339394]],["react-redux>hoist-non-react-statics>react-is",[113132,113132,337392,337392]],["react-redux>react-is",[457869,457869,924865,924865]],["react-router-dom",[994112]],["react-router-dom>@remix-run/router",[682660]],["react-router-dom>react-router",[107495]],["react-simple-file-input",[742431]],["react-syntax-highlighter>refractor>parse-entities",[512920]],["react-tippy",[971180]],["react-tippy>popper.js",[975427]],["react-toggle-button",[490926]],["react-transition-group",[131350,284003,639130,829556,84954,936137,996331]],["react-transition-group>dom-helpers",[475843,815834,819347]],["react>object-assign",[858524,858524]],["readable-stream",[153089,181536,194535,194535,194535,22250,252334,252334,252334,252859,252859,252859,259290,261069,294855,294855,294855,338568,338568,338568,425493,425934,425934,425934,443305,44565,448492,448492,448492,449219,449219,449219,452547,452547,452547,464812,485697,494639,548444,568577,586805,588847,588847,588847,602416,613318,613318,613318,631222,631222,631222,632914,632914,632914,68266,68266,68266,683024,699960,699960,699960,703102,708566,708566,708566,730636,73701,754857,761124,761124,761124,769584,769584,769584,770587,777352,777352,777352,809090,809090,809090,816718,816718,816718,827525,827525,827525,831171,831171,831171,837911,868387,868387,868387,895890,900457,900457,900457,930607,978529]],["readable-stream-2>core-util-is",[711510,711510]],["readable-stream-2>process-nextick-args",[102393,102393]],["redux",[60416,60416]],["redux-thunk",[488961,488961]],["remote-redux-devtools",[120443,120443,398548,398548,417589,417589,712044,712044]],["remote-redux-devtools>jsan",[151109,151109,341696,341696,425053,425053,427767,427767,965556,965556]],["remote-redux-devtools>redux-devtools-core",[172251,172251,650496,650496,778624,778624]],["remote-redux-devtools>redux-devtools-core>get-params",[31908,31908]],["remote-redux-devtools>redux-devtools-core>nanoid",[659269,659269]],["remote-redux-devtools>redux-devtools-core>remotedev-serialize",[205061,205061,274996,274996,464435,464435]],["remote-redux-devtools>redux-devtools-instrument",[217867,217867]],["remote-redux-devtools>rn-host-detect",[653154,653154]],["remote-redux-devtools>socketcluster-client",[280959,280959,46337,46337,672552,672552,701487,701487,844684,844684,94862,94862,963198,963198]],["remote-redux-devtools>socketcluster-client>buffer",[627940,627940]],["remote-redux-devtools>socketcluster-client>clone",[430638,430638]],["remote-redux-devtools>socketcluster-client>component-emitter",[372675,372675]],["remote-redux-devtools>socketcluster-client>linked-list",[262580,262580,759067,759067]],["remote-redux-devtools>socketcluster-client>querystring",[29941,29941,554315,554315,676013,676013]],["remote-redux-devtools>socketcluster-client>sc-channel",[891709,891709]],["remote-redux-devtools>socketcluster-client>sc-errors",[520309,520309,601342,601342]],["remote-redux-devtools>socketcluster-client>sc-formatter",[38652,38652]],["remote-redux-devtools>socketcluster-client>uuid",[107216,107216,192925,192925,648025,648025,905155,905155,998316,998316]],["reselect",[491616,491616]],["sass-embedded>varint",[16253,217115,357733,587107]],["semver",[102998,102998,130698,130698,159585,159585,212669,212669,213832,213832,223550,223550,248391,248391,250377,250377,282429,282429,297891,297891,300736,300736,315317,315317,343546,343546,348400,348400,36974,36974,400386,400386,458014,458014,467260,467260,469878,469878,481665,481665,526710,526710,563167,563167,568925,568925,605657,605657,606005,606005,618315,618315,630655,630655,645178,645178,673188,673188,685987,685987,692636,692636,712800,712800,74207,74207,783212,783212,801015,801015,829373,829373,843432,843432,846768,846768,869544,869544,872547,872547,884499,884499,908975,908975,9090,9090,917098,917098,980803,980803]],["stream-browserify",[594950,594950]],["stream-browserify>readable-stream",[109279,109279,305685,305685,311802,311802,312964,312964,500040,500040,522422,522422,525412,525412,52799,52799,588091,588091,69755,69755,699075,699075,719265,719265,794353,794353,836603,836603]],["stream-http",[162465,162465,482901,482901,683392,683392,99248,99248]],["stream-http>builtin-status-codes",[535522,535522]],["stream-http>readable-stream",[113306,113306,184437,184437,189546,189546,193050,193050,201511,201511,331753,331753,408375,408375,410939,410939,493781,493781,512565,512565,626160,626160,665564,665564,790745,790745,874757,874757,930722,930722]],["string.prototype.matchall>call-bind",[567943,567943,705035,705035]],["string.prototype.matchall>call-bind>call-bind-apply-helpers",[26796,26796,635101,635101,647304,647304,653002,653002,870079,870079,873110,873110]],["string.prototype.matchall>call-bind>es-define-property",[861807,861807]],["string.prototype.matchall>call-bind>set-function-length",[874449,874449]],["string.prototype.matchall>call-bound",[727164,727164]],["string.prototype.matchall>define-properties",[919684,919684]],["string.prototype.matchall>define-properties>define-data-property",[562089,562089]],["string.prototype.matchall>es-abstract>array-buffer-byte-length",[664167]],["string.prototype.matchall>es-abstract>available-typed-arrays",[94121,94121]],["string.prototype.matchall>es-abstract>es-to-primitive>is-symbol",[613340]],["string.prototype.matchall>es-abstract>get-proto",[193624,193624,622892,622892,744104,744104]],["string.prototype.matchall>es-abstract>is-array-buffer",[78062]],["string.prototype.matchall>es-abstract>is-callable",[76176,76176]],["string.prototype.matchall>es-abstract>is-regex",[969219,969219]],["string.prototype.matchall>es-abstract>is-set",[275840]],["string.prototype.matchall>es-abstract>is-shared-array-buffer",[610558]],["string.prototype.matchall>es-abstract>object-inspect",[427195,427195]],["string.prototype.matchall>es-abstract>safe-regex-test",[92025,92025]],["string.prototype.matchall>es-abstract>stop-iteration-iterator",[181996]],["string.prototype.matchall>es-abstract>typed-array-buffer",[813364,813364]],["string.prototype.matchall>es-abstract>typed-array-length>possible-typed-array-names",[267058,267058]],["string.prototype.matchall>es-abstract>unbox-primitive>has-bigints",[733838]],["string.prototype.matchall>es-errors",[331300,331300,382711,382711,444699,444699,492449,492449,529354,529354,592005,592005,701026,701026]],["string.prototype.matchall>es-object-atoms",[588684,588684]],["string.prototype.matchall>get-intrinsic",[933,933]],["string.prototype.matchall>get-intrinsic>async-function",[779198,779198]],["string.prototype.matchall>get-intrinsic>async-generator-function",[998538,998538]],["string.prototype.matchall>get-intrinsic>generator-function",[735833,735833]],["string.prototype.matchall>gopd",[377379,377379,768613,768613]],["string.prototype.matchall>has-symbols",[160055,160055,694053,694053]],["string.prototype.matchall>internal-slot",[228431]],["string.prototype.matchall>regexp.prototype.flags",[167986,330037,739552,85627]],["string.prototype.matchall>set-function-name",[81814]],["string.prototype.matchall>set-function-name>functions-have-names",[645102]],["string.prototype.matchall>side-channel",[800360,800360]],["string.prototype.matchall>side-channel>side-channel-list",[592227,592227]],["string.prototype.matchall>side-channel>side-channel-map",[344459,344459]],["string.prototype.matchall>side-channel>side-channel-weakmap",[176959,176959]],["terser>source-map-support>buffer-from",[539690]],["ts-mixer",[96481,96481]],["tslib",[92295,92295]],["tweetnacl",[990115,990115]],["unicode-confusables",[531743,531743,531743,531743,531743,540270]],["uri-js",[925475,925475]],["uuid",[106555,106555,112471,112471,123628,123628,16478,16478,299896,299896,301170,301170,38401,38401,485791,485791,516074,516074,585925,585925,620897,620897,621501,621501,659008,659008,739070,739070,761366,761366,834669,834669,849401,849401,921766,921766,923533,923533,951545,951545]],["viem",[109283,133439,170754,176951,17781,181165,181839,181970,203852,242291,248702,284942,288047,294566,299752,348256,367906,380497,387686,392145,46780,476054,494336,499306,538319,541207,547451,583075,586426,598064,60105,602791,626919,640941,665693,697501,741399,745694,753791,778539,826861,842576,886900,89410,897539,906341,91048,922438,950129,953083,95580,991716,992227]],["viem>abitype",[189896,248061,26408,334360,364861,437022,663035,689160,748850,856641,861977,87327,948657]],["wait-on>axios",[132519,138428,17975,183401,196434,235935,247769,2556,260798,269126,272145,279845,302569,307443,329788,337049,337521,347359,35829,365459,374258,405386,423956,435085,443032,447923,451360,456048,47793,516138,527358,561903,573038,577145,621558,627273,652455,653978,685727,686914,727629,732582,736027,738874,743479,757315,771027,776451,793963,933203]],["wait-on>rxjs",[181684,246511,284905,288855,330355,333101,352984,386675,455485,473262,526292,534931,545828,598869,668048,733160,861952,924791]],["watchify>xtend",[445334,445334]],["web-vitals",[811870]],["webextension-polyfill",[392248,413279,413279,413279]],["webpack-cli>fastest-levenshtein",[776723]],["webpack>events",[780063,780063,780063,998088]]],e.unenforceable=[121455,20168,20168,20168,20168,20168,20168,20168,201783,201783,201783,201783,201783,236305,236305,236305,245672,245672,245672,245672,245672,245672,245672,245672,337994,337994,337994,337994,337994,337994,337994,337994,343966,343966,343966,343966,343966,343966,343966,343966,371173,383972,383972,383972,383972,383972,383972,383972,383972,400495,400495,400495,400495,400495,400495,400495,400495,439181,440830,440830,440830,440830,440830,440830,446179,490513,490513,490513,490513,490513,490513,490513,490513,492752,531854,531854,531854,531854,531854,531854,531854,531854,588776,588776,588776,588776,588776,588776,588776,588776,619200,623661,623661,623661,623661,623661,623661,623661,623661,638581,638581,638581,638581,638581,638581,638581,638581,639266,639266,639266,639266,639266,639266,639266,639266,667544,667544,667544,667544,667544,667544,667544,667544,685066,685066,685066,685066,685066,685066,685066,685066,68724,68724,68724,68724,68724,68724,705444,715050,715050,715050,715050,715050,715050,715050,715050,733258,733258,733258,733258,733258,733258,733258,733258,744643,744643,744643,744643,744643,744643,744643,744643,74754,762634,762634,762634,762634,762634,762634,762634,762634,792981,792981,792981,792981,792981,792981,792981,792981,794832,794832,794832,801874,801874,801874,833028,901409,901409,901409,901409,901409,901409,901409,901409,902731,902731,902731,902731,902731,950514,950514,950514,950514,950514,950514,950514,960548,960548,960548,960548,960548,960548,980564,980564,980564,980564,980564,980564,980564,980564,999154,999154,999154],e.ctxm=[],e.kch=[1054,110,1105,1290,1300,1309,133,1331,1391,1491,1507,1522,1523,166,1684,1728,1768,1791,1818,1826,185,1863,1864,1887,2118,2160,2186,2189,2213,2215,229,2430,2445,2449,2514,2532,2584,2638,2664,2668,2669,2710,2721,2747,2756,2776,283,285,2962,3043,3139,3186,3211,3262,3366,3375,338,339,343,3602,3740,3785,3809,3885,3931,3956,4016,4052,407,418,4243,425,427,4274,4294,4307,4377,4520,4549,4570,4579,4593,46,461,4629,463,4631,4634,4664,4753,4818,483,4966,5087,5098,5104,5151,5175,5250,5297,5407,5458,5616,5657,5671,5703,5762,5796,5819,5864,5964,6023,6053,6115,614,6141,6209,629,6336,6358,6401,6491,6556,659,6622,6649,6660,670,6802,6906,6956,7064,7091,7145,7178,7193,7219,7344,7416,7449,7547,7614,7622,7643,7651,7755,7778,7899,7962,7980,7998,8015,8034,8063,8093,8231,8264,8364,8427,8452,8528,8650,8734,8743,8789,8792,8811,887,8935,8942,8994,900,9038,904,9060,9121,9165,9232,9277,9281,9307,9313,9354,937,9510,9674,9689,9737,9807,9828,9861,9949,9957],e.externals={},e.options={lockdown:{consoleTaming:"unsafe",errorTaming:"unsafe",errorTrapping:"none",localeTaming:"unsafe",overrideTaming:"severe",reporting:"none",stackFiltering:"verbose"},scuttleGlobalThis:{enabled:!1,exceptions:["webpackChunk"]}},e.policy={resources:{"@babel/runtime":{globals:{regeneratorRuntime:"write"}},"@emotion/react":{globals:{HTMLElement:!0,"document.querySelector":!0},packages:{"@babel/runtime":!0,"@emotion/react>@emotion/cache":!0,"@emotion/react>@emotion/serialize":!0,"@emotion/react>@emotion/use-insertion-effect-with-fallbacks":!0,"@emotion/react>@emotion/utils":!0,"@emotion/react>@emotion/weak-memoize":!0,react:!0,"react-redux>hoist-non-react-statics":!0}},"@emotion/react>@emotion/cache":{globals:{"document.head":!0,"document.querySelectorAll":!0},packages:{"@emotion/react>@emotion/cache>@emotion/memoize":!0,"@emotion/react>@emotion/cache>@emotion/sheet":!0,"@emotion/react>@emotion/cache>stylis":!0,"@emotion/react>@emotion/weak-memoize":!0}},"@emotion/react>@emotion/cache>@emotion/sheet":{globals:{"document.createElement":!0,"document.createTextNode":!0,"document.styleSheets":!0}},"@emotion/react>@emotion/serialize":{packages:{"@emotion/react>@emotion/cache>@emotion/memoize":!0,"@emotion/react>@emotion/serialize>@emotion/hash":!0,"@emotion/react>@emotion/serialize>@emotion/unitless":!0}},"@emotion/react>@emotion/use-insertion-effect-with-fallbacks":{packages:{react:!0}},"@emotion/styled":{packages:{"@babel/runtime":!0,"@emotion/react":!0,"@emotion/react>@emotion/serialize":!0,"@emotion/react>@emotion/use-insertion-effect-with-fallbacks":!0,"@emotion/react>@emotion/utils":!0,"@emotion/styled>@emotion/is-prop-valid":!0,react:!0}},"@emotion/styled>@emotion/is-prop-valid":{packages:{"@emotion/react>@emotion/cache>@emotion/memoize":!0}},"@ensdomains/content-hash":{globals:{"Buffer.from":!0,"console.warn":!0},packages:{"@ensdomains/content-hash>cids":!0,"@ensdomains/content-hash>js-base64":!0,"@ensdomains/content-hash>multicodec":!0,"@ensdomains/content-hash>multihashes":!0,"@ensdomains/content-hash>multihashes>buffer":!0}},"@ensdomains/content-hash>cids":{packages:{"@ensdomains/content-hash>cids>multibase":!0,"@ensdomains/content-hash>cids>multihashes":!0,"@ensdomains/content-hash>cids>uint8arrays":!0,"@ensdomains/content-hash>multicodec":!0}},"@ensdomains/content-hash>cids>multibase":{globals:{TextDecoder:!0,TextEncoder:!0},packages:{"@ensdomains/content-hash>cids>multibase>@multiformats/base-x":!0}},"@ensdomains/content-hash>cids>multihashes":{packages:{"@ensdomains/content-hash>cids>multibase":!0,"@ensdomains/content-hash>cids>multihashes>uint8arrays":!0,"@ensdomains/content-hash>cids>multihashes>varint":!0}},"@ensdomains/content-hash>cids>multihashes>uint8arrays":{globals:{TextDecoder:!0,TextEncoder:!0},packages:{"@ensdomains/content-hash>cids>multibase":!0}},"@ensdomains/content-hash>cids>uint8arrays":{globals:{TextDecoder:!0},packages:{"@ensdomains/content-hash>cids>multibase":!0}},"@ensdomains/content-hash>js-base64":{globals:{Base64:"write",Buffer:!0,TextDecoder:!0,TextEncoder:!0,atob:!0,btoa:!0,define:!0},packages:{buffer:!0}},"@ensdomains/content-hash>multicodec":{packages:{"@ensdomains/content-hash>multicodec>uint8arrays":!0,"sass-embedded>varint":!0}},"@ensdomains/content-hash>multicodec>uint8arrays":{globals:{Buffer:!0,TextDecoder:!0,TextEncoder:!0},packages:{"@metamask/assets-controllers>multiformats":!0}},"@ensdomains/content-hash>multihashes":{packages:{"@ensdomains/content-hash>multihashes>buffer":!0,"@ensdomains/content-hash>multihashes>multibase":!0,"@ensdomains/content-hash>multihashes>varint":!0,"@ensdomains/content-hash>multihashes>web-encoding":!0}},"@ensdomains/content-hash>multihashes>buffer":{globals:{console:!0},packages:{"base64-js":!0,"buffer>ieee754":!0}},"@ensdomains/content-hash>multihashes>multibase":{packages:{"@ensdomains/content-hash>multihashes>buffer":!0,"@ensdomains/content-hash>multihashes>multibase>base-x":!0,"@ensdomains/content-hash>multihashes>web-encoding":!0}},"@ensdomains/content-hash>multihashes>multibase>base-x":{packages:{"mockttp>express>safe-buffer":!0}},"@ensdomains/content-hash>multihashes>web-encoding":{globals:{TextDecoder:!0,TextEncoder:!0},packages:{"browserify>util":!0}},"@ethereumjs/tx":{packages:{"@ethereumjs/tx>@ethereumjs/common":!0,"@ethereumjs/tx>@ethereumjs/rlp":!0,"@ethereumjs/tx>@ethereumjs/util":!0,"@ethereumjs/tx>ethereum-cryptography":!0}},"@ethereumjs/tx>@ethereumjs/common":{packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"webpack>events":!0}},"@ethereumjs/tx>@ethereumjs/rlp":{globals:{TextEncoder:!0}},"@ethereumjs/tx>@ethereumjs/util":{globals:{"console.warn":!0,fetch:!0},packages:{"@ethereumjs/tx>@ethereumjs/rlp":!0,"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography":!0,"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/curves":!0,"@ethereumjs/tx>ethereum-cryptography>@noble/curves":!0,"webpack>events":!0}},"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/curves":!0,"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/curves":{globals:{TextEncoder:!0},packages:{"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@ethereumjs/tx>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@ethereumjs/tx>ethereum-cryptography>@noble/hashes":!0}},"@ethereumjs/tx>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0}},"@ethersproject/abi":{globals:{"console.log":!0},packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/hash":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/strings":!0}},"@ethersproject/bignumber":{packages:{"@ethersproject/bytes":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/logger":!0}},"@ethersproject/bytes":{packages:{"ethers>@ethersproject/logger":!0}},"@ethersproject/contracts":{globals:{setTimeout:!0},packages:{"@ethersproject/abi":!0,"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/abstract-provider":!0,"ethers>@ethersproject/abstract-signer":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0}},"@ethersproject/hdnode":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/basex":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/pbkdf2":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/sha2":!0,"ethers>@ethersproject/signing-key":!0,"ethers>@ethersproject/strings":!0,"ethers>@ethersproject/wordlists":!0}},"@ethersproject/providers":{globals:{WebSocket:!0,clearInterval:!0,clearTimeout:!0,"console.log":!0,"console.warn":!0,setInterval:!0,setTimeout:!0},packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"@ethersproject/providers>bech32":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/abstract-provider":!0,"ethers>@ethersproject/abstract-signer":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/base64":!0,"ethers>@ethersproject/basex":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/hash":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/networks":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/random":!0,"ethers>@ethersproject/sha2":!0,"ethers>@ethersproject/strings":!0,"ethers>@ethersproject/web":!0}},"@ethersproject/transactions":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/rlp":!0,"ethers>@ethersproject/signing-key":!0}},"@google/genai>protobufjs":{globals:{process:!0,setTimeout:!0},packages:{"@google/genai>protobufjs>@protobufjs/aspromise":!0,"@google/genai>protobufjs>@protobufjs/base64":!0,"@google/genai>protobufjs>@protobufjs/codegen":!0,"@google/genai>protobufjs>@protobufjs/eventemitter":!0,"@google/genai>protobufjs>@protobufjs/fetch":!0,"@google/genai>protobufjs>@protobufjs/float":!0,"@google/genai>protobufjs>@protobufjs/path":!0,"@google/genai>protobufjs>@protobufjs/pool":!0,"@google/genai>protobufjs>@protobufjs/utf8":!0,"@google/genai>protobufjs>long":!0}},"@google/genai>protobufjs>@protobufjs/codegen":{globals:{"console.log":!0}},"@google/genai>protobufjs>@protobufjs/fetch":{globals:{XMLHttpRequest:!0},packages:{"@google/genai>protobufjs>@protobufjs/aspromise":!0}},"@google/genai>protobufjs>long":{globals:{"WebAssembly.Instance":!0,"WebAssembly.Module":!0,define:!0}},"@keystonehq/bc-ur-registry-eth":{globals:{"Buffer.from":!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry":!0,"@metamask/eth-qr-keyring>hdkey":!0,buffer:!0,uuid:!0}},"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry":{globals:{Buffer:!0,define:!0},packages:{"@ngraveio/bc-ur":!0,buffer:!0,"ethereumjs-util>ethereum-cryptography>bs58check":!0,tslib:!0}},"@lavamoat/lavadome-react":{globals:{Array:!0,Clipboard:!0,Document:!0,DocumentFragment:!0,Element:!0,Event:!0,EventTarget:!0,Function:!0,JSON:!0,NavigateEvent:!0,NavigationDestination:!0,Node:!0,Number:!0,Object:!0,String:!0,Weakmap:!0,"console.warn":!0,document:!0,navigation:!0},packages:{react:!0}},"@ledgerhq/errors":{globals:{"console.warn":!0}},"@ledgerhq/hw-app-eth":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,"console.warn":!0},packages:{"@ethersproject/abi":!0,"@ethersproject/transactions":!0,"@ledgerhq/errors":!0,"@ledgerhq/hw-app-eth>@ledgerhq/cryptoassets-evm-signatures":!0,"@ledgerhq/hw-app-eth>@ledgerhq/domain-service":!0,"@ledgerhq/hw-app-eth>@ledgerhq/evm-tools":!0,"@ledgerhq/hw-app-eth>@ledgerhq/logs":!0,"@ledgerhq/hw-app-eth>bignumber.js":!0,buffer:!0,"ethers>@ethersproject/rlp":!0,semver:!0,"wait-on>axios":!0}},"@ledgerhq/hw-app-eth>@ledgerhq/domain-service":{packages:{"@ledgerhq/hw-app-eth>@ledgerhq/logs":!0,"wait-on>axios":!0}},"@ledgerhq/hw-app-eth>@ledgerhq/evm-tools":{packages:{"@ledgerhq/hw-app-eth>@ledgerhq/cryptoassets-evm-signatures":!0,"@ledgerhq/hw-app-eth>@ledgerhq/evm-tools>@ledgerhq/live-env":!0,"@metamask/ppom-validator>crypto-js":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/hash":!0,"wait-on>axios":!0}},"@ledgerhq/hw-app-eth>@ledgerhq/evm-tools>@ledgerhq/live-env":{globals:{"console.warn":!0},packages:{"wait-on>rxjs":!0}},"@ledgerhq/hw-app-eth>@ledgerhq/logs":{globals:{__ledgerLogsListen:"write","console.error":!0}},"@ledgerhq/hw-app-eth>bignumber.js":{globals:{crypto:!0}},"@ledgerhq/hw-transport":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,clearTimeout:!0,"console.warn":!0,setTimeout:!0},packages:{"@ledgerhq/errors":!0,"@ledgerhq/hw-app-eth>@ledgerhq/logs":!0,buffer:!0,"webpack>events":!0}},"@ledgerhq/hw-transport-webhid":{globals:{"Buffer.from":!0,navigator:!0},packages:{"@ledgerhq/errors":!0,"@ledgerhq/hw-app-eth>@ledgerhq/logs":!0,"@ledgerhq/hw-transport-webhid>@ledgerhq/devices":!0,"@ledgerhq/hw-transport-webhid>@ledgerhq/hw-transport":!0,buffer:!0}},"@ledgerhq/hw-transport-webhid>@ledgerhq/devices":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0},packages:{"@ledgerhq/errors":!0,"@ledgerhq/hw-transport-webhid>@ledgerhq/devices>semver":!0,buffer:!0}},"@ledgerhq/hw-transport-webhid>@ledgerhq/devices>semver":{globals:{"console.error":!0,process:!0},packages:{process:!0}},"@ledgerhq/hw-transport-webhid>@ledgerhq/hw-transport":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,clearTimeout:!0,"console.warn":!0,setTimeout:!0},packages:{"@ledgerhq/errors":!0,"@ledgerhq/hw-app-eth>@ledgerhq/logs":!0,buffer:!0,"webpack>events":!0}},"@metamask/abi-utils":{packages:{"@metamask/superstruct":!0,"@metamask/utils":!0}},"@metamask/account-api":{packages:{"@metamask/keyring-utils":!0}},"@metamask/account-tree-controller":{globals:{"console.warn":!0,setTimeout:!0},packages:{"@metamask/account-api":!0,"@metamask/accounts-controller":!0,"@metamask/base-controller":!0,"@metamask/keyring-api":!0,"@metamask/keyring-controller":!0,"@metamask/profile-sync-controller":!0,"@metamask/snaps-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"eslint>fast-deep-equal":!0}},"@metamask/accounts-controller":{globals:{"console.warn":!0},packages:{"@metamask/accounts-controller>ethereum-cryptography":!0,"@metamask/base-controller":!0,"@metamask/eth-snap-keyring":!0,"@metamask/keyring-api":!0,"@metamask/keyring-controller":!0,"@metamask/keyring-sdk":!0,"@metamask/keyring-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,lodash:!0,uuid:!0}},"@metamask/accounts-controller>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@metamask/accounts-controller>ethereum-cryptography>@noble/hashes":!0}},"@metamask/accounts-controller>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0}},"@metamask/address-book-controller":{packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0}},"@metamask/analytics-controller":{packages:{"@metamask/base-controller":!0,"@metamask/utils":!0,lodash:!0,uuid:!0}},"@metamask/announcement-controller":{packages:{"@metamask/base-controller":!0}},"@metamask/approval-controller":{globals:{"console.info":!0},packages:{"@metamask/base-controller":!0,"@metamask/rpc-errors":!0,nanoid:!0}},"@metamask/assets-controller":{globals:{clearInterval:!0,clearTimeout:!0,"console.error":!0,"fetch.bind":!0,"performance.now":!0,setInterval:!0,setTimeout:!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@ethersproject/abi":!0,"@ethersproject/providers":!0,"@metamask/assets-controller>@metamask/assets-controllers":!0,"@metamask/assets-controller>bignumber.js":!0,"@metamask/assets-controller>p-limit":!0,"@metamask/base-controller":!0,"@metamask/client-controller":!0,"@metamask/controller-utils":!0,"@metamask/core-backend":!0,"@metamask/keyring-snap-client":!0,"@metamask/phishing-controller":!0,"@metamask/polling-controller":!0,"@metamask/snaps-utils":!0,"@metamask/utils":!0,"async-mutex":!0,lodash:!0}},"@metamask/assets-controller>@metamask/assets-controllers":{globals:{URL:!0},packages:{"@metamask/controller-utils":!0,"@metamask/utils":!0}},"@metamask/assets-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/assets-controller>p-limit":{packages:{"@metamask/assets-controller>p-limit>yocto-queue":!0}},"@metamask/assets-controllers":{globals:{AbortController:!0,"Intl.NumberFormat":!0,URL:!0,URLSearchParams:!0,clearInterval:!0,clearTimeout:!0,"console.error":!0,"console.log":!0,"console.warn":!0,fetch:!0,setInterval:!0,setTimeout:!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@ethersproject/contracts":!0,"@ethersproject/providers":!0,"@metamask/account-api":!0,"@metamask/assets-controllers>@metamask/abi-utils":!0,"@metamask/assets-controllers>multiformats":!0,"@metamask/assets-controllers>single-call-balance-checker-abi":!0,"@metamask/base-controller":!0,"@metamask/contract-metadata":!0,"@metamask/controller-utils":!0,"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/core-backend>@tanstack/query-core":!0,"@metamask/keyring-api":!0,"@metamask/keyring-snap-client":!0,"@metamask/metamask-eth-abis":!0,"@metamask/phishing-controller":!0,"@metamask/polling-controller":!0,"@metamask/rpc-errors":!0,"@metamask/snaps-utils":!0,"@metamask/utils":!0,"async-mutex":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/address":!0,immer:!0,lodash:!0,reselect:!0,uuid:!0}},"@metamask/assets-controllers>@metamask/abi-utils":{packages:{"@metamask/assets-controllers>@metamask/abi-utils>@metamask/utils":!0,"@metamask/superstruct":!0}},"@metamask/assets-controllers>@metamask/abi-utils>@metamask/utils":{globals:{Buffer:!0,TextDecoder:!0,TextEncoder:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils>pony-cause":!0,"@noble/hashes":!0,"@scure/base":!0,buffer:!0,"nock>debug":!0,semver:!0}},"@metamask/assets-controllers>multiformats":{globals:{TextDecoder:!0,TextEncoder:!0,"console.warn":!0,"crypto.subtle.digest":!0}},"@metamask/authenticated-user-storage":{globals:{fetch:!0},packages:{"@metamask/controller-utils":!0,"@metamask/react-data-query>@metamask/base-data-service":!0,"@metamask/superstruct":!0}},"@metamask/base-controller":{globals:{"console.error":!0},packages:{immer:!0}},"@metamask/bridge-controller":{globals:{AbortController:!0,"Buffer.from":!0,TextDecoder:!0,URLSearchParams:!0,"console.error":!0,"console.log":!0,"console.warn":!0},packages:{"@ethersproject/bignumber":!0,"@ethersproject/contracts":!0,"@ethersproject/providers":!0,"@metamask/bridge-controller>@metamask/multichain-network-controller":!0,"@metamask/bridge-controller>bignumber.js":!0,"@metamask/controller-utils":!0,"@metamask/keyring-api":!0,"@metamask/metamask-eth-abis":!0,"@metamask/multichain-network-controller":!0,"@metamask/polling-controller":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,buffer:!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/constants":!0,lodash:!0,reselect:!0,uuid:!0}},"@metamask/bridge-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/bridge-status-controller":{globals:{URLSearchParams:!0,clearInterval:!0,"console.error":!0,"console.warn":!0,fetch:!0,setInterval:!0,setTimeout:!0},packages:{"@metamask/bridge-controller":!0,"@metamask/bridge-status-controller>bignumber.js":!0,"@metamask/controller-utils":!0,"@metamask/keyring-controller":!0,"@metamask/polling-controller":!0,"@metamask/snaps-controllers":!0,"@metamask/superstruct":!0,"@metamask/transaction-controller":!0,"@metamask/utils":!0,uuid:!0}},"@metamask/bridge-status-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/browser-passworder":{globals:{"Buffer.from":!0,CryptoKey:!0,btoa:!0,"crypto.getRandomValues":!0,"crypto.subtle.decrypt":!0,"crypto.subtle.deriveKey":!0,"crypto.subtle.encrypt":!0,"crypto.subtle.exportKey":!0,"crypto.subtle.importKey":!0},packages:{"@metamask/utils":!0,buffer:!0}},"@metamask/chain-agnostic-permission":{packages:{"@metamask/chain-agnostic-permission>@metamask/api-specs":!0,"@metamask/controller-utils":!0,"@metamask/permission-controller":!0,"@metamask/rpc-errors":!0,"@metamask/utils":!0,lodash:!0}},"@metamask/claims-controller":{packages:{"@metamask/base-controller":!0,"@metamask/claims-controller>@metamask/controller-utils":!0,"@metamask/utils":!0}},"@metamask/claims-controller>@metamask/controller-utils":{globals:{"Buffer.from":!0,URL:!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/controller-utils>@spruceid/siwe-parser":!0,"@metamask/utils":!0,buffer:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/client-controller":{packages:{"@metamask/base-controller":!0}},"@metamask/compliance-controller":{globals:{URL:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/superstruct":!0,reselect:!0}},"@metamask/config-registry-controller":{globals:{fetch:!0},packages:{"@metamask/controller-utils":!0,"@metamask/polling-controller":!0,"@metamask/profile-sync-controller":!0,"@metamask/superstruct":!0,"@metamask/utils":!0}},"@metamask/connectivity-controller":{packages:{"@metamask/base-controller":!0}},"@metamask/controller-utils":{globals:{"Buffer.from":!0,URL:!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/controller-utils>@spruceid/siwe-parser":!0,"@metamask/utils":!0,buffer:!0,cockatiel:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/controller-utils>@metamask/eth-query":{packages:{"@metamask/ppom-validator>json-rpc-random-id":!0,"watchify>xtend":!0}},"@metamask/controller-utils>@metamask/ethjs-unit":{packages:{"@metamask/controller-utils>@metamask/ethjs-unit>@metamask/number-to-bn":!0,"ethereumjs-util>bn.js":!0}},"@metamask/controller-utils>@metamask/ethjs-unit>@metamask/number-to-bn":{packages:{"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix":!0,"ethereumjs-util>bn.js":!0}},"@metamask/controller-utils>@spruceid/siwe-parser":{globals:{"console.error":!0,"console.log":!0},packages:{"@metamask/controller-utils>@spruceid/siwe-parser>apg-js":!0,"@noble/hashes":!0}},"@metamask/controller-utils>@spruceid/siwe-parser>apg-js":{packages:{buffer:!0}},"@metamask/core-backend":{globals:{URL:!0,WebSocket:!0,clearTimeout:!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils":!0,"@metamask/core-backend>@tanstack/query-core":!0,"@metamask/utils":!0,cockatiel:!0,uuid:!0}},"@metamask/core-backend>@tanstack/query-core":{globals:{AbortController:!0,addEventListener:!1,clearInterval:!0,clearTimeout:!0,"console.error":!0,document:!1,"document.visibilityState":!0,removeEventListener:!0,setInterval:!0,setTimeout:!0}},"@metamask/delegation-controller":{packages:{"@metamask/base-controller":!0,"@metamask/delegation-controller>@metamask/keyring-controller":!0,"@metamask/utils":!0}},"@metamask/delegation-controller>@metamask/keyring-controller":{globals:{"console.error":!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/base-controller":!0,"@metamask/eth-hd-keyring":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-controller>@metamask/eth-simple-keyring":!0,"@metamask/keyring-controller>ethereumjs-wallet":!0,"@metamask/keyring-controller>ulid":!0,"@metamask/utils":!0,"async-mutex":!0,lodash:!0}},"@metamask/delegation-core":{packages:{"@metamask/abi-utils":!0,"@metamask/utils":!0,"@noble/hashes":!0}},"@metamask/design-system-react":{globals:{"console.warn":!0,"document.addEventListener":!0,"document.body":!0,"document.removeEventListener":!0},packages:{"@metamask/design-system-react>@radix-ui/react-slot":!0,"@metamask/design-system-react>blo":!0,"@metamask/design-system-react>tailwind-merge":!0,"@metamask/design-system-shared":!0,"@metamask/jazzicon":!0,react:!0,"react-dom":!0,"react-focus-lock":!0}},"@metamask/design-system-react>@radix-ui/react-slot":{packages:{"@metamask/design-system-react>@radix-ui/react-slot>@radix-ui/react-compose-refs":!0,react:!0}},"@metamask/design-system-react>@radix-ui/react-slot>@radix-ui/react-compose-refs":{packages:{react:!0}},"@metamask/design-system-react>blo":{globals:{btoa:!0}},"@metamask/design-system-shared":{packages:{"@metamask/utils":!0}},"@metamask/eip-5792-middleware":{packages:{"@metamask/eip-5792-middleware>@metamask/transaction-controller":!0,"@metamask/keyring-controller":!0,"@metamask/rpc-errors":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,lodash:!0,uuid:!0}},"@metamask/eip-7702-internal-rpc-middleware":{packages:{"@metamask/rpc-errors":!0,"@metamask/superstruct":!0,"@metamask/utils":!0}},"@metamask/ens-controller":{packages:{"@ethersproject/providers":!0,"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/utils":!0,punycode:!0}},"@metamask/eth-hd-keyring":{globals:{"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,TextEncoder:!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/eth-hd-keyring>ethereum-cryptography":!0,"@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-api":!0,"@metamask/keyring-sdk":!0,"@metamask/scure-bip39":!0,"@metamask/snaps-sdk>@metamask/key-tree":!0,"@metamask/utils":!0,buffer:!0}},"@metamask/eth-hd-keyring>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/curves":{globals:{TextEncoder:!0},packages:{"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32":{packages:{"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/curves":!0,"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes":!0,"@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32>@scure/base":!0}},"@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32>@scure/base":{globals:{TextDecoder:!0,TextEncoder:!0}},"@metamask/eth-json-rpc-filters":{globals:{"console.error":!0},packages:{"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/json-rpc-engine":!0,"@metamask/safe-event-emitter":!0,"async-mutex":!0,pify:!0}},"@metamask/eth-json-rpc-middleware":{globals:{setTimeout:!0},packages:{"@metamask/eth-json-rpc-middleware>safe-stable-stringify":!0,"@metamask/eth-sig-util":!0,"@metamask/json-rpc-engine":!0,"@metamask/json-rpc-engine>klona":!0,"@metamask/rpc-errors":!0,"@metamask/superstruct":!0,"@metamask/utils":!0}},"@metamask/eth-json-rpc-provider":{packages:{"@metamask/json-rpc-engine":!0,nanoid:!0}},"@metamask/eth-ledger-bridge-keyring":{globals:{addEventListener:!0,"document.createElement":!0,"document.head.appendChild":!0,fetch:!0,removeEventListener:!0,setTimeout:!0},packages:{"@ethereumjs/tx":!0,"@ethereumjs/tx>@ethereumjs/rlp":!0,"@ethereumjs/tx>@ethereumjs/util":!0,"@ledgerhq/hw-transport":!0,"@metamask/eth-qr-keyring>hdkey":!0,"@metamask/eth-sig-util":!0,"@metamask/hw-wallet-sdk":!0,"@metamask/keyring-api":!0,"@metamask/keyring-sdk":!0,"@metamask/utils":!0,buffer:!0}},"@metamask/eth-qr-keyring":{globals:{"Buffer.concat":!0,"Buffer.from":!0},packages:{"@ethereumjs/tx":!0,"@ethereumjs/tx>@ethereumjs/rlp":!0,"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth":!0,"@metamask/eth-qr-keyring>hdkey":!0,"@metamask/eth-qr-keyring>uuid":!0,"@metamask/keyring-api":!0,"@metamask/keyring-sdk":!0,"@metamask/utils":!0,buffer:!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth":{globals:{"Buffer.from":!0},packages:{"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util":!0,"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry":!0,"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>uuid":!0,"@metamask/eth-qr-keyring>hdkey":!0,buffer:!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util":{globals:{"Buffer.alloc":!0,"Buffer.allocUnsafe":!0,"Buffer.byteLength":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,"console.warn":!0},packages:{"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>@ethereumjs/rlp":!0,"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography":!0,buffer:!0,"eth-lattice-keyring>@ethereumjs/util>micro-ftch":!0,"webpack>events":!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>@ethereumjs/rlp":{globals:{TextEncoder:!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0},packages:{"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/curves":!0,"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/curves":{globals:{TextEncoder:!0},packages:{"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry":{globals:{Buffer:!0,define:!0},packages:{"@ngraveio/bc-ur":!0,buffer:!0,"ethereumjs-util>ethereum-cryptography>bs58check":!0,tslib:!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>uuid":{globals:{crypto:!0,msCrypto:!0}},"@metamask/eth-qr-keyring>hdkey":{packages:{"@ngraveio/bc-ur>assert":!0,"crypto-browserify":!0,"ethereumjs-util>create-hash>ripemd160":!0,"ethereumjs-util>ethereum-cryptography>bs58check":!0,"ethereumjs-util>ethereum-cryptography>secp256k1":!0,"mockttp>express>safe-buffer":!0}},"@metamask/eth-qr-keyring>uuid":{globals:{crypto:!0}},"@metamask/eth-sig-util":{globals:{"Buffer.byteLength":!0,"Buffer.concat":!0,"Buffer.from":!0},packages:{"@metamask/abi-utils":!0,"@metamask/eth-sig-util>@ethereumjs/rlp":!0,"@metamask/eth-sig-util>@ethereumjs/util":!0,"@metamask/eth-sig-util>@scure/base":!0,"@metamask/eth-sig-util>ethereum-cryptography":!0,"@metamask/utils":!0,buffer:!0,tweetnacl:!0}},"@metamask/eth-sig-util>@ethereumjs/rlp":{globals:{TextEncoder:!0}},"@metamask/eth-sig-util>@ethereumjs/util":{globals:{"Buffer.alloc":!0,"Buffer.allocUnsafe":!0,"Buffer.byteLength":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,"console.warn":!0},packages:{"@metamask/eth-sig-util>@ethereumjs/rlp":!0,"@metamask/eth-sig-util>ethereum-cryptography":!0,buffer:!0,"eth-lattice-keyring>@ethereumjs/util>micro-ftch":!0,"webpack>events":!0}},"@metamask/eth-sig-util>@scure/base":{globals:{TextDecoder:!0,TextEncoder:!0}},"@metamask/eth-sig-util>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0},packages:{"@metamask/eth-sig-util>ethereum-cryptography>@noble/curves":!0,"@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-sig-util>ethereum-cryptography>@noble/curves":{globals:{TextEncoder:!0},packages:{"@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@metamask/eth-snap-keyring":{globals:{URL:!0,"console.error":!0,"console.info":!0,"console.warn":!0},packages:{"@ethereumjs/tx":!0,"@metamask/eth-sig-util":!0,"@metamask/eth-snap-keyring>@metamask/keyring-internal-snap-client":!0,"@metamask/eth-snap-keyring>@metamask/keyring-snap-sdk":!0,"@metamask/eth-snap-keyring>uuid":!0,"@metamask/keyring-api":!0,"@metamask/keyring-internal-api":!0,"@metamask/keyring-sdk":!0,"@metamask/keyring-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"async-mutex":!0}},"@metamask/eth-snap-keyring>@metamask/keyring-internal-snap-client":{packages:{"@metamask/keyring-api":!0,"@metamask/keyring-internal-api":!0,"@metamask/keyring-snap-client":!0,"@metamask/keyring-utils":!0}},"@metamask/eth-snap-keyring>@metamask/keyring-snap-sdk":{packages:{"@metamask/superstruct":!0}},"@metamask/eth-snap-keyring>uuid":{globals:{crypto:!0}},"@metamask/eth-token-tracker":{globals:{"console.warn":!0},packages:{"@babel/runtime":!0,"@ethersproject/bignumber":!0,"@ethersproject/contracts":!0,"@ethersproject/providers":!0,"@metamask/eth-token-tracker>@metamask/eth-block-tracker":!0,"@metamask/eth-token-tracker>deep-equal":!0,"@metamask/safe-event-emitter":!0,"ethereumjs-util>bn.js":!0,"human-standard-token-abi":!0}},"@metamask/eth-token-tracker>@metamask/eth-block-tracker":{globals:{clearTimeout:!0,"console.error":!0,setTimeout:!0},packages:{"@metamask/ppom-validator>json-rpc-random-id":!0,"@metamask/safe-event-emitter":!0,"@metamask/utils":!0}},"@metamask/eth-token-tracker>deep-equal":{packages:{"@lavamoat/webpack>json-stable-stringify>isarray":!0,"@lavamoat/webpack>json-stable-stringify>object-keys":!0,"@metamask/eth-token-tracker>deep-equal>es-get-iterator":!0,"@metamask/eth-token-tracker>deep-equal>is-date-object":!0,"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive":!0,"@metamask/eth-token-tracker>deep-equal>which-collection":!0,"@ngraveio/bc-ur>assert>object-is":!0,"browserify>util>is-arguments":!0,"browserify>util>which-typed-array":!0,"gulp>vinyl-fs>object.assign":!0,"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>es-abstract>array-buffer-byte-length":!0,"string.prototype.matchall>es-abstract>is-array-buffer":!0,"string.prototype.matchall>es-abstract>is-regex":!0,"string.prototype.matchall>es-abstract>is-shared-array-buffer":!0,"string.prototype.matchall>get-intrinsic":!0,"string.prototype.matchall>regexp.prototype.flags":!0,"string.prototype.matchall>side-channel":!0}},"@metamask/eth-token-tracker>deep-equal>es-get-iterator":{globals:{process:!0},packages:{"@lavamoat/webpack>json-stable-stringify>isarray":!0,"@metamask/eth-token-tracker>deep-equal>es-get-iterator>is-map":!0,"browserify>util>is-arguments":!0,"eslint-plugin-react>array-includes>is-string":!0,process:!0,"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>es-abstract>is-set":!0,"string.prototype.matchall>es-abstract>stop-iteration-iterator":!0,"string.prototype.matchall>get-intrinsic":!0,"string.prototype.matchall>has-symbols":!0}},"@metamask/eth-token-tracker>deep-equal>is-date-object":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0}},"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive":{packages:{"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-bigint":!0,"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-boolean-object":!0,"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-number-object":!0,"eslint-plugin-react>array-includes>is-string":!0,"string.prototype.matchall>es-abstract>es-to-primitive>is-symbol":!0}},"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-bigint":{packages:{"string.prototype.matchall>es-abstract>unbox-primitive>has-bigints":!0}},"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-boolean-object":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0}},"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-number-object":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0}},"@metamask/eth-token-tracker>deep-equal>which-collection":{packages:{"@metamask/eth-token-tracker>deep-equal>es-get-iterator>is-map":!0,"@metamask/eth-token-tracker>deep-equal>which-collection>is-weakmap":!0,"@metamask/eth-token-tracker>deep-equal>which-collection>is-weakset":!0,"string.prototype.matchall>es-abstract>is-set":!0}},"@metamask/eth-token-tracker>deep-equal>which-collection>is-weakset":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>get-intrinsic":!0}},"@metamask/eth-trezor-keyring":{globals:{"Buffer.from":!0,setTimeout:!0},packages:{"@ethereumjs/tx":!0,"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/eth-qr-keyring>hdkey":!0,"@metamask/eth-sig-util":!0,"@metamask/eth-trezor-keyring>@trezor/connect-plugin-ethereum":!0,"@metamask/hw-wallet-sdk":!0,"@metamask/keyring-api":!0,"@metamask/keyring-sdk":!0,"@metamask/utils":!0,buffer:!0}},"@metamask/eth-trezor-keyring>@trezor/connect-plugin-ethereum":{packages:{"@metamask/eth-sig-util":!0,tslib:!0}},"@metamask/etherscan-link":{globals:{URL:!0}},"@metamask/gas-fee-controller":{globals:{clearInterval:!0,"console.error":!0,setInterval:!0},packages:{"@metamask/controller-utils":!0,"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/polling-controller":!0,"ethereumjs-util>bn.js":!0,uuid:!0}},"@metamask/gator-permissions-controller":{globals:{clearTimeout:!0,setTimeout:!0},packages:{"@metamask/base-controller":!0,"@metamask/delegation-core":!0,"@metamask/delegation-deployments":!0,"@metamask/gator-permissions-controller>@metamask/abi-utils":!0,"@metamask/snaps-utils":!0,"@metamask/transaction-controller":!0,"@metamask/utils":!0}},"@metamask/gator-permissions-controller>@metamask/abi-utils":{packages:{"@metamask/gator-permissions-controller>@metamask/abi-utils>@metamask/utils":!0,"@metamask/superstruct":!0}},"@metamask/gator-permissions-controller>@metamask/abi-utils>@metamask/utils":{globals:{Buffer:!0,TextDecoder:!0,TextEncoder:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils>pony-cause":!0,"@noble/hashes":!0,"@scure/base":!0,buffer:!0,"nock>debug":!0,semver:!0}},"@metamask/geolocation-controller":{globals:{fetch:!0},packages:{"@metamask/base-controller":!0,"@metamask/geolocation-controller>@metamask/controller-utils":!0}},"@metamask/geolocation-controller>@metamask/controller-utils":{globals:{"Buffer.from":!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/utils":!0,buffer:!0,cockatiel:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/jazzicon":{globals:{"document.createElement":!0,"document.createElementNS":!0},packages:{"@metamask/jazzicon>color":!0,"@metamask/jazzicon>mersenne-twister":!0}},"@metamask/jazzicon>color":{packages:{"@metamask/jazzicon>color>clone":!0,"@metamask/jazzicon>color>color-convert":!0,"@metamask/jazzicon>color>color-string":!0}},"@metamask/jazzicon>color>clone":{globals:{Buffer:!0},packages:{buffer:!0}},"@metamask/jazzicon>color>color-convert":{packages:{"@metamask/jazzicon>color>color-convert>color-name":!0}},"@metamask/jazzicon>color>color-string":{packages:{"jest-canvas-mock>moo-color>color-name":!0}},"@metamask/json-rpc-engine":{packages:{"@metamask/json-rpc-engine>klona":!0,"@metamask/messenger":!0,"@metamask/rpc-errors":!0,"@metamask/safe-event-emitter":!0,"@metamask/utils":!0,"deep-freeze-strict":!0}},"@metamask/json-rpc-middleware-stream":{globals:{"console.warn":!0,setTimeout:!0},packages:{"@metamask/json-rpc-middleware-stream>readable-stream":!0,"@metamask/safe-event-emitter":!0,"@metamask/utils":!0}},"@metamask/json-rpc-middleware-stream>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"@metamask/keyring-api":{packages:{"@metamask/keyring-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"bitcoin-address-validation":!0}},"@metamask/keyring-controller":{globals:{"console.error":!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/base-controller":!0,"@metamask/eth-hd-keyring":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-controller>@metamask/eth-simple-keyring":!0,"@metamask/keyring-controller>ethereumjs-wallet":!0,"@metamask/keyring-controller>ulid":!0,"@metamask/utils":!0,"async-mutex":!0,lodash:!0}},"@metamask/keyring-controller>@metamask/eth-simple-keyring":{globals:{"Buffer.concat":!0,"Buffer.from":!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-api":!0,"@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography":!0,"@metamask/keyring-sdk":!0,"@metamask/utils":!0,buffer:!0,"crypto-browserify>randombytes":!0}},"@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography>@noble/hashes":!0}},"@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0}},"@metamask/keyring-controller>ethereumjs-wallet":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0},packages:{"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography":!0,"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util":!0,"@metamask/keyring-controller>ethereumjs-wallet>utf8":!0,buffer:!0,"crypto-browserify":!0,"crypto-browserify>randombytes":!0,"eth-lattice-keyring>gridplus-sdk>aes-js":!0,"ethereumjs-util>ethereum-cryptography>bs58check":!0,"ethers>@ethersproject/json-wallets>scrypt-js":!0,uuid:!0}},"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography":{globals:{"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0},packages:{"@ngraveio/bc-ur>assert":!0,buffer:!0,"crypto-browserify>create-hmac":!0,"crypto-browserify>randombytes":!0,"ethereumjs-util>ethereum-cryptography>bs58check":!0,"ethereumjs-util>ethereum-cryptography>keccak":!0,"ethereumjs-util>ethereum-cryptography>secp256k1":!0,"ethers>@ethersproject/sha2>hash.js":!0,"mockttp>express>safe-buffer":!0}},"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util":{globals:{Buffer:!0},packages:{"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography":!0,"@ngraveio/bc-ur>assert":!0,buffer:!0,"ethereumjs-util>bn.js":!0,"ethereumjs-util>create-hash":!0,"ethereumjs-util>rlp":!0}},"@metamask/keyring-controller>ulid":{globals:{"console.error":!0,crypto:!0,require:!0}},"@metamask/keyring-internal-api":{packages:{"@metamask/keyring-api":!0,"@metamask/superstruct":!0}},"@metamask/keyring-sdk":{packages:{"@ethereumjs/tx":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-api":!0,"@metamask/keyring-sdk>ethereum-cryptography":!0,"@metamask/keyring-sdk>uuid":!0,"@metamask/keyring-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"async-mutex":!0}},"@metamask/keyring-sdk>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@metamask/keyring-sdk>ethereum-cryptography>@noble/hashes":!0}},"@metamask/keyring-sdk>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0}},"@metamask/keyring-sdk>uuid":{globals:{crypto:!0}},"@metamask/keyring-snap-client":{packages:{"@metamask/keyring-api":!0,"@metamask/keyring-snap-client>uuid":!0,"@metamask/keyring-utils":!0,"@metamask/superstruct":!0}},"@metamask/keyring-snap-client>uuid":{globals:{crypto:!0}},"@metamask/keyring-utils":{globals:{URL:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils":!0,"bitcoin-address-validation":!0}},"@metamask/logging-controller":{packages:{"@metamask/base-controller":!0,uuid:!0}},"@metamask/logo":{globals:{addEventListener:!0,"document.body.appendChild":!0,"document.createElementNS":!0,innerHeight:!0,innerWidth:!0,requestAnimationFrame:!0},packages:{"@metamask/logo>gl-mat4":!0,"@metamask/logo>gl-vec3":!0}},"@metamask/message-manager":{globals:{"Buffer.from":!0},packages:{"@metamask/base-controller":!0,"@metamask/message-manager>@metamask/controller-utils":!0,"@metamask/utils":!0,buffer:!0,uuid:!0,"webpack>events":!0}},"@metamask/message-manager>@metamask/controller-utils":{globals:{"Buffer.from":!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/utils":!0,buffer:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/message-manager>jsonschema":{packages:{"browserify>url":!0}},"@metamask/messenger":{globals:{"console.error":!0}},"@metamask/multichain-account-service":{globals:{clearTimeout:!0,"console.error":!0,"console.warn":!0,"performance.now":!0,setTimeout:!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/account-api":!0,"@metamask/eth-snap-keyring":!0,"@metamask/keyring-api":!0,"@metamask/keyring-controller":!0,"@metamask/keyring-snap-client":!0,"@metamask/snaps-utils":!0,"@metamask/utils":!0,"async-mutex":!0}},"@metamask/multichain-api-middleware":{globals:{"console.error":!0},packages:{"@metamask/chain-agnostic-permission":!0,"@metamask/controller-utils":!0,"@metamask/eth-json-rpc-filters":!0,"@metamask/json-rpc-engine":!0,"@metamask/message-manager>jsonschema":!0,"@metamask/multichain-api-middleware>@metamask/api-specs":!0,"@metamask/permission-controller":!0,"@metamask/rpc-errors":!0,"@metamask/safe-event-emitter":!0,"@metamask/utils":!0,"@open-rpc/schema-utils-js":!0}},"@metamask/multichain-network-controller":{globals:{URL:!0},packages:{"@metamask/base-controller":!0,"@metamask/keyring-api":!0,"@metamask/multichain-network-controller>@metamask/keyring-api":!0,"@metamask/network-controller":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,lodash:!0}},"@metamask/multichain-transactions-controller":{globals:{"console.error":!0},packages:{"@metamask/base-controller":!0,"@metamask/keyring-api":!0,"@metamask/keyring-snap-client":!0,"@metamask/snaps-utils":!0}},"@metamask/name-controller":{globals:{fetch:!0},packages:{"@metamask/base-controller":!0,"@metamask/name-controller>@metamask/controller-utils":!0,"@metamask/utils":!0,"async-mutex":!0}},"@metamask/name-controller>@metamask/controller-utils":{globals:{"Buffer.from":!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/utils":!0,buffer:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/network-controller":{globals:{"Intl.NumberFormat":!0,URL:!0,"btoa.bind":!0,"fetch.bind":!0,setTimeout:!0},packages:{"@metamask/base-controller":!0,"@metamask/connectivity-controller":!0,"@metamask/controller-utils":!0,"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/eth-json-rpc-middleware":!0,"@metamask/eth-json-rpc-provider":!0,"@metamask/json-rpc-engine":!0,"@metamask/network-controller>@metamask/eth-block-tracker":!0,"@metamask/network-controller>@metamask/eth-json-rpc-infura":!0,"@metamask/network-controller>@metamask/swappable-obj-proxy":!0,"@metamask/rpc-errors":!0,"@metamask/utils":!0,"addons-linter>deepmerge":!0,cockatiel:!0,"eslint>fast-deep-equal":!0,immer:!0,lodash:!0,reselect:!0,"uri-js":!0,uuid:!0}},"@metamask/network-controller>@metamask/eth-block-tracker":{globals:{clearTimeout:!0,"console.error":!0,setTimeout:!0},packages:{"@metamask/ppom-validator>json-rpc-random-id":!0,"@metamask/safe-event-emitter":!0,"@metamask/utils":!0}},"@metamask/network-controller>@metamask/eth-json-rpc-infura":{globals:{fetch:!0,setTimeout:!0},packages:{"@metamask/json-rpc-engine":!0,"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider":!0,"@metamask/rpc-errors":!0,"@metamask/utils":!0}},"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider":{packages:{"@metamask/json-rpc-engine":!0,"@metamask/rpc-errors":!0,"@metamask/safe-event-emitter":!0,uuid:!0}},"@metamask/network-enablement-controller":{packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/keyring-api":!0,"@metamask/multichain-network-controller":!0,"@metamask/snaps-utils>@metamask/slip44":!0,"@metamask/utils":!0}},"@metamask/notification-services-controller":{globals:{"Intl.NumberFormat":!0,addEventListener:!0,"console.error":!0,fetch:!0,registration:!0,removeEventListener:!0},packages:{"@metamask/authenticated-user-storage":!0,"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/notification-services-controller>@contentful/rich-text-html-renderer":!0,"@metamask/notification-services-controller>bignumber.js":!0,"@metamask/notification-services-controller>firebase":!0,"@metamask/utils":!0,lodash:!0,loglevel:!0,semver:!0,uuid:!0}},"@metamask/notification-services-controller>@contentful/rich-text-html-renderer":{globals:{SuppressedError:!0}},"@metamask/notification-services-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/notification-services-controller>firebase":{packages:{"@metamask/notification-services-controller>firebase>@firebase/app":!0,"@metamask/notification-services-controller>firebase>@firebase/messaging":!0}},"@metamask/notification-services-controller>firebase>@firebase/app":{globals:{FinalizationRegistry:!0,"console.warn":!0},packages:{"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/component":!0,"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/logger":!0,"@metamask/notification-services-controller>firebase>@firebase/app>idb":!0,"@metamask/notification-services-controller>firebase>@firebase/util":!0}},"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/component":{packages:{"@metamask/notification-services-controller>firebase>@firebase/util":!0}},"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/logger":{globals:{console:!0}},"@metamask/notification-services-controller>firebase>@firebase/app>idb":{globals:{DOMException:!0,IDBCursor:!0,IDBDatabase:!0,IDBIndex:!0,IDBObjectStore:!0,IDBRequest:!0,IDBTransaction:!0,"indexedDB.deleteDatabase":!0,"indexedDB.open":!0}},"@metamask/notification-services-controller>firebase>@firebase/installations":{globals:{BroadcastChannel:!0,Headers:!0,btoa:!0,"console.error":!0,crypto:!0,fetch:!0,msCrypto:!0,"navigator.onLine":!0,setTimeout:!0},packages:{"@metamask/notification-services-controller>firebase>@firebase/app":!0,"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/component":!0,"@metamask/notification-services-controller>firebase>@firebase/app>idb":!0,"@metamask/notification-services-controller>firebase>@firebase/util":!0}},"@metamask/notification-services-controller>firebase>@firebase/messaging":{globals:{Headers:!0,"Notification.maxActions":!0,"Notification.permission":!0,"Notification.requestPermission":!0,"PushSubscription.prototype.hasOwnProperty":!0,ServiceWorkerRegistration:!0,URL:!0,addEventListener:!0,atob:!0,btoa:!0,clearTimeout:!0,"clients.matchAll":!0,"clients.openWindow":!0,"console.warn":!0,document:!0,fetch:!0,indexedDB:!0,"location.href":!0,"location.origin":!0,navigator:!0,"origin.replace":!0,"registration.showNotification":!0,setTimeout:!0},packages:{"@metamask/notification-services-controller>firebase>@firebase/app":!0,"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/component":!0,"@metamask/notification-services-controller>firebase>@firebase/app>idb":!0,"@metamask/notification-services-controller>firebase>@firebase/installations":!0,"@metamask/notification-services-controller>firebase>@firebase/util":!0}},"@metamask/notification-services-controller>firebase>@firebase/util":{globals:{WorkerGlobalScope:!0,atob:!0,browser:!0,btoa:!0,chrome:!0,console:!0,document:!0,indexedDB:!0,navigator:!0,process:!0,setTimeout:!0},packages:{process:!0}},"@metamask/object-multiplex":{globals:{"console.warn":!0},packages:{"@metamask/object-multiplex>once":!0,"@metamask/object-multiplex>readable-stream":!0}},"@metamask/object-multiplex>once":{packages:{"@metamask/object-multiplex>once>wrappy":!0}},"@metamask/object-multiplex>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"@metamask/obs-store":{packages:{"@metamask/obs-store>readable-stream":!0,"@metamask/safe-event-emitter":!0}},"@metamask/obs-store>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"@metamask/passkey-controller":{globals:{TextDecoder:!0,TextEncoder:!0,"crypto.subtle.importKey":!0,"crypto.subtle.verify":!0},packages:{"@metamask/base-controller":!0,"@metamask/passkey-controller>@levischuck/tiny-cbor":!0,"@metamask/utils":!0,"@noble/ciphers":!0,"@noble/curves":!0,"@noble/hashes":!0}},"@metamask/passkey-controller>@levischuck/tiny-cbor":{globals:{TextDecoder:!0,TextEncoder:!0}},"@metamask/permission-controller":{globals:{"console.error":!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/json-rpc-engine":!0,"@metamask/messenger":!0,"@metamask/rpc-errors":!0,"@metamask/utils":!0,"deep-freeze-strict":!0,immer:!0,nanoid:!0}},"@metamask/permission-log-controller":{packages:{"@metamask/base-controller":!0,"@metamask/utils":!0}},"@metamask/perps-controller":{globals:{AbortController:!0,WebSocket:!0,clearInterval:!0,clearTimeout:!0,fetch:!0,"performance.now":!0,setInterval:!0,setTimeout:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/perps-controller>@metamask/abi-utils":!0,"@metamask/perps-controller>@nktkas/hyperliquid":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,uuid:!0}},"@metamask/perps-controller>@metamask/abi-utils":{packages:{"@metamask/perps-controller>@metamask/abi-utils>@metamask/utils":!0,"@metamask/superstruct":!0}},"@metamask/perps-controller>@metamask/abi-utils>@metamask/utils":{globals:{Buffer:!0,TextDecoder:!0,TextEncoder:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils>pony-cause":!0,"@noble/hashes":!0,"@scure/base":!0,buffer:!0,"nock>debug":!0,semver:!0}},"@metamask/perps-controller>@nktkas/hyperliquid":{globals:{AbortController:!0,AbortSignal:!0,CustomEvent:!0,DOMException:!0,Event:!0,EventTarget:!0,Headers:!0,TextEncoder:!0,URL:!0,clearInterval:!0,fetch:!0,setInterval:!0,setTimeout:!0},packages:{"@metamask/perps-controller>@nktkas/hyperliquid>@nktkas/rews":!0,"@metamask/perps-controller>@nktkas/hyperliquid>@noble/hashes":!0,"@metamask/perps-controller>@nktkas/hyperliquid>valibot":!0}},"@metamask/perps-controller>@nktkas/hyperliquid>@nktkas/rews":{globals:{AbortController:!0,CloseEvent:!0,CustomEvent:!0,Event:!0,EventTarget:!0,MessageEvent:!0,WebSocket:!0,clearTimeout:!0,setTimeout:!0}},"@metamask/perps-controller>@nktkas/hyperliquid>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@metamask/perps-controller>@nktkas/hyperliquid>valibot":{globals:{Blob:!0,File:!0,"Intl.Segmenter":!0,TextEncoder:!0,URL:!0}},"@metamask/phishing-controller":{globals:{TextEncoder:!0,URL:!0,"console.error":!0,"console.warn":!0,fetch:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/phishing-controller>@metamask/transaction-controller":!0,"@metamask/phishing-controller>ethereum-cryptography":!0,"@noble/hashes":!0,punycode:!0,"webpack-cli>fastest-levenshtein":!0}},"@metamask/phishing-controller>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@metamask/phishing-controller>ethereum-cryptography>@noble/hashes":!0}},"@metamask/phishing-controller>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0}},"@metamask/polling-controller":{globals:{clearTimeout:!0,"console.error":!0,setTimeout:!0},packages:{"@metamask/base-controller":!0,"fast-json-stable-stringify":!0,uuid:!0}},"@metamask/post-message-stream":{globals:{"MessageEvent.prototype":!0,WorkerGlobalScope:!0,addEventListener:!0,browser:!0,chrome:!0,"location.origin":!0,postMessage:!0,removeEventListener:!0},packages:{"@metamask/post-message-stream>readable-stream":!0,"@metamask/utils":!0}},"@metamask/post-message-stream>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"@metamask/ppom-validator":{globals:{"Buffer.from":!0,URL:!0,"console.error":!0,crypto:!0},packages:{"@metamask/base-controller":!0,"@metamask/ppom-validator>@metamask/controller-utils":!0,"@metamask/ppom-validator>await-semaphore":!0,"@metamask/ppom-validator>crypto-js":!0,"@metamask/ppom-validator>json-rpc-random-id":!0,"@toruslabs/eccrypto>elliptic":!0,buffer:!0}},"@metamask/ppom-validator>@metamask/controller-utils":{globals:{"Buffer.from":!0,URL:!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/controller-utils>@spruceid/siwe-parser":!0,"@metamask/utils":!0,buffer:!0,cockatiel:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/ppom-validator>await-semaphore":{globals:{process:!0,setImmediate:!0},packages:{"core-js-pure":!0,process:!0}},"@metamask/ppom-validator>crypto-js":{globals:{crypto:!0,define:!0,msCrypto:!0}},"@metamask/profile-metrics-controller":{globals:{URL:!0,"console.error":!0},packages:{"@metamask/controller-utils":!0,"@metamask/polling-controller":!0,"@metamask/profile-sync-controller":!0,"@metamask/snaps-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"async-mutex":!0,uuid:!0}},"@metamask/profile-sync-controller":{globals:{"Buffer.from":!0,Event:!0,TextDecoder:!0,TextEncoder:!0,URL:!0,URLSearchParams:!0,addEventListener:!0,atob:!0,"console.error":!0,"console.warn":!0,dispatchEvent:!0,fetch:!0,removeEventListener:!0,setTimeout:!0},packages:{"@metamask/base-controller":!0,"@metamask/keyring-controller":!0,"@metamask/profile-sync-controller>siwe":!0,"@noble/ciphers":!0,"@noble/hashes":!0,buffer:!0}},"@metamask/profile-sync-controller>siwe":{globals:{"console.error":!0,"console.warn":!0},packages:{"@metamask/controller-utils>@spruceid/siwe-parser>valid-url":!0,"@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser":!0,"@metamask/profile-sync-controller>siwe>@stablelib/random":!0,ethers:!0}},"@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser":{globals:{"console.error":!0,"console.log":!0},packages:{"@metamask/controller-utils>@spruceid/siwe-parser>apg-js":!0,"@noble/hashes":!0}},"@metamask/profile-sync-controller>siwe>@stablelib/random":{globals:{crypto:!0,msCrypto:!0},packages:{"@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/binary":!0,"@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/wipe":!0}},"@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/binary":{packages:{"@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/binary>@stablelib/int":!0}},"@metamask/providers":{globals:{console:!0},packages:{"@metamask/json-rpc-engine":!0,"@metamask/json-rpc-middleware-stream":!0,"@metamask/providers>is-stream":!0,"@metamask/providers>readable-stream":!0,"@metamask/rpc-errors":!0,"@metamask/safe-event-emitter":!0,"eslint>fast-deep-equal":!0}},"@metamask/providers>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"@metamask/rate-limit-controller":{globals:{setTimeout:!0},packages:{"@metamask/base-controller":!0,"@metamask/rpc-errors":!0,"@metamask/utils":!0}},"@metamask/react-data-query":{packages:{"@metamask/react-data-query>@tanstack/query-core":!0,"@metamask/utils":!0}},"@metamask/react-data-query>@metamask/base-data-service":{packages:{"@metamask/controller-utils":!0,"@metamask/messenger":!0,"@metamask/react-data-query>@metamask/base-data-service>@tanstack/query-core":!0,"@metamask/utils":!0,"eslint>fast-deep-equal":!0}},"@metamask/react-data-query>@metamask/base-data-service>@tanstack/query-core":{globals:{AbortController:!0,addEventListener:!1,clearTimeout:!0,console:!0,document:!1,"document.visibilityState":!0,navigator:!0,removeEventListener:!0,setTimeout:!0}},"@metamask/react-data-query>@tanstack/query-core":{globals:{AbortController:!0,addEventListener:!0,clearTimeout:!0,console:!0,document:!0,navigator:!0,removeEventListener:!0,setTimeout:!0}},"@metamask/remote-feature-flag-controller":{globals:{TextEncoder:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/utils":!0,uuid:!0}},"@metamask/rpc-errors":{packages:{"@metamask/rpc-errors>fast-safe-stringify":!0,"@metamask/utils":!0}},"@metamask/safe-event-emitter":{globals:{setTimeout:!0},packages:{"webpack>events":!0}},"@metamask/scure-bip39":{globals:{TextEncoder:!0},packages:{"@metamask/scure-bip39>@noble/hashes":!0,"@metamask/scure-bip39>@scure/base":!0}},"@metamask/scure-bip39>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@metamask/scure-bip39>@scure/base":{globals:{TextDecoder:!0,TextEncoder:!0}},"@metamask/seedless-onboarding-controller":{packages:{"@metamask/base-controller":!0,"@metamask/seedless-onboarding-controller>@metamask/auth-network-utils":!0,"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup":!0,"@metamask/utils":!0,"@noble/ciphers":!0,"@noble/curves":!0,"async-mutex":!0}},"@metamask/seedless-onboarding-controller>@metamask/auth-network-utils":{globals:{"Buffer.from":!0,clearTimeout:!0,setTimeout:!0},packages:{"@noble/hashes":!0,buffer:!0,"eslint>json-stable-stringify-without-jsonify":!0,"ethereumjs-util>bn.js":!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup":{globals:{Buffer:!0,URL:!0,"console.error":!0,fetch:!0},packages:{"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@metamask/auth-network-utils":!0,"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details":!0,"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/http-helpers":!0,"@noble/ciphers":!0,"@noble/curves":!0,"@noble/hashes":!0,"@toruslabs/eccrypto":!0,buffer:!0,"ethereumjs-util>bn.js":!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@metamask/auth-network-utils":{globals:{"Buffer.concat":!0,"Buffer.from":!0,clearTimeout:!0,setTimeout:!0},packages:{"@noble/curves":!0,"@noble/hashes":!0,"@toruslabs/eccrypto>elliptic":!0,buffer:!0,"eslint>json-stable-stringify-without-jsonify":!0,"ethereumjs-util>bn.js":!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details":{packages:{"@babel/runtime":!0,"@metamask/seedless-onboarding-controller>@metamask/auth-network-utils>@toruslabs/constants":!0,"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/fnd-base":!0,"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/http-helpers":!0,loglevel:!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/fnd-base":{packages:{"@metamask/seedless-onboarding-controller>@metamask/auth-network-utils>@toruslabs/constants":!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/http-helpers":{globals:{URL:!0,clearTimeout:!0,fetch:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"addons-linter>deepmerge":!0,loglevel:!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/http-helpers":{globals:{URL:!0,clearTimeout:!0,fetch:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"addons-linter>deepmerge":!0,loglevel:!0}},"@metamask/selected-network-controller":{packages:{"@metamask/base-controller":!0,"@metamask/network-controller>@metamask/swappable-obj-proxy":!0}},"@metamask/shield-controller":{globals:{AbortController:!0},packages:{"@metamask/base-controller":!0,"@metamask/shield-controller>@metamask/controller-utils":!0,"@metamask/shield-controller>@metamask/transaction-controller":!0,"@metamask/signature-controller":!0,"@metamask/utils":!0,cockatiel:!0,lodash:!0}},"@metamask/shield-controller>@metamask/controller-utils":{globals:{"Buffer.from":!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/utils":!0,buffer:!0,cockatiel:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/signature-controller":{globals:{"Buffer.from":!0,fetch:!0},packages:{"@metamask/approval-controller":!0,"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-controller":!0,"@metamask/logging-controller":!0,"@metamask/message-manager>jsonschema":!0,"@metamask/utils":!0,buffer:!0,uuid:!0,"webpack>events":!0}},"@metamask/smart-transactions-controller":{globals:{URLSearchParams:!0,clearInterval:!0,"console.error":!0,"console.log":!0,fetch:!0,setInterval:!0},packages:{"@ethersproject/bytes":!0,"@ethersproject/transactions":!0,"@metamask/controller-utils":!0,"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/polling-controller":!0,"@metamask/smart-transactions-controller>bignumber.js":!0,"@metamask/superstruct":!0,"@metamask/transaction-controller":!0,"@metamask/utils":!0,"ethers>@ethersproject/keccak256":!0,lodash:!0,reselect:!0}},"@metamask/smart-transactions-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/snap-account-service":{globals:{"console.error":!0},packages:{"@metamask/eth-snap-keyring":!0,"@metamask/eth-snap-keyring>@metamask/keyring-snap-sdk":!0,"@metamask/keyring-api":!0,"@metamask/keyring-controller":!0,"@metamask/utils":!0,lodash:!0}},"@metamask/snaps-controllers":{globals:{DecompressionStream:!0,URL:!0,WebSocket:!0,clearTimeout:!0,"document.getElementById":!0,"fetch.bind":!0,setTimeout:!0},packages:{"@metamask/approval-controller":!0,"@metamask/base-controller":!0,"@metamask/json-rpc-engine":!0,"@metamask/json-rpc-middleware-stream":!0,"@metamask/object-multiplex":!0,"@metamask/permission-controller":!0,"@metamask/post-message-stream":!0,"@metamask/rpc-errors":!0,"@metamask/snaps-controllers>@xstate/fsm":!0,"@metamask/snaps-controllers>concat-stream":!0,"@metamask/snaps-controllers>get-npm-tarball-url":!0,"@metamask/snaps-controllers>readable-stream":!0,"@metamask/snaps-controllers>readable-web-to-node-stream":!0,"@metamask/snaps-controllers>tar-stream":!0,"@metamask/snaps-registry":!0,"@metamask/snaps-rpc-methods":!0,"@metamask/snaps-sdk":!0,"@metamask/snaps-utils":!0,"@metamask/utils":!0,"async-mutex":!0,"cron-parser":!0,"eslint>fast-deep-equal":!0,immer:!0,luxon:!0,nanoid:!0,semver:!0}},"@metamask/snaps-controllers>concat-stream":{globals:{"Buffer.concat":!0,"Buffer.isBuffer":!0},packages:{"@metamask/snaps-controllers>readable-stream":!0,"browserify>concat-stream>typedarray":!0,buffer:!0,"pumpify>inherits":!0,"terser>source-map-support>buffer-from":!0}},"@metamask/snaps-controllers>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"@metamask/snaps-controllers>readable-web-to-node-stream":{packages:{"@metamask/snaps-controllers>readable-web-to-node-stream>readable-stream":!0}},"@metamask/snaps-controllers>readable-web-to-node-stream>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"@metamask/snaps-controllers>tar-stream":{packages:{"@metamask/snaps-controllers>tar-stream>b4a":!0,"@metamask/snaps-controllers>tar-stream>fast-fifo":!0,"@metamask/snaps-controllers>tar-stream>streamx":!0}},"@metamask/snaps-controllers>tar-stream>b4a":{globals:{TextDecoder:!0,TextEncoder:!0}},"@metamask/snaps-controllers>tar-stream>streamx":{packages:{"@metamask/snaps-controllers>tar-stream>fast-fifo":!0,"@metamask/snaps-controllers>tar-stream>streamx>queue-tick":!0,"webpack>events":!0}},"@metamask/snaps-controllers>tar-stream>streamx>queue-tick":{globals:{queueMicrotask:!0}},"@metamask/snaps-execution-environments":{globals:{"document.getElementById":!0},packages:{"@metamask/post-message-stream":!0,"@metamask/snaps-utils":!0,"@metamask/utils":!0}},"@metamask/snaps-registry":{globals:{crypto:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils":!0,"@noble/curves":!0,"@noble/hashes":!0}},"@metamask/snaps-rpc-methods":{packages:{"@metamask/json-rpc-engine":!0,"@metamask/permission-controller":!0,"@metamask/rpc-errors":!0,"@metamask/snaps-sdk":!0,"@metamask/snaps-sdk>@metamask/key-tree":!0,"@metamask/snaps-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"@noble/hashes":!0,"async-mutex":!0}},"@metamask/snaps-sdk":{globals:{URL:!0},packages:{"@metamask/rpc-errors":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,luxon:!0}},"@metamask/snaps-sdk>@metamask/key-tree":{globals:{"crypto.subtle":!0,ed25519:!0,ed25519Bip32:!0,secp256k1:!0},packages:{"@metamask/scure-bip39":!0,"@metamask/utils":!0,"@noble/curves":!0,"@noble/hashes":!0,"@scure/base":!0}},"@metamask/snaps-utils":{globals:{File:!0,FileReader:!0,TextDecoder:!0,TextEncoder:!0,URL:!0,"console.error":!0,"console.log":!0,"console.warn":!0,"document.body.appendChild":!0,"document.createElement":!0,fetch:!0,navigator:!0},packages:{"@metamask/permission-controller":!0,"@metamask/rpc-errors":!0,"@metamask/snaps-sdk":!0,"@metamask/snaps-sdk>@metamask/key-tree":!0,"@metamask/snaps-utils>@metamask/slip44":!0,"@metamask/snaps-utils>fast-xml-parser":!0,"@metamask/snaps-utils>marked":!0,"@metamask/snaps-utils>rfdc":!0,"@metamask/snaps-utils>validate-npm-package-name":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"@scure/base":!0,chalk:!0,"cron-parser":!0,"fast-json-stable-stringify":!0,luxon:!0,semver:!0}},"@metamask/snaps-utils>fast-xml-parser":{globals:{"exports.isExist":!0},packages:{"@metamask/snaps-utils>fast-xml-parser>@nodable/entities":!0,"@metamask/snaps-utils>fast-xml-parser>path-expression-matcher":!0,"@metamask/snaps-utils>fast-xml-parser>strnum":!0}},"@metamask/snaps-utils>marked":{globals:{"console.error":!0,"console.warn":!0}},"@metamask/snaps-utils>rfdc":{globals:{Buffer:!0},packages:{buffer:!0}},"@metamask/snaps-utils>validate-npm-package-name":{packages:{"@metamask/snaps-utils>validate-npm-package-name>builtins":!0}},"@metamask/snaps-utils>validate-npm-package-name>builtins":{globals:{"process.version":!0},packages:{process:!0,semver:!0}},"@metamask/storage-service":{globals:{"console.error":!0,"console.warn":!0}},"@metamask/subscription-controller":{globals:{URL:!0},packages:{"@metamask/polling-controller":!0,"@metamask/subscription-controller>bignumber.js":!0,"@metamask/transaction-controller":!0,"@metamask/utils":!0}},"@metamask/subscription-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/transaction-controller":{globals:{"Buffer.from":!0,clearInterval:!0,clearTimeout:!0,"console.error":!0,fetch:!0,setInterval:!0,setTimeout:!0},packages:{"@ethereumjs/tx":!0,"@ethereumjs/tx>@ethereumjs/common":!0,"@ethersproject/abi":!0,"@ethersproject/contracts":!0,"@ethersproject/providers":!0,"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/gas-fee-controller":!0,"@metamask/metamask-eth-abis":!0,"@metamask/network-controller":!0,"@metamask/rpc-errors":!0,"@metamask/transaction-controller>@metamask/nonce-tracker":!0,"@metamask/transaction-controller>bignumber.js":!0,"@metamask/utils":!0,"async-mutex":!0,buffer:!0,"eth-method-registry":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/wallet":!0,lodash:!0,uuid:!0,"webpack>events":!0}},"@metamask/transaction-controller>@metamask/nonce-tracker":{packages:{"@ethersproject/providers":!0,"@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex":!0,"@ngraveio/bc-ur>assert":!0}},"@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex":{globals:{clearTimeout:!0,setTimeout:!0},packages:{tslib:!0}},"@metamask/transaction-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/transaction-pay-controller":{globals:{AbortController:!0,URLSearchParams:!0,clearTimeout:!0,fetch:!0,setTimeout:!0},packages:{"@ethersproject/abi":!0,"@metamask/base-controller":!0,"@metamask/bridge-controller":!0,"@metamask/controller-utils":!0,"@metamask/keyring-controller":!0,"@metamask/metamask-eth-abis":!0,"@metamask/network-controller":!0,"@metamask/transaction-controller":!0,"@metamask/transaction-pay-controller>@metamask/ramps-controller":!0,"@metamask/transaction-pay-controller>bignumber.js":!0,"@metamask/utils":!0,lodash:!0}},"@metamask/transaction-pay-controller>@metamask/ramps-controller":{globals:{URL:!0},packages:{"@metamask/controller-utils":!0}},"@metamask/transaction-pay-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/user-operation-controller":{globals:{fetch:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/gas-fee-controller":!0,"@metamask/polling-controller":!0,"@metamask/rpc-errors":!0,"@metamask/superstruct":!0,"@metamask/transaction-controller":!0,"@metamask/utils":!0,"ethereumjs-util>bn.js":!0,lodash:!0,uuid:!0,"webpack>events":!0}},"@metamask/utils":{globals:{Buffer:!0,TextDecoder:!0,TextEncoder:!0,crypto:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils>pony-cause":!0,"@noble/hashes":!0,"@scure/base":!0,buffer:!0,lodash:!0,"nock>debug":!0,semver:!0}},"@metamask/wallet":{packages:{"@metamask/accounts-controller":!0,"@metamask/address-book-controller":!0,"@metamask/approval-controller":!0,"@metamask/browser-passworder":!0,"@metamask/connectivity-controller":!0,"@metamask/controller-utils":!0,"@metamask/keyring-controller":!0,"@metamask/messenger":!0,"@metamask/network-controller":!0,"@metamask/remote-feature-flag-controller":!0,"@metamask/storage-service":!0,"@metamask/utils":!0}},"@mui/material":{globals:{CSS:!0,DocumentFragment:!0,IntersectionObserver:!0,MutationObserver:!0,ResizeObserver:!0,addEventListener:!0,cancelAnimationFrame:!0,clearInterval:!0,clearTimeout:!0,"console.error":!0,"console.warn":!0,"document.activeElement":!0,"document.body":!0,getSelection:!0,navigator:!0,"performance.now":!0,removeEventListener:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"@emotion/react":!0,"@mui/material>react-is":!0,"@mui/system":!0,"@mui/system>@mui/utils":!0,clsx:!0,"prop-types":!0,react:!0,"react-dom":!0,"react-transition-group":!0}},"@mui/system":{globals:{"console.error":!0,"console.warn":!0,"document.createElement":!0,"document.querySelector":!0,matchMedia:!0},packages:{"@babel/runtime":!0,"@emotion/react":!0,"@mui/system>@mui/private-theming":!0,"@mui/system>@mui/styled-engine":!0,"@mui/system>@mui/utils":!0,"prop-types":!0,react:!0}},"@mui/system>@mui/private-theming":{globals:{"console.error":!0},packages:{"@babel/runtime":!0,"@mui/system>@mui/utils":!0,"prop-types":!0,react:!0}},"@mui/system>@mui/styled-engine":{globals:{"console.error":!0,document:!0},packages:{"@emotion/react":!0,"@emotion/react>@emotion/cache":!0,"@emotion/react>@emotion/serialize":!0,"@emotion/styled":!0,"prop-types":!0,react:!0}},"@mui/system>@mui/utils":{globals:{clearTimeout:!0,"console.error":!0,document:!0,innerWidth:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"@mui/system>@mui/utils>react-is":!0,clsx:!0,react:!0}},"@mui/x-date-pickers":{globals:{Intl:!0,Range:!0,addEventListener:!0,clearTimeout:!0,"console.error":!0,"console.warn":!0,document:!0,innerHeight:!0,navigator:!0,orientation:!0,removeEventListener:!0,screen:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"@mui/material":!0,"@mui/system":!0,"@mui/x-date-pickers>@mui/utils":!0,"@mui/x-date-pickers>@mui/x-internals":!0,clsx:!0,luxon:!0,"prop-types":!0,react:!0,"react-transition-group":!0}},"@mui/x-date-pickers>@mui/utils":{globals:{URL:!0,"console.error":!0},packages:{clsx:!0,"prop-types":!0,react:!0}},"@ngraveio/bc-ur":{globals:{"Buffer.alloc":!0,"Buffer.allocUnsafe":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0},packages:{"@ngraveio/bc-ur>@keystonehq/alias-sampling":!0,"@ngraveio/bc-ur>assert":!0,"@ngraveio/bc-ur>bignumber.js":!0,"@ngraveio/bc-ur>cbor-sync":!0,"@ngraveio/bc-ur>crc":!0,"@ngraveio/bc-ur>jsbi":!0,"@ngraveio/bc-ur>sha.js":!0,buffer:!0}},"@ngraveio/bc-ur>assert":{globals:{console:!0,"process.emitWarning":!0,"process.stderr":!0},packages:{"@ngraveio/bc-ur>assert>is-nan":!0,"@ngraveio/bc-ur>assert>object-is":!0,"browserify>util":!0,"gulp>vinyl-fs>object.assign":!0,process:!0,"string.prototype.matchall>call-bind":!0}},"@ngraveio/bc-ur>assert>is-nan":{packages:{"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>define-properties":!0}},"@ngraveio/bc-ur>assert>object-is":{packages:{"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>define-properties":!0}},"@ngraveio/bc-ur>bignumber.js":{globals:{crypto:!0,define:!0}},"@ngraveio/bc-ur>cbor-sync":{globals:{Buffer:!0,define:!0},packages:{buffer:!0}},"@ngraveio/bc-ur>crc":{packages:{"@ngraveio/bc-ur>crc>buffer":!0}},"@ngraveio/bc-ur>crc>buffer":{globals:{console:!0},packages:{"base64-js":!0,"buffer>ieee754":!0}},"@ngraveio/bc-ur>jsbi":{globals:{define:!0}},"@ngraveio/bc-ur>sha.js":{packages:{"@ngraveio/bc-ur>sha.js>to-buffer":!0,"mockttp>express>safe-buffer":!0,"pumpify>inherits":!0}},"@ngraveio/bc-ur>sha.js>to-buffer":{packages:{"@lavamoat/webpack>json-stable-stringify>isarray":!0,"mockttp>express>safe-buffer":!0,"string.prototype.matchall>es-abstract>typed-array-buffer":!0}},"@noble/ciphers":{globals:{TextDecoder:!0,TextEncoder:!0,crypto:!0}},"@noble/curves":{packages:{"@noble/hashes":!0}},"@noble/hashes":{globals:{TextDecoder:!0,TextEncoder:!0,crypto:!0}},"@open-rpc/schema-utils-js":{packages:{"@metamask/rpc-errors>fast-safe-stringify":!0,"@open-rpc/meta-schema":!0,"@open-rpc/schema-utils-js>@json-schema-tools/dereferencer":!0,"@open-rpc/schema-utils-js>@json-schema-tools/meta-schema":!0,"@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver":!0,"@open-rpc/schema-utils-js>is-url":!0,"eslint>ajv":!0}},"@open-rpc/schema-utils-js>@json-schema-tools/dereferencer":{packages:{"@metamask/rpc-errors>fast-safe-stringify":!0,"@open-rpc/schema-utils-js>@json-schema-tools/dereferencer>@json-schema-tools/traverse":!0,"@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver":!0}},"@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver":{packages:{"@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver>@json-schema-spec/json-pointer":!0,"@open-rpc/test-coverage>isomorphic-fetch":!0}},"@open-rpc/test-coverage>isomorphic-fetch":{globals:{"fetch.bind":!0},packages:{"@open-rpc/test-coverage>isomorphic-fetch>whatwg-fetch":!0}},"@open-rpc/test-coverage>isomorphic-fetch>whatwg-fetch":{globals:{AbortController:!0,Blob:!0,DOMException:!0,FileReader:!0,FormData:!0,"URLSearchParams.prototype.isPrototypeOf":!0,XMLHttpRequest:!0,"console.warn":!0,fetch:!0,setTimeout:!0}},"@popperjs/core":{globals:{Element:!0,HTMLElement:!0,ShadowRoot:!0,devicePixelRatio:!0,document:!0,"navigator.userAgent":!0,"navigator.userAgentData":!0}},"@reduxjs/toolkit":{globals:{AbortController:!0,__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:!0,__REDUX_DEVTOOLS_EXTENSION__:!0,console:!0,process:!0,queueMicrotask:!0,requestAnimationFrame:!0,setTimeout:!0},packages:{"@reduxjs/toolkit>reselect":!0,immer:!0,process:!0,redux:!0,"redux-thunk":!0}},"@rive-app/react-canvas":{globals:{IntersectionObserver:!0,ResizeObserver:!0,addEventListener:!0,clearTimeout:!0,"console.error":!0,devicePixelRatio:!0,"document.documentElement.clientHeight":!0,"document.documentElement.clientWidth":!0,innerHeight:!0,innerWidth:!0,matchMedia:!0,removeEventListener:!0,setTimeout:!0},packages:{"@rive-app/react-canvas>@rive-app/canvas":!0,react:!0}},"@rive-app/react-canvas>@rive-app/canvas":{globals:{AudioContext:!1,Blob:!0,DOMMatrix:!1,FinalizationRegistry:!1,HTMLCanvasElement:!0,Image:!0,Iterator:!1,MouseEvent:!1,Path2D:!0,Request:!0,ResizeObserver:!1,TextDecoder:!0,"URL.createObjectURL":!0,"URL.revokeObjectURL":!0,WebAssembly:!0,XMLHttpRequest:!1,cancelAnimationFrame:!0,clearInterval:!0,clearTimeout:!0,console:!0,crypto:!1,define:!1,devicePixelRatio:!0,document:!1,"document.createElement":!0,fetch:!1,h:!1,importScripts:!1,location:!1,navigator:!1,"navigator.userAgent":!0,"performance.now":!0,prompt:!1,readline:!1,requestAnimationFrame:!0,setTimeout:!0,webkitAudioContext:!1}},"@scure/base":{globals:{TextDecoder:!0,TextEncoder:!0}},"@segment/analytics-node":{globals:{AbortController:!0,EdgeRuntime:!1,URL:!0,WebSocketPair:!1,WorkerGlobalScope:!1,clearTimeout:!0,"console.warn":!0,fetch:!0,importScripts:!1,process:!0,setTimeout:!0},packages:{"@segment/analytics-node>@lukeed/uuid":!0,"@segment/analytics-node>@segment/analytics-core":!0,"@segment/analytics-node>@segment/analytics-generic-utils":!0,"@segment/analytics-node>jose":!0,process:!0}},"@segment/analytics-node>@segment/analytics-core":{globals:{clearTimeout:!0,console:!0,setTimeout:!0},packages:{"@segment/analytics-node>@lukeed/uuid":!0,"@segment/analytics-node>@segment/analytics-core>dset":!0,"@segment/analytics-node>@segment/analytics-generic-utils":!0,tslib:!0}},"@segment/analytics-node>@segment/analytics-generic-utils":{globals:{"console.warn":!0}},"@segment/analytics-node>jose":{globals:{CryptoKey:!0,TextDecoder:!0,TextEncoder:!0,atob:!0,btoa:!0,crypto:!0}},"@sentry/browser":{globals:{"PerformanceObserver.supportedEntryTypes":!0,Request:!0,URL:!0,"XMLHttpRequest.prototype":!0,__SENTRY_DEBUG__:!0,__SENTRY_RELEASE__:!0,addEventListener:!0,"console.error":!0,"indexedDB.open":!0,"performance.timeOrigin":!0,setTimeout:!0},packages:{"@sentry/browser>@sentry-internal/browser-utils":!0,"@sentry/browser>@sentry-internal/feedback":!0,"@sentry/browser>@sentry-internal/replay":!0,"@sentry/browser>@sentry-internal/replay-canvas":!0,"@sentry/browser>@sentry/core":!0,"@sentry/utils":!0}},"@sentry/browser>@sentry-internal/browser-utils":{globals:{"PerformanceEventTiming.prototype":!0,PerformanceObserver:!0,"XMLHttpRequest.prototype":!0,__SENTRY_DEBUG__:!0,addEventListener:!0,clearTimeout:!0,performance:!0,removeEventListener:!0,setTimeout:!0},packages:{"@sentry/browser>@sentry/core":!0,"@sentry/utils":!0}},"@sentry/browser>@sentry-internal/feedback":{globals:{FormData:!0,HTMLFormElement:!0,__SENTRY_DEBUG__:!0,cancelAnimationFrame:!0,clearTimeout:!0,"document.createElement":!0,"document.createElementNS":!0,"document.createTextNode":!0,isSecureContext:!0,requestAnimationFrame:!0,setTimeout:!0},packages:{"@sentry/browser>@sentry/core":!0,"@sentry/utils":!0}},"@sentry/browser>@sentry-internal/replay":{globals:{Blob:!0,CSSConditionRule:!0,CSSGroupingRule:!0,CSSMediaRule:!0,CSSRule:!0,CSSSupportsRule:!0,Document:!0,DragEvent:!0,Element:!0,FormData:!0,HTMLElement:!0,HTMLFormElement:!0,Headers:!0,MouseEvent:!0,MutationObserver:!0,"Node.DOCUMENT_FRAGMENT_NODE":!0,"Node.prototype.contains":!0,PointerEvent:!0,TextEncoder:!0,URL:!0,URLSearchParams:!0,Worker:!0,__RRWEB_EXCLUDE_IFRAME__:!0,__RRWEB_EXCLUDE_SHADOW_DOM__:!0,__SENTRY_DEBUG__:!0,__SENTRY_EXCLUDE_REPLAY_WORKER__:!0,__rrMutationObserver:!0,addEventListener:!0,clearTimeout:!0,"console.debug":!0,"console.error":!0,"console.warn":!0,"customElements.get":!0,document:!0,innerHeight:!0,innerWidth:!0,"location.href":!0,"location.origin":!0,parent:!0,setTimeout:!0},packages:{"@sentry/browser>@sentry-internal/browser-utils":!0,"@sentry/browser>@sentry/core":!0,"@sentry/utils":!0}},"@sentry/browser>@sentry-internal/replay-canvas":{globals:{Blob:!0,HTMLCanvasElement:!0,HTMLImageElement:!0,ImageData:!0,"URL.createObjectURL":!0,WeakRef:!0,Worker:!0,cancelAnimationFrame:!0,"console.error":!0,createImageBitmap:!0,document:!0},packages:{"@sentry/browser>@sentry/core":!0,"@sentry/utils":!0}},"@sentry/browser>@sentry/core":{globals:{Headers:!0,Request:!0,URL:!0,__SENTRY_DEBUG__:!0,__SENTRY_TRACING__:!0,clearInterval:!0,clearTimeout:!0,"console.log":!0,"console.warn":!0,setInterval:!0,setTimeout:!0},packages:{"@sentry/utils":!0}},"@sentry/utils":{globals:{CustomEvent:!0,DOMError:!0,DOMException:!0,EdgeRuntime:!0,Element:!0,ErrorEvent:!0,Event:!0,HTMLElement:!0,Headers:!0,PerformanceObserver:!0,Request:!0,Response:!0,TextDecoder:!0,TextEncoder:!0,__SENTRY_BROWSER_BUNDLE__:!0,__SENTRY_DEBUG__:!0,addEventListener:!0,"chrome.app":!0,"chrome.runtime":!0,clearTimeout:!0,"console.error":!0,crypto:!0,devicePixelRatio:!0,document:!0,location:!1,"location.href":!0,module:!0,"navigator.language":!0,"navigator.userAgent":!0,"navigator.userAgentData":!0,onunhandledrejection:!0,"performance.now":!0,"performance.timeOrigin":!0,process:!0,setTimeout:!0,top:!0},packages:{process:!0}},"@simplewebauthn/browser":{globals:{AbortController:!0,AbortSignal:!0,PublicKeyCredential:!0,atob:!0,btoa:!0,"console.warn":!0,"document.querySelectorAll":!0,"location.hostname":!0,"navigator.credentials.create":!0,"navigator.credentials.get":!0}},"@solana/addresses":{globals:{"Intl.Collator":!0,TextEncoder:!0,"crypto.subtle.digest":!0,"crypto.subtle.exportKey":!0},packages:{"@solana/addresses>@solana/assertions":!0,"@solana/addresses>@solana/codecs-core":!0,"@solana/addresses>@solana/codecs-strings":!0,"@solana/addresses>@solana/errors":!0}},"@solana/addresses>@solana/codecs-core":{packages:{"@solana/addresses>@solana/errors":!0}},"@solana/addresses>@solana/codecs-strings":{globals:{TextDecoder:!0,TextEncoder:!0,atob:!0,btoa:!0},packages:{"@solana/addresses>@solana/codecs-core":!0,"@solana/addresses>@solana/errors":!0}},"@solana/addresses>@solana/errors":{globals:{btoa:!0}},"@storybook/addon-docs>remark-external-links>mdast-util-definitions":{packages:{"react-markdown>unist-util-visit":!0}},"@storybook/react>util-deprecate":{globals:{"console.trace":!0,"console.warn":!0,localStorage:!0}},"@tanstack/react-query":{globals:{ReactQueryClientContext:"write"},packages:{"@tanstack/react-query>@tanstack/query-core":!0,"@tanstack/react-query>use-sync-external-store":!0,react:!0}},"@tanstack/react-query>@tanstack/query-core":{globals:{AbortController:!0,addEventListener:!1,clearInterval:!0,clearTimeout:!0,document:!1,navigator:!0,removeEventListener:!0,setInterval:!0,setTimeout:!0}},"@tanstack/react-query>use-sync-external-store":{globals:{__REACT_DEVTOOLS_GLOBAL_HOOK__:!1,document:!1,"document.createElement":!0},packages:{react:!0}},"@tanstack/react-virtual":{globals:{document:!0,scrollY:!0},packages:{"@tanstack/react-virtual>@tanstack/virtual-core":!0,react:!0,"react-dom":!0}},"@tanstack/react-virtual>@tanstack/virtual-core":{globals:{"console.info":!0,"console.warn":!0,requestAnimationFrame:!0}},"@toruslabs/eccrypto":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,crypto:!0,msCrypto:!0},packages:{"@toruslabs/eccrypto>elliptic":!0,buffer:!0}},"@toruslabs/eccrypto>elliptic":{packages:{"@toruslabs/eccrypto>elliptic>brorand":!0,"@toruslabs/eccrypto>elliptic>hmac-drbg":!0,"@toruslabs/eccrypto>elliptic>minimalistic-assert":!0,"@toruslabs/eccrypto>elliptic>minimalistic-crypto-utils":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/sha2>hash.js":!0,"pumpify>inherits":!0}},"@toruslabs/eccrypto>elliptic>brorand":{globals:{crypto:!0,msCrypto:!0}},"@toruslabs/eccrypto>elliptic>hmac-drbg":{packages:{"@toruslabs/eccrypto>elliptic>minimalistic-assert":!0,"@toruslabs/eccrypto>elliptic>minimalistic-crypto-utils":!0,"ethers>@ethersproject/sha2>hash.js":!0}},"@trezor/connect-web":{globals:{URLSearchParams:!0,__TREZOR_CONNECT_SRC:!0,addEventListener:!0,btoa:!0,chrome:!0,clearInterval:!0,clearTimeout:!0,"console.warn":!0,"document.body":!0,"document.createElement":!0,"document.createTextNode":!0,"document.getElementById":!0,"document.querySelectorAll":!0,"location.origin":!0,navigator:!0,open:!0,origin:!0,removeEventListener:!0,setInterval:!0,setTimeout:!0},packages:{"@trezor/connect-web>@trezor/connect":!0,"@trezor/connect-web>@trezor/connect-common":!0,"@trezor/connect-web>@trezor/connect>@trezor/blockchain-link>@trezor/websocket-client":!0,"@trezor/connect-web>@trezor/utils":!0,tslib:!0,"webpack>events":!0}},"@trezor/connect-web>@trezor/connect":{packages:{"@trezor/connect-web>@trezor/connect>@trezor/device-utils":!0,"@trezor/connect-web>@trezor/connect>@trezor/protobuf":!0,"@trezor/connect-web>@trezor/connect>@trezor/schema-utils":!0,"@trezor/connect-web>@trezor/connect>@trezor/transport":!0,"@trezor/connect-web>@trezor/utils":!0,tslib:!0}},"@trezor/connect-web>@trezor/connect-common":{globals:{"console.warn":!0,"localStorage.getItem":!0,"localStorage.setItem":!0,navigator:!0,setTimeout:!0,window:!0},packages:{"@trezor/connect-web>@trezor/connect-common>@trezor/env-utils":!0,"@trezor/connect-web>@trezor/utils":!0,tslib:!0}},"@trezor/connect-web>@trezor/connect-common>@trezor/env-utils":{globals:{innerHeight:!0,innerWidth:!0,"location.hostname":!0,"location.origin":!0,"navigator.languages":!0,"navigator.platform":!0,"navigator.userAgent":!0,process:!0,"screen.height":!0,"screen.width":!0},packages:{"@trezor/connect-web>@trezor/connect-common>@trezor/env-utils>ua-parser-js":!0,process:!0}},"@trezor/connect-web>@trezor/connect-common>@trezor/env-utils>ua-parser-js":{globals:{define:!0,"navigator.userAgentData":!0}},"@trezor/connect-web>@trezor/connect>@trezor/blockchain-link>@trezor/websocket-client":{globals:{WebSocket:!0,clearTimeout:!0,setTimeout:!0},packages:{"@trezor/connect-web>@trezor/utils":!0,tslib:!0,"webpack>events":!0}},"@trezor/connect-web>@trezor/connect>@trezor/device-utils":{packages:{tslib:!0}},"@trezor/connect-web>@trezor/connect>@trezor/protobuf":{globals:{"Buffer.from":!0},packages:{"@google/genai>protobufjs":!0,"@trezor/connect-web>@trezor/connect>@trezor/protobuf>long":!0,"@trezor/connect-web>@trezor/connect>@trezor/schema-utils":!0,buffer:!0,tslib:!0}},"@trezor/connect-web>@trezor/connect>@trezor/protobuf>long":{globals:{"WebAssembly.Instance":!0,"WebAssembly.Module":!0,define:!0}},"@trezor/connect-web>@trezor/connect>@trezor/schema-utils":{globals:{Buffer:!0,"console.warn":!0},packages:{"@trezor/connect-web>@trezor/connect>@trezor/schema-utils>@sinclair/typebox":!0,buffer:!0,"ts-mixer":!0}},"@trezor/connect-web>@trezor/utils":{globals:{AbortController:!0,Blob:!0,"Buffer.alloc":!0,"Buffer.allocUnsafe":!0,"Intl.NumberFormat":!0,TextEncoder:!0,clearInterval:!0,clearTimeout:!0,"console.error":!0,"console.info":!0,"console.log":!0,"console.warn":!0,"crypto.getRandomValues":!0,setInterval:!0,setTimeout:!0},packages:{"@trezor/connect-web>@trezor/utils>bignumber.js":!0,buffer:!0,tslib:!0,"webpack>events":!0}},"@trezor/connect-web>@trezor/utils>bignumber.js":{globals:{crypto:!0,define:!0}},"@zxing/browser":{globals:{HTMLElement:!0,HTMLImageElement:!0,HTMLVideoElement:!0,clearTimeout:!0,"console.error":!0,"console.warn":!0,document:!0,navigator:!0,setTimeout:!0},packages:{"@zxing/library":!0}},"@zxing/library":{globals:{HTMLImageElement:!0,HTMLVideoElement:!0,TextDecoder:!0,TextEncoder:!0,"URL.createObjectURL":!0,btoa:!0,"console.log":!0,"console.warn":!0,document:!0,navigator:!0,setTimeout:!0},packages:{"@zxing/library>ts-custom-error":!0}},"async-mutex":{globals:{clearTimeout:!0,setTimeout:!0},packages:{tslib:!0}},"base32-encode":{packages:{"base32-encode>to-data-view":!0}},"bignumber.js":{globals:{crypto:!0,define:!0}},bowser:{globals:{define:!0}},"browserify>string_decoder":{packages:{"mockttp>express>safe-buffer":!0}},"browserify>url":{packages:{"browserify>url>punycode":!0,"mockttp>express>qs":!0}},"browserify>url>punycode":{globals:{define:!0}},"browserify>util":{globals:{SharedArrayBuffer:!0,"console.error":!0,"console.log":!0,"console.trace":!0,process:!0},packages:{"browserify>util>is-arguments":!0,"browserify>util>is-generator-function":!0,"browserify>util>is-typed-array":!0,"browserify>util>which-typed-array":!0,process:!0,"pumpify>inherits":!0}},"browserify>util>is-arguments":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bind":!0}},"browserify>util>is-generator-function":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>get-proto":!0,"string.prototype.matchall>es-abstract>safe-regex-test":!0,"string.prototype.matchall>get-intrinsic>generator-function":!0}},"browserify>util>is-typed-array":{packages:{"browserify>util>which-typed-array":!0}},"browserify>util>which-typed-array":{packages:{"browserify>util>which-typed-array>for-each":!0,"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>available-typed-arrays":!0,"string.prototype.matchall>es-abstract>get-proto":!0,"string.prototype.matchall>gopd":!0}},"browserify>util>which-typed-array>for-each":{packages:{"string.prototype.matchall>es-abstract>is-callable":!0}},bs58:{packages:{"bs58>base-x":!0}},buffer:{globals:{SharedArrayBuffer:!0,console:!0},packages:{"base64-js":!0,"buffer>ieee754":!0}},chalk:{packages:{"chalk>ansi-styles":!0,"chalk>supports-color":!0}},"chalk>ansi-styles":{packages:{"chalk>ansi-styles>color-convert":!0}},"chalk>ansi-styles>color-convert":{packages:{"jest-canvas-mock>moo-color>color-name":!0}},"chart.js":{globals:{"Intl.NumberFormat":!0,MutationObserver:!0,OffscreenCanvas:!0,Path2D:!0,ResizeObserver:!0,addEventListener:!0,clearTimeout:!0,"console.error":!0,"console.warn":!0,devicePixelRatio:!0,document:!0,removeEventListener:!0,requestAnimationFrame:!0,setTimeout:!0},packages:{"chart.js>@kurkle/color":!0}},cockatiel:{globals:{AbortController:!0,AbortSignal:!0,WeakRef:!0,clearTimeout:!0,performance:!0,"process.hrtime.bigint":!0,setTimeout:!0},packages:{process:!0}},"copy-to-clipboard":{globals:{clipboardData:!0,"console.error":!0,"console.warn":!0,"document.body.appendChild":!0,"document.body.removeChild":!0,"document.createElement":!0,"document.createRange":!0,"document.execCommand":!0,"document.getSelection":!0,"navigator.userAgent":!0,prompt:!0},packages:{"copy-to-clipboard>toggle-selection":!0}},"copy-to-clipboard>toggle-selection":{globals:{"document.activeElement":!0,"document.getSelection":!0}},"core-js-pure":{globals:{"Bun.version":!0,"Deno.version":!0,document:!0,setTimeout:!0}},"cron-parser":{packages:{luxon:!0}},"crypto-browserify":{packages:{"crypto-browserify>browserify-cipher":!0,"crypto-browserify>browserify-sign":!0,"crypto-browserify>create-ecdh":!0,"crypto-browserify>create-hmac":!0,"crypto-browserify>diffie-hellman":!0,"crypto-browserify>pbkdf2":!0,"crypto-browserify>public-encrypt":!0,"crypto-browserify>randombytes":!0,"crypto-browserify>randomfill":!0,"ethereumjs-util>create-hash":!0}},"crypto-browserify>browserify-cipher":{packages:{"crypto-browserify>browserify-cipher>browserify-des":!0,"crypto-browserify>browserify-cipher>evp_bytestokey":!0,"ethereumjs-util>ethereum-cryptography>browserify-aes":!0}},"crypto-browserify>browserify-cipher>browserify-des":{globals:{Buffer:!0},packages:{buffer:!0,"crypto-browserify>browserify-cipher>browserify-des>des.js":!0,"ethereumjs-util>create-hash>cipher-base":!0,"pumpify>inherits":!0}},"crypto-browserify>browserify-cipher>browserify-des>des.js":{packages:{"@toruslabs/eccrypto>elliptic>minimalistic-assert":!0,"pumpify>inherits":!0}},"crypto-browserify>browserify-cipher>evp_bytestokey":{packages:{"ethereumjs-util>create-hash>md5.js":!0,"mockttp>express>safe-buffer":!0}},"crypto-browserify>browserify-sign":{packages:{"@toruslabs/eccrypto>elliptic":!0,"crypto-browserify>browserify-sign>readable-stream":!0,"crypto-browserify>create-hmac":!0,"crypto-browserify>public-encrypt>browserify-rsa":!0,"crypto-browserify>public-encrypt>parse-asn1":!0,"ethereumjs-util>bn.js":!0,"ethereumjs-util>create-hash":!0,"mockttp>express>safe-buffer":!0,"pumpify>inherits":!0}},"crypto-browserify>browserify-sign>readable-stream":{globals:{"process.browser":!0,"process.stderr":!0,"process.stdout":!0,"process.version.slice":!0,setImmediate:!0},packages:{"@storybook/react>util-deprecate":!0,"core-js-pure":!0,"crypto-browserify>browserify-sign>readable-stream>isarray":!0,"crypto-browserify>browserify-sign>readable-stream>safe-buffer":!0,"crypto-browserify>browserify-sign>readable-stream>string_decoder":!0,process:!0,"pumpify>inherits":!0,"readable-stream-2>core-util-is":!0,"readable-stream-2>process-nextick-args":!0,"webpack>events":!0}},"crypto-browserify>browserify-sign>readable-stream>safe-buffer":{packages:{buffer:!0}},"crypto-browserify>browserify-sign>readable-stream>string_decoder":{packages:{"crypto-browserify>browserify-sign>readable-stream>string_decoder>safe-buffer":!0}},"crypto-browserify>browserify-sign>readable-stream>string_decoder>safe-buffer":{packages:{buffer:!0}},"crypto-browserify>create-ecdh":{globals:{Buffer:!0},packages:{"@toruslabs/eccrypto>elliptic":!0,buffer:!0,"ethereumjs-util>bn.js":!0}},"crypto-browserify>create-hmac":{packages:{"@ngraveio/bc-ur>sha.js":!0,"ethereumjs-util>create-hash":!0,"ethereumjs-util>create-hash>cipher-base":!0,"ethereumjs-util>create-hash>ripemd160":!0,"mockttp>express>safe-buffer":!0,"pumpify>inherits":!0}},"crypto-browserify>diffie-hellman":{globals:{Buffer:!0},packages:{buffer:!0,"crypto-browserify>diffie-hellman>miller-rabin":!0,"crypto-browserify>randombytes":!0,"ethereumjs-util>bn.js":!0}},"crypto-browserify>diffie-hellman>miller-rabin":{packages:{"@toruslabs/eccrypto>elliptic>brorand":!0,"ethereumjs-util>bn.js":!0}},"crypto-browserify>pbkdf2":{globals:{crypto:!0,process:!0,queueMicrotask:!0,setImmediate:!0,setTimeout:!0},packages:{"@ngraveio/bc-ur>sha.js":!0,"@ngraveio/bc-ur>sha.js>to-buffer":!0,"crypto-browserify>pbkdf2>create-hash":!0,"crypto-browserify>pbkdf2>ripemd160":!0,"mockttp>express>safe-buffer":!0,process:!0}},"crypto-browserify>pbkdf2>create-hash":{globals:{Buffer:!0},packages:{buffer:!0}},"crypto-browserify>pbkdf2>ripemd160":{globals:{Buffer:!0},packages:{buffer:!0,"crypto-browserify>pbkdf2>ripemd160>hash-base":!0,"pumpify>inherits":!0}},"crypto-browserify>pbkdf2>ripemd160>hash-base":{globals:{Buffer:!0},packages:{buffer:!0,"pumpify>inherits":!0,"stream-browserify":!0}},"crypto-browserify>public-encrypt":{packages:{"crypto-browserify>public-encrypt>browserify-rsa":!0,"crypto-browserify>public-encrypt>parse-asn1":!0,"crypto-browserify>randombytes":!0,"ethereumjs-util>bn.js":!0,"ethereumjs-util>create-hash":!0,"mockttp>express>safe-buffer":!0}},"crypto-browserify>public-encrypt>browserify-rsa":{packages:{"crypto-browserify>randombytes":!0,"ethereumjs-util>bn.js":!0,"mockttp>express>safe-buffer":!0}},"crypto-browserify>public-encrypt>parse-asn1":{packages:{"crypto-browserify>browserify-cipher>evp_bytestokey":!0,"crypto-browserify>pbkdf2":!0,"crypto-browserify>public-encrypt>parse-asn1>asn1.js":!0,"ethereumjs-util>ethereum-cryptography>browserify-aes":!0,"mockttp>express>safe-buffer":!0}},"crypto-browserify>public-encrypt>parse-asn1>asn1.js":{packages:{"@toruslabs/eccrypto>elliptic>minimalistic-assert":!0,buffer:!0,"ethereumjs-util>bn.js":!0,"pumpify>inherits":!0}},"crypto-browserify>randombytes":{globals:{crypto:!0,msCrypto:!0,"process.nextTick":!0},packages:{"mockttp>express>safe-buffer":!0,process:!0}},"crypto-browserify>randomfill":{globals:{crypto:!0,msCrypto:!0,"process.browser":!0,"process.nextTick":!0},packages:{"crypto-browserify>randombytes":!0,"mockttp>express>safe-buffer":!0,process:!0}},"currency-formatter":{packages:{"currency-formatter>accounting":!0,"currency-formatter>locale-currency":!0,"react>object-assign":!0}},"currency-formatter>accounting":{globals:{define:!0}},"currency-formatter>locale-currency":{globals:{countryCode:!0}},dompurify:{globals:{"console.warn":!0}},"eslint-plugin-react>array-includes>is-string":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0}},"eslint-plugin-react>es-iterator-helpers>has-property-descriptors":{packages:{"string.prototype.matchall>call-bind>es-define-property":!0}},"eslint-plugin-react>es-iterator-helpers>has-proto>dunder-proto":{packages:{"string.prototype.matchall>call-bind>call-bind-apply-helpers":!0,"string.prototype.matchall>gopd":!0}},"eslint-plugin-react>hasown":{packages:{"browserify>has>function-bind":!0}},"eslint>ajv":{globals:{console:!0},packages:{"eslint>ajv>json-schema-traverse":!0,"eslint>fast-deep-equal":!0,"fast-json-stable-stringify":!0,"uri-js":!0}},"eth-ens-namehash":{globals:{Buffer:!0,name:"write"},packages:{buffer:!0,"eth-ens-namehash>idna-uts46-hx":!0,"eth-ens-namehash>js-sha3":!0}},"eth-ens-namehash>idna-uts46-hx":{globals:{define:!0},packages:{"eth-ens-namehash>idna-uts46-hx>punycode":!0}},"eth-ens-namehash>js-sha3":{globals:{define:!0,process:!0},packages:{process:!0}},"eth-lattice-keyring":{globals:{"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,addEventListener:!0,browser:!0,clearInterval:!0,open:!0,setInterval:!0},packages:{"@ethereumjs/tx":!0,buffer:!0,"crypto-browserify":!0,"eth-lattice-keyring>@ethereumjs/util":!0,"eth-lattice-keyring>gridplus-sdk":!0,"eth-lattice-keyring>rlp":!0,"ethereumjs-util>bn.js":!0,"webpack>events":!0}},"eth-lattice-keyring>@ethereumjs/util":{globals:{"Buffer.alloc":!0,"Buffer.allocUnsafe":!0,"Buffer.byteLength":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,"console.warn":!0},packages:{buffer:!0,"eth-lattice-keyring>@ethereumjs/util>@ethereumjs/rlp":!0,"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography":!0,"eth-lattice-keyring>@ethereumjs/util>micro-ftch":!0,"webpack>events":!0}},"eth-lattice-keyring>@ethereumjs/util>@ethereumjs/rlp":{globals:{TextEncoder:!0}},"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0},packages:{"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/curves":!0,"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/curves":{globals:{TextEncoder:!0},packages:{"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"eth-lattice-keyring>@ethereumjs/util>micro-ftch":{globals:{"Buffer.concat":!0,Headers:!0,TextDecoder:!0,URL:!0,btoa:!0,fetch:!0,process:!0},packages:{"browserify>url":!0,"browserify>util":!0,buffer:!0,"https-browserify":!0,process:!0,"stream-http":!0}},"eth-lattice-keyring>gridplus-sdk":{globals:{AbortController:!0,"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,Request:!0,URL:!0,caches:!0,clearTimeout:!0,"console.debug":!0,"console.error":!0,"console.log":!0,"console.warn":!0,fetch:!0,setTimeout:!0,structuredClone:!0},packages:{"@metamask/eth-sig-util":!0,"@toruslabs/eccrypto>elliptic":!0,"bitcoin-address-validation>bech32":!0,buffer:!0,"eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp":!0,"eth-lattice-keyring>gridplus-sdk>aes-js":!0,"eth-lattice-keyring>gridplus-sdk>bignumber.js":!0,"eth-lattice-keyring>gridplus-sdk>bs58check":!0,"eth-lattice-keyring>gridplus-sdk>cbor":!0,"eth-lattice-keyring>gridplus-sdk>cbor-bigdecimal":!0,"eth-lattice-keyring>gridplus-sdk>crc-32":!0,"eth-lattice-keyring>gridplus-sdk>ox":!0,"eth-lattice-keyring>gridplus-sdk>secp256k1":!0,"eth-lattice-keyring>gridplus-sdk>zod":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/sha2>hash.js":!0,lodash:!0,uuid:!0,viem:!0,"viem>abitype":!0}},"eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp":{globals:{TextEncoder:!0}},"eth-lattice-keyring>gridplus-sdk>aes-js":{globals:{define:!0}},"eth-lattice-keyring>gridplus-sdk>bignumber.js":{globals:{crypto:!0,define:!0}},"eth-lattice-keyring>gridplus-sdk>bs58check":{packages:{"@noble/hashes":!0,bs58:!0}},"eth-lattice-keyring>gridplus-sdk>cbor":{globals:{TextDecoder:!0,URL:!0},packages:{buffer:!0,"eth-lattice-keyring>gridplus-sdk>cbor>nofilter":!0,"stream-browserify":!0}},"eth-lattice-keyring>gridplus-sdk>cbor-bigdecimal":{globals:{define:!0},packages:{"eth-lattice-keyring>gridplus-sdk>bignumber.js":!0}},"eth-lattice-keyring>gridplus-sdk>cbor>nofilter":{globals:{TextDecoder:!0},packages:{buffer:!0,"stream-browserify":!0}},"eth-lattice-keyring>gridplus-sdk>crc-32":{globals:{DO_NOT_EXPORT_CRC:!0,define:!0}},"eth-lattice-keyring>gridplus-sdk>ox":{globals:{TextDecoder:!0,TextEncoder:!0,"crypto.getRandomValues":!0},packages:{"@noble/hashes":!0,"eth-lattice-keyring>gridplus-sdk>ox>@noble/curves":!0}},"eth-lattice-keyring>gridplus-sdk>secp256k1":{packages:{"@toruslabs/eccrypto>elliptic":!0}},"eth-lattice-keyring>gridplus-sdk>zod":{globals:{File:!0,JSONSchema:!0,URL:!0,__zod_globalRegistry:!0,atob:!0,btoa:!0,coerce:!0,core:!0,iso:!0,locales:!0,navigator:!0,regexes:!0,util:!0}},"eth-lattice-keyring>rlp":{globals:{TextEncoder:!0}},"eth-method-registry":{packages:{"eth-method-registry>@metamask/ethjs-contract":!0,"eth-method-registry>@metamask/ethjs-query":!0}},"eth-method-registry>@metamask/ethjs-contract":{packages:{"@babel/runtime":!0,"eth-ens-namehash>js-sha3":!0,"eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter":!0,"eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util":!0,"eth-method-registry>@metamask/ethjs-contract>ethjs-abi":!0,"eth-method-registry>@metamask/ethjs-query>promise-to-callback":!0}},"eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter":{globals:{clearInterval:!0,setInterval:!0}},"eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util":{globals:{"Buffer.byteLength":!0,"Buffer.from":!0},packages:{buffer:!0,"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>is-hex-prefixed":!0,"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix":!0}},"eth-method-registry>@metamask/ethjs-contract>ethjs-abi":{globals:{Buffer:!0},packages:{buffer:!0,"eth-ens-namehash>js-sha3":!0,"eth-method-registry>@metamask/ethjs-contract>ethjs-abi>number-to-bn":!0,"ethereumjs-util>bn.js":!0}},"eth-method-registry>@metamask/ethjs-contract>ethjs-abi>number-to-bn":{packages:{"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix":!0,"ethereumjs-util>bn.js":!0}},"eth-method-registry>@metamask/ethjs-query":{globals:{console:!0},packages:{"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format":!0,"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc":!0,"eth-method-registry>@metamask/ethjs-query>promise-to-callback":!0}},"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format":{packages:{"@metamask/controller-utils>@metamask/ethjs-unit>@metamask/number-to-bn":!0,"eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util":!0,"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>ethjs-schema":!0,"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix":!0}},"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix":{packages:{"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>is-hex-prefixed":!0}},"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc":{packages:{"eth-method-registry>@metamask/ethjs-query>promise-to-callback":!0}},"eth-method-registry>@metamask/ethjs-query>promise-to-callback":{packages:{"eth-method-registry>@metamask/ethjs-query>promise-to-callback>is-fn":!0,"eth-method-registry>@metamask/ethjs-query>promise-to-callback>set-immediate-shim":!0}},"eth-method-registry>@metamask/ethjs-query>promise-to-callback>set-immediate-shim":{globals:{setImmediate:!0,"setTimeout.apply":!0},packages:{"core-js-pure":!0}},"ethereum-cryptography":{globals:{TextDecoder:!0},packages:{"@noble/hashes":!0,"ethereum-cryptography>@noble/curves":!0}},"ethereumjs-util":{globals:{Buffer:!0},packages:{"@ngraveio/bc-ur>assert":!0,buffer:!0,"ethereumjs-util>bn.js":!0,"ethereumjs-util>create-hash":!0,"ethereumjs-util>ethereum-cryptography":!0,"ethereumjs-util>rlp":!0}},"ethereumjs-util>bn.js":{globals:{Buffer:!0}},"ethereumjs-util>create-hash":{packages:{"@ngraveio/bc-ur>sha.js":!0,"ethereumjs-util>create-hash>cipher-base":!0,"ethereumjs-util>create-hash>md5.js":!0,"ethereumjs-util>create-hash>ripemd160":!0,"pumpify>inherits":!0}},"ethereumjs-util>create-hash>cipher-base":{packages:{"browserify>string_decoder":!0,"mockttp>express>safe-buffer":!0,"pumpify>inherits":!0,"stream-browserify":!0}},"ethereumjs-util>create-hash>md5.js":{packages:{"ethereumjs-util>create-hash>md5.js>hash-base":!0,"mockttp>express>safe-buffer":!0,"pumpify>inherits":!0}},"ethereumjs-util>create-hash>md5.js>hash-base":{packages:{"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream":!0,"mockttp>express>safe-buffer":!0,"pumpify>inherits":!0}},"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"ethereumjs-util>create-hash>ripemd160":{packages:{buffer:!0,"ethereumjs-util>create-hash>ripemd160>hash-base":!0,"pumpify>inherits":!0}},"ethereumjs-util>create-hash>ripemd160>hash-base":{packages:{"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream":!0,"mockttp>express>safe-buffer":!0,"pumpify>inherits":!0}},"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"ethereumjs-util>ethereum-cryptography":{globals:{"Buffer.from":!0},packages:{buffer:!0,"crypto-browserify>randombytes":!0,"ethereumjs-util>ethereum-cryptography>keccak":!0,"ethereumjs-util>ethereum-cryptography>secp256k1":!0}},"ethereumjs-util>ethereum-cryptography>browserify-aes":{globals:{"Buffer.concat":!0},packages:{buffer:!0,"crypto-browserify>browserify-cipher>evp_bytestokey":!0,"ethereumjs-util>create-hash>cipher-base":!0,"ethereumjs-util>ethereum-cryptography>browserify-aes>buffer-xor":!0,"mockttp>express>safe-buffer":!0,"pumpify>inherits":!0}},"ethereumjs-util>ethereum-cryptography>browserify-aes>buffer-xor":{globals:{Buffer:!0},packages:{buffer:!0}},"ethereumjs-util>ethereum-cryptography>bs58check":{packages:{"ethereumjs-util>create-hash":!0,"ethereumjs-util>ethereum-cryptography>bs58check>bs58":!0,"mockttp>express>safe-buffer":!0}},"ethereumjs-util>ethereum-cryptography>bs58check>bs58":{packages:{"@ensdomains/content-hash>multihashes>multibase>base-x":!0}},"ethereumjs-util>ethereum-cryptography>keccak":{globals:{"Buffer.alloc":!0,"Buffer.from":!0,"Buffer.isBuffer":!0},packages:{buffer:!0,"ethereumjs-util>ethereum-cryptography>keccak>readable-stream":!0}},"ethereumjs-util>ethereum-cryptography>keccak>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"ethereumjs-util>ethereum-cryptography>secp256k1":{packages:{"@toruslabs/eccrypto>elliptic":!0}},"ethereumjs-util>rlp":{globals:{"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0},packages:{buffer:!0,"ethereumjs-util>bn.js":!0}},ethers:{packages:{"@ethersproject/abi":!0,"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"@ethersproject/contracts":!0,"@ethersproject/hdnode":!0,"@ethersproject/providers":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/abstract-signer":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/base64":!0,"ethers>@ethersproject/basex":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/hash":!0,"ethers>@ethersproject/json-wallets":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/random":!0,"ethers>@ethersproject/rlp":!0,"ethers>@ethersproject/sha2":!0,"ethers>@ethersproject/signing-key":!0,"ethers>@ethersproject/solidity":!0,"ethers>@ethersproject/strings":!0,"ethers>@ethersproject/units":!0,"ethers>@ethersproject/wallet":!0,"ethers>@ethersproject/web":!0,"ethers>@ethersproject/wordlists":!0}},"ethers>@ethersproject/abstract-provider":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0}},"ethers>@ethersproject/abstract-signer":{packages:{"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0}},"ethers>@ethersproject/address":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/rlp":!0}},"ethers>@ethersproject/base64":{globals:{atob:!0,btoa:!0},packages:{"@ethersproject/bytes":!0}},"ethers>@ethersproject/basex":{packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/properties":!0}},"ethers>@ethersproject/constants":{packages:{"@ethersproject/bignumber":!0}},"ethers>@ethersproject/hash":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/base64":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/strings":!0}},"ethers>@ethersproject/json-wallets":{packages:{"@ethersproject/bytes":!0,"@ethersproject/hdnode":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/json-wallets>aes-js":!0,"ethers>@ethersproject/json-wallets>scrypt-js":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/pbkdf2":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/random":!0,"ethers>@ethersproject/strings":!0}},"ethers>@ethersproject/json-wallets>aes-js":{globals:{define:!0}},"ethers>@ethersproject/json-wallets>scrypt-js":{globals:{define:!0,setImmediate:!0,setTimeout:!0},packages:{"core-js-pure":!0}},"ethers>@ethersproject/keccak256":{packages:{"@ethersproject/bytes":!0,"eth-ens-namehash>js-sha3":!0}},"ethers>@ethersproject/logger":{globals:{console:!0}},"ethers>@ethersproject/networks":{packages:{"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/pbkdf2":{packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/sha2":!0}},"ethers>@ethersproject/properties":{packages:{"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/random":{globals:{"crypto.getRandomValues":!0},packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/rlp":{packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/sha2":{packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/sha2>hash.js":!0}},"ethers>@ethersproject/sha2>hash.js":{packages:{"@toruslabs/eccrypto>elliptic>minimalistic-assert":!0,"pumpify>inherits":!0}},"ethers>@ethersproject/signing-key":{packages:{"@ethersproject/bytes":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/sha2>hash.js":!0}},"ethers>@ethersproject/solidity":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/sha2":!0,"ethers>@ethersproject/strings":!0}},"ethers>@ethersproject/strings":{packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/units":{packages:{"@ethersproject/bignumber":!0,"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/wallet":{packages:{"@ethersproject/bytes":!0,"@ethersproject/hdnode":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/abstract-provider":!0,"ethers>@ethersproject/abstract-signer":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/hash":!0,"ethers>@ethersproject/json-wallets":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/random":!0,"ethers>@ethersproject/signing-key":!0}},"ethers>@ethersproject/web":{globals:{clearTimeout:!0,fetch:!0,setTimeout:!0},packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/base64":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/strings":!0}},"ethers>@ethersproject/wordlists":{packages:{"ethers>@ethersproject/hash":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0}},"extension-port-stream":{globals:{AggregateError:!0,"navigator.userAgent.includes":!0,"performance.now":!0,queueMicrotask:!0,scheduler:!0,setTimeout:!0},packages:{"readable-stream":!0}},"fast-json-patch":{globals:{addEventListener:!0,clearTimeout:!0,removeEventListener:!0,setTimeout:!0}},"fuse.js":{globals:{console:!0,define:!0}},"gulp>vinyl-fs>object.assign":{packages:{"@lavamoat/webpack>json-stable-stringify>object-keys":!0,"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>define-properties":!0,"string.prototype.matchall>es-object-atoms":!0,"string.prototype.matchall>has-symbols":!0}},he:{globals:{define:!0}},"https-browserify":{packages:{"browserify>url":!0,"stream-http":!0}},"humanize-duration":{globals:{define:!0}},"jsdom>form-data>es-set-tostringtag>has-tostringtag":{packages:{"string.prototype.matchall>has-symbols":!0}},"lightweight-charts":{globals:{Image:!0,ResizeObserver:!0,URL:!0,cancelAnimationFrame:!0,chrome:!0,clearTimeout:!0,devicePixelRatio:!0,"document.activeElement":!0,"document.body":!0,"document.createElement":!0,"document.documentElement":!0,"document.getElementById":!0,"document.getSelection":!0,getComputedStyle:!0,"location.href":!0,"navigator.language":!0,"navigator.platform":!0,"navigator.userAgent.toLowerCase":!0,"navigator.userAgentData":!0,"performance.now":!0,queueMicrotask:!0,requestAnimationFrame:!0,setTimeout:!0},packages:{"lightweight-charts>fancy-canvas":!0}},"lightweight-charts>fancy-canvas":{globals:{ResizeObserver:!0,"document.body":!0}},localforage:{globals:{Blob:!0,BlobBuilder:!0,FileReader:!0,IDBKeyRange:!0,MSBlobBuilder:!0,MozBlobBuilder:!0,OIndexedDB:!0,WebKitBlobBuilder:!0,atob:!0,btoa:!0,"console.error":!0,"console.info":!0,"console.warn":!0,define:!0,fetch:!0,indexedDB:!0,localStorage:!0,mozIndexedDB:!0,msIndexedDB:!0,"navigator.platform":!0,"navigator.userAgent":!0,openDatabase:!0,setTimeout:!0,webkitIndexedDB:!0}},lodash:{globals:{_:!0,clearTimeout:!0,define:!0,setTimeout:!0}},loglevel:{globals:{console:!0,define:!0,"document.cookie":!0,localStorage:!0,log:"write",navigator:!0}},"lottie-web":{globals:{Blob:!0,Howl:!0,OffscreenCanvas:!0,"URL.createObjectURL":!0,Worker:!0,XMLHttpRequest:!0,bodymovin:"write",clearInterval:!0,console:!0,define:!0,"document.body":!0,"document.createElement":!0,"document.createElementNS":!0,"document.getElementsByClassName":!0,"document.getElementsByTagName":!0,"document.querySelectorAll":!0,"document.readyState":!0,"location.origin":!0,"location.pathname":!0,navigator:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0}},luxon:{globals:{Intl:!0}},"mockttp>@httptoolkit/subscriptions-transport-ws>symbol-observable":{globals:{module:!0}},"mockttp>express>qs":{packages:{"string.prototype.matchall>side-channel":!0}},"mockttp>express>safe-buffer":{packages:{buffer:!0}},nanoid:{globals:{"crypto.getRandomValues":!0}},"nock>debug":{globals:{console:!0,document:!0,localStorage:!0,navigator:!0,process:!0},packages:{"mocha>ms":!0,process:!0}},"openai>abort-controller":{globals:{AbortController:!0}},"path-browserify":{globals:{"process.cwd":!0},packages:{process:!0}},process:{globals:{clearTimeout:!0,setTimeout:!0}},"qrcode.react":{globals:{Path2D:!0,devicePixelRatio:!0},packages:{react:!0}},react:{packages:{"react>object-assign":!0}},"react-beautiful-dnd":{globals:{"Element.prototype":!0,__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:!0,addEventListener:!0,cancelAnimationFrame:!0,clearTimeout:!0,console:!0,document:!0,getComputedStyle:!0,pageXOffset:!0,pageYOffset:!0,removeEventListener:!0,requestAnimationFrame:!0,scrollBy:!0,setTimeout:!0},packages:{"@babel/runtime":!0,react:!0,"react-beautiful-dnd>css-box-model":!0,"react-beautiful-dnd>memoize-one":!0,"react-beautiful-dnd>raf-schd":!0,"react-beautiful-dnd>use-memo-one":!0,"react-dom":!0,"react-redux":!0,redux:!0}},"react-beautiful-dnd>css-box-model":{globals:{getComputedStyle:!0,pageXOffset:!0,pageYOffset:!0},packages:{"react-beautiful-dnd>css-box-model>tiny-invariant":!0}},"react-beautiful-dnd>raf-schd":{globals:{cancelAnimationFrame:!0,requestAnimationFrame:!0}},"react-beautiful-dnd>use-memo-one":{packages:{react:!0}},"react-chartjs-2":{globals:{setTimeout:!0},packages:{"chart.js":!0,react:!0}},"react-compiler-runtime":{globals:{"console.error":!0},packages:{react:!0}},"react-devtools-core":{globals:{CSSStyleRule:!0,ElementTypeClass:!0,ElementTypeForwardRef:!0,ElementTypeFunction:!0,ElementTypeMemo:!0,ElementTypeVirtual:!0,ErrorEvent:!0,HTMLElement:!0,LOCAL_STORAGE_COMPONENT_FILTER_PREFERENCES_KEY:!0,LOCAL_STORAGE_OPEN_IN_EDITOR_URL:!0,"Node.ELEMENT_NODE":!0,SESSION_STORAGE_RECORD_CHANGE_DESCRIPTIONS_KEY:!0,SESSION_STORAGE_RECORD_TIMELINE_KEY:!0,SESSION_STORAGE_RELOAD_AND_PROFILE_KEY:!0,URL:!0,WebSocket:!0,__REACT_DEVTOOLS_COMPONENT_FILTERS__:!0,__REACT_DEVTOOLS_GLOBAL_HOOK__:!0,__REACT_DEVTOOLS_TARGET_WINDOW__:!0,cancelAnimationFrame:!0,chrome:!0,clearTimeout:!0,console:!0,define:!0,devicePixelRatio:!0,devtoolsJestTestScheduler:!0,dispatchEvent:!0,document:!0,getComputedStyle:!0,getInObject:!0,innerHeight:!0,innerWidth:!0,"localStorage.getItem":!0,"localStorage.removeItem":!0,"localStorage.setItem":!0,localStorageGetItem:!0,localStorageSetItem:!0,"navigator.userAgent":!0,performance:!0,queueMicrotask:!0,"regeneratorRuntime.mark":!0,"regeneratorRuntime.wrap":!0,reportError:!0,requestAnimationFrame:!0,"sessionStorage.getItem":!0,"sessionStorage.removeItem":!0,"sessionStorage.setItem":!0,sessionStorageGetItem:!0,sessionStorageRemoveItem:!0,sessionStorageSetItem:!0,setInObject:!0,setTimeout:!0}},"react-dom":{globals:{HTMLIFrameElement:!0,MSApp:!0,__REACT_DEVTOOLS_GLOBAL_HOOK__:!0,addEventListener:!0,clearTimeout:!0,clipboardData:!0,"console.error":!0,document:!0,event:!1,removeEventListener:!0,setTimeout:!0},packages:{react:!0,"react-dom>scheduler":!0,"react>object-assign":!0}},"react-dom>scheduler":{globals:{MessageChannel:!0,SharedArrayBuffer:!0,cancelAnimationFrame:!0,clearTimeout:!0,console:!0,performance:!0,requestAnimationFrame:!0,setTimeout:!0}},"react-focus-lock":{globals:{addEventListener:!0,"console.error":!0,"console.warn":!0,document:!0,removeEventListener:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"prop-types":!0,react:!0,"react-focus-lock>focus-lock":!0,"react-focus-lock>react-clientside-effect":!0,"react-focus-lock>use-callback-ref":!0,"react-focus-lock>use-sidecar":!0}},"react-focus-lock>focus-lock":{globals:{HTMLIFrameElement:!0,"Node.DOCUMENT_FRAGMENT_NODE":!0,"Node.DOCUMENT_NODE":!0,"Node.DOCUMENT_POSITION_CONTAINED_BY":!0,"Node.DOCUMENT_POSITION_CONTAINS":!0,"Node.ELEMENT_NODE":!0,"console.error":!0,"console.warn":!0,document:!0,getComputedStyle:!0,setTimeout:!0}},"react-focus-lock>react-clientside-effect":{packages:{"@babel/runtime":!0,react:!0}},"react-focus-lock>use-callback-ref":{packages:{react:!0}},"react-focus-lock>use-sidecar":{packages:{tslib:!0}},"react-hot-toast":{globals:{MutationObserver:!0,clearTimeout:!0,matchMedia:!0,setTimeout:!0},packages:{react:!0,"react-hot-toast>goober":!0}},"react-hot-toast>goober":{globals:{__nonce__:!0,_goober:!0,"document.createElement":!0,"document.head":!0}},"react-idle-timer":{globals:{clearTimeout:!0,document:!0,setTimeout:!0},packages:{"prop-types":!0,react:!0}},"react-markdown":{globals:{"console.warn":!0},packages:{"prop-types":!0,react:!0,"react-markdown>comma-separated-tokens":!0,"react-markdown>property-information":!0,"react-markdown>react-is":!0,"react-markdown>remark-parse":!0,"react-markdown>remark-rehype":!0,"react-markdown>space-separated-tokens":!0,"react-markdown>style-to-object":!0,"react-markdown>unified":!0,"react-markdown>unist-util-visit":!0,"react-markdown>vfile":!0}},"react-markdown>property-information":{packages:{"watchify>xtend":!0}},"react-markdown>remark-parse":{packages:{"react-markdown>remark-parse>mdast-util-from-markdown":!0}},"react-markdown>remark-parse>mdast-util-from-markdown":{packages:{"react-markdown>remark-parse>mdast-util-from-markdown>mdast-util-to-string":!0,"react-markdown>remark-parse>mdast-util-from-markdown>micromark":!0,"react-markdown>vfile>unist-util-stringify-position":!0,"react-syntax-highlighter>refractor>parse-entities":!0}},"react-markdown>remark-parse>mdast-util-from-markdown>micromark":{packages:{"react-syntax-highlighter>refractor>parse-entities":!0}},"react-markdown>remark-rehype":{packages:{"react-markdown>remark-rehype>mdast-util-to-hast":!0}},"react-markdown>remark-rehype>mdast-util-to-hast":{globals:{"console.warn":!0},packages:{"@storybook/addon-docs>remark-external-links>mdast-util-definitions":!0,"react-markdown>remark-rehype>mdast-util-to-hast>mdurl":!0,"react-markdown>remark-rehype>mdast-util-to-hast>unist-builder":!0,"react-markdown>remark-rehype>mdast-util-to-hast>unist-util-generated":!0,"react-markdown>remark-rehype>mdast-util-to-hast>unist-util-position":!0,"react-markdown>unist-util-visit":!0}},"react-markdown>style-to-object":{packages:{"react-markdown>style-to-object>inline-style-parser":!0}},"react-markdown>unified":{packages:{"mocha>yargs-unparser>is-plain-obj":!0,"react-markdown>unified>bail":!0,"react-markdown>unified>extend":!0,"react-markdown>unified>is-buffer":!0,"react-markdown>unified>trough":!0,"react-markdown>vfile":!0}},"react-markdown>unist-util-visit":{packages:{"react-markdown>unist-util-visit>unist-util-visit-parents":!0}},"react-markdown>unist-util-visit>unist-util-visit-parents":{packages:{"react-markdown>unist-util-visit>unist-util-is":!0}},"react-markdown>vfile":{globals:{"process.cwd":!0},packages:{"path-browserify":!0,process:!0,"react-markdown>vfile>is-buffer":!0,"react-markdown>vfile>replace-ext":!0,"react-markdown>vfile>vfile-message":!0}},"react-markdown>vfile>replace-ext":{packages:{"path-browserify":!0}},"react-markdown>vfile>vfile-message":{packages:{"react-markdown>vfile>unist-util-stringify-position":!0}},"react-popper":{globals:{document:!0},packages:{"@popperjs/core":!0,react:!0,"react-popper>react-fast-compare":!0}},"react-popper>react-fast-compare":{globals:{Element:!0,"console.warn":!0}},"react-redux":{globals:{document:!0},packages:{"@babel/runtime":!0,"prop-types":!0,react:!0,"react-dom":!0,"react-redux>hoist-non-react-statics":!0,"react-redux>react-is":!0}},"react-redux>hoist-non-react-statics":{packages:{"react-redux>hoist-non-react-statics>react-is":!0}},"react-router-dom":{globals:{FormData:!0,URL:!0,URLSearchParams:!0,__reactRouterVersion:"write",addEventListener:!0,confirm:!0,document:!0,history:!0,"location.href":!0,removeEventListener:!0,scrollTo:!0,scrollY:!0,"sessionStorage.getItem":!0,"sessionStorage.setItem":!0,setTimeout:!0},packages:{react:!0,"react-dom":!0,"react-router-dom>@remix-run/router":!0,"react-router-dom>react-router":!0}},"react-router-dom>@remix-run/router":{globals:{AbortController:!0,DOMException:!0,FormData:!0,Headers:!0,Request:!0,Response:!0,URL:!0,URLSearchParams:!0,console:!0,"document.defaultView":!0,history:!0}},"react-router-dom>react-router":{globals:{"console.error":!0,"console.warn":!0},packages:{react:!0,"react-router-dom>@remix-run/router":!0}},"react-simple-file-input":{globals:{File:!0,FileReader:!0,"console.warn":!0},packages:{"prop-types":!0,react:!0}},"react-syntax-highlighter>refractor>parse-entities":{globals:{"document.createElement":!0}},"react-tippy":{globals:{Element:!0,MSStream:!0,MutationObserver:!0,addEventListener:!0,clearTimeout:!0,"console.error":!0,"console.warn":!0,define:!0,document:!0,getComputedStyle:!0,innerHeight:!0,innerWidth:!0,"navigator.maxTouchPoints":!0,"navigator.msMaxTouchPoints":!0,"navigator.userAgent":!0,performance:!0,requestAnimationFrame:!0,setTimeout:!0},packages:{react:!0,"react-dom":!0,"react-tippy>popper.js":!0}},"react-tippy>popper.js":{globals:{MSInputMethodContext:!0,"Node.DOCUMENT_POSITION_FOLLOWING":!0,cancelAnimationFrame:!0,"console.warn":!0,devicePixelRatio:!0,document:!0,getComputedStyle:!0,innerHeight:!0,innerWidth:!0,"navigator.userAgent":!0,requestAnimationFrame:!0,setTimeout:!0}},"react-toggle-button":{globals:{cancelAnimationFrame:!0,clearTimeout:!0,"console.warn":!0,define:!0,performance:!0,requestAnimationFrame:!0,setTimeout:!0},packages:{react:!0}},"react-transition-group":{globals:{Element:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"prop-types":!0,react:!0,"react-dom":!0,"react-transition-group>dom-helpers":!0}},"readable-stream":{globals:{AbortController:!0,AbortSignal:!0,AggregateError:!0,Blob:!0,queueMicrotask:!0},packages:{"browserify>string_decoder":!0,buffer:!0,"openai>abort-controller":!0,process:!0,"webpack>events":!0}},"readable-stream-2>core-util-is":{globals:{"Buffer.isBuffer":!0},packages:{buffer:!0}},"readable-stream-2>process-nextick-args":{globals:{process:!0},packages:{process:!0}},redux:{globals:{console:!0},packages:{"@babel/runtime":!0}},"remote-redux-devtools":{globals:{"console.log":!0,"console.warn":!0,fetch:!0,setTimeout:!0},packages:{"remote-redux-devtools>jsan":!0,"remote-redux-devtools>redux-devtools-core":!0,"remote-redux-devtools>redux-devtools-instrument":!0,"remote-redux-devtools>rn-host-detect":!0,"remote-redux-devtools>socketcluster-client":!0}},"remote-redux-devtools>jsan":{globals:{"console.warn":!0}},"remote-redux-devtools>redux-devtools-core":{globals:{ErrorUtils:!0,console:!0,devToolsOptions:!0,onerror:"write",serializeState:!0},packages:{lodash:!0,"remote-redux-devtools>jsan":!0,"remote-redux-devtools>redux-devtools-core>get-params":!0,"remote-redux-devtools>redux-devtools-core>nanoid":!0,"remote-redux-devtools>redux-devtools-core>remotedev-serialize":!0}},"remote-redux-devtools>redux-devtools-core>get-params":{globals:{GetParams:"write"}},"remote-redux-devtools>redux-devtools-instrument":{globals:{chrome:!0,"console.error":!0,process:!0,setTimeout:!0},packages:{lodash:!0,"mockttp>@httptoolkit/subscriptions-transport-ws>symbol-observable":!0,process:!0}},"remote-redux-devtools>rn-host-detect":{globals:{__DEV__:!0,__fbBatchedBridgeConfig:!0,console:!0}},"remote-redux-devtools>socketcluster-client":{globals:{WebSocket:!0,WorkerGlobalScope:!0,addEventListener:!0,clearTimeout:!0,localStorage:!0,location:!0,removeEventListener:!0,setTimeout:!0},packages:{"remote-redux-devtools>socketcluster-client>buffer":!0,"remote-redux-devtools>socketcluster-client>clone":!0,"remote-redux-devtools>socketcluster-client>component-emitter":!0,"remote-redux-devtools>socketcluster-client>linked-list":!0,"remote-redux-devtools>socketcluster-client>querystring":!0,"remote-redux-devtools>socketcluster-client>sc-channel":!0,"remote-redux-devtools>socketcluster-client>sc-errors":!0,"remote-redux-devtools>socketcluster-client>sc-formatter":!0,"remote-redux-devtools>socketcluster-client>uuid":!0}},"remote-redux-devtools>socketcluster-client>buffer":{globals:{console:!0},packages:{"base64-js":!0,"buffer>ieee754":!0}},"remote-redux-devtools>socketcluster-client>clone":{globals:{Buffer:!0},packages:{"remote-redux-devtools>socketcluster-client>buffer":!0}},"remote-redux-devtools>socketcluster-client>sc-channel":{packages:{"remote-redux-devtools>socketcluster-client>component-emitter":!0}},"remote-redux-devtools>socketcluster-client>sc-formatter":{globals:{Buffer:!0}},"remote-redux-devtools>socketcluster-client>uuid":{globals:{crypto:!0,msCrypto:!0}},reselect:{globals:{WeakRef:!0,"console.warn":!0}},semver:{globals:{"console.error":!0,process:!0},packages:{process:!0}},"stream-browserify":{packages:{"pumpify>inherits":!0,"stream-browserify>readable-stream":!0,"webpack>events":!0}},"stream-browserify>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"stream-http":{globals:{AbortController:!0,Blob:!0,"Buffer.alloc":!0,"Buffer.from":!0,MSStreamReader:!0,ReadableStream:!0,WritableStream:!0,XDomainRequest:!0,XMLHttpRequest:!0,clearTimeout:!0,fetch:!0,"location.protocol.search":!0,"process.nextTick":!0,setTimeout:!0},packages:{"browserify>url":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"stream-http>builtin-status-codes":!0,"stream-http>readable-stream":!0,"watchify>xtend":!0}},"stream-http>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,process:!0,"pumpify>inherits":!0,"webpack>events":!0}},"string.prototype.matchall>call-bind":{packages:{"string.prototype.matchall>call-bind>call-bind-apply-helpers":!0,"string.prototype.matchall>call-bind>es-define-property":!0,"string.prototype.matchall>call-bind>set-function-length":!0,"string.prototype.matchall>get-intrinsic":!0}},"string.prototype.matchall>call-bind>call-bind-apply-helpers":{packages:{"browserify>has>function-bind":!0,"string.prototype.matchall>es-errors":!0}},"string.prototype.matchall>call-bind>set-function-length":{packages:{"eslint-plugin-react>es-iterator-helpers>has-property-descriptors":!0,"string.prototype.matchall>define-properties>define-data-property":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>get-intrinsic":!0,"string.prototype.matchall>gopd":!0}},"string.prototype.matchall>call-bound":{packages:{"string.prototype.matchall>call-bind>call-bind-apply-helpers":!0,"string.prototype.matchall>get-intrinsic":!0}},"string.prototype.matchall>define-properties":{packages:{"@lavamoat/webpack>json-stable-stringify>object-keys":!0,"eslint-plugin-react>es-iterator-helpers>has-property-descriptors":!0,"string.prototype.matchall>define-properties>define-data-property":!0}},"string.prototype.matchall>define-properties>define-data-property":{packages:{"string.prototype.matchall>call-bind>es-define-property":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>gopd":!0}},"string.prototype.matchall>es-abstract>array-buffer-byte-length":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>is-array-buffer":!0}},"string.prototype.matchall>es-abstract>available-typed-arrays":{packages:{"string.prototype.matchall>es-abstract>typed-array-length>possible-typed-array-names":!0}},"string.prototype.matchall>es-abstract>es-to-primitive>is-symbol":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>safe-regex-test":!0,"string.prototype.matchall>has-symbols":!0}},"string.prototype.matchall>es-abstract>get-proto":{packages:{"eslint-plugin-react>es-iterator-helpers>has-proto>dunder-proto":!0,"string.prototype.matchall>es-object-atoms":!0}},"string.prototype.matchall>es-abstract>is-array-buffer":{packages:{"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>get-intrinsic":!0}},"string.prototype.matchall>es-abstract>is-callable":{globals:{document:!0}},"string.prototype.matchall>es-abstract>is-regex":{packages:{"eslint-plugin-react>hasown":!0,"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>gopd":!0}},"string.prototype.matchall>es-abstract>is-shared-array-buffer":{packages:{"string.prototype.matchall>call-bound":!0}},"string.prototype.matchall>es-abstract>object-inspect":{globals:{HTMLElement:!0,WeakRef:!0}},"string.prototype.matchall>es-abstract>safe-regex-test":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>is-regex":!0,"string.prototype.matchall>es-errors":!0}},"string.prototype.matchall>es-abstract>stop-iteration-iterator":{globals:{StopIteration:!0},packages:{"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>internal-slot":!0}},"string.prototype.matchall>es-abstract>typed-array-buffer":{packages:{"browserify>util>is-typed-array":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-errors":!0}},"string.prototype.matchall>get-intrinsic":{globals:{AggregateError:!0,Atomics:!0,FinalizationRegistry:!0,Float16Array:!0,SharedArrayBuffer:!0,WeakRef:!0},packages:{"browserify>has>function-bind":!0,"eslint-plugin-react>array-includes>math-intrinsics":!0,"eslint-plugin-react>hasown":!0,"string.prototype.matchall>call-bind>call-bind-apply-helpers":!0,"string.prototype.matchall>call-bind>es-define-property":!0,"string.prototype.matchall>es-abstract>get-proto":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>es-object-atoms":!0,"string.prototype.matchall>get-intrinsic>async-function":!0,"string.prototype.matchall>get-intrinsic>async-generator-function":!0,"string.prototype.matchall>get-intrinsic>generator-function":!0,"string.prototype.matchall>gopd":!0,"string.prototype.matchall>has-symbols":!0}},"string.prototype.matchall>internal-slot":{packages:{"eslint-plugin-react>hasown":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>side-channel":!0}},"string.prototype.matchall>regexp.prototype.flags":{packages:{"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>define-properties":!0,"string.prototype.matchall>es-abstract>get-proto":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>gopd":!0,"string.prototype.matchall>set-function-name":!0}},"string.prototype.matchall>set-function-name":{packages:{"eslint-plugin-react>es-iterator-helpers>has-property-descriptors":!0,"string.prototype.matchall>define-properties>define-data-property":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>set-function-name>functions-have-names":!0}},"string.prototype.matchall>side-channel":{packages:{"string.prototype.matchall>es-abstract>object-inspect":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>side-channel>side-channel-list":!0,"string.prototype.matchall>side-channel>side-channel-map":!0,"string.prototype.matchall>side-channel>side-channel-weakmap":!0}},"string.prototype.matchall>side-channel>side-channel-list":{packages:{"string.prototype.matchall>es-abstract>object-inspect":!0,"string.prototype.matchall>es-errors":!0}},"string.prototype.matchall>side-channel>side-channel-map":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>object-inspect":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>get-intrinsic":!0}},"string.prototype.matchall>side-channel>side-channel-weakmap":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>object-inspect":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>get-intrinsic":!0,"string.prototype.matchall>side-channel>side-channel-map":!0}},"terser>source-map-support>buffer-from":{globals:{Buffer:!0},packages:{buffer:!0}},tslib:{globals:{SuppressedError:!0}},tweetnacl:{globals:{crypto:!0,msCrypto:!0,nacl:"write"}},"uri-js":{globals:{define:!0}},uuid:{globals:{crypto:!0,msCrypto:!0}},viem:{globals:{TextDecoder:!0,TextEncoder:!0},packages:{"@noble/hashes":!0}},"wait-on>axios":{globals:{AbortController:!0,Blob:!0,Buffer:!0,FormData:!0,ReadableStream:!0,Request:!0,Response:!0,TextEncoder:!0,URL:!0,URLSearchParams:!0,WorkerGlobalScope:!0,XMLHttpRequest:!0,btoa:!0,clearTimeout:!0,"console.warn":!0,document:!0,fetch:!0,importScripts:!0,"location.href":!0,navigator:!0,postMessage:!0,process:!0,queueMicrotask:!0,setImmediate:!0,setTimeout:!0},packages:{buffer:!0,"core-js-pure":!0,process:!0}},"wait-on>rxjs":{globals:{clearTimeout:!0,"setTimeout.apply":!0},packages:{tslib:!0}},"web-vitals":{globals:{"PerformanceEventTiming.prototype":!0,PerformanceObserver:!0,addEventListener:!0,"document.addEventListener":!0,"document.prerendering":!0,"document.readyState":!0,"document.visibilityState":!0,"document.wasDiscarded":!0,performance:!0,removeEventListener:!0,requestAnimationFrame:!0,requestIdleCallback:!0,setTimeout:!0}},"webextension-polyfill":{globals:{browser:!0,chrome:!0,"console.error":!0,"console.warn":!0,define:!0}},"webpack>events":{globals:{console:!0}}}},e.ENUM={NAME_globalThis:"G",NAME_scopeTerminator:"ST",NAME_runtimeHandler:"RH",RUNTIME_KEY:"_LM_"},(()=>{let t={exports:{}};function r({createFunctionWrapper:e=l,handleGlobalWrite:t=!1,knownWritableFields:c=new Set}={}){return{getEndowmentsForConfig:u,copyWrappedGlobals:b,getBuiltinForConfig:m,createFunctionWrapper:e,attenuateBuiltin:d,makeMinimalViewOfRef:h,copyValueAtPath:f,applyGetSetPropDescTransforms:g,applyEndowmentPropDescTransforms:p};function u(e,r,n,s){if(!r.globals)return{};let a=[],i=new Set,o=[];return Object.entries(r.globals).forEach(([e,r])=>{let n=e.split(".");if(n.some(e=>"__proto__"===e))throw Error(`Lavamoat - "__proto__" disallowed when creating minimal view. saw "${e}"`);if(!1===r)return void o.push(e);if("write"===r){if(!t)return;if(n.length>1)throw Error(`LavaMoat - write access is only allowed at the top level, saw "${e}"`);i.add(e),a.push(e);return}if(!0!==r)throw Error(`LavaMoat - unrecognizable policy value (${typeof r}) for path "${e}"`);a.push(e)}),a.sort((e,t)=>e.length-t.length),h(e,a,n,s,o,i)}function h(e,t,r,n,s=[],a=new Set){let l={};return t.forEach(t=>{let u=t.split(".");c.has(u[0])?a.has(u[0])?i(u[0],e,l):o(u,e,l):f("",u,s,e,l,r,n)}),l}function d(e,t,r=[]){return h(e,t.sort(),void 0,void 0,r)}function m(e,t,r){let n=[],s=[];return Object.entries(r).forEach(([e,r])=>{let a=e.split(".");if(t===a[0]){let e=a.slice(1).join(".");!0===r?n.push(e):!1===r&&s.push(e)}}),d(e,n,s)}function f(t,r,n,i,o,l=i,c=o){if(0===r.length)throw Error("unable to copy, must have pathParts, was empty");let[u,...h]=r,d=s(t,u),{prop:m}=v(i,u);if(a(m))return;let p=Reflect.getOwnPropertyDescriptor(o,u);if(p){if(!("value"in p))throw Error(`unable to copy on to targetRef, targetRef has a getter at "${d}"`);let e=typeof p.value;if("object"!==e&&"function"!==e)throw Error(`unable to copy on to targetRef, targetRef value is not an obj or func at "${d}"`)}if(h.length>0){let e,{sourceValue:t,sourceWritable:r}=k(m);if(p&&!n.includes(d))e=p.value;else{let t={};Reflect.defineProperty(o,u,{value:t,writable:r,enumerable:m.enumerable,configurable:m.configurable}),e=t}f(d,h,n,t,e);return}if(n.includes(d))return void console.warn(`LavaMoat - conflicting rules exist for "${d}"`);if(!("value"in m))return void Reflect.defineProperty(o,u,g(m,c,l));let{sourceValue:y,sourceWritable:b}=k(m);if("function"!=typeof y)return void Reflect.defineProperty(o,u,m);function k(e){let t,r;if("value"in e)t=e.value,r=e.writable;else if("get"in e&&e.get)t=e.get.call(l),r="set"in e;else throw Error("getEndowmentsForConfig - property descriptor missing a getter");return{sourceValue:t,sourceWritable:r}}Reflect.defineProperty(o,u,{value:e(y,e=>e===c,l),writable:b,enumerable:m.enumerable,configurable:m.configurable})}function p(e,t,r){let n=e;return g(n=y(n,t,r),t,r)}function g(t,r,n){let s={...t};return t.get&&(s.get=function(){let s=Reflect.apply(t.get,this===r?n:this,[]);return"function"==typeof s?e(s,e=>e===r,n):s}),t.set&&(s.set=function(e){let s=this===r?n:this;return Reflect.apply(t.set,s,[e])}),s}function y(t,r,n){if(!("value"in t&&"function"==typeof t.value))return t;let s=e(t.value,e=>e===r,n);return{...t,value:s}}function v(e,t){let r=e;for(;;){if(!r)return{prop:null,receiver:null};let e=typeof r;if("object"===e||"function"===e){let e=Reflect.getOwnPropertyDescriptor(r,t);if(e)return{receiver:r,prop:e};r=Reflect.getPrototypeOf(r)}else r=r.__proto__}}function b(e,t,r=["globalThis"]){let s=n(e),a=s.findIndex(e=>e===Object.prototype),i=-1===a;i&&(a=s.length);let o=s.slice(0,a);o.forEach(t=>{Object.values(Object.getOwnPropertyDescriptors(t)).forEach(t=>{if("get"in t&&t.get)try{Reflect.apply(t.get,e,[])}catch{}})});let l=o.map((e,t)=>{let r=Object.getOwnPropertyDescriptors(e);return i&&t===o.length-1?Object.fromEntries(Object.entries(r).filter(([e])=>!(e in Object.prototype))):r});for(let n of(Object.entries(Object.assign(Object.create(null),...l.reverse())).filter(([e])=>!(e in t)).filter(([e])=>!r.includes(e)).forEach(([r,n])=>{let s=p(n,t,e);Reflect.defineProperty(t,r,s)}),r))n in t||(t[n]=t);return t}}function n(e){let t=[],r=e;for(;r&&("object"==typeof r||"function"==typeof r);)t.push(r),r=Reflect.getPrototypeOf(r);return t}function s(e,t){return e&&0!==e.length?`${e}.${t}`:t}function a(e){return!e}function i(e,t,r){let n=Reflect.getOwnPropertyDescriptor(t,e)?.enumerable;Reflect.defineProperty(r,e,{configurable:!1,enumerable:n,set(r){t[e]=r},get:()=>t[e]})}function o(e,t,r){let n=Reflect.getOwnPropertyDescriptor(t,e[0])?.enumerable,a=r,i="";for(let t=0;t<e.length-1;t++){i=s(i,e[t]);let r=e[t];if(Reflect.getOwnPropertyDescriptor(a,r)?.get)throw Error(`LavaMoat - "${e[0]}" is writeable elsewhere and both "${i}" and "${e.join(".")}" are allowed for one package. One of these entries is redundant.`);"object"!=typeof a[r]&&(a[r]={}),a=a[r]}Reflect.defineProperty(a,e[e.length-1],{get:()=>{let r=t[e[0]],n=t;for(let t=1;t<e.length;t++)n=r,r=r[e[t]];return"function"==typeof r&&(r=r.bind(n)),r},writeable:!1,enumerable:n,configurable:!1})}function l(e,t,r){let n=function(){return new.target?Reflect.construct(e,arguments,new.target):Reflect.apply(e,t(this)?r:this,arguments)};return Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)),Reflect.getPrototypeOf(n)!==Reflect.getPrototypeOf(e)&&Object.setPrototypeOf(n,Reflect.getPrototypeOf(e)),n}t.exports,t.exports=r,t.exports.defaultCreateFunctionWrapper=l,t.exports._test={instrumentDynamicValueAtPath:o},e.endowmentsToolkit=t.exports})(),(()=>{let t={exports:{}},r=t.exports;"event"in globalThis&&(globalThis.event=void 0);let{getOwnPropertyNames:n}=Object;function s(e){let t=[],r=e;for(;r&&("object"==typeof r||"function"==typeof r);)t.push(r),r=Reflect.getPrototypeOf(r);return t}!function(e){if("window"in e&&"object"==typeof e.window&&e!==e.window){let t=e.window,r=s(t),a=s(e);r.pop();let i=r.flatMap(e=>n(e)),o=new Set(a.flatMap(e=>n(e)));for(let r of i)if(!o.has(r)&&r in globalThis&&void 0!==t[r])try{e[r]=e[r]}catch{}}}(globalThis);let{defineProperty:a}=Object,{call:i}=Function.prototype,o=new WeakMap,l=globalThis,c=MessageEvent.prototype,u=new Compartment().globalThis,h=Object.getOwnPropertyDescriptor(c,"source");if(h&&h.get){let e=i.bind(h.get);a(c,"source",{...h,get(){let t=e(this);return t===l||t===l.window?o.get(this)||u:t}})}r.MessageEvent=(e,t,r)=>{let n=e.MessageEvent;n&&(e.MessageEvent=function(e,t){let s=new n(e,t);return o.set(s,r),s},e.MessageEvent.prototype=n.prototype)},r.addEventListener=(e,t,r)=>{let n=e.addEventListener;n&&(e.addEventListener=(e,s,a)=>"message"===e?n.call(t,e,e=>(o.set(e,r),s.call(r,e)),a):n.call(r,e,s,a))},e.repairs=t.exports})(),(()=>{let t,r={exports:{}};r.exports;let{repairIntrinsics:n}=globalThis,s="object"==typeof console?console.warn:()=>{},a=void 0!==n;a?(n(e.options.lockdown),LOCKDOWN_SHIMS.forEach(e=>{e()}),hardenIntrinsics()):s("LavaMoatPlugin: runtime execution started without SES present, switching to no-op.");let{keys:i,create:o,freeze:l,assign:c,defineProperty:u,defineProperties:h,getOwnPropertyDescriptors:d,fromEntries:m,entries:f,values:p}=Object,{Proxy:g,Math:y,Date:v}=globalThis,{harden:b}=globalThis,k=new Set;p(e.policy.resources).forEach(e=>{e.globals&&"object"==typeof e.globals&&f(e.globals).forEach(([e,t])=>{"write"===t&&k.add(e)})});let{getEndowmentsForConfig:w,copyWrappedGlobals:_,getBuiltinForConfig:S}=e.endowmentsToolkit({handleGlobalWrite:!0,knownWritableFields:k}),{NAME_globalThis:T,NAME_scopeTerminator:x,NAME_runtimeHandler:E}=e.ENUM,j=l(new g(l(o(null)),l({has:l(()=>!0)}))),A=globalThis,C=["window","self","global","globalThis","frames"],M=i(e.repairs||{}),I=new Map,R=t=>{let r=e.idmap.find(([,e])=>e.includes(t));if(r)return r[0]};e.defaultExport=l((r,n)=>{if(!a)return o(null);if(!I.has(r)){let n=new Compartment({Math:y,Date:v});((r,n)=>{if(r===e.root)_(A,t=n,C),e?.scuttling?.scuttle(A,e.options?.scuttleGlobalThis);else{let s=e.policy.resources[r]||{},a=w(t,s,globalThis,n);M.length>0&&s.globals&&i(s.globals).length>0&&M.forEach(t=>{if(a[t]){let r=e.repairs[t];r&&r(a,A,n)}}),h(n,{...d(a),...m(C.map(e=>[e,{value:n}]))}),e.debug&&e.debug.debugProxy(n,t,r)}})(r,n.globalThis),I.set(r,n)}let f=o(null),{__webpack_require__:p}=n,{module:k}=n;if(p){let t=function(t,...n){"number"!=typeof t&&(t=`${t}`);let s=p.bind(this,t,...n);var a=t;if(void 0===a)throw Error("Requested specifier is undefined");if(e.unenforceable.includes(a)||r===e.root)return s();let o=e.policy.resources[r]||{};if(e.externals[a]){let t=e.externals[a];if(o.builtin){if(o.builtin[t])return s();if(t&&!t.includes(".")&&i(o.builtin).some(e=>e.startsWith(`${t}.`)))return S(s(),t,o.builtin)}if(o.packages){let e=R(t);if(e&&o.packages[e])return s()}}let l=R(a);if(!l){if(e.ctxm.includes(a))throw Error(`'${r}' is trying to load a module dynamically from a dependency it has not been allowed using the following Webpack Context Module: '${a}'`);throw Error(`Requested specifier '${a}' is not allowed as a builtin and is not a known dependency of '${r}'; regenerate policy or add it to policy-override.json.`)}if(l===r||o.packages?.[l])return s();throw Error(`Policy does not allow importing ${l} from ${r}`)};for(let n of(t.e=t=>{if(!e.kch.includes(t))throw Error(`Attempt to load a chunk that was not known at compile time: ${t} from ${r}`);return p.e(t)},["O","n","d","o","r","s","t","b","j"]))t[n]=b(p[n]);t.m=new g({},{has:(e,t)=>(s(`A module attempted to read ${String(t)} directly from webpack's module cache`),!1)}),t.g=I.get(r).globalThis,t.nmd=e=>e===k?p.nmd(k):e,t.hmd=e=>e===k?p.hmd(k):e,f.__webpack_require__=t}let O=c(o(null),n,f);u(O,"module",{get:()=>k,set:()=>{}});let L=O.exports;return u(O,"exports",{get:()=>L,set:e=>{L=e}}),l(O),l(c(o(null),{[x]:j,[E]:O,[T]:I.get(r).globalThis}))}),e.runtime=r.exports})(),__webpack_require__._LM_=e.defaultExport,"undefined"!=typeof harden&&harden(__webpack_require__._LM_)})(),(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__(858572);var e=__webpack_require__(721127);var t=__webpack_require__(780094);var r=__webpack_require__(441775);let{chrome:n}=globalThis;(0,r.Tz)(),(0,r.L_)("service-worker-module-start",{environment:"testing",buildType:"flask",inTest:Boolean(!0),hasChromeRuntime:Boolean(n?.runtime),hasBrowserRuntime:Boolean(globalThis.browser?.runtime),hasFetch:typeof globalThis.fetch=="function",hasIndexedDB:Boolean(globalThis.indexedDB)});let s=new t.u(n,{runtime:["onInstalled","onConnect"]});globalThis.stateHooks.lazyListener=s;let a=!1;async function i(){if(a){(0,r.L_)("background-import-skipped");return}a=!0;let e=performance.now();(0,r.L_)("background-import-start");try{await Promise.all([__webpack_require__.e(5819),__webpack_require__.e(937),__webpack_require__.e(8452),__webpack_require__.e(2756),__webpack_require__.e(5703),__webpack_require__.e(3262),__webpack_require__.e(900),__webpack_require__.e(3211),__webpack_require__.e(4966),__webpack_require__.e(9828),__webpack_require__.e(8942),__webpack_require__.e(338),__webpack_require__.e(7193),__webpack_require__.e(7416),__webpack_require__.e(1300),__webpack_require__.e(4570),__webpack_require__.e(5104),__webpack_require__.e(7643),__webpack_require__.e(7344),__webpack_require__.e(283),__webpack_require__.e(8231),__webpack_require__.e(629),__webpack_require__.e(9510),__webpack_require__.e(3366),__webpack_require__.e(4629)]).then(__webpack_require__.bind(__webpack_require__,543366))}catch(e){throw(0,r.L_)("background-import-failed",{error:(0,r.YQ)(e)}),e}let t=(performance.now()-e)/1e3;console.log(`importScripts completed in ${t} seconds`),(0,r.L_)("background-import-complete",{durationSeconds:t})}self.addEventListener("install",()=>{(0,r.L_)("install-event"),i()}),n.runtime.onConnect.addListener(t=>{(0,r.L_)("runtime-on-connect",{portName:t.name}),console.log("MetaMask service worker: Received connection from port",t.name);try{t.postMessage({data:{method:e.pr},name:"app-init-liveness"})}catch(e){console.error("MetaMask - app-init-liveness check: Failed to message to port",e)}}),self.serviceWorker.state==="activated"&&((0,r.L_)("service-worker-already-activated"),i())}}).call(__webpack_require__._LM_("$root$",{__webpack_require__}))()})();