@stokr/components-library 3.0.65 → 3.0.67
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/README.md +16 -3
- package/dist/_virtual/Collapse.js +4 -0
- package/dist/_virtual/Component.js +4 -0
- package/dist/_virtual/Range.js +4 -0
- package/dist/_virtual/ResizeObserver.es.js +6 -0
- package/dist/_virtual/UnmountClosed.js +4 -0
- package/dist/_virtual/_commonjsHelpers.js +38 -0
- package/dist/_virtual/arrows.js +4 -0
- package/dist/_virtual/attributes-to-props.js +4 -0
- package/dist/_virtual/constants.js +4 -0
- package/dist/_virtual/default-props.js +4 -0
- package/dist/_virtual/defaultRenderElements.js +4 -0
- package/dist/_virtual/dom-to-react.js +4 -0
- package/dist/_virtual/domparser.js +4 -0
- package/dist/_virtual/dots.js +4 -0
- package/dist/_virtual/getInnerHeight.js +4 -0
- package/dist/_virtual/getInnerWidth.js +4 -0
- package/dist/_virtual/getScrollbarWidth.js +4 -0
- package/dist/_virtual/hoist-non-react-statics.cjs.js +2 -0
- package/dist/_virtual/html-to-dom.js +4 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index10.js +5 -0
- package/dist/_virtual/index11.js +7 -0
- package/dist/_virtual/index12.js +7 -0
- package/dist/_virtual/index13.js +7 -0
- package/dist/_virtual/index14.js +4 -0
- package/dist/_virtual/index15.js +7 -0
- package/dist/_virtual/index16.js +7 -0
- package/dist/_virtual/index17.js +7 -0
- package/dist/_virtual/index18.js +4 -0
- package/dist/_virtual/index19.js +4 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index20.js +4 -0
- package/dist/_virtual/index21.js +4 -0
- package/dist/_virtual/index22.js +4 -0
- package/dist/_virtual/index23.js +4 -0
- package/dist/_virtual/index24.js +4 -0
- package/dist/_virtual/index25.js +4 -0
- package/dist/_virtual/index26.js +4 -0
- package/dist/_virtual/index27.js +4 -0
- package/dist/_virtual/index28.js +4 -0
- package/dist/_virtual/index29.js +4 -0
- package/dist/_virtual/index3.js +5 -0
- package/dist/_virtual/index30.js +4 -0
- package/dist/_virtual/index31.js +4 -0
- package/dist/_virtual/index4.js +5 -0
- package/dist/_virtual/index5.js +5 -0
- package/dist/_virtual/index6.js +5 -0
- package/dist/_virtual/index7.js +7 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/index9.js +5 -0
- package/dist/_virtual/initial-state.js +4 -0
- package/dist/_virtual/inner-slider.js +4 -0
- package/dist/_virtual/innerSliderUtils.js +4 -0
- package/dist/_virtual/isString.js +4 -0
- package/dist/_virtual/node.js +4 -0
- package/dist/_virtual/performance-now.js +4 -0
- package/dist/_virtual/popper.js +6 -0
- package/dist/_virtual/possibleStandardNamesOptimized.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-table.development.js +4 -0
- package/dist/_virtual/react-table.production.min.js +4 -0
- package/dist/_virtual/react-tippy.js +5 -0
- package/dist/_virtual/react-tippy2.js +4 -0
- package/dist/_virtual/returnFalse.js +4 -0
- package/dist/_virtual/slider.js +4 -0
- package/dist/_virtual/styles.js +4 -0
- package/dist/_virtual/track.js +4 -0
- package/dist/_virtual/types.js +4 -0
- package/dist/_virtual/utilities.js +4 -0
- package/dist/_virtual/utilities2.js +4 -0
- package/dist/_virtual/utilities3.js +4 -0
- package/dist/_virtual/utils.js +4 -0
- package/dist/analytics/index.js +1 -1
- package/dist/api/fetchData.js +2 -2
- package/dist/components/2FA/Connect2FA.js +1 -1
- package/dist/components/2FA/EnterCode.js +1 -1
- package/dist/components/2FA/Sucess2FA.js +1 -1
- package/dist/components/2FA/login-with-otp-flow.js +47 -12
- package/dist/components/2FA/main-flow.js +29 -5
- package/dist/components/AccountBalance/AccountBalance.js +1 -1
- package/dist/components/AdminDashboard/Table/ReactTable.js +5 -5
- package/dist/components/AdminDashboard/Table/ReactTableWrapper.js +1 -1
- package/dist/components/AdminDashboard/Table/Table.js +1 -1
- package/dist/components/AgreementItem/AgreementItem.js +1 -1
- package/dist/components/BackButton/BackButton.js +1 -1
- package/dist/components/Background/Background.js +1 -1
- package/dist/components/BasicTable/BasicTable.js +1 -1
- package/dist/components/BlogPost/BlogPost.js +1 -1
- package/dist/components/Button/Button.styles.js +1 -1
- package/dist/components/Button/GlareButton.js +2 -2
- package/dist/components/ChartLegend/ChartLegend.js +3 -3
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checklist/ChecklistCard.js +1 -1
- package/dist/components/Chips/Chip.js +1 -1
- package/dist/components/Chips/ChipWrapper.js +1 -1
- package/dist/components/ComponentScroll/ComponentScroll.js +3 -3
- package/dist/components/Country/CountrySelect.js +4 -4
- package/dist/components/CryptoAddress/ComponentWrap.js +1 -1
- package/dist/components/CryptoAddress/CryptoAddress.js +7 -7
- package/dist/components/CryptoAddress/RadioWrap.js +1 -1
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.js +1 -1
- package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.js +1 -1
- package/dist/components/FAQ/FAQ.js +1 -1
- package/dist/components/FAQ/FAQ.styles.js +2 -2
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/FooterLayout.js +1 -1
- package/dist/components/Footer/FooterMenu.js +3 -3
- package/dist/components/ForgotPasswordModal/ForgotPasswordModal.js +5 -5
- package/dist/components/Form/Form.js +2 -2
- package/dist/components/Form/Form.styles.js +1 -1
- package/dist/components/Header/Header.js +3 -3
- package/dist/components/HeroBlock/HeroVideoBlock.js +1 -1
- package/dist/components/IdentityInfo/IdentityInfo.js +1 -1
- package/dist/components/InfoIcon/InfoIcon.js +6 -6
- package/dist/components/Input/DatePickerInput.js +5 -3
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/InputPassword.js +1 -1
- package/dist/components/Input/InputUsername.js +1 -1
- package/dist/components/Input/InputWithButton.js +1 -1
- package/dist/components/Input/MultiSelect.js +4 -3
- package/dist/components/Input/OtpInput.js +2 -2
- package/dist/components/Input/RangeInput.js +4 -4
- package/dist/components/Input/Select.js +5 -4
- package/dist/components/Input/TableFilterDropdown.js +1 -1
- package/dist/components/InvestmentStat/InvestmentStat.js +1 -1
- package/dist/components/LatestUpdate/LatestUpdate.js +1 -1
- package/dist/components/Layout/Layout.js +1 -1
- package/dist/components/LoginModal/LoginModal.js +6 -6
- package/dist/components/MainMenu/DynamicMainMenu.js +3 -3
- package/dist/components/MainMenu/MainMenu.js +6 -6
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/NewVentureModal/NewVentureModal.js +9 -9
- package/dist/components/Modal/PaymentModal.js +2 -2
- package/dist/components/Modal/SuccessModal/SuccessModal.js +3 -3
- package/dist/components/MultiProgressBar/MultiProgressBar.js +1 -1
- package/dist/components/Number/Number.js +1 -1
- package/dist/components/PageTransition/PageTransition.js +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Pagination/PaginationControls.js +1 -1
- package/dist/components/Payment/PaymentDisplay.js +4 -4
- package/dist/components/Payment/TimerComponent.js +1 -1
- package/dist/components/ProfileBadge/ProfileBadge.js +1 -1
- package/dist/components/ProfileBox/ProfileBox.js +1 -1
- package/dist/components/ProfileStat/ProfileStat.js +1 -1
- package/dist/components/QRCode/QRCode.js +2 -2
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/RefreshButton/RefreshButton.js +1 -1
- package/dist/components/RegisterConfirmModal/RegisterConfirmModal.js +1 -1
- package/dist/components/RegisterModal/RegisterModal.js +8 -8
- package/dist/components/RequestDataBox/RequestDataBox.js +1 -1
- package/dist/components/ResetConfirmModal/ResetConfirmModal.js +1 -1
- package/dist/components/ResetPasswordModal/ResetPasswordModal.js +6 -6
- package/dist/components/SEO/SEO.js +3 -3
- package/dist/components/Slider/Slider.js +4 -4
- package/dist/components/SmartLink/SmartLink.js +1 -1
- package/dist/components/Snackbar/Snackbar.js +1 -1
- package/dist/components/Snackbar/SnackbarProvider.js +1 -1
- package/dist/components/StepController/StepController.js +1 -1
- package/dist/components/StepController/StepControllerContext.js +1 -1
- package/dist/components/StepController/StepControllerProgress.js +1 -1
- package/dist/components/StepsProgress/StepIndicator.js +1 -1
- package/dist/components/StepsProgress/StepsProgress.js +1 -1
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/TabsNav/TabNav.js +1 -1
- package/dist/components/TabsNav/TabsNav.js +1 -1
- package/dist/components/TaxResidenceCard/TaxResidenceCard.js +1 -1
- package/dist/components/TaxResidenceCard/TaxResidenceCard.styles.js +2 -2
- package/dist/components/TeamOverview/TeamOverview.js +1 -1
- package/dist/components/TermsModal/TermsModal.js +5 -5
- package/dist/components/Timeline/TimelineStep.js +1 -1
- package/dist/components/ToDoList/ToDoList.js +3 -3
- package/dist/components/ToDoList/ToDoListTask.js +4 -4
- package/dist/components/TransactionDetails/TransactionDetails.js +1 -1
- package/dist/components/TransactionDetails/TransactionDetails.styles.js +2 -2
- package/dist/components/TransactionInfo/TransactionInfo.js +1 -1
- package/dist/components/VerifyEmailModal/VerifyEmailModal.js +5 -5
- package/dist/components/headerHo/HeaderHo.js +3 -1
- package/dist/components/logo/Logo.js +1 -1
- package/dist/components/taxId/register-taxid.js +4 -4
- package/dist/components-library.css +781 -0
- package/dist/context/Auth.js +15 -12
- package/dist/context/AuthContext.js +89 -16
- package/dist/firebase-config.js +4 -2
- package/dist/hooks/useNewVentureForm.js +1 -1
- package/dist/index.js +5 -4
- package/dist/model/axios.js +2 -1
- package/dist/model/axiosPublic.js +2 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +17 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +16 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +24 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +25 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +11 -0
- package/dist/node_modules/@date-fns/tz/date/index.js +66 -0
- package/dist/node_modules/@date-fns/tz/date/mini.js +124 -0
- package/dist/node_modules/@date-fns/tz/tzName/index.js +11 -0
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +28 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +345 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +31 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +10 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +84 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +50 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +169 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +83 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +53 -0
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +9 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +45 -0
- package/dist/node_modules/@firebase/app/dist/esm/index.esm.js +609 -0
- package/dist/node_modules/@firebase/auth/dist/esm/index-36fcbc82.js +5751 -0
- package/dist/node_modules/@firebase/component/dist/esm/index.esm.js +291 -0
- package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js +106 -0
- package/dist/node_modules/@firebase/util/dist/index.esm.js +828 -0
- package/dist/node_modules/@firebase/util/dist/postinstall.js +4 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +257 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +122 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +34 -0
- package/dist/node_modules/@lottiefiles/dotlottie-react/dist/index.js +53 -0
- package/dist/node_modules/@lottiefiles/dotlottie-web/dist/index.js +1973 -0
- package/dist/node_modules/add-px-to-style/index.js +48 -0
- package/dist/node_modules/axios/index.js +38 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js +71 -0
- package/dist/node_modules/axios/lib/adapters/fetch.js +219 -0
- package/dist/node_modules/axios/lib/adapters/xhr.js +141 -0
- package/dist/node_modules/axios/lib/axios.js +50 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +99 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.js +20 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/dist/node_modules/axios/lib/core/Axios.js +188 -0
- package/dist/node_modules/axios/lib/core/AxiosError.js +67 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +231 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +66 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.js +12 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +52 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.js +88 -0
- package/dist/node_modules/axios/lib/core/settle.js +18 -0
- package/dist/node_modules/axios/lib/core/transformData.js +17 -0
- package/dist/node_modules/axios/lib/defaults/index.js +116 -0
- package/dist/node_modules/axios/lib/defaults/transitional.js +9 -0
- package/dist/node_modules/axios/lib/env/data.js +4 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +34 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +77 -0
- package/dist/node_modules/axios/lib/helpers/bind.js +8 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.js +32 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/dist/node_modules/axios/lib/helpers/composeSignals.js +39 -0
- package/dist/node_modules/axios/lib/helpers/cookies.js +49 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +54 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +9 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +11 -0
- package/dist/node_modules/axios/lib/helpers/null.js +4 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +47 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +41 -0
- package/dist/node_modules/axios/lib/helpers/resolveConfig.js +46 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.js +36 -0
- package/dist/node_modules/axios/lib/helpers/spread.js +8 -0
- package/dist/node_modules/axios/lib/helpers/throttle.js +35 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.js +117 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +18 -0
- package/dist/node_modules/axios/lib/helpers/trackStream.js +80 -0
- package/dist/node_modules/axios/lib/helpers/validator.js +67 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/dist/node_modules/axios/lib/platform/common/utils.js +15 -0
- package/dist/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/axios/lib/utils.js +415 -0
- package/dist/node_modules/classnames/index.js +61 -0
- package/dist/node_modules/copy-to-clipboard/index.js +101 -0
- package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +6570 -0
- package/dist/node_modules/country-flag-icons/react/3x2/index.js +269 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +652 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +62 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +58 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +20 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +23 -0
- package/dist/node_modules/date-fns/addDays.js +12 -0
- package/dist/node_modules/date-fns/addMonths.js +26 -0
- package/dist/node_modules/date-fns/addWeeks.js +7 -0
- package/dist/node_modules/date-fns/addYears.js +7 -0
- package/dist/node_modules/date-fns/constants.js +14 -0
- package/dist/node_modules/date-fns/constructFrom.js +11 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +19 -0
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +14 -0
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +20 -0
- package/dist/node_modules/date-fns/eachYearOfInterval.js +20 -0
- package/dist/node_modules/date-fns/endOfISOWeek.js +7 -0
- package/dist/node_modules/date-fns/endOfMonth.js +11 -0
- package/dist/node_modules/date-fns/endOfWeek.js +15 -0
- package/dist/node_modules/date-fns/endOfYear.js +11 -0
- package/dist/node_modules/date-fns/format.js +77 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +12 -0
- package/dist/node_modules/date-fns/getDaysInMonth.js +14 -0
- package/dist/node_modules/date-fns/getDefaultOptions.js +7 -0
- package/dist/node_modules/date-fns/getISODay.js +8 -0
- package/dist/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +25 -0
- package/dist/node_modules/date-fns/getMonth.js +7 -0
- package/dist/node_modules/date-fns/getWeek.js +12 -0
- package/dist/node_modules/date-fns/getWeekYear.js +28 -0
- package/dist/node_modules/date-fns/getYear.js +7 -0
- package/dist/node_modules/date-fns/isAfter.js +7 -0
- package/dist/node_modules/date-fns/isBefore.js +7 -0
- package/dist/node_modules/date-fns/isDate.js +6 -0
- package/dist/node_modules/date-fns/isSameDay.js +13 -0
- package/dist/node_modules/date-fns/isSameMonth.js +12 -0
- package/dist/node_modules/date-fns/isSameYear.js +12 -0
- package/dist/node_modules/date-fns/isValid.js +8 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +20 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +43 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +16 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +85 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +36 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +12 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +164 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +122 -0
- package/dist/node_modules/date-fns/locale/en-US.js +20 -0
- package/dist/node_modules/date-fns/max.js +16 -0
- package/dist/node_modules/date-fns/min.js +16 -0
- package/dist/node_modules/date-fns/parse/_lib/Parser.js +25 -0
- package/dist/node_modules/date-fns/parse/_lib/Setter.js +44 -0
- package/dist/node_modules/date-fns/parse/_lib/constants.js +50 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +44 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +44 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +64 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +52 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +44 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +20 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +17 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +27 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +28 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +34 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +106 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +43 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +43 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +43 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +39 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +76 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +42 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +67 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +27 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +73 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +71 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +27 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +76 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +73 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +16 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +16 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +47 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers.js +67 -0
- package/dist/node_modules/date-fns/parse/_lib/utils.js +117 -0
- package/dist/node_modules/date-fns/parse.js +123 -0
- package/dist/node_modules/date-fns/setDay.js +17 -0
- package/dist/node_modules/date-fns/setISODay.js +12 -0
- package/dist/node_modules/date-fns/setISOWeek.js +11 -0
- package/dist/node_modules/date-fns/setMonth.js +17 -0
- package/dist/node_modules/date-fns/setWeek.js +11 -0
- package/dist/node_modules/date-fns/setYear.js +11 -0
- package/dist/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +7 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfMonth.js +10 -0
- package/dist/node_modules/date-fns/startOfWeek.js +15 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +17 -0
- package/dist/node_modules/date-fns/startOfYear.js +10 -0
- package/dist/node_modules/date-fns/toDate.js +7 -0
- package/dist/node_modules/date-fns/transpose.js +18 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +8 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/newDateUTC/index.js +9 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzIntlTimeZoneName/index.js +29 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js +89 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzPattern/index.js +4 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzTokenizeDate/index.js +81 -0
- package/dist/node_modules/date-fns-tz/dist/esm/format/formatters/index.js +125 -0
- package/dist/node_modules/date-fns-tz/dist/esm/format/index.js +24 -0
- package/dist/node_modules/date-fns-tz/dist/esm/formatInTimeZone/index.js +13 -0
- package/dist/node_modules/date-fns-tz/dist/esm/toDate/index.js +305 -0
- package/dist/node_modules/date-fns-tz/dist/esm/toZonedTime/index.js +14 -0
- package/dist/node_modules/deepmerge/dist/es.js +69 -0
- package/dist/node_modules/dom-css/index.js +65 -0
- package/dist/node_modules/domelementtype/lib/index.js +39 -0
- package/dist/node_modules/domhandler/lib/index.js +166 -0
- package/dist/node_modules/domhandler/lib/node.js +438 -0
- package/dist/node_modules/dompurify/dist/purify.es.js +1020 -0
- package/dist/node_modules/firebase/app/dist/esm/index.esm.js +20 -0
- package/dist/node_modules/firebase/auth/dist/esm/index.esm.js +44 -0
- package/dist/node_modules/formik/dist/formik.esm.js +969 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +92 -0
- package/dist/node_modules/html-dom-parser/lib/client/constants.js +55 -0
- package/dist/node_modules/html-dom-parser/lib/client/domparser.js +96 -0
- package/dist/node_modules/html-dom-parser/lib/client/html-to-dom.js +31 -0
- package/dist/node_modules/html-dom-parser/lib/client/utilities.js +96 -0
- package/dist/node_modules/html-react-parser/esm/index.js +5 -0
- package/dist/node_modules/html-react-parser/lib/attributes-to-props.js +64 -0
- package/dist/node_modules/html-react-parser/lib/dom-to-react.js +99 -0
- package/dist/node_modules/html-react-parser/lib/index.js +51 -0
- package/dist/node_modules/html-react-parser/lib/utilities.js +79 -0
- package/dist/node_modules/idb/build/index.js +69 -0
- package/dist/node_modules/idb/build/wrap-idb-value.js +148 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js +142 -0
- package/dist/node_modules/js-cookie/dist/js.cookie.js +99 -0
- package/dist/node_modules/json2mq/index.js +55 -0
- package/dist/node_modules/lodash-es/_DataView.js +6 -0
- package/dist/node_modules/lodash-es/_Hash.js +21 -0
- package/dist/node_modules/lodash-es/_ListCache.js +21 -0
- package/dist/node_modules/lodash-es/_Map.js +6 -0
- package/dist/node_modules/lodash-es/_MapCache.js +21 -0
- package/dist/node_modules/lodash-es/_Promise.js +6 -0
- package/dist/node_modules/lodash-es/_Set.js +6 -0
- package/dist/node_modules/lodash-es/_Stack.js +18 -0
- package/dist/node_modules/lodash-es/_Symbol.js +5 -0
- package/dist/node_modules/lodash-es/_Uint8Array.js +5 -0
- package/dist/node_modules/lodash-es/_WeakMap.js +6 -0
- package/dist/node_modules/lodash-es/_arrayEach.js +12 -0
- package/dist/node_modules/lodash-es/_arrayFilter.js +13 -0
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +24 -0
- package/dist/node_modules/lodash-es/_arrayMap.js +10 -0
- package/dist/node_modules/lodash-es/_arrayPush.js +10 -0
- package/dist/node_modules/lodash-es/_assignValue.js +13 -0
- package/dist/node_modules/lodash-es/_assocIndexOf.js +13 -0
- package/dist/node_modules/lodash-es/_baseAssign.js +8 -0
- package/dist/node_modules/lodash-es/_baseAssignIn.js +8 -0
- package/dist/node_modules/lodash-es/_baseAssignValue.js +16 -0
- package/dist/node_modules/lodash-es/_baseClone.js +88 -0
- package/dist/node_modules/lodash-es/_baseCreate.js +21 -0
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
- package/dist/node_modules/lodash-es/_baseGetTag.js +14 -0
- package/dist/node_modules/lodash-es/_baseIsArguments.js +9 -0
- package/dist/node_modules/lodash-es/_baseIsMap.js +9 -0
- package/dist/node_modules/lodash-es/_baseIsNative.js +22 -0
- package/dist/node_modules/lodash-es/_baseIsSet.js +9 -0
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +14 -0
- package/dist/node_modules/lodash-es/_baseKeys.js +19 -0
- package/dist/node_modules/lodash-es/_baseKeysIn.js +20 -0
- package/dist/node_modules/lodash-es/_baseTimes.js +10 -0
- package/dist/node_modules/lodash-es/_baseToString.js +21 -0
- package/dist/node_modules/lodash-es/_baseUnary.js +8 -0
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +9 -0
- package/dist/node_modules/lodash-es/_cloneBuffer.js +16 -0
- package/dist/node_modules/lodash-es/_cloneDataView.js +8 -0
- package/dist/node_modules/lodash-es/_cloneRegExp.js +9 -0
- package/dist/node_modules/lodash-es/_cloneSymbol.js +8 -0
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +8 -0
- package/dist/node_modules/lodash-es/_copyArray.js +11 -0
- package/dist/node_modules/lodash-es/_copyObject.js +23 -0
- package/dist/node_modules/lodash-es/_copySymbols.js +8 -0
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +8 -0
- package/dist/node_modules/lodash-es/_coreJsData.js +5 -0
- package/dist/node_modules/lodash-es/_defineProperty.js +12 -0
- package/dist/node_modules/lodash-es/_freeGlobal.js +4 -0
- package/dist/node_modules/lodash-es/_getAllKeys.js +9 -0
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +9 -0
- package/dist/node_modules/lodash-es/_getMapData.js +8 -0
- package/dist/node_modules/lodash-es/_getNative.js +9 -0
- package/dist/node_modules/lodash-es/_getPrototype.js +5 -0
- package/dist/node_modules/lodash-es/_getRawTag.js +25 -0
- package/dist/node_modules/lodash-es/_getSymbols.js +17 -0
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +16 -0
- package/dist/node_modules/lodash-es/_getTag.js +34 -0
- package/dist/node_modules/lodash-es/_getValue.js +6 -0
- package/dist/node_modules/lodash-es/_hashClear.js +8 -0
- package/dist/node_modules/lodash-es/_hashDelete.js +8 -0
- package/dist/node_modules/lodash-es/_hashGet.js +15 -0
- package/dist/node_modules/lodash-es/_hashHas.js +10 -0
- package/dist/node_modules/lodash-es/_hashSet.js +11 -0
- package/dist/node_modules/lodash-es/_initCloneArray.js +13 -0
- package/dist/node_modules/lodash-es/_initCloneByTag.js +43 -0
- package/dist/node_modules/lodash-es/_initCloneObject.js +9 -0
- package/dist/node_modules/lodash-es/_isIndex.js +10 -0
- package/dist/node_modules/lodash-es/_isKeyable.js +7 -0
- package/dist/node_modules/lodash-es/_isMasked.js +11 -0
- package/dist/node_modules/lodash-es/_isPrototype.js +8 -0
- package/dist/node_modules/lodash-es/_listCacheClear.js +7 -0
- package/dist/node_modules/lodash-es/_listCacheDelete.js +20 -0
- package/dist/node_modules/lodash-es/_listCacheGet.js +8 -0
- package/dist/node_modules/lodash-es/_listCacheHas.js +7 -0
- package/dist/node_modules/lodash-es/_listCacheSet.js +14 -0
- package/dist/node_modules/lodash-es/_mapCacheClear.js +14 -0
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +9 -0
- package/dist/node_modules/lodash-es/_mapCacheGet.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheHas.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheSet.js +10 -0
- package/dist/node_modules/lodash-es/_memoizeCapped.js +15 -0
- package/dist/node_modules/lodash-es/_nativeCreate.js +5 -0
- package/dist/node_modules/lodash-es/_nativeKeys.js +5 -0
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +12 -0
- package/dist/node_modules/lodash-es/_nodeUtil.js +18 -0
- package/dist/node_modules/lodash-es/_objectToString.js +8 -0
- package/dist/node_modules/lodash-es/_overArg.js +8 -0
- package/dist/node_modules/lodash-es/_root.js +6 -0
- package/dist/node_modules/lodash-es/_stackClear.js +8 -0
- package/dist/node_modules/lodash-es/_stackDelete.js +8 -0
- package/dist/node_modules/lodash-es/_stackGet.js +6 -0
- package/dist/node_modules/lodash-es/_stackHas.js +6 -0
- package/dist/node_modules/lodash-es/_stackSet.js +22 -0
- package/dist/node_modules/lodash-es/_stringToPath.js +16 -0
- package/dist/node_modules/lodash-es/_toKey.js +11 -0
- package/dist/node_modules/lodash-es/_toSource.js +18 -0
- package/dist/node_modules/lodash-es/clone.js +8 -0
- package/dist/node_modules/lodash-es/cloneDeep.js +8 -0
- package/dist/node_modules/lodash-es/eq.js +6 -0
- package/dist/node_modules/lodash-es/isArguments.js +13 -0
- package/dist/node_modules/lodash-es/isArray.js +4 -0
- package/dist/node_modules/lodash-es/isArrayLike.js +8 -0
- package/dist/node_modules/lodash-es/isBuffer.js +11 -0
- package/dist/node_modules/lodash-es/isFunction.js +13 -0
- package/dist/node_modules/lodash-es/isLength.js +7 -0
- package/dist/node_modules/lodash-es/isMap.js +8 -0
- package/dist/node_modules/lodash-es/isObject.js +7 -0
- package/dist/node_modules/lodash-es/isObjectLike.js +6 -0
- package/dist/node_modules/lodash-es/isPlainObject.js +22 -0
- package/dist/node_modules/lodash-es/isSet.js +8 -0
- package/dist/node_modules/lodash-es/isSymbol.js +9 -0
- package/dist/node_modules/lodash-es/isTypedArray.js +8 -0
- package/dist/node_modules/lodash-es/keys.js +9 -0
- package/dist/node_modules/lodash-es/keysIn.js +9 -0
- package/dist/node_modules/lodash-es/memoize.js +22 -0
- package/dist/node_modules/lodash-es/stubArray.js +6 -0
- package/dist/node_modules/lodash-es/stubFalse.js +6 -0
- package/dist/node_modules/lodash-es/toPath.js +16 -0
- package/dist/node_modules/lodash-es/toString.js +7 -0
- package/dist/node_modules/lodash.debounce/index.js +137 -0
- package/dist/node_modules/memoize-one/dist/memoize-one.esm.js +52 -0
- package/dist/node_modules/mixpanel-browser/dist/mixpanel.module.js +25533 -0
- package/dist/node_modules/object-assign/index.js +73 -0
- package/dist/node_modules/performance-now/lib/performance-now.js +42 -0
- package/dist/node_modules/popper.js/dist/esm/popper.js +1516 -0
- package/dist/node_modules/prefix-style/index.js +29 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +68 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +58 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +451 -0
- package/dist/node_modules/prop-types/index.js +20 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -0
- package/dist/node_modules/prop-types/lib/has.js +11 -0
- package/dist/node_modules/property-expr/index.js +105 -0
- package/dist/node_modules/qrcode.react/lib/esm/index.js +1099 -0
- package/dist/node_modules/raf/index.js +67 -0
- package/dist/node_modules/react-collapse/lib/Collapse.js +285 -0
- package/dist/node_modules/react-collapse/lib/UnmountClosed.js +278 -0
- package/dist/node_modules/react-collapse/lib/index.js +17 -0
- package/dist/node_modules/react-copy-to-clipboard/lib/Component.js +209 -0
- package/dist/node_modules/react-copy-to-clipboard/lib/index.js +14 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/defaultRenderElements.js +85 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/index.js +706 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/styles.js +67 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/index.js +24 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getInnerHeight.js +21 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getInnerWidth.js +21 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getScrollbarWidth.js +44 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/isString.js +19 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/returnFalse.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +325 -0
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +59 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +25 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +282 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +34 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +54 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +40 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +72 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +17 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +30 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +20 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +22 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getLabels.js +41 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +17 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +43 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +39 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +20 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +20 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +20 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +14 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +23 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +14 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +26 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +14 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/locale/en-US.js +62 -0
- package/dist/node_modules/react-day-picker/dist/esm/noonDateLib.js +145 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +42 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +33 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +33 -0
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +128 -0
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +100 -0
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +42 -0
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +55 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js +53 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +52 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +17 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +61 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +23 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +26 -0
- package/dist/node_modules/react-fast-compare/index.js +63 -0
- package/dist/node_modules/react-helmet/es/Helmet.js +717 -0
- package/dist/node_modules/react-helmet/node_modules/react-fast-compare/index.js +81 -0
- package/dist/node_modules/react-intersection-observer/dist/index.js +178 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +157 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +98 -0
- package/dist/node_modules/react-is/index.js +17 -0
- package/dist/node_modules/react-otp-input/lib/index.esm.js +168 -0
- package/dist/node_modules/react-portal/es/LegacyPortal.js +91 -0
- package/dist/node_modules/react-portal/es/Portal.js +74 -0
- package/dist/node_modules/react-portal/es/PortalCompat.js +12 -0
- package/dist/node_modules/react-portal/es/utils.js +4 -0
- package/dist/node_modules/react-property/lib/index.js +471 -0
- package/dist/node_modules/react-property/lib/possibleStandardNamesOptimized.js +499 -0
- package/dist/node_modules/react-range/lib/Range.js +592 -0
- package/dist/node_modules/react-range/lib/index.js +39 -0
- package/dist/node_modules/react-range/lib/types.js +19 -0
- package/dist/node_modules/react-range/lib/utils.js +318 -0
- package/dist/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +19 -0
- package/dist/node_modules/react-select/dist/Select-ef7c0426.esm.js +2317 -0
- package/dist/node_modules/react-select/dist/index-641ee5b8.esm.js +1071 -0
- package/dist/node_modules/react-select/dist/react-select.esm.js +20 -0
- package/dist/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +75 -0
- package/dist/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +51 -0
- package/dist/node_modules/react-side-effect/lib/index.js +105 -0
- package/dist/node_modules/react-slick/lib/arrows.js +248 -0
- package/dist/node_modules/react-slick/lib/default-props.js +85 -0
- package/dist/node_modules/react-slick/lib/dots.js +192 -0
- package/dist/node_modules/react-slick/lib/index.js +22 -0
- package/dist/node_modules/react-slick/lib/initial-state.js +48 -0
- package/dist/node_modules/react-slick/lib/inner-slider.js +810 -0
- package/dist/node_modules/react-slick/lib/slider.js +333 -0
- package/dist/node_modules/react-slick/lib/track.js +330 -0
- package/dist/node_modules/react-slick/lib/utils/innerSliderUtils.js +730 -0
- package/dist/node_modules/react-table/dist/react-table.development.js +3684 -0
- package/dist/node_modules/react-table/dist/react-table.production.min.js +1637 -0
- package/dist/node_modules/react-table/index.js +17 -0
- package/dist/node_modules/react-tippy/dist/react-tippy.js +1981 -0
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +495 -0
- package/dist/node_modules/string-convert/camel2hyphen.js +16 -0
- package/dist/node_modules/style-to-js/cjs/index.js +31 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +42 -0
- package/dist/node_modules/style-to-object/cjs/index.js +38 -0
- package/dist/node_modules/stylis/src/Enum.js +20 -0
- package/dist/node_modules/stylis/src/Middleware.js +22 -0
- package/dist/node_modules/stylis/src/Parser.js +157 -0
- package/dist/node_modules/stylis/src/Serializer.js +29 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +160 -0
- package/dist/node_modules/stylis/src/Utility.js +52 -0
- package/dist/node_modules/tiny-case/index.js +33 -0
- package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js +16 -0
- package/dist/node_modules/to-camel-case/index.js +18 -0
- package/dist/node_modules/to-no-case/index.js +32 -0
- package/dist/node_modules/to-space-case/index.js +18 -0
- package/dist/node_modules/toggle-selection/index.js +42 -0
- package/dist/node_modules/toposort/index.js +79 -0
- package/dist/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +5 -0
- package/dist/node_modules/yup/index.esm.js +1921 -0
- package/dist/routing/RouterWrapper.js +1 -1
- package/dist/styles/global.js +2 -2
- package/dist/utils/copyToClipboard.js +7 -7
- package/dist/utils/delete-redirect-cookie-and-navigate.js +3 -3
- package/dist/utils/moment.js +2 -3
- package/dist/utils/redirect-url.js +2 -2
- package/dist/utils/set-redirect-cookie.js +2 -2
- package/dist/utils/transition.js +1 -1
- package/package.json +1 -1
package/dist/context/Auth.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import api from "../node_modules/js-cookie/dist/js.cookie.js";
|
|
2
|
+
import "../node_modules/axios/index.js";
|
|
3
3
|
import axiosInstance from "../model/axios.js";
|
|
4
4
|
import axiosInstance$1 from "../model/axiosPublic.js";
|
|
5
5
|
import getCookieDomain from "../utils/get-cookie-domain.js";
|
|
6
6
|
import { getLastFirebaseConfig } from "../config.js";
|
|
7
7
|
import { initFirebase, getFirebaseAuth } from "../firebase-config.js";
|
|
8
|
-
import { updatePassword, updateProfile, signInWithCustomToken, signInWithEmailAndPassword, createUserWithEmailAndPassword, applyActionCode, verifyPasswordResetCode, confirmPasswordReset, onAuthStateChanged } from "firebase/auth";
|
|
8
|
+
import { an as updatePassword, al as updateProfile, a5 as signInWithCustomToken, ac as signInWithEmailAndPassword, ab as createUserWithEmailAndPassword, a8 as applyActionCode, aa as verifyPasswordResetCode, a7 as confirmPasswordReset, z as onAuthStateChanged } from "../node_modules/@firebase/auth/dist/esm/index-36fcbc82.js";
|
|
9
|
+
import "../node_modules/@firebase/app/dist/esm/index.esm.js";
|
|
10
|
+
import "../node_modules/@firebase/logger/dist/esm/index.esm.js";
|
|
11
|
+
import axios from "../node_modules/axios/lib/axios.js";
|
|
9
12
|
import { getConfig } from "../runtime-config.js";
|
|
10
13
|
function normalizeCustomToken(token) {
|
|
11
14
|
if (token == null) return "";
|
|
@@ -42,26 +45,26 @@ class Auth {
|
|
|
42
45
|
const expiresAtMs = Date.now() + expiresInMs;
|
|
43
46
|
const expiresInDays = expiresInMs / (24 * 60 * 60 * 1e3);
|
|
44
47
|
const finalOptions = { ...cookieOptions, expires: expiresInDays };
|
|
45
|
-
|
|
46
|
-
|
|
48
|
+
api.set("STOKR_ACCESS_TOKEN", token, finalOptions);
|
|
49
|
+
api.set("STOKR_ACCESS_TOKEN_EXPIRES", String(expiresAtMs), finalOptions);
|
|
47
50
|
}
|
|
48
51
|
static getAccessToken() {
|
|
49
|
-
return
|
|
52
|
+
return api.get("STOKR_ACCESS_TOKEN");
|
|
50
53
|
}
|
|
51
54
|
/** Returns the access token cookie expiry timestamp in ms, or null if not set. */
|
|
52
55
|
static getAccessTokenExpiresAt() {
|
|
53
|
-
const value =
|
|
56
|
+
const value = api.get("STOKR_ACCESS_TOKEN_EXPIRES");
|
|
54
57
|
if (value == null || value === "") return null;
|
|
55
58
|
const ts = parseInt(value, 10);
|
|
56
59
|
return Number.isFinite(ts) ? ts : null;
|
|
57
60
|
}
|
|
58
61
|
static logout() {
|
|
59
62
|
const cookieDomain = getCookieDomain();
|
|
60
|
-
|
|
61
|
-
|
|
63
|
+
api.remove("STOKR_ACCESS_TOKEN", cookieDomain);
|
|
64
|
+
api.remove("STOKR_ACCESS_TOKEN_EXPIRES", cookieDomain);
|
|
62
65
|
if (cookieDomain.domain) {
|
|
63
|
-
|
|
64
|
-
|
|
66
|
+
api.remove("STOKR_ACCESS_TOKEN");
|
|
67
|
+
api.remove("STOKR_ACCESS_TOKEN_EXPIRES");
|
|
65
68
|
}
|
|
66
69
|
}
|
|
67
70
|
static async login(email, password) {
|
|
@@ -95,7 +98,7 @@ class Auth {
|
|
|
95
98
|
err.code = fbCode === "INVALID_LOGIN_CREDENTIALS" ? "auth/invalid-credential" : "auth/internal-error";
|
|
96
99
|
throw err;
|
|
97
100
|
}
|
|
98
|
-
const { signInWithCustomToken: signInCustom } = await import("firebase/auth");
|
|
101
|
+
const { signInWithCustomToken: signInCustom } = await import("../node_modules/firebase/auth/dist/esm/index.esm.js");
|
|
99
102
|
try {
|
|
100
103
|
const cred = await signInCustom(auth, data.idToken);
|
|
101
104
|
return cred?.user;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import PropTypes from "
|
|
2
|
+
import PropTypes from "../_virtual/index2.js";
|
|
3
3
|
import axiosInstance from "../model/axios.js";
|
|
4
4
|
import { configure } from "../config.js";
|
|
5
5
|
import React__default, { Component } from "react";
|
|
@@ -14,16 +14,20 @@ import { getConfig, getPlatformURL } from "../runtime-config.js";
|
|
|
14
14
|
import avatarPlaceholder from "../static/images/avatar-placeholder.png.js";
|
|
15
15
|
import { getFirebaseAuth, isValidFirebaseConfig } from "../firebase-config.js";
|
|
16
16
|
import { isAlreadyOnOnboardingFlow } from "../utils/app-urls.js";
|
|
17
|
-
import { signOut, getMultiFactorResolver,
|
|
17
|
+
import { D as signOut, at as getMultiFactorResolver, T as TotpMultiFactorGenerator, au as multiFactor } from "../node_modules/@firebase/auth/dist/esm/index-36fcbc82.js";
|
|
18
|
+
import "../node_modules/@firebase/app/dist/esm/index.esm.js";
|
|
19
|
+
import "../node_modules/@firebase/logger/dist/esm/index.esm.js";
|
|
18
20
|
import { navigateToHref } from "../routing/navigate-app.js";
|
|
19
21
|
import { SuccessModal as SuccessModalComponent } from "../components/Modal/SuccessModal/SuccessModal.js";
|
|
20
22
|
const AuthContext = React__default.createContext();
|
|
21
23
|
const FALLBACK_AUTH_CONTEXT_VALUE = { user: null, isFetchingUser: false };
|
|
22
24
|
const INACTIVITY_TIME_MS = 5 * 60 * 1e3;
|
|
25
|
+
const INACTIVITY_WARNING_BEFORE_MS = 30 * 1e3;
|
|
23
26
|
const INACTIVITY_EVENTS = ["mousemove", "keydown", "click", "scroll", "touchstart"];
|
|
24
27
|
class AuthProviderClass extends Component {
|
|
25
28
|
userRef = React__default.createRef(null);
|
|
26
29
|
inactivityTimerRef = null;
|
|
30
|
+
inactivityWarningTimerRef = null;
|
|
27
31
|
cookieExpiryTimerRef = null;
|
|
28
32
|
// Timestamp of the last inactivity timer reset; used to throttle the reset
|
|
29
33
|
// to at most once per second so frequent DOM events (mousemove fires 30-60×/s)
|
|
@@ -47,7 +51,9 @@ class AuthProviderClass extends Component {
|
|
|
47
51
|
loggedOutDueToInactivity: false,
|
|
48
52
|
loggedOutDueToCookieExpiry: false,
|
|
49
53
|
/** When set, show session modal but keep session until user dismisses (avoids login + session modals at once). */
|
|
50
|
-
sessionExpiryPendingReason: null
|
|
54
|
+
sessionExpiryPendingReason: null,
|
|
55
|
+
/** Shown ~30s before inactivity logout; user can extend the session from the modal. */
|
|
56
|
+
showInactivityWarningModal: false
|
|
51
57
|
};
|
|
52
58
|
componentDidMount() {
|
|
53
59
|
if (this.props.config) {
|
|
@@ -88,6 +94,11 @@ class AuthProviderClass extends Component {
|
|
|
88
94
|
this.clearInactivityTimer();
|
|
89
95
|
this.clearCookieExpiryTimer();
|
|
90
96
|
}
|
|
97
|
+
const sessionJustEnded = hadSession && !hasSession;
|
|
98
|
+
const sessionExpiryJustPending = !prevState.sessionExpiryPendingReason && this.state.sessionExpiryPendingReason;
|
|
99
|
+
if (this.state.showInactivityWarningModal && (sessionJustEnded || sessionExpiryJustPending)) {
|
|
100
|
+
this.setState({ showInactivityWarningModal: false });
|
|
101
|
+
}
|
|
91
102
|
}
|
|
92
103
|
componentWillUnmount() {
|
|
93
104
|
INACTIVITY_EVENTS.forEach((event) => window.removeEventListener(event, this.resetInactivityTimer));
|
|
@@ -101,7 +112,14 @@ class AuthProviderClass extends Component {
|
|
|
101
112
|
}
|
|
102
113
|
return !!accessToken;
|
|
103
114
|
};
|
|
115
|
+
clearInactivityWarningTimer = () => {
|
|
116
|
+
if (this.inactivityWarningTimerRef) {
|
|
117
|
+
clearTimeout(this.inactivityWarningTimerRef);
|
|
118
|
+
this.inactivityWarningTimerRef = null;
|
|
119
|
+
}
|
|
120
|
+
};
|
|
104
121
|
clearInactivityTimer = () => {
|
|
122
|
+
this.clearInactivityWarningTimer();
|
|
105
123
|
if (this.inactivityTimerRef) {
|
|
106
124
|
clearTimeout(this.inactivityTimerRef);
|
|
107
125
|
this.inactivityTimerRef = null;
|
|
@@ -138,6 +156,10 @@ class AuthProviderClass extends Component {
|
|
|
138
156
|
const { inactivityTimeMs } = this.props;
|
|
139
157
|
return typeof inactivityTimeMs === "number" && inactivityTimeMs > 0 ? inactivityTimeMs : INACTIVITY_TIME_MS;
|
|
140
158
|
};
|
|
159
|
+
getInactivityWarningBeforeMs = () => {
|
|
160
|
+
const { inactivityWarningBeforeMs } = this.props;
|
|
161
|
+
return typeof inactivityWarningBeforeMs === "number" && inactivityWarningBeforeMs > 0 ? inactivityWarningBeforeMs : INACTIVITY_WARNING_BEFORE_MS;
|
|
162
|
+
};
|
|
141
163
|
/** Cookie lifetime for `STOKR_ACCESS_TOKEN` — not the same as inactivity timeout. */
|
|
142
164
|
getAccessTokenExpiryMs = () => {
|
|
143
165
|
const n = Number(this.props.accessTokenExpiryMs);
|
|
@@ -167,20 +189,55 @@ class AuthProviderClass extends Component {
|
|
|
167
189
|
);
|
|
168
190
|
}
|
|
169
191
|
};
|
|
170
|
-
resetInactivityTimer = () => {
|
|
192
|
+
resetInactivityTimer = (force = false) => {
|
|
171
193
|
if (this.state.sessionExpiryPendingReason) return;
|
|
194
|
+
const { user } = this.state;
|
|
195
|
+
if (!hasLoggedInSession(user)) {
|
|
196
|
+
this.clearInactivityTimer();
|
|
197
|
+
if (this.state.showInactivityWarningModal) {
|
|
198
|
+
this.setState({ showInactivityWarningModal: false });
|
|
199
|
+
}
|
|
200
|
+
return;
|
|
201
|
+
}
|
|
172
202
|
const now = Date.now();
|
|
173
|
-
if (now - this._lastActivityAt < 1e3) return;
|
|
203
|
+
if (!force && now - this._lastActivityAt < 1e3) return;
|
|
174
204
|
this._lastActivityAt = now;
|
|
175
205
|
this.clearInactivityTimer();
|
|
176
|
-
|
|
177
|
-
|
|
206
|
+
if (this.state.showInactivityWarningModal) {
|
|
207
|
+
this.setState({ showInactivityWarningModal: false });
|
|
208
|
+
}
|
|
178
209
|
const delay = this.getInactivityTimeMs();
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
this.
|
|
183
|
-
|
|
210
|
+
const warningDelay = Math.max(0, delay - this.getInactivityWarningBeforeMs());
|
|
211
|
+
this.inactivityWarningTimerRef = setTimeout(() => {
|
|
212
|
+
this.inactivityWarningTimerRef = null;
|
|
213
|
+
if (!hasLoggedInSession(this.state.user) || this.state.sessionExpiryPendingReason) return;
|
|
214
|
+
this.setState({ showInactivityWarningModal: true });
|
|
215
|
+
}, warningDelay);
|
|
216
|
+
this.inactivityTimerRef = setTimeout(this.handleInactivityTimeout, delay);
|
|
217
|
+
};
|
|
218
|
+
/** Fires when the inactivity deadline is reached — always closes the warning modal first. */
|
|
219
|
+
handleInactivityTimeout = () => {
|
|
220
|
+
this.inactivityTimerRef = null;
|
|
221
|
+
this.clearInactivityWarningTimer();
|
|
222
|
+
if (!hasLoggedInSession(this.state.user)) {
|
|
223
|
+
this.setState({ showInactivityWarningModal: false });
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
Auth.logout();
|
|
227
|
+
this.setState({
|
|
228
|
+
sessionExpiryPendingReason: "inactivity",
|
|
229
|
+
showInactivityWarningModal: false
|
|
230
|
+
});
|
|
231
|
+
};
|
|
232
|
+
/** User chose to stay signed in from the pre-logout warning modal. */
|
|
233
|
+
extendSessionFromInactivityWarning = () => {
|
|
234
|
+
this.setState({ showInactivityWarningModal: false }, () => {
|
|
235
|
+
this.resetInactivityTimer(true);
|
|
236
|
+
});
|
|
237
|
+
};
|
|
238
|
+
/** Close the pre-logout warning without extending the session (logout still scheduled). */
|
|
239
|
+
dismissInactivityWarningModal = () => {
|
|
240
|
+
this.setState({ showInactivityWarningModal: false });
|
|
184
241
|
};
|
|
185
242
|
loginUser = async (email, password, customToken) => {
|
|
186
243
|
try {
|
|
@@ -220,8 +277,9 @@ class AuthProviderClass extends Component {
|
|
|
220
277
|
this.setState({ waitingFor2fa: true, firebaseError: error });
|
|
221
278
|
throw error;
|
|
222
279
|
case "auth/requires-recent-login":
|
|
223
|
-
this.logoutUser();
|
|
224
|
-
|
|
280
|
+
await this.logoutUser();
|
|
281
|
+
error.message = "Your session has expired. Please log in again to continue.";
|
|
282
|
+
throw error;
|
|
225
283
|
case "auth/invalid-login-credentials":
|
|
226
284
|
case "auth/invalid-credential":
|
|
227
285
|
if (email) {
|
|
@@ -285,8 +343,6 @@ class AuthProviderClass extends Component {
|
|
|
285
343
|
}
|
|
286
344
|
break;
|
|
287
345
|
}
|
|
288
|
-
case PhoneMultiFactorGenerator.FACTOR_ID:
|
|
289
|
-
break;
|
|
290
346
|
}
|
|
291
347
|
};
|
|
292
348
|
generateTotpSecret = async (user = getFirebaseAuth()?.currentUser, appName = "STOKR") => {
|
|
@@ -353,6 +409,7 @@ class AuthProviderClass extends Component {
|
|
|
353
409
|
avatar: avatarPlaceholder,
|
|
354
410
|
isFetchingUser: false,
|
|
355
411
|
sessionExpiryPendingReason: null,
|
|
412
|
+
showInactivityWarningModal: false,
|
|
356
413
|
loggedOutDueToInactivity: options.dueToInactivity === true,
|
|
357
414
|
loggedOutDueToCookieExpiry: options.dueToCookieExpiry === true
|
|
358
415
|
});
|
|
@@ -848,10 +905,24 @@ class AuthProviderClass extends Component {
|
|
|
848
905
|
clearLoggedOutDueToInactivity: this.clearLoggedOutDueToInactivity,
|
|
849
906
|
clearLoggedOutDueToCookieExpiry: this.clearLoggedOutDueToCookieExpiry,
|
|
850
907
|
dismissSessionExpiryModal: this.dismissSessionExpiryModal,
|
|
908
|
+
extendSessionFromInactivityWarning: this.extendSessionFromInactivityWarning,
|
|
909
|
+
dismissInactivityWarningModal: this.dismissInactivityWarningModal,
|
|
851
910
|
reset2faFlow: this.reset2faFlow
|
|
852
911
|
},
|
|
853
912
|
children: [
|
|
854
913
|
children,
|
|
914
|
+
!this.props.hideInactivityModal && this.state.showInactivityWarningModal && /* @__PURE__ */ jsx(
|
|
915
|
+
SuccessModalComponent,
|
|
916
|
+
{
|
|
917
|
+
isOpen: hasLoggedInSession(this.state.user) && !this.state.sessionExpiryPendingReason,
|
|
918
|
+
onClose: this.dismissInactivityWarningModal,
|
|
919
|
+
variant: "progress",
|
|
920
|
+
title: "Session is about to expire",
|
|
921
|
+
subtitle: "Your session will expire due to inactivity. Click below to stay signed in.",
|
|
922
|
+
content: /* @__PURE__ */ jsx(Text, { children: /* @__PURE__ */ jsx(Button, { onClick: this.extendSessionFromInactivityWarning, children: "To continue, press here" }) }),
|
|
923
|
+
maxWidth: "600px"
|
|
924
|
+
}
|
|
925
|
+
),
|
|
855
926
|
(this.state.loggedOutDueToInactivity || this.state.loggedOutDueToCookieExpiry || this.state.sessionExpiryPendingReason && hasLoggedInSession(this.state.user)) && !this.props.hideInactivityModal && /* @__PURE__ */ jsx(
|
|
856
927
|
SuccessModalComponent,
|
|
857
928
|
{
|
|
@@ -911,6 +982,8 @@ AuthProviderClass.propTypes = {
|
|
|
911
982
|
}),
|
|
912
983
|
/** Override inactivity timeout in ms (e.g. for Storybook). Production uses 5 minutes. */
|
|
913
984
|
inactivityTimeMs: PropTypes.number,
|
|
985
|
+
/** How long before inactivity logout to show the warning modal (ms). Default 30 seconds. */
|
|
986
|
+
inactivityWarningBeforeMs: PropTypes.number,
|
|
914
987
|
/** When true, the inactivity modal is not shown after auto-logout. Default false. */
|
|
915
988
|
hideInactivityModal: PropTypes.bool,
|
|
916
989
|
/** Override access token cookie lifetime in ms (e.g. for Storybook). Production uses 1 hour. */
|
package/dist/firebase-config.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { initializeAuth, inMemoryPersistence, getAuth } from "firebase/auth";
|
|
1
|
+
import "./node_modules/firebase/app/dist/esm/index.esm.js";
|
|
2
|
+
import { K as initializeAuth, V as inMemoryPersistence, p as getAuth } from "./node_modules/@firebase/auth/dist/esm/index-36fcbc82.js";
|
|
3
|
+
import { getApps, getApp, initializeApp } from "./node_modules/@firebase/app/dist/esm/index.esm.js";
|
|
4
|
+
import "./node_modules/@firebase/logger/dist/esm/index.esm.js";
|
|
3
5
|
import { getConfig } from "./runtime-config.js";
|
|
4
6
|
let app = null;
|
|
5
7
|
let auth = null;
|
|
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useContext, useCallback, useEffect } from "react";
|
|
3
3
|
import { AuthContext } from "../context/AuthContext.js";
|
|
4
4
|
import fetchDataPublic from "../api/fetchDataPublic.js";
|
|
5
|
-
import parse from "html-react-parser";
|
|
5
|
+
import parse from "../node_modules/html-react-parser/esm/index.js";
|
|
6
6
|
import { useCheckboxes } from "../context/Checkbox/CheckboxContext.js";
|
|
7
7
|
const initialState = {
|
|
8
8
|
email: "",
|
package/dist/index.js
CHANGED
|
@@ -150,6 +150,7 @@ import { default as default7 } from "./styles/spacing.js";
|
|
|
150
150
|
import { default as default8 } from "./styles/theme.js";
|
|
151
151
|
import { BASE_COLOR_HEX, BASE_FONT_SIZE, BASE_MARGIN, BASE_MARGIN_2X_PX, BASE_MARGIN_PX, BLUE_BASE_HEX, BLUE_BASE_RELEASED_HEX, CAPITAL_ANIMATION_LENGTH, COLUMN, DESKTOP_MEDIA, GRAY_BASE_HEX, GRAY_DEEP_HEX, GRAY_SECONDARY_HEX, GREEN, MAX_WIDTH, PHONE_MEDIA, RED_BASE_HEX, RED_BASE_RELEASE_HEX, SLIDER_HEIGHT, SLIDER_MOBILE_HEIGHT, SLIDER_TABLET_HEIGHT, TABLET_MEDIA, WHITE_HEX } from "./constants/style.js";
|
|
152
152
|
import { LoanActivityTypes, ProfessionalInvestorStatuses, ProjectStates, ProjectStatus, ProjectTypes, TransactionTypes, USInvestorAcreditationStatuses, UserTypes, emailRegex, transactionTypeDisplayNames, walletTypes } from "./constants/globalVariables.js";
|
|
153
|
+
import { l as libExports } from "./_virtual/index.js";
|
|
153
154
|
import { default as default9 } from "./components/SvgIcons/AdminBadgeSvg.js";
|
|
154
155
|
import { Arrow } from "./components/icons/Arrow.js";
|
|
155
156
|
import { ArrowSimple } from "./components/icons/ArrowSimple.js";
|
|
@@ -162,7 +163,6 @@ import { default as default11 } from "./components/SvgIcons/CapsLockSvg.js";
|
|
|
162
163
|
import { Check } from "./components/icons/Check.js";
|
|
163
164
|
import { default as default12 } from "./components/2FA/Connect2FA.js";
|
|
164
165
|
import { ContainerWithLine } from "./components/RegisterConfirmModal/RegisterConfirmModal.styles.js";
|
|
165
|
-
import { CopyToClipboard } from "react-copy-to-clipboard";
|
|
166
166
|
import { default as default13 } from "./components/SvgIcons/DocumentBackSvg.js";
|
|
167
167
|
import { default as default14 } from "./components/SvgIcons/DocumentSmallSvg.js";
|
|
168
168
|
import { default as default15 } from "./components/SvgIcons/DocumentSvg.js";
|
|
@@ -173,7 +173,7 @@ import { default as default19 } from "./components/SvgIcons/EurSvg.js";
|
|
|
173
173
|
import { default as default20 } from "./components/SvgIcons/FaceScanIconSvg.js";
|
|
174
174
|
import { Facebook } from "./components/icons/Facebook.js";
|
|
175
175
|
import { FaqContent, FaqDropdownIcon, FaqItem, FaqItems, FaqText, FaqTitle } from "./components/FAQ/FAQ.styles.js";
|
|
176
|
-
import * as
|
|
176
|
+
import * as index from "./node_modules/country-flag-icons/react/3x2/index.js";
|
|
177
177
|
import { default as default21 } from "./components/Footer/Footer.js";
|
|
178
178
|
import { default as default22, getFooterGroups } from "./components/Footer/FooterLayout.js";
|
|
179
179
|
import { default as default23 } from "./components/Footer/FooterMenu.js";
|
|
@@ -234,10 +234,11 @@ import { default as default53 } from "./components/SvgIcons/UploadSvg.js";
|
|
|
234
234
|
import { default as default54 } from "./components/SvgIcons/VerifiedBadge.js";
|
|
235
235
|
import { X } from "./components/icons/X.js";
|
|
236
236
|
import { Youtube } from "./components/icons/Youtube.js";
|
|
237
|
-
import { format } from "date-fns";
|
|
237
|
+
import { format } from "./node_modules/date-fns/format.js";
|
|
238
238
|
import { getAnalyticsIngestUrl, getBackofficeAppUrl } from "./utils/app-urls-analytics-backoffice.js";
|
|
239
239
|
import { getConfig, resetRuntimeConfig } from "./runtime-config.js";
|
|
240
240
|
import { useSnackbar } from "./components/Snackbar/useSnackbar.js";
|
|
241
|
+
const CopyToClipboard = libExports.CopyToClipboard;
|
|
241
242
|
export {
|
|
242
243
|
AccountBalance,
|
|
243
244
|
default9 as AdminBadgeSvg,
|
|
@@ -340,7 +341,7 @@ export {
|
|
|
340
341
|
FaqText,
|
|
341
342
|
FaqTitle,
|
|
342
343
|
FlagFor,
|
|
343
|
-
Flags,
|
|
344
|
+
index as Flags,
|
|
344
345
|
FlexContainer,
|
|
345
346
|
FlexGrid,
|
|
346
347
|
default21 as Footer,
|
package/dist/model/axios.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "../node_modules/axios/index.js";
|
|
2
2
|
import { getConfig } from "../runtime-config.js";
|
|
3
|
+
import axios from "../node_modules/axios/lib/axios.js";
|
|
3
4
|
if (!getConfig("apiUrl") && false) ;
|
|
4
5
|
const axiosInstance = axios?.create({
|
|
5
6
|
headers: { "Content-Type": "application/json" },
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "../node_modules/axios/index.js";
|
|
2
2
|
import { getConfig } from "../runtime-config.js";
|
|
3
|
+
import axios from "../node_modules/axios/lib/axios.js";
|
|
3
4
|
const axiosInstance = axios?.create({
|
|
4
5
|
headers: { "Content-Type": "application/json" },
|
|
5
6
|
baseURL: getConfig("baseUrlPublic")
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import toPropertyKey from "./toPropertyKey.js";
|
|
2
|
+
function _defineProperties(e, r) {
|
|
3
|
+
for (var t = 0; t < r.length; t++) {
|
|
4
|
+
var o = r[t];
|
|
5
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
function _createClass(e, r, t) {
|
|
9
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
10
|
+
writable: false
|
|
11
|
+
}), e;
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
_createClass as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import _getPrototypeOf from "./getPrototypeOf.js";
|
|
2
|
+
import _isNativeReflectConstruct from "./isNativeReflectConstruct.js";
|
|
3
|
+
import _possibleConstructorReturn from "./possibleConstructorReturn.js";
|
|
4
|
+
function _createSuper(t) {
|
|
5
|
+
var r = _isNativeReflectConstruct();
|
|
6
|
+
return function() {
|
|
7
|
+
var e, o = _getPrototypeOf(t);
|
|
8
|
+
if (r) {
|
|
9
|
+
var s = _getPrototypeOf(this).constructor;
|
|
10
|
+
e = Reflect.construct(o, arguments, s);
|
|
11
|
+
} else e = o.apply(this, arguments);
|
|
12
|
+
return _possibleConstructorReturn(this, e);
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
_createSuper as default
|
|
17
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import toPropertyKey from "./toPropertyKey.js";
|
|
2
|
+
function _defineProperty(e, r, t) {
|
|
3
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
4
|
+
value: t,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
}) : e[r] = t, e;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
_defineProperty as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function _extends() {
|
|
2
|
+
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
3
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
4
|
+
var t = arguments[e];
|
|
5
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
6
|
+
}
|
|
7
|
+
return n;
|
|
8
|
+
}, _extends.apply(null, arguments);
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
_extends as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import _setPrototypeOf from "./setPrototypeOf.js";
|
|
2
|
+
function _inherits(t, e) {
|
|
3
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
4
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
5
|
+
constructor: {
|
|
6
|
+
value: t,
|
|
7
|
+
writable: true,
|
|
8
|
+
configurable: true
|
|
9
|
+
}
|
|
10
|
+
}), Object.defineProperty(t, "prototype", {
|
|
11
|
+
writable: false
|
|
12
|
+
}), e && _setPrototypeOf(t, e);
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
_inherits as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
function _isNativeReflectConstruct() {
|
|
2
|
+
try {
|
|
3
|
+
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
4
|
+
}));
|
|
5
|
+
} catch (t2) {
|
|
6
|
+
}
|
|
7
|
+
return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
|
|
8
|
+
return !!t;
|
|
9
|
+
})();
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
_isNativeReflectConstruct as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
function _iterableToArrayLimit(r, l) {
|
|
2
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
3
|
+
if (null != t) {
|
|
4
|
+
var e, n, i, u, a = [], f = true, o = false;
|
|
5
|
+
try {
|
|
6
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
7
|
+
if (Object(t) !== t) return;
|
|
8
|
+
f = false;
|
|
9
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true) ;
|
|
10
|
+
} catch (r2) {
|
|
11
|
+
o = true, n = r2;
|
|
12
|
+
} finally {
|
|
13
|
+
try {
|
|
14
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
15
|
+
} finally {
|
|
16
|
+
if (o) throw n;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return a;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
_iterableToArrayLimit as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import _defineProperty from "./defineProperty.js";
|
|
2
|
+
function ownKeys(e, r) {
|
|
3
|
+
var t = Object.keys(e);
|
|
4
|
+
if (Object.getOwnPropertySymbols) {
|
|
5
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
6
|
+
r && (o = o.filter(function(r2) {
|
|
7
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
8
|
+
})), t.push.apply(t, o);
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
}
|
|
12
|
+
function _objectSpread2(e) {
|
|
13
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
14
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
15
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
|
16
|
+
_defineProperty(e, r2, t[r2]);
|
|
17
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
18
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return e;
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
_objectSpread2 as default
|
|
25
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import _objectWithoutPropertiesLoose from "./objectWithoutPropertiesLoose.js";
|
|
2
|
+
function _objectWithoutProperties(e, t) {
|
|
3
|
+
if (null == e) return {};
|
|
4
|
+
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
5
|
+
if (Object.getOwnPropertySymbols) {
|
|
6
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
7
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
8
|
+
}
|
|
9
|
+
return i;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
_objectWithoutProperties as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
2
|
+
if (null == r) return {};
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
5
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
6
|
+
t[n] = r[n];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
_objectWithoutPropertiesLoose as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _typeof from "./typeof.js";
|
|
2
|
+
import _assertThisInitialized from "./assertThisInitialized.js";
|
|
3
|
+
function _possibleConstructorReturn(t, e) {
|
|
4
|
+
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
5
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
6
|
+
return _assertThisInitialized(t);
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
_possibleConstructorReturn as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _arrayWithHoles from "./arrayWithHoles.js";
|
|
2
|
+
import _iterableToArrayLimit from "./iterableToArrayLimit.js";
|
|
3
|
+
import _unsupportedIterableToArray from "./unsupportedIterableToArray.js";
|
|
4
|
+
import _nonIterableRest from "./nonIterableRest.js";
|
|
5
|
+
function _slicedToArray(r, e) {
|
|
6
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
_slicedToArray as default
|
|
10
|
+
};
|