@ozdao/prometheus-framework 0.2.42 → 0.2.44
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main-2247448a.js +91 -0
- package/dist/main-6c51a895.mjs +13628 -0
- package/dist/main-Ft_OvlW_.mjs +13606 -0
- package/dist/main-iZBAe91V.js +91 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.cjs +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +52 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +18 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +17 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +16 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +15 -0
- package/dist/node_modules/@capacitor/core/dist/index.cjs +1 -0
- package/dist/node_modules/@capacitor/core/dist/index.js +337 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/index.cjs +1 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/index.js +7 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/web.cjs +1 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/web.js +54 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +1 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/main.css.js +1 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +4912 -0
- package/dist/node_modules/axios/lib/adapters/adapters.cjs +3 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js +51 -0
- package/dist/node_modules/axios/lib/adapters/xhr.cjs +1 -0
- package/dist/node_modules/axios/lib/adapters/xhr.js +109 -0
- package/dist/node_modules/axios/lib/axios.cjs +1 -0
- package/dist/node_modules/axios/lib/axios.js +47 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.cjs +1 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +73 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.cjs +1 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.js +11 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.cjs +1 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/dist/node_modules/axios/lib/core/Axios.cjs +2 -0
- package/dist/node_modules/axios/lib/core/Axios.js +131 -0
- package/dist/node_modules/axios/lib/core/AxiosError.cjs +1 -0
- package/dist/node_modules/axios/lib/core/AxiosError.js +54 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.cjs +1 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +58 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.cjs +1 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.js +8 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.cjs +1 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +31 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.cjs +1 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.js +72 -0
- package/dist/node_modules/axios/lib/core/settle.cjs +1 -0
- package/dist/node_modules/axios/lib/core/settle.js +14 -0
- package/dist/node_modules/axios/lib/core/transformData.cjs +1 -0
- package/dist/node_modules/axios/lib/core/transformData.js +13 -0
- package/dist/node_modules/axios/lib/defaults/index.cjs +1 -0
- package/dist/node_modules/axios/lib/defaults/index.js +88 -0
- package/dist/node_modules/axios/lib/defaults/transitional.cjs +1 -0
- package/dist/node_modules/axios/lib/defaults/transitional.js +8 -0
- package/dist/node_modules/axios/lib/env/data.cjs +1 -0
- package/dist/node_modules/axios/lib/env/data.js +4 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
- package/dist/node_modules/axios/lib/helpers/bind.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/bind.js +8 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.js +19 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/dist/node_modules/axios/lib/helpers/cookies.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/cookies.js +32 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +32 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
- package/dist/node_modules/axios/lib/helpers/null.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/null.js +4 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.js +19 -0
- package/dist/node_modules/axios/lib/helpers/spread.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/spread.js +8 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.js +84 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
- package/dist/node_modules/axios/lib/helpers/validator.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/validator.js +51 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/axios/lib/platform/browser/index.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/dist/node_modules/axios/lib/platform/common/utils.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/common/utils.js +7 -0
- package/dist/node_modules/axios/lib/platform/index.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/axios/lib/utils.cjs +1 -0
- package/dist/node_modules/axios/lib/utils.js +224 -0
- package/dist/node_modules/bignumber.js/bignumber.cjs +1 -0
- package/dist/node_modules/bignumber.js/bignumber.js +701 -0
- package/dist/node_modules/date-fns/esm/_lib/addLeadingZeros/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js +8 -0
- package/dist/node_modules/date-fns/esm/_lib/assign/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/assign/index.js +10 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultLocale/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultLocale/index.js +4 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultOptions/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultOptions/index.js +7 -0
- package/dist/node_modules/date-fns/esm/_lib/format/formatters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/format/formatters/index.js +573 -0
- package/dist/node_modules/date-fns/esm/_lib/format/lightFormatters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js +58 -0
- package/dist/node_modules/date-fns/esm/_lib/format/longFormatters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/format/longFormatters/index.js +76 -0
- package/dist/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +7 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js +15 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js +21 -0
- package/dist/node_modules/date-fns/esm/_lib/protectedTokens/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/protectedTokens/index.js +22 -0
- package/dist/node_modules/date-fns/esm/_lib/requiredArgs/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/requiredArgs/index.js +7 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCDay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCDay/index.js +16 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISODay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISODay/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js +12 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCWeek/index.js +12 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js +10 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js +16 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js +16 -0
- package/dist/node_modules/date-fns/esm/_lib/toInteger/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/toInteger/index.js +9 -0
- package/dist/node_modules/date-fns/esm/add/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/add/index.js +15 -0
- package/dist/node_modules/date-fns/esm/addDays/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addDays/index.js +11 -0
- package/dist/node_modules/date-fns/esm/addMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addMilliseconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/addMonths/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addMonths/index.js +18 -0
- package/dist/node_modules/date-fns/esm/addQuarters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addQuarters/index.js +11 -0
- package/dist/node_modules/date-fns/esm/addYears/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addYears/index.js +11 -0
- package/dist/node_modules/date-fns/esm/constants/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/constants/index.js +6 -0
- package/dist/node_modules/date-fns/esm/differenceInCalendarDays/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/differenceInCalendarDays/index.js +12 -0
- package/dist/node_modules/date-fns/esm/eachDayOfInterval/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/eachDayOfInterval/index.js +20 -0
- package/dist/node_modules/date-fns/esm/eachQuarterOfInterval/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/eachQuarterOfInterval/index.js +18 -0
- package/dist/node_modules/date-fns/esm/endOfQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/endOfQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/endOfWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/endOfWeek/index.js +16 -0
- package/dist/node_modules/date-fns/esm/endOfYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/endOfYear/index.js +10 -0
- package/dist/node_modules/date-fns/esm/format/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/format/index.js +62 -0
- package/dist/node_modules/date-fns/esm/getDay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getDay/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getDaysInMonth/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getDaysInMonth/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getHours/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getHours/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getISOWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/getISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getISOWeekYear/index.js +15 -0
- package/dist/node_modules/date-fns/esm/getMinutes/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getMinutes/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getMonth/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getMonth/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getSeconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getSeconds/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/getWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getWeekYear/index.js +21 -0
- package/dist/node_modules/date-fns/esm/getYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getYear/index.js +8 -0
- package/dist/node_modules/date-fns/esm/isAfter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isAfter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isBefore/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isBefore/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isDate/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isDate/index.js +8 -0
- package/dist/node_modules/date-fns/esm/isEqual/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isEqual/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isSameQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isSameQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isValid/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isValid/index.js +12 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js +9 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js +17 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js +31 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js +20 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js +70 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js +34 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js +14 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js +124 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/match/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js +89 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/index.js +21 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Parser.js +27 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Setter.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Setter.js +59 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/constants.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/constants.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.js +50 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.js +80 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.js +54 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.js +33 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.js +36 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.js +48 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.js +89 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.js +46 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.js +46 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.js +50 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.js +35 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.js +90 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.js +50 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.js +48 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.js +76 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.js +71 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.js +48 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.js +90 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.js +76 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.js +35 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.js +35 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.js +59 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/index.js +67 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/utils.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/utils.js +102 -0
- package/dist/node_modules/date-fns/esm/parse/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/index.js +128 -0
- package/dist/node_modules/date-fns/esm/parseISO/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parseISO/index.js +120 -0
- package/dist/node_modules/date-fns/esm/set/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/set/index.js +14 -0
- package/dist/node_modules/date-fns/esm/setHours/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setHours/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setMilliseconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setMinutes/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setMinutes/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setMonth/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setMonth/index.js +14 -0
- package/dist/node_modules/date-fns/esm/setSeconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setSeconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setYear/index.js +11 -0
- package/dist/node_modules/date-fns/esm/startOfDay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfDay/index.js +10 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeek/index.js +10 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeekYear/index.js +13 -0
- package/dist/node_modules/date-fns/esm/startOfQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/startOfWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfWeek/index.js +16 -0
- package/dist/node_modules/date-fns/esm/startOfWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfWeekYear/index.js +16 -0
- package/dist/node_modules/date-fns/esm/startOfYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfYear/index.js +10 -0
- package/dist/node_modules/date-fns/esm/sub/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/sub/index.js +14 -0
- package/dist/node_modules/date-fns/esm/subDays/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subDays/index.js +11 -0
- package/dist/node_modules/date-fns/esm/subMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subMilliseconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/subMonths/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subMonths/index.js +11 -0
- package/dist/node_modules/date-fns/esm/subYears/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subYears/index.js +11 -0
- package/dist/node_modules/date-fns/esm/toDate/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/toDate/index.js +10 -0
- package/dist/node_modules/libphonenumber-js/es6/ParseError.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/ParseError.js +113 -0
- package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.js +150 -0
- package/dist/node_modules/libphonenumber-js/es6/constants.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/constants.js +10 -0
- package/dist/node_modules/libphonenumber-js/es6/format.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/format.js +134 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +11 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +7 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +22 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +11 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +18 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +47 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +22 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +23 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +35 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +31 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +23 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +27 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +17 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +58 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +12 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +56 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +14 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.js +7 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +20 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +6 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +43 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +79 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +19 -0
- package/dist/node_modules/libphonenumber-js/es6/isPossible.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/isPossible.js +38 -0
- package/dist/node_modules/libphonenumber-js/es6/isValid.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/isValid.js +12 -0
- package/dist/node_modules/libphonenumber-js/es6/metadata.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/metadata.js +460 -0
- package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.js +96 -0
- package/dist/node_modules/libphonenumber-js/es6/parse.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parse.js +121 -0
- package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +53 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +9 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +33 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +41 -0
- package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.js +18 -0
- package/dist/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/metadata.min.json.js +4 -0
- package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +8 -0
- package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +8 -0
- package/dist/prometheus-framework.cjs.js +1 -36
- package/dist/prometheus-framework.es.js +37 -9163
- package/dist/style.css +1 -1
- package/dist/web-65c35f46.mjs +55 -0
- package/dist/web-Ot-Nyiix.mjs +55 -0
- package/dist/web-adbe95b6.js +1 -0
- package/dist/web-tkW-RBhL.js +1 -0
- package/package.json +2 -2
- package/src/components/Status/Status.vue +3 -1
- package/src/components/index.js +20 -0
- package/src/main.js +60 -2
- package/src/modules/payments/{controller → controllers}/payments.controller.js +15 -11
- package/src/modules/products/products.client.js +35 -0
- package/src/modules/products/products.server.js +2 -2
- /package/src/modules/payments/{controller → controllers}/payments.tinkoff.controller.js +0 -0
@@ -0,0 +1,701 @@
|
|
1
|
+
var Ee = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, ce = Math.ceil, y = Math.floor, U = "[BigNumber Error] ", pe = U + "Number primitive has more than 15 significant digits: ", H = 1e14, N = 14, ae = 9007199254740991, he = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], J = 1e7, D = 1e9;
|
2
|
+
function we(O) {
|
3
|
+
var E, _, R, g = h.prototype = { constructor: h, toString: null, valueOf: null }, T = new h(1), x = 20, S = 4, C = -7, k = 21, Q = -1e7, z = 1e7, Z = !1, b = 1, Y = 0, te = {
|
4
|
+
prefix: "",
|
5
|
+
groupSize: 3,
|
6
|
+
secondaryGroupSize: 0,
|
7
|
+
groupSeparator: ",",
|
8
|
+
decimalSeparator: ".",
|
9
|
+
fractionGroupSize: 0,
|
10
|
+
fractionGroupSeparator: " ",
|
11
|
+
// non-breaking space
|
12
|
+
suffix: ""
|
13
|
+
}, K = "0123456789abcdefghijklmnopqrstuvwxyz", fe = !0;
|
14
|
+
function h(e, r) {
|
15
|
+
var i, s, t, l, c, n, f, u, o = this;
|
16
|
+
if (!(o instanceof h))
|
17
|
+
return new h(e, r);
|
18
|
+
if (r == null) {
|
19
|
+
if (e && e._isBigNumber === !0) {
|
20
|
+
o.s = e.s, !e.c || e.e > z ? o.c = o.e = null : e.e < Q ? o.c = [o.e = 0] : (o.e = e.e, o.c = e.c.slice());
|
21
|
+
return;
|
22
|
+
}
|
23
|
+
if ((n = typeof e == "number") && e * 0 == 0) {
|
24
|
+
if (o.s = 1 / e < 0 ? (e = -e, -1) : 1, e === ~~e) {
|
25
|
+
for (l = 0, c = e; c >= 10; c /= 10, l++)
|
26
|
+
;
|
27
|
+
l > z ? o.c = o.e = null : (o.e = l, o.c = [e]);
|
28
|
+
return;
|
29
|
+
}
|
30
|
+
u = String(e);
|
31
|
+
} else {
|
32
|
+
if (!Ee.test(u = String(e)))
|
33
|
+
return R(o, u, n);
|
34
|
+
o.s = u.charCodeAt(0) == 45 ? (u = u.slice(1), -1) : 1;
|
35
|
+
}
|
36
|
+
(l = u.indexOf(".")) > -1 && (u = u.replace(".", "")), (c = u.search(/e/i)) > 0 ? (l < 0 && (l = c), l += +u.slice(c + 1), u = u.substring(0, c)) : l < 0 && (l = u.length);
|
37
|
+
} else {
|
38
|
+
if (v(r, 2, K.length, "Base"), r == 10 && fe)
|
39
|
+
return o = new h(e), G(o, x + o.e + 1, S);
|
40
|
+
if (u = String(e), n = typeof e == "number") {
|
41
|
+
if (e * 0 != 0)
|
42
|
+
return R(o, u, n, r);
|
43
|
+
if (o.s = 1 / e < 0 ? (u = u.slice(1), -1) : 1, h.DEBUG && u.replace(/^0\.0*|\./, "").length > 15)
|
44
|
+
throw Error(pe + e);
|
45
|
+
} else
|
46
|
+
o.s = u.charCodeAt(0) === 45 ? (u = u.slice(1), -1) : 1;
|
47
|
+
for (i = K.slice(0, r), l = c = 0, f = u.length; c < f; c++)
|
48
|
+
if (i.indexOf(s = u.charAt(c)) < 0) {
|
49
|
+
if (s == ".") {
|
50
|
+
if (c > l) {
|
51
|
+
l = f;
|
52
|
+
continue;
|
53
|
+
}
|
54
|
+
} else if (!t && (u == u.toUpperCase() && (u = u.toLowerCase()) || u == u.toLowerCase() && (u = u.toUpperCase()))) {
|
55
|
+
t = !0, c = -1, l = 0;
|
56
|
+
continue;
|
57
|
+
}
|
58
|
+
return R(o, String(e), n, r);
|
59
|
+
}
|
60
|
+
n = !1, u = _(u, r, 10, o.s), (l = u.indexOf(".")) > -1 ? u = u.replace(".", "") : l = u.length;
|
61
|
+
}
|
62
|
+
for (c = 0; u.charCodeAt(c) === 48; c++)
|
63
|
+
;
|
64
|
+
for (f = u.length; u.charCodeAt(--f) === 48; )
|
65
|
+
;
|
66
|
+
if (u = u.slice(c, ++f)) {
|
67
|
+
if (f -= c, n && h.DEBUG && f > 15 && (e > ae || e !== y(e)))
|
68
|
+
throw Error(pe + o.s * e);
|
69
|
+
if ((l = l - c - 1) > z)
|
70
|
+
o.c = o.e = null;
|
71
|
+
else if (l < Q)
|
72
|
+
o.c = [o.e = 0];
|
73
|
+
else {
|
74
|
+
if (o.e = l, o.c = [], c = (l + 1) % N, l < 0 && (c += N), c < f) {
|
75
|
+
for (c && o.c.push(+u.slice(0, c)), f -= N; c < f; )
|
76
|
+
o.c.push(+u.slice(c, c += N));
|
77
|
+
c = N - (u = u.slice(c)).length;
|
78
|
+
} else
|
79
|
+
c -= f;
|
80
|
+
for (; c--; u += "0")
|
81
|
+
;
|
82
|
+
o.c.push(+u);
|
83
|
+
}
|
84
|
+
} else
|
85
|
+
o.c = [o.e = 0];
|
86
|
+
}
|
87
|
+
h.clone = we, h.ROUND_UP = 0, h.ROUND_DOWN = 1, h.ROUND_CEIL = 2, h.ROUND_FLOOR = 3, h.ROUND_HALF_UP = 4, h.ROUND_HALF_DOWN = 5, h.ROUND_HALF_EVEN = 6, h.ROUND_HALF_CEIL = 7, h.ROUND_HALF_FLOOR = 8, h.EUCLID = 9, h.config = h.set = function(e) {
|
88
|
+
var r, i;
|
89
|
+
if (e != null)
|
90
|
+
if (typeof e == "object") {
|
91
|
+
if (e.hasOwnProperty(r = "DECIMAL_PLACES") && (i = e[r], v(i, 0, D, r), x = i), e.hasOwnProperty(r = "ROUNDING_MODE") && (i = e[r], v(i, 0, 8, r), S = i), e.hasOwnProperty(r = "EXPONENTIAL_AT") && (i = e[r], i && i.pop ? (v(i[0], -D, 0, r), v(i[1], 0, D, r), C = i[0], k = i[1]) : (v(i, -D, D, r), C = -(k = i < 0 ? -i : i))), e.hasOwnProperty(r = "RANGE"))
|
92
|
+
if (i = e[r], i && i.pop)
|
93
|
+
v(i[0], -D, -1, r), v(i[1], 1, D, r), Q = i[0], z = i[1];
|
94
|
+
else if (v(i, -D, D, r), i)
|
95
|
+
Q = -(z = i < 0 ? -i : i);
|
96
|
+
else
|
97
|
+
throw Error(U + r + " cannot be zero: " + i);
|
98
|
+
if (e.hasOwnProperty(r = "CRYPTO"))
|
99
|
+
if (i = e[r], i === !!i)
|
100
|
+
if (i)
|
101
|
+
if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes))
|
102
|
+
Z = i;
|
103
|
+
else
|
104
|
+
throw Z = !i, Error(U + "crypto unavailable");
|
105
|
+
else
|
106
|
+
Z = i;
|
107
|
+
else
|
108
|
+
throw Error(U + r + " not true or false: " + i);
|
109
|
+
if (e.hasOwnProperty(r = "MODULO_MODE") && (i = e[r], v(i, 0, 9, r), b = i), e.hasOwnProperty(r = "POW_PRECISION") && (i = e[r], v(i, 0, D, r), Y = i), e.hasOwnProperty(r = "FORMAT"))
|
110
|
+
if (i = e[r], typeof i == "object")
|
111
|
+
te = i;
|
112
|
+
else
|
113
|
+
throw Error(U + r + " not an object: " + i);
|
114
|
+
if (e.hasOwnProperty(r = "ALPHABET"))
|
115
|
+
if (i = e[r], typeof i == "string" && !/^.?$|[+\-.\s]|(.).*\1/.test(i))
|
116
|
+
fe = i.slice(0, 10) == "0123456789", K = i;
|
117
|
+
else
|
118
|
+
throw Error(U + r + " invalid: " + i);
|
119
|
+
} else
|
120
|
+
throw Error(U + "Object expected: " + e);
|
121
|
+
return {
|
122
|
+
DECIMAL_PLACES: x,
|
123
|
+
ROUNDING_MODE: S,
|
124
|
+
EXPONENTIAL_AT: [C, k],
|
125
|
+
RANGE: [Q, z],
|
126
|
+
CRYPTO: Z,
|
127
|
+
MODULO_MODE: b,
|
128
|
+
POW_PRECISION: Y,
|
129
|
+
FORMAT: te,
|
130
|
+
ALPHABET: K
|
131
|
+
};
|
132
|
+
}, h.isBigNumber = function(e) {
|
133
|
+
if (!e || e._isBigNumber !== !0)
|
134
|
+
return !1;
|
135
|
+
if (!h.DEBUG)
|
136
|
+
return !0;
|
137
|
+
var r, i, s = e.c, t = e.e, l = e.s;
|
138
|
+
e:
|
139
|
+
if ({}.toString.call(s) == "[object Array]") {
|
140
|
+
if ((l === 1 || l === -1) && t >= -D && t <= D && t === y(t)) {
|
141
|
+
if (s[0] === 0) {
|
142
|
+
if (t === 0 && s.length === 1)
|
143
|
+
return !0;
|
144
|
+
break e;
|
145
|
+
}
|
146
|
+
if (r = (t + 1) % N, r < 1 && (r += N), String(s[0]).length == r) {
|
147
|
+
for (r = 0; r < s.length; r++)
|
148
|
+
if (i = s[r], i < 0 || i >= H || i !== y(i))
|
149
|
+
break e;
|
150
|
+
if (i !== 0)
|
151
|
+
return !0;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
} else if (s === null && t === null && (l === null || l === 1 || l === -1))
|
155
|
+
return !0;
|
156
|
+
throw Error(U + "Invalid BigNumber: " + e);
|
157
|
+
}, h.maximum = h.max = function() {
|
158
|
+
return ge(arguments, -1);
|
159
|
+
}, h.minimum = h.min = function() {
|
160
|
+
return ge(arguments, 1);
|
161
|
+
}, h.random = function() {
|
162
|
+
var e = 9007199254740992, r = Math.random() * e & 2097151 ? function() {
|
163
|
+
return y(Math.random() * e);
|
164
|
+
} : function() {
|
165
|
+
return (Math.random() * 1073741824 | 0) * 8388608 + (Math.random() * 8388608 | 0);
|
166
|
+
};
|
167
|
+
return function(i) {
|
168
|
+
var s, t, l, c, n, f = 0, u = [], o = new h(T);
|
169
|
+
if (i == null ? i = x : v(i, 0, D), c = ce(i / N), Z)
|
170
|
+
if (crypto.getRandomValues) {
|
171
|
+
for (s = crypto.getRandomValues(new Uint32Array(c *= 2)); f < c; )
|
172
|
+
n = s[f] * 131072 + (s[f + 1] >>> 11), n >= 9e15 ? (t = crypto.getRandomValues(new Uint32Array(2)), s[f] = t[0], s[f + 1] = t[1]) : (u.push(n % 1e14), f += 2);
|
173
|
+
f = c / 2;
|
174
|
+
} else if (crypto.randomBytes) {
|
175
|
+
for (s = crypto.randomBytes(c *= 7); f < c; )
|
176
|
+
n = (s[f] & 31) * 281474976710656 + s[f + 1] * 1099511627776 + s[f + 2] * 4294967296 + s[f + 3] * 16777216 + (s[f + 4] << 16) + (s[f + 5] << 8) + s[f + 6], n >= 9e15 ? crypto.randomBytes(7).copy(s, f) : (u.push(n % 1e14), f += 7);
|
177
|
+
f = c / 7;
|
178
|
+
} else
|
179
|
+
throw Z = !1, Error(U + "crypto unavailable");
|
180
|
+
if (!Z)
|
181
|
+
for (; f < c; )
|
182
|
+
n = r(), n < 9e15 && (u[f++] = n % 1e14);
|
183
|
+
for (c = u[--f], i %= N, c && i && (n = he[N - i], u[f] = y(c / n) * n); u[f] === 0; u.pop(), f--)
|
184
|
+
;
|
185
|
+
if (f < 0)
|
186
|
+
u = [l = 0];
|
187
|
+
else {
|
188
|
+
for (l = -1; u[0] === 0; u.splice(0, 1), l -= N)
|
189
|
+
;
|
190
|
+
for (f = 1, n = u[0]; n >= 10; n /= 10, f++)
|
191
|
+
;
|
192
|
+
f < N && (l -= N - f);
|
193
|
+
}
|
194
|
+
return o.e = l, o.c = u, o;
|
195
|
+
};
|
196
|
+
}(), h.sum = function() {
|
197
|
+
for (var e = 1, r = arguments, i = new h(r[0]); e < r.length; )
|
198
|
+
i = i.plus(r[e++]);
|
199
|
+
return i;
|
200
|
+
}, _ = /* @__PURE__ */ function() {
|
201
|
+
var e = "0123456789";
|
202
|
+
function r(i, s, t, l) {
|
203
|
+
for (var c, n = [0], f, u = 0, o = i.length; u < o; ) {
|
204
|
+
for (f = n.length; f--; n[f] *= s)
|
205
|
+
;
|
206
|
+
for (n[0] += l.indexOf(i.charAt(u++)), c = 0; c < n.length; c++)
|
207
|
+
n[c] > t - 1 && (n[c + 1] == null && (n[c + 1] = 0), n[c + 1] += n[c] / t | 0, n[c] %= t);
|
208
|
+
}
|
209
|
+
return n.reverse();
|
210
|
+
}
|
211
|
+
return function(i, s, t, l, c) {
|
212
|
+
var n, f, u, o, a, p, w, A, B = i.indexOf("."), M = x, m = S;
|
213
|
+
for (B >= 0 && (o = Y, Y = 0, i = i.replace(".", ""), A = new h(s), p = A.pow(i.length - B), Y = o, A.c = r(
|
214
|
+
W(q(p.c), p.e, "0"),
|
215
|
+
10,
|
216
|
+
t,
|
217
|
+
e
|
218
|
+
), A.e = A.c.length), w = r(i, s, t, c ? (n = K, e) : (n = e, K)), u = o = w.length; w[--o] == 0; w.pop())
|
219
|
+
;
|
220
|
+
if (!w[0])
|
221
|
+
return n.charAt(0);
|
222
|
+
if (B < 0 ? --u : (p.c = w, p.e = u, p.s = l, p = E(p, A, M, m, t), w = p.c, a = p.r, u = p.e), f = u + M + 1, B = w[f], o = t / 2, a = a || f < 0 || w[f + 1] != null, a = m < 4 ? (B != null || a) && (m == 0 || m == (p.s < 0 ? 3 : 2)) : B > o || B == o && (m == 4 || a || m == 6 && w[f - 1] & 1 || m == (p.s < 0 ? 8 : 7)), f < 1 || !w[0])
|
223
|
+
i = a ? W(n.charAt(1), -M, n.charAt(0)) : n.charAt(0);
|
224
|
+
else {
|
225
|
+
if (w.length = f, a)
|
226
|
+
for (--t; ++w[--f] > t; )
|
227
|
+
w[f] = 0, f || (++u, w = [1].concat(w));
|
228
|
+
for (o = w.length; !w[--o]; )
|
229
|
+
;
|
230
|
+
for (B = 0, i = ""; B <= o; i += n.charAt(w[B++]))
|
231
|
+
;
|
232
|
+
i = W(i, u, n.charAt(0));
|
233
|
+
}
|
234
|
+
return i;
|
235
|
+
};
|
236
|
+
}(), E = /* @__PURE__ */ function() {
|
237
|
+
function e(s, t, l) {
|
238
|
+
var c, n, f, u, o = 0, a = s.length, p = t % J, w = t / J | 0;
|
239
|
+
for (s = s.slice(); a--; )
|
240
|
+
f = s[a] % J, u = s[a] / J | 0, c = w * f + u * p, n = p * f + c % J * J + o, o = (n / l | 0) + (c / J | 0) + w * u, s[a] = n % l;
|
241
|
+
return o && (s = [o].concat(s)), s;
|
242
|
+
}
|
243
|
+
function r(s, t, l, c) {
|
244
|
+
var n, f;
|
245
|
+
if (l != c)
|
246
|
+
f = l > c ? 1 : -1;
|
247
|
+
else
|
248
|
+
for (n = f = 0; n < l; n++)
|
249
|
+
if (s[n] != t[n]) {
|
250
|
+
f = s[n] > t[n] ? 1 : -1;
|
251
|
+
break;
|
252
|
+
}
|
253
|
+
return f;
|
254
|
+
}
|
255
|
+
function i(s, t, l, c) {
|
256
|
+
for (var n = 0; l--; )
|
257
|
+
s[l] -= n, n = s[l] < t[l] ? 1 : 0, s[l] = n * c + s[l] - t[l];
|
258
|
+
for (; !s[0] && s.length > 1; s.splice(0, 1))
|
259
|
+
;
|
260
|
+
}
|
261
|
+
return function(s, t, l, c, n) {
|
262
|
+
var f, u, o, a, p, w, A, B, M, m, d, P, re, se, ue, X, ee, F = s.s == t.s ? 1 : -1, L = s.c, I = t.c;
|
263
|
+
if (!L || !L[0] || !I || !I[0])
|
264
|
+
return new h(
|
265
|
+
// Return NaN if either NaN, or both Infinity or 0.
|
266
|
+
!s.s || !t.s || (L ? I && L[0] == I[0] : !I) ? NaN : (
|
267
|
+
// Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
|
268
|
+
L && L[0] == 0 || !I ? F * 0 : F / 0
|
269
|
+
)
|
270
|
+
);
|
271
|
+
for (B = new h(F), M = B.c = [], u = s.e - t.e, F = l + u + 1, n || (n = H, u = $(s.e / N) - $(t.e / N), F = F / N | 0), o = 0; I[o] == (L[o] || 0); o++)
|
272
|
+
;
|
273
|
+
if (I[o] > (L[o] || 0) && u--, F < 0)
|
274
|
+
M.push(1), a = !0;
|
275
|
+
else {
|
276
|
+
for (se = L.length, X = I.length, o = 0, F += 2, p = y(n / (I[0] + 1)), p > 1 && (I = e(I, p, n), L = e(L, p, n), X = I.length, se = L.length), re = X, m = L.slice(0, X), d = m.length; d < X; m[d++] = 0)
|
277
|
+
;
|
278
|
+
ee = I.slice(), ee = [0].concat(ee), ue = I[0], I[1] >= n / 2 && ue++;
|
279
|
+
do {
|
280
|
+
if (p = 0, f = r(I, m, X, d), f < 0) {
|
281
|
+
if (P = m[0], X != d && (P = P * n + (m[1] || 0)), p = y(P / ue), p > 1)
|
282
|
+
for (p >= n && (p = n - 1), w = e(I, p, n), A = w.length, d = m.length; r(w, m, A, d) == 1; )
|
283
|
+
p--, i(w, X < A ? ee : I, A, n), A = w.length, f = 1;
|
284
|
+
else
|
285
|
+
p == 0 && (f = p = 1), w = I.slice(), A = w.length;
|
286
|
+
if (A < d && (w = [0].concat(w)), i(m, w, d, n), d = m.length, f == -1)
|
287
|
+
for (; r(I, m, X, d) < 1; )
|
288
|
+
p++, i(m, X < d ? ee : I, d, n), d = m.length;
|
289
|
+
} else
|
290
|
+
f === 0 && (p++, m = [0]);
|
291
|
+
M[o++] = p, m[0] ? m[d++] = L[re] || 0 : (m = [L[re]], d = 1);
|
292
|
+
} while ((re++ < se || m[0] != null) && F--);
|
293
|
+
a = m[0] != null, M[0] || M.splice(0, 1);
|
294
|
+
}
|
295
|
+
if (n == H) {
|
296
|
+
for (o = 1, F = M[0]; F >= 10; F /= 10, o++)
|
297
|
+
;
|
298
|
+
G(B, l + (B.e = o + u * N - 1) + 1, c, a);
|
299
|
+
} else
|
300
|
+
B.e = u, B.r = +a;
|
301
|
+
return B;
|
302
|
+
};
|
303
|
+
}();
|
304
|
+
function le(e, r, i, s) {
|
305
|
+
var t, l, c, n, f;
|
306
|
+
if (i == null ? i = S : v(i, 0, 8), !e.c)
|
307
|
+
return e.toString();
|
308
|
+
if (t = e.c[0], c = e.e, r == null)
|
309
|
+
f = q(e.c), f = s == 1 || s == 2 && (c <= C || c >= k) ? ne(f, c) : W(f, c, "0");
|
310
|
+
else if (e = G(new h(e), r, i), l = e.e, f = q(e.c), n = f.length, s == 1 || s == 2 && (r <= l || l <= C)) {
|
311
|
+
for (; n < r; f += "0", n++)
|
312
|
+
;
|
313
|
+
f = ne(f, l);
|
314
|
+
} else if (r -= c, f = W(f, l, "0"), l + 1 > n) {
|
315
|
+
if (--r > 0)
|
316
|
+
for (f += "."; r--; f += "0")
|
317
|
+
;
|
318
|
+
} else if (r += l - n, r > 0)
|
319
|
+
for (l + 1 == n && (f += "."); r--; f += "0")
|
320
|
+
;
|
321
|
+
return e.s < 0 && t ? "-" + f : f;
|
322
|
+
}
|
323
|
+
function ge(e, r) {
|
324
|
+
for (var i, s, t = 1, l = new h(e[0]); t < e.length; t++)
|
325
|
+
s = new h(e[t]), (!s.s || (i = j(l, s)) === r || i === 0 && l.s === r) && (l = s);
|
326
|
+
return l;
|
327
|
+
}
|
328
|
+
function oe(e, r, i) {
|
329
|
+
for (var s = 1, t = r.length; !r[--t]; r.pop())
|
330
|
+
;
|
331
|
+
for (t = r[0]; t >= 10; t /= 10, s++)
|
332
|
+
;
|
333
|
+
return (i = s + i * N - 1) > z ? e.c = e.e = null : i < Q ? e.c = [e.e = 0] : (e.e = i, e.c = r), e;
|
334
|
+
}
|
335
|
+
R = /* @__PURE__ */ function() {
|
336
|
+
var e = /^(-?)0([xbo])(?=\w[\w.]*$)/i, r = /^([^.]+)\.$/, i = /^\.([^.]+)$/, s = /^-?(Infinity|NaN)$/, t = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
|
337
|
+
return function(l, c, n, f) {
|
338
|
+
var u, o = n ? c : c.replace(t, "");
|
339
|
+
if (s.test(o))
|
340
|
+
l.s = isNaN(o) ? null : o < 0 ? -1 : 1;
|
341
|
+
else {
|
342
|
+
if (!n && (o = o.replace(e, function(a, p, w) {
|
343
|
+
return u = (w = w.toLowerCase()) == "x" ? 16 : w == "b" ? 2 : 8, !f || f == u ? p : a;
|
344
|
+
}), f && (u = f, o = o.replace(r, "$1").replace(i, "0.$1")), c != o))
|
345
|
+
return new h(o, u);
|
346
|
+
if (h.DEBUG)
|
347
|
+
throw Error(U + "Not a" + (f ? " base " + f : "") + " number: " + c);
|
348
|
+
l.s = null;
|
349
|
+
}
|
350
|
+
l.c = l.e = null;
|
351
|
+
};
|
352
|
+
}();
|
353
|
+
function G(e, r, i, s) {
|
354
|
+
var t, l, c, n, f, u, o, a = e.c, p = he;
|
355
|
+
if (a) {
|
356
|
+
e: {
|
357
|
+
for (t = 1, n = a[0]; n >= 10; n /= 10, t++)
|
358
|
+
;
|
359
|
+
if (l = r - t, l < 0)
|
360
|
+
l += N, c = r, f = a[u = 0], o = y(f / p[t - c - 1] % 10);
|
361
|
+
else if (u = ce((l + 1) / N), u >= a.length)
|
362
|
+
if (s) {
|
363
|
+
for (; a.length <= u; a.push(0))
|
364
|
+
;
|
365
|
+
f = o = 0, t = 1, l %= N, c = l - N + 1;
|
366
|
+
} else
|
367
|
+
break e;
|
368
|
+
else {
|
369
|
+
for (f = n = a[u], t = 1; n >= 10; n /= 10, t++)
|
370
|
+
;
|
371
|
+
l %= N, c = l - N + t, o = c < 0 ? 0 : y(f / p[t - c - 1] % 10);
|
372
|
+
}
|
373
|
+
if (s = s || r < 0 || // Are there any non-zero digits after the rounding digit?
|
374
|
+
// The expression n % pows10[d - j - 1] returns all digits of n to the right
|
375
|
+
// of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
|
376
|
+
a[u + 1] != null || (c < 0 ? f : f % p[t - c - 1]), s = i < 4 ? (o || s) && (i == 0 || i == (e.s < 0 ? 3 : 2)) : o > 5 || o == 5 && (i == 4 || s || i == 6 && // Check whether the digit to the left of the rounding digit is odd.
|
377
|
+
(l > 0 ? c > 0 ? f / p[t - c] : 0 : a[u - 1]) % 10 & 1 || i == (e.s < 0 ? 8 : 7)), r < 1 || !a[0])
|
378
|
+
return a.length = 0, s ? (r -= e.e + 1, a[0] = p[(N - r % N) % N], e.e = -r || 0) : a[0] = e.e = 0, e;
|
379
|
+
if (l == 0 ? (a.length = u, n = 1, u--) : (a.length = u + 1, n = p[N - l], a[u] = c > 0 ? y(f / p[t - c] % p[c]) * n : 0), s)
|
380
|
+
for (; ; )
|
381
|
+
if (u == 0) {
|
382
|
+
for (l = 1, c = a[0]; c >= 10; c /= 10, l++)
|
383
|
+
;
|
384
|
+
for (c = a[0] += n, n = 1; c >= 10; c /= 10, n++)
|
385
|
+
;
|
386
|
+
l != n && (e.e++, a[0] == H && (a[0] = 1));
|
387
|
+
break;
|
388
|
+
} else {
|
389
|
+
if (a[u] += n, a[u] != H)
|
390
|
+
break;
|
391
|
+
a[u--] = 0, n = 1;
|
392
|
+
}
|
393
|
+
for (l = a.length; a[--l] === 0; a.pop())
|
394
|
+
;
|
395
|
+
}
|
396
|
+
e.e > z ? e.c = e.e = null : e.e < Q && (e.c = [e.e = 0]);
|
397
|
+
}
|
398
|
+
return e;
|
399
|
+
}
|
400
|
+
function V(e) {
|
401
|
+
var r, i = e.e;
|
402
|
+
return i === null ? e.toString() : (r = q(e.c), r = i <= C || i >= k ? ne(r, i) : W(r, i, "0"), e.s < 0 ? "-" + r : r);
|
403
|
+
}
|
404
|
+
return g.absoluteValue = g.abs = function() {
|
405
|
+
var e = new h(this);
|
406
|
+
return e.s < 0 && (e.s = 1), e;
|
407
|
+
}, g.comparedTo = function(e, r) {
|
408
|
+
return j(this, new h(e, r));
|
409
|
+
}, g.decimalPlaces = g.dp = function(e, r) {
|
410
|
+
var i, s, t, l = this;
|
411
|
+
if (e != null)
|
412
|
+
return v(e, 0, D), r == null ? r = S : v(r, 0, 8), G(new h(l), e + l.e + 1, r);
|
413
|
+
if (!(i = l.c))
|
414
|
+
return null;
|
415
|
+
if (s = ((t = i.length - 1) - $(this.e / N)) * N, t = i[t])
|
416
|
+
for (; t % 10 == 0; t /= 10, s--)
|
417
|
+
;
|
418
|
+
return s < 0 && (s = 0), s;
|
419
|
+
}, g.dividedBy = g.div = function(e, r) {
|
420
|
+
return E(this, new h(e, r), x, S);
|
421
|
+
}, g.dividedToIntegerBy = g.idiv = function(e, r) {
|
422
|
+
return E(this, new h(e, r), 0, 1);
|
423
|
+
}, g.exponentiatedBy = g.pow = function(e, r) {
|
424
|
+
var i, s, t, l, c, n, f, u, o, a = this;
|
425
|
+
if (e = new h(e), e.c && !e.isInteger())
|
426
|
+
throw Error(U + "Exponent not an integer: " + V(e));
|
427
|
+
if (r != null && (r = new h(r)), n = e.e > 14, !a.c || !a.c[0] || a.c[0] == 1 && !a.e && a.c.length == 1 || !e.c || !e.c[0])
|
428
|
+
return o = new h(Math.pow(+V(a), n ? e.s * (2 - ie(e)) : +V(e))), r ? o.mod(r) : o;
|
429
|
+
if (f = e.s < 0, r) {
|
430
|
+
if (r.c ? !r.c[0] : !r.s)
|
431
|
+
return new h(NaN);
|
432
|
+
s = !f && a.isInteger() && r.isInteger(), s && (a = a.mod(r));
|
433
|
+
} else {
|
434
|
+
if (e.e > 9 && (a.e > 0 || a.e < -1 || (a.e == 0 ? a.c[0] > 1 || n && a.c[1] >= 24e7 : a.c[0] < 8e13 || n && a.c[0] <= 9999975e7)))
|
435
|
+
return l = a.s < 0 && ie(e) ? -0 : 0, a.e > -1 && (l = 1 / l), new h(f ? 1 / l : l);
|
436
|
+
Y && (l = ce(Y / N + 2));
|
437
|
+
}
|
438
|
+
for (n ? (i = new h(0.5), f && (e.s = 1), u = ie(e)) : (t = Math.abs(+V(e)), u = t % 2), o = new h(T); ; ) {
|
439
|
+
if (u) {
|
440
|
+
if (o = o.times(a), !o.c)
|
441
|
+
break;
|
442
|
+
l ? o.c.length > l && (o.c.length = l) : s && (o = o.mod(r));
|
443
|
+
}
|
444
|
+
if (t) {
|
445
|
+
if (t = y(t / 2), t === 0)
|
446
|
+
break;
|
447
|
+
u = t % 2;
|
448
|
+
} else if (e = e.times(i), G(e, e.e + 1, 1), e.e > 14)
|
449
|
+
u = ie(e);
|
450
|
+
else {
|
451
|
+
if (t = +V(e), t === 0)
|
452
|
+
break;
|
453
|
+
u = t % 2;
|
454
|
+
}
|
455
|
+
a = a.times(a), l ? a.c && a.c.length > l && (a.c.length = l) : s && (a = a.mod(r));
|
456
|
+
}
|
457
|
+
return s ? o : (f && (o = T.div(o)), r ? o.mod(r) : l ? G(o, Y, S, c) : o);
|
458
|
+
}, g.integerValue = function(e) {
|
459
|
+
var r = new h(this);
|
460
|
+
return e == null ? e = S : v(e, 0, 8), G(r, r.e + 1, e);
|
461
|
+
}, g.isEqualTo = g.eq = function(e, r) {
|
462
|
+
return j(this, new h(e, r)) === 0;
|
463
|
+
}, g.isFinite = function() {
|
464
|
+
return !!this.c;
|
465
|
+
}, g.isGreaterThan = g.gt = function(e, r) {
|
466
|
+
return j(this, new h(e, r)) > 0;
|
467
|
+
}, g.isGreaterThanOrEqualTo = g.gte = function(e, r) {
|
468
|
+
return (r = j(this, new h(e, r))) === 1 || r === 0;
|
469
|
+
}, g.isInteger = function() {
|
470
|
+
return !!this.c && $(this.e / N) > this.c.length - 2;
|
471
|
+
}, g.isLessThan = g.lt = function(e, r) {
|
472
|
+
return j(this, new h(e, r)) < 0;
|
473
|
+
}, g.isLessThanOrEqualTo = g.lte = function(e, r) {
|
474
|
+
return (r = j(this, new h(e, r))) === -1 || r === 0;
|
475
|
+
}, g.isNaN = function() {
|
476
|
+
return !this.s;
|
477
|
+
}, g.isNegative = function() {
|
478
|
+
return this.s < 0;
|
479
|
+
}, g.isPositive = function() {
|
480
|
+
return this.s > 0;
|
481
|
+
}, g.isZero = function() {
|
482
|
+
return !!this.c && this.c[0] == 0;
|
483
|
+
}, g.minus = function(e, r) {
|
484
|
+
var i, s, t, l, c = this, n = c.s;
|
485
|
+
if (e = new h(e, r), r = e.s, !n || !r)
|
486
|
+
return new h(NaN);
|
487
|
+
if (n != r)
|
488
|
+
return e.s = -r, c.plus(e);
|
489
|
+
var f = c.e / N, u = e.e / N, o = c.c, a = e.c;
|
490
|
+
if (!f || !u) {
|
491
|
+
if (!o || !a)
|
492
|
+
return o ? (e.s = -r, e) : new h(a ? c : NaN);
|
493
|
+
if (!o[0] || !a[0])
|
494
|
+
return a[0] ? (e.s = -r, e) : new h(o[0] ? c : (
|
495
|
+
// IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
|
496
|
+
S == 3 ? -0 : 0
|
497
|
+
));
|
498
|
+
}
|
499
|
+
if (f = $(f), u = $(u), o = o.slice(), n = f - u) {
|
500
|
+
for ((l = n < 0) ? (n = -n, t = o) : (u = f, t = a), t.reverse(), r = n; r--; t.push(0))
|
501
|
+
;
|
502
|
+
t.reverse();
|
503
|
+
} else
|
504
|
+
for (s = (l = (n = o.length) < (r = a.length)) ? n : r, n = r = 0; r < s; r++)
|
505
|
+
if (o[r] != a[r]) {
|
506
|
+
l = o[r] < a[r];
|
507
|
+
break;
|
508
|
+
}
|
509
|
+
if (l && (t = o, o = a, a = t, e.s = -e.s), r = (s = a.length) - (i = o.length), r > 0)
|
510
|
+
for (; r--; o[i++] = 0)
|
511
|
+
;
|
512
|
+
for (r = H - 1; s > n; ) {
|
513
|
+
if (o[--s] < a[s]) {
|
514
|
+
for (i = s; i && !o[--i]; o[i] = r)
|
515
|
+
;
|
516
|
+
--o[i], o[s] += H;
|
517
|
+
}
|
518
|
+
o[s] -= a[s];
|
519
|
+
}
|
520
|
+
for (; o[0] == 0; o.splice(0, 1), --u)
|
521
|
+
;
|
522
|
+
return o[0] ? oe(e, o, u) : (e.s = S == 3 ? -1 : 1, e.c = [e.e = 0], e);
|
523
|
+
}, g.modulo = g.mod = function(e, r) {
|
524
|
+
var i, s, t = this;
|
525
|
+
return e = new h(e, r), !t.c || !e.s || e.c && !e.c[0] ? new h(NaN) : !e.c || t.c && !t.c[0] ? new h(t) : (b == 9 ? (s = e.s, e.s = 1, i = E(t, e, 0, 3), e.s = s, i.s *= s) : i = E(t, e, 0, b), e = t.minus(i.times(e)), !e.c[0] && b == 1 && (e.s = t.s), e);
|
526
|
+
}, g.multipliedBy = g.times = function(e, r) {
|
527
|
+
var i, s, t, l, c, n, f, u, o, a, p, w, A, B, M, m = this, d = m.c, P = (e = new h(e, r)).c;
|
528
|
+
if (!d || !P || !d[0] || !P[0])
|
529
|
+
return !m.s || !e.s || d && !d[0] && !P || P && !P[0] && !d ? e.c = e.e = e.s = null : (e.s *= m.s, !d || !P ? e.c = e.e = null : (e.c = [0], e.e = 0)), e;
|
530
|
+
for (s = $(m.e / N) + $(e.e / N), e.s *= m.s, f = d.length, a = P.length, f < a && (A = d, d = P, P = A, t = f, f = a, a = t), t = f + a, A = []; t--; A.push(0))
|
531
|
+
;
|
532
|
+
for (B = H, M = J, t = a; --t >= 0; ) {
|
533
|
+
for (i = 0, p = P[t] % M, w = P[t] / M | 0, c = f, l = t + c; l > t; )
|
534
|
+
u = d[--c] % M, o = d[c] / M | 0, n = w * u + o * p, u = p * u + n % M * M + A[l] + i, i = (u / B | 0) + (n / M | 0) + w * o, A[l--] = u % B;
|
535
|
+
A[l] = i;
|
536
|
+
}
|
537
|
+
return i ? ++s : A.splice(0, 1), oe(e, A, s);
|
538
|
+
}, g.negated = function() {
|
539
|
+
var e = new h(this);
|
540
|
+
return e.s = -e.s || null, e;
|
541
|
+
}, g.plus = function(e, r) {
|
542
|
+
var i, s = this, t = s.s;
|
543
|
+
if (e = new h(e, r), r = e.s, !t || !r)
|
544
|
+
return new h(NaN);
|
545
|
+
if (t != r)
|
546
|
+
return e.s = -r, s.minus(e);
|
547
|
+
var l = s.e / N, c = e.e / N, n = s.c, f = e.c;
|
548
|
+
if (!l || !c) {
|
549
|
+
if (!n || !f)
|
550
|
+
return new h(t / 0);
|
551
|
+
if (!n[0] || !f[0])
|
552
|
+
return f[0] ? e : new h(n[0] ? s : t * 0);
|
553
|
+
}
|
554
|
+
if (l = $(l), c = $(c), n = n.slice(), t = l - c) {
|
555
|
+
for (t > 0 ? (c = l, i = f) : (t = -t, i = n), i.reverse(); t--; i.push(0))
|
556
|
+
;
|
557
|
+
i.reverse();
|
558
|
+
}
|
559
|
+
for (t = n.length, r = f.length, t - r < 0 && (i = f, f = n, n = i, r = t), t = 0; r; )
|
560
|
+
t = (n[--r] = n[r] + f[r] + t) / H | 0, n[r] = H === n[r] ? 0 : n[r] % H;
|
561
|
+
return t && (n = [t].concat(n), ++c), oe(e, n, c);
|
562
|
+
}, g.precision = g.sd = function(e, r) {
|
563
|
+
var i, s, t, l = this;
|
564
|
+
if (e != null && e !== !!e)
|
565
|
+
return v(e, 1, D), r == null ? r = S : v(r, 0, 8), G(new h(l), e, r);
|
566
|
+
if (!(i = l.c))
|
567
|
+
return null;
|
568
|
+
if (t = i.length - 1, s = t * N + 1, t = i[t]) {
|
569
|
+
for (; t % 10 == 0; t /= 10, s--)
|
570
|
+
;
|
571
|
+
for (t = i[0]; t >= 10; t /= 10, s++)
|
572
|
+
;
|
573
|
+
}
|
574
|
+
return e && l.e + 1 > s && (s = l.e + 1), s;
|
575
|
+
}, g.shiftedBy = function(e) {
|
576
|
+
return v(e, -ae, ae), this.times("1e" + e);
|
577
|
+
}, g.squareRoot = g.sqrt = function() {
|
578
|
+
var e, r, i, s, t, l = this, c = l.c, n = l.s, f = l.e, u = x + 4, o = new h("0.5");
|
579
|
+
if (n !== 1 || !c || !c[0])
|
580
|
+
return new h(!n || n < 0 && (!c || c[0]) ? NaN : c ? l : 1 / 0);
|
581
|
+
if (n = Math.sqrt(+V(l)), n == 0 || n == 1 / 0 ? (r = q(c), (r.length + f) % 2 == 0 && (r += "0"), n = Math.sqrt(+r), f = $((f + 1) / 2) - (f < 0 || f % 2), n == 1 / 0 ? r = "5e" + f : (r = n.toExponential(), r = r.slice(0, r.indexOf("e") + 1) + f), i = new h(r)) : i = new h(n + ""), i.c[0]) {
|
582
|
+
for (f = i.e, n = f + u, n < 3 && (n = 0); ; )
|
583
|
+
if (t = i, i = o.times(t.plus(E(l, t, u, 1))), q(t.c).slice(0, n) === (r = q(i.c)).slice(0, n))
|
584
|
+
if (i.e < f && --n, r = r.slice(n - 3, n + 1), r == "9999" || !s && r == "4999") {
|
585
|
+
if (!s && (G(t, t.e + x + 2, 0), t.times(t).eq(l))) {
|
586
|
+
i = t;
|
587
|
+
break;
|
588
|
+
}
|
589
|
+
u += 4, n += 4, s = 1;
|
590
|
+
} else {
|
591
|
+
(!+r || !+r.slice(1) && r.charAt(0) == "5") && (G(i, i.e + x + 2, 1), e = !i.times(i).eq(l));
|
592
|
+
break;
|
593
|
+
}
|
594
|
+
}
|
595
|
+
return G(i, i.e + x + 1, S, e);
|
596
|
+
}, g.toExponential = function(e, r) {
|
597
|
+
return e != null && (v(e, 0, D), e++), le(this, e, r, 1);
|
598
|
+
}, g.toFixed = function(e, r) {
|
599
|
+
return e != null && (v(e, 0, D), e = e + this.e + 1), le(this, e, r);
|
600
|
+
}, g.toFormat = function(e, r, i) {
|
601
|
+
var s, t = this;
|
602
|
+
if (i == null)
|
603
|
+
e != null && r && typeof r == "object" ? (i = r, r = null) : e && typeof e == "object" ? (i = e, e = r = null) : i = te;
|
604
|
+
else if (typeof i != "object")
|
605
|
+
throw Error(U + "Argument not an object: " + i);
|
606
|
+
if (s = t.toFixed(e, r), t.c) {
|
607
|
+
var l, c = s.split("."), n = +i.groupSize, f = +i.secondaryGroupSize, u = i.groupSeparator || "", o = c[0], a = c[1], p = t.s < 0, w = p ? o.slice(1) : o, A = w.length;
|
608
|
+
if (f && (l = n, n = f, f = l, A -= l), n > 0 && A > 0) {
|
609
|
+
for (l = A % n || n, o = w.substr(0, l); l < A; l += n)
|
610
|
+
o += u + w.substr(l, n);
|
611
|
+
f > 0 && (o += u + w.slice(l)), p && (o = "-" + o);
|
612
|
+
}
|
613
|
+
s = a ? o + (i.decimalSeparator || "") + ((f = +i.fractionGroupSize) ? a.replace(
|
614
|
+
new RegExp("\\d{" + f + "}\\B", "g"),
|
615
|
+
"$&" + (i.fractionGroupSeparator || "")
|
616
|
+
) : a) : o;
|
617
|
+
}
|
618
|
+
return (i.prefix || "") + s + (i.suffix || "");
|
619
|
+
}, g.toFraction = function(e) {
|
620
|
+
var r, i, s, t, l, c, n, f, u, o, a, p, w = this, A = w.c;
|
621
|
+
if (e != null && (n = new h(e), !n.isInteger() && (n.c || n.s !== 1) || n.lt(T)))
|
622
|
+
throw Error(U + "Argument " + (n.isInteger() ? "out of range: " : "not an integer: ") + V(n));
|
623
|
+
if (!A)
|
624
|
+
return new h(w);
|
625
|
+
for (r = new h(T), u = i = new h(T), s = f = new h(T), p = q(A), l = r.e = p.length - w.e - 1, r.c[0] = he[(c = l % N) < 0 ? N + c : c], e = !e || n.comparedTo(r) > 0 ? l > 0 ? r : u : n, c = z, z = 1 / 0, n = new h(p), f.c[0] = 0; o = E(n, r, 0, 1), t = i.plus(o.times(s)), t.comparedTo(e) != 1; )
|
626
|
+
i = s, s = t, u = f.plus(o.times(t = u)), f = t, r = n.minus(o.times(t = r)), n = t;
|
627
|
+
return t = E(e.minus(i), s, 0, 1), f = f.plus(t.times(u)), i = i.plus(t.times(s)), f.s = u.s = w.s, l = l * 2, a = E(u, s, l, S).minus(w).abs().comparedTo(
|
628
|
+
E(f, i, l, S).minus(w).abs()
|
629
|
+
) < 1 ? [u, s] : [f, i], z = c, a;
|
630
|
+
}, g.toNumber = function() {
|
631
|
+
return +V(this);
|
632
|
+
}, g.toPrecision = function(e, r) {
|
633
|
+
return e != null && v(e, 1, D), le(this, e, r, 2);
|
634
|
+
}, g.toString = function(e) {
|
635
|
+
var r, i = this, s = i.s, t = i.e;
|
636
|
+
return t === null ? s ? (r = "Infinity", s < 0 && (r = "-" + r)) : r = "NaN" : (e == null ? r = t <= C || t >= k ? ne(q(i.c), t) : W(q(i.c), t, "0") : e === 10 && fe ? (i = G(new h(i), x + t + 1, S), r = W(q(i.c), i.e, "0")) : (v(e, 2, K.length, "Base"), r = _(W(q(i.c), t, "0"), 10, e, s, !0)), s < 0 && i.c[0] && (r = "-" + r)), r;
|
637
|
+
}, g.valueOf = g.toJSON = function() {
|
638
|
+
return V(this);
|
639
|
+
}, g._isBigNumber = !0, g[Symbol.toStringTag] = "BigNumber", g[Symbol.for("nodejs.util.inspect.custom")] = g.valueOf, O != null && h.set(O), h;
|
640
|
+
}
|
641
|
+
function $(O) {
|
642
|
+
var E = O | 0;
|
643
|
+
return O > 0 || O === E ? E : E - 1;
|
644
|
+
}
|
645
|
+
function q(O) {
|
646
|
+
for (var E, _, R = 1, g = O.length, T = O[0] + ""; R < g; ) {
|
647
|
+
for (E = O[R++] + "", _ = N - E.length; _--; E = "0" + E)
|
648
|
+
;
|
649
|
+
T += E;
|
650
|
+
}
|
651
|
+
for (g = T.length; T.charCodeAt(--g) === 48; )
|
652
|
+
;
|
653
|
+
return T.slice(0, g + 1 || 1);
|
654
|
+
}
|
655
|
+
function j(O, E) {
|
656
|
+
var _, R, g = O.c, T = E.c, x = O.s, S = E.s, C = O.e, k = E.e;
|
657
|
+
if (!x || !S)
|
658
|
+
return null;
|
659
|
+
if (_ = g && !g[0], R = T && !T[0], _ || R)
|
660
|
+
return _ ? R ? 0 : -S : x;
|
661
|
+
if (x != S)
|
662
|
+
return x;
|
663
|
+
if (_ = x < 0, R = C == k, !g || !T)
|
664
|
+
return R ? 0 : !g ^ _ ? 1 : -1;
|
665
|
+
if (!R)
|
666
|
+
return C > k ^ _ ? 1 : -1;
|
667
|
+
for (S = (C = g.length) < (k = T.length) ? C : k, x = 0; x < S; x++)
|
668
|
+
if (g[x] != T[x])
|
669
|
+
return g[x] > T[x] ^ _ ? 1 : -1;
|
670
|
+
return C == k ? 0 : C > k ^ _ ? 1 : -1;
|
671
|
+
}
|
672
|
+
function v(O, E, _, R) {
|
673
|
+
if (O < E || O > _ || O !== y(O))
|
674
|
+
throw Error(U + (R || "Argument") + (typeof O == "number" ? O < E || O > _ ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(O));
|
675
|
+
}
|
676
|
+
function ie(O) {
|
677
|
+
var E = O.c.length - 1;
|
678
|
+
return $(O.e / N) == E && O.c[E] % 2 != 0;
|
679
|
+
}
|
680
|
+
function ne(O, E) {
|
681
|
+
return (O.length > 1 ? O.charAt(0) + "." + O.slice(1) : O) + (E < 0 ? "e" : "e+") + E;
|
682
|
+
}
|
683
|
+
function W(O, E, _) {
|
684
|
+
var R, g;
|
685
|
+
if (E < 0) {
|
686
|
+
for (g = _ + "."; ++E; g += _)
|
687
|
+
;
|
688
|
+
O = g + O;
|
689
|
+
} else if (R = O.length, ++E > R) {
|
690
|
+
for (g = _, E -= R; --E; g += _)
|
691
|
+
;
|
692
|
+
O += g;
|
693
|
+
} else
|
694
|
+
E < R && (O = O.slice(0, E) + "." + O.slice(E));
|
695
|
+
return O;
|
696
|
+
}
|
697
|
+
var Ne = we();
|
698
|
+
export {
|
699
|
+
Ne as BigNumber,
|
700
|
+
Ne as default
|
701
|
+
};
|