A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: initial pricing changes
Abdullah Attabcbcd516f640
diff --git a/apps/mobile/app/components/announcements/cta.js b/apps/mobile/app/components/announcements/cta.jsindex adc23dfae..b33ade1ad 100644--- a/apps/mobile/app/components/announcements/cta.js+++ b/apps/mobile/app/components/announcements/cta.js@@ -25,7 +25,6 @@ import { eSendEvent, presentSheet } from "../../services/event-manager";import { eCloseAnnouncementDialog } from "../../utils/events";import { AppFontSize } from "../../utils/size";import { sleep } from "../../utils/time";-import { PricingPlans } from "../premium/pricing-plans";import SheetProvider from "../sheet-provider";import { Button } from "../ui/button";import { allowedOnPlatform, getStyle } from "./functions";@@ -45,18 +44,6 @@ export const Cta = ({ actions, style = {}, color, inline }) => {Linking.openURL(item.data).catch(() => {/* empty */});- } else if (item.type === "promo") {- presentSheet({- component: (- <PricingPlans- marginTop={1}- promo={{- promoCode: item.data,- text: item.title- }}- />- )- });}};return (diff --git a/apps/mobile/app/components/auth/header.tsx b/apps/mobile/app/components/auth/header.tsxindex a67546256..05187004d 100644--- a/apps/mobile/app/components/auth/header.tsx+++ b/apps/mobile/app/components/auth/header.tsx@@ -31,7 +31,6 @@ export const AuthHeader = (props: { welcome?: boolean }) => {<Viewstyle={{paddingTop: Platform.OS === "android" ? 0 : insets.top,- backgroundColor: colors.secondary.background,width: "100%"}}>diff --git a/apps/mobile/app/components/auth/index.js b/apps/mobile/app/components/auth/index.jsindex 45ff9886a..1996212f7 100644--- a/apps/mobile/app/components/auth/index.js+++ b/apps/mobile/app/components/auth/index.js@@ -17,101 +17,27 @@ You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.*/-import { strings } from "@notesnook/intl";-import { useThemeColors } from "@notesnook/theme";import React, { useState } from "react";-import { View } from "react-native";-import useGlobalSafeAreaInsets from "../../hooks/use-global-safe-area-insets";-import Navigation from "../../services/navigation";+import { SafeAreaView } from "react-native-safe-area-context";+import { useNavigationFocus } from "../../hooks/use-navigation-focus";import { Toast } from "../toast";-import { Button } from "../ui/button";-import { IconButton } from "../ui/icon-button";import { AuthMode, initialAuthMode } from "./common";import { Login } from "./login";import { Signup } from "./signup";-import { useNavigationFocus } from "../../hooks/use-navigation-focus";-import { DefaultAppStyles } from "../../utils/styles";-import { useSettingStore } from "../../stores/use-setting-store";+import { useThemeColors } from "@notesnook/theme";const Auth = ({ navigation, route }) => {const [currentAuthMode, setCurrentAuthMode] = useState(route?.params?.mode || AuthMode.login);- const deviceMode = useSettingStore((state) => state.deviceMode);const { colors } = useThemeColors();- const insets = useGlobalSafeAreaInsets();initialAuthMode.current = route?.params.mode || AuthMode.login;useNavigationFocus(navigation, {});return (- <View style={{ flex: 1 }}>- <View- style={{- position: "absolute",- paddingTop: insets.top,- top: 0,- zIndex: 999,- backgroundColor:- deviceMode === "mobile" ? colors.secondary.background : null,- width: "100%"- }}- >- <View- style={{- flexDirection: "row",- alignItems: "center",- paddingHorizontal: DefaultAppStyles.GAP,- width: "100%",- height: 50,- justifyContent:- initialAuthMode.current !== AuthMode.welcomeSignup- ? "space-between"- : "flex-end"- }}- >- {initialAuthMode.current === AuthMode.welcomeSignup ? null : (- <IconButton- name="arrow-left"- onPress={() => {- if (initialAuthMode.current === 2) {- Navigation.replace("FluidPanelsView");- } else {- Navigation.goBack();- }- }}- color={colors.primary.paragraph}- />- )}-- {initialAuthMode.current !== AuthMode.welcomeSignup ? null : (- <Button- title={strings.skip()}- onPress={() => {- if (initialAuthMode.current === 2) {- Navigation.replace("FluidPanelsView");- setTimeout(() => {- Navigation.resetRootState();- }, 1000);- } else {- Navigation.goBack();- }- }}- iconSize={16}- type="plain"- iconPosition="right"- icon="chevron-right"- height={25}- iconStyle={{- marginTop: 2- }}- style={{- paddingHorizontal: DefaultAppStyles.GAP_SMALL- }}- />- )}- </View>- </View>-+ <SafeAreaView+ style={{ flex: 1, backgroundColor: colors.primary.background }}+ >{currentAuthMode !== AuthMode.login ? (<SignupchangeMode={(mode) => setCurrentAuthMode(mode)}@@ -126,7 +52,7 @@ const Auth = ({ navigation, route }) => {)}<Toast context="local" />- </View>+ </SafeAreaView>);};diff --git a/apps/mobile/app/components/auth/login.js b/apps/mobile/app/components/auth/login.jsindex d6f5c2f1e..b370eb897 100644--- a/apps/mobile/app/components/auth/login.js+++ b/apps/mobile/app/components/auth/login.js@@ -24,12 +24,15 @@ import { TouchableOpacity, View, useWindowDimensions } from "react-native";import { SheetManager } from "react-native-actions-sheet";import { DDS } from "../../services/device-detection";import { eSendEvent } from "../../services/event-manager";+import Navigation from "../../services/navigation";+import PremiumService from "../../services/premium";import Sync from "../../services/sync";import { useUserStore } from "../../stores/use-user-store";import { eUserLoggedIn } from "../../utils/events";import { AppFontSize } from "../../utils/size";+import { DefaultAppStyles } from "../../utils/styles";import { sleep } from "../../utils/time";-import SheetProvider from "../sheet-provider";+import { Dialog } from "../dialog";import { Progress } from "../sheets/progress";import { Button } from "../ui/button";import Input from "../ui/input";@@ -37,9 +40,8 @@ import Heading from "../ui/typography/heading";import Paragraph from "../ui/typography/paragraph";import { hideAuth } from "./common";import { ForgotPassword } from "./forgot-password";+import { AuthHeader } from "./header";import { useLogin } from "./use-login";-import { DefaultAppStyles } from "../../utils/styles";-import { Dialog } from "../dialog";const LoginSteps = {emailAuth: 1,@@ -62,15 +64,21 @@ export const Login = ({ changeMode }) => {setError,login} = useLogin(async () => {- hideAuth();eSendEvent(eUserLoggedIn, true);await sleep(500);- Progress.present();+ hideAuth();setTimeout(() => {if (!useUserStore.getState().syncing) {Sync.run("global", false, "full");}}, 5000);+ if (!PremiumService.get()) {+ Navigation.navigate("PayWall", {+ context: "logged-in"+ });+ } else {+ Progress.present();+ }});const { width, height } = useWindowDimensions();const isTablet = width > 600;@@ -89,6 +97,7 @@ export const Login = ({ changeMode }) => {return (<>+ <AuthHeader /><ForgotPassword /><Dialog context="two_factor_verify" /><View@@ -105,7 +114,6 @@ export const Login = ({ changeMode }) => {style={{justifyContent: "flex-end",paddingHorizontal: DefaultAppStyles.GAP,- backgroundColor: colors.secondary.background,borderBottomWidth: 0.8,marginBottom: DefaultAppStyles.GAP_VERTICAL,borderBottomColor: colors.primary.border,@@ -165,7 +173,8 @@ export const Login = ({ changeMode }) => {: "99.9%",backgroundColor: colors.primary.background,alignSelf: "center",- paddingHorizontal: DefaultAppStyles.GAP+ paddingHorizontal: DefaultAppStyles.GAP,+ gap: DefaultAppStyles.GAP_VERTICAL}}><Input@@ -179,6 +188,7 @@ export const Login = ({ changeMode }) => {returnKeyType="next"autoComplete="email"validationType="email"+ marginBottom={0}autoCorrect={false}autoCapitalize="none"errorMessage={strings.emailInvalid()}@@ -234,11 +244,7 @@ export const Login = ({ changeMode }) => {</>)}- <View- style={{- marginTop: 25- }}- >+ <View><Buttonloading={loading}onPress={() => {@@ -246,10 +252,11 @@ export const Login = ({ changeMode }) => {login();}}style={{- width: 250+ width: "100%"}}type="accent"title={!loading ? strings.continue() : null}+ fontSize={AppFontSize.md}/>{step === LoginSteps.passwordAuth && (@@ -302,4 +309,4 @@ export const Login = ({ changeMode }) => {</View></>);-};\ No newline at end of file+};diff --git a/apps/mobile/app/components/auth/signup.js b/apps/mobile/app/components/auth/signup.jsindex 28c4541ec..6588b1830 100644--- a/apps/mobile/app/components/auth/signup.js+++ b/apps/mobile/app/components/auth/signup.js@@ -28,9 +28,10 @@ import { ToastManager } from "../../services/event-manager";import { clearMessage, setEmailVerifyMessage } from "../../services/message";import { useUserStore } from "../../stores/use-user-store";import { openLinkInBrowser } from "../../utils/functions";-import { AppFontSize, SIZE } from "../../utils/size";+import { AppFontSize } from "../../utils/size";+import { DefaultAppStyles } from "../../utils/styles";import { Loading } from "../loading";-import { PaywallComponent } from "../premium/component";+import { PaywallComponent } from "../premium/paywall";import { Button } from "../ui/button";import Input from "../ui/input";import Heading from "../ui/typography/heading";@@ -38,6 +39,7 @@ import Paragraph from "../ui/typography/paragraph";import { hideAuth } from "./common";import { AuthHeader } from "./header";import { SignupContext } from "./signup-context";+import Navigation from "../../services/navigation";const SignupSteps = {signup: 0,@@ -60,7 +62,6 @@ export const Signup = ({ changeMode, welcome }) => {const setLastSynced = useUserStore((state) => state.setLastSynced);const { width, height } = useWindowDimensions();const isTablet = width > 600;- const deviceMode = useSettingStore((state) => state.deviceMode);const validateInfo = () => {if (!password.current || !email.current || !confirmPassword.current) {ToastManager.show({@@ -89,7 +90,9 @@ export const Signup = ({ changeMode, welcome }) => {setLastSynced(await db.lastSynced());clearMessage();setEmailVerifyMessage();- setCurrentStep(SignupSteps.selectPlan);+ Navigation.navigate("PayWall", {+ canGoBack: false+ });return true;} catch (e) {setCurrentStep(SignupSteps.signup);@@ -138,17 +141,15 @@ export const Signup = ({ changeMode, welcome }) => {style={{justifyContent: "flex-end",paddingHorizontal: 16,- backgroundColor: colors.secondary.background,- marginBottom: 20,+ marginBottom: DefaultAppStyles.GAP_VERTICAL,borderBottomWidth: 0.8,borderBottomColor: colors.primary.border,- alignSelf: deviceMode !== "mobile" ? "center" : undefined,- borderWidth: deviceMode !== "mobile" ? 1 : null,- borderColor:- deviceMode !== "mobile" ? colors.primary.border : null,- borderRadius: deviceMode !== "mobile" ? 20 : null,- marginTop: deviceMode !== "mobile" ? 50 : null,- width: deviceMode === "mobile" ? null : "50%",+ alignSelf: isTablet ? "center" : undefined,+ borderWidth: isTablet ? 1 : null,+ borderColor: isTablet ? colors.primary.border : null,+ borderRadius: isTablet ? 20 : null,+ marginTop: isTablet ? 50 : null,+ width: !isTablet ? null : "50%",minHeight: height * 0.25}}>@@ -182,7 +183,7 @@ export const Signup = ({ changeMode, welcome }) => {marginBottom: 25,marginTop: 10}}- size={SIZE.xxl}+ size={AppFontSize.xxl}>{strings.createAccount()}</Heading>@@ -268,7 +269,7 @@ export const Signup = ({ changeMode, welcome }) => {onPress={() => {signup();}}- fontSize={SIZE.md}+ fontSize={AppFontSize.md}width="100%"/>@@ -285,12 +286,12 @@ export const Signup = ({ changeMode, welcome }) => {}}><Paragraph- size={SIZE.xs + 1}+ size={AppFontSize.xs + 1}color={colors.secondary.paragraph}>{strings.alreadyHaveAccount()}{" "}<Paragraph- size={SIZE.xs + 1}+ size={AppFontSize.xs + 1}style={{ color: colors.primary.accent }}>{strings.login()}@@ -299,65 +300,63 @@ export const Signup = ({ changeMode, welcome }) => {</TouchableOpacity></View>- <Paragraph+ <Viewstyle={{- marginBottom: 25+ paddingHorizontal: DefaultAppStyles.GAP}}- size={AppFontSize.xxs}- color={colors.secondary.paragraph}>- {strings.signupAgreement[0]()}<Paragraph- size={AppFontSize.xxs}- onPress={() => {- openLinkInBrowser("https://notesnook.com/tos", colors);- }}style={{- textDecorationLine: "underline"+ marginBottom: 25,+ textAlign: "center"}}- color={colors.primary.accent}- >- {" "}- {strings.signupAgreement[1]()}- </Paragraph>{" "}- {strings.signupAgreement[2]()}- <Paragraphsize={AppFontSize.xxs}- onPress={() => {- openLinkInBrowser("https://notesnook.com/privacy", colors);- }}- style={{- textDecorationLine: "underline"- }}- color={colors.primary.accent}+ color={colors.secondary.paragraph}>- {" "}- {strings.signupAgreement[3]()}- </Paragraph>{" "}- {strings.signupAgreement[4]()}- </Paragraph>+ {strings.signupAgreement[0]()}+ <Paragraph+ size={AppFontSize.xxs}+ onPress={() => {+ openLinkInBrowser("https://notesnook.com/tos", colors);+ }}+ style={{+ textDecorationLine: "underline"+ }}+ color={colors.primary.accent}+ >+ {" "}+ {strings.signupAgreement[1]()}+ </Paragraph>{" "}+ {strings.signupAgreement[2]()}+ <Paragraph+ size={AppFontSize.xxs}+ onPress={() => {+ openLinkInBrowser(+ "https://notesnook.com/privacy",+ colors+ );+ }}+ style={{+ textDecorationLine: "underline"+ }}+ color={colors.primary.accent}+ >+ {" "}+ {strings.signupAgreement[3]()}+ </Paragraph>{" "}+ {strings.signupAgreement[4]()}+ </Paragraph>+ </View></View></KeyboardAwareScrollView></>- ) : currentStep === SignupSteps.createAccount ? (+ ) : (<><Loadingtitle={"Setting up your account..."}description="Your account is almost ready, please wait..."/></>- ) : (- <>- <PaywallComponent- close={() => {- hideAuth();- }}- setupAccount={() => {- setCurrentStep(SignupSteps.createAccount);- }}- isModal={false}- />- </>)}</SignupContext.Provider>);diff --git a/apps/mobile/app/components/auth/use-login.ts b/apps/mobile/app/components/auth/use-login.tsindex 98c60a1df..a574edc52 100644--- a/apps/mobile/app/components/auth/use-login.ts+++ b/apps/mobile/app/components/auth/use-login.ts@@ -17,6 +17,7 @@ You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.*/+import { strings } from "@notesnook/intl";import { useRef, useState } from "react";import { TextInput } from "react-native";import { db } from "../../common/database";@@ -27,7 +28,6 @@ import SettingsService from "../../services/settings";import { useUserStore } from "../../stores/use-user-store";import { eCloseSimpleDialog } from "../../utils/events";import TwoFactorVerification from "./two-factor";-import { strings } from "@notesnook/intl";export const LoginSteps = {emailAuth: 1,diff --git a/apps/mobile/app/components/dialog-provider/index.js b/apps/mobile/app/components/dialog-provider/index.jsindex 69c44545d..05e510d1a 100644--- a/apps/mobile/app/components/dialog-provider/index.js+++ b/apps/mobile/app/components/dialog-provider/index.js@@ -31,8 +31,6 @@ import ResultDialog from "../dialogs/result";import { VaultDialog } from "../dialogs/vault";import ImagePreview from "../image-preview";import MergeConflicts from "../merge-conflicts";-import PremiumDialog from "../premium";-import { Expiring } from "../premium/expiring";import SheetProvider from "../sheet-provider";import RateAppSheet from "../sheets/rate-app";import RecoveryKeySheet from "../sheets/recovery-key";@@ -46,7 +44,6 @@ const DialogProvider = () => {<AppLockPassword /><LoadingDialog /><Dialog context="global" />- <PremiumDialog colors={colors} /><AuthModal colors={colors} /><MergeConflicts /><RecoveryKeySheet colors={colors} />@@ -56,7 +53,6 @@ const DialogProvider = () => {<VaultDialog colors={colors} /><RateAppSheet /><ImagePreview />- <Expiring /><AnnouncementDialog /><SessionExpired /><PDFPreview />diff --git a/apps/mobile/app/components/intro/index.tsx b/apps/mobile/app/components/intro/index.tsxindex 33478f1f6..a2712c78d 100644--- a/apps/mobile/app/components/intro/index.tsx+++ b/apps/mobile/app/components/intro/index.tsx@@ -115,65 +115,75 @@ const Intro = () => {);return (- <ScrollView- testID="notesnook.splashscreen"+ <Viewstyle={{- width: "100%",+ flex: 1,+ height: "100%",backgroundColor: colors.primary.background}}><View- style={[- {- width: "100%",- backgroundColor: colors.secondary.background,- borderBottomWidth: 1,- borderBottomColor: colors.primary.border,- paddingTop: insets.top + 10,- paddingBottom: insets.top + 10,- minHeight: height * 0.7 - (insets.top + insets.bottom)- },- isTablet && {- width: width / 2,- alignSelf: "center",- borderWidth: 1,- borderColor: colors.primary.border,- borderRadius: 20,- marginTop: 50- }- ]}+ testID="notesnook.splashscreen"+ style={{+ flex: 1+ }}>- <SwiperFlatList- autoplay- autoplayDelay={10}- autoplayLoop={true}- index={0}- useReactNativeGestureHandler={true}- showPagination- data={strings.introData}- paginationActiveColor={colors.primary.accent}- paginationStyleItem={{- width: 10,- height: 5,- marginRight: 4,- marginLeft: 4- }}- paginationDefaultColor={colors.primary.border}- renderItem={renderItem}- />+ <View+ style={[+ {+ width: "100%",+ borderBottomWidth: 1,+ borderBottomColor: colors.primary.border,+ paddingTop: insets.top + 10,+ paddingBottom: insets.top + 10,+ flexGrow: 1+ },+ isTablet && {+ width: width / 2,+ alignSelf: "center",+ borderWidth: 1,+ borderColor: colors.primary.border,+ borderRadius: 20,+ marginTop: 50+ }+ ]}+ >+ <SwiperFlatList+ autoplay+ autoplayDelay={10}+ autoplayLoop={true}+ index={0}+ useReactNativeGestureHandler={true}+ showPagination+ data={strings.introData}+ paginationActiveColor={colors.primary.accent}+ paginationStyleItem={{+ width: 10,+ height: 5,+ marginRight: 4,+ marginLeft: 4+ }}+ paginationDefaultColor={colors.primary.border}+ renderItem={renderItem}+ />+ </View></View>-<Viewstyle={{width: "100%",justifyContent: "center",- minHeight: height * 0.3+ gap: DefaultAppStyles.GAP_VERTICAL,+ paddingHorizontal: DefaultAppStyles.GAP,+ paddingVertical: DefaultAppStyles.GAP_VERTICAL,+ flexShrink: 1}}><Button- width={250}+ style={{+ width: "100%"+ }}onPress={async () => {- SettingsService.set({ introCompleted: true });+ // SettingsService.set({ introCompleted: true });Navigation.push("Auth", {mode: AuthMode.welcomeSignup});@@ -184,17 +194,23 @@ const Intro = () => {/><Button- width="100%"- title={"I already have an account"}+ style={{+ width: "100%"+ }}+ title={strings.iAlreadyHaveAnAccount()}type="secondary"+ fontSize={AppFontSize.md}onPress={() => {- SettingsService.set({- introCompleted: true+ // SettingsService.set({+ // introCompleted: true+ // });+ Navigation.push("Auth", {+ mode: AuthMode.login});}}/></View>- </ScrollView>+ </View>);};diff --git a/apps/mobile/app/components/premium/compact-features.js b/apps/mobile/app/components/premium/compact-features.jsdeleted file mode 100644index 8b9905f5e..000000000--- a/apps/mobile/app/components/premium/compact-features.js+++ /dev/null@@ -1,96 +0,0 @@-/*-This file is part of the Notesnook project (https://notesnook.com/)--Copyright (C) 2023 Streetwriters (Private) Limited--This program is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--This program is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with this program. If not, see <http://www.gnu.org/licenses/>.-*/--import React from "react";-import { FeatureBlock } from "./feature";-import { ScrollView } from "react-native-actions-sheet";-import { DefaultAppStyles } from "../../utils/styles";--export const CompactFeatures = ({- vertical,- features = [],- maxHeight = 600,- scrollRef-}) => {- let data = vertical- ? features- : [- {- highlight: "Everything",- content: "in basic",- icon: "emoticon-wink"- },- {- highlight: "Unlimited",- content: "notebooks",- icon: "notebook"- },- {- highlight: "File & image",- content: "attachments",- icon: "attachment"- },- {- highlight: "Instant",- content: "syncing",- icon: "sync"- },- {- highlight: "Private",- content: "vault",- icon: "shield"- },- {- highlight: "Daily, weekly & monthly",- content: "recurring reminders",- icon: "bell"- },- {- highlight: "Rich text",- content: "editing",- icon: "square-edit-outline"- },- {- highlight: "PDF & markdown",- content: "exports",- icon: "file"- },- {- highlight: "Encrypted",- content: "backups",- icon: "backup-restore"- }- ];-- return (- <ScrollView- horizontal={!vertical}- showsHorizontalScrollIndicator={false}- style={{- width: "100%",- maxHeight: maxHeight,- paddingHorizontal: DefaultAppStyles.GAP- }}- >- {data.map((item) => (- <FeatureBlock key={item.highlight} vertical={vertical} {...item} />- ))}- </ScrollView>- );-};diff --git a/apps/mobile/app/components/premium/expiring.js b/apps/mobile/app/components/premium/expiring.jsdeleted file mode 100644index 15ef5fd35..000000000--- a/apps/mobile/app/components/premium/expiring.js+++ /dev/null@@ -1,218 +0,0 @@-/*-This file is part of the Notesnook project (https://notesnook.com/)--Copyright (C) 2023 Streetwriters (Private) Limited--This program is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--This program is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with this program. If not, see <http://www.gnu.org/licenses/>.-*/--import React, { useEffect, useState } from "react";-import { View } from "react-native";-import { usePricing } from "../../hooks/use-pricing";-import {- eSendEvent,- eSubscribeEvent,- eUnSubscribeEvent-} from "../../services/event-manager";-import PremiumService from "../../services/premium";-import { useThemeColors } from "@notesnook/theme";-import {- eOpenPremiumDialog,- eOpenResultDialog,- eOpenTrialEndingDialog-} from "../../utils/events";-import { AppFontSize } from "../../utils/size";-import { sleep } from "../../utils/time";-import BaseDialog from "../dialog/base-dialog";-import DialogContainer from "../dialog/dialog-container";-import { Button } from "../ui/button";-import Seperator from "../ui/seperator";-import Heading from "../ui/typography/heading";-import Paragraph from "../ui/typography/paragraph";-import { CompactFeatures } from "./compact-features";-import { Offer } from "./offer";-import { DefaultAppStyles } from "../../utils/styles";--export const Expiring = () => {- const { colors } = useThemeColors();- const [visible, setVisible] = useState(false);- const [status, setStatus] = useState({- title: "Your trial is ending soon",- offer: "Get 30% off",- extend: true- });- const pricing = usePricing("yearly");- const promo =- status.offer && pricing?.info- ? {- promoCode:- pricing?.info?.discount > 30- ? pricing.info.sku- : "com.streetwriters.notesnook.sub.yr.trialoffer",- text: `GET ${- pricing?.info?.discount > 30 ? pricing?.info?.discount : 30- }% OFF on yearly`,- discount: pricing?.info?.discount > 30 ? pricing?.info?.discount : 30- }- : null;-- useEffect(() => {- eSubscribeEvent(eOpenTrialEndingDialog, open);- return () => {- eUnSubscribeEvent(eOpenTrialEndingDialog, open);- };- }, []);-- const open = (status) => {- setStatus(status);- setVisible(true);- };-- return (- visible && (- <BaseDialog- onRequestClose={() => {- setVisible(false);- }}- >- <DialogContainer>- <View- style={{- width: "100%",- alignItems: "center"- }}- >- <View- style={{- paddingHorizontal: DefaultAppStyles.GAP,- width: "100%"- }}- >- <Heading- textBreakStrategy="balanced"- style={{- textAlign: "center",- paddingTop: 18- }}- >- {status.title}- </Heading>- <Seperator />- <View- style={{- width: "100%",- alignItems: "center"- }}- >- {status.offer ? (- <>- <Offer padding={20} off={promo?.discount || 30} />- </>- ) : (- <>- <Paragraph- textBreakStrategy="balanced"- style={{- textAlign: "center",- paddingTop: 0,- paddingBottom: 20- }}- size={AppFontSize.md + 2}- >- Upgrade now to continue using all the pro features after- your trial ends- </Paragraph>- </>- )}-- <CompactFeatures />-- <Paragraph- onPress={async () => {- setVisible(false);- await sleep(300);- eSendEvent(eOpenPremiumDialog, promo);- }}- size={AppFontSize.xs}- style={{- textDecorationLine: "underline",- color: colors.secondary.paragraph,- marginTop: DefaultAppStyles.GAP_VERTICAL- }}- >- {"See what's included in Basic & Pro plans"}- </Paragraph>-- <Seperator />- </View>- </View>-- <View- style={{- backgroundColor: colors.secondary.background,- width: "100%",- borderBottomRightRadius: 10,- borderBottomLeftRadius: 10- }}- >- <Button- type="transparent"- title="Subscribe now"- onPress={async () => {- setVisible(false);- await sleep(300);- PremiumService.sheet(- null,- promo?.discount > 30 ? null : promo- );- }}- fontSize={AppFontSize.md + 2}- style={{- marginBottom: status.extend ? 0 : 10,- marginTop: DefaultAppStyles.GAP_VERTICAL,- paddingHorizontal: DefaultAppStyles.GAP * 2- }}- />-- {status.extend && (- <Button- type="plain"- title="Not sure yet? Extend trial for 7 days"- textStyle={{- textDecorationLine: "underline"- }}- onPress={async () => {- setVisible(false);- await sleep(300);- eSendEvent(eOpenResultDialog, {- title: "Your trial has been extended",- paragraph:- "Try out all features of Notesnook free for 7 more days. No limitations. No commitments.",- button: "Continue"- });- }}- fontSize={AppFontSize.xs}- height={30}- style={{- marginBottom: DefaultAppStyles.GAP_VERTICAL- }}- />- )}- </View>- </View>- </DialogContainer>- </BaseDialog>- )- );-};diff --git a/apps/mobile/app/components/premium/feature.js b/apps/mobile/app/components/premium/feature.jsdeleted file mode 100644index ee436090b..000000000--- a/apps/mobile/app/components/premium/feature.js+++ /dev/null@@ -1,97 +0,0 @@-/*-This file is part of the Notesnook project (https://notesnook.com/)--Copyright (C) 2023 Streetwriters (Private) Limited--This program is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--This program is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with this program. If not, see <http://www.gnu.org/licenses/>.-*/--import React from "react";-import { Text, View } from "react-native";-import Icon from "react-native-vector-icons/MaterialCommunityIcons";-import { useThemeColors } from "@notesnook/theme";-import { defaultBorderRadius, AppFontSize } from "../../utils/size";-import Paragraph from "../ui/typography/paragraph";-import { ProTag } from "./pro-tag";-import { DefaultAppStyles } from "../../utils/styles";--export const FeatureBlock = ({- vertical,- highlight,- content,- icon,- pro,- proTagBg-}) => {- const { colors } = useThemeColors();-- return vertical ? (- <View- style={{- flexDirection: "row",- alignItems: "center",- paddingHorizontal: DefaultAppStyles.GAP,- marginBottom: DefaultAppStyles.GAP_VERTICAL,- backgroundColor: colors.secondary.background,- borderRadius: 10,- paddingVertical: DefaultAppStyles.GAP_VERTICAL- }}- >- <Paragraph- style={{- flexWrap: "wrap",- marginLeft: 5,- flexShrink: 1- }}- size={AppFontSize.sm}- >- {content}- </Paragraph>- </View>- ) : (- <View- style={{- height: 100,- justifyContent: "center",- padding: DefaultAppStyles.GAP_SMALL,- marginRight: 10,- borderRadius: defaultBorderRadius,- minWidth: 100- }}- >- <Icon color={colors.primary.icon} name={icon} size={AppFontSize.xl} />- <Paragraph size={AppFontSize.md}>- <Text style={{ color: colors.primary.accent }}>{highlight}</Text>- {content ? "\n" + content : null}- </Paragraph>-- {pro ? (- <>- <View style={{ height: 5 }} />- <ProTag width={50} size={AppFontSize.xs} background={proTagBg} />- </>- ) : (- <View- style={{- width: 30,- height: 3,- marginTop: DefaultAppStyles.GAP_VERTICAL,- borderRadius: 100,- backgroundColor: colors.primary.accent- }}- />- )}- </View>- );-};diff --git a/apps/mobile/app/components/premium/features.js b/apps/mobile/app/components/premium/features.jsdeleted file mode 100644index bd231d9f4..000000000--- a/apps/mobile/app/components/premium/features.js+++ /dev/null@@ -1,318 +0,0 @@-/*-This file is part of the Notesnook project (https://notesnook.com/)--Copyright (C) 2023 Streetwriters (Private) Limited--This program is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--This program is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with this program. If not, see <http://www.gnu.org/licenses/>.-*/--export const features = [- {- title: "Focused on privacy",- detail:- "Everything you do in Notesnook stays private. We use XChaCha20-Poly1305-IETF and Argon2 to encrypt your notes.",- features: [- {- highlight: "Zero ads",- content: "& zero trackers",- icon: "billboard"- },- {- highlight: "On device",- content: "encryption",- icon: "cellphone"- },- {- highlight: "Secure app",- content: "lock for all",- icon: "cellphone-lock"- },- {- highlight: "100% end-to-end ",- content: "encrypted",- icon: "lock"- },- {- highlight: "Password protected",- content: "notes sharing",- icon: "file-lock"- }- ]- },- {- title: "No limit on notes or devices",- detail:- "Basic or Pro, you can create unlimited number of notes and access them on all your devices. You won't be running out of space or blocks ever."- },- {- title: "Attach files & images",- detail:- "Add your documents, PDFs, images and videos, and keep them safe and organized.",- pro: true,- features: [- {- highlight: "Bullet proof",- content: "encryption",- icon: "lock"- },- {- highlight: "High quality",- content: "4k images",- icon: "image-multiple"- },- {- highlight: "No monthly",- content: "storage limit",- icon: "harddisk"- },- {- highlight: "Generous 500 MB",- content: "max file size",- icon: "file-cabinet"- },- {- highlight: "No restriction",- content: "on file type",- icon: "file"- }- ]- },- {- title: "Cross platform Reminders",- detail: "Stay updated on all your upcoming tasks with reminders.",- features: [- {- highlight: "One-time",- content: "reminders",- icon: "bell"- },- {- highlight: "Daily, weekly & monthly",- content: "reminders",- icon: "refresh",- pro: true- }- ]- },- {- title: "Two-factor authentication",- detail:- "Improve account security & prevent intruders from accessing your notes",- info: "* 2FA via email is enabled by default for all users.",- features: [- {- highlight: "Email *",- icon: "bell"- },- {- highlight: "Authentication",- content: "app",- icon: "refresh"- },- {- highlight: "SMS",- icon: "refresh",- pro: true- }- ]- },- {- title: "Keep secrets always locked with private vault",- detail:- "An extra layer of security for any important data. Notes in the vault always stay encrypted and require a password to be accessed or edited everytime.",- pro: true- },- {- title: "Organize yourself in the best way",- detail:- "We offer multiple ways to keep you organized. The only limit is your imagination.",- features: [- {- highlight: "Unlimited",- content: "notebooks & tags*",- icon: "emoticon",- pro: true- },- {- highlight: "Organize",- content: "with colors",- icon: "palette",- pro: true- },- {- highlight: "Side menu",- content: "shortcuts",- icon: "link-variant"- },- {- highlight: "Pin note in",- content: "notifications",- icon: "pin",- platform: "android"- }- ],- info: "* Free users are limited to keeping 3 notebooks and 5 tags."- },-- {- title: "Instant sync",- detail:- "Seamlessly work from anywhere on any device. Every change is synced instantly to all your devices.",- info: "* Disable sync completely, turn off auto sync or disable editor realtime sync.",- features: [- {- highlight: "Sync to unlimited",- content: "devices",- icon: "cellphone"- },- {- highlight: "Realtime",- content: "editor sync",- icon: "sync"- },- {- highlight: "Granular sync",- content: "controls *",- icon: "sync-off"- }- ]- },- {- title: "Rich tools for rich editing",- detail:- "Having the right tool at the right time is crucial for note taking. Lists, tables, codeblocks — you name it, we have it.",- features: [- {- highlight: "Basic formatting",- content: "and lists",- icon: "format-bold"- },- {- highlight: "Checklists",- content: "& tables",- icon: "table",- pro: true- },- {- highlight: "Markdown",- content: "support",- icon: "language-markdown",- pro: true- },- {- highlight: "Personalized",- content: "editor toolbar",- icon: "gesture-tap-button",- pro: true- },- {- highlight: "Write notes from",- content: "notifications",- icon: "bell",- platform: "android"- }- ]- },- {- title: "Safe publishing to the Internet",- detail:- "Publishing is nothing new but we offer fully encrypted, anonymous publishing. Take any note & share it with the world.",- features: [- {- highlight: "Password protected",- content: "sharing",- icon: "send-lock"- },- {- highlight: "Self destruct",- content: "monographs",- icon: "bomb"- }- ]- },- {- title: "Export and take your notes anywhere",- pro: true,- detail:- "You own your notes, not us. No proprietary formats. No vendor lock in. No waiting for hours to download your notes.",- info: "* Free users can export notes in well formatted plain text.",- features: [- {- highlight: "Export as ",- content: "Markdown",- icon: "language-markdown",- pro: true- },- {- highlight: "Export as",- content: "PDF",- icon: "file-pdf-box",- pro: true- },- {- highlight: "Export as",- content: "HTML",- icon: "language-html5",- pro: true- },- {- highlight: "Export as",- content: "text",- icon: "clipboard-text-outline"- }- ]- },- {- title: "Backup & keep your notes safe",- detail:- "Do not worry about losing your data. Turn on automatic backups on weekly or daily basis.",- features: [- {- highlight: "Backup",- content: "encryption",- icon: "backup-restore"- }- ],- pro: true- },- {- title: "Personalize & make Notesnook your own",- detail:- "Change app themes to match your style. Custom themes are coming soon.",-- features: [- {- highlight: "Automatic",- content: "dark mode",- icon: "theme-light-dark",- pro: false- },- {- highlight: "Change accent",- content: "color",- icon: "invert-colors",- pro: true- }- ]- }-];--/**- *- {- highlight: 'Private vault',- content: 'for notes',- icon: 'shield-lock'- }- */diff --git a/apps/mobile/app/components/premium/group.js b/apps/mobile/app/components/premium/group.jsdeleted file mode 100644index a1b0b50df..000000000--- a/apps/mobile/app/components/premium/group.js+++ /dev/null@@ -1,93 +0,0 @@-/*-This file is part of the Notesnook project (https://notesnook.com/)--Copyright (C) 2023 Streetwriters (Private) Limited--This program is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--This program is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with this program. If not, see <http://www.gnu.org/licenses/>.-*/--import React from "react";-import { ScrollView, View } from "react-native";-import { useThemeColors } from "@notesnook/theme";-import { AppFontSize } from "../../utils/size";-import Heading from "../ui/typography/heading";-import Paragraph from "../ui/typography/paragraph";-import { FeatureBlock } from "./feature";-import { ProTag } from "./pro-tag";-import { DefaultAppStyles } from "../../utils/styles";--export const Group = ({ item, index }) => {- const { colors } = useThemeColors();-- return (- <View- style={{- paddingHorizontal: DefaultAppStyles.GAP,- backgroundColor:- index % 2 !== 0- ? colors.primary.background- : colors.secondary.background,- paddingVertical: 40- }}- >- {item?.pro ? (- <ProTag- size={AppFontSize.sm}- background={- index % 2 === 0- ? colors.primary.background- : colors.secondary.background- }- />- ) : null}- <Heading>{item.title}</Heading>- <Paragraph size={AppFontSize.md}>{item.detail}</Paragraph>-- {item.features && (- <ScrollView- style={{- marginTop: DefaultAppStyles.GAP- }}- horizontal- showsHorizontalScrollIndicator={false}- >- {item.features?.map((item) => (- <FeatureBlock- key={item.detail}- {...item}- detail={item.detail}- pro={item.pro}- proTagBg={- index % 2 === 0- ? colors.primary.background- : colors.secondary.background- }- />- ))}- </ScrollView>- )}- {item.info ? (- <Paragraph- style={{- marginTop: DefaultAppStyles.GAP_VERTICAL- }}- size={AppFontSize.xs}- color={colors.secondary.paragraph}- >- {item.info}- </Paragraph>- ) : null}- </View>- );-};diff --git a/apps/mobile/app/components/premium/index.js b/apps/mobile/app/components/premium/index.jsdeleted file mode 100644index 9fb978c70..000000000--- a/apps/mobile/app/components/premium/index.js+++ /dev/null@@ -1,88 +0,0 @@-/*-This file is part of the Notesnook project (https://notesnook.com/)--Copyright (C) 2023 Streetwriters (Private) Limited--This program is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--This program is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with this program. If not, see <http://www.gnu.org/licenses/>.-*/--import React, { createRef } from "react";-import {- eSubscribeEvent,- eUnSubscribeEvent-} from "../../services/event-manager";-import { eClosePremiumDialog, eOpenPremiumDialog } from "../../utils/events";-import BaseDialog from "../dialog/base-dialog";-import { PaywallComponent } from "./component";-import { IconButton } from "../ui/icon-button";--class PremiumDialog extends React.Component {- constructor(props) {- super(props);- this.state = {- visible: false,- promo: null- };- this.actionSheetRef = createRef();- }-- componentDidMount() {- eSubscribeEvent(eOpenPremiumDialog, this.open);- eSubscribeEvent(eClosePremiumDialog, this.close);- }-- componentWillUnmount() {- eUnSubscribeEvent(eOpenPremiumDialog, this.open);- eUnSubscribeEvent(eClosePremiumDialog, this.close);- }-- open = (promoInfo) => {- this.setState({- visible: true,- promo: promoInfo- });- };-- close = () => {- this.setState({- visible: false,- promo: null- });- };-- onClose = () => {- this.setState({- visible: false- });- };-- render() {- return !this.state.visible ? null : (- <BaseDialog- animation="slide"- bounce={false}- background={this.props.colors.primary.background}- onRequestClose={this.onClose}- >- <PaywallComponent- getRef={() => this.actionSheetRef}- promo={this.state.promo}- close={this.close}- />- </BaseDialog>- );- }-}--export default PremiumDialog;diff --git a/apps/mobile/app/components/premium/offer.js b/apps/mobile/app/components/premium/offer.jsdeleted file mode 100644index 7a5f8dc40..000000000--- a/apps/mobile/app/components/premium/offer.js+++ /dev/null@@ -1,46 +0,0 @@-/*-This file is part of the Notesnook project (https://notesnook.com/)--Copyright (C) 2023 Streetwriters (Private) Limited--This program is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--This program is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with this program. If not, see <http://www.gnu.org/licenses/>.-*/--import React from "react";-import { Text } from "react-native";-import { useThemeColors } from "@notesnook/theme";-import { AppFontSize } from "../../utils/size";-import Paragraph from "../ui/typography/paragraph";--export const Offer = ({- off = "30",- text = "on yearly plan, offer ends soon",- padding = 0-}) => {- const { colors } = useThemeColors();-- return (- <Paragraph- style={{- textAlign: "center",- paddingVertical: padding- }}- size={AppFontSize.xxxl}- >- GET {off}- <Text style={{ color: colors.primary.accent }}>%</Text> OFF!{"\n"}- <Paragraph color={colors.secondary.paragraph}>{text}</Paragraph>- </Paragraph>- );-};diff --git a/apps/mobile/app/components/premium/component.tsx b/apps/mobile/app/components/premium/paywall.tsxsimilarity index 95%rename from apps/mobile/app/components/premium/component.tsxrename to apps/mobile/app/components/premium/paywall.tsxindex 965d3e72c..d5e18f6ee 100644--- a/apps/mobile/app/components/premium/component.tsx+++ b/apps/mobile/app/components/premium/paywall.tsx@@ -18,37 +18,35 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/import { useThemeColors } from "@notesnook/theme";-import React, { useState } from "react";+import React, { useEffect, useState } from "react";import {ActivityIndicator,+ BackHandler,Image,+ NativeEventSubscription,ScrollView,Text,TouchableOpacity,View} from "react-native";import * as RNIap from "react-native-iap";+import { SafeAreaView } from "react-native-safe-area-context";import Icon from "react-native-vector-icons/MaterialCommunityIcons";import ToggleSwitch from "toggle-switch-react-native";+import { useNavigationFocus } from "../../hooks/use-navigation-focus";import usePricingPlans, { PricingPlan } from "../../hooks/use-pricing-plans";+import Navigation, { NavigationProps } from "../../services/navigation";import { getElevationStyle } from "../../utils/elevation";import { openLinkInBrowser } from "../../utils/functions";-import { SIZE } from "../../utils/size";-import SheetProvider from "../sheet-provider";+import { AppFontSize } from "../../utils/size";+import { DefaultAppStyles } from "../../utils/styles";+import { Header } from "../header";import { BuyPlan } from "../sheets/buy-plan";import { Toast } from "../toast";import { Button } from "../ui/button";import Heading from "../ui/typography/heading";import Paragraph from "../ui/typography/paragraph";import { FeaturesList } from "./features-list";-import { IconButton } from "../ui/icon-button";-type PaywallComponentProps = {- isModal?: boolean;- close?: () => void;- promo?: {- promoCode: string;- };-};const Steps = {select: 1,@@ -56,20 +54,61 @@ const Steps = {finish: 3};-export const PaywallComponent = ({- close,- promo,- isModal-}: PaywallComponentProps) => {+const PayWall = (props: NavigationProps<"PayWall">) => {+ const routeParams = props.route.params;const { colors } = useThemeColors();- const pricingPlans = usePricingPlans({- promoOffer: promo- });+ const pricingPlans = usePricingPlans();const [annualBilling, setAnnualBilling] = useState(true);const [step, setStep] = useState(Steps.select);+ const isFocused = useNavigationFocus(props.navigation, {+ onBlur: () => true,+ onFocus: () => true+ });++ useEffect(() => {+ let listener: NativeEventSubscription;+ if (isFocused) {+ listener = BackHandler.addEventListener("hardwareBackPress", () => {+ if (routeParams.context === "signup" && step === Steps.select)+ return true;+ if (step === Steps.buy) {+ setStep(Steps.select);+ return true;+ }+ return false;+ });+ }+ return () => {+ listener.remove();+ };+ }, [isFocused, step]);return (- <>+ <SafeAreaView+ style={{+ backgroundColor: colors.primary.background,+ flex: 1+ }}+ >+ {routeParams.context === "signup" && step === Steps.select ? null : (+ <Header+ canGoBack={true}+ onLeftMenuButtonPress={() => {+ if (step === Steps.buy) {+ setStep(Steps.select);+ return;+ }+ props.navigation.goBack();+ }}+ title={+ step === Steps.buy+ ? pricingPlans.userCanRequestTrial+ ? `Try ${pricingPlans.currentPlan?.name} plan for free`+ : `${pricingPlans.currentPlan?.name} plan`+ : ""+ }+ />+ )}{step === Steps.select ? (<><ScrollView@@ -77,40 +116,20 @@ export const PaywallComponent = ({width: "100%"}}contentContainerStyle={{- gap: 12,+ gap: DefaultAppStyles.GAP_VERTICAL,paddingBottom: 80}}keyboardDismissMode="none"keyboardShouldPersistTaps="always"- stickyHeaderIndices={[0]}>- <View- style={{- flexDirection: "row",- alignItems: "center",- width: "100%",- justifyContent: "flex-start",- marginBottom: -12,- backgroundColor: colors.primary.background- }}- >- <IconButton- style={{- alignSelf: "flex-start"- }}- onPress={() => close?.()}- name="chevron-left"- />- </View>-<Viewstyle={{paddingTop: 100,borderBottomColor: colors.primary.border,borderBottomWidth: 1,- paddingHorizontal: 16,+ paddingHorizontal: DefaultAppStyles.GAP,paddingBottom: 25,- gap: 12+ gap: DefaultAppStyles.GAP_VERTICAL}}><View@@ -123,27 +142,27 @@ export const PaywallComponent = ({<Icon name="crown" size={30} color={colors.static.orange} /><Headingkey="heading"- size={SIZE.xl}+ size={AppFontSize.xl}style={{alignSelf: "center"}}>Notesnook{" "}- <Heading size={SIZE.xl} color={colors.primary.accent}>- Pro+ <Heading size={AppFontSize.xl} color={colors.primary.accent}>+ Plans</Heading></Heading></View>- <Paragraph key="description" size={SIZE.md}>+ <Paragraph key="description" size={AppFontSize.md}>Ready to take the next step on your private note taking journey?</Paragraph></View><Viewstyle={{- gap: 16,- paddingHorizontal: 16+ gap: DefaultAppStyles.GAP_VERTICAL,+ paddingHorizontal: DefaultAppStyles.GAP}}><TouchableOpacity@@ -231,7 +250,7 @@ export const PaywallComponent = ({style={{flexShrink: 1}}- size={SIZE.lg}+ size={AppFontSize.lg}>Open Source</Paragraph>@@ -269,7 +288,7 @@ export const PaywallComponent = ({style={{flexShrink: 1}}- size={SIZE.lg}+ size={AppFontSize.lg}>8.7K stars</Paragraph>@@ -307,7 +326,7 @@ export const PaywallComponent = ({maxWidth: 300,textAlign: "center"}}- size={SIZE.lg}+ size={AppFontSize.lg}>Recommended by Privacy Guides</Paragraph>@@ -436,6 +455,7 @@ After trying all the privacy security oriented note taking apps, for the price aborderTopWidth: 1,borderTopColor: colors.primary.border,position: "absolute",+ paddingBottom: DefaultAppStyles.GAP_VERTICAL,bottom: 0}}>@@ -451,7 +471,11 @@ After trying all the privacy security oriented note taking apps, for the price a}onPress={() => {if (pricingPlans.currentPlan?.id === "free") {- close?.();+ if (routeParams.context === "signup") {+ Navigation.replace("FluidPanelsView", {});+ } else {+ Navigation.goBack();+ }}if (!pricingPlans.currentPlan?.id ||@@ -484,7 +508,7 @@ After trying all the privacy security oriented note taking apps, for the price a)}<Toast context="local" />- </>+ </SafeAreaView>);};@@ -517,17 +541,19 @@ const FAQItem = (props: { question: string; answer: string }) => {style={{flexShrink: 1}}- size={SIZE.md}+ size={AppFontSize.md}>{props.question}</Heading><Iconname={expanded ? "chevron-up" : "chevron-down"}color={colors.secondary.icon}- size={SIZE.xxl}+ size={AppFontSize.xxl}/></View>- {expanded ? <Paragraph size={SIZE.md}>{props.answer}</Paragraph> : null}+ {expanded ? (+ <Paragraph size={AppFontSize.md}>{props.answer}</Paragraph>+ ) : null}</TouchableOpacity>);};@@ -575,17 +601,17 @@ const ComparePlans = React.memo({item === true ? (<Iconcolor={colors.primary.accent}- size={SIZE.sm}+ size={AppFontSize.sm}name="check"/>) : item === false ? (<Icon- size={SIZE.sm}+ size={AppFontSize.sm}color={colors.static.red}name="close"/>) : keyIndex === 0 ? (- <Heading size={SIZE.sm}>{item}</Heading>+ <Heading size={AppFontSize.sm}>{item}</Heading>) : (<Paragraph>{item}</Paragraph>)}@@ -626,7 +652,7 @@ const ReviewItem = (props: {style={{textAlign: "center"}}- size={SIZE.md}+ size={AppFontSize.md}>{props.review}</Paragraph>@@ -655,7 +681,7 @@ const ReviewItem = (props: {}}/>) : null}- <Paragraph size={SIZE.sm}>{props.user}</Paragraph>+ <Paragraph size={AppFontSize.sm}>{props.user}</Paragraph></View></View>);@@ -724,14 +750,14 @@ const PricingPlanCard = ({alignSelf: "flex-start"}}>- <Heading color={colors.static.white} size={SIZE.xs}>+ <Heading color={colors.static.white} size={AppFontSize.xs}>{discountPercentage}% Off</Heading></View>) : null}<View>- <Heading size={SIZE.md}>+ <Heading size={AppFontSize.md}>{plan.name}{" "}{plan.recommended ? (<Text@@ -751,12 +777,12 @@ const PricingPlanCard = ({<ActivityIndicator size="small" color={colors.primary.accent} />) : (<View>- <Paragraph size={SIZE.lg}>+ <Paragraph size={AppFontSize.lg}>{isFreePlan ? "0.00" : price} <Paragraph>/month</Paragraph></Paragraph>{isFreePlan ? null : (- <Paragraph color={colors.secondary.paragraph} size={SIZE.xs}>+ <Paragraph color={colors.secondary.paragraph} size={AppFontSize.xs}>billed {annualBilling ? "annually" : "monthly"} at{" "}{pricingPlans?.getStandardPrice(product as RNIap.Subscription)}{" "}</Paragraph>@@ -766,3 +792,5 @@ const PricingPlanCard = ({</TouchableOpacity>);};++export default PayWall;diff --git a/apps/mobile/app/components/premium/premium-toast.js b/apps/mobile/app/components/premium/premium-toast.jsdeleted file mode 100644index b946c1f46..000000000--- a/apps/mobile/app/components/premium/premium-toast.js+++ /dev/null@@ -1,144 +0,0 @@-/*-This file is part of the Notesnook project (https://notesnook.com/)--Copyright (C) 2023 Streetwriters (Private) Limited--This program is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--This program is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with this program. If not, see <http://www.gnu.org/licenses/>.-*/--import React, { useCallback, useEffect, useRef, useState } from "react";-import { View } from "react-native";-import Animated, { FadeInUp, FadeOutUp } from "react-native-reanimated";-import useKeyboard from "../../hooks/use-keyboard";-import { DDS } from "../../services/device-detection";-import {- eSendEvent,- eSubscribeEvent,- eUnSubscribeEvent-} from "../../services/event-manager";-import { useThemeColors } from "@notesnook/theme";-import { getElevationStyle } from "../../utils/elevation";-import {- eCloseActionSheet,- eCloseSheet,- eOpenPremiumDialog,- eShowGetPremium-} from "../../utils/events";-import { AppFontSize } from "../../utils/size";-import { sleep } from "../../utils/time";-import { Button } from "../ui/button";-import Heading from "../ui/typography/heading";-import Paragraph from "../ui/typography/paragraph";-import { DefaultAppStyles } from "../../utils/styles";--export const PremiumToast = ({ context = "global", offset = 0 }) => {- const { colors } = useThemeColors();- const [msg, setMsg] = useState(null);- const timer = useRef();- const keyboard = useKeyboard();-- const open = useCallback(- (event) => {- if (!event) {- clearTimeout(timer);- timer.current = null;- setMsg(null);- return;- }-- if (event.context === context && msg?.desc !== event.desc) {- if (timer.current !== null) {- clearTimeout(timer.current);- timer.current = null;- }- setMsg(event);- timer.current = setTimeout(async () => {- setMsg(null);- }, 3000);- }- },- [context, msg?.desc]- );-- useEffect(() => {- eSubscribeEvent(eShowGetPremium, open);- return () => {- eUnSubscribeEvent(eShowGetPremium, open);- };- }, [open]);-- const onPress = async () => {- open(null);- eSendEvent(eCloseActionSheet);- eSendEvent(eCloseSheet);- await sleep(300);- eSendEvent(eOpenPremiumDialog);- };-- return (- !!msg && (- <Animated.View- entering={FadeInUp}- exiting={FadeOutUp}- style={{- position: "absolute",- backgroundColor: colors.secondary.background,- zIndex: 999,- ...getElevationStyle(20),- padding: DefaultAppStyles.GAP,- borderRadius: 10,- flexDirection: "row",- alignSelf: "center",- justifyContent: "space-between",- top: offset + keyboard.keyboardHeight,- maxWidth: DDS.isLargeTablet() ? 400 : "98%"- }}- onTouchEnd={() => {- setMsg(null);- clearTimeout(timer.current);- }}- >- <View- style={{- flexShrink: 1,- flexGrow: 1,- paddingRight: 6- }}- >- <Heading- style={{- flexWrap: "wrap"- }}- color={colors.primary.accent}- size={AppFontSize.md}- >- {msg.title}- </Heading>-- <Paragraph- style={{- flexWrap: "wrap"- }}- size={AppFontSize.sm}- color={colors.primary.paragraph}- >- {msg.desc}- </Paragraph>- </View>-- <Button onPress={onPress} title="Get Now" type="accent" />- </Animated.View>- )- );-};diff --git a/apps/mobile/app/components/premium/pricing-item.tsx b/apps/mobile/app/components/premium/pricing-item.tsxdeleted file mode 100644index 42fdcd47e..000000000--- a/apps/mobile/app/components/premium/pricing-item.tsx+++ /dev/null@@ -1,101 +0,0 @@-/*-This file is part of the Notesnook project (https://notesnook.com/)--Copyright (C) 2023 Streetwriters (Private) Limited--This program is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--This program is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with this program. If not, see <http://www.gnu.org/licenses/>.-*/--import React from "react";-import { Platform, View } from "react-native";-import { AppFontSize } from "../../utils/size";-import { Pressable } from "../ui/pressable";-import Heading from "../ui/typography/heading";-import Paragraph from "../ui/typography/paragraph";-import RNIap from "react-native-iap";-import { DefaultAppStyles } from "../../utils/styles";--export const PricingItem = ({- product,- onPress,- compact,- strikethrough-}: {- product: {- type: "yearly" | "monthly";- data?: RNIap.Subscription;- info: string;- offerType?: "yearly" | "monthly";- };- strikethrough?: boolean;- onPress?: () => void;- compact?: boolean;-}) => {- return (- <Pressable- onPress={onPress}- type="secondary"- style={{- flexDirection: "row",- justifyContent: "space-between",- alignItems: "center",- paddingHorizontal: DefaultAppStyles.GAP,- paddingVertical: compact ? 15 : 10,- width: compact ? null : "100%",- minWidth: 150,- opacity: strikethrough ? 0.7 : 1- }}- disabled={strikethrough}- >- {!compact && (- <View>- <Heading size={AppFontSize.lg - 2}>- {product?.type === "yearly" || product?.offerType === "yearly"- ? "Yearly"- : "Monthly"}- </Heading>- {product?.info && (- <Paragraph size={AppFontSize.xs}>{product.info}</Paragraph>- )}- </View>- )}-- <View>- <Paragraph- style={{- textDecorationLine: strikethrough ? "line-through" : undefined- }}- size={AppFontSize.sm}- >- <Heading- style={{- textDecorationLine: strikethrough ? "line-through" : undefined- }}- size={AppFontSize.lg - 2}- >- {Platform.OS === "android"- ? (product.data as RNIap.SubscriptionAndroid | undefined)- ?.subscriptionOfferDetails?.[0]?.pricingPhases- .pricingPhaseList?.[0]?.formattedPrice- : (product.data as RNIap.SubscriptionIOS | undefined)- ?.localizedPrice}- </Heading>- {product?.type === "yearly" || product?.offerType === "yearly"- ? "/year"- : "/month"}- </Paragraph>- </View>- </Pressable>- );-};diff --git a/apps/mobile/app/components/premium/pricing-plans.tsx b/apps/mobile/app/components/premium/pricing-plans.tsxdeleted file mode 100644index 653ab7694..000000000--- a/apps/mobile/app/components/premium/pricing-plans.tsx+++ /dev/null@@ -1,431 +0,0 @@-/*-This file is part of the Notesnook project (https://notesnook.com/)--Copyright (C) 2023 Streetwriters (Private) Limited--This program is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--This program is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with this program. If not, see <http://www.gnu.org/licenses/>.-*/--import { useThemeColors } from "@notesnook/theme";-import React from "react";-import { ActivityIndicator, Platform, Text, View } from "react-native";-import usePricingPlans from "../../hooks/use-pricing-plans";-import { eSendEvent, ToastManager } from "../../services/event-manager";-import {- eClosePremiumDialog,- eCloseSheet,- eCloseSimpleDialog,- eOpenLoginDialog-} from "../../utils/events";-import { openLinkInBrowser } from "../../utils/functions";-import { AppFontSize } from "../../utils/size";-import { DefaultAppStyles } from "../../utils/styles";-import { Dialog } from "../dialog";-import BaseDialog from "../dialog/base-dialog";-import { presentDialog } from "../dialog/functions";-import { Button } from "../ui/button";-import Heading from "../ui/typography/heading";-import Paragraph from "../ui/typography/paragraph";-import { PricingItem } from "./pricing-item";--const UUID_PREFIX = "0bdaea";-const UUID_VERSION = "4";-const UUID_VARIANT = "a";--function toUUID(str: string) {- return [- UUID_PREFIX + str.substring(0, 2), // 6 digit prefix + first 2 oid digits- str.substring(2, 6), // # next 4 oid digits- UUID_VERSION + str.substring(6, 9), // # 1 digit version(0x4) + next 3 oid digits- UUID_VARIANT + str.substring(9, 12), // # 1 digit variant(0b101) + 1 zero bit + next 3 oid digits- str.substring(12)- ].join("-");-}--const promoCyclesMonthly = {- 1: "first month",- 2: "first 2 months",- 3: "first 3 months",- 4: "first 4 months",- 5: "first 5 months",- 6: "first 3 months"-};--const promoCyclesYearly = {- 1: "first year",- 2: "first 2 years",- 3: "first 3 years"-};--export const PricingPlans = ({- promo,- marginTop,- heading = true,- compact = false-}: {- promo?: {- promoCode: string;- };- marginTop?: any;- heading?: boolean;- compact?: boolean;-}) => {- const { colors } = useThemeColors();- const {- buySubscription,- buying,- getStandardPrice,- product,- setBuying,- loading,- user,- setProduct,- monthlyPlan,- yearlyPlan,- getPromo- } = usePricingPlans({- promoOffer: promo- });-- return loading ? (- <View- style={{- paddingHorizontal: DefaultAppStyles.GAP,- justifyContent: "center",- alignItems: "center",- height: 100- }}- >- <ActivityIndicator color={colors.primary.accent} size={25} />- </View>- ) : (- <View- style={{- paddingHorizontal: DefaultAppStyles.GAP- }}- >- {buying ? (- <BaseDialog visible statusBarTranslucent centered>- <ActivityIndicator size={50} color="white" />- </BaseDialog>- ) : null}-- {!user && !product ? (- <>- {heading || (monthlyPlan?.info?.discount || 0) > 0 ? (- <>- {monthlyPlan && (monthlyPlan?.info?.discount || 0) > 0 ? (- <View- style={{- alignSelf: "center",- marginTop: marginTop || 20,- marginBottom: 20- }}- >- <Heading- style={{- textAlign: "center"- }}- color={colors.primary.accent}- >- Get {monthlyPlan?.info?.discount}% off in{" "}- {monthlyPlan?.info?.country}- </Heading>- </View>- ) : (- <Heading- style={{- alignSelf: "center",- marginTop: marginTop || 20,- marginBottom: 20- }}- >- Choose a plan- </Heading>- )}- </>- ) : null}-- <View- style={{- flexDirection: !compact ? "column" : "row",- flexWrap: "wrap",- justifyContent: "space-around"- }}- >- <PricingItem- onPress={() => {- if (!monthlyPlan?.product) return;- buySubscription(monthlyPlan?.product);- }}- compact={compact}- product={{- type: "monthly",- data: monthlyPlan?.product,- info: "Pay once a month, cancel anytime."- }}- />-- {!compact && (- <View- style={{- height: 1,- marginVertical: 5- }}- />- )}-- <PricingItem- onPress={() => {- if (!yearlyPlan?.product) return;- buySubscription(yearlyPlan?.product);- }}- compact={compact}- product={{- type: "yearly",- data: yearlyPlan?.product,- info: "Pay once a year, cancel anytime."- }}- />- </View>-- {Platform.OS !== "ios" ? (- <Button- height={35}- style={{- marginTop: 10- }}- onPress={() => {- presentDialog({- context: "local",- input: true,- inputPlaceholder: "Enter code",- positiveText: "Apply",- positivePress: async (value) => {- if (!value) return;- eSendEvent(eCloseSimpleDialog);- setBuying(true);- try {- if (!(await getPromo(value as string)))- throw new Error("Error applying promo code");- ToastManager.show({- heading: "Discount applied!",- type: "success",- context: "local"- });- setBuying(false);- } catch (e) {- setBuying(false);- ToastManager.show({- heading: "Promo code invalid or expired",- message: (e as Error).message,- type: "error",- context: "local"- });- }- },- title: "Have a promo code?",- paragraph: "Enter your promo code to get a special discount."- });- }}- title="I have a promo code"- />- ) : (- <View- style={{- height: 15- }}- />- )}- </>- ) : (- <View>- {!user ? (- <>- <Button- onPress={() => {- eSendEvent(eClosePremiumDialog);- eSendEvent(eCloseSheet);- setTimeout(() => {- eSendEvent(eOpenLoginDialog, 1);- }, 400);- }}- title={"Sign up for free"}- type="accent"- width={250}- style={{- paddingHorizontal: 12,- marginTop: product?.type === "promo" ? 0 : 30,- marginBottom: 10- }}- />- {Platform.OS !== "ios" &&- promo &&- !promo.promoCode.startsWith("com.streetwriters.notesnook") ? (- <Paragraph- size={AppFontSize.md}- textBreakStrategy="balanced"- style={{- alignSelf: "center",- justifyContent: "center",- textAlign: "center"- }}- >- Use promo code{" "}- <Text- style={{- fontFamily: "OpenSans-SemiBold"- }}- >- {promo.promoCode}- </Text>{" "}- at checkout- </Paragraph>- ) : null}- </>- ) : (- <>- <Button- onPress={() => {- if (!product?.data) return;- buySubscription(product.data);- }}- height={40}- width="50%"- type="accent"- title="Subscribe now"- />-- <Button- onPress={() => {- setProduct(undefined);- }}- style={{- marginTop: 5- }}- height={30}- fontSize={13}- type="errorShade"- title="Cancel promo code"- />- </>- )}- </View>- )}-- {!user ? (- <Paragraph- color={colors.secondary.paragraph}- size={AppFontSize.xs}- style={{- alignSelf: "center",- textAlign: "center",- marginTop: DefaultAppStyles.GAP_VERTICAL,- maxWidth: "80%"- }}- >- {user- ? 'On clicking "Try free for 14 days", your free trial will be activated.'- : "After sign up you will be asked to activate your free trial."}{" "}- <Paragraph size={AppFontSize.xs} style={{ fontWeight: "bold" }}>- No credit card is required.- </Paragraph>- </Paragraph>- ) : null}-- {user ? (- <>- {Platform.OS === "ios" ? (- <Paragraph- textBreakStrategy="balanced"- size={AppFontSize.xs}- color={colors.secondary.paragraph}- style={{- alignSelf: "center",- marginTop: DefaultAppStyles.GAP_VERTICAL,- textAlign: "center"- }}- >- By subscribing, you will be charged to your iTunes Account for the- selected plan. Subscriptions will automatically renew unless- cancelled within 24-hours before the end of the current period.- </Paragraph>- ) : (- <Paragraph- size={AppFontSize.xs}- color={colors.secondary.paragraph}- style={{- alignSelf: "center",- marginTop: DefaultAppStyles.GAP_VERTICAL,- textAlign: "center"- }}- >- By subscribing, you will be charged on your Google Account, and- your subscription will automatically renew until you cancel prior- to the end of the then current period.- </Paragraph>- )}-- <View- style={{- width: "100%"- }}- >- <Paragraph- size={AppFontSize.xs}- color={colors.secondary.paragraph}- style={{- maxWidth: "100%",- textAlign: "center"- }}- >- By subscribing, you agree to our{" "}- <Paragraph- size={AppFontSize.xs}- onPress={() => {- openLinkInBrowser("https://notesnook.com/tos")- .catch(() => {})- .then(() => {});- }}- style={{- textDecorationLine: "underline"- }}- color={colors.primary.accent}- >- Terms of Service{" "}- </Paragraph>- and{" "}- <Paragraph- size={AppFontSize.xs}- onPress={() => {- openLinkInBrowser("https://notesnook.com/privacy")- .catch(() => {})- .then(() => {});- }}- style={{- textDecorationLine: "underline"- }}- color={colors.primary.accent}- >- Privacy Policy.- </Paragraph>- </Paragraph>- </View>- </>- ) : null}-- <Dialog context="local" />- </View>- );-};diff --git a/apps/mobile/app/components/premium/pro-tag.js b/apps/mobile/app/components/premium/pro-tag.jsdeleted file mode 100644index d05028518..000000000--- a/apps/mobile/app/components/premium/pro-tag.js+++ /dev/null@@ -1,60 +0,0 @@-/*-This file is part of the Notesnook project (https://notesnook.com/)--Copyright (C) 2023 Streetwriters (Private) Limited--This program is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--This program is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with this program. If not, see <http://www.gnu.org/licenses/>.-*/--import React from "react";-import { View } from "react-native";-import Icon from "react-native-vector-icons/MaterialCommunityIcons";-import { useThemeColors } from "@notesnook/theme";-import Paragraph from "../ui/typography/paragraph";-import { DefaultAppStyles } from "../../utils/styles";--/**- *- * @param {any} param0- * @returns- */-export const ProTag = ({ width, size, background }) => {- const { colors } = useThemeColors();-- return (- <View- style={{- backgroundColor: background || colors.primary.background,- borderRadius: 100,- width: width || 60,- justifyContent: "center",- alignItems: "center",- paddingVertical: DefaultAppStyles.GAP_VERTICAL_SMALL / 2,- flexDirection: "row"- }}- >- <Icon- style={{- marginRight: 3- }}- size={size}- color={colors.static.orange}- name="crown"- />- <Paragraph size={size - 1.5} color={colors.primary.accent}>- PRO- </Paragraph>- </View>- );-};diff --git a/apps/mobile/app/components/sheets/buy-plan/index.tsx b/apps/mobile/app/components/sheets/buy-plan/index.tsxindex 9cd29aa21..2eb318483 100644--- a/apps/mobile/app/components/sheets/buy-plan/index.tsx+++ b/apps/mobile/app/components/sheets/buy-plan/index.tsx@@ -16,6 +16,8 @@ GNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.*/+import { useThemeColors } from "@notesnook/theme";+import dayjs from "dayjs";import React from "react";import {Platform,@@ -24,19 +26,17 @@ import {TouchableOpacity,View} from "react-native";-import usePricingPlans from "../../../hooks/use-pricing-plans";-import { presentSheet } from "../../../services/event-manager";-import Icon from "react-native-vector-icons/MaterialCommunityIcons";-import { SIZE } from "../../../utils/size";-import Paragraph from "../../ui/typography/paragraph";-import Heading from "../../ui/typography/heading";-import { useThemeColors } from "@notesnook/theme";import * as RNIap from "react-native-iap";-import { Button } from "../../ui/button";-import dayjs from "dayjs";+import Icon from "react-native-vector-icons/MaterialCommunityIcons";+import useGlobalSafeAreaInsets from "../../../hooks/use-global-safe-area-insets";+import usePricingPlans from "../../../hooks/use-pricing-plans";import { openLinkInBrowser } from "../../../utils/functions";+import { AppFontSize } from "../../../utils/size";+import { Button } from "../../ui/button";import { IconButton } from "../../ui/icon-button";-import useGlobalSafeAreaInsets from "../../../hooks/use-global-safe-area-insets";+import Heading from "../../ui/typography/heading";+import Paragraph from "../../ui/typography/paragraph";+import { DefaultAppStyles } from "../../../utils/styles";export const BuyPlan = (props: {planId: string;@@ -67,9 +67,8 @@ export const BuyPlan = (props: {return (<ScrollViewcontentContainerStyle={{- gap: 16,paddingBottom: 80,- paddingTop: Platform.OS === "android" ? insets.top : 0+ marginTop: DefaultAppStyles.GAP}}keyboardDismissMode="none"keyboardShouldPersistTaps="always"@@ -77,40 +76,9 @@ export const BuyPlan = (props: {><Viewstyle={{- flexDirection: "row",- alignItems: "center",- width: "100%",- backgroundColor: colors.primary.background- }}- >- <IconButton- name="chevron-left"- onPress={() => {- props.goBack();- }}- style={{- alignSelf: "flex-start"- }}- />- </View>-- <View- style={{- paddingHorizontal: 16,- gap: 16+ paddingHorizontal: DefaultAppStyles.GAP}}>- <Heading- style={{- alignSelf: "center",- marginBottom: 10- }}- >- {props.canActivateTrial- ? `Try ${pricingPlans.currentPlan?.name} plan for free`- : `${pricingPlans.currentPlan?.name} plan`}{" "}- </Heading>-{props.canActivateTrial ? (<Viewstyle={{@@ -138,7 +106,7 @@ export const BuyPlan = (props: {><Iconcolor={colors.primary.accent}- size={SIZE.lg}+ size={AppFontSize.lg}name="check"/><Paragraph>{item}</Paragraph>@@ -164,11 +132,10 @@ export const BuyPlan = (props: {<Viewstyle={{flexDirection: "row",- justifyContent: "space-between",- marginTop: 20+ justifyContent: "space-between"}}>- <Heading color={colors.primary.paragraph} size={SIZE.sm}>+ <Heading color={colors.primary.paragraph} size={AppFontSize.sm}>Due today{" "}{pricingPlans.userCanRequestTrial ? (<Text@@ -220,6 +187,10 @@ export const BuyPlan = (props: {? "Subscribe and start free trial": "Subscribe"}+ style={{+ marginTop: DefaultAppStyles.GAP_VERTICAL,+ marginBottom: DefaultAppStyles.GAP_VERTICAL+ }}onPress={() => {const offerToken = pricingPlans.getOfferTokenAndroid(pricingPlans.selectedProduct as RNIap.SubscriptionAndroid,@@ -232,50 +203,48 @@ export const BuyPlan = (props: {}}/>- <View>- <Heading+ <Heading+ style={{+ textAlign: "center"+ }}+ color={colors.secondary.paragraph}+ size={AppFontSize.xs}+ >+ {is5YearPlanSelected+ ? `This is a one time purchase, no subscription.`+ : `Cancel anytime, subscription auto-renews.`}+ </Heading>+ <Heading+ style={{+ textAlign: "center"+ }}+ color={colors.secondary.paragraph}+ size={AppFontSize.xs}+ >+ By joining you agree to our{" "}+ <Textstyle={{- textAlign: "center"+ textDecorationLine: "underline"+ }}+ onPress={() => {+ openLinkInBrowser("https://notesnook.com/privacy");}}- color={colors.secondary.paragraph}- size={SIZE.xs}>- {is5YearPlanSelected- ? `This is a one time purchase, no subscription.`- : `Cancel anytime, subscription auto-renews.`}- </Heading>- <Heading+ privacy policy+ </Text>{" "}+ and{" "}+ <Textstyle={{- textAlign: "center"+ textDecorationLine: "underline"+ }}+ onPress={() => {+ openLinkInBrowser("https://notesnook.com/tos");}}- color={colors.secondary.paragraph}- size={SIZE.xs}>- By joining you agree to our{" "}- <Text- style={{- textDecorationLine: "underline"- }}- onPress={() => {- openLinkInBrowser("https://notesnook.com/privacy");- }}- >- privacy policy- </Text>{" "}- and{" "}- <Text- style={{- textDecorationLine: "underline"- }}- onPress={() => {- openLinkInBrowser("https://notesnook.com/tos");- }}- >- terms of use- </Text>- .- </Heading>- </View>+ terms of use+ </Text>+ .+ </Heading></View></ScrollView>);@@ -307,20 +276,20 @@ const ProductItem = (props: {<Iconname={isSelected ? "radiobox-marked" : "radiobox-blank"}color={isSelected ? colors.primary.accent : colors.secondary.icon}- size={SIZE.lg}+ size={AppFontSize.lg}/><Viewstyle={{- gap: 10+ gap: DefaultAppStyles.GAP_VERTICAL}}><Viewstyle={{flexDirection: "row",- gap: 10+ gap: DefaultAppStyles.GAP_VERTICAL}}>- <Heading size={SIZE.md}>+ <Heading size={AppFontSize.md}>{isAnnual? "Yearly": product?.productId.includes("5year")@@ -338,7 +307,7 @@ const ProductItem = (props: {justifyContent: "center"}}>- <Heading color={colors.static.white} size={SIZE.xs}>+ <Heading color={colors.static.white} size={AppFontSize.xs}>Best value -{" "}{props.pricingPlans.compareProductPrice(props.pricingPlans.currentPlan?.id as string,diff --git a/apps/mobile/app/components/sheets/export-notes/index.tsx b/apps/mobile/app/components/sheets/export-notes/index.tsxindex 86dd3dcc5..ab3206d08 100644--- a/apps/mobile/app/components/sheets/export-notes/index.tsx+++ b/apps/mobile/app/components/sheets/export-notes/index.tsx@@ -48,7 +48,6 @@ import { DefaultAppStyles } from "../../../utils/styles";import { sleep } from "../../../utils/time";import { Dialog } from "../../dialog";import DialogHeader from "../../dialog/dialog-header";-import { ProTag } from "../../premium/pro-tag";import { Button } from "../../ui/button";import { IconButton } from "../../ui/icon-button";import { Pressable } from "../../ui/pressable";@@ -227,7 +226,6 @@ const ExportNotesSheet = ({flexShrink: 1}}>- {!item.pro ? <ProTag size={12} /> : null}<Heading style={{ marginLeft: 10 }} size={AppFontSize.md}>{item.title}</Heading>diff --git a/apps/mobile/app/components/ui/button/index.tsx b/apps/mobile/app/components/ui/button/index.tsxindex f513ac238..e4c0fc29e 100644--- a/apps/mobile/app/components/ui/button/index.tsx+++ b/apps/mobile/app/components/ui/button/index.tsx@@ -24,19 +24,17 @@ import {ColorValue,DimensionValue,TextStyle,- View,ViewStyle,useWindowDimensions} from "react-native";import Icon from "react-native-vector-icons/MaterialCommunityIcons";import { useUserStore } from "../../../stores/use-user-store";-import { defaultBorderRadius, AppFontSize } from "../../../utils/size";+import { AppFontSize, defaultBorderRadius } from "../../../utils/size";+import { DefaultAppStyles } from "../../../utils/styles";import NativeTooltip from "../../../utils/tooltip";-import { ProTag } from "../../premium/pro-tag";import { Pressable, PressableProps, useButton } from "../pressable";import Heading from "../typography/heading";import Paragraph from "../typography/paragraph";-import { DefaultAppStyles } from "../../../utils/styles";export interface ButtonProps extends PressableProps {height?: number;icon?: string;@@ -167,15 +165,6 @@ export const Button = ({{title}</Component>)}- {proTag && !premium ? (- <View- style={{- marginLeft: 10- }}- >- <ProTag size={10} width={40} background={colors.primary.shade} />- </View>- ) : null}{icon && !loading && iconPosition === "right" ? (<Icondiff --git a/apps/mobile/app/components/ui/sheet/index.js b/apps/mobile/app/components/ui/sheet/index.jsindex d701026fa..5c0c35fd7 100644--- a/apps/mobile/app/components/ui/sheet/index.js+++ b/apps/mobile/app/components/ui/sheet/index.js@@ -25,9 +25,9 @@ import useGlobalSafeAreaInsets from "../../../hooks/use-global-safe-area-insets"import { useSettingStore } from "../../../stores/use-setting-store";import { useUserStore } from "../../../stores/use-user-store";import { getContainerBorder } from "../../../utils/colors";-import { PremiumToast } from "../../premium/premium-toast";-import { Toast } from "../../toast";import { NotesnookModule } from "../../../utils/notesnook-module";+import { Toast } from "../../toast";+/**** @param {any} param0@@ -155,11 +155,6 @@ const SheetWrapper = ({ExtraOverlayComponent={<>{overlay}- <PremiumToast- context="sheet"- close={() => fwdRef?.current?.hide()}- offset={50}- /><Toast context="local" /></>}diff --git a/apps/mobile/app/hooks/use-app-events.tsx b/apps/mobile/app/hooks/use-app-events.tsxindex 4738b7f1f..4d780df78 100644--- a/apps/mobile/app/hooks/use-app-events.tsx+++ b/apps/mobile/app/hooks/use-app-events.tsx@@ -329,7 +329,6 @@ const doAppLoadActions = async () => {if (NewFeature.present()) return;if (await checkAppUpdateAvailable()) return;if (await checkForRateAppRequest()) return;- if (await PremiumService.getRemainingTrialDaysStatus()) return;if (SettingsService.get().introCompleted) {useMessageStore.subscribe((state) => {const dialogs = state.dialogs;diff --git a/apps/mobile/app/navigation/navigation-stack.tsx b/apps/mobile/app/navigation/navigation-stack.tsxindex af5dbe96c..c78847c58 100644--- a/apps/mobile/app/navigation/navigation-stack.tsx+++ b/apps/mobile/app/navigation/navigation-stack.tsx@@ -250,7 +250,7 @@ let MoveNotes: any = null;let Settings: any = null;let ManageTags: any = null;let AddReminder: any = null;-+let PayWall: any = null;export const RootNavigation = () => {const introCompleted = useSettingStore((state) => state.settings.introCompleted@@ -353,6 +353,14 @@ export const RootNavigation = () => {return AddReminder;}}/>+ <RootStack.Screen+ name="PayWall"+ getComponent={() => {+ PayWall =+ PayWall || require("../components/premium/paywall").default;+ return PayWall;+ }}+ /></RootStack.Navigator></NavigationContainer>);diff --git a/apps/mobile/app/screens/editor/wrapper.tsx b/apps/mobile/app/screens/editor/wrapper.tsxindex 2ac601a2b..6404d744e 100644--- a/apps/mobile/app/screens/editor/wrapper.tsx+++ b/apps/mobile/app/screens/editor/wrapper.tsx@@ -28,7 +28,6 @@ import {View} from "react-native";import Editor from ".";-import { PremiumToast } from "../../components/premium/premium-toast";import useGlobalSafeAreaInsets from "../../hooks/use-global-safe-area-insets";import useIsFloatingKeyboard from "../../hooks/use-is-floating-keyboard";import useKeyboard from "../../hooks/use-keyboard";@@ -112,7 +111,6 @@ export const EditorWrapper = ({ widths }: { widths: any }) => {enabled={!floating}keyboardVerticalOffset={0}>- <PremiumToast key="toast" context="editor" offset={50 + insets.top} /><TextInputkey="input"ref={textInput}diff --git a/apps/mobile/app/services/navigation.ts b/apps/mobile/app/services/navigation.tsindex 1ed737d07..b3bb1a745 100755--- a/apps/mobile/app/services/navigation.ts+++ b/apps/mobile/app/services/navigation.ts@@ -70,7 +70,8 @@ const routeNames = {MoveNotes: "MoveNotes",Archive: "Archive",ManageTags: "ManageTags",- AddReminder: "AddReminder"+ AddReminder: "AddReminder",+ PayWall: "PayWall"};export type NavigationProps<T extends RouteName> = NativeStackScreenProps<diff --git a/apps/mobile/app/services/premium.js b/apps/mobile/app/services/premium.jsindex 5ab1c45b3..3b1d81a27 100644--- a/apps/mobile/app/services/premium.js+++ b/apps/mobile/app/services/premium.js@@ -18,27 +18,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/import { CHECK_IDS } from "@notesnook/core";-import React from "react";import { Platform } from "react-native";import Config from "react-native-config";import * as RNIap from "react-native-iap";import { db } from "../common/database";import { MMKV } from "../common/database/mmkv";-import DialogHeader from "../components/dialog/dialog-header";-import { CompactFeatures } from "../components/premium/compact-features";-import { PricingPlans } from "../components/premium/pricing-plans";-import Seperator from "../components/ui/seperator";import { useUserStore } from "../stores/use-user-store";import { itemSkus, SUBSCRIPTION_STATUS } from "../utils/constants";-import {- eOpenPremiumDialog,- eOpenTrialEndingDialog,- eShowGetPremium-} from "../utils/events";+import { eOpenPremiumDialog, eShowGetPremium } from "../utils/events";import { eSendEvent, presentSheet, ToastManager } from "./event-manager";-import SettingsService from "./settings";import { strings } from "@notesnook/intl";+import SettingsService from "./settings";let premiumStatus = 0;/**@@ -100,22 +91,31 @@ function getMontlySub() {}async function loadProductsAndSubs() {- if (!subs || subs.length === 0) {- subs = await RNIap.getSubscriptions({- skus: itemSkus- });- }+ try {+ if (!subs || subs.length === 0) {+ subs = await RNIap.getSubscriptions({+ skus: itemSkus+ });+ console.log("SUBS", subs);+ }- if (!products || products.length === 0) {- products = await RNIap.getProducts({- skus: ["notesnook.pro.5year", "notesnook.believer.5year"]- });- }+ if (!products || products.length === 0) {+ products = await RNIap.getProducts({+ skus: ["notesnook.pro.5year", "notesnook.believer.5year"]+ });+ }- return {- subs,- products- };+ return {+ subs,+ products+ };+ } catch (e) {+ console.error("Failed to load products and subscriptions", e);+ return {+ subs: [],+ products: []+ };+ }}function get() {@@ -355,87 +355,7 @@ const subscriptions = {}};-async function getRemainingTrialDaysStatus() {- let user = await db.user.getUser();- if (!user || !user.subscription || user.subscription?.expiry === 0) return;-- let premium = user.subscription.type !== SUBSCRIPTION_STATUS.BASIC;- let isTrial = user.subscription.type === SUBSCRIPTION_STATUS.TRIAL;- let total = user.subscription.expiry - user.subscription.start;- let current = Date.now() - user.subscription.start;- current = (current / total) * 100;-- let lastTrialDialogShownAt = MMKV.getString("lastTrialDialogShownAt");-- if (current > 75 && isTrial && lastTrialDialogShownAt !== "ending") {- eSendEvent(eOpenTrialEndingDialog, {- title: strings.trialEndingSoon(),- offer: null,- extend: false- });- MMKV.setItem("lastTrialDialogShownAt", "ending");- return true;- }-- if (!premium && lastTrialDialogShownAt !== "expired") {- eSendEvent(eOpenTrialEndingDialog, {- title: strings.trialExpired(),- offer: 30,- extend: false- });- MMKV.setItem("lastTrialDialogShownAt", "expired");- return true;- }- return false;-}--const features_list = [- {- content: "Unlock unlimited notebooks, tags, colors. Organize like a pro"- },- {- content: "Attach files upto 500MB, upload 4K images with unlimited storage"- },- {- content: "Instantly sync to unlimited devices"- },- {- content: "A private vault to keep everything important always locked"- },- {- content:- "Rich note editing experience with markdown, tables, checklists and more"- },- {- content: "Export your notes in PDF, markdown and html formats"- }-];--const sheet = (context, promo, trial) => {- presentSheet({- context: context,- component: (ref) => (- <>- <DialogHeader- centered- title="Upgrade to Notesnook"- titlePart="Pro"- paragraph="Manage your work on another level, enjoy seamless sync and keep all notes in one place."- padding={12}- />- <Seperator />- <CompactFeatures- scrollRef={ref}- maxHeight={400}- features={features_list}- vertical- />- <Seperator half />- <PricingPlans trial={trial} compact heading={false} promo={promo} />- </>- )- });-};+const sheet = (context, promo, trial) => {};const PremiumService = {verify,@@ -447,7 +367,6 @@ const PremiumService = {getUser,subscriptions,getMontlySub,- getRemainingTrialDaysStatus,sheet};diff --git a/apps/mobile/app/stores/use-navigation-store.ts b/apps/mobile/app/stores/use-navigation-store.tsindex 0ae1488ea..0d18c714e 100644--- a/apps/mobile/app/stores/use-navigation-store.ts+++ b/apps/mobile/app/stores/use-navigation-store.ts@@ -101,7 +101,11 @@ export interface RouteParams extends ParamListBase {reference?: Note;};Intro: GenericRouteParam;-};+ PayWall: {+ canGoBack?: boolean;+ context: "signup" | "logged-in" | "logged-out";+ };+}export type RouteName = keyof RouteParams;diff --git a/apps/mobile/native/fonts/MaterialCommunityIcons.ttf b/apps/mobile/native/fonts/MaterialCommunityIcons.ttfindex d666b3c41..113980e65 100644Binary files a/apps/mobile/native/fonts/MaterialCommunityIcons.ttf and b/apps/mobile/native/fonts/MaterialCommunityIcons.ttf differdiff --git a/apps/mobile/native/globals.js b/apps/mobile/native/globals.jsindex 5a9359e62..1fbeb81c4 100644--- a/apps/mobile/native/globals.js+++ b/apps/mobile/native/globals.js@@ -22,7 +22,7 @@ import {import Config from "react-native-config";i18n.load({- en: __DEV__ && Config.isTesting !== "true" ? $pseudo : $en+ en: !__DEV__ && Config.isTesting !== "true" ? $pseudo : $en});setI18nGlobal(i18n);i18n.activate("en");diff --git a/apps/mobile/native/react-native.config.js b/apps/mobile/native/react-native.config.jsindex d29dc5665..a257982b1 100644--- a/apps/mobile/native/react-native.config.js+++ b/apps/mobile/native/react-native.config.js@@ -1,7 +1,7 @@const isGithubRelease = false;const config = {- commands: require('@callstack/repack/commands/rspack'),+ // commands: require('@callstack/repack/commands/rspack'),project: {android: {sourceDir: './android'diff --git a/apps/mobile/package-lock.json b/apps/mobile/package-lock.jsonindex 7697e014c..d916b097e 100644--- a/apps/mobile/package-lock.json+++ b/apps/mobile/package-lock.json@@ -1,12 +1,12 @@{"name": "@notesnook/mobile",- "version": "3.2.10",+ "version": "3.2.5","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "@notesnook/mobile",- "version": "3.2.10",+ "version": "3.2.5","hasInstallScript": true,"license": "GPL-3.0-or-later","workspaces": [@@ -44449,11 +44449,6 @@"resolved": "https://registry.npmjs.org/react-native-format-currency/-/react-native-format-currency-0.0.5.tgz","integrity": "sha512-iarFkCig987Zw8GFPv0+ltEdAsksf0gfZGWL3+tC+60VHtnfbtFBFWP4523ltuXwplDxKu4Veem1ThEr+pZlvQ=="},- "node_modules/react-native-format-currency": {- "version": "0.0.5",- "resolved": "https://registry.npmjs.org/react-native-format-currency/-/react-native-format-currency-0.0.5.tgz",- "integrity": "sha512-iarFkCig987Zw8GFPv0+ltEdAsksf0gfZGWL3+tC+60VHtnfbtFBFWP4523ltuXwplDxKu4Veem1ThEr+pZlvQ=="- },"node_modules/react-native-gesture-handler": {"version": "2.25.0","resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-2.25.0.tgz",diff --git a/apps/monograph/package-lock.json b/apps/monograph/package-lock.jsonindex 2554e61c8..eec37de36 100644--- a/apps/monograph/package-lock.json+++ b/apps/monograph/package-lock.json@@ -70,6 +70,7 @@"dependencies": {"@leeoniya/ufuzzy": "^1.0.10","@microsoft/signalr": "^8.0.0",+ "@notesnook/intl": "file:../intl","@notesnook/logger": "file:../logger","@readme/data-urls": "^3.0.0","@streetwriters/kysely": "^0.27.4",@@ -83,7 +84,7 @@"entities": "5.0.0","fuzzyjs": "^5.0.1","html-to-text": "^9.0.5",- "htmlparser2": "^8.0.1",+ "htmlparser2": "^10.0.0","katex": "0.16.11","linkedom": "^0.14.17","liqe": "^1.13.0",@@ -91,8 +92,7 @@"prismjs": "^1.29.0","qclone": "^1.2.0","rfdc": "^1.3.0",- "spark-md5": "^3.0.2",- "sqlite-better-trigram": "0.0.2"+ "spark-md5": "^3.0.2"},"devDependencies": {"@notesnook/crypto": "file:../crypto",@@ -118,6 +118,9 @@"nanoid": "5.0.7","otplib": "^12.0.1","refractor": "^4.8.1",+ "sqlite-better-trigram": "^0.0.3",+ "sqlite-regex": "^0.2.4-alpha.1",+ "sqlite3-fts5-html": "^0.0.4","vitest": "2.1.8","vitest-fetch-mock": "^0.2.2","ws": "^8.13.0"@@ -138,7 +141,7 @@"hasInstallScript": true,"license": "GPL-3.0-or-later","dependencies": {- "@notesnook-importer/core": "^2.1.1",+ "@notesnook-importer/core": "^2.2.2","@notesnook/common": "file:../common","@notesnook/intl": "file:../intl","@notesnook/theme": "file:../theme",diff --git a/apps/theme-builder/package-lock.json b/apps/theme-builder/package-lock.jsonindex 627255550..55ecd525f 100644--- a/apps/theme-builder/package-lock.json+++ b/apps/theme-builder/package-lock.json@@ -987,7 +987,7 @@},"../web": {"name": "@notesnook/web",- "version": "3.0.30",+ "version": "3.2.3","hasInstallScript": true,"license": "GPL-3.0-or-later","dependencies": {@@ -1002,7 +1002,7 @@"@lingui/react": "5.1.2","@mdi/js": "7.4.47","@mdi/react": "1.6.1",- "@notesnook-importer/core": "^2.1.1",+ "@notesnook-importer/core": "^2.2.2","@notesnook/common": "file:../../packages/common","@notesnook/core": "file:../../packages/core","@notesnook/crypto": "file:../../packages/crypto",@@ -1015,6 +1015,7 @@"@notesnook/themes-server": "file:../../servers/themes","@notesnook/ui": "file:../../packages/ui","@notesnook/web-clipper": "file:../../extensions/web-clipper",+ "@paddle/paddle-js": "^1.4.2","@react-pdf-viewer/core": "^3.12.0","@react-pdf-viewer/toolbar": "^3.12.0","@rehookify/datepicker": "^6.6.7",@@ -1026,7 +1027,7 @@"@theme-ui/core": "0.16.1","@trpc/client": "10.45.2","@trpc/react-query": "10.45.2",- "@zip.js/zip.js": "^2.7.54",+ "@zip.js/zip.js": "^2.7.62","async-mutex": "0.5.0","axios": "^1.7.9","clipboard-polyfill": "4.1.0",@@ -1034,7 +1035,7 @@"cronosjs": "^1.7.1","dayjs": "1.11.13","diffblazer": "^1.0.1",- "electron-trpc": "0.6.1",+ "electron-trpc": "0.7.1","event-source-polyfill": "1.0.31","fflate": "^0.8.0","file-saver": "^2.0.5",@@ -1058,7 +1059,7 @@"react-modal": "3.16.3","react-qrcode-logo": "^2.9.0","react-scroll-sync": "^0.11.2",- "react-virtuoso": "^4.6.2",+ "react-virtuoso": "^4.12.3","snarkdown": "^2.0.0","timeago.js": "4.0.2","w3c-keyname": "^2.2.6",diff --git a/apps/web/package-lock.json b/apps/web/package-lock.jsonindex 40ef564f2..a6cfd1dcb 100644--- a/apps/web/package-lock.json+++ b/apps/web/package-lock.json@@ -504,7 +504,7 @@},"../desktop": {"name": "@notesnook/desktop",- "version": "3.3.0-beta.1",+ "version": "3.2.3","hasInstallScript": true,"license": "GPL-3.0-or-later","dependencies": {@@ -548,6 +548,7 @@"version": "2.3.0","resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz","integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",+ "dev": true,"license": "Apache-2.0","dependencies": {"@jridgewell/gen-mapping": "^0.3.5",@@ -656,6 +657,7 @@"version": "7.22.5","resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.5.tgz","integrity": "sha512-SBuTAjg91A3eKOvD+bPEz3LlhHZRNu1nFOVts9lzDJTXshHTjII0BAtDS3Y2DAkdZdDKWVZGVwkDfc4Clxn1dg==",+ "dev": true,"license": "MIT","dependencies": {"@ampproject/remapping": "^2.2.0",@@ -814,6 +816,7 @@"version": "7.27.3","resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.27.3.tgz","integrity": "sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg==",+ "dev": true,"license": "MIT","dependencies": {"@babel/helper-module-imports": "^7.27.1",@@ -945,6 +948,7 @@"version": "7.27.6","resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.6.tgz","integrity": "sha512-muE8Tt8M22638HU31A3CgfSUciwz1fhATfoVai05aPXGor//CdWDCbnlY1yvBPo07njuVOCNGCSp/GTt12lIug==",+ "dev": true,"license": "MIT","dependencies": {"@babel/template": "^7.27.2",@@ -2208,28 +2212,6 @@"react": ">=16.8.0"}},- "node_modules/@electron/get": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/@electron/get/-/get-2.0.3.tgz",- "integrity": "sha512-Qkzpg2s9GnVV2I2BjRksUi43U5e6+zaQMcjoJy0C+C5oxaKl+fmckGDQFtRpZpZV0NQekuZZ+tGz7EA9TVnQtQ==",- "license": "MIT",- "peer": true,- "dependencies": {- "debug": "^4.1.1",- "env-paths": "^2.2.0",- "fs-extra": "^8.1.0",- "got": "^11.8.5",- "progress": "^2.0.3",- "semver": "^6.2.0",- "sumchecker": "^3.0.1"- },- "engines": {- "node": ">=12"- },- "optionalDependencies": {- "global-agent": "^3.0.0"- }- },"node_modules/@emotion/babel-plugin": {"version": "11.13.5","resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz",@@ -3766,19 +3748,6 @@"win32"]},- "node_modules/@sindresorhus/is": {- "version": "4.6.0",- "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",- "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==",- "license": "MIT",- "peer": true,- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sindresorhus/is?sponsor=1"- }- },"node_modules/@stablelib/aead": {"version": "1.0.1","resolved": "https://registry.npmjs.org/@stablelib/aead/-/aead-1.0.1.tgz",@@ -4629,19 +4598,6 @@"@swc/counter": "^0.1.3"}},- "node_modules/@szmarczak/http-timer": {- "version": "4.0.6",- "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz",- "integrity": "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==",- "license": "MIT",- "peer": true,- "dependencies": {- "defer-to-connect": "^2.0.0"- },- "engines": {- "node": ">=10"- }- },"node_modules/@tanstack/query-core": {"version": "4.39.2","resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-4.39.2.tgz",@@ -4716,37 +4672,6 @@"polished": "^4.0.5"}},- "node_modules/@theme-ui/color-modes": {- "version": "0.16.2",- "resolved": "https://registry.npmjs.org/@theme-ui/color-modes/-/color-modes-0.16.2.tgz",- "integrity": "sha512-jWEWx53lxNgWCT38i/kwLV2rsvJz8lVZgi5oImnVwYba9VejXD23q1ckbNFJHosQ8KKXY87ht0KPC6BQFIiHtQ==",- "license": "MIT",- "peer": true,- "dependencies": {- "@theme-ui/core": "^0.16.2",- "@theme-ui/css": "^0.16.2",- "deepmerge": "^4.2.2"- },- "peerDependencies": {- "@emotion/react": "^11.11.1",- "react": ">=18"- }- },- "node_modules/@theme-ui/color-modes/node_modules/@theme-ui/core": {- "version": "0.16.2",- "resolved": "https://registry.npmjs.org/@theme-ui/core/-/core-0.16.2.tgz",- "integrity": "sha512-bBd/ltbwO9vIUjF1jtlOX6XN0IIOdf1vzBp2JCKsSOqdfn84m+XL8OogIe/zOhQ+aM94Nrq4+32tFJc8sFav4Q==",- "license": "MIT",- "peer": true,- "dependencies": {- "@theme-ui/css": "^0.16.2",- "deepmerge": "^4.2.2"- },- "peerDependencies": {- "@emotion/react": "^11.11.1",- "react": ">=18"- }- },"node_modules/@theme-ui/components": {"version": "0.16.1","resolved": "https://registry.npmjs.org/@theme-ui/components/-/components-0.16.1.tgz",@@ -4792,37 +4717,6 @@"@emotion/react": "^11.11.1"}},- "node_modules/@theme-ui/theme-provider": {- "version": "0.16.2",- "resolved": "https://registry.npmjs.org/@theme-ui/theme-provider/-/theme-provider-0.16.2.tgz",- "integrity": "sha512-LRnVevODcGqO0JyLJ3wht+PV3ZoZcJ7XXLJAJWDoGeII4vZcPQKwVy4Lpz/juHsZppQxKcB3U+sQDGBnP25irQ==",- "license": "MIT",- "peer": true,- "dependencies": {- "@theme-ui/color-modes": "^0.16.2",- "@theme-ui/core": "^0.16.2",- "@theme-ui/css": "^0.16.2"- },- "peerDependencies": {- "@emotion/react": "^11.11.1",- "react": ">=18"- }- },- "node_modules/@theme-ui/theme-provider/node_modules/@theme-ui/core": {- "version": "0.16.2",- "resolved": "https://registry.npmjs.org/@theme-ui/core/-/core-0.16.2.tgz",- "integrity": "sha512-bBd/ltbwO9vIUjF1jtlOX6XN0IIOdf1vzBp2JCKsSOqdfn84m+XL8OogIe/zOhQ+aM94Nrq4+32tFJc8sFav4Q==",- "license": "MIT",- "peer": true,- "dependencies": {- "@theme-ui/css": "^0.16.2",- "deepmerge": "^4.2.2"- },- "peerDependencies": {- "@emotion/react": "^11.11.1",- "react": ">=18"- }- },"node_modules/@trpc/client": {"version": "10.45.2","resolved": "https://registry.npmjs.org/@trpc/client/-/client-10.45.2.tgz",@@ -4855,6 +4749,7 @@"version": "10.45.2","resolved": "https://registry.npmjs.org/@trpc/server/-/server-10.45.2.tgz","integrity": "sha512-wOrSThNNE4HUnuhJG6PfDRp4L2009KDVxsd+2VYH8ro6o/7/jwYZ8Uu5j+VaW+mOmc8EHerHzGcdbGNQSAUPgg==",+ "dev": true,"funding": ["https://trpc.io/sponsor"],@@ -4905,19 +4800,6 @@"@babel/types": "^7.20.7"}},- "node_modules/@types/cacheable-request": {- "version": "6.0.3",- "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.3.tgz",- "integrity": "sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==",- "license": "MIT",- "peer": true,- "dependencies": {- "@types/http-cache-semantics": "*",- "@types/keyv": "^3.1.4",- "@types/node": "*",- "@types/responselike": "^1.0.0"- }- },"node_modules/@types/debug": {"version": "4.1.12","resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz",@@ -4927,30 +4809,6 @@"@types/ms": "*"}},- "node_modules/@types/eslint": {- "version": "9.6.1",- "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz",- "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@types/estree": "*",- "@types/json-schema": "*"- }- },- "node_modules/@types/eslint-scope": {- "version": "3.7.7",- "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz",- "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@types/eslint": "*",- "@types/estree": "*"- }- },"node_modules/@types/estree": {"version": "1.0.7","resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz",@@ -4981,13 +4839,6 @@"@types/unist": "^2"}},- "node_modules/@types/http-cache-semantics": {- "version": "4.0.4",- "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz",- "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==",- "license": "MIT",- "peer": true- },"node_modules/@types/json-schema": {"version": "7.0.15","resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",@@ -5001,16 +4852,6 @@"integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==","license": "MIT"},- "node_modules/@types/keyv": {- "version": "3.1.4",- "resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.4.tgz",- "integrity": "sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==",- "license": "MIT",- "peer": true,- "dependencies": {- "@types/node": "*"- }- },"node_modules/@types/marked": {"version": "6.0.0","resolved": "https://registry.npmjs.org/@types/marked/-/marked-6.0.0.tgz",@@ -5041,6 +4882,7 @@"version": "24.0.3","resolved": "https://registry.npmjs.org/@types/node/-/node-24.0.3.tgz","integrity": "sha512-R4I/kzCYAdRLzfiCabn9hxWfbuHS573x+r0dJMkkzThEa7pbrcDWK+9zu3e7aBOouf+rQAciqPFMnxwr0aWgKg==",+ "dev": true,"license": "MIT","dependencies": {"undici-types": "~7.8.0"@@ -5080,12 +4922,14 @@"version": "15.7.15","resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz","integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",+ "dev": true,"license": "MIT"},"node_modules/@types/react": {"version": "18.3.5","resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz","integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==",+ "dev": true,"license": "MIT","dependencies": {"@types/prop-types": "*",@@ -5139,16 +4983,6 @@"dev": true,"license": "MIT"},- "node_modules/@types/responselike": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.3.tgz",- "integrity": "sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==",- "license": "MIT",- "peer": true,- "dependencies": {- "@types/node": "*"- }- },"node_modules/@types/styled-system": {"version": "5.1.23","resolved": "https://registry.npmjs.org/@types/styled-system/-/styled-system-5.1.23.tgz",@@ -5178,17 +5012,6 @@"dev": true,"license": "MIT"},- "node_modules/@types/yauzl": {- "version": "2.10.3",- "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",- "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==",- "license": "MIT",- "optional": true,- "peer": true,- "dependencies": {- "@types/node": "*"- }- },"node_modules/@vitejs/plugin-react-swc": {"version": "3.10.2","resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.10.2.tgz",@@ -5352,198 +5175,6 @@"url": "https://opencollective.com/vitest"}},- "node_modules/@webassemblyjs/ast": {- "version": "1.14.1",- "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz",- "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@webassemblyjs/helper-numbers": "1.13.2",- "@webassemblyjs/helper-wasm-bytecode": "1.13.2"- }- },- "node_modules/@webassemblyjs/floating-point-hex-parser": {- "version": "1.13.2",- "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz",- "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==",- "dev": true,- "license": "MIT",- "peer": true- },- "node_modules/@webassemblyjs/helper-api-error": {- "version": "1.13.2",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz",- "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==",- "dev": true,- "license": "MIT",- "peer": true- },- "node_modules/@webassemblyjs/helper-buffer": {- "version": "1.14.1",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz",- "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==",- "dev": true,- "license": "MIT",- "peer": true- },- "node_modules/@webassemblyjs/helper-numbers": {- "version": "1.13.2",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz",- "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@webassemblyjs/floating-point-hex-parser": "1.13.2",- "@webassemblyjs/helper-api-error": "1.13.2",- "@xtuc/long": "4.2.2"- }- },- "node_modules/@webassemblyjs/helper-wasm-bytecode": {- "version": "1.13.2",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz",- "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==",- "dev": true,- "license": "MIT",- "peer": true- },- "node_modules/@webassemblyjs/helper-wasm-section": {- "version": "1.14.1",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz",- "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@webassemblyjs/ast": "1.14.1",- "@webassemblyjs/helper-buffer": "1.14.1",- "@webassemblyjs/helper-wasm-bytecode": "1.13.2",- "@webassemblyjs/wasm-gen": "1.14.1"- }- },- "node_modules/@webassemblyjs/ieee754": {- "version": "1.13.2",- "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz",- "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@xtuc/ieee754": "^1.2.0"- }- },- "node_modules/@webassemblyjs/leb128": {- "version": "1.13.2",- "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz",- "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==",- "dev": true,- "license": "Apache-2.0",- "peer": true,- "dependencies": {- "@xtuc/long": "4.2.2"- }- },- "node_modules/@webassemblyjs/utf8": {- "version": "1.13.2",- "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz",- "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==",- "dev": true,- "license": "MIT",- "peer": true- },- "node_modules/@webassemblyjs/wasm-edit": {- "version": "1.14.1",- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz",- "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@webassemblyjs/ast": "1.14.1",- "@webassemblyjs/helper-buffer": "1.14.1",- "@webassemblyjs/helper-wasm-bytecode": "1.13.2",- "@webassemblyjs/helper-wasm-section": "1.14.1",- "@webassemblyjs/wasm-gen": "1.14.1",- "@webassemblyjs/wasm-opt": "1.14.1",- "@webassemblyjs/wasm-parser": "1.14.1",- "@webassemblyjs/wast-printer": "1.14.1"- }- },- "node_modules/@webassemblyjs/wasm-gen": {- "version": "1.14.1",- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz",- "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@webassemblyjs/ast": "1.14.1",- "@webassemblyjs/helper-wasm-bytecode": "1.13.2",- "@webassemblyjs/ieee754": "1.13.2",- "@webassemblyjs/leb128": "1.13.2",- "@webassemblyjs/utf8": "1.13.2"- }- },- "node_modules/@webassemblyjs/wasm-opt": {- "version": "1.14.1",- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz",- "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@webassemblyjs/ast": "1.14.1",- "@webassemblyjs/helper-buffer": "1.14.1",- "@webassemblyjs/wasm-gen": "1.14.1",- "@webassemblyjs/wasm-parser": "1.14.1"- }- },- "node_modules/@webassemblyjs/wasm-parser": {- "version": "1.14.1",- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz",- "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@webassemblyjs/ast": "1.14.1",- "@webassemblyjs/helper-api-error": "1.13.2",- "@webassemblyjs/helper-wasm-bytecode": "1.13.2",- "@webassemblyjs/ieee754": "1.13.2",- "@webassemblyjs/leb128": "1.13.2",- "@webassemblyjs/utf8": "1.13.2"- }- },- "node_modules/@webassemblyjs/wast-printer": {- "version": "1.14.1",- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz",- "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@webassemblyjs/ast": "1.14.1",- "@xtuc/long": "4.2.2"- }- },- "node_modules/@xtuc/ieee754": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",- "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",- "dev": true,- "license": "BSD-3-Clause",- "peer": true- },- "node_modules/@xtuc/long": {- "version": "4.2.2",- "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",- "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",- "dev": true,- "license": "Apache-2.0",- "peer": true- },"node_modules/@zip.js/zip.js": {"version": "2.7.62","resolved": "https://registry.npmjs.org/@zip.js/zip.js/-/zip.js-2.7.62.tgz",@@ -5605,51 +5236,6 @@"url": "https://github.com/sponsors/epoberezkin"}},- "node_modules/ajv-formats": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz",- "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "ajv": "^8.0.0"- },- "peerDependencies": {- "ajv": "^8.0.0"- },- "peerDependenciesMeta": {- "ajv": {- "optional": true- }- }- },- "node_modules/ajv-formats/node_modules/ajv": {- "version": "8.17.1",- "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",- "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "fast-deep-equal": "^3.1.3",- "fast-uri": "^3.0.1",- "json-schema-traverse": "^1.0.0",- "require-from-string": "^2.0.2"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/epoberezkin"- }- },- "node_modules/ajv-formats/node_modules/json-schema-traverse": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",- "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",- "dev": true,- "license": "MIT",- "peer": true- },"node_modules/ajv-keywords": {"version": "3.5.2","resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz",@@ -6048,15 +5634,6 @@"integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==","license": "ISC"},- "node_modules/boolean": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.2.0.tgz",- "integrity": "sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==",- "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.",- "license": "MIT",- "optional": true,- "peer": true- },"node_modules/brace-expansion": {"version": "1.1.12","resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",@@ -6125,16 +5702,6 @@"ieee754": "^1.2.1"}},- "node_modules/buffer-crc32": {- "version": "0.2.13",- "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",- "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",- "license": "MIT",- "peer": true,- "engines": {- "node": "*"- }- },"node_modules/buffer-equal-constant-time": {"version": "1.0.1","resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",@@ -6158,35 +5725,6 @@"node": ">=8"}},- "node_modules/cacheable-lookup": {- "version": "5.0.4",- "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz",- "integrity": "sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==",- "license": "MIT",- "peer": true,- "engines": {- "node": ">=10.6.0"- }- },- "node_modules/cacheable-request": {- "version": "7.0.4",- "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.4.tgz",- "integrity": "sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==",- "license": "MIT",- "peer": true,- "dependencies": {- "clone-response": "^1.0.2",- "get-stream": "^5.1.0",- "http-cache-semantics": "^4.0.0",- "keyv": "^4.0.0",- "lowercase-keys": "^2.0.0",- "normalize-url": "^6.0.1",- "responselike": "^2.0.0"- },- "engines": {- "node": ">=8"- }- },"node_modules/call-bind": {"version": "1.0.8","resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz",@@ -6388,17 +5926,6 @@"node": ">=10"}},- "node_modules/chrome-trace-event": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz",- "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==",- "dev": true,- "license": "MIT",- "peer": true,- "engines": {- "node": ">=6.0"- }- },"node_modules/clipboard-polyfill": {"version": "4.1.0","resolved": "https://registry.npmjs.org/clipboard-polyfill/-/clipboard-polyfill-4.1.0.tgz",@@ -6420,19 +5947,6 @@"node": ">=12"}},- "node_modules/clone-response": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.3.tgz",- "integrity": "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==",- "license": "MIT",- "peer": true,- "dependencies": {- "mimic-response": "^1.0.0"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/color-convert": {"version": "2.0.1","resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",@@ -6707,6 +6221,7 @@"version": "6.0.0","resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz","integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",+ "devOptional": true,"license": "MIT","dependencies": {"mimic-response": "^3.1.0"@@ -6722,6 +6237,7 @@"version": "3.1.0","resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz","integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",+ "devOptional": true,"license": "MIT","engines": {"node": ">=10"@@ -6759,21 +6275,11 @@"node": ">=0.10.0"}},- "node_modules/defer-to-connect": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz",- "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==",- "license": "MIT",- "peer": true,- "engines": {- "node": ">=10"- }- },"node_modules/define-data-property": {"version": "1.1.4","resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz","integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",- "devOptional": true,+ "dev": true,"license": "MIT","dependencies": {"es-define-property": "^1.0.0",@@ -6801,7 +6307,7 @@"version": "1.2.1","resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz","integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",- "devOptional": true,+ "dev": true,"license": "MIT","dependencies": {"define-data-property": "^1.0.1",@@ -6850,14 +6356,6 @@"node": ">=8"}},- "node_modules/detect-node": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz",- "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==",- "license": "MIT",- "optional": true,- "peer": true- },"node_modules/diff": {"version": "5.2.0","resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz",@@ -7019,25 +6517,6 @@"node": ">=0.10.0"}},- "node_modules/electron": {- "version": "37.1.0",- "resolved": "https://registry.npmjs.org/electron/-/electron-37.1.0.tgz",- "integrity": "sha512-Fcr3yfAw4oU392waVZSlrFUQx4P+h/k31+PRgkBY9tFx9E/zxzdPQQj0achZlG1HRDusw3ooQB+OXb9PvufdzA==",- "hasInstallScript": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@electron/get": "^2.0.0",- "@types/node": "^22.7.7",- "extract-zip": "^2.0.1"- },- "bin": {- "electron": "cli.js"- },- "engines": {- "node": ">= 12.20.55"- }- },"node_modules/electron-to-chromium": {"version": "1.5.168","resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.168.tgz",@@ -7058,23 +6537,6 @@"electron": ">19.0.0"}},- "node_modules/electron/node_modules/@types/node": {- "version": "22.15.34",- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.34.tgz",- "integrity": "sha512-8Y6E5WUupYy1Dd0II32BsWAx5MWdcnRd8L84Oys3veg1YrYtNtzgO4CFhiBg6MDSjk7Ay36HYOnU7/tuOzIzcw==",- "license": "MIT",- "peer": true,- "dependencies": {- "undici-types": "~6.21.0"- }- },- "node_modules/electron/node_modules/undici-types": {- "version": "6.21.0",- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",- "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",- "license": "MIT",- "peer": true- },"node_modules/emoji-regex": {"version": "8.0.0","resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",@@ -7096,26 +6558,12 @@"version": "1.4.5","resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz","integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",+ "devOptional": true,"license": "MIT","dependencies": {"once": "^1.4.0"}},- "node_modules/enhanced-resolve": {- "version": "5.18.2",- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.2.tgz",- "integrity": "sha512-6Jw4sE1maoRJo3q8MsSIn2onJFbLTOjY9hlx4DZXmOKvLRd1Ok2kXmAGXaafL2+ijsJZ1ClYbl/pmqr9+k4iUQ==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "graceful-fs": "^4.2.4",- "tapable": "^2.2.0"- },- "engines": {- "node": ">=10.13.0"- }- },"node_modules/entities": {"version": "4.5.0","resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",@@ -7128,16 +6576,6 @@"url": "https://github.com/fb55/entities?sponsor=1"}},- "node_modules/env-paths": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",- "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",- "license": "MIT",- "peer": true,- "engines": {- "node": ">=6"- }- },"node_modules/error-ex": {"version": "1.3.2","resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",@@ -7286,14 +6724,6 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/es6-error": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz",- "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==",- "license": "MIT",- "optional": true,- "peer": true- },"node_modules/esbuild": {"version": "0.21.5","resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",@@ -7354,21 +6784,6 @@"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/eslint-scope": {- "version": "5.1.1",- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",- "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",- "dev": true,- "license": "BSD-2-Clause",- "peer": true,- "dependencies": {- "esrecurse": "^4.3.0",- "estraverse": "^4.1.1"- },- "engines": {- "node": ">=8.0.0"- }- },"node_modules/esprima": {"version": "4.0.1","resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",@@ -7382,42 +6797,6 @@"node": ">=4"}},- "node_modules/esrecurse": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",- "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",- "dev": true,- "license": "BSD-2-Clause",- "peer": true,- "dependencies": {- "estraverse": "^5.2.0"- },- "engines": {- "node": ">=4.0"- }- },- "node_modules/esrecurse/node_modules/estraverse": {- "version": "5.3.0",- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",- "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",- "dev": true,- "license": "BSD-2-Clause",- "peer": true,- "engines": {- "node": ">=4.0"- }- },- "node_modules/estraverse": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",- "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",- "dev": true,- "license": "BSD-2-Clause",- "peer": true,- "engines": {- "node": ">=4.0"- }- },"node_modules/estree-walker": {"version": "2.0.2","resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",@@ -7441,17 +6820,6 @@"integrity": "sha512-4IJSItgS/41IxN5UVAVuAyczwZF7ZIEsM1XAoUzIHA6A+xzusEZUutdXz2Nr+MQPLxfTiCvqE79/C8HT8fKFvA==","license": "MIT"},- "node_modules/events": {- "version": "3.3.0",- "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",- "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",- "dev": true,- "license": "MIT",- "peer": true,- "engines": {- "node": ">=0.8.x"- }- },"node_modules/exenv": {"version": "1.2.2","resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz",@@ -7496,27 +6864,6 @@"node": ">=0.10.0"}},- "node_modules/extract-zip": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",- "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",- "license": "BSD-2-Clause",- "peer": true,- "dependencies": {- "debug": "^4.1.1",- "get-stream": "^5.1.0",- "yauzl": "^2.10.0"- },- "bin": {- "extract-zip": "cli.js"- },- "engines": {- "node": ">= 10.17.0"- },- "optionalDependencies": {- "@types/yauzl": "^2.9.1"- }- },"node_modules/fast-deep-equal": {"version": "3.1.3","resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",@@ -7548,16 +6895,6 @@],"license": "BSD-3-Clause"},- "node_modules/fd-slicer": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",- "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==",- "license": "MIT",- "peer": true,- "dependencies": {- "pend": "~1.2.0"- }- },"node_modules/fdir": {"version": "6.4.6","resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz",@@ -7752,21 +7089,6 @@"devOptional": true,"license": "MIT"},- "node_modules/fs-extra": {- "version": "8.1.0",- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",- "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",- "license": "MIT",- "peer": true,- "dependencies": {- "graceful-fs": "^4.2.0",- "jsonfile": "^4.0.0",- "universalify": "^0.1.0"- },- "engines": {- "node": ">=6 <7 || >=8"- }- },"node_modules/fs-minipass": {"version": "2.1.0","resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",@@ -7888,6 +7210,7 @@"version": "1.0.0-beta.2","resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz","integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",+ "dev": true,"license": "MIT","engines": {"node": ">=6.9.0"@@ -7947,22 +7270,6 @@"node": ">= 0.4"}},- "node_modules/get-stream": {- "version": "5.2.0",- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",- "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",- "license": "MIT",- "peer": true,- "dependencies": {- "pump": "^3.0.0"- },- "engines": {- "node": ">=8"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/get-symbol-description": {"version": "1.1.0","resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz",@@ -8010,47 +7317,6 @@"url": "https://github.com/sponsors/isaacs"}},- "node_modules/glob-to-regexp": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",- "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==",- "dev": true,- "license": "BSD-2-Clause",- "peer": true- },- "node_modules/global-agent": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-3.0.0.tgz",- "integrity": "sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==",- "license": "BSD-3-Clause",- "optional": true,- "peer": true,- "dependencies": {- "boolean": "^3.0.1",- "es6-error": "^4.1.1",- "matcher": "^3.0.0",- "roarr": "^2.15.3",- "semver": "^7.3.2",- "serialize-error": "^7.0.1"- },- "engines": {- "node": ">=10.0"- }- },- "node_modules/global-agent/node_modules/semver": {- "version": "7.7.2",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",- "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",- "license": "ISC",- "optional": true,- "peer": true,- "bin": {- "semver": "bin/semver.js"- },- "engines": {- "node": ">=10"- }- },"node_modules/globals": {"version": "11.12.0","resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",@@ -8064,7 +7330,7 @@"version": "1.0.4","resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz","integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",- "devOptional": true,+ "dev": true,"license": "MIT","dependencies": {"define-properties": "^1.2.1",@@ -8098,36 +7364,11 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/got": {- "version": "11.8.6",- "resolved": "https://registry.npmjs.org/got/-/got-11.8.6.tgz",- "integrity": "sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==",- "license": "MIT",- "peer": true,- "dependencies": {- "@sindresorhus/is": "^4.0.0",- "@szmarczak/http-timer": "^4.0.5",- "@types/cacheable-request": "^6.0.1",- "@types/responselike": "^1.0.0",- "cacheable-lookup": "^5.0.3",- "cacheable-request": "^7.0.2",- "decompress-response": "^6.0.0",- "http2-wrapper": "^1.0.0-beta.5.2",- "lowercase-keys": "^2.0.0",- "p-cancelable": "^2.0.0",- "responselike": "^2.0.0"- },- "engines": {- "node": ">=10.19.0"- },- "funding": {- "url": "https://github.com/sindresorhus/got?sponsor=1"- }- },"node_modules/graceful-fs": {"version": "4.2.11","resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz","integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",+ "dev": true,"license": "ISC"},"node_modules/gray-matter": {@@ -8186,7 +7427,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz","integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",- "devOptional": true,+ "dev": true,"license": "MIT","dependencies": {"es-define-property": "^1.0.0"@@ -8462,27 +7703,6 @@"entities": "^4.4.0"}},- "node_modules/http-cache-semantics": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz",- "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==",- "license": "BSD-2-Clause",- "peer": true- },- "node_modules/http2-wrapper": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz",- "integrity": "sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==",- "license": "MIT",- "peer": true,- "dependencies": {- "quick-lru": "^5.1.1",- "resolve-alpn": "^1.0.0"- },- "engines": {- "node": ">=10.19.0"- }- },"node_modules/https-proxy-agent": {"version": "5.0.1","resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",@@ -9101,39 +8321,6 @@"node": ">=10"}},- "node_modules/jest-worker": {- "version": "27.5.1",- "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz",- "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@types/node": "*",- "merge-stream": "^2.0.0",- "supports-color": "^8.0.0"- },- "engines": {- "node": ">= 10.13.0"- }- },- "node_modules/jest-worker/node_modules/supports-color": {- "version": "8.1.1",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",- "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "has-flag": "^4.0.0"- },- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/chalk/supports-color?sponsor=1"- }- },"node_modules/js-sha256": {"version": "0.10.1","resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.10.1.tgz",@@ -9171,13 +8358,6 @@"node": ">=6"}},- "node_modules/json-buffer": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",- "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",- "license": "MIT",- "peer": true- },"node_modules/json-parse-even-better-errors": {"version": "2.3.1","resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",@@ -9198,18 +8378,11 @@"dev": true,"license": "MIT"},- "node_modules/json-stringify-safe": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",- "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==",- "license": "ISC",- "optional": true,- "peer": true- },"node_modules/json5": {"version": "2.2.3","resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz","integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",+ "dev": true,"license": "MIT","bin": {"json5": "lib/cli.js"@@ -9218,16 +8391,6 @@"node": ">=6"}},- "node_modules/jsonfile": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",- "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==",- "license": "MIT",- "peer": true,- "optionalDependencies": {- "graceful-fs": "^4.1.6"- }- },"node_modules/jsonpointer": {"version": "5.0.1","resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz",@@ -9330,16 +8493,6 @@"prebuild-install": "^7.0.1"}},- "node_modules/keyv": {- "version": "4.5.4",- "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",- "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",- "license": "MIT",- "peer": true,- "dependencies": {- "json-buffer": "3.0.1"- }- },"node_modules/kind-of": {"version": "6.0.3","resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",@@ -9374,17 +8527,6 @@"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==","license": "MIT"},- "node_modules/loader-runner": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz",- "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==",- "dev": true,- "license": "MIT",- "peer": true,- "engines": {- "node": ">=6.11.5"- }- },"node_modules/loader-utils": {"version": "2.0.4","resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",@@ -9549,16 +8691,6 @@"tslib": "^2.0.3"}},- "node_modules/lowercase-keys": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",- "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",- "license": "MIT",- "peer": true,- "engines": {- "node": ">=8"- }- },"node_modules/lru-cache": {"version": "5.1.1","resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",@@ -9629,20 +8761,6 @@"node": ">= 18"}},- "node_modules/matcher": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz",- "integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==",- "license": "MIT",- "optional": true,- "peer": true,- "dependencies": {- "escape-string-regexp": "^4.0.0"- },- "engines": {- "node": ">=10"- }- },"node_modules/math-intrinsics": {"version": "1.1.0","resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",@@ -9940,14 +9058,6 @@"url": "https://opencollective.com/unified"}},- "node_modules/merge-stream": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",- "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",- "dev": true,- "license": "MIT",- "peer": true- },"node_modules/micromark": {"version": "3.2.0","resolved": "https://registry.npmjs.org/micromark/-/micromark-3.2.0.tgz",@@ -10551,16 +9661,6 @@"node": ">= 0.6"}},- "node_modules/mimic-response": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",- "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",- "license": "MIT",- "peer": true,- "engines": {- "node": ">=4"- }- },"node_modules/minimatch": {"version": "3.1.2","resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",@@ -10711,14 +9811,6 @@"devOptional": true,"license": "MIT"},- "node_modules/neo-async": {- "version": "2.6.2",- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",- "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",- "dev": true,- "license": "MIT",- "peer": true- },"node_modules/no-case": {"version": "3.0.4","resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",@@ -10816,19 +9908,6 @@"node": ">=0.10.0"}},- "node_modules/normalize-url": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz",- "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==",- "license": "MIT",- "peer": true,- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/npmlog": {"version": "5.0.1","resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz",@@ -10881,7 +9960,7 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz","integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",- "devOptional": true,+ "dev": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -10912,6 +9991,7 @@"version": "1.4.0","resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz","integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",+ "devOptional": true,"license": "ISC","dependencies": {"wrappy": "1"@@ -10965,16 +10045,6 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/p-cancelable": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz",- "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==",- "license": "MIT",- "peer": true,- "engines": {- "node": ">=8"- }- },"node_modules/parent-module": {"version": "1.0.1","resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",@@ -11078,13 +10148,6 @@"canvas": "^2.11.2"}},- "node_modules/pend": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",- "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",- "license": "MIT",- "peer": true- },"node_modules/phone": {"version": "3.1.62","resolved": "https://registry.npmjs.org/phone/-/phone-3.1.62.tgz",@@ -11275,16 +10338,6 @@"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/progress": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",- "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",- "license": "MIT",- "peer": true,- "engines": {- "node": ">=0.4.0"- }- },"node_modules/prop-types": {"version": "15.8.1","resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",@@ -11316,6 +10369,7 @@"version": "3.0.3","resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz","integrity": "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==",+ "devOptional": true,"license": "MIT","dependencies": {"end-of-stream": "^1.1.0",@@ -11344,19 +10398,6 @@"integrity": "sha512-sqo7otiDq5rA4djRkFI7IjLQqxRrLpIou0d3rqr03JJLUGf5raPh91xCio+lFFbQf0SlcVckStz0EmDEX3EeZA==","license": "MIT"},- "node_modules/quick-lru": {- "version": "5.1.1",- "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",- "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==",- "license": "MIT",- "peer": true,- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/randombytes": {"version": "2.1.0","resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",@@ -11870,13 +10911,6 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/resolve-alpn": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz",- "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==",- "license": "MIT",- "peer": true- },"node_modules/resolve-from": {"version": "4.0.0","resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",@@ -11886,19 +10920,6 @@"node": ">=4"}},- "node_modules/responselike": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.1.tgz",- "integrity": "sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==",- "license": "MIT",- "peer": true,- "dependencies": {- "lowercase-keys": "^2.0.0"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/rimraf": {"version": "3.0.2","resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",@@ -11916,33 +10937,6 @@"url": "https://github.com/sponsors/isaacs"}},- "node_modules/roarr": {- "version": "2.15.4",- "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz",- "integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==",- "license": "BSD-3-Clause",- "optional": true,- "peer": true,- "dependencies": {- "boolean": "^3.0.1",- "detect-node": "^2.0.4",- "globalthis": "^1.0.1",- "json-stringify-safe": "^5.0.1",- "semver-compare": "^1.0.0",- "sprintf-js": "^1.1.2"- },- "engines": {- "node": ">=8.0"- }- },- "node_modules/roarr/node_modules/sprintf-js": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz",- "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==",- "license": "BSD-3-Clause",- "optional": true,- "peer": true- },"node_modules/rollup": {"version": "4.43.0","resolved": "https://registry.npmjs.org/rollup/-/rollup-4.43.0.tgz",@@ -12161,31 +11155,6 @@"semver": "bin/semver.js"}},- "node_modules/semver-compare": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",- "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==",- "license": "MIT",- "optional": true,- "peer": true- },- "node_modules/serialize-error": {- "version": "7.0.1",- "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-7.0.1.tgz",- "integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==",- "license": "MIT",- "optional": true,- "peer": true,- "dependencies": {- "type-fest": "^0.13.1"- },- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/serialize-javascript": {"version": "6.0.2","resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz",@@ -12733,19 +11702,6 @@"integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==","license": "MIT"},- "node_modules/sumchecker": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-3.0.1.tgz",- "integrity": "sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==",- "license": "Apache-2.0",- "peer": true,- "dependencies": {- "debug": "^4.1.0"- },- "engines": {- "node": ">= 8.0"- }- },"node_modules/supports-color": {"version": "7.2.0","resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",@@ -12778,17 +11734,6 @@"dev": true,"license": "MIT"},- "node_modules/tapable": {- "version": "2.2.2",- "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.2.tgz",- "integrity": "sha512-Re10+NauLTMCudc7T5WLFLAwDhQ0JWdrMK+9B2M8zR5hRExKmsRDCBA7/aV/pNJFltmBFO5BAMlQFi/vq3nKOg==",- "dev": true,- "license": "MIT",- "peer": true,- "engines": {- "node": ">=6"- }- },"node_modules/tar": {"version": "6.2.1","resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz",@@ -12912,103 +11857,6 @@"node": ">=10"}},- "node_modules/terser-webpack-plugin": {- "version": "5.3.14",- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.14.tgz",- "integrity": "sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@jridgewell/trace-mapping": "^0.3.25",- "jest-worker": "^27.4.5",- "schema-utils": "^4.3.0",- "serialize-javascript": "^6.0.2",- "terser": "^5.31.1"- },- "engines": {- "node": ">= 10.13.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/webpack"- },- "peerDependencies": {- "webpack": "^5.1.0"- },- "peerDependenciesMeta": {- "@swc/core": {- "optional": true- },- "esbuild": {- "optional": true- },- "uglify-js": {- "optional": true- }- }- },- "node_modules/terser-webpack-plugin/node_modules/ajv": {- "version": "8.17.1",- "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",- "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "fast-deep-equal": "^3.1.3",- "fast-uri": "^3.0.1",- "json-schema-traverse": "^1.0.0",- "require-from-string": "^2.0.2"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/epoberezkin"- }- },- "node_modules/terser-webpack-plugin/node_modules/ajv-keywords": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz",- "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "fast-deep-equal": "^3.1.3"- },- "peerDependencies": {- "ajv": "^8.8.2"- }- },- "node_modules/terser-webpack-plugin/node_modules/json-schema-traverse": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",- "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",- "dev": true,- "license": "MIT",- "peer": true- },- "node_modules/terser-webpack-plugin/node_modules/schema-utils": {- "version": "4.3.2",- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.2.tgz",- "integrity": "sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@types/json-schema": "^7.0.9",- "ajv": "^8.9.0",- "ajv-formats": "^2.1.1",- "ajv-keywords": "^5.1.0"- },- "engines": {- "node": ">= 10.13.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/webpack"- }- },"node_modules/terser/node_modules/commander": {"version": "2.20.3","resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",@@ -13138,20 +11986,6 @@"node": "*"}},- "node_modules/type-fest": {- "version": "0.13.1",- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz",- "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==",- "license": "(MIT OR CC0-1.0)",- "optional": true,- "peer": true,- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/typed-array-buffer": {"version": "1.0.3","resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz",@@ -13253,6 +12087,7 @@"version": "7.8.0","resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz","integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==",+ "dev": true,"license": "MIT"},"node_modules/unicode-canonical-property-names-ecmascript": {@@ -13442,16 +12277,6 @@"url": "https://opencollective.com/unified"}},- "node_modules/universalify": {- "version": "0.1.2",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",- "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",- "license": "MIT",- "peer": true,- "engines": {- "node": ">= 4.0.0"- }- },"node_modules/unraw": {"version": "3.0.0","resolved": "https://registry.npmjs.org/unraw/-/unraw-3.0.0.tgz",@@ -13849,21 +12674,6 @@"loose-envify": "^1.0.0"}},- "node_modules/watchpack": {- "version": "2.4.4",- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.4.tgz",- "integrity": "sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "glob-to-regexp": "^0.4.1",- "graceful-fs": "^4.1.2"- },- "engines": {- "node": ">=10.13.0"- }- },"node_modules/web-namespaces": {"version": "2.0.1","resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz",@@ -13893,127 +12703,6 @@"node": ">=12"}},- "node_modules/webpack": {- "version": "5.99.9",- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.99.9.tgz",- "integrity": "sha512-brOPwM3JnmOa+7kd3NsmOUOwbDAj8FT9xDsG3IW0MgbN9yZV7Oi/s/+MNQ/EcSMqw7qfoRyXPoeEWT8zLVdVGg==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@types/eslint-scope": "^3.7.7",- "@types/estree": "^1.0.6",- "@types/json-schema": "^7.0.15",- "@webassemblyjs/ast": "^1.14.1",- "@webassemblyjs/wasm-edit": "^1.14.1",- "@webassemblyjs/wasm-parser": "^1.14.1",- "acorn": "^8.14.0",- "browserslist": "^4.24.0",- "chrome-trace-event": "^1.0.2",- "enhanced-resolve": "^5.17.1",- "es-module-lexer": "^1.2.1",- "eslint-scope": "5.1.1",- "events": "^3.2.0",- "glob-to-regexp": "^0.4.1",- "graceful-fs": "^4.2.11",- "json-parse-even-better-errors": "^2.3.1",- "loader-runner": "^4.2.0",- "mime-types": "^2.1.27",- "neo-async": "^2.6.2",- "schema-utils": "^4.3.2",- "tapable": "^2.1.1",- "terser-webpack-plugin": "^5.3.11",- "watchpack": "^2.4.1",- "webpack-sources": "^3.2.3"- },- "bin": {- "webpack": "bin/webpack.js"- },- "engines": {- "node": ">=10.13.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/webpack"- },- "peerDependenciesMeta": {- "webpack-cli": {- "optional": true- }- }- },- "node_modules/webpack-sources": {- "version": "3.3.3",- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.3.3.tgz",- "integrity": "sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==",- "dev": true,- "license": "MIT",- "peer": true,- "engines": {- "node": ">=10.13.0"- }- },- "node_modules/webpack/node_modules/ajv": {- "version": "8.17.1",- "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",- "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "fast-deep-equal": "^3.1.3",- "fast-uri": "^3.0.1",- "json-schema-traverse": "^1.0.0",- "require-from-string": "^2.0.2"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/epoberezkin"- }- },- "node_modules/webpack/node_modules/ajv-keywords": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz",- "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "fast-deep-equal": "^3.1.3"- },- "peerDependencies": {- "ajv": "^8.8.2"- }- },- "node_modules/webpack/node_modules/json-schema-traverse": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",- "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",- "dev": true,- "license": "MIT",- "peer": true- },- "node_modules/webpack/node_modules/schema-utils": {- "version": "4.3.2",- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.2.tgz",- "integrity": "sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "@types/json-schema": "^7.0.9",- "ajv": "^8.9.0",- "ajv-formats": "^2.1.1",- "ajv-keywords": "^5.1.0"- },- "engines": {- "node": ">= 10.13.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/webpack"- }- },"node_modules/whatwg-mimetype": {"version": "3.0.0","resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz",@@ -14682,6 +13371,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz","integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",+ "devOptional": true,"license": "ISC"},"node_modules/y18n": {@@ -14738,17 +13428,6 @@"node": ">=12"}},- "node_modules/yauzl": {- "version": "2.10.0",- "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",- "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==",- "license": "MIT",- "peer": true,- "dependencies": {- "buffer-crc32": "~0.2.3",- "fd-slicer": "~1.1.0"- }- },"node_modules/zod": {"version": "3.25.67","resolved": "https://registry.npmjs.org/zod/-/zod-3.25.67.tgz",diff --git a/packages/intl/locale/en.po b/packages/intl/locale/en.poindex a543bc864..2e3dbb527 100644--- a/packages/intl/locale/en.po+++ b/packages/intl/locale/en.po@@ -3056,6 +3056,10 @@ msgstr "How to fix it?"msgid "hr"msgstr "hr"+#: src/strings.ts:2489+msgid "I already have an account"+msgstr "I already have an account"+#: src/strings.ts:125msgid "I don't have access to authenticator app"msgstr "I don't have access to authenticator app"diff --git a/packages/intl/locale/pseudo-LOCALE.po b/packages/intl/locale/pseudo-LOCALE.poindex bd0d4810c..8ffa3c62c 100644--- a/packages/intl/locale/pseudo-LOCALE.po+++ b/packages/intl/locale/pseudo-LOCALE.po@@ -3038,6 +3038,10 @@ msgstr ""msgid "hr"msgstr ""+#: src/strings.ts:2489+msgid "I already have an account"+msgstr ""+#: src/strings.ts:125msgid "I don't have access to authenticator app"msgstr ""diff --git a/packages/intl/src/strings.ts b/packages/intl/src/strings.tsindex c516b71cf..23d2d3a4e 100644--- a/packages/intl/src/strings.ts+++ b/packages/intl/src/strings.ts@@ -2493,5 +2493,6 @@ Use this if changes from other devices are not appearing on this device. This wiscrollToBottom: () => t`Scroll to bottom`,emailConfirmedDesc: () =>t`Your email has been confirmed. You can now securely sync your encrypted notes across all devices.`,- charactersCount: (count: number) => t`${count} characters`+ charactersCount: (count: number) => t`${count} characters`,+ iAlreadyHaveAnAccount: () => t`I already have an account`};