@zeniai/web-app-ui 5.3.52-dev → 5.3.53-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AccountMappingScreen-CfjKXYvl.js → AccountMappingScreen-h6RQnGUG.js} +2 -2
- package/dist/assets/{ActualMatchingMatchDetailScreen-Ctlw5YXu.js → ActualMatchingMatchDetailScreen-B7Vw_l4c.js} +1 -1
- package/dist/assets/AddressRoutes-w8tyo6J5.js +1 -0
- package/dist/assets/AddressScreen-DcUrSOsf.js +9 -0
- package/dist/assets/AiCfoScreen-CpQfUa4g.js +22 -0
- package/dist/assets/{AppDrawer-QudxLZqd.js → AppDrawer-DrLIFDtl.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes--p2o0UTq.js → BillPayApprovalRoutes-Cjvq2rbF.js} +1 -1
- package/dist/assets/BillPayRoutes-CPJm_O1t.js +119 -0
- package/dist/assets/{BusinessVerificationPageScreen-fABxFj6p.js → BusinessVerificationPageScreen-DJA0DrrC.js} +2 -2
- package/dist/assets/CardsAiCfoScreen-DDb2ZuZ_.js +14 -0
- package/dist/assets/{ChargeCardRoutes-8okIr07w.js → ChargeCardRoutes-CbSM_5m3.js} +8 -8
- package/dist/assets/CompanyPassportScreen-j_dRH50h.js +1 -0
- package/dist/assets/{ConnectionAuthScreen-BkpK3Q9m.js → ConnectionAuthScreen-DsPkAmru.js} +2 -2
- package/dist/assets/CustomerOnboardingAuthScreen-BNBLWcXr.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-A9qZQBlL.js → CustomerOnboardingRoutes-ZSH-nufQ.js} +3 -3
- package/dist/assets/{DashboardRoutes-monhFGcO.js → DashboardRoutes-BtOqv-MN.js} +3 -3
- package/dist/assets/{DefaultTenantHome-B4aMzjG6.js → DefaultTenantHome-DToEgYOq.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-DSnjP_Z5.js → DomesticWireDetailScreen-CVW4GyMY.js} +3 -3
- package/dist/assets/{DrawerScreen-C728nU-t.js → DrawerScreen-_ojy_hFg.js} +1 -1
- package/dist/assets/EntityDetailRoutes-CK-mH_-b.js +1 -0
- package/dist/assets/{ExpenseAutomationRoutes-lJCxAksc.js → ExpenseAutomationRoutes-b3yLxHwD.js} +7 -7
- package/dist/assets/FeaturePreviewScreen-BoONdT_D.js +1 -0
- package/dist/assets/HubSpotOAuthCallbackScreen-DndTTZ9T.js +1 -0
- package/dist/assets/{InboxNotificationsProvider-Bd8tLMl8.js → InboxNotificationsProvider-D6QvVVj8.js} +1 -1
- package/dist/assets/{InvoicingRoutes-BFDQ_AF7.js → InvoicingRoutes-DkUuCZTT.js} +2 -2
- package/dist/assets/MagicLinkRoutes-D3FD1AQ_.js +72 -0
- package/dist/assets/MagicLinkSignInScreen-xu1o-sOL.js +12 -0
- package/dist/assets/MobileAppDrawer-BnS3AEOn.js +1 -0
- package/dist/assets/NotFoundScreen-zRiKZg68.js +1 -0
- package/dist/assets/{NotificationRoutes-Dq1wMoB2.js → NotificationRoutes-BNeDbLRn.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-QrzCNvCR.js → OAuthConsentScreen-CFGSPUJy.js} +1 -1
- package/dist/assets/PandLWithForecastRoutes-LfSp6i3w.js +1 -0
- package/dist/assets/{PaymentLinkScreen-BYkX6g2m.js → PaymentLinkScreen-DeBS8t6S.js} +4 -4
- package/dist/assets/{PeopleRoutes-BSwZbUJ-.js → PeopleRoutes-Dq1v6Pp-.js} +5 -5
- package/dist/assets/PerformanceRoutes-DIdRvtFD.js +1 -0
- package/dist/assets/{Preview-Bt5Z89U4.js → Preview-CDuSXomS.js} +1 -1
- package/dist/assets/QBOConnectionScreen-BnB1aZoV.js +100 -0
- package/dist/assets/ReimbursementApprovalRoutes-C1kq5riD.js +1 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BqumfK_F.js → ReimbursementApprovalRuleDetailScreen-Cs7pkBs7.js} +1 -1
- package/dist/assets/ReimbursementRoutes-DnFb48rt.js +68 -0
- package/dist/assets/{ReportsRoutes-BbjIc2Jw.js → ReportsRoutes-CbRMfUn0.js} +1 -1
- package/dist/assets/RewardsRoutes-BS5WcL7W.js +1 -0
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-DETwY7pD.js → ScheduleDetailsPrepaidExpensesScreen-U50ydaXU.js} +5 -5
- package/dist/assets/ScreenRoutes-0QveS_Gw.js +2 -0
- package/dist/assets/{SettingsRoutes-DwAkdZyX.js → SettingsRoutes-DsqPy7ab.js} +6 -6
- package/dist/assets/{SetupPagesScreen-Y9SYCogP.js → SetupPagesScreen-DyVC5Tjr.js} +5 -5
- package/dist/assets/SignInScreen-0Mg5cQhJ.js +1 -0
- package/dist/assets/SignOutScreen-DXrcHbwR.js +9 -0
- package/dist/assets/TaskListScreen-D8nGyAze.js +9 -0
- package/dist/assets/TaskRoutes-CvGAs8TT.js +9 -0
- package/dist/assets/TransactionDetailRoutes-Bn3kvwnI.js +1 -0
- package/dist/assets/{TransactionDetailScreen-0HhiaPRe.js → TransactionDetailScreen-CpeLNLRs.js} +2 -2
- package/dist/assets/TransactionListRoutes-GwUAS2rg.js +1 -0
- package/dist/assets/{TreasuryRoutes-DKuwHbrg.js → TreasuryRoutes-DGbJojow.js} +3 -3
- package/dist/assets/{VendorsRoutes-DXw2vvr4.js → VendorsRoutes-D_uL1WqL.js} +12 -12
- package/dist/assets/WiseConfirmationScreen-BGmtQRG5.js +12 -0
- package/dist/assets/{ZeniAccountRoutes-BU1gb-LE.js → ZeniAccountRoutes-DnIPkvTG.js} +11 -11
- package/dist/assets/ZeniAccountStatementScreen-D1FrDKPz.js +9 -0
- package/dist/assets/{accountMappingHelper-DQktkWkn.js → accountMappingHelper-DNRaFM1C.js} +1 -1
- package/dist/assets/{analytics-GZ8dIY_c.js → analytics-Y9Rn1Gu7.js} +1 -1
- package/dist/assets/analyticsHelper-b_0JgbzW.js +1 -0
- package/dist/assets/{core-DOBELRta.js → core-Dh_SHcAD.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DjVlhgki.js → decodeURIComponentSafe-B9wRnGXi.js} +1 -1
- package/dist/assets/{dnd-0MaFz9wL.js → dnd-CwwWYFuT.js} +1 -1
- package/dist/assets/{empty-DsXUnWhI.js → empty-BT_7GI6y.js} +1 -1
- package/dist/assets/{empty-C3pt8GU3.js → empty-XI8MiQF0.js} +1 -1
- package/dist/assets/{emptyVideoElement-DObxt-h2.js → emptyVideoElement-JNmKZqZz.js} +1 -1
- package/dist/assets/epic-COW9EFJg.js +2 -0
- package/dist/assets/expenseAutomationHelper-jy143DnO.js +1 -0
- package/dist/assets/{getLocaleForTenant-Dfv4vBw9.js → getLocaleForTenant-CCfef8lM.js} +1 -1
- package/dist/assets/{index-px1SxWJw.js → index-8Q8Cb_pA.js} +1 -1
- package/dist/assets/index-B23hmQHl.js +1 -0
- package/dist/assets/{index-CXbL8CxL.js → index-BeqOty_5.js} +12169 -12162
- package/dist/assets/{index-BmFszw0H.js → index-C4rZANm7.js} +1 -1
- package/dist/assets/{index-rIJ81ix1.js → index-D3h8toFn.js} +1 -1
- package/dist/assets/{index-1mAhqt2L.js → index-DOYaY83A.js} +1 -1
- package/dist/assets/{index-JlXkO7-y.js → index-DTprL6g9.js} +1 -1
- package/dist/assets/{index-F4l7OCjI.js → index-D_bKIveY.js} +2 -2
- package/dist/assets/{lexical-CAgOy6Q-.js → lexical-CaftfZ9D.js} +1 -1
- package/dist/assets/{liveblocks-BPL36a6x.js → liveblocks-DR8KfETq.js} +1 -1
- package/dist/assets/{lottie-38LSfraF.js → lottie-ODKvpFjz.js} +1 -1
- package/dist/assets/{mui-wO6EIETx.js → mui-BYn_Ugho.js} +1 -1
- package/dist/assets/{pathToGoBack-BTiQNxwp.js → pathToGoBack-BiqpVJeS.js} +1 -1
- package/dist/assets/{pdf-B2N0erO1.js → pdf-DnQo5-Qw.js} +3 -3
- package/dist/assets/{pdf-lib-Ct6vdrHd.js → pdf-lib-DdZd3IiB.js} +1 -1
- package/dist/assets/{plaid-C-eBmVPr.js → plaid-Dw8l1kdg.js} +1 -1
- package/dist/assets/{pusher-Qt-2jBy4.js → pusher-CewboUYG.js} +1 -1
- package/dist/assets/{react-D0sfM7Iy.js → react-8By583h-.js} +1 -1
- package/dist/assets/{react-DSWUEYTa.js → react-B8IvMjeE.js} +1 -1
- package/dist/assets/{react-BogDsHCA.js → react-BgmP_PBP.js} +1 -1
- package/dist/assets/{react-ByoUrZyD.js → react-CWd2ZkNi.js} +1 -1
- package/dist/assets/{react-9dynYr-j.js → react-gSPYEWZo.js} +1 -1
- package/dist/assets/{react-ofgvrscL.js → react-ygIo2ccY.js} +1 -1
- package/dist/assets/{recharts-Sp9X2zHo.js → recharts-BTL88W4R.js} +1 -1
- package/dist/assets/{routePaths-7schl7H2.js → routePaths-CN71IXC6.js} +1 -1
- package/dist/assets/{sentry-_x3Yh1Jc.js → sentry-FwaDhTzy.js} +1 -1
- package/dist/assets/{stripSplatSuffix-bz-VGo3l.js → stripSplatSuffix-CvpfThkG.js} +1 -1
- package/dist/assets/{url-DBFa8kl5.js → url-DHu7Ejzz.js} +1 -1
- package/dist/assets/{url-DW2CK7rX.js → url-DybJ-sxa.js} +1 -1
- package/dist/assets/useActualMatchingMatchDetail-CgMvOK9S.js +1 -0
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-BdSnJq4D.js → useAiCfoDashboardSuggestedQuestionsChips-B5JNAQpD.js} +1 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-BnkkGFrU.js +1 -0
- package/dist/assets/{useChargeCardPusherEvents-BHookjIG.js → useChargeCardPusherEvents-D9DQtbnp.js} +1 -1
- package/dist/assets/{useDeviceId-EJu2KjP1.js → useDeviceId-CUJxM_KE.js} +1 -1
- package/dist/assets/useEmailConnectResultRefresh-DWvxRsrW.js +1 -0
- package/dist/assets/{useInitialThreadRequest-TFVuVZA_.js → useInitialThreadRequest-AIPuwXqX.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-CiaMEBoG.js → useTaskManagerAccess-DJBrAqGh.js} +1 -1
- package/dist/assets/useTaskManagerPusherEvents-CWsImhYv.js +1 -0
- package/dist/assets/utils-DEAaFgLU.js +36 -0
- package/dist/assets/{withTransactionSidePanel-BR8uip_B.js → withTransactionSidePanel-BA2-aFQT.js} +6 -6
- package/dist/assets/{zeni-epic-state-DXFYDM66.js → zeni-epic-state-DJh0-ZeR.js} +5 -5
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AddressRoutes-DakZpUxU.js +0 -1
- package/dist/assets/AddressScreen-dsCmoEfc.js +0 -9
- package/dist/assets/AiCfoScreen-1hhGcQPM.js +0 -22
- package/dist/assets/BillPayRoutes-BQ5naZy9.js +0 -119
- package/dist/assets/CardsAiCfoScreen-D7lfbMvU.js +0 -14
- package/dist/assets/CompanyPassportScreen-DGlmYKZ8.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-CUL244kC.js +0 -1
- package/dist/assets/EntityDetailRoutes-Bn5UTAGi.js +0 -1
- package/dist/assets/FeaturePreviewScreen-BTcHNbYq.js +0 -1
- package/dist/assets/HubSpotOAuthCallbackScreen-DeY4bk0n.js +0 -1
- package/dist/assets/MagicLinkRoutes-CDa3T_71.js +0 -72
- package/dist/assets/MagicLinkSignInScreen-DkY-AFQs.js +0 -12
- package/dist/assets/MobileAppDrawer-CZL1M8HC.js +0 -1
- package/dist/assets/NotFoundScreen-rNwJ2-Qg.js +0 -1
- package/dist/assets/PandLWithForecastRoutes-CGjGCsop.js +0 -1
- package/dist/assets/PerformanceRoutes-Cr1pAdV3.js +0 -1
- package/dist/assets/QBOConnectionScreen-TrNoYiXG.js +0 -100
- package/dist/assets/ReimbursementApprovalRoutes-C2OtR60a.js +0 -1
- package/dist/assets/ReimbursementRoutes-CPjQ0Aws.js +0 -68
- package/dist/assets/RewardsRoutes-Ca33Xd5P.js +0 -1
- package/dist/assets/ScreenRoutes-CiAckpHg.js +0 -2
- package/dist/assets/SignInScreen-McvwseEQ.js +0 -1
- package/dist/assets/SignOutScreen-lXmArlao.js +0 -9
- package/dist/assets/TaskListScreen-CZxRWWOz.js +0 -9
- package/dist/assets/TaskRoutes-q7JoPp0N.js +0 -9
- package/dist/assets/TransactionDetailRoutes-ZlWD_PWX.js +0 -1
- package/dist/assets/TransactionListRoutes-UQ_0OeeD.js +0 -1
- package/dist/assets/WiseConfirmationScreen-XQZz5N0L.js +0 -12
- package/dist/assets/ZeniAccountStatementScreen-CrkxN9K8.js +0 -9
- package/dist/assets/analyticsHelper-B9ZU7ow3.js +0 -1
- package/dist/assets/epic-BqUfEKD1.js +0 -2
- package/dist/assets/expenseAutomationHelper-CRKfrxDD.js +0 -1
- package/dist/assets/index-C_zqEcVM.js +0 -1
- package/dist/assets/useActualMatchingMatchDetail-BFtfLe4Y.js +0 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-gnFsttzV.js +0 -1
- package/dist/assets/useEmailConnectResultRefresh-bvDRvnqZ.js +0 -1
- package/dist/assets/utils-BU0XThgM.js +0 -36
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import{p as isSymbol,M as baseToString,D as toInteger,W as WeakMap$1,q as identity,N as baseCreate,c as isObject,r as root,O as noop,P as copyArray,a as isObjectLike,i as isArray,Q as shortOut,R as arrayEach,S as arrayIncludes,T as setToString,U as isIndex,V as apply,X as createAssigner,Y as isPrototype,Z as isArrayLike,$ as copyObject,a0 as keys,a1 as assignValue,a2 as keysIn,g as get$1,a3 as flatRest,b as baseGetTag,x as isPlainObject,k as baseRest,a4 as toKey,C as baseAssignValue,t as toString,o as toNumber,l as isIterateeCall,a5 as baseSlice,a6 as baseClone,a7 as arrayPush,n as baseFlatten,a8 as arrayMap,j as baseIteratee,z as baseEach,a9 as baseAssign,aa as eq,ab as isBuffer,ac as isTypedArray$2,ad as isArrayLikeObject,ae as cloneBuffer,af as cloneTypedArray,ag as isArguments$1,d as isFunction,ah as initCloneObject,ai as baseFor,aj as Stack,w as last,ak as baseDifference,al as createBaseFor,am as createBaseEach,an as getTag,ao as mapToArray,ap as arrayFilter,B as baseForOwn,aq as map,y as toFinite,ar as values,as as baseIndexOf,at as baseUnary,au as SetCache,av as cacheHas,aw as arrayIncludesWith,ax as constant,ay as castPath,az as parent,aA as nodeUtil,aB as baseIsEqual,aC as baseIsMatch,aD as getMatchData,aE as coreJsData,aF as stubFalse,aG as baseIsNative,E as baseFindIndex,aH as baseIsNaN,aI as baseMatches,aJ as baseMatchesProperty,s as stringToArray,aK as Symbol$1,aL as setToArray,aM as baseGet,aN as getAllKeysIn,A as arraySome,aO as baseProperty,h as hasUnicode,e as castSlice,aP as hasIn,aQ as baseUnset,aR as compareAscending,aS as baseKeys,aT as assignWith,aU as baseValues,aV as baseTimes,aW as stringToPath,aX as getPrototype,aY as baseTrim,aZ as charsEndIndex,f as baseUniq,a_ as difference,a$ as differenceBy,b0 as flatten,b1 as uniq,b2 as findLastIndex,u as flatMap,b3 as orderBy,b4 as findLast,G as memoize,b5 as cloneDeep,b6 as isEmpty,v as isEqual,b7 as isLength,b8 as isMap,b9 as isSet,ba as omit,bb as has,bc as trimEnd,bd as property,be as stubArray,L as Buffer}from"./zeni-epic-state-DJh0-ZeR.js";import{u as upperFirst,b as baseGt,e as isString,f as createCaseFirst,g as baseLt,h as baseSum,j as arrayEvery,k as createRange,l as uniqBy,m as findIndex,n as head,s as sortBy,o as every,p as find,q as some,r as now,d as debounce,t as throttle,v as isBoolean,w as isNaN$1,x as isNil,y as isNumber,z as max$1,A as maxBy,B as min$1,C as minBy,D as sumBy,E as mapValues,F as range$1}from"./recharts-BTL88W4R.js";import{d as commonjsGlobal,p as process$1}from"./sentry-FwaDhTzy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8465fad7-86f0-43f3-9bf3-167f89272343",e._sentryDebugIdIdentifier="sentry-dbid-8465fad7-86f0-43f3-9bf3-167f89272343")}catch{}})();var NAN$1=NaN;function baseToNumber(e){return typeof e=="number"?e:isSymbol(e)?NAN$1:+e}function createMathOperation(e,r){return function(u,t){var o;if(u===void 0&&t===void 0)return r;if(u!==void 0&&(o=u),t!==void 0){if(o===void 0)return t;typeof u=="string"||typeof t=="string"?(u=baseToString(u),t=baseToString(t)):(u=baseToNumber(u),t=baseToNumber(t)),o=e(u,t)}return o}}var add=createMathOperation((function(e,r){return e+r}),0),FUNC_ERROR_TEXT$8="Expected a function";function after(e,r){if(typeof r!="function")throw new TypeError(FUNC_ERROR_TEXT$8);return e=toInteger(e),function(){if(--e<1)return r.apply(this,arguments)}}var metaMap=WeakMap$1&&new WeakMap$1,baseSetData=metaMap?function(e,r){return metaMap.set(e,r),e}:identity;function createCtor(e){return function(){var r=arguments;switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3]);case 5:return new e(r[0],r[1],r[2],r[3],r[4]);case 6:return new e(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new e(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var u=baseCreate(e.prototype),t=e.apply(u,r);return isObject(t)?t:u}}var WRAP_BIND_FLAG$7=1;function createBind(e,r,u){var t=r&WRAP_BIND_FLAG$7,o=createCtor(e);return function l(){return(this&&this!==root&&this instanceof l?o:e).apply(t?u:this,arguments)}}var nativeMax$b=Math.max;function composeArgs(e,r,u,t){for(var o=-1,l=e.length,c=u.length,a=-1,n=r.length,i=nativeMax$b(l-c,0),s=Array(n+i),f=!t;++a<n;)s[a]=r[a];for(;++o<c;)(f||o<l)&&(s[u[o]]=e[o]);for(;i--;)s[a++]=e[o++];return s}var nativeMax$a=Math.max;function composeArgsRight(e,r,u,t){for(var o=-1,l=e.length,c=-1,a=u.length,n=-1,i=r.length,s=nativeMax$a(l-a,0),f=Array(s+i),d=!t;++o<s;)f[o]=e[o];for(var h=o;++n<i;)f[h+n]=r[n];for(;++c<a;)(d||o<l)&&(f[h+u[c]]=e[o++]);return f}function countHolders(e,r){for(var u=e.length,t=0;u--;)e[u]===r&&++t;return t}function baseLodash(){}var MAX_ARRAY_LENGTH$6=4294967295;function LazyWrapper(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=MAX_ARRAY_LENGTH$6,this.__views__=[]}LazyWrapper.prototype=baseCreate(baseLodash.prototype),LazyWrapper.prototype.constructor=LazyWrapper;var getData=metaMap?function(e){return metaMap.get(e)}:noop,realNames={},objectProto$a=Object.prototype,hasOwnProperty$9=objectProto$a.hasOwnProperty;function getFuncName(e){for(var r=e.name+"",u=realNames[r],t=hasOwnProperty$9.call(realNames,r)?u.length:0;t--;){var o=u[t],l=o.func;if(l==null||l==e)return o.name}return r}function LodashWrapper(e,r){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=void 0}function wrapperClone(e){if(e instanceof LazyWrapper)return e.clone();var r=new LodashWrapper(e.__wrapped__,e.__chain__);return r.__actions__=copyArray(e.__actions__),r.__index__=e.__index__,r.__values__=e.__values__,r}LodashWrapper.prototype=baseCreate(baseLodash.prototype),LodashWrapper.prototype.constructor=LodashWrapper;var objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty;function lodash$1(e){if(isObjectLike(e)&&!isArray(e)&&!(e instanceof LazyWrapper)){if(e instanceof LodashWrapper)return e;if(hasOwnProperty$8.call(e,"__wrapped__"))return wrapperClone(e)}return new LodashWrapper(e)}function isLaziable(e){var r=getFuncName(e),u=lodash$1[r];if(typeof u!="function"||!(r in LazyWrapper.prototype))return!1;if(e===u)return!0;var t=getData(u);return!!t&&e===t[0]}lodash$1.prototype=baseLodash.prototype,lodash$1.prototype.constructor=lodash$1;var setData=shortOut(baseSetData),reWrapDetails=/\{\n\/\* \[wrapped with (.+)\] \*/,reSplitDetails=/,? & /;function getWrapDetails(e){var r=e.match(reWrapDetails);return r?r[1].split(reSplitDetails):[]}var reWrapComment=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function insertWrapDetails(e,r){var u=r.length;if(!u)return e;var t=u-1;return r[t]=(u>1?"& ":"")+r[t],r=r.join(u>2?", ":" "),e.replace(reWrapComment,`{
|
|
2
|
+
/* [wrapped with `+r+`] */
|
|
3
|
+
`)}var WRAP_BIND_FLAG$6=1,WRAP_BIND_KEY_FLAG$5=2,WRAP_CURRY_FLAG$6=8,WRAP_CURRY_RIGHT_FLAG$3=16,WRAP_PARTIAL_FLAG$6=32,WRAP_PARTIAL_RIGHT_FLAG$3=64,WRAP_ARY_FLAG$4=128,WRAP_REARG_FLAG$3=256,WRAP_FLIP_FLAG$2=512,wrapFlags=[["ary",WRAP_ARY_FLAG$4],["bind",WRAP_BIND_FLAG$6],["bindKey",WRAP_BIND_KEY_FLAG$5],["curry",WRAP_CURRY_FLAG$6],["curryRight",WRAP_CURRY_RIGHT_FLAG$3],["flip",WRAP_FLIP_FLAG$2],["partial",WRAP_PARTIAL_FLAG$6],["partialRight",WRAP_PARTIAL_RIGHT_FLAG$3],["rearg",WRAP_REARG_FLAG$3]];function updateWrapDetails(e,r){return arrayEach(wrapFlags,(function(u){var t="_."+u[0];r&u[1]&&!arrayIncludes(e,t)&&e.push(t)})),e.sort()}function setWrapToString(e,r,u){var t=r+"";return setToString(e,insertWrapDetails(t,updateWrapDetails(getWrapDetails(t),u)))}var WRAP_CURRY_BOUND_FLAG$1=4,WRAP_CURRY_FLAG$5=8,WRAP_PARTIAL_FLAG$5=32,WRAP_PARTIAL_RIGHT_FLAG$2=64;function createRecurry(e,r,u,t,o,l,c,a,n,i){var s=r&WRAP_CURRY_FLAG$5;r|=s?WRAP_PARTIAL_FLAG$5:WRAP_PARTIAL_RIGHT_FLAG$2,(r&=~(s?WRAP_PARTIAL_RIGHT_FLAG$2:WRAP_PARTIAL_FLAG$5))&WRAP_CURRY_BOUND_FLAG$1||(r&=-4);var f=[e,r,o,s?l:void 0,s?c:void 0,s?void 0:l,s?void 0:c,a,n,i],d=u.apply(void 0,f);return isLaziable(e)&&setData(d,f),d.placeholder=t,setWrapToString(d,e,r)}function getHolder(e){return e.placeholder}var nativeMin$c=Math.min;function reorder(e,r){for(var u=e.length,t=nativeMin$c(r.length,u),o=copyArray(e);t--;){var l=r[t];e[t]=isIndex(l,u)?o[l]:void 0}return e}var PLACEHOLDER$1="__lodash_placeholder__";function replaceHolders(e,r){for(var u=-1,t=e.length,o=0,l=[];++u<t;){var c=e[u];c!==r&&c!==PLACEHOLDER$1||(e[u]=PLACEHOLDER$1,l[o++]=u)}return l}var WRAP_BIND_FLAG$5=1,WRAP_BIND_KEY_FLAG$4=2,WRAP_CURRY_FLAG$4=8,WRAP_CURRY_RIGHT_FLAG$2=16,WRAP_ARY_FLAG$3=128,WRAP_FLIP_FLAG$1=512;function createHybrid(e,r,u,t,o,l,c,a,n,i){var s=r&WRAP_ARY_FLAG$3,f=r&WRAP_BIND_FLAG$5,d=r&WRAP_BIND_KEY_FLAG$4,h=r&(WRAP_CURRY_FLAG$4|WRAP_CURRY_RIGHT_FLAG$2),p=r&WRAP_FLIP_FLAG$1,b=d?void 0:createCtor(e);return function y(){for(var g=arguments.length,R=Array(g),S=g;S--;)R[S]=arguments[S];if(h)var w=getHolder(y),q=countHolders(R,w);if(t&&(R=composeArgs(R,t,o,h)),l&&(R=composeArgsRight(R,l,c,h)),g-=q,h&&g<i){var I=replaceHolders(R,w);return createRecurry(e,r,createHybrid,y.placeholder,u,R,I,a,n,i-g)}var P=f?u:this,O=d?P[e]:e;return g=R.length,a?R=reorder(R,a):p&&g>1&&R.reverse(),s&&n<g&&(R.length=n),this&&this!==root&&this instanceof y&&(O=b||createCtor(O)),O.apply(P,R)}}function createCurry(e,r,u){var t=createCtor(e);return function o(){for(var l=arguments.length,c=Array(l),a=l,n=getHolder(o);a--;)c[a]=arguments[a];var i=l<3&&c[0]!==n&&c[l-1]!==n?[]:replaceHolders(c,n);return(l-=i.length)<u?createRecurry(e,r,createHybrid,o.placeholder,void 0,c,i,void 0,void 0,u-l):apply(this&&this!==root&&this instanceof o?t:e,this,c)}}var WRAP_BIND_FLAG$4=1;function createPartial(e,r,u,t){var o=r&WRAP_BIND_FLAG$4,l=createCtor(e);return function c(){for(var a=-1,n=arguments.length,i=-1,s=t.length,f=Array(s+n),d=this&&this!==root&&this instanceof c?l:e;++i<s;)f[i]=t[i];for(;n--;)f[i++]=arguments[++a];return apply(d,o?u:this,f)}}var PLACEHOLDER="__lodash_placeholder__",WRAP_BIND_FLAG$3=1,WRAP_BIND_KEY_FLAG$3=2,WRAP_CURRY_BOUND_FLAG=4,WRAP_CURRY_FLAG$3=8,WRAP_ARY_FLAG$2=128,WRAP_REARG_FLAG$2=256,nativeMin$b=Math.min;function mergeData(e,r){var u=e[1],t=r[1],o=u|t,l=o<(WRAP_BIND_FLAG$3|WRAP_BIND_KEY_FLAG$3|WRAP_ARY_FLAG$2),c=t==WRAP_ARY_FLAG$2&&u==WRAP_CURRY_FLAG$3||t==WRAP_ARY_FLAG$2&&u==WRAP_REARG_FLAG$2&&e[7].length<=r[8]||t==(WRAP_ARY_FLAG$2|WRAP_REARG_FLAG$2)&&r[7].length<=r[8]&&u==WRAP_CURRY_FLAG$3;if(!l&&!c)return e;t&WRAP_BIND_FLAG$3&&(e[2]=r[2],o|=u&WRAP_BIND_FLAG$3?0:WRAP_CURRY_BOUND_FLAG);var a=r[3];if(a){var n=e[3];e[3]=n?composeArgs(n,a,r[4]):a,e[4]=n?replaceHolders(e[3],PLACEHOLDER):r[4]}return(a=r[5])&&(n=e[5],e[5]=n?composeArgsRight(n,a,r[6]):a,e[6]=n?replaceHolders(e[5],PLACEHOLDER):r[6]),(a=r[7])&&(e[7]=a),t&WRAP_ARY_FLAG$2&&(e[8]=e[8]==null?r[8]:nativeMin$b(e[8],r[8])),e[9]==null&&(e[9]=r[9]),e[0]=r[0],e[1]=o,e}var FUNC_ERROR_TEXT$7="Expected a function",WRAP_BIND_FLAG$2=1,WRAP_BIND_KEY_FLAG$2=2,WRAP_CURRY_FLAG$2=8,WRAP_CURRY_RIGHT_FLAG$1=16,WRAP_PARTIAL_FLAG$4=32,WRAP_PARTIAL_RIGHT_FLAG$1=64,nativeMax$9=Math.max;function createWrap(e,r,u,t,o,l,c,a){var n=r&WRAP_BIND_KEY_FLAG$2;if(!n&&typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$7);var i=t?t.length:0;if(i||(r&=-97,t=o=void 0),c=c===void 0?c:nativeMax$9(toInteger(c),0),a=a===void 0?a:toInteger(a),i-=o?o.length:0,r&WRAP_PARTIAL_RIGHT_FLAG$1){var s=t,f=o;t=o=void 0}var d=n?void 0:getData(e),h=[e,r,u,t,o,s,f,l,c,a];if(d&&mergeData(h,d),e=h[0],r=h[1],u=h[2],t=h[3],o=h[4],!(a=h[9]=h[9]===void 0?n?0:e.length:nativeMax$9(h[9]-i,0))&&r&(WRAP_CURRY_FLAG$2|WRAP_CURRY_RIGHT_FLAG$1)&&(r&=-25),r&&r!=WRAP_BIND_FLAG$2)p=r==WRAP_CURRY_FLAG$2||r==WRAP_CURRY_RIGHT_FLAG$1?createCurry(e,r,a):r!=WRAP_PARTIAL_FLAG$4&&r!=(WRAP_BIND_FLAG$2|WRAP_PARTIAL_FLAG$4)||o.length?createHybrid.apply(void 0,h):createPartial(e,r,u,t);else var p=createBind(e,r,u);return setWrapToString((d?baseSetData:setData)(p,h),e,r)}var WRAP_ARY_FLAG$1=128;function ary(e,r,u){return r=u?void 0:r,r=e&&r==null?e.length:r,createWrap(e,WRAP_ARY_FLAG$1,void 0,void 0,void 0,void 0,r)}var objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty,assign=createAssigner((function(e,r){if(isPrototype(r)||isArrayLike(r))copyObject(r,keys(r),e);else for(var u in r)hasOwnProperty$7.call(r,u)&&assignValue(e,u,r[u])})),assignIn=createAssigner((function(e,r){copyObject(r,keysIn(r),e)})),assignInWith=createAssigner((function(e,r,u,t){copyObject(r,keysIn(r),e,t)}));function baseAt(e,r){for(var u=-1,t=r.length,o=Array(t),l=e==null;++u<t;)o[u]=l?void 0:get$1(e,r[u]);return o}var at=flatRest(baseAt),domExcTag="[object DOMException]",errorTag="[object Error]";function isError(e){if(!isObjectLike(e))return!1;var r=baseGetTag(e);return r==errorTag||r==domExcTag||typeof e.message=="string"&&typeof e.name=="string"&&!isPlainObject(e)}var attempt=baseRest((function(e,r){try{return apply(e,void 0,r)}catch(u){return isError(u)?u:new Error(u)}})),FUNC_ERROR_TEXT$6="Expected a function";function before(e,r){var u;if(typeof r!="function")throw new TypeError(FUNC_ERROR_TEXT$6);return e=toInteger(e),function(){return--e>0&&(u=r.apply(this,arguments)),e<=1&&(r=void 0),u}}var WRAP_BIND_FLAG$1=1,WRAP_PARTIAL_FLAG$3=32,bind=baseRest((function(e,r,u){var t=WRAP_BIND_FLAG$1;if(u.length){var o=replaceHolders(u,getHolder(bind));t|=WRAP_PARTIAL_FLAG$3}return createWrap(e,t,r,u,o)}));bind.placeholder={};var bindAll=flatRest((function(e,r){return arrayEach(r,(function(u){u=toKey(u),baseAssignValue(e,u,bind(e[u],e))})),e})),WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG$1=2,WRAP_PARTIAL_FLAG$2=32,bindKey=baseRest((function(e,r,u){var t=WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG$1;if(u.length){var o=replaceHolders(u,getHolder(bindKey));t|=WRAP_PARTIAL_FLAG$2}return createWrap(r,t,e,u,o)}));function capitalize(e){return upperFirst(toString(e).toLowerCase())}function arrayReduce(e,r,u,t){var o=-1,l=e==null?0:e.length;for(t&&l&&(u=e[++o]);++o<l;)u=r(u,e[o],o,e);return u}function basePropertyOf(e){return function(r){return e?.[r]}}bindKey.placeholder={};var deburredLetters={À:"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",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},deburrLetter=basePropertyOf(deburredLetters),reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsComboMarksRange$2="\\u0300-\\u036f",reComboHalfMarksRange$2="\\ufe20-\\ufe2f",rsComboSymbolsRange$2="\\u20d0-\\u20ff",rsComboRange$2=rsComboMarksRange$2+reComboHalfMarksRange$2+rsComboSymbolsRange$2,rsCombo$2="["+rsComboRange$2+"]",reComboMark=RegExp(rsCombo$2,"g");function deburr(e){return(e=toString(e))&&e.replace(reLatin,deburrLetter).replace(reComboMark,"")}var reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function asciiWords(e){return e.match(reAsciiWord)||[]}var reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function hasUnicodeWord(e){return reHasUnicodeWord.test(e)}var rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$1="\\u0300-\\u036f",reComboHalfMarksRange$1="\\ufe20-\\ufe2f",rsComboSymbolsRange$1="\\u20d0-\\u20ff",rsComboRange$1=rsComboMarksRange$1+reComboHalfMarksRange$1+rsComboSymbolsRange$1,rsDingbatRange="\\u2700-\\u27bf",rsLowerRange="a-z\\xdf-\\xf6\\xf8-\\xff",rsMathOpRange="\\xac\\xb1\\xd7\\xf7",rsNonCharRange="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rsPunctuationRange="\\u2000-\\u206f",rsSpaceRange=" \\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",rsUpperRange="A-Z\\xc0-\\xd6\\xd8-\\xde",rsVarRange$1="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos$1="['’]",rsBreak="["+rsBreakRange+"]",rsCombo$1="["+rsComboRange$1+"]",rsDigits="\\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange$1+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz$1="\\ud83c[\\udffb-\\udfff]",rsModifier$1="(?:"+rsCombo$1+"|"+rsFitz$1+")",rsNonAstral$1="[^"+rsAstralRange$1+"]",rsRegional$1="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$1="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="["+rsUpperRange+"]",rsZWJ$1="\\u200d",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",rsOptContrLower="(?:"+rsApos$1+"(?:d|ll|m|re|s|t|ve))?",rsOptContrUpper="(?:"+rsApos$1+"(?:D|LL|M|RE|S|T|VE))?",reOptMod$1=rsModifier$1+"?",rsOptVar$1="["+rsVarRange$1+"]?",rsOptJoin$1="(?:"+rsZWJ$1+"(?:"+[rsNonAstral$1,rsRegional$1,rsSurrPair$1].join("|")+")"+rsOptVar$1+reOptMod$1+")*",rsOrdLower="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsOrdUpper="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",rsSeq$1=rsOptVar$1+reOptMod$1+rsOptJoin$1,rsEmoji="(?:"+[rsDingbat,rsRegional$1,rsSurrPair$1].join("|")+")"+rsSeq$1,reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptContrLower+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+"+rsOptContrUpper+"(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+"+rsOptContrLower,rsUpper+"+"+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join("|"),"g");function unicodeWords(e){return e.match(reUnicodeWord)||[]}function words(e,r,u){return e=toString(e),(r=u?void 0:r)===void 0?hasUnicodeWord(e)?unicodeWords(e):asciiWords(e):e.match(r)||[]}var rsApos="['’]",reApos=RegExp(rsApos,"g");function createCompounder(e){return function(r){return arrayReduce(words(deburr(r).replace(reApos,"")),e,"")}}var camelCase=createCompounder((function(e,r,u){return r=r.toLowerCase(),e+(u?capitalize(r):r)}));function castArray(){if(!arguments.length)return[];var e=arguments[0];return isArray(e)?e:[e]}var nativeIsFinite$1=root.isFinite,nativeMin$a=Math.min;function createRound(e){var r=Math[e];return function(u,t){if(u=toNumber(u),(t=t==null?0:nativeMin$a(toInteger(t),292))&&nativeIsFinite$1(u)){var o=(toString(u)+"e").split("e"),l=r(o[0]+"e"+(+o[1]+t));return+((o=(toString(l)+"e").split("e"))[0]+"e"+(+o[1]-t))}return r(u)}}var ceil=createRound("ceil");function chain(e){var r=lodash$1(e);return r.__chain__=!0,r}var nativeCeil$2=Math.ceil,nativeMax$8=Math.max;function chunk(e,r,u){r=(u?isIterateeCall(e,r,u):r===void 0)?1:nativeMax$8(toInteger(r),0);var t=e==null?0:e.length;if(!t||r<1)return[];for(var o=0,l=0,c=Array(nativeCeil$2(t/r));o<t;)c[l++]=baseSlice(e,o,o+=r);return c}function baseClamp(e,r,u){return e==e&&(u!==void 0&&(e=e<=u?e:u),r!==void 0&&(e=e>=r?e:r)),e}function clamp(e,r,u){return u===void 0&&(u=r,r=void 0),u!==void 0&&(u=(u=toNumber(u))==u?u:0),r!==void 0&&(r=(r=toNumber(r))==r?r:0),baseClamp(toNumber(e),r,u)}var CLONE_SYMBOLS_FLAG$2=4;function clone(e){return baseClone(e,CLONE_SYMBOLS_FLAG$2)}var CLONE_DEEP_FLAG$4=1,CLONE_SYMBOLS_FLAG$1=4;function cloneDeepWith(e,r){return baseClone(e,CLONE_DEEP_FLAG$4|CLONE_SYMBOLS_FLAG$1,r=typeof r=="function"?r:void 0)}var CLONE_SYMBOLS_FLAG=4;function cloneWith(e,r){return baseClone(e,CLONE_SYMBOLS_FLAG,r=typeof r=="function"?r:void 0)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function compact(e){for(var r=-1,u=e==null?0:e.length,t=0,o=[];++r<u;){var l=e[r];l&&(o[t++]=l)}return o}function concat(){var e=arguments.length;if(!e)return[];for(var r=Array(e-1),u=arguments[0],t=e;t--;)r[t-1]=arguments[t];return arrayPush(isArray(u)?copyArray(u):[u],baseFlatten(r,1))}var FUNC_ERROR_TEXT$5="Expected a function";function cond(e){var r=e==null?0:e.length,u=baseIteratee;return e=r?arrayMap(e,(function(t){if(typeof t[1]!="function")throw new TypeError(FUNC_ERROR_TEXT$5);return[u(t[0]),t[1]]})):[],baseRest((function(t){for(var o=-1;++o<r;){var l=e[o];if(apply(l[0],this,t))return apply(l[1],this,t)}}))}function baseConformsTo(e,r,u){var t=u.length;if(e==null)return!t;for(e=Object(e);t--;){var o=u[t],l=r[o],c=e[o];if(c===void 0&&!(o in e)||!l(c))return!1}return!0}function baseConforms(e){var r=keys(e);return function(u){return baseConformsTo(u,e,r)}}var CLONE_DEEP_FLAG$3=1;function conforms(e){return baseConforms(baseClone(e,CLONE_DEEP_FLAG$3))}function conformsTo(e,r){return r==null||baseConformsTo(e,r,keys(r))}function arrayAggregator(e,r,u,t){for(var o=-1,l=e==null?0:e.length;++o<l;){var c=e[o];r(t,c,u(c),e)}return t}function baseAggregator(e,r,u,t){return baseEach(e,(function(o,l,c){r(t,o,u(o),c)})),t}function createAggregator(e,r){return function(u,t){var o=isArray(u)?arrayAggregator:baseAggregator,l=r?r():{};return o(u,e,baseIteratee(t),l)}}var objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty,countBy=createAggregator((function(e,r,u){hasOwnProperty$6.call(e,u)?++e[u]:baseAssignValue(e,u,1)}));function create(e,r){var u=baseCreate(e);return r==null?u:baseAssign(u,r)}var WRAP_CURRY_FLAG$1=8;function curry(e,r,u){var t=createWrap(e,WRAP_CURRY_FLAG$1,void 0,void 0,void 0,void 0,void 0,r=u?void 0:r);return t.placeholder=curry.placeholder,t}curry.placeholder={};var WRAP_CURRY_RIGHT_FLAG=16;function curryRight(e,r,u){var t=createWrap(e,WRAP_CURRY_RIGHT_FLAG,void 0,void 0,void 0,void 0,void 0,r=u?void 0:r);return t.placeholder=curryRight.placeholder,t}function defaultTo(e,r){return e==null||e!=e?r:e}curryRight.placeholder={};var objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty,defaults=baseRest((function(e,r){e=Object(e);var u=-1,t=r.length,o=t>2?r[2]:void 0;for(o&&isIterateeCall(r[0],r[1],o)&&(t=1);++u<t;)for(var l=r[u],c=keysIn(l),a=-1,n=c.length;++a<n;){var i=c[a],s=e[i];(s===void 0||eq(s,objectProto$6[i])&&!hasOwnProperty$5.call(e,i))&&(e[i]=l[i])}return e}));function assignMergeValue(e,r,u){(u!==void 0&&!eq(e[r],u)||u===void 0&&!(r in e))&&baseAssignValue(e,r,u)}function safeGet(e,r){if((r!=="constructor"||typeof e[r]!="function")&&r!="__proto__")return e[r]}function toPlainObject(e){return copyObject(e,keysIn(e))}function baseMergeDeep(e,r,u,t,o,l,c){var a=safeGet(e,u),n=safeGet(r,u),i=c.get(n);if(i)assignMergeValue(e,u,i);else{var s=l?l(a,n,u+"",e,r,c):void 0,f=s===void 0;if(f){var d=isArray(n),h=!d&&isBuffer(n),p=!d&&!h&&isTypedArray$2(n);s=n,d||h||p?isArray(a)?s=a:isArrayLikeObject(a)?s=copyArray(a):h?(f=!1,s=cloneBuffer(n,!0)):p?(f=!1,s=cloneTypedArray(n,!0)):s=[]:isPlainObject(n)||isArguments$1(n)?(s=a,isArguments$1(a)?s=toPlainObject(a):isObject(a)&&!isFunction(a)||(s=initCloneObject(n))):f=!1}f&&(c.set(n,s),o(s,n,t,l,c),c.delete(n)),assignMergeValue(e,u,s)}}function baseMerge(e,r,u,t,o){e!==r&&baseFor(r,(function(l,c){if(o||(o=new Stack),isObject(l))baseMergeDeep(e,r,c,u,baseMerge,t,o);else{var a=t?t(safeGet(e,c),l,c+"",e,r,o):void 0;a===void 0&&(a=l),assignMergeValue(e,c,a)}}),keysIn)}function customDefaultsMerge(e,r,u,t,o,l){return isObject(e)&&isObject(r)&&(l.set(r,e),baseMerge(e,r,void 0,customDefaultsMerge,l),l.delete(r)),e}var mergeWith=createAssigner((function(e,r,u,t){baseMerge(e,r,u,t)})),defaultsDeep=baseRest((function(e){return e.push(void 0,customDefaultsMerge),apply(mergeWith,void 0,e)})),FUNC_ERROR_TEXT$4="Expected a function";function baseDelay(e,r,u){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$4);return setTimeout((function(){e.apply(void 0,u)}),r)}var defer=baseRest((function(e,r){return baseDelay(e,1,r)})),delay=baseRest((function(e,r,u){return baseDelay(e,toNumber(r)||0,u)})),differenceWith=baseRest((function(e,r){var u=last(r);return isArrayLikeObject(u)&&(u=void 0),isArrayLikeObject(e)?baseDifference(e,baseFlatten(r,1,isArrayLikeObject,!0),void 0,u):[]})),divide=createMathOperation((function(e,r){return e/r}),1);function drop(e,r,u){var t=e==null?0:e.length;return t?(r=u||r===void 0?1:toInteger(r),baseSlice(e,r<0?0:r,t)):[]}function dropRight(e,r,u){var t=e==null?0:e.length;return t?(r=u||r===void 0?1:toInteger(r),baseSlice(e,0,(r=t-r)<0?0:r)):[]}function baseWhile(e,r,u,t){for(var o=e.length,l=t?o:-1;(t?l--:++l<o)&&r(e[l],l,e););return u?baseSlice(e,t?0:l,t?l+1:o):baseSlice(e,t?l+1:0,t?o:l)}function dropRightWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r),!0,!0):[]}function dropWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r),!0):[]}function castFunction(e){return typeof e=="function"?e:identity}function forEach$1(e,r){return(isArray(e)?arrayEach:baseEach)(e,castFunction(r))}function arrayEachRight(e,r){for(var u=e==null?0:e.length;u--&&r(e[u],u,e)!==!1;);return e}var baseForRight=createBaseFor(!0);function baseForOwnRight(e,r){return e&&baseForRight(e,r,keys)}var baseEachRight=createBaseEach(baseForOwnRight,!0);function forEachRight(e,r){return(isArray(e)?arrayEachRight:baseEachRight)(e,castFunction(r))}function endsWith(e,r,u){e=toString(e),r=baseToString(r);var t=e.length,o=u=u===void 0?t:baseClamp(toInteger(u),0,t);return(u-=r.length)>=0&&e.slice(u,o)==r}function baseToPairs(e,r){return arrayMap(r,(function(u){return[u,e[u]]}))}function setToPairs(e){var r=-1,u=Array(e.size);return e.forEach((function(t){u[++r]=[t,t]})),u}var mapTag$2="[object Map]",setTag$2="[object Set]";function createToPairs(e){return function(r){var u=getTag(r);return u==mapTag$2?mapToArray(r):u==setTag$2?setToPairs(r):baseToPairs(r,e(r))}}var toPairs=createToPairs(keys),toPairsIn=createToPairs(keysIn),htmlEscapes={"&":"&","<":"<",">":">",'"':""","'":"'"},escapeHtmlChar=basePropertyOf(htmlEscapes),reUnescapedHtml=/[&<>"']/g,reHasUnescapedHtml=RegExp(reUnescapedHtml.source);function escape$1(e){return(e=toString(e))&&reHasUnescapedHtml.test(e)?e.replace(reUnescapedHtml,escapeHtmlChar):e}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reHasRegExpChar=RegExp(reRegExpChar.source);function escapeRegExp(e){return(e=toString(e))&&reHasRegExpChar.test(e)?e.replace(reRegExpChar,"\\$&"):e}var MAX_ARRAY_LENGTH$5=4294967295;function toLength(e){return e?baseClamp(toInteger(e),0,MAX_ARRAY_LENGTH$5):0}function baseFill(e,r,u,t){var o=e.length;for((u=toInteger(u))<0&&(u=-u>o?0:o+u),(t=t===void 0||t>o?o:toInteger(t))<0&&(t+=o),t=u>t?0:toLength(t);u<t;)e[u++]=r;return e}function fill(e,r,u,t){var o=e==null?0:e.length;return o?(u&&typeof u!="number"&&isIterateeCall(e,r,u)&&(u=0,t=o),baseFill(e,r,u,t)):[]}function baseFilter(e,r){var u=[];return baseEach(e,(function(t,o,l){r(t,o,l)&&u.push(t)})),u}function filter(e,r){return(isArray(e)?arrayFilter:baseFilter)(e,baseIteratee(r))}function baseFindKey(e,r,u){var t;return u(e,(function(o,l,c){if(r(o,l,c))return t=l,!1})),t}function findKey(e,r){return baseFindKey(e,baseIteratee(r),baseForOwn)}function findLastKey(e,r){return baseFindKey(e,baseIteratee(r),baseForOwnRight)}var INFINITY$1=1/0;function flatMapDeep(e,r){return baseFlatten(map(e,r),INFINITY$1)}function flatMapDepth(e,r,u){return u=u===void 0?1:toInteger(u),baseFlatten(map(e,r),u)}var INFINITY=1/0;function flattenDeep(e){return e!=null&&e.length?baseFlatten(e,INFINITY):[]}function flattenDepth(e,r){return e!=null&&e.length?(r=r===void 0?1:toInteger(r),baseFlatten(e,r)):[]}var WRAP_FLIP_FLAG=512;function flip(e){return createWrap(e,WRAP_FLIP_FLAG)}var floor$1=createRound("floor"),FUNC_ERROR_TEXT$3="Expected a function",WRAP_CURRY_FLAG=8,WRAP_PARTIAL_FLAG$1=32,WRAP_ARY_FLAG=128,WRAP_REARG_FLAG$1=256;function createFlow(e){return flatRest((function(r){var u=r.length,t=u,o=LodashWrapper.prototype.thru;for(e&&r.reverse();t--;){var l=r[t];if(typeof l!="function")throw new TypeError(FUNC_ERROR_TEXT$3);if(o&&!c&&getFuncName(l)=="wrapper")var c=new LodashWrapper([],!0)}for(t=c?t:u;++t<u;){var a=getFuncName(l=r[t]),n=a=="wrapper"?getData(l):void 0;c=n&&isLaziable(n[0])&&n[1]==(WRAP_ARY_FLAG|WRAP_CURRY_FLAG|WRAP_PARTIAL_FLAG$1|WRAP_REARG_FLAG$1)&&!n[4].length&&n[9]==1?c[getFuncName(n[0])].apply(c,n[3]):l.length==1&&isLaziable(l)?c[a]():c.thru(l)}return function(){var i=arguments,s=i[0];if(c&&i.length==1&&isArray(s))return c.plant(s).value();for(var f=0,d=u?r[f].apply(this,i):s;++f<u;)d=r[f].call(this,d);return d}}))}var flow=createFlow(),flowRight=createFlow(!0);function forIn(e,r){return e==null?e:baseFor(e,castFunction(r),keysIn)}function forInRight(e,r){return e==null?e:baseForRight(e,castFunction(r),keysIn)}function forOwn(e,r){return e&&baseForOwn(e,castFunction(r))}function forOwnRight(e,r){return e&&baseForOwnRight(e,castFunction(r))}function fromPairs(e){for(var r=-1,u=e==null?0:e.length,t={};++r<u;){var o=e[r];baseAssignValue(t,o[0],o[1])}return t}function baseFunctions(e,r){return arrayFilter(r,(function(u){return isFunction(e[u])}))}function functions(e){return e==null?[]:baseFunctions(e,keys(e))}function functionsIn(e){return e==null?[]:baseFunctions(e,keysIn(e))}var objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty,groupBy=createAggregator((function(e,r,u){hasOwnProperty$4.call(e,u)?e[u].push(r):baseAssignValue(e,u,[r])}));function createRelationalOperation(e){return function(r,u){return typeof r=="string"&&typeof u=="string"||(r=toNumber(r),u=toNumber(u)),e(r,u)}}var gt=createRelationalOperation(baseGt),gte=createRelationalOperation((function(e,r){return e>=r})),nativeMax$7=Math.max,nativeMin$9=Math.min;function baseInRange(e,r,u){return e>=nativeMin$9(r,u)&&e<nativeMax$7(r,u)}function inRange(e,r,u){return r=toFinite(r),u===void 0?(u=r,r=0):u=toFinite(u),baseInRange(e=toNumber(e),r,u)}var nativeMax$6=Math.max;function includes(e,r,u,t){e=isArrayLike(e)?e:values(e),u=u&&!t?toInteger(u):0;var o=e.length;return u<0&&(u=nativeMax$6(o+u,0)),isString(e)?u<=o&&e.indexOf(r,u)>-1:!!o&&baseIndexOf(e,r,u)>-1}var nativeMax$5=Math.max;function indexOf(e,r,u){var t=e==null?0:e.length;if(!t)return-1;var o=u==null?0:toInteger(u);return o<0&&(o=nativeMax$5(t+o,0)),baseIndexOf(e,r,o)}function initial(e){return e!=null&&e.length?baseSlice(e,0,-1):[]}var nativeMin$8=Math.min;function baseIntersection(e,r,u){for(var t=u?arrayIncludesWith:arrayIncludes,o=e[0].length,l=e.length,c=l,a=Array(l),n=1/0,i=[];c--;){var s=e[c];c&&r&&(s=arrayMap(s,baseUnary(r))),n=nativeMin$8(s.length,n),a[c]=!u&&(r||o>=120&&s.length>=120)?new SetCache(c&&s):void 0}s=e[0];var f=-1,d=a[0];e:for(;++f<o&&i.length<n;){var h=s[f],p=r?r(h):h;if(h=u||h!==0?h:0,!(d?cacheHas(d,p):t(i,p,u))){for(c=l;--c;){var b=a[c];if(!(b?cacheHas(b,p):t(e[c],p,u)))continue e}d&&d.push(p),i.push(h)}}return i}function castArrayLikeObject(e){return isArrayLikeObject(e)?e:[]}var intersection=baseRest((function(e){var r=arrayMap(e,castArrayLikeObject);return r.length&&r[0]===e[0]?baseIntersection(r):[]})),intersectionBy=baseRest((function(e){var r=last(e),u=arrayMap(e,castArrayLikeObject);return r===last(u)?r=void 0:u.pop(),u.length&&u[0]===e[0]?baseIntersection(u,baseIteratee(r)):[]})),intersectionWith=baseRest((function(e){var r=last(e),u=arrayMap(e,castArrayLikeObject);return(r=typeof r=="function"?r:void 0)&&u.pop(),u.length&&u[0]===e[0]?baseIntersection(u,void 0,r):[]}));function baseInverter(e,r,u,t){return baseForOwn(e,(function(o,l,c){r(t,u(o),l,c)})),t}function createInverter(e,r){return function(u,t){return baseInverter(u,e,r(t),{})}}var objectProto$4=Object.prototype,nativeObjectToString$1=objectProto$4.toString,invert=createInverter((function(e,r,u){r!=null&&typeof r.toString!="function"&&(r=nativeObjectToString$1.call(r)),e[r]=u}),constant(identity)),objectProto$3=Object.prototype,hasOwnProperty$3=objectProto$3.hasOwnProperty,nativeObjectToString=objectProto$3.toString,invertBy=createInverter((function(e,r,u){r!=null&&typeof r.toString!="function"&&(r=nativeObjectToString.call(r)),hasOwnProperty$3.call(e,r)?e[r].push(u):e[r]=[u]}),baseIteratee);function baseInvoke(e,r,u){r=castPath(r,e);var t=(e=parent(e,r))==null?e:e[toKey(last(r))];return t==null?void 0:apply(t,e,u)}var invoke=baseRest(baseInvoke),invokeMap=baseRest((function(e,r,u){var t=-1,o=typeof r=="function",l=isArrayLike(e)?Array(e.length):[];return baseEach(e,(function(c){l[++t]=o?apply(r,c,u):baseInvoke(c,r,u)})),l})),arrayBufferTag="[object ArrayBuffer]";function baseIsArrayBuffer(e){return isObjectLike(e)&&baseGetTag(e)==arrayBufferTag}var nodeIsArrayBuffer=nodeUtil&&nodeUtil.isArrayBuffer,isArrayBuffer=nodeIsArrayBuffer?baseUnary(nodeIsArrayBuffer):baseIsArrayBuffer,dateTag="[object Date]";function baseIsDate(e){return isObjectLike(e)&&baseGetTag(e)==dateTag}var nodeIsDate=nodeUtil&&nodeUtil.isDate,isDate=nodeIsDate?baseUnary(nodeIsDate):baseIsDate;function isElement(e){return isObjectLike(e)&&e.nodeType===1&&!isPlainObject(e)}function isEqualWith(e,r,u){var t=(u=typeof u=="function"?u:void 0)?u(e,r):void 0;return t===void 0?baseIsEqual(e,r,void 0,u):!!t}var nativeIsFinite=root.isFinite;function isFinite$1(e){return typeof e=="number"&&nativeIsFinite(e)}function isInteger(e){return typeof e=="number"&&e==toInteger(e)}function isMatch(e,r){return e===r||baseIsMatch(e,r,getMatchData(r))}function isMatchWith(e,r,u){return u=typeof u=="function"?u:void 0,baseIsMatch(e,r,getMatchData(r),u)}var isMaskable=coreJsData?isFunction:stubFalse,CORE_ERROR_TEXT="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";function isNative(e){if(isMaskable(e))throw new Error(CORE_ERROR_TEXT);return baseIsNative(e)}function isNull(e){return e===null}var regexpTag="[object RegExp]";function baseIsRegExp(e){return isObjectLike(e)&&baseGetTag(e)==regexpTag}var nodeIsRegExp=nodeUtil&&nodeUtil.isRegExp,isRegExp=nodeIsRegExp?baseUnary(nodeIsRegExp):baseIsRegExp,MAX_SAFE_INTEGER$3=9007199254740991;function isSafeInteger(e){return isInteger(e)&&e>=-MAX_SAFE_INTEGER$3&&e<=MAX_SAFE_INTEGER$3}function isUndefined(e){return e===void 0}var weakMapTag="[object WeakMap]";function isWeakMap(e){return isObjectLike(e)&&getTag(e)==weakMapTag}var weakSetTag="[object WeakSet]";function isWeakSet(e){return isObjectLike(e)&&baseGetTag(e)==weakSetTag}var CLONE_DEEP_FLAG$2=1;function iteratee(e){return baseIteratee(typeof e=="function"?e:baseClone(e,CLONE_DEEP_FLAG$2))}var arrayProto$4=Array.prototype,nativeJoin=arrayProto$4.join;function join(e,r){return e==null?"":nativeJoin.call(e,r)}var kebabCase=createCompounder((function(e,r,u){return e+(u?"-":"")+r.toLowerCase()})),keyBy=createAggregator((function(e,r,u){baseAssignValue(e,u,r)}));function strictLastIndexOf(e,r,u){for(var t=u+1;t--;)if(e[t]===r)return t;return t}var nativeMax$4=Math.max,nativeMin$7=Math.min;function lastIndexOf(e,r,u){var t=e==null?0:e.length;if(!t)return-1;var o=t;return u!==void 0&&(o=(o=toInteger(u))<0?nativeMax$4(t+o,0):nativeMin$7(o,t-1)),r==r?strictLastIndexOf(e,r,o):baseFindIndex(e,baseIsNaN,o,!0)}var lowerCase=createCompounder((function(e,r,u){return e+(u?" ":"")+r.toLowerCase()})),lowerFirst=createCaseFirst("toLowerCase"),lt=createRelationalOperation(baseLt),lte=createRelationalOperation((function(e,r){return e<=r}));function mapKeys(e,r){var u={};return r=baseIteratee(r),baseForOwn(e,(function(t,o,l){baseAssignValue(u,r(t,o,l),t)})),u}var CLONE_DEEP_FLAG$1=1;function matches(e){return baseMatches(baseClone(e,CLONE_DEEP_FLAG$1))}var CLONE_DEEP_FLAG=1;function matchesProperty(e,r){return baseMatchesProperty(e,baseClone(r,CLONE_DEEP_FLAG))}var NAN=NaN;function baseMean(e,r){var u=e==null?0:e.length;return u?baseSum(e,r)/u:NAN}function mean(e){return baseMean(e,identity)}function meanBy(e,r){return baseMean(e,baseIteratee(r))}var merge=createAssigner((function(e,r,u){baseMerge(e,r,u)})),method=baseRest((function(e,r){return function(u){return baseInvoke(u,e,r)}})),methodOf=baseRest((function(e,r){return function(u){return baseInvoke(e,u,r)}}));function mixin$1(e,r,u){var t=keys(r),o=baseFunctions(r,t),l=!(isObject(u)&&"chain"in u&&!u.chain),c=isFunction(e);return arrayEach(o,(function(a){var n=r[a];e[a]=n,c&&(e.prototype[a]=function(){var i=this.__chain__;if(l||i){var s=e(this.__wrapped__);return(s.__actions__=copyArray(this.__actions__)).push({func:n,args:arguments,thisArg:e}),s.__chain__=i,s}return n.apply(e,arrayPush([this.value()],arguments))})})),e}var multiply=createMathOperation((function(e,r){return e*r}),1),FUNC_ERROR_TEXT$2="Expected a function";function negate(e){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$2);return function(){var r=arguments;switch(r.length){case 0:return!e.call(this);case 1:return!e.call(this,r[0]);case 2:return!e.call(this,r[0],r[1]);case 3:return!e.call(this,r[0],r[1],r[2])}return!e.apply(this,r)}}function iteratorToArray(e){for(var r,u=[];!(r=e.next()).done;)u.push(r.value);return u}var mapTag$1="[object Map]",setTag$1="[object Set]",symIterator$1=Symbol$1?Symbol$1.iterator:void 0;function toArray(e){if(!e)return[];if(isArrayLike(e))return isString(e)?stringToArray(e):copyArray(e);if(symIterator$1&&e[symIterator$1])return iteratorToArray(e[symIterator$1]());var r=getTag(e);return(r==mapTag$1?mapToArray:r==setTag$1?setToArray:values)(e)}function wrapperNext(){this.__values__===void 0&&(this.__values__=toArray(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}}function baseNth(e,r){var u=e.length;if(u)return isIndex(r+=r<0?u:0,u)?e[r]:void 0}function nth(e,r){return e&&e.length?baseNth(e,toInteger(r)):void 0}function nthArg(e){return e=toInteger(e),baseRest((function(r){return baseNth(r,e)}))}function baseSet(e,r,u,t){if(!isObject(e))return e;for(var o=-1,l=(r=castPath(r,e)).length,c=l-1,a=e;a!=null&&++o<l;){var n=toKey(r[o]),i=u;if(n==="__proto__"||n==="constructor"||n==="prototype")return e;if(o!=c){var s=a[n];(i=t?t(s,n,a):void 0)===void 0&&(i=isObject(s)?s:isIndex(r[o+1])?[]:{})}assignValue(a,n,i),a=a[n]}return e}function basePickBy(e,r,u){for(var t=-1,o=r.length,l={};++t<o;){var c=r[t],a=baseGet(e,c);u(a,c)&&baseSet(l,castPath(c,e),a)}return l}function pickBy(e,r){if(e==null)return{};var u=arrayMap(getAllKeysIn(e),(function(t){return[t]}));return r=baseIteratee(r),basePickBy(e,u,(function(t,o){return r(t,o[0])}))}function omitBy(e,r){return pickBy(e,negate(baseIteratee(r)))}function once(e){return before(2,e)}function createOver(e){return flatRest((function(r){return r=arrayMap(r,baseUnary(baseIteratee)),baseRest((function(u){var t=this;return e(r,(function(o){return apply(o,t,u)}))}))}))}var over=createOver(arrayMap),castRest=baseRest,nativeMin$6=Math.min,overArgs=castRest((function(e,r){var u=(r=r.length==1&&isArray(r[0])?arrayMap(r[0],baseUnary(baseIteratee)):arrayMap(baseFlatten(r,1),baseUnary(baseIteratee))).length;return baseRest((function(t){for(var o=-1,l=nativeMin$6(t.length,u);++o<l;)t[o]=r[o].call(this,t[o]);return apply(e,this,t)}))})),overEvery=createOver(arrayEvery),overSome=createOver(arraySome),MAX_SAFE_INTEGER$2=9007199254740991,nativeFloor$3=Math.floor;function baseRepeat(e,r){var u="";if(!e||r<1||r>MAX_SAFE_INTEGER$2)return u;do r%2&&(u+=e),(r=nativeFloor$3(r/2))&&(e+=e);while(r);return u}var asciiSize=baseProperty("length"),rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsVarRange="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange+"]",rsCombo="["+rsComboRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ="\\u200d",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");function unicodeSize(e){for(var r=reUnicode.lastIndex=0;reUnicode.test(e);)++r;return r}function stringSize(e){return hasUnicode(e)?unicodeSize(e):asciiSize(e)}var nativeCeil$1=Math.ceil;function createPadding(e,r){var u=(r=r===void 0?" ":baseToString(r)).length;if(u<2)return u?baseRepeat(r,e):r;var t=baseRepeat(r,nativeCeil$1(e/stringSize(r)));return hasUnicode(r)?castSlice(stringToArray(t),0,e).join(""):t.slice(0,e)}var nativeCeil=Math.ceil,nativeFloor$2=Math.floor;function pad(e,r,u){e=toString(e);var t=(r=toInteger(r))?stringSize(e):0;if(!r||t>=r)return e;var o=(r-t)/2;return createPadding(nativeFloor$2(o),u)+e+createPadding(nativeCeil(o),u)}function padEnd(e,r,u){e=toString(e);var t=(r=toInteger(r))?stringSize(e):0;return r&&t<r?e+createPadding(r-t,u):e}function padStart(e,r,u){e=toString(e);var t=(r=toInteger(r))?stringSize(e):0;return r&&t<r?createPadding(r-t,u)+e:e}var reTrimStart$1=/^\s+/,nativeParseInt=root.parseInt;function parseInt$1(e,r,u){return u||r==null?r=0:r&&(r=+r),nativeParseInt(toString(e).replace(reTrimStart$1,""),r||0)}var WRAP_PARTIAL_FLAG=32,partial=baseRest((function(e,r){var u=replaceHolders(r,getHolder(partial));return createWrap(e,WRAP_PARTIAL_FLAG,void 0,r,u)}));partial.placeholder={};var WRAP_PARTIAL_RIGHT_FLAG=64,partialRight=baseRest((function(e,r){var u=replaceHolders(r,getHolder(partialRight));return createWrap(e,WRAP_PARTIAL_RIGHT_FLAG,void 0,r,u)}));partialRight.placeholder={};var partition=createAggregator((function(e,r,u){e[u?0:1].push(r)}),(function(){return[[],[]]}));function basePick(e,r){return basePickBy(e,r,(function(u,t){return hasIn(e,t)}))}var pick=flatRest((function(e,r){return e==null?{}:basePick(e,r)}));function wrapperPlant(e){for(var r,u=this;u instanceof baseLodash;){var t=wrapperClone(u);t.__index__=0,t.__values__=void 0,r?o.__wrapped__=t:r=t;var o=t;u=u.__wrapped__}return o.__wrapped__=e,r}function propertyOf(e){return function(r){return e==null?void 0:baseGet(e,r)}}function baseIndexOfWith(e,r,u,t){for(var o=u-1,l=e.length;++o<l;)if(t(e[o],r))return o;return-1}var arrayProto$3=Array.prototype,splice$1=arrayProto$3.splice;function basePullAll(e,r,u,t){var o=t?baseIndexOfWith:baseIndexOf,l=-1,c=r.length,a=e;for(e===r&&(r=copyArray(r)),u&&(a=arrayMap(e,baseUnary(u)));++l<c;)for(var n=0,i=r[l],s=u?u(i):i;(n=o(a,s,n,t))>-1;)a!==e&&splice$1.call(a,n,1),splice$1.call(e,n,1);return e}function pullAll(e,r){return e&&e.length&&r&&r.length?basePullAll(e,r):e}var pull=baseRest(pullAll);function pullAllBy(e,r,u){return e&&e.length&&r&&r.length?basePullAll(e,r,baseIteratee(u)):e}function pullAllWith(e,r,u){return e&&e.length&&r&&r.length?basePullAll(e,r,void 0,u):e}var arrayProto$2=Array.prototype,splice=arrayProto$2.splice;function basePullAt(e,r){for(var u=e?r.length:0,t=u-1;u--;){var o=r[u];if(u==t||o!==l){var l=o;isIndex(o)?splice.call(e,o,1):baseUnset(e,o)}}return e}var pullAt=flatRest((function(e,r){var u=e==null?0:e.length,t=baseAt(e,r);return basePullAt(e,arrayMap(r,(function(o){return isIndex(o,u)?+o:o})).sort(compareAscending)),t})),nativeFloor$1=Math.floor,nativeRandom$1=Math.random;function baseRandom(e,r){return e+nativeFloor$1(nativeRandom$1()*(r-e+1))}var freeParseFloat=parseFloat,nativeMin$5=Math.min,nativeRandom=Math.random;function random(e,r,u){if(u&&typeof u!="boolean"&&isIterateeCall(e,r,u)&&(r=u=void 0),u===void 0&&(typeof r=="boolean"?(u=r,r=void 0):typeof e=="boolean"&&(u=e,e=void 0)),e===void 0&&r===void 0?(e=0,r=1):(e=toFinite(e),r===void 0?(r=e,e=0):r=toFinite(r)),e>r){var t=e;e=r,r=t}if(u||e%1||r%1){var o=nativeRandom();return nativeMin$5(e+o*(r-e+freeParseFloat("1e-"+((o+"").length-1))),r)}return baseRandom(e,r)}var rangeRight=createRange(!0),WRAP_REARG_FLAG=256,rearg=flatRest((function(e,r){return createWrap(e,WRAP_REARG_FLAG,void 0,void 0,void 0,r)}));function baseReduce(e,r,u,t,o){return o(e,(function(l,c,a){u=t?(t=!1,l):r(u,l,c,a)})),u}function reduce(e,r,u){var t=isArray(e)?arrayReduce:baseReduce,o=arguments.length<3;return t(e,baseIteratee(r),u,o,baseEach)}function arrayReduceRight(e,r,u,t){var o=e==null?0:e.length;for(t&&o&&(u=e[--o]);o--;)u=r(u,e[o],o,e);return u}function reduceRight(e,r,u){var t=isArray(e)?arrayReduceRight:baseReduce,o=arguments.length<3;return t(e,baseIteratee(r),u,o,baseEachRight)}function reject(e,r){return(isArray(e)?arrayFilter:baseFilter)(e,negate(baseIteratee(r)))}function remove(e,r){var u=[];if(!e||!e.length)return u;var t=-1,o=[],l=e.length;for(r=baseIteratee(r);++t<l;){var c=e[t];r(c,t,e)&&(u.push(c),o.push(t))}return basePullAt(e,o),u}function repeat(e,r,u){return r=(u?isIterateeCall(e,r,u):r===void 0)?1:toInteger(r),baseRepeat(toString(e),r)}function replace(){var e=arguments,r=toString(e[0]);return e.length<3?r:r.replace(e[1],e[2])}var FUNC_ERROR_TEXT$1="Expected a function";function rest(e,r){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$1);return r=r===void 0?r:toInteger(r),baseRest(e,r)}function result(e,r,u){var t=-1,o=(r=castPath(r,e)).length;for(o||(o=1,e=void 0);++t<o;){var l=e?.[toKey(r[t])];l===void 0&&(t=o,l=u),e=isFunction(l)?l.call(e):l}return e}var arrayProto$1=Array.prototype,nativeReverse=arrayProto$1.reverse;function reverse(e){return e==null?e:nativeReverse.call(e)}var round$1=createRound("round");function arraySample(e){var r=e.length;return r?e[baseRandom(0,r-1)]:void 0}function baseSample(e){return arraySample(values(e))}function sample(e){return(isArray(e)?arraySample:baseSample)(e)}function shuffleSelf(e,r){var u=-1,t=e.length,o=t-1;for(r=r===void 0?t:r;++u<r;){var l=baseRandom(u,o),c=e[l];e[l]=e[u],e[u]=c}return e.length=r,e}function arraySampleSize(e,r){return shuffleSelf(copyArray(e),baseClamp(r,0,e.length))}function baseSampleSize(e,r){var u=values(e);return shuffleSelf(u,baseClamp(r,0,u.length))}function sampleSize(e,r,u){return r=(u?isIterateeCall(e,r,u):r===void 0)?1:toInteger(r),(isArray(e)?arraySampleSize:baseSampleSize)(e,r)}function set(e,r,u){return e==null?e:baseSet(e,r,u)}function setWith(e,r,u,t){return t=typeof t=="function"?t:void 0,e==null?e:baseSet(e,r,u,t)}function arrayShuffle(e){return shuffleSelf(copyArray(e))}function baseShuffle(e){return shuffleSelf(values(e))}function shuffle(e){return(isArray(e)?arrayShuffle:baseShuffle)(e)}var mapTag="[object Map]",setTag="[object Set]";function size(e){if(e==null)return 0;if(isArrayLike(e))return isString(e)?stringSize(e):e.length;var r=getTag(e);return r==mapTag||r==setTag?e.size:baseKeys(e).length}function slice(e,r,u){var t=e==null?0:e.length;return t?(u&&typeof u!="number"&&isIterateeCall(e,r,u)?(r=0,u=t):(r=r==null?0:toInteger(r),u=u===void 0?t:toInteger(u)),baseSlice(e,r,u)):[]}var snakeCase=createCompounder((function(e,r,u){return e+(u?"_":"")+r.toLowerCase()})),MAX_ARRAY_LENGTH$4=4294967295,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH$4-1,nativeFloor=Math.floor,nativeMin$4=Math.min;function baseSortedIndexBy(e,r,u,t){var o=0,l=e==null?0:e.length;if(l===0)return 0;for(var c=(r=u(r))!=r,a=r===null,n=isSymbol(r),i=r===void 0;o<l;){var s=nativeFloor((o+l)/2),f=u(e[s]),d=f!==void 0,h=f===null,p=f==f,b=isSymbol(f);if(c)var y=t||p;else y=i?p&&(t||d):a?p&&d&&(t||!h):n?p&&d&&!h&&(t||!b):!h&&!b&&(t?f<=r:f<r);y?o=s+1:l=s}return nativeMin$4(l,MAX_ARRAY_INDEX)}var MAX_ARRAY_LENGTH$3=4294967295,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH$3>>>1;function baseSortedIndex(e,r,u){var t=0,o=e==null?t:e.length;if(typeof r=="number"&&r==r&&o<=HALF_MAX_ARRAY_LENGTH){for(;t<o;){var l=t+o>>>1,c=e[l];c!==null&&!isSymbol(c)&&(u?c<=r:c<r)?t=l+1:o=l}return o}return baseSortedIndexBy(e,r,identity,u)}function sortedIndex(e,r){return baseSortedIndex(e,r)}function sortedIndexBy(e,r,u){return baseSortedIndexBy(e,r,baseIteratee(u))}function sortedIndexOf(e,r){var u=e==null?0:e.length;if(u){var t=baseSortedIndex(e,r);if(t<u&&eq(e[t],r))return t}return-1}function sortedLastIndex(e,r){return baseSortedIndex(e,r,!0)}function sortedLastIndexBy(e,r,u){return baseSortedIndexBy(e,r,baseIteratee(u),!0)}function sortedLastIndexOf(e,r){if(e!=null&&e.length){var u=baseSortedIndex(e,r,!0)-1;if(eq(e[u],r))return u}return-1}function baseSortedUniq(e,r){for(var u=-1,t=e.length,o=0,l=[];++u<t;){var c=e[u],a=r?r(c):c;if(!u||!eq(a,n)){var n=a;l[o++]=c===0?0:c}}return l}function sortedUniq(e){return e&&e.length?baseSortedUniq(e):[]}function sortedUniqBy(e,r){return e&&e.length?baseSortedUniq(e,baseIteratee(r)):[]}var MAX_ARRAY_LENGTH$2=4294967295;function split(e,r,u){return u&&typeof u!="number"&&isIterateeCall(e,r,u)&&(r=u=void 0),(u=u===void 0?MAX_ARRAY_LENGTH$2:u>>>0)?(e=toString(e))&&(typeof r=="string"||r!=null&&!isRegExp(r))&&!(r=baseToString(r))&&hasUnicode(e)?castSlice(stringToArray(e),0,u):e.split(r,u):[]}var FUNC_ERROR_TEXT="Expected a function",nativeMax$3=Math.max;function spread(e,r){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT);return r=r==null?0:nativeMax$3(toInteger(r),0),baseRest((function(u){var t=u[r],o=castSlice(u,0,r);return t&&arrayPush(o,t),apply(e,this,o)}))}var startCase=createCompounder((function(e,r,u){return e+(u?" ":"")+upperFirst(r)}));function startsWith(e,r,u){return e=toString(e),u=u==null?0:baseClamp(toInteger(u),0,e.length),r=baseToString(r),e.slice(u,u+r.length)==r}function stubObject(){return{}}function stubString(){return""}function stubTrue(){return!0}var subtract=createMathOperation((function(e,r){return e-r}),0);function sum(e){return e&&e.length?baseSum(e,identity):0}function tail(e){var r=e==null?0:e.length;return r?baseSlice(e,1,r):[]}function take(e,r,u){return e&&e.length?(r=u||r===void 0?1:toInteger(r),baseSlice(e,0,r<0?0:r)):[]}function takeRight(e,r,u){var t=e==null?0:e.length;return t?(r=u||r===void 0?1:toInteger(r),baseSlice(e,(r=t-r)<0?0:r,t)):[]}function takeRightWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r),!1,!0):[]}function takeWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r)):[]}function tap(e,r){return r(e),e}var objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function customDefaultsAssignIn(e,r,u,t){return e===void 0||eq(e,objectProto$2[u])&&!hasOwnProperty$2.call(t,u)?r:e}var stringEscapes={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function escapeStringChar(e){return"\\"+stringEscapes[e]}var reInterpolate=/<%=([\s\S]+?)%>/g,reEscape=/<%-([\s\S]+?)%>/g,reEvaluate=/<%([\s\S]+?)%>/g,templateSettings={escape:reEscape,evaluate:reEvaluate,interpolate:reInterpolate,variable:"",imports:{_:{escape:escape$1}}},INVALID_TEMPL_VAR_ERROR_TEXT="Invalid `variable` option passed into `_.template`",INVALID_TEMPL_IMPORTS_ERROR_TEXT="Invalid `imports` option passed into `_.template`",reEmptyStringLeading=/\b__p \+= '';/g,reEmptyStringMiddle=/\b(__p \+=) '' \+/g,reEmptyStringTrailing=/(__e\(.*?\)|\b__t\)) \+\n'';/g,reForbiddenIdentifierChars=/[()=,{}\[\]\/\s]/,reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,reNoMatch=/($^)/,reUnescapedString=/['\n\r\u2028\u2029\\]/g,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function template(e,r,u){var t=templateSettings.imports._.templateSettings||templateSettings;u&&isIterateeCall(e,r,u)&&(r=void 0),e=toString(e),r=assignWith({},r,t,customDefaultsAssignIn);var o=assignWith({},r.imports,t.imports,customDefaultsAssignIn),l=keys(o),c=baseValues(o,l);arrayEach(l,(function(y){if(reForbiddenIdentifierChars.test(y))throw new Error(INVALID_TEMPL_IMPORTS_ERROR_TEXT)}));var a,n,i=0,s=r.interpolate||reNoMatch,f="__p += '",d=RegExp((r.escape||reNoMatch).source+"|"+s.source+"|"+(s===reInterpolate?reEsTemplate:reNoMatch).source+"|"+(r.evaluate||reNoMatch).source+"|$","g"),h=hasOwnProperty$1.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+`
|
|
4
|
+
`:"";e.replace(d,(function(y,g,R,S,w,q){return R||(R=S),f+=e.slice(i,q).replace(reUnescapedString,escapeStringChar),g&&(a=!0,f+=`' +
|
|
5
|
+
__e(`+g+`) +
|
|
6
|
+
'`),w&&(n=!0,f+=`';
|
|
7
|
+
`+w+`;
|
|
8
|
+
__p += '`),R&&(f+=`' +
|
|
9
|
+
((__t = (`+R+`)) == null ? '' : __t) +
|
|
10
|
+
'`),i=q+y.length,y})),f+=`';
|
|
11
|
+
`;var p=hasOwnProperty$1.call(r,"variable")&&r.variable;if(p){if(reForbiddenIdentifierChars.test(p))throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT)}else f=`with (obj) {
|
|
12
|
+
`+f+`
|
|
13
|
+
}
|
|
14
|
+
`;f=(n?f.replace(reEmptyStringLeading,""):f).replace(reEmptyStringMiddle,"$1").replace(reEmptyStringTrailing,"$1;"),f="function("+(p||"obj")+`) {
|
|
15
|
+
`+(p?"":`obj || (obj = {});
|
|
16
|
+
`)+"var __t, __p = ''"+(a?", __e = _.escape":"")+(n?`, __j = Array.prototype.join;
|
|
17
|
+
function print() { __p += __j.call(arguments, '') }
|
|
18
|
+
`:`;
|
|
19
|
+
`)+f+`return __p
|
|
20
|
+
}`;var b=attempt((function(){return Function(l,h+"return "+f).apply(void 0,c)}));if(b.source=f,isError(b))throw b;return b}function thru(e,r){return r(e)}var MAX_SAFE_INTEGER$1=9007199254740991,MAX_ARRAY_LENGTH$1=4294967295,nativeMin$3=Math.min;function times(e,r){if((e=toInteger(e))<1||e>MAX_SAFE_INTEGER$1)return[];var u=MAX_ARRAY_LENGTH$1,t=nativeMin$3(e,MAX_ARRAY_LENGTH$1);r=castFunction(r),e-=MAX_ARRAY_LENGTH$1;for(var o=baseTimes(t,r);++u<e;)r(u);return o}function wrapperToIterator(){return this}function baseWrapperValue(e,r){var u=e;return u instanceof LazyWrapper&&(u=u.value()),arrayReduce(r,(function(t,o){return o.func.apply(o.thisArg,arrayPush([t],o.args))}),u)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}function toLower(e){return toString(e).toLowerCase()}function toPath(e){return isArray(e)?arrayMap(e,toKey):isSymbol(e)?[e]:copyArray(stringToPath(toString(e)))}var MAX_SAFE_INTEGER=9007199254740991;function toSafeInteger(e){return e?baseClamp(toInteger(e),-MAX_SAFE_INTEGER,MAX_SAFE_INTEGER):e===0?e:0}function toUpper(e){return toString(e).toUpperCase()}function transform(e,r,u){var t=isArray(e),o=t||isBuffer(e)||isTypedArray$2(e);if(r=baseIteratee(r),u==null){var l=e&&e.constructor;u=o?t?new l:[]:isObject(e)&&isFunction(l)?baseCreate(getPrototype(e)):{}}return(o?arrayEach:baseForOwn)(e,(function(c,a,n){return r(u,c,a,n)})),u}function charsStartIndex(e,r){for(var u=-1,t=e.length;++u<t&&baseIndexOf(r,e[u],0)>-1;);return u}function trim(e,r,u){if((e=toString(e))&&(u||r===void 0))return baseTrim(e);if(!e||!(r=baseToString(r)))return e;var t=stringToArray(e),o=stringToArray(r),l=charsStartIndex(t,o),c=charsEndIndex(t,o)+1;return castSlice(t,l,c).join("")}var reTrimStart=/^\s+/;function trimStart(e,r,u){if((e=toString(e))&&(u||r===void 0))return e.replace(reTrimStart,"");if(!e||!(r=baseToString(r)))return e;var t=stringToArray(e),o=charsStartIndex(t,stringToArray(r));return castSlice(t,o).join("")}var DEFAULT_TRUNC_LENGTH=30,DEFAULT_TRUNC_OMISSION="...",reFlags=/\w*$/;function truncate(e,r){var u=DEFAULT_TRUNC_LENGTH,t=DEFAULT_TRUNC_OMISSION;if(isObject(r)){var o="separator"in r?r.separator:o;u="length"in r?toInteger(r.length):u,t="omission"in r?baseToString(r.omission):t}var l=(e=toString(e)).length;if(hasUnicode(e)){var c=stringToArray(e);l=c.length}if(u>=l)return e;var a=u-stringSize(t);if(a<1)return t;var n=c?castSlice(c,0,a).join(""):e.slice(0,a);if(o===void 0)return n+t;if(c&&(a+=n.length-a),isRegExp(o)){if(e.slice(a).search(o)){var i,s=n;for(o.global||(o=RegExp(o.source,toString(reFlags.exec(o))+"g")),o.lastIndex=0;i=o.exec(s);)var f=i.index;n=n.slice(0,f===void 0?a:f)}}else if(e.indexOf(baseToString(o),a)!=a){var d=n.lastIndexOf(o);d>-1&&(n=n.slice(0,d))}return n+t}function unary(e){return ary(e,1)}var htmlUnescapes={"&":"&","<":"<",">":">",""":'"',"'":"'"},unescapeHtmlChar=basePropertyOf(htmlUnescapes),reEscapedHtml=/&(?:amp|lt|gt|quot|#39);/g,reHasEscapedHtml=RegExp(reEscapedHtml.source);function unescape$1(e){return(e=toString(e))&&reHasEscapedHtml.test(e)?e.replace(reEscapedHtml,unescapeHtmlChar):e}var union=baseRest((function(e){return baseUniq(baseFlatten(e,1,isArrayLikeObject,!0))})),unionBy=baseRest((function(e){var r=last(e);return isArrayLikeObject(r)&&(r=void 0),baseUniq(baseFlatten(e,1,isArrayLikeObject,!0),baseIteratee(r))})),unionWith=baseRest((function(e){var r=last(e);return r=typeof r=="function"?r:void 0,baseUniq(baseFlatten(e,1,isArrayLikeObject,!0),void 0,r)}));function uniqWith(e,r){return r=typeof r=="function"?r:void 0,e&&e.length?baseUniq(e,void 0,r):[]}var idCounter=0;function uniqueId(e){var r=++idCounter;return toString(e)+r}function unset(e,r){return e==null||baseUnset(e,r)}var nativeMax$2=Math.max;function unzip(e){if(!e||!e.length)return[];var r=0;return e=arrayFilter(e,(function(u){if(isArrayLikeObject(u))return r=nativeMax$2(u.length,r),!0})),baseTimes(r,(function(u){return arrayMap(e,baseProperty(u))}))}function unzipWith(e,r){if(!e||!e.length)return[];var u=unzip(e);return r==null?u:arrayMap(u,(function(t){return apply(r,void 0,t)}))}function baseUpdate(e,r,u,t){return baseSet(e,r,u(baseGet(e,r)),t)}function update(e,r,u){return e==null?e:baseUpdate(e,r,castFunction(u))}function updateWith(e,r,u,t){return t=typeof t=="function"?t:void 0,e==null?e:baseUpdate(e,r,castFunction(u),t)}var upperCase=createCompounder((function(e,r,u){return e+(u?" ":"")+r.toUpperCase()}));function valuesIn(e){return e==null?[]:baseValues(e,keysIn(e))}var without=baseRest((function(e,r){return isArrayLikeObject(e)?baseDifference(e,r):[]}));function wrap(e,r){return partial(castFunction(r),e)}var wrapperAt=flatRest((function(e){var r=e.length,u=r?e[0]:0,t=this.__wrapped__,o=function(l){return baseAt(l,e)};return!(r>1||this.__actions__.length)&&t instanceof LazyWrapper&&isIndex(u)?((t=t.slice(u,+u+(r?1:0))).__actions__.push({func:thru,args:[o],thisArg:void 0}),new LodashWrapper(t,this.__chain__).thru((function(l){return r&&!l.length&&l.push(void 0),l}))):this.thru(o)}));function wrapperChain(){return chain(this)}function wrapperReverse(){var e=this.__wrapped__;if(e instanceof LazyWrapper){var r=e;return this.__actions__.length&&(r=new LazyWrapper(this)),(r=r.reverse()).__actions__.push({func:thru,args:[reverse],thisArg:void 0}),new LodashWrapper(r,this.__chain__)}return this.thru(reverse)}function baseXor(e,r,u){var t=e.length;if(t<2)return t?baseUniq(e[0]):[];for(var o=-1,l=Array(t);++o<t;)for(var c=e[o],a=-1;++a<t;)a!=o&&(l[o]=baseDifference(l[o]||c,e[a],r,u));return baseUniq(baseFlatten(l,1),r,u)}var xor$1=baseRest((function(e){return baseXor(arrayFilter(e,isArrayLikeObject))})),xorBy=baseRest((function(e){var r=last(e);return isArrayLikeObject(r)&&(r=void 0),baseXor(arrayFilter(e,isArrayLikeObject),baseIteratee(r))})),xorWith=baseRest((function(e){var r=last(e);return r=typeof r=="function"?r:void 0,baseXor(arrayFilter(e,isArrayLikeObject),void 0,r)})),zip=baseRest(unzip);function baseZipObject(e,r,u){for(var t=-1,o=e.length,l=r.length,c={};++t<o;){var a=t<l?r[t]:void 0;u(c,e[t],a)}return c}function zipObject(e,r){return baseZipObject(e||[],r||[],assignValue)}function zipObjectDeep(e,r){return baseZipObject(e||[],r||[],baseSet)}var zipWith=baseRest((function(e){var r=e.length,u=r>1?e[r-1]:void 0;return u=typeof u=="function"?(e.pop(),u):void 0,unzipWith(e,u)}));const array={chunk,compact,concat,difference,differenceBy,differenceWith,drop,dropRight,dropRightWhile,dropWhile,fill,findIndex,findLastIndex,flatten,flattenDeep,flattenDepth,fromPairs,head,indexOf,initial,intersection,intersectionBy,intersectionWith,join,lastIndexOf,nth,pull,pullAll,pullAllBy,pullAllWith,pullAt,remove,reverse,slice,sortedIndex,sortedIndexBy,sortedIndexOf,sortedLastIndex,sortedLastIndexBy,sortedLastIndexOf,sortedUniq,sortedUniqBy,tail,take,takeRight,takeRightWhile,takeWhile,union,unionBy,unionWith,uniq,uniqBy,uniqWith,unzip,unzipWith,without,xor:xor$1,xorBy,xorWith,zip,zipObject,zipObjectDeep,zipWith},collection={countBy,every,filter,find,findLast,flatMap,flatMapDeep,flatMapDepth,forEach:forEach$1,forEachRight,groupBy,includes,invokeMap,keyBy,map,orderBy,partition,reduce,reduceRight,reject,sample,sampleSize,shuffle,size,some,sortBy},date={now},func={after,ary,before,bind,bindKey,curry,curryRight,debounce,defer,delay,flip,memoize,once,overArgs,partial,partialRight,rearg,rest,spread,throttle,unary,wrap},lang={castArray,clone,cloneDeep,cloneDeepWith,cloneWith,conformsTo,eq,gt,gte,isArguments:isArguments$1,isArrayBuffer,isArrayLike,isArrayLikeObject,isBoolean,isBuffer,isDate,isElement,isEmpty,isEqual,isEqualWith,isError,isFinite:isFinite$1,isFunction,isInteger,isLength,isMap,isMatch,isMatchWith,isNaN:isNaN$1,isNative,isNil,isNull,isNumber,isObjectLike,isPlainObject,isRegExp,isSafeInteger,isSet,isString,isSymbol,isTypedArray:isTypedArray$2,isUndefined,isWeakMap,isWeakSet,lt,lte,toArray,toFinite,toLength,toNumber,toPlainObject,toSafeInteger,toString},math={add,ceil,divide,floor:floor$1,max:max$1,maxBy,mean,meanBy,min:min$1,minBy,multiply,round:round$1,subtract,sum,sumBy},number={clamp,inRange,random},object={assign,assignIn,assignInWith,assignWith,at,create,defaults,defaultsDeep,findKey,findLastKey,forIn,forInRight,forOwn,forOwnRight,functions,functionsIn,get:get$1,has,hasIn,invert,invertBy,invoke,keysIn,mapKeys,mapValues,merge,mergeWith,omit,omitBy,pick,pickBy,result,set,setWith,toPairs,toPairsIn,transform,unset,update,updateWith,values,valuesIn},seq={at:wrapperAt,chain,commit:wrapperCommit,next:wrapperNext,plant:wrapperPlant,reverse:wrapperReverse,tap,toIterator:wrapperToIterator,value:wrapperValue,wrapperChain},string={camelCase,capitalize,deburr,endsWith,escape:escape$1,escapeRegExp,kebabCase,lowerCase,lowerFirst,pad,padEnd,padStart,parseInt:parseInt$1,repeat,replace,snakeCase,split,startCase,startsWith,template,templateSettings,toLower,toUpper,trim,trimEnd,trimStart,truncate,unescape:unescape$1,upperCase,upperFirst,words},util$2={attempt,bindAll,cond,conforms,constant,defaultTo,flow,flowRight,iteratee,matches,matchesProperty,method,methodOf,noop,nthArg,over,overEvery,overSome,property,propertyOf,range:range$1,rangeRight,stubArray,stubFalse,stubObject,stubString,stubTrue,times,toPath,uniqueId};function lazyClone(){var e=new LazyWrapper(this.__wrapped__);return e.__actions__=copyArray(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=copyArray(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=copyArray(this.__views__),e}function lazyReverse(){if(this.__filtered__){var e=new LazyWrapper(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e}var nativeMax$1=Math.max,nativeMin$2=Math.min;function getView(e,r,u){for(var t=-1,o=u.length;++t<o;){var l=u[t],c=l.size;switch(l.type){case"drop":e+=c;break;case"dropRight":r-=c;break;case"take":r=nativeMin$2(r,e+c);break;case"takeRight":e=nativeMax$1(e,r-c)}}return{start:e,end:r}}var LAZY_FILTER_FLAG$1=1,LAZY_MAP_FLAG=2,nativeMin$1=Math.min;function lazyValue(){var e=this.__wrapped__.value(),r=this.__dir__,u=isArray(e),t=r<0,o=u?e.length:0,l=getView(0,o,this.__views__),c=l.start,a=l.end,n=a-c,i=t?a:c-1,s=this.__iteratees__,f=s.length,d=0,h=nativeMin$1(n,this.__takeCount__);if(!u||!t&&o==n&&h==n)return baseWrapperValue(e,this.__actions__);var p=[];e:for(;n--&&d<h;){for(var b=-1,y=e[i+=r];++b<f;){var g=s[b],R=g.iteratee,S=g.type,w=R(y);if(S==LAZY_MAP_FLAG)y=w;else if(!w){if(S==LAZY_FILTER_FLAG$1)continue e;break e}}p[d++]=y}return p}var VERSION="4.18.1",WRAP_BIND_KEY_FLAG=2,LAZY_FILTER_FLAG=1,LAZY_WHILE_FLAG=3,MAX_ARRAY_LENGTH=4294967295,arrayProto=Array.prototype,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,symIterator=Symbol$1?Symbol$1.iterator:void 0,nativeMax=Math.max,nativeMin=Math.min,mixin=(function(e){return function(r,u,t){if(t==null){var o=isObject(u),l=o&&keys(u),c=l&&l.length&&baseFunctions(u,l);(c?c.length:o)||(t=u,u=r,r=this)}return e(r,u,t)}})(mixin$1),source;lodash$1.after=func.after,lodash$1.ary=func.ary,lodash$1.assign=object.assign,lodash$1.assignIn=object.assignIn,lodash$1.assignInWith=object.assignInWith,lodash$1.assignWith=object.assignWith,lodash$1.at=object.at,lodash$1.before=func.before,lodash$1.bind=func.bind,lodash$1.bindAll=util$2.bindAll,lodash$1.bindKey=func.bindKey,lodash$1.castArray=lang.castArray,lodash$1.chain=seq.chain,lodash$1.chunk=array.chunk,lodash$1.compact=array.compact,lodash$1.concat=array.concat,lodash$1.cond=util$2.cond,lodash$1.conforms=util$2.conforms,lodash$1.constant=util$2.constant,lodash$1.countBy=collection.countBy,lodash$1.create=object.create,lodash$1.curry=func.curry,lodash$1.curryRight=func.curryRight,lodash$1.debounce=func.debounce,lodash$1.defaults=object.defaults,lodash$1.defaultsDeep=object.defaultsDeep,lodash$1.defer=func.defer,lodash$1.delay=func.delay,lodash$1.difference=array.difference,lodash$1.differenceBy=array.differenceBy,lodash$1.differenceWith=array.differenceWith,lodash$1.drop=array.drop,lodash$1.dropRight=array.dropRight,lodash$1.dropRightWhile=array.dropRightWhile,lodash$1.dropWhile=array.dropWhile,lodash$1.fill=array.fill,lodash$1.filter=collection.filter,lodash$1.flatMap=collection.flatMap,lodash$1.flatMapDeep=collection.flatMapDeep,lodash$1.flatMapDepth=collection.flatMapDepth,lodash$1.flatten=array.flatten,lodash$1.flattenDeep=array.flattenDeep,lodash$1.flattenDepth=array.flattenDepth,lodash$1.flip=func.flip,lodash$1.flow=util$2.flow,lodash$1.flowRight=util$2.flowRight,lodash$1.fromPairs=array.fromPairs,lodash$1.functions=object.functions,lodash$1.functionsIn=object.functionsIn,lodash$1.groupBy=collection.groupBy,lodash$1.initial=array.initial,lodash$1.intersection=array.intersection,lodash$1.intersectionBy=array.intersectionBy,lodash$1.intersectionWith=array.intersectionWith,lodash$1.invert=object.invert,lodash$1.invertBy=object.invertBy,lodash$1.invokeMap=collection.invokeMap,lodash$1.iteratee=util$2.iteratee,lodash$1.keyBy=collection.keyBy,lodash$1.keys=keys,lodash$1.keysIn=object.keysIn,lodash$1.map=collection.map,lodash$1.mapKeys=object.mapKeys,lodash$1.mapValues=object.mapValues,lodash$1.matches=util$2.matches,lodash$1.matchesProperty=util$2.matchesProperty,lodash$1.memoize=func.memoize,lodash$1.merge=object.merge,lodash$1.mergeWith=object.mergeWith,lodash$1.method=util$2.method,lodash$1.methodOf=util$2.methodOf,lodash$1.mixin=mixin,lodash$1.negate=negate,lodash$1.nthArg=util$2.nthArg,lodash$1.omit=object.omit,lodash$1.omitBy=object.omitBy,lodash$1.once=func.once,lodash$1.orderBy=collection.orderBy,lodash$1.over=util$2.over,lodash$1.overArgs=func.overArgs,lodash$1.overEvery=util$2.overEvery,lodash$1.overSome=util$2.overSome,lodash$1.partial=func.partial,lodash$1.partialRight=func.partialRight,lodash$1.partition=collection.partition,lodash$1.pick=object.pick,lodash$1.pickBy=object.pickBy,lodash$1.property=util$2.property,lodash$1.propertyOf=util$2.propertyOf,lodash$1.pull=array.pull,lodash$1.pullAll=array.pullAll,lodash$1.pullAllBy=array.pullAllBy,lodash$1.pullAllWith=array.pullAllWith,lodash$1.pullAt=array.pullAt,lodash$1.range=util$2.range,lodash$1.rangeRight=util$2.rangeRight,lodash$1.rearg=func.rearg,lodash$1.reject=collection.reject,lodash$1.remove=array.remove,lodash$1.rest=func.rest,lodash$1.reverse=array.reverse,lodash$1.sampleSize=collection.sampleSize,lodash$1.set=object.set,lodash$1.setWith=object.setWith,lodash$1.shuffle=collection.shuffle,lodash$1.slice=array.slice,lodash$1.sortBy=collection.sortBy,lodash$1.sortedUniq=array.sortedUniq,lodash$1.sortedUniqBy=array.sortedUniqBy,lodash$1.split=string.split,lodash$1.spread=func.spread,lodash$1.tail=array.tail,lodash$1.take=array.take,lodash$1.takeRight=array.takeRight,lodash$1.takeRightWhile=array.takeRightWhile,lodash$1.takeWhile=array.takeWhile,lodash$1.tap=seq.tap,lodash$1.throttle=func.throttle,lodash$1.thru=thru,lodash$1.toArray=lang.toArray,lodash$1.toPairs=object.toPairs,lodash$1.toPairsIn=object.toPairsIn,lodash$1.toPath=util$2.toPath,lodash$1.toPlainObject=lang.toPlainObject,lodash$1.transform=object.transform,lodash$1.unary=func.unary,lodash$1.union=array.union,lodash$1.unionBy=array.unionBy,lodash$1.unionWith=array.unionWith,lodash$1.uniq=array.uniq,lodash$1.uniqBy=array.uniqBy,lodash$1.uniqWith=array.uniqWith,lodash$1.unset=object.unset,lodash$1.unzip=array.unzip,lodash$1.unzipWith=array.unzipWith,lodash$1.update=object.update,lodash$1.updateWith=object.updateWith,lodash$1.values=object.values,lodash$1.valuesIn=object.valuesIn,lodash$1.without=array.without,lodash$1.words=string.words,lodash$1.wrap=func.wrap,lodash$1.xor=array.xor,lodash$1.xorBy=array.xorBy,lodash$1.xorWith=array.xorWith,lodash$1.zip=array.zip,lodash$1.zipObject=array.zipObject,lodash$1.zipObjectDeep=array.zipObjectDeep,lodash$1.zipWith=array.zipWith,lodash$1.entries=object.toPairs,lodash$1.entriesIn=object.toPairsIn,lodash$1.extend=object.assignIn,lodash$1.extendWith=object.assignInWith,mixin(lodash$1,lodash$1),lodash$1.add=math.add,lodash$1.attempt=util$2.attempt,lodash$1.camelCase=string.camelCase,lodash$1.capitalize=string.capitalize,lodash$1.ceil=math.ceil,lodash$1.clamp=number.clamp,lodash$1.clone=lang.clone,lodash$1.cloneDeep=lang.cloneDeep,lodash$1.cloneDeepWith=lang.cloneDeepWith,lodash$1.cloneWith=lang.cloneWith,lodash$1.conformsTo=lang.conformsTo,lodash$1.deburr=string.deburr,lodash$1.defaultTo=util$2.defaultTo,lodash$1.divide=math.divide,lodash$1.endsWith=string.endsWith,lodash$1.eq=lang.eq,lodash$1.escape=string.escape,lodash$1.escapeRegExp=string.escapeRegExp,lodash$1.every=collection.every,lodash$1.find=collection.find,lodash$1.findIndex=array.findIndex,lodash$1.findKey=object.findKey,lodash$1.findLast=collection.findLast,lodash$1.findLastIndex=array.findLastIndex,lodash$1.findLastKey=object.findLastKey,lodash$1.floor=math.floor,lodash$1.forEach=collection.forEach,lodash$1.forEachRight=collection.forEachRight,lodash$1.forIn=object.forIn,lodash$1.forInRight=object.forInRight,lodash$1.forOwn=object.forOwn,lodash$1.forOwnRight=object.forOwnRight,lodash$1.get=object.get,lodash$1.gt=lang.gt,lodash$1.gte=lang.gte,lodash$1.has=object.has,lodash$1.hasIn=object.hasIn,lodash$1.head=array.head,lodash$1.identity=identity,lodash$1.includes=collection.includes,lodash$1.indexOf=array.indexOf,lodash$1.inRange=number.inRange,lodash$1.invoke=object.invoke,lodash$1.isArguments=lang.isArguments,lodash$1.isArray=isArray,lodash$1.isArrayBuffer=lang.isArrayBuffer,lodash$1.isArrayLike=lang.isArrayLike,lodash$1.isArrayLikeObject=lang.isArrayLikeObject,lodash$1.isBoolean=lang.isBoolean,lodash$1.isBuffer=lang.isBuffer,lodash$1.isDate=lang.isDate,lodash$1.isElement=lang.isElement,lodash$1.isEmpty=lang.isEmpty,lodash$1.isEqual=lang.isEqual,lodash$1.isEqualWith=lang.isEqualWith,lodash$1.isError=lang.isError,lodash$1.isFinite=lang.isFinite,lodash$1.isFunction=lang.isFunction,lodash$1.isInteger=lang.isInteger,lodash$1.isLength=lang.isLength,lodash$1.isMap=lang.isMap,lodash$1.isMatch=lang.isMatch,lodash$1.isMatchWith=lang.isMatchWith,lodash$1.isNaN=lang.isNaN,lodash$1.isNative=lang.isNative,lodash$1.isNil=lang.isNil,lodash$1.isNull=lang.isNull,lodash$1.isNumber=lang.isNumber,lodash$1.isObject=isObject,lodash$1.isObjectLike=lang.isObjectLike,lodash$1.isPlainObject=lang.isPlainObject,lodash$1.isRegExp=lang.isRegExp,lodash$1.isSafeInteger=lang.isSafeInteger,lodash$1.isSet=lang.isSet,lodash$1.isString=lang.isString,lodash$1.isSymbol=lang.isSymbol,lodash$1.isTypedArray=lang.isTypedArray,lodash$1.isUndefined=lang.isUndefined,lodash$1.isWeakMap=lang.isWeakMap,lodash$1.isWeakSet=lang.isWeakSet,lodash$1.join=array.join,lodash$1.kebabCase=string.kebabCase,lodash$1.last=last,lodash$1.lastIndexOf=array.lastIndexOf,lodash$1.lowerCase=string.lowerCase,lodash$1.lowerFirst=string.lowerFirst,lodash$1.lt=lang.lt,lodash$1.lte=lang.lte,lodash$1.max=math.max,lodash$1.maxBy=math.maxBy,lodash$1.mean=math.mean,lodash$1.meanBy=math.meanBy,lodash$1.min=math.min,lodash$1.minBy=math.minBy,lodash$1.stubArray=util$2.stubArray,lodash$1.stubFalse=util$2.stubFalse,lodash$1.stubObject=util$2.stubObject,lodash$1.stubString=util$2.stubString,lodash$1.stubTrue=util$2.stubTrue,lodash$1.multiply=math.multiply,lodash$1.nth=array.nth,lodash$1.noop=util$2.noop,lodash$1.now=date.now,lodash$1.pad=string.pad,lodash$1.padEnd=string.padEnd,lodash$1.padStart=string.padStart,lodash$1.parseInt=string.parseInt,lodash$1.random=number.random,lodash$1.reduce=collection.reduce,lodash$1.reduceRight=collection.reduceRight,lodash$1.repeat=string.repeat,lodash$1.replace=string.replace,lodash$1.result=object.result,lodash$1.round=math.round,lodash$1.sample=collection.sample,lodash$1.size=collection.size,lodash$1.snakeCase=string.snakeCase,lodash$1.some=collection.some,lodash$1.sortedIndex=array.sortedIndex,lodash$1.sortedIndexBy=array.sortedIndexBy,lodash$1.sortedIndexOf=array.sortedIndexOf,lodash$1.sortedLastIndex=array.sortedLastIndex,lodash$1.sortedLastIndexBy=array.sortedLastIndexBy,lodash$1.sortedLastIndexOf=array.sortedLastIndexOf,lodash$1.startCase=string.startCase,lodash$1.startsWith=string.startsWith,lodash$1.subtract=math.subtract,lodash$1.sum=math.sum,lodash$1.sumBy=math.sumBy,lodash$1.template=string.template,lodash$1.times=util$2.times,lodash$1.toFinite=lang.toFinite,lodash$1.toInteger=toInteger,lodash$1.toLength=lang.toLength,lodash$1.toLower=string.toLower,lodash$1.toNumber=lang.toNumber,lodash$1.toSafeInteger=lang.toSafeInteger,lodash$1.toString=lang.toString,lodash$1.toUpper=string.toUpper,lodash$1.trim=string.trim,lodash$1.trimEnd=string.trimEnd,lodash$1.trimStart=string.trimStart,lodash$1.truncate=string.truncate,lodash$1.unescape=string.unescape,lodash$1.uniqueId=util$2.uniqueId,lodash$1.upperCase=string.upperCase,lodash$1.upperFirst=string.upperFirst,lodash$1.each=collection.forEach,lodash$1.eachRight=collection.forEachRight,lodash$1.first=array.head,mixin(lodash$1,(source={},baseForOwn(lodash$1,(function(e,r){hasOwnProperty.call(lodash$1.prototype,r)||(source[r]=e)})),source),{chain:!1}),lodash$1.VERSION=VERSION,(lodash$1.templateSettings=string.templateSettings).imports._=lodash$1,arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){lodash$1[e].placeholder=lodash$1})),arrayEach(["drop","take"],(function(e,r){LazyWrapper.prototype[e]=function(u){u=u===void 0?1:nativeMax(toInteger(u),0);var t=this.__filtered__&&!r?new LazyWrapper(this):this.clone();return t.__filtered__?t.__takeCount__=nativeMin(u,t.__takeCount__):t.__views__.push({size:nativeMin(u,MAX_ARRAY_LENGTH),type:e+(t.__dir__<0?"Right":"")}),t},LazyWrapper.prototype[e+"Right"]=function(u){return this.reverse()[e](u).reverse()}})),arrayEach(["filter","map","takeWhile"],(function(e,r){var u=r+1,t=u==LAZY_FILTER_FLAG||u==LAZY_WHILE_FLAG;LazyWrapper.prototype[e]=function(o){var l=this.clone();return l.__iteratees__.push({iteratee:baseIteratee(o),type:u}),l.__filtered__=l.__filtered__||t,l}})),arrayEach(["head","last"],(function(e,r){var u="take"+(r?"Right":"");LazyWrapper.prototype[e]=function(){return this[u](1).value()[0]}})),arrayEach(["initial","tail"],(function(e,r){var u="drop"+(r?"":"Right");LazyWrapper.prototype[e]=function(){return this.__filtered__?new LazyWrapper(this):this[u](1)}})),LazyWrapper.prototype.compact=function(){return this.filter(identity)},LazyWrapper.prototype.find=function(e){return this.filter(e).head()},LazyWrapper.prototype.findLast=function(e){return this.reverse().find(e)},LazyWrapper.prototype.invokeMap=baseRest((function(e,r){return typeof e=="function"?new LazyWrapper(this):this.map((function(u){return baseInvoke(u,e,r)}))})),LazyWrapper.prototype.reject=function(e){return this.filter(negate(baseIteratee(e)))},LazyWrapper.prototype.slice=function(e,r){e=toInteger(e);var u=this;return u.__filtered__&&(e>0||r<0)?new LazyWrapper(u):(e<0?u=u.takeRight(-e):e&&(u=u.drop(e)),r!==void 0&&(u=(r=toInteger(r))<0?u.dropRight(-r):u.take(r-e)),u)},LazyWrapper.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(MAX_ARRAY_LENGTH)},baseForOwn(LazyWrapper.prototype,(function(e,r){var u=/^(?:filter|find|map|reject)|While$/.test(r),t=/^(?:head|last)$/.test(r),o=lodash$1[t?"take"+(r=="last"?"Right":""):r],l=t||/^find/.test(r);o&&(lodash$1.prototype[r]=function(){var c=this.__wrapped__,a=t?[1]:arguments,n=c instanceof LazyWrapper,i=a[0],s=n||isArray(c),f=function(g){var R=o.apply(lodash$1,arrayPush([g],a));return t&&d?R[0]:R};s&&u&&typeof i=="function"&&i.length!=1&&(n=s=!1);var d=this.__chain__,h=!!this.__actions__.length,p=l&&!d,b=n&&!h;if(!l&&s){c=b?c:new LazyWrapper(this);var y=e.apply(c,a);return y.__actions__.push({func:thru,args:[f],thisArg:void 0}),new LodashWrapper(y,d)}return p&&b?e.apply(this,a):(y=this.thru(f),p?t?y.value()[0]:y.value():y)})})),arrayEach(["pop","push","shift","sort","splice","unshift"],(function(e){var r=arrayProto[e],u=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",t=/^(?:pop|shift)$/.test(e);lodash$1.prototype[e]=function(){var o=arguments;if(t&&!this.__chain__){var l=this.value();return r.apply(isArray(l)?l:[],o)}return this[u]((function(c){return r.apply(isArray(c)?c:[],o)}))}})),baseForOwn(LazyWrapper.prototype,(function(e,r){var u=lodash$1[r];if(u){var t=u.name+"";hasOwnProperty.call(realNames,t)||(realNames[t]=[]),realNames[t].push({name:r,func:u})}})),realNames[createHybrid(void 0,WRAP_BIND_KEY_FLAG).name]=[{name:"wrapper",func:void 0}],LazyWrapper.prototype.clone=lazyClone,LazyWrapper.prototype.reverse=lazyReverse,LazyWrapper.prototype.value=lazyValue,lodash$1.prototype.at=seq.at,lodash$1.prototype.chain=seq.wrapperChain,lodash$1.prototype.commit=seq.commit,lodash$1.prototype.next=seq.next,lodash$1.prototype.plant=seq.plant,lodash$1.prototype.reverse=seq.reverse,lodash$1.prototype.toJSON=lodash$1.prototype.valueOf=lodash$1.prototype.value=seq.value,lodash$1.prototype.first=lodash$1.prototype.head,symIterator&&(lodash$1.prototype[symIterator]=seq.toIterator);const lodash=Object.freeze(Object.defineProperty({__proto__:null,add,after,ary,assign,assignIn,assignInWith,assignWith,at,attempt,before,bind,bindAll,bindKey,camelCase,capitalize,castArray,ceil,chain,chunk,clamp,clone,cloneDeep,cloneDeepWith,cloneWith,commit:wrapperCommit,compact,concat,cond,conforms,conformsTo,constant,countBy,create,curry,curryRight,debounce,deburr,default:lodash$1,defaultTo,defaults,defaultsDeep,defer,delay,difference,differenceBy,differenceWith,divide,drop,dropRight,dropRightWhile,dropWhile,each:forEach$1,eachRight:forEachRight,endsWith,entries:toPairs,entriesIn:toPairsIn,eq,escape:escape$1,escapeRegExp,every,extend:assignIn,extendWith:assignInWith,fill,filter,find,findIndex,findKey,findLast,findLastIndex,findLastKey,first:head,flatMap,flatMapDeep,flatMapDepth,flatten,flattenDeep,flattenDepth,flip,floor:floor$1,flow,flowRight,forEach:forEach$1,forEachRight,forIn,forInRight,forOwn,forOwnRight,fromPairs,functions,functionsIn,get:get$1,groupBy,gt,gte,has,hasIn,head,identity,inRange,includes,indexOf,initial,intersection,intersectionBy,intersectionWith,invert,invertBy,invoke,invokeMap,isArguments:isArguments$1,isArray,isArrayBuffer,isArrayLike,isArrayLikeObject,isBoolean,isBuffer,isDate,isElement,isEmpty,isEqual,isEqualWith,isError,isFinite:isFinite$1,isFunction,isInteger,isLength,isMap,isMatch,isMatchWith,isNaN:isNaN$1,isNative,isNil,isNull,isNumber,isObject,isObjectLike,isPlainObject,isRegExp,isSafeInteger,isSet,isString,isSymbol,isTypedArray:isTypedArray$2,isUndefined,isWeakMap,isWeakSet,iteratee,join,kebabCase,keyBy,keys,keysIn,last,lastIndexOf,lodash:lodash$1,lowerCase,lowerFirst,lt,lte,map,mapKeys,mapValues,matches,matchesProperty,max:max$1,maxBy,mean,meanBy,memoize,merge,mergeWith,method,methodOf,min:min$1,minBy,mixin:mixin$1,multiply,negate,next:wrapperNext,noop,now,nth,nthArg,omit,omitBy,once,orderBy,over,overArgs,overEvery,overSome,pad,padEnd,padStart,parseInt:parseInt$1,partial,partialRight,partition,pick,pickBy,plant:wrapperPlant,property,propertyOf,pull,pullAll,pullAllBy,pullAllWith,pullAt,random,range:range$1,rangeRight,rearg,reduce,reduceRight,reject,remove,repeat,replace,rest,result,reverse,round:round$1,sample,sampleSize,set,setWith,shuffle,size,slice,snakeCase,some,sortBy,sortedIndex,sortedIndexBy,sortedIndexOf,sortedLastIndex,sortedLastIndexBy,sortedLastIndexOf,sortedUniq,sortedUniqBy,split,spread,startCase,startsWith,stubArray,stubFalse,stubObject,stubString,stubTrue,subtract,sum,sumBy,tail,take,takeRight,takeRightWhile,takeWhile,tap,template,templateSettings,throttle,thru,times,toArray,toFinite,toInteger,toIterator:wrapperToIterator,toJSON:wrapperValue,toLength,toLower,toNumber,toPairs,toPairsIn,toPath,toPlainObject,toSafeInteger,toString,toUpper,transform,trim,trimEnd,trimStart,truncate,unary,unescape:unescape$1,union,unionBy,unionWith,uniq,uniqBy,uniqWith,uniqueId,unset,unzip,unzipWith,update,updateWith,upperCase,upperFirst,value:wrapperValue,valueOf:wrapperValue,values,valuesIn,without,words,wrap,wrapperAt,wrapperChain,wrapperCommit,wrapperLodash:lodash$1,wrapperNext,wrapperPlant,wrapperReverse,wrapperToIterator,wrapperValue,xor:xor$1,xorBy,xorWith,zip,zipObject,zipObjectDeep,zipWith},Symbol.toStringTag,{value:"Module"}));var cryptoJs$1={exports:{}};function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var core$1={exports:{}},cryptoBrowserify={},browser$c={exports:{}},safeBuffer$1={exports:{}},dist={},hasRequiredDist,hasRequiredSafeBuffer$1,hasRequiredBrowser$c;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});for(var r={},u={byteLength:function(d){var h=n(d),p=h[0],b=h[1];return 3*(p+b)/4-b},toByteArray:function(d){var h,p,b=n(d),y=b[0],g=b[1],R=new l((function(q,I,P){return 3*(I+P)/4-P})(0,y,g)),S=0,w=g>0?y-4:y;for(p=0;p<w;p+=4)h=o[d.charCodeAt(p)]<<18|o[d.charCodeAt(p+1)]<<12|o[d.charCodeAt(p+2)]<<6|o[d.charCodeAt(p+3)],R[S++]=h>>16&255,R[S++]=h>>8&255,R[S++]=255&h;return g===2&&(h=o[d.charCodeAt(p)]<<2|o[d.charCodeAt(p+1)]>>4,R[S++]=255&h),g===1&&(h=o[d.charCodeAt(p)]<<10|o[d.charCodeAt(p+1)]<<4|o[d.charCodeAt(p+2)]>>2,R[S++]=h>>8&255,R[S++]=255&h),R},fromByteArray:function(d){for(var h,p=d.length,b=p%3,y=[],g=16383,R=0,S=p-b;R<S;R+=g)y.push(i(d,R,R+g>S?S:R+g));return b===1?(h=d[p-1],y.push(t[h>>2]+t[h<<4&63]+"==")):b===2&&(h=(d[p-2]<<8)+d[p-1],y.push(t[h>>10]+t[h>>4&63]+t[h<<2&63]+"=")),y.join("")}},t=[],o=[],l=typeof Uint8Array<"u"?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)t[a]=c[a],o[c.charCodeAt(a)]=a;function n(d){var h=d.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var p=d.indexOf("=");return p===-1&&(p=h),[p,p===h?0:4-p%4]}function i(d,h,p){for(var b,y,g=[],R=h;R<p;R+=3)b=(d[R]<<16&16711680)+(d[R+1]<<8&65280)+(255&d[R+2]),g.push(t[(y=b)>>18&63]+t[y>>12&63]+t[y>>6&63]+t[63&y]);return g.join("")}o[45]=62,o[95]=63;var s={read:function(d,h,p,b,y){var g,R,S=8*y-b-1,w=(1<<S)-1,q=w>>1,I=-7,P=p?y-1:0,O=p?-1:1,N=d[h+P];for(P+=O,g=N&(1<<-I)-1,N>>=-I,I+=S;I>0;g=256*g+d[h+P],P+=O,I-=8);for(R=g&(1<<-I)-1,g>>=-I,I+=b;I>0;R=256*R+d[h+P],P+=O,I-=8);if(g===0)g=1-q;else{if(g===w)return R?NaN:1/0*(N?-1:1);R+=Math.pow(2,b),g-=q}return(N?-1:1)*R*Math.pow(2,g-b)},write:function(d,h,p,b,y,g){var R,S,w,q=8*g-y-1,I=(1<<q)-1,P=I>>1,O=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,N=b?0:g-1,_=b?1:-1,E=h<0||h===0&&1/h<0?1:0;for(h=Math.abs(h),isNaN(h)||h===1/0?(S=isNaN(h)?1:0,R=I):(R=Math.floor(Math.log(h)/Math.LN2),h*(w=Math.pow(2,-R))<1&&(R--,w*=2),(h+=R+P>=1?O/w:O*Math.pow(2,1-P))*w>=2&&(R++,w/=2),R+P>=I?(S=0,R=I):R+P>=1?(S=(h*w-1)*Math.pow(2,y),R+=P):(S=h*Math.pow(2,P-1)*Math.pow(2,y),R=0));y>=8;d[p+N]=255&S,N+=_,S/=256,y-=8);for(R=R<<y|S,q+=y;q>0;d[p+N]=255&R,N+=_,R/=256,q-=8);d[p+N-_]|=128*E}};(function(d){const h=u,p=s,b=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;d.Buffer=q,d.SlowBuffer=function($){return+$!=$&&($=0),q.alloc(+$)},d.INSPECT_MAX_BYTES=50;const y=2147483647;d.kMaxLength=y;const{Uint8Array:g,ArrayBuffer:R,SharedArrayBuffer:S}=globalThis;function w($){if($>y)throw new RangeError('The value "'+$+'" is invalid for option "size"');const M=new g($);return Object.setPrototypeOf(M,q.prototype),M}function q($,M,C){if(typeof $=="number"){if(typeof M=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O($)}return I($,M,C)}function I($,M,C){if(typeof $=="string")return(function(H,X){if(typeof X=="string"&&X!==""||(X="utf8"),!q.isEncoding(X))throw new TypeError("Unknown encoding: "+X);const re=0|B(H,X);let pe=w(re);const ce=pe.write(H,X);return ce!==re&&(pe=pe.slice(0,ce)),pe})($,M);if(R.isView($))return(function(H){if(de(H,g)){const X=new g(H);return _(X.buffer,X.byteOffset,X.byteLength)}return N(H)})($);if($==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $);if(de($,R)||$&&de($.buffer,R)||S!==void 0&&(de($,S)||$&&de($.buffer,S)))return _($,M,C);if(typeof $=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const W=$.valueOf&&$.valueOf();if(W!=null&&W!==$)return q.from(W,M,C);const z=(function(H){if(q.isBuffer(H)){const X=0|E(H.length),re=w(X);return re.length===0||H.copy(re,0,0,X),re}if(H.length!==void 0)return typeof H.length!="number"||Oe(H.length)?w(0):N(H);if(H.type==="Buffer"&&Array.isArray(H.data))return N(H.data)})($);if(z)return z;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof $[Symbol.toPrimitive]=="function")return q.from($[Symbol.toPrimitive]("string"),M,C);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $)}function P($){if(typeof $!="number")throw new TypeError('"size" argument must be of type number');if($<0)throw new RangeError('The value "'+$+'" is invalid for option "size"')}function O($){return P($),w($<0?0:0|E($))}function N($){const M=$.length<0?0:0|E($.length),C=w(M);for(let W=0;W<M;W+=1)C[W]=255&$[W];return C}function _($,M,C){if(M<0||$.byteLength<M)throw new RangeError('"offset" is outside of buffer bounds');if($.byteLength<M+(C||0))throw new RangeError('"length" is outside of buffer bounds');let W;return W=M===void 0&&C===void 0?new g($):C===void 0?new g($,M):new g($,M,C),Object.setPrototypeOf(W,q.prototype),W}function E($){if($>=y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+y.toString(16)+" bytes");return 0|$}function B($,M){if(q.isBuffer($))return $.length;if(R.isView($)||de($,R))return $.byteLength;if(typeof $!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof $);const C=$.length,W=arguments.length>2&&arguments[2]===!0;if(!W&&C===0)return 0;let z=!1;for(;;)switch(M){case"ascii":case"latin1":case"binary":return C;case"utf8":case"utf-8":return he($).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*C;case"hex":return C>>>1;case"base64":return Ee($).length;default:if(z)return W?-1:he($).length;M=(""+M).toLowerCase(),z=!0}}function A($,M,C){let W=!1;if((M===void 0||M<0)&&(M=0),M>this.length||((C===void 0||C>this.length)&&(C=this.length),C<=0)||(C>>>=0)<=(M>>>=0))return"";for($||($="utf8");;)switch($){case"hex":return Z(this,M,C);case"utf8":case"utf-8":return T(this,M,C);case"ascii":return K(this,M,C);case"latin1":case"binary":return ee(this,M,C);case"base64":return x(this,M,C);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,M,C);default:if(W)throw new TypeError("Unknown encoding: "+$);$=($+"").toLowerCase(),W=!0}}function v($,M,C){const W=$[M];$[M]=$[C],$[C]=W}function m($,M,C,W,z){if($.length===0)return-1;if(typeof C=="string"?(W=C,C=0):C>2147483647?C=2147483647:C<-2147483648&&(C=-2147483648),Oe(C=+C)&&(C=z?0:$.length-1),C<0&&(C=$.length+C),C>=$.length){if(z)return-1;C=$.length-1}else if(C<0){if(!z)return-1;C=0}if(typeof M=="string"&&(M=q.from(M,W)),q.isBuffer(M))return M.length===0?-1:k($,M,C,W,z);if(typeof M=="number")return M&=255,typeof g.prototype.indexOf=="function"?z?g.prototype.indexOf.call($,M,C):g.prototype.lastIndexOf.call($,M,C):k($,[M],C,W,z);throw new TypeError("val must be string, number or Buffer")}function k($,M,C,W,z){let H,X=1,re=$.length,pe=M.length;if(W!==void 0&&((W=String(W).toLowerCase())==="ucs2"||W==="ucs-2"||W==="utf16le"||W==="utf-16le")){if($.length<2||M.length<2)return-1;X=2,re/=2,pe/=2,C/=2}function ce(ae,Re){return X===1?ae[Re]:ae.readUInt16BE(Re*X)}if(z){let ae=-1;for(H=C;H<re;H++)if(ce($,H)===ce(M,ae===-1?0:H-ae)){if(ae===-1&&(ae=H),H-ae+1===pe)return ae*X}else ae!==-1&&(H-=H-ae),ae=-1}else for(C+pe>re&&(C=re-pe),H=C;H>=0;H--){let ae=!0;for(let Re=0;Re<pe;Re++)if(ce($,H+Re)!==ce(M,Re)){ae=!1;break}if(ae)return H}return-1}function L($,M,C,W){C=Number(C)||0;const z=$.length-C;W?(W=Number(W))>z&&(W=z):W=z;const H=M.length;let X;for(W>H/2&&(W=H/2),X=0;X<W;++X){const re=parseInt(M.substr(2*X,2),16);if(Oe(re))return X;$[C+X]=re}return X}function F($,M,C,W){return ge(he(M,$.length-C),$,C,W)}function j($,M,C,W){return ge((function(z){const H=[];for(let X=0;X<z.length;++X)H.push(255&z.charCodeAt(X));return H})(M),$,C,W)}function U($,M,C,W){return ge(Ee(M),$,C,W)}function D($,M,C,W){return ge((function(z,H){let X,re,pe;const ce=[];for(let ae=0;ae<z.length&&!((H-=2)<0);++ae)X=z.charCodeAt(ae),re=X>>8,pe=X%256,ce.push(pe),ce.push(re);return ce})(M,$.length-C),$,C,W)}function x($,M,C){return M===0&&C===$.length?h.fromByteArray($):h.fromByteArray($.slice(M,C))}function T($,M,C){C=Math.min($.length,C);const W=[];let z=M;for(;z<C;){const H=$[z];let X=null,re=H>239?4:H>223?3:H>191?2:1;if(z+re<=C){let pe,ce,ae,Re;switch(re){case 1:H<128&&(X=H);break;case 2:pe=$[z+1],(192&pe)==128&&(Re=(31&H)<<6|63&pe,Re>127&&(X=Re));break;case 3:pe=$[z+1],ce=$[z+2],(192&pe)==128&&(192&ce)==128&&(Re=(15&H)<<12|(63&pe)<<6|63&ce,Re>2047&&(Re<55296||Re>57343)&&(X=Re));break;case 4:pe=$[z+1],ce=$[z+2],ae=$[z+3],(192&pe)==128&&(192&ce)==128&&(192&ae)==128&&(Re=(15&H)<<18|(63&pe)<<12|(63&ce)<<6|63&ae,Re>65535&&Re<1114112&&(X=Re))}}X===null?(X=65533,re=1):X>65535&&(X-=65536,W.push(X>>>10&1023|55296),X=56320|1023&X),W.push(X),z+=re}return(function(H){const X=H.length;if(X<=G)return String.fromCharCode.apply(String,H);let re="",pe=0;for(;pe<X;)re+=String.fromCharCode.apply(String,H.slice(pe,pe+=G));return re})(W)}q.TYPED_ARRAY_SUPPORT=(function(){try{const $=new g(1),M={foo:function(){return 42}};return Object.setPrototypeOf(M,g.prototype),Object.setPrototypeOf($,M),$.foo()===42}catch{return!1}})(),q.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(q.prototype,"parent",{enumerable:!0,get:function(){if(q.isBuffer(this))return this.buffer}}),Object.defineProperty(q.prototype,"offset",{enumerable:!0,get:function(){if(q.isBuffer(this))return this.byteOffset}}),q.poolSize=8192,q.from=function($,M,C){return I($,M,C)},Object.setPrototypeOf(q.prototype,g.prototype),Object.setPrototypeOf(q,g),q.alloc=function($,M,C){return(function(W,z,H){return P(W),W<=0?w(W):z!==void 0?typeof H=="string"?w(W).fill(z,H):w(W).fill(z):w(W)})($,M,C)},q.allocUnsafe=function($){return O($)},q.allocUnsafeSlow=function($){return O($)},q.isBuffer=function($){return $!=null&&$._isBuffer===!0&&$!==q.prototype},q.compare=function($,M){if(de($,g)&&($=q.from($,$.offset,$.byteLength)),de(M,g)&&(M=q.from(M,M.offset,M.byteLength)),!q.isBuffer($)||!q.isBuffer(M))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if($===M)return 0;let C=$.length,W=M.length;for(let z=0,H=Math.min(C,W);z<H;++z)if($[z]!==M[z]){C=$[z],W=M[z];break}return C<W?-1:W<C?1:0},q.isEncoding=function($){switch(String($).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},q.concat=function($,M){if(!Array.isArray($))throw new TypeError('"list" argument must be an Array of Buffers');if($.length===0)return q.alloc(0);let C;if(M===void 0)for(M=0,C=0;C<$.length;++C)M+=$[C].length;const W=q.allocUnsafe(M);let z=0;for(C=0;C<$.length;++C){let H=$[C];if(de(H,g))z+H.length>W.length?(q.isBuffer(H)||(H=q.from(H)),H.copy(W,z)):g.prototype.set.call(W,H,z);else{if(!q.isBuffer(H))throw new TypeError('"list" argument must be an Array of Buffers');H.copy(W,z)}z+=H.length}return W},q.byteLength=B,q.prototype._isBuffer=!0,q.prototype.swap16=function(){const $=this.length;if($%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let M=0;M<$;M+=2)v(this,M,M+1);return this},q.prototype.swap32=function(){const $=this.length;if($%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let M=0;M<$;M+=4)v(this,M,M+3),v(this,M+1,M+2);return this},q.prototype.swap64=function(){const $=this.length;if($%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let M=0;M<$;M+=8)v(this,M,M+7),v(this,M+1,M+6),v(this,M+2,M+5),v(this,M+3,M+4);return this},q.prototype.toString=function(){const $=this.length;return $===0?"":arguments.length===0?T(this,0,$):A.apply(this,arguments)},q.prototype.toLocaleString=q.prototype.toString,q.prototype.equals=function($){if(!q.isBuffer($))throw new TypeError("Argument must be a Buffer");return this===$||q.compare(this,$)===0},q.prototype.inspect=function(){let $="";const M=d.INSPECT_MAX_BYTES;return $=this.toString("hex",0,M).replace(/(.{2})/g,"$1 ").trim(),this.length>M&&($+=" ... "),"<Buffer "+$+">"},b&&(q.prototype[b]=q.prototype.inspect),q.prototype.compare=function($,M,C,W,z){if(de($,g)&&($=q.from($,$.offset,$.byteLength)),!q.isBuffer($))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof $);if(M===void 0&&(M=0),C===void 0&&(C=$?$.length:0),W===void 0&&(W=0),z===void 0&&(z=this.length),M<0||C>$.length||W<0||z>this.length)throw new RangeError("out of range index");if(W>=z&&M>=C)return 0;if(W>=z)return-1;if(M>=C)return 1;if(this===$)return 0;let H=(z>>>=0)-(W>>>=0),X=(C>>>=0)-(M>>>=0);const re=Math.min(H,X),pe=this.slice(W,z),ce=$.slice(M,C);for(let ae=0;ae<re;++ae)if(pe[ae]!==ce[ae]){H=pe[ae],X=ce[ae];break}return H<X?-1:X<H?1:0},q.prototype.includes=function($,M,C){return this.indexOf($,M,C)!==-1},q.prototype.indexOf=function($,M,C){return m(this,$,M,C,!0)},q.prototype.lastIndexOf=function($,M,C){return m(this,$,M,C,!1)},q.prototype.write=function($,M,C,W){if(M===void 0)W="utf8",C=this.length,M=0;else if(C===void 0&&typeof M=="string")W=M,C=this.length,M=0;else{if(!isFinite(M))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");M>>>=0,isFinite(C)?(C>>>=0,W===void 0&&(W="utf8")):(W=C,C=void 0)}const z=this.length-M;if((C===void 0||C>z)&&(C=z),$.length>0&&(C<0||M<0)||M>this.length)throw new RangeError("Attempt to write outside buffer bounds");W||(W="utf8");let H=!1;for(;;)switch(W){case"hex":return L(this,$,M,C);case"utf8":case"utf-8":return F(this,$,M,C);case"ascii":case"latin1":case"binary":return j(this,$,M,C);case"base64":return U(this,$,M,C);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,$,M,C);default:if(H)throw new TypeError("Unknown encoding: "+W);W=(""+W).toLowerCase(),H=!0}},q.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const G=4096;function K($,M,C){let W="";C=Math.min($.length,C);for(let z=M;z<C;++z)W+=String.fromCharCode(127&$[z]);return W}function ee($,M,C){let W="";C=Math.min($.length,C);for(let z=M;z<C;++z)W+=String.fromCharCode($[z]);return W}function Z($,M,C){const W=$.length;(!M||M<0)&&(M=0),(!C||C<0||C>W)&&(C=W);let z="";for(let H=M;H<C;++H)z+=ve[$[H]];return z}function V($,M,C){const W=$.slice(M,C);let z="";for(let H=0;H<W.length-1;H+=2)z+=String.fromCharCode(W[H]+256*W[H+1]);return z}function Q($,M,C){if($%1!=0||$<0)throw new RangeError("offset is not uint");if($+M>C)throw new RangeError("Trying to access beyond buffer length")}function Y($,M,C,W,z,H){if(!q.isBuffer($))throw new TypeError('"buffer" argument must be a Buffer instance');if(M>z||M<H)throw new RangeError('"value" argument is out of bounds');if(C+W>$.length)throw new RangeError("Index out of range")}function J($,M,C,W,z){ue(M,W,z,$,C,7);let H=Number(M&BigInt(4294967295));$[C++]=H,H>>=8,$[C++]=H,H>>=8,$[C++]=H,H>>=8,$[C++]=H;let X=Number(M>>BigInt(32)&BigInt(4294967295));return $[C++]=X,X>>=8,$[C++]=X,X>>=8,$[C++]=X,X>>=8,$[C++]=X,C}function oe($,M,C,W,z){ue(M,W,z,$,C,7);let H=Number(M&BigInt(4294967295));$[C+7]=H,H>>=8,$[C+6]=H,H>>=8,$[C+5]=H,H>>=8,$[C+4]=H;let X=Number(M>>BigInt(32)&BigInt(4294967295));return $[C+3]=X,X>>=8,$[C+2]=X,X>>=8,$[C+1]=X,X>>=8,$[C]=X,C+8}function se($,M,C,W,z,H){if(C+W>$.length)throw new RangeError("Index out of range");if(C<0)throw new RangeError("Index out of range")}function ne($,M,C,W,z){return M=+M,C>>>=0,z||se($,0,C,4),p.write($,M,C,W,23,4),C+4}function _e($,M,C,W,z){return M=+M,C>>>=0,z||se($,0,C,8),p.write($,M,C,W,52,8),C+8}q.prototype.slice=function($,M){const C=this.length;($=~~$)<0?($+=C)<0&&($=0):$>C&&($=C),(M=M===void 0?C:~~M)<0?(M+=C)<0&&(M=0):M>C&&(M=C),M<$&&(M=$);const W=this.subarray($,M);return Object.setPrototypeOf(W,q.prototype),W},q.prototype.readUintLE=q.prototype.readUIntLE=function($,M,C){$>>>=0,M>>>=0,C||Q($,M,this.length);let W=this[$],z=1,H=0;for(;++H<M&&(z*=256);)W+=this[$+H]*z;return W},q.prototype.readUintBE=q.prototype.readUIntBE=function($,M,C){$>>>=0,M>>>=0,C||Q($,M,this.length);let W=this[$+--M],z=1;for(;M>0&&(z*=256);)W+=this[$+--M]*z;return W},q.prototype.readUint8=q.prototype.readUInt8=function($,M){return $>>>=0,M||Q($,1,this.length),this[$]},q.prototype.readUint16LE=q.prototype.readUInt16LE=function($,M){return $>>>=0,M||Q($,2,this.length),this[$]|this[$+1]<<8},q.prototype.readUint16BE=q.prototype.readUInt16BE=function($,M){return $>>>=0,M||Q($,2,this.length),this[$]<<8|this[$+1]},q.prototype.readUint32LE=q.prototype.readUInt32LE=function($,M){return $>>>=0,M||Q($,4,this.length),(this[$]|this[$+1]<<8|this[$+2]<<16)+16777216*this[$+3]},q.prototype.readUint32BE=q.prototype.readUInt32BE=function($,M){return $>>>=0,M||Q($,4,this.length),16777216*this[$]+(this[$+1]<<16|this[$+2]<<8|this[$+3])},q.prototype.readBigUInt64LE=be((function($){fe($>>>=0,"offset");const M=this[$],C=this[$+7];M!==void 0&&C!==void 0||me($,this.length-8);const W=M+256*this[++$]+65536*this[++$]+this[++$]*2**24,z=this[++$]+256*this[++$]+65536*this[++$]+C*2**24;return BigInt(W)+(BigInt(z)<<BigInt(32))})),q.prototype.readBigUInt64BE=be((function($){fe($>>>=0,"offset");const M=this[$],C=this[$+7];M!==void 0&&C!==void 0||me($,this.length-8);const W=M*2**24+65536*this[++$]+256*this[++$]+this[++$],z=this[++$]*2**24+65536*this[++$]+256*this[++$]+C;return(BigInt(W)<<BigInt(32))+BigInt(z)})),q.prototype.readIntLE=function($,M,C){$>>>=0,M>>>=0,C||Q($,M,this.length);let W=this[$],z=1,H=0;for(;++H<M&&(z*=256);)W+=this[$+H]*z;return z*=128,W>=z&&(W-=Math.pow(2,8*M)),W},q.prototype.readIntBE=function($,M,C){$>>>=0,M>>>=0,C||Q($,M,this.length);let W=M,z=1,H=this[$+--W];for(;W>0&&(z*=256);)H+=this[$+--W]*z;return z*=128,H>=z&&(H-=Math.pow(2,8*M)),H},q.prototype.readInt8=function($,M){return $>>>=0,M||Q($,1,this.length),128&this[$]?-1*(255-this[$]+1):this[$]},q.prototype.readInt16LE=function($,M){$>>>=0,M||Q($,2,this.length);const C=this[$]|this[$+1]<<8;return 32768&C?4294901760|C:C},q.prototype.readInt16BE=function($,M){$>>>=0,M||Q($,2,this.length);const C=this[$+1]|this[$]<<8;return 32768&C?4294901760|C:C},q.prototype.readInt32LE=function($,M){return $>>>=0,M||Q($,4,this.length),this[$]|this[$+1]<<8|this[$+2]<<16|this[$+3]<<24},q.prototype.readInt32BE=function($,M){return $>>>=0,M||Q($,4,this.length),this[$]<<24|this[$+1]<<16|this[$+2]<<8|this[$+3]},q.prototype.readBigInt64LE=be((function($){fe($>>>=0,"offset");const M=this[$],C=this[$+7];M!==void 0&&C!==void 0||me($,this.length-8);const W=this[$+4]+256*this[$+5]+65536*this[$+6]+(C<<24);return(BigInt(W)<<BigInt(32))+BigInt(M+256*this[++$]+65536*this[++$]+this[++$]*2**24)})),q.prototype.readBigInt64BE=be((function($){fe($>>>=0,"offset");const M=this[$],C=this[$+7];M!==void 0&&C!==void 0||me($,this.length-8);const W=(M<<24)+65536*this[++$]+256*this[++$]+this[++$];return(BigInt(W)<<BigInt(32))+BigInt(this[++$]*2**24+65536*this[++$]+256*this[++$]+C)})),q.prototype.readFloatLE=function($,M){return $>>>=0,M||Q($,4,this.length),p.read(this,$,!0,23,4)},q.prototype.readFloatBE=function($,M){return $>>>=0,M||Q($,4,this.length),p.read(this,$,!1,23,4)},q.prototype.readDoubleLE=function($,M){return $>>>=0,M||Q($,8,this.length),p.read(this,$,!0,52,8)},q.prototype.readDoubleBE=function($,M){return $>>>=0,M||Q($,8,this.length),p.read(this,$,!1,52,8)},q.prototype.writeUintLE=q.prototype.writeUIntLE=function($,M,C,W){$=+$,M>>>=0,C>>>=0,!W&&Y(this,$,M,C,Math.pow(2,8*C)-1,0);let z=1,H=0;for(this[M]=255&$;++H<C&&(z*=256);)this[M+H]=$/z&255;return M+C},q.prototype.writeUintBE=q.prototype.writeUIntBE=function($,M,C,W){$=+$,M>>>=0,C>>>=0,!W&&Y(this,$,M,C,Math.pow(2,8*C)-1,0);let z=C-1,H=1;for(this[M+z]=255&$;--z>=0&&(H*=256);)this[M+z]=$/H&255;return M+C},q.prototype.writeUint8=q.prototype.writeUInt8=function($,M,C){return $=+$,M>>>=0,C||Y(this,$,M,1,255,0),this[M]=255&$,M+1},q.prototype.writeUint16LE=q.prototype.writeUInt16LE=function($,M,C){return $=+$,M>>>=0,C||Y(this,$,M,2,65535,0),this[M]=255&$,this[M+1]=$>>>8,M+2},q.prototype.writeUint16BE=q.prototype.writeUInt16BE=function($,M,C){return $=+$,M>>>=0,C||Y(this,$,M,2,65535,0),this[M]=$>>>8,this[M+1]=255&$,M+2},q.prototype.writeUint32LE=q.prototype.writeUInt32LE=function($,M,C){return $=+$,M>>>=0,C||Y(this,$,M,4,4294967295,0),this[M+3]=$>>>24,this[M+2]=$>>>16,this[M+1]=$>>>8,this[M]=255&$,M+4},q.prototype.writeUint32BE=q.prototype.writeUInt32BE=function($,M,C){return $=+$,M>>>=0,C||Y(this,$,M,4,4294967295,0),this[M]=$>>>24,this[M+1]=$>>>16,this[M+2]=$>>>8,this[M+3]=255&$,M+4},q.prototype.writeBigUInt64LE=be((function($,M=0){return J(this,$,M,BigInt(0),BigInt("0xffffffffffffffff"))})),q.prototype.writeBigUInt64BE=be((function($,M=0){return oe(this,$,M,BigInt(0),BigInt("0xffffffffffffffff"))})),q.prototype.writeIntLE=function($,M,C,W){if($=+$,M>>>=0,!W){const re=Math.pow(2,8*C-1);Y(this,$,M,C,re-1,-re)}let z=0,H=1,X=0;for(this[M]=255&$;++z<C&&(H*=256);)$<0&&X===0&&this[M+z-1]!==0&&(X=1),this[M+z]=($/H|0)-X&255;return M+C},q.prototype.writeIntBE=function($,M,C,W){if($=+$,M>>>=0,!W){const re=Math.pow(2,8*C-1);Y(this,$,M,C,re-1,-re)}let z=C-1,H=1,X=0;for(this[M+z]=255&$;--z>=0&&(H*=256);)$<0&&X===0&&this[M+z+1]!==0&&(X=1),this[M+z]=($/H|0)-X&255;return M+C},q.prototype.writeInt8=function($,M,C){return $=+$,M>>>=0,C||Y(this,$,M,1,127,-128),$<0&&($=255+$+1),this[M]=255&$,M+1},q.prototype.writeInt16LE=function($,M,C){return $=+$,M>>>=0,C||Y(this,$,M,2,32767,-32768),this[M]=255&$,this[M+1]=$>>>8,M+2},q.prototype.writeInt16BE=function($,M,C){return $=+$,M>>>=0,C||Y(this,$,M,2,32767,-32768),this[M]=$>>>8,this[M+1]=255&$,M+2},q.prototype.writeInt32LE=function($,M,C){return $=+$,M>>>=0,C||Y(this,$,M,4,2147483647,-2147483648),this[M]=255&$,this[M+1]=$>>>8,this[M+2]=$>>>16,this[M+3]=$>>>24,M+4},q.prototype.writeInt32BE=function($,M,C){return $=+$,M>>>=0,C||Y(this,$,M,4,2147483647,-2147483648),$<0&&($=4294967295+$+1),this[M]=$>>>24,this[M+1]=$>>>16,this[M+2]=$>>>8,this[M+3]=255&$,M+4},q.prototype.writeBigInt64LE=be((function($,M=0){return J(this,$,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),q.prototype.writeBigInt64BE=be((function($,M=0){return oe(this,$,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),q.prototype.writeFloatLE=function($,M,C){return ne(this,$,M,!0,C)},q.prototype.writeFloatBE=function($,M,C){return ne(this,$,M,!1,C)},q.prototype.writeDoubleLE=function($,M,C){return _e(this,$,M,!0,C)},q.prototype.writeDoubleBE=function($,M,C){return _e(this,$,M,!1,C)},q.prototype.copy=function($,M,C,W){if(!q.isBuffer($))throw new TypeError("argument should be a Buffer");if(C||(C=0),W||W===0||(W=this.length),M>=$.length&&(M=$.length),M||(M=0),W>0&&W<C&&(W=C),W===C||$.length===0||this.length===0)return 0;if(M<0)throw new RangeError("targetStart out of bounds");if(C<0||C>=this.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("sourceEnd out of bounds");W>this.length&&(W=this.length),$.length-M<W-C&&(W=$.length-M+C);const z=W-C;return this===$&&typeof g.prototype.copyWithin=="function"?this.copyWithin(M,C,W):g.prototype.set.call($,this.subarray(C,W),M),z},q.prototype.fill=function($,M,C,W){if(typeof $=="string"){if(typeof M=="string"?(W=M,M=0,C=this.length):typeof C=="string"&&(W=C,C=this.length),W!==void 0&&typeof W!="string")throw new TypeError("encoding must be a string");if(typeof W=="string"&&!q.isEncoding(W))throw new TypeError("Unknown encoding: "+W);if($.length===1){const H=$.charCodeAt(0);(W==="utf8"&&H<128||W==="latin1")&&($=H)}}else typeof $=="number"?$&=255:typeof $=="boolean"&&($=Number($));if(M<0||this.length<M||this.length<C)throw new RangeError("Out of range index");if(C<=M)return this;let z;if(M>>>=0,C=C===void 0?this.length:C>>>0,$||($=0),typeof $=="number")for(z=M;z<C;++z)this[z]=$;else{const H=q.isBuffer($)?$:q.from($,W),X=H.length;if(X===0)throw new TypeError('The value "'+$+'" is invalid for argument "value"');for(z=0;z<C-M;++z)this[z+M]=H[z%X]}return this};const te={};function ie($,M,C){te[$]=class extends C{constructor(){super(),Object.defineProperty(this,"message",{value:M.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${$}]`,this.stack,delete this.name}get code(){return $}set code(W){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:W,writable:!0})}toString(){return`${this.name} [${$}]: ${this.message}`}}}function ye($){let M="",C=$.length;const W=$[0]==="-"?1:0;for(;C>=W+4;C-=3)M=`_${$.slice(C-3,C)}${M}`;return`${$.slice(0,C)}${M}`}function ue($,M,C,W,z,H){if($>C||$<M){const X=typeof M=="bigint"?"n":"";let re;throw re=M===0||M===BigInt(0)?`>= 0${X} and < 2${X} ** ${8*(H+1)}${X}`:`>= -(2${X} ** ${8*(H+1)-1}${X}) and < 2 ** ${8*(H+1)-1}${X}`,new te.ERR_OUT_OF_RANGE("value",re,$)}(function(X,re,pe){fe(re,"offset"),X[re]!==void 0&&X[re+pe]!==void 0||me(re,X.length-(pe+1))})(W,z,H)}function fe($,M){if(typeof $!="number")throw new te.ERR_INVALID_ARG_TYPE(M,"number",$)}function me($,M,C){throw Math.floor($)!==$?(fe($,C),new te.ERR_OUT_OF_RANGE("offset","an integer",$)):M<0?new te.ERR_BUFFER_OUT_OF_BOUNDS:new te.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${M}`,$)}ie("ERR_BUFFER_OUT_OF_BOUNDS",(function($){return $?`${$} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),ie("ERR_INVALID_ARG_TYPE",(function($,M){return`The "${$}" argument must be of type number. Received type ${typeof M}`}),TypeError),ie("ERR_OUT_OF_RANGE",(function($,M,C){let W=`The value of "${$}" is out of range.`,z=C;return Number.isInteger(C)&&Math.abs(C)>2**32?z=ye(String(C)):typeof C=="bigint"&&(z=String(C),(C>BigInt(2)**BigInt(32)||C<-(BigInt(2)**BigInt(32)))&&(z=ye(z)),z+="n"),W+=` It must be ${M}. Received ${z}`,W}),RangeError);const le=/[^+/0-9A-Za-z-_]/g;function he($,M){let C;M=M||1/0;const W=$.length;let z=null;const H=[];for(let X=0;X<W;++X){if(C=$.charCodeAt(X),C>55295&&C<57344){if(!z){if(C>56319){(M-=3)>-1&&H.push(239,191,189);continue}if(X+1===W){(M-=3)>-1&&H.push(239,191,189);continue}z=C;continue}if(C<56320){(M-=3)>-1&&H.push(239,191,189),z=C;continue}C=65536+(z-55296<<10|C-56320)}else z&&(M-=3)>-1&&H.push(239,191,189);if(z=null,C<128){if((M-=1)<0)break;H.push(C)}else if(C<2048){if((M-=2)<0)break;H.push(C>>6|192,63&C|128)}else if(C<65536){if((M-=3)<0)break;H.push(C>>12|224,C>>6&63|128,63&C|128)}else{if(!(C<1114112))throw new Error("Invalid code point");if((M-=4)<0)break;H.push(C>>18|240,C>>12&63|128,C>>6&63|128,63&C|128)}}return H}function Ee($){return h.toByteArray((function(M){if((M=(M=M.split("=")[0]).trim().replace(le,"")).length<2)return"";for(;M.length%4!=0;)M+="=";return M})($))}function ge($,M,C,W){let z;for(z=0;z<W&&!(z+C>=M.length||z>=$.length);++z)M[z+C]=$[z];return z}function de($,M){return $ instanceof M||$!=null&&$.constructor!=null&&$.constructor.name!=null&&$.constructor.name===M.name}function Oe($){return $!=$}const ve=(function(){const $="0123456789abcdef",M=new Array(256);for(let C=0;C<16;++C){const W=16*C;for(let z=0;z<16;++z)M[W+z]=$[C]+$[z]}return M})();function be($){return typeof BigInt>"u"?Te:$}function Te(){throw new Error("BigInt not supported")}})(r);const f=r.Buffer;e.Blob=r.Blob,e.BlobOptions=r.BlobOptions,e.Buffer=r.Buffer,e.File=r.File,e.FileOptions=r.FileOptions,e.INSPECT_MAX_BYTES=r.INSPECT_MAX_BYTES,e.SlowBuffer=r.SlowBuffer,e.TranscodeEncoding=r.TranscodeEncoding,e.atob=r.atob,e.btoa=r.btoa,e.constants=r.constants,e.default=f,e.isAscii=r.isAscii,e.isUtf8=r.isUtf8,e.kMaxLength=r.kMaxLength,e.kStringMaxLength=r.kStringMaxLength,e.resolveObjectURL=r.resolveObjectURL,e.transcode=r.transcode})(dist)),dist}function requireSafeBuffer$1(){return hasRequiredSafeBuffer$1||(hasRequiredSafeBuffer$1=1,(function(e,r){var u=requireDist(),t=u.Buffer;function o(c,a){for(var n in c)a[n]=c[n]}function l(c,a,n){return t(c,a,n)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?e.exports=u:(o(u,r),r.Buffer=l),l.prototype=Object.create(t.prototype),o(t,l),l.from=function(c,a,n){if(typeof c=="number")throw new TypeError("Argument must not be a number");return t(c,a,n)},l.alloc=function(c,a,n){if(typeof c!="number")throw new TypeError("Argument must be a number");var i=t(c);return a!==void 0?typeof n=="string"?i.fill(a,n):i.fill(a):i.fill(0),i},l.allocUnsafe=function(c){if(typeof c!="number")throw new TypeError("Argument must be a number");return t(c)},l.allocUnsafeSlow=function(c){if(typeof c!="number")throw new TypeError("Argument must be a number");return u.SlowBuffer(c)}})(safeBuffer$1,safeBuffer$1.exports)),safeBuffer$1.exports}function requireBrowser$c(){if(hasRequiredBrowser$c)return browser$c.exports;hasRequiredBrowser$c=1;var e=65536,r=4294967295,u=requireSafeBuffer$1().Buffer,t=commonjsGlobal.crypto||commonjsGlobal.msCrypto;return t&&t.getRandomValues?browser$c.exports=function(o,l){if(o>r)throw new RangeError("requested too many random bytes");var c=u.allocUnsafe(o);if(o>0)if(o>e)for(var a=0;a<o;a+=e)t.getRandomValues(c.slice(a,a+e));else t.getRandomValues(c);return typeof l=="function"?process$1.nextTick((function(){l(null,c)})):c}:browser$c.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
|
|
21
|
+
Use Chrome, Firefox or Internet Explorer 11`)},browser$c.exports}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(e,r){if(r){e.super_=r;var u=function(){};u.prototype=r.prototype,e.prototype=new u,e.prototype.constructor=e}}),inherits_browser.exports}var events={exports:{}},hasRequiredEvents,streamBrowser$1,hasRequiredStreamBrowser$1;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var e,r=typeof Reflect=="object"?Reflect:null,u=r&&typeof r.apply=="function"?r.apply:function(b,y,g){return Function.prototype.apply.call(b,y,g)};e=r&&typeof r.ownKeys=="function"?r.ownKeys:Object.getOwnPropertySymbols?function(b){return Object.getOwnPropertyNames(b).concat(Object.getOwnPropertySymbols(b))}:function(b){return Object.getOwnPropertyNames(b)};var t=Number.isNaN||function(b){return b!=b};function o(){o.init.call(this)}events.exports=o,events.exports.once=function(b,y){return new Promise((function(g,R){function S(q){b.removeListener(y,w),R(q)}function w(){typeof b.removeListener=="function"&&b.removeListener("error",S),g([].slice.call(arguments))}p(b,y,w,{once:!0}),y!=="error"&&(function(q,I,P){typeof q.on=="function"&&p(q,"error",I,P)})(b,S,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var l=10;function c(b){if(typeof b!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof b)}function a(b){return b._maxListeners===void 0?o.defaultMaxListeners:b._maxListeners}function n(b,y,g,R){var S,w,q,I;if(c(g),(w=b._events)===void 0?(w=b._events=Object.create(null),b._eventsCount=0):(w.newListener!==void 0&&(b.emit("newListener",y,g.listener?g.listener:g),w=b._events),q=w[y]),q===void 0)q=w[y]=g,++b._eventsCount;else if(typeof q=="function"?q=w[y]=R?[g,q]:[q,g]:R?q.unshift(g):q.push(g),(S=a(b))>0&&q.length>S&&!q.warned){q.warned=!0;var P=new Error("Possible EventEmitter memory leak detected. "+q.length+" "+String(y)+" listeners added. Use emitter.setMaxListeners() to increase limit");P.name="MaxListenersExceededWarning",P.emitter=b,P.type=y,P.count=q.length,I=P,console&&console.warn&&console.warn(I)}return b}function i(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function s(b,y,g){var R={fired:!1,wrapFn:void 0,target:b,type:y,listener:g},S=i.bind(R);return S.listener=g,R.wrapFn=S,S}function f(b,y,g){var R=b._events;if(R===void 0)return[];var S=R[y];return S===void 0?[]:typeof S=="function"?g?[S.listener||S]:[S]:g?(function(w){for(var q=new Array(w.length),I=0;I<q.length;++I)q[I]=w[I].listener||w[I];return q})(S):h(S,S.length)}function d(b){var y=this._events;if(y!==void 0){var g=y[b];if(typeof g=="function")return 1;if(g!==void 0)return g.length}return 0}function h(b,y){for(var g=new Array(y),R=0;R<y;++R)g[R]=b[R];return g}function p(b,y,g,R){if(typeof b.on=="function")R.once?b.once(y,g):b.on(y,g);else{if(typeof b.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof b);b.addEventListener(y,(function S(w){R.once&&b.removeEventListener(y,S),g(w)}))}}return Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(b){if(typeof b!="number"||b<0||t(b))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+b+".");l=b}}),o.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(b){if(typeof b!="number"||b<0||t(b))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+b+".");return this._maxListeners=b,this},o.prototype.getMaxListeners=function(){return a(this)},o.prototype.emit=function(b){for(var y=[],g=1;g<arguments.length;g++)y.push(arguments[g]);var R=b==="error",S=this._events;if(S!==void 0)R=R&&S.error===void 0;else if(!R)return!1;if(R){var w;if(y.length>0&&(w=y[0]),w instanceof Error)throw w;var q=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw q.context=w,q}var I=S[b];if(I===void 0)return!1;if(typeof I=="function")u(I,this,y);else{var P=I.length,O=h(I,P);for(g=0;g<P;++g)u(O[g],this,y)}return!0},o.prototype.addListener=function(b,y){return n(this,b,y,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(b,y){return n(this,b,y,!0)},o.prototype.once=function(b,y){return c(y),this.on(b,s(this,b,y)),this},o.prototype.prependOnceListener=function(b,y){return c(y),this.prependListener(b,s(this,b,y)),this},o.prototype.removeListener=function(b,y){var g,R,S,w,q;if(c(y),(R=this._events)===void 0)return this;if((g=R[b])===void 0)return this;if(g===y||g.listener===y)--this._eventsCount==0?this._events=Object.create(null):(delete R[b],R.removeListener&&this.emit("removeListener",b,g.listener||y));else if(typeof g!="function"){for(S=-1,w=g.length-1;w>=0;w--)if(g[w]===y||g[w].listener===y){q=g[w].listener,S=w;break}if(S<0)return this;S===0?g.shift():(function(I,P){for(;P+1<I.length;P++)I[P]=I[P+1];I.pop()})(g,S),g.length===1&&(R[b]=g[0]),R.removeListener!==void 0&&this.emit("removeListener",b,q||y)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(b){var y,g,R;if((g=this._events)===void 0)return this;if(g.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):g[b]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete g[b]),this;if(arguments.length===0){var S,w=Object.keys(g);for(R=0;R<w.length;++R)(S=w[R])!=="removeListener"&&this.removeAllListeners(S);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(y=g[b])=="function")this.removeListener(b,y);else if(y!==void 0)for(R=y.length-1;R>=0;R--)this.removeListener(b,y[R]);return this},o.prototype.listeners=function(b){return f(this,b,!0)},o.prototype.rawListeners=function(b){return f(this,b,!1)},o.listenerCount=function(b,y){return typeof b.listenerCount=="function"?b.listenerCount(y):d.call(b,y)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]},events.exports}function requireStreamBrowser$1(){return hasRequiredStreamBrowser$1?streamBrowser$1:(hasRequiredStreamBrowser$1=1,streamBrowser$1=requireEvents().EventEmitter)}var util$1={},types={},shams$2,hasRequiredShams$2,shams$1,hasRequiredShams$1,esObjectAtoms,hasRequiredEsObjectAtoms,esErrors,hasRequiredEsErrors,_eval,hasRequired_eval,range,hasRequiredRange,ref,hasRequiredRef,syntax,hasRequiredSyntax,type,hasRequiredType,uri,hasRequiredUri,abs,hasRequiredAbs,floor,hasRequiredFloor,max,hasRequiredMax,min,hasRequiredMin,pow,hasRequiredPow,round,hasRequiredRound,_isNaN,hasRequired_isNaN,sign$1,hasRequiredSign$1,gOPD,hasRequiredGOPD,gopd,hasRequiredGopd,esDefineProperty,hasRequiredEsDefineProperty,hasSymbols,hasRequiredHasSymbols,Reflect_getPrototypeOf,hasRequiredReflect_getPrototypeOf,Object_getPrototypeOf,hasRequiredObject_getPrototypeOf,implementation,hasRequiredImplementation,functionBind,hasRequiredFunctionBind,functionCall,hasRequiredFunctionCall,functionApply,hasRequiredFunctionApply,reflectApply,hasRequiredReflectApply,actualApply,hasRequiredActualApply,callBindApplyHelpers,hasRequiredCallBindApplyHelpers,get,hasRequiredGet,getProto,hasRequiredGetProto,hasown,hasRequiredHasown,getIntrinsic,hasRequiredGetIntrinsic;function requireShams$2(){return hasRequiredShams$2?shams$2:(hasRequiredShams$2=1,shams$2=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),u=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(u)!=="[object Symbol]")return!1;for(var t in e[r]=42,e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,r);if(l.value!==42||l.enumerable!==!0)return!1}return!0})}function requireShams$1(){if(hasRequiredShams$1)return shams$1;hasRequiredShams$1=1;var e=requireShams$2();return shams$1=function(){return e()&&!!Symbol.toStringTag}}function requireEsObjectAtoms(){return hasRequiredEsObjectAtoms?esObjectAtoms:(hasRequiredEsObjectAtoms=1,esObjectAtoms=Object)}function requireEsErrors(){return hasRequiredEsErrors?esErrors:(hasRequiredEsErrors=1,esErrors=Error)}function require_eval(){return hasRequired_eval?_eval:(hasRequired_eval=1,_eval=EvalError)}function requireRange(){return hasRequiredRange?range:(hasRequiredRange=1,range=RangeError)}function requireRef(){return hasRequiredRef?ref:(hasRequiredRef=1,ref=ReferenceError)}function requireSyntax(){return hasRequiredSyntax?syntax:(hasRequiredSyntax=1,syntax=SyntaxError)}function requireType(){return hasRequiredType?type:(hasRequiredType=1,type=TypeError)}function requireUri(){return hasRequiredUri?uri:(hasRequiredUri=1,uri=URIError)}function requireAbs(){return hasRequiredAbs?abs:(hasRequiredAbs=1,abs=Math.abs)}function requireFloor(){return hasRequiredFloor?floor:(hasRequiredFloor=1,floor=Math.floor)}function requireMax(){return hasRequiredMax?max:(hasRequiredMax=1,max=Math.max)}function requireMin(){return hasRequiredMin?min:(hasRequiredMin=1,min=Math.min)}function requirePow(){return hasRequiredPow?pow:(hasRequiredPow=1,pow=Math.pow)}function requireRound(){return hasRequiredRound?round:(hasRequiredRound=1,round=Math.round)}function require_isNaN(){return hasRequired_isNaN?_isNaN:(hasRequired_isNaN=1,_isNaN=Number.isNaN||function(e){return e!=e})}function requireSign$1(){if(hasRequiredSign$1)return sign$1;hasRequiredSign$1=1;var e=require_isNaN();return sign$1=function(r){return e(r)||r===0?r:r<0?-1:1},sign$1}function requireGOPD(){return hasRequiredGOPD?gOPD:(hasRequiredGOPD=1,gOPD=Object.getOwnPropertyDescriptor)}function requireGopd(){if(hasRequiredGopd)return gopd;hasRequiredGopd=1;var e=requireGOPD();if(e)try{e([],"length")}catch{e=null}return gopd=e}function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return esDefineProperty=e}function requireHasSymbols(){if(hasRequiredHasSymbols)return hasSymbols;hasRequiredHasSymbols=1;var e=typeof Symbol<"u"&&Symbol,r=requireShams$2();return hasSymbols=function(){return typeof e=="function"&&typeof Symbol=="function"&&typeof e("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&r()}}function requireReflect_getPrototypeOf(){return hasRequiredReflect_getPrototypeOf?Reflect_getPrototypeOf:(hasRequiredReflect_getPrototypeOf=1,Reflect_getPrototypeOf=typeof Reflect<"u"&&Reflect.getPrototypeOf||null)}function requireObject_getPrototypeOf(){return hasRequiredObject_getPrototypeOf?Object_getPrototypeOf:(hasRequiredObject_getPrototypeOf=1,Object_getPrototypeOf=requireEsObjectAtoms().getPrototypeOf||null)}function requireImplementation(){if(hasRequiredImplementation)return implementation;hasRequiredImplementation=1;var e=Object.prototype.toString,r=Math.max,u=function(t,o){for(var l=[],c=0;c<t.length;c+=1)l[c]=t[c];for(var a=0;a<o.length;a+=1)l[a+t.length]=o[a];return l};return implementation=function(t){var o=this;if(typeof o!="function"||e.apply(o)!=="[object Function]")throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var l,c=(function(f,d){for(var h=[],p=d,b=0;p<f.length;p+=1,b+=1)h[b]=f[p];return h})(arguments,1),a=r(0,o.length-c.length),n=[],i=0;i<a;i++)n[i]="$"+i;if(l=Function("binder","return function ("+(function(f,d){for(var h="",p=0;p<f.length;p+=1)h+=f[p],p+1<f.length&&(h+=d);return h})(n,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof l){var f=o.apply(this,u(c,arguments));return Object(f)===f?f:this}return o.apply(t,u(c,arguments))})),o.prototype){var s=function(){};s.prototype=o.prototype,l.prototype=new s,s.prototype=null}return l},implementation}function requireFunctionBind(){if(hasRequiredFunctionBind)return functionBind;hasRequiredFunctionBind=1;var e=requireImplementation();return functionBind=Function.prototype.bind||e}function requireFunctionCall(){return hasRequiredFunctionCall?functionCall:(hasRequiredFunctionCall=1,functionCall=Function.prototype.call)}function requireFunctionApply(){return hasRequiredFunctionApply?functionApply:(hasRequiredFunctionApply=1,functionApply=Function.prototype.apply)}function requireReflectApply(){return hasRequiredReflectApply?reflectApply:(hasRequiredReflectApply=1,reflectApply=typeof Reflect<"u"&&Reflect&&Reflect.apply)}function requireActualApply(){if(hasRequiredActualApply)return actualApply;hasRequiredActualApply=1;var e=requireFunctionBind(),r=requireFunctionApply(),u=requireFunctionCall(),t=requireReflectApply();return actualApply=t||e.call(u,r)}function requireCallBindApplyHelpers(){if(hasRequiredCallBindApplyHelpers)return callBindApplyHelpers;hasRequiredCallBindApplyHelpers=1;var e=requireFunctionBind(),r=requireType(),u=requireFunctionCall(),t=requireActualApply();return callBindApplyHelpers=function(o){if(o.length<1||typeof o[0]!="function")throw new r("a function is required");return t(e,u,o)}}function requireGet(){if(hasRequiredGet)return get;hasRequiredGet=1;var e,r=requireCallBindApplyHelpers(),u=requireGopd();try{e=[].__proto__===Array.prototype}catch(c){if(!c||typeof c!="object"||!("code"in c)||c.code!=="ERR_PROTO_ACCESS")throw c}var t=!!e&&u&&u(Object.prototype,"__proto__"),o=Object,l=o.getPrototypeOf;return get=t&&typeof t.get=="function"?r([t.get]):typeof l=="function"&&function(c){return l(c==null?c:o(c))}}function requireGetProto(){if(hasRequiredGetProto)return getProto;hasRequiredGetProto=1;var e=requireReflect_getPrototypeOf(),r=requireObject_getPrototypeOf(),u=requireGet();return getProto=e?function(t){return e(t)}:r?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return r(t)}:u?function(t){return u(t)}:null}function requireHasown(){if(hasRequiredHasown)return hasown;hasRequiredHasown=1;var e=Function.prototype.call,r=Object.prototype.hasOwnProperty,u=requireFunctionBind();return hasown=u.call(e,r)}function requireGetIntrinsic(){if(hasRequiredGetIntrinsic)return getIntrinsic;var e;hasRequiredGetIntrinsic=1;var r=requireEsObjectAtoms(),u=requireEsErrors(),t=require_eval(),o=requireRange(),l=requireRef(),c=requireSyntax(),a=requireType(),n=requireUri(),i=requireAbs(),s=requireFloor(),f=requireMax(),d=requireMin(),h=requirePow(),p=requireRound(),b=requireSign$1(),y=Function,g=function(V){try{return y('"use strict"; return ('+V+").constructor;")()}catch{}},R=requireGopd(),S=requireEsDefineProperty(),w=function(){throw new a},q=R?(function(){try{return w}catch{try{return R(arguments,"callee").get}catch{return w}}})():w,I=requireHasSymbols()(),P=requireGetProto(),O=requireObject_getPrototypeOf(),N=requireReflect_getPrototypeOf(),_=requireFunctionApply(),E=requireFunctionCall(),B={},A=typeof Uint8Array<"u"&&P?P(Uint8Array):e,v={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":I&&P?P([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":u,"%eval%":eval,"%EvalError%":t,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":I&&P?P(P([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map<"u"&&I&&P?P(new Map()[Symbol.iterator]()):e,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":R,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":o,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set<"u"&&I&&P?P(new Set()[Symbol.iterator]()):e,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":I&&P?P(""[Symbol.iterator]()):e,"%Symbol%":I?Symbol:e,"%SyntaxError%":c,"%ThrowTypeError%":q,"%TypedArray%":A,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":n,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":E,"%Function.prototype.apply%":_,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":O,"%Math.abs%":i,"%Math.floor%":s,"%Math.max%":f,"%Math.min%":d,"%Math.pow%":h,"%Math.round%":p,"%Math.sign%":b,"%Reflect.getPrototypeOf%":N};if(P)try{null.error}catch(V){var m=P(P(V));v["%Error.prototype%"]=m}var k=function V(Q){var Y;if(Q==="%AsyncFunction%")Y=g("async function () {}");else if(Q==="%GeneratorFunction%")Y=g("function* () {}");else if(Q==="%AsyncGeneratorFunction%")Y=g("async function* () {}");else if(Q==="%AsyncGenerator%"){var J=V("%AsyncGeneratorFunction%");J&&(Y=J.prototype)}else if(Q==="%AsyncIteratorPrototype%"){var oe=V("%AsyncGenerator%");oe&&P&&(Y=P(oe.prototype))}return v[Q]=Y,Y},L={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},F=requireFunctionBind(),j=requireHasown(),U=F.call(E,Array.prototype.concat),D=F.call(_,Array.prototype.splice),x=F.call(E,String.prototype.replace),T=F.call(E,String.prototype.slice),G=F.call(E,RegExp.prototype.exec),K=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ee=/\\(\\)?/g,Z=function(V,Q){var Y,J=V;if(j(L,J)&&(J="%"+(Y=L[J])[0]+"%"),j(v,J)){var oe=v[J];if(oe===B&&(oe=k(J)),oe===void 0&&!Q)throw new a("intrinsic "+V+" exists, but is not available. Please file an issue!");return{alias:Y,name:J,value:oe}}throw new c("intrinsic "+V+" does not exist!")};return getIntrinsic=function(V,Q){if(typeof V!="string"||V.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Q!="boolean")throw new a('"allowMissing" argument must be a boolean');if(G(/^%?[^%]*%?$/,V)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Y=(function(he){var Ee=T(he,0,1),ge=T(he,-1);if(Ee==="%"&&ge!=="%")throw new c("invalid intrinsic syntax, expected closing `%`");if(ge==="%"&&Ee!=="%")throw new c("invalid intrinsic syntax, expected opening `%`");var de=[];return x(he,K,(function(Oe,ve,be,Te){de[de.length]=be?x(Te,ee,"$1"):ve||Oe})),de})(V),J=Y.length>0?Y[0]:"",oe=Z("%"+J+"%",Q),se=oe.name,ne=oe.value,_e=!1,te=oe.alias;te&&(J=te[0],D(Y,U([0,1],te)));for(var ie=1,ye=!0;ie<Y.length;ie+=1){var ue=Y[ie],fe=T(ue,0,1),me=T(ue,-1);if((fe==='"'||fe==="'"||fe==="`"||me==='"'||me==="'"||me==="`")&&fe!==me)throw new c("property names with quotes must have matching quotes");if(ue!=="constructor"&&ye||(_e=!0),j(v,se="%"+(J+="."+ue)+"%"))ne=v[se];else if(ne!=null){if(!(ue in ne)){if(!Q)throw new a("base intrinsic for "+V+" exists, but the property is not available.");return}if(R&&ie+1>=Y.length){var le=R(ne,ue);ne=(ye=!!le)&&"get"in le&&!("originalValue"in le.get)?le.get:ne[ue]}else ye=j(ne,ue),ne=ne[ue];ye&&!_e&&(v[se]=ne)}}return ne},getIntrinsic}var callBind$1={exports:{}},hasRequiredCallBind$1,callBound$1,hasRequiredCallBound$1,isArguments,hasRequiredIsArguments,isGeneratorFunction,hasRequiredIsGeneratorFunction,isCallable,hasRequiredIsCallable,forEach_1,hasRequiredForEach$1,availableTypedArrays$1,hasRequiredAvailableTypedArrays$1,isTypedArray$1,hasRequiredIsTypedArray$1,whichTypedArray$1,hasRequiredWhichTypedArray$1,hasRequiredTypes,isBufferBrowser,hasRequiredIsBufferBrowser,hasRequiredUtil$1,buffer_list,hasRequiredBuffer_list,destroy_1$1,hasRequiredDestroy$1;function requireCallBind$1(){return hasRequiredCallBind$1||(hasRequiredCallBind$1=1,(function(e){var r=requireFunctionBind(),u=requireGetIntrinsic(),t=u("%Function.prototype.apply%"),o=u("%Function.prototype.call%"),l=u("%Reflect.apply%",!0)||r.call(o,t),c=u("%Object.getOwnPropertyDescriptor%",!0),a=u("%Object.defineProperty%",!0),n=u("%Math.max%");if(a)try{a({},"a",{value:1})}catch{a=null}e.exports=function(s){var f=l(r,o,arguments);return c&&a&&c(f,"length").configurable&&a(f,"length",{value:1+n(0,s.length-(arguments.length-1))}),f};var i=function(){return l(r,t,arguments)};a?a(e.exports,"apply",{value:i}):e.exports.apply=i})(callBind$1)),callBind$1.exports}function requireCallBound$1(){if(hasRequiredCallBound$1)return callBound$1;hasRequiredCallBound$1=1;var e=requireGetIntrinsic(),r=requireCallBind$1(),u=r(e("String.prototype.indexOf"));return callBound$1=function(t,o){var l=e(t,!!o);return typeof l=="function"&&u(t,".prototype.")>-1?r(l):l}}function requireIsArguments(){if(hasRequiredIsArguments)return isArguments;hasRequiredIsArguments=1;var e=requireShams$1()(),r=requireCallBound$1()("Object.prototype.toString"),u=function(l){return!(e&&l&&typeof l=="object"&&Symbol.toStringTag in l)&&r(l)==="[object Arguments]"},t=function(l){return!!u(l)||l!==null&&typeof l=="object"&&typeof l.length=="number"&&l.length>=0&&r(l)!=="[object Array]"&&r(l.callee)==="[object Function]"},o=(function(){return u(arguments)})();return u.isLegacyArguments=t,isArguments=o?u:t}function requireIsGeneratorFunction(){if(hasRequiredIsGeneratorFunction)return isGeneratorFunction;hasRequiredIsGeneratorFunction=1;var e,r=Object.prototype.toString,u=Function.prototype.toString,t=/^\s*(?:function)?\*/,o=requireShams$1()(),l=Object.getPrototypeOf;return isGeneratorFunction=function(c){if(typeof c!="function")return!1;if(t.test(u.call(c)))return!0;if(!o)return r.call(c)==="[object GeneratorFunction]";if(!l)return!1;if(e===void 0){var a=(function(){if(!o)return!1;try{return Function("return function*() {}")()}catch{}})();e=!!a&&l(a)}return l(c)===e}}function requireIsCallable(){if(hasRequiredIsCallable)return isCallable;hasRequiredIsCallable=1;var e,r,u=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},t((function(){throw 42}),null,e)}catch(d){d!==r&&(t=null)}else t=null;var o=/^\s*class\b/,l=function(d){try{var h=u.call(d);return o.test(h)}catch{return!1}},c=function(d){try{return!l(d)&&(u.call(d),!0)}catch{return!1}},a=Object.prototype.toString,n=typeof Symbol=="function"&&!!Symbol.toStringTag,i=!(0 in[,]),s=function(){return!1};if(typeof document=="object"){var f=document.all;a.call(f)===a.call(document.all)&&(s=function(d){if((i||!d)&&(d===void 0||typeof d=="object"))try{var h=a.call(d);return(h==="[object HTMLAllCollection]"||h==="[object HTML document.all class]"||h==="[object HTMLCollection]"||h==="[object Object]")&&d("")==null}catch{}return!1})}return isCallable=t?function(d){if(s(d))return!0;if(!d||typeof d!="function"&&typeof d!="object")return!1;try{t(d,null,e)}catch(h){if(h!==r)return!1}return!l(d)&&c(d)}:function(d){if(s(d))return!0;if(!d||typeof d!="function"&&typeof d!="object")return!1;if(n)return c(d);if(l(d))return!1;var h=a.call(d);return!(h!=="[object Function]"&&h!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(h))&&c(d)}}function requireForEach$1(){if(hasRequiredForEach$1)return forEach_1;hasRequiredForEach$1=1;var e=requireIsCallable(),r=Object.prototype.toString,u=Object.prototype.hasOwnProperty;return forEach_1=function(t,o,l){if(!e(o))throw new TypeError("iterator must be a function");var c;arguments.length>=3&&(c=l),r.call(t)==="[object Array]"?(function(a,n,i){for(var s=0,f=a.length;s<f;s++)u.call(a,s)&&(i==null?n(a[s],s,a):n.call(i,a[s],s,a))})(t,o,c):typeof t=="string"?(function(a,n,i){for(var s=0,f=a.length;s<f;s++)i==null?n(a.charAt(s),s,a):n.call(i,a.charAt(s),s,a)})(t,o,c):(function(a,n,i){for(var s in a)u.call(a,s)&&(i==null?n(a[s],s,a):n.call(i,a[s],s,a))})(t,o,c)},forEach_1}function requireAvailableTypedArrays$1(){if(hasRequiredAvailableTypedArrays$1)return availableTypedArrays$1;hasRequiredAvailableTypedArrays$1=1;var e=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays$1=function(){for(var u=[],t=0;t<e.length;t++)typeof r[e[t]]=="function"&&(u[u.length]=e[t]);return u}}function requireIsTypedArray$1(){if(hasRequiredIsTypedArray$1)return isTypedArray$1;hasRequiredIsTypedArray$1=1;var e=requireForEach$1(),r=requireAvailableTypedArrays$1(),u=requireCallBound$1(),t=u("Object.prototype.toString"),o=requireShams$1()(),l=requireGopd(),c=typeof globalThis>"u"?commonjsGlobal:globalThis,a=r(),n=u("Array.prototype.indexOf",!0)||function(d,h){for(var p=0;p<d.length;p+=1)if(d[p]===h)return p;return-1},i=u("String.prototype.slice"),s={},f=Object.getPrototypeOf;return o&&l&&f&&e(a,(function(d){var h=new c[d];if(Symbol.toStringTag in h){var p=f(h),b=l(p,Symbol.toStringTag);if(!b){var y=f(p);b=l(y,Symbol.toStringTag)}s[d]=b.get}})),isTypedArray$1=function(d){if(!d||typeof d!="object")return!1;if(!o||!(Symbol.toStringTag in d)){var h=i(t(d),8,-1);return n(a,h)>-1}return!!l&&(function(p){var b=!1;return e(s,(function(y,g){if(!b)try{b=y.call(p)===g}catch{}})),b})(d)}}function requireWhichTypedArray$1(){if(hasRequiredWhichTypedArray$1)return whichTypedArray$1;hasRequiredWhichTypedArray$1=1;var e=requireForEach$1(),r=requireAvailableTypedArrays$1(),u=requireCallBound$1(),t=requireGopd(),o=u("Object.prototype.toString"),l=requireShams$1()(),c=typeof globalThis>"u"?commonjsGlobal:globalThis,a=r(),n=u("String.prototype.slice"),i={},s=Object.getPrototypeOf;l&&t&&s&&e(a,(function(d){if(typeof c[d]=="function"){var h=new c[d];if(Symbol.toStringTag in h){var p=s(h),b=t(p,Symbol.toStringTag);if(!b){var y=s(p);b=t(y,Symbol.toStringTag)}i[d]=b.get}}}));var f=requireIsTypedArray$1();return whichTypedArray$1=function(d){return!!f(d)&&(l&&Symbol.toStringTag in d?(function(h){var p=!1;return e(i,(function(b,y){if(!p)try{var g=b.call(h);g===y&&(p=g)}catch{}})),p})(d):n(o(d),8,-1))}}function requireTypes(){return hasRequiredTypes||(hasRequiredTypes=1,(function(e){var r=requireIsArguments(),u=requireIsGeneratorFunction(),t=requireWhichTypedArray$1(),o=requireIsTypedArray$1();function l(m){return m.call.bind(m)}var c=typeof BigInt<"u",a=typeof Symbol<"u",n=l(Object.prototype.toString),i=l(Number.prototype.valueOf),s=l(String.prototype.valueOf),f=l(Boolean.prototype.valueOf);if(c)var d=l(BigInt.prototype.valueOf);if(a)var h=l(Symbol.prototype.valueOf);function p(m,k){if(typeof m!="object")return!1;try{return k(m),!0}catch{return!1}}function b(m){return n(m)==="[object Map]"}function y(m){return n(m)==="[object Set]"}function g(m){return n(m)==="[object WeakMap]"}function R(m){return n(m)==="[object WeakSet]"}function S(m){return n(m)==="[object ArrayBuffer]"}function w(m){return typeof ArrayBuffer<"u"&&(S.working?S(m):m instanceof ArrayBuffer)}function q(m){return n(m)==="[object DataView]"}function I(m){return typeof DataView<"u"&&(q.working?q(m):m instanceof DataView)}e.isArgumentsObject=r,e.isGeneratorFunction=u,e.isTypedArray=o,e.isPromise=function(m){return typeof Promise<"u"&&m instanceof Promise||m!==null&&typeof m=="object"&&typeof m.then=="function"&&typeof m.catch=="function"},e.isArrayBufferView=function(m){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(m):o(m)||I(m)},e.isUint8Array=function(m){return t(m)==="Uint8Array"},e.isUint8ClampedArray=function(m){return t(m)==="Uint8ClampedArray"},e.isUint16Array=function(m){return t(m)==="Uint16Array"},e.isUint32Array=function(m){return t(m)==="Uint32Array"},e.isInt8Array=function(m){return t(m)==="Int8Array"},e.isInt16Array=function(m){return t(m)==="Int16Array"},e.isInt32Array=function(m){return t(m)==="Int32Array"},e.isFloat32Array=function(m){return t(m)==="Float32Array"},e.isFloat64Array=function(m){return t(m)==="Float64Array"},e.isBigInt64Array=function(m){return t(m)==="BigInt64Array"},e.isBigUint64Array=function(m){return t(m)==="BigUint64Array"},b.working=typeof Map<"u"&&b(new Map),e.isMap=function(m){return typeof Map<"u"&&(b.working?b(m):m instanceof Map)},y.working=typeof Set<"u"&&y(new Set),e.isSet=function(m){return typeof Set<"u"&&(y.working?y(m):m instanceof Set)},g.working=typeof WeakMap<"u"&&g(new WeakMap),e.isWeakMap=function(m){return typeof WeakMap<"u"&&(g.working?g(m):m instanceof WeakMap)},R.working=typeof WeakSet<"u"&&R(new WeakSet),e.isWeakSet=function(m){return R(m)},S.working=typeof ArrayBuffer<"u"&&S(new ArrayBuffer),e.isArrayBuffer=w,q.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&q(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=I;var P=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function O(m){return n(m)==="[object SharedArrayBuffer]"}function N(m){return P!==void 0&&(O.working===void 0&&(O.working=O(new P)),O.working?O(m):m instanceof P)}function _(m){return p(m,i)}function E(m){return p(m,s)}function B(m){return p(m,f)}function A(m){return c&&p(m,d)}function v(m){return a&&p(m,h)}e.isSharedArrayBuffer=N,e.isAsyncFunction=function(m){return n(m)==="[object AsyncFunction]"},e.isMapIterator=function(m){return n(m)==="[object Map Iterator]"},e.isSetIterator=function(m){return n(m)==="[object Set Iterator]"},e.isGeneratorObject=function(m){return n(m)==="[object Generator]"},e.isWebAssemblyCompiledModule=function(m){return n(m)==="[object WebAssembly.Module]"},e.isNumberObject=_,e.isStringObject=E,e.isBooleanObject=B,e.isBigIntObject=A,e.isSymbolObject=v,e.isBoxedPrimitive=function(m){return _(m)||E(m)||B(m)||A(m)||v(m)},e.isAnyArrayBuffer=function(m){return typeof Uint8Array<"u"&&(w(m)||N(m))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(m){Object.defineProperty(e,m,{enumerable:!1,value:function(){throw new Error(m+" is not supported in userland")}})}))})(types)),types}function requireIsBufferBrowser(){return hasRequiredIsBufferBrowser?isBufferBrowser:(hasRequiredIsBufferBrowser=1,isBufferBrowser=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"})}function requireUtil$1(){return hasRequiredUtil$1||(hasRequiredUtil$1=1,(function(e){var r={},u=Object.getOwnPropertyDescriptors||function(v){for(var m=Object.keys(v),k={},L=0;L<m.length;L++)k[m[L]]=Object.getOwnPropertyDescriptor(v,m[L]);return k},t=/%[sdj%]/g;e.format=function(v){if(!g(v)){for(var m=[],k=0;k<arguments.length;k++)m.push(a(arguments[k]));return m.join(" ")}k=1;for(var L=arguments,F=L.length,j=String(v).replace(t,(function(D){if(D==="%%")return"%";if(k>=F)return D;switch(D){case"%s":return String(L[k++]);case"%d":return Number(L[k++]);case"%j":try{return JSON.stringify(L[k++])}catch{return"[Circular]"}default:return D}})),U=L[k];k<F;U=L[++k])b(U)||!w(U)?j+=" "+U:j+=" "+a(U);return j},e.deprecate=function(v,m){if(process$1!==void 0&&process$1.noDeprecation===!0)return v;if(process$1===void 0)return function(){return e.deprecate(v,m).apply(this,arguments)};var k=!1;return function(){if(!k){if(process$1.throwDeprecation)throw new Error(m);process$1.traceDeprecation?console.trace(m):console.error(m),k=!0}return v.apply(this,arguments)}};var o={},l=/^$/;if(r.NODE_DEBUG){var c=r.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),l=new RegExp("^"+c+"$","i")}function a(v,m){var k={seen:[],stylize:i};return arguments.length>=3&&(k.depth=arguments[2]),arguments.length>=4&&(k.colors=arguments[3]),p(m)?k.showHidden=m:m&&e._extend(k,m),R(k.showHidden)&&(k.showHidden=!1),R(k.depth)&&(k.depth=2),R(k.colors)&&(k.colors=!1),R(k.customInspect)&&(k.customInspect=!0),k.colors&&(k.stylize=n),s(k,v,k.depth)}function n(v,m){var k=a.styles[m];return k?"\x1B["+a.colors[k][0]+"m"+v+"\x1B["+a.colors[k][1]+"m":v}function i(v,m){return v}function s(v,m,k){if(v.customInspect&&m&&P(m.inspect)&&m.inspect!==e.inspect&&(!m.constructor||m.constructor.prototype!==m)){var L=m.inspect(k,v);return g(L)||(L=s(v,L,k)),L}var F=(function(ee,Z){if(R(Z))return ee.stylize("undefined","undefined");if(g(Z)){var V="'"+JSON.stringify(Z).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ee.stylize(V,"string")}if(y(Z))return ee.stylize(""+Z,"number");if(p(Z))return ee.stylize(""+Z,"boolean");if(b(Z))return ee.stylize("null","null")})(v,m);if(F)return F;var j=Object.keys(m),U=(function(ee){var Z={};return ee.forEach((function(V,Q){Z[V]=!0})),Z})(j);if(v.showHidden&&(j=Object.getOwnPropertyNames(m)),I(m)&&(j.indexOf("message")>=0||j.indexOf("description")>=0))return f(m);if(j.length===0){if(P(m)){var D=m.name?": "+m.name:"";return v.stylize("[Function"+D+"]","special")}if(S(m))return v.stylize(RegExp.prototype.toString.call(m),"regexp");if(q(m))return v.stylize(Date.prototype.toString.call(m),"date");if(I(m))return f(m)}var x,T="",G=!1,K=["{","}"];return h(m)&&(G=!0,K=["[","]"]),P(m)&&(T=" [Function"+(m.name?": "+m.name:"")+"]"),S(m)&&(T=" "+RegExp.prototype.toString.call(m)),q(m)&&(T=" "+Date.prototype.toUTCString.call(m)),I(m)&&(T=" "+f(m)),j.length!==0||G&&m.length!=0?k<0?S(m)?v.stylize(RegExp.prototype.toString.call(m),"regexp"):v.stylize("[Object]","special"):(v.seen.push(m),x=G?(function(ee,Z,V,Q,Y){for(var J=[],oe=0,se=Z.length;oe<se;++oe)E(Z,String(oe))?J.push(d(ee,Z,V,Q,String(oe),!0)):J.push("");return Y.forEach((function(ne){ne.match(/^\d+$/)||J.push(d(ee,Z,V,Q,ne,!0))})),J})(v,m,k,U,j):j.map((function(ee){return d(v,m,k,U,ee,G)})),v.seen.pop(),(function(ee,Z,V){var Q=ee.reduce((function(Y,J){return J.indexOf(`
|
|
22
|
+
`),Y+J.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return Q>60?V[0]+(Z===""?"":Z+`
|
|
23
|
+
`)+" "+ee.join(`,
|
|
24
|
+
`)+" "+V[1]:V[0]+Z+" "+ee.join(", ")+" "+V[1]})(x,T,K)):K[0]+T+K[1]}function f(v){return"["+Error.prototype.toString.call(v)+"]"}function d(v,m,k,L,F,j){var U,D,x;if((x=Object.getOwnPropertyDescriptor(m,F)||{value:m[F]}).get?D=x.set?v.stylize("[Getter/Setter]","special"):v.stylize("[Getter]","special"):x.set&&(D=v.stylize("[Setter]","special")),E(L,F)||(U="["+F+"]"),D||(v.seen.indexOf(x.value)<0?(D=b(k)?s(v,x.value,null):s(v,x.value,k-1)).indexOf(`
|
|
25
|
+
`)>-1&&(D=j?D.split(`
|
|
26
|
+
`).map((function(T){return" "+T})).join(`
|
|
27
|
+
`).slice(2):`
|
|
28
|
+
`+D.split(`
|
|
29
|
+
`).map((function(T){return" "+T})).join(`
|
|
30
|
+
`)):D=v.stylize("[Circular]","special")),R(U)){if(j&&F.match(/^\d+$/))return D;(U=JSON.stringify(""+F)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(U=U.slice(1,-1),U=v.stylize(U,"name")):(U=U.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),U=v.stylize(U,"string"))}return U+": "+D}function h(v){return Array.isArray(v)}function p(v){return typeof v=="boolean"}function b(v){return v===null}function y(v){return typeof v=="number"}function g(v){return typeof v=="string"}function R(v){return v===void 0}function S(v){return w(v)&&O(v)==="[object RegExp]"}function w(v){return typeof v=="object"&&v!==null}function q(v){return w(v)&&O(v)==="[object Date]"}function I(v){return w(v)&&(O(v)==="[object Error]"||v instanceof Error)}function P(v){return typeof v=="function"}function O(v){return Object.prototype.toString.call(v)}function N(v){return v<10?"0"+v.toString(10):v.toString(10)}e.debuglog=function(v){if(v=v.toUpperCase(),!o[v])if(l.test(v)){var m=process$1.pid;o[v]=function(){var k=e.format.apply(e,arguments);console.error("%s %d: %s",v,m,k)}}else o[v]=function(){};return o[v]},e.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=requireTypes(),e.isArray=h,e.isBoolean=p,e.isNull=b,e.isNullOrUndefined=function(v){return v==null},e.isNumber=y,e.isString=g,e.isSymbol=function(v){return typeof v=="symbol"},e.isUndefined=R,e.isRegExp=S,e.types.isRegExp=S,e.isObject=w,e.isDate=q,e.types.isDate=q,e.isError=I,e.types.isNativeError=I,e.isFunction=P,e.isPrimitive=function(v){return v===null||typeof v=="boolean"||typeof v=="number"||typeof v=="string"||typeof v=="symbol"||v===void 0},e.isBuffer=requireIsBufferBrowser();var _=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(v,m){return Object.prototype.hasOwnProperty.call(v,m)}e.log=function(){var v,m;console.log("%s - %s",(m=[N((v=new Date).getHours()),N(v.getMinutes()),N(v.getSeconds())].join(":"),[v.getDate(),_[v.getMonth()],m].join(" ")),e.format.apply(e,arguments))},e.inherits=requireInherits_browser(),e._extend=function(v,m){if(!m||!w(m))return v;for(var k=Object.keys(m),L=k.length;L--;)v[k[L]]=m[k[L]];return v};var B=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function A(v,m){if(!v){var k=new Error("Promise was rejected with a falsy value");k.reason=v,v=k}return m(v)}e.promisify=function(v){if(typeof v!="function")throw new TypeError('The "original" argument must be of type Function');if(B&&v[B]){var m;if(typeof(m=v[B])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(m,B,{value:m,enumerable:!1,writable:!1,configurable:!0}),m}function m(){for(var k,L,F=new Promise((function(D,x){k=D,L=x})),j=[],U=0;U<arguments.length;U++)j.push(arguments[U]);j.push((function(D,x){D?L(D):k(x)}));try{v.apply(this,j)}catch(D){L(D)}return F}return Object.setPrototypeOf(m,Object.getPrototypeOf(v)),B&&Object.defineProperty(m,B,{value:m,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(m,u(v))},e.promisify.custom=B,e.callbackify=function(v){if(typeof v!="function")throw new TypeError('The "original" argument must be of type Function');function m(){for(var k=[],L=0;L<arguments.length;L++)k.push(arguments[L]);var F=k.pop();if(typeof F!="function")throw new TypeError("The last argument must be of type Function");var j=this,U=function(){return F.apply(j,arguments)};v.apply(this,k).then((function(D){process$1.nextTick(U.bind(null,null,D))}),(function(D){process$1.nextTick(A.bind(null,D,U))}))}return Object.setPrototypeOf(m,Object.getPrototypeOf(v)),Object.defineProperties(m,u(v)),m}})(util$1)),util$1}function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;function e(n,i){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(n);i&&(f=f.filter((function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable}))),s.push.apply(s,f)}return s}function r(n){for(var i=1;i<arguments.length;i++){var s=arguments[i]!=null?arguments[i]:{};i%2?e(Object(s),!0).forEach((function(f){u(n,f,s[f])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(s)):e(Object(s)).forEach((function(f){Object.defineProperty(n,f,Object.getOwnPropertyDescriptor(s,f))}))}return n}function u(n,i,s){return(i=o(i))in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s,n}function t(n,i,s){return i&&(function(f,d){for(var h=0;h<d.length;h++){var p=d[h];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(f,o(p.key),p)}})(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n}function o(n){var i=(function(s,f){if(typeof s!="object"||s===null)return s;var d=s[Symbol.toPrimitive];if(d!==void 0){var h=d.call(s,f);if(typeof h!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(s)})(n,"string");return typeof i=="symbol"?i:String(i)}hasRequiredBuffer_list=1;var l=requireDist().Buffer,c=requireUtil$1().inspect,a=c&&c.custom||"inspect";return buffer_list=(function(){function n(){(function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")})(this,n),this.head=null,this.tail=null,this.length=0}return t(n,[{key:"push",value:function(i){var s={data:i,next:null};this.length>0?this.tail.next=s:this.head=s,this.tail=s,++this.length}},{key:"unshift",value:function(i){var s={data:i,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length}},{key:"shift",value:function(){if(this.length!==0){var i=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,i}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(i){if(this.length===0)return"";for(var s=this.head,f=""+s.data;s=s.next;)f+=i+s.data;return f}},{key:"concat",value:function(i){if(this.length===0)return l.alloc(0);for(var s,f,d,h=l.allocUnsafe(i>>>0),p=this.head,b=0;p;)s=p.data,f=h,d=b,l.prototype.copy.call(s,f,d),b+=p.data.length,p=p.next;return h}},{key:"consume",value:function(i,s){var f;return i<this.head.data.length?(f=this.head.data.slice(0,i),this.head.data=this.head.data.slice(i)):f=i===this.head.data.length?this.shift():s?this._getString(i):this._getBuffer(i),f}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(i){var s=this.head,f=1,d=s.data;for(i-=d.length;s=s.next;){var h=s.data,p=i>h.length?h.length:i;if(p===h.length?d+=h:d+=h.slice(0,i),(i-=p)===0){p===h.length?(++f,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=h.slice(p));break}++f}return this.length-=f,d}},{key:"_getBuffer",value:function(i){var s=l.allocUnsafe(i),f=this.head,d=1;for(f.data.copy(s),i-=f.data.length;f=f.next;){var h=f.data,p=i>h.length?h.length:i;if(h.copy(s,s.length-i,0,p),(i-=p)===0){p===h.length?(++d,f.next?this.head=f.next:this.head=this.tail=null):(this.head=f,f.data=h.slice(p));break}++d}return this.length-=d,s}},{key:a,value:function(i,s){return c(this,r(r({},s),{},{depth:0,customInspect:!1}))}}]),n})(),buffer_list}function requireDestroy$1(){if(hasRequiredDestroy$1)return destroy_1$1;function e(t,o){u(t,o),r(t)}function r(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function u(t,o){t.emit("error",o)}return hasRequiredDestroy$1=1,destroy_1$1={destroy:function(t,o){var l=this,c=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return c||a?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process$1.nextTick(u,this,t)):process$1.nextTick(u,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(n){!o&&n?l._writableState?l._writableState.errorEmitted?process$1.nextTick(r,l):(l._writableState.errorEmitted=!0,process$1.nextTick(e,l,n)):process$1.nextTick(e,l,n):o?(process$1.nextTick(r,l),o(n)):process$1.nextTick(r,l)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,o){var l=t._readableState,c=t._writableState;l&&l.autoDestroy||c&&c.autoDestroy?t.destroy(o):t.emit("error",o)}}}var errorsBrowser={},hasRequiredErrorsBrowser,state,hasRequiredState,browser$b,hasRequiredBrowser$b,_stream_writable$1,hasRequired_stream_writable$1,_stream_duplex$1,hasRequired_stream_duplex$1;function requireErrorsBrowser(){if(hasRequiredErrorsBrowser)return errorsBrowser;hasRequiredErrorsBrowser=1;var e={};function r(t,o,l){l||(l=Error);var c=(function(a){var n,i;function s(f,d,h){return a.call(this,(function(p,b,y){return typeof o=="string"?o:o(p,b,y)})(f,d,h))||this}return i=a,(n=s).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i,s})(l);c.prototype.name=l.name,c.prototype.code=t,e[t]=c}function u(t,o){if(Array.isArray(t)){var l=t.length;return t=t.map((function(c){return String(c)})),l>2?"one of ".concat(o," ").concat(t.slice(0,l-1).join(", "),", or ")+t[l-1]:l===2?"one of ".concat(o," ").concat(t[0]," or ").concat(t[1]):"of ".concat(o," ").concat(t[0])}return"of ".concat(o," ").concat(String(t))}return r("ERR_INVALID_OPT_VALUE",(function(t,o){return'The value "'+o+'" is invalid for option "'+t+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(t,o,l){var c,a,n;if(typeof o=="string"&&(a="not ",o.substr(0,a.length)===a)?(c="must not be",o=o.replace(/^not /,"")):c="must be",(function(s,f,d){return(d===void 0||d>s.length)&&(d=s.length),s.substring(d-f.length,d)===f})(t," argument"))n="The ".concat(t," ").concat(c," ").concat(u(o,"type"));else{var i=(function(s,f,d){return typeof d!="number"&&(d=0),!(d+f.length>s.length)&&s.indexOf(f,d)!==-1})(t,".")?"property":"argument";n='The "'.concat(t,'" ').concat(i," ").concat(c," ").concat(u(o,"type"))}return n+=". Received type ".concat(typeof l)}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),errorsBrowser.codes=e,errorsBrowser}function requireState(){if(hasRequiredState)return state;hasRequiredState=1;var e=requireErrorsBrowser().codes.ERR_INVALID_OPT_VALUE;return state={getHighWaterMark:function(r,u,t,o){var l=(function(c,a,n){return c.highWaterMark!=null?c.highWaterMark:a?c[n]:null})(u,o,t);if(l!=null){if(!isFinite(l)||Math.floor(l)!==l||l<0)throw new e(o?t:"highWaterMark",l);return Math.floor(l)}return r.objectMode?16:16384}}}function requireBrowser$b(){if(hasRequiredBrowser$b)return browser$b;function e(r){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var u=commonjsGlobal.localStorage[r];return u!=null&&String(u).toLowerCase()==="true"}return hasRequiredBrowser$b=1,browser$b=function(r,u){if(e("noDeprecation"))return r;var t=!1;return function(){if(!t){if(e("throwDeprecation"))throw new Error(u);e("traceDeprecation")?console.trace(u):console.warn(u),t=!0}return r.apply(this,arguments)}},browser$b}function require_stream_writable$1(){if(hasRequired_stream_writable$1)return _stream_writable$1;function e(B){var A=this;this.next=null,this.entry=null,this.finish=function(){(function(v,m,k){var L=v.entry;for(v.entry=null;L;){var F=L.callback;m.pendingcb--,F(k),L=L.next}m.corkedRequestsFree.next=v})(A,B)}}var r;hasRequired_stream_writable$1=1,_stream_writable$1=q,q.WritableState=w;var u={deprecate:requireBrowser$b()},t=requireStreamBrowser$1(),o=requireDist().Buffer,l=(commonjsGlobal!==void 0?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},c,a=requireDestroy$1(),n=requireState().getHighWaterMark,i=requireErrorsBrowser().codes,s=i.ERR_INVALID_ARG_TYPE,f=i.ERR_METHOD_NOT_IMPLEMENTED,d=i.ERR_MULTIPLE_CALLBACK,h=i.ERR_STREAM_CANNOT_PIPE,p=i.ERR_STREAM_DESTROYED,b=i.ERR_STREAM_NULL_VALUES,y=i.ERR_STREAM_WRITE_AFTER_END,g=i.ERR_UNKNOWN_ENCODING,R=a.errorOrDestroy;function S(){}function w(B,A,v){r=r||require_stream_duplex$1(),B=B||{},typeof v!="boolean"&&(v=A instanceof r),this.objectMode=!!B.objectMode,v&&(this.objectMode=this.objectMode||!!B.writableObjectMode),this.highWaterMark=n(this,B,"writableHighWaterMark",v),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var m=B.decodeStrings===!1;this.decodeStrings=!m,this.defaultEncoding=B.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(k){(function(L,F){var j=L._writableState,U=j.sync,D=j.writecb;if(typeof D!="function")throw new d;if((function(T){T.writing=!1,T.writecb=null,T.length-=T.writelen,T.writelen=0})(j),F)(function(T,G,K,ee,Z){--G.pendingcb,K?(process$1.nextTick(Z,ee),process$1.nextTick(E,T,G),T._writableState.errorEmitted=!0,R(T,ee)):(Z(ee),T._writableState.errorEmitted=!0,R(T,ee),E(T,G))})(L,j,U,F,D);else{var x=N(j)||L.destroyed;x||j.corked||j.bufferProcessing||!j.bufferedRequest||O(L,j),U?process$1.nextTick(P,L,j,x,D):P(L,j,x,D)}})(A,k)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=B.emitClose!==!1,this.autoDestroy=!!B.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function q(B){var A=this instanceof(r=r||require_stream_duplex$1());if(!A&&!c.call(q,this))return new q(B);this._writableState=new w(B,this,A),this.writable=!0,B&&(typeof B.write=="function"&&(this._write=B.write),typeof B.writev=="function"&&(this._writev=B.writev),typeof B.destroy=="function"&&(this._destroy=B.destroy),typeof B.final=="function"&&(this._final=B.final)),t.call(this)}function I(B,A,v,m,k,L,F){A.writelen=m,A.writecb=F,A.writing=!0,A.sync=!0,A.destroyed?A.onwrite(new p("write")):v?B._writev(k,A.onwrite):B._write(k,L,A.onwrite),A.sync=!1}function P(B,A,v,m){v||(function(k,L){L.length===0&&L.needDrain&&(L.needDrain=!1,k.emit("drain"))})(B,A),A.pendingcb--,m(),E(B,A)}function O(B,A){A.bufferProcessing=!0;var v=A.bufferedRequest;if(B._writev&&v&&v.next){var m=A.bufferedRequestCount,k=new Array(m),L=A.corkedRequestsFree;L.entry=v;for(var F=0,j=!0;v;)k[F]=v,v.isBuf||(j=!1),v=v.next,F+=1;k.allBuffers=j,I(B,A,!0,A.length,k,"",L.finish),A.pendingcb++,A.lastBufferedRequest=null,L.next?(A.corkedRequestsFree=L.next,L.next=null):A.corkedRequestsFree=new e(A),A.bufferedRequestCount=0}else{for(;v;){var U=v.chunk,D=v.encoding,x=v.callback;if(I(B,A,!1,A.objectMode?1:U.length,U,D,x),v=v.next,A.bufferedRequestCount--,A.writing)break}v===null&&(A.lastBufferedRequest=null)}A.bufferedRequest=v,A.bufferProcessing=!1}function N(B){return B.ending&&B.length===0&&B.bufferedRequest===null&&!B.finished&&!B.writing}function _(B,A){B._final((function(v){A.pendingcb--,v&&R(B,v),A.prefinished=!0,B.emit("prefinish"),E(B,A)}))}function E(B,A){var v=N(A);if(v&&((function(k,L){L.prefinished||L.finalCalled||(typeof k._final!="function"||L.destroyed?(L.prefinished=!0,k.emit("prefinish")):(L.pendingcb++,L.finalCalled=!0,process$1.nextTick(_,k,L)))})(B,A),A.pendingcb===0&&(A.finished=!0,B.emit("finish"),A.autoDestroy))){var m=B._readableState;(!m||m.autoDestroy&&m.endEmitted)&&B.destroy()}return v}return requireInherits_browser()(q,t),w.prototype.getBuffer=function(){for(var B=this.bufferedRequest,A=[];B;)A.push(B),B=B.next;return A},(function(){try{Object.defineProperty(w.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(q,Symbol.hasInstance,{value:function(B){return!!c.call(this,B)||this===q&&B&&B._writableState instanceof w}})):c=function(B){return B instanceof this},q.prototype.pipe=function(){R(this,new h)},q.prototype.write=function(B,A,v){var m,k=this._writableState,L=!1,F=!k.objectMode&&(m=B,o.isBuffer(m)||m instanceof l);return F&&!o.isBuffer(B)&&(B=(function(j){return o.from(j)})(B)),typeof A=="function"&&(v=A,A=null),F?A="buffer":A||(A=k.defaultEncoding),typeof v!="function"&&(v=S),k.ending?(function(j,U){var D=new y;R(j,D),process$1.nextTick(U,D)})(this,v):(F||(function(j,U,D,x){var T;return D===null?T=new b:typeof D=="string"||U.objectMode||(T=new s("chunk",["string","Buffer"],D)),!T||(R(j,T),process$1.nextTick(x,T),!1)})(this,k,B,v))&&(k.pendingcb++,L=(function(j,U,D,x,T,G){if(!D){var K=(function(Q,Y,J){return Q.objectMode||Q.decodeStrings===!1||typeof Y!="string"||(Y=o.from(Y,J)),Y})(U,x,T);x!==K&&(D=!0,T="buffer",x=K)}var ee=U.objectMode?1:x.length;U.length+=ee;var Z=U.length<U.highWaterMark;if(Z||(U.needDrain=!0),U.writing||U.corked){var V=U.lastBufferedRequest;U.lastBufferedRequest={chunk:x,encoding:T,isBuf:D,callback:G,next:null},V?V.next=U.lastBufferedRequest:U.bufferedRequest=U.lastBufferedRequest,U.bufferedRequestCount+=1}else I(j,U,!1,ee,x,T,G);return Z})(this,k,F,B,A,v)),L},q.prototype.cork=function(){this._writableState.corked++},q.prototype.uncork=function(){var B=this._writableState;B.corked&&(B.corked--,B.writing||B.corked||B.bufferProcessing||!B.bufferedRequest||O(this,B))},q.prototype.setDefaultEncoding=function(B){if(typeof B=="string"&&(B=B.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((B+"").toLowerCase())>-1))throw new g(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(q.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(q.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),q.prototype._write=function(B,A,v){v(new f("_write()"))},q.prototype._writev=null,q.prototype.end=function(B,A,v){var m=this._writableState;return typeof B=="function"?(v=B,B=null,A=null):typeof A=="function"&&(v=A,A=null),B!=null&&this.write(B,A),m.corked&&(m.corked=1,this.uncork()),m.ending||(function(k,L,F){L.ending=!0,E(k,L),F&&(L.finished?process$1.nextTick(F):k.once("finish",F)),L.ended=!0,k.writable=!1})(this,m,v),this},Object.defineProperty(q.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(q.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),q.prototype.destroy=a.destroy,q.prototype._undestroy=a.undestroy,q.prototype._destroy=function(B,A){A(B)},_stream_writable$1}function require_stream_duplex$1(){if(hasRequired_stream_duplex$1)return _stream_duplex$1;hasRequired_stream_duplex$1=1;var e=Object.keys||function(i){var s=[];for(var f in i)s.push(f);return s};_stream_duplex$1=c;var r=require_stream_readable$1(),u=require_stream_writable$1();requireInherits_browser()(c,r);for(var t=e(u.prototype),o=0;o<t.length;o++){var l=t[o];c.prototype[l]||(c.prototype[l]=u.prototype[l])}function c(i){if(!(this instanceof c))return new c(i);r.call(this,i),u.call(this,i),this.allowHalfOpen=!0,i&&(i.readable===!1&&(this.readable=!1),i.writable===!1&&(this.writable=!1),i.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",a)))}function a(){this._writableState.ended||process$1.nextTick(n,this)}function n(i){i.end()}return Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(i){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=i,this._writableState.destroyed=i)}}),_stream_duplex$1}var string_decoder={},hasRequiredString_decoder,endOfStream,hasRequiredEndOfStream,async_iterator,hasRequiredAsync_iterator,fromBrowser,hasRequiredFromBrowser,_stream_readable$1,hasRequired_stream_readable$1,_stream_transform$1,hasRequired_stream_transform$1,_stream_passthrough$1,hasRequired_stream_passthrough$1,pipeline_1,hasRequiredPipeline,streamBrowserify,hasRequiredStreamBrowserify,hashBase$2,hasRequiredHashBase$2,md5_js,hasRequiredMd5_js,ripemd160$4,hasRequiredRipemd160$3;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var e=requireSafeBuffer$1().Buffer,r=e.isEncoding||function(f){switch((f=""+f)&&f.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function u(f){var d;switch(this.encoding=(function(h){var p=(function(b){if(!b)return"utf8";for(var y;;)switch(b){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return b;default:if(y)return;b=(""+b).toLowerCase(),y=!0}})(h);if(typeof p!="string"&&(e.isEncoding===r||!r(h)))throw new Error("Unknown encoding: "+h);return p||h})(f),this.encoding){case"utf16le":this.text=l,this.end=c,d=4;break;case"utf8":this.fillLast=o,d=4;break;case"base64":this.text=a,this.end=n,d=3;break;default:return this.write=i,void(this.end=s)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(d)}function t(f){return f<=127?0:f>>5==6?2:f>>4==14?3:f>>3==30?4:f>>6==2?-1:-2}function o(f){var d=this.lastTotal-this.lastNeed,h=(function(p,b){if((192&b[0])!=128)return p.lastNeed=0,"�";if(p.lastNeed>1&&b.length>1){if((192&b[1])!=128)return p.lastNeed=1,"�";if(p.lastNeed>2&&b.length>2&&(192&b[2])!=128)return p.lastNeed=2,"�"}})(this,f);return h!==void 0?h:this.lastNeed<=f.length?(f.copy(this.lastChar,d,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(f.copy(this.lastChar,d,0,f.length),void(this.lastNeed-=f.length))}function l(f,d){if((f.length-d)%2==0){var h=f.toString("utf16le",d);if(h){var p=h.charCodeAt(h.length-1);if(p>=55296&&p<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],h.slice(0,-1)}return h}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",d,f.length-1)}function c(f){var d=f&&f.length?this.write(f):"";if(this.lastNeed){var h=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,h)}return d}function a(f,d){var h=(f.length-d)%3;return h===0?f.toString("base64",d):(this.lastNeed=3-h,this.lastTotal=3,h===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",d,f.length-h))}function n(f){var d=f&&f.length?this.write(f):"";return this.lastNeed?d+this.lastChar.toString("base64",0,3-this.lastNeed):d}function i(f){return f.toString(this.encoding)}function s(f){return f&&f.length?this.write(f):""}return string_decoder.StringDecoder=u,u.prototype.write=function(f){if(f.length===0)return"";var d,h;if(this.lastNeed){if((d=this.fillLast(f))===void 0)return"";h=this.lastNeed,this.lastNeed=0}else h=0;return h<f.length?d?d+this.text(f,h):this.text(f,h):d||""},u.prototype.end=function(f){var d=f&&f.length?this.write(f):"";return this.lastNeed?d+"�":d},u.prototype.text=function(f,d){var h=(function(b,y,g){var R=y.length-1;if(R<g)return 0;var S=t(y[R]);return S>=0?(S>0&&(b.lastNeed=S-1),S):--R<g||S===-2?0:(S=t(y[R]),S>=0?(S>0&&(b.lastNeed=S-2),S):--R<g||S===-2?0:(S=t(y[R]),S>=0?(S>0&&(S===2?S=0:b.lastNeed=S-3),S):0))})(this,f,d);if(!this.lastNeed)return f.toString("utf8",d);this.lastTotal=h;var p=f.length-(h-this.lastNeed);return f.copy(this.lastChar,0,p),f.toString("utf8",d,p)},u.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length},string_decoder}function requireEndOfStream(){if(hasRequiredEndOfStream)return endOfStream;hasRequiredEndOfStream=1;var e=requireErrorsBrowser().codes.ERR_STREAM_PREMATURE_CLOSE;function r(){}return endOfStream=function u(t,o,l){if(typeof o=="function")return u(t,null,o);o||(o={}),l=(function(y){var g=!1;return function(){if(!g){g=!0;for(var R=arguments.length,S=new Array(R),w=0;w<R;w++)S[w]=arguments[w];y.apply(this,S)}}})(l||r);var c=o.readable||o.readable!==!1&&t.readable,a=o.writable||o.writable!==!1&&t.writable,n=function(){t.writable||s()},i=t._writableState&&t._writableState.finished,s=function(){a=!1,i=!0,c||l.call(t)},f=t._readableState&&t._readableState.endEmitted,d=function(){c=!1,f=!0,a||l.call(t)},h=function(y){l.call(t,y)},p=function(){var y;return c&&!f?(t._readableState&&t._readableState.ended||(y=new e),l.call(t,y)):a&&!i?(t._writableState&&t._writableState.ended||(y=new e),l.call(t,y)):void 0},b=function(){t.req.on("finish",s)};return(function(y){return y.setHeader&&typeof y.abort=="function"})(t)?(t.on("complete",s),t.on("abort",p),t.req?b():t.on("request",b)):a&&!t._writableState&&(t.on("end",n),t.on("close",n)),t.on("end",d),t.on("finish",s),o.error!==!1&&t.on("error",h),t.on("close",p),function(){t.removeListener("complete",s),t.removeListener("abort",p),t.removeListener("request",b),t.req&&t.req.removeListener("finish",s),t.removeListener("end",n),t.removeListener("close",n),t.removeListener("finish",s),t.removeListener("end",d),t.removeListener("error",h),t.removeListener("close",p)}},endOfStream}function requireAsync_iterator(){if(hasRequiredAsync_iterator)return async_iterator;var e;function r(b,y,g){return(y=(function(R){var S=(function(w,q){if(typeof w!="object"||w===null)return w;var I=w[Symbol.toPrimitive];if(I!==void 0){var P=I.call(w,q);if(typeof P!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return(q==="string"?String:Number)(w)})(R,"string");return typeof S=="symbol"?S:String(S)})(y))in b?Object.defineProperty(b,y,{value:g,enumerable:!0,configurable:!0,writable:!0}):b[y]=g,b}hasRequiredAsync_iterator=1;var u=requireEndOfStream(),t=Symbol("lastResolve"),o=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),a=Symbol("lastPromise"),n=Symbol("handlePromise"),i=Symbol("stream");function s(b,y){return{value:b,done:y}}function f(b){var y=b[t];if(y!==null){var g=b[i].read();g!==null&&(b[a]=null,b[t]=null,b[o]=null,y(s(g,!1)))}}function d(b){process$1.nextTick(f,b)}var h=Object.getPrototypeOf((function(){})),p=Object.setPrototypeOf((e={get stream(){return this[i]},next:function(){var b=this,y=this[l];if(y!==null)return Promise.reject(y);if(this[c])return Promise.resolve(s(void 0,!0));if(this[i].destroyed)return new Promise((function(w,q){process$1.nextTick((function(){b[l]?q(b[l]):w(s(void 0,!0))}))}));var g,R=this[a];if(R)g=new Promise((function(w,q){return function(I,P){w.then((function(){q[c]?I(s(void 0,!0)):q[n](I,P)}),P)}})(R,this));else{var S=this[i].read();if(S!==null)return Promise.resolve(s(S,!1));g=new Promise(this[n])}return this[a]=g,g}},r(e,Symbol.asyncIterator,(function(){return this})),r(e,"return",(function(){var b=this;return new Promise((function(y,g){b[i].destroy(null,(function(R){R?g(R):y(s(void 0,!0))}))}))})),e),h);return async_iterator=function(b){var y,g=Object.create(p,(r(y={},i,{value:b,writable:!0}),r(y,t,{value:null,writable:!0}),r(y,o,{value:null,writable:!0}),r(y,l,{value:null,writable:!0}),r(y,c,{value:b._readableState.endEmitted,writable:!0}),r(y,n,{value:function(R,S){var w=g[i].read();w?(g[a]=null,g[t]=null,g[o]=null,R(s(w,!1))):(g[t]=R,g[o]=S)},writable:!0}),y));return g[a]=null,u(b,(function(R){if(R&&R.code!=="ERR_STREAM_PREMATURE_CLOSE"){var S=g[o];return S!==null&&(g[a]=null,g[t]=null,g[o]=null,S(R)),void(g[l]=R)}var w=g[t];w!==null&&(g[a]=null,g[t]=null,g[o]=null,w(s(void 0,!0))),g[c]=!0})),b.on("readable",d.bind(null,g)),g},async_iterator}function requireFromBrowser(){return hasRequiredFromBrowser?fromBrowser:(hasRequiredFromBrowser=1,fromBrowser=function(){throw new Error("Readable.from is not available in the browser")})}function require_stream_readable$1(){if(hasRequired_stream_readable$1)return _stream_readable$1;var e;hasRequired_stream_readable$1=1,_stream_readable$1=q,q.ReadableState=w,requireEvents().EventEmitter;var r=function(x,T){return x.listeners(T).length},u=requireStreamBrowser$1(),t=requireDist().Buffer,o=(commonjsGlobal!==void 0?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},l,c=requireUtil$1();l=c&&c.debuglog?c.debuglog("stream"):function(){};var a,n,i,s=requireBuffer_list(),f=requireDestroy$1(),d=requireState().getHighWaterMark,h=requireErrorsBrowser().codes,p=h.ERR_INVALID_ARG_TYPE,b=h.ERR_STREAM_PUSH_AFTER_EOF,y=h.ERR_METHOD_NOT_IMPLEMENTED,g=h.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;requireInherits_browser()(q,u);var R=f.errorOrDestroy,S=["error","close","destroy","pause","resume"];function w(x,T,G){e=e||require_stream_duplex$1(),x=x||{},typeof G!="boolean"&&(G=T instanceof e),this.objectMode=!!x.objectMode,G&&(this.objectMode=this.objectMode||!!x.readableObjectMode),this.highWaterMark=d(this,x,"readableHighWaterMark",G),this.buffer=new s,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=x.emitClose!==!1,this.autoDestroy=!!x.autoDestroy,this.destroyed=!1,this.defaultEncoding=x.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,x.encoding&&(a||(a=requireString_decoder().StringDecoder),this.decoder=new a(x.encoding),this.encoding=x.encoding)}function q(x){if(e=e||require_stream_duplex$1(),!(this instanceof q))return new q(x);var T=this instanceof e;this._readableState=new w(x,this,T),this.readable=!0,x&&(typeof x.read=="function"&&(this._read=x.read),typeof x.destroy=="function"&&(this._destroy=x.destroy)),u.call(this)}function I(x,T,G,K,ee){l("readableAddChunk",T);var Z,V=x._readableState;if(T===null)V.reading=!1,(function(Q,Y){if(l("onEofChunk"),!Y.ended){if(Y.decoder){var J=Y.decoder.end();J&&J.length&&(Y.buffer.push(J),Y.length+=Y.objectMode?1:J.length)}Y.ended=!0,Y.sync?_(Q):(Y.needReadable=!1,Y.emittedReadable||(Y.emittedReadable=!0,E(Q)))}})(x,V);else if(ee||(Z=(function(Q,Y){var J;oe=Y,t.isBuffer(oe)||oe instanceof o||typeof Y=="string"||Y===void 0||Q.objectMode||(J=new p("chunk",["string","Buffer","Uint8Array"],Y));var oe;return J})(V,T)),Z)R(x,Z);else if(V.objectMode||T&&T.length>0)if(typeof T=="string"||V.objectMode||Object.getPrototypeOf(T)===t.prototype||(T=(function(Q){return t.from(Q)})(T)),K)V.endEmitted?R(x,new g):P(x,V,T,!0);else if(V.ended)R(x,new b);else{if(V.destroyed)return!1;V.reading=!1,V.decoder&&!G?(T=V.decoder.write(T),V.objectMode||T.length!==0?P(x,V,T,!1):B(x,V)):P(x,V,T,!1)}else K||(V.reading=!1,B(x,V));return!V.ended&&(V.length<V.highWaterMark||V.length===0)}function P(x,T,G,K){T.flowing&&T.length===0&&!T.sync?(T.awaitDrain=0,x.emit("data",G)):(T.length+=T.objectMode?1:G.length,K?T.buffer.unshift(G):T.buffer.push(G),T.needReadable&&_(x)),B(x,T)}Object.defineProperty(q.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(x){this._readableState&&(this._readableState.destroyed=x)}}),q.prototype.destroy=f.destroy,q.prototype._undestroy=f.undestroy,q.prototype._destroy=function(x,T){T(x)},q.prototype.push=function(x,T){var G,K=this._readableState;return K.objectMode?G=!0:typeof x=="string"&&((T=T||K.defaultEncoding)!==K.encoding&&(x=t.from(x,T),T=""),G=!0),I(this,x,T,!1,G)},q.prototype.unshift=function(x){return I(this,x,null,!0,!1)},q.prototype.isPaused=function(){return this._readableState.flowing===!1},q.prototype.setEncoding=function(x){a||(a=requireString_decoder().StringDecoder);var T=new a(x);this._readableState.decoder=T,this._readableState.encoding=this._readableState.decoder.encoding;for(var G=this._readableState.buffer.head,K="";G!==null;)K+=T.write(G.data),G=G.next;return this._readableState.buffer.clear(),K!==""&&this._readableState.buffer.push(K),this._readableState.length=K.length,this};var O=1073741824;function N(x,T){return x<=0||T.length===0&&T.ended?0:T.objectMode?1:x!=x?T.flowing&&T.length?T.buffer.head.data.length:T.length:(x>T.highWaterMark&&(T.highWaterMark=(function(G){return G>=O?G=O:(G--,G|=G>>>1,G|=G>>>2,G|=G>>>4,G|=G>>>8,G|=G>>>16,G++),G})(x)),x<=T.length?x:T.ended?T.length:(T.needReadable=!0,0))}function _(x){var T=x._readableState;l("emitReadable",T.needReadable,T.emittedReadable),T.needReadable=!1,T.emittedReadable||(l("emitReadable",T.flowing),T.emittedReadable=!0,process$1.nextTick(E,x))}function E(x){var T=x._readableState;l("emitReadable_",T.destroyed,T.length,T.ended),T.destroyed||!T.length&&!T.ended||(x.emit("readable"),T.emittedReadable=!1),T.needReadable=!T.flowing&&!T.ended&&T.length<=T.highWaterMark,L(x)}function B(x,T){T.readingMore||(T.readingMore=!0,process$1.nextTick(A,x,T))}function A(x,T){for(;!T.reading&&!T.ended&&(T.length<T.highWaterMark||T.flowing&&T.length===0);){var G=T.length;if(l("maybeReadMore read 0"),x.read(0),G===T.length)break}T.readingMore=!1}function v(x){var T=x._readableState;T.readableListening=x.listenerCount("readable")>0,T.resumeScheduled&&!T.paused?T.flowing=!0:x.listenerCount("data")>0&&x.resume()}function m(x){l("readable nexttick read 0"),x.read(0)}function k(x,T){l("resume",T.reading),T.reading||x.read(0),T.resumeScheduled=!1,x.emit("resume"),L(x),T.flowing&&!T.reading&&x.read(0)}function L(x){var T=x._readableState;for(l("flow",T.flowing);T.flowing&&x.read()!==null;);}function F(x,T){return T.length===0?null:(T.objectMode?G=T.buffer.shift():!x||x>=T.length?(G=T.decoder?T.buffer.join(""):T.buffer.length===1?T.buffer.first():T.buffer.concat(T.length),T.buffer.clear()):G=T.buffer.consume(x,T.decoder),G);var G}function j(x){var T=x._readableState;l("endReadable",T.endEmitted),T.endEmitted||(T.ended=!0,process$1.nextTick(U,T,x))}function U(x,T){if(l("endReadableNT",x.endEmitted,x.length),!x.endEmitted&&x.length===0&&(x.endEmitted=!0,T.readable=!1,T.emit("end"),x.autoDestroy)){var G=T._writableState;(!G||G.autoDestroy&&G.finished)&&T.destroy()}}function D(x,T){for(var G=0,K=x.length;G<K;G++)if(x[G]===T)return G;return-1}return q.prototype.read=function(x){l("read",x),x=parseInt(x,10);var T=this._readableState,G=x;if(x!==0&&(T.emittedReadable=!1),x===0&&T.needReadable&&((T.highWaterMark!==0?T.length>=T.highWaterMark:T.length>0)||T.ended))return l("read: emitReadable",T.length,T.ended),T.length===0&&T.ended?j(this):_(this),null;if((x=N(x,T))===0&&T.ended)return T.length===0&&j(this),null;var K,ee=T.needReadable;return l("need readable",ee),(T.length===0||T.length-x<T.highWaterMark)&&l("length less than watermark",ee=!0),T.ended||T.reading?l("reading or ended",ee=!1):ee&&(l("do read"),T.reading=!0,T.sync=!0,T.length===0&&(T.needReadable=!0),this._read(T.highWaterMark),T.sync=!1,T.reading||(x=N(G,T))),(K=x>0?F(x,T):null)===null?(T.needReadable=T.length<=T.highWaterMark,x=0):(T.length-=x,T.awaitDrain=0),T.length===0&&(T.ended||(T.needReadable=!0),G!==x&&T.ended&&j(this)),K!==null&&this.emit("data",K),K},q.prototype._read=function(x){R(this,new y("_read()"))},q.prototype.pipe=function(x,T){var G=this,K=this._readableState;switch(K.pipesCount){case 0:K.pipes=x;break;case 1:K.pipes=[K.pipes,x];break;default:K.pipes.push(x)}K.pipesCount+=1,l("pipe count=%d opts=%j",K.pipesCount,T);var ee=(!T||T.end!==!1)&&x!==process$1.stdout&&x!==process$1.stderr?V:_e;function Z(te,ie){l("onunpipe"),te===G&&ie&&ie.hasUnpiped===!1&&(ie.hasUnpiped=!0,l("cleanup"),x.removeListener("close",se),x.removeListener("finish",ne),x.removeListener("drain",Q),x.removeListener("error",oe),x.removeListener("unpipe",Z),G.removeListener("end",V),G.removeListener("end",_e),G.removeListener("data",J),Y=!0,!K.awaitDrain||x._writableState&&!x._writableState.needDrain||Q())}function V(){l("onend"),x.end()}K.endEmitted?process$1.nextTick(ee):G.once("end",ee),x.on("unpipe",Z);var Q=(function(te){return function(){var ie=te._readableState;l("pipeOnDrain",ie.awaitDrain),ie.awaitDrain&&ie.awaitDrain--,ie.awaitDrain===0&&r(te,"data")&&(ie.flowing=!0,L(te))}})(G);x.on("drain",Q);var Y=!1;function J(te){l("ondata");var ie=x.write(te);l("dest.write",ie),ie===!1&&((K.pipesCount===1&&K.pipes===x||K.pipesCount>1&&D(K.pipes,x)!==-1)&&!Y&&(l("false write response, pause",K.awaitDrain),K.awaitDrain++),G.pause())}function oe(te){l("onerror",te),_e(),x.removeListener("error",oe),r(x,"error")===0&&R(x,te)}function se(){x.removeListener("finish",ne),_e()}function ne(){l("onfinish"),x.removeListener("close",se),_e()}function _e(){l("unpipe"),G.unpipe(x)}return G.on("data",J),(function(te,ie,ye){if(typeof te.prependListener=="function")return te.prependListener(ie,ye);te._events&&te._events[ie]?Array.isArray(te._events[ie])?te._events[ie].unshift(ye):te._events[ie]=[ye,te._events[ie]]:te.on(ie,ye)})(x,"error",oe),x.once("close",se),x.once("finish",ne),x.emit("pipe",G),K.flowing||(l("pipe resume"),G.resume()),x},q.prototype.unpipe=function(x){var T=this._readableState,G={hasUnpiped:!1};if(T.pipesCount===0)return this;if(T.pipesCount===1)return x&&x!==T.pipes||(x||(x=T.pipes),T.pipes=null,T.pipesCount=0,T.flowing=!1,x&&x.emit("unpipe",this,G)),this;if(!x){var K=T.pipes,ee=T.pipesCount;T.pipes=null,T.pipesCount=0,T.flowing=!1;for(var Z=0;Z<ee;Z++)K[Z].emit("unpipe",this,{hasUnpiped:!1});return this}var V=D(T.pipes,x);return V===-1||(T.pipes.splice(V,1),T.pipesCount-=1,T.pipesCount===1&&(T.pipes=T.pipes[0]),x.emit("unpipe",this,G)),this},q.prototype.on=function(x,T){var G=u.prototype.on.call(this,x,T),K=this._readableState;return x==="data"?(K.readableListening=this.listenerCount("readable")>0,K.flowing!==!1&&this.resume()):x==="readable"&&(K.endEmitted||K.readableListening||(K.readableListening=K.needReadable=!0,K.flowing=!1,K.emittedReadable=!1,l("on readable",K.length,K.reading),K.length?_(this):K.reading||process$1.nextTick(m,this))),G},q.prototype.addListener=q.prototype.on,q.prototype.removeListener=function(x,T){var G=u.prototype.removeListener.call(this,x,T);return x==="readable"&&process$1.nextTick(v,this),G},q.prototype.removeAllListeners=function(x){var T=u.prototype.removeAllListeners.apply(this,arguments);return x!=="readable"&&x!==void 0||process$1.nextTick(v,this),T},q.prototype.resume=function(){var x=this._readableState;return x.flowing||(l("resume"),x.flowing=!x.readableListening,(function(T,G){G.resumeScheduled||(G.resumeScheduled=!0,process$1.nextTick(k,T,G))})(this,x)),x.paused=!1,this},q.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},q.prototype.wrap=function(x){var T=this,G=this._readableState,K=!1;for(var ee in x.on("end",(function(){if(l("wrapped end"),G.decoder&&!G.ended){var V=G.decoder.end();V&&V.length&&T.push(V)}T.push(null)})),x.on("data",(function(V){l("wrapped data"),G.decoder&&(V=G.decoder.write(V)),G.objectMode&&V==null||(G.objectMode||V&&V.length)&&(T.push(V)||(K=!0,x.pause()))})),x)this[ee]===void 0&&typeof x[ee]=="function"&&(this[ee]=(function(V){return function(){return x[V].apply(x,arguments)}})(ee));for(var Z=0;Z<S.length;Z++)x.on(S[Z],this.emit.bind(this,S[Z]));return this._read=function(V){l("wrapped _read",V),K&&(K=!1,x.resume())},this},typeof Symbol=="function"&&(q.prototype[Symbol.asyncIterator]=function(){return n===void 0&&(n=requireAsync_iterator()),n(this)}),Object.defineProperty(q.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(q.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(q.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(x){this._readableState&&(this._readableState.flowing=x)}}),q._fromList=F,Object.defineProperty(q.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(q.from=function(x,T){return i===void 0&&(i=requireFromBrowser()),i(q,x,T)}),_stream_readable$1}function require_stream_transform$1(){if(hasRequired_stream_transform$1)return _stream_transform$1;hasRequired_stream_transform$1=1,_stream_transform$1=a;var e=requireErrorsBrowser().codes,r=e.ERR_METHOD_NOT_IMPLEMENTED,u=e.ERR_MULTIPLE_CALLBACK,t=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=e.ERR_TRANSFORM_WITH_LENGTH_0,l=require_stream_duplex$1();function c(s,f){var d=this._transformState;d.transforming=!1;var h=d.writecb;if(h===null)return this.emit("error",new u);d.writechunk=null,d.writecb=null,f!=null&&this.push(f),h(s);var p=this._readableState;p.reading=!1,(p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}function a(s){if(!(this instanceof a))return new a(s);l.call(this,s),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,s&&(typeof s.transform=="function"&&(this._transform=s.transform),typeof s.flush=="function"&&(this._flush=s.flush)),this.on("prefinish",n)}function n(){var s=this;typeof this._flush!="function"||this._readableState.destroyed?i(this,null,null):this._flush((function(f,d){i(s,f,d)}))}function i(s,f,d){if(f)return s.emit("error",f);if(d!=null&&s.push(d),s._writableState.length)throw new o;if(s._transformState.transforming)throw new t;return s.push(null)}return requireInherits_browser()(a,l),a.prototype.push=function(s,f){return this._transformState.needTransform=!1,l.prototype.push.call(this,s,f)},a.prototype._transform=function(s,f,d){d(new r("_transform()"))},a.prototype._write=function(s,f,d){var h=this._transformState;if(h.writecb=d,h.writechunk=s,h.writeencoding=f,!h.transforming){var p=this._readableState;(h.needTransform||p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}},a.prototype._read=function(s){var f=this._transformState;f.writechunk===null||f.transforming?f.needTransform=!0:(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform))},a.prototype._destroy=function(s,f){l.prototype._destroy.call(this,s,(function(d){f(d)}))},_stream_transform$1}function require_stream_passthrough$1(){if(hasRequired_stream_passthrough$1)return _stream_passthrough$1;hasRequired_stream_passthrough$1=1,_stream_passthrough$1=r;var e=require_stream_transform$1();function r(u){if(!(this instanceof r))return new r(u);e.call(this,u)}return requireInherits_browser()(r,e),r.prototype._transform=function(u,t,o){o(null,u)},_stream_passthrough$1}function requirePipeline(){if(hasRequiredPipeline)return pipeline_1;var e;hasRequiredPipeline=1;var r=requireErrorsBrowser().codes,u=r.ERR_MISSING_ARGS,t=r.ERR_STREAM_DESTROYED;function o(a){if(a)throw a}function l(a){a()}function c(a,n){return a.pipe(n)}return pipeline_1=function(){for(var a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];var s,f=(function(h){return h.length?typeof h[h.length-1]!="function"?o:h.pop():o})(n);if(Array.isArray(n[0])&&(n=n[0]),n.length<2)throw new u("streams");var d=n.map((function(h,p){var b=p<n.length-1;return(function(y,g,R,S){S=(function(I){var P=!1;return function(){P||(P=!0,I.apply(void 0,arguments))}})(S);var w=!1;y.on("close",(function(){w=!0})),e===void 0&&(e=requireEndOfStream()),e(y,{readable:g,writable:R},(function(I){if(I)return S(I);w=!0,S()}));var q=!1;return function(I){if(!w&&!q)return q=!0,(function(P){return P.setHeader&&typeof P.abort=="function"})(y)?y.abort():typeof y.destroy=="function"?y.destroy():void S(I||new t("pipe"))}})(h,b,p>0,(function(y){s||(s=y),y&&d.forEach(l),b||(d.forEach(l),f(s))}))}));return n.reduce(c)},pipeline_1}function requireStreamBrowserify(){if(hasRequiredStreamBrowserify)return streamBrowserify;hasRequiredStreamBrowserify=1,streamBrowserify=r;var e=requireEvents().EventEmitter;function r(){e.call(this)}return requireInherits_browser()(r,e),r.Readable=require_stream_readable$1(),r.Writable=require_stream_writable$1(),r.Duplex=require_stream_duplex$1(),r.Transform=require_stream_transform$1(),r.PassThrough=require_stream_passthrough$1(),r.finished=requireEndOfStream(),r.pipeline=requirePipeline(),r.Stream=r,r.prototype.pipe=function(u,t){var o=this;function l(d){u.writable&&u.write(d)===!1&&o.pause&&o.pause()}function c(){o.readable&&o.resume&&o.resume()}o.on("data",l),u.on("drain",c),u._isStdio||t&&t.end===!1||(o.on("end",n),o.on("close",i));var a=!1;function n(){a||(a=!0,u.end())}function i(){a||(a=!0,typeof u.destroy=="function"&&u.destroy())}function s(d){if(f(),e.listenerCount(this,"error")===0)throw d}function f(){o.removeListener("data",l),u.removeListener("drain",c),o.removeListener("end",n),o.removeListener("close",i),o.removeListener("error",s),u.removeListener("error",s),o.removeListener("end",f),o.removeListener("close",f),u.removeListener("close",f)}return o.on("error",s),u.on("error",s),o.on("end",f),o.on("close",f),u.on("close",f),u.emit("pipe",o),u},streamBrowserify}function requireHashBase$2(){if(hasRequiredHashBase$2)return hashBase$2;hasRequiredHashBase$2=1;var e=requireSafeBuffer$1().Buffer,r=requireStreamBrowserify().Transform;function u(l){r.call(this),this._block=e.allocUnsafe(l),this._blockSize=l,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}requireInherits_browser()(u,r),u.prototype._transform=function(l,c,a){var n=null;try{this.update(l,c)}catch(i){n=i}a(n)},u.prototype._flush=function(l){var c=null;try{this.push(this.digest())}catch(a){c=a}l(c)};var t=typeof Uint8Array<"u",o=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return u.prototype.update=function(l,c){if(this._finalized)throw new Error("Digest already called");l=(function(d,h){if(d instanceof e)return d;if(typeof d=="string")return e.from(d,h);if(o&&ArrayBuffer.isView(d)){if(d.byteLength===0)return e.alloc(0);var p=e.from(d.buffer,d.byteOffset,d.byteLength);if(p.byteLength===d.byteLength)return p}if(t&&d instanceof Uint8Array||e.isBuffer(d)&&d.constructor&&typeof d.constructor.isBuffer=="function"&&d.constructor.isBuffer(d))return e.from(d);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')})(l,c);for(var a=this._block,n=0;this._blockOffset+l.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)a[i++]=l[n++];this._update(),this._blockOffset=0}for(;n<l.length;)a[this._blockOffset++]=l[n++];for(var s=0,f=8*l.length;f>0;++s)this._length[s]+=f,(f=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*f);return this},u.prototype._update=function(){throw new Error("_update is not implemented")},u.prototype.digest=function(l){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var c=this._digest();l!==void 0&&(c=c.toString(l)),this._block.fill(0),this._blockOffset=0;for(var a=0;a<4;++a)this._length[a]=0;return c},u.prototype._digest=function(){throw new Error("_digest is not implemented")},hashBase$2=u}function requireMd5_js(){if(hasRequiredMd5_js)return md5_js;hasRequiredMd5_js=1;var e=requireInherits_browser(),r=requireHashBase$2(),u=requireSafeBuffer$1().Buffer,t=new Array(16);function o(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(s,f){return s<<f|s>>>32-f}function c(s,f,d,h,p,b,y){return l(s+(f&d|~f&h)+p+b|0,y)+f|0}function a(s,f,d,h,p,b,y){return l(s+(f&h|d&~h)+p+b|0,y)+f|0}function n(s,f,d,h,p,b,y){return l(s+(f^d^h)+p+b|0,y)+f|0}function i(s,f,d,h,p,b,y){return l(s+(d^(f|~h))+p+b|0,y)+f|0}return e(o,r),o.prototype._update=function(){for(var s=t,f=0;f<16;++f)s[f]=this._block.readInt32LE(4*f);var d=this._a,h=this._b,p=this._c,b=this._d;d=c(d,h,p,b,s[0],3614090360,7),b=c(b,d,h,p,s[1],3905402710,12),p=c(p,b,d,h,s[2],606105819,17),h=c(h,p,b,d,s[3],3250441966,22),d=c(d,h,p,b,s[4],4118548399,7),b=c(b,d,h,p,s[5],1200080426,12),p=c(p,b,d,h,s[6],2821735955,17),h=c(h,p,b,d,s[7],4249261313,22),d=c(d,h,p,b,s[8],1770035416,7),b=c(b,d,h,p,s[9],2336552879,12),p=c(p,b,d,h,s[10],4294925233,17),h=c(h,p,b,d,s[11],2304563134,22),d=c(d,h,p,b,s[12],1804603682,7),b=c(b,d,h,p,s[13],4254626195,12),p=c(p,b,d,h,s[14],2792965006,17),d=a(d,h=c(h,p,b,d,s[15],1236535329,22),p,b,s[1],4129170786,5),b=a(b,d,h,p,s[6],3225465664,9),p=a(p,b,d,h,s[11],643717713,14),h=a(h,p,b,d,s[0],3921069994,20),d=a(d,h,p,b,s[5],3593408605,5),b=a(b,d,h,p,s[10],38016083,9),p=a(p,b,d,h,s[15],3634488961,14),h=a(h,p,b,d,s[4],3889429448,20),d=a(d,h,p,b,s[9],568446438,5),b=a(b,d,h,p,s[14],3275163606,9),p=a(p,b,d,h,s[3],4107603335,14),h=a(h,p,b,d,s[8],1163531501,20),d=a(d,h,p,b,s[13],2850285829,5),b=a(b,d,h,p,s[2],4243563512,9),p=a(p,b,d,h,s[7],1735328473,14),d=n(d,h=a(h,p,b,d,s[12],2368359562,20),p,b,s[5],4294588738,4),b=n(b,d,h,p,s[8],2272392833,11),p=n(p,b,d,h,s[11],1839030562,16),h=n(h,p,b,d,s[14],4259657740,23),d=n(d,h,p,b,s[1],2763975236,4),b=n(b,d,h,p,s[4],1272893353,11),p=n(p,b,d,h,s[7],4139469664,16),h=n(h,p,b,d,s[10],3200236656,23),d=n(d,h,p,b,s[13],681279174,4),b=n(b,d,h,p,s[0],3936430074,11),p=n(p,b,d,h,s[3],3572445317,16),h=n(h,p,b,d,s[6],76029189,23),d=n(d,h,p,b,s[9],3654602809,4),b=n(b,d,h,p,s[12],3873151461,11),p=n(p,b,d,h,s[15],530742520,16),d=i(d,h=n(h,p,b,d,s[2],3299628645,23),p,b,s[0],4096336452,6),b=i(b,d,h,p,s[7],1126891415,10),p=i(p,b,d,h,s[14],2878612391,15),h=i(h,p,b,d,s[5],4237533241,21),d=i(d,h,p,b,s[12],1700485571,6),b=i(b,d,h,p,s[3],2399980690,10),p=i(p,b,d,h,s[10],4293915773,15),h=i(h,p,b,d,s[1],2240044497,21),d=i(d,h,p,b,s[8],1873313359,6),b=i(b,d,h,p,s[15],4264355552,10),p=i(p,b,d,h,s[6],2734768916,15),h=i(h,p,b,d,s[13],1309151649,21),d=i(d,h,p,b,s[4],4149444226,6),b=i(b,d,h,p,s[11],3174756917,10),p=i(p,b,d,h,s[2],718787259,15),h=i(h,p,b,d,s[9],3951481745,21),this._a=this._a+d|0,this._b=this._b+h|0,this._c=this._c+p|0,this._d=this._d+b|0},o.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var s=u.allocUnsafe(16);return s.writeInt32LE(this._a,0),s.writeInt32LE(this._b,4),s.writeInt32LE(this._c,8),s.writeInt32LE(this._d,12),s},md5_js=o}function requireRipemd160$3(){if(hasRequiredRipemd160$3)return ripemd160$4;hasRequiredRipemd160$3=1;var e=requireDist().Buffer,r=requireInherits_browser(),u=requireHashBase$2(),t=new Array(16),o=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],a=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],n=[0,1518500249,1859775393,2400959708,2840853838],i=[1352829926,1548603684,1836072691,2053994217,0];function s(){u.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function f(g,R){return g<<R|g>>>32-R}function d(g,R,S,w,q,I,P,O){return f(g+(R^S^w)+I+P|0,O)+q|0}function h(g,R,S,w,q,I,P,O){return f(g+(R&S|~R&w)+I+P|0,O)+q|0}function p(g,R,S,w,q,I,P,O){return f(g+((R|~S)^w)+I+P|0,O)+q|0}function b(g,R,S,w,q,I,P,O){return f(g+(R&w|S&~w)+I+P|0,O)+q|0}function y(g,R,S,w,q,I,P,O){return f(g+(R^(S|~w))+I+P|0,O)+q|0}return r(s,u),s.prototype._update=function(){for(var g=t,R=0;R<16;++R)g[R]=this._block.readInt32LE(4*R);for(var S=0|this._a,w=0|this._b,q=0|this._c,I=0|this._d,P=0|this._e,O=0|this._a,N=0|this._b,_=0|this._c,E=0|this._d,B=0|this._e,A=0;A<80;A+=1){var v,m;A<16?(v=d(S,w,q,I,P,g[o[A]],n[0],c[A]),m=y(O,N,_,E,B,g[l[A]],i[0],a[A])):A<32?(v=h(S,w,q,I,P,g[o[A]],n[1],c[A]),m=b(O,N,_,E,B,g[l[A]],i[1],a[A])):A<48?(v=p(S,w,q,I,P,g[o[A]],n[2],c[A]),m=p(O,N,_,E,B,g[l[A]],i[2],a[A])):A<64?(v=b(S,w,q,I,P,g[o[A]],n[3],c[A]),m=h(O,N,_,E,B,g[l[A]],i[3],a[A])):(v=y(S,w,q,I,P,g[o[A]],n[4],c[A]),m=d(O,N,_,E,B,g[l[A]],i[4],a[A])),S=P,P=I,I=f(q,10),q=w,w=v,O=B,B=E,E=f(_,10),_=N,N=m}var k=this._b+q+E|0;this._b=this._c+I+B|0,this._c=this._d+P+O|0,this._d=this._e+S+N|0,this._e=this._a+w+_|0,this._a=k},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var g=e.alloc?e.alloc(20):new e(20);return g.writeInt32LE(this._a,0),g.writeInt32LE(this._b,4),g.writeInt32LE(this._c,8),g.writeInt32LE(this._d,12),g.writeInt32LE(this._e,16),g},ripemd160$4=s}var sha_js={exports:{}},isarray$1,hasRequiredIsarray$1,callBound,hasRequiredCallBound,forEach,hasRequiredForEach,possibleTypedArrayNames,hasRequiredPossibleTypedArrayNames,availableTypedArrays,hasRequiredAvailableTypedArrays;function requireIsarray$1(){if(hasRequiredIsarray$1)return isarray$1;hasRequiredIsarray$1=1;var e={}.toString;return isarray$1=Array.isArray||function(r){return e.call(r)=="[object Array]"}}function requireCallBound(){if(hasRequiredCallBound)return callBound;hasRequiredCallBound=1;var e=requireGetIntrinsic(),r=requireCallBindApplyHelpers(),u=r([e("%String.prototype.indexOf%")]);return callBound=function(t,o){var l=e(t,!!o);return typeof l=="function"&&u(t,".prototype.")>-1?r([l]):l}}function requireForEach(){if(hasRequiredForEach)return forEach;hasRequiredForEach=1;var e=requireIsCallable(),r=Object.prototype.toString,u=Object.prototype.hasOwnProperty;return forEach=function(t,o,l){if(!e(o))throw new TypeError("iterator must be a function");var c,a;arguments.length>=3&&(c=l),a=t,r.call(a)==="[object Array]"?(function(n,i,s){for(var f=0,d=n.length;f<d;f++)u.call(n,f)&&(s==null?i(n[f],f,n):i.call(s,n[f],f,n))})(t,o,c):typeof t=="string"?(function(n,i,s){for(var f=0,d=n.length;f<d;f++)s==null?i(n.charAt(f),f,n):i.call(s,n.charAt(f),f,n)})(t,o,c):(function(n,i,s){for(var f in n)u.call(n,f)&&(s==null?i(n[f],f,n):i.call(s,n[f],f,n))})(t,o,c)},forEach}function requirePossibleTypedArrayNames(){return hasRequiredPossibleTypedArrayNames?possibleTypedArrayNames:(hasRequiredPossibleTypedArrayNames=1,possibleTypedArrayNames=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"])}function requireAvailableTypedArrays(){if(hasRequiredAvailableTypedArrays)return availableTypedArrays;hasRequiredAvailableTypedArrays=1;var e=requirePossibleTypedArrayNames(),r=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays=function(){for(var u=[],t=0;t<e.length;t++)typeof r[e[t]]=="function"&&(u[u.length]=e[t]);return u}}var callBind={exports:{}},defineDataProperty,hasRequiredDefineDataProperty,hasPropertyDescriptors_1,hasRequiredHasPropertyDescriptors,setFunctionLength,hasRequiredSetFunctionLength,applyBind,hasRequiredApplyBind,hasRequiredCallBind,shams,hasRequiredShams,whichTypedArray,hasRequiredWhichTypedArray,isTypedArray,hasRequiredIsTypedArray,typedArrayBuffer,hasRequiredTypedArrayBuffer,toBuffer$1,hasRequiredToBuffer$4,hash$1,hasRequiredHash$1,sha$1,hasRequiredSha$1,sha1$2,hasRequiredSha1$1,sha256$3,hasRequiredSha256$1,sha224$3,hasRequiredSha224$1,sha512$3,hasRequiredSha512$1,sha384$3,hasRequiredSha384$1,hasRequiredSha_js,cipherBase,hasRequiredCipherBase,browser$a,hasRequiredBrowser$a,legacy,hasRequiredLegacy,md5$3,hasRequiredMd5$2,browser$9,hasRequiredBrowser$9;function requireDefineDataProperty(){if(hasRequiredDefineDataProperty)return defineDataProperty;hasRequiredDefineDataProperty=1;var e=requireEsDefineProperty(),r=requireSyntax(),u=requireType(),t=requireGopd();return defineDataProperty=function(o,l,c){if(!o||typeof o!="object"&&typeof o!="function")throw new u("`obj` must be an object or a function`");if(typeof l!="string"&&typeof l!="symbol")throw new u("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new u("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new u("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new u("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new u("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,n=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,s=arguments.length>6&&arguments[6],f=!!t&&t(o,l);if(e)e(o,l,{configurable:i===null&&f?f.configurable:!i,enumerable:a===null&&f?f.enumerable:!a,value:c,writable:n===null&&f?f.writable:!n});else{if(!s&&(a||n||i))throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");o[l]=c}},defineDataProperty}function requireHasPropertyDescriptors(){if(hasRequiredHasPropertyDescriptors)return hasPropertyDescriptors_1;hasRequiredHasPropertyDescriptors=1;var e=requireEsDefineProperty(),r=function(){return!!e};return r.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},hasPropertyDescriptors_1=r}function requireSetFunctionLength(){if(hasRequiredSetFunctionLength)return setFunctionLength;hasRequiredSetFunctionLength=1;var e=requireGetIntrinsic(),r=requireDefineDataProperty(),u=requireHasPropertyDescriptors()(),t=requireGopd(),o=requireType(),l=e("%Math.floor%");return setFunctionLength=function(c,a){if(typeof c!="function")throw new o("`fn` is not a function");if(typeof a!="number"||a<0||a>4294967295||l(a)!==a)throw new o("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in c&&t){var f=t(c,"length");f&&!f.configurable&&(i=!1),f&&!f.writable&&(s=!1)}return(i||s||!n)&&(u?r(c,"length",a,!0,!0):r(c,"length",a)),c},setFunctionLength}function requireApplyBind(){if(hasRequiredApplyBind)return applyBind;hasRequiredApplyBind=1;var e=requireFunctionBind(),r=requireFunctionApply(),u=requireActualApply();return applyBind=function(){return u(e,r,arguments)},applyBind}function requireCallBind(){return hasRequiredCallBind||(hasRequiredCallBind=1,(function(e){var r=requireSetFunctionLength(),u=requireEsDefineProperty(),t=requireCallBindApplyHelpers(),o=requireApplyBind();e.exports=function(l){var c=t(arguments),a=l.length-(arguments.length-1);return r(c,1+(a>0?a:0),!0)},u?u(e.exports,"apply",{value:o}):e.exports.apply=o})(callBind)),callBind.exports}function requireShams(){if(hasRequiredShams)return shams;hasRequiredShams=1;var e=requireShams$2();return shams=function(){return e()&&!!Symbol.toStringTag}}function requireWhichTypedArray(){if(hasRequiredWhichTypedArray)return whichTypedArray;hasRequiredWhichTypedArray=1;var e=requireForEach(),r=requireAvailableTypedArrays(),u=requireCallBind(),t=requireCallBound(),o=requireGopd(),l=requireGetProto(),c=t("Object.prototype.toString"),a=requireShams()(),n=typeof globalThis>"u"?commonjsGlobal:globalThis,i=r(),s=t("String.prototype.slice"),f=t("Array.prototype.indexOf",!0)||function(h,p){for(var b=0;b<h.length;b+=1)if(h[b]===p)return b;return-1},d={__proto__:null};return e(i,a&&o&&l?function(h){var p=new n[h];if(Symbol.toStringTag in p&&l){var b=l(p),y=o(b,Symbol.toStringTag);if(!y&&b){var g=l(b);y=o(g,Symbol.toStringTag)}d["$"+h]=u(y.get)}}:function(h){var p=new n[h],b=p.slice||p.set;b&&(d["$"+h]=u(b))}),whichTypedArray=function(h){if(!h||typeof h!="object")return!1;if(!a){var p=s(c(h),8,-1);return f(i,p)>-1?p:p==="Object"&&(function(b){var y=!1;return e(d,(function(g,R){if(!y)try{g(b),y=s(R,1)}catch{}})),y})(h)}return o?(function(b){var y=!1;return e(d,(function(g,R){if(!y)try{"$"+g(b)===R&&(y=s(R,1))}catch{}})),y})(h):null}}function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray;hasRequiredIsTypedArray=1;var e=requireWhichTypedArray();return isTypedArray=function(r){return!!e(r)}}function requireTypedArrayBuffer(){if(hasRequiredTypedArrayBuffer)return typedArrayBuffer;hasRequiredTypedArrayBuffer=1;var e=requireType(),r=requireCallBound()("TypedArray.prototype.buffer",!0),u=requireIsTypedArray();return typedArrayBuffer=r||function(t){if(!u(t))throw new e("Not a Typed Array");return t.buffer}}function requireToBuffer$4(){if(hasRequiredToBuffer$4)return toBuffer$1;hasRequiredToBuffer$4=1;var e=requireSafeBuffer$1().Buffer,r=requireIsarray$1(),u=requireTypedArrayBuffer(),t=ArrayBuffer.isView||function(a){try{return u(a),!0}catch{return!1}},o=typeof Uint8Array<"u",l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",c=l&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return toBuffer$1=function(a,n){if(a instanceof e)return a;if(typeof a=="string")return e.from(a,n);if(l&&t(a)){if(a.byteLength===0)return e.alloc(0);if(c){var i=e.from(a.buffer,a.byteOffset,a.byteLength);if(i.byteLength===a.byteLength)return i}var s=a instanceof Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),f=e.from(s);if(f.length===a.byteLength)return f}if(o&&a instanceof Uint8Array)return e.from(a);var d=r(a);if(d)for(var h=0;h<a.length;h+=1){var p=a[h];if(typeof p!="number"||p<0||p>255||~~p!==p)throw new RangeError("Array items must be numbers in the range 0-255.")}if(d||e.isBuffer(a)&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a))return e.from(a);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},toBuffer$1}function requireHash$1(){if(hasRequiredHash$1)return hash$1;hasRequiredHash$1=1;var e=requireSafeBuffer$1().Buffer,r=requireToBuffer$4();function u(t,o){this._block=e.alloc(t),this._finalSize=o,this._blockSize=t,this._len=0}return u.prototype.update=function(t,o){t=r(t,o||"utf8");for(var l=this._block,c=this._blockSize,a=t.length,n=this._len,i=0;i<a;){for(var s=n%c,f=Math.min(a-i,c-s),d=0;d<f;d++)l[s+d]=t[i+d];i+=f,(n+=f)%c==0&&this._update(l)}return this._len+=a,this},u.prototype.digest=function(t){var o=this._len%this._blockSize;this._block[o]=128,this._block.fill(0,o+1),o>=this._finalSize&&(this._update(this._block),this._block.fill(0));var l=8*this._len;if(l<=4294967295)this._block.writeUInt32BE(l,this._blockSize-4);else{var c=(4294967295&l)>>>0,a=(l-c)/4294967296;this._block.writeUInt32BE(a,this._blockSize-8),this._block.writeUInt32BE(c,this._blockSize-4)}this._update(this._block);var n=this._hash();return t?n.toString(t):n},u.prototype._update=function(){throw new Error("_update must be implemented by subclass")},hash$1=u}function requireSha$1(){if(hasRequiredSha$1)return sha$1;hasRequiredSha$1=1;var e=requireInherits_browser(),r=requireHash$1(),u=requireSafeBuffer$1().Buffer,t=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function l(){this.init(),this._w=o,r.call(this,64,56)}function c(n){return n<<30|n>>>2}function a(n,i,s,f){return n===0?i&s|~i&f:n===2?i&s|i&f|s&f:i^s^f}return e(l,r),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(n){for(var i,s=this._w,f=0|this._a,d=0|this._b,h=0|this._c,p=0|this._d,b=0|this._e,y=0;y<16;++y)s[y]=n.readInt32BE(4*y);for(;y<80;++y)s[y]=s[y-3]^s[y-8]^s[y-14]^s[y-16];for(var g=0;g<80;++g){var R=~~(g/20),S=0|((i=f)<<5|i>>>27)+a(R,d,h,p)+b+s[g]+t[R];b=p,p=h,h=c(d),d=f,f=S}this._a=f+this._a|0,this._b=d+this._b|0,this._c=h+this._c|0,this._d=p+this._d|0,this._e=b+this._e|0},l.prototype._hash=function(){var n=u.allocUnsafe(20);return n.writeInt32BE(0|this._a,0),n.writeInt32BE(0|this._b,4),n.writeInt32BE(0|this._c,8),n.writeInt32BE(0|this._d,12),n.writeInt32BE(0|this._e,16),n},sha$1=l}function requireSha1$1(){if(hasRequiredSha1$1)return sha1$2;hasRequiredSha1$1=1;var e=requireInherits_browser(),r=requireHash$1(),u=requireSafeBuffer$1().Buffer,t=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function l(){this.init(),this._w=o,r.call(this,64,56)}function c(i){return i<<5|i>>>27}function a(i){return i<<30|i>>>2}function n(i,s,f,d){return i===0?s&f|~s&d:i===2?s&f|s&d|f&d:s^f^d}return e(l,r),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(i){for(var s,f=this._w,d=0|this._a,h=0|this._b,p=0|this._c,b=0|this._d,y=0|this._e,g=0;g<16;++g)f[g]=i.readInt32BE(4*g);for(;g<80;++g)f[g]=(s=f[g-3]^f[g-8]^f[g-14]^f[g-16])<<1|s>>>31;for(var R=0;R<80;++R){var S=~~(R/20),w=c(d)+n(S,h,p,b)+y+f[R]+t[S]|0;y=b,b=p,p=a(h),h=d,d=w}this._a=d+this._a|0,this._b=h+this._b|0,this._c=p+this._c|0,this._d=b+this._d|0,this._e=y+this._e|0},l.prototype._hash=function(){var i=u.allocUnsafe(20);return i.writeInt32BE(0|this._a,0),i.writeInt32BE(0|this._b,4),i.writeInt32BE(0|this._c,8),i.writeInt32BE(0|this._d,12),i.writeInt32BE(0|this._e,16),i},sha1$2=l}function requireSha256$1(){if(hasRequiredSha256$1)return sha256$3;hasRequiredSha256$1=1;var e=requireInherits_browser(),r=requireHash$1(),u=requireSafeBuffer$1().Buffer,t=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],o=new Array(64);function l(){this.init(),this._w=o,r.call(this,64,56)}function c(f,d,h){return h^f&(d^h)}function a(f,d,h){return f&d|h&(f|d)}function n(f){return(f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10)}function i(f){return(f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7)}function s(f){return(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3}return e(l,r),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(f){for(var d,h=this._w,p=0|this._a,b=0|this._b,y=0|this._c,g=0|this._d,R=0|this._e,S=0|this._f,w=0|this._g,q=0|this._h,I=0;I<16;++I)h[I]=f.readInt32BE(4*I);for(;I<64;++I)h[I]=0|(((d=h[I-2])>>>17|d<<15)^(d>>>19|d<<13)^d>>>10)+h[I-7]+s(h[I-15])+h[I-16];for(var P=0;P<64;++P){var O=q+i(R)+c(R,S,w)+t[P]+h[P]|0,N=n(p)+a(p,b,y)|0;q=w,w=S,S=R,R=g+O|0,g=y,y=b,b=p,p=O+N|0}this._a=p+this._a|0,this._b=b+this._b|0,this._c=y+this._c|0,this._d=g+this._d|0,this._e=R+this._e|0,this._f=S+this._f|0,this._g=w+this._g|0,this._h=q+this._h|0},l.prototype._hash=function(){var f=u.allocUnsafe(32);return f.writeInt32BE(this._a,0),f.writeInt32BE(this._b,4),f.writeInt32BE(this._c,8),f.writeInt32BE(this._d,12),f.writeInt32BE(this._e,16),f.writeInt32BE(this._f,20),f.writeInt32BE(this._g,24),f.writeInt32BE(this._h,28),f},sha256$3=l}function requireSha224$1(){if(hasRequiredSha224$1)return sha224$3;hasRequiredSha224$1=1;var e=requireInherits_browser(),r=requireSha256$1(),u=requireHash$1(),t=requireSafeBuffer$1().Buffer,o=new Array(64);function l(){this.init(),this._w=o,u.call(this,64,56)}return e(l,r),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var c=t.allocUnsafe(28);return c.writeInt32BE(this._a,0),c.writeInt32BE(this._b,4),c.writeInt32BE(this._c,8),c.writeInt32BE(this._d,12),c.writeInt32BE(this._e,16),c.writeInt32BE(this._f,20),c.writeInt32BE(this._g,24),c},sha224$3=l}function requireSha512$1(){if(hasRequiredSha512$1)return sha512$3;hasRequiredSha512$1=1;var e=requireInherits_browser(),r=requireHash$1(),u=requireSafeBuffer$1().Buffer,t=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],o=new Array(160);function l(){this.init(),this._w=o,r.call(this,128,112)}function c(b,y,g){return g^b&(y^g)}function a(b,y,g){return b&y|g&(b|y)}function n(b,y){return(b>>>28|y<<4)^(y>>>2|b<<30)^(y>>>7|b<<25)}function i(b,y){return(b>>>14|y<<18)^(b>>>18|y<<14)^(y>>>9|b<<23)}function s(b,y){return(b>>>1|y<<31)^(b>>>8|y<<24)^b>>>7}function f(b,y){return(b>>>1|y<<31)^(b>>>8|y<<24)^(b>>>7|y<<25)}function d(b,y){return(b>>>19|y<<13)^(y>>>29|b<<3)^b>>>6}function h(b,y){return(b>>>19|y<<13)^(y>>>29|b<<3)^(b>>>6|y<<26)}function p(b,y){return b>>>0<y>>>0?1:0}return e(l,r),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(b){for(var y=this._w,g=0|this._ah,R=0|this._bh,S=0|this._ch,w=0|this._dh,q=0|this._eh,I=0|this._fh,P=0|this._gh,O=0|this._hh,N=0|this._al,_=0|this._bl,E=0|this._cl,B=0|this._dl,A=0|this._el,v=0|this._fl,m=0|this._gl,k=0|this._hl,L=0;L<32;L+=2)y[L]=b.readInt32BE(4*L),y[L+1]=b.readInt32BE(4*L+4);for(;L<160;L+=2){var F=y[L-30],j=y[L-30+1],U=s(F,j),D=f(j,F),x=d(F=y[L-4],j=y[L-4+1]),T=h(j,F),G=y[L-14],K=y[L-14+1],ee=y[L-32],Z=y[L-32+1],V=D+K|0,Q=U+G+p(V,D)|0;Q=(Q=Q+x+p(V=V+T|0,T)|0)+ee+p(V=V+Z|0,Z)|0,y[L]=Q,y[L+1]=V}for(var Y=0;Y<160;Y+=2){Q=y[Y],V=y[Y+1];var J=a(g,R,S),oe=a(N,_,E),se=n(g,N),ne=n(N,g),_e=i(q,A),te=i(A,q),ie=t[Y],ye=t[Y+1],ue=c(q,I,P),fe=c(A,v,m),me=k+te|0,le=O+_e+p(me,k)|0;le=(le=(le=le+ue+p(me=me+fe|0,fe)|0)+ie+p(me=me+ye|0,ye)|0)+Q+p(me=me+V|0,V)|0;var he=ne+oe|0,Ee=se+J+p(he,ne)|0;O=P,k=m,P=I,m=v,I=q,v=A,q=w+le+p(A=B+me|0,B)|0,w=S,B=E,S=R,E=_,R=g,_=N,g=le+Ee+p(N=me+he|0,me)|0}this._al=this._al+N|0,this._bl=this._bl+_|0,this._cl=this._cl+E|0,this._dl=this._dl+B|0,this._el=this._el+A|0,this._fl=this._fl+v|0,this._gl=this._gl+m|0,this._hl=this._hl+k|0,this._ah=this._ah+g+p(this._al,N)|0,this._bh=this._bh+R+p(this._bl,_)|0,this._ch=this._ch+S+p(this._cl,E)|0,this._dh=this._dh+w+p(this._dl,B)|0,this._eh=this._eh+q+p(this._el,A)|0,this._fh=this._fh+I+p(this._fl,v)|0,this._gh=this._gh+P+p(this._gl,m)|0,this._hh=this._hh+O+p(this._hl,k)|0},l.prototype._hash=function(){var b=u.allocUnsafe(64);function y(g,R,S){b.writeInt32BE(g,S),b.writeInt32BE(R,S+4)}return y(this._ah,this._al,0),y(this._bh,this._bl,8),y(this._ch,this._cl,16),y(this._dh,this._dl,24),y(this._eh,this._el,32),y(this._fh,this._fl,40),y(this._gh,this._gl,48),y(this._hh,this._hl,56),b},sha512$3=l}function requireSha384$1(){if(hasRequiredSha384$1)return sha384$3;hasRequiredSha384$1=1;var e=requireInherits_browser(),r=requireSha512$1(),u=requireHash$1(),t=requireSafeBuffer$1().Buffer,o=new Array(160);function l(){this.init(),this._w=o,u.call(this,128,112)}return e(l,r),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var c=t.allocUnsafe(48);function a(n,i,s){c.writeInt32BE(n,s),c.writeInt32BE(i,s+4)}return a(this._ah,this._al,0),a(this._bh,this._bl,8),a(this._ch,this._cl,16),a(this._dh,this._dl,24),a(this._eh,this._el,32),a(this._fh,this._fl,40),c},sha384$3=l}function requireSha_js(){return hasRequiredSha_js||(hasRequiredSha_js=1,(e=sha_js).exports=function(r){var u=r.toLowerCase(),t=e.exports[u];if(!t)throw new Error(u+" is not supported (we accept pull requests)");return new t},e.exports.sha=requireSha$1(),e.exports.sha1=requireSha1$1(),e.exports.sha224=requireSha224$1(),e.exports.sha256=requireSha256$1(),e.exports.sha384=requireSha384$1(),e.exports.sha512=requireSha512$1()),sha_js.exports;var e}function requireCipherBase(){if(hasRequiredCipherBase)return cipherBase;hasRequiredCipherBase=1;var e=requireSafeBuffer$1().Buffer,r=requireStreamBrowserify().Transform,u=requireString_decoder().StringDecoder;function t(c){r.call(this),this.hashMode=typeof c=="string",this.hashMode?this[c]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}requireInherits_browser()(t,r);var o=typeof Uint8Array<"u",l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return t.prototype.update=function(c,a,n){var i=(function(f,d){if(f instanceof e)return f;if(typeof f=="string")return e.from(f,d);if(l&&ArrayBuffer.isView(f)){if(f.byteLength===0)return e.alloc(0);var h=e.from(f.buffer,f.byteOffset,f.byteLength);if(h.byteLength===f.byteLength)return h}if(o&&f instanceof Uint8Array||e.isBuffer(f)&&f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f))return e.from(f);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')})(c,a),s=this._update(i);return this.hashMode?this:(n&&(s=this._toString(s,n)),s)},t.prototype.setAutoPadding=function(){},t.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},t.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},t.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},t.prototype._transform=function(c,a,n){var i;try{this.hashMode?this._update(c):this.push(this._update(c))}catch(s){i=s}finally{n(i)}},t.prototype._flush=function(c){var a;try{this.push(this.__final())}catch(n){a=n}c(a)},t.prototype._finalOrDigest=function(c){var a=this.__final()||e.alloc(0);return c&&(a=this._toString(a,c,!0)),a},t.prototype._toString=function(c,a,n){if(this._decoder||(this._decoder=new u(a),this._encoding=a),this._encoding!==a)throw new Error("can’t switch encodings");var i=this._decoder.write(c);return n&&(i+=this._decoder.end()),i},cipherBase=t}function requireBrowser$a(){if(hasRequiredBrowser$a)return browser$a;hasRequiredBrowser$a=1;var e=requireInherits_browser(),r=requireMd5_js(),u=requireRipemd160$3(),t=requireSha_js(),o=requireCipherBase();function l(c){o.call(this,"digest"),this._hash=c}return e(l,o),l.prototype._update=function(c){this._hash.update(c)},l.prototype._final=function(){return this._hash.digest()},browser$a=function(c){return(c=c.toLowerCase())==="md5"?new r:c==="rmd160"||c==="ripemd160"?new u:new l(t(c))}}function requireLegacy(){if(hasRequiredLegacy)return legacy;hasRequiredLegacy=1;var e=requireInherits_browser(),r=requireSafeBuffer$1().Buffer,u=requireCipherBase(),t=r.alloc(128),o=64;function l(c,a){u.call(this,"digest"),typeof a=="string"&&(a=r.from(a)),this._alg=c,this._key=a,a.length>o?a=c(a):a.length<o&&(a=r.concat([a,t],o));for(var n=this._ipad=r.allocUnsafe(o),i=this._opad=r.allocUnsafe(o),s=0;s<o;s++)n[s]=54^a[s],i[s]=92^a[s];this._hash=[n]}return e(l,u),l.prototype._update=function(c){this._hash.push(c)},l.prototype._final=function(){var c=this._alg(r.concat(this._hash));return this._alg(r.concat([this._opad,c]))},legacy=l}function requireMd5$2(){if(hasRequiredMd5$2)return md5$3;hasRequiredMd5$2=1;var e=requireMd5_js();return md5$3=function(r){return new e().update(r).digest()},md5$3}function requireBrowser$9(){if(hasRequiredBrowser$9)return browser$9;hasRequiredBrowser$9=1;var e=requireInherits_browser(),r=requireLegacy(),u=requireCipherBase(),t=requireSafeBuffer$1().Buffer,o=requireMd5$2(),l=requireRipemd160$3(),c=requireSha_js(),a=t.alloc(128);function n(i,s){u.call(this,"digest"),typeof s=="string"&&(s=t.from(s));var f=i==="sha512"||i==="sha384"?128:64;this._alg=i,this._key=s,s.length>f?s=(i==="rmd160"?new l:c(i)).update(s).digest():s.length<f&&(s=t.concat([s,a],f));for(var d=this._ipad=t.allocUnsafe(f),h=this._opad=t.allocUnsafe(f),p=0;p<f;p++)d[p]=54^s[p],h[p]=92^s[p];this._hash=i==="rmd160"?new l:c(i),this._hash.update(d)}return e(n,u),n.prototype._update=function(i){this._hash.update(i)},n.prototype._final=function(){var i=this._hash.digest();return(this._alg==="rmd160"?new l:c(this._alg)).update(this._opad).update(i).digest()},browser$9=function(i,s){return(i=i.toLowerCase())==="rmd160"||i==="ripemd160"?new n("rmd160",s):i==="md5"?new r(o,s):new n(i,s)},browser$9}const sha224WithRSAEncryption={sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption={sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption={sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption={sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},sha256$2={sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha224$2={sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha384$2={sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512$2={sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},DSA={sign:"dsa",hash:"sha1",id:""},ripemd160WithRSA={sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption={sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},require$$6={sha224WithRSAEncryption,"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption,"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption,"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption,"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:sha256$2,sha224:sha224$2,sha384:sha384$2,sha512:sha512$2,"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA,"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA,"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption,"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}};var algos,hasRequiredAlgos;function requireAlgos(){return hasRequiredAlgos?algos:(hasRequiredAlgos=1,algos=require$$6)}var browser$8={},precondition$1,hasRequiredPrecondition$1,defaultEncoding_1$1,hasRequiredDefaultEncoding$1,makeHash,hasRequiredMakeHash,md5$2,hasRequiredMd5$1,hashBase$1,hasRequiredHashBase$1,ripemd160$3,hasRequiredRipemd160$2,toBuffer_1$2,hasRequiredToBuffer$3,syncBrowser$1,hasRequiredSyncBrowser$1,async$1,hasRequiredAsync$1,hasRequiredBrowser$8;function requirePrecondition$1(){if(hasRequiredPrecondition$1)return precondition$1;hasRequiredPrecondition$1=1;var e=Math.pow(2,30)-1;return precondition$1=function(r,u){if(typeof r!="number")throw new TypeError("Iterations not a number");if(r<0)throw new TypeError("Bad iterations");if(typeof u!="number")throw new TypeError("Key length not a number");if(u<0||u>e||u!=u)throw new TypeError("Bad key length")}}function requireDefaultEncoding$1(){if(hasRequiredDefaultEncoding$1)return defaultEncoding_1$1;var e;return hasRequiredDefaultEncoding$1=1,commonjsGlobal.process&&commonjsGlobal.process.browser?e="utf-8":commonjsGlobal.process&&commonjsGlobal.process.version?e=parseInt(process$1.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":e="utf-8",defaultEncoding_1$1=e}function requireMakeHash(){if(hasRequiredMakeHash)return makeHash;hasRequiredMakeHash=1;var e=new Buffer(4);return e.fill(0),makeHash=function(r,u){var t=u((function(l){if(l.length%4!=0){var c=l.length+(4-l.length%4);l=Buffer.concat([l,e],c)}for(var a=new Array(l.length>>>2),n=0,i=0;n<l.length;n+=4,i++)a[i]=l.readInt32LE(n);return a})(r),8*r.length);r=new Buffer(16);for(var o=0;o<t.length;o++)r.writeInt32LE(t[o],o<<2,!0);return r}}function requireMd5$1(){if(hasRequiredMd5$1)return md5$2;hasRequiredMd5$1=1;var e=requireMakeHash();function r(n,i){n[i>>5]|=128<<i%32,n[14+(i+64>>>9<<4)]=i;for(var s=1732584193,f=-271733879,d=-1732584194,h=271733878,p=0;p<n.length;p+=16){var b=s,y=f,g=d,R=h;s=t(s,f,d,h,n[p+0],7,-680876936),h=t(h,s,f,d,n[p+1],12,-389564586),d=t(d,h,s,f,n[p+2],17,606105819),f=t(f,d,h,s,n[p+3],22,-1044525330),s=t(s,f,d,h,n[p+4],7,-176418897),h=t(h,s,f,d,n[p+5],12,1200080426),d=t(d,h,s,f,n[p+6],17,-1473231341),f=t(f,d,h,s,n[p+7],22,-45705983),s=t(s,f,d,h,n[p+8],7,1770035416),h=t(h,s,f,d,n[p+9],12,-1958414417),d=t(d,h,s,f,n[p+10],17,-42063),f=t(f,d,h,s,n[p+11],22,-1990404162),s=t(s,f,d,h,n[p+12],7,1804603682),h=t(h,s,f,d,n[p+13],12,-40341101),d=t(d,h,s,f,n[p+14],17,-1502002290),s=o(s,f=t(f,d,h,s,n[p+15],22,1236535329),d,h,n[p+1],5,-165796510),h=o(h,s,f,d,n[p+6],9,-1069501632),d=o(d,h,s,f,n[p+11],14,643717713),f=o(f,d,h,s,n[p+0],20,-373897302),s=o(s,f,d,h,n[p+5],5,-701558691),h=o(h,s,f,d,n[p+10],9,38016083),d=o(d,h,s,f,n[p+15],14,-660478335),f=o(f,d,h,s,n[p+4],20,-405537848),s=o(s,f,d,h,n[p+9],5,568446438),h=o(h,s,f,d,n[p+14],9,-1019803690),d=o(d,h,s,f,n[p+3],14,-187363961),f=o(f,d,h,s,n[p+8],20,1163531501),s=o(s,f,d,h,n[p+13],5,-1444681467),h=o(h,s,f,d,n[p+2],9,-51403784),d=o(d,h,s,f,n[p+7],14,1735328473),s=l(s,f=o(f,d,h,s,n[p+12],20,-1926607734),d,h,n[p+5],4,-378558),h=l(h,s,f,d,n[p+8],11,-2022574463),d=l(d,h,s,f,n[p+11],16,1839030562),f=l(f,d,h,s,n[p+14],23,-35309556),s=l(s,f,d,h,n[p+1],4,-1530992060),h=l(h,s,f,d,n[p+4],11,1272893353),d=l(d,h,s,f,n[p+7],16,-155497632),f=l(f,d,h,s,n[p+10],23,-1094730640),s=l(s,f,d,h,n[p+13],4,681279174),h=l(h,s,f,d,n[p+0],11,-358537222),d=l(d,h,s,f,n[p+3],16,-722521979),f=l(f,d,h,s,n[p+6],23,76029189),s=l(s,f,d,h,n[p+9],4,-640364487),h=l(h,s,f,d,n[p+12],11,-421815835),d=l(d,h,s,f,n[p+15],16,530742520),s=c(s,f=l(f,d,h,s,n[p+2],23,-995338651),d,h,n[p+0],6,-198630844),h=c(h,s,f,d,n[p+7],10,1126891415),d=c(d,h,s,f,n[p+14],15,-1416354905),f=c(f,d,h,s,n[p+5],21,-57434055),s=c(s,f,d,h,n[p+12],6,1700485571),h=c(h,s,f,d,n[p+3],10,-1894986606),d=c(d,h,s,f,n[p+10],15,-1051523),f=c(f,d,h,s,n[p+1],21,-2054922799),s=c(s,f,d,h,n[p+8],6,1873313359),h=c(h,s,f,d,n[p+15],10,-30611744),d=c(d,h,s,f,n[p+6],15,-1560198380),f=c(f,d,h,s,n[p+13],21,1309151649),s=c(s,f,d,h,n[p+4],6,-145523070),h=c(h,s,f,d,n[p+11],10,-1120210379),d=c(d,h,s,f,n[p+2],15,718787259),f=c(f,d,h,s,n[p+9],21,-343485551),s=a(s,b),f=a(f,y),d=a(d,g),h=a(h,R)}return[s,f,d,h]}function u(n,i,s,f,d,h){return a((p=a(a(i,n),a(f,h)))<<(b=d)|p>>>32-b,s);var p,b}function t(n,i,s,f,d,h,p){return u(i&s|~i&f,n,i,d,h,p)}function o(n,i,s,f,d,h,p){return u(i&f|s&~f,n,i,d,h,p)}function l(n,i,s,f,d,h,p){return u(i^s^f,n,i,d,h,p)}function c(n,i,s,f,d,h,p){return u(s^(i|~f),n,i,d,h,p)}function a(n,i){var s=(65535&n)+(65535&i);return(n>>16)+(i>>16)+(s>>16)<<16|65535&s}return md5$2=function(n){return e(n,r)}}function requireHashBase$1(){if(hasRequiredHashBase$1)return hashBase$1;hasRequiredHashBase$1=1;var e=requireStreamBrowserify().Transform;function r(u){e.call(this),this._block=new Buffer(u),this._blockSize=u,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}return requireInherits_browser()(r,e),r.prototype._transform=function(u,t,o){var l=null;try{t!=="buffer"&&(u=new Buffer(u,t)),this.update(u)}catch(c){l=c}o(l)},r.prototype._flush=function(u){var t=null;try{this.push(this._digest())}catch(o){t=o}u(t)},r.prototype.update=function(u,t){if(!Buffer.isBuffer(u)&&typeof u!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");Buffer.isBuffer(u)||(u=new Buffer(u,t||"binary"));for(var o=this._block,l=0;this._blockOffset+u.length-l>=this._blockSize;){for(var c=this._blockOffset;c<this._blockSize;)o[c++]=u[l++];this._update(),this._blockOffset=0}for(;l<u.length;)o[this._blockOffset++]=u[l++];for(var a=0,n=8*u.length;n>0;++a)this._length[a]+=n,(n=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*n);return this},r.prototype._update=function(u){throw new Error("_update is not implemented")},r.prototype.digest=function(u){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();return u!==void 0&&(t=t.toString(u)),t},r.prototype._digest=function(){throw new Error("_digest is not implemented")},hashBase$1=r}function requireRipemd160$2(){if(hasRequiredRipemd160$2)return ripemd160$3;hasRequiredRipemd160$2=1;var e=requireInherits_browser(),r=requireHashBase$1();function u(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function t(i,s){return i<<s|i>>>32-s}function o(i,s,f,d,h,p,b,y){return t(i+(s^f^d)+p+b|0,y)+h|0}function l(i,s,f,d,h,p,b,y){return t(i+(s&f|~s&d)+p+b|0,y)+h|0}function c(i,s,f,d,h,p,b,y){return t(i+((s|~f)^d)+p+b|0,y)+h|0}function a(i,s,f,d,h,p,b,y){return t(i+(s&d|f&~d)+p+b|0,y)+h|0}function n(i,s,f,d,h,p,b,y){return t(i+(s^(f|~d))+p+b|0,y)+h|0}return e(u,r),u.prototype._update=function(){for(var i=new Array(16),s=0;s<16;++s)i[s]=this._block.readInt32LE(4*s);var f=this._a,d=this._b,h=this._c,p=this._d,b=this._e;f=o(f,d,h,p,b,i[0],0,11),b=o(b,f,d,h=t(h,10),p,i[1],0,14),p=o(p,b,f,d=t(d,10),h,i[2],0,15),h=o(h,p,b,f=t(f,10),d,i[3],0,12),d=o(d,h,p,b=t(b,10),f,i[4],0,5),f=o(f,d,h,p=t(p,10),b,i[5],0,8),b=o(b,f,d,h=t(h,10),p,i[6],0,7),p=o(p,b,f,d=t(d,10),h,i[7],0,9),h=o(h,p,b,f=t(f,10),d,i[8],0,11),d=o(d,h,p,b=t(b,10),f,i[9],0,13),f=o(f,d,h,p=t(p,10),b,i[10],0,14),b=o(b,f,d,h=t(h,10),p,i[11],0,15),p=o(p,b,f,d=t(d,10),h,i[12],0,6),h=o(h,p,b,f=t(f,10),d,i[13],0,7),d=o(d,h,p,b=t(b,10),f,i[14],0,9),b=l(b,f=o(f,d,h,p=t(p,10),b,i[15],0,8),d,h=t(h,10),p,i[7],1518500249,7),p=l(p,b,f,d=t(d,10),h,i[4],1518500249,6),h=l(h,p,b,f=t(f,10),d,i[13],1518500249,8),d=l(d,h,p,b=t(b,10),f,i[1],1518500249,13),f=l(f,d,h,p=t(p,10),b,i[10],1518500249,11),b=l(b,f,d,h=t(h,10),p,i[6],1518500249,9),p=l(p,b,f,d=t(d,10),h,i[15],1518500249,7),h=l(h,p,b,f=t(f,10),d,i[3],1518500249,15),d=l(d,h,p,b=t(b,10),f,i[12],1518500249,7),f=l(f,d,h,p=t(p,10),b,i[0],1518500249,12),b=l(b,f,d,h=t(h,10),p,i[9],1518500249,15),p=l(p,b,f,d=t(d,10),h,i[5],1518500249,9),h=l(h,p,b,f=t(f,10),d,i[2],1518500249,11),d=l(d,h,p,b=t(b,10),f,i[14],1518500249,7),f=l(f,d,h,p=t(p,10),b,i[11],1518500249,13),p=c(p,b=l(b,f,d,h=t(h,10),p,i[8],1518500249,12),f,d=t(d,10),h,i[3],1859775393,11),h=c(h,p,b,f=t(f,10),d,i[10],1859775393,13),d=c(d,h,p,b=t(b,10),f,i[14],1859775393,6),f=c(f,d,h,p=t(p,10),b,i[4],1859775393,7),b=c(b,f,d,h=t(h,10),p,i[9],1859775393,14),p=c(p,b,f,d=t(d,10),h,i[15],1859775393,9),h=c(h,p,b,f=t(f,10),d,i[8],1859775393,13),d=c(d,h,p,b=t(b,10),f,i[1],1859775393,15),f=c(f,d,h,p=t(p,10),b,i[2],1859775393,14),b=c(b,f,d,h=t(h,10),p,i[7],1859775393,8),p=c(p,b,f,d=t(d,10),h,i[0],1859775393,13),h=c(h,p,b,f=t(f,10),d,i[6],1859775393,6),d=c(d,h,p,b=t(b,10),f,i[13],1859775393,5),f=c(f,d,h,p=t(p,10),b,i[11],1859775393,12),b=c(b,f,d,h=t(h,10),p,i[5],1859775393,7),h=a(h,p=c(p,b,f,d=t(d,10),h,i[12],1859775393,5),b,f=t(f,10),d,i[1],2400959708,11),d=a(d,h,p,b=t(b,10),f,i[9],2400959708,12),f=a(f,d,h,p=t(p,10),b,i[11],2400959708,14),b=a(b,f,d,h=t(h,10),p,i[10],2400959708,15),p=a(p,b,f,d=t(d,10),h,i[0],2400959708,14),h=a(h,p,b,f=t(f,10),d,i[8],2400959708,15),d=a(d,h,p,b=t(b,10),f,i[12],2400959708,9),f=a(f,d,h,p=t(p,10),b,i[4],2400959708,8),b=a(b,f,d,h=t(h,10),p,i[13],2400959708,9),p=a(p,b,f,d=t(d,10),h,i[3],2400959708,14),h=a(h,p,b,f=t(f,10),d,i[7],2400959708,5),d=a(d,h,p,b=t(b,10),f,i[15],2400959708,6),f=a(f,d,h,p=t(p,10),b,i[14],2400959708,8),b=a(b,f,d,h=t(h,10),p,i[5],2400959708,6),p=a(p,b,f,d=t(d,10),h,i[6],2400959708,5),d=n(d,h=a(h,p,b,f=t(f,10),d,i[2],2400959708,12),p,b=t(b,10),f,i[4],2840853838,9),f=n(f,d,h,p=t(p,10),b,i[0],2840853838,15),b=n(b,f,d,h=t(h,10),p,i[5],2840853838,5),p=n(p,b,f,d=t(d,10),h,i[9],2840853838,11),h=n(h,p,b,f=t(f,10),d,i[7],2840853838,6),d=n(d,h,p,b=t(b,10),f,i[12],2840853838,8),f=n(f,d,h,p=t(p,10),b,i[2],2840853838,13),b=n(b,f,d,h=t(h,10),p,i[10],2840853838,12),p=n(p,b,f,d=t(d,10),h,i[14],2840853838,5),h=n(h,p,b,f=t(f,10),d,i[1],2840853838,12),d=n(d,h,p,b=t(b,10),f,i[3],2840853838,13),f=n(f,d,h,p=t(p,10),b,i[8],2840853838,14),b=n(b,f,d,h=t(h,10),p,i[11],2840853838,11),p=n(p,b,f,d=t(d,10),h,i[6],2840853838,8),h=n(h,p,b,f=t(f,10),d,i[15],2840853838,5),d=n(d,h,p,b=t(b,10),f,i[13],2840853838,6),p=t(p,10);var y=this._a,g=this._b,R=this._c,S=this._d,w=this._e;y=n(y,g,R,S,w,i[5],1352829926,8),w=n(w,y,g,R=t(R,10),S,i[14],1352829926,9),S=n(S,w,y,g=t(g,10),R,i[7],1352829926,9),R=n(R,S,w,y=t(y,10),g,i[0],1352829926,11),g=n(g,R,S,w=t(w,10),y,i[9],1352829926,13),y=n(y,g,R,S=t(S,10),w,i[2],1352829926,15),w=n(w,y,g,R=t(R,10),S,i[11],1352829926,15),S=n(S,w,y,g=t(g,10),R,i[4],1352829926,5),R=n(R,S,w,y=t(y,10),g,i[13],1352829926,7),g=n(g,R,S,w=t(w,10),y,i[6],1352829926,7),y=n(y,g,R,S=t(S,10),w,i[15],1352829926,8),w=n(w,y,g,R=t(R,10),S,i[8],1352829926,11),S=n(S,w,y,g=t(g,10),R,i[1],1352829926,14),R=n(R,S,w,y=t(y,10),g,i[10],1352829926,14),g=n(g,R,S,w=t(w,10),y,i[3],1352829926,12),w=a(w,y=n(y,g,R,S=t(S,10),w,i[12],1352829926,6),g,R=t(R,10),S,i[6],1548603684,9),S=a(S,w,y,g=t(g,10),R,i[11],1548603684,13),R=a(R,S,w,y=t(y,10),g,i[3],1548603684,15),g=a(g,R,S,w=t(w,10),y,i[7],1548603684,7),y=a(y,g,R,S=t(S,10),w,i[0],1548603684,12),w=a(w,y,g,R=t(R,10),S,i[13],1548603684,8),S=a(S,w,y,g=t(g,10),R,i[5],1548603684,9),R=a(R,S,w,y=t(y,10),g,i[10],1548603684,11),g=a(g,R,S,w=t(w,10),y,i[14],1548603684,7),y=a(y,g,R,S=t(S,10),w,i[15],1548603684,7),w=a(w,y,g,R=t(R,10),S,i[8],1548603684,12),S=a(S,w,y,g=t(g,10),R,i[12],1548603684,7),R=a(R,S,w,y=t(y,10),g,i[4],1548603684,6),g=a(g,R,S,w=t(w,10),y,i[9],1548603684,15),y=a(y,g,R,S=t(S,10),w,i[1],1548603684,13),S=c(S,w=a(w,y,g,R=t(R,10),S,i[2],1548603684,11),y,g=t(g,10),R,i[15],1836072691,9),R=c(R,S,w,y=t(y,10),g,i[5],1836072691,7),g=c(g,R,S,w=t(w,10),y,i[1],1836072691,15),y=c(y,g,R,S=t(S,10),w,i[3],1836072691,11),w=c(w,y,g,R=t(R,10),S,i[7],1836072691,8),S=c(S,w,y,g=t(g,10),R,i[14],1836072691,6),R=c(R,S,w,y=t(y,10),g,i[6],1836072691,6),g=c(g,R,S,w=t(w,10),y,i[9],1836072691,14),y=c(y,g,R,S=t(S,10),w,i[11],1836072691,12),w=c(w,y,g,R=t(R,10),S,i[8],1836072691,13),S=c(S,w,y,g=t(g,10),R,i[12],1836072691,5),R=c(R,S,w,y=t(y,10),g,i[2],1836072691,14),g=c(g,R,S,w=t(w,10),y,i[10],1836072691,13),y=c(y,g,R,S=t(S,10),w,i[0],1836072691,13),w=c(w,y,g,R=t(R,10),S,i[4],1836072691,7),R=l(R,S=c(S,w,y,g=t(g,10),R,i[13],1836072691,5),w,y=t(y,10),g,i[8],2053994217,15),g=l(g,R,S,w=t(w,10),y,i[6],2053994217,5),y=l(y,g,R,S=t(S,10),w,i[4],2053994217,8),w=l(w,y,g,R=t(R,10),S,i[1],2053994217,11),S=l(S,w,y,g=t(g,10),R,i[3],2053994217,14),R=l(R,S,w,y=t(y,10),g,i[11],2053994217,14),g=l(g,R,S,w=t(w,10),y,i[15],2053994217,6),y=l(y,g,R,S=t(S,10),w,i[0],2053994217,14),w=l(w,y,g,R=t(R,10),S,i[5],2053994217,6),S=l(S,w,y,g=t(g,10),R,i[12],2053994217,9),R=l(R,S,w,y=t(y,10),g,i[2],2053994217,12),g=l(g,R,S,w=t(w,10),y,i[13],2053994217,9),y=l(y,g,R,S=t(S,10),w,i[9],2053994217,12),w=l(w,y,g,R=t(R,10),S,i[7],2053994217,5),S=l(S,w,y,g=t(g,10),R,i[10],2053994217,15),g=o(g,R=l(R,S,w,y=t(y,10),g,i[14],2053994217,8),S,w=t(w,10),y,i[12],0,8),y=o(y,g,R,S=t(S,10),w,i[15],0,5),w=o(w,y,g,R=t(R,10),S,i[10],0,12),S=o(S,w,y,g=t(g,10),R,i[4],0,9),R=o(R,S,w,y=t(y,10),g,i[1],0,12),g=o(g,R,S,w=t(w,10),y,i[5],0,5),y=o(y,g,R,S=t(S,10),w,i[8],0,14),w=o(w,y,g,R=t(R,10),S,i[7],0,6),S=o(S,w,y,g=t(g,10),R,i[6],0,8),R=o(R,S,w,y=t(y,10),g,i[2],0,13),g=o(g,R,S,w=t(w,10),y,i[13],0,6),y=o(y,g,R,S=t(S,10),w,i[14],0,5),w=o(w,y,g,R=t(R,10),S,i[0],0,15),S=o(S,w,y,g=t(g,10),R,i[3],0,13),R=o(R,S,w,y=t(y,10),g,i[9],0,11),g=o(g,R,S,w=t(w,10),y,i[11],0,11),S=t(S,10);var q=this._b+h+S|0;this._b=this._c+p+w|0,this._c=this._d+b+y|0,this._d=this._e+f+g|0,this._e=this._a+d+R|0,this._a=q},u.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var i=new Buffer(20);return i.writeInt32LE(this._a,0),i.writeInt32LE(this._b,4),i.writeInt32LE(this._c,8),i.writeInt32LE(this._d,12),i.writeInt32LE(this._e,16),i},ripemd160$3=u}function requireToBuffer$3(){if(hasRequiredToBuffer$3)return toBuffer_1$2;hasRequiredToBuffer$3=1;var e=requireSafeBuffer$1().Buffer,r=requireToBuffer$4(),u=typeof Uint8Array<"u",t=u&&typeof ArrayBuffer<"u"&&ArrayBuffer.isView;return toBuffer_1$2=function(o,l,c){if(typeof o=="string"||e.isBuffer(o)||u&&o instanceof Uint8Array||t&&t(o))return r(o,l);throw new TypeError(c+" must be a string, a Buffer, a Uint8Array, or a DataView")}}function requireSyncBrowser$1(){if(hasRequiredSyncBrowser$1)return syncBrowser$1;hasRequiredSyncBrowser$1=1;var e=requireMd5$1(),r=requireRipemd160$2(),u=requireSha_js(),t=requireSafeBuffer$1().Buffer,o=requirePrecondition$1(),l=requireDefaultEncoding$1(),c=requireToBuffer$3(),a=t.alloc(128),n={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},i={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function s(d){return new r().update(d).digest()}function f(d,h,p){var b=(function(q){return q==="rmd160"||q==="ripemd160"?s:q==="md5"?e:function(I){return u(q).update(I).digest()}})(d),y=d==="sha512"||d==="sha384"?128:64;h.length>y?h=b(h):h.length<y&&(h=t.concat([h,a],y));for(var g=t.allocUnsafe(y+n[d]),R=t.allocUnsafe(y+n[d]),S=0;S<y;S++)g[S]=54^h[S],R[S]=92^h[S];var w=t.allocUnsafe(y+p+4);g.copy(w,0,0,y),this.ipad1=w,this.ipad2=g,this.opad=R,this.alg=d,this.blocksize=y,this.hash=b,this.size=n[d]}return f.prototype.run=function(d,h){return d.copy(h,this.blocksize),this.hash(h).copy(this.opad,this.blocksize),this.hash(this.opad)},syncBrowser$1=function(d,h,p,b,y){o(p,b),d=c(d,l,"Password"),h=c(h,l,"Salt");var g=(y||"sha1").toLowerCase(),R=i[g]||g,S=n[R];if(typeof S!="number"||!S)throw new TypeError("Digest algorithm not supported: "+y);var w=new f(R,d,h.length),q=t.allocUnsafe(b),I=t.allocUnsafe(h.length+4);h.copy(I,0,0,h.length);for(var P=0,O=S,N=Math.ceil(b/O),_=1;_<=N;_++){I.writeUInt32BE(_,h.length);for(var E=w.run(I,w.ipad1),B=E,A=1;A<p;A++){B=w.run(B,w.ipad2);for(var v=0;v<O;v++)E[v]^=B[v]}E.copy(q,P),P+=O}return q},syncBrowser$1}function requireAsync$1(){if(hasRequiredAsync$1)return async$1;hasRequiredAsync$1=1;var e,r,u=requireSafeBuffer$1().Buffer,t=requirePrecondition$1(),o=requireDefaultEncoding$1(),l=requireSyncBrowser$1(),c=requireToBuffer$3(),a=commonjsGlobal.crypto&&commonjsGlobal.crypto.subtle,n={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},i=[];function s(){return r||(r=commonjsGlobal.process&&commonjsGlobal.process.nextTick?commonjsGlobal.process.nextTick:commonjsGlobal.queueMicrotask?commonjsGlobal.queueMicrotask:commonjsGlobal.setImmediate?commonjsGlobal.setImmediate:commonjsGlobal.setTimeout)}function f(d,h,p,b,y){return a.importKey("raw",d,{name:"PBKDF2"},!1,["deriveBits"]).then((function(g){return a.deriveBits({name:"PBKDF2",salt:h,iterations:p,hash:{name:y}},g,b<<3)})).then((function(g){return u.from(g)}))}return async$1=function(d,h,p,b,y,g){typeof y=="function"&&(g=y,y=void 0);var R=n[(y=y||"sha1").toLowerCase()];if(R&&typeof commonjsGlobal.Promise=="function"){if(t(p,b),d=c(d,o,"Password"),h=c(h,o,"Salt"),typeof g!="function")throw new Error("No callback provided to pbkdf2");(function(S,w){S.then((function(q){s()((function(){w(null,q)}))}),(function(q){s()((function(){w(q)}))}))})((function(S){if(commonjsGlobal.process&&!commonjsGlobal.process.browser||!a||!a.importKey||!a.deriveBits)return Promise.resolve(!1);if(i[S]!==void 0)return i[S];var w=f(e=e||u.alloc(8),e,10,128,S).then((function(){return!0}),(function(){return!1}));return i[S]=w,w})(R).then((function(S){return S?f(d,h,p,b,R):l(d,h,p,b,y)})),g)}else s()((function(){var S;try{S=l(d,h,p,b,y)}catch(w){return void g(w)}g(null,S)}))}}function requireBrowser$8(){return hasRequiredBrowser$8||(hasRequiredBrowser$8=1,browser$8.pbkdf2=requireAsync$1(),browser$8.pbkdf2Sync=requireSyncBrowser$1()),browser$8}var browser$7={},des$1={},utils$3={},hasRequiredUtils$3,minimalisticAssert,hasRequiredMinimalisticAssert,cipher,hasRequiredCipher,des,hasRequiredDes$1;function requireUtils$3(){if(hasRequiredUtils$3)return utils$3;hasRequiredUtils$3=1,utils$3.readUInt32BE=function(t,o){return(t[0+o]<<24|t[1+o]<<16|t[2+o]<<8|t[3+o])>>>0},utils$3.writeUInt32BE=function(t,o,l){t[0+l]=o>>>24,t[1+l]=o>>>16&255,t[2+l]=o>>>8&255,t[3+l]=255&o},utils$3.ip=function(t,o,l,c){for(var a=0,n=0,i=6;i>=0;i-=2){for(var s=0;s<=24;s+=8)a<<=1,a|=o>>>s+i&1;for(s=0;s<=24;s+=8)a<<=1,a|=t>>>s+i&1}for(i=6;i>=0;i-=2){for(s=1;s<=25;s+=8)n<<=1,n|=o>>>s+i&1;for(s=1;s<=25;s+=8)n<<=1,n|=t>>>s+i&1}l[c+0]=a>>>0,l[c+1]=n>>>0},utils$3.rip=function(t,o,l,c){for(var a=0,n=0,i=0;i<4;i++)for(var s=24;s>=0;s-=8)a<<=1,a|=o>>>s+i&1,a<<=1,a|=t>>>s+i&1;for(i=4;i<8;i++)for(s=24;s>=0;s-=8)n<<=1,n|=o>>>s+i&1,n<<=1,n|=t>>>s+i&1;l[c+0]=a>>>0,l[c+1]=n>>>0},utils$3.pc1=function(t,o,l,c){for(var a=0,n=0,i=7;i>=5;i--){for(var s=0;s<=24;s+=8)a<<=1,a|=o>>s+i&1;for(s=0;s<=24;s+=8)a<<=1,a|=t>>s+i&1}for(s=0;s<=24;s+=8)a<<=1,a|=o>>s+i&1;for(i=1;i<=3;i++){for(s=0;s<=24;s+=8)n<<=1,n|=o>>s+i&1;for(s=0;s<=24;s+=8)n<<=1,n|=t>>s+i&1}for(s=0;s<=24;s+=8)n<<=1,n|=t>>s+i&1;l[c+0]=a>>>0,l[c+1]=n>>>0},utils$3.r28shl=function(t,o){return t<<o&268435455|t>>>28-o};var e=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];utils$3.pc2=function(t,o,l,c){for(var a=0,n=0,i=e.length>>>1,s=0;s<i;s++)a<<=1,a|=t>>>e[s]&1;for(s=i;s<e.length;s++)n<<=1,n|=o>>>e[s]&1;l[c+0]=a>>>0,l[c+1]=n>>>0},utils$3.expand=function(t,o,l){var c=0,a=0;c=(1&t)<<5|t>>>27;for(var n=23;n>=15;n-=4)c<<=6,c|=t>>>n&63;for(n=11;n>=3;n-=4)a|=t>>>n&63,a<<=6;a|=(31&t)<<1|t>>>31,o[l+0]=c>>>0,o[l+1]=a>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];utils$3.substitute=function(t,o){for(var l=0,c=0;c<4;c++)l<<=4,l|=r[64*c+(t>>>18-6*c&63)];for(c=0;c<4;c++)l<<=4,l|=r[256+64*c+(o>>>18-6*c&63)];return l>>>0};var u=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];return utils$3.permute=function(t){for(var o=0,l=0;l<u.length;l++)o<<=1,o|=t>>>u[l]&1;return o>>>0},utils$3.padSplit=function(t,o,l){for(var c=t.toString(2);c.length<o;)c="0"+c;for(var a=[],n=0;n<o;n+=l)a.push(c.slice(n,n+l));return a.join(" ")},utils$3}function requireMinimalisticAssert(){if(hasRequiredMinimalisticAssert)return minimalisticAssert;function e(r,u){if(!r)throw new Error(u||"Assertion failed")}return hasRequiredMinimalisticAssert=1,minimalisticAssert=e,e.equal=function(r,u,t){if(r!=u)throw new Error(t||"Assertion failed: "+r+" != "+u)},minimalisticAssert}function requireCipher(){if(hasRequiredCipher)return cipher;hasRequiredCipher=1;var e=requireMinimalisticAssert();function r(u){this.options=u,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=u.padding!==!1}return cipher=r,r.prototype._init=function(){},r.prototype.update=function(u){return u.length===0?[]:this.type==="decrypt"?this._updateDecrypt(u):this._updateEncrypt(u)},r.prototype._buffer=function(u,t){for(var o=Math.min(this.buffer.length-this.bufferOff,u.length-t),l=0;l<o;l++)this.buffer[this.bufferOff+l]=u[t+l];return this.bufferOff+=o,o},r.prototype._flushBuffer=function(u,t){return this._update(this.buffer,0,u,t),this.bufferOff=0,this.blockSize},r.prototype._updateEncrypt=function(u){var t=0,o=0,l=(this.bufferOff+u.length)/this.blockSize|0,c=new Array(l*this.blockSize);this.bufferOff!==0&&(t+=this._buffer(u,t),this.bufferOff===this.buffer.length&&(o+=this._flushBuffer(c,o)));for(var a=u.length-(u.length-t)%this.blockSize;t<a;t+=this.blockSize)this._update(u,t,c,o),o+=this.blockSize;for(;t<u.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=u[t];return c},r.prototype._updateDecrypt=function(u){for(var t=0,o=0,l=Math.ceil((this.bufferOff+u.length)/this.blockSize)-1,c=new Array(l*this.blockSize);l>0;l--)t+=this._buffer(u,t),o+=this._flushBuffer(c,o);return t+=this._buffer(u,t),c},r.prototype.final=function(u){var t,o;return u&&(t=this.update(u)),o=this.type==="encrypt"?this._finalEncrypt():this._finalDecrypt(),t?t.concat(o):o},r.prototype._pad=function(u,t){if(t===0)return!1;for(;t<u.length;)u[t++]=0;return!0},r.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var u=new Array(this.blockSize);return this._update(this.buffer,0,u,0),u},r.prototype._unpad=function(u){return u},r.prototype._finalDecrypt=function(){e.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var u=new Array(this.blockSize);return this._flushBuffer(u,0),this._unpad(u)},cipher}function requireDes$1(){if(hasRequiredDes$1)return des;hasRequiredDes$1=1;var e=requireMinimalisticAssert(),r=requireInherits_browser(),u=requireUtils$3(),t=requireCipher();function o(){this.tmp=new Array(2),this.keys=null}function l(a){t.call(this,a);var n=new o;this._desState=n,this.deriveKeys(n,a.key)}r(l,t),des=l,l.create=function(a){return new l(a)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];return l.prototype.deriveKeys=function(a,n){a.keys=new Array(32),e.equal(n.length,this.blockSize,"Invalid key length");var i=u.readUInt32BE(n,0),s=u.readUInt32BE(n,4);u.pc1(i,s,a.tmp,0),i=a.tmp[0],s=a.tmp[1];for(var f=0;f<a.keys.length;f+=2){var d=c[f>>>1];i=u.r28shl(i,d),s=u.r28shl(s,d),u.pc2(i,s,a.keys,f)}},l.prototype._update=function(a,n,i,s){var f=this._desState,d=u.readUInt32BE(a,n),h=u.readUInt32BE(a,n+4);u.ip(d,h,f.tmp,0),d=f.tmp[0],h=f.tmp[1],this.type==="encrypt"?this._encrypt(f,d,h,f.tmp,0):this._decrypt(f,d,h,f.tmp,0),d=f.tmp[0],h=f.tmp[1],u.writeUInt32BE(i,d,s),u.writeUInt32BE(i,h,s+4)},l.prototype._pad=function(a,n){if(this.padding===!1)return!1;for(var i=a.length-n,s=n;s<a.length;s++)a[s]=i;return!0},l.prototype._unpad=function(a){if(this.padding===!1)return a;for(var n=a[a.length-1],i=a.length-n;i<a.length;i++)e.equal(a[i],n);return a.slice(0,a.length-n)},l.prototype._encrypt=function(a,n,i,s,f){for(var d=n,h=i,p=0;p<a.keys.length;p+=2){var b=a.keys[p],y=a.keys[p+1];u.expand(h,a.tmp,0),b^=a.tmp[0],y^=a.tmp[1];var g=u.substitute(b,y),R=h;h=(d^u.permute(g))>>>0,d=R}u.rip(h,d,s,f)},l.prototype._decrypt=function(a,n,i,s,f){for(var d=i,h=n,p=a.keys.length-2;p>=0;p-=2){var b=a.keys[p],y=a.keys[p+1];u.expand(d,a.tmp,0),b^=a.tmp[0],y^=a.tmp[1];var g=u.substitute(b,y),R=d;d=(h^u.permute(g))>>>0,h=R}u.rip(d,h,s,f)},des}var cbc$1={},hasRequiredCbc$1,ede,hasRequiredEde,hasRequiredDes,browserifyDes,hasRequiredBrowserifyDes;function requireCbc$1(){if(hasRequiredCbc$1)return cbc$1;hasRequiredCbc$1=1;var e=requireMinimalisticAssert(),r=requireInherits_browser(),u={};function t(o){e.equal(o.length,8,"Invalid IV length"),this.iv=new Array(8);for(var l=0;l<this.iv.length;l++)this.iv[l]=o[l]}return cbc$1.instantiate=function(o){function l(i){o.call(this,i),this._cbcInit()}r(l,o);for(var c=Object.keys(u),a=0;a<c.length;a++){var n=c[a];l.prototype[n]=u[n]}return l.create=function(i){return new l(i)},l},u._cbcInit=function(){var o=new t(this.options.iv);this._cbcState=o},u._update=function(o,l,c,a){var n=this._cbcState,i=this.constructor.super_.prototype,s=n.iv;if(this.type==="encrypt"){for(var f=0;f<this.blockSize;f++)s[f]^=o[l+f];for(i._update.call(this,s,0,c,a),f=0;f<this.blockSize;f++)s[f]=c[a+f]}else{for(i._update.call(this,o,l,c,a),f=0;f<this.blockSize;f++)c[a+f]^=s[f];for(f=0;f<this.blockSize;f++)s[f]=o[l+f]}},cbc$1}function requireEde(){if(hasRequiredEde)return ede;hasRequiredEde=1;var e=requireMinimalisticAssert(),r=requireInherits_browser(),u=requireCipher(),t=requireDes$1();function o(c,a){e.equal(a.length,24,"Invalid key length");var n=a.slice(0,8),i=a.slice(8,16),s=a.slice(16,24);this.ciphers=c==="encrypt"?[t.create({type:"encrypt",key:n}),t.create({type:"decrypt",key:i}),t.create({type:"encrypt",key:s})]:[t.create({type:"decrypt",key:s}),t.create({type:"encrypt",key:i}),t.create({type:"decrypt",key:n})]}function l(c){u.call(this,c);var a=new o(this.type,this.options.key);this._edeState=a}return r(l,u),ede=l,l.create=function(c){return new l(c)},l.prototype._update=function(c,a,n,i){var s=this._edeState;s.ciphers[0]._update(c,a,n,i),s.ciphers[1]._update(n,i,n,i),s.ciphers[2]._update(n,i,n,i)},l.prototype._pad=t.prototype._pad,l.prototype._unpad=t.prototype._unpad,ede}function requireDes(){return hasRequiredDes||(hasRequiredDes=1,des$1.utils=requireUtils$3(),des$1.Cipher=requireCipher(),des$1.DES=requireDes$1(),des$1.CBC=requireCbc$1(),des$1.EDE=requireEde()),des$1}function requireBrowserifyDes(){if(hasRequiredBrowserifyDes)return browserifyDes;hasRequiredBrowserifyDes=1;var e=requireCipherBase(),r=requireDes(),u=requireInherits_browser(),t=requireSafeBuffer$1().Buffer,o={"des-ede3-cbc":r.CBC.instantiate(r.EDE),"des-ede3":r.EDE,"des-ede-cbc":r.CBC.instantiate(r.EDE),"des-ede":r.EDE,"des-cbc":r.CBC.instantiate(r.DES),"des-ecb":r.DES};function l(c){e.call(this);var a,n=c.mode.toLowerCase(),i=o[n];a=c.decrypt?"decrypt":"encrypt";var s=c.key;t.isBuffer(s)||(s=t.from(s)),n!=="des-ede"&&n!=="des-ede-cbc"||(s=t.concat([s,s.slice(0,8)]));var f=c.iv;t.isBuffer(f)||(f=t.from(f)),this._des=i.create({key:s,iv:f,type:a})}return o.des=o["des-cbc"],o.des3=o["des-ede3-cbc"],browserifyDes=l,u(l,e),l.prototype._update=function(c){return t.from(this._des.update(c))},l.prototype._final=function(){return t.from(this._des.final())},browserifyDes}var browser$6={},encrypter={},ecb={},hasRequiredEcb;function requireEcb(){return hasRequiredEcb||(hasRequiredEcb=1,ecb.encrypt=function(e,r){return e._cipher.encryptBlock(r)},ecb.decrypt=function(e,r){return e._cipher.decryptBlock(r)}),ecb}var cbc={},bufferXor,hasRequiredBufferXor,hasRequiredCbc;function requireBufferXor(){return hasRequiredBufferXor||(hasRequiredBufferXor=1,bufferXor=function(e,r){for(var u=Math.min(e.length,r.length),t=new Buffer(u),o=0;o<u;++o)t[o]=e[o]^r[o];return t}),bufferXor}function requireCbc(){if(hasRequiredCbc)return cbc;hasRequiredCbc=1;var e=requireBufferXor();return cbc.encrypt=function(r,u){var t=e(u,r._prev);return r._prev=r._cipher.encryptBlock(t),r._prev},cbc.decrypt=function(r,u){var t=r._prev;r._prev=u;var o=r._cipher.decryptBlock(u);return e(o,t)},cbc}var cfb={},hasRequiredCfb;function requireCfb(){if(hasRequiredCfb)return cfb;hasRequiredCfb=1;var e=requireSafeBuffer$1().Buffer,r=requireBufferXor();function u(t,o,l){var c=o.length,a=r(o,t._cache);return t._cache=t._cache.slice(c),t._prev=e.concat([t._prev,l?o:a]),a}return cfb.encrypt=function(t,o,l){for(var c,a=e.allocUnsafe(0);o.length;){if(t._cache.length===0&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=e.allocUnsafe(0)),!(t._cache.length<=o.length)){a=e.concat([a,u(t,o,l)]);break}c=t._cache.length,a=e.concat([a,u(t,o.slice(0,c),l)]),o=o.slice(c)}return a},cfb}var cfb8={},hasRequiredCfb8;function requireCfb8(){if(hasRequiredCfb8)return cfb8;hasRequiredCfb8=1;var e=requireSafeBuffer$1().Buffer;function r(u,t,o){var l=u._cipher.encryptBlock(u._prev)[0]^t;return u._prev=e.concat([u._prev.slice(1),e.from([o?t:l])]),l}return cfb8.encrypt=function(u,t,o){for(var l=t.length,c=e.allocUnsafe(l),a=-1;++a<l;)c[a]=r(u,t[a],o);return c},cfb8}var cfb1={},hasRequiredCfb1;function requireCfb1(){if(hasRequiredCfb1)return cfb1;hasRequiredCfb1=1;var e=requireSafeBuffer$1().Buffer;function r(t,o,l){for(var c,a,n=-1,i=0;++n<8;)c=o&1<<7-n?128:0,i+=(128&(a=t._cipher.encryptBlock(t._prev)[0]^c))>>n%8,t._prev=u(t._prev,l?c:a);return i}function u(t,o){var l=t.length,c=-1,a=e.allocUnsafe(t.length);for(t=e.concat([t,e.from([o])]);++c<l;)a[c]=t[c]<<1|t[c+1]>>7;return a}return cfb1.encrypt=function(t,o,l){for(var c=o.length,a=e.allocUnsafe(c),n=-1;++n<c;)a[n]=r(t,o[n],l);return a},cfb1}var ofb={},hasRequiredOfb;function requireOfb(){if(hasRequiredOfb)return ofb;hasRequiredOfb=1;var e=requireBufferXor();function r(u){return u._prev=u._cipher.encryptBlock(u._prev),u._prev}return ofb.encrypt=function(u,t){for(;u._cache.length<t.length;)u._cache=Buffer.concat([u._cache,r(u)]);var o=u._cache.slice(0,t.length);return u._cache=u._cache.slice(t.length),e(t,o)},ofb}var ctr={},incr32_1,hasRequiredIncr32,hasRequiredCtr;function requireIncr32(){return hasRequiredIncr32?incr32_1:(hasRequiredIncr32=1,incr32_1=function(e){for(var r,u=e.length;u--;){if((r=e.readUInt8(u))!==255){r++,e.writeUInt8(r,u);break}e.writeUInt8(0,u)}})}function requireCtr(){if(hasRequiredCtr)return ctr;hasRequiredCtr=1;var e=requireBufferXor(),r=requireSafeBuffer$1().Buffer,u=requireIncr32();function t(o){var l=o._cipher.encryptBlockRaw(o._prev);return u(o._prev),l}return ctr.encrypt=function(o,l){var c=Math.ceil(l.length/16),a=o._cache.length;o._cache=r.concat([o._cache,r.allocUnsafe(16*c)]);for(var n=0;n<c;n++){var i=t(o),s=a+16*n;o._cache.writeUInt32BE(i[0],s+0),o._cache.writeUInt32BE(i[1],s+4),o._cache.writeUInt32BE(i[2],s+8),o._cache.writeUInt32BE(i[3],s+12)}var f=o._cache.slice(0,l.length);return o._cache=o._cache.slice(l.length),e(l,f)},ctr}const aes128={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},require$$2={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128,aes192,aes256,"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}};var modes_1,hasRequiredModes$1;function requireModes$1(){if(hasRequiredModes$1)return modes_1;hasRequiredModes$1=1;var e={ECB:requireEcb(),CBC:requireCbc(),CFB:requireCfb(),CFB8:requireCfb8(),CFB1:requireCfb1(),OFB:requireOfb(),CTR:requireCtr(),GCM:requireCtr()},r=require$$2;for(var u in r)r[u].module=e[r[u].mode];return modes_1=r}var aes$2={},hasRequiredAes$1,ghash,hasRequiredGhash,authCipher,hasRequiredAuthCipher,streamCipher,hasRequiredStreamCipher,evp_bytestokey,hasRequiredEvp_bytestokey,hasRequiredEncrypter;function requireAes$1(){if(hasRequiredAes$1)return aes$2;hasRequiredAes$1=1;var e=requireSafeBuffer$1().Buffer;function r(a){e.isBuffer(a)||(a=e.from(a));for(var n=a.length/4|0,i=new Array(n),s=0;s<n;s++)i[s]=a.readUInt32BE(4*s);return i}function u(a){for(;0<a.length;a++)a[0]=0}function t(a,n,i,s,f){for(var d,h,p,b,y=i[0],g=i[1],R=i[2],S=i[3],w=a[0]^n[0],q=a[1]^n[1],I=a[2]^n[2],P=a[3]^n[3],O=4,N=1;N<f;N++)d=y[w>>>24]^g[q>>>16&255]^R[I>>>8&255]^S[255&P]^n[O++],h=y[q>>>24]^g[I>>>16&255]^R[P>>>8&255]^S[255&w]^n[O++],p=y[I>>>24]^g[P>>>16&255]^R[w>>>8&255]^S[255&q]^n[O++],b=y[P>>>24]^g[w>>>16&255]^R[q>>>8&255]^S[255&I]^n[O++],w=d,q=h,I=p,P=b;return d=(s[w>>>24]<<24|s[q>>>16&255]<<16|s[I>>>8&255]<<8|s[255&P])^n[O++],h=(s[q>>>24]<<24|s[I>>>16&255]<<16|s[P>>>8&255]<<8|s[255&w])^n[O++],p=(s[I>>>24]<<24|s[P>>>16&255]<<16|s[w>>>8&255]<<8|s[255&q])^n[O++],b=(s[P>>>24]<<24|s[w>>>16&255]<<16|s[q>>>8&255]<<8|s[255&I])^n[O++],[d>>>=0,h>>>=0,p>>>=0,b>>>=0]}var o=[0,1,2,4,8,16,32,64,128,27,54],l=(function(){for(var a=new Array(256),n=0;n<256;n++)a[n]=n<128?n<<1:n<<1^283;for(var i=[],s=[],f=[[],[],[],[]],d=[[],[],[],[]],h=0,p=0,b=0;b<256;++b){var y=p^p<<1^p<<2^p<<3^p<<4;y=y>>>8^255&y^99,i[h]=y,s[y]=h;var g=a[h],R=a[g],S=a[R],w=257*a[y]^16843008*y;f[0][h]=w<<24|w>>>8,f[1][h]=w<<16|w>>>16,f[2][h]=w<<8|w>>>24,f[3][h]=w,w=16843009*S^65537*R^257*g^16843008*h,d[0][y]=w<<24|w>>>8,d[1][y]=w<<16|w>>>16,d[2][y]=w<<8|w>>>24,d[3][y]=w,h===0?h=p=1:(h=g^a[a[a[S^g]]],p^=a[a[p]])}return{SBOX:i,INV_SBOX:s,SUB_MIX:f,INV_SUB_MIX:d}})();function c(a){this._key=r(a),this._reset()}return c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var a=this._key,n=a.length,i=n+6,s=4*(i+1),f=[],d=0;d<n;d++)f[d]=a[d];for(d=n;d<s;d++){var h=f[d-1];d%n==0?(h=h<<8|h>>>24,h=l.SBOX[h>>>24]<<24|l.SBOX[h>>>16&255]<<16|l.SBOX[h>>>8&255]<<8|l.SBOX[255&h],h^=o[d/n|0]<<24):n>6&&d%n==4&&(h=l.SBOX[h>>>24]<<24|l.SBOX[h>>>16&255]<<16|l.SBOX[h>>>8&255]<<8|l.SBOX[255&h]),f[d]=f[d-n]^h}for(var p=[],b=0;b<s;b++){var y=s-b,g=f[y-(b%4?0:4)];p[b]=b<4||y<=4?g:l.INV_SUB_MIX[0][l.SBOX[g>>>24]]^l.INV_SUB_MIX[1][l.SBOX[g>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[g>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&g]]}this._nRounds=i,this._keySchedule=f,this._invKeySchedule=p},c.prototype.encryptBlockRaw=function(a){return t(a=r(a),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.prototype.encryptBlock=function(a){var n=this.encryptBlockRaw(a),i=e.allocUnsafe(16);return i.writeUInt32BE(n[0],0),i.writeUInt32BE(n[1],4),i.writeUInt32BE(n[2],8),i.writeUInt32BE(n[3],12),i},c.prototype.decryptBlock=function(a){var n=(a=r(a))[1];a[1]=a[3],a[3]=n;var i=t(a,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),s=e.allocUnsafe(16);return s.writeUInt32BE(i[0],0),s.writeUInt32BE(i[3],4),s.writeUInt32BE(i[2],8),s.writeUInt32BE(i[1],12),s},c.prototype.scrub=function(){u(this._keySchedule),u(this._invKeySchedule),u(this._key)},aes$2.AES=c,aes$2}function requireGhash(){if(hasRequiredGhash)return ghash;hasRequiredGhash=1;var e=requireSafeBuffer$1().Buffer,r=e.alloc(16,0);function u(o){var l=e.allocUnsafe(16);return l.writeUInt32BE(o[0]>>>0,0),l.writeUInt32BE(o[1]>>>0,4),l.writeUInt32BE(o[2]>>>0,8),l.writeUInt32BE(o[3]>>>0,12),l}function t(o){this.h=o,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}return t.prototype.ghash=function(o){for(var l=-1;++l<o.length;)this.state[l]^=o[l];this._multiply()},t.prototype._multiply=function(){for(var o,l,c,a=[(o=this.h).readUInt32BE(0),o.readUInt32BE(4),o.readUInt32BE(8),o.readUInt32BE(12)],n=[0,0,0,0],i=-1;++i<128;){for(this.state[~~(i/8)]&1<<7-i%8&&(n[0]^=a[0],n[1]^=a[1],n[2]^=a[2],n[3]^=a[3]),c=!!(1&a[3]),l=3;l>0;l--)a[l]=a[l]>>>1|(1&a[l-1])<<31;a[0]=a[0]>>>1,c&&(a[0]=a[0]^225<<24)}this.state=u(n)},t.prototype.update=function(o){var l;for(this.cache=e.concat([this.cache,o]);this.cache.length>=16;)l=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(l)},t.prototype.final=function(o,l){return this.cache.length&&this.ghash(e.concat([this.cache,r],16)),this.ghash(u([0,o,0,l])),this.state},ghash=t}function requireAuthCipher(){if(hasRequiredAuthCipher)return authCipher;hasRequiredAuthCipher=1;var e=requireAes$1(),r=requireSafeBuffer$1().Buffer,u=requireCipherBase(),t=requireInherits_browser(),o=requireGhash(),l=requireBufferXor(),c=requireIncr32();function a(n,i,s,f){u.call(this);var d=r.alloc(4,0);this._cipher=new e.AES(i);var h=this._cipher.encryptBlock(d);this._ghash=new o(h),s=(function(p,b,y){if(b.length===12)return p._finID=r.concat([b,r.from([0,0,0,1])]),r.concat([b,r.from([0,0,0,2])]);var g=new o(y),R=b.length,S=R%16;g.update(b),S&&(S=16-S,g.update(r.alloc(S,0))),g.update(r.alloc(8,0));var w=8*R,q=r.alloc(8);q.writeUIntBE(w,0,8),g.update(q),p._finID=g.state;var I=r.from(p._finID);return c(I),I})(this,s,h),this._prev=r.from(s),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=f,this._alen=0,this._len=0,this._mode=n,this._authTag=null,this._called=!1}return t(a,u),a.prototype._update=function(n){if(!this._called&&this._alen){var i=16-this._alen%16;i<16&&(i=r.alloc(i,0),this._ghash.update(i))}this._called=!0;var s=this._mode.encrypt(this,n);return this._decrypt?this._ghash.update(n):this._ghash.update(s),this._len+=n.length,s},a.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var n=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&(function(i,s){var f=0;i.length!==s.length&&f++;for(var d=Math.min(i.length,s.length),h=0;h<d;++h)f+=i[h]^s[h];return f})(n,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=n,this._cipher.scrub()},a.prototype.getAuthTag=function(){if(this._decrypt||!r.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},a.prototype.setAuthTag=function(n){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=n},a.prototype.setAAD=function(n){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(n),this._alen+=n.length},authCipher=a}function requireStreamCipher(){if(hasRequiredStreamCipher)return streamCipher;hasRequiredStreamCipher=1;var e=requireAes$1(),r=requireSafeBuffer$1().Buffer,u=requireCipherBase();function t(o,l,c,a){u.call(this),this._cipher=new e.AES(l),this._prev=r.from(c),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=a,this._mode=o}return requireInherits_browser()(t,u),t.prototype._update=function(o){return this._mode.encrypt(this,o,this._decrypt)},t.prototype._final=function(){this._cipher.scrub()},streamCipher=t}function requireEvp_bytestokey(){if(hasRequiredEvp_bytestokey)return evp_bytestokey;hasRequiredEvp_bytestokey=1;var e=requireSafeBuffer$1().Buffer,r=requireMd5_js();return evp_bytestokey=function(u,t,o,l){if(e.isBuffer(u)||(u=e.from(u,"binary")),t&&(e.isBuffer(t)||(t=e.from(t,"binary")),t.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var c=o/8,a=e.alloc(c),n=e.alloc(l||0),i=e.alloc(0);c>0||l>0;){var s=new r;s.update(i),s.update(u),t&&s.update(t),i=s.digest();var f=0;if(c>0){var d=a.length-c;f=Math.min(c,i.length),i.copy(a,d,0,f),c-=f}if(f<i.length&&l>0){var h=n.length-l,p=Math.min(l,i.length-f);i.copy(n,h,f,f+p),l-=p}}return i.fill(0),{key:a,iv:n}},evp_bytestokey}function requireEncrypter(){if(hasRequiredEncrypter)return encrypter;hasRequiredEncrypter=1;var e=requireModes$1(),r=requireAuthCipher(),u=requireSafeBuffer$1().Buffer,t=requireStreamCipher(),o=requireCipherBase(),l=requireAes$1(),c=requireEvp_bytestokey();function a(f,d,h){o.call(this),this._cache=new i,this._cipher=new l.AES(d),this._prev=u.from(h),this._mode=f,this._autopadding=!0}requireInherits_browser()(a,o),a.prototype._update=function(f){var d,h;this._cache.add(f);for(var p=[];d=this._cache.get();)h=this._mode.encrypt(this,d),p.push(h);return u.concat(p)};var n=u.alloc(16,16);function i(){this.cache=u.allocUnsafe(0)}function s(f,d,h){var p=e[f.toLowerCase()];if(!p)throw new TypeError("invalid suite type");if(typeof d=="string"&&(d=u.from(d)),d.length!==p.key/8)throw new TypeError("invalid key length "+d.length);if(typeof h=="string"&&(h=u.from(h)),p.mode!=="GCM"&&h.length!==p.iv)throw new TypeError("invalid iv length "+h.length);return p.type==="stream"?new t(p.module,d,h):p.type==="auth"?new r(p.module,d,h):new a(p.module,d,h)}return a.prototype._final=function(){var f=this._cache.flush();if(this._autopadding)return f=this._mode.encrypt(this,f),this._cipher.scrub(),f;if(!f.equals(n))throw this._cipher.scrub(),new Error("data not multiple of block length")},a.prototype.setAutoPadding=function(f){return this._autopadding=!!f,this},i.prototype.add=function(f){this.cache=u.concat([this.cache,f])},i.prototype.get=function(){if(this.cache.length>15){var f=this.cache.slice(0,16);return this.cache=this.cache.slice(16),f}return null},i.prototype.flush=function(){for(var f=16-this.cache.length,d=u.allocUnsafe(f),h=-1;++h<f;)d.writeUInt8(f,h);return u.concat([this.cache,d])},encrypter.createCipheriv=s,encrypter.createCipher=function(f,d){var h=e[f.toLowerCase()];if(!h)throw new TypeError("invalid suite type");var p=c(d,!1,h.key,h.iv);return s(f,p.key,p.iv)},encrypter}var decrypter={},hasRequiredDecrypter,hasRequiredBrowser$7;function requireDecrypter(){if(hasRequiredDecrypter)return decrypter;hasRequiredDecrypter=1;var e=requireAuthCipher(),r=requireSafeBuffer$1().Buffer,u=requireModes$1(),t=requireStreamCipher(),o=requireCipherBase(),l=requireAes$1(),c=requireEvp_bytestokey();function a(s,f,d){o.call(this),this._cache=new n,this._last=void 0,this._cipher=new l.AES(f),this._prev=r.from(d),this._mode=s,this._autopadding=!0}function n(){this.cache=r.allocUnsafe(0)}function i(s,f,d){var h=u[s.toLowerCase()];if(!h)throw new TypeError("invalid suite type");if(typeof d=="string"&&(d=r.from(d)),h.mode!=="GCM"&&d.length!==h.iv)throw new TypeError("invalid iv length "+d.length);if(typeof f=="string"&&(f=r.from(f)),f.length!==h.key/8)throw new TypeError("invalid key length "+f.length);return h.type==="stream"?new t(h.module,f,d,!0):h.type==="auth"?new e(h.module,f,d,!0):new a(h.module,f,d)}return requireInherits_browser()(a,o),a.prototype._update=function(s){var f,d;this._cache.add(s);for(var h=[];f=this._cache.get(this._autopadding);)d=this._mode.decrypt(this,f),h.push(d);return r.concat(h)},a.prototype._final=function(){var s=this._cache.flush();if(this._autopadding)return(function(f){var d=f[15];if(d<1||d>16)throw new Error("unable to decrypt data");for(var h=-1;++h<d;)if(f[h+(16-d)]!==d)throw new Error("unable to decrypt data");if(d!==16)return f.slice(0,16-d)})(this._mode.decrypt(this,s));if(s)throw new Error("data not multiple of block length")},a.prototype.setAutoPadding=function(s){return this._autopadding=!!s,this},n.prototype.add=function(s){this.cache=r.concat([this.cache,s])},n.prototype.get=function(s){var f;if(s){if(this.cache.length>16)return f=this.cache.slice(0,16),this.cache=this.cache.slice(16),f}else if(this.cache.length>=16)return f=this.cache.slice(0,16),this.cache=this.cache.slice(16),f;return null},n.prototype.flush=function(){if(this.cache.length)return this.cache},decrypter.createDecipher=function(s,f){var d=u[s.toLowerCase()];if(!d)throw new TypeError("invalid suite type");var h=c(f,!1,d.key,d.iv);return i(s,h.key,h.iv)},decrypter.createDecipheriv=i,decrypter}function requireBrowser$7(){if(hasRequiredBrowser$7)return browser$6;hasRequiredBrowser$7=1;var e=requireEncrypter(),r=requireDecrypter(),u=require$$2;return browser$6.createCipher=browser$6.Cipher=e.createCipher,browser$6.createCipheriv=browser$6.Cipheriv=e.createCipheriv,browser$6.createDecipher=browser$6.Decipher=r.createDecipher,browser$6.createDecipheriv=browser$6.Decipheriv=r.createDecipheriv,browser$6.listCiphers=browser$6.getCiphers=function(){return Object.keys(u)},browser$6}var modes={},hasRequiredModes,hasRequiredBrowser$6;function requireModes(){return hasRequiredModes||(hasRequiredModes=1,(e=modes)["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}),modes;var e}function requireBrowser$6(){if(hasRequiredBrowser$6)return browser$7;hasRequiredBrowser$6=1;var e=requireBrowserifyDes(),r=requireBrowser$7(),u=requireModes$1(),t=requireModes(),o=requireEvp_bytestokey();function l(a,n,i){if(a=a.toLowerCase(),u[a])return r.createCipheriv(a,n,i);if(t[a])return new e({key:n,iv:i,mode:a});throw new TypeError("invalid suite type")}function c(a,n,i){if(a=a.toLowerCase(),u[a])return r.createDecipheriv(a,n,i);if(t[a])return new e({key:n,iv:i,mode:a,decrypt:!0});throw new TypeError("invalid suite type")}return browser$7.createCipher=browser$7.Cipher=function(a,n){var i,s;if(a=a.toLowerCase(),u[a])i=u[a].key,s=u[a].iv;else{if(!t[a])throw new TypeError("invalid suite type");i=8*t[a].key,s=t[a].iv}var f=o(n,!1,i,s);return l(a,f.key,f.iv)},browser$7.createCipheriv=browser$7.Cipheriv=l,browser$7.createDecipher=browser$7.Decipher=function(a,n){var i,s;if(a=a.toLowerCase(),u[a])i=u[a].key,s=u[a].iv;else{if(!t[a])throw new TypeError("invalid suite type");i=8*t[a].key,s=t[a].iv}var f=o(n,!1,i,s);return c(a,f.key,f.iv)},browser$7.createDecipheriv=browser$7.Decipheriv=c,browser$7.listCiphers=browser$7.getCiphers=function(){return Object.keys(t).concat(r.getCiphers())},browser$7}var browser$5={},bn$1={exports:{}},bn=bn$1.exports,hasRequiredBn;function requireBn(){return hasRequiredBn||(hasRequiredBn=1,(function(e,r){function u(_,E){if(!_)throw new Error(E||"Assertion failed")}function t(_,E){_.super_=E;var B=function(){};B.prototype=E.prototype,_.prototype=new B,_.prototype.constructor=_}function o(_,E,B){if(o.isBN(_))return _;this.negative=0,this.words=null,this.length=0,this.red=null,_!==null&&(E!=="le"&&E!=="be"||(B=E,E=10),this._init(_||0,E||10,B||"be"))}var l;typeof e=="object"?e.exports=o:r.BN=o,o.BN=o,o.wordSize=26;try{l=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:requireDist().Buffer}catch{}function c(_,E){var B=_.charCodeAt(E);return B>=48&&B<=57?B-48:B>=65&&B<=70?B-55:B>=97&&B<=102?B-87:void u(!1,"Invalid character in "+_)}function a(_,E,B){var A=c(_,B);return B-1>=E&&(A|=c(_,B-1)<<4),A}function n(_,E,B,A){for(var v=0,m=0,k=Math.min(_.length,B),L=E;L<k;L++){var F=_.charCodeAt(L)-48;v*=A,m=F>=49?F-49+10:F>=17?F-17+10:F,u(F>=0&&m<A,"Invalid character"),v+=m}return v}function i(_,E){_.words=E.words,_.length=E.length,_.negative=E.negative,_.red=E.red}if(o.isBN=function(_){return _ instanceof o||_!==null&&typeof _=="object"&&_.constructor.wordSize===o.wordSize&&Array.isArray(_.words)},o.max=function(_,E){return _.cmp(E)>0?_:E},o.min=function(_,E){return _.cmp(E)<0?_:E},o.prototype._init=function(_,E,B){if(typeof _=="number")return this._initNumber(_,E,B);if(typeof _=="object")return this._initArray(_,E,B);E==="hex"&&(E=16),u(E===(0|E)&&E>=2&&E<=36);var A=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(A++,this.negative=1),A<_.length&&(E===16?this._parseHex(_,A,B):(this._parseBase(_,E,A),B==="le"&&this._initArray(this.toArray(),E,B)))},o.prototype._initNumber=function(_,E,B){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(u(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),B==="le"&&this._initArray(this.toArray(),E,B)},o.prototype._initArray=function(_,E,B){if(u(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var A=0;A<this.length;A++)this.words[A]=0;var v,m,k=0;if(B==="be")for(A=_.length-1,v=0;A>=0;A-=3)m=_[A]|_[A-1]<<8|_[A-2]<<16,this.words[v]|=m<<k&67108863,this.words[v+1]=m>>>26-k&67108863,(k+=24)>=26&&(k-=26,v++);else if(B==="le")for(A=0,v=0;A<_.length;A+=3)m=_[A]|_[A+1]<<8|_[A+2]<<16,this.words[v]|=m<<k&67108863,this.words[v+1]=m>>>26-k&67108863,(k+=24)>=26&&(k-=26,v++);return this._strip()},o.prototype._parseHex=function(_,E,B){this.length=Math.ceil((_.length-E)/6),this.words=new Array(this.length);for(var A=0;A<this.length;A++)this.words[A]=0;var v,m=0,k=0;if(B==="be")for(A=_.length-1;A>=E;A-=2)v=a(_,E,A)<<m,this.words[k]|=67108863&v,m>=18?(m-=18,k+=1,this.words[k]|=v>>>26):m+=8;else for(A=(_.length-E)%2==0?E+1:E;A<_.length;A+=2)v=a(_,E,A)<<m,this.words[k]|=67108863&v,m>=18?(m-=18,k+=1,this.words[k]|=v>>>26):m+=8;this._strip()},o.prototype._parseBase=function(_,E,B){this.words=[0],this.length=1;for(var A=0,v=1;v<=67108863;v*=E)A++;A--,v=v/E|0;for(var m=_.length-B,k=m%A,L=Math.min(m,m-k)+B,F=0,j=B;j<L;j+=A)F=n(_,j,j+A,E),this.imuln(v),this.words[0]+F<67108864?this.words[0]+=F:this._iaddn(F);if(k!==0){var U=1;for(F=n(_,j,_.length,E),j=0;j<k;j++)U*=E;this.imuln(U),this.words[0]+F<67108864?this.words[0]+=F:this._iaddn(F)}this._strip()},o.prototype.copy=function(_){_.words=new Array(this.length);for(var E=0;E<this.length;E++)_.words[E]=this.words[E];_.length=this.length,_.negative=this.negative,_.red=this.red},o.prototype._move=function(_){i(_,this)},o.prototype.clone=function(){var _=new o(null);return this.copy(_),_},o.prototype._expand=function(_){for(;this.length<_;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=s}catch{o.prototype.inspect=s}else o.prototype.inspect=s;function s(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(_,E,B){B.negative=E.negative^_.negative;var A=_.length+E.length|0;B.length=A,A=A-1|0;var v=0|_.words[0],m=0|E.words[0],k=v*m,L=67108863&k,F=k/67108864|0;B.words[0]=L;for(var j=1;j<A;j++){for(var U=F>>>26,D=67108863&F,x=Math.min(j,E.length-1),T=Math.max(0,j-_.length+1);T<=x;T++){var G=j-T|0;U+=(k=(v=0|_.words[G])*(m=0|E.words[T])+D)/67108864|0,D=67108863&k}B.words[j]=0|D,F=0|U}return F!==0?B.words[j]=0|F:B.length--,B._strip()}o.prototype.toString=function(_,E){var B;if(E=0|E||1,(_=_||10)===16||_==="hex"){B="";for(var A=0,v=0,m=0;m<this.length;m++){var k=this.words[m],L=(16777215&(k<<A|v)).toString(16);v=k>>>24-A&16777215,(A+=2)>=26&&(A-=26,m--),B=v!==0||m!==this.length-1?f[6-L.length]+L+B:L+B}for(v!==0&&(B=v.toString(16)+B);B.length%E!=0;)B="0"+B;return this.negative!==0&&(B="-"+B),B}if(_===(0|_)&&_>=2&&_<=36){var F=d[_],j=h[_];B="";var U=this.clone();for(U.negative=0;!U.isZero();){var D=U.modrn(j).toString(_);B=(U=U.idivn(j)).isZero()?D+B:f[F-D.length]+D+B}for(this.isZero()&&(B="0"+B);B.length%E!=0;)B="0"+B;return this.negative!==0&&(B="-"+B),B}u(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&u(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},o.prototype.toJSON=function(){return this.toString(16,2)},l&&(o.prototype.toBuffer=function(_,E){return this.toArrayLike(l,_,E)}),o.prototype.toArray=function(_,E){return this.toArrayLike(Array,_,E)},o.prototype.toArrayLike=function(_,E,B){this._strip();var A=this.byteLength(),v=B||Math.max(1,A);u(A<=v,"byte array longer than desired length"),u(v>0,"Requested array length <= 0");var m=(function(k,L){return k.allocUnsafe?k.allocUnsafe(L):new k(L)})(_,v);return this["_toArrayLike"+(E==="le"?"LE":"BE")](m,A),m},o.prototype._toArrayLikeLE=function(_,E){for(var B=0,A=0,v=0,m=0;v<this.length;v++){var k=this.words[v]<<m|A;_[B++]=255&k,B<_.length&&(_[B++]=k>>8&255),B<_.length&&(_[B++]=k>>16&255),m===6?(B<_.length&&(_[B++]=k>>24&255),A=0,m=0):(A=k>>>24,m+=2)}if(B<_.length)for(_[B++]=A;B<_.length;)_[B++]=0},o.prototype._toArrayLikeBE=function(_,E){for(var B=_.length-1,A=0,v=0,m=0;v<this.length;v++){var k=this.words[v]<<m|A;_[B--]=255&k,B>=0&&(_[B--]=k>>8&255),B>=0&&(_[B--]=k>>16&255),m===6?(B>=0&&(_[B--]=k>>24&255),A=0,m=0):(A=k>>>24,m+=2)}if(B>=0)for(_[B--]=A;B>=0;)_[B--]=0},Math.clz32?o.prototype._countBits=function(_){return 32-Math.clz32(_)}:o.prototype._countBits=function(_){var E=_,B=0;return E>=4096&&(B+=13,E>>>=13),E>=64&&(B+=7,E>>>=7),E>=8&&(B+=4,E>>>=4),E>=2&&(B+=2,E>>>=2),B+E},o.prototype._zeroBits=function(_){if(_===0)return 26;var E=_,B=0;return 8191&E||(B+=13,E>>>=13),127&E||(B+=7,E>>>=7),15&E||(B+=4,E>>>=4),3&E||(B+=2,E>>>=2),1&E||B++,B},o.prototype.bitLength=function(){var _=this.words[this.length-1],E=this._countBits(_);return 26*(this.length-1)+E},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,E=0;E<this.length;E++){var B=this._zeroBits(this.words[E]);if(_+=B,B!==26)break}return _},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(_){return this.negative!==0?this.abs().inotn(_).iaddn(1):this.clone()},o.prototype.fromTwos=function(_){return this.testn(_-1)?this.notn(_).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return this.negative!==0},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(_){for(;this.length<_.length;)this.words[this.length++]=0;for(var E=0;E<_.length;E++)this.words[E]=this.words[E]|_.words[E];return this._strip()},o.prototype.ior=function(_){return u(!(this.negative|_.negative)),this.iuor(_)},o.prototype.or=function(_){return this.length>_.length?this.clone().ior(_):_.clone().ior(this)},o.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},o.prototype.iuand=function(_){var E;E=this.length>_.length?_:this;for(var B=0;B<E.length;B++)this.words[B]=this.words[B]&_.words[B];return this.length=E.length,this._strip()},o.prototype.iand=function(_){return u(!(this.negative|_.negative)),this.iuand(_)},o.prototype.and=function(_){return this.length>_.length?this.clone().iand(_):_.clone().iand(this)},o.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},o.prototype.iuxor=function(_){var E,B;this.length>_.length?(E=this,B=_):(E=_,B=this);for(var A=0;A<B.length;A++)this.words[A]=E.words[A]^B.words[A];if(this!==E)for(;A<E.length;A++)this.words[A]=E.words[A];return this.length=E.length,this._strip()},o.prototype.ixor=function(_){return u(!(this.negative|_.negative)),this.iuxor(_)},o.prototype.xor=function(_){return this.length>_.length?this.clone().ixor(_):_.clone().ixor(this)},o.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},o.prototype.inotn=function(_){u(typeof _=="number"&&_>=0);var E=0|Math.ceil(_/26),B=_%26;this._expand(E),B>0&&E--;for(var A=0;A<E;A++)this.words[A]=67108863&~this.words[A];return B>0&&(this.words[A]=~this.words[A]&67108863>>26-B),this._strip()},o.prototype.notn=function(_){return this.clone().inotn(_)},o.prototype.setn=function(_,E){u(typeof _=="number"&&_>=0);var B=_/26|0,A=_%26;return this._expand(B+1),this.words[B]=E?this.words[B]|1<<A:this.words[B]&~(1<<A),this._strip()},o.prototype.iadd=function(_){var E,B,A;if(this.negative!==0&&_.negative===0)return this.negative=0,E=this.isub(_),this.negative^=1,this._normSign();if(this.negative===0&&_.negative!==0)return _.negative=0,E=this.isub(_),_.negative=1,E._normSign();this.length>_.length?(B=this,A=_):(B=_,A=this);for(var v=0,m=0;m<A.length;m++)E=(0|B.words[m])+(0|A.words[m])+v,this.words[m]=67108863&E,v=E>>>26;for(;v!==0&&m<B.length;m++)E=(0|B.words[m])+v,this.words[m]=67108863&E,v=E>>>26;if(this.length=B.length,v!==0)this.words[this.length]=v,this.length++;else if(B!==this)for(;m<B.length;m++)this.words[m]=B.words[m];return this},o.prototype.add=function(_){var E;return _.negative!==0&&this.negative===0?(_.negative=0,E=this.sub(_),_.negative^=1,E):_.negative===0&&this.negative!==0?(this.negative=0,E=_.sub(this),this.negative=1,E):this.length>_.length?this.clone().iadd(_):_.clone().iadd(this)},o.prototype.isub=function(_){if(_.negative!==0){_.negative=0;var E=this.iadd(_);return _.negative=1,E._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(_),this.negative=1,this._normSign();var B,A,v=this.cmp(_);if(v===0)return this.negative=0,this.length=1,this.words[0]=0,this;v>0?(B=this,A=_):(B=_,A=this);for(var m=0,k=0;k<A.length;k++)m=(E=(0|B.words[k])-(0|A.words[k])+m)>>26,this.words[k]=67108863&E;for(;m!==0&&k<B.length;k++)m=(E=(0|B.words[k])+m)>>26,this.words[k]=67108863&E;if(m===0&&k<B.length&&B!==this)for(;k<B.length;k++)this.words[k]=B.words[k];return this.length=Math.max(this.length,k),B!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(_){return this.clone().isub(_)};var b=function(_,E,B){var A,v,m,k=_.words,L=E.words,F=B.words,j=0,U=0|k[0],D=8191&U,x=U>>>13,T=0|k[1],G=8191&T,K=T>>>13,ee=0|k[2],Z=8191&ee,V=ee>>>13,Q=0|k[3],Y=8191&Q,J=Q>>>13,oe=0|k[4],se=8191&oe,ne=oe>>>13,_e=0|k[5],te=8191&_e,ie=_e>>>13,ye=0|k[6],ue=8191&ye,fe=ye>>>13,me=0|k[7],le=8191&me,he=me>>>13,Ee=0|k[8],ge=8191&Ee,de=Ee>>>13,Oe=0|k[9],ve=8191&Oe,be=Oe>>>13,Te=0|L[0],$=8191&Te,M=Te>>>13,C=0|L[1],W=8191&C,z=C>>>13,H=0|L[2],X=8191&H,re=H>>>13,pe=0|L[3],ce=8191&pe,ae=pe>>>13,Re=0|L[4],$e=8191&Re,qe=Re>>>13,Le=0|L[5],Be=8191&Le,Ae=Le>>>13,De=0|L[6],Se=8191&De,we=De>>>13,je=0|L[7],ke=8191&je,Me=je>>>13,ar=0|L[8],Ie=8191&ar,xe=ar>>>13,or=0|L[9],Pe=8191&or,Ce=or>>>13;B.negative=_.negative^E.negative,B.length=19;var Fe=(j+(A=Math.imul(D,$))|0)+((8191&(v=(v=Math.imul(D,M))+Math.imul(x,$)|0))<<13)|0;j=((m=Math.imul(x,M))+(v>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,A=Math.imul(G,$),v=(v=Math.imul(G,M))+Math.imul(K,$)|0,m=Math.imul(K,M);var Ue=(j+(A=A+Math.imul(D,W)|0)|0)+((8191&(v=(v=v+Math.imul(D,z)|0)+Math.imul(x,W)|0))<<13)|0;j=((m=m+Math.imul(x,z)|0)+(v>>>13)|0)+(Ue>>>26)|0,Ue&=67108863,A=Math.imul(Z,$),v=(v=Math.imul(Z,M))+Math.imul(V,$)|0,m=Math.imul(V,M),A=A+Math.imul(G,W)|0,v=(v=v+Math.imul(G,z)|0)+Math.imul(K,W)|0,m=m+Math.imul(K,z)|0;var Ne=(j+(A=A+Math.imul(D,X)|0)|0)+((8191&(v=(v=v+Math.imul(D,re)|0)+Math.imul(x,X)|0))<<13)|0;j=((m=m+Math.imul(x,re)|0)+(v>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,A=Math.imul(Y,$),v=(v=Math.imul(Y,M))+Math.imul(J,$)|0,m=Math.imul(J,M),A=A+Math.imul(Z,W)|0,v=(v=v+Math.imul(Z,z)|0)+Math.imul(V,W)|0,m=m+Math.imul(V,z)|0,A=A+Math.imul(G,X)|0,v=(v=v+Math.imul(G,re)|0)+Math.imul(K,X)|0,m=m+Math.imul(K,re)|0;var We=(j+(A=A+Math.imul(D,ce)|0)|0)+((8191&(v=(v=v+Math.imul(D,ae)|0)+Math.imul(x,ce)|0))<<13)|0;j=((m=m+Math.imul(x,ae)|0)+(v>>>13)|0)+(We>>>26)|0,We&=67108863,A=Math.imul(se,$),v=(v=Math.imul(se,M))+Math.imul(ne,$)|0,m=Math.imul(ne,M),A=A+Math.imul(Y,W)|0,v=(v=v+Math.imul(Y,z)|0)+Math.imul(J,W)|0,m=m+Math.imul(J,z)|0,A=A+Math.imul(Z,X)|0,v=(v=v+Math.imul(Z,re)|0)+Math.imul(V,X)|0,m=m+Math.imul(V,re)|0,A=A+Math.imul(G,ce)|0,v=(v=v+Math.imul(G,ae)|0)+Math.imul(K,ce)|0,m=m+Math.imul(K,ae)|0;var ze=(j+(A=A+Math.imul(D,$e)|0)|0)+((8191&(v=(v=v+Math.imul(D,qe)|0)+Math.imul(x,$e)|0))<<13)|0;j=((m=m+Math.imul(x,qe)|0)+(v>>>13)|0)+(ze>>>26)|0,ze&=67108863,A=Math.imul(te,$),v=(v=Math.imul(te,M))+Math.imul(ie,$)|0,m=Math.imul(ie,M),A=A+Math.imul(se,W)|0,v=(v=v+Math.imul(se,z)|0)+Math.imul(ne,W)|0,m=m+Math.imul(ne,z)|0,A=A+Math.imul(Y,X)|0,v=(v=v+Math.imul(Y,re)|0)+Math.imul(J,X)|0,m=m+Math.imul(J,re)|0,A=A+Math.imul(Z,ce)|0,v=(v=v+Math.imul(Z,ae)|0)+Math.imul(V,ce)|0,m=m+Math.imul(V,ae)|0,A=A+Math.imul(G,$e)|0,v=(v=v+Math.imul(G,qe)|0)+Math.imul(K,$e)|0,m=m+Math.imul(K,qe)|0;var Ge=(j+(A=A+Math.imul(D,Be)|0)|0)+((8191&(v=(v=v+Math.imul(D,Ae)|0)+Math.imul(x,Be)|0))<<13)|0;j=((m=m+Math.imul(x,Ae)|0)+(v>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,A=Math.imul(ue,$),v=(v=Math.imul(ue,M))+Math.imul(fe,$)|0,m=Math.imul(fe,M),A=A+Math.imul(te,W)|0,v=(v=v+Math.imul(te,z)|0)+Math.imul(ie,W)|0,m=m+Math.imul(ie,z)|0,A=A+Math.imul(se,X)|0,v=(v=v+Math.imul(se,re)|0)+Math.imul(ne,X)|0,m=m+Math.imul(ne,re)|0,A=A+Math.imul(Y,ce)|0,v=(v=v+Math.imul(Y,ae)|0)+Math.imul(J,ce)|0,m=m+Math.imul(J,ae)|0,A=A+Math.imul(Z,$e)|0,v=(v=v+Math.imul(Z,qe)|0)+Math.imul(V,$e)|0,m=m+Math.imul(V,qe)|0,A=A+Math.imul(G,Be)|0,v=(v=v+Math.imul(G,Ae)|0)+Math.imul(K,Be)|0,m=m+Math.imul(K,Ae)|0;var He=(j+(A=A+Math.imul(D,Se)|0)|0)+((8191&(v=(v=v+Math.imul(D,we)|0)+Math.imul(x,Se)|0))<<13)|0;j=((m=m+Math.imul(x,we)|0)+(v>>>13)|0)+(He>>>26)|0,He&=67108863,A=Math.imul(le,$),v=(v=Math.imul(le,M))+Math.imul(he,$)|0,m=Math.imul(he,M),A=A+Math.imul(ue,W)|0,v=(v=v+Math.imul(ue,z)|0)+Math.imul(fe,W)|0,m=m+Math.imul(fe,z)|0,A=A+Math.imul(te,X)|0,v=(v=v+Math.imul(te,re)|0)+Math.imul(ie,X)|0,m=m+Math.imul(ie,re)|0,A=A+Math.imul(se,ce)|0,v=(v=v+Math.imul(se,ae)|0)+Math.imul(ne,ce)|0,m=m+Math.imul(ne,ae)|0,A=A+Math.imul(Y,$e)|0,v=(v=v+Math.imul(Y,qe)|0)+Math.imul(J,$e)|0,m=m+Math.imul(J,qe)|0,A=A+Math.imul(Z,Be)|0,v=(v=v+Math.imul(Z,Ae)|0)+Math.imul(V,Be)|0,m=m+Math.imul(V,Ae)|0,A=A+Math.imul(G,Se)|0,v=(v=v+Math.imul(G,we)|0)+Math.imul(K,Se)|0,m=m+Math.imul(K,we)|0;var Ke=(j+(A=A+Math.imul(D,ke)|0)|0)+((8191&(v=(v=v+Math.imul(D,Me)|0)+Math.imul(x,ke)|0))<<13)|0;j=((m=m+Math.imul(x,Me)|0)+(v>>>13)|0)+(Ke>>>26)|0,Ke&=67108863,A=Math.imul(ge,$),v=(v=Math.imul(ge,M))+Math.imul(de,$)|0,m=Math.imul(de,M),A=A+Math.imul(le,W)|0,v=(v=v+Math.imul(le,z)|0)+Math.imul(he,W)|0,m=m+Math.imul(he,z)|0,A=A+Math.imul(ue,X)|0,v=(v=v+Math.imul(ue,re)|0)+Math.imul(fe,X)|0,m=m+Math.imul(fe,re)|0,A=A+Math.imul(te,ce)|0,v=(v=v+Math.imul(te,ae)|0)+Math.imul(ie,ce)|0,m=m+Math.imul(ie,ae)|0,A=A+Math.imul(se,$e)|0,v=(v=v+Math.imul(se,qe)|0)+Math.imul(ne,$e)|0,m=m+Math.imul(ne,qe)|0,A=A+Math.imul(Y,Be)|0,v=(v=v+Math.imul(Y,Ae)|0)+Math.imul(J,Be)|0,m=m+Math.imul(J,Ae)|0,A=A+Math.imul(Z,Se)|0,v=(v=v+Math.imul(Z,we)|0)+Math.imul(V,Se)|0,m=m+Math.imul(V,we)|0,A=A+Math.imul(G,ke)|0,v=(v=v+Math.imul(G,Me)|0)+Math.imul(K,ke)|0,m=m+Math.imul(K,Me)|0;var Ve=(j+(A=A+Math.imul(D,Ie)|0)|0)+((8191&(v=(v=v+Math.imul(D,xe)|0)+Math.imul(x,Ie)|0))<<13)|0;j=((m=m+Math.imul(x,xe)|0)+(v>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,A=Math.imul(ve,$),v=(v=Math.imul(ve,M))+Math.imul(be,$)|0,m=Math.imul(be,M),A=A+Math.imul(ge,W)|0,v=(v=v+Math.imul(ge,z)|0)+Math.imul(de,W)|0,m=m+Math.imul(de,z)|0,A=A+Math.imul(le,X)|0,v=(v=v+Math.imul(le,re)|0)+Math.imul(he,X)|0,m=m+Math.imul(he,re)|0,A=A+Math.imul(ue,ce)|0,v=(v=v+Math.imul(ue,ae)|0)+Math.imul(fe,ce)|0,m=m+Math.imul(fe,ae)|0,A=A+Math.imul(te,$e)|0,v=(v=v+Math.imul(te,qe)|0)+Math.imul(ie,$e)|0,m=m+Math.imul(ie,qe)|0,A=A+Math.imul(se,Be)|0,v=(v=v+Math.imul(se,Ae)|0)+Math.imul(ne,Be)|0,m=m+Math.imul(ne,Ae)|0,A=A+Math.imul(Y,Se)|0,v=(v=v+Math.imul(Y,we)|0)+Math.imul(J,Se)|0,m=m+Math.imul(J,we)|0,A=A+Math.imul(Z,ke)|0,v=(v=v+Math.imul(Z,Me)|0)+Math.imul(V,ke)|0,m=m+Math.imul(V,Me)|0,A=A+Math.imul(G,Ie)|0,v=(v=v+Math.imul(G,xe)|0)+Math.imul(K,Ie)|0,m=m+Math.imul(K,xe)|0;var Ye=(j+(A=A+Math.imul(D,Pe)|0)|0)+((8191&(v=(v=v+Math.imul(D,Ce)|0)+Math.imul(x,Pe)|0))<<13)|0;j=((m=m+Math.imul(x,Ce)|0)+(v>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,A=Math.imul(ve,W),v=(v=Math.imul(ve,z))+Math.imul(be,W)|0,m=Math.imul(be,z),A=A+Math.imul(ge,X)|0,v=(v=v+Math.imul(ge,re)|0)+Math.imul(de,X)|0,m=m+Math.imul(de,re)|0,A=A+Math.imul(le,ce)|0,v=(v=v+Math.imul(le,ae)|0)+Math.imul(he,ce)|0,m=m+Math.imul(he,ae)|0,A=A+Math.imul(ue,$e)|0,v=(v=v+Math.imul(ue,qe)|0)+Math.imul(fe,$e)|0,m=m+Math.imul(fe,qe)|0,A=A+Math.imul(te,Be)|0,v=(v=v+Math.imul(te,Ae)|0)+Math.imul(ie,Be)|0,m=m+Math.imul(ie,Ae)|0,A=A+Math.imul(se,Se)|0,v=(v=v+Math.imul(se,we)|0)+Math.imul(ne,Se)|0,m=m+Math.imul(ne,we)|0,A=A+Math.imul(Y,ke)|0,v=(v=v+Math.imul(Y,Me)|0)+Math.imul(J,ke)|0,m=m+Math.imul(J,Me)|0,A=A+Math.imul(Z,Ie)|0,v=(v=v+Math.imul(Z,xe)|0)+Math.imul(V,Ie)|0,m=m+Math.imul(V,xe)|0;var Xe=(j+(A=A+Math.imul(G,Pe)|0)|0)+((8191&(v=(v=v+Math.imul(G,Ce)|0)+Math.imul(K,Pe)|0))<<13)|0;j=((m=m+Math.imul(K,Ce)|0)+(v>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,A=Math.imul(ve,X),v=(v=Math.imul(ve,re))+Math.imul(be,X)|0,m=Math.imul(be,re),A=A+Math.imul(ge,ce)|0,v=(v=v+Math.imul(ge,ae)|0)+Math.imul(de,ce)|0,m=m+Math.imul(de,ae)|0,A=A+Math.imul(le,$e)|0,v=(v=v+Math.imul(le,qe)|0)+Math.imul(he,$e)|0,m=m+Math.imul(he,qe)|0,A=A+Math.imul(ue,Be)|0,v=(v=v+Math.imul(ue,Ae)|0)+Math.imul(fe,Be)|0,m=m+Math.imul(fe,Ae)|0,A=A+Math.imul(te,Se)|0,v=(v=v+Math.imul(te,we)|0)+Math.imul(ie,Se)|0,m=m+Math.imul(ie,we)|0,A=A+Math.imul(se,ke)|0,v=(v=v+Math.imul(se,Me)|0)+Math.imul(ne,ke)|0,m=m+Math.imul(ne,Me)|0,A=A+Math.imul(Y,Ie)|0,v=(v=v+Math.imul(Y,xe)|0)+Math.imul(J,Ie)|0,m=m+Math.imul(J,xe)|0;var Ze=(j+(A=A+Math.imul(Z,Pe)|0)|0)+((8191&(v=(v=v+Math.imul(Z,Ce)|0)+Math.imul(V,Pe)|0))<<13)|0;j=((m=m+Math.imul(V,Ce)|0)+(v>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,A=Math.imul(ve,ce),v=(v=Math.imul(ve,ae))+Math.imul(be,ce)|0,m=Math.imul(be,ae),A=A+Math.imul(ge,$e)|0,v=(v=v+Math.imul(ge,qe)|0)+Math.imul(de,$e)|0,m=m+Math.imul(de,qe)|0,A=A+Math.imul(le,Be)|0,v=(v=v+Math.imul(le,Ae)|0)+Math.imul(he,Be)|0,m=m+Math.imul(he,Ae)|0,A=A+Math.imul(ue,Se)|0,v=(v=v+Math.imul(ue,we)|0)+Math.imul(fe,Se)|0,m=m+Math.imul(fe,we)|0,A=A+Math.imul(te,ke)|0,v=(v=v+Math.imul(te,Me)|0)+Math.imul(ie,ke)|0,m=m+Math.imul(ie,Me)|0,A=A+Math.imul(se,Ie)|0,v=(v=v+Math.imul(se,xe)|0)+Math.imul(ne,Ie)|0,m=m+Math.imul(ne,xe)|0;var Je=(j+(A=A+Math.imul(Y,Pe)|0)|0)+((8191&(v=(v=v+Math.imul(Y,Ce)|0)+Math.imul(J,Pe)|0))<<13)|0;j=((m=m+Math.imul(J,Ce)|0)+(v>>>13)|0)+(Je>>>26)|0,Je&=67108863,A=Math.imul(ve,$e),v=(v=Math.imul(ve,qe))+Math.imul(be,$e)|0,m=Math.imul(be,qe),A=A+Math.imul(ge,Be)|0,v=(v=v+Math.imul(ge,Ae)|0)+Math.imul(de,Be)|0,m=m+Math.imul(de,Ae)|0,A=A+Math.imul(le,Se)|0,v=(v=v+Math.imul(le,we)|0)+Math.imul(he,Se)|0,m=m+Math.imul(he,we)|0,A=A+Math.imul(ue,ke)|0,v=(v=v+Math.imul(ue,Me)|0)+Math.imul(fe,ke)|0,m=m+Math.imul(fe,Me)|0,A=A+Math.imul(te,Ie)|0,v=(v=v+Math.imul(te,xe)|0)+Math.imul(ie,Ie)|0,m=m+Math.imul(ie,xe)|0;var Qe=(j+(A=A+Math.imul(se,Pe)|0)|0)+((8191&(v=(v=v+Math.imul(se,Ce)|0)+Math.imul(ne,Pe)|0))<<13)|0;j=((m=m+Math.imul(ne,Ce)|0)+(v>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,A=Math.imul(ve,Be),v=(v=Math.imul(ve,Ae))+Math.imul(be,Be)|0,m=Math.imul(be,Ae),A=A+Math.imul(ge,Se)|0,v=(v=v+Math.imul(ge,we)|0)+Math.imul(de,Se)|0,m=m+Math.imul(de,we)|0,A=A+Math.imul(le,ke)|0,v=(v=v+Math.imul(le,Me)|0)+Math.imul(he,ke)|0,m=m+Math.imul(he,Me)|0,A=A+Math.imul(ue,Ie)|0,v=(v=v+Math.imul(ue,xe)|0)+Math.imul(fe,Ie)|0,m=m+Math.imul(fe,xe)|0;var er=(j+(A=A+Math.imul(te,Pe)|0)|0)+((8191&(v=(v=v+Math.imul(te,Ce)|0)+Math.imul(ie,Pe)|0))<<13)|0;j=((m=m+Math.imul(ie,Ce)|0)+(v>>>13)|0)+(er>>>26)|0,er&=67108863,A=Math.imul(ve,Se),v=(v=Math.imul(ve,we))+Math.imul(be,Se)|0,m=Math.imul(be,we),A=A+Math.imul(ge,ke)|0,v=(v=v+Math.imul(ge,Me)|0)+Math.imul(de,ke)|0,m=m+Math.imul(de,Me)|0,A=A+Math.imul(le,Ie)|0,v=(v=v+Math.imul(le,xe)|0)+Math.imul(he,Ie)|0,m=m+Math.imul(he,xe)|0;var rr=(j+(A=A+Math.imul(ue,Pe)|0)|0)+((8191&(v=(v=v+Math.imul(ue,Ce)|0)+Math.imul(fe,Pe)|0))<<13)|0;j=((m=m+Math.imul(fe,Ce)|0)+(v>>>13)|0)+(rr>>>26)|0,rr&=67108863,A=Math.imul(ve,ke),v=(v=Math.imul(ve,Me))+Math.imul(be,ke)|0,m=Math.imul(be,Me),A=A+Math.imul(ge,Ie)|0,v=(v=v+Math.imul(ge,xe)|0)+Math.imul(de,Ie)|0,m=m+Math.imul(de,xe)|0;var tr=(j+(A=A+Math.imul(le,Pe)|0)|0)+((8191&(v=(v=v+Math.imul(le,Ce)|0)+Math.imul(he,Pe)|0))<<13)|0;j=((m=m+Math.imul(he,Ce)|0)+(v>>>13)|0)+(tr>>>26)|0,tr&=67108863,A=Math.imul(ve,Ie),v=(v=Math.imul(ve,xe))+Math.imul(be,Ie)|0,m=Math.imul(be,xe);var ir=(j+(A=A+Math.imul(ge,Pe)|0)|0)+((8191&(v=(v=v+Math.imul(ge,Ce)|0)+Math.imul(de,Pe)|0))<<13)|0;j=((m=m+Math.imul(de,Ce)|0)+(v>>>13)|0)+(ir>>>26)|0,ir&=67108863;var nr=(j+(A=Math.imul(ve,Pe))|0)+((8191&(v=(v=Math.imul(ve,Ce))+Math.imul(be,Pe)|0))<<13)|0;return j=((m=Math.imul(be,Ce))+(v>>>13)|0)+(nr>>>26)|0,nr&=67108863,F[0]=Fe,F[1]=Ue,F[2]=Ne,F[3]=We,F[4]=ze,F[5]=Ge,F[6]=He,F[7]=Ke,F[8]=Ve,F[9]=Ye,F[10]=Xe,F[11]=Ze,F[12]=Je,F[13]=Qe,F[14]=er,F[15]=rr,F[16]=tr,F[17]=ir,F[18]=nr,j!==0&&(F[19]=j,B.length++),B};function y(_,E,B){B.negative=E.negative^_.negative,B.length=_.length+E.length;for(var A=0,v=0,m=0;m<B.length-1;m++){var k=v;v=0;for(var L=67108863&A,F=Math.min(m,E.length-1),j=Math.max(0,m-_.length+1);j<=F;j++){var U=m-j,D=(0|_.words[U])*(0|E.words[j]),x=67108863&D;L=67108863&(x=x+L|0),v+=(k=(k=k+(D/67108864|0)|0)+(x>>>26)|0)>>>26,k&=67108863}B.words[m]=L,A=k,k=v}return A!==0?B.words[m]=A:B.length--,B._strip()}function g(_,E,B){return y(_,E,B)}Math.imul||(b=p),o.prototype.mulTo=function(_,E){var B=this.length+_.length;return this.length===10&&_.length===10?b(this,_,E):B<63?p(this,_,E):B<1024?y(this,_,E):g(this,_,E)},o.prototype.mul=function(_){var E=new o(null);return E.words=new Array(this.length+_.length),this.mulTo(_,E)},o.prototype.mulf=function(_){var E=new o(null);return E.words=new Array(this.length+_.length),g(this,_,E)},o.prototype.imul=function(_){return this.clone().mulTo(_,this)},o.prototype.imuln=function(_){var E=_<0;E&&(_=-_),u(typeof _=="number"),u(_<67108864);for(var B=0,A=0;A<this.length;A++){var v=(0|this.words[A])*_,m=(67108863&v)+(67108863&B);B>>=26,B+=v/67108864|0,B+=m>>>26,this.words[A]=67108863&m}return B!==0&&(this.words[A]=B,this.length++),this.length=_===0?1:this.length,E?this.ineg():this},o.prototype.muln=function(_){return this.clone().imuln(_)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(_){var E=(function(m){for(var k=new Array(m.bitLength()),L=0;L<k.length;L++){var F=L/26|0,j=L%26;k[L]=m.words[F]>>>j&1}return k})(_);if(E.length===0)return new o(1);for(var B=this,A=0;A<E.length&&E[A]===0;A++,B=B.sqr());if(++A<E.length)for(var v=B.sqr();A<E.length;A++,v=v.sqr())E[A]!==0&&(B=B.mul(v));return B},o.prototype.iushln=function(_){u(typeof _=="number"&&_>=0);var E,B=_%26,A=(_-B)/26,v=67108863>>>26-B<<26-B;if(B!==0){var m=0;for(E=0;E<this.length;E++){var k=this.words[E]&v,L=(0|this.words[E])-k<<B;this.words[E]=L|m,m=k>>>26-B}m&&(this.words[E]=m,this.length++)}if(A!==0){for(E=this.length-1;E>=0;E--)this.words[E+A]=this.words[E];for(E=0;E<A;E++)this.words[E]=0;this.length+=A}return this._strip()},o.prototype.ishln=function(_){return u(this.negative===0),this.iushln(_)},o.prototype.iushrn=function(_,E,B){var A;u(typeof _=="number"&&_>=0),A=E?(E-E%26)/26:0;var v=_%26,m=Math.min((_-v)/26,this.length),k=67108863^67108863>>>v<<v,L=B;if(A-=m,A=Math.max(0,A),L){for(var F=0;F<m;F++)L.words[F]=this.words[F];L.length=m}if(m!==0)if(this.length>m)for(this.length-=m,F=0;F<this.length;F++)this.words[F]=this.words[F+m];else this.words[0]=0,this.length=1;var j=0;for(F=this.length-1;F>=0&&(j!==0||F>=A);F--){var U=0|this.words[F];this.words[F]=j<<26-v|U>>>v,j=U&k}return L&&j!==0&&(L.words[L.length++]=j),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(_,E,B){return u(this.negative===0),this.iushrn(_,E,B)},o.prototype.shln=function(_){return this.clone().ishln(_)},o.prototype.ushln=function(_){return this.clone().iushln(_)},o.prototype.shrn=function(_){return this.clone().ishrn(_)},o.prototype.ushrn=function(_){return this.clone().iushrn(_)},o.prototype.testn=function(_){u(typeof _=="number"&&_>=0);var E=_%26,B=(_-E)/26,A=1<<E;return!(this.length<=B||!(this.words[B]&A))},o.prototype.imaskn=function(_){u(typeof _=="number"&&_>=0);var E=_%26,B=(_-E)/26;if(u(this.negative===0,"imaskn works only with positive numbers"),this.length<=B)return this;if(E!==0&&B++,this.length=Math.min(B,this.length),E!==0){var A=67108863^67108863>>>E<<E;this.words[this.length-1]&=A}return this.length===0&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.maskn=function(_){return this.clone().imaskn(_)},o.prototype.iaddn=function(_){return u(typeof _=="number"),u(_<67108864),_<0?this.isubn(-_):this.negative!==0?this.length===1&&(0|this.words[0])<=_?(this.words[0]=_-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(_),this.negative=1,this):this._iaddn(_)},o.prototype._iaddn=function(_){this.words[0]+=_;for(var E=0;E<this.length&&this.words[E]>=67108864;E++)this.words[E]-=67108864,E===this.length-1?this.words[E+1]=1:this.words[E+1]++;return this.length=Math.max(this.length,E+1),this},o.prototype.isubn=function(_){if(u(typeof _=="number"),u(_<67108864),_<0)return this.iaddn(-_);if(this.negative!==0)return this.negative=0,this.iaddn(_),this.negative=1,this;if(this.words[0]-=_,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var E=0;E<this.length&&this.words[E]<0;E++)this.words[E]+=67108864,this.words[E+1]-=1;return this._strip()},o.prototype.addn=function(_){return this.clone().iaddn(_)},o.prototype.subn=function(_){return this.clone().isubn(_)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(_,E,B){var A,v,m=_.length+B;this._expand(m);var k=0;for(A=0;A<_.length;A++){v=(0|this.words[A+B])+k;var L=(0|_.words[A])*E;k=((v-=67108863&L)>>26)-(L/67108864|0),this.words[A+B]=67108863&v}for(;A<this.length-B;A++)k=(v=(0|this.words[A+B])+k)>>26,this.words[A+B]=67108863&v;if(k===0)return this._strip();for(u(k===-1),k=0,A=0;A<this.length;A++)k=(v=-(0|this.words[A])+k)>>26,this.words[A]=67108863&v;return this.negative=1,this._strip()},o.prototype._wordDiv=function(_,E){var B=(this.length,_.length),A=this.clone(),v=_,m=0|v.words[v.length-1];(B=26-this._countBits(m))!=0&&(v=v.ushln(B),A.iushln(B),m=0|v.words[v.length-1]);var k,L=A.length-v.length;if(E!=="mod"){(k=new o(null)).length=L+1,k.words=new Array(k.length);for(var F=0;F<k.length;F++)k.words[F]=0}var j=A.clone()._ishlnsubmul(v,1,L);j.negative===0&&(A=j,k&&(k.words[L]=1));for(var U=L-1;U>=0;U--){var D=67108864*(0|A.words[v.length+U])+(0|A.words[v.length+U-1]);for(D=Math.min(D/m|0,67108863),A._ishlnsubmul(v,D,U);A.negative!==0;)D--,A.negative=0,A._ishlnsubmul(v,1,U),A.isZero()||(A.negative^=1);k&&(k.words[U]=D)}return k&&k._strip(),A._strip(),E!=="div"&&B!==0&&A.iushrn(B),{div:k||null,mod:A}},o.prototype.divmod=function(_,E,B){return u(!_.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:this.negative!==0&&_.negative===0?(m=this.neg().divmod(_,E),E!=="mod"&&(A=m.div.neg()),E!=="div"&&(v=m.mod.neg(),B&&v.negative!==0&&v.iadd(_)),{div:A,mod:v}):this.negative===0&&_.negative!==0?(m=this.divmod(_.neg(),E),E!=="mod"&&(A=m.div.neg()),{div:A,mod:m.mod}):this.negative&_.negative?(m=this.neg().divmod(_.neg(),E),E!=="div"&&(v=m.mod.neg(),B&&v.negative!==0&&v.isub(_)),{div:m.div,mod:v}):_.length>this.length||this.cmp(_)<0?{div:new o(0),mod:this}:_.length===1?E==="div"?{div:this.divn(_.words[0]),mod:null}:E==="mod"?{div:null,mod:new o(this.modrn(_.words[0]))}:{div:this.divn(_.words[0]),mod:new o(this.modrn(_.words[0]))}:this._wordDiv(_,E);var A,v,m},o.prototype.div=function(_){return this.divmod(_,"div",!1).div},o.prototype.mod=function(_){return this.divmod(_,"mod",!1).mod},o.prototype.umod=function(_){return this.divmod(_,"mod",!0).mod},o.prototype.divRound=function(_){var E=this.divmod(_);if(E.mod.isZero())return E.div;var B=E.div.negative!==0?E.mod.isub(_):E.mod,A=_.ushrn(1),v=_.andln(1),m=B.cmp(A);return m<0||v===1&&m===0?E.div:E.div.negative!==0?E.div.isubn(1):E.div.iaddn(1)},o.prototype.modrn=function(_){var E=_<0;E&&(_=-_),u(_<=67108863);for(var B=(1<<26)%_,A=0,v=this.length-1;v>=0;v--)A=(B*A+(0|this.words[v]))%_;return E?-A:A},o.prototype.modn=function(_){return this.modrn(_)},o.prototype.idivn=function(_){var E=_<0;E&&(_=-_),u(_<=67108863);for(var B=0,A=this.length-1;A>=0;A--){var v=(0|this.words[A])+67108864*B;this.words[A]=v/_|0,B=v%_}return this._strip(),E?this.ineg():this},o.prototype.divn=function(_){return this.clone().idivn(_)},o.prototype.egcd=function(_){u(_.negative===0),u(!_.isZero());var E=this,B=_.clone();E=E.negative!==0?E.umod(_):E.clone();for(var A=new o(1),v=new o(0),m=new o(0),k=new o(1),L=0;E.isEven()&&B.isEven();)E.iushrn(1),B.iushrn(1),++L;for(var F=B.clone(),j=E.clone();!E.isZero();){for(var U=0,D=1;!(E.words[0]&D)&&U<26;++U,D<<=1);if(U>0)for(E.iushrn(U);U-- >0;)(A.isOdd()||v.isOdd())&&(A.iadd(F),v.isub(j)),A.iushrn(1),v.iushrn(1);for(var x=0,T=1;!(B.words[0]&T)&&x<26;++x,T<<=1);if(x>0)for(B.iushrn(x);x-- >0;)(m.isOdd()||k.isOdd())&&(m.iadd(F),k.isub(j)),m.iushrn(1),k.iushrn(1);E.cmp(B)>=0?(E.isub(B),A.isub(m),v.isub(k)):(B.isub(E),m.isub(A),k.isub(v))}return{a:m,b:k,gcd:B.iushln(L)}},o.prototype._invmp=function(_){u(_.negative===0),u(!_.isZero());var E=this,B=_.clone();E=E.negative!==0?E.umod(_):E.clone();for(var A,v=new o(1),m=new o(0),k=B.clone();E.cmpn(1)>0&&B.cmpn(1)>0;){for(var L=0,F=1;!(E.words[0]&F)&&L<26;++L,F<<=1);if(L>0)for(E.iushrn(L);L-- >0;)v.isOdd()&&v.iadd(k),v.iushrn(1);for(var j=0,U=1;!(B.words[0]&U)&&j<26;++j,U<<=1);if(j>0)for(B.iushrn(j);j-- >0;)m.isOdd()&&m.iadd(k),m.iushrn(1);E.cmp(B)>=0?(E.isub(B),v.isub(m)):(B.isub(E),m.isub(v))}return(A=E.cmpn(1)===0?v:m).cmpn(0)<0&&A.iadd(_),A},o.prototype.gcd=function(_){if(this.isZero())return _.abs();if(_.isZero())return this.abs();var E=this.clone(),B=_.clone();E.negative=0,B.negative=0;for(var A=0;E.isEven()&&B.isEven();A++)E.iushrn(1),B.iushrn(1);for(;;){for(;E.isEven();)E.iushrn(1);for(;B.isEven();)B.iushrn(1);var v=E.cmp(B);if(v<0){var m=E;E=B,B=m}else if(v===0||B.cmpn(1)===0)break;E.isub(B)}return B.iushln(A)},o.prototype.invm=function(_){return this.egcd(_).a.umod(_)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(_){return this.words[0]&_},o.prototype.bincn=function(_){u(typeof _=="number");var E=_%26,B=(_-E)/26,A=1<<E;if(this.length<=B)return this._expand(B+1),this.words[B]|=A,this;for(var v=A,m=B;v!==0&&m<this.length;m++){var k=0|this.words[m];v=(k+=v)>>>26,k&=67108863,this.words[m]=k}return v!==0&&(this.words[m]=v,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(_){var E,B=_<0;if(this.negative!==0&&!B)return-1;if(this.negative===0&&B)return 1;if(this._strip(),this.length>1)E=1;else{B&&(_=-_),u(_<=67108863,"Number is too big");var A=0|this.words[0];E=A===_?0:A<_?-1:1}return this.negative!==0?0|-E:E},o.prototype.cmp=function(_){if(this.negative!==0&&_.negative===0)return-1;if(this.negative===0&&_.negative!==0)return 1;var E=this.ucmp(_);return this.negative!==0?0|-E:E},o.prototype.ucmp=function(_){if(this.length>_.length)return 1;if(this.length<_.length)return-1;for(var E=0,B=this.length-1;B>=0;B--){var A=0|this.words[B],v=0|_.words[B];if(A!==v){A<v?E=-1:A>v&&(E=1);break}}return E},o.prototype.gtn=function(_){return this.cmpn(_)===1},o.prototype.gt=function(_){return this.cmp(_)===1},o.prototype.gten=function(_){return this.cmpn(_)>=0},o.prototype.gte=function(_){return this.cmp(_)>=0},o.prototype.ltn=function(_){return this.cmpn(_)===-1},o.prototype.lt=function(_){return this.cmp(_)===-1},o.prototype.lten=function(_){return this.cmpn(_)<=0},o.prototype.lte=function(_){return this.cmp(_)<=0},o.prototype.eqn=function(_){return this.cmpn(_)===0},o.prototype.eq=function(_){return this.cmp(_)===0},o.red=function(_){return new O(_)},o.prototype.toRed=function(_){return u(!this.red,"Already a number in reduction context"),u(this.negative===0,"red works only with positives"),_.convertTo(this)._forceRed(_)},o.prototype.fromRed=function(){return u(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(_){return this.red=_,this},o.prototype.forceRed=function(_){return u(!this.red,"Already a number in reduction context"),this._forceRed(_)},o.prototype.redAdd=function(_){return u(this.red,"redAdd works only with red numbers"),this.red.add(this,_)},o.prototype.redIAdd=function(_){return u(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,_)},o.prototype.redSub=function(_){return u(this.red,"redSub works only with red numbers"),this.red.sub(this,_)},o.prototype.redISub=function(_){return u(this.red,"redISub works only with red numbers"),this.red.isub(this,_)},o.prototype.redShl=function(_){return u(this.red,"redShl works only with red numbers"),this.red.shl(this,_)},o.prototype.redMul=function(_){return u(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.mul(this,_)},o.prototype.redIMul=function(_){return u(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.imul(this,_)},o.prototype.redSqr=function(){return u(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return u(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return u(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return u(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return u(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(_){return u(this.red&&!_.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,_)};var R={k256:null,p224:null,p192:null,p25519:null};function S(_,E){this.name=_,this.p=new o(E,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){S.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function q(){S.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function I(){S.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function P(){S.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function O(_){if(typeof _=="string"){var E=o._prime(_);this.m=E.p,this.prime=E}else u(_.gtn(1),"modulus must be greater than 1"),this.m=_,this.prime=null}function N(_){O.call(this,_),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}S.prototype._tmp=function(){var _=new o(null);return _.words=new Array(Math.ceil(this.n/13)),_},S.prototype.ireduce=function(_){var E,B=_;do this.split(B,this.tmp),E=(B=(B=this.imulK(B)).iadd(this.tmp)).bitLength();while(E>this.n);var A=E<this.n?-1:B.ucmp(this.p);return A===0?(B.words[0]=0,B.length=1):A>0?B.isub(this.p):B.strip!==void 0?B.strip():B._strip(),B},S.prototype.split=function(_,E){_.iushrn(this.n,0,E)},S.prototype.imulK=function(_){return _.imul(this.k)},t(w,S),w.prototype.split=function(_,E){for(var B=4194303,A=Math.min(_.length,9),v=0;v<A;v++)E.words[v]=_.words[v];if(E.length=A,_.length<=9)return _.words[0]=0,void(_.length=1);var m=_.words[9];for(E.words[E.length++]=m&B,v=10;v<_.length;v++){var k=0|_.words[v];_.words[v-10]=(k&B)<<4|m>>>22,m=k}m>>>=22,_.words[v-10]=m,m===0&&_.length>10?_.length-=10:_.length-=9},w.prototype.imulK=function(_){_.words[_.length]=0,_.words[_.length+1]=0,_.length+=2;for(var E=0,B=0;B<_.length;B++){var A=0|_.words[B];E+=977*A,_.words[B]=67108863&E,E=64*A+(E/67108864|0)}return _.words[_.length-1]===0&&(_.length--,_.words[_.length-1]===0&&_.length--),_},t(q,S),t(I,S),t(P,S),P.prototype.imulK=function(_){for(var E=0,B=0;B<_.length;B++){var A=19*(0|_.words[B])+E,v=67108863&A;A>>>=26,_.words[B]=v,E=A}return E!==0&&(_.words[_.length++]=E),_},o._prime=function(_){if(R[_])return R[_];var E;if(_==="k256")E=new w;else if(_==="p224")E=new q;else if(_==="p192")E=new I;else{if(_!=="p25519")throw new Error("Unknown prime "+_);E=new P}return R[_]=E,E},O.prototype._verify1=function(_){u(_.negative===0,"red works only with positives"),u(_.red,"red works only with red numbers")},O.prototype._verify2=function(_,E){u(!(_.negative|E.negative),"red works only with positives"),u(_.red&&_.red===E.red,"red works only with red numbers")},O.prototype.imod=function(_){return this.prime?this.prime.ireduce(_)._forceRed(this):(i(_,_.umod(this.m)._forceRed(this)),_)},O.prototype.neg=function(_){return _.isZero()?_.clone():this.m.sub(_)._forceRed(this)},O.prototype.add=function(_,E){this._verify2(_,E);var B=_.add(E);return B.cmp(this.m)>=0&&B.isub(this.m),B._forceRed(this)},O.prototype.iadd=function(_,E){this._verify2(_,E);var B=_.iadd(E);return B.cmp(this.m)>=0&&B.isub(this.m),B},O.prototype.sub=function(_,E){this._verify2(_,E);var B=_.sub(E);return B.cmpn(0)<0&&B.iadd(this.m),B._forceRed(this)},O.prototype.isub=function(_,E){this._verify2(_,E);var B=_.isub(E);return B.cmpn(0)<0&&B.iadd(this.m),B},O.prototype.shl=function(_,E){return this._verify1(_),this.imod(_.ushln(E))},O.prototype.imul=function(_,E){return this._verify2(_,E),this.imod(_.imul(E))},O.prototype.mul=function(_,E){return this._verify2(_,E),this.imod(_.mul(E))},O.prototype.isqr=function(_){return this.imul(_,_.clone())},O.prototype.sqr=function(_){return this.mul(_,_)},O.prototype.sqrt=function(_){if(_.isZero())return _.clone();var E=this.m.andln(3);if(u(E%2==1),E===3){var B=this.m.add(new o(1)).iushrn(2);return this.pow(_,B)}for(var A=this.m.subn(1),v=0;!A.isZero()&&A.andln(1)===0;)v++,A.iushrn(1);u(!A.isZero());var m=new o(1).toRed(this),k=m.redNeg(),L=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new o(2*F*F).toRed(this);this.pow(F,L).cmp(k)!==0;)F.redIAdd(k);for(var j=this.pow(F,A),U=this.pow(_,A.addn(1).iushrn(1)),D=this.pow(_,A),x=v;D.cmp(m)!==0;){for(var T=D,G=0;T.cmp(m)!==0;G++)T=T.redSqr();u(G<x);var K=this.pow(j,new o(1).iushln(x-G-1));U=U.redMul(K),j=K.redSqr(),D=D.redMul(j),x=G}return U},O.prototype.invm=function(_){var E=_._invmp(this.m);return E.negative!==0?(E.negative=0,this.imod(E).redNeg()):this.imod(E)},O.prototype.pow=function(_,E){if(E.isZero())return new o(1).toRed(this);if(E.cmpn(1)===0)return _.clone();var B=new Array(16);B[0]=new o(1).toRed(this),B[1]=_;for(var A=2;A<B.length;A++)B[A]=this.mul(B[A-1],_);var v=B[0],m=0,k=0,L=E.bitLength()%26;for(L===0&&(L=26),A=E.length-1;A>=0;A--){for(var F=E.words[A],j=L-1;j>=0;j--){var U=F>>j&1;v!==B[0]&&(v=this.sqr(v)),U!==0||m!==0?(m<<=1,m|=U,(++k==4||A===0&&j===0)&&(v=this.mul(v,B[m]),k=0,m=0)):k=0}L=26}return v},O.prototype.convertTo=function(_){var E=_.umod(this.m);return E===_?E.clone():E},O.prototype.convertFrom=function(_){var E=_.clone();return E.red=null,E},o.mont=function(_){return new N(_)},t(N,O),N.prototype.convertTo=function(_){return this.imod(_.ushln(this.shift))},N.prototype.convertFrom=function(_){var E=this.imod(_.mul(this.rinv));return E.red=null,E},N.prototype.imul=function(_,E){if(_.isZero()||E.isZero())return _.words[0]=0,_.length=1,_;var B=_.imul(E),A=B.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=B.isub(A).iushrn(this.shift),m=v;return v.cmp(this.m)>=0?m=v.isub(this.m):v.cmpn(0)<0&&(m=v.iadd(this.m)),m._forceRed(this)},N.prototype.mul=function(_,E){if(_.isZero()||E.isZero())return new o(0)._forceRed(this);var B=_.mul(E),A=B.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=B.isub(A).iushrn(this.shift),m=v;return v.cmp(this.m)>=0?m=v.isub(this.m):v.cmpn(0)<0&&(m=v.iadd(this.m)),m._forceRed(this)},N.prototype.invm=function(_){return this.imod(_._invmp(this.m).mul(this.r2))._forceRed(this)}})(bn$1,bn)),bn$1.exports}var brorand={exports:{}},hasRequiredBrorand,mr,hasRequiredMr,generatePrime,hasRequiredGeneratePrime;function requireBrorand(){if(hasRequiredBrorand)return brorand.exports;var e;function r(t){this.rand=t}if(hasRequiredBrorand=1,brorand.exports=function(t){return e||(e=new r(null)),e.generate(t)},brorand.exports.Rand=r,r.prototype.generate=function(t){return this._rand(t)},r.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var o=new Uint8Array(t),l=0;l<o.length;l++)o[l]=this.rand.getByte();return o},typeof self=="object")self.crypto&&self.crypto.getRandomValues?r.prototype._rand=function(t){var o=new Uint8Array(t);return self.crypto.getRandomValues(o),o}:self.msCrypto&&self.msCrypto.getRandomValues?r.prototype._rand=function(t){var o=new Uint8Array(t);return self.msCrypto.getRandomValues(o),o}:typeof window=="object"&&(r.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var u=requireCryptoBrowserify();if(typeof u.randomBytes!="function")throw new Error("Not supported");r.prototype._rand=function(t){return u.randomBytes(t)}}catch{}return brorand.exports}function requireMr(){if(hasRequiredMr)return mr;hasRequiredMr=1;var e=requireBn(),r=requireBrorand();function u(t){this.rand=t||new r.Rand}return mr=u,u.create=function(t){return new u(t)},u.prototype._randbelow=function(t){var o=t.bitLength(),l=Math.ceil(o/8);do var c=new e(this.rand.generate(l));while(c.cmp(t)>=0);return c},u.prototype._randrange=function(t,o){var l=o.sub(t);return t.add(this._randbelow(l))},u.prototype.test=function(t,o,l){var c=t.bitLength(),a=e.mont(t),n=new e(1).toRed(a);o||(o=Math.max(1,c/48|0));for(var i=t.subn(1),s=0;!i.testn(s);s++);for(var f=t.shrn(s),d=i.toRed(a);o>0;o--){var h=this._randrange(new e(2),i);l&&l(h);var p=h.toRed(a).redPow(f);if(p.cmp(n)!==0&&p.cmp(d)!==0){for(var b=1;b<s;b++){if((p=p.redSqr()).cmp(n)===0)return!1;if(p.cmp(d)===0)break}if(b===s)return!1}}return!0},u.prototype.getDivisor=function(t,o){var l=t.bitLength(),c=e.mont(t),a=new e(1).toRed(c);o||(o=Math.max(1,l/48|0));for(var n=t.subn(1),i=0;!n.testn(i);i++);for(var s=t.shrn(i),f=n.toRed(c);o>0;o--){var d=this._randrange(new e(2),n),h=t.gcd(d);if(h.cmpn(1)!==0)return h;var p=d.toRed(c).redPow(s);if(p.cmp(a)!==0&&p.cmp(f)!==0){for(var b=1;b<i;b++){if((p=p.redSqr()).cmp(a)===0)return p.fromRed().subn(1).gcd(t);if(p.cmp(f)===0)break}if(b===i)return(p=p.redSqr()).fromRed().subn(1).gcd(t)}}return!1},mr}function requireGeneratePrime(){if(hasRequiredGeneratePrime)return generatePrime;hasRequiredGeneratePrime=1;var e=requireBrowser$c();generatePrime=b,b.simpleSieve=h,b.fermatTest=p;var r=requireBn(),u=new r(24),t=new(requireMr()),o=new r(1),l=new r(2),c=new r(5);new r(16),new r(8);var a=new r(10),n=new r(3);new r(7);var i=new r(11),s=new r(4);new r(12);var f=null;function d(){if(f!==null)return f;var y=[];y[0]=2;for(var g=1,R=3;R<1048576;R+=2){for(var S=Math.ceil(Math.sqrt(R)),w=0;w<g&&y[w]<=S&&R%y[w]!=0;w++);g!==w&&y[w]<=S||(y[g++]=R)}return f=y,y}function h(y){for(var g=d(),R=0;R<g.length;R++)if(y.modn(g[R])===0)return y.cmpn(g[R])===0;return!0}function p(y){var g=r.mont(y);return l.toRed(g).redPow(y.subn(1)).fromRed().cmpn(1)===0}function b(y,g){if(y<16)return new r(g===2||g===5?[140,123]:[140,39]);var R,S;for(g=new r(g);;){for(R=new r(e(Math.ceil(y/8)));R.bitLength()>y;)R.ishrn(1);if(R.isEven()&&R.iadd(o),R.testn(1)||R.iadd(l),g.cmp(l)){if(!g.cmp(c))for(;R.mod(a).cmp(n);)R.iadd(s)}else for(;R.mod(u).cmp(i);)R.iadd(s);if(h(S=R.shrn(1))&&h(R)&&p(S)&&p(R)&&t.test(S)&&t.test(R))return R}}return generatePrime}const modp1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"},require$$1$2={modp1,modp2,modp5,modp14,modp15,modp16,modp17,modp18};var dh,hasRequiredDh,hasRequiredBrowser$5;function requireDh(){if(hasRequiredDh)return dh;hasRequiredDh=1;var e=requireBn(),r=new(requireMr()),u=new e(24),t=new e(11),o=new e(10),l=new e(3),c=new e(7),a=requireGeneratePrime(),n=requireBrowser$c();function i(p,b){return b=b||"utf8",Buffer.isBuffer(p)||(p=new Buffer(p,b)),this._pub=new e(p),this}function s(p,b){return b=b||"utf8",Buffer.isBuffer(p)||(p=new Buffer(p,b)),this._priv=new e(p),this}dh=d;var f={};function d(p,b,y){this.setGenerator(b),this.__prime=new e(p),this._prime=e.mont(this.__prime),this._primeLen=p.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,y?(this.setPublicKey=i,this.setPrivateKey=s):this._primeCode=8}function h(p,b){var y=new Buffer(p.toArray());return b?y.toString(b):y}return Object.defineProperty(d.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=(function(p,b){var y=b.toString("hex"),g=[y,p.toString(16)].join("_");if(g in f)return f[g];var R,S=0;if(p.isEven()||!a.simpleSieve||!a.fermatTest(p)||!r.test(p))return S+=1,S+=y==="02"||y==="05"?8:4,f[g]=S,S;switch(r.test(p.shrn(1))||(S+=2),y){case"02":p.mod(u).cmp(t)&&(S+=8);break;case"05":(R=p.mod(o)).cmp(l)&&R.cmp(c)&&(S+=8);break;default:S+=4}return f[g]=S,S})(this.__prime,this.__gen)),this._primeCode}}),d.prototype.generateKeys=function(){return this._priv||(this._priv=new e(n(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},d.prototype.computeSecret=function(p){var b=(p=(p=new e(p)).toRed(this._prime)).redPow(this._priv).fromRed(),y=new Buffer(b.toArray()),g=this.getPrime();if(y.length<g.length){var R=new Buffer(g.length-y.length);R.fill(0),y=Buffer.concat([R,y])}return y},d.prototype.getPublicKey=function(p){return h(this._pub,p)},d.prototype.getPrivateKey=function(p){return h(this._priv,p)},d.prototype.getPrime=function(p){return h(this.__prime,p)},d.prototype.getGenerator=function(p){return h(this._gen,p)},d.prototype.setGenerator=function(p,b){return b=b||"utf8",Buffer.isBuffer(p)||(p=new Buffer(p,b)),this.__gen=p,this._gen=new e(p),this},dh}function requireBrowser$5(){if(hasRequiredBrowser$5)return browser$5;hasRequiredBrowser$5=1;var e=requireGeneratePrime(),r=require$$1$2,u=requireDh(),t={binary:!0,hex:!0,base64:!0};return browser$5.DiffieHellmanGroup=browser$5.createDiffieHellmanGroup=browser$5.getDiffieHellman=function(o){var l=new Buffer(r[o].prime,"hex"),c=new Buffer(r[o].gen,"hex");return new u(l,c)},browser$5.createDiffieHellman=browser$5.DiffieHellman=function o(l,c,a,n){return Buffer.isBuffer(c)||t[c]===void 0?o(l,"binary",c,a):(c=c||"binary",n=n||"binary",a=a||new Buffer([2]),Buffer.isBuffer(a)||(a=new Buffer(a,n)),typeof l=="number"?new u(e(l,a),a,!0):(Buffer.isBuffer(l)||(l=new Buffer(l,c)),new u(l,a,!0)))},browser$5}var readableBrowser={exports:{}},processNextickArgs={exports:{}},hasRequiredProcessNextickArgs,isarray,hasRequiredIsarray,streamBrowser,hasRequiredStreamBrowser;function requireProcessNextickArgs(){return hasRequiredProcessNextickArgs||(hasRequiredProcessNextickArgs=1,process$1===void 0||!process$1.version||process$1.version.indexOf("v0.")===0||process$1.version.indexOf("v1.")===0&&process$1.version.indexOf("v1.8.")!==0?processNextickArgs.exports={nextTick:function(e,r,u,t){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var o,l,c=arguments.length;switch(c){case 0:case 1:return process$1.nextTick(e);case 2:return process$1.nextTick((function(){e.call(null,r)}));case 3:return process$1.nextTick((function(){e.call(null,r,u)}));case 4:return process$1.nextTick((function(){e.call(null,r,u,t)}));default:for(o=new Array(c-1),l=0;l<o.length;)o[l++]=arguments[l];return process$1.nextTick((function(){e.apply(null,o)}))}}}:processNextickArgs.exports=process$1),processNextickArgs.exports}function requireIsarray(){if(hasRequiredIsarray)return isarray;hasRequiredIsarray=1;var e={}.toString;return isarray=Array.isArray||function(r){return e.call(r)=="[object Array]"}}function requireStreamBrowser(){return hasRequiredStreamBrowser?streamBrowser:(hasRequiredStreamBrowser=1,streamBrowser=requireEvents().EventEmitter)}var safeBuffer={exports:{}},hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,(function(e,r){var u=requireDist(),t=u.Buffer;function o(c,a){for(var n in c)a[n]=c[n]}function l(c,a,n){return t(c,a,n)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?e.exports=u:(o(u,r),r.Buffer=l),o(t,l),l.from=function(c,a,n){if(typeof c=="number")throw new TypeError("Argument must not be a number");return t(c,a,n)},l.alloc=function(c,a,n){if(typeof c!="number")throw new TypeError("Argument must be a number");var i=t(c);return a!==void 0?typeof n=="string"?i.fill(a,n):i.fill(a):i.fill(0),i},l.allocUnsafe=function(c){if(typeof c!="number")throw new TypeError("Argument must be a number");return t(c)},l.allocUnsafeSlow=function(c){if(typeof c!="number")throw new TypeError("Argument must be a number");return u.SlowBuffer(c)}})(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var util={},hasRequiredUtil;function requireUtil(){if(hasRequiredUtil)return util;function e(r){return Object.prototype.toString.call(r)}return hasRequiredUtil=1,util.isArray=function(r){return Array.isArray?Array.isArray(r):e(r)==="[object Array]"},util.isBoolean=function(r){return typeof r=="boolean"},util.isNull=function(r){return r===null},util.isNullOrUndefined=function(r){return r==null},util.isNumber=function(r){return typeof r=="number"},util.isString=function(r){return typeof r=="string"},util.isSymbol=function(r){return typeof r=="symbol"},util.isUndefined=function(r){return r===void 0},util.isRegExp=function(r){return e(r)==="[object RegExp]"},util.isObject=function(r){return typeof r=="object"&&r!==null},util.isDate=function(r){return e(r)==="[object Date]"},util.isError=function(r){return e(r)==="[object Error]"||r instanceof Error},util.isFunction=function(r){return typeof r=="function"},util.isPrimitive=function(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||typeof r=="symbol"||r===void 0},util.isBuffer=requireDist().Buffer.isBuffer,util}var BufferList={exports:{}},hasRequiredBufferList,destroy_1,hasRequiredDestroy,_stream_writable,hasRequired_stream_writable,_stream_duplex,hasRequired_stream_duplex,_stream_readable,hasRequired_stream_readable,_stream_transform,hasRequired_stream_transform,_stream_passthrough,hasRequired_stream_passthrough,hasRequiredReadableBrowser;function requireBufferList(){return hasRequiredBufferList||(hasRequiredBufferList=1,(function(e){var r=requireSafeBuffer().Buffer,u=requireUtil$1();e.exports=(function(){function t(){(function(o,l){if(!(o instanceof l))throw new TypeError("Cannot call a class as a function")})(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(o){var l={data:o,next:null};this.length>0?this.tail.next=l:this.head=l,this.tail=l,++this.length},t.prototype.unshift=function(o){var l={data:o,next:this.head};this.length===0&&(this.tail=l),this.head=l,++this.length},t.prototype.shift=function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(o){if(this.length===0)return"";for(var l=this.head,c=""+l.data;l=l.next;)c+=o+l.data;return c},t.prototype.concat=function(o){if(this.length===0)return r.alloc(0);for(var l,c,a,n=r.allocUnsafe(o>>>0),i=this.head,s=0;i;)l=i.data,c=n,a=s,l.copy(c,a),s+=i.data.length,i=i.next;return n},t})(),u&&u.inspect&&u.inspect.custom&&(e.exports.prototype[u.inspect.custom]=function(){var t=u.inspect({length:this.length});return this.constructor.name+" "+t})})(BufferList)),BufferList.exports}function requireDestroy(){if(hasRequiredDestroy)return destroy_1;hasRequiredDestroy=1;var e=requireProcessNextickArgs();function r(u,t){u.emit("error",t)}return destroy_1={destroy:function(u,t){var o=this,l=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return l||c?(t?t(u):u&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(r,this,u)):e.nextTick(r,this,u)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(u||null,(function(a){!t&&a?o._writableState?o._writableState.errorEmitted||(o._writableState.errorEmitted=!0,e.nextTick(r,o,a)):e.nextTick(r,o,a):t&&t(a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}}function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var e=requireProcessNextickArgs();function r(w){var q=this;this.next=null,this.entry=null,this.finish=function(){(function(I,P,O){var N=I.entry;for(I.entry=null;N;){var _=N.callback;P.pendingcb--,_(O),N=N.next}P.corkedRequestsFree.next=I})(q,w)}}_stream_writable=h;var u,t=!process$1.browser&&["v0.10","v0.9."].indexOf(process$1.version.slice(0,5))>-1?setImmediate:e.nextTick;h.WritableState=d;var o=Object.create(requireUtil());o.inherits=requireInherits_browser();var l={deprecate:requireBrowser$b()},c=requireStreamBrowser(),a=requireSafeBuffer().Buffer,n=(commonjsGlobal!==void 0?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},i,s=requireDestroy();function f(){}function d(w,q){u=u||require_stream_duplex(),w=w||{};var I=q instanceof u;this.objectMode=!!w.objectMode,I&&(this.objectMode=this.objectMode||!!w.writableObjectMode);var P=w.highWaterMark,O=w.writableHighWaterMark,N=this.objectMode?16:16384;this.highWaterMark=P||P===0?P:I&&(O||O===0)?O:N,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var _=w.decodeStrings===!1;this.decodeStrings=!_,this.defaultEncoding=w.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(E){(function(B,A){var v=B._writableState,m=v.sync,k=v.writecb;if((function(F){F.writing=!1,F.writecb=null,F.length-=F.writelen,F.writelen=0})(v),A)(function(F,j,U,D,x){--j.pendingcb,U?(e.nextTick(x,D),e.nextTick(S,F,j),F._writableState.errorEmitted=!0,F.emit("error",D)):(x(D),F._writableState.errorEmitted=!0,F.emit("error",D),S(F,j))})(B,v,m,A,k);else{var L=g(v);L||v.corked||v.bufferProcessing||!v.bufferedRequest||y(B,v),m?t(b,B,v,L,k):b(B,v,L,k)}})(q,E)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function h(w){if(u=u||require_stream_duplex(),!(i.call(h,this)||this instanceof u))return new h(w);this._writableState=new d(w,this),this.writable=!0,w&&(typeof w.write=="function"&&(this._write=w.write),typeof w.writev=="function"&&(this._writev=w.writev),typeof w.destroy=="function"&&(this._destroy=w.destroy),typeof w.final=="function"&&(this._final=w.final)),c.call(this)}function p(w,q,I,P,O,N,_){q.writelen=P,q.writecb=_,q.writing=!0,q.sync=!0,I?w._writev(O,q.onwrite):w._write(O,N,q.onwrite),q.sync=!1}function b(w,q,I,P){I||(function(O,N){N.length===0&&N.needDrain&&(N.needDrain=!1,O.emit("drain"))})(w,q),q.pendingcb--,P(),S(w,q)}function y(w,q){q.bufferProcessing=!0;var I=q.bufferedRequest;if(w._writev&&I&&I.next){var P=q.bufferedRequestCount,O=new Array(P),N=q.corkedRequestsFree;N.entry=I;for(var _=0,E=!0;I;)O[_]=I,I.isBuf||(E=!1),I=I.next,_+=1;O.allBuffers=E,p(w,q,!0,q.length,O,"",N.finish),q.pendingcb++,q.lastBufferedRequest=null,N.next?(q.corkedRequestsFree=N.next,N.next=null):q.corkedRequestsFree=new r(q),q.bufferedRequestCount=0}else{for(;I;){var B=I.chunk,A=I.encoding,v=I.callback;if(p(w,q,!1,q.objectMode?1:B.length,B,A,v),I=I.next,q.bufferedRequestCount--,q.writing)break}I===null&&(q.lastBufferedRequest=null)}q.bufferedRequest=I,q.bufferProcessing=!1}function g(w){return w.ending&&w.length===0&&w.bufferedRequest===null&&!w.finished&&!w.writing}function R(w,q){w._final((function(I){q.pendingcb--,I&&w.emit("error",I),q.prefinished=!0,w.emit("prefinish"),S(w,q)}))}function S(w,q){var I=g(q);return I&&((function(P,O){O.prefinished||O.finalCalled||(typeof P._final=="function"?(O.pendingcb++,O.finalCalled=!0,e.nextTick(R,P,O)):(O.prefinished=!0,P.emit("prefinish")))})(w,q),q.pendingcb===0&&(q.finished=!0,w.emit("finish"))),I}return o.inherits(h,c),d.prototype.getBuffer=function(){for(var w=this.bufferedRequest,q=[];w;)q.push(w),w=w.next;return q},(function(){try{Object.defineProperty(d.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(h,Symbol.hasInstance,{value:function(w){return!!i.call(this,w)||this===h&&w&&w._writableState instanceof d}})):i=function(w){return w instanceof this},h.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},h.prototype.write=function(w,q,I){var P,O=this._writableState,N=!1,_=!O.objectMode&&(P=w,a.isBuffer(P)||P instanceof n);return _&&!a.isBuffer(w)&&(w=(function(E){return a.from(E)})(w)),typeof q=="function"&&(I=q,q=null),_?q="buffer":q||(q=O.defaultEncoding),typeof I!="function"&&(I=f),O.ended?(function(E,B){var A=new Error("write after end");E.emit("error",A),e.nextTick(B,A)})(this,I):(_||(function(E,B,A,v){var m=!0,k=!1;return A===null?k=new TypeError("May not write null values to stream"):typeof A=="string"||A===void 0||B.objectMode||(k=new TypeError("Invalid non-string/buffer chunk")),k&&(E.emit("error",k),e.nextTick(v,k),m=!1),m})(this,O,w,I))&&(O.pendingcb++,N=(function(E,B,A,v,m,k){if(!A){var L=(function(D,x,T){return D.objectMode||D.decodeStrings===!1||typeof x!="string"||(x=a.from(x,T)),x})(B,v,m);v!==L&&(A=!0,m="buffer",v=L)}var F=B.objectMode?1:v.length;B.length+=F;var j=B.length<B.highWaterMark;if(j||(B.needDrain=!0),B.writing||B.corked){var U=B.lastBufferedRequest;B.lastBufferedRequest={chunk:v,encoding:m,isBuf:A,callback:k,next:null},U?U.next=B.lastBufferedRequest:B.bufferedRequest=B.lastBufferedRequest,B.bufferedRequestCount+=1}else p(E,B,!1,F,v,m,k);return j})(this,O,_,w,q,I)),N},h.prototype.cork=function(){this._writableState.corked++},h.prototype.uncork=function(){var w=this._writableState;w.corked&&(w.corked--,w.writing||w.corked||w.bufferProcessing||!w.bufferedRequest||y(this,w))},h.prototype.setDefaultEncoding=function(w){if(typeof w=="string"&&(w=w.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((w+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+w);return this._writableState.defaultEncoding=w,this},Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),h.prototype._write=function(w,q,I){I(new Error("_write() is not implemented"))},h.prototype._writev=null,h.prototype.end=function(w,q,I){var P=this._writableState;typeof w=="function"?(I=w,w=null,q=null):typeof q=="function"&&(I=q,q=null),w!=null&&this.write(w,q),P.corked&&(P.corked=1,this.uncork()),P.ending||(function(O,N,_){N.ending=!0,S(O,N),_&&(N.finished?e.nextTick(_):O.once("finish",_)),N.ended=!0,O.writable=!1})(this,P,I)},Object.defineProperty(h.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(w){this._writableState&&(this._writableState.destroyed=w)}}),h.prototype.destroy=s.destroy,h.prototype._undestroy=s.undestroy,h.prototype._destroy=function(w,q){this.end(),q(w)},_stream_writable}function require_stream_duplex(){if(hasRequired_stream_duplex)return _stream_duplex;hasRequired_stream_duplex=1;var e=requireProcessNextickArgs(),r=Object.keys||function(f){var d=[];for(var h in f)d.push(h);return d};_stream_duplex=n;var u=Object.create(requireUtil());u.inherits=requireInherits_browser();var t=require_stream_readable(),o=require_stream_writable();u.inherits(n,t);for(var l=r(o.prototype),c=0;c<l.length;c++){var a=l[c];n.prototype[a]||(n.prototype[a]=o.prototype[a])}function n(f){if(!(this instanceof n))return new n(f);t.call(this,f),o.call(this,f),f&&f.readable===!1&&(this.readable=!1),f&&f.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,f&&f.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||e.nextTick(s,this)}function s(f){f.end()}return Object.defineProperty(n.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(n.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(f){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=f,this._writableState.destroyed=f)}}),n.prototype._destroy=function(f,d){this.push(null),this.end(),e.nextTick(d,f)},_stream_duplex}function require_stream_readable(){if(hasRequired_stream_readable)return _stream_readable;hasRequired_stream_readable=1;var e=requireProcessNextickArgs();_stream_readable=b;var r,u=requireIsarray();b.ReadableState=p,requireEvents().EventEmitter;var t=function(m,k){return m.listeners(k).length},o=requireStreamBrowser(),l=requireSafeBuffer().Buffer,c=(commonjsGlobal!==void 0?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},a=Object.create(requireUtil());a.inherits=requireInherits_browser();var n=requireUtil$1(),i=void 0;i=n&&n.debuglog?n.debuglog("stream"):function(){};var s,f=requireBufferList(),d=requireDestroy();a.inherits(b,o);var h=["error","close","destroy","pause","resume"];function p(m,k){m=m||{};var L=k instanceof(r=r||require_stream_duplex());this.objectMode=!!m.objectMode,L&&(this.objectMode=this.objectMode||!!m.readableObjectMode);var F=m.highWaterMark,j=m.readableHighWaterMark,U=this.objectMode?16:16384;this.highWaterMark=F||F===0?F:L&&(j||j===0)?j:U,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=m.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,m.encoding&&(s||(s=requireString_decoder().StringDecoder),this.decoder=new s(m.encoding),this.encoding=m.encoding)}function b(m){if(r=r||require_stream_duplex(),!(this instanceof b))return new b(m);this._readableState=new p(m,this),this.readable=!0,m&&(typeof m.read=="function"&&(this._read=m.read),typeof m.destroy=="function"&&(this._destroy=m.destroy)),o.call(this)}function y(m,k,L,F,j){var U,D=m._readableState;return k===null?(D.reading=!1,(function(x,T){if(!T.ended){if(T.decoder){var G=T.decoder.end();G&&G.length&&(T.buffer.push(G),T.length+=T.objectMode?1:G.length)}T.ended=!0,w(x)}})(m,D)):(j||(U=(function(x,T){var G;K=T,l.isBuffer(K)||K instanceof c||typeof T=="string"||T===void 0||x.objectMode||(G=new TypeError("Invalid non-string/buffer chunk"));var K;return G})(D,k)),U?m.emit("error",U):D.objectMode||k&&k.length>0?(typeof k=="string"||D.objectMode||Object.getPrototypeOf(k)===l.prototype||(k=(function(x){return l.from(x)})(k)),F?D.endEmitted?m.emit("error",new Error("stream.unshift() after end event")):g(m,D,k,!0):D.ended?m.emit("error",new Error("stream.push() after EOF")):(D.reading=!1,D.decoder&&!L?(k=D.decoder.write(k),D.objectMode||k.length!==0?g(m,D,k,!1):I(m,D)):g(m,D,k,!1))):F||(D.reading=!1)),(function(x){return!x.ended&&(x.needReadable||x.length<x.highWaterMark||x.length===0)})(D)}function g(m,k,L,F){k.flowing&&k.length===0&&!k.sync?(m.emit("data",L),m.read(0)):(k.length+=k.objectMode?1:L.length,F?k.buffer.unshift(L):k.buffer.push(L),k.needReadable&&w(m)),I(m,k)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(m){this._readableState&&(this._readableState.destroyed=m)}}),b.prototype.destroy=d.destroy,b.prototype._undestroy=d.undestroy,b.prototype._destroy=function(m,k){this.push(null),k(m)},b.prototype.push=function(m,k){var L,F=this._readableState;return F.objectMode?L=!0:typeof m=="string"&&((k=k||F.defaultEncoding)!==F.encoding&&(m=l.from(m,k),k=""),L=!0),y(this,m,k,!1,L)},b.prototype.unshift=function(m){return y(this,m,null,!0,!1)},b.prototype.isPaused=function(){return this._readableState.flowing===!1},b.prototype.setEncoding=function(m){return s||(s=requireString_decoder().StringDecoder),this._readableState.decoder=new s(m),this._readableState.encoding=m,this};var R=8388608;function S(m,k){return m<=0||k.length===0&&k.ended?0:k.objectMode?1:m!=m?k.flowing&&k.length?k.buffer.head.data.length:k.length:(m>k.highWaterMark&&(k.highWaterMark=(function(L){return L>=R?L=R:(L--,L|=L>>>1,L|=L>>>2,L|=L>>>4,L|=L>>>8,L|=L>>>16,L++),L})(m)),m<=k.length?m:k.ended?k.length:(k.needReadable=!0,0))}function w(m){var k=m._readableState;k.needReadable=!1,k.emittedReadable||(i("emitReadable",k.flowing),k.emittedReadable=!0,k.sync?e.nextTick(q,m):q(m))}function q(m){i("emit readable"),m.emit("readable"),_(m)}function I(m,k){k.readingMore||(k.readingMore=!0,e.nextTick(P,m,k))}function P(m,k){for(var L=k.length;!k.reading&&!k.flowing&&!k.ended&&k.length<k.highWaterMark&&(i("maybeReadMore read 0"),m.read(0),L!==k.length);)L=k.length;k.readingMore=!1}function O(m){i("readable nexttick read 0"),m.read(0)}function N(m,k){k.reading||(i("resume read 0"),m.read(0)),k.resumeScheduled=!1,k.awaitDrain=0,m.emit("resume"),_(m),k.flowing&&!k.reading&&m.read(0)}function _(m){var k=m._readableState;for(i("flow",k.flowing);k.flowing&&m.read()!==null;);}function E(m,k){return k.length===0?null:(k.objectMode?L=k.buffer.shift():!m||m>=k.length?(L=k.decoder?k.buffer.join(""):k.buffer.length===1?k.buffer.head.data:k.buffer.concat(k.length),k.buffer.clear()):L=(function(F,j,U){var D;return F<j.head.data.length?(D=j.head.data.slice(0,F),j.head.data=j.head.data.slice(F)):D=F===j.head.data.length?j.shift():U?(function(x,T){var G=T.head,K=1,ee=G.data;for(x-=ee.length;G=G.next;){var Z=G.data,V=x>Z.length?Z.length:x;if(V===Z.length?ee+=Z:ee+=Z.slice(0,x),(x-=V)===0){V===Z.length?(++K,G.next?T.head=G.next:T.head=T.tail=null):(T.head=G,G.data=Z.slice(V));break}++K}return T.length-=K,ee})(F,j):(function(x,T){var G=l.allocUnsafe(x),K=T.head,ee=1;for(K.data.copy(G),x-=K.data.length;K=K.next;){var Z=K.data,V=x>Z.length?Z.length:x;if(Z.copy(G,G.length-x,0,V),(x-=V)===0){V===Z.length?(++ee,K.next?T.head=K.next:T.head=T.tail=null):(T.head=K,K.data=Z.slice(V));break}++ee}return T.length-=ee,G})(F,j),D})(m,k.buffer,k.decoder),L);var L}function B(m){var k=m._readableState;if(k.length>0)throw new Error('"endReadable()" called on non-empty stream');k.endEmitted||(k.ended=!0,e.nextTick(A,k,m))}function A(m,k){m.endEmitted||m.length!==0||(m.endEmitted=!0,k.readable=!1,k.emit("end"))}function v(m,k){for(var L=0,F=m.length;L<F;L++)if(m[L]===k)return L;return-1}return b.prototype.read=function(m){i("read",m),m=parseInt(m,10);var k=this._readableState,L=m;if(m!==0&&(k.emittedReadable=!1),m===0&&k.needReadable&&(k.length>=k.highWaterMark||k.ended))return i("read: emitReadable",k.length,k.ended),k.length===0&&k.ended?B(this):w(this),null;if((m=S(m,k))===0&&k.ended)return k.length===0&&B(this),null;var F,j=k.needReadable;return i("need readable",j),(k.length===0||k.length-m<k.highWaterMark)&&i("length less than watermark",j=!0),k.ended||k.reading?i("reading or ended",j=!1):j&&(i("do read"),k.reading=!0,k.sync=!0,k.length===0&&(k.needReadable=!0),this._read(k.highWaterMark),k.sync=!1,k.reading||(m=S(L,k))),(F=m>0?E(m,k):null)===null?(k.needReadable=!0,m=0):k.length-=m,k.length===0&&(k.ended||(k.needReadable=!0),L!==m&&k.ended&&B(this)),F!==null&&this.emit("data",F),F},b.prototype._read=function(m){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(m,k){var L=this,F=this._readableState;switch(F.pipesCount){case 0:F.pipes=m;break;case 1:F.pipes=[F.pipes,m];break;default:F.pipes.push(m)}F.pipesCount+=1,i("pipe count=%d opts=%j",F.pipesCount,k);var j=(!k||k.end!==!1)&&m!==process$1.stdout&&m!==process$1.stderr?D:Q;function U(Y,J){i("onunpipe"),Y===L&&J&&J.hasUnpiped===!1&&(J.hasUnpiped=!0,i("cleanup"),m.removeListener("close",Z),m.removeListener("finish",V),m.removeListener("drain",x),m.removeListener("error",ee),m.removeListener("unpipe",U),L.removeListener("end",D),L.removeListener("end",Q),L.removeListener("data",K),T=!0,!F.awaitDrain||m._writableState&&!m._writableState.needDrain||x())}function D(){i("onend"),m.end()}F.endEmitted?e.nextTick(j):L.once("end",j),m.on("unpipe",U);var x=(function(Y){return function(){var J=Y._readableState;i("pipeOnDrain",J.awaitDrain),J.awaitDrain&&J.awaitDrain--,J.awaitDrain===0&&t(Y,"data")&&(J.flowing=!0,_(Y))}})(L);m.on("drain",x);var T=!1,G=!1;function K(Y){i("ondata"),G=!1,m.write(Y)!==!1||G||((F.pipesCount===1&&F.pipes===m||F.pipesCount>1&&v(F.pipes,m)!==-1)&&!T&&(i("false write response, pause",F.awaitDrain),F.awaitDrain++,G=!0),L.pause())}function ee(Y){i("onerror",Y),Q(),m.removeListener("error",ee),t(m,"error")===0&&m.emit("error",Y)}function Z(){m.removeListener("finish",V),Q()}function V(){i("onfinish"),m.removeListener("close",Z),Q()}function Q(){i("unpipe"),L.unpipe(m)}return L.on("data",K),(function(Y,J,oe){if(typeof Y.prependListener=="function")return Y.prependListener(J,oe);Y._events&&Y._events[J]?u(Y._events[J])?Y._events[J].unshift(oe):Y._events[J]=[oe,Y._events[J]]:Y.on(J,oe)})(m,"error",ee),m.once("close",Z),m.once("finish",V),m.emit("pipe",L),F.flowing||(i("pipe resume"),L.resume()),m},b.prototype.unpipe=function(m){var k=this._readableState,L={hasUnpiped:!1};if(k.pipesCount===0)return this;if(k.pipesCount===1)return m&&m!==k.pipes||(m||(m=k.pipes),k.pipes=null,k.pipesCount=0,k.flowing=!1,m&&m.emit("unpipe",this,L)),this;if(!m){var F=k.pipes,j=k.pipesCount;k.pipes=null,k.pipesCount=0,k.flowing=!1;for(var U=0;U<j;U++)F[U].emit("unpipe",this,{hasUnpiped:!1});return this}var D=v(k.pipes,m);return D===-1||(k.pipes.splice(D,1),k.pipesCount-=1,k.pipesCount===1&&(k.pipes=k.pipes[0]),m.emit("unpipe",this,L)),this},b.prototype.on=function(m,k){var L=o.prototype.on.call(this,m,k);if(m==="data")this._readableState.flowing!==!1&&this.resume();else if(m==="readable"){var F=this._readableState;F.endEmitted||F.readableListening||(F.readableListening=F.needReadable=!0,F.emittedReadable=!1,F.reading?F.length&&w(this):e.nextTick(O,this))}return L},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var m=this._readableState;return m.flowing||(i("resume"),m.flowing=!0,(function(k,L){L.resumeScheduled||(L.resumeScheduled=!0,e.nextTick(N,k,L))})(this,m)),this},b.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(m){var k=this,L=this._readableState,F=!1;for(var j in m.on("end",(function(){if(i("wrapped end"),L.decoder&&!L.ended){var D=L.decoder.end();D&&D.length&&k.push(D)}k.push(null)})),m.on("data",(function(D){i("wrapped data"),L.decoder&&(D=L.decoder.write(D)),L.objectMode&&D==null||(L.objectMode||D&&D.length)&&(k.push(D)||(F=!0,m.pause()))})),m)this[j]===void 0&&typeof m[j]=="function"&&(this[j]=(function(D){return function(){return m[D].apply(m,arguments)}})(j));for(var U=0;U<h.length;U++)m.on(h[U],this.emit.bind(this,h[U]));return this._read=function(D){i("wrapped _read",D),F&&(F=!1,m.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=E,_stream_readable}function require_stream_transform(){if(hasRequired_stream_transform)return _stream_transform;hasRequired_stream_transform=1,_stream_transform=t;var e=require_stream_duplex(),r=Object.create(requireUtil());function u(c,a){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(!i)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,a!=null&&this.push(a),i(c);var s=this._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}function t(c){if(!(this instanceof t))return new t(c);e.call(this,c),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,c&&(typeof c.transform=="function"&&(this._transform=c.transform),typeof c.flush=="function"&&(this._flush=c.flush)),this.on("prefinish",o)}function o(){var c=this;typeof this._flush=="function"?this._flush((function(a,n){l(c,a,n)})):l(this,null,null)}function l(c,a,n){if(a)return c.emit("error",a);if(n!=null&&c.push(n),c._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(c._transformState.transforming)throw new Error("Calling transform done when still transforming");return c.push(null)}return r.inherits=requireInherits_browser(),r.inherits(t,e),t.prototype.push=function(c,a){return this._transformState.needTransform=!1,e.prototype.push.call(this,c,a)},t.prototype._transform=function(c,a,n){throw new Error("_transform() is not implemented")},t.prototype._write=function(c,a,n){var i=this._transformState;if(i.writecb=n,i.writechunk=c,i.writeencoding=a,!i.transforming){var s=this._readableState;(i.needTransform||s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}},t.prototype._read=function(c){var a=this._transformState;a.writechunk!==null&&a.writecb&&!a.transforming?(a.transforming=!0,this._transform(a.writechunk,a.writeencoding,a.afterTransform)):a.needTransform=!0},t.prototype._destroy=function(c,a){var n=this;e.prototype._destroy.call(this,c,(function(i){a(i),n.emit("close")}))},_stream_transform}function require_stream_passthrough(){if(hasRequired_stream_passthrough)return _stream_passthrough;hasRequired_stream_passthrough=1,_stream_passthrough=u;var e=require_stream_transform(),r=Object.create(requireUtil());function u(t){if(!(this instanceof u))return new u(t);e.call(this,t)}return r.inherits=requireInherits_browser(),r.inherits(u,e),u.prototype._transform=function(t,o,l){l(null,t)},_stream_passthrough}function requireReadableBrowser(){return hasRequiredReadableBrowser||(hasRequiredReadableBrowser=1,e=readableBrowser,r=readableBrowser.exports,(r=e.exports=require_stream_readable()).Stream=r,r.Readable=r,r.Writable=require_stream_writable(),r.Duplex=require_stream_duplex(),r.Transform=require_stream_transform(),r.PassThrough=require_stream_passthrough()),readableBrowser.exports;var e,r}var sign={exports:{}},browserifyRsa,hasRequiredBrowserifyRsa;function requireBrowserifyRsa(){if(hasRequiredBrowserifyRsa)return browserifyRsa;hasRequiredBrowserifyRsa=1;var e=requireBn(),r=requireBrowser$c(),u=requireSafeBuffer$1().Buffer;function t(l){var c,a=l.modulus.byteLength();do c=new e(r(a));while(c.cmp(l.modulus)>=0||!c.umod(l.prime1)||!c.umod(l.prime2));return c}function o(l,c){var a=(function(R){var S=t(R);return{blinder:S.toRed(e.mont(R.modulus)).redPow(new e(R.publicExponent)).fromRed(),unblinder:S.invm(R.modulus)}})(c),n=c.modulus.byteLength(),i=new e(l).mul(a.blinder).umod(c.modulus),s=i.toRed(e.mont(c.prime1)),f=i.toRed(e.mont(c.prime2)),d=c.coefficient,h=c.prime1,p=c.prime2,b=s.redPow(c.exponent1).fromRed(),y=f.redPow(c.exponent2).fromRed(),g=b.isub(y).imul(d).umod(h).imul(p);return y.iadd(g).imul(a.unblinder).umod(c.modulus).toArrayLike(u,"be",n)}return o.getr=t,browserifyRsa=o}var elliptic={};const version="6.6.1",require$$0={version};var utils$2={},utils$1={},hasRequiredUtils$2,hasRequiredUtils$1;function requireUtils$2(){return hasRequiredUtils$2||(hasRequiredUtils$2=1,(function(){var e=utils$1;function r(t){return t.length===1?"0"+t:t}function u(t){for(var o="",l=0;l<t.length;l++)o+=r(t[l].toString(16));return o}e.toArray=function(t,o){if(Array.isArray(t))return t.slice();if(!t)return[];var l=[];if(typeof t!="string"){for(var c=0;c<t.length;c++)l[c]=0|t[c];return l}if(o==="hex")for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),c=0;c<t.length;c+=2)l.push(parseInt(t[c]+t[c+1],16));else for(c=0;c<t.length;c++){var a=t.charCodeAt(c),n=a>>8,i=255&a;n?l.push(n,i):l.push(i)}return l},e.zero2=r,e.toHex=u,e.encode=function(t,o){return o==="hex"?u(t):t}})()),utils$1}function requireUtils$1(){return hasRequiredUtils$1||(hasRequiredUtils$1=1,(function(){var e=utils$2,r=requireBn(),u=requireMinimalisticAssert(),t=requireUtils$2();e.assert=u,e.toArray=t.toArray,e.zero2=t.zero2,e.toHex=t.toHex,e.encode=t.encode,e.getNAF=function(o,l,c){var a,n=new Array(Math.max(o.bitLength(),c)+1);for(a=0;a<n.length;a+=1)n[a]=0;var i=1<<l+1,s=o.clone();for(a=0;a<n.length;a++){var f,d=s.andln(i-1);s.isOdd()?(f=d>(i>>1)-1?(i>>1)-d:d,s.isubn(f)):f=0,n[a]=f,s.iushrn(1)}return n},e.getJSF=function(o,l){var c=[[],[]];o=o.clone(),l=l.clone();for(var a,n=0,i=0;o.cmpn(-n)>0||l.cmpn(-i)>0;){var s,f,d=o.andln(3)+n&3,h=l.andln(3)+i&3;d===3&&(d=-1),h===3&&(h=-1),s=1&d?(a=o.andln(7)+n&7)!==3&&a!==5||h!==2?d:-d:0,c[0].push(s),f=1&h?(a=l.andln(7)+i&7)!==3&&a!==5||d!==2?h:-h:0,c[1].push(f),2*n===s+1&&(n=1-n),2*i===f+1&&(i=1-i),o.iushrn(1),l.iushrn(1)}return c},e.cachedProperty=function(o,l,c){var a="_"+l;o.prototype[l]=function(){return this[a]!==void 0?this[a]:this[a]=c.call(this)}},e.parseBytes=function(o){return typeof o=="string"?e.toArray(o,"hex"):o},e.intFromLE=function(o){return new r(o,"hex","le")}})()),utils$2}var curve={},base$1,hasRequiredBase$1,short,hasRequiredShort,mont,hasRequiredMont,edwards,hasRequiredEdwards,hasRequiredCurve;function requireBase$1(){if(hasRequiredBase$1)return base$1;hasRequiredBase$1=1;var e=requireBn(),r=requireUtils$1(),u=r.getNAF,t=r.getJSF,o=r.assert;function l(a,n){this.type=a,this.p=new e(n.p,16),this.red=n.prime?e.red(n.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=n.n&&new e(n.n,16),this.g=n.g&&this.pointFromJSON(n.g,n.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var i=this.n&&this.p.div(this.n);!i||i.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(a,n){this.curve=a,this.type=n,this.precomputed=null}return base$1=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(a,n){o(a.precomputed);var i=a._getDoubles(),s=u(n,1,this._bitLength),f=(1<<i.step+1)-(i.step%2==0?2:1);f/=3;var d,h,p=[];for(d=0;d<s.length;d+=i.step){h=0;for(var b=d+i.step-1;b>=d;b--)h=(h<<1)+s[b];p.push(h)}for(var y=this.jpoint(null,null,null),g=this.jpoint(null,null,null),R=f;R>0;R--){for(d=0;d<p.length;d++)(h=p[d])===R?g=g.mixedAdd(i.points[d]):h===-R&&(g=g.mixedAdd(i.points[d].neg()));y=y.add(g)}return y.toP()},l.prototype._wnafMul=function(a,n){var i=4,s=a._getNAFPoints(i);i=s.wnd;for(var f=s.points,d=u(n,i,this._bitLength),h=this.jpoint(null,null,null),p=d.length-1;p>=0;p--){for(var b=0;p>=0&&d[p]===0;p--)b++;if(p>=0&&b++,h=h.dblp(b),p<0)break;var y=d[p];o(y!==0),h=a.type==="affine"?y>0?h.mixedAdd(f[y-1>>1]):h.mixedAdd(f[-y-1>>1].neg()):y>0?h.add(f[y-1>>1]):h.add(f[-y-1>>1].neg())}return a.type==="affine"?h.toP():h},l.prototype._wnafMulAdd=function(a,n,i,s,f){var d,h,p,b=this._wnafT1,y=this._wnafT2,g=this._wnafT3,R=0;for(d=0;d<s;d++){var S=(p=n[d])._getNAFPoints(a);b[d]=S.wnd,y[d]=S.points}for(d=s-1;d>=1;d-=2){var w=d-1,q=d;if(b[w]===1&&b[q]===1){var I=[n[w],null,null,n[q]];n[w].y.cmp(n[q].y)===0?(I[1]=n[w].add(n[q]),I[2]=n[w].toJ().mixedAdd(n[q].neg())):n[w].y.cmp(n[q].y.redNeg())===0?(I[1]=n[w].toJ().mixedAdd(n[q]),I[2]=n[w].add(n[q].neg())):(I[1]=n[w].toJ().mixedAdd(n[q]),I[2]=n[w].toJ().mixedAdd(n[q].neg()));var P=[-3,-1,-5,-7,0,7,5,1,3],O=t(i[w],i[q]);for(R=Math.max(O[0].length,R),g[w]=new Array(R),g[q]=new Array(R),h=0;h<R;h++){var N=0|O[0][h],_=0|O[1][h];g[w][h]=P[3*(N+1)+(_+1)],g[q][h]=0,y[w]=I}}else g[w]=u(i[w],b[w],this._bitLength),g[q]=u(i[q],b[q],this._bitLength),R=Math.max(g[w].length,R),R=Math.max(g[q].length,R)}var E=this.jpoint(null,null,null),B=this._wnafT4;for(d=R;d>=0;d--){for(var A=0;d>=0;){var v=!0;for(h=0;h<s;h++)B[h]=0|g[h][d],B[h]!==0&&(v=!1);if(!v)break;A++,d--}if(d>=0&&A++,E=E.dblp(A),d<0)break;for(h=0;h<s;h++){var m=B[h];m!==0&&(m>0?p=y[h][m-1>>1]:m<0&&(p=y[h][-m-1>>1].neg()),E=p.type==="affine"?E.mixedAdd(p):E.add(p))}}for(d=0;d<s;d++)y[d]=null;return f?E:E.toP()},l.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(a,n){a=r.toArray(a,n);var i=this.p.byteLength();if((a[0]===4||a[0]===6||a[0]===7)&&a.length-1==2*i)return a[0]===6?o(a[a.length-1]%2==0):a[0]===7&&o(a[a.length-1]%2==1),this.point(a.slice(1,1+i),a.slice(1+i,1+2*i));if((a[0]===2||a[0]===3)&&a.length-1===i)return this.pointFromX(a.slice(1,1+i),a[0]===3);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(a){return this.encode(a,!0)},c.prototype._encode=function(a){var n=this.curve.p.byteLength(),i=this.getX().toArray("be",n);return a?[this.getY().isEven()?2:3].concat(i):[4].concat(i,this.getY().toArray("be",n))},c.prototype.encode=function(a,n){return r.encode(this._encode(n),a)},c.prototype.precompute=function(a){if(this.precomputed)return this;var n={doubles:null,naf:null,beta:null};return n.naf=this._getNAFPoints(8),n.doubles=this._getDoubles(4,a),n.beta=this._getBeta(),this.precomputed=n,this},c.prototype._hasDoubles=function(a){if(!this.precomputed)return!1;var n=this.precomputed.doubles;return!!n&&n.points.length>=Math.ceil((a.bitLength()+1)/n.step)},c.prototype._getDoubles=function(a,n){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var i=[this],s=this,f=0;f<n;f+=a){for(var d=0;d<a;d++)s=s.dbl();i.push(s)}return{step:a,points:i}},c.prototype._getNAFPoints=function(a){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var n=[this],i=(1<<a)-1,s=i===1?null:this.dbl(),f=1;f<i;f++)n[f]=n[f-1].add(s);return{wnd:a,points:n}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(a){for(var n=this,i=0;i<a;i++)n=n.dbl();return n},base$1}function requireShort(){if(hasRequiredShort)return short;hasRequiredShort=1;var e=requireUtils$1(),r=requireBn(),u=requireInherits_browser(),t=requireBase$1(),o=e.assert;function l(n){t.call(this,"short",n),this.a=new r(n.a,16).toRed(this.red),this.b=new r(n.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(n),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(n,i,s,f){t.BasePoint.call(this,n,"affine"),i===null&&s===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new r(i,16),this.y=new r(s,16),f&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function a(n,i,s,f){t.BasePoint.call(this,n,"jacobian"),i===null&&s===null&&f===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new r(0)):(this.x=new r(i,16),this.y=new r(s,16),this.z=new r(f,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}return u(l,t),short=l,l.prototype._getEndomorphism=function(n){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var i,s;if(n.beta)i=new r(n.beta,16).toRed(this.red);else{var f=this._getEndoRoots(this.p);i=(i=f[0].cmp(f[1])<0?f[0]:f[1]).toRed(this.red)}if(n.lambda)s=new r(n.lambda,16);else{var d=this._getEndoRoots(this.n);this.g.mul(d[0]).x.cmp(this.g.x.redMul(i))===0?s=d[0]:(s=d[1],o(this.g.mul(s).x.cmp(this.g.x.redMul(i))===0))}return{beta:i,lambda:s,basis:n.basis?n.basis.map((function(h){return{a:new r(h.a,16),b:new r(h.b,16)}})):this._getEndoBasis(s)}}},l.prototype._getEndoRoots=function(n){var i=n===this.p?this.red:r.mont(n),s=new r(2).toRed(i).redInvm(),f=s.redNeg(),d=new r(3).toRed(i).redNeg().redSqrt().redMul(s);return[f.redAdd(d).fromRed(),f.redSub(d).fromRed()]},l.prototype._getEndoBasis=function(n){for(var i,s,f,d,h,p,b,y,g,R=this.n.ushrn(Math.floor(this.n.bitLength()/2)),S=n,w=this.n.clone(),q=new r(1),I=new r(0),P=new r(0),O=new r(1),N=0;S.cmpn(0)!==0;){var _=w.div(S);y=w.sub(_.mul(S)),g=P.sub(_.mul(q));var E=O.sub(_.mul(I));if(!f&&y.cmp(R)<0)i=b.neg(),s=q,f=y.neg(),d=g;else if(f&&++N==2)break;b=y,w=S,S=y,P=q,q=g,O=I,I=E}h=y.neg(),p=g;var B=f.sqr().add(d.sqr());return h.sqr().add(p.sqr()).cmp(B)>=0&&(h=i,p=s),f.negative&&(f=f.neg(),d=d.neg()),h.negative&&(h=h.neg(),p=p.neg()),[{a:f,b:d},{a:h,b:p}]},l.prototype._endoSplit=function(n){var i=this.endo.basis,s=i[0],f=i[1],d=f.b.mul(n).divRound(this.n),h=s.b.neg().mul(n).divRound(this.n),p=d.mul(s.a),b=h.mul(f.a),y=d.mul(s.b),g=h.mul(f.b);return{k1:n.sub(p).sub(b),k2:y.add(g).neg()}},l.prototype.pointFromX=function(n,i){(n=new r(n,16)).red||(n=n.toRed(this.red));var s=n.redSqr().redMul(n).redIAdd(n.redMul(this.a)).redIAdd(this.b),f=s.redSqrt();if(f.redSqr().redSub(s).cmp(this.zero)!==0)throw new Error("invalid point");var d=f.fromRed().isOdd();return(i&&!d||!i&&d)&&(f=f.redNeg()),this.point(n,f)},l.prototype.validate=function(n){if(n.inf)return!0;var i=n.x,s=n.y,f=this.a.redMul(i),d=i.redSqr().redMul(i).redIAdd(f).redIAdd(this.b);return s.redSqr().redISub(d).cmpn(0)===0},l.prototype._endoWnafMulAdd=function(n,i,s){for(var f=this._endoWnafT1,d=this._endoWnafT2,h=0;h<n.length;h++){var p=this._endoSplit(i[h]),b=n[h],y=b._getBeta();p.k1.negative&&(p.k1.ineg(),b=b.neg(!0)),p.k2.negative&&(p.k2.ineg(),y=y.neg(!0)),f[2*h]=b,f[2*h+1]=y,d[2*h]=p.k1,d[2*h+1]=p.k2}for(var g=this._wnafMulAdd(1,f,d,2*h,s),R=0;R<2*h;R++)f[R]=null,d[R]=null;return g},u(c,t.BasePoint),l.prototype.point=function(n,i,s){return new c(this,n,i,s)},l.prototype.pointFromJSON=function(n,i){return c.fromJSON(this,n,i)},c.prototype._getBeta=function(){if(this.curve.endo){var n=this.precomputed;if(n&&n.beta)return n.beta;var i=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(n){var s=this.curve,f=function(d){return s.point(d.x.redMul(s.endo.beta),d.y)};n.beta=i,i.precomputed={beta:null,naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(f)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(f)}}}return i}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(n,i,s){typeof i=="string"&&(i=JSON.parse(i));var f=n.point(i[0],i[1],s);if(!i[2])return f;function d(p){return n.point(p[0],p[1],s)}var h=i[2];return f.precomputed={beta:null,doubles:h.doubles&&{step:h.doubles.step,points:[f].concat(h.doubles.points.map(d))},naf:h.naf&&{wnd:h.naf.wnd,points:[f].concat(h.naf.points.map(d))}},f},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(n){if(this.inf)return n;if(n.inf)return this;if(this.eq(n))return this.dbl();if(this.neg().eq(n))return this.curve.point(null,null);if(this.x.cmp(n.x)===0)return this.curve.point(null,null);var i=this.y.redSub(n.y);i.cmpn(0)!==0&&(i=i.redMul(this.x.redSub(n.x).redInvm()));var s=i.redSqr().redISub(this.x).redISub(n.x),f=i.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,f)},c.prototype.dbl=function(){if(this.inf)return this;var n=this.y.redAdd(this.y);if(n.cmpn(0)===0)return this.curve.point(null,null);var i=this.curve.a,s=this.x.redSqr(),f=n.redInvm(),d=s.redAdd(s).redIAdd(s).redIAdd(i).redMul(f),h=d.redSqr().redISub(this.x.redAdd(this.x)),p=d.redMul(this.x.redSub(h)).redISub(this.y);return this.curve.point(h,p)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(n){return n=new r(n,16),this.isInfinity()?this:this._hasDoubles(n)?this.curve._fixedNafMul(this,n):this.curve.endo?this.curve._endoWnafMulAdd([this],[n]):this.curve._wnafMul(this,n)},c.prototype.mulAdd=function(n,i,s){var f=[this,i],d=[n,s];return this.curve.endo?this.curve._endoWnafMulAdd(f,d):this.curve._wnafMulAdd(1,f,d,2)},c.prototype.jmulAdd=function(n,i,s){var f=[this,i],d=[n,s];return this.curve.endo?this.curve._endoWnafMulAdd(f,d,!0):this.curve._wnafMulAdd(1,f,d,2,!0)},c.prototype.eq=function(n){return this===n||this.inf===n.inf&&(this.inf||this.x.cmp(n.x)===0&&this.y.cmp(n.y)===0)},c.prototype.neg=function(n){if(this.inf)return this;var i=this.curve.point(this.x,this.y.redNeg());if(n&&this.precomputed){var s=this.precomputed,f=function(d){return d.neg()};i.precomputed={naf:s.naf&&{wnd:s.naf.wnd,points:s.naf.points.map(f)},doubles:s.doubles&&{step:s.doubles.step,points:s.doubles.points.map(f)}}}return i},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},u(a,t.BasePoint),l.prototype.jpoint=function(n,i,s){return new a(this,n,i,s)},a.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var n=this.z.redInvm(),i=n.redSqr(),s=this.x.redMul(i),f=this.y.redMul(i).redMul(n);return this.curve.point(s,f)},a.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},a.prototype.add=function(n){if(this.isInfinity())return n;if(n.isInfinity())return this;var i=n.z.redSqr(),s=this.z.redSqr(),f=this.x.redMul(i),d=n.x.redMul(s),h=this.y.redMul(i.redMul(n.z)),p=n.y.redMul(s.redMul(this.z)),b=f.redSub(d),y=h.redSub(p);if(b.cmpn(0)===0)return y.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var g=b.redSqr(),R=g.redMul(b),S=f.redMul(g),w=y.redSqr().redIAdd(R).redISub(S).redISub(S),q=y.redMul(S.redISub(w)).redISub(h.redMul(R)),I=this.z.redMul(n.z).redMul(b);return this.curve.jpoint(w,q,I)},a.prototype.mixedAdd=function(n){if(this.isInfinity())return n.toJ();if(n.isInfinity())return this;var i=this.z.redSqr(),s=this.x,f=n.x.redMul(i),d=this.y,h=n.y.redMul(i).redMul(this.z),p=s.redSub(f),b=d.redSub(h);if(p.cmpn(0)===0)return b.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var y=p.redSqr(),g=y.redMul(p),R=s.redMul(y),S=b.redSqr().redIAdd(g).redISub(R).redISub(R),w=b.redMul(R.redISub(S)).redISub(d.redMul(g)),q=this.z.redMul(p);return this.curve.jpoint(S,w,q)},a.prototype.dblp=function(n){if(n===0)return this;if(this.isInfinity())return this;if(!n)return this.dbl();var i;if(this.curve.zeroA||this.curve.threeA){var s=this;for(i=0;i<n;i++)s=s.dbl();return s}var f=this.curve.a,d=this.curve.tinv,h=this.x,p=this.y,b=this.z,y=b.redSqr().redSqr(),g=p.redAdd(p);for(i=0;i<n;i++){var R=h.redSqr(),S=g.redSqr(),w=S.redSqr(),q=R.redAdd(R).redIAdd(R).redIAdd(f.redMul(y)),I=h.redMul(S),P=q.redSqr().redISub(I.redAdd(I)),O=I.redISub(P),N=q.redMul(O);N=N.redIAdd(N).redISub(w);var _=g.redMul(b);i+1<n&&(y=y.redMul(w)),h=P,b=_,g=N}return this.curve.jpoint(h,g.redMul(d),b)},a.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},a.prototype._zeroDbl=function(){var n,i,s;if(this.zOne){var f=this.x.redSqr(),d=this.y.redSqr(),h=d.redSqr(),p=this.x.redAdd(d).redSqr().redISub(f).redISub(h);p=p.redIAdd(p);var b=f.redAdd(f).redIAdd(f),y=b.redSqr().redISub(p).redISub(p),g=h.redIAdd(h);g=(g=g.redIAdd(g)).redIAdd(g),n=y,i=b.redMul(p.redISub(y)).redISub(g),s=this.y.redAdd(this.y)}else{var R=this.x.redSqr(),S=this.y.redSqr(),w=S.redSqr(),q=this.x.redAdd(S).redSqr().redISub(R).redISub(w);q=q.redIAdd(q);var I=R.redAdd(R).redIAdd(R),P=I.redSqr(),O=w.redIAdd(w);O=(O=O.redIAdd(O)).redIAdd(O),n=P.redISub(q).redISub(q),i=I.redMul(q.redISub(n)).redISub(O),s=(s=this.y.redMul(this.z)).redIAdd(s)}return this.curve.jpoint(n,i,s)},a.prototype._threeDbl=function(){var n,i,s;if(this.zOne){var f=this.x.redSqr(),d=this.y.redSqr(),h=d.redSqr(),p=this.x.redAdd(d).redSqr().redISub(f).redISub(h);p=p.redIAdd(p);var b=f.redAdd(f).redIAdd(f).redIAdd(this.curve.a),y=b.redSqr().redISub(p).redISub(p);n=y;var g=h.redIAdd(h);g=(g=g.redIAdd(g)).redIAdd(g),i=b.redMul(p.redISub(y)).redISub(g),s=this.y.redAdd(this.y)}else{var R=this.z.redSqr(),S=this.y.redSqr(),w=this.x.redMul(S),q=this.x.redSub(R).redMul(this.x.redAdd(R));q=q.redAdd(q).redIAdd(q);var I=w.redIAdd(w),P=(I=I.redIAdd(I)).redAdd(I);n=q.redSqr().redISub(P),s=this.y.redAdd(this.z).redSqr().redISub(S).redISub(R);var O=S.redSqr();O=(O=(O=O.redIAdd(O)).redIAdd(O)).redIAdd(O),i=q.redMul(I.redISub(n)).redISub(O)}return this.curve.jpoint(n,i,s)},a.prototype._dbl=function(){var n=this.curve.a,i=this.x,s=this.y,f=this.z,d=f.redSqr().redSqr(),h=i.redSqr(),p=s.redSqr(),b=h.redAdd(h).redIAdd(h).redIAdd(n.redMul(d)),y=i.redAdd(i),g=(y=y.redIAdd(y)).redMul(p),R=b.redSqr().redISub(g.redAdd(g)),S=g.redISub(R),w=p.redSqr();w=(w=(w=w.redIAdd(w)).redIAdd(w)).redIAdd(w);var q=b.redMul(S).redISub(w),I=s.redAdd(s).redMul(f);return this.curve.jpoint(R,q,I)},a.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var n=this.x.redSqr(),i=this.y.redSqr(),s=this.z.redSqr(),f=i.redSqr(),d=n.redAdd(n).redIAdd(n),h=d.redSqr(),p=this.x.redAdd(i).redSqr().redISub(n).redISub(f),b=(p=(p=(p=p.redIAdd(p)).redAdd(p).redIAdd(p)).redISub(h)).redSqr(),y=f.redIAdd(f);y=(y=(y=y.redIAdd(y)).redIAdd(y)).redIAdd(y);var g=d.redIAdd(p).redSqr().redISub(h).redISub(b).redISub(y),R=i.redMul(g);R=(R=R.redIAdd(R)).redIAdd(R);var S=this.x.redMul(b).redISub(R);S=(S=S.redIAdd(S)).redIAdd(S);var w=this.y.redMul(g.redMul(y.redISub(g)).redISub(p.redMul(b)));w=(w=(w=w.redIAdd(w)).redIAdd(w)).redIAdd(w);var q=this.z.redAdd(p).redSqr().redISub(s).redISub(b);return this.curve.jpoint(S,w,q)},a.prototype.mul=function(n,i){return n=new r(n,i),this.curve._wnafMul(this,n)},a.prototype.eq=function(n){if(n.type==="affine")return this.eq(n.toJ());if(this===n)return!0;var i=this.z.redSqr(),s=n.z.redSqr();if(this.x.redMul(s).redISub(n.x.redMul(i)).cmpn(0)!==0)return!1;var f=i.redMul(this.z),d=s.redMul(n.z);return this.y.redMul(d).redISub(n.y.redMul(f)).cmpn(0)===0},a.prototype.eqXToP=function(n){var i=this.z.redSqr(),s=n.toRed(this.curve.red).redMul(i);if(this.x.cmp(s)===0)return!0;for(var f=n.clone(),d=this.curve.redN.redMul(i);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(s.redIAdd(d),this.x.cmp(s)===0)return!0}},a.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},a.prototype.isInfinity=function(){return this.z.cmpn(0)===0},short}function requireMont(){if(hasRequiredMont)return mont;hasRequiredMont=1;var e=requireBn(),r=requireInherits_browser(),u=requireBase$1(),t=requireUtils$1();function o(c){u.call(this,"mont",c),this.a=new e(c.a,16).toRed(this.red),this.b=new e(c.b,16).toRed(this.red),this.i4=new e(4).toRed(this.red).redInvm(),this.two=new e(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(c,a,n){u.BasePoint.call(this,c,"projective"),a===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(a,16),this.z=new e(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}return r(o,u),mont=o,o.prototype.validate=function(c){var a=c.normalize().x,n=a.redSqr(),i=n.redMul(a).redAdd(n.redMul(this.a)).redAdd(a);return i.redSqrt().redSqr().cmp(i)===0},r(l,u.BasePoint),o.prototype.decodePoint=function(c,a){return this.point(t.toArray(c,a),1)},o.prototype.point=function(c,a){return new l(this,c,a)},o.prototype.pointFromJSON=function(c){return l.fromJSON(this,c)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(c,a){return new l(c,a[0],a[1]||c.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return this.z.cmpn(0)===0},l.prototype.dbl=function(){var c=this.x.redAdd(this.z).redSqr(),a=this.x.redSub(this.z).redSqr(),n=c.redSub(a),i=c.redMul(a),s=n.redMul(a.redAdd(this.curve.a24.redMul(n)));return this.curve.point(i,s)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(c,a){var n=this.x.redAdd(this.z),i=this.x.redSub(this.z),s=c.x.redAdd(c.z),f=c.x.redSub(c.z).redMul(n),d=s.redMul(i),h=a.z.redMul(f.redAdd(d).redSqr()),p=a.x.redMul(f.redISub(d).redSqr());return this.curve.point(h,p)},l.prototype.mul=function(c){for(var a=c.clone(),n=this,i=this.curve.point(null,null),s=[];a.cmpn(0)!==0;a.iushrn(1))s.push(a.andln(1));for(var f=s.length-1;f>=0;f--)s[f]===0?(n=n.diffAdd(i,this),i=i.dbl()):(i=n.diffAdd(i,this),n=n.dbl());return i},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(c){return this.getX().cmp(c.getX())===0},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},mont}function requireEdwards(){if(hasRequiredEdwards)return edwards;hasRequiredEdwards=1;var e=requireUtils$1(),r=requireBn(),u=requireInherits_browser(),t=requireBase$1(),o=e.assert;function l(a){this.twisted=(0|a.a)!=1,this.mOneA=this.twisted&&(0|a.a)==-1,this.extended=this.mOneA,t.call(this,"edwards",a),this.a=new r(a.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(a.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(a.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),o(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|a.c)==1}function c(a,n,i,s,f){t.BasePoint.call(this,a,"projective"),n===null&&i===null&&s===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new r(n,16),this.y=new r(i,16),this.z=s?new r(s,16):this.curve.one,this.t=f&&new r(f,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}return u(l,t),edwards=l,l.prototype._mulA=function(a){return this.mOneA?a.redNeg():this.a.redMul(a)},l.prototype._mulC=function(a){return this.oneC?a:this.c.redMul(a)},l.prototype.jpoint=function(a,n,i,s){return this.point(a,n,i,s)},l.prototype.pointFromX=function(a,n){(a=new r(a,16)).red||(a=a.toRed(this.red));var i=a.redSqr(),s=this.c2.redSub(this.a.redMul(i)),f=this.one.redSub(this.c2.redMul(this.d).redMul(i)),d=s.redMul(f.redInvm()),h=d.redSqrt();if(h.redSqr().redSub(d).cmp(this.zero)!==0)throw new Error("invalid point");var p=h.fromRed().isOdd();return(n&&!p||!n&&p)&&(h=h.redNeg()),this.point(a,h)},l.prototype.pointFromY=function(a,n){(a=new r(a,16)).red||(a=a.toRed(this.red));var i=a.redSqr(),s=i.redSub(this.c2),f=i.redMul(this.d).redMul(this.c2).redSub(this.a),d=s.redMul(f.redInvm());if(d.cmp(this.zero)===0){if(n)throw new Error("invalid point");return this.point(this.zero,a)}var h=d.redSqrt();if(h.redSqr().redSub(d).cmp(this.zero)!==0)throw new Error("invalid point");return h.fromRed().isOdd()!==n&&(h=h.redNeg()),this.point(h,a)},l.prototype.validate=function(a){if(a.isInfinity())return!0;a.normalize();var n=a.x.redSqr(),i=a.y.redSqr(),s=n.redMul(this.a).redAdd(i),f=this.c2.redMul(this.one.redAdd(this.d.redMul(n).redMul(i)));return s.cmp(f)===0},u(c,t.BasePoint),l.prototype.pointFromJSON=function(a){return c.fromJSON(this,a)},l.prototype.point=function(a,n,i,s){return new c(this,a,n,i,s)},c.fromJSON=function(a,n){return new c(a,n[0],n[1],n[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},c.prototype._extDbl=function(){var a=this.x.redSqr(),n=this.y.redSqr(),i=this.z.redSqr();i=i.redIAdd(i);var s=this.curve._mulA(a),f=this.x.redAdd(this.y).redSqr().redISub(a).redISub(n),d=s.redAdd(n),h=d.redSub(i),p=s.redSub(n),b=f.redMul(h),y=d.redMul(p),g=f.redMul(p),R=h.redMul(d);return this.curve.point(b,y,R,g)},c.prototype._projDbl=function(){var a,n,i,s,f,d,h=this.x.redAdd(this.y).redSqr(),p=this.x.redSqr(),b=this.y.redSqr();if(this.curve.twisted){var y=(s=this.curve._mulA(p)).redAdd(b);this.zOne?(a=h.redSub(p).redSub(b).redMul(y.redSub(this.curve.two)),n=y.redMul(s.redSub(b)),i=y.redSqr().redSub(y).redSub(y)):(f=this.z.redSqr(),d=y.redSub(f).redISub(f),a=h.redSub(p).redISub(b).redMul(d),n=y.redMul(s.redSub(b)),i=y.redMul(d))}else s=p.redAdd(b),f=this.curve._mulC(this.z).redSqr(),d=s.redSub(f).redSub(f),a=this.curve._mulC(h.redISub(s)).redMul(d),n=this.curve._mulC(s).redMul(p.redISub(b)),i=s.redMul(d);return this.curve.point(a,n,i)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(a){var n=this.y.redSub(this.x).redMul(a.y.redSub(a.x)),i=this.y.redAdd(this.x).redMul(a.y.redAdd(a.x)),s=this.t.redMul(this.curve.dd).redMul(a.t),f=this.z.redMul(a.z.redAdd(a.z)),d=i.redSub(n),h=f.redSub(s),p=f.redAdd(s),b=i.redAdd(n),y=d.redMul(h),g=p.redMul(b),R=d.redMul(b),S=h.redMul(p);return this.curve.point(y,g,S,R)},c.prototype._projAdd=function(a){var n,i,s=this.z.redMul(a.z),f=s.redSqr(),d=this.x.redMul(a.x),h=this.y.redMul(a.y),p=this.curve.d.redMul(d).redMul(h),b=f.redSub(p),y=f.redAdd(p),g=this.x.redAdd(this.y).redMul(a.x.redAdd(a.y)).redISub(d).redISub(h),R=s.redMul(b).redMul(g);return this.curve.twisted?(n=s.redMul(y).redMul(h.redSub(this.curve._mulA(d))),i=b.redMul(y)):(n=s.redMul(y).redMul(h.redSub(d)),i=this.curve._mulC(b).redMul(y)),this.curve.point(R,n,i)},c.prototype.add=function(a){return this.isInfinity()?a:a.isInfinity()?this:this.curve.extended?this._extAdd(a):this._projAdd(a)},c.prototype.mul=function(a){return this._hasDoubles(a)?this.curve._fixedNafMul(this,a):this.curve._wnafMul(this,a)},c.prototype.mulAdd=function(a,n,i){return this.curve._wnafMulAdd(1,[this,n],[a,i],2,!1)},c.prototype.jmulAdd=function(a,n,i){return this.curve._wnafMulAdd(1,[this,n],[a,i],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var a=this.z.redInvm();return this.x=this.x.redMul(a),this.y=this.y.redMul(a),this.t&&(this.t=this.t.redMul(a)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(a){return this===a||this.getX().cmp(a.getX())===0&&this.getY().cmp(a.getY())===0},c.prototype.eqXToP=function(a){var n=a.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(n)===0)return!0;for(var i=a.clone(),s=this.curve.redN.redMul(this.z);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(s),this.x.cmp(n)===0)return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add,edwards}function requireCurve(){return hasRequiredCurve||(hasRequiredCurve=1,(function(e){var r=e;r.base=requireBase$1(),r.short=requireShort(),r.mont=requireMont(),r.edwards=requireEdwards()})(curve)),curve}var curves={},hash={},utils={},hasRequiredUtils;function requireUtils(){if(hasRequiredUtils)return utils;hasRequiredUtils=1;var e=requireMinimalisticAssert(),r=requireInherits_browser();function u(c,a){return(64512&c.charCodeAt(a))==55296&&!(a<0||a+1>=c.length)&&(64512&c.charCodeAt(a+1))==56320}function t(c){return(c>>>24|c>>>8&65280|c<<8&16711680|(255&c)<<24)>>>0}function o(c){return c.length===1?"0"+c:c}function l(c){return c.length===7?"0"+c:c.length===6?"00"+c:c.length===5?"000"+c:c.length===4?"0000"+c:c.length===3?"00000"+c:c.length===2?"000000"+c:c.length===1?"0000000"+c:c}return utils.inherits=r,utils.toArray=function(c,a){if(Array.isArray(c))return c.slice();if(!c)return[];var n=[];if(typeof c=="string")if(a){if(a==="hex")for((c=c.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(c="0"+c),s=0;s<c.length;s+=2)n.push(parseInt(c[s]+c[s+1],16))}else for(var i=0,s=0;s<c.length;s++){var f=c.charCodeAt(s);f<128?n[i++]=f:f<2048?(n[i++]=f>>6|192,n[i++]=63&f|128):u(c,s)?(f=65536+((1023&f)<<10)+(1023&c.charCodeAt(++s)),n[i++]=f>>18|240,n[i++]=f>>12&63|128,n[i++]=f>>6&63|128,n[i++]=63&f|128):(n[i++]=f>>12|224,n[i++]=f>>6&63|128,n[i++]=63&f|128)}else for(s=0;s<c.length;s++)n[s]=0|c[s];return n},utils.toHex=function(c){for(var a="",n=0;n<c.length;n++)a+=o(c[n].toString(16));return a},utils.htonl=t,utils.toHex32=function(c,a){for(var n="",i=0;i<c.length;i++){var s=c[i];a==="little"&&(s=t(s)),n+=l(s.toString(16))}return n},utils.zero2=o,utils.zero8=l,utils.join32=function(c,a,n,i){var s=n-a;e(s%4==0);for(var f=new Array(s/4),d=0,h=a;d<f.length;d++,h+=4){var p;p=i==="big"?c[h]<<24|c[h+1]<<16|c[h+2]<<8|c[h+3]:c[h+3]<<24|c[h+2]<<16|c[h+1]<<8|c[h],f[d]=p>>>0}return f},utils.split32=function(c,a){for(var n=new Array(4*c.length),i=0,s=0;i<c.length;i++,s+=4){var f=c[i];a==="big"?(n[s]=f>>>24,n[s+1]=f>>>16&255,n[s+2]=f>>>8&255,n[s+3]=255&f):(n[s+3]=f>>>24,n[s+2]=f>>>16&255,n[s+1]=f>>>8&255,n[s]=255&f)}return n},utils.rotr32=function(c,a){return c>>>a|c<<32-a},utils.rotl32=function(c,a){return c<<a|c>>>32-a},utils.sum32=function(c,a){return c+a>>>0},utils.sum32_3=function(c,a,n){return c+a+n>>>0},utils.sum32_4=function(c,a,n,i){return c+a+n+i>>>0},utils.sum32_5=function(c,a,n,i,s){return c+a+n+i+s>>>0},utils.sum64=function(c,a,n,i){var s=c[a],f=i+c[a+1]>>>0,d=(f<i?1:0)+n+s;c[a]=d>>>0,c[a+1]=f},utils.sum64_hi=function(c,a,n,i){return(a+i>>>0<a?1:0)+c+n>>>0},utils.sum64_lo=function(c,a,n,i){return a+i>>>0},utils.sum64_4_hi=function(c,a,n,i,s,f,d,h){var p=0,b=a;return p+=(b=b+i>>>0)<a?1:0,p+=(b=b+f>>>0)<f?1:0,c+n+s+d+(p+=(b=b+h>>>0)<h?1:0)>>>0},utils.sum64_4_lo=function(c,a,n,i,s,f,d,h){return a+i+f+h>>>0},utils.sum64_5_hi=function(c,a,n,i,s,f,d,h,p,b){var y=0,g=a;return y+=(g=g+i>>>0)<a?1:0,y+=(g=g+f>>>0)<f?1:0,y+=(g=g+h>>>0)<h?1:0,c+n+s+d+p+(y+=(g=g+b>>>0)<b?1:0)>>>0},utils.sum64_5_lo=function(c,a,n,i,s,f,d,h,p,b){return a+i+f+h+b>>>0},utils.rotr64_hi=function(c,a,n){return(a<<32-n|c>>>n)>>>0},utils.rotr64_lo=function(c,a,n){return(c<<32-n|a>>>n)>>>0},utils.shr64_hi=function(c,a,n){return c>>>n},utils.shr64_lo=function(c,a,n){return(c<<32-n|a>>>n)>>>0},utils}var common$1={},hasRequiredCommon$1;function requireCommon$1(){if(hasRequiredCommon$1)return common$1;hasRequiredCommon$1=1;var e=requireUtils(),r=requireMinimalisticAssert();function u(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}return common$1.BlockHash=u,u.prototype.update=function(t,o){if(t=e.toArray(t,o),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var l=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-l,t.length),this.pending.length===0&&(this.pending=null),t=e.join32(t,0,t.length-l,this.endian);for(var c=0;c<t.length;c+=this._delta32)this._update(t,c,c+this._delta32)}return this},u.prototype.digest=function(t){return this.update(this._pad()),r(this.pending===null),this._digest(t)},u.prototype._pad=function(){var t=this.pendingTotal,o=this._delta8,l=o-(t+this.padLength)%o,c=new Array(l+this.padLength);c[0]=128;for(var a=1;a<l;a++)c[a]=0;if(t<<=3,this.endian==="big"){for(var n=8;n<this.padLength;n++)c[a++]=0;c[a++]=0,c[a++]=0,c[a++]=0,c[a++]=0,c[a++]=t>>>24&255,c[a++]=t>>>16&255,c[a++]=t>>>8&255,c[a++]=255&t}else for(c[a++]=255&t,c[a++]=t>>>8&255,c[a++]=t>>>16&255,c[a++]=t>>>24&255,c[a++]=0,c[a++]=0,c[a++]=0,c[a++]=0,n=8;n<this.padLength;n++)c[a++]=0;return c},common$1}var sha={},common={},hasRequiredCommon,_1,hasRequired_1,_256,hasRequired_256,_224,hasRequired_224,_512,hasRequired_512,_384,hasRequired_384,hasRequiredSha;function requireCommon(){if(hasRequiredCommon)return common;hasRequiredCommon=1;var e=requireUtils().rotr32;function r(o,l,c){return o&l^~o&c}function u(o,l,c){return o&l^o&c^l&c}function t(o,l,c){return o^l^c}return common.ft_1=function(o,l,c,a){return o===0?r(l,c,a):o===1||o===3?t(l,c,a):o===2?u(l,c,a):void 0},common.ch32=r,common.maj32=u,common.p32=t,common.s0_256=function(o){return e(o,2)^e(o,13)^e(o,22)},common.s1_256=function(o){return e(o,6)^e(o,11)^e(o,25)},common.g0_256=function(o){return e(o,7)^e(o,18)^o>>>3},common.g1_256=function(o){return e(o,17)^e(o,19)^o>>>10},common}function require_1(){if(hasRequired_1)return _1;hasRequired_1=1;var e=requireUtils(),r=requireCommon$1(),u=requireCommon(),t=e.rotl32,o=e.sum32,l=e.sum32_5,c=u.ft_1,a=r.BlockHash,n=[1518500249,1859775393,2400959708,3395469782];function i(){if(!(this instanceof i))return new i;a.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}return e.inherits(i,a),_1=i,i.blockSize=512,i.outSize=160,i.hmacStrength=80,i.padLength=64,i.prototype._update=function(s,f){for(var d=this.W,h=0;h<16;h++)d[h]=s[f+h];for(;h<d.length;h++)d[h]=t(d[h-3]^d[h-8]^d[h-14]^d[h-16],1);var p=this.h[0],b=this.h[1],y=this.h[2],g=this.h[3],R=this.h[4];for(h=0;h<d.length;h++){var S=~~(h/20),w=l(t(p,5),c(S,b,y,g),R,d[h],n[S]);R=g,g=y,y=t(b,30),b=p,p=w}this.h[0]=o(this.h[0],p),this.h[1]=o(this.h[1],b),this.h[2]=o(this.h[2],y),this.h[3]=o(this.h[3],g),this.h[4]=o(this.h[4],R)},i.prototype._digest=function(s){return s==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},_1}function require_256(){if(hasRequired_256)return _256;hasRequired_256=1;var e=requireUtils(),r=requireCommon$1(),u=requireCommon(),t=requireMinimalisticAssert(),o=e.sum32,l=e.sum32_4,c=e.sum32_5,a=u.ch32,n=u.maj32,i=u.s0_256,s=u.s1_256,f=u.g0_256,d=u.g1_256,h=r.BlockHash,p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;h.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=p,this.W=new Array(64)}return e.inherits(b,h),_256=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(y,g){for(var R=this.W,S=0;S<16;S++)R[S]=y[g+S];for(;S<R.length;S++)R[S]=l(d(R[S-2]),R[S-7],f(R[S-15]),R[S-16]);var w=this.h[0],q=this.h[1],I=this.h[2],P=this.h[3],O=this.h[4],N=this.h[5],_=this.h[6],E=this.h[7];for(t(this.k.length===R.length),S=0;S<R.length;S++){var B=c(E,s(O),a(O,N,_),this.k[S],R[S]),A=o(i(w),n(w,q,I));E=_,_=N,N=O,O=o(P,B),P=I,I=q,q=w,w=o(B,A)}this.h[0]=o(this.h[0],w),this.h[1]=o(this.h[1],q),this.h[2]=o(this.h[2],I),this.h[3]=o(this.h[3],P),this.h[4]=o(this.h[4],O),this.h[5]=o(this.h[5],N),this.h[6]=o(this.h[6],_),this.h[7]=o(this.h[7],E)},b.prototype._digest=function(y){return y==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},_256}function require_224(){if(hasRequired_224)return _224;hasRequired_224=1;var e=requireUtils(),r=require_256();function u(){if(!(this instanceof u))return new u;r.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}return e.inherits(u,r),_224=u,u.blockSize=512,u.outSize=224,u.hmacStrength=192,u.padLength=64,u.prototype._digest=function(t){return t==="hex"?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")},_224}function require_512(){if(hasRequired_512)return _512;hasRequired_512=1;var e=requireUtils(),r=requireCommon$1(),u=requireMinimalisticAssert(),t=e.rotr64_hi,o=e.rotr64_lo,l=e.shr64_hi,c=e.shr64_lo,a=e.sum64,n=e.sum64_hi,i=e.sum64_lo,s=e.sum64_4_hi,f=e.sum64_4_lo,d=e.sum64_5_hi,h=e.sum64_5_lo,p=r.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;p.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=new Array(160)}function g(A,v,m,k,L){var F=A&m^~A&L;return F<0&&(F+=4294967296),F}function R(A,v,m,k,L,F){var j=v&k^~v&F;return j<0&&(j+=4294967296),j}function S(A,v,m,k,L){var F=A&m^A&L^m&L;return F<0&&(F+=4294967296),F}function w(A,v,m,k,L,F){var j=v&k^v&F^k&F;return j<0&&(j+=4294967296),j}function q(A,v){var m=t(A,v,28)^t(v,A,2)^t(v,A,7);return m<0&&(m+=4294967296),m}function I(A,v){var m=o(A,v,28)^o(v,A,2)^o(v,A,7);return m<0&&(m+=4294967296),m}function P(A,v){var m=t(A,v,14)^t(A,v,18)^t(v,A,9);return m<0&&(m+=4294967296),m}function O(A,v){var m=o(A,v,14)^o(A,v,18)^o(v,A,9);return m<0&&(m+=4294967296),m}function N(A,v){var m=t(A,v,1)^t(A,v,8)^l(A,v,7);return m<0&&(m+=4294967296),m}function _(A,v){var m=o(A,v,1)^o(A,v,8)^c(A,v,7);return m<0&&(m+=4294967296),m}function E(A,v){var m=t(A,v,19)^t(v,A,29)^l(A,v,6);return m<0&&(m+=4294967296),m}function B(A,v){var m=o(A,v,19)^o(v,A,29)^c(A,v,6);return m<0&&(m+=4294967296),m}return e.inherits(y,p),_512=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(A,v){for(var m=this.W,k=0;k<32;k++)m[k]=A[v+k];for(;k<m.length;k+=2){var L=E(m[k-4],m[k-3]),F=B(m[k-4],m[k-3]),j=m[k-14],U=m[k-13],D=N(m[k-30],m[k-29]),x=_(m[k-30],m[k-29]),T=m[k-32],G=m[k-31];m[k]=s(L,F,j,U,D,x,T,G),m[k+1]=f(L,F,j,U,D,x,T,G)}},y.prototype._update=function(A,v){this._prepareBlock(A,v);var m=this.W,k=this.h[0],L=this.h[1],F=this.h[2],j=this.h[3],U=this.h[4],D=this.h[5],x=this.h[6],T=this.h[7],G=this.h[8],K=this.h[9],ee=this.h[10],Z=this.h[11],V=this.h[12],Q=this.h[13],Y=this.h[14],J=this.h[15];u(this.k.length===m.length);for(var oe=0;oe<m.length;oe+=2){var se=Y,ne=J,_e=P(G,K),te=O(G,K),ie=g(G,K,ee,Z,V),ye=R(G,K,ee,Z,V,Q),ue=this.k[oe],fe=this.k[oe+1],me=m[oe],le=m[oe+1],he=d(se,ne,_e,te,ie,ye,ue,fe,me,le),Ee=h(se,ne,_e,te,ie,ye,ue,fe,me,le);se=q(k,L),ne=I(k,L),_e=S(k,L,F,j,U),te=w(k,L,F,j,U,D);var ge=n(se,ne,_e,te),de=i(se,ne,_e,te);Y=V,J=Q,V=ee,Q=Z,ee=G,Z=K,G=n(x,T,he,Ee),K=i(T,T,he,Ee),x=U,T=D,U=F,D=j,F=k,j=L,k=n(he,Ee,ge,de),L=i(he,Ee,ge,de)}a(this.h,0,k,L),a(this.h,2,F,j),a(this.h,4,U,D),a(this.h,6,x,T),a(this.h,8,G,K),a(this.h,10,ee,Z),a(this.h,12,V,Q),a(this.h,14,Y,J)},y.prototype._digest=function(A){return A==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},_512}function require_384(){if(hasRequired_384)return _384;hasRequired_384=1;var e=requireUtils(),r=require_512();function u(){if(!(this instanceof u))return new u;r.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}return e.inherits(u,r),_384=u,u.blockSize=1024,u.outSize=384,u.hmacStrength=192,u.padLength=128,u.prototype._digest=function(t){return t==="hex"?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")},_384}function requireSha(){return hasRequiredSha||(hasRequiredSha=1,sha.sha1=require_1(),sha.sha224=require_224(),sha.sha256=require_256(),sha.sha384=require_384(),sha.sha512=require_512()),sha}var ripemd={},hasRequiredRipemd,hmac$2,hasRequiredHmac$1,hasRequiredHash,secp256k1,hasRequiredSecp256k1,hasRequiredCurves,hmacDrbg,hasRequiredHmacDrbg,key$1,hasRequiredKey$1,signature$1,hasRequiredSignature$1,ec,hasRequiredEc,key,hasRequiredKey,signature,hasRequiredSignature,eddsa,hasRequiredEddsa,hasRequiredElliptic;function requireRipemd(){if(hasRequiredRipemd)return ripemd;hasRequiredRipemd=1;var e=requireUtils(),r=requireCommon$1(),u=e.rotl32,t=e.sum32,o=e.sum32_3,l=e.sum32_4,c=r.BlockHash;function a(){if(!(this instanceof a))return new a;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function n(b,y,g,R){return b<=15?y^g^R:b<=31?y&g|~y&R:b<=47?(y|~g)^R:b<=63?y&R|g&~R:y^(g|~R)}function i(b){return b<=15?0:b<=31?1518500249:b<=47?1859775393:b<=63?2400959708:2840853838}function s(b){return b<=15?1352829926:b<=31?1548603684:b<=47?1836072691:b<=63?2053994217:0}e.inherits(a,c),ripemd.ripemd160=a,a.blockSize=512,a.outSize=160,a.hmacStrength=192,a.padLength=64,a.prototype._update=function(b,y){for(var g=this.h[0],R=this.h[1],S=this.h[2],w=this.h[3],q=this.h[4],I=g,P=R,O=S,N=w,_=q,E=0;E<80;E++){var B=t(u(l(g,n(E,R,S,w),b[f[E]+y],i(E)),h[E]),q);g=q,q=w,w=u(S,10),S=R,R=B,B=t(u(l(I,n(79-E,P,O,N),b[d[E]+y],s(E)),p[E]),_),I=_,_=N,N=u(O,10),O=P,P=B}B=o(this.h[1],S,N),this.h[1]=o(this.h[2],w,_),this.h[2]=o(this.h[3],q,I),this.h[3]=o(this.h[4],g,P),this.h[4]=o(this.h[0],R,O),this.h[0]=B},a.prototype._digest=function(b){return b==="hex"?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var f=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],h=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],p=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11];return ripemd}function requireHmac$1(){if(hasRequiredHmac$1)return hmac$2;hasRequiredHmac$1=1;var e=requireUtils(),r=requireMinimalisticAssert();function u(t,o,l){if(!(this instanceof u))return new u(t,o,l);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(o,l))}return hmac$2=u,u.prototype._init=function(t){t.length>this.blockSize&&(t=new this.Hash().update(t).digest()),r(t.length<=this.blockSize);for(var o=t.length;o<this.blockSize;o++)t.push(0);for(o=0;o<t.length;o++)t[o]^=54;for(this.inner=new this.Hash().update(t),o=0;o<t.length;o++)t[o]^=106;this.outer=new this.Hash().update(t)},u.prototype.update=function(t,o){return this.inner.update(t,o),this},u.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)},hmac$2}function requireHash(){return hasRequiredHash||(hasRequiredHash=1,(function(e){var r=e;r.utils=requireUtils(),r.common=requireCommon$1(),r.sha=requireSha(),r.ripemd=requireRipemd(),r.hmac=requireHmac$1(),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160})(hash)),hash}function requireSecp256k1(){return hasRequiredSecp256k1?secp256k1:(hasRequiredSecp256k1=1,secp256k1={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}})}function requireCurves(){return hasRequiredCurves||(hasRequiredCurves=1,(function(e){var r,u=e,t=requireHash(),o=requireCurve(),l=requireUtils$1().assert;function c(n){n.type==="short"?this.curve=new o.short(n):n.type==="edwards"?this.curve=new o.edwards(n):this.curve=new o.mont(n),this.g=this.curve.g,this.n=this.curve.n,this.hash=n.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function a(n,i){Object.defineProperty(u,n,{configurable:!0,enumerable:!0,get:function(){var s=new c(i);return Object.defineProperty(u,n,{configurable:!0,enumerable:!0,value:s}),s}})}u.PresetCurve=c,a("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:t.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),a("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:t.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),a("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:t.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),a("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:t.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),a("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:t.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),a("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["9"]}),a("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=requireSecp256k1()}catch{r=void 0}a("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:t.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})})(curves)),curves}function requireHmacDrbg(){if(hasRequiredHmacDrbg)return hmacDrbg;hasRequiredHmacDrbg=1;var e=requireHash(),r=requireUtils$2(),u=requireMinimalisticAssert();function t(o){if(!(this instanceof t))return new t(o);this.hash=o.hash,this.predResist=!!o.predResist,this.outLen=this.hash.outSize,this.minEntropy=o.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var l=r.toArray(o.entropy,o.entropyEnc||"hex"),c=r.toArray(o.nonce,o.nonceEnc||"hex"),a=r.toArray(o.pers,o.persEnc||"hex");u(l.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(l,c,a)}return hmacDrbg=t,t.prototype._init=function(o,l,c){var a=o.concat(l).concat(c);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var n=0;n<this.V.length;n++)this.K[n]=0,this.V[n]=1;this._update(a),this._reseed=1,this.reseedInterval=281474976710656},t.prototype._hmac=function(){return new e.hmac(this.hash,this.K)},t.prototype._update=function(o){var l=this._hmac().update(this.V).update([0]);o&&(l=l.update(o)),this.K=l.digest(),this.V=this._hmac().update(this.V).digest(),o&&(this.K=this._hmac().update(this.V).update([1]).update(o).digest(),this.V=this._hmac().update(this.V).digest())},t.prototype.reseed=function(o,l,c,a){typeof l!="string"&&(a=c,c=l,l=null),o=r.toArray(o,l),c=r.toArray(c,a),u(o.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(o.concat(c||[])),this._reseed=1},t.prototype.generate=function(o,l,c,a){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof l!="string"&&(a=c,c=l,l=null),c&&(c=r.toArray(c,a||"hex"),this._update(c));for(var n=[];n.length<o;)this.V=this._hmac().update(this.V).digest(),n=n.concat(this.V);var i=n.slice(0,o);return this._update(c),this._reseed++,r.encode(i,l)},hmacDrbg}function requireKey$1(){if(hasRequiredKey$1)return key$1;hasRequiredKey$1=1;var e=requireBn(),r=requireUtils$1().assert;function u(t,o){this.ec=t,this.priv=null,this.pub=null,o.priv&&this._importPrivate(o.priv,o.privEnc),o.pub&&this._importPublic(o.pub,o.pubEnc)}return key$1=u,u.fromPublic=function(t,o,l){return o instanceof u?o:new u(t,{pub:o,pubEnc:l})},u.fromPrivate=function(t,o,l){return o instanceof u?o:new u(t,{priv:o,privEnc:l})},u.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},u.prototype.getPublic=function(t,o){return typeof t=="string"&&(o=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),o?this.pub.encode(o,t):this.pub},u.prototype.getPrivate=function(t){return t==="hex"?this.priv.toString(16,2):this.priv},u.prototype._importPrivate=function(t,o){this.priv=new e(t,o||16),this.priv=this.priv.umod(this.ec.curve.n)},u.prototype._importPublic=function(t,o){if(t.x||t.y)return this.ec.curve.type==="mont"?r(t.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||r(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,o)},u.prototype.derive=function(t){return t.validate()||r(t.validate(),"public point not validated"),t.mul(this.priv).getX()},u.prototype.sign=function(t,o,l){return this.ec.sign(t,this,o,l)},u.prototype.verify=function(t,o,l){return this.ec.verify(t,o,this,void 0,l)},u.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"},key$1}function requireSignature$1(){if(hasRequiredSignature$1)return signature$1;hasRequiredSignature$1=1;var e=requireBn(),r=requireUtils$1(),u=r.assert;function t(n,i){if(n instanceof t)return n;this._importDER(n,i)||(u(n.r&&n.s,"Signature without r or s"),this.r=new e(n.r,16),this.s=new e(n.s,16),n.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=n.recoveryParam)}function o(){this.place=0}function l(n,i){var s=n[i.place++];if(!(128&s))return s;var f=15&s;if(f===0||f>4||n[i.place]===0)return!1;for(var d=0,h=0,p=i.place;h<f;h++,p++)d<<=8,d|=n[p],d>>>=0;return!(d<=127)&&(i.place=p,d)}function c(n){for(var i=0,s=n.length-1;!n[i]&&!(128&n[i+1])&&i<s;)i++;return i===0?n:n.slice(i)}function a(n,i){if(i<128)n.push(i);else{var s=1+(Math.log(i)/Math.LN2>>>3);for(n.push(128|s);--s;)n.push(i>>>(s<<3)&255);n.push(i)}}return signature$1=t,t.prototype._importDER=function(n,i){n=r.toArray(n,i);var s=new o;if(n[s.place++]!==48)return!1;var f=l(n,s);if(f===!1||f+s.place!==n.length||n[s.place++]!==2)return!1;var d=l(n,s);if(d===!1||128&n[s.place])return!1;var h=n.slice(s.place,d+s.place);if(s.place+=d,n[s.place++]!==2)return!1;var p=l(n,s);if(p===!1||n.length!==p+s.place||128&n[s.place])return!1;var b=n.slice(s.place,p+s.place);if(h[0]===0){if(!(128&h[1]))return!1;h=h.slice(1)}if(b[0]===0){if(!(128&b[1]))return!1;b=b.slice(1)}return this.r=new e(h),this.s=new e(b),this.recoveryParam=null,!0},t.prototype.toDER=function(n){var i=this.r.toArray(),s=this.s.toArray();for(128&i[0]&&(i=[0].concat(i)),128&s[0]&&(s=[0].concat(s)),i=c(i),s=c(s);!(s[0]||128&s[1]);)s=s.slice(1);var f=[2];a(f,i.length),(f=f.concat(i)).push(2),a(f,s.length);var d=f.concat(s),h=[48];return a(h,d.length),h=h.concat(d),r.encode(h,n)},signature$1}function requireEc(){if(hasRequiredEc)return ec;hasRequiredEc=1;var e=requireBn(),r=requireHmacDrbg(),u=requireUtils$1(),t=requireCurves(),o=requireBrorand(),l=u.assert,c=requireKey$1(),a=requireSignature$1();function n(i){if(!(this instanceof n))return new n(i);typeof i=="string"&&(l(Object.prototype.hasOwnProperty.call(t,i),"Unknown curve "+i),i=t[i]),i instanceof t.PresetCurve&&(i={curve:i}),this.curve=i.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=i.curve.g,this.g.precompute(i.curve.n.bitLength()+1),this.hash=i.hash||i.curve.hash}return ec=n,n.prototype.keyPair=function(i){return new c(this,i)},n.prototype.keyFromPrivate=function(i,s){return c.fromPrivate(this,i,s)},n.prototype.keyFromPublic=function(i,s){return c.fromPublic(this,i,s)},n.prototype.genKeyPair=function(i){i||(i={});for(var s=new r({hash:this.hash,pers:i.pers,persEnc:i.persEnc||"utf8",entropy:i.entropy||o(this.hash.hmacStrength),entropyEnc:i.entropy&&i.entropyEnc||"utf8",nonce:this.n.toArray()}),f=this.n.byteLength(),d=this.n.sub(new e(2));;){var h=new e(s.generate(f));if(!(h.cmp(d)>0))return h.iaddn(1),this.keyFromPrivate(h)}},n.prototype._truncateToN=function(i,s,f){var d;if(e.isBN(i)||typeof i=="number")d=(i=new e(i,16)).byteLength();else if(typeof i=="object")d=i.length,i=new e(i,16);else{var h=i.toString();d=h.length+1>>>1,i=new e(h,16)}typeof f!="number"&&(f=8*d);var p=f-this.n.bitLength();return p>0&&(i=i.ushrn(p)),!s&&i.cmp(this.n)>=0?i.sub(this.n):i},n.prototype.sign=function(i,s,f,d){if(typeof f=="object"&&(d=f,f=null),d||(d={}),typeof i!="string"&&typeof i!="number"&&!e.isBN(i)){l(typeof i=="object"&&i&&typeof i.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),l(i.length>>>0===i.length);for(var h=0;h<i.length;h++)l((255&i[h])===i[h])}s=this.keyFromPrivate(s,f),i=this._truncateToN(i,!1,d.msgBitLength),l(!i.isNeg(),"Can not sign a negative message");var p=this.n.byteLength(),b=s.getPrivate().toArray("be",p),y=i.toArray("be",p);l(new e(y).eq(i),"Can not sign message");for(var g=new r({hash:this.hash,entropy:b,nonce:y,pers:d.pers,persEnc:d.persEnc||"utf8"}),R=this.n.sub(new e(1)),S=0;;S++){var w=d.k?d.k(S):new e(g.generate(this.n.byteLength()));if(!((w=this._truncateToN(w,!0)).cmpn(1)<=0||w.cmp(R)>=0)){var q=this.g.mul(w);if(!q.isInfinity()){var I=q.getX(),P=I.umod(this.n);if(P.cmpn(0)!==0){var O=w.invm(this.n).mul(P.mul(s.getPrivate()).iadd(i));if((O=O.umod(this.n)).cmpn(0)!==0){var N=(q.getY().isOdd()?1:0)|(I.cmp(P)!==0?2:0);return d.canonical&&O.cmp(this.nh)>0&&(O=this.n.sub(O),N^=1),new a({r:P,s:O,recoveryParam:N})}}}}}},n.prototype.verify=function(i,s,f,d,h){h||(h={}),i=this._truncateToN(i,!1,h.msgBitLength),f=this.keyFromPublic(f,d);var p=(s=new a(s,"hex")).r,b=s.s;if(p.cmpn(1)<0||p.cmp(this.n)>=0||b.cmpn(1)<0||b.cmp(this.n)>=0)return!1;var y,g=b.invm(this.n),R=g.mul(i).umod(this.n),S=g.mul(p).umod(this.n);return this.curve._maxwellTrick?!(y=this.g.jmulAdd(R,f.getPublic(),S)).isInfinity()&&y.eqXToP(p):!(y=this.g.mulAdd(R,f.getPublic(),S)).isInfinity()&&y.getX().umod(this.n).cmp(p)===0},n.prototype.recoverPubKey=function(i,s,f,d){l((3&f)===f,"The recovery param is more than two bits"),s=new a(s,d);var h=this.n,p=new e(i),b=s.r,y=s.s,g=1&f,R=f>>1;if(b.cmp(this.curve.p.umod(this.curve.n))>=0&&R)throw new Error("Unable to find sencond key candinate");b=R?this.curve.pointFromX(b.add(this.curve.n),g):this.curve.pointFromX(b,g);var S=s.r.invm(h),w=h.sub(p).mul(S).umod(h),q=y.mul(S).umod(h);return this.g.mulAdd(w,b,q)},n.prototype.getKeyRecoveryParam=function(i,s,f,d){if((s=new a(s,d)).recoveryParam!==null)return s.recoveryParam;for(var h=0;h<4;h++){var p;try{p=this.recoverPubKey(i,s,h)}catch{continue}if(p.eq(f))return h}throw new Error("Unable to find valid recovery factor")},ec}function requireKey(){if(hasRequiredKey)return key;hasRequiredKey=1;var e=requireUtils$1(),r=e.assert,u=e.parseBytes,t=e.cachedProperty;function o(l,c){this.eddsa=l,this._secret=u(c.secret),l.isPoint(c.pub)?this._pub=c.pub:this._pubBytes=u(c.pub)}return o.fromPublic=function(l,c){return c instanceof o?c:new o(l,{pub:c})},o.fromSecret=function(l,c){return c instanceof o?c:new o(l,{secret:c})},o.prototype.secret=function(){return this._secret},t(o,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),t(o,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),t(o,"privBytes",(function(){var l=this.eddsa,c=this.hash(),a=l.encodingLength-1,n=c.slice(0,l.encodingLength);return n[0]&=248,n[a]&=127,n[a]|=64,n})),t(o,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),t(o,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),t(o,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),o.prototype.sign=function(l){return r(this._secret,"KeyPair can only verify"),this.eddsa.sign(l,this)},o.prototype.verify=function(l,c){return this.eddsa.verify(l,c,this)},o.prototype.getSecret=function(l){return r(this._secret,"KeyPair is public only"),e.encode(this.secret(),l)},o.prototype.getPublic=function(l){return e.encode(this.pubBytes(),l)},key=o}function requireSignature(){if(hasRequiredSignature)return signature;hasRequiredSignature=1;var e=requireBn(),r=requireUtils$1(),u=r.assert,t=r.cachedProperty,o=r.parseBytes;function l(c,a){this.eddsa=c,typeof a!="object"&&(a=o(a)),Array.isArray(a)&&(u(a.length===2*c.encodingLength,"Signature has invalid size"),a={R:a.slice(0,c.encodingLength),S:a.slice(c.encodingLength)}),u(a.R&&a.S,"Signature without R or S"),c.isPoint(a.R)&&(this._R=a.R),a.S instanceof e&&(this._S=a.S),this._Rencoded=Array.isArray(a.R)?a.R:a.Rencoded,this._Sencoded=Array.isArray(a.S)?a.S:a.Sencoded}return t(l,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),t(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),t(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),t(l,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return r.encode(this.toBytes(),"hex").toUpperCase()},signature=l}function requireEddsa(){if(hasRequiredEddsa)return eddsa;hasRequiredEddsa=1;var e=requireHash(),r=requireCurves(),u=requireUtils$1(),t=u.assert,o=u.parseBytes,l=requireKey(),c=requireSignature();function a(n){if(t(n==="ed25519","only tested with ed25519 so far"),!(this instanceof a))return new a(n);n=r[n].curve,this.curve=n,this.g=n.g,this.g.precompute(n.n.bitLength()+1),this.pointClass=n.point().constructor,this.encodingLength=Math.ceil(n.n.bitLength()/8),this.hash=e.sha512}return eddsa=a,a.prototype.sign=function(n,i){n=o(n);var s=this.keyFromSecret(i),f=this.hashInt(s.messagePrefix(),n),d=this.g.mul(f),h=this.encodePoint(d),p=this.hashInt(h,s.pubBytes(),n).mul(s.priv()),b=f.add(p).umod(this.curve.n);return this.makeSignature({R:d,S:b,Rencoded:h})},a.prototype.verify=function(n,i,s){if(n=o(n),(i=this.makeSignature(i)).S().gte(i.eddsa.curve.n)||i.S().isNeg())return!1;var f=this.keyFromPublic(s),d=this.hashInt(i.Rencoded(),f.pubBytes(),n),h=this.g.mul(i.S());return i.R().add(f.pub().mul(d)).eq(h)},a.prototype.hashInt=function(){for(var n=this.hash(),i=0;i<arguments.length;i++)n.update(arguments[i]);return u.intFromLE(n.digest()).umod(this.curve.n)},a.prototype.keyFromPublic=function(n){return l.fromPublic(this,n)},a.prototype.keyFromSecret=function(n){return l.fromSecret(this,n)},a.prototype.makeSignature=function(n){return n instanceof c?n:new c(this,n)},a.prototype.encodePoint=function(n){var i=n.getY().toArray("le",this.encodingLength);return i[this.encodingLength-1]|=n.getX().isOdd()?128:0,i},a.prototype.decodePoint=function(n){var i=(n=u.parseBytes(n)).length-1,s=n.slice(0,i).concat(-129&n[i]),f=!!(128&n[i]),d=u.intFromLE(s);return this.curve.pointFromY(d,f)},a.prototype.encodeInt=function(n){return n.toArray("le",this.encodingLength)},a.prototype.decodeInt=function(n){return u.intFromLE(n)},a.prototype.isPoint=function(n){return n instanceof this.pointClass},eddsa}function requireElliptic(){return hasRequiredElliptic||(hasRequiredElliptic=1,(function(e){var r=e;r.version=require$$0.version,r.utils=requireUtils$1(),r.rand=requireBrorand(),r.curve=requireCurve(),r.curves=requireCurves(),r.ec=requireEc(),r.eddsa=requireEddsa()})(elliptic)),elliptic}var asn1$2={},asn1$1={},api={},vmBrowserify={},hasRequiredVmBrowserify,hasRequiredApi;function requireVmBrowserify(){return hasRequiredVmBrowserify||(hasRequiredVmBrowserify=1,(function(exports$1){var indexOf=function(e,r){if(e.indexOf)return e.indexOf(r);for(var u=0;u<e.length;u++)if(e[u]===r)return u;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var r=[];for(var u in e)r.push(u);return r},forEach=function(e,r){if(e.forEach)return e.forEach(r);for(var u=0;u<e.length;u++)r(e[u],u,e)},defineProp=(function(){try{return Object.defineProperty({},"_",{}),function(e,r,u){Object.defineProperty(e,r,{writable:!0,enumerable:!1,configurable:!0,value:u})}}catch{return function(r,u,t){r[u]=t}}})(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports$1.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var r=document.createElement("iframe");r.style||(r.style={}),r.style.display="none",document.body.appendChild(r);var u=r.contentWindow,t=u.eval,o=u.execScript;!t&&o&&(o.call(u,"null"),t=u.eval),forEach(Object_keys(e),(function(a){u[a]=e[a]})),forEach(globals,(function(a){e[a]&&(u[a]=e[a])}));var l=Object_keys(u),c=t.call(u,this.code);return forEach(Object_keys(u),(function(a){(a in e||indexOf(l,a)===-1)&&(e[a]=u[a])})),forEach(globals,(function(a){a in e||defineProp(e,a,u[a])})),document.body.removeChild(r),c},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var r=Script.createContext(e),u=this.runInContext(r);return e&&forEach(Object_keys(r),(function(t){e[t]=r[t]})),u},forEach(Object_keys(Script.prototype),(function(e){exports$1[e]=Script[e]=function(r){var u=Script(r);return u[e].apply(u,[].slice.call(arguments,1))}})),exports$1.isContext=function(e){return e instanceof Context},exports$1.createScript=function(e){return exports$1.Script(e)},exports$1.createContext=Script.createContext=function(e){var r=new Context;return typeof e=="object"&&forEach(Object_keys(e),(function(u){r[u]=e[u]})),r}})(vmBrowserify)),vmBrowserify}function requireApi(){return hasRequiredApi||(hasRequiredApi=1,(function(e){var r=requireAsn1$2(),u=requireInherits_browser();function t(o,l){this.name=o,this.body=l,this.decoders={},this.encoders={}}e.define=function(o,l){return new t(o,l)},t.prototype._createNamed=function(o){var l;try{l=requireVmBrowserify().runInThisContext("(function "+this.name+`(entity) {
|
|
31
|
+
this._initNamed(entity);
|
|
32
|
+
})`)}catch{l=function(a){this._initNamed(a)}}return u(l,o),l.prototype._initNamed=function(c){o.call(this,c)},new l(this)},t.prototype._getDecoder=function(o){return o=o||"der",this.decoders.hasOwnProperty(o)||(this.decoders[o]=this._createNamed(r.decoders[o])),this.decoders[o]},t.prototype.decode=function(o,l,c){return this._getDecoder(l).decode(o,c)},t.prototype._getEncoder=function(o){return o=o||"der",this.encoders.hasOwnProperty(o)||(this.encoders[o]=this._createNamed(r.encoders[o])),this.encoders[o]},t.prototype.encode=function(o,l,c){return this._getEncoder(l).encode(o,c)}})(api)),api}var base={},reporter={},hasRequiredReporter;function requireReporter(){if(hasRequiredReporter)return reporter;hasRequiredReporter=1;var e=requireInherits_browser();function r(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function u(t,o){this.path=t,this.rethrow(o)}return reporter.Reporter=r,r.prototype.isError=function(t){return t instanceof u},r.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},r.prototype.restore=function(t){var o=this._reporterState;o.obj=t.obj,o.path=o.path.slice(0,t.pathLen)},r.prototype.enterKey=function(t){return this._reporterState.path.push(t)},r.prototype.exitKey=function(t){var o=this._reporterState;o.path=o.path.slice(0,t-1)},r.prototype.leaveKey=function(t,o,l){var c=this._reporterState;this.exitKey(t),c.obj!==null&&(c.obj[o]=l)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){var t=this._reporterState,o=t.obj;return t.obj={},o},r.prototype.leaveObject=function(t){var o=this._reporterState,l=o.obj;return o.obj=t,l},r.prototype.error=function(t){var o,l=this._reporterState,c=t instanceof u;if(o=c?t:new u(l.path.map((function(a){return"["+JSON.stringify(a)+"]"})).join(""),t.message||t,t.stack),!l.options.partial)throw o;return c||l.errors.push(o),o},r.prototype.wrapResult=function(t){var o=this._reporterState;return o.options.partial?{result:this.isError(t)?null:t,errors:o.errors}:t},e(u,Error),u.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,u),!this.stack)try{throw new Error(this.message)}catch(o){this.stack=o.stack}return this},reporter}var buffer={},hasRequiredBuffer,node,hasRequiredNode,hasRequiredBase;function requireBuffer(){if(hasRequiredBuffer)return buffer;hasRequiredBuffer=1;var e=requireInherits_browser(),r=requireBase().Reporter,u=requireDist().Buffer;function t(l,c){r.call(this,c),u.isBuffer(l)?(this.base=l,this.offset=0,this.length=l.length):this.error("Input not Buffer")}function o(l,c){if(Array.isArray(l))this.length=0,this.value=l.map((function(a){return a instanceof o||(a=new o(a,c)),this.length+=a.length,a}),this);else if(typeof l=="number"){if(!(0<=l&&l<=255))return c.error("non-byte EncoderBuffer value");this.value=l,this.length=1}else if(typeof l=="string")this.value=l,this.length=u.byteLength(l);else{if(!u.isBuffer(l))return c.error("Unsupported type: "+typeof l);this.value=l,this.length=l.length}}return e(t,r),buffer.DecoderBuffer=t,t.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},t.prototype.restore=function(l){var c=new t(this.base);return c.offset=l.offset,c.length=this.offset,this.offset=l.offset,r.prototype.restore.call(this,l.reporter),c},t.prototype.isEmpty=function(){return this.offset===this.length},t.prototype.readUInt8=function(l){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(l||"DecoderBuffer overrun")},t.prototype.skip=function(l,c){if(!(this.offset+l<=this.length))return this.error(c||"DecoderBuffer overrun");var a=new t(this.base);return a._reporterState=this._reporterState,a.offset=this.offset,a.length=this.offset+l,this.offset+=l,a},t.prototype.raw=function(l){return this.base.slice(l?l.offset:this.offset,this.length)},buffer.EncoderBuffer=o,o.prototype.join=function(l,c){return l||(l=new u(this.length)),c||(c=0),this.length===0||(Array.isArray(this.value)?this.value.forEach((function(a){a.join(l,c),c+=a.length})):(typeof this.value=="number"?l[c]=this.value:typeof this.value=="string"?l.write(this.value,c):u.isBuffer(this.value)&&this.value.copy(l,c),c+=this.length)),l},buffer}function requireNode(){if(hasRequiredNode)return node;hasRequiredNode=1;var e=requireBase().Reporter,r=requireBase().EncoderBuffer,u=requireBase().DecoderBuffer,t=requireMinimalisticAssert(),o=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o);function c(n,i){var s={};this._baseState=s,s.enc=n,s.parent=i||null,s.children=null,s.tag=null,s.args=null,s.reverseArgs=null,s.choice=null,s.optional=!1,s.any=!1,s.obj=!1,s.use=null,s.useDecoder=null,s.key=null,s.default=null,s.explicit=null,s.implicit=null,s.contains=null,s.parent||(s.children=[],this._wrap())}node=c;var a=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];return c.prototype.clone=function(){var n=this._baseState,i={};a.forEach((function(f){i[f]=n[f]}));var s=new this.constructor(i.parent);return s._baseState=i,s},c.prototype._wrap=function(){var n=this._baseState;l.forEach((function(i){this[i]=function(){var s=new this.constructor(this);return n.children.push(s),s[i].apply(s,arguments)}}),this)},c.prototype._init=function(n){var i=this._baseState;t(i.parent===null),n.call(this),i.children=i.children.filter((function(s){return s._baseState.parent===this}),this),t.equal(i.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(n){var i=this._baseState,s=n.filter((function(f){return f instanceof this.constructor}),this);n=n.filter((function(f){return!(f instanceof this.constructor)}),this),s.length!==0&&(t(i.children===null),i.children=s,s.forEach((function(f){f._baseState.parent=this}),this)),n.length!==0&&(t(i.args===null),i.args=n,i.reverseArgs=n.map((function(f){if(typeof f!="object"||f.constructor!==Object)return f;var d={};return Object.keys(f).forEach((function(h){h==(0|h)&&(h|=0);var p=f[h];d[p]=h})),d})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(n){c.prototype[n]=function(){var i=this._baseState;throw new Error(n+" not implemented for encoding: "+i.enc)}})),o.forEach((function(n){c.prototype[n]=function(){var i=this._baseState,s=Array.prototype.slice.call(arguments);return t(i.tag===null),i.tag=n,this._useArgs(s),this}})),c.prototype.use=function(n){t(n);var i=this._baseState;return t(i.use===null),i.use=n,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(n){var i=this._baseState;return t(i.default===null),i.default=n,i.optional=!0,this},c.prototype.explicit=function(n){var i=this._baseState;return t(i.explicit===null&&i.implicit===null),i.explicit=n,this},c.prototype.implicit=function(n){var i=this._baseState;return t(i.explicit===null&&i.implicit===null),i.implicit=n,this},c.prototype.obj=function(){var n=this._baseState,i=Array.prototype.slice.call(arguments);return n.obj=!0,i.length!==0&&this._useArgs(i),this},c.prototype.key=function(n){var i=this._baseState;return t(i.key===null),i.key=n,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(n){var i=this._baseState;return t(i.choice===null),i.choice=n,this._useArgs(Object.keys(n).map((function(s){return n[s]}))),this},c.prototype.contains=function(n){var i=this._baseState;return t(i.use===null),i.contains=n,this},c.prototype._decode=function(n,i){var s=this._baseState;if(s.parent===null)return n.wrapResult(s.children[0]._decode(n,i));var f,d=s.default,h=!0,p=null;if(s.key!==null&&(p=n.enterKey(s.key)),s.optional){var b=null;if(s.explicit!==null?b=s.explicit:s.implicit!==null?b=s.implicit:s.tag!==null&&(b=s.tag),b!==null||s.any){if(h=this._peekTag(n,b,s.any),n.isError(h))return h}else{var y=n.save();try{s.choice===null?this._decodeGeneric(s.tag,n,i):this._decodeChoice(n,i),h=!0}catch{h=!1}n.restore(y)}}if(s.obj&&h&&(f=n.enterObject()),h){if(s.explicit!==null){var g=this._decodeTag(n,s.explicit);if(n.isError(g))return g;n=g}var R=n.offset;if(s.use===null&&s.choice===null){s.any&&(y=n.save());var S=this._decodeTag(n,s.implicit!==null?s.implicit:s.tag,s.any);if(n.isError(S))return S;s.any?d=n.raw(y):n=S}if(i&&i.track&&s.tag!==null&&i.track(n.path(),R,n.length,"tagged"),i&&i.track&&s.tag!==null&&i.track(n.path(),n.offset,n.length,"content"),s.any||(d=s.choice===null?this._decodeGeneric(s.tag,n,i):this._decodeChoice(n,i)),n.isError(d))return d;if(s.any||s.choice!==null||s.children===null||s.children.forEach((function(q){q._decode(n,i)})),s.contains&&(s.tag==="octstr"||s.tag==="bitstr")){var w=new u(d);d=this._getUse(s.contains,n._reporterState.obj)._decode(w,i)}}return s.obj&&h&&(d=n.leaveObject(f)),s.key===null||d===null&&h!==!0?p!==null&&n.exitKey(p):n.leaveKey(p,s.key,d),d},c.prototype._decodeGeneric=function(n,i,s){var f=this._baseState;return n==="seq"||n==="set"?null:n==="seqof"||n==="setof"?this._decodeList(i,n,f.args[0],s):/str$/.test(n)?this._decodeStr(i,n,s):n==="objid"&&f.args?this._decodeObjid(i,f.args[0],f.args[1],s):n==="objid"?this._decodeObjid(i,null,null,s):n==="gentime"||n==="utctime"?this._decodeTime(i,n,s):n==="null_"?this._decodeNull(i,s):n==="bool"?this._decodeBool(i,s):n==="objDesc"?this._decodeStr(i,n,s):n==="int"||n==="enum"?this._decodeInt(i,f.args&&f.args[0],s):f.use!==null?this._getUse(f.use,i._reporterState.obj)._decode(i,s):i.error("unknown tag: "+n)},c.prototype._getUse=function(n,i){var s=this._baseState;return s.useDecoder=this._use(n,i),t(s.useDecoder._baseState.parent===null),s.useDecoder=s.useDecoder._baseState.children[0],s.implicit!==s.useDecoder._baseState.implicit&&(s.useDecoder=s.useDecoder.clone(),s.useDecoder._baseState.implicit=s.implicit),s.useDecoder},c.prototype._decodeChoice=function(n,i){var s=this._baseState,f=null,d=!1;return Object.keys(s.choice).some((function(h){var p=n.save(),b=s.choice[h];try{var y=b._decode(n,i);if(n.isError(y))return!1;f={type:h,value:y},d=!0}catch{return n.restore(p),!1}return!0}),this),d?f:n.error("Choice not matched")},c.prototype._createEncoderBuffer=function(n){return new r(n,this.reporter)},c.prototype._encode=function(n,i,s){var f=this._baseState;if(f.default===null||f.default!==n){var d=this._encodeValue(n,i,s);if(d!==void 0&&!this._skipDefault(d,i,s))return d}},c.prototype._encodeValue=function(n,i,s){var f=this._baseState;if(f.parent===null)return f.children[0]._encode(n,i||new e);var d=null;if(this.reporter=i,f.optional&&n===void 0){if(f.default===null)return;n=f.default}var h=null,p=!1;if(f.any)d=this._createEncoderBuffer(n);else if(f.choice)d=this._encodeChoice(n,i);else if(f.contains)h=this._getUse(f.contains,s)._encode(n,i),p=!0;else if(f.children)h=f.children.map((function(R){if(R._baseState.tag==="null_")return R._encode(null,i,n);if(R._baseState.key===null)return i.error("Child should have a key");var S=i.enterKey(R._baseState.key);if(typeof n!="object")return i.error("Child expected, but input is not object");var w=R._encode(n[R._baseState.key],i,n);return i.leaveKey(S),w}),this).filter((function(R){return R})),h=this._createEncoderBuffer(h);else if(f.tag==="seqof"||f.tag==="setof"){if(!f.args||f.args.length!==1)return i.error("Too many args for : "+f.tag);if(!Array.isArray(n))return i.error("seqof/setof, but data is not Array");var b=this.clone();b._baseState.implicit=null,h=this._createEncoderBuffer(n.map((function(R){var S=this._baseState;return this._getUse(S.args[0],n)._encode(R,i)}),b))}else f.use!==null?d=this._getUse(f.use,s)._encode(n,i):(h=this._encodePrimitive(f.tag,n),p=!0);if(!f.any&&f.choice===null){var y=f.implicit!==null?f.implicit:f.tag,g=f.implicit===null?"universal":"context";y===null?f.use===null&&i.error("Tag could be omitted only for .use()"):f.use===null&&(d=this._encodeComposite(y,p,g,h))}return f.explicit!==null&&(d=this._encodeComposite(f.explicit,!1,"context",d)),d},c.prototype._encodeChoice=function(n,i){var s=this._baseState,f=s.choice[n.type];return f||t(!1,n.type+" not found in "+JSON.stringify(Object.keys(s.choice))),f._encode(n.value,i)},c.prototype._encodePrimitive=function(n,i){var s=this._baseState;if(/str$/.test(n))return this._encodeStr(i,n);if(n==="objid"&&s.args)return this._encodeObjid(i,s.reverseArgs[0],s.args[1]);if(n==="objid")return this._encodeObjid(i,null,null);if(n==="gentime"||n==="utctime")return this._encodeTime(i,n);if(n==="null_")return this._encodeNull();if(n==="int"||n==="enum")return this._encodeInt(i,s.args&&s.reverseArgs[0]);if(n==="bool")return this._encodeBool(i);if(n==="objDesc")return this._encodeStr(i,n);throw new Error("Unsupported tag: "+n)},c.prototype._isNumstr=function(n){return/^[0-9 ]*$/.test(n)},c.prototype._isPrintstr=function(n){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(n)},node}function requireBase(){return hasRequiredBase||(hasRequiredBase=1,(function(e){var r=e;r.Reporter=requireReporter().Reporter,r.DecoderBuffer=requireBuffer().DecoderBuffer,r.EncoderBuffer=requireBuffer().EncoderBuffer,r.Node=requireNode()})(base)),base}var constants={},der={},hasRequiredDer$2,hasRequiredConstants;function requireDer$2(){return hasRequiredDer$2||(hasRequiredDer$2=1,(function(e){var r=requireConstants();e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=r._reverse(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=r._reverse(e.tag)})(der)),der}function requireConstants(){return hasRequiredConstants||(hasRequiredConstants=1,(function(e){var r=e;r._reverse=function(u){var t={};return Object.keys(u).forEach((function(o){(0|o)==o&&(o|=0);var l=u[o];t[l]=o})),t},r.der=requireDer$2()})(constants)),constants}var decoders={},der_1$1,hasRequiredDer$1,pem$1,hasRequiredPem$1,hasRequiredDecoders;function requireDer$1(){if(hasRequiredDer$1)return der_1$1;hasRequiredDer$1=1;var e=requireInherits_browser(),r=requireAsn1$2(),u=r.base,t=r.bignum,o=r.constants.der;function l(i){this.enc="der",this.name=i.name,this.entity=i,this.tree=new c,this.tree._init(i.body)}function c(i){u.Node.call(this,"der",i)}function a(i,s){var f=i.readUInt8(s);if(i.isError(f))return f;var d=o.tagClass[f>>6],h=!(32&f);if(31&~f)f&=31;else{var p=f;for(f=0;!(128&~p);){if(p=i.readUInt8(s),i.isError(p))return p;f<<=7,f|=127&p}}return{cls:d,primitive:h,tag:f,tagStr:o.tag[f]}}function n(i,s,f){var d=i.readUInt8(f);if(i.isError(d))return d;if(!s&&d===128)return null;if(!(128&d))return d;var h=127&d;if(h>4)return i.error("length octect is too long");d=0;for(var p=0;p<h;p++){d<<=8;var b=i.readUInt8(f);if(i.isError(b))return b;d|=b}return d}return der_1$1=l,l.prototype.decode=function(i,s){return i instanceof u.DecoderBuffer||(i=new u.DecoderBuffer(i,s)),this.tree._decode(i,s)},e(c,u.Node),c.prototype._peekTag=function(i,s,f){if(i.isEmpty())return!1;var d=i.save(),h=a(i,'Failed to peek tag: "'+s+'"');return i.isError(h)?h:(i.restore(d),h.tag===s||h.tagStr===s||h.tagStr+"of"===s||f)},c.prototype._decodeTag=function(i,s,f){var d=a(i,'Failed to decode tag of "'+s+'"');if(i.isError(d))return d;var h=n(i,d.primitive,'Failed to get length of "'+s+'"');if(i.isError(h))return h;if(!f&&d.tag!==s&&d.tagStr!==s&&d.tagStr+"of"!==s)return i.error('Failed to match tag: "'+s+'"');if(d.primitive||h!==null)return i.skip(h,'Failed to match body of: "'+s+'"');var p=i.save(),b=this._skipUntilEnd(i,'Failed to skip indefinite length body: "'+this.tag+'"');return i.isError(b)?b:(h=i.offset-p.offset,i.restore(p),i.skip(h,'Failed to match body of: "'+s+'"'))},c.prototype._skipUntilEnd=function(i,s){for(;;){var f=a(i,s);if(i.isError(f))return f;var d,h=n(i,f.primitive,s);if(i.isError(h))return h;if(d=f.primitive||h!==null?i.skip(h):this._skipUntilEnd(i,s),i.isError(d))return d;if(f.tagStr==="end")break}},c.prototype._decodeList=function(i,s,f,d){for(var h=[];!i.isEmpty();){var p=this._peekTag(i,"end");if(i.isError(p))return p;var b=f.decode(i,"der",d);if(i.isError(b)&&p)break;h.push(b)}return h},c.prototype._decodeStr=function(i,s){if(s==="bitstr"){var f=i.readUInt8();return i.isError(f)?f:{unused:f,data:i.raw()}}if(s==="bmpstr"){var d=i.raw();if(d.length%2==1)return i.error("Decoding of string type: bmpstr length mismatch");for(var h="",p=0;p<d.length/2;p++)h+=String.fromCharCode(d.readUInt16BE(2*p));return h}if(s==="numstr"){var b=i.raw().toString("ascii");return this._isNumstr(b)?b:i.error("Decoding of string type: numstr unsupported characters")}if(s==="octstr"||s==="objDesc")return i.raw();if(s==="printstr"){var y=i.raw().toString("ascii");return this._isPrintstr(y)?y:i.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(s)?i.raw().toString():i.error("Decoding of string type: "+s+" unsupported")},c.prototype._decodeObjid=function(i,s,f){for(var d,h=[],p=0;!i.isEmpty();){var b=i.readUInt8();p<<=7,p|=127&b,128&b||(h.push(p),p=0)}128&b&&h.push(p);var y=h[0]/40|0,g=h[0]%40;if(d=f?h:[y,g].concat(h.slice(1)),s){var R=s[d.join(" ")];R===void 0&&(R=s[d.join(".")]),R!==void 0&&(d=R)}return d},c.prototype._decodeTime=function(i,s){var f=i.raw().toString();if(s==="gentime")var d=0|f.slice(0,4),h=0|f.slice(4,6),p=0|f.slice(6,8),b=0|f.slice(8,10),y=0|f.slice(10,12),g=0|f.slice(12,14);else{if(s!=="utctime")return i.error("Decoding "+s+" time is not supported yet");d=0|f.slice(0,2),h=0|f.slice(2,4),p=0|f.slice(4,6),b=0|f.slice(6,8),y=0|f.slice(8,10),g=0|f.slice(10,12),d=d<70?2e3+d:1900+d}return Date.UTC(d,h-1,p,b,y,g,0)},c.prototype._decodeNull=function(i){return null},c.prototype._decodeBool=function(i){var s=i.readUInt8();return i.isError(s)?s:s!==0},c.prototype._decodeInt=function(i,s){var f=i.raw(),d=new t(f);return s&&(d=s[d.toString(10)]||d),d},c.prototype._use=function(i,s){return typeof i=="function"&&(i=i(s)),i._getDecoder("der").tree},der_1$1}function requirePem$1(){if(hasRequiredPem$1)return pem$1;hasRequiredPem$1=1;var e=requireInherits_browser(),r=requireDist().Buffer,u=requireDer$1();function t(o){u.call(this,o),this.enc="pem"}return e(t,u),pem$1=t,t.prototype.decode=function(o,l){for(var c=o.toString().split(/[\r\n]+/g),a=l.label.toUpperCase(),n=/^-----(BEGIN|END) ([^-]+)-----$/,i=-1,s=-1,f=0;f<c.length;f++){var d=c[f].match(n);if(d!==null&&d[2]===a){if(i!==-1){if(d[1]!=="END")break;s=f;break}if(d[1]!=="BEGIN")break;i=f}}if(i===-1||s===-1)throw new Error("PEM section not found for: "+a);var h=c.slice(i+1,s).join("");h.replace(/[^a-z0-9\+\/=]+/gi,"");var p=new r(h,"base64");return u.prototype.decode.call(this,p,l)},pem$1}function requireDecoders(){return hasRequiredDecoders||(hasRequiredDecoders=1,(function(e){var r=e;r.der=requireDer$1(),r.pem=requirePem$1()})(decoders)),decoders}var encoders={},der_1,hasRequiredDer,pem,hasRequiredPem,hasRequiredEncoders,hasRequiredAsn1$2,certificate$1,hasRequiredCertificate$1,hasRequiredAsn1$1;function requireDer(){if(hasRequiredDer)return der_1;hasRequiredDer=1;var e=requireInherits_browser(),r=requireDist().Buffer,u=requireAsn1$2(),t=u.base,o=u.constants.der;function l(n){this.enc="der",this.name=n.name,this.entity=n,this.tree=new c,this.tree._init(n.body)}function c(n){t.Node.call(this,"der",n)}function a(n){return n<10?"0"+n:n}return der_1=l,l.prototype.encode=function(n,i){return this.tree._encode(n,i).join()},e(c,t.Node),c.prototype._encodeComposite=function(n,i,s,f){var d,h=(function(g,R,S,w){var q;if(g==="seqof"?g="seq":g==="setof"&&(g="set"),o.tagByName.hasOwnProperty(g))q=o.tagByName[g];else{if(typeof g!="number"||(0|g)!==g)return w.error("Unknown tag: "+g);q=g}return q>=31?w.error("Multi-octet tag encoding unsupported"):(R||(q|=32),q|=o.tagClassByName[S||"universal"]<<6,q)})(n,i,s,this.reporter);if(f.length<128)return(d=new r(2))[0]=h,d[1]=f.length,this._createEncoderBuffer([d,f]);for(var p=1,b=f.length;b>=256;b>>=8)p++;(d=new r(2+p))[0]=h,d[1]=128|p,b=1+p;for(var y=f.length;y>0;b--,y>>=8)d[b]=255&y;return this._createEncoderBuffer([d,f])},c.prototype._encodeStr=function(n,i){if(i==="bitstr")return this._createEncoderBuffer([0|n.unused,n.data]);if(i==="bmpstr"){for(var s=new r(2*n.length),f=0;f<n.length;f++)s.writeUInt16BE(n.charCodeAt(f),2*f);return this._createEncoderBuffer(s)}return i==="numstr"?this._isNumstr(n)?this._createEncoderBuffer(n):this.reporter.error("Encoding of string type: numstr supports only digits and space"):i==="printstr"?this._isPrintstr(n)?this._createEncoderBuffer(n):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(i)||i==="objDesc"?this._createEncoderBuffer(n):this.reporter.error("Encoding of string type: "+i+" unsupported")},c.prototype._encodeObjid=function(n,i,s){if(typeof n=="string"){if(!i)return this.reporter.error("string objid given, but no values map found");if(!i.hasOwnProperty(n))return this.reporter.error("objid not found in values map");n=i[n].split(/[\s\.]+/g);for(var f=0;f<n.length;f++)n[f]|=0}else if(Array.isArray(n))for(n=n.slice(),f=0;f<n.length;f++)n[f]|=0;if(!Array.isArray(n))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(n));if(!s){if(n[1]>=40)return this.reporter.error("Second objid identifier OOB");n.splice(0,2,40*n[0]+n[1])}var d=0;for(f=0;f<n.length;f++){var h=n[f];for(d++;h>=128;h>>=7)d++}var p=new r(d),b=p.length-1;for(f=n.length-1;f>=0;f--)for(h=n[f],p[b--]=127&h;(h>>=7)>0;)p[b--]=128|127&h;return this._createEncoderBuffer(p)},c.prototype._encodeTime=function(n,i){var s,f=new Date(n);return i==="gentime"?s=[a(f.getFullYear()),a(f.getUTCMonth()+1),a(f.getUTCDate()),a(f.getUTCHours()),a(f.getUTCMinutes()),a(f.getUTCSeconds()),"Z"].join(""):i==="utctime"?s=[a(f.getFullYear()%100),a(f.getUTCMonth()+1),a(f.getUTCDate()),a(f.getUTCHours()),a(f.getUTCMinutes()),a(f.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+i+" time is not supported yet"),this._encodeStr(s,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(n,i){if(typeof n=="string"){if(!i)return this.reporter.error("String int or enum given, but no values map");if(!i.hasOwnProperty(n))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(n));n=i[n]}if(typeof n!="number"&&!r.isBuffer(n)){var s=n.toArray();!n.sign&&128&s[0]&&s.unshift(0),n=new r(s)}if(r.isBuffer(n)){var f=n.length;n.length===0&&f++;var d=new r(f);return n.copy(d),n.length===0&&(d[0]=0),this._createEncoderBuffer(d)}if(n<128)return this._createEncoderBuffer(n);if(n<256)return this._createEncoderBuffer([0,n]);f=1;for(var h=n;h>=256;h>>=8)f++;for(h=(d=new Array(f)).length-1;h>=0;h--)d[h]=255&n,n>>=8;return 128&d[0]&&d.unshift(0),this._createEncoderBuffer(new r(d))},c.prototype._encodeBool=function(n){return this._createEncoderBuffer(n?255:0)},c.prototype._use=function(n,i){return typeof n=="function"&&(n=n(i)),n._getEncoder("der").tree},c.prototype._skipDefault=function(n,i,s){var f,d=this._baseState;if(d.default===null)return!1;var h=n.join();if(d.defaultBuffer===void 0&&(d.defaultBuffer=this._encodeValue(d.default,i,s).join()),h.length!==d.defaultBuffer.length)return!1;for(f=0;f<h.length;f++)if(h[f]!==d.defaultBuffer[f])return!1;return!0},der_1}function requirePem(){if(hasRequiredPem)return pem;hasRequiredPem=1;var e=requireInherits_browser(),r=requireDer();function u(t){r.call(this,t),this.enc="pem"}return e(u,r),pem=u,u.prototype.encode=function(t,o){for(var l=r.prototype.encode.call(this,t).toString("base64"),c=["-----BEGIN "+o.label+"-----"],a=0;a<l.length;a+=64)c.push(l.slice(a,a+64));return c.push("-----END "+o.label+"-----"),c.join(`
|
|
33
|
+
`)},pem}function requireEncoders(){return hasRequiredEncoders||(hasRequiredEncoders=1,(function(e){var r=e;r.der=requireDer(),r.pem=requirePem()})(encoders)),encoders}function requireAsn1$2(){return hasRequiredAsn1$2||(hasRequiredAsn1$2=1,(function(){var e=asn1$1;e.bignum=requireBn(),e.define=requireApi().define,e.base=requireBase(),e.constants=requireConstants(),e.decoders=requireDecoders(),e.encoders=requireEncoders()})()),asn1$1}function requireCertificate$1(){if(hasRequiredCertificate$1)return certificate$1;hasRequiredCertificate$1=1;var e=requireAsn1$2(),r=e.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),u=e.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),t=e.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),o=e.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(t),this.key("subjectPublicKey").bitstr())})),l=e.define("RelativeDistinguishedName",(function(){this.setof(u)})),c=e.define("RDNSequence",(function(){this.seqof(l)})),a=e.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),n=e.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))})),i=e.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),s=e.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(t),this.key("issuer").use(a),this.key("validity").use(n),this.key("subject").use(a),this.key("subjectPublicKeyInfo").use(o),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(i).optional())})),f=e.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(s),this.key("signatureAlgorithm").use(t),this.key("signatureValue").bitstr())}));return certificate$1=f}function requireAsn1$1(){if(hasRequiredAsn1$1)return asn1$2;hasRequiredAsn1$1=1;var e=requireAsn1$2();asn1$2.certificate=requireCertificate$1();var r=e.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));asn1$2.RSAPrivateKey=r;var u=e.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));asn1$2.RSAPublicKey=u;var t=e.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),o=e.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(t),this.key("subjectPublicKey").bitstr())}));asn1$2.PublicKey=o;var l=e.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(t),this.key("subjectPrivateKey").octstr())}));asn1$2.PrivateKey=l;var c=e.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));asn1$2.EncryptedPrivateKey=c;var a=e.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));asn1$2.DSAPrivateKey=a,asn1$2.DSAparam=e.define("DSAparam",(function(){this.int()}));var n=e.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})})),i=e.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(n),this.key("publicKey").optional().explicit(1).bitstr())}));return asn1$2.ECPrivateKey=i,asn1$2.signature=e.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())})),asn1$2}const require$$1$1={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"};var fixProc$1,hasRequiredFixProc$1;function requireFixProc$1(){if(hasRequiredFixProc$1)return fixProc$1;hasRequiredFixProc$1=1;var e=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,u=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,t=requireEvp_bytestokey(),o=requireBrowser$7(),l=requireSafeBuffer$1().Buffer;return fixProc$1=function(c,a){var n,i=c.toString(),s=i.match(e);if(s){var f="aes"+s[1],d=l.from(s[2],"hex"),h=l.from(s[3].replace(/[\r\n]/g,""),"base64"),p=t(a,d.slice(0,8),parseInt(s[1],10)).key,b=[],y=o.createDecipheriv(f,p,d);b.push(y.update(h)),b.push(y.final()),n=l.concat(b)}else{var g=i.match(u);n=l.from(g[2].replace(/[\r\n]/g,""),"base64")}return{tag:i.match(r)[1],data:n}},fixProc$1}var browser$4={},precondition,hasRequiredPrecondition,defaultEncoding_1,hasRequiredDefaultEncoding,toBuffer_1$1,hasRequiredToBuffer$2,hashBase,hasRequiredHashBase,ripemd160$2,hasRequiredRipemd160$1,toBuffer,hasRequiredToBuffer$1,toBuffer_1,hasRequiredToBuffer,syncBrowser,hasRequiredSyncBrowser,async,hasRequiredAsync,hasRequiredBrowser$4,parseAsn1$1,hasRequiredParseAsn1$1;function requirePrecondition(){if(hasRequiredPrecondition)return precondition;hasRequiredPrecondition=1;var e=isFinite,r=Math.pow(2,30)-1;return precondition=function(u,t){if(typeof u!="number")throw new TypeError("Iterations not a number");if(u<0||!e(u))throw new TypeError("Bad iterations");if(typeof t!="number")throw new TypeError("Key length not a number");if(t<0||t>r||t!=t)throw new TypeError("Bad key length");return t+0}}function requireDefaultEncoding(){if(hasRequiredDefaultEncoding)return defaultEncoding_1;var e;return hasRequiredDefaultEncoding=1,commonjsGlobal.process&&commonjsGlobal.process.browser?e="utf-8":commonjsGlobal.process&&commonjsGlobal.process.version?e=parseInt(process$1.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":e="utf-8",defaultEncoding_1=e}function requireToBuffer$2(){if(hasRequiredToBuffer$2)return toBuffer_1$1;hasRequiredToBuffer$2=1;var e=requireSafeBuffer$1().Buffer,r=requireToBuffer$4(),u=typeof Uint8Array<"u",t=u&&typeof ArrayBuffer<"u"&&ArrayBuffer.isView;return toBuffer_1$1=function(o,l){if(typeof o=="string"||e.isBuffer(o)||u&&o instanceof Uint8Array||t&&t(o))return r(o,l);throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView')}}function requireHashBase(){if(hasRequiredHashBase)return hashBase;hasRequiredHashBase=1;var e=requireSafeBuffer$1().Buffer,r=requireToBuffer$2(),u=requireReadableBrowser().Transform;function t(o){u.call(this),this._block=e.allocUnsafe(o),this._blockSize=o,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}return requireInherits_browser()(t,u),t.prototype._transform=function(o,l,c){var a=null;try{this.update(o,l)}catch(n){a=n}c(a)},t.prototype._flush=function(o){var l=null;try{this.push(this.digest())}catch(c){l=c}o(l)},t.prototype.update=function(o,l){if(this._finalized)throw new Error("Digest already called");for(var c=r(o,l),a=this._block,n=0;this._blockOffset+c.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)a[i]=c[n],i+=1,n+=1;this._update(),this._blockOffset=0}for(;n<c.length;)a[this._blockOffset]=c[n],this._blockOffset+=1,n+=1;for(var s=0,f=8*c.length;f>0;++s)this._length[s]+=f,(f=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*f);return this},t.prototype._update=function(){throw new Error("_update is not implemented")},t.prototype.digest=function(o){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var l=this._digest();o!==void 0&&(l=l.toString(o)),this._block.fill(0),this._blockOffset=0;for(var c=0;c<4;++c)this._length[c]=0;return l},t.prototype._digest=function(){throw new Error("_digest is not implemented")},hashBase=t}function requireRipemd160$1(){if(hasRequiredRipemd160$1)return ripemd160$2;hasRequiredRipemd160$1=1;var e=requireDist().Buffer,r=requireInherits_browser(),u=requireHashBase(),t=new Array(16),o=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],a=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],n=[0,1518500249,1859775393,2400959708,2840853838],i=[1352829926,1548603684,1836072691,2053994217,0];function s(g,R){return g<<R|g>>>32-R}function f(g,R,S,w,q,I,P,O){return s(g+(R^S^w)+I+P|0,O)+q|0}function d(g,R,S,w,q,I,P,O){return s(g+(R&S|~R&w)+I+P|0,O)+q|0}function h(g,R,S,w,q,I,P,O){return s(g+((R|~S)^w)+I+P|0,O)+q|0}function p(g,R,S,w,q,I,P,O){return s(g+(R&w|S&~w)+I+P|0,O)+q|0}function b(g,R,S,w,q,I,P,O){return s(g+(R^(S|~w))+I+P|0,O)+q|0}function y(){u.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}return r(y,u),y.prototype._update=function(){for(var g=t,R=0;R<16;++R)g[R]=this._block.readInt32LE(4*R);for(var S=0|this._a,w=0|this._b,q=0|this._c,I=0|this._d,P=0|this._e,O=0|this._a,N=0|this._b,_=0|this._c,E=0|this._d,B=0|this._e,A=0;A<80;A+=1){var v,m;A<16?(v=f(S,w,q,I,P,g[o[A]],n[0],c[A]),m=b(O,N,_,E,B,g[l[A]],i[0],a[A])):A<32?(v=d(S,w,q,I,P,g[o[A]],n[1],c[A]),m=p(O,N,_,E,B,g[l[A]],i[1],a[A])):A<48?(v=h(S,w,q,I,P,g[o[A]],n[2],c[A]),m=h(O,N,_,E,B,g[l[A]],i[2],a[A])):A<64?(v=p(S,w,q,I,P,g[o[A]],n[3],c[A]),m=d(O,N,_,E,B,g[l[A]],i[3],a[A])):(v=b(S,w,q,I,P,g[o[A]],n[4],c[A]),m=f(O,N,_,E,B,g[l[A]],i[4],a[A])),S=P,P=I,I=s(q,10),q=w,w=v,O=B,B=E,E=s(_,10),_=N,N=m}var k=this._b+q+E|0;this._b=this._c+I+B|0,this._c=this._d+P+O|0,this._d=this._e+S+N|0,this._e=this._a+w+_|0,this._a=k},y.prototype._digest=function(){this._block[this._blockOffset]=128,this._blockOffset+=1,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var g=e.alloc?e.alloc(20):new e(20);return g.writeInt32LE(this._a,0),g.writeInt32LE(this._b,4),g.writeInt32LE(this._c,8),g.writeInt32LE(this._d,12),g.writeInt32LE(this._e,16),g},ripemd160$2=y}function requireToBuffer$1(){if(hasRequiredToBuffer$1)return toBuffer;hasRequiredToBuffer$1=1;var e=requireSafeBuffer$1().Buffer,r=requireIsarray$1(),u=requireTypedArrayBuffer(),t=ArrayBuffer.isView||function(a){try{return u(a),!0}catch{return!1}},o=typeof Uint8Array<"u",l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",c=l&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return toBuffer=function(a,n){if(e.isBuffer(a))return a.constructor&&!("isBuffer"in a)?e.from(a):a;if(typeof a=="string")return e.from(a,n);if(l&&t(a)){if(a.byteLength===0)return e.alloc(0);if(c){var i=e.from(a.buffer,a.byteOffset,a.byteLength);if(i.byteLength===a.byteLength)return i}var s=a instanceof Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),f=e.from(s);if(f.length===a.byteLength)return f}if(o&&a instanceof Uint8Array)return e.from(a);var d=r(a);if(d)for(var h=0;h<a.length;h+=1){var p=a[h];if(typeof p!="number"||p<0||p>255||~~p!==p)throw new RangeError("Array items must be numbers in the range 0-255.")}if(d||e.isBuffer(a)&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a))return e.from(a);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},toBuffer}function requireToBuffer(){if(hasRequiredToBuffer)return toBuffer_1;hasRequiredToBuffer=1;var e=requireSafeBuffer$1().Buffer,r=requireToBuffer$1(),u=typeof Uint8Array<"u",t=u&&typeof ArrayBuffer<"u"&&ArrayBuffer.isView;return toBuffer_1=function(o,l,c){if(typeof o=="string"||e.isBuffer(o)||u&&o instanceof Uint8Array||t&&t(o))return r(o,l);throw new TypeError(c+" must be a string, a Buffer, a Uint8Array, or a DataView")}}function requireSyncBrowser(){if(hasRequiredSyncBrowser)return syncBrowser;hasRequiredSyncBrowser=1;var e=requireMd5$2(),r=requireRipemd160$1(),u=requireSha_js(),t=requireSafeBuffer$1().Buffer,o=requirePrecondition(),l=requireDefaultEncoding(),c=requireToBuffer(),a=t.alloc(128),n={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},i={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function s(d){return new r().update(d).digest()}function f(d,h,p){var b=(function(q){return q==="rmd160"||q==="ripemd160"?s:q==="md5"?e:function(I){return u(q).update(I).digest()}})(d),y=d==="sha512"||d==="sha384"?128:64;h.length>y?h=b(h):h.length<y&&(h=t.concat([h,a],y));for(var g=t.allocUnsafe(y+n[d]),R=t.allocUnsafe(y+n[d]),S=0;S<y;S++)g[S]=54^h[S],R[S]=92^h[S];var w=t.allocUnsafe(y+p+4);g.copy(w,0,0,y),this.ipad1=w,this.ipad2=g,this.opad=R,this.alg=d,this.blocksize=y,this.hash=b,this.size=n[d]}return f.prototype.run=function(d,h){return d.copy(h,this.blocksize),this.hash(h).copy(this.opad,this.blocksize),this.hash(this.opad)},syncBrowser=function(d,h,p,b,y){b=o(p,b),d=c(d,l,"Password"),h=c(h,l,"Salt");var g=(y||"sha1").toLowerCase(),R=i[g]||g,S=n[R];if(typeof S!="number"||!S)throw new TypeError("Digest algorithm not supported: "+y);var w=new f(R,d,h.length),q=t.allocUnsafe(b),I=t.allocUnsafe(h.length+4);h.copy(I,0,0,h.length);for(var P=0,O=S,N=Math.ceil(b/O),_=1;_<=N;_++){I.writeUInt32BE(_,h.length);for(var E=w.run(I,w.ipad1),B=E,A=1;A<p;A++){B=w.run(B,w.ipad2);for(var v=0;v<O;v++)E[v]^=B[v]}E.copy(q,P),P+=O}return q},syncBrowser}function requireAsync(){if(hasRequiredAsync)return async;hasRequiredAsync=1;var e,r,u=requireSafeBuffer$1().Buffer,t=requirePrecondition(),o=requireDefaultEncoding(),l=requireSyncBrowser(),c=requireToBuffer(),a=commonjsGlobal.crypto&&commonjsGlobal.crypto.subtle,n={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},i=[];function s(){return r||(r=commonjsGlobal.process&&commonjsGlobal.process.nextTick?commonjsGlobal.process.nextTick:commonjsGlobal.queueMicrotask?commonjsGlobal.queueMicrotask:commonjsGlobal.setImmediate?commonjsGlobal.setImmediate:commonjsGlobal.setTimeout)}function f(d,h,p,b,y){return a.importKey("raw",d,{name:"PBKDF2"},!1,["deriveBits"]).then((function(g){return a.deriveBits({name:"PBKDF2",salt:h,iterations:p,hash:{name:y}},g,b<<3)})).then((function(g){return u.from(g)}))}return async=function(d,h,p,b,y,g){if(typeof y=="function"&&(g=y,y=void 0),b=t(p,b),d=c(d,o,"Password"),h=c(h,o,"Salt"),typeof g!="function")throw new Error("No callback provided to pbkdf2");var R=n[(y=y||"sha1").toLowerCase()];R&&typeof commonjsGlobal.Promise=="function"?(function(S,w){S.then((function(q){s()((function(){w(null,q)}))}),(function(q){s()((function(){w(q)}))}))})((function(S){if(commonjsGlobal.process&&!commonjsGlobal.process.browser||!a||!a.importKey||!a.deriveBits)return Promise.resolve(!1);if(i[S]!==void 0)return i[S];var w=f(e=e||u.alloc(8),e,10,128,S).then((function(){return!0}),(function(){return!1}));return i[S]=w,w})(R).then((function(S){return S?f(d,h,p,b,R):l(d,h,p,b,y)})),g):s()((function(){var S;try{S=l(d,h,p,b,y)}catch(w){return void g(w)}g(null,S)}))}}function requireBrowser$4(){return hasRequiredBrowser$4||(hasRequiredBrowser$4=1,browser$4.pbkdf2=requireAsync(),browser$4.pbkdf2Sync=requireSyncBrowser()),browser$4}function requireParseAsn1$1(){if(hasRequiredParseAsn1$1)return parseAsn1$1;hasRequiredParseAsn1$1=1;var e=requireAsn1$1(),r=require$$1$1,u=requireFixProc$1(),t=requireBrowser$7(),o=requireBrowser$4().pbkdf2Sync,l=requireSafeBuffer$1().Buffer;function c(a){var n;typeof a!="object"||l.isBuffer(a)||(n=a.passphrase,a=a.key),typeof a=="string"&&(a=l.from(a));var i,s,f=u(a,n),d=f.tag,h=f.data;switch(d){case"CERTIFICATE":s=e.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(s||(s=e.PublicKey.decode(h,"der")),i=s.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(s.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return s.subjectPrivateKey=s.subjectPublicKey,{type:"ec",data:s};case"1.2.840.10040.4.1":return s.algorithm.params.pub_key=e.DSAparam.decode(s.subjectPublicKey.data,"der"),{type:"dsa",data:s.algorithm.params};default:throw new Error("unknown key id "+i)}case"ENCRYPTED PRIVATE KEY":h=(function(p,b){var y=p.algorithm.decrypt.kde.kdeparams.salt,g=parseInt(p.algorithm.decrypt.kde.kdeparams.iters.toString(),10),R=r[p.algorithm.decrypt.cipher.algo.join(".")],S=p.algorithm.decrypt.cipher.iv,w=p.subjectPrivateKey,q=parseInt(R.split("-")[1],10)/8,I=o(b,y,g,q,"sha1"),P=t.createDecipheriv(R,I,S),O=[];return O.push(P.update(w)),O.push(P.final()),l.concat(O)})(h=e.EncryptedPrivateKey.decode(h,"der"),n);case"PRIVATE KEY":switch(i=(s=e.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(s.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:s.algorithm.curve,privateKey:e.ECPrivateKey.decode(s.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return s.algorithm.params.priv_key=e.DSAparam.decode(s.subjectPrivateKey,"der"),{type:"dsa",params:s.algorithm.params};default:throw new Error("unknown key id "+i)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=e.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+d)}}return c.signature=e.signature,parseAsn1$1=c}const require$$4={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"};var hasRequiredSign,verify_1,hasRequiredVerify,browser$3,hasRequiredBrowser$3,browser$2,hasRequiredBrowser$2;function requireSign(){if(hasRequiredSign)return sign.exports;hasRequiredSign=1;var e=requireSafeBuffer$1().Buffer,r=requireBrowser$9(),u=requireBrowserifyRsa(),t=requireElliptic().ec,o=requireBn(),l=requireParseAsn1$1(),c=require$$4;function a(f,d,h,p){if((f=e.from(f.toArray())).length<d.byteLength()){var b=e.alloc(d.byteLength()-f.length);f=e.concat([b,f])}var y=h.length,g=(function(w,q){w=n(w,q),w=w.mod(q);var I=e.from(w.toArray());if(I.length<q.byteLength()){var P=e.alloc(q.byteLength()-I.length);I=e.concat([P,I])}return I})(h,d),R=e.alloc(y);R.fill(1);var S=e.alloc(y);return S=r(p,S).update(R).update(e.from([0])).update(f).update(g).digest(),R=r(p,S).update(R).digest(),{k:S=r(p,S).update(R).update(e.from([1])).update(f).update(g).digest(),v:R=r(p,S).update(R).digest()}}function n(f,d){var h=new o(f),p=(f.length<<3)-d.bitLength();return p>0&&h.ishrn(p),h}function i(f,d,h){var p,b;do{for(p=e.alloc(0);8*p.length<f.bitLength();)d.v=r(h,d.k).update(d.v).digest(),p=e.concat([p,d.v]);b=n(p,f),d.k=r(h,d.k).update(d.v).update(e.from([0])).digest(),d.v=r(h,d.k).update(d.v).digest()}while(b.cmp(f)!==-1);return b}function s(f,d,h,p){return f.toRed(o.mont(h)).redPow(d).fromRed().mod(p)}return sign.exports=function(f,d,h,p,b){var y=l(d);if(y.curve){if(p!=="ecdsa"&&p!=="ecdsa/rsa")throw new Error("wrong private key type");return(function(w,q){var I=c[q.curve.join(".")];if(!I)throw new Error("unknown curve "+q.curve.join("."));var P=new t(I),O=P.keyFromPrivate(q.privateKey),N=O.sign(w);return e.from(N.toDER())})(f,y)}if(y.type==="dsa"){if(p!=="dsa")throw new Error("wrong private key type");return(function(w,q,I){for(var P,O=q.params.priv_key,N=q.params.p,_=q.params.q,E=q.params.g,B=new o(0),A=n(w,_).mod(_),v=!1,m=a(O,_,w,I);v===!1;)B=s(E,P=i(_,m,I),N,_),(v=P.invm(_).imul(A.add(O.mul(B))).mod(_)).cmpn(0)===0&&(v=!1,B=new o(0));return(function(k,L){k=k.toArray(),L=L.toArray(),128&k[0]&&(k=[0].concat(k)),128&L[0]&&(L=[0].concat(L));var F=k.length+L.length+4,j=[48,F,2,k.length];return j=j.concat(k,[2,L.length],L),e.from(j)})(B,v)})(f,y,h)}if(p!=="rsa"&&p!=="ecdsa/rsa")throw new Error("wrong private key type");if(d.padding!==void 0&&d.padding!==1)throw new Error("illegal or unsupported padding mode");f=e.concat([b,f]);for(var g=y.modulus.byteLength(),R=[0,1];f.length+R.length+1<g;)R.push(255);R.push(0);for(var S=-1;++S<f.length;)R.push(f[S]);return u(R,y)},sign.exports.getKey=a,sign.exports.makeKey=i,sign.exports}function requireVerify(){if(hasRequiredVerify)return verify_1;hasRequiredVerify=1;var e=requireSafeBuffer$1().Buffer,r=requireBn(),u=requireElliptic().ec,t=requireParseAsn1$1(),o=require$$4;function l(c,a){if(c.cmpn(0)<=0)throw new Error("invalid sig");if(c.cmp(a)>=0)throw new Error("invalid sig")}return verify_1=function(c,a,n,i,s){var f=t(n);if(f.type==="ec"){if(i!=="ecdsa"&&i!=="ecdsa/rsa")throw new Error("wrong public key type");return(function(R,S,w){var q=o[w.data.algorithm.curve.join(".")];if(!q)throw new Error("unknown curve "+w.data.algorithm.curve.join("."));var I=new u(q),P=w.data.subjectPrivateKey.data;return I.verify(S,R,P)})(c,a,f)}if(f.type==="dsa"){if(i!=="dsa")throw new Error("wrong public key type");return(function(R,S,w){var q=w.data.p,I=w.data.q,P=w.data.g,O=w.data.pub_key,N=t.signature.decode(R,"der"),_=N.s,E=N.r;l(_,I),l(E,I);var B=r.mont(q),A=_.invm(I),v=P.toRed(B).redPow(new r(S).mul(A).mod(I)).fromRed().mul(O.toRed(B).redPow(E.mul(A).mod(I)).fromRed()).mod(q).mod(I);return v.cmp(E)===0})(c,a,f)}if(i!=="rsa"&&i!=="ecdsa/rsa")throw new Error("wrong public key type");a=e.concat([s,a]);for(var d=f.modulus.byteLength(),h=[1],p=0;a.length+h.length+2<d;)h.push(255),p+=1;h.push(0);for(var b=-1;++b<a.length;)h.push(a[b]);h=e.from(h);var y=r.mont(f.modulus);c=(c=new r(c).toRed(y)).redPow(new r(f.publicExponent)),c=e.from(c.fromRed().toArray());var g=p<8?1:0;for(d=Math.min(c.length,h.length),c.length!==h.length&&(g=1),b=-1;++b<d;)g|=c[b]^h[b];return g===0},verify_1}function requireBrowser$3(){if(hasRequiredBrowser$3)return browser$3;hasRequiredBrowser$3=1;var e=requireSafeBuffer$1().Buffer,r=requireBrowser$a(),u=requireReadableBrowser(),t=requireInherits_browser(),o=requireSign(),l=requireVerify(),c=require$$6;function a(f){u.Writable.call(this);var d=c[f];if(!d)throw new Error("Unknown message digest");this._hashType=d.hash,this._hash=r(d.hash),this._tag=d.id,this._signType=d.sign}function n(f){u.Writable.call(this);var d=c[f];if(!d)throw new Error("Unknown message digest");this._hash=r(d.hash),this._tag=d.id,this._signType=d.sign}function i(f){return new a(f)}function s(f){return new n(f)}return Object.keys(c).forEach((function(f){c[f].id=e.from(c[f].id,"hex"),c[f.toLowerCase()]=c[f]})),t(a,u.Writable),a.prototype._write=function(f,d,h){this._hash.update(f),h()},a.prototype.update=function(f,d){return this._hash.update(typeof f=="string"?e.from(f,d):f),this},a.prototype.sign=function(f,d){this.end();var h=this._hash.digest(),p=o(h,f,this._hashType,this._signType,this._tag);return d?p.toString(d):p},t(n,u.Writable),n.prototype._write=function(f,d,h){this._hash.update(f),h()},n.prototype.update=function(f,d){return this._hash.update(typeof f=="string"?e.from(f,d):f),this},n.prototype.verify=function(f,d,h){var p=typeof d=="string"?e.from(d,h):d;this.end();var b=this._hash.digest();return l(p,b,f,this._signType,this._tag)},browser$3={Sign:i,Verify:s,createSign:i,createVerify:s}}function requireBrowser$2(){if(hasRequiredBrowser$2)return browser$2;hasRequiredBrowser$2=1;var e=requireElliptic(),r=requireBn();browser$2=function(l){return new t(l)};var u={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function t(l){this.curveType=u[l],this.curveType||(this.curveType={name:l}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function o(l,c,a){Array.isArray(l)||(l=l.toArray());var n=new Buffer(l);if(a&&n.length<a){var i=new Buffer(a-n.length);i.fill(0),n=Buffer.concat([i,n])}return c?n.toString(c):n}return u.p224=u.secp224r1,u.p256=u.secp256r1=u.prime256v1,u.p192=u.secp192r1=u.prime192v1,u.p384=u.secp384r1,u.p521=u.secp521r1,t.prototype.generateKeys=function(l,c){return this.keys=this.curve.genKeyPair(),this.getPublicKey(l,c)},t.prototype.computeSecret=function(l,c,a){return c=c||"utf8",Buffer.isBuffer(l)||(l=new Buffer(l,c)),o(this.curve.keyFromPublic(l).getPublic().mul(this.keys.getPrivate()).getX(),a,this.curveType.byteLength)},t.prototype.getPublicKey=function(l,c){var a=this.keys.getPublic(c==="compressed",!0);return c==="hybrid"&&(a[a.length-1]%2?a[0]=7:a[0]=6),o(a,l)},t.prototype.getPrivateKey=function(l){return o(this.keys.getPrivate(),l)},t.prototype.setPublicKey=function(l,c){return c=c||"utf8",Buffer.isBuffer(l)||(l=new Buffer(l,c)),this.keys._importPublic(l),this},t.prototype.setPrivateKey=function(l,c){c=c||"utf8",Buffer.isBuffer(l)||(l=new Buffer(l,c));var a=new r(l);return a=a.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(a),this},browser$2}var browser$1={},asn1={},certificate,hasRequiredCertificate,hasRequiredAsn1;function requireCertificate(){if(hasRequiredCertificate)return certificate;hasRequiredCertificate=1;var e=requireAsn1$2(),r=e.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),u=e.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),t=e.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),o=e.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(t),this.key("subjectPublicKey").bitstr())})),l=e.define("RelativeDistinguishedName",(function(){this.setof(u)})),c=e.define("RDNSequence",(function(){this.seqof(l)})),a=e.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),n=e.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))})),i=e.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),s=e.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(t),this.key("issuer").use(a),this.key("validity").use(n),this.key("subject").use(a),this.key("subjectPublicKeyInfo").use(o),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(i).optional())})),f=e.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(s),this.key("signatureAlgorithm").use(t),this.key("signatureValue").bitstr())}));return certificate=f}function requireAsn1(){if(hasRequiredAsn1)return asn1;hasRequiredAsn1=1;var e=requireAsn1$2();asn1.certificate=requireCertificate();var r=e.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));asn1.RSAPrivateKey=r;var u=e.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));asn1.RSAPublicKey=u;var t=e.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),o=e.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(t),this.key("subjectPublicKey").bitstr())}));asn1.PublicKey=o;var l=e.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(t),this.key("subjectPrivateKey").octstr())}));asn1.PrivateKey=l;var c=e.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));asn1.EncryptedPrivateKey=c;var a=e.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));asn1.DSAPrivateKey=a,asn1.DSAparam=e.define("DSAparam",(function(){this.int()}));var n=e.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})})),i=e.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(n),this.key("publicKey").optional().explicit(1).bitstr())}));return asn1.ECPrivateKey=i,asn1.signature=e.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())})),asn1}const require$$1={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"};var fixProc,hasRequiredFixProc,parseAsn1,hasRequiredParseAsn1,mgf,hasRequiredMgf,xor,hasRequiredXor,withPublic_1,hasRequiredWithPublic,publicEncrypt,hasRequiredPublicEncrypt,privateDecrypt,hasRequiredPrivateDecrypt,hasRequiredBrowser$1;function requireFixProc(){if(hasRequiredFixProc)return fixProc;hasRequiredFixProc=1;var e=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,u=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,t=requireEvp_bytestokey(),o=requireBrowser$7(),l=requireSafeBuffer$1().Buffer;return fixProc=function(c,a){var n,i=c.toString(),s=i.match(e);if(s){var f="aes"+s[1],d=l.from(s[2],"hex"),h=l.from(s[3].replace(/[\r\n]/g,""),"base64"),p=t(a,d.slice(0,8),parseInt(s[1],10)).key,b=[],y=o.createDecipheriv(f,p,d);b.push(y.update(h)),b.push(y.final()),n=l.concat(b)}else{var g=i.match(u);n=l.from(g[2].replace(/[\r\n]/g,""),"base64")}return{tag:i.match(r)[1],data:n}},fixProc}function requireParseAsn1(){if(hasRequiredParseAsn1)return parseAsn1;hasRequiredParseAsn1=1;var e=requireAsn1(),r=require$$1,u=requireFixProc(),t=requireBrowser$7(),o=requireBrowser$8(),l=requireSafeBuffer$1().Buffer;function c(a){var n;typeof a!="object"||l.isBuffer(a)||(n=a.passphrase,a=a.key),typeof a=="string"&&(a=l.from(a));var i,s,f=u(a,n),d=f.tag,h=f.data;switch(d){case"CERTIFICATE":s=e.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(s||(s=e.PublicKey.decode(h,"der")),i=s.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(s.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return s.subjectPrivateKey=s.subjectPublicKey,{type:"ec",data:s};case"1.2.840.10040.4.1":return s.algorithm.params.pub_key=e.DSAparam.decode(s.subjectPublicKey.data,"der"),{type:"dsa",data:s.algorithm.params};default:throw new Error("unknown key id "+i)}case"ENCRYPTED PRIVATE KEY":h=(function(p,b){var y=p.algorithm.decrypt.kde.kdeparams.salt,g=parseInt(p.algorithm.decrypt.kde.kdeparams.iters.toString(),10),R=r[p.algorithm.decrypt.cipher.algo.join(".")],S=p.algorithm.decrypt.cipher.iv,w=p.subjectPrivateKey,q=parseInt(R.split("-")[1],10)/8,I=o.pbkdf2Sync(b,y,g,q,"sha1"),P=t.createDecipheriv(R,I,S),O=[];return O.push(P.update(w)),O.push(P.final()),l.concat(O)})(h=e.EncryptedPrivateKey.decode(h,"der"),n);case"PRIVATE KEY":switch(i=(s=e.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(s.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:s.algorithm.curve,privateKey:e.ECPrivateKey.decode(s.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return s.algorithm.params.priv_key=e.DSAparam.decode(s.subjectPrivateKey,"der"),{type:"dsa",params:s.algorithm.params};default:throw new Error("unknown key id "+i)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=e.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+d)}}return c.signature=e.signature,parseAsn1=c}function requireMgf(){if(hasRequiredMgf)return mgf;hasRequiredMgf=1;var e=requireBrowser$a(),r=requireSafeBuffer$1().Buffer;function u(t){var o=r.allocUnsafe(4);return o.writeUInt32BE(t,0),o}return mgf=function(t,o){for(var l,c=r.alloc(0),a=0;c.length<o;)l=u(a++),c=r.concat([c,e("sha1").update(t).update(l).digest()]);return c.slice(0,o)}}function requireXor(){return hasRequiredXor?xor:(hasRequiredXor=1,xor=function(e,r){for(var u=e.length,t=-1;++t<u;)e[t]^=r[t];return e})}function requireWithPublic(){if(hasRequiredWithPublic)return withPublic_1;hasRequiredWithPublic=1;var e=requireBn(),r=requireSafeBuffer$1().Buffer;return withPublic_1=function(u,t){return r.from(u.toRed(e.mont(t.modulus)).redPow(new e(t.publicExponent)).fromRed().toArray())},withPublic_1}function requirePublicEncrypt(){if(hasRequiredPublicEncrypt)return publicEncrypt;hasRequiredPublicEncrypt=1;var e=requireParseAsn1(),r=requireBrowser$c(),u=requireBrowser$a(),t=requireMgf(),o=requireXor(),l=requireBn(),c=requireWithPublic(),a=requireBrowserifyRsa(),n=requireSafeBuffer$1().Buffer;return publicEncrypt=function(i,s,f){var d;d=i.padding?i.padding:f?1:4;var h,p=e(i);if(d===4)h=(function(b,y){var g=b.modulus.byteLength(),R=y.length,S=u("sha1").update(n.alloc(0)).digest(),w=S.length,q=2*w;if(R>g-q-2)throw new Error("message too long");var I=n.alloc(g-R-q-2),P=g-w-1,O=r(w),N=o(n.concat([S,I,n.alloc(1,1),y],P),t(O,P)),_=o(O,t(N,w));return new l(n.concat([n.alloc(1),_,N],g))})(p,s);else if(d===1)h=(function(b,y,g){var R,S=y.length,w=b.modulus.byteLength();if(S>w-11)throw new Error("message too long");return R=g?n.alloc(w-S-3,255):(function(q){for(var I,P=n.allocUnsafe(q),O=0,N=r(2*q),_=0;O<q;)_===N.length&&(N=r(2*q),_=0),(I=N[_++])&&(P[O++]=I);return P})(w-S-3),new l(n.concat([n.from([0,g?1:2]),R,n.alloc(1),y],w))})(p,s,f);else{if(d!==3)throw new Error("unknown padding");if((h=new l(s)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return f?a(h,p):c(h,p)},publicEncrypt}function requirePrivateDecrypt(){if(hasRequiredPrivateDecrypt)return privateDecrypt;hasRequiredPrivateDecrypt=1;var e=requireParseAsn1(),r=requireMgf(),u=requireXor(),t=requireBn(),o=requireBrowserifyRsa(),l=requireBrowser$a(),c=requireWithPublic(),a=requireSafeBuffer$1().Buffer;return privateDecrypt=function(n,i,s){var f;f=n.padding?n.padding:s?1:4;var d,h=e(n),p=h.modulus.byteLength();if(i.length>p||new t(i).cmp(h.modulus)>=0)throw new Error("decryption error");d=s?c(new t(i),h):o(i,h);var b=a.alloc(p-d.length);if(d=a.concat([b,d],p),f===4)return(function(y,g){var R=y.modulus.byteLength(),S=l("sha1").update(a.alloc(0)).digest(),w=S.length;if(g[0]!==0)throw new Error("decryption error");var q=g.slice(1,w+1),I=g.slice(w+1),P=u(q,r(I,w)),O=u(I,r(P,R-w-1));if((function(_,E){_=a.from(_),E=a.from(E);var B=0,A=_.length;_.length!==E.length&&(B++,A=Math.min(_.length,E.length));for(var v=-1;++v<A;)B+=_[v]^E[v];return B})(S,O.slice(0,w)))throw new Error("decryption error");for(var N=w;O[N]===0;)N++;if(O[N++]!==1)throw new Error("decryption error");return O.slice(N)})(h,d);if(f===1)return(function(y,g,R){for(var S=g.slice(0,2),w=2,q=0;g[w++]!==0;)if(w>=g.length){q++;break}var I=g.slice(2,w-1);if((S.toString("hex")!=="0002"&&!R||S.toString("hex")!=="0001"&&R)&&q++,I.length<8&&q++,q)throw new Error("decryption error");return g.slice(w)})(0,d,s);if(f===3)return d;throw new Error("unknown padding")},privateDecrypt}function requireBrowser$1(){return hasRequiredBrowser$1||(hasRequiredBrowser$1=1,(e=browser$1).publicEncrypt=requirePublicEncrypt(),e.privateDecrypt=requirePrivateDecrypt(),e.privateEncrypt=function(r,u){return e.publicEncrypt(r,u,!0)},e.publicDecrypt=function(r,u){return e.privateDecrypt(r,u,!0)}),browser$1;var e}var browser={},hasRequiredBrowser,hasRequiredCryptoBrowserify;function requireBrowser(){if(hasRequiredBrowser)return browser;function e(){throw new Error(`secure random number generation not supported by this browser
|
|
34
|
+
use chrome, FireFox or Internet Explorer 11`)}hasRequiredBrowser=1;var r=requireSafeBuffer$1(),u=requireBrowser$c(),t=r.Buffer,o=r.kMaxLength,l=commonjsGlobal.crypto||commonjsGlobal.msCrypto,c=Math.pow(2,32)-1;function a(s,f){if(typeof s!="number"||s!=s)throw new TypeError("offset must be a number");if(s>c||s<0)throw new TypeError("offset must be a uint32");if(s>o||s>f)throw new RangeError("offset out of range")}function n(s,f,d){if(typeof s!="number"||s!=s)throw new TypeError("size must be a number");if(s>c||s<0)throw new TypeError("size must be a uint32");if(s+f>d||s>o)throw new RangeError("buffer too small")}function i(s,f,d,h){if(process$1.browser){var p=s.buffer,b=new Uint8Array(p,f,d);return l.getRandomValues(b),h?void process$1.nextTick((function(){h(null,s)})):s}if(!h)return u(d).copy(s,f),s;u(d,(function(y,g){if(y)return h(y);g.copy(s,f),h(null,s)}))}return l&&l.getRandomValues||!process$1.browser?(browser.randomFill=function(s,f,d,h){if(!(t.isBuffer(s)||s instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof f=="function")h=f,f=0,d=s.length;else if(typeof d=="function")h=d,d=s.length-f;else if(typeof h!="function")throw new TypeError('"cb" argument must be a function');return a(f,s.length),n(d,f,s.length),i(s,f,d,h)},browser.randomFillSync=function(s,f,d){if(f===void 0&&(f=0),!(t.isBuffer(s)||s instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return a(f,s.length),d===void 0&&(d=s.length-f),n(d,f,s.length),i(s,f,d)}):(browser.randomFill=e,browser.randomFillSync=e),browser}function requireCryptoBrowserify(){if(hasRequiredCryptoBrowserify)return cryptoBrowserify;hasRequiredCryptoBrowserify=1,cryptoBrowserify.randomBytes=cryptoBrowserify.rng=cryptoBrowserify.pseudoRandomBytes=cryptoBrowserify.prng=requireBrowser$c(),cryptoBrowserify.createHash=cryptoBrowserify.Hash=requireBrowser$a(),cryptoBrowserify.createHmac=cryptoBrowserify.Hmac=requireBrowser$9();var e=requireAlgos(),r=Object.keys(e),u=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(r);cryptoBrowserify.getHashes=function(){return u};var t=requireBrowser$8();cryptoBrowserify.pbkdf2=t.pbkdf2,cryptoBrowserify.pbkdf2Sync=t.pbkdf2Sync;var o=requireBrowser$6();cryptoBrowserify.Cipher=o.Cipher,cryptoBrowserify.createCipher=o.createCipher,cryptoBrowserify.Cipheriv=o.Cipheriv,cryptoBrowserify.createCipheriv=o.createCipheriv,cryptoBrowserify.Decipher=o.Decipher,cryptoBrowserify.createDecipher=o.createDecipher,cryptoBrowserify.Decipheriv=o.Decipheriv,cryptoBrowserify.createDecipheriv=o.createDecipheriv,cryptoBrowserify.getCiphers=o.getCiphers,cryptoBrowserify.listCiphers=o.listCiphers;var l=requireBrowser$5();cryptoBrowserify.DiffieHellmanGroup=l.DiffieHellmanGroup,cryptoBrowserify.createDiffieHellmanGroup=l.createDiffieHellmanGroup,cryptoBrowserify.getDiffieHellman=l.getDiffieHellman,cryptoBrowserify.createDiffieHellman=l.createDiffieHellman,cryptoBrowserify.DiffieHellman=l.DiffieHellman;var c=requireBrowser$3();cryptoBrowserify.createSign=c.createSign,cryptoBrowserify.Sign=c.Sign,cryptoBrowserify.createVerify=c.createVerify,cryptoBrowserify.Verify=c.Verify,cryptoBrowserify.createECDH=requireBrowser$2();var a=requireBrowser$1();cryptoBrowserify.publicEncrypt=a.publicEncrypt,cryptoBrowserify.privateEncrypt=a.privateEncrypt,cryptoBrowserify.publicDecrypt=a.publicDecrypt,cryptoBrowserify.privateDecrypt=a.privateDecrypt;var n=requireBrowser();return cryptoBrowserify.randomFill=n.randomFill,cryptoBrowserify.randomFillSync=n.randomFillSync,cryptoBrowserify.createCredentials=function(){throw new Error(`sorry, createCredentials is not implemented yet
|
|
35
|
+
we accept pull requests
|
|
36
|
+
https://github.com/browserify/crypto-browserify`)},cryptoBrowserify.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6},cryptoBrowserify}var core=core$1.exports,hasRequiredCore;function requireCore(){return hasRequiredCore||(hasRequiredCore=1,core$1.exports=(e=e||(function(r,u){var t;if(typeof window<"u"&&window.crypto&&(t=window.crypto),typeof self<"u"&&self.crypto&&(t=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(t=globalThis.crypto),!t&&typeof window<"u"&&window.msCrypto&&(t=window.msCrypto),!t&&commonjsGlobal!==void 0&&commonjsGlobal.crypto&&(t=commonjsGlobal.crypto),!t&&typeof commonjsRequire=="function")try{t=requireCryptoBrowserify()}catch{}var o=function(){if(t){if(typeof t.getRandomValues=="function")try{return t.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof t.randomBytes=="function")try{return t.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||(function(){function y(){}return function(g){var R;return y.prototype=g,R=new y,y.prototype=null,R}})(),c={},a=c.lib={},n=a.Base={extend:function(y){var g=l(this);return y&&g.mixIn(y),g.hasOwnProperty("init")&&this.init!==g.init||(g.init=function(){g.$super.init.apply(this,arguments)}),g.init.prototype=g,g.$super=this,g},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var g in y)y.hasOwnProperty(g)&&(this[g]=y[g]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}},i=a.WordArray=n.extend({init:function(y,g){y=this.words=y||[],this.sigBytes=g!=u?g:4*y.length},toString:function(y){return(y||f).stringify(this)},concat:function(y){var g=this.words,R=y.words,S=this.sigBytes,w=y.sigBytes;if(this.clamp(),S%4)for(var q=0;q<w;q++){var I=R[q>>>2]>>>24-q%4*8&255;g[S+q>>>2]|=I<<24-(S+q)%4*8}else for(var P=0;P<w;P+=4)g[S+P>>>2]=R[P>>>2];return this.sigBytes+=w,this},clamp:function(){var y=this.words,g=this.sigBytes;y[g>>>2]&=4294967295<<32-g%4*8,y.length=r.ceil(g/4)},clone:function(){var y=n.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var g=[],R=0;R<y;R+=4)g.push(o());return new i.init(g,y)}}),s=c.enc={},f=s.Hex={stringify:function(y){for(var g=y.words,R=y.sigBytes,S=[],w=0;w<R;w++){var q=g[w>>>2]>>>24-w%4*8&255;S.push((q>>>4).toString(16)),S.push((15&q).toString(16))}return S.join("")},parse:function(y){for(var g=y.length,R=[],S=0;S<g;S+=2)R[S>>>3]|=parseInt(y.substr(S,2),16)<<24-S%8*4;return new i.init(R,g/2)}},d=s.Latin1={stringify:function(y){for(var g=y.words,R=y.sigBytes,S=[],w=0;w<R;w++){var q=g[w>>>2]>>>24-w%4*8&255;S.push(String.fromCharCode(q))}return S.join("")},parse:function(y){for(var g=y.length,R=[],S=0;S<g;S++)R[S>>>2]|=(255&y.charCodeAt(S))<<24-S%4*8;return new i.init(R,g)}},h=s.Utf8={stringify:function(y){try{return decodeURIComponent(escape(d.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return d.parse(unescape(encodeURIComponent(y)))}},p=a.BufferedBlockAlgorithm=n.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=h.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var g,R=this._data,S=R.words,w=R.sigBytes,q=this.blockSize,I=w/(4*q),P=(I=y?r.ceil(I):r.max((0|I)-this._minBufferSize,0))*q,O=r.min(4*P,w);if(P){for(var N=0;N<P;N+=q)this._doProcessBlock(S,N);g=S.splice(0,P),R.sigBytes-=O}return new i.init(g,O)},clone:function(){var y=n.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});a.Hasher=p.extend({cfg:n.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){return y&&this._append(y),this._doFinalize()},blockSize:16,_createHelper:function(y){return function(g,R){return new y.init(R).finalize(g)}},_createHmacHelper:function(y){return function(g,R){return new b.HMAC.init(y,R).finalize(g)}}});var b=c.algo={};return c})(Math),e)),core$1.exports;var e}var x64Core$1={exports:{}},x64Core=x64Core$1.exports,hasRequiredX64Core;function requireX64Core(){return hasRequiredX64Core||(hasRequiredX64Core=1,x64Core$1.exports=(c=requireCore(),u=(r=c).lib,t=u.Base,o=u.WordArray,(l=r.x64={}).Word=t.extend({init:function(a,n){this.high=a,this.low=n}}),l.WordArray=t.extend({init:function(a,n){a=this.words=a||[],this.sigBytes=n!=e?n:8*a.length},toX32:function(){for(var a=this.words,n=a.length,i=[],s=0;s<n;s++){var f=a[s];i.push(f.high),i.push(f.low)}return o.create(i,this.sigBytes)},clone:function(){for(var a=t.clone.call(this),n=a.words=this.words.slice(0),i=n.length,s=0;s<i;s++)n[s]=n[s].clone();return a}}),c)),x64Core$1.exports;var e,r,u,t,o,l,c}var libTypedarrays$1={exports:{}},libTypedarrays=libTypedarrays$1.exports,hasRequiredLibTypedarrays;function requireLibTypedarrays(){return hasRequiredLibTypedarrays||(hasRequiredLibTypedarrays=1,libTypedarrays$1.exports=(e=requireCore(),(function(){if(typeof ArrayBuffer=="function"){var r=e.lib.WordArray,u=r.init,t=r.init=function(o){if(o instanceof ArrayBuffer&&(o=new Uint8Array(o)),(o instanceof Int8Array||typeof Uint8ClampedArray<"u"&&o instanceof Uint8ClampedArray||o instanceof Int16Array||o instanceof Uint16Array||o instanceof Int32Array||o instanceof Uint32Array||o instanceof Float32Array||o instanceof Float64Array)&&(o=new Uint8Array(o.buffer,o.byteOffset,o.byteLength)),o instanceof Uint8Array){for(var l=o.byteLength,c=[],a=0;a<l;a++)c[a>>>2]|=o[a]<<24-a%4*8;u.call(this,c,l)}else u.apply(this,arguments)};t.prototype=r}})(),e.lib.WordArray)),libTypedarrays$1.exports;var e}var encUtf16$1={exports:{}},encUtf16=encUtf16$1.exports,hasRequiredEncUtf16;function requireEncUtf16(){return hasRequiredEncUtf16||(hasRequiredEncUtf16=1,encUtf16$1.exports=(e=requireCore(),(function(){var r=e,u=r.lib.WordArray,t=r.enc;function o(l){return l<<8&4278255360|l>>>8&16711935}t.Utf16=t.Utf16BE={stringify:function(l){for(var c=l.words,a=l.sigBytes,n=[],i=0;i<a;i+=2){var s=c[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(s))}return n.join("")},parse:function(l){for(var c=l.length,a=[],n=0;n<c;n++)a[n>>>1]|=l.charCodeAt(n)<<16-n%2*16;return u.create(a,2*c)}},t.Utf16LE={stringify:function(l){for(var c=l.words,a=l.sigBytes,n=[],i=0;i<a;i+=2){var s=o(c[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(s))}return n.join("")},parse:function(l){for(var c=l.length,a=[],n=0;n<c;n++)a[n>>>1]|=o(l.charCodeAt(n)<<16-n%2*16);return u.create(a,2*c)}}})(),e.enc.Utf16)),encUtf16$1.exports;var e}var encBase64$1={exports:{}},encBase64=encBase64$1.exports,hasRequiredEncBase64;function requireEncBase64(){return hasRequiredEncBase64||(hasRequiredEncBase64=1,encBase64$1.exports=(e=requireCore(),(function(){var r=e,u=r.lib.WordArray;function t(o,l,c){for(var a=[],n=0,i=0;i<l;i++)if(i%4){var s=c[o.charCodeAt(i-1)]<<i%4*2|c[o.charCodeAt(i)]>>>6-i%4*2;a[n>>>2]|=s<<24-n%4*8,n++}return u.create(a,n)}r.enc.Base64={stringify:function(o){var l=o.words,c=o.sigBytes,a=this._map;o.clamp();for(var n=[],i=0;i<c;i+=3)for(var s=(l[i>>>2]>>>24-i%4*8&255)<<16|(l[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|l[i+2>>>2]>>>24-(i+2)%4*8&255,f=0;f<4&&i+.75*f<c;f++)n.push(a.charAt(s>>>6*(3-f)&63));var d=a.charAt(64);if(d)for(;n.length%4;)n.push(d);return n.join("")},parse:function(o){var l=o.length,c=this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var n=0;n<c.length;n++)a[c.charCodeAt(n)]=n}var i=c.charAt(64);if(i){var s=o.indexOf(i);s!==-1&&(l=s)}return t(o,l,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})(),e.enc.Base64)),encBase64$1.exports;var e}var encBase64url$1={exports:{}},encBase64url=encBase64url$1.exports,hasRequiredEncBase64url;function requireEncBase64url(){return hasRequiredEncBase64url||(hasRequiredEncBase64url=1,encBase64url$1.exports=(e=requireCore(),(function(){var r=e,u=r.lib.WordArray;function t(o,l,c){for(var a=[],n=0,i=0;i<l;i++)if(i%4){var s=c[o.charCodeAt(i-1)]<<i%4*2|c[o.charCodeAt(i)]>>>6-i%4*2;a[n>>>2]|=s<<24-n%4*8,n++}return u.create(a,n)}r.enc.Base64url={stringify:function(o,l){l===void 0&&(l=!0);var c=o.words,a=o.sigBytes,n=l?this._safe_map:this._map;o.clamp();for(var i=[],s=0;s<a;s+=3)for(var f=(c[s>>>2]>>>24-s%4*8&255)<<16|(c[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|c[s+2>>>2]>>>24-(s+2)%4*8&255,d=0;d<4&&s+.75*d<a;d++)i.push(n.charAt(f>>>6*(3-d)&63));var h=n.charAt(64);if(h)for(;i.length%4;)i.push(h);return i.join("")},parse:function(o,l){l===void 0&&(l=!0);var c=o.length,a=l?this._safe_map:this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i<a.length;i++)n[a.charCodeAt(i)]=i}var s=a.charAt(64);if(s){var f=o.indexOf(s);f!==-1&&(c=f)}return t(o,c,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}})(),e.enc.Base64url)),encBase64url$1.exports;var e}var md5$1={exports:{}},md5=md5$1.exports,hasRequiredMd5;function requireMd5(){return hasRequiredMd5||(hasRequiredMd5=1,md5$1.exports=(e=requireCore(),(function(r){var u=e,t=u.lib,o=t.WordArray,l=t.Hasher,c=u.algo,a=[];(function(){for(var h=0;h<64;h++)a[h]=4294967296*r.abs(r.sin(h+1))|0})();var n=c.MD5=l.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(h,p){for(var b=0;b<16;b++){var y=p+b,g=h[y];h[y]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8)}var R=this._hash.words,S=h[p+0],w=h[p+1],q=h[p+2],I=h[p+3],P=h[p+4],O=h[p+5],N=h[p+6],_=h[p+7],E=h[p+8],B=h[p+9],A=h[p+10],v=h[p+11],m=h[p+12],k=h[p+13],L=h[p+14],F=h[p+15],j=R[0],U=R[1],D=R[2],x=R[3];j=i(j,U,D,x,S,7,a[0]),x=i(x,j,U,D,w,12,a[1]),D=i(D,x,j,U,q,17,a[2]),U=i(U,D,x,j,I,22,a[3]),j=i(j,U,D,x,P,7,a[4]),x=i(x,j,U,D,O,12,a[5]),D=i(D,x,j,U,N,17,a[6]),U=i(U,D,x,j,_,22,a[7]),j=i(j,U,D,x,E,7,a[8]),x=i(x,j,U,D,B,12,a[9]),D=i(D,x,j,U,A,17,a[10]),U=i(U,D,x,j,v,22,a[11]),j=i(j,U,D,x,m,7,a[12]),x=i(x,j,U,D,k,12,a[13]),D=i(D,x,j,U,L,17,a[14]),j=s(j,U=i(U,D,x,j,F,22,a[15]),D,x,w,5,a[16]),x=s(x,j,U,D,N,9,a[17]),D=s(D,x,j,U,v,14,a[18]),U=s(U,D,x,j,S,20,a[19]),j=s(j,U,D,x,O,5,a[20]),x=s(x,j,U,D,A,9,a[21]),D=s(D,x,j,U,F,14,a[22]),U=s(U,D,x,j,P,20,a[23]),j=s(j,U,D,x,B,5,a[24]),x=s(x,j,U,D,L,9,a[25]),D=s(D,x,j,U,I,14,a[26]),U=s(U,D,x,j,E,20,a[27]),j=s(j,U,D,x,k,5,a[28]),x=s(x,j,U,D,q,9,a[29]),D=s(D,x,j,U,_,14,a[30]),j=f(j,U=s(U,D,x,j,m,20,a[31]),D,x,O,4,a[32]),x=f(x,j,U,D,E,11,a[33]),D=f(D,x,j,U,v,16,a[34]),U=f(U,D,x,j,L,23,a[35]),j=f(j,U,D,x,w,4,a[36]),x=f(x,j,U,D,P,11,a[37]),D=f(D,x,j,U,_,16,a[38]),U=f(U,D,x,j,A,23,a[39]),j=f(j,U,D,x,k,4,a[40]),x=f(x,j,U,D,S,11,a[41]),D=f(D,x,j,U,I,16,a[42]),U=f(U,D,x,j,N,23,a[43]),j=f(j,U,D,x,B,4,a[44]),x=f(x,j,U,D,m,11,a[45]),D=f(D,x,j,U,F,16,a[46]),j=d(j,U=f(U,D,x,j,q,23,a[47]),D,x,S,6,a[48]),x=d(x,j,U,D,_,10,a[49]),D=d(D,x,j,U,L,15,a[50]),U=d(U,D,x,j,O,21,a[51]),j=d(j,U,D,x,m,6,a[52]),x=d(x,j,U,D,I,10,a[53]),D=d(D,x,j,U,A,15,a[54]),U=d(U,D,x,j,w,21,a[55]),j=d(j,U,D,x,E,6,a[56]),x=d(x,j,U,D,F,10,a[57]),D=d(D,x,j,U,N,15,a[58]),U=d(U,D,x,j,k,21,a[59]),j=d(j,U,D,x,P,6,a[60]),x=d(x,j,U,D,v,10,a[61]),D=d(D,x,j,U,q,15,a[62]),U=d(U,D,x,j,B,21,a[63]),R[0]=R[0]+j|0,R[1]=R[1]+U|0,R[2]=R[2]+D|0,R[3]=R[3]+x|0},_doFinalize:function(){var h=this._data,p=h.words,b=8*this._nDataBytes,y=8*h.sigBytes;p[y>>>5]|=128<<24-y%32;var g=r.floor(b/4294967296),R=b;p[15+(y+64>>>9<<4)]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8),p[14+(y+64>>>9<<4)]=16711935&(R<<8|R>>>24)|4278255360&(R<<24|R>>>8),h.sigBytes=4*(p.length+1),this._process();for(var S=this._hash,w=S.words,q=0;q<4;q++){var I=w[q];w[q]=16711935&(I<<8|I>>>24)|4278255360&(I<<24|I>>>8)}return S},clone:function(){var h=l.clone.call(this);return h._hash=this._hash.clone(),h}});function i(h,p,b,y,g,R,S){var w=h+(p&b|~p&y)+g+S;return(w<<R|w>>>32-R)+p}function s(h,p,b,y,g,R,S){var w=h+(p&y|b&~y)+g+S;return(w<<R|w>>>32-R)+p}function f(h,p,b,y,g,R,S){var w=h+(p^b^y)+g+S;return(w<<R|w>>>32-R)+p}function d(h,p,b,y,g,R,S){var w=h+(b^(p|~y))+g+S;return(w<<R|w>>>32-R)+p}u.MD5=l._createHelper(n),u.HmacMD5=l._createHmacHelper(n)})(Math),e.MD5)),md5$1.exports;var e}var sha1$1={exports:{}},sha1=sha1$1.exports,hasRequiredSha1;function requireSha1(){return hasRequiredSha1||(hasRequiredSha1=1,sha1$1.exports=(a=requireCore(),r=(e=a).lib,u=r.WordArray,t=r.Hasher,o=e.algo,l=[],c=o.SHA1=t.extend({_doReset:function(){this._hash=new u.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,i){for(var s=this._hash.words,f=s[0],d=s[1],h=s[2],p=s[3],b=s[4],y=0;y<80;y++){if(y<16)l[y]=0|n[i+y];else{var g=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=g<<1|g>>>31}var R=(f<<5|f>>>27)+b+l[y];R+=y<20?1518500249+(d&h|~d&p):y<40?1859775393+(d^h^p):y<60?(d&h|d&p|h&p)-1894007588:(d^h^p)-899497514,b=p,p=h,h=d<<30|d>>>2,d=f,f=R}s[0]=s[0]+f|0,s[1]=s[1]+d|0,s[2]=s[2]+h|0,s[3]=s[3]+p|0,s[4]=s[4]+b|0},_doFinalize:function(){var n=this._data,i=n.words,s=8*this._nDataBytes,f=8*n.sigBytes;return i[f>>>5]|=128<<24-f%32,i[14+(f+64>>>9<<4)]=Math.floor(s/4294967296),i[15+(f+64>>>9<<4)]=s,n.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var n=t.clone.call(this);return n._hash=this._hash.clone(),n}}),e.SHA1=t._createHelper(c),e.HmacSHA1=t._createHmacHelper(c),a.SHA1)),sha1$1.exports;var e,r,u,t,o,l,c,a}var sha256$1={exports:{}},sha256=sha256$1.exports,hasRequiredSha256;function requireSha256(){return hasRequiredSha256||(hasRequiredSha256=1,sha256$1.exports=(e=requireCore(),(function(r){var u=e,t=u.lib,o=t.WordArray,l=t.Hasher,c=u.algo,a=[],n=[];(function(){function f(b){for(var y=r.sqrt(b),g=2;g<=y;g++)if(!(b%g))return!1;return!0}function d(b){return 4294967296*(b-(0|b))|0}for(var h=2,p=0;p<64;)f(h)&&(p<8&&(a[p]=d(r.pow(h,.5))),n[p]=d(r.pow(h,1/3)),p++),h++})();var i=[],s=c.SHA256=l.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(f,d){for(var h=this._hash.words,p=h[0],b=h[1],y=h[2],g=h[3],R=h[4],S=h[5],w=h[6],q=h[7],I=0;I<64;I++){if(I<16)i[I]=0|f[d+I];else{var P=i[I-15],O=(P<<25|P>>>7)^(P<<14|P>>>18)^P>>>3,N=i[I-2],_=(N<<15|N>>>17)^(N<<13|N>>>19)^N>>>10;i[I]=O+i[I-7]+_+i[I-16]}var E=p&b^p&y^b&y,B=(p<<30|p>>>2)^(p<<19|p>>>13)^(p<<10|p>>>22),A=q+((R<<26|R>>>6)^(R<<21|R>>>11)^(R<<7|R>>>25))+(R&S^~R&w)+n[I]+i[I];q=w,w=S,S=R,R=g+A|0,g=y,y=b,b=p,p=A+(B+E)|0}h[0]=h[0]+p|0,h[1]=h[1]+b|0,h[2]=h[2]+y|0,h[3]=h[3]+g|0,h[4]=h[4]+R|0,h[5]=h[5]+S|0,h[6]=h[6]+w|0,h[7]=h[7]+q|0},_doFinalize:function(){var f=this._data,d=f.words,h=8*this._nDataBytes,p=8*f.sigBytes;return d[p>>>5]|=128<<24-p%32,d[14+(p+64>>>9<<4)]=r.floor(h/4294967296),d[15+(p+64>>>9<<4)]=h,f.sigBytes=4*d.length,this._process(),this._hash},clone:function(){var f=l.clone.call(this);return f._hash=this._hash.clone(),f}});u.SHA256=l._createHelper(s),u.HmacSHA256=l._createHmacHelper(s)})(Math),e.SHA256)),sha256$1.exports;var e}var sha224$1={exports:{}},sha224=sha224$1.exports,hasRequiredSha224;function requireSha224(){return hasRequiredSha224||(hasRequiredSha224=1,sha224$1.exports=(l=requireCore(),requireSha256(),r=(e=l).lib.WordArray,u=e.algo,t=u.SHA256,o=u.SHA224=t.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=t._doFinalize.call(this);return c.sigBytes-=4,c}}),e.SHA224=t._createHelper(o),e.HmacSHA224=t._createHmacHelper(o),l.SHA224)),sha224$1.exports;var e,r,u,t,o,l}var sha512$1={exports:{}},sha512=sha512$1.exports,hasRequiredSha512;function requireSha512(){return hasRequiredSha512||(hasRequiredSha512=1,sha512$1.exports=(e=requireCore(),requireX64Core(),(function(){var r=e,u=r.lib.Hasher,t=r.x64,o=t.Word,l=t.WordArray,c=r.algo;function a(){return o.create.apply(o,arguments)}var n=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],i=[];(function(){for(var f=0;f<80;f++)i[f]=a()})();var s=c.SHA512=u.extend({_doReset:function(){this._hash=new l.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(f,d){for(var h=this._hash.words,p=h[0],b=h[1],y=h[2],g=h[3],R=h[4],S=h[5],w=h[6],q=h[7],I=p.high,P=p.low,O=b.high,N=b.low,_=y.high,E=y.low,B=g.high,A=g.low,v=R.high,m=R.low,k=S.high,L=S.low,F=w.high,j=w.low,U=q.high,D=q.low,x=I,T=P,G=O,K=N,ee=_,Z=E,V=B,Q=A,Y=v,J=m,oe=k,se=L,ne=F,_e=j,te=U,ie=D,ye=0;ye<80;ye++){var ue,fe,me=i[ye];if(ye<16)fe=me.high=0|f[d+2*ye],ue=me.low=0|f[d+2*ye+1];else{var le=i[ye-15],he=le.high,Ee=le.low,ge=(he>>>1|Ee<<31)^(he>>>8|Ee<<24)^he>>>7,de=(Ee>>>1|he<<31)^(Ee>>>8|he<<24)^(Ee>>>7|he<<25),Oe=i[ye-2],ve=Oe.high,be=Oe.low,Te=(ve>>>19|be<<13)^(ve<<3|be>>>29)^ve>>>6,$=(be>>>19|ve<<13)^(be<<3|ve>>>29)^(be>>>6|ve<<26),M=i[ye-7],C=M.high,W=M.low,z=i[ye-16],H=z.high,X=z.low;fe=(fe=(fe=ge+C+((ue=de+W)>>>0<de>>>0?1:0))+Te+((ue+=$)>>>0<$>>>0?1:0))+H+((ue+=X)>>>0<X>>>0?1:0),me.high=fe,me.low=ue}var re,pe=Y&oe^~Y&ne,ce=J&se^~J&_e,ae=x&G^x&ee^G&ee,Re=T&K^T&Z^K&Z,$e=(x>>>28|T<<4)^(x<<30|T>>>2)^(x<<25|T>>>7),qe=(T>>>28|x<<4)^(T<<30|x>>>2)^(T<<25|x>>>7),Le=(Y>>>14|J<<18)^(Y>>>18|J<<14)^(Y<<23|J>>>9),Be=(J>>>14|Y<<18)^(J>>>18|Y<<14)^(J<<23|Y>>>9),Ae=n[ye],De=Ae.high,Se=Ae.low,we=te+Le+((re=ie+Be)>>>0<ie>>>0?1:0),je=qe+Re;te=ne,ie=_e,ne=oe,_e=se,oe=Y,se=J,Y=V+(we=(we=(we=we+pe+((re+=ce)>>>0<ce>>>0?1:0))+De+((re+=Se)>>>0<Se>>>0?1:0))+fe+((re+=ue)>>>0<ue>>>0?1:0))+((J=Q+re|0)>>>0<Q>>>0?1:0)|0,V=ee,Q=Z,ee=G,Z=K,G=x,K=T,x=we+($e+ae+(je>>>0<qe>>>0?1:0))+((T=re+je|0)>>>0<re>>>0?1:0)|0}P=p.low=P+T,p.high=I+x+(P>>>0<T>>>0?1:0),N=b.low=N+K,b.high=O+G+(N>>>0<K>>>0?1:0),E=y.low=E+Z,y.high=_+ee+(E>>>0<Z>>>0?1:0),A=g.low=A+Q,g.high=B+V+(A>>>0<Q>>>0?1:0),m=R.low=m+J,R.high=v+Y+(m>>>0<J>>>0?1:0),L=S.low=L+se,S.high=k+oe+(L>>>0<se>>>0?1:0),j=w.low=j+_e,w.high=F+ne+(j>>>0<_e>>>0?1:0),D=q.low=D+ie,q.high=U+te+(D>>>0<ie>>>0?1:0)},_doFinalize:function(){var f=this._data,d=f.words,h=8*this._nDataBytes,p=8*f.sigBytes;return d[p>>>5]|=128<<24-p%32,d[30+(p+128>>>10<<5)]=Math.floor(h/4294967296),d[31+(p+128>>>10<<5)]=h,f.sigBytes=4*d.length,this._process(),this._hash.toX32()},clone:function(){var f=u.clone.call(this);return f._hash=this._hash.clone(),f},blockSize:32});r.SHA512=u._createHelper(s),r.HmacSHA512=u._createHmacHelper(s)})(),e.SHA512)),sha512$1.exports;var e}var sha384$1={exports:{}},sha384=sha384$1.exports,hasRequiredSha384;function requireSha384(){return hasRequiredSha384||(hasRequiredSha384=1,sha384$1.exports=(a=requireCore(),requireX64Core(),requireSha512(),r=(e=a).x64,u=r.Word,t=r.WordArray,o=e.algo,l=o.SHA512,c=o.SHA384=l.extend({_doReset:function(){this._hash=new t.init([new u.init(3418070365,3238371032),new u.init(1654270250,914150663),new u.init(2438529370,812702999),new u.init(355462360,4144912697),new u.init(1731405415,4290775857),new u.init(2394180231,1750603025),new u.init(3675008525,1694076839),new u.init(1203062813,3204075428)])},_doFinalize:function(){var n=l._doFinalize.call(this);return n.sigBytes-=16,n}}),e.SHA384=l._createHelper(c),e.HmacSHA384=l._createHmacHelper(c),a.SHA384)),sha384$1.exports;var e,r,u,t,o,l,c,a}var sha3$1={exports:{}},sha3=sha3$1.exports,hasRequiredSha3;function requireSha3(){return hasRequiredSha3||(hasRequiredSha3=1,sha3$1.exports=(e=requireCore(),requireX64Core(),(function(r){var u=e,t=u.lib,o=t.WordArray,l=t.Hasher,c=u.x64.Word,a=u.algo,n=[],i=[],s=[];(function(){for(var h=1,p=0,b=0;b<24;b++){n[h+5*p]=(b+1)*(b+2)/2%64;var y=(2*h+3*p)%5;h=p%5,p=y}for(h=0;h<5;h++)for(p=0;p<5;p++)i[h+5*p]=p+(2*h+3*p)%5*5;for(var g=1,R=0;R<24;R++){for(var S=0,w=0,q=0;q<7;q++){if(1&g){var I=(1<<q)-1;I<32?w^=1<<I:S^=1<<I-32}128&g?g=g<<1^113:g<<=1}s[R]=c.create(S,w)}})();var f=[];(function(){for(var h=0;h<25;h++)f[h]=c.create()})();var d=a.SHA3=l.extend({cfg:l.cfg.extend({outputLength:512}),_doReset:function(){for(var h=this._state=[],p=0;p<25;p++)h[p]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(h,p){for(var b=this._state,y=this.blockSize/2,g=0;g<y;g++){var R=h[p+2*g],S=h[p+2*g+1];R=16711935&(R<<8|R>>>24)|4278255360&(R<<24|R>>>8),S=16711935&(S<<8|S>>>24)|4278255360&(S<<24|S>>>8),(D=b[g]).high^=S,D.low^=R}for(var w=0;w<24;w++){for(var q=0;q<5;q++){for(var I=0,P=0,O=0;O<5;O++)I^=(D=b[q+5*O]).high,P^=D.low;var N=f[q];N.high=I,N.low=P}for(q=0;q<5;q++){var _=f[(q+4)%5],E=f[(q+1)%5],B=E.high,A=E.low;for(I=_.high^(B<<1|A>>>31),P=_.low^(A<<1|B>>>31),O=0;O<5;O++)(D=b[q+5*O]).high^=I,D.low^=P}for(var v=1;v<25;v++){var m=(D=b[v]).high,k=D.low,L=n[v];L<32?(I=m<<L|k>>>32-L,P=k<<L|m>>>32-L):(I=k<<L-32|m>>>64-L,P=m<<L-32|k>>>64-L);var F=f[i[v]];F.high=I,F.low=P}var j=f[0],U=b[0];for(j.high=U.high,j.low=U.low,q=0;q<5;q++)for(O=0;O<5;O++){var D=b[v=q+5*O],x=f[v],T=f[(q+1)%5+5*O],G=f[(q+2)%5+5*O];D.high=x.high^~T.high&G.high,D.low=x.low^~T.low&G.low}D=b[0];var K=s[w];D.high^=K.high,D.low^=K.low}},_doFinalize:function(){var h=this._data,p=h.words;this._nDataBytes;var b=8*h.sigBytes,y=32*this.blockSize;p[b>>>5]|=1<<24-b%32,p[(r.ceil((b+1)/y)*y>>>5)-1]|=128,h.sigBytes=4*p.length,this._process();for(var g=this._state,R=this.cfg.outputLength/8,S=R/8,w=[],q=0;q<S;q++){var I=g[q],P=I.high,O=I.low;P=16711935&(P<<8|P>>>24)|4278255360&(P<<24|P>>>8),O=16711935&(O<<8|O>>>24)|4278255360&(O<<24|O>>>8),w.push(O),w.push(P)}return new o.init(w,R)},clone:function(){for(var h=l.clone.call(this),p=h._state=this._state.slice(0),b=0;b<25;b++)p[b]=p[b].clone();return h}});u.SHA3=l._createHelper(d),u.HmacSHA3=l._createHmacHelper(d)})(Math),e.SHA3)),sha3$1.exports;var e}var ripemd160$1={exports:{}},ripemd160=ripemd160$1.exports,hasRequiredRipemd160;function requireRipemd160(){return hasRequiredRipemd160||(hasRequiredRipemd160=1,ripemd160$1.exports=(e=requireCore(),(function(){var r=e,u=r.lib,t=u.WordArray,o=u.Hasher,l=r.algo,c=t.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=t.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),n=t.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),i=t.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),s=t.create([0,1518500249,1859775393,2400959708,2840853838]),f=t.create([1352829926,1548603684,1836072691,2053994217,0]),d=l.RIPEMD160=o.extend({_doReset:function(){this._hash=t.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(S,w){for(var q=0;q<16;q++){var I=w+q,P=S[I];S[I]=16711935&(P<<8|P>>>24)|4278255360&(P<<24|P>>>8)}var O,N,_,E,B,A,v,m,k,L,F,j=this._hash.words,U=s.words,D=f.words,x=c.words,T=a.words,G=n.words,K=i.words;for(A=O=j[0],v=N=j[1],m=_=j[2],k=E=j[3],L=B=j[4],q=0;q<80;q+=1)F=O+S[w+x[q]]|0,F+=q<16?h(N,_,E)+U[0]:q<32?p(N,_,E)+U[1]:q<48?b(N,_,E)+U[2]:q<64?y(N,_,E)+U[3]:g(N,_,E)+U[4],F=(F=R(F|=0,G[q]))+B|0,O=B,B=E,E=R(_,10),_=N,N=F,F=A+S[w+T[q]]|0,F+=q<16?g(v,m,k)+D[0]:q<32?y(v,m,k)+D[1]:q<48?b(v,m,k)+D[2]:q<64?p(v,m,k)+D[3]:h(v,m,k)+D[4],F=(F=R(F|=0,K[q]))+L|0,A=L,L=k,k=R(m,10),m=v,v=F;F=j[1]+_+k|0,j[1]=j[2]+E+L|0,j[2]=j[3]+B+A|0,j[3]=j[4]+O+v|0,j[4]=j[0]+N+m|0,j[0]=F},_doFinalize:function(){var S=this._data,w=S.words,q=8*this._nDataBytes,I=8*S.sigBytes;w[I>>>5]|=128<<24-I%32,w[14+(I+64>>>9<<4)]=16711935&(q<<8|q>>>24)|4278255360&(q<<24|q>>>8),S.sigBytes=4*(w.length+1),this._process();for(var P=this._hash,O=P.words,N=0;N<5;N++){var _=O[N];O[N]=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8)}return P},clone:function(){var S=o.clone.call(this);return S._hash=this._hash.clone(),S}});function h(S,w,q){return S^w^q}function p(S,w,q){return S&w|~S&q}function b(S,w,q){return(S|~w)^q}function y(S,w,q){return S&q|w&~q}function g(S,w,q){return S^(w|~q)}function R(S,w){return S<<w|S>>>32-w}r.RIPEMD160=o._createHelper(d),r.HmacRIPEMD160=o._createHmacHelper(d)})(),e.RIPEMD160)),ripemd160$1.exports;var e}var hmac$1={exports:{}},hmac=hmac$1.exports,hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,hmac$1.exports=(e=requireCore(),u=(r=e).lib.Base,t=r.enc.Utf8,void(r.algo.HMAC=u.extend({init:function(o,l){o=this._hasher=new o.init,typeof l=="string"&&(l=t.parse(l));var c=o.blockSize,a=4*c;l.sigBytes>a&&(l=o.finalize(l)),l.clamp();for(var n=this._oKey=l.clone(),i=this._iKey=l.clone(),s=n.words,f=i.words,d=0;d<c;d++)s[d]^=1549556828,f[d]^=909522486;n.sigBytes=i.sigBytes=a,this.reset()},reset:function(){var o=this._hasher;o.reset(),o.update(this._iKey)},update:function(o){return this._hasher.update(o),this},finalize:function(o){var l=this._hasher,c=l.finalize(o);return l.reset(),l.finalize(this._oKey.clone().concat(c))}})))),hmac$1.exports;var e,r,u,t}var pbkdf2$1={exports:{}},pbkdf2=pbkdf2$1.exports,hasRequiredPbkdf2;function requirePbkdf2(){return hasRequiredPbkdf2||(hasRequiredPbkdf2=1,pbkdf2$1.exports=(n=requireCore(),requireSha256(),requireHmac(),r=(e=n).lib,u=r.Base,t=r.WordArray,o=e.algo,l=o.SHA256,c=o.HMAC,a=o.PBKDF2=u.extend({cfg:u.extend({keySize:4,hasher:l,iterations:25e4}),init:function(i){this.cfg=this.cfg.extend(i)},compute:function(i,s){for(var f=this.cfg,d=c.create(f.hasher,i),h=t.create(),p=t.create([1]),b=h.words,y=p.words,g=f.keySize,R=f.iterations;b.length<g;){var S=d.update(s).finalize(p);d.reset();for(var w=S.words,q=w.length,I=S,P=1;P<R;P++){I=d.finalize(I),d.reset();for(var O=I.words,N=0;N<q;N++)w[N]^=O[N]}h.concat(S),y[0]++}return h.sigBytes=4*g,h}}),e.PBKDF2=function(i,s,f){return a.create(f).compute(i,s)},n.PBKDF2)),pbkdf2$1.exports;var e,r,u,t,o,l,c,a,n}var evpkdf$1={exports:{}},evpkdf=evpkdf$1.exports,hasRequiredEvpkdf;function requireEvpkdf(){return hasRequiredEvpkdf||(hasRequiredEvpkdf=1,evpkdf$1.exports=(a=requireCore(),requireSha1(),requireHmac(),r=(e=a).lib,u=r.Base,t=r.WordArray,o=e.algo,l=o.MD5,c=o.EvpKDF=u.extend({cfg:u.extend({keySize:4,hasher:l,iterations:1}),init:function(n){this.cfg=this.cfg.extend(n)},compute:function(n,i){for(var s,f=this.cfg,d=f.hasher.create(),h=t.create(),p=h.words,b=f.keySize,y=f.iterations;p.length<b;){s&&d.update(s),s=d.update(n).finalize(i),d.reset();for(var g=1;g<y;g++)s=d.finalize(s),d.reset();h.concat(s)}return h.sigBytes=4*b,h}}),e.EvpKDF=function(n,i,s){return c.create(s).compute(n,i)},a.EvpKDF)),evpkdf$1.exports;var e,r,u,t,o,l,c,a}var cipherCore$1={exports:{}},cipherCore=cipherCore$1.exports,hasRequiredCipherCore;function requireCipherCore(){return hasRequiredCipherCore||(hasRequiredCipherCore=1,cipherCore$1.exports=(e=requireCore(),requireEvpkdf(),void(e.lib.Cipher||(function(r){var u=e,t=u.lib,o=t.Base,l=t.WordArray,c=t.BufferedBlockAlgorithm,a=u.enc;a.Utf8;var n=a.Base64,i=u.algo.EvpKDF,s=t.Cipher=c.extend({cfg:o.extend(),createEncryptor:function(w,q){return this.create(this._ENC_XFORM_MODE,w,q)},createDecryptor:function(w,q){return this.create(this._DEC_XFORM_MODE,w,q)},init:function(w,q,I){this.cfg=this.cfg.extend(I),this._xformMode=w,this._key=q,this.reset()},reset:function(){c.reset.call(this),this._doReset()},process:function(w){return this._append(w),this._process()},finalize:function(w){return w&&this._append(w),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function w(q){return typeof q=="string"?S:g}return function(q){return{encrypt:function(I,P,O){return w(P).encrypt(q,I,P,O)},decrypt:function(I,P,O){return w(P).decrypt(q,I,P,O)}}}})()});t.StreamCipher=s.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var f=u.mode={},d=t.BlockCipherMode=o.extend({createEncryptor:function(w,q){return this.Encryptor.create(w,q)},createDecryptor:function(w,q){return this.Decryptor.create(w,q)},init:function(w,q){this._cipher=w,this._iv=q}}),h=f.CBC=(function(){var w=d.extend();function q(I,P,O){var N,_=this._iv;_?(N=_,this._iv=r):N=this._prevBlock;for(var E=0;E<O;E++)I[P+E]^=N[E]}return w.Encryptor=w.extend({processBlock:function(I,P){var O=this._cipher,N=O.blockSize;q.call(this,I,P,N),O.encryptBlock(I,P),this._prevBlock=I.slice(P,P+N)}}),w.Decryptor=w.extend({processBlock:function(I,P){var O=this._cipher,N=O.blockSize,_=I.slice(P,P+N);O.decryptBlock(I,P),q.call(this,I,P,N),this._prevBlock=_}}),w})(),p=(u.pad={}).Pkcs7={pad:function(w,q){for(var I=4*q,P=I-w.sigBytes%I,O=P<<24|P<<16|P<<8|P,N=[],_=0;_<P;_+=4)N.push(O);var E=l.create(N,P);w.concat(E)},unpad:function(w){var q=255&w.words[w.sigBytes-1>>>2];w.sigBytes-=q}};t.BlockCipher=s.extend({cfg:s.cfg.extend({mode:h,padding:p}),reset:function(){var w;s.reset.call(this);var q=this.cfg,I=q.iv,P=q.mode;this._xformMode==this._ENC_XFORM_MODE?w=P.createEncryptor:(w=P.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==w?this._mode.init(this,I&&I.words):(this._mode=w.call(P,this,I&&I.words),this._mode.__creator=w)},_doProcessBlock:function(w,q){this._mode.processBlock(w,q)},_doFinalize:function(){var w,q=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(q.pad(this._data,this.blockSize),w=this._process(!0)):(w=this._process(!0),q.unpad(w)),w},blockSize:4});var b=t.CipherParams=o.extend({init:function(w){this.mixIn(w)},toString:function(w){return(w||this.formatter).stringify(this)}}),y=(u.format={}).OpenSSL={stringify:function(w){var q=w.ciphertext,I=w.salt;return(I?l.create([1398893684,1701076831]).concat(I).concat(q):q).toString(n)},parse:function(w){var q,I=n.parse(w),P=I.words;return P[0]==1398893684&&P[1]==1701076831&&(q=l.create(P.slice(2,4)),P.splice(0,4),I.sigBytes-=16),b.create({ciphertext:I,salt:q})}},g=t.SerializableCipher=o.extend({cfg:o.extend({format:y}),encrypt:function(w,q,I,P){P=this.cfg.extend(P);var O=w.createEncryptor(I,P),N=O.finalize(q),_=O.cfg;return b.create({ciphertext:N,key:I,iv:_.iv,algorithm:w,mode:_.mode,padding:_.padding,blockSize:w.blockSize,formatter:P.format})},decrypt:function(w,q,I,P){return P=this.cfg.extend(P),q=this._parse(q,P.format),w.createDecryptor(I,P).finalize(q.ciphertext)},_parse:function(w,q){return typeof w=="string"?q.parse(w,this):w}}),R=(u.kdf={}).OpenSSL={execute:function(w,q,I,P,O){if(P||(P=l.random(8)),O)N=i.create({keySize:q+I,hasher:O}).compute(w,P);else var N=i.create({keySize:q+I}).compute(w,P);var _=l.create(N.words.slice(q),4*I);return N.sigBytes=4*q,b.create({key:N,iv:_,salt:P})}},S=t.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:R}),encrypt:function(w,q,I,P){var O=(P=this.cfg.extend(P)).kdf.execute(I,w.keySize,w.ivSize,P.salt,P.hasher);P.iv=O.iv;var N=g.encrypt.call(this,w,q,O.key,P);return N.mixIn(O),N},decrypt:function(w,q,I,P){P=this.cfg.extend(P),q=this._parse(q,P.format);var O=P.kdf.execute(I,w.keySize,w.ivSize,q.salt,P.hasher);return P.iv=O.iv,g.decrypt.call(this,w,q,O.key,P)}})})()))),cipherCore$1.exports;var e}var modeCfb$1={exports:{}},modeCfb=modeCfb$1.exports,hasRequiredModeCfb;function requireModeCfb(){return hasRequiredModeCfb||(hasRequiredModeCfb=1,modeCfb$1.exports=(e=requireCore(),requireCipherCore(),e.mode.CFB=(function(){var r=e.lib.BlockCipherMode.extend();function u(t,o,l,c){var a,n=this._iv;n?(a=n.slice(0),this._iv=void 0):a=this._prevBlock,c.encryptBlock(a,0);for(var i=0;i<l;i++)t[o+i]^=a[i]}return r.Encryptor=r.extend({processBlock:function(t,o){var l=this._cipher,c=l.blockSize;u.call(this,t,o,c,l),this._prevBlock=t.slice(o,o+c)}}),r.Decryptor=r.extend({processBlock:function(t,o){var l=this._cipher,c=l.blockSize,a=t.slice(o,o+c);u.call(this,t,o,c,l),this._prevBlock=a}}),r})(),e.mode.CFB)),modeCfb$1.exports;var e}var modeCtr$1={exports:{}},modeCtr=modeCtr$1.exports,hasRequiredModeCtr;function requireModeCtr(){return hasRequiredModeCtr||(hasRequiredModeCtr=1,modeCtr$1.exports=(u=requireCore(),requireCipherCore(),u.mode.CTR=(e=u.lib.BlockCipherMode.extend(),r=e.Encryptor=e.extend({processBlock:function(t,o){var l=this._cipher,c=l.blockSize,a=this._iv,n=this._counter;a&&(n=this._counter=a.slice(0),this._iv=void 0);var i=n.slice(0);l.encryptBlock(i,0),n[c-1]=n[c-1]+1|0;for(var s=0;s<c;s++)t[o+s]^=i[s]}}),e.Decryptor=r,e),u.mode.CTR)),modeCtr$1.exports;var e,r,u}var modeCtrGladman$1={exports:{}},modeCtrGladman=modeCtrGladman$1.exports,hasRequiredModeCtrGladman;function requireModeCtrGladman(){return hasRequiredModeCtrGladman||(hasRequiredModeCtrGladman=1,modeCtrGladman$1.exports=(e=requireCore(),requireCipherCore(),e.mode.CTRGladman=(function(){var r=e.lib.BlockCipherMode.extend();function u(l){if(255&~(l>>24))l+=1<<24;else{var c=l>>16&255,a=l>>8&255,n=255&l;c===255?(c=0,a===255?(a=0,n===255?n=0:++n):++a):++c,l=0,l+=c<<16,l+=a<<8,l+=n}return l}function t(l){return(l[0]=u(l[0]))===0&&(l[1]=u(l[1])),l}var o=r.Encryptor=r.extend({processBlock:function(l,c){var a=this._cipher,n=a.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0),t(s);var f=s.slice(0);a.encryptBlock(f,0);for(var d=0;d<n;d++)l[c+d]^=f[d]}});return r.Decryptor=o,r})(),e.mode.CTRGladman)),modeCtrGladman$1.exports;var e}var modeOfb$1={exports:{}},modeOfb=modeOfb$1.exports,hasRequiredModeOfb;function requireModeOfb(){return hasRequiredModeOfb||(hasRequiredModeOfb=1,modeOfb$1.exports=(u=requireCore(),requireCipherCore(),u.mode.OFB=(e=u.lib.BlockCipherMode.extend(),r=e.Encryptor=e.extend({processBlock:function(t,o){var l=this._cipher,c=l.blockSize,a=this._iv,n=this._keystream;a&&(n=this._keystream=a.slice(0),this._iv=void 0),l.encryptBlock(n,0);for(var i=0;i<c;i++)t[o+i]^=n[i]}}),e.Decryptor=r,e),u.mode.OFB)),modeOfb$1.exports;var e,r,u}var modeEcb$1={exports:{}},modeEcb=modeEcb$1.exports,hasRequiredModeEcb;function requireModeEcb(){return hasRequiredModeEcb||(hasRequiredModeEcb=1,modeEcb$1.exports=(r=requireCore(),requireCipherCore(),r.mode.ECB=((e=r.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(u,t){this._cipher.encryptBlock(u,t)}}),e.Decryptor=e.extend({processBlock:function(u,t){this._cipher.decryptBlock(u,t)}}),e),r.mode.ECB)),modeEcb$1.exports;var e,r}var padAnsix923$1={exports:{}},padAnsix923=padAnsix923$1.exports,hasRequiredPadAnsix923;function requirePadAnsix923(){return hasRequiredPadAnsix923||(hasRequiredPadAnsix923=1,padAnsix923$1.exports=(e=requireCore(),requireCipherCore(),e.pad.AnsiX923={pad:function(r,u){var t=r.sigBytes,o=4*u,l=o-t%o,c=t+l-1;r.clamp(),r.words[c>>>2]|=l<<24-c%4*8,r.sigBytes+=l},unpad:function(r){var u=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=u}},e.pad.Ansix923)),padAnsix923$1.exports;var e}var padIso10126$1={exports:{}},padIso10126=padIso10126$1.exports,hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,padIso10126$1.exports=(e=requireCore(),requireCipherCore(),e.pad.Iso10126={pad:function(r,u){var t=4*u,o=t-r.sigBytes%t;r.concat(e.lib.WordArray.random(o-1)).concat(e.lib.WordArray.create([o<<24],1))},unpad:function(r){var u=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=u}},e.pad.Iso10126)),padIso10126$1.exports;var e}var padIso97971$1={exports:{}},padIso97971=padIso97971$1.exports,hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,padIso97971$1.exports=(e=requireCore(),requireCipherCore(),e.pad.Iso97971={pad:function(r,u){r.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(r,u)},unpad:function(r){e.pad.ZeroPadding.unpad(r),r.sigBytes--}},e.pad.Iso97971)),padIso97971$1.exports;var e}var padZeropadding$1={exports:{}},padZeropadding=padZeropadding$1.exports,hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,padZeropadding$1.exports=(e=requireCore(),requireCipherCore(),e.pad.ZeroPadding={pad:function(r,u){var t=4*u;r.clamp(),r.sigBytes+=t-(r.sigBytes%t||t)},unpad:function(r){var u=r.words,t=r.sigBytes-1;for(t=r.sigBytes-1;t>=0;t--)if(u[t>>>2]>>>24-t%4*8&255){r.sigBytes=t+1;break}}},e.pad.ZeroPadding)),padZeropadding$1.exports;var e}var padNopadding$1={exports:{}},padNopadding=padNopadding$1.exports,hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,padNopadding$1.exports=(e=requireCore(),requireCipherCore(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding)),padNopadding$1.exports;var e}var formatHex$1={exports:{}},formatHex=formatHex$1.exports,hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,formatHex$1.exports=(t=requireCore(),requireCipherCore(),r=(e=t).lib.CipherParams,u=e.enc.Hex,e.format.Hex={stringify:function(o){return o.ciphertext.toString(u)},parse:function(o){var l=u.parse(o);return r.create({ciphertext:l})}},t.format.Hex)),formatHex$1.exports;var e,r,u,t}var aes$1={exports:{}},aes=aes$1.exports,hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,aes$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib.BlockCipher,t=r.algo,o=[],l=[],c=[],a=[],n=[],i=[],s=[],f=[],d=[],h=[];(function(){for(var y=[],g=0;g<256;g++)y[g]=g<128?g<<1:g<<1^283;var R=0,S=0;for(g=0;g<256;g++){var w=S^S<<1^S<<2^S<<3^S<<4;w=w>>>8^255&w^99,o[R]=w,l[w]=R;var q=y[R],I=y[q],P=y[I],O=257*y[w]^16843008*w;c[R]=O<<24|O>>>8,a[R]=O<<16|O>>>16,n[R]=O<<8|O>>>24,i[R]=O,O=16843009*P^65537*I^257*q^16843008*R,s[w]=O<<24|O>>>8,f[w]=O<<16|O>>>16,d[w]=O<<8|O>>>24,h[w]=O,R?(R=q^y[y[y[P^q]]],S^=y[y[S]]):R=S=1}})();var p=[0,1,2,4,8,16,32,64,128,27,54],b=t.AES=u.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var y=this._keyPriorReset=this._key,g=y.words,R=y.sigBytes/4,S=4*((this._nRounds=R+6)+1),w=this._keySchedule=[],q=0;q<S;q++)q<R?w[q]=g[q]:(O=w[q-1],q%R?R>6&&q%R==4&&(O=o[O>>>24]<<24|o[O>>>16&255]<<16|o[O>>>8&255]<<8|o[255&O]):(O=o[(O=O<<8|O>>>24)>>>24]<<24|o[O>>>16&255]<<16|o[O>>>8&255]<<8|o[255&O],O^=p[q/R|0]<<24),w[q]=w[q-R]^O);for(var I=this._invKeySchedule=[],P=0;P<S;P++){if(q=S-P,P%4)var O=w[q];else O=w[q-4];I[P]=P<4||q<=4?O:s[o[O>>>24]]^f[o[O>>>16&255]]^d[o[O>>>8&255]]^h[o[255&O]]}}},encryptBlock:function(y,g){this._doCryptBlock(y,g,this._keySchedule,c,a,n,i,o)},decryptBlock:function(y,g){var R=y[g+1];y[g+1]=y[g+3],y[g+3]=R,this._doCryptBlock(y,g,this._invKeySchedule,s,f,d,h,l),R=y[g+1],y[g+1]=y[g+3],y[g+3]=R},_doCryptBlock:function(y,g,R,S,w,q,I,P){for(var O=this._nRounds,N=y[g]^R[0],_=y[g+1]^R[1],E=y[g+2]^R[2],B=y[g+3]^R[3],A=4,v=1;v<O;v++){var m=S[N>>>24]^w[_>>>16&255]^q[E>>>8&255]^I[255&B]^R[A++],k=S[_>>>24]^w[E>>>16&255]^q[B>>>8&255]^I[255&N]^R[A++],L=S[E>>>24]^w[B>>>16&255]^q[N>>>8&255]^I[255&_]^R[A++],F=S[B>>>24]^w[N>>>16&255]^q[_>>>8&255]^I[255&E]^R[A++];N=m,_=k,E=L,B=F}m=(P[N>>>24]<<24|P[_>>>16&255]<<16|P[E>>>8&255]<<8|P[255&B])^R[A++],k=(P[_>>>24]<<24|P[E>>>16&255]<<16|P[B>>>8&255]<<8|P[255&N])^R[A++],L=(P[E>>>24]<<24|P[B>>>16&255]<<16|P[N>>>8&255]<<8|P[255&_])^R[A++],F=(P[B>>>24]<<24|P[N>>>16&255]<<16|P[_>>>8&255]<<8|P[255&E])^R[A++],y[g]=m,y[g+1]=k,y[g+2]=L,y[g+3]=F},keySize:8});r.AES=u._createHelper(b)})(),e.AES)),aes$1.exports;var e}var tripledes$1={exports:{}},tripledes=tripledes$1.exports,hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,tripledes$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib,t=u.WordArray,o=u.BlockCipher,l=r.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],n=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],i=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],s=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=l.DES=o.extend({_doReset:function(){for(var b=this._key.words,y=[],g=0;g<56;g++){var R=c[g]-1;y[g]=b[R>>>5]>>>31-R%32&1}for(var S=this._subKeys=[],w=0;w<16;w++){var q=S[w]=[],I=n[w];for(g=0;g<24;g++)q[g/6|0]|=y[(a[g]-1+I)%28]<<31-g%6,q[4+(g/6|0)]|=y[28+(a[g+24]-1+I)%28]<<31-g%6;for(q[0]=q[0]<<1|q[0]>>>31,g=1;g<7;g++)q[g]=q[g]>>>4*(g-1)+3;q[7]=q[7]<<5|q[7]>>>27}var P=this._invSubKeys=[];for(g=0;g<16;g++)P[g]=S[15-g]},encryptBlock:function(b,y){this._doCryptBlock(b,y,this._subKeys)},decryptBlock:function(b,y){this._doCryptBlock(b,y,this._invSubKeys)},_doCryptBlock:function(b,y,g){this._lBlock=b[y],this._rBlock=b[y+1],d.call(this,4,252645135),d.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),d.call(this,1,1431655765);for(var R=0;R<16;R++){for(var S=g[R],w=this._lBlock,q=this._rBlock,I=0,P=0;P<8;P++)I|=i[P][((q^S[P])&s[P])>>>0];this._lBlock=q,this._rBlock=w^I}var O=this._lBlock;this._lBlock=this._rBlock,this._rBlock=O,d.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),b[y]=this._lBlock,b[y+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(b,y){var g=(this._lBlock>>>b^this._rBlock)&y;this._rBlock^=g,this._lBlock^=g<<b}function h(b,y){var g=(this._rBlock>>>b^this._lBlock)&y;this._lBlock^=g,this._rBlock^=g<<b}r.DES=o._createHelper(f);var p=l.TripleDES=o.extend({_doReset:function(){var b=this._key.words;if(b.length!==2&&b.length!==4&&b.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=b.slice(0,2),g=b.length<4?b.slice(0,2):b.slice(2,4),R=b.length<6?b.slice(0,2):b.slice(4,6);this._des1=f.createEncryptor(t.create(y)),this._des2=f.createEncryptor(t.create(g)),this._des3=f.createEncryptor(t.create(R))},encryptBlock:function(b,y){this._des1.encryptBlock(b,y),this._des2.decryptBlock(b,y),this._des3.encryptBlock(b,y)},decryptBlock:function(b,y){this._des3.decryptBlock(b,y),this._des2.encryptBlock(b,y),this._des1.decryptBlock(b,y)},keySize:6,ivSize:2,blockSize:2});r.TripleDES=o._createHelper(p)})(),e.TripleDES)),tripledes$1.exports;var e}var rc4$1={exports:{}},rc4=rc4$1.exports,hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,rc4$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib.StreamCipher,t=r.algo,o=t.RC4=u.extend({_doReset:function(){for(var a=this._key,n=a.words,i=a.sigBytes,s=this._S=[],f=0;f<256;f++)s[f]=f;f=0;for(var d=0;f<256;f++){var h=f%i,p=n[h>>>2]>>>24-h%4*8&255;d=(d+s[f]+p)%256;var b=s[f];s[f]=s[d],s[d]=b}this._i=this._j=0},_doProcessBlock:function(a,n){a[n]^=l.call(this)},keySize:8,ivSize:0});function l(){for(var a=this._S,n=this._i,i=this._j,s=0,f=0;f<4;f++){i=(i+a[n=(n+1)%256])%256;var d=a[n];a[n]=a[i],a[i]=d,s|=a[(a[n]+a[i])%256]<<24-8*f}return this._i=n,this._j=i,s}r.RC4=u._createHelper(o);var c=t.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var a=this.cfg.drop;a>0;a--)l.call(this)}});r.RC4Drop=u._createHelper(c)})(),e.RC4)),rc4$1.exports;var e}var rabbit$1={exports:{}},rabbit=rabbit$1.exports,hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,rabbit$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib.StreamCipher,t=r.algo,o=[],l=[],c=[],a=t.Rabbit=u.extend({_doReset:function(){for(var i=this._key.words,s=this.cfg.iv,f=0;f<4;f++)i[f]=16711935&(i[f]<<8|i[f]>>>24)|4278255360&(i[f]<<24|i[f]>>>8);var d=this._X=[i[0],i[3]<<16|i[2]>>>16,i[1],i[0]<<16|i[3]>>>16,i[2],i[1]<<16|i[0]>>>16,i[3],i[2]<<16|i[1]>>>16],h=this._C=[i[2]<<16|i[2]>>>16,4294901760&i[0]|65535&i[1],i[3]<<16|i[3]>>>16,4294901760&i[1]|65535&i[2],i[0]<<16|i[0]>>>16,4294901760&i[2]|65535&i[3],i[1]<<16|i[1]>>>16,4294901760&i[3]|65535&i[0]];for(this._b=0,f=0;f<4;f++)n.call(this);for(f=0;f<8;f++)h[f]^=d[f+4&7];if(s){var p=s.words,b=p[0],y=p[1],g=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),R=16711935&(y<<8|y>>>24)|4278255360&(y<<24|y>>>8),S=g>>>16|4294901760&R,w=R<<16|65535&g;for(h[0]^=g,h[1]^=S,h[2]^=R,h[3]^=w,h[4]^=g,h[5]^=S,h[6]^=R,h[7]^=w,f=0;f<4;f++)n.call(this)}},_doProcessBlock:function(i,s){var f=this._X;n.call(this),o[0]=f[0]^f[5]>>>16^f[3]<<16,o[1]=f[2]^f[7]>>>16^f[5]<<16,o[2]=f[4]^f[1]>>>16^f[7]<<16,o[3]=f[6]^f[3]>>>16^f[1]<<16;for(var d=0;d<4;d++)o[d]=16711935&(o[d]<<8|o[d]>>>24)|4278255360&(o[d]<<24|o[d]>>>8),i[s+d]^=o[d]},blockSize:4,ivSize:2});function n(){for(var i=this._X,s=this._C,f=0;f<8;f++)l[f]=s[f];for(s[0]=s[0]+1295307597+this._b|0,s[1]=s[1]+3545052371+(s[0]>>>0<l[0]>>>0?1:0)|0,s[2]=s[2]+886263092+(s[1]>>>0<l[1]>>>0?1:0)|0,s[3]=s[3]+1295307597+(s[2]>>>0<l[2]>>>0?1:0)|0,s[4]=s[4]+3545052371+(s[3]>>>0<l[3]>>>0?1:0)|0,s[5]=s[5]+886263092+(s[4]>>>0<l[4]>>>0?1:0)|0,s[6]=s[6]+1295307597+(s[5]>>>0<l[5]>>>0?1:0)|0,s[7]=s[7]+3545052371+(s[6]>>>0<l[6]>>>0?1:0)|0,this._b=s[7]>>>0<l[7]>>>0?1:0,f=0;f<8;f++){var d=i[f]+s[f],h=65535&d,p=d>>>16,b=((h*h>>>17)+h*p>>>15)+p*p,y=((4294901760&d)*d|0)+((65535&d)*d|0);c[f]=b^y}i[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,i[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,i[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,i[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,i[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,i[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,i[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,i[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.Rabbit=u._createHelper(a)})(),e.Rabbit)),rabbit$1.exports;var e}var rabbitLegacy$1={exports:{}},rabbitLegacy=rabbitLegacy$1.exports,hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,rabbitLegacy$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib.StreamCipher,t=r.algo,o=[],l=[],c=[],a=t.RabbitLegacy=u.extend({_doReset:function(){var i=this._key.words,s=this.cfg.iv,f=this._X=[i[0],i[3]<<16|i[2]>>>16,i[1],i[0]<<16|i[3]>>>16,i[2],i[1]<<16|i[0]>>>16,i[3],i[2]<<16|i[1]>>>16],d=this._C=[i[2]<<16|i[2]>>>16,4294901760&i[0]|65535&i[1],i[3]<<16|i[3]>>>16,4294901760&i[1]|65535&i[2],i[0]<<16|i[0]>>>16,4294901760&i[2]|65535&i[3],i[1]<<16|i[1]>>>16,4294901760&i[3]|65535&i[0]];this._b=0;for(var h=0;h<4;h++)n.call(this);for(h=0;h<8;h++)d[h]^=f[h+4&7];if(s){var p=s.words,b=p[0],y=p[1],g=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),R=16711935&(y<<8|y>>>24)|4278255360&(y<<24|y>>>8),S=g>>>16|4294901760&R,w=R<<16|65535&g;for(d[0]^=g,d[1]^=S,d[2]^=R,d[3]^=w,d[4]^=g,d[5]^=S,d[6]^=R,d[7]^=w,h=0;h<4;h++)n.call(this)}},_doProcessBlock:function(i,s){var f=this._X;n.call(this),o[0]=f[0]^f[5]>>>16^f[3]<<16,o[1]=f[2]^f[7]>>>16^f[5]<<16,o[2]=f[4]^f[1]>>>16^f[7]<<16,o[3]=f[6]^f[3]>>>16^f[1]<<16;for(var d=0;d<4;d++)o[d]=16711935&(o[d]<<8|o[d]>>>24)|4278255360&(o[d]<<24|o[d]>>>8),i[s+d]^=o[d]},blockSize:4,ivSize:2});function n(){for(var i=this._X,s=this._C,f=0;f<8;f++)l[f]=s[f];for(s[0]=s[0]+1295307597+this._b|0,s[1]=s[1]+3545052371+(s[0]>>>0<l[0]>>>0?1:0)|0,s[2]=s[2]+886263092+(s[1]>>>0<l[1]>>>0?1:0)|0,s[3]=s[3]+1295307597+(s[2]>>>0<l[2]>>>0?1:0)|0,s[4]=s[4]+3545052371+(s[3]>>>0<l[3]>>>0?1:0)|0,s[5]=s[5]+886263092+(s[4]>>>0<l[4]>>>0?1:0)|0,s[6]=s[6]+1295307597+(s[5]>>>0<l[5]>>>0?1:0)|0,s[7]=s[7]+3545052371+(s[6]>>>0<l[6]>>>0?1:0)|0,this._b=s[7]>>>0<l[7]>>>0?1:0,f=0;f<8;f++){var d=i[f]+s[f],h=65535&d,p=d>>>16,b=((h*h>>>17)+h*p>>>15)+p*p,y=((4294901760&d)*d|0)+((65535&d)*d|0);c[f]=b^y}i[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,i[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,i[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,i[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,i[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,i[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,i[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,i[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.RabbitLegacy=u._createHelper(a)})(),e.RabbitLegacy)),rabbitLegacy$1.exports;var e}var blowfish$1={exports:{}},blowfish=blowfish$1.exports,hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,blowfish$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib.BlockCipher,t=r.algo;const o=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var a={pbox:[],sbox:[]};function n(h,p){let b=p>>24&255,y=p>>16&255,g=p>>8&255,R=255&p,S=h.sbox[0][b]+h.sbox[1][y];return S^=h.sbox[2][g],S+=h.sbox[3][R],S}function i(h,p,b){let y,g=p,R=b;for(let S=0;S<o;++S)g^=h.pbox[S],R=n(h,g)^R,y=g,g=R,R=y;return y=g,g=R,R=y,R^=h.pbox[o],g^=h.pbox[o+1],{left:g,right:R}}function s(h,p,b){let y,g=p,R=b;for(let S=o+1;S>1;--S)g^=h.pbox[S],R=n(h,g)^R,y=g,g=R,R=y;return y=g,g=R,R=y,R^=h.pbox[1],g^=h.pbox[0],{left:g,right:R}}function f(h,p,b){for(let w=0;w<4;w++){h.sbox[w]=[];for(let q=0;q<256;q++)h.sbox[w][q]=c[w][q]}let y=0;for(let w=0;w<o+2;w++)h.pbox[w]=l[w]^p[y],y++,y>=b&&(y=0);let g=0,R=0,S=0;for(let w=0;w<o+2;w+=2)S=i(h,g,R),g=S.left,R=S.right,h.pbox[w]=g,h.pbox[w+1]=R;for(let w=0;w<4;w++)for(let q=0;q<256;q+=2)S=i(h,g,R),g=S.left,R=S.right,h.sbox[w][q]=g,h.sbox[w][q+1]=R;return!0}var d=t.Blowfish=u.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var h=this._keyPriorReset=this._key,p=h.words,b=h.sigBytes/4;f(a,p,b)}},encryptBlock:function(h,p){var b=i(a,h[p],h[p+1]);h[p]=b.left,h[p+1]=b.right},decryptBlock:function(h,p){var b=s(a,h[p],h[p+1]);h[p]=b.left,h[p+1]=b.right},blockSize:2,keySize:4,ivSize:2});r.Blowfish=u._createHelper(d)})(),e.Blowfish)),blowfish$1.exports;var e}var cryptoJs=cryptoJs$1.exports,hasRequiredCryptoJs;function requireCryptoJs(){return hasRequiredCryptoJs||(hasRequiredCryptoJs=1,cryptoJs$1.exports=(e=requireCore(),requireX64Core(),requireLibTypedarrays(),requireEncUtf16(),requireEncBase64(),requireEncBase64url(),requireMd5(),requireSha1(),requireSha256(),requireSha224(),requireSha512(),requireSha384(),requireSha3(),requireRipemd160(),requireHmac(),requirePbkdf2(),requireEvpkdf(),requireCipherCore(),requireModeCfb(),requireModeCtr(),requireModeCtrGladman(),requireModeOfb(),requireModeEcb(),requirePadAnsix923(),requirePadIso10126(),requirePadIso97971(),requirePadZeropadding(),requirePadNopadding(),requireFormatHex(),requireAes(),requireTripledes(),requireRc4(),requireRabbit(),requireRabbitLegacy(),requireBlowfish(),e)),cryptoJs$1.exports;var e}let nanoid=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((r,u)=>r+=(u&=63)<36?u.toString(36):u<62?(u-26).toString(36).toUpperCase():u>62?"-":"_"),"");export{trimStart as A,camelCase as B,requireUtil$1 as a,requireShams$2 as b,requireCallBound as c,requireEsObjectAtoms as d,requireCallBind as e,requireGetIntrinsic as f,requireHasPropertyDescriptors as g,requireDefineDataProperty as h,requireCryptoBrowserify as i,require_stream_writable$1 as j,requireDist as k,requireStreamBrowserify as l,requireString_decoder as m,nanoid as n,requireSafeBuffer$1 as o,lodash as p,require_stream_readable$1 as q,requireCryptoJs as r,require_stream_duplex$1 as s,require_stream_transform$1 as t,require_stream_passthrough$1 as u,requireEndOfStream as v,requirePipeline as w,requireInherits_browser as x,requireType as y,requireEsDefineProperty as z};
|