diff --git a/ui/assets/logo.svg b/ui/assets/logo.svg new file mode 100644 index 0000000..d64dcf4 --- /dev/null +++ b/ui/assets/logo.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ui/assets/search.svg b/ui/assets/search.svg new file mode 100644 index 0000000..2886865 --- /dev/null +++ b/ui/assets/search.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/ui/comman/config/tableConfig.ts b/ui/comman/config/tableConfig.ts new file mode 100644 index 0000000..f8bed22 --- /dev/null +++ b/ui/comman/config/tableConfig.ts @@ -0,0 +1,129 @@ +import { TableTemplates } from '../../components/molecules/table/templates'; +import { SORT_BY, TableConfig } from '../types'; + +export const ScoringConfig: TableConfig[] = [ + { + colName: 'validator', + headerText: 'Validator', + columnTemplate: TableTemplates.ACCOUNT_TEMPLATE, + fields: { + name: 'valName', + img: 'valImg', + pk: 'pk', + noRedirect: true, + }, + view: { + sm: 8, + md: 14, + lg: 14, + }, + }, + { + colName: 'stake', + columnTemplate: TableTemplates.AMOUNT, + headerText: 'Stake', + fields: { + value: 'stake', + additionValue: 'protocol', + }, + sortBy: SORT_BY.STAKE, + }, + { + colName: 'score', + columnTemplate: TableTemplates.STRING, + headerText: 'Score', + fields: { + value: 'score', + postfix: '%', + }, + sortBy: SORT_BY.SCORE, + }, + { + colName: 'uptimeBySnark', + columnTemplate: TableTemplates.STRING, + fields: { + value: 'uptimePercent', + postfix: '%', + }, + headerText: 'Uptime by Snark', + }, + { + colName: 'votedMIPs', + columnTemplate: TableTemplates.STRING, + fields: { + value: 'votedMIPs', + }, + headerText: '% Voted MIPs', + }, + { + colName: 'win_Rate', + columnTemplate: TableTemplates.STRING, + fields: { + value: 'winRateAvg', + postfix: '%', + }, + headerText: 'Win Rate', + }, +]; + +export const testWorldConfig: TableConfig[] = [ + { + colName: 'stake', + headerText: 'Validator', + columnTemplate: TableTemplates.ACCOUNT_TEMPLATE, + fields: { + name: 'name', + img: 'img', + pk: 'pk', + noRedirect: true, + }, + view: { + sm: 4, + md: 8, + lg: 12, + }, + }, + { + colName: 'stake', + columnTemplate: TableTemplates.AMOUNT, + headerText: 'Stake', + fields: { + value: 'amountStaked', + additionValue: 'protocol', + }, + sortBy: SORT_BY.STAKE, + }, + { + colName: 'score', + columnTemplate: TableTemplates.STRING, + headerText: 'Score', + fields: { + value: 'emptyValue', + }, + sortBy: SORT_BY.SCORE, + }, + { + colName: 'uptimeBySnark', + columnTemplate: TableTemplates.STRING, + fields: { + value: 'emptyValue', + }, + headerText: 'Uptime by Snark', + }, + { + colName: 'votedMIPs', + columnTemplate: TableTemplates.STRING, + fields: { + value: 'emptyValue', + }, + headerText: '% Voted MIPs', + }, + { + colName: 'win_Rate', + columnTemplate: TableTemplates.STRING, + fields: { + value: 'emptyValue', + }, + headerText: 'Win Rate', + }, +]; diff --git a/ui/comman/constants.ts b/ui/comman/constants.ts new file mode 100644 index 0000000..c34ad7a --- /dev/null +++ b/ui/comman/constants.ts @@ -0,0 +1,4 @@ +export const NETWORK = 'testworld'; +export const defaultWallet = 'B62qoTtn6hP2R1x5d4UQoJos9vjoNGxLhaQn5cSKneu25Q3wpmtPirT'; +export const PUBLIC_APP_BASE_URL = 'https://minascan.io/'; +export const POLLING_INTERVAL = 3000; diff --git a/ui/comman/helpers/formatNum.ts b/ui/comman/helpers/formatNum.ts new file mode 100644 index 0000000..d619e90 --- /dev/null +++ b/ui/comman/helpers/formatNum.ts @@ -0,0 +1,42 @@ +export const formatNum = ( + num: number | string, + fixed?: number, + fixedLessOne?: boolean, + isNotFixed?: boolean +): string => { + if (num === null || num === undefined || (!Number(num) && Number(num) !== 0)) return '-'; + const newNumber: number = Number(num); + if (newNumber === 0) return '0'; + if (newNumber < 1 && newNumber > -1 && fixedLessOne) { + const arrPrecisionNumber: string[] = newNumber.toString().split('e'); + if (arrPrecisionNumber.length > 1) { + const numberOfZero = arrPrecisionNumber[1]; + const integerNumber = Number(Math.abs(Number(arrPrecisionNumber[0]))); + const arrOfZero = new Array(Math.abs(Number(numberOfZero) || 0))?.fill(0); + arrOfZero[arrOfZero?.length - 1] = integerNumber.toFixed(); + const firstNum = newNumber > 0 ? '0.' : '-0.'; + arrOfZero.unshift(firstNum); + return arrOfZero.join(''); + } + const arrNumbers = num.toString().split('.')?.[1]?.split('') || []; + const indexNumber = arrNumbers.findIndex((item) => Number(item) > 0); + + const result = newNumber.toFixed(indexNumber + (fixed || 0)); + if (result[result.length - 1] === '0') { + return result.slice(0, -1); + } + + return result; + } + + const number = isNotFixed ? newNumber.toString() : newNumber.toFixed(fixed); + const arr = number.split('.'); + const int = arr[0].replace(/\B(?=(\d{3})+(?!\d))/g, ','); + if (arr[1] !== undefined) { + arr[1] = arr[1].replace(/0*$/, ''); + } + if (arr[1] !== undefined && arr[1].trim() !== '') { + return int + '.' + arr[1]; + } + return int; +}; diff --git a/ui/comman/helpers/index.ts b/ui/comman/helpers/index.ts new file mode 100644 index 0000000..d9eeace --- /dev/null +++ b/ui/comman/helpers/index.ts @@ -0,0 +1 @@ +export { formatNum } from './formatNum'; diff --git a/ui/comman/types.ts b/ui/comman/types.ts new file mode 100644 index 0000000..c17a4b8 --- /dev/null +++ b/ui/comman/types.ts @@ -0,0 +1,85 @@ +import { TableTemplates } from '../components/molecules/table/templates'; + +export type View = { + sm: number; + md: number; + lg: number; +}; + +export type TableConfig = { + colName: string; + columnTemplate: TableTemplates; + fields?: { + value?: string; + additionValue?: string; + postfix?: string; + name?: string; + img?: string; + pk?: string; + getRedirectLink?: (value: string) => string; + noRedirectFromData?: string; + noHash?: boolean; + isCoinTable?: boolean; + noRedirect?: boolean; + }; + sortBy?: SORT_BY; + headerText?: string; + view?: View; + style?: { + noGrow?: boolean; + width?: string; + justifyContent?: string; + maxWidth?: string; + minWidth?: string; + }; +}; + +export type LimitOptions = { text: string; value: number }[]; +export type TabSwitcherOptions = string[]; + +export type DataTable = { + data?: any[]; + content?: any[]; + size: number; + totalPages: number; + pageable: { + sort: { + sorted: boolean; + unsorted: boolean; + empty: boolean; + }; + offset: number; + pageNumber: number; + pageSize: number; + unpaged: boolean; + paged: boolean; + }; + last: boolean; + totalElements: number; + number: number; + sort: { + sorted: boolean; + unsorted: boolean; + empty: boolean; + }; + first: boolean; + numberOfElements: number; + empty: boolean; +}; + +export enum SORT_BY { + SCORE = 'score', + STAKE = 'stake', +} + +export enum ORDER_BY { + DESC = 'DESC', + ASC = 'ASC', +} + +export enum DATA_STATUS { + INITIAL = 'initial', + LOADING = 'loading', + SUCCESS = 'success', + ERROR = 'error', +} diff --git a/ui/components/atoms/button/button.module.css b/ui/components/atoms/button/button.module.css new file mode 100644 index 0000000..f4c4012 --- /dev/null +++ b/ui/components/atoms/button/button.module.css @@ -0,0 +1,137 @@ +.apiButton { + background-color: var(--col--link); + color: var(--col--light); + border: none; + padding: 8px 16px; + border-radius: 7px; + cursor: pointer; + transition: all ease 200ms; + position: relative; + display: flex; + justify-content: center; + align-items: center; +} + +.apiButton svg { + margin-right: 4px; +} + +.apiButton:hover { + background-color: var(--col--button2); +} + +.apiButton:active { + box-shadow: 0px 0px 0px 3px var(--col--button3); +} + +.apiButton:disabled { + background-color: var(--col--button4); + cursor: not-allowed; + box-shadow: none; +} + +.light { + color: var(--col--link); + background-color: transparent +} + + +.light:hover { + background-color: transparent; +} + +.light:active { + background-color: var(--col--button6); + box-shadow: none; +} + +.light:disabled { + color: var(--col--button4); + background-color: transparent +} + +.red { + background-color: var(--col--button8); + color: var(--col--button9); +} + +.red svg { + fill: var(--col--button9); +} + +.red:hover { + background-color: var(--col--button10); +} + +.red:active { + background-color: var(--col--button11); + box-shadow: none; +} + +.red:disabled { + color: var(--col--button13); + background-color: var(--col--button12); +} + +.grey { + border-radius: 6px; + box-shadow: 0px 0px 0px 1px var(--col--button14); + background-color: var(--col--light); + color: var(--col--dark2); +} + +.grey svg { + fill: var(--col--dark2); +} + +.grey:hover { + background-color: var(--col--button15); +} + +.grey:active { + background-color: var(--col--button16); + box-shadow: 0px 0px 0px 1px var(--col--button14); +} + +.grey:disabled { + background-color: transparent; + color: var(--col--button17); +} + +.blue { + box-shadow: 0px 0px 0px 2px var(--col--secondary8); + background-color: var(--col--button7); + color: var(--col--link); +} + +.blue svg { + fill: var(--col--link); +} + +.blue:hover { + background-color: var(--col--button5); +} + +.blue:active { + background-color: var(--col--button4); + box-shadow: 0px 0px 0px 2px var(--col--secondary8); +} + +.blue:disabled { + color: var(--col--button4); + background-color: var(--col--button7); + box-shadow: 0px 0px 0px 2px var(--col--secondary8); +} + +.cancel { + border-color: transparent; + background-color: transparent; + color: var(--col--gray1); +} + +.cancel:hover, .cancel:active { + border-color: transparent; + background-color: transparent; + color: var(--col--gray1); + box-shadow: none; +} diff --git a/ui/components/atoms/button/button.tsx b/ui/components/atoms/button/button.tsx new file mode 100644 index 0000000..8ed6ab8 --- /dev/null +++ b/ui/components/atoms/button/button.tsx @@ -0,0 +1,39 @@ +import classNames from 'classnames'; +import React, { ReactNode } from 'react'; + +import styles from './button.module.css'; +import { Variant } from './types'; + +interface ApiButtonProps { + /** + * Button contents + */ + text?: string; + onClick?: (event: React.MouseEvent) => void; + disabled?: boolean; + className?: string; + variant?: Variant; + id?: string; + children?: ReactNode; +} + +export const Button = ({ text, onClick, disabled, className, variant, id, children }: ApiButtonProps): JSX.Element => { + const handleClick = (event: React.MouseEvent) => { + onClick && onClick(event); + }; + + const content = children ? children : text; + + return ( + + ); +}; diff --git a/ui/components/atoms/button/index.ts b/ui/components/atoms/button/index.ts new file mode 100644 index 0000000..a039b75 --- /dev/null +++ b/ui/components/atoms/button/index.ts @@ -0,0 +1 @@ +export { Button } from './button'; diff --git a/ui/components/atoms/button/types.ts b/ui/components/atoms/button/types.ts new file mode 100644 index 0000000..737605a --- /dev/null +++ b/ui/components/atoms/button/types.ts @@ -0,0 +1,7 @@ +export enum Variant { + light = 'light', + red = 'red', + grey = 'grey', + blue = 'blue', + cancel = 'cancel', +} diff --git a/ui/components/atoms/input/index.module.css b/ui/components/atoms/input/index.module.css new file mode 100644 index 0000000..ef666c1 --- /dev/null +++ b/ui/components/atoms/input/index.module.css @@ -0,0 +1,34 @@ +.wrapper { + width: 100%; + position: relative; +} + +.input { + border: 1px solid #dde0eb; + border-radius: 7px; + color: #000c; + display: block; + font-family: Inter, sans-serif; + font-size: 16px; + font-weight: 500; + line-height: 133%; + line-height: 20px; + padding: 18px 89px 18px 23px; + width: 100%; +} + +.input:hover { + outline: 3px solid #ced9ff; + transition: outline-width 0.1s ease; +} + +.input:focus { + border: 1px solid #597fff; + outline: 3px solid #ced9ff; +} + +.searchIcon { + position: absolute; + right: 18px; + top: 12px; +} diff --git a/ui/components/atoms/input/index.ts b/ui/components/atoms/input/index.ts new file mode 100644 index 0000000..3f24eca --- /dev/null +++ b/ui/components/atoms/input/index.ts @@ -0,0 +1 @@ +export { default as Input } from './input'; diff --git a/ui/components/atoms/input/input.tsx b/ui/components/atoms/input/input.tsx new file mode 100644 index 0000000..3ad486f --- /dev/null +++ b/ui/components/atoms/input/input.tsx @@ -0,0 +1,46 @@ +import classNames from "classnames"; +import SearchIcon from "../../../assets/search.svg"; +import style from "./index.module.css"; +import Image from "next/image"; + +export enum InputVariant { + search = "search", +} + +type InputProps = { + onChange?: ( + event: React.ChangeEvent + ) => void; + placeholder: string; + value: string | number; + className?: string; + type?: string; + disabled?: boolean; + variant?: InputVariant; +}; + +const Input = ({ + onChange, + placeholder, + value, + className, + type, + disabled, + variant, +}: InputProps): JSX.Element => { + return ( +
+ + {variant === InputVariant.search && search} +
+ ); +}; + +export default Input; diff --git a/ui/components/atoms/logo/index.module.css b/ui/components/atoms/logo/index.module.css new file mode 100644 index 0000000..af6c665 --- /dev/null +++ b/ui/components/atoms/logo/index.module.css @@ -0,0 +1,9 @@ +.logo { + display: inline-flex; + align-items: center; + justify-content: center; +} + +.logo img { + margin-right: 5px; +} diff --git a/ui/components/atoms/logo/index.ts b/ui/components/atoms/logo/index.ts new file mode 100644 index 0000000..6e0019e --- /dev/null +++ b/ui/components/atoms/logo/index.ts @@ -0,0 +1 @@ +export {default as Logo} from './logo' \ No newline at end of file diff --git a/ui/components/atoms/logo/logo.tsx b/ui/components/atoms/logo/logo.tsx new file mode 100644 index 0000000..8a733d8 --- /dev/null +++ b/ui/components/atoms/logo/logo.tsx @@ -0,0 +1,15 @@ +import Image from "next/image"; +import LogoIcon from "../../../assets/logo.svg"; + +import style from "./index.module.css"; + +const Logo = () => { + return ( +
+ Mina Names + Mina Names +
+ ); +}; + +export default Logo; diff --git a/ui/components/atoms/resultItem/index.module.css b/ui/components/atoms/resultItem/index.module.css new file mode 100644 index 0000000..fd911a7 --- /dev/null +++ b/ui/components/atoms/resultItem/index.module.css @@ -0,0 +1,10 @@ +.wrapper { + border-radius: 12px; + background: #fff; + padding: 18px 18px 18px 23px; + display: flex; + justify-content: space-between; + align-items: center; + margin-top: 20px; + width: 100%; +} diff --git a/ui/components/atoms/resultItem/index.ts b/ui/components/atoms/resultItem/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/ui/components/atoms/resultItem/resultItem.tsx b/ui/components/atoms/resultItem/resultItem.tsx new file mode 100644 index 0000000..4fafe15 --- /dev/null +++ b/ui/components/atoms/resultItem/resultItem.tsx @@ -0,0 +1,14 @@ +import { Button } from "../button"; +import { Variant } from "../button/types"; +import style from "./index.module.css"; + +const ResultItem = ({ text }) => { + return ( +
+ {text} +
+ ); +}; + +export default ResultItem; diff --git a/ui/components/molecules/connectWalletButton/buttonWithAddress.tsx b/ui/components/molecules/connectWalletButton/buttonWithAddress.tsx new file mode 100644 index 0000000..682ae70 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/buttonWithAddress.tsx @@ -0,0 +1,62 @@ +import Image from 'next/image'; +import auroIcon from './img/auro.png'; +import { StaticEllipse } from '../staticEllipse'; +import disconnect from './img/disconnect.svg'; +import account from './img/account.svg'; + +import style from './index.module.css'; +import DropdownWrapper from '../dropdownWrapper'; +import { useState } from 'react'; +import classNames from 'classnames'; +import { Button } from '../../atoms/button'; +import { Variant } from '../../atoms/button/types'; +import { useRouter } from 'next/router'; + +const ButtonWithAddress = ({ address, onDisconnect }: { address: string; onDisconnect: () => void }) => { + const [isShowDropdown, setIsShowDropdown] = useState(false); + const router = useRouter() + const handleCLick = () => { + setIsShowDropdown(!isShowDropdown); + }; + + return ( + <> + + + ); +}; + +export default ButtonWithAddress; diff --git a/ui/components/molecules/connectWalletButton/connectButton.tsx b/ui/components/molecules/connectWalletButton/connectButton.tsx new file mode 100644 index 0000000..29f453e --- /dev/null +++ b/ui/components/molecules/connectWalletButton/connectButton.tsx @@ -0,0 +1,15 @@ +import Image from 'next/image'; +import WalletIcon from './img/wallet.svg'; +import style from './index.module.css'; +import classNames from 'classnames'; + +const ConnectButton = ({ onClick }: { onClick: () => void }) => { + return ( +
+ +

Connect

+
+ ); +}; + +export default ConnectButton; diff --git a/ui/components/molecules/connectWalletButton/connectWalletButton.tsx b/ui/components/molecules/connectWalletButton/connectWalletButton.tsx new file mode 100644 index 0000000..edf7671 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/connectWalletButton.tsx @@ -0,0 +1,60 @@ +import { useEffect, useState } from "react"; +import classNames from "classnames"; + +import style from "./index.module.css"; +import ButtonWithAddress from "./buttonWithAddress"; +import ConnectButton from "./connectButton"; +import WalletConnectPopUp from "./walletConnectPopUp"; +import getWalletConfig from "./hellper"; +import useWallet from "../../../store/hooks/useWallet"; + +const ConnectWalletButton = () => { + const [showPopup, setShowPopup] = useState(false); + const { + accountId, + connectMessage, + actions: { onConnectWallet, onDisconnectWallet, setConnectMessage }, + } = useWallet(); + + const walletName = accountId ? "Auro Wallet" : null; + + const closeHandler = () => { + setShowPopup(false); + }; + + const address = accountId?.[0]; + + const handleConnect = () => { + setShowPopup(true); + }; + + return ( +
+
+ {address ? ( + { + await onDisconnectWallet(); + }} + /> + ) : ( + + )} +
+ +
+ ); +}; + +export default ConnectWalletButton; diff --git a/ui/components/molecules/connectWalletButton/hellper.ts b/ui/components/molecules/connectWalletButton/hellper.ts new file mode 100644 index 0000000..93c8382 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/hellper.ts @@ -0,0 +1,15 @@ +import auroIcon from './img/auro.png'; + +const getWalletConfig = () => [ + { + // eslint-disable-next-line valid-typeof + installed: typeof window !== 'undefined' && window['mina']?.isAuro, + name: 'Auro Wallet', + icon: auroIcon, + downloadUrl: { + browserExtension: 'https://chrome.google.com/webstore/detail/auro-wallet/cnmamaachppnkjgnildpdmkaakejnhae', + }, + }, +]; + +export default getWalletConfig; diff --git a/ui/components/molecules/connectWalletButton/img/account.svg b/ui/components/molecules/connectWalletButton/img/account.svg new file mode 100644 index 0000000..6a7a19f --- /dev/null +++ b/ui/components/molecules/connectWalletButton/img/account.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ui/components/molecules/connectWalletButton/img/auro.png b/ui/components/molecules/connectWalletButton/img/auro.png new file mode 100644 index 0000000..ad49b65 Binary files /dev/null and b/ui/components/molecules/connectWalletButton/img/auro.png differ diff --git a/ui/components/molecules/connectWalletButton/img/copy.svg b/ui/components/molecules/connectWalletButton/img/copy.svg new file mode 100644 index 0000000..a117327 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/img/copy.svg @@ -0,0 +1,3 @@ + + + diff --git a/ui/components/molecules/connectWalletButton/img/disconnect.svg b/ui/components/molecules/connectWalletButton/img/disconnect.svg new file mode 100644 index 0000000..557a96c --- /dev/null +++ b/ui/components/molecules/connectWalletButton/img/disconnect.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/ui/components/molecules/connectWalletButton/img/wallet.svg b/ui/components/molecules/connectWalletButton/img/wallet.svg new file mode 100644 index 0000000..43fc939 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/img/wallet.svg @@ -0,0 +1,3 @@ + + + diff --git a/ui/components/molecules/connectWalletButton/index.module.css b/ui/components/molecules/connectWalletButton/index.module.css new file mode 100644 index 0000000..f3b72aa --- /dev/null +++ b/ui/components/molecules/connectWalletButton/index.module.css @@ -0,0 +1,48 @@ +.buttonWithAddress > div { + display: flex; + gap: 4px; +} +.auroIcon { + width: 22px; + height: 22px; +} + +.connectbutton { + display: inline-flex; + align-items: center; + color: #809dff; + cursor: pointer; + transition: all 0.2s; + padding: 3px 8px; + gap: 4px; + border-radius: 5px; +} + +.connectbutton:hover { + background-color: #f6f7fa; +} + +.plate { + position: relative; +} + +.item { + padding: 10px 16px; + cursor: pointer; + transition: all ease 200ms; + background-color: #fff; + display: flex; + align-items: center; + gap: 12px; + line-height: 18px; +} + +.item .icon { + fill: rgba(0, 0, 0, 0.8); + width: 20px; + height: 20px; +} + +.item:hover { + background-color: #f9f9f9; +} diff --git a/ui/components/molecules/connectWalletButton/index.ts b/ui/components/molecules/connectWalletButton/index.ts new file mode 100644 index 0000000..57c9420 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/index.ts @@ -0,0 +1 @@ +export { default as ConnectWalletButton } from './connectWalletButton'; diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/WalletConnectPopUp.module.css b/ui/components/molecules/connectWalletButton/walletConnectPopUp/WalletConnectPopUp.module.css new file mode 100644 index 0000000..7fa45b6 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/WalletConnectPopUp.module.css @@ -0,0 +1,220 @@ +.walletConnectPopUp { + width: 80vw; + max-width: 820px; + background-color: #fff; + border-radius: 24px; + max-height: 90vh; + overflow-y: auto; +} + +@media (max-width: 768px) { + .walletConnectPopUp { + width: 90vw; + } +} + +@media (max-width: 576px) { + .walletConnectPopUp { + width: 100vw; + display: flex; + flex-direction: column-reverse; + border-radius: 24px 24px 0 0; + } +} + +.header { + background-repeat: no-repeat; + width: 100%; + background-position: center; + background-size: cover; + padding: 24px; +} + +.header .heading { + display: flex; + align-items: flex-start; + justify-content: space-between; +} + +@media (max-width: 592px) { + .header .heading { + margin-bottom: 8px; + } +} + +.title { + font-size: 18px; + line-height: 24px; + margin-bottom: 12px; + text-align: center; +} + +.header .progressContainer { + max-width: 400px; + margin: 0 auto; +} + +.header .message { + color: var(--col--dark); + line-height: 22px; + text-align: center; + max-width: 95%; + margin: 0 auto; + margin-top: 12px; + margin-bottom: 12px; +} + +.header .link { + display: block; + width: max-content; + margin: 0 auto; + font-size: 13px; + font-weight: 600; + line-height: 20px; + text-align: center; +} + +.mobileHeader { + padding: 16px; + width: 100%; + display: flex; + align-items: center; + gap: 8px; + position: relative; + border-bottom: 1px solid var(--col--gray8); +} + +.mobileHeader .logo { + width: 48px; + height: 48px; + padding: 8px; +} + +.mobileHeader .title { + line-height: 26px; +} + +.mobileHeader .message { + font-weight: 400; + line-height: 18px; +} + +.mobileHeader .closeBtn { + position: absolute; + top: 24px; + right: 24px; + cursor: pointer; + width: 32px; + height: 32px; + display: flex; + align-items: center; + justify-content: center; + margin-top: -8px; + margin-right: -8px; + cursor: pointer; +} + +.closeBtn img { + width: 24px; + height: 24px; + fill: rgba(0, 0, 0, 0.3); + transition: fill ease 200ms; + cursor: pointer; +} + +.closeBtn:hover img { + fill: var(--col--gray1); +} + +.stepProgressPlate { + width: 100%; + position: relative; + display: flex; + align-items: center; +} + +.stepProgressLine { + background-color: rgba(232, 233, 235, 1); + height: 4px; + width: 100%; +} + +.stepProgressLineColor { + position: absolute; + left: 0; + top: 0; + height: 100%; + z-index: 2; + transition: all ease 400ms; +} + +.stepProgressDot { + position: absolute; + display: flex; + align-items: center; + justify-content: center; + border-radius: 50%; + background-color: rgba(232, 233, 235, 1); + width: 14px; + height: 14px; + z-index: 3; +} + +.stepProgressCircle { + width: 10px; + height: 10px; + border-radius: 50%; + transition: all ease 400ms; +} + +.screen { + padding: 24px; +} + +.walletListCard { + background-color: var(--col--light); + border: 1px solid rgba(240, 241, 245, 1); + padding: 16px; + display: flex; + align-items: center; + gap: 12px; + border-radius: 8px; + cursor: pointer; +} + +.walletListCard .Name { + font-size: 14px; + font-weight: 600; + line-height: 18px; +} + +.walletListCard .Icon { + width: 36px; + height: 36px; +} + +@media (max-width: 576px) { + .walletListCard { + border: none; + padding: 0; + background-color: transparent; + flex-direction: column; + gap: 8px; + width: max-content; + } + + .walletListCard .Name { + font-size: 12px; + font-weight: 600; + line-height: 16px; + text-align: center; + } + + .walletListCard .Icon { + width: calc(40px + 12px * 2); + height: calc(40px + 12px * 2); + padding: 12px; + border: 1px solid #f0f1f5; + border-radius: 12px; + } +} diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/core.tsx b/ui/components/molecules/connectWalletButton/walletConnectPopUp/core.tsx new file mode 100644 index 0000000..0d4605d --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/core.tsx @@ -0,0 +1,167 @@ +import React, { useEffect, useMemo, useState } from "react"; +import WalletConnectPopUpHeader from "./header"; +import style from "./WalletConnectPopUp.module.css"; +import WalletList from "./screens/walletList"; +import ConnectingScreen from "./screens/connectionScreen"; +import InstallScreen from "./screens/installScreen"; +import SuccessScreen from "./screens/successScreen"; +import FailScreen from "./screens/failScreen"; +import WalletConnectPopUpMobileHeader from "./mobileHeader"; +import { useMedia } from "../../../../hooks/useMedia"; +import { useKeyPress } from "../../../../hooks/useKeyPress"; + +const messages = { + 0: "Connecting your wallet is like “logging in” to Web3. Select your wallet from the options to get started.", + 1: "Please approve the connection in your wallet and authorize access to continue.", + 2: "Your wallet is now connected to Suiscan.", +}; + +const actions = { + 0: "Connect your wallet", + 1: "Approve Connection", + 2: "Connection successfull", +}; + +const statuses = { + normal: "normal", + notInstalled: "notInstalled", + rejected: "rejected", +}; + +const WalletConnectPopUpCore = ({ + walletName, + connected = false, + rejected = false, + connectFunction, + onClose, + onResolve, + list = [], + isMobileConnection, + onReturnToWallets, +}) => { + const [step, setStep] = useState(0); + const [stepStatus, setStepStatus] = useState(statuses.normal); + const [connectingWalletName, setConnectingWalletName] = useState(null); + const media = useMedia(); + const isMobile = !media.greater.xs; + useKeyPress("Escape", onClose); + + const findWalletByName = (name) => list.find((el) => el.name === name); + const currentWallet = findWalletByName(connectingWalletName); + + const [installed] = useMemo(() => { + if (list?.length < 1) return [[], []]; + return [ + list.filter((el) => el.installed), + list.filter((el) => !el.installed), + ]; + }, [list]); + + const cardClickHandler = (name, installed) => { + setConnectingWalletName(name); + if (installed) { + setStepStatus(statuses.normal); + connectFunction(name); + } else setStepStatus(statuses.notInstalled); + setStep(1); + }; + + const onReturn = () => { + setStep(0); + setStepStatus(statuses.normal); + onReturnToWallets?.(); + }; + + useEffect(() => { + if (rejected && !connected) { + setStepStatus(statuses.rejected); + setStep(1); + } else if (connected && walletName && walletName === connectingWalletName) { + setStepStatus(statuses.normal); + setStep(2); + } else if (connected && !walletName) { + setStepStatus(statuses.normal); + setStep(2); + } + }, [connected, rejected, walletName, connectingWalletName]); + + const renderComponentBySteps = (step): JSX.Element => { + switch (step) { + case 0: + return ( + + ); + case 1: + // eslint-disable-next-line no-case-declarations + const commanProps = { + walletName: connectingWalletName, + walletImg: currentWallet?.icon, + onReturn, + }; + if (stepStatus === statuses.normal) { + return ; + } + if (stepStatus === statuses.notInstalled) { + return ( + + ); + } + if (stepStatus === statuses.rejected) { + return ( + + ); + } + break; + case 2: + if (stepStatus === statuses.normal) { + return ( + + ); + } + break; + default: + break; + } + }; + + return ( +
+ +
{renderComponentBySteps(step)}
+ {isMobile && ( + + )} +
+ ); +}; + +export default WalletConnectPopUpCore; diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/header.tsx b/ui/components/molecules/connectWalletButton/walletConnectPopUp/header.tsx new file mode 100644 index 0000000..b730d62 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/header.tsx @@ -0,0 +1,28 @@ +import React from 'react'; +import style from './WalletConnectPopUp.module.css'; +import headerBG from './img/headerBG.png'; +import CloseIcon from './img/CloseIcon.svg'; +import WalletConnectPopUpProgress from './stepProgress'; +import Image from 'next/image'; +import classNames from 'classnames'; + +const WalletConnectPopUpHeader = ({ step, onClose, message, action, isMobile }) => { + return ( +
+ {!isMobile && ( +
+
+ +
+
+ )} +

{action}

+
+ +
+

{message}

+
+ ); +}; + +export default WalletConnectPopUpHeader; diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/CloseIcon.svg b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/CloseIcon.svg new file mode 100644 index 0000000..f939ae8 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/CloseIcon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/Loader.gif b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/Loader.gif new file mode 100644 index 0000000..af16020 Binary files /dev/null and b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/Loader.gif differ diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/Loader.svg b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/Loader.svg new file mode 100644 index 0000000..0460c11 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/Loader.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/Triangle.svg b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/Triangle.svg new file mode 100644 index 0000000..b85230a --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/Triangle.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/failed.svg b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/failed.svg new file mode 100644 index 0000000..efc6b2f --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/failed.svg @@ -0,0 +1,3 @@ + + + diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/headerBG.png b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/headerBG.png new file mode 100644 index 0000000..cac8d41 Binary files /dev/null and b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/headerBG.png differ diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/success.png b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/success.png new file mode 100644 index 0000000..f1c3dcd Binary files /dev/null and b/ui/components/molecules/connectWalletButton/walletConnectPopUp/img/success.png differ diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/index.tsx b/ui/components/molecules/connectWalletButton/walletConnectPopUp/index.tsx new file mode 100644 index 0000000..db4c3d5 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/index.tsx @@ -0,0 +1,17 @@ +import WalletConnectPopUpCore from './core'; +import PopupOverlay from '../../popupOverlay'; +import { useMedia } from '../../../../hooks/useMedia'; + +const WalletConnectPopUp = (props) => { + const media = useMedia(); + const isMobile = !media.greater.xs; + const { show, onClose = () => null } = props; + + return ( + + + + ); +}; + +export default WalletConnectPopUp; diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/mobileHeader.tsx b/ui/components/molecules/connectWalletButton/walletConnectPopUp/mobileHeader.tsx new file mode 100644 index 0000000..6e96971 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/mobileHeader.tsx @@ -0,0 +1,21 @@ +import React from 'react'; +import style from './WalletConnectPopUp.module.css'; +import CloseIcon from './img/CloseIcon.svg'; +import Image from 'next/image'; + +const WalletConnectPopUpMobileHeader = ({ onClose, message, action }) => { + return ( +
+
+ + +
+
+

{action}

+

{message}

+
+
+ ); +}; + +export default WalletConnectPopUpMobileHeader; diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/Screens.module.css b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/Screens.module.css new file mode 100644 index 0000000..9c9c6d1 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/Screens.module.css @@ -0,0 +1,202 @@ +.screenTitle { + font-size: 16px; + font-weight: 600; + line-height: 24px; + margin: 0 auto; + margin-bottom: 24px; + text-align: center; + text-transform: capitalize; +} + +.walletListList { + width: 100%; +} + +.walletListRow { + display: grid; + gap: 16px; + grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); +} + +@media (max-width: 576px) { + .walletListRow { + display: flex; + gap: 32px; + } +} + +.wrapper { + padding: 0 16px; +} + +@media (max-width: 576px) { + .wrapper { + padding: 0; + } +} + +.connectingScreen { + display: flex; + flex-direction: column; + align-items: center; +} + +.connectingScreenSubtitle { + margin-top: 16px; + margin-bottom: 8px; + font-size: 14px; + font-weight: 700; + line-height: 22px; + text-align: center; +} + +.connectingScreenText { + font-size: 14px; + font-weight: 500; + line-height: 22px; + text-align: center; + margin-bottom: 16px; + color: var(--col--gray1); +} + +.connectingScreenButton { + margin-bottom: 64px; +} + +.connectingScreenHelp { + font-size: 12px; + line-height: 18px; +} + +.installScreen { + display: flex; + flex-direction: column; + align-items: center; +} + +.installScreenSubtitle { + margin-top: 16px; + margin-bottom: 8px; + font-size: 14px; + font-weight: 700; + line-height: 22px; + text-align: center; +} + +.installScreenSubtitle span { + text-transform: capitalize; +} + +.installScreenText { + font-size: 14px; + font-weight: 500; + line-height: 22px; + text-align: center; + margin-bottom: 16px; +} + +.installScreenButton { + margin-bottom: 16px; +} + +.installScreenBack { + font-size: 14px; + font-weight: 600; + line-height: 24px; + cursor: pointer; + color: rgba(89, 127, 255, 1); +} + +.SuccessScreen { + display: flex; + flex-direction: column; + align-items: center; +} + +.SuccessScreenSubtitle { + margin-top: 16px; + margin-bottom: 8px; + font-size: 14px; + font-weight: 700; + line-height: 22px; + text-align: center; +} + +.SuccessScreenSubtitle span { + text-transform: capitalize; +} + +.failScreen { + display: flex; + flex-direction: column; + align-items: center; +} + +.failScreenSubtitle { + margin-top: 16px; + margin-bottom: 8px; + font-size: 14px; + font-weight: 700; + line-height: 22px; + text-align: center; +} + +.failScreenSubtitle span { + text-transform: capitalize; +} + +.failScreenButton { + margin-bottom: 16px; +} + +.failScreenBack { + font-size: 14px; + font-weight: 600; + line-height: 24px; + cursor: pointer; + color: rgba(89, 127, 255, 1); +} + +.failIconTriangle { + position: absolute; + left: calc(50% - 17px); + top: calc(50% - 17px); +} + + +.loadingWrapper { + display: flex; + align-items: center; + gap: 8px; + position: relative; +} + +.loadingWrapperIcon { + display: flex; + align-items: center; + justify-content: center; + border-radius: 50%; + border: 1px solid var(--col--gray8); + padding: 10px; +} + +.loadingWrapperIcon img { + width: 36px; + height: 36px; + object-fit: contain; +} + +.listBlock { + margin-bottom: 24px; +} + +.listBlock:last-child { + margin-bottom: 0; +} + +.noWallets { + font-size: 14px; + font-weight: 500; + text-align: center; + color: var(--col--gray1); +} diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/connectionScreen.tsx b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/connectionScreen.tsx new file mode 100644 index 0000000..d23f8e6 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/connectionScreen.tsx @@ -0,0 +1,30 @@ +import React from 'react'; +import style from './Screens.module.css'; +import { Button } from '../../../../atoms/button'; +import classNames from 'classnames'; +import Image from 'next/image'; + +const ConnectingScreen = ({ onReturn, walletName, walletImg }) => { + return ( +
+

Mina Wallet

+
+
+ +
+
+

+ Opening {walletName ?? 'wallet'}... +

+

+ Confirm connection in the extension. +

+
+ ); +}; + +export default ConnectingScreen; diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/failScreen.tsx b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/failScreen.tsx new file mode 100644 index 0000000..1437b42 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/failScreen.tsx @@ -0,0 +1,41 @@ +import Triangle from '../img/Triangle.svg'; +import Image from 'next/image'; +import { Button } from '../../../../atoms/button'; +import classNames from 'classnames'; + +import style from './Screens.module.css'; + +type FailScreenProps = { + walletName: string; + walletImg?: string; + installed?: boolean; + onReturn?: () => void; + onRetry?: (walletName: string, installed?: boolean) => void; +}; + +const FailScreen = ({ walletName, walletImg, installed, onReturn, onRetry }: FailScreenProps): JSX.Element => { + return ( +
+

Mina Wallet

+
+
+ +
+
+ +
+
+

Connection Rejected!

+
+ ); +}; + +export default FailScreen; diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/installScreen.tsx b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/installScreen.tsx new file mode 100644 index 0000000..b123abf --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/installScreen.tsx @@ -0,0 +1,48 @@ +import React from 'react'; +import style from './Screens.module.css'; +import { Button } from '../../../../atoms/button'; +import classNames from 'classnames'; + +const InstallScreen = ({ onReturn, walletName = 'wallet', downloadUrl, downloadUrlMobile, isMobileConnection }) => { + return ( +
+ {!isMobileConnection || downloadUrlMobile ? ( + <> +

Mima Wallet

+

+ {walletName} is not installed +

+

+ The {walletName} extension is not installed in your browser +

+
+ ); +}; + +export default InstallScreen; diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/successScreen.tsx b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/successScreen.tsx new file mode 100644 index 0000000..0a00bcf --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/successScreen.tsx @@ -0,0 +1,33 @@ +import React, { useEffect } from 'react'; +import style from './Screens.module.css'; +import success from '../img/success.png'; +import Image from 'next/image'; +import classNames from 'classnames'; + +type SuccessScreenProps = { + onClose: () => void; + onResolve: (value: string) => void; + walletName: string; +}; + +const SuccessScreen = ({ onClose, walletName, onResolve }: SuccessScreenProps): JSX.Element => { + useEffect(() => { + onResolve && onResolve(walletName); + const timeout = setTimeout(onClose, 3000); + return () => { + clearTimeout(timeout); + }; + }, []); + + return ( +
+

Mina Wallet

+ Success! +

+ {walletName ?? 'wallet'} Connected! +

+
+ ); +}; + +export default SuccessScreen; diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/walletList.tsx b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/walletList.tsx new file mode 100644 index 0000000..4bb9811 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/screens/walletList.tsx @@ -0,0 +1,86 @@ +import { useMemo } from "react"; +import style from "./Screens.module.css"; +import Wallet from "../wallet"; +import CustomScrollList from "../../../customScrollList"; +import classNames from "classnames"; + +const WalletList = ({ + list, + cardClickHandler, + isMobile, + isMobileConnection, +}) => { + const [installed, avaliable] = useMemo(() => { + if (list?.length < 1) return [[], []]; + return [ + list.filter((el) => el.installed), + list.filter((el) => !el.installed), + ]; + }, [list]); + + const hasInstalled = installed.length > 0; + const wallets = [installed, avaliable]; + + const isWalletsUnvaliable = installed.length === 0; + const isDesctopeAndHasNotInstalledWallet = !isMobile && !isMobileConnection; + const isMobileAndHasInstalledWallet = + !isDesctopeAndHasNotInstalledWallet && !isWalletsUnvaliable; + + const renderWallet = ({ icon, name, installed }) => { + return ( + + ); + }; + + return ( +
+ {isDesctopeAndHasNotInstalledWallet && + wallets.map((array, i) => + array.length > 0 ? ( +
+

+ {hasInstalled + ? (i === 0 && "Installed") || "More" + : "Available Wallets"}{" "} + ({array.length ?? "-"}) +

+
+ +
+ {array.map(renderWallet)} +
+
+
+
+ ) : null + )} + {isMobileAndHasInstalledWallet && ( +
+ +
+ {installed.map(renderWallet)} +
+
+
+ )} + + {isWalletsUnvaliable && ( +
No wallets avaliable
+ )} +
+ ); +}; + +export default WalletList; diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/stepProgress.tsx b/ui/components/molecules/connectWalletButton/walletConnectPopUp/stepProgress.tsx new file mode 100644 index 0000000..63d0a0b --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/stepProgress.tsx @@ -0,0 +1,56 @@ +import style from './WalletConnectPopUp.module.css'; + +const lineStyles = [ + { + width: '0.1%', + background: 'linear-gradient(90deg, #597FFF 0%, #4FB8CF 100%)', + }, + { + width: '50%', + background: 'linear-gradient(90deg, #597FFF 0%, #4FB8CF 100%)', + }, + { + width: '100%', + background: 'linear-gradient(90deg, #597FFF 0%, #4FB8CF 49.79%, #7DD3A1 100%)', + }, +]; + +const WalletConnectPopUpProgress = ({ step }: { step: number }): JSX.Element => { + return ( +
+
+
+
+
+
= 0 ? 'rgba(89, 127, 255, 1)' : 'transparent', + }} + >
+
+
+
= 1 ? 'rgba(89, 127, 255, 1)' : 'transparent', + }} + >
+
+
+
= 2 ? 'rgba(89, 127, 255, 1)' : 'transparent', + }} + >
+
+
+
+ ); +}; + +export default WalletConnectPopUpProgress; diff --git a/ui/components/molecules/connectWalletButton/walletConnectPopUp/wallet.tsx b/ui/components/molecules/connectWalletButton/walletConnectPopUp/wallet.tsx new file mode 100644 index 0000000..d6bf2d9 --- /dev/null +++ b/ui/components/molecules/connectWalletButton/walletConnectPopUp/wallet.tsx @@ -0,0 +1,22 @@ +import React from 'react'; +import style from './WalletConnectPopUp.module.css'; +import Image from 'next/image'; +import classNames from 'classnames'; + +type WalletProps = { + icon?: string; + name?: string; + installed?: boolean; + onClick?: (name: string, installed?: boolean) => void; +}; + +const Wallet = ({ icon, name, installed, onClick }: WalletProps): JSX.Element => { + return ( +
onClick(name, installed)}> + +
{name}
+
+ ); +}; + +export default Wallet; diff --git a/ui/components/molecules/customScrollList/CustomScrollList.module.css b/ui/components/molecules/customScrollList/CustomScrollList.module.css new file mode 100644 index 0000000..76f90bb --- /dev/null +++ b/ui/components/molecules/customScrollList/CustomScrollList.module.css @@ -0,0 +1,26 @@ +.customScrollList { + display: flex; + width: 100%; + } + + .customScrollList::-webkit-scrollbar { + width: 6px; + height: 3px; + border-radius: 10px; + } + + .customScrollList::-webkit-scrollbar-thumb { + background-color: rgba(0, 0, 0, 0.1); + border: 0px solid rgba(0, 0, 0, 0.1); + border-radius: 10px; + } + + .list { + -ms-overflow-style: none; + flex-grow: 1; + } + + .list::-webkit-scrollbar { + width: 0; + } + \ No newline at end of file diff --git a/ui/components/molecules/customScrollList/index.tsx b/ui/components/molecules/customScrollList/index.tsx new file mode 100644 index 0000000..79d33e2 --- /dev/null +++ b/ui/components/molecules/customScrollList/index.tsx @@ -0,0 +1,66 @@ +import React, { Children, useEffect, useRef } from 'react'; +import styles from './CustomScrollList.module.css'; +import classNames from 'classnames'; +import { isNumber } from 'lodash'; + +type CustomScrollListProps = { + children: React.ReactNode; + fullScrolledHandler?: (value: boolean) => void; + className?: string; + listClassName?: string; + handlerOffset?: number; + setCurrentScroll?: (value: number) => void; + scrollTo?: string; + onScroll?: (value: React.MouseEvent) => void; +}; + +const CustomScrollList = ({ + children, + className, + listClassName, + fullScrolledHandler, + handlerOffset = 50, + setCurrentScroll, + scrollTo, + onScroll, +}: CustomScrollListProps): JSX.Element => { + const ref = useRef(null); + const wrapperRef = useRef(null); + + const scrollHandler = (e) => { + fullScrolledHandler?.(e.target.scrollHeight - e.target.offsetHeight - e.target.scrollTop < handlerOffset); + setCurrentScroll?.(e.target.scrollTop); + onScroll?.(e); + }; + + useEffect(() => { + if (fullScrolledHandler || setCurrentScroll || onScroll) { + wrapperRef.current?.addEventListener('scroll', scrollHandler); + } + return () => { + wrapperRef.current?.removeEventListener('scroll', scrollHandler); + }; + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [wrapperRef.current, scrollHandler]); + + useEffect(() => { + if (wrapperRef.current && isNumber(scrollTo)) { + wrapperRef.current.scrollTo({ top: scrollTo, behavior: 'smooth' }); + } + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [scrollTo, wrapperRef.current]); + + return ( +
+
+ {Children.map(children, (el, index) => ( +
+ {el} +
+ ))} +
+
+ ); +}; + +export default CustomScrollList; diff --git a/ui/components/molecules/dropdownWrapper/Close.svg b/ui/components/molecules/dropdownWrapper/Close.svg new file mode 100644 index 0000000..4e9c19b --- /dev/null +++ b/ui/components/molecules/dropdownWrapper/Close.svg @@ -0,0 +1,4 @@ + + + + diff --git a/ui/components/molecules/dropdownWrapper/DropdownWrapper.module.css b/ui/components/molecules/dropdownWrapper/DropdownWrapper.module.css new file mode 100644 index 0000000..6c7cb95 --- /dev/null +++ b/ui/components/molecules/dropdownWrapper/DropdownWrapper.module.css @@ -0,0 +1,75 @@ +@keyframes animation { + 0% { + transform: translateY(150%); + } + 100% { + transform: translateY(0); + } +} + +.dropdownWrapper { + user-select: none; + overflow-y: auto; + background-color: #fff; + padding: 16px 0; + border-radius: 12px; + position: absolute; + top: calc(100% + 8px); + left: 0; + box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1); + transition: all ease 200ms; + z-index: 20; +} + +.dropdownWrapperMobile { + width: 100%; + height: max-content; + min-height: 300px; + background: white; + border-radius: 25px 25px 0 0; + padding: 24px; + display: flex; + flex-direction: column; +} + +.dropdownWrapperMobileHeader { + display: flex; + justify-content: space-between; + margin-bottom: 8px; + cursor: pointer; +} + +.dropdownWrapperMobileContent { + flex-grow: 1; + display: flex; + flex-direction: column; + justify-content: space-between; + height: 100%; +} + +.overlay { + background-color: rgba(0, 0, 0, 0.56); + height: 100vh; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 1; +} + +.toLeft { + left: auto; + right: 0; +} + +.toCenter { + left: 50%; + transform: translateX(-50%); + right: auto; +} + +.portal { + bottom: 0; + position: fixed; +} diff --git a/ui/components/molecules/dropdownWrapper/index.tsx b/ui/components/molecules/dropdownWrapper/index.tsx new file mode 100644 index 0000000..7d2653c --- /dev/null +++ b/ui/components/molecules/dropdownWrapper/index.tsx @@ -0,0 +1,38 @@ +import React, { ReactNode } from 'react'; +import style from './DropdownWrapper.module.css'; +import classNames from 'classnames'; +import CloseIcon from './Close.svg'; +import Image from 'next/image'; +import PopupOverlay from '../popupOverlay'; +import { useMedia } from '../../../hooks/useMedia'; + +type DropdownWrapperProps = { + children: ReactNode; + minWidth?: string; + className?: string; + show: boolean; + onClose: () => void; + centered?: boolean; +}; + +const DropdownWrapper = ({ children, className, show, onClose }: DropdownWrapperProps): JSX.Element => { + const media = useMedia(); + + return media.greater.sm && show ? ( +
e.stopPropagation()}> + {children} +
+ ) : ( + +
+
+

+ +
+
{children}
+
+
+ ); +}; + +export default DropdownWrapper; diff --git a/ui/components/molecules/popupOverlay/PopupOverlay.module.css b/ui/components/molecules/popupOverlay/PopupOverlay.module.css new file mode 100644 index 0000000..d4b18c4 --- /dev/null +++ b/ui/components/molecules/popupOverlay/PopupOverlay.module.css @@ -0,0 +1,169 @@ +@keyframes appear { + 0% { + opacity: 0; + pointer-events: none; + } + to { + opacity: 1; + pointer-events: auto; + } +} + +@keyframes disappear { + 0% { + opacity: 1; + pointer-events: auto; + } + to { + opacity: 0; + pointer-events: none; + } +} + +@keyframes slideUpIn { + 0% { + transform: translate3d(0, 1rem, 0); + opacity: 0; + pointer-events: none; + } + to { + transform: translateZ(0); + opacity: 1; + pointer-events: auto; + } +} + +@keyframes slideUpOut { + 0% { + transform: translateZ(0); + opacity: 1; + pointer-events: auto; + } + to { + transform: translate3d(0, 1rem, 0); + opacity: 0; + pointer-events: none; + } +} + +@keyframes slideRightIn { + 0% { + transform: translateX(100%); + } + to { + transform: translateX(0); + } +} + +@keyframes slideRightOut { + 0% { + transform: translateX(0); + } + to { + transform: translateX(100%); + } +} + +@keyframes slideLeftIn { + 0% { + transform: translateX(-100%); + } + to { + transform: translateX(0); + } +} + +@keyframes slideLeftOut { + 0% { + transform: translateX(0); + } + to { + transform: translateX(-100%); + } +} + +.overlayWrapper { + position: fixed; + z-index: 1000; + visibility: hidden; + top: 0; + left: 0; + bottom: 0; + right: 0; + height: 100%; + width: 100vw; +} + +.overlayWrapperActive { + visibility: visible; +} + +.wrapper { + position: fixed; + top: 0; + left: 0; + bottom: 0; + right: 0; + height: 100%; + width: 100vw; + background: rgba(61, 71, 102, 0.5); + transition: all 300ms ease; +} + +.popupOverlay { + position: absolute; +} + +.bottom { + position: absolute; + bottom: 0; + left: 0; + right: 0; + width: 100%; +} + +.center { + position: absolute; + left: 50%; + top: 50%; + transform: translateY(-50%) translateX(-50%); +} + +.top { + position: absolute; + left: 50%; + top: 53px; + transform: translateX(-50%); +} + +.appear { + animation: appear 150ms; +} + +.disappear { + animation: disappear 300ms forwards; +} + +.slideUpIn { + animation: slideUpIn 150ms; +} + +.slideUpOut { + animation: slideUpOut 300ms forwards; +} + +.slideRightIn { + animation: slideRightIn 200ms; +} + +.slideRightOut { + animation: slideRightOut 200ms forwards; +} + +.slideLeftIn { + animation: slideLeftIn 200ms ease normal 0ms; +} + +.slideLeftOut { + animation: slideLeftOut 200ms ease forwards 0ms; +} diff --git a/ui/components/molecules/popupOverlay/index.tsx b/ui/components/molecules/popupOverlay/index.tsx new file mode 100644 index 0000000..fb13673 --- /dev/null +++ b/ui/components/molecules/popupOverlay/index.tsx @@ -0,0 +1,182 @@ +import classNames from "classnames"; +import React, { useEffect, useState, useRef } from "react"; +import { createPortal } from "react-dom"; +import style from "./PopupOverlay.module.css"; +import { useRouter } from "next/router"; +import { useMedia } from "../../../hooks/useMedia"; + +type PopupOverlayProps = { + children: React.ReactNode; + onClose?: () => void; + position?: "bottom" | "center" | "top"; + show?: boolean; + animation?: "slideUp" | "appear"; + forwardedRef?: any; + height?: string; +}; + +const animations = { + appear: { + in: style.appear, + out: style.disappear, + }, + slideUp: { + in: style.slideUpIn, + out: style.slideUpOut, + }, + slideRight: { + in: style.slideRightIn, + out: style.slideRightOut, + }, + slideLeft: { + in: style.slideLeftIn, + out: style.slideLeftOut, + }, +}; + +const PopupOverlay = ({ + children, + onClose = () => {}, + position = "bottom", + show, + animation = "slideUp", + forwardedRef, + height = "auto", +}: PopupOverlayProps): JSX.Element | null => { + const location = useRouter(); + + const overlayRef = useRef(null); + + const [showState, setShowState] = useState(false); + const [active, setActive] = useState(false); + const [timeoutID, setTimeoutID] = useState(); + const [isTextSelected, setIsTextSelected] = useState(false); + const initBodyWidth = + (typeof document !== "undefined" && document.body.offsetWidth) || 0; + const media = useMedia(); + + const checkSelection = () => { + const selection = window.getSelection(); + if (selection && selection.toString().length > 0) { + setIsTextSelected(true); + } else { + setIsTextSelected(false); + } + }; + + const getAppWrapper = (): HTMLElement | null => { + return document.querySelector(".app-wrapper"); + }; + const showPopup = (initBodyWidth: number) => { + setActive(true); + setShowState(true); + + const appWrapper = getAppWrapper(); + appWrapper && media.greater.sm && (appWrapper.style.position = "fixed"); + document + .getElementById("popup-overlay") + ?.classList.add(style.overlayWrapperActive); + document.body.style.overflowY = "hidden"; + + const currentBodyWidth = document.body.offsetWidth; + if (initBodyWidth !== currentBodyWidth) { + document.body.style.paddingRight = `${ + currentBodyWidth - initBodyWidth + }px`; + appWrapper && + (appWrapper.style.paddingRight = `${ + currentBodyWidth - initBodyWidth + }px`); + } + }; + + const closePopup = (unmount = false) => { + const appWrapper = getAppWrapper(); + if (appWrapper) { + appWrapper.style.position = "relative"; + appWrapper.style.paddingRight = "0px"; + } + appWrapper && media.greater.sm && (appWrapper.style.position = "static"); + const popupOverlay = document.getElementById("popup-overlay"); + const completeClose = popupOverlay && popupOverlay.children.length < 2; + !unmount && setActive(false); + if (completeClose) + document + .getElementById("popup-overlay") + ?.classList.remove(style.overlayWrapperActive); + const timeout = setTimeout(() => { + !unmount && setShowState(false); + !unmount && onClose(); + if (completeClose) { + document.body.style.paddingRight = "0"; + document.body.style.overflowY = "hidden"; + } + }, 300); + setTimeoutID(timeout); + }; + + const handleClose = () => { + if (active && !isTextSelected) { + closePopup(); + } else { + setIsTextSelected(false); + } + }; + + useEffect(() => { + if (show) { + handleClose(); + } + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [location.pathname]); + + useEffect(() => { + return () => { + clearTimeout(timeoutID); + }; + }, [active, timeoutID]); + + useEffect(() => { + if (show) showPopup(initBodyWidth); + else if (!show && showState) closePopup(); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [show]); + + useEffect(() => { + return () => { + closePopup(true); + }; + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); + + return showState + ? createPortal( + <> +
+
e.stopPropagation()} + > + {children} +
+
+ , + document.getElementById("popup-overlay") as HTMLElement + ) + : null; +}; + +export default PopupOverlay; diff --git a/ui/components/molecules/popupOverlay/overlayWrapper.tsx b/ui/components/molecules/popupOverlay/overlayWrapper.tsx new file mode 100644 index 0000000..f13c8dc --- /dev/null +++ b/ui/components/molecules/popupOverlay/overlayWrapper.tsx @@ -0,0 +1,8 @@ +import React from 'react'; +import style from './PopupOverlay.module.css'; + +const OverlayWrapper = () => { + return ; +}; + +export default OverlayWrapper; diff --git a/ui/components/molecules/staticEllipse/index.module.css b/ui/components/molecules/staticEllipse/index.module.css new file mode 100644 index 0000000..e697143 --- /dev/null +++ b/ui/components/molecules/staticEllipse/index.module.css @@ -0,0 +1,39 @@ +.wrapper { + display: flex; + align-items: center; + color: var(--link-inactive-color); +} + +.active { + color: var(--link-active-color); +} + +.active:hover { + color: #587efc; +} + +.active:hover .dot { + background-color: #587efc; +} + +.dots { + width: 20px; + min-width: 20px; + height: 100%; + display: flex; + justify-content: space-between; + align-items: center; + padding-right: 1px; + padding-left: 1px; +} + +.dot { + width: 4px; + height: 4px; + border-radius: 50%; + background-color: var(--link-inactive-color); +} + +.active .dot { + background-color: var(--link-active-color); +} diff --git a/ui/components/molecules/staticEllipse/index.ts b/ui/components/molecules/staticEllipse/index.ts new file mode 100644 index 0000000..b9cd5d9 --- /dev/null +++ b/ui/components/molecules/staticEllipse/index.ts @@ -0,0 +1 @@ +export { default as StaticEllipse } from './staticEllipse'; diff --git a/ui/components/molecules/staticEllipse/staticEllipse.tsx b/ui/components/molecules/staticEllipse/staticEllipse.tsx new file mode 100644 index 0000000..7099121 --- /dev/null +++ b/ui/components/molecules/staticEllipse/staticEllipse.tsx @@ -0,0 +1,79 @@ +import React, { useState, useEffect } from "react"; + +import style from "./index.module.css"; +import classNames from "classnames"; +import { View } from "../../../comman/types"; +import { useMedia } from "../../../hooks/useMedia"; + +const StaticEllipse = ({ + text, + view, + isActive, +}: { + text: string; + view: View; + isActive?: boolean; +}): JSX.Element | null => { + const [firstString, setFirstString] = useState(null); + const [secondString, setSecondString] = useState(null); + const [string, setString] = useState(null); + const { + greater: { sm: smScreen, lg: lgScreen, md: mdScreen }, + } = useMedia(); + + const sliceString = (numberLetter: number) => { + const minLengthWord = numberLetter * 2 + 2; + if (text.length <= minLengthWord) { + setString(text); + return; + } + const startText = text.slice(0, numberLetter); + const endText = text.slice(text.length - numberLetter); + setFirstString(startText); + setSecondString(endText); + }; + + useEffect(() => { + setString(null); + if (!view) return; + if (!smScreen) { + sliceString(view.sm === 4 ? view.sm : view.sm - 2); + return; + } + if (smScreen && !lgScreen) { + sliceString(view.md === 4 ? view.md : view.md - 2); + return; + } + if (lgScreen) { + sliceString(view.lg === 4 ? view.lg : view.lg - 2); + return; + } + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [smScreen, lgScreen, mdScreen, view, text]); + + if ((!firstString || !secondString || !text) && !string) return null; + + return ( +
+ {string ? ( +
{string}
+ ) : ( + <> +
{firstString}
+
+ + + +
+
{secondString}
+ + )} +
+ ); +}; + +export default StaticEllipse; diff --git a/ui/components/organisms/accountConent/accountContent.tsx b/ui/components/organisms/accountConent/accountContent.tsx new file mode 100644 index 0000000..c530f27 --- /dev/null +++ b/ui/components/organisms/accountConent/accountContent.tsx @@ -0,0 +1,16 @@ +import { ConnectWalletButton } from "../../molecules/connectWalletButton"; +import style from "./index.module.css"; + +const AccountContent = () => { + return ( +
+
+
My Names
+ +
+
+
+ ); +}; + +export default AccountContent; diff --git a/ui/components/organisms/accountConent/index.module.css b/ui/components/organisms/accountConent/index.module.css new file mode 100644 index 0000000..d6f8e1d --- /dev/null +++ b/ui/components/organisms/accountConent/index.module.css @@ -0,0 +1,15 @@ +.wrapper { + display: flex; + flex-direction: column; + width: 100%; +} + +.header { + display: flex; + justify-content: space-between; + padding: 16px 0 16px 16px; +} + +.header > div:first-child { + font-size: 20px; +} \ No newline at end of file diff --git a/ui/components/organisms/navigation/constants.ts b/ui/components/organisms/navigation/constants.ts new file mode 100644 index 0000000..00048a0 --- /dev/null +++ b/ui/components/organisms/navigation/constants.ts @@ -0,0 +1,15 @@ +import accountIcon from "./img/account.svg"; + +export const navList: { + title: string; + url: string; + icon: string; + id: string; +}[] = [ + { + title: "My Names", + url: "account", + icon: accountIcon, + id: "1", + }, +]; diff --git a/ui/components/organisms/navigation/img/account.svg b/ui/components/organisms/navigation/img/account.svg new file mode 100644 index 0000000..6d5ab24 --- /dev/null +++ b/ui/components/organisms/navigation/img/account.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ui/components/organisms/navigation/index.module.css b/ui/components/organisms/navigation/index.module.css new file mode 100644 index 0000000..929cd7c --- /dev/null +++ b/ui/components/organisms/navigation/index.module.css @@ -0,0 +1,43 @@ +.wrapper { + background: linear-gradient( + 152deg, + #efeff8 -91.77%, + #ffe1e5 7.77%, + #fefcff 36.39%, + #fffaef 55.53%, + #d7d9ff 77.23%, + #efeff8 143.79% + ); + min-height: 100vh; + width: 265px; +} + +.wrapper > div:first-child { + padding: 12px 38px 0 24px; +} + +.navigation { + margin-top: 18px; +} + +.link { + display: flex; + align-items: center; + justify-content: flex-start; + padding: 0 38px 0 24px; + height: 40px; +} + +.link img { + margin-right: 5px; +} + +.active { + background: rgba(238, 241, 255, 0.5); + color: var(--col--link); + +} + +.active img { + fill: red; +} diff --git a/ui/components/organisms/navigation/navigation.tsx b/ui/components/organisms/navigation/navigation.tsx new file mode 100644 index 0000000..710c912 --- /dev/null +++ b/ui/components/organisms/navigation/navigation.tsx @@ -0,0 +1,37 @@ +import Link from "next/link"; +import { Logo } from "../../atoms/logo"; +import { navList } from "./constants"; + +import style from "./index.module.css"; +import Image from "next/image"; +import classNames from "classnames"; +import { useRouter } from "next/router"; + +const Navigation = () => { + const { pathname } = useRouter(); + + return ( +
+ +
+ {navList.map(({ url, title, id, icon }) => { + return ( + + + {title} + + ); + })} +
+
+ ); +}; + +export default Navigation; diff --git a/ui/hooks/useKeyPress.ts b/ui/hooks/useKeyPress.ts new file mode 100644 index 0000000..d78281f --- /dev/null +++ b/ui/hooks/useKeyPress.ts @@ -0,0 +1,14 @@ +import { useEffect } from "react"; + +export const useKeyPress = (key: string, cb: (e: any) => void) => { + const onKeyPress = (e: KeyboardEvent) => { + e.code === key && cb(e); + }; + + useEffect(() => { + document.addEventListener("keydown", onKeyPress); + return () => { + document.removeEventListener("keydown", onKeyPress); + }; + }, [cb]); +}; diff --git a/ui/hooks/useLocalStorage.ts b/ui/hooks/useLocalStorage.ts new file mode 100644 index 0000000..b95d855 --- /dev/null +++ b/ui/hooks/useLocalStorage.ts @@ -0,0 +1,17 @@ +import { Dispatch, SetStateAction, useEffect, useState } from 'react'; + +export const useLocalStorage = ( + key: string, + initialValue?: string +): [string, Dispatch>] => { + const localStorageItem = (typeof window !== 'undefined' && localStorage?.getItem(key)) || initialValue || ''; + const [value, setValue] = useState(() => { + return localStorageItem; + }); + + useEffect(() => { + localStorage.setItem(key, value); + }, [value, key]); + + return [value, setValue]; +}; diff --git a/ui/hooks/useMedia.ts b/ui/hooks/useMedia.ts new file mode 100644 index 0000000..98ad48b --- /dev/null +++ b/ui/hooks/useMedia.ts @@ -0,0 +1,42 @@ +import { useEffect, useState } from 'react'; + +export const useMedia = (query?: string | number) => { + let innerWidth = 0; + if (typeof window !== 'undefined') { + innerWidth = window.innerWidth; + } + const [width, setWidth] = useState(innerWidth); + const [isGreaterThanQuery, setIsGreaterThanQuery] = useState(true); + const [greater, setGreater] = useState({ + xs: width > 576, + sm: width > 768, + md: width > 992, + lg: width > 1200, + xl: width > 1400, + }); + + useEffect(() => { + window.addEventListener('resize', () => setWidth(innerWidth)); + return () => { + window.removeEventListener('resize', () => setWidth(innerWidth)); + }; + }, []); + + useEffect(() => { + setIsGreaterThanQuery(width > Number(query)); + + setGreater({ + xs: width > 576, + sm: width > 768, + md: width > 992, + lg: width > 1200, + xl: width > 1400, + }); + }, [width]); + + return { + width, + greater, + isGreaterThanQuery, + }; +}; diff --git a/ui/package-lock.json b/ui/package-lock.json index ad0ce14..8b07a97 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -1,16 +1,19 @@ { "name": "ui", "version": "0.1.0", - "lockfileVersion": 3, + "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ui", "version": "0.1.0", "dependencies": { + "@reduxjs/toolkit": "^2.1.0", + "classnames": "^2.5.1", "next": "14.1.0", "react": "^18", - "react-dom": "^18" + "react-dom": "^18", + "react-redux": "^9.1.0" }, "devDependencies": { "@types/node": "^20", @@ -369,6 +372,29 @@ "node": ">=14" } }, + "node_modules/@reduxjs/toolkit": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.1.0.tgz", + "integrity": "sha512-nfJ/b4ZhzUevQ1ZPKjlDL6CMYxO4o7ZL7OSsvSOxzT/EN11LsBDgTqP7aedHtBrFSVoK7oTP1SbMWUwGb30NLg==", + "dependencies": { + "immer": "^10.0.3", + "redux": "^5.0.1", + "redux-thunk": "^3.1.0", + "reselect": "^5.0.1" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18", + "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-redux": { + "optional": true + } + } + }, "node_modules/@rushstack/eslint-patch": { "version": "1.7.2", "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.7.2.tgz", @@ -430,6 +456,11 @@ "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==", "dev": true }, + "node_modules/@types/use-sync-external-store": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz", + "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==" + }, "node_modules/@typescript-eslint/parser": { "version": "6.19.1", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.19.1.tgz", @@ -911,6 +942,11 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/classnames": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==" + }, "node_modules/client-only": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz", @@ -2061,6 +2097,15 @@ "node": ">= 4" } }, + "node_modules/immer": { + "version": "10.0.3", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.0.3.tgz", + "integrity": "sha512-pwupu3eWfouuaowscykeckFmVTpqbzW+rXFCX8rQLkZzM9ftBmU/++Ra+o+L27mz03zJTlyV4UUr+fdKNffo4A==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, "node_modules/import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -3117,6 +3162,45 @@ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", "dev": true }, + "node_modules/react-redux": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-9.1.0.tgz", + "integrity": "sha512-6qoDzIO+gbrza8h3hjMA9aq4nwVFCKFtY2iLxCtVT38Swyy2C/dJCGBXHeHLtx6qlg/8qzc2MrhOeduf5K32wQ==", + "dependencies": { + "@types/use-sync-external-store": "^0.0.3", + "use-sync-external-store": "^1.0.0" + }, + "peerDependencies": { + "@types/react": "^18.2.25", + "react": "^18.0", + "react-native": ">=0.69", + "redux": "^5.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "react-native": { + "optional": true + }, + "redux": { + "optional": true + } + } + }, + "node_modules/redux": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz", + "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==" + }, + "node_modules/redux-thunk": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz", + "integrity": "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==", + "peerDependencies": { + "redux": "^5.0.0" + } + }, "node_modules/reflect.getprototypeof": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.4.tgz", @@ -3160,6 +3244,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/reselect": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.1.0.tgz", + "integrity": "sha512-aw7jcGLDpSgNDyWBQLv2cedml85qd95/iszJjN988zX1t7AVRJi19d9kto5+W7oCfQ94gyo40dVbT6g2k4/kXg==" + }, "node_modules/resolve": { "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", @@ -3845,6 +3934,14 @@ "punycode": "^2.1.0" } }, + "node_modules/use-sync-external-store": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", + "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -4054,5 +4151,2922 @@ "url": "https://github.com/sponsors/sindresorhus" } } + }, + "dependencies": { + "@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true + }, + "@babel/runtime": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.9.tgz", + "integrity": "sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.14.0" + } + }, + "@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^3.3.0" + } + }, + "@eslint-community/regexpp": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", + "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "dev": true + }, + "@eslint/eslintrc": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + } + }, + "@eslint/js": { + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", + "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", + "dev": true + }, + "@humanwhocodes/config-array": { + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "dev": true, + "requires": { + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", + "minimatch": "^3.0.5" + } + }, + "@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true + }, + "@humanwhocodes/object-schema": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", + "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", + "dev": true + }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, + "@next/env": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.1.0.tgz", + "integrity": "sha512-Py8zIo+02ht82brwwhTg36iogzFqGLPXlRGKQw5s+qP/kMNc4MAyDeEwBKDijk6zTIbegEgu8Qy7C1LboslQAw==" + }, + "@next/eslint-plugin-next": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-14.1.0.tgz", + "integrity": "sha512-x4FavbNEeXx/baD/zC/SdrvkjSby8nBn8KcCREqk6UuwvwoAPZmaV8TFCAuo/cpovBRTIY67mHhe86MQQm/68Q==", + "dev": true, + "requires": { + "glob": "10.3.10" + } + }, + "@next/swc-darwin-arm64": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.1.0.tgz", + "integrity": "sha512-nUDn7TOGcIeyQni6lZHfzNoo9S0euXnu0jhsbMOmMJUBfgsnESdjN97kM7cBqQxZa8L/bM9om/S5/1dzCrW6wQ==", + "optional": true + }, + "@next/swc-darwin-x64": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.0.tgz", + "integrity": "sha512-1jgudN5haWxiAl3O1ljUS2GfupPmcftu2RYJqZiMJmmbBT5M1XDffjUtRUzP4W3cBHsrvkfOFdQ71hAreNQP6g==", + "optional": true + }, + "@next/swc-linux-arm64-gnu": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.0.tgz", + "integrity": "sha512-RHo7Tcj+jllXUbK7xk2NyIDod3YcCPDZxj1WLIYxd709BQ7WuRYl3OWUNG+WUfqeQBds6kvZYlc42NJJTNi4tQ==", + "optional": true + }, + "@next/swc-linux-arm64-musl": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.0.tgz", + "integrity": "sha512-v6kP8sHYxjO8RwHmWMJSq7VZP2nYCkRVQ0qolh2l6xroe9QjbgV8siTbduED4u0hlk0+tjS6/Tuy4n5XCp+l6g==", + "optional": true + }, + "@next/swc-linux-x64-gnu": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.0.tgz", + "integrity": "sha512-zJ2pnoFYB1F4vmEVlb/eSe+VH679zT1VdXlZKX+pE66grOgjmKJHKacf82g/sWE4MQ4Rk2FMBCRnX+l6/TVYzQ==", + "optional": true + }, + "@next/swc-linux-x64-musl": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.0.tgz", + "integrity": "sha512-rbaIYFt2X9YZBSbH/CwGAjbBG2/MrACCVu2X0+kSykHzHnYH5FjHxwXLkcoJ10cX0aWCEynpu+rP76x0914atg==", + "optional": true + }, + "@next/swc-win32-arm64-msvc": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.0.tgz", + "integrity": "sha512-o1N5TsYc8f/HpGt39OUQpQ9AKIGApd3QLueu7hXk//2xq5Z9OxmV6sQfNp8C7qYmiOlHYODOGqNNa0e9jvchGQ==", + "optional": true + }, + "@next/swc-win32-ia32-msvc": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.0.tgz", + "integrity": "sha512-XXIuB1DBRCFwNO6EEzCTMHT5pauwaSj4SWs7CYnME57eaReAKBXCnkUE80p/pAZcewm7hs+vGvNqDPacEXHVkw==", + "optional": true + }, + "@next/swc-win32-x64-msvc": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.0.tgz", + "integrity": "sha512-9WEbVRRAqJ3YFVqEZIxUqkiO8l1nool1LmNxygr5HWF8AcSYsEpneUDhmjUVJEzO2A04+oPtZdombzzPPkTtgg==", + "optional": true + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true + }, + "@reduxjs/toolkit": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.1.0.tgz", + "integrity": "sha512-nfJ/b4ZhzUevQ1ZPKjlDL6CMYxO4o7ZL7OSsvSOxzT/EN11LsBDgTqP7aedHtBrFSVoK7oTP1SbMWUwGb30NLg==", + "requires": { + "immer": "^10.0.3", + "redux": "^5.0.1", + "redux-thunk": "^3.1.0", + "reselect": "^5.0.1" + } + }, + "@rushstack/eslint-patch": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.7.2.tgz", + "integrity": "sha512-RbhOOTCNoCrbfkRyoXODZp75MlpiHMgbE5MEBZAnnnLyQNgrigEj4p0lzsMDyc1zVsJDLrivB58tgg3emX0eEA==", + "dev": true + }, + "@swc/helpers": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.2.tgz", + "integrity": "sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==", + "requires": { + "tslib": "^2.4.0" + } + }, + "@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "dev": true + }, + "@types/node": { + "version": "20.11.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.7.tgz", + "integrity": "sha512-GPmeN1C3XAyV5uybAf4cMLWT9fDWcmQhZVtMFu7OR32WjrqGG+Wnk2V1d0bmtUyE/Zy1QJ9BxyiTih9z8Oks8A==", + "dev": true, + "requires": { + "undici-types": "~5.26.4" + } + }, + "@types/prop-types": { + "version": "15.7.11", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", + "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==", + "dev": true + }, + "@types/react": { + "version": "18.2.48", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.48.tgz", + "integrity": "sha512-qboRCl6Ie70DQQG9hhNREz81jqC1cs9EVNcjQ1AU+jH6NFfSAhVVbrrY/+nSF+Bsk4AOwm9Qa61InvMCyV+H3w==", + "dev": true, + "requires": { + "@types/prop-types": "*", + "@types/scheduler": "*", + "csstype": "^3.0.2" + } + }, + "@types/react-dom": { + "version": "18.2.18", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.18.tgz", + "integrity": "sha512-TJxDm6OfAX2KJWJdMEVTwWke5Sc/E/RlnPGvGfS0W7+6ocy2xhDVQVh/KvC2Uf7kACs+gDytdusDSdWfWkaNzw==", + "dev": true, + "requires": { + "@types/react": "*" + } + }, + "@types/scheduler": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", + "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==", + "dev": true + }, + "@types/use-sync-external-store": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz", + "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==" + }, + "@typescript-eslint/parser": { + "version": "6.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.19.1.tgz", + "integrity": "sha512-WEfX22ziAh6pRE9jnbkkLGp/4RhTpffr2ZK5bJ18M8mIfA8A+k97U9ZyaXCEJRlmMHh7R9MJZWXp/r73DzINVQ==", + "dev": true, + "requires": { + "@typescript-eslint/scope-manager": "6.19.1", + "@typescript-eslint/types": "6.19.1", + "@typescript-eslint/typescript-estree": "6.19.1", + "@typescript-eslint/visitor-keys": "6.19.1", + "debug": "^4.3.4" + } + }, + "@typescript-eslint/scope-manager": { + "version": "6.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.19.1.tgz", + "integrity": "sha512-4CdXYjKf6/6aKNMSly/BP4iCSOpvMmqtDzRtqFyyAae3z5kkqEjKndR5vDHL8rSuMIIWP8u4Mw4VxLyxZW6D5w==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.19.1", + "@typescript-eslint/visitor-keys": "6.19.1" + } + }, + "@typescript-eslint/types": { + "version": "6.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.19.1.tgz", + "integrity": "sha512-6+bk6FEtBhvfYvpHsDgAL3uo4BfvnTnoge5LrrCj2eJN8g3IJdLTD4B/jK3Q6vo4Ql/Hoip9I8aB6fF+6RfDqg==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "6.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.19.1.tgz", + "integrity": "sha512-aFdAxuhzBFRWhy+H20nYu19+Km+gFfwNO4TEqyszkMcgBDYQjmPJ61erHxuT2ESJXhlhrO7I5EFIlZ+qGR8oVA==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.19.1", + "@typescript-eslint/visitor-keys": "6.19.1", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "9.0.3", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, + "@typescript-eslint/visitor-keys": { + "version": "6.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.19.1.tgz", + "integrity": "sha512-gkdtIO+xSO/SmI0W68DBg4u1KElmIUo3vXzgHyGPs6cxgB0sa3TlptRAAE0hUY1hM6FcDKEv7aIwiTGm76cXfQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.19.1", + "eslint-visitor-keys": "^3.4.1" + } + }, + "@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "dev": true + }, + "acorn": { + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "dev": true + }, + "acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "aria-query": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", + "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", + "dev": true, + "requires": { + "dequal": "^2.0.3" + } + }, + "array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + } + }, + "array-includes": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz", + "integrity": "sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "is-string": "^1.0.7" + } + }, + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true + }, + "array.prototype.findlastindex": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz", + "integrity": "sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0", + "get-intrinsic": "^1.2.1" + } + }, + "array.prototype.flat": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", + "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + } + }, + "array.prototype.flatmap": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", + "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + } + }, + "array.prototype.tosorted": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.2.tgz", + "integrity": "sha512-HuQCHOlk1Weat5jzStICBCd83NxiIMwqDg/dHEsoefabn/hJRj5pVdWcPUSpRrwhwxZOsQassMpgN/xRYFBMIg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0", + "get-intrinsic": "^1.2.1" + } + }, + "arraybuffer.prototype.slice": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz", + "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "is-array-buffer": "^3.0.2", + "is-shared-array-buffer": "^1.0.2" + } + }, + "ast-types-flow": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz", + "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==", + "dev": true + }, + "asynciterator.prototype": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/asynciterator.prototype/-/asynciterator.prototype-1.0.0.tgz", + "integrity": "sha512-wwHYEIS0Q80f5mosx3L/dfG5t5rjEa9Ft51GTaNt862EnpyGHpgz2RkZvLPp1oF5TnAiTohkEKVEu8pQPJI7Vg==", + "dev": true, + "requires": { + "has-symbols": "^1.0.3" + } + }, + "available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true + }, + "axe-core": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.0.tgz", + "integrity": "sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==", + "dev": true + }, + "axobject-query": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz", + "integrity": "sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==", + "dev": true, + "requires": { + "dequal": "^2.0.3" + } + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "busboy": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", + "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", + "requires": { + "streamsearch": "^1.1.0" + } + }, + "call-bind": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", + "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "dev": true, + "requires": { + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "caniuse-lite": { + "version": "1.0.30001580", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001580.tgz", + "integrity": "sha512-mtj5ur2FFPZcCEpXFy8ADXbDACuNFXg6mxVDqp7tqooX6l3zwm+d8EPoeOSIFRDvHs8qu7/SLFOGniULkcH2iA==" + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "classnames": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==" + }, + "client-only": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz", + "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==" + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "dev": true + }, + "damerau-levenshtein": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz", + "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==", + "dev": true + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "define-data-property": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", + "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + } + }, + "define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dev": true, + "requires": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + } + }, + "dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "dev": true + }, + "dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "requires": { + "path-type": "^4.0.0" + } + }, + "doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "enhanced-resolve": { + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + } + }, + "es-abstract": { + "version": "1.22.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.3.tgz", + "integrity": "sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.0", + "arraybuffer.prototype.slice": "^1.0.2", + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.5", + "es-set-tostringtag": "^2.0.1", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.2", + "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.12", + "is-weakref": "^1.0.2", + "object-inspect": "^1.13.1", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.1", + "safe-array-concat": "^1.0.1", + "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.8", + "string.prototype.trimend": "^1.0.7", + "string.prototype.trimstart": "^1.0.7", + "typed-array-buffer": "^1.0.0", + "typed-array-byte-length": "^1.0.0", + "typed-array-byte-offset": "^1.0.0", + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.13" + } + }, + "es-iterator-helpers": { + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.15.tgz", + "integrity": "sha512-GhoY8uYqd6iwUl2kgjTm4CZAf6oo5mHK7BPqx3rKgx893YSsy0LGHV6gfqqQvZt/8xM8xeOnfXBCfqclMKkJ5g==", + "dev": true, + "requires": { + "asynciterator.prototype": "^1.0.0", + "call-bind": "^1.0.2", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.1", + "es-set-tostringtag": "^2.0.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.2.1", + "globalthis": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "iterator.prototype": "^1.1.2", + "safe-array-concat": "^1.0.1" + } + }, + "es-set-tostringtag": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz", + "integrity": "sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.2", + "has-tostringtag": "^1.0.0", + "hasown": "^2.0.0" + } + }, + "es-shim-unscopables": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", + "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", + "dev": true, + "requires": { + "hasown": "^2.0.0" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true + }, + "eslint": { + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", + "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.56.0", + "@humanwhocodes/config-array": "^0.11.13", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + } + }, + "eslint-config-next": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.1.0.tgz", + "integrity": "sha512-SBX2ed7DoRFXC6CQSLc/SbLY9Ut6HxNB2wPTcoIWjUMd7aF7O/SIE7111L8FdZ9TXsNV4pulUDnfthpyPtbFUg==", + "dev": true, + "requires": { + "@next/eslint-plugin-next": "14.1.0", + "@rushstack/eslint-patch": "^1.3.3", + "@typescript-eslint/parser": "^5.4.2 || ^6.0.0", + "eslint-import-resolver-node": "^0.3.6", + "eslint-import-resolver-typescript": "^3.5.2", + "eslint-plugin-import": "^2.28.1", + "eslint-plugin-jsx-a11y": "^6.7.1", + "eslint-plugin-react": "^7.33.2", + "eslint-plugin-react-hooks": "^4.5.0 || 5.0.0-canary-7118f5dd7-20230705" + } + }, + "eslint-import-resolver-node": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", + "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", + "dev": true, + "requires": { + "debug": "^3.2.7", + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "eslint-import-resolver-typescript": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz", + "integrity": "sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==", + "dev": true, + "requires": { + "debug": "^4.3.4", + "enhanced-resolve": "^5.12.0", + "eslint-module-utils": "^2.7.4", + "fast-glob": "^3.3.1", + "get-tsconfig": "^4.5.0", + "is-core-module": "^2.11.0", + "is-glob": "^4.0.3" + } + }, + "eslint-module-utils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz", + "integrity": "sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==", + "dev": true, + "requires": { + "debug": "^3.2.7" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "eslint-plugin-import": { + "version": "2.29.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", + "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", + "dev": true, + "requires": { + "array-includes": "^3.1.7", + "array.prototype.findlastindex": "^1.2.3", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.8.0", + "hasown": "^2.0.0", + "is-core-module": "^2.13.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.7", + "object.groupby": "^1.0.1", + "object.values": "^1.1.7", + "semver": "^6.3.1", + "tsconfig-paths": "^3.15.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true + } + } + }, + "eslint-plugin-jsx-a11y": { + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.8.0.tgz", + "integrity": "sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA==", + "dev": true, + "requires": { + "@babel/runtime": "^7.23.2", + "aria-query": "^5.3.0", + "array-includes": "^3.1.7", + "array.prototype.flatmap": "^1.3.2", + "ast-types-flow": "^0.0.8", + "axe-core": "=4.7.0", + "axobject-query": "^3.2.1", + "damerau-levenshtein": "^1.0.8", + "emoji-regex": "^9.2.2", + "es-iterator-helpers": "^1.0.15", + "hasown": "^2.0.0", + "jsx-ast-utils": "^3.3.5", + "language-tags": "^1.0.9", + "minimatch": "^3.1.2", + "object.entries": "^1.1.7", + "object.fromentries": "^2.0.7" + } + }, + "eslint-plugin-react": { + "version": "7.33.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.33.2.tgz", + "integrity": "sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==", + "dev": true, + "requires": { + "array-includes": "^3.1.6", + "array.prototype.flatmap": "^1.3.1", + "array.prototype.tosorted": "^1.1.1", + "doctrine": "^2.1.0", + "es-iterator-helpers": "^1.0.12", + "estraverse": "^5.3.0", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "minimatch": "^3.1.2", + "object.entries": "^1.1.6", + "object.fromentries": "^2.0.6", + "object.hasown": "^1.1.2", + "object.values": "^1.1.6", + "prop-types": "^15.8.1", + "resolve": "^2.0.0-next.4", + "semver": "^6.3.1", + "string.prototype.matchall": "^4.0.8" + }, + "dependencies": { + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "resolve": { + "version": "2.0.0-next.5", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz", + "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", + "dev": true, + "requires": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true + } + } + }, + "eslint-plugin-react-hooks": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", + "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", + "dev": true + }, + "eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + } + }, + "eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true + }, + "espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "requires": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + } + }, + "esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "requires": { + "estraverse": "^5.1.0" + } + }, + "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, + "requires": { + "estraverse": "^5.2.0" + } + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "dependencies": { + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + } + } + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "fastq": { + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", + "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", + "dev": true, + "requires": { + "reusify": "^1.0.4" + } + }, + "file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "requires": { + "flat-cache": "^3.0.4" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "flat-cache": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dev": true, + "requires": { + "flatted": "^3.2.9", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" + } + }, + "flatted": { + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", + "dev": true + }, + "for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, + "requires": { + "is-callable": "^1.1.3" + } + }, + "foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true + }, + "function.prototype.name": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + } + }, + "functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true + }, + "get-intrinsic": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", + "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "dev": true, + "requires": { + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + } + }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, + "get-tsconfig": { + "version": "4.7.2", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.2.tgz", + "integrity": "sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==", + "dev": true, + "requires": { + "resolve-pkg-maps": "^1.0.0" + } + }, + "glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, + "requires": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, + "glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "requires": { + "is-glob": "^4.0.3" + } + }, + "globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "requires": { + "type-fest": "^0.20.2" + } + }, + "globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dev": true, + "requires": { + "define-properties": "^1.1.3" + } + }, + "globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + } + }, + "gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.3" + } + }, + "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==" + }, + "graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "has-property-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", + "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.2" + } + }, + "has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true + }, + "has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dev": true, + "requires": { + "function-bind": "^1.1.2" + } + }, + "ignore": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", + "dev": true + }, + "immer": { + "version": "10.0.3", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.0.3.tgz", + "integrity": "sha512-pwupu3eWfouuaowscykeckFmVTpqbzW+rXFCX8rQLkZzM9ftBmU/++Ra+o+L27mz03zJTlyV4UUr+fdKNffo4A==" + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "internal-slot": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz", + "integrity": "sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.2", + "hasown": "^2.0.0", + "side-channel": "^1.0.4" + } + }, + "is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + } + }, + "is-async-function": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz", + "integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "requires": { + "has-bigints": "^1.0.1" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true + }, + "is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dev": true, + "requires": { + "hasown": "^2.0.0" + } + }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true + }, + "is-finalizationregistry": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz", + "integrity": "sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", + "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==", + "dev": true + }, + "is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true + }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-set": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", + "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==", + "dev": true + }, + "is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typed-array": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", + "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "dev": true, + "requires": { + "which-typed-array": "^1.1.11" + } + }, + "is-weakmap": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz", + "integrity": "sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==", + "dev": true + }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, + "is-weakset": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.2.tgz", + "integrity": "sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, + "isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "iterator.prototype": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz", + "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==", + "dev": true, + "requires": { + "define-properties": "^1.2.1", + "get-intrinsic": "^1.2.1", + "has-symbols": "^1.0.3", + "reflect.getprototypeof": "^1.0.4", + "set-function-name": "^2.0.1" + } + }, + "jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dev": true, + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "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==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "json5": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + }, + "jsx-ast-utils": { + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", + "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==", + "dev": true, + "requires": { + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" + } + }, + "keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "requires": { + "json-buffer": "3.0.1" + } + }, + "language-subtag-registry": { + "version": "0.3.22", + "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz", + "integrity": "sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==", + "dev": true + }, + "language-tags": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz", + "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==", + "dev": true, + "requires": { + "language-subtag-registry": "^0.3.20" + } + }, + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true + }, + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true + }, + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==" + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "next": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/next/-/next-14.1.0.tgz", + "integrity": "sha512-wlzrsbfeSU48YQBjZhDzOwhWhGsy+uQycR8bHAOt1LY1bn3zZEcDyHQOEoN3aWzQ8LHCAJ1nqrWCc9XF2+O45Q==", + "requires": { + "@next/env": "14.1.0", + "@next/swc-darwin-arm64": "14.1.0", + "@next/swc-darwin-x64": "14.1.0", + "@next/swc-linux-arm64-gnu": "14.1.0", + "@next/swc-linux-arm64-musl": "14.1.0", + "@next/swc-linux-x64-gnu": "14.1.0", + "@next/swc-linux-x64-musl": "14.1.0", + "@next/swc-win32-arm64-msvc": "14.1.0", + "@next/swc-win32-ia32-msvc": "14.1.0", + "@next/swc-win32-x64-msvc": "14.1.0", + "@swc/helpers": "0.5.2", + "busboy": "1.6.0", + "caniuse-lite": "^1.0.30001579", + "graceful-fs": "^4.2.11", + "postcss": "8.4.31", + "styled-jsx": "5.1.1" + } + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true + }, + "object-inspect": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "dev": true + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object.assign": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + } + }, + "object.entries": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.7.tgz", + "integrity": "sha512-jCBs/0plmPsOnrKAfFQXRG2NFjlhZgjjcBLSmTnEhU8U6vVTsVe8ANeQJCHTl3gSsI4J+0emOoCgoKlmQPMgmA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + } + }, + "object.fromentries": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.7.tgz", + "integrity": "sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + } + }, + "object.groupby": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.1.tgz", + "integrity": "sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1" + } + }, + "object.hasown": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.3.tgz", + "integrity": "sha512-fFI4VcYpRHvSLXxP7yiZOMAd331cPfd2p7PFDVbgUsYOfCT3tICVqXWngbjr4m49OvsBwUBQ6O2uQoJvy3RexA==", + "dev": true, + "requires": { + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + } + }, + "object.values": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.7.tgz", + "integrity": "sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "requires": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + } + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dev": true, + "requires": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + } + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true + }, + "postcss": { + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", + "requires": { + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true + }, + "prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dev": true, + "requires": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true + }, + "queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true + }, + "react": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "requires": { + "loose-envify": "^1.1.0" + } + }, + "react-dom": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "requires": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.0" + } + }, + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + }, + "react-redux": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-9.1.0.tgz", + "integrity": "sha512-6qoDzIO+gbrza8h3hjMA9aq4nwVFCKFtY2iLxCtVT38Swyy2C/dJCGBXHeHLtx6qlg/8qzc2MrhOeduf5K32wQ==", + "requires": { + "@types/use-sync-external-store": "^0.0.3", + "use-sync-external-store": "^1.0.0" + } + }, + "redux": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz", + "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==" + }, + "redux-thunk": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz", + "integrity": "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==" + }, + "reflect.getprototypeof": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.4.tgz", + "integrity": "sha512-ECkTw8TmJwW60lOTR+ZkODISW6RQ8+2CL3COqtiJKLd6MmB45hN51HprHFziKLGkAuTGQhBb91V8cy+KHlaCjw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "globalthis": "^1.0.3", + "which-builtin-type": "^1.1.3" + } + }, + "regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", + "dev": true + }, + "regexp.prototype.flags": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz", + "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "set-function-name": "^2.0.0" + } + }, + "reselect": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.1.0.tgz", + "integrity": "sha512-aw7jcGLDpSgNDyWBQLv2cedml85qd95/iszJjN988zX1t7AVRJi19d9kto5+W7oCfQ94gyo40dVbT6g2k4/kXg==" + }, + "resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dev": true, + "requires": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", + "dev": true + }, + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } + } + }, + "run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "requires": { + "queue-microtask": "^1.2.2" + } + }, + "safe-array-concat": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.0.tgz", + "integrity": "sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==", + "dev": true, + "requires": { + "call-bind": "^1.0.5", + "get-intrinsic": "^1.2.2", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + } + }, + "safe-regex-test": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.2.tgz", + "integrity": "sha512-83S9w6eFq12BBIJYvjMux6/dkirb8+4zJRA9cxNBVb7Wq5fJBW+Xze48WqR8pxua7bDuAaaAxtVVd4Idjp1dBQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.5", + "get-intrinsic": "^1.2.2", + "is-regex": "^1.1.4" + } + }, + "scheduler": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "requires": { + "loose-envify": "^1.1.0" + } + }, + "semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + } + } + }, + "set-function-length": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.0.tgz", + "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", + "dev": true, + "requires": { + "define-data-property": "^1.1.1", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.2", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + } + }, + "set-function-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", + "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==", + "dev": true, + "requires": { + "define-data-property": "^1.0.1", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.0" + } + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" + }, + "streamsearch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", + "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==" + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + } + } + }, + "string.prototype.matchall": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.10.tgz", + "integrity": "sha512-rGXbGmOEosIQi6Qva94HUjgPs9vKW+dkG7Y8Q5O2OYkWL6wFaTRZO8zM4mhP94uX55wgyrXzfS2aGtGzUL7EJQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "regexp.prototype.flags": "^1.5.0", + "set-function-name": "^2.0.0", + "side-channel": "^1.0.4" + } + }, + "string.prototype.trim": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz", + "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + } + }, + "string.prototype.trimend": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz", + "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + } + }, + "string.prototype.trimstart": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", + "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, + "styled-jsx": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz", + "integrity": "sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==", + "requires": { + "client-only": "0.0.1" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true + }, + "tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "ts-api-utils": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz", + "integrity": "sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==", + "dev": true + }, + "tsconfig-paths": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "dev": true, + "requires": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1" + } + }, + "type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true + }, + "typed-array-buffer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", + "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1", + "is-typed-array": "^1.1.10" + } + }, + "typed-array-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz", + "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + } + }, + "typed-array-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", + "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + } + }, + "typed-array-length": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", + "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + } + }, + "typescript": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "dev": true + }, + "unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + } + }, + "undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "use-sync-external-store": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", + "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==" + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "which-builtin-type": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.3.tgz", + "integrity": "sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==", + "dev": true, + "requires": { + "function.prototype.name": "^1.1.5", + "has-tostringtag": "^1.0.0", + "is-async-function": "^2.0.0", + "is-date-object": "^1.0.5", + "is-finalizationregistry": "^1.0.2", + "is-generator-function": "^1.0.10", + "is-regex": "^1.1.4", + "is-weakref": "^1.0.2", + "isarray": "^2.0.5", + "which-boxed-primitive": "^1.0.2", + "which-collection": "^1.0.1", + "which-typed-array": "^1.1.9" + } + }, + "which-collection": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.1.tgz", + "integrity": "sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==", + "dev": true, + "requires": { + "is-map": "^2.0.1", + "is-set": "^2.0.1", + "is-weakmap": "^2.0.1", + "is-weakset": "^2.0.1" + } + }, + "which-typed-array": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", + "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.4", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + } + }, + "wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true + } } } diff --git a/ui/package.json b/ui/package.json index 147244b..6c851be 100644 --- a/ui/package.json +++ b/ui/package.json @@ -9,16 +9,19 @@ "lint": "next lint" }, "dependencies": { + "@reduxjs/toolkit": "^2.1.0", + "classnames": "^2.5.1", + "next": "14.1.0", "react": "^18", "react-dom": "^18", - "next": "14.1.0" + "react-redux": "^9.1.0" }, "devDependencies": { - "typescript": "^5", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", "eslint": "^8", - "eslint-config-next": "14.1.0" + "eslint-config-next": "14.1.0", + "typescript": "^5" } } diff --git a/ui/pages/_app.tsx b/ui/pages/_app.tsx index a7a790f..b4c460a 100644 --- a/ui/pages/_app.tsx +++ b/ui/pages/_app.tsx @@ -1,6 +1,26 @@ -import "@/styles/globals.css"; +import "../styles/globals.css"; +import "../public/normalize.css"; +import "../public/variables.css"; +import "../public/fonts.css"; +import "../public/typography.css"; +import "../public/theme.css"; + import type { AppProps } from "next/app"; +import { Provider } from "react-redux"; +import { createStore } from "../store"; +import OverlayWrapper from "../components/molecules/popupOverlay/overlayWrapper"; +import { useRouter } from "next/router"; export default function App({ Component, pageProps }: AppProps) { - return ; + const { pathname } = useRouter(); + console.log(pathname); + + return ( + +
+ + +
+
+ ); } diff --git a/ui/pages/account/index.module.css b/ui/pages/account/index.module.css new file mode 100644 index 0000000..0f41c79 --- /dev/null +++ b/ui/pages/account/index.module.css @@ -0,0 +1,5 @@ +.wrapper { + display: flex; + min-height: 100%; + padding-right: 20px; +} diff --git a/ui/pages/account/index.tsx b/ui/pages/account/index.tsx new file mode 100644 index 0000000..76875ac --- /dev/null +++ b/ui/pages/account/index.tsx @@ -0,0 +1,13 @@ +import classNames from "classnames"; +import AccountContent from "../../components/organisms/accountConent/accountContent"; +import Navigation from "../../components/organisms/navigation/navigation"; +import style from "./index.module.css"; + +export default function Account() { + return ( +
+ + +
+ ); +} diff --git a/ui/pages/api/hello.ts b/ui/pages/api/hello.ts deleted file mode 100644 index ea77e8f..0000000 --- a/ui/pages/api/hello.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction -import type { NextApiRequest, NextApiResponse } from "next"; - -type Data = { - name: string; -}; - -export default function handler( - req: NextApiRequest, - res: NextApiResponse, -) { - res.status(200).json({ name: "John Doe" }); -} diff --git a/ui/pages/index.module.css b/ui/pages/index.module.css new file mode 100644 index 0000000..fe7ff41 --- /dev/null +++ b/ui/pages/index.module.css @@ -0,0 +1,27 @@ +.wrapper { + display: flex; + flex-direction: column; + min-height: 100vh; +} + +.header { + display: flex; + justify-content: space-between; + padding: 16px 0 16px; +} + +.content { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + flex-grow: 1; +} + +.content h1 { + margin: 0 0 10px 0; +} + +.content p { + margin: 0 0 26px 0; +} diff --git a/ui/pages/index.tsx b/ui/pages/index.tsx index acabe9c..893e4be 100644 --- a/ui/pages/index.tsx +++ b/ui/pages/index.tsx @@ -1,114 +1,58 @@ import Head from "next/head"; -import Image from "next/image"; -import { Inter } from "next/font/google"; -import styles from "@/styles/Home.module.css"; +import { ConnectWalletButton } from "../components/molecules/connectWalletButton"; +import Logo from "../components/atoms/logo/logo"; -const inter = Inter({ subsets: ["latin"] }); +import style from "./index.module.css"; +import { Input } from "../components/atoms/input"; +import { InputVariant } from "../components/atoms/input/input"; +import { useKeyPress } from "../hooks/useKeyPress"; +import { useState } from "react"; +import ResultItem from "../components/atoms/resultItem/resultItem"; +import classNames from "classnames"; export default function Home() { + const [value, setValue] = useState(""); + const [resultContent, setResultContent] = useState({ + isShow: false, + text: "", + }); + + const handleInput = () => { + const isShow = !!value; + setResultContent({ + text: value, + isShow: isShow, + }); + }; + + useKeyPress("Enter", handleInput); + return ( <> - Create Next App + Mina Names -
-
-

- Get started by editing  - pages/index.tsx -

- +
+ ); } diff --git a/ui/public/fonts.css b/ui/public/fonts.css new file mode 100644 index 0000000..2eb7173 --- /dev/null +++ b/ui/public/fonts.css @@ -0,0 +1,68 @@ +@font-face { + font-family: 'Inter'; + src: url('./fonts/Inter.ttf') format('truetype'); + font-weight: 400; + font-style: normal; +} + +@font-face { + font-family: 'Inter Bold'; + src: url('./fonts/Inter.ttf') format('truetype'); + font-weight: 700; + font-style: normal; +} + +@font-face { + font-family: 'Inter Medium'; + src: url('./fonts/Inter.ttf') format('truetype'); + font-weight: 500; + font-style: normal; +} + +@font-face { + font-family: 'Inter Semi Bold'; + src: url('./fonts/Inter.ttf') format('truetype'); + font-weight: 600; + font-style: normal; +} + +@font-face { + font-family: 'Robot Mono'; + src: url('./fonts/RobotoMono.ttf') format('truetype'); + font-weight: 400; + font-style: normal; +} + +@font-face { + font-family: 'Robot Mono Medium'; + src: url('./fonts/RobotoMono.ttf') format('truetype'); + font-weight: 500; + font-style: normal; +} + +@font-face { + font-family: 'Robot Mono Semi Bold'; + src: url('./fonts/RobotoMono.ttf') format('truetype'); + font-weight: 600; + font-style: normal; +} + +@font-face { + font-family: 'Robot Mono Bold'; + src: url('./fonts/RobotoMono.ttf') format('truetype'); + font-weight: 700; + font-style: normal; +} + +:root { + --ff--replacement-font: Arial, sans-serif; + --ff--inter-regular: Inter, var(--ff--replacement-font); + --ff--inter-bold: Inter Bold, var(--ff--replacement-font); + --ff--inter-medium: Inter Medium, var(--ff--replacement-font); + --ff--inter-semi-bold: Inter Semi Bold, var(--ff--replacement-font); + + --ff--robot-regular: Robot Mono, var(--ff--replacement-font); + --ff--robot-medium: Robot Mono Medium, var(--ff--replacement-font); + --ff--robot-semi-bold: Robot Mono Semi Bold, var(--ff--replacement-font); + --ff--robot-bold: Robot Mono Bold, var(--ff--replacement-font); +} diff --git a/ui/public/fonts/Inter.ttf b/ui/public/fonts/Inter.ttf new file mode 100644 index 0000000..e724708 Binary files /dev/null and b/ui/public/fonts/Inter.ttf differ diff --git a/ui/public/fonts/RobotoMono.ttf b/ui/public/fonts/RobotoMono.ttf new file mode 100644 index 0000000..6df2b25 Binary files /dev/null and b/ui/public/fonts/RobotoMono.ttf differ diff --git a/ui/public/normalize.css b/ui/public/normalize.css new file mode 100755 index 0000000..5d8c1e3 --- /dev/null +++ b/ui/public/normalize.css @@ -0,0 +1,351 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers. + */ + +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ + +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Remove the gray background on active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10. + */ + +img { + border-style: none; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { + /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { + /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} diff --git a/ui/public/theme.css b/ui/public/theme.css new file mode 100644 index 0000000..f3c6ba2 --- /dev/null +++ b/ui/public/theme.css @@ -0,0 +1,70 @@ +body { + --col--dark: rgba(0, 0, 0, 0.87); + --col--link: #3963ff; + --col--light: #ffffff; + --col--gray4: rgba(0, 0, 0, 0.3); + --col--gray8: rgba(0, 0, 0, 0.05); + --col--gray9: #969799; + --link-active-color: #7e9bfc; + --link-active-hover-color: #587efc; + --link-inactive-color: #636465; + --link-inactive-hover-color: #636465; + --col--dark2: rgba(0, 0, 0, 0.8); + --col--gray1: rgba(0, 0, 0, 0.6); + --col--gray2: rgba(247, 248, 250, 1); + /* rgba(249, 249, 249, 1) */ + --col--gray3: #f9f9f9; + --col--gray4: rgba(0, 0, 0, 0.3); + /* rgba(246, 248, 250, 1) */ + --col--gray5: #f6f8fa; + --col--gray6: rgba(43, 45, 51, 0.8); + --col--gray7: rgba(43, 45, 51, 0.6); + --col--gray8: rgba(0,0,0,.05); + /* rgba(150, 151, 153, 1) */ + --col--gray9: #969799; + /* rgba(248, 250, 253, 1)*/ + --col--secondary1: #73604b; + --col--secondary2: #faf6f3; + --col--secondary3: #faf3f3; + /* #597FFFCC */ + --col--secondary4: #7c5b56; + --col--secondary5: rgb(125, 211, 161); + --col--secondary6: rgba(229, 103, 103, 0.87); + /* rgba(255, 239, 238, 1) */ + --col--secondary7: #ffefee; + --col--secondary8: rgba(57, 99, 255, 0.5); + + /* BUTTON */ + /* rgba(52, 89, 231, 1) */ + --col--button2: #3459e7; + /* rgba(56, 97, 251, 0.30) */ + --col--button3: #3861fb4d; + /* #3963FF4D */ + --col--button4: rgba(57, 99, 255, 0.3); + /* rgba(232, 236, 250, 1) */ + --col--button5: #e8ecfa; + /* #D7DFFA */ + --col--button6: rgba(215, 223, 250, 1); + /* #F0F3FF */ + --col--button7: rgba(240, 243, 255, 1); + /* rgba(251, 226, 227, 1) */ + --col--button8: #fbe2e3; + /* #EA3943 */ + --col--button9: rgba(234, 57, 67, 1); + /* rgba(245, 215, 217, 1) */ + --col--button10: #f5d7d9; + /* #F0CDCF */ + --col--button11: rgba(240, 205, 207, 1); + /* rgba(251, 215, 217, 1) */ + --col--button12: #fbd7d9; + /* rgba(234, 57, 67, 0.3) */ + --col--button13: #ea39434d; + /* rgba(221, 224, 235, 1) */ + --col--button14: #dde0eb; + /* rgba(245, 247, 249, 1) */ + --col--button15: #f5f7f9; + /* rgba(237, 241, 245, 1) */ + --col--button16: #edf1f5; + /* #5E62714D */ + --col--button17: rgba(94, 98, 113, 0.3); +} diff --git a/ui/public/typography.css b/ui/public/typography.css new file mode 100644 index 0000000..ba55b0b --- /dev/null +++ b/ui/public/typography.css @@ -0,0 +1,68 @@ +/* desktop */ +.t-inter-regular { + font-family: var(--ff--inter-regular); + font-size: 14px; + line-height: 133%; + font-weight: 400; + color: var(--col--dark); +} + +.t-inter-medium { + font-family: var(--ff--inter-medium); + font-size: 14px; + line-height: 133%; + font-weight: 500; + color: var(--col--dark); +} + +.t-inter-semi-bold { + font-family: var(--ff--inter-semi-bold); + font-size: 14px; + line-height: 133%; + font-weight: 600; + color: var(--col--dark); +} + +.t-inter-bold { + font-family: var(--ff--inter-bold); + font-size: 14px; + line-height: 133%; + font-weight: 700; + color: var(--col--dark); +} + +.t-link { + color: var(--col--link); +} + +.t-robot-regular { + font-family: var(--ff--robot-regular); + font-size: 14px; + line-height: 133%; + font-weight: 400; + color: var(--col--dark); +} + +.t-robot-medium { + font-family: var(--ff--robot-medium); + font-size: 14px; + line-height: 133%; + font-weight: 500; + color: var(--col--dark); +} + +.t-robot-semi-bold { + font-family: var(--ff--robot-semi-bold); + font-size: 14px; + line-height: 133%; + font-weight: 600; + color: var(--col--dark); +} + +.t-robot-bold { + font-family: var(--ff--robot-bold); + font-size: 14px; + line-height: 133%; + font-weight: 700; + color: var(--col--dark); +} diff --git a/ui/public/variables.css b/ui/public/variables.css new file mode 100644 index 0000000..894f9b5 --- /dev/null +++ b/ui/public/variables.css @@ -0,0 +1,5 @@ +:root { + --border-color: #edece8; + --desktop-width: 1920px; + --app-height: 100%; +} diff --git a/ui/store/hooks/useWallet.ts b/ui/store/hooks/useWallet.ts new file mode 100644 index 0000000..83ab1c8 --- /dev/null +++ b/ui/store/hooks/useWallet.ts @@ -0,0 +1,90 @@ +import { PayloadAction } from "@reduxjs/toolkit"; + +import * as WalletStore from "../wallet/walletSlice"; +import { useLocalStorage } from "../../hooks/useLocalStorage"; +import { useEffect, useState } from "react"; +export type SendPaymentresponse = { + hash?: string; + message?: string; + code?: number; +}; + +export type OnSend = ( + amount: number, + to: string, + fee: number, + memo: string +) => Promise; + +export const isConnectedAuro = "isConnectedAuro"; + +interface IUseGlobal extends WalletStore.IWalletData { + actions: { + setWalletData: ( + payload: WalletStore.IWalletData + ) => PayloadAction; + onConnectWallet: () => Promise; + onDisconnectWallet: () => Promise; + setConnectMessage: (value: string | null) => void; + }; +} + +export default function useWallet(): IUseGlobal { + const [account, setAccount] = useLocalStorage('account'); + + const [walletData, setWalletData] = useState(null); + const [, setIsConnectedAuro] = useLocalStorage(isConnectedAuro); +console.log(account); +console.log(walletData); +useEffect(() => { + !!account && setWalletData(JSON.parse(account)) +}, []) + + const setConnectMessage = (connectMessage) => + setWalletData({ ...walletData, connectMessage: connectMessage }); + + const minaAdapter = typeof window !== "undefined" && window["mina"]; + + const onConnectWallet = async (): Promise => { + if (!minaAdapter) { + console.warn("No provider was found Auro Wallet"); + } else { + setWalletData({ + ...walletData, + connectMessage: "Onboarding in progress", + }); + + const data = await minaAdapter.requestAccounts().catch((err) => err); + if (data.message) { + setWalletData({ ...walletData, connectMessage: data.message }); + } else { + setWalletData({ + ...walletData, + accountId: data, + connectMessage: "Connected", + }); + setIsConnectedAuro(true); + setAccount(JSON.stringify({ + ...walletData, + accountId: data, + connectMessage: "Connected", + })); + } + } + }; + + const onDisconnectWallet = async (): Promise => { + setWalletData(null); + setIsConnectedAuro(false); + setAccount(null) + }; + return { + ...walletData, + actions: { + setWalletData, + onConnectWallet, + onDisconnectWallet, + setConnectMessage, + }, + }; +} diff --git a/ui/store/index.ts b/ui/store/index.ts new file mode 100644 index 0000000..28d08fb --- /dev/null +++ b/ui/store/index.ts @@ -0,0 +1,38 @@ +import { combineReducers, configureStore } from "@reduxjs/toolkit"; +import { TypedUseSelectorHook, useDispatch, useSelector } from "react-redux"; + +import { walletService } from "./wallet/walletService"; + +import walletReducer from "./wallet/walletSlice"; + +export const rootReducer = combineReducers({ + wallet: walletReducer, + [walletService.reducerPath]: walletService.reducer, +}); + +export const createStore = (_initialValue = {}) => { + const store = configureStore({ + reducer: rootReducer, + preloadedState: { ..._initialValue }, + //@ts-ignore + middleware: (getDefaultMiddleware) => { + const middlewares = [walletService.middleware]; + return getDefaultMiddleware({ + thunk: true, + serializableCheck: false, + immutableCheck: false, + }).concat(middlewares); + }, + devTools: true, + }); + + return store; +}; + +export type RootState = ReturnType; +export type AppStore = ReturnType; +export type AppDispatch = AppStore["dispatch"]; + +export const useAppDispatch = (): AppDispatch => useDispatch(); + +export const useAppSelector: TypedUseSelectorHook = useSelector; diff --git a/ui/store/wallet/walletService.ts b/ui/store/wallet/walletService.ts new file mode 100644 index 0000000..3e9e827 --- /dev/null +++ b/ui/store/wallet/walletService.ts @@ -0,0 +1,23 @@ +import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'; +import { PUBLIC_APP_BASE_URL } from '../../comman/constants'; + +export const walletService = createApi({ + reducerPath: 'walletService', + baseQuery: fetchBaseQuery({ + baseUrl: PUBLIC_APP_BASE_URL, + fetchFn: fetch, + }), + endpoints: (builder) => ({ + getWalletBalance: builder.query({ + query: (address) => { + return { + url: `/qanet/api//api/core/accounts/${address}/balance`, + method: 'GET', + }; + }, + }), + }), +}); + +export const { getWalletBalance } = walletService.endpoints; +export const { useGetWalletBalanceQuery } = walletService; diff --git a/ui/store/wallet/walletSlice.ts b/ui/store/wallet/walletSlice.ts new file mode 100644 index 0000000..c4a1262 --- /dev/null +++ b/ui/store/wallet/walletSlice.ts @@ -0,0 +1,36 @@ +import { PayloadAction, createSlice } from '@reduxjs/toolkit'; +import { getWalletBalance } from './walletService'; + + +export type IWalletData = { + accountId: string[]; + connectMessage: string; + balance: { balance: number; balanceUsd: number }; +}; + +const initialState: IWalletData = { + balance: { balance: 0, balanceUsd: 0 }, + connectMessage: '', + accountId: [''] +}; + +export const walletSlice = createSlice({ + name: 'wallet', + initialState, + reducers: { + setWalletData: (_, action: PayloadAction) => { + return { + ...action.payload, + }; + }, + }, + // @ts-ignore + extraReducers: (builder) => { + builder.addMatcher(getWalletBalance.matchFulfilled, (state, { payload }) => { + state.balance = payload; + }); + }, +}); + +export const { setWalletData } = walletSlice.actions; +export default walletSlice.reducer; diff --git a/ui/styles/globals.css b/ui/styles/globals.css index f4bd77c..eb2e3d9 100644 --- a/ui/styles/globals.css +++ b/ui/styles/globals.css @@ -1,107 +1,288 @@ -:root { - --max-width: 1100px; - --border-radius: 12px; - --font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", - "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", - "Fira Mono", "Droid Sans Mono", "Courier New", monospace; - - --foreground-rgb: 0, 0, 0; - --background-start-rgb: 214, 219, 220; - --background-end-rgb: 255, 255, 255; - - --primary-glow: conic-gradient( - from 180deg at 50% 50%, - #16abff33 0deg, - #0885ff33 55deg, - #54d6ff33 120deg, - #0071ff33 160deg, - transparent 360deg - ); - --secondary-glow: radial-gradient( - rgba(255, 255, 255, 1), - rgba(255, 255, 255, 0) - ); +html, +body { + margin: 0; + padding: 0; + font-family: var(--ff--inter-regular); + font-weight: 400; + font-size: 14px; + line-height: 133%; + color: var(--col--dark); +} - --tile-start-rgb: 239, 245, 249; - --tile-end-rgb: 228, 232, 233; - --tile-border: conic-gradient( - #00000080, - #00000040, - #00000030, - #00000020, - #00000010, - #00000010, - #00000080 +* { + box-sizing: border-box !important; +} + +a { + text-decoration: none; + color: inherit; +} + +a:hover { + text-decoration: none; +} + +#root { + height: 100vh; +} + +#main { + margin: auto; + min-height: 100vh; + background: linear-gradient( + 97deg, + #efeff8 8.46%, + #ffe1e5 47.23%, + #fefcff 60.11%, + #fffaef 67.04%, + #d7d9ff 74.27%, + #efeff8 100.19% ); +} - --callout-rgb: 238, 240, 241; - --callout-border-rgb: 172, 175, 176; - --card-rgb: 180, 185, 188; - --card-border-rgb: 131, 134, 135; -} - -@media (prefers-color-scheme: dark) { - :root { - --foreground-rgb: 255, 255, 255; - --background-start-rgb: 0, 0, 0; - --background-end-rgb: 0, 0, 0; - - --primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0)); - --secondary-glow: linear-gradient( - to bottom right, - rgba(1, 65, 255, 0), - rgba(1, 65, 255, 0), - rgba(1, 65, 255, 0.3) - ); - - --tile-start-rgb: 2, 13, 46; - --tile-end-rgb: 2, 5, 19; - --tile-border: conic-gradient( - #ffffff80, - #ffffff40, - #ffffff30, - #ffffff20, - #ffffff10, - #ffffff10, - #ffffff80 - ); - - --callout-rgb: 20, 20, 20; - --callout-border-rgb: 108, 108, 108; - --card-rgb: 100, 100, 100; - --card-border-rgb: 200, 200, 200; - } +#main footer { + margin-top: auto; } -* { - box-sizing: border-box; - padding: 0; +.sticky-top { + position: -webkit-sticky; + /* Safari */ + position: sticky; + top: 0; + z-index: 999; +} + +.web-nav { + display: flex; + flex-direction: row; + align-items: center; + height: 85px; + background-color: var(--col--dark); + color: white; +} + +.links { + display: flex; + flex-direction: row; + align-items: center; + justify-content: flex-start; + width: 100%; +} + +.richText > * { + list-style: none; + padding: 0px; +} + +.menu-item-subcategory { + color: var(--col--primary1); +} + +/* Chrome, Safari, Edge, Opera */ +input::-webkit-outer-spin-button, +input::-webkit-inner-spin-button { + -webkit-appearance: none; margin: 0; } -html, -body { - max-width: 100vw; - overflow-x: hidden; +/* Firefox */ +input[type="number"] { + -moz-appearance: textfield; } -body { - color: rgb(var(--foreground-rgb)); - background: linear-gradient( - to bottom, - transparent, - rgb(var(--background-end-rgb)) - ) - rgb(var(--background-start-rgb)); +/** Typography */ + +p { + margin: 0; } -a { - color: inherit; - text-decoration: none; +/** Lists */ +ul { + list-style: none; } -@media (prefers-color-scheme: dark) { - html { - color-scheme: dark; +ul li { + position: relative; + padding-left: 1em; +} + +ul li::before { + content: "\2022"; + color: var(--col--primary1); + font-size: inherit; + font-weight: inherit; + line-height: inherit; + position: absolute; + left: 0; + width: 1em; +} + +ol { + list-style: none; + counter-reset: li; +} + +ol li { + counter-increment: li; + position: relative; + padding-left: 1em; +} + +ol li::before { + content: counter(li); + color: var(--col--primary1); + font-size: inherit; + font-weight: inherit; + line-height: inherit; + position: absolute; + left: 0; + width: 1em; +} + +ul li, +ol li { + font-size: var(--li-md-size, 16px); + line-height: var(--li-md-line-height, 24px); +} + +@media screen and (min-width: 960px) { + ul li, + ol li { + font-size: var(--li-lg-size, 18px); + line-height: var(--li-lf-line-height, 28px); + } +} + +/** Links */ + +.link-secondary-active, +.link-primary-active { + font-family: var(--ff--link); + font-style: normal; + font-weight: normal; + text-decoration-line: underline; + text-transform: uppercase; + cursor: pointer; +} + +.link-secondary-active { + font-size: 14px; + line-height: 18px; +} + +.link-primary-active { + font-size: 18px; + line-height: 22px; +} + +@media screen and (max-width: 960px) { + .link-primary-active { + font-size: 14px; + line-height: 18px; + } +} + +/* Truncate */ + +/* single line */ +.truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +/* multi line */ +.truncate-at-2, +.truncate-at-3, +.truncate-at-4, +.truncate-at-5 { + display: block; + display: -webkit-box; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; +} + +.truncate-at-2 { + -webkit-line-clamp: 2; +} + +.truncate-at-3 { + -webkit-line-clamp: 3; +} + +.truncate-at-4 { + -webkit-line-clamp: 4; +} + +.truncate-at-5 { + -webkit-line-clamp: 5; +} + +_:-ms-fullscreen, +:root .truncate-at-2, +.truncate-at-3, +.truncate-at-4, +.truncate-at-5 { + white-space: nowrap; +} + +.visually-hidden { + clip: rect(0 0 0 0); + clip-path: inset(50%); + height: 1px; + overflow: hidden; + position: absolute; + white-space: nowrap; + width: 1px; +} + +.container { + width: 100%; + margin: 0 auto; +} + +@media (max-width: 576px) { + .container { + padding: 0 16px; + max-width: 575px; + } +} + +@media (min-width: 577px) { + .container { + max-width: 540px; + } +} + +@media (min-width: 769px) { + .container { + max-width: 720px; } } + +@media (min-width: 993px) { + .container { + max-width: 960px; + } +} + +@media (min-width: 1201px) { + .container { + max-width: 1140px; + } +} + +@media (min-width: 1401px) { + .container { + max-width: 1320px; + } +} + +.app { + max-width: var(--desktop-width); + margin: auto; + display: flex; + flex-direction: column; + min-height: var(--app-height); +} diff --git a/ui/tsconfig.json b/ui/tsconfig.json index 649790e..ebfabe3 100644 --- a/ui/tsconfig.json +++ b/ui/tsconfig.json @@ -1,21 +1,27 @@ { + "ts-node": { + "compilerOptions": { + "module": "CommonJS" + } + }, "compilerOptions": { - "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, - "skipLibCheck": true, - "strict": true, - "noEmit": true, - "esModuleInterop": true, - "module": "esnext", - "moduleResolution": "bundler", - "resolveJsonModule": true, - "isolatedModules": true, - "jsx": "preserve", - "incremental": true, - "paths": { - "@/*": ["./*"] - } + "target": "es2017", + "lib": ["dom", "dom.iterable", "esnext", "es2019.array"], + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "strictNullChecks": false, + "incremental": true }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "exclude": ["node_modules"], + "include": ["@types/**/*.d.ts", "**/*.ts", "**/*.tsx", "src/configs/env.js"] }