mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-01 01:00:50 +01:00
Update content of files
This commit is contained in:
parent
d4ce74e2a4
commit
5a3053c38d
407 changed files with 72155 additions and 0 deletions
2003
data/mini_app/wallet/src/api/getGems/generated/api.ts
Normal file
2003
data/mini_app/wallet/src/api/getGems/generated/api.ts
Normal file
File diff suppressed because it is too large
Load diff
80
data/mini_app/wallet/src/api/getGems/generated/base.ts
Normal file
80
data/mini_app/wallet/src/api/getGems/generated/base.ts
Normal file
|
@ -0,0 +1,80 @@
|
|||
/* tslint:disable */
|
||||
|
||||
/* eslint-disable */
|
||||
|
||||
/**
|
||||
* GetGems
|
||||
* GetGems API
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
* Contact: support@getgems.io
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import globalAxios, {
|
||||
AxiosInstance,
|
||||
AxiosPromise,
|
||||
AxiosRequestConfig,
|
||||
} from 'axios';
|
||||
|
||||
import { Configuration } from './configuration';
|
||||
|
||||
export const BASE_PATH = '/wallet'.replace(/\/+$/, '');
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const COLLECTION_FORMATS = {
|
||||
csv: ',',
|
||||
ssv: ' ',
|
||||
tsv: '\t',
|
||||
pipes: '|',
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RequestArgs
|
||||
*/
|
||||
export interface RequestArgs {
|
||||
url: string;
|
||||
options: AxiosRequestConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class BaseAPI
|
||||
*/
|
||||
export class BaseAPI {
|
||||
protected configuration: Configuration | undefined;
|
||||
|
||||
constructor(
|
||||
configuration?: Configuration,
|
||||
protected basePath: string = BASE_PATH,
|
||||
protected axios: AxiosInstance = globalAxios,
|
||||
) {
|
||||
if (configuration) {
|
||||
this.configuration = configuration;
|
||||
this.basePath = configuration.basePath || this.basePath;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class RequiredError
|
||||
* @extends {Error}
|
||||
*/
|
||||
export class RequiredError extends Error {
|
||||
name: 'RequiredError' = 'RequiredError';
|
||||
constructor(public field: string, msg?: string) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
183
data/mini_app/wallet/src/api/getGems/generated/common.ts
Normal file
183
data/mini_app/wallet/src/api/getGems/generated/common.ts
Normal file
|
@ -0,0 +1,183 @@
|
|||
/* tslint:disable */
|
||||
|
||||
/* eslint-disable */
|
||||
|
||||
/**
|
||||
* GetGems
|
||||
* GetGems API
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
* Contact: support@getgems.io
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { AxiosInstance, AxiosResponse } from 'axios';
|
||||
|
||||
import { RequestArgs, RequiredError } from './base';
|
||||
import { Configuration } from './configuration';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const DUMMY_BASE_URL = 'https://example.com';
|
||||
|
||||
/**
|
||||
*
|
||||
* @throws {RequiredError}
|
||||
* @export
|
||||
*/
|
||||
export const assertParamExists = function (
|
||||
functionName: string,
|
||||
paramName: string,
|
||||
paramValue: unknown,
|
||||
) {
|
||||
if (paramValue === null || paramValue === undefined) {
|
||||
throw new RequiredError(
|
||||
paramName,
|
||||
`Required parameter ${paramName} was null or undefined when calling ${functionName}.`,
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setApiKeyToObject = async function (
|
||||
object: any,
|
||||
keyParamName: string,
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
if (configuration && configuration.apiKey) {
|
||||
const localVarApiKeyValue =
|
||||
typeof configuration.apiKey === 'function'
|
||||
? await configuration.apiKey(keyParamName)
|
||||
: await configuration.apiKey;
|
||||
object[keyParamName] = localVarApiKeyValue;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setBasicAuthToObject = function (
|
||||
object: any,
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
if (configuration && (configuration.username || configuration.password)) {
|
||||
object['auth'] = {
|
||||
username: configuration.username,
|
||||
password: configuration.password,
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setBearerAuthToObject = async function (
|
||||
object: any,
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
if (configuration && configuration.accessToken) {
|
||||
const accessToken =
|
||||
typeof configuration.accessToken === 'function'
|
||||
? await configuration.accessToken()
|
||||
: await configuration.accessToken;
|
||||
object['Authorization'] = 'Bearer ' + accessToken;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setOAuthToObject = async function (
|
||||
object: any,
|
||||
name: string,
|
||||
scopes: string[],
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
if (configuration && configuration.accessToken) {
|
||||
const localVarAccessTokenValue =
|
||||
typeof configuration.accessToken === 'function'
|
||||
? await configuration.accessToken(name, scopes)
|
||||
: await configuration.accessToken;
|
||||
object['Authorization'] = 'Bearer ' + localVarAccessTokenValue;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setSearchParams = function (url: URL, ...objects: any[]) {
|
||||
const searchParams = new URLSearchParams(url.search);
|
||||
for (const object of objects) {
|
||||
for (const key in object) {
|
||||
if (Array.isArray(object[key])) {
|
||||
searchParams.delete(key);
|
||||
for (const item of object[key]) {
|
||||
searchParams.append(key, item);
|
||||
}
|
||||
} else {
|
||||
searchParams.set(key, object[key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
url.search = searchParams.toString();
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const serializeDataIfNeeded = function (
|
||||
value: any,
|
||||
requestOptions: any,
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
const nonString = typeof value !== 'string';
|
||||
const needsSerialization =
|
||||
nonString && configuration && configuration.isJsonMime
|
||||
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
||||
: nonString;
|
||||
return needsSerialization
|
||||
? JSON.stringify(value !== undefined ? value : {})
|
||||
: value || '';
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const toPathString = function (url: URL) {
|
||||
return url.pathname + url.search + url.hash;
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const createRequestFunction = function (
|
||||
axiosArgs: RequestArgs,
|
||||
globalAxios: AxiosInstance,
|
||||
BASE_PATH: string,
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
return <T = unknown, R = AxiosResponse<T>>(
|
||||
axios: AxiosInstance = globalAxios,
|
||||
basePath: string = BASE_PATH,
|
||||
) => {
|
||||
const axiosRequestArgs = {
|
||||
...axiosArgs.options,
|
||||
url: (configuration?.basePath || basePath) + axiosArgs.url,
|
||||
};
|
||||
return axios.request<T, R>(axiosRequestArgs);
|
||||
};
|
||||
};
|
123
data/mini_app/wallet/src/api/getGems/generated/configuration.ts
Normal file
123
data/mini_app/wallet/src/api/getGems/generated/configuration.ts
Normal file
|
@ -0,0 +1,123 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GetGems
|
||||
* GetGems API
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
* Contact: support@getgems.io
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
export interface ConfigurationParameters {
|
||||
apiKey?:
|
||||
| string
|
||||
| Promise<string>
|
||||
| ((name: string) => string)
|
||||
| ((name: string) => Promise<string>);
|
||||
username?: string;
|
||||
password?: string;
|
||||
accessToken?:
|
||||
| string
|
||||
| Promise<string>
|
||||
| ((name?: string, scopes?: string[]) => string)
|
||||
| ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
basePath?: string;
|
||||
baseOptions?: any;
|
||||
formDataCtor?: new () => any;
|
||||
}
|
||||
|
||||
export class Configuration {
|
||||
/**
|
||||
* parameter for apiKey security
|
||||
* @param name security name
|
||||
* @memberof Configuration
|
||||
*/
|
||||
apiKey?:
|
||||
| string
|
||||
| Promise<string>
|
||||
| ((name: string) => string)
|
||||
| ((name: string) => Promise<string>);
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
username?: string;
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
password?: string;
|
||||
/**
|
||||
* parameter for oauth2 security
|
||||
* @param name security name
|
||||
* @param scopes oauth2 scope
|
||||
* @memberof Configuration
|
||||
*/
|
||||
accessToken?:
|
||||
| string
|
||||
| Promise<string>
|
||||
| ((name?: string, scopes?: string[]) => string)
|
||||
| ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
/**
|
||||
* override base path
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
basePath?: string;
|
||||
/**
|
||||
* base options for axios calls
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
baseOptions?: any;
|
||||
/**
|
||||
* The FormData constructor that will be used to create multipart form data
|
||||
* requests. You can inject this here so that execution environments that
|
||||
* do not support the FormData class can still run the generated client.
|
||||
*
|
||||
* @type {new () => FormData}
|
||||
*/
|
||||
formDataCtor?: new () => any;
|
||||
|
||||
constructor(param: ConfigurationParameters = {}) {
|
||||
this.apiKey = param.apiKey;
|
||||
this.username = param.username;
|
||||
this.password = param.password;
|
||||
this.accessToken = param.accessToken;
|
||||
this.basePath = param.basePath;
|
||||
this.baseOptions = param.baseOptions;
|
||||
this.formDataCtor = param.formDataCtor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the given MIME is a JSON MIME.
|
||||
* JSON MIME examples:
|
||||
* application/json
|
||||
* application/json; charset=UTF8
|
||||
* APPLICATION/JSON
|
||||
* application/vnd.company+json
|
||||
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
||||
* @return True if the given MIME is JSON, false otherwise.
|
||||
*/
|
||||
public isJsonMime(mime: string): boolean {
|
||||
const jsonMime: RegExp = new RegExp(
|
||||
'^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$',
|
||||
'i',
|
||||
);
|
||||
return (
|
||||
mime !== null &&
|
||||
(jsonMime.test(mime) ||
|
||||
mime.toLowerCase() === 'application/json-patch+json')
|
||||
);
|
||||
}
|
||||
}
|
28
data/mini_app/wallet/src/api/getGems/index.ts
Normal file
28
data/mini_app/wallet/src/api/getGems/index.ts
Normal file
|
@ -0,0 +1,28 @@
|
|||
import { captureException } from '@sentry/react';
|
||||
import axios, { AxiosError } from 'axios';
|
||||
|
||||
import { CollectiblesApi, Configuration } from 'api/getGems/generated';
|
||||
|
||||
import { config as appConfig } from 'config';
|
||||
|
||||
const axiosInstance = axios.create();
|
||||
const config = {
|
||||
basePath: appConfig.getGemsApiHost || 'https://api.getgems.io/wallet',
|
||||
isJsonMime: new Configuration().isJsonMime,
|
||||
};
|
||||
|
||||
const API = {
|
||||
Collectibles: new CollectiblesApi(config, '', axiosInstance),
|
||||
};
|
||||
|
||||
const onResponseError = (error: AxiosError) => {
|
||||
if (error?.response?.status && error.response.status >= 400) {
|
||||
captureException(
|
||||
`GetGems API error. URL: ${error.config.url}. STATUS: ${error.response.status}`,
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
axiosInstance.interceptors.response.use(undefined, onResponseError);
|
||||
|
||||
export default API;
|
12281
data/mini_app/wallet/src/api/tonapi/generated/api.ts
Normal file
12281
data/mini_app/wallet/src/api/tonapi/generated/api.ts
Normal file
File diff suppressed because it is too large
Load diff
80
data/mini_app/wallet/src/api/tonapi/generated/base.ts
Normal file
80
data/mini_app/wallet/src/api/tonapi/generated/base.ts
Normal file
|
@ -0,0 +1,80 @@
|
|||
/* tslint:disable */
|
||||
|
||||
/* eslint-disable */
|
||||
|
||||
/**
|
||||
* REST api to TON blockchain explorer
|
||||
* Provide access to indexed TON blockchain
|
||||
*
|
||||
* The version of the OpenAPI document: 2.0.0
|
||||
* Contact: support@tonkeeper.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import globalAxios, {
|
||||
AxiosInstance,
|
||||
AxiosPromise,
|
||||
AxiosRequestConfig,
|
||||
} from 'axios';
|
||||
|
||||
import { Configuration } from './configuration';
|
||||
|
||||
export const BASE_PATH = 'https://tonapi.io'.replace(/\/+$/, '');
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const COLLECTION_FORMATS = {
|
||||
csv: ',',
|
||||
ssv: ' ',
|
||||
tsv: '\t',
|
||||
pipes: '|',
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RequestArgs
|
||||
*/
|
||||
export interface RequestArgs {
|
||||
url: string;
|
||||
options: AxiosRequestConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class BaseAPI
|
||||
*/
|
||||
export class BaseAPI {
|
||||
protected configuration: Configuration | undefined;
|
||||
|
||||
constructor(
|
||||
configuration?: Configuration,
|
||||
protected basePath: string = BASE_PATH,
|
||||
protected axios: AxiosInstance = globalAxios,
|
||||
) {
|
||||
if (configuration) {
|
||||
this.configuration = configuration;
|
||||
this.basePath = configuration.basePath || this.basePath;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class RequiredError
|
||||
* @extends {Error}
|
||||
*/
|
||||
export class RequiredError extends Error {
|
||||
name: 'RequiredError' = 'RequiredError';
|
||||
constructor(public field: string, msg?: string) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
183
data/mini_app/wallet/src/api/tonapi/generated/common.ts
Normal file
183
data/mini_app/wallet/src/api/tonapi/generated/common.ts
Normal file
|
@ -0,0 +1,183 @@
|
|||
/* tslint:disable */
|
||||
|
||||
/* eslint-disable */
|
||||
|
||||
/**
|
||||
* REST api to TON blockchain explorer
|
||||
* Provide access to indexed TON blockchain
|
||||
*
|
||||
* The version of the OpenAPI document: 2.0.0
|
||||
* Contact: support@tonkeeper.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { AxiosInstance, AxiosResponse } from 'axios';
|
||||
|
||||
import { RequestArgs, RequiredError } from './base';
|
||||
import { Configuration } from './configuration';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const DUMMY_BASE_URL = 'https://example.com';
|
||||
|
||||
/**
|
||||
*
|
||||
* @throws {RequiredError}
|
||||
* @export
|
||||
*/
|
||||
export const assertParamExists = function (
|
||||
functionName: string,
|
||||
paramName: string,
|
||||
paramValue: unknown,
|
||||
) {
|
||||
if (paramValue === null || paramValue === undefined) {
|
||||
throw new RequiredError(
|
||||
paramName,
|
||||
`Required parameter ${paramName} was null or undefined when calling ${functionName}.`,
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setApiKeyToObject = async function (
|
||||
object: any,
|
||||
keyParamName: string,
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
if (configuration && configuration.apiKey) {
|
||||
const localVarApiKeyValue =
|
||||
typeof configuration.apiKey === 'function'
|
||||
? await configuration.apiKey(keyParamName)
|
||||
: await configuration.apiKey;
|
||||
object[keyParamName] = localVarApiKeyValue;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setBasicAuthToObject = function (
|
||||
object: any,
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
if (configuration && (configuration.username || configuration.password)) {
|
||||
object['auth'] = {
|
||||
username: configuration.username,
|
||||
password: configuration.password,
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setBearerAuthToObject = async function (
|
||||
object: any,
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
if (configuration && configuration.accessToken) {
|
||||
const accessToken =
|
||||
typeof configuration.accessToken === 'function'
|
||||
? await configuration.accessToken()
|
||||
: await configuration.accessToken;
|
||||
object['Authorization'] = 'Bearer ' + accessToken;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setOAuthToObject = async function (
|
||||
object: any,
|
||||
name: string,
|
||||
scopes: string[],
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
if (configuration && configuration.accessToken) {
|
||||
const localVarAccessTokenValue =
|
||||
typeof configuration.accessToken === 'function'
|
||||
? await configuration.accessToken(name, scopes)
|
||||
: await configuration.accessToken;
|
||||
object['Authorization'] = 'Bearer ' + localVarAccessTokenValue;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setSearchParams = function (url: URL, ...objects: any[]) {
|
||||
const searchParams = new URLSearchParams(url.search);
|
||||
for (const object of objects) {
|
||||
for (const key in object) {
|
||||
if (Array.isArray(object[key])) {
|
||||
searchParams.delete(key);
|
||||
for (const item of object[key]) {
|
||||
searchParams.append(key, item);
|
||||
}
|
||||
} else {
|
||||
searchParams.set(key, object[key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
url.search = searchParams.toString();
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const serializeDataIfNeeded = function (
|
||||
value: any,
|
||||
requestOptions: any,
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
const nonString = typeof value !== 'string';
|
||||
const needsSerialization =
|
||||
nonString && configuration && configuration.isJsonMime
|
||||
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
||||
: nonString;
|
||||
return needsSerialization
|
||||
? JSON.stringify(value !== undefined ? value : {})
|
||||
: value || '';
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const toPathString = function (url: URL) {
|
||||
return url.pathname + url.search + url.hash;
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const createRequestFunction = function (
|
||||
axiosArgs: RequestArgs,
|
||||
globalAxios: AxiosInstance,
|
||||
BASE_PATH: string,
|
||||
configuration?: Configuration,
|
||||
) {
|
||||
return <T = unknown, R = AxiosResponse<T>>(
|
||||
axios: AxiosInstance = globalAxios,
|
||||
basePath: string = BASE_PATH,
|
||||
) => {
|
||||
const axiosRequestArgs = {
|
||||
...axiosArgs.options,
|
||||
url: (configuration?.basePath || basePath) + axiosArgs.url,
|
||||
};
|
||||
return axios.request<T, R>(axiosRequestArgs);
|
||||
};
|
||||
};
|
123
data/mini_app/wallet/src/api/tonapi/generated/configuration.ts
Normal file
123
data/mini_app/wallet/src/api/tonapi/generated/configuration.ts
Normal file
|
@ -0,0 +1,123 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* REST api to TON blockchain explorer
|
||||
* Provide access to indexed TON blockchain
|
||||
*
|
||||
* The version of the OpenAPI document: 2.0.0
|
||||
* Contact: support@tonkeeper.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
export interface ConfigurationParameters {
|
||||
apiKey?:
|
||||
| string
|
||||
| Promise<string>
|
||||
| ((name: string) => string)
|
||||
| ((name: string) => Promise<string>);
|
||||
username?: string;
|
||||
password?: string;
|
||||
accessToken?:
|
||||
| string
|
||||
| Promise<string>
|
||||
| ((name?: string, scopes?: string[]) => string)
|
||||
| ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
basePath?: string;
|
||||
baseOptions?: any;
|
||||
formDataCtor?: new () => any;
|
||||
}
|
||||
|
||||
export class Configuration {
|
||||
/**
|
||||
* parameter for apiKey security
|
||||
* @param name security name
|
||||
* @memberof Configuration
|
||||
*/
|
||||
apiKey?:
|
||||
| string
|
||||
| Promise<string>
|
||||
| ((name: string) => string)
|
||||
| ((name: string) => Promise<string>);
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
username?: string;
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
password?: string;
|
||||
/**
|
||||
* parameter for oauth2 security
|
||||
* @param name security name
|
||||
* @param scopes oauth2 scope
|
||||
* @memberof Configuration
|
||||
*/
|
||||
accessToken?:
|
||||
| string
|
||||
| Promise<string>
|
||||
| ((name?: string, scopes?: string[]) => string)
|
||||
| ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
/**
|
||||
* override base path
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
basePath?: string;
|
||||
/**
|
||||
* base options for axios calls
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
baseOptions?: any;
|
||||
/**
|
||||
* The FormData constructor that will be used to create multipart form data
|
||||
* requests. You can inject this here so that execution environments that
|
||||
* do not support the FormData class can still run the generated client.
|
||||
*
|
||||
* @type {new () => FormData}
|
||||
*/
|
||||
formDataCtor?: new () => any;
|
||||
|
||||
constructor(param: ConfigurationParameters = {}) {
|
||||
this.apiKey = param.apiKey;
|
||||
this.username = param.username;
|
||||
this.password = param.password;
|
||||
this.accessToken = param.accessToken;
|
||||
this.basePath = param.basePath;
|
||||
this.baseOptions = param.baseOptions;
|
||||
this.formDataCtor = param.formDataCtor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the given MIME is a JSON MIME.
|
||||
* JSON MIME examples:
|
||||
* application/json
|
||||
* application/json; charset=UTF8
|
||||
* APPLICATION/JSON
|
||||
* application/vnd.company+json
|
||||
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
||||
* @return True if the given MIME is JSON, false otherwise.
|
||||
*/
|
||||
public isJsonMime(mime: string): boolean {
|
||||
const jsonMime: RegExp = new RegExp(
|
||||
'^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$',
|
||||
'i',
|
||||
);
|
||||
return (
|
||||
mime !== null &&
|
||||
(jsonMime.test(mime) ||
|
||||
mime.toLowerCase() === 'application/json-patch+json')
|
||||
);
|
||||
}
|
||||
}
|
61
data/mini_app/wallet/src/api/tonapi/index.ts
Normal file
61
data/mini_app/wallet/src/api/tonapi/index.ts
Normal file
|
@ -0,0 +1,61 @@
|
|||
import { captureException } from '@sentry/react';
|
||||
import axios, { AxiosRequestConfig } from 'axios';
|
||||
|
||||
import {
|
||||
AccountsApi,
|
||||
BlockchainApi,
|
||||
Configuration,
|
||||
ConnectApi,
|
||||
DNSApi,
|
||||
EmulationApi,
|
||||
EventsApi,
|
||||
JettonsApi,
|
||||
NFTApi,
|
||||
RatesApi,
|
||||
StakingApi,
|
||||
StorageApi,
|
||||
TracesApi,
|
||||
WalletApi,
|
||||
} from './generated';
|
||||
|
||||
const axiosInstance = axios.create();
|
||||
const config = {
|
||||
basePath: 'https://tonapi.io',
|
||||
isJsonMime: new Configuration().isJsonMime,
|
||||
};
|
||||
|
||||
const API = {
|
||||
Accounts: new AccountsApi(config, '', axiosInstance),
|
||||
Blockchain: new BlockchainApi(config, '', axiosInstance),
|
||||
Connect: new ConnectApi(config, '', axiosInstance),
|
||||
DNS: new DNSApi(config, '', axiosInstance),
|
||||
Events: new EventsApi(config, '', axiosInstance),
|
||||
Emulation: new EmulationApi(config, '', axiosInstance),
|
||||
Jettons: new JettonsApi(config, '', axiosInstance),
|
||||
NFT: new NFTApi(config, '', axiosInstance),
|
||||
Rates: new RatesApi(config, '', axiosInstance),
|
||||
Staking: new StakingApi(config, '', axiosInstance),
|
||||
Storage: new StorageApi(config, '', axiosInstance),
|
||||
Traces: new TracesApi(config, '', axiosInstance),
|
||||
Wallet: new WalletApi(config, '', axiosInstance),
|
||||
};
|
||||
|
||||
axiosInstance.interceptors.request.use(
|
||||
(config: AxiosRequestConfig): AxiosRequestConfig => {
|
||||
return {
|
||||
...config,
|
||||
headers: {
|
||||
...config.headers,
|
||||
Authorization:
|
||||
'Bearer AFKHERANWTOVP2QAAAAFE43CBWITJAM6VFIR2EEREIYXPD6REN4UF7Q3ZLRI347TFZFFZLI',
|
||||
},
|
||||
};
|
||||
},
|
||||
);
|
||||
axiosInstance.interceptors.response.use(undefined, (error) => {
|
||||
captureException(
|
||||
`TonApi API error. URL: ${error.config.url}. STATUS: ${error.response.status}`,
|
||||
);
|
||||
});
|
||||
|
||||
export default API;
|
573
data/mini_app/wallet/src/api/wpay/generated/api.ts
Normal file
573
data/mini_app/wallet/src/api/wpay/generated/api.ts
Normal file
|
@ -0,0 +1,573 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Wallet-Pay
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: DEVELOPMENT
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
import { Configuration } from './configuration';
|
||||
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface InitiatePaymentRestRequest
|
||||
*/
|
||||
export interface InitiatePaymentRestRequest {
|
||||
/**
|
||||
* The string representation of Java long value.
|
||||
* @type {string}
|
||||
* @memberof InitiatePaymentRestRequest
|
||||
*/
|
||||
'orderId': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof InitiatePaymentRestRequest
|
||||
*/
|
||||
'telegramBotUsername'?: string;
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface MoneyAmountDto
|
||||
*/
|
||||
export interface MoneyAmountDto {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof MoneyAmountDto
|
||||
*/
|
||||
'currencyCode': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof MoneyAmountDto
|
||||
*/
|
||||
'amount': string;
|
||||
}
|
||||
/**
|
||||
* Response payload, present if status is SUCCESS
|
||||
* @export
|
||||
* @interface OrderPaymentDto
|
||||
*/
|
||||
export interface OrderPaymentDto {
|
||||
/**
|
||||
* The string representation of Java long value.
|
||||
* @type {string}
|
||||
* @memberof OrderPaymentDto
|
||||
*/
|
||||
'id': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof OrderPaymentDto
|
||||
*/
|
||||
'status': OrderPaymentDtoStatusEnum;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof OrderPaymentDto
|
||||
*/
|
||||
'number': string;
|
||||
/**
|
||||
*
|
||||
* @type {MoneyAmountDto}
|
||||
* @memberof OrderPaymentDto
|
||||
*/
|
||||
'amount': MoneyAmountDto;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof OrderPaymentDto
|
||||
*/
|
||||
'storeName': string;
|
||||
/**
|
||||
* The string representation of Java long value.
|
||||
* @type {string}
|
||||
* @memberof OrderPaymentDto
|
||||
*/
|
||||
'storeId': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof OrderPaymentDto
|
||||
*/
|
||||
'description'?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof OrderPaymentDto
|
||||
*/
|
||||
'expirationDateTime': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof OrderPaymentDto
|
||||
*/
|
||||
'returnUrl'?: string;
|
||||
/**
|
||||
*
|
||||
* @type {PaymentDto}
|
||||
* @memberof OrderPaymentDto
|
||||
*/
|
||||
'currentPayment'?: PaymentDto;
|
||||
}
|
||||
|
||||
export const OrderPaymentDtoStatusEnum = {
|
||||
Active: 'ACTIVE',
|
||||
Expired: 'EXPIRED',
|
||||
Paid: 'PAID',
|
||||
Cancelled: 'CANCELLED'
|
||||
} as const;
|
||||
|
||||
export type OrderPaymentDtoStatusEnum = typeof OrderPaymentDtoStatusEnum[keyof typeof OrderPaymentDtoStatusEnum];
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface PaymentDto
|
||||
*/
|
||||
export interface PaymentDto {
|
||||
/**
|
||||
* The string representation of Java long value.
|
||||
* @type {string}
|
||||
* @memberof PaymentDto
|
||||
*/
|
||||
'id': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof PaymentDto
|
||||
*/
|
||||
'status': PaymentDtoStatusEnum;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof PaymentDto
|
||||
*/
|
||||
'createdDateTime': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof PaymentDto
|
||||
*/
|
||||
'paymentDueDateTime': string;
|
||||
/**
|
||||
*
|
||||
* @type {Array<PaymentOptionDto>}
|
||||
* @memberof PaymentDto
|
||||
*/
|
||||
'paymentOptions': Array<PaymentOptionDto>;
|
||||
}
|
||||
|
||||
export const PaymentDtoStatusEnum = {
|
||||
Created: 'CREATED',
|
||||
Expired: 'EXPIRED',
|
||||
Paying: 'PAYING',
|
||||
Failed: 'FAILED',
|
||||
Paid: 'PAID',
|
||||
ReadyForPayout: 'READY_FOR_PAYOUT'
|
||||
} as const;
|
||||
|
||||
export type PaymentDtoStatusEnum = typeof PaymentDtoStatusEnum[keyof typeof PaymentDtoStatusEnum];
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface PaymentOptionDto
|
||||
*/
|
||||
export interface PaymentOptionDto {
|
||||
/**
|
||||
*
|
||||
* @type {MoneyAmountDto}
|
||||
* @memberof PaymentOptionDto
|
||||
*/
|
||||
'amount': MoneyAmountDto;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof PaymentOptionDto
|
||||
*/
|
||||
'exchangeRate': string;
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface ProceedPaymentRestRequest
|
||||
*/
|
||||
export interface ProceedPaymentRestRequest {
|
||||
/**
|
||||
* The string representation of Java long value.
|
||||
* @type {string}
|
||||
* @memberof ProceedPaymentRestRequest
|
||||
*/
|
||||
'orderId': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ProceedPaymentRestRequest
|
||||
*/
|
||||
'telegramBotUsername'?: string;
|
||||
/**
|
||||
* The string representation of Java long value.
|
||||
* @type {string}
|
||||
* @memberof ProceedPaymentRestRequest
|
||||
*/
|
||||
'paymentId': string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ProceedPaymentRestRequest
|
||||
*/
|
||||
'currencyCode': string;
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RestDataResponseGetPaymentStatusPaymentDto
|
||||
*/
|
||||
export interface RestDataResponseGetPaymentStatusPaymentDto {
|
||||
/**
|
||||
* Operation result status, always present
|
||||
* @type {string}
|
||||
* @memberof RestDataResponseGetPaymentStatusPaymentDto
|
||||
*/
|
||||
'status': RestDataResponseGetPaymentStatusPaymentDtoStatusEnum;
|
||||
/**
|
||||
* Verbose reason of non-success result
|
||||
* @type {string}
|
||||
* @memberof RestDataResponseGetPaymentStatusPaymentDto
|
||||
*/
|
||||
'message'?: string;
|
||||
/**
|
||||
*
|
||||
* @type {PaymentDto}
|
||||
* @memberof RestDataResponseGetPaymentStatusPaymentDto
|
||||
*/
|
||||
'data'?: PaymentDto;
|
||||
}
|
||||
|
||||
export const RestDataResponseGetPaymentStatusPaymentDtoStatusEnum = {
|
||||
Success: 'SUCCESS',
|
||||
AccessDenied: 'ACCESS_DENIED'
|
||||
} as const;
|
||||
|
||||
export type RestDataResponseGetPaymentStatusPaymentDtoStatusEnum = typeof RestDataResponseGetPaymentStatusPaymentDtoStatusEnum[keyof typeof RestDataResponseGetPaymentStatusPaymentDtoStatusEnum];
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RestDataResponseInitiatePaymentStatusOrderPaymentDto
|
||||
*/
|
||||
export interface RestDataResponseInitiatePaymentStatusOrderPaymentDto {
|
||||
/**
|
||||
* Operation result status, always present
|
||||
* @type {string}
|
||||
* @memberof RestDataResponseInitiatePaymentStatusOrderPaymentDto
|
||||
*/
|
||||
'status': RestDataResponseInitiatePaymentStatusOrderPaymentDtoStatusEnum;
|
||||
/**
|
||||
* Verbose reason of non-success result
|
||||
* @type {string}
|
||||
* @memberof RestDataResponseInitiatePaymentStatusOrderPaymentDto
|
||||
*/
|
||||
'message'?: string;
|
||||
/**
|
||||
*
|
||||
* @type {OrderPaymentDto}
|
||||
* @memberof RestDataResponseInitiatePaymentStatusOrderPaymentDto
|
||||
*/
|
||||
'data'?: OrderPaymentDto;
|
||||
}
|
||||
|
||||
export const RestDataResponseInitiatePaymentStatusOrderPaymentDtoStatusEnum = {
|
||||
Success: 'SUCCESS',
|
||||
NotActiveOrder: 'NOT_ACTIVE_ORDER',
|
||||
AccessDenied: 'ACCESS_DENIED',
|
||||
PayerIsNotOrderCustomer: 'PAYER_IS_NOT_ORDER_CUSTOMER',
|
||||
TelegramBotUsernameMismatch: 'TELEGRAM_BOT_USERNAME_MISMATCH'
|
||||
} as const;
|
||||
|
||||
export type RestDataResponseInitiatePaymentStatusOrderPaymentDtoStatusEnum = typeof RestDataResponseInitiatePaymentStatusOrderPaymentDtoStatusEnum[keyof typeof RestDataResponseInitiatePaymentStatusOrderPaymentDtoStatusEnum];
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RestResponseProceedPaymentStatus
|
||||
*/
|
||||
export interface RestResponseProceedPaymentStatus {
|
||||
/**
|
||||
* Operation result status, always present
|
||||
* @type {string}
|
||||
* @memberof RestResponseProceedPaymentStatus
|
||||
*/
|
||||
'status': RestResponseProceedPaymentStatusStatusEnum;
|
||||
/**
|
||||
* Verbose reason of non-success result
|
||||
* @type {string}
|
||||
* @memberof RestResponseProceedPaymentStatus
|
||||
*/
|
||||
'message'?: string;
|
||||
}
|
||||
|
||||
export const RestResponseProceedPaymentStatusStatusEnum = {
|
||||
Success: 'SUCCESS',
|
||||
Unknown: 'UNKNOWN',
|
||||
Expired: 'EXPIRED',
|
||||
Failed: 'FAILED',
|
||||
AccessDenied: 'ACCESS_DENIED',
|
||||
PayerIsNotOrderCustomer: 'PAYER_IS_NOT_ORDER_CUSTOMER',
|
||||
TelegramBotUsernameMismatch: 'TELEGRAM_BOT_USERNAME_MISMATCH'
|
||||
} as const;
|
||||
|
||||
export type RestResponseProceedPaymentStatusStatusEnum = typeof RestResponseProceedPaymentStatusStatusEnum[keyof typeof RestResponseProceedPaymentStatusStatusEnum];
|
||||
|
||||
|
||||
/**
|
||||
* PaymentApi - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const PaymentApiAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @param {string} paymentId
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPayment: async (paymentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'paymentId' is not null or undefined
|
||||
assertParamExists('getPayment', 'paymentId', paymentId)
|
||||
const localVarPath = `/wpay/public-api/v1/payment/get`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
if (paymentId !== undefined) {
|
||||
localVarQueryParameter['payment-id'] = paymentId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @param {InitiatePaymentRestRequest} initiatePaymentRestRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
initiatePayment: async (initiatePaymentRestRequest: InitiatePaymentRestRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'initiatePaymentRestRequest' is not null or undefined
|
||||
assertParamExists('initiatePayment', 'initiatePaymentRestRequest', initiatePaymentRestRequest)
|
||||
const localVarPath = `/wpay/public-api/v1/payment/initiate`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
localVarHeaderParameter['Content-Type'] = 'application/json';
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(initiatePaymentRestRequest, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @param {ProceedPaymentRestRequest} proceedPaymentRestRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
proceedPayment: async (proceedPaymentRestRequest: ProceedPaymentRestRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'proceedPaymentRestRequest' is not null or undefined
|
||||
assertParamExists('proceedPayment', 'proceedPaymentRestRequest', proceedPaymentRestRequest)
|
||||
const localVarPath = `/wpay/public-api/v1/payment/pay`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
let baseOptions;
|
||||
if (configuration) {
|
||||
baseOptions = configuration.baseOptions;
|
||||
}
|
||||
|
||||
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
|
||||
|
||||
localVarHeaderParameter['Content-Type'] = 'application/json';
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(proceedPaymentRestRequest, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* PaymentApi - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const PaymentApiFp = function(configuration?: Configuration) {
|
||||
const localVarAxiosParamCreator = PaymentApiAxiosParamCreator(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @param {string} paymentId
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getPayment(paymentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestDataResponseGetPaymentStatusPaymentDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getPayment(paymentId, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @param {InitiatePaymentRestRequest} initiatePaymentRestRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async initiatePayment(initiatePaymentRestRequest: InitiatePaymentRestRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestDataResponseInitiatePaymentStatusOrderPaymentDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.initiatePayment(initiatePaymentRestRequest, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @param {ProceedPaymentRestRequest} proceedPaymentRestRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async proceedPayment(proceedPaymentRestRequest: ProceedPaymentRestRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestResponseProceedPaymentStatus>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.proceedPayment(proceedPaymentRestRequest, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* PaymentApi - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const PaymentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
const localVarFp = PaymentApiFp(configuration)
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @param {string} paymentId
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPayment(paymentId: string, options?: any): AxiosPromise<RestDataResponseGetPaymentStatusPaymentDto> {
|
||||
return localVarFp.getPayment(paymentId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @param {InitiatePaymentRestRequest} initiatePaymentRestRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
initiatePayment(initiatePaymentRestRequest: InitiatePaymentRestRequest, options?: any): AxiosPromise<RestDataResponseInitiatePaymentStatusOrderPaymentDto> {
|
||||
return localVarFp.initiatePayment(initiatePaymentRestRequest, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @param {ProceedPaymentRestRequest} proceedPaymentRestRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
proceedPayment(proceedPaymentRestRequest: ProceedPaymentRestRequest, options?: any): AxiosPromise<RestResponseProceedPaymentStatus> {
|
||||
return localVarFp.proceedPayment(proceedPaymentRestRequest, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* PaymentApi - object-oriented interface
|
||||
* @export
|
||||
* @class PaymentApi
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class PaymentApi extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @param {string} paymentId
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof PaymentApi
|
||||
*/
|
||||
public getPayment(paymentId: string, options?: AxiosRequestConfig) {
|
||||
return PaymentApiFp(this.configuration).getPayment(paymentId, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {InitiatePaymentRestRequest} initiatePaymentRestRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof PaymentApi
|
||||
*/
|
||||
public initiatePayment(initiatePaymentRestRequest: InitiatePaymentRestRequest, options?: AxiosRequestConfig) {
|
||||
return PaymentApiFp(this.configuration).initiatePayment(initiatePaymentRestRequest, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {ProceedPaymentRestRequest} proceedPaymentRestRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof PaymentApi
|
||||
*/
|
||||
public proceedPayment(proceedPaymentRestRequest: ProceedPaymentRestRequest, options?: AxiosRequestConfig) {
|
||||
return PaymentApiFp(this.configuration).proceedPayment(proceedPaymentRestRequest, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
|
71
data/mini_app/wallet/src/api/wpay/generated/base.ts
Normal file
71
data/mini_app/wallet/src/api/wpay/generated/base.ts
Normal file
|
@ -0,0 +1,71 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Wallet-Pay
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: DEVELOPMENT
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
import { Configuration } from "./configuration";
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
||||
|
||||
export const BASE_PATH = "http://localhost:17005".replace(/\/+$/, "");
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const COLLECTION_FORMATS = {
|
||||
csv: ",",
|
||||
ssv: " ",
|
||||
tsv: "\t",
|
||||
pipes: "|",
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RequestArgs
|
||||
*/
|
||||
export interface RequestArgs {
|
||||
url: string;
|
||||
options: AxiosRequestConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class BaseAPI
|
||||
*/
|
||||
export class BaseAPI {
|
||||
protected configuration: Configuration | undefined;
|
||||
|
||||
constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
|
||||
if (configuration) {
|
||||
this.configuration = configuration;
|
||||
this.basePath = configuration.basePath || this.basePath;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class RequiredError
|
||||
* @extends {Error}
|
||||
*/
|
||||
export class RequiredError extends Error {
|
||||
name: "RequiredError" = "RequiredError";
|
||||
constructor(public field: string, msg?: string) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
148
data/mini_app/wallet/src/api/wpay/generated/common.ts
Normal file
148
data/mini_app/wallet/src/api/wpay/generated/common.ts
Normal file
|
@ -0,0 +1,148 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Wallet-Pay
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: DEVELOPMENT
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
import { Configuration } from "./configuration";
|
||||
import { RequiredError, RequestArgs } from "./base";
|
||||
import { AxiosInstance, AxiosResponse } from 'axios';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const DUMMY_BASE_URL = 'https://example.com'
|
||||
|
||||
/**
|
||||
*
|
||||
* @throws {RequiredError}
|
||||
* @export
|
||||
*/
|
||||
export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
|
||||
if (paramValue === null || paramValue === undefined) {
|
||||
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
|
||||
if (configuration && configuration.apiKey) {
|
||||
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
||||
? await configuration.apiKey(keyParamName)
|
||||
: await configuration.apiKey;
|
||||
object[keyParamName] = localVarApiKeyValue;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
|
||||
if (configuration && (configuration.username || configuration.password)) {
|
||||
object["auth"] = { username: configuration.username, password: configuration.password };
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
|
||||
if (configuration && configuration.accessToken) {
|
||||
const accessToken = typeof configuration.accessToken === 'function'
|
||||
? await configuration.accessToken()
|
||||
: await configuration.accessToken;
|
||||
object["Authorization"] = "Bearer " + accessToken;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
|
||||
if (configuration && configuration.accessToken) {
|
||||
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
||||
? await configuration.accessToken(name, scopes)
|
||||
: await configuration.accessToken;
|
||||
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
||||
}
|
||||
}
|
||||
|
||||
function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
|
||||
if (typeof parameter === "object") {
|
||||
if (Array.isArray(parameter)) {
|
||||
(parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
||||
}
|
||||
else {
|
||||
Object.keys(parameter).forEach(currentKey =>
|
||||
setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)
|
||||
);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (urlSearchParams.has(key)) {
|
||||
urlSearchParams.append(key, parameter);
|
||||
}
|
||||
else {
|
||||
urlSearchParams.set(key, parameter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const setSearchParams = function (url: URL, ...objects: any[]) {
|
||||
const searchParams = new URLSearchParams(url.search);
|
||||
setFlattenedQueryParams(searchParams, objects);
|
||||
url.search = searchParams.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
|
||||
const nonString = typeof value !== 'string';
|
||||
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
||||
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
||||
: nonString;
|
||||
return needsSerialization
|
||||
? JSON.stringify(value !== undefined ? value : {})
|
||||
: (value || "");
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const toPathString = function (url: URL) {
|
||||
return url.pathname + url.search + url.hash
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
||||
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url};
|
||||
return axios.request<T, R>(axiosRequestArgs);
|
||||
};
|
||||
}
|
37
data/mini_app/wallet/src/api/wpay/index.ts
Normal file
37
data/mini_app/wallet/src/api/wpay/index.ts
Normal file
|
@ -0,0 +1,37 @@
|
|||
import { captureException } from '@sentry/react';
|
||||
import axios from 'axios';
|
||||
|
||||
import { interceptors } from 'api/interceptors';
|
||||
|
||||
import { config as appConfig } from 'config';
|
||||
|
||||
import { PaymentApi } from './generated';
|
||||
|
||||
const axiosInstance = axios.create();
|
||||
|
||||
const config = {
|
||||
basePath: `https://${appConfig.apiHost}`,
|
||||
isJsonMime: () => false,
|
||||
};
|
||||
|
||||
const API = {
|
||||
Payment: new PaymentApi(config, '', axiosInstance),
|
||||
};
|
||||
|
||||
const { onRequest, onResponseError } = interceptors({
|
||||
customErrorHandler: (error) => {
|
||||
if (error?.response?.status && error.response.status >= 400) {
|
||||
captureException(
|
||||
`WPay API error. URL: ${error.config.url}. STATUS: ${error.response.status}`,
|
||||
);
|
||||
}
|
||||
return Promise.reject(error);
|
||||
},
|
||||
});
|
||||
|
||||
axiosInstance.interceptors.request.use(onRequest);
|
||||
axiosInstance.interceptors.response.use(undefined, (error) =>
|
||||
onResponseError(error, axiosInstance),
|
||||
);
|
||||
|
||||
export default API;
|
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"root":"Uqr5"};
|
|
@ -0,0 +1,24 @@
|
|||
import classNames from 'classnames';
|
||||
import { FC } from 'react';
|
||||
|
||||
import styles from './AvatarSkeleton.module.scss';
|
||||
|
||||
export interface AvatarProps {
|
||||
size?: number;
|
||||
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const AvatarSkeleton: FC<AvatarProps> = ({ size = 40, className }) => {
|
||||
return (
|
||||
<div
|
||||
className={classNames(styles.root, className)}
|
||||
style={{
|
||||
width: size,
|
||||
height: size,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export { AvatarSkeleton };
|
|
@ -0,0 +1,67 @@
|
|||
import classNames from 'classnames';
|
||||
import Lottie, { LottieRefCurrentProps } from 'lottie-react';
|
||||
import { FC, useEffect, useRef } from 'react';
|
||||
|
||||
import { useTheme } from 'hooks/utils/useTheme';
|
||||
|
||||
import { useDidUpdate } from '../../hooks/utils/useDidUpdate';
|
||||
import styles from './Checkmark.module.scss';
|
||||
import CheckmarkFallback from './CheckmarkFallback';
|
||||
import CheckboxAndroidAnimationData from './checkbox_android.json';
|
||||
import CheckboxIosAnimationData from './checkbox_ios.json';
|
||||
import RadioAndroidAnimationData from './radio_android.json';
|
||||
import RadioIosAnimationData from './radio_ios.json';
|
||||
|
||||
const CheckmarkLottie: FC<{
|
||||
checked?: boolean;
|
||||
mode?: 'radio' | 'checkbox';
|
||||
}> = ({ checked, mode = 'radio' }) => {
|
||||
const { theme, themeClassName } = useTheme(styles);
|
||||
const ref = useRef<LottieRefCurrentProps>(null);
|
||||
|
||||
useDidUpdate(() => {
|
||||
if (checked) {
|
||||
ref.current?.goToAndPlay(3, true);
|
||||
} else {
|
||||
ref.current?.stop();
|
||||
}
|
||||
}, [checked]);
|
||||
|
||||
useEffect(() => {
|
||||
if (checked) {
|
||||
ref.current?.goToAndStop(29, true);
|
||||
}
|
||||
}, []);
|
||||
|
||||
let data;
|
||||
|
||||
if (theme === 'material') {
|
||||
data =
|
||||
mode === 'radio'
|
||||
? RadioAndroidAnimationData
|
||||
: CheckboxAndroidAnimationData;
|
||||
} else {
|
||||
data = mode === 'radio' ? RadioIosAnimationData : CheckboxIosAnimationData;
|
||||
}
|
||||
|
||||
if (!checked) {
|
||||
return <CheckmarkFallback checked={checked} mode={mode} />;
|
||||
}
|
||||
|
||||
return (
|
||||
<Lottie
|
||||
autoplay={false}
|
||||
className={classNames(
|
||||
themeClassName('root'),
|
||||
styles[mode],
|
||||
checked && styles.checked,
|
||||
)}
|
||||
lottieRef={ref}
|
||||
loop={false}
|
||||
alt="radio"
|
||||
animationData={data}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default CheckmarkLottie;
|
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"root":"anCB","text":"LTVr"};
|
|
@ -0,0 +1,19 @@
|
|||
import classNames from 'classnames';
|
||||
import { ComponentProps, forwardRef } from 'react';
|
||||
|
||||
import styles from './CroppingText.module.scss';
|
||||
|
||||
type Props = {
|
||||
value: string;
|
||||
languageCode: string;
|
||||
} & ComponentProps<'div'>;
|
||||
|
||||
export const CroppingText = forwardRef<HTMLDivElement, Props>(
|
||||
({ value, children, className, ...props }, ref) => {
|
||||
return (
|
||||
<div className={classNames(styles.root, className)} ref={ref} {...props}>
|
||||
<div className={styles.text}>{value}</div> {children}
|
||||
</div>
|
||||
);
|
||||
},
|
||||
);
|
|
@ -0,0 +1,111 @@
|
|||
import { forwardRef } from 'react';
|
||||
|
||||
import { FiatCurrency } from 'api/wallet/generated';
|
||||
|
||||
import { ReactComponent as AedLogo } from './icons/AED.svg';
|
||||
import { ReactComponent as AmdLogo } from './icons/AMD.svg';
|
||||
import { ReactComponent as ArsLogo } from './icons/ARS.svg';
|
||||
import { ReactComponent as AudLogo } from './icons/AUD.svg';
|
||||
import { ReactComponent as AznLogo } from './icons/AZN.svg';
|
||||
import { ReactComponent as BgnLogo } from './icons/BGN.svg';
|
||||
import { ReactComponent as BrlLogo } from './icons/BRL.svg';
|
||||
import { ReactComponent as BynLogo } from './icons/BYN.svg';
|
||||
import { ReactComponent as CadLogo } from './icons/CAD.svg';
|
||||
import { ReactComponent as ChfLogo } from './icons/CHF.svg';
|
||||
import { ReactComponent as ClpLogo } from './icons/CLP.svg';
|
||||
import { ReactComponent as CopLogo } from './icons/COP.svg';
|
||||
import { ReactComponent as EgpLogo } from './icons/EGP.svg';
|
||||
import { ReactComponent as EurLogo } from './icons/EUR.svg';
|
||||
import { ReactComponent as GbpLogo } from './icons/GBP.svg';
|
||||
import { ReactComponent as GelLogo } from './icons/GEL.svg';
|
||||
import { ReactComponent as GtqLogo } from './icons/GTQ.svg';
|
||||
import { ReactComponent as HkdLogo } from './icons/HKD.svg';
|
||||
import { ReactComponent as IdrLogo } from './icons/IDR.svg';
|
||||
import { ReactComponent as IlsLogo } from './icons/ILS.svg';
|
||||
import { ReactComponent as InrLogo } from './icons/INR.svg';
|
||||
import { ReactComponent as JpyLogo } from './icons/JPY.svg';
|
||||
import { ReactComponent as KrwLogo } from './icons/KRW.svg';
|
||||
import { ReactComponent as KztLogo } from './icons/KZT.svg';
|
||||
import { ReactComponent as MdlLogo } from './icons/MDL.svg';
|
||||
import { ReactComponent as MxnLogo } from './icons/MXN.svg';
|
||||
import { ReactComponent as MyrLogo } from './icons/MYR.svg';
|
||||
import { ReactComponent as NokLogo } from './icons/NOK.svg';
|
||||
import { ReactComponent as NzdLogo } from './icons/NZD.svg';
|
||||
import { ReactComponent as PlnLogo } from './icons/PLN.svg';
|
||||
import { ReactComponent as RonLogo } from './icons/RON.svg';
|
||||
import { ReactComponent as RsdLogo } from './icons/RSD.svg';
|
||||
import { ReactComponent as RubLogo } from './icons/RUB.svg';
|
||||
import { ReactComponent as SarLogo } from './icons/SAR.svg';
|
||||
import { ReactComponent as SekLogo } from './icons/SEK.svg';
|
||||
import { ReactComponent as SgdLogo } from './icons/SGD.svg';
|
||||
import { ReactComponent as TryLogo } from './icons/TRY.svg';
|
||||
import { ReactComponent as TwdLogo } from './icons/TWD.svg';
|
||||
import { ReactComponent as UahLogo } from './icons/UAH.svg';
|
||||
import { ReactComponent as UsdLogo } from './icons/USD.svg';
|
||||
import { ReactComponent as DefaultLogo } from './icons/default.svg';
|
||||
|
||||
const CURRENCY_TO_FLAG: Record<
|
||||
FiatCurrency,
|
||||
React.FC<React.SVGProps<SVGSVGElement>>
|
||||
> = {
|
||||
USD: UsdLogo,
|
||||
EUR: EurLogo,
|
||||
GBP: GbpLogo,
|
||||
RUB: RubLogo,
|
||||
UAH: UahLogo,
|
||||
TRY: TryLogo,
|
||||
AED: AedLogo,
|
||||
KZT: KztLogo,
|
||||
BYN: BynLogo,
|
||||
ILS: IlsLogo,
|
||||
GEL: GelLogo,
|
||||
HKD: HkdLogo,
|
||||
TWD: TwdLogo,
|
||||
KRW: KrwLogo,
|
||||
INR: InrLogo,
|
||||
CAD: CadLogo,
|
||||
AMD: AmdLogo,
|
||||
AUD: AudLogo,
|
||||
PLN: PlnLogo,
|
||||
COP: CopLogo,
|
||||
BRL: BrlLogo,
|
||||
CHF: ChfLogo,
|
||||
MXN: MxnLogo,
|
||||
ARS: ArsLogo,
|
||||
SGD: SgdLogo,
|
||||
SAR: SarLogo,
|
||||
JPY: JpyLogo,
|
||||
RON: RonLogo,
|
||||
SEK: SekLogo,
|
||||
AZN: AznLogo,
|
||||
RSD: RsdLogo,
|
||||
IDR: IdrLogo,
|
||||
NOK: NokLogo,
|
||||
MYR: MyrLogo,
|
||||
BGN: BgnLogo,
|
||||
EGP: EgpLogo,
|
||||
GTQ: GtqLogo,
|
||||
CLP: ClpLogo,
|
||||
NZD: NzdLogo,
|
||||
MDL: MdlLogo,
|
||||
BDT: DefaultLogo,
|
||||
KGS: DefaultLogo,
|
||||
THB: DefaultLogo,
|
||||
UZS: DefaultLogo,
|
||||
VND: DefaultLogo,
|
||||
} as const;
|
||||
|
||||
const FlagIcon = forwardRef<
|
||||
SVGSVGElement,
|
||||
{
|
||||
currency: FiatCurrency;
|
||||
}
|
||||
>(({ currency, ...props }, ref) => {
|
||||
const Component = CURRENCY_TO_FLAG[currency];
|
||||
|
||||
if (!Component) return null;
|
||||
|
||||
return <Component ref={ref} {...props} />;
|
||||
});
|
||||
|
||||
export default FlagIcon;
|
|
@ -0,0 +1,40 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgAed = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M49.23 0H13.847v13.846h41.539V6.154A6.154 6.154 0 0 0 49.23 0Z",
|
||||
fill: "#068241"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M13.846 13.846h41.539v12.308H13.846V13.846Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M13.846 40h35.385a6.154 6.154 0 0 0 6.154-6.154v-7.692H13.846V40Z",
|
||||
fill: "#141414"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M6.154 0A6.154 6.154 0 0 0 0 6.154v27.692A6.154 6.154 0 0 0 6.154 40h7.692V0H6.154Z",
|
||||
fill: "#EC2028"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgAed);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,37 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgAmd = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H-1.538a6.154 6.154 0 0 0-6.154 6.154v6.154h55.384V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#D90012"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-1.538 40h43.077a6.154 6.154 0 0 0 6.153-6.154v-6.154H-7.692v6.154A6.154 6.154 0 0 0-1.538 40Z",
|
||||
fill: "#F2A800"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.692 12.308h55.384v15.384H-7.692V12.308Z",
|
||||
fill: "#0033A0"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgAmd);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,55 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgArs = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.692 33.846A6.154 6.154 0 0 1 41.538 40H-1.538a6.154 6.154 0 0 1-6.154-6.154V6.154A6.154 6.154 0 0 1-1.538 0h43.077a6.154 6.154 0 0 1 6.153 6.154v27.692Z",
|
||||
fill: "#75AADB"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.692 12.308h55.384v15.384H-7.692V12.308Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m20 12.308.75 3.92 2.195-3.334-.808 3.908 3.302-2.242-2.242 3.303 3.91-.806-3.335 2.192 3.92.751-3.92.75 3.334 2.195-3.91-.808 2.242 3.301-3.301-2.241.808 3.91-2.194-3.335-.751 3.92-.75-3.92-2.193 3.334.806-3.91-3.303 2.242 2.242-3.301-3.908.808 3.334-2.194-3.92-.751 3.92-.75-3.334-2.193 3.908.806-2.242-3.303 3.303 2.242-.806-3.908 2.192 3.334.751-3.92Z",
|
||||
fill: "#FCBF49"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m20 14.354.372 1.946.179.93.521-.79 1.09-1.655-.402 1.94-.192.929.784-.532 1.64-1.113-1.112 1.64-.532.785.927-.193 1.942-.4-1.655 1.09-.793.518.931.179 1.946.372-1.946.372-.93.179.79.521 1.655 1.09-1.941-.402-.93-.192.533.784 1.112 1.639-1.638-1.113-.785-.532.193.93.401 1.94-1.09-1.655-.52-.792-.178.931L20 25.646l-.372-1.946-.179-.93-.521.791-1.09 1.656.4-1.942.193-.927-.785.532-1.64 1.112 1.113-1.64.532-.784-.93.192-1.94.401 1.656-1.089.79-.521-.93-.179L14.354 20l1.946-.372.93-.179-.791-.521-1.656-1.09 1.94.4.928.193-.532-.785-1.114-1.64 1.64 1.114.784.532-.192-.927-.4-1.94 1.09 1.655.52.792.18-.93.373-1.948Zm0-2.046-.75 3.92-2.193-3.334.806 3.91-3.303-2.242 2.242 3.303-3.908-.807 3.334 2.193-3.92.749 3.92.75-3.334 2.195 3.908-.808-2.242 3.301 3.303-2.241-.806 3.91 2.192-3.335.751 3.92.75-3.92 2.195 3.334-.808-3.91 3.302 2.242-2.242-3.301 3.91.808-3.335-2.194 3.92-.751-3.92-.75 3.334-2.193-3.91.806 2.242-3.303-3.301 2.242.808-3.91-2.194 3.334L20 12.308Z",
|
||||
fill: "#843511"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M20 23.077a3.077 3.077 0 1 0 0-6.154 3.077 3.077 0 0 0 0 6.154Z",
|
||||
fill: "#FCBF49"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M20 23.27A3.272 3.272 0 0 1 16.73 20 3.272 3.272 0 0 1 20 16.73 3.272 3.272 0 0 1 23.27 20 3.272 3.272 0 0 1 20 23.27Zm0-6.155A2.888 2.888 0 0 0 17.115 20 2.888 2.888 0 0 0 20 22.885 2.888 2.888 0 0 0 22.885 20 2.888 2.888 0 0 0 20 17.115Z",
|
||||
fill: "#843511"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M19.694 19.652c0 .239-.402.431-.897.431-.497 0-.899-.192-.899-.43 0-.24.402-.431.899-.431.495 0 .897.192.897.43Zm2.39-.037c0-.247-.41-.449-.915-.449-.504 0-.914.2-.914.45 0 .249.41.449.914.449.506 0 .914-.202.914-.45Z",
|
||||
fill: "#C16540"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M19.174 21.345c0-.194.378-.353.843-.353.466 0 .843.157.843.353 0 .193-.378.352-.843.352-.466 0-.843-.159-.843-.352Z",
|
||||
fill: "#ED8662"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgArs);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,49 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgAud = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.23 0H-1.845c-.316 0-.626.023-.93.07l-.006 2.698-4.2-.006A6.13 6.13 0 0 0-8 6.154v27.692A6.154 6.154 0 0 0-1.846 40H41.23a6.154 6.154 0 0 0 6.154-6.154V6.154A6.154 6.154 0 0 0 41.23 0Z",
|
||||
fill: "#00247D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m5.846 32.343-1.88 1.737.186-2.554-2.53-.386 2.112-1.446-1.276-2.22 2.448.75.94-2.383.942 2.384 2.447-.751-1.277 2.22 2.114 1.446-2.53.386.186 2.554-1.882-1.737ZM35 7.018l-1.23 1.136.122-1.67-1.657-.253 1.383-.946-.833-1.453 1.6.491L35 2.765l.617 1.558 1.602-.49-.836 1.452 1.382.946-1.656.252.122 1.67L35 7.019Zm-6.154 9.231-1.23 1.137.122-1.67-1.657-.253 1.384-.948-.834-1.452 1.6.49.615-1.558.617 1.559 1.602-.49-.836 1.451 1.382.948-1.656.252.122 1.671-1.23-1.137Zm13.846-3.077-1.229 1.137.122-1.67-1.657-.253 1.383-.947-.834-1.453 1.6.49.615-1.558.617 1.559 1.602-.49-.836 1.451 1.382.948-1.656.253.122 1.67-1.23-1.137ZM35 34.711l-1.23 1.137.122-1.671-1.657-.252 1.383-.948-.833-1.452 1.6.49.615-1.558.617 1.558 1.602-.49-.836 1.452 1.382.948-1.656.252.122 1.67L35 34.712Zm4.692-17.788.453.917 1.01.146-.73.712.172 1.008-.905-.475-.904.475.172-1.008-.73-.712 1.01-.146.452-.917Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M21.23 20V0H-1.845c-.492 0-.93.07-.93.07l-.006 2.698-4.2-.006s-.064.09-.195.315A6.136 6.136 0 0 0-8 6.154V20h29.23Z",
|
||||
fill: "#00247D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M21.23 0h-3.585L10.46 5.03V0H2.77v3.952L-2.775.07c-.945.145-1.831.5-2.573 1.023l7.234 5.062h-2.67L-6.513 2.14c-.17.198-.325.403-.47.622l4.848 3.392H-8v7.692h5.977L-8 18.102V20h5.126l5.643-3.95V20h7.692v-5.03L17.643 20h3.588v-3.122L16.9 13.846h4.33V6.154h-4.329l4.33-3.032V0Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M8.923 0H4.308v7.692H-8v4.616H4.308V20h4.615v-7.692h12.308V7.692H8.923V0Z",
|
||||
fill: "#CF1B2B"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M21.23 0h-2.247l-8.522 5.968v.186h2.418L21.23.304V0ZM-5.347 1.092c-.432.3-.821.651-1.164 1.048l5.727 4.014h2.67l-7.233-5.062Zm7.251 12.754L-6.87 20h2.657l6.983-4.89v-1.264h-.866Zm19.328 5.85v-1.878l-5.673-3.972h-2.681l8.354 5.85Z",
|
||||
fill: "#CF1B2B"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-8)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgAud);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,46 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgAzn = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.692 12.308h55.384v15.384H-7.692V12.308Z",
|
||||
fill: "#E00034"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H-1.538a6.154 6.154 0 0 0-6.154 6.154v6.154h55.384V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#0098C3"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M19.76 25.128a5.127 5.127 0 1 1 3.808-8.562 6.154 6.154 0 1 0 .002 6.868 5.115 5.115 0 0 1-3.81 1.694Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m28.718 19.997-1.84-.652.837-1.764-1.763.839-.655-1.839-.652 1.84-.005-.002-1.76-.834.84 1.763-1.84.655 1.84.652-.837 1.764 1.756-.836.007-.003.655 1.839.653-1.84 1.764.836-.84-1.763 1.84-.655Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-1.538 40h43.076a6.154 6.154 0 0 0 6.154-6.154v-6.154H-7.692v6.154A6.154 6.154 0 0 0-1.538 40Z",
|
||||
fill: "#00AE65"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgAzn);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,40 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgBgn = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H-1.538a6.154 6.154 0 0 0-6.154 6.154v7.692h55.384V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.692 33.846A6.154 6.154 0 0 0-1.538 40h43.077a6.154 6.154 0 0 0 6.153-6.154v-7.692H-7.692v7.692Z",
|
||||
fill: "#D62612"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.692 13.846h55.384v12.308H-7.692V13.846Z",
|
||||
fill: "#00966E"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgBgn);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,52 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgBrl = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.692 33.846A6.154 6.154 0 0 1 41.538 40H-1.538a6.154 6.154 0 0 1-6.154-6.154V6.154A6.154 6.154 0 0 1-1.538 0h43.077a6.154 6.154 0 0 1 6.153 6.154v27.692Z",
|
||||
fill: "#009B3A"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M42.658 20 20 37.114-2.658 20 20 2.885 42.658 20Z",
|
||||
fill: "#FEDF01"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M19.963 29.819c5.487 0 9.935-4.449 9.935-9.936s-4.448-9.935-9.935-9.935-9.935 4.448-9.935 9.935 4.448 9.936 9.935 9.936Z",
|
||||
fill: "#002776"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M11.195 15.21a9.855 9.855 0 0 0-1.034 3.113c6.147-.446 14.488 2.91 18.068 7.07a9.954 9.954 0 0 0 1.359-3.084c-4.419-4.32-12.18-7.123-18.393-7.098Z",
|
||||
fill: "#CBE9D4"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M10.77 20.358h1.538v1.539h-1.539v-1.538Zm1.538 3.077h1.538v1.539h-1.538v-1.539Z",
|
||||
fill: "#88C9F9"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M15.385 20.358h1.538v1.539h-1.538v-1.538Zm3.077 1.539H20v1.538h-1.538v-1.538Zm6.153 3.077h1.539v1.538h-1.539v-1.538ZM20 26.512h1.538v1.539H20v-1.539Zm4.615-9.23h1.539v1.538h-1.539v-1.538Z",
|
||||
fill: "#55ACEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M21.538 23.435h1.539v1.539h-1.539v-1.539Z",
|
||||
fill: "#3B88C3"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgBrl);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,46 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgByn = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M9.23 40h40a6.154 6.154 0 0 0 6.155-6.154v-6.154H9.23V40Z",
|
||||
fill: "#4AA657"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M49.23 0h-40v27.692h46.155V6.154A6.154 6.154 0 0 0 49.23 0Z",
|
||||
fill: "#C8313E"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M6.154 0A6.154 6.154 0 0 0 0 6.154v27.692A6.154 6.154 0 0 0 6.154 40H9.23V0H6.154Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m1.178 37.212.962-1.706.986 1.755-.834 1.34c.263.214.54.405.837.573l1.219-2.21-2.185-3.502-1.718 2.655a6.14 6.14 0 0 0 1.201 1.892l-.468-.797Zm8.024-.14-2.304-3.418-2.31 3.34L6.566 40h.996l1.64-2.928Zm-2.236-1.567.986 1.755-.986 1.586-.961-1.634.961-1.707Zm2.265-14.993v-1.375l-.482.67.482.705ZM4.346 3.117 2.971.91A6.132 6.132 0 0 0 .378 4.095l1.977 2.636 1.991-3.614Zm-3.168.25L2.14 1.66l.986 1.755L2.14 5l-.962-1.634ZM7.103 6.97l2.099-3.746L7.029 0h-.263L4.59 3.148 7.103 6.97Zm.848-3.557L6.966 5l-.961-1.634.961-1.706.985 1.754Z",
|
||||
fill: "#C8313E"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m7.62 15.385 1.346-2.236.265.117v-.958L7.068 8.942 4.47 12.548 2.163 8.846 0 12.19v1l1.322 2.196.936-1.371-.672-.937.505-.674 1.466 1.899-2.163 3.556L0 15.94v2.39l.09-.12 1.465 1.9L0 22.67v1.81l1.394-1.92 2.163 3.557-1.215 1.575-.251.325-.243-.325-.262-.349.674-.937-.937-1.37L0 27.231v.885l2.212 3.374 2.154-3.799.082-.144.089.144 2.483 4.014 2.21-3.918v-.602l-.192.086-1.346-2.237-.938 1.371.674.937-.262.35-.243.324-.25-.325-1.216-1.573L7.62 22.56l1.61 2.218V23.02l-1.78-2.926 1.467-1.898.314.418v-3.072l-1.683 2.319-2.163-3.559 1.466-1.898.504.672-.673.937.938 1.37Zm-1.028 3.124v2.966l-2.146 3.39-2.021-3.403v-2.936l2.021-3.405 2.146 3.388Z",
|
||||
fill: "#C8313E"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m3.125 18.19.92 1.678-.92 1.678.673.37.685-1.248.685 1.247.674-.369-.92-1.678.92-1.679-.674-.369-.685 1.248-.685-1.248-.673.37ZM.04 32.596l.962 1.634.986-1.586-.986-1.756-.962 1.708Zm2.332 0 .962 1.634.984-1.586-.984-1.756-.962 1.708Zm2.283 0 .962 1.634.986-1.586-.986-1.756-.962 1.708Zm2.45 0 .961 1.634.985-1.586-.985-1.756-.961 1.708ZM.04 7.885l.962 1.635.986-1.588-.986-1.754L.04 7.885Zm2.332 0 .962 1.635.984-1.588-.984-1.754-.962 1.707Zm2.283 0 .962 1.635.986-1.588-.986-1.754-.962 1.707Zm2.45 0 .961 1.635.985-1.588-.985-1.754-.961 1.707Z",
|
||||
fill: "#C8313E"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgByn);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,32 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgCad = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-2.167 0A6.334 6.334 0 0 0-8.5 6.333v28.5a6.334 6.334 0 0 0 6.333 6.334h9.5V0h-9.5Zm44.334 0h-9.5v41.167h9.5a6.334 6.334 0 0 0 6.333-6.334v-28.5A6.334 6.334 0 0 0 42.167 0Z",
|
||||
fill: "#D52B1E"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M7.333 0h25.334v41.167H7.333V0Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M20.974 27.096c1.897.22 3.597.418 5.492.634l-.483-1.586a.727.727 0 0 1 .252-.754l5.509-4.487-1.14-.537c-.502-.178-.365-.462-.182-1.143l.84-3.065-3.2.676c-.312.047-.519-.15-.567-.34l-.413-1.443-2.53 2.84c-.36.457-1.088.457-.861-.595l1.081-5.753-1.452.752c-.407.228-.814.266-1.04-.141l-2.003-3.746-2.003 3.746c-.228.407-.635.369-1.042.14l-1.45-.752 1.081 5.754c.228 1.052-.502 1.052-.86.596l-2.531-2.84-.412 1.443c-.047.19-.256.388-.568.34l-3.2-.675.84 3.065c.18.68.319.964-.183 1.143l-1.14.537 5.508 4.487c.219.17.33.475.25.754l-.482 1.586 5.494-.635c.168 0 .279.094.277.287l-.339 5.864h1.514l-.337-5.864c.003-.195.112-.288.28-.288Z",
|
||||
fill: "#D52B1E"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgCad);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,36 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgChf = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M40 33.846A6.154 6.154 0 0 1 33.846 40H6.154A6.154 6.154 0 0 1 0 33.846V6.154A6.154 6.154 0 0 1 6.154 0h27.692A6.154 6.154 0 0 1 40 6.154v27.692Z",
|
||||
fill: "#D32D27"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M30.77 17.02h-7.693V9.328h-6.154v7.692H9.231v6.057h7.692v7.79h6.154v-7.79h7.692V17.02Z",
|
||||
fill: "#fff"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
d: "M0 0h40v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgChf);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,42 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgClp = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M20 0H6.154A6.154 6.154 0 0 0 0 6.154V20h20V0Zm-7.174 14.295-2.895-2.103-2.896 2.103 1.107-3.403-2.896-2.104h3.579L9.93 5.385l1.106 3.403h3.578l-2.895 2.104 1.106 3.403Z",
|
||||
fill: "#1F429B"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M49.23 0H20v20h35.385V6.154A6.154 6.154 0 0 0 49.23 0Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M0 20v13.846A6.154 6.154 0 0 0 6.154 40H49.23a6.154 6.154 0 0 0 6.154-6.154V20H0Z",
|
||||
fill: "#D42D27"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M11.037 8.788 9.93 5.385 8.825 8.788H5.246l2.896 2.104-1.107 3.404 2.896-2.103 2.895 2.103-1.106-3.403 2.895-2.105h-3.578Z",
|
||||
fill: "#fff"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgClp);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,40 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgCop = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H-1.538a6.154 6.154 0 0 0-6.154 6.154V20h55.384V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#FBD116"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.692 20h55.384v10.77H-7.692V20Z",
|
||||
fill: "#22408C"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.692 33.846A6.154 6.154 0 0 0-1.538 40h43.077a6.154 6.154 0 0 0 6.153-6.154V30.77H-7.692v3.077Z",
|
||||
fill: "#CE2028"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgCop);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,61 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgEgp = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.692 33.846A6.154 6.154 0 0 1 41.538 40H-1.538a6.154 6.154 0 0 1-6.154-6.154V6.154A6.154 6.154 0 0 1-1.538 0h43.077a6.154 6.154 0 0 1 6.153 6.154v27.692Z",
|
||||
fill: "#141414"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.692 12.308h55.384v15.384H-7.692V12.308Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H-1.538a6.154 6.154 0 0 0-6.154 6.154v6.154h55.384V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#CE1225"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M15 25.48s.025.385.36.577c0 0-.095.29.265.457.36.168 1.658.432 3.918.432 2.26 0 3.534-.24 3.87-.409.338-.168.36-.552.36-.552s.36-.193.338-.433c-.025-.24-.505-.504-.505-.504s-.12-.313-.457-.433-1.418.53-3.486.433c-2.068-.096-3.244-.41-3.63-.385-.384.025-.552.41-.552.41s-.433.192-.481.407Z",
|
||||
fill: "#BF9300"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M15.265 25.457c-.02.143.289.457.289.457s0 .36.312.457c.313.097 1.586.337 3.654.312 2.068-.024 3.534-.145 3.701-.29.168-.144.313-.456.313-.456s.337-.24.312-.432c-.024-.193-.505-.313-.505-.313s-.135-.289-.295-.409c-.16-.12-1.194.48-3.406.48-2.165 0-3.414-.53-3.63-.505-.216.025-.36.433-.36.433s-.36.098-.385.266Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M24.398 16.13s-.047-1.13-1.081-.987c-1.034.145-1.106.65-2.212.77l-.228.02c-.166-.438-.302-1.072-.302-1.56 0-.72.217-1.033-.529-1.393-.744-.36-.89-.025-.89-.025s-.576-.289-.84-.072c-.265.217-.12.77 0 .602.12-.168.6.312.6.312.164.798-.3 1.663-.616 2.144-.11-.01-.197-.015-.32-.029-1.106-.12-1.178-.624-2.212-.769-1.034-.145-1.082.986-1.082.986l-.41 8.726.842-.649.005-.103 1.75-1.555.293-.293-.724 2.119s-1.107-.072-.794.817c0 0 .167-.505.457-.41.289.096 1.129.313 1.129.313l.29.457.36-.337 1.128-.048s.36.096.337.41a.686.686 0 0 0 .057-.436l.34-.023a.684.684 0 0 0 .053.46c-.025-.312.336-.41.336-.41l1.13.048.361.337.29-.457s.84-.216 1.127-.312c.288-.095.457.41.457.41.312-.89-.794-.818-.794-.818l-.69-2.02.193.194 1.751 1.556.005.103.841.649-.408-8.728Zm-4.78 5.289c-1.733-1.071-1.877-3.774-1.877-3.774s1.073-.056 1.851-.602c.702.623 1.899.552 1.899.552s-.082 2.714-1.872 3.824Zm3.963-5.625-1.466 1.394-.246.098c-.252.01-1.48.012-2.254-.675-.961.674-2.283.721-2.283.721l-.204-.081-1.623-1.457-.427.175c.019-.174.114-.564.644-.487.867.124 1.226.601 2.14.697l.258.026-.09.117c.14 0 .35-.042.504-.076l.174.017-.079.274c.123-.037.302-.143.448-.237l.4.038.09.127.305-.153.205-.02c.177.103.43.196.43.196l.047-.24c.217.144.577.144.577.144-.042-.034-.083-.12-.126-.194l.221-.023c.914-.095 1.27-.572 2.14-.697.53-.075.625.314.643.488l-.428-.172Z",
|
||||
fill: "#BF9300"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m19.038 21.37-.866 3.293-1.441-.288 1.49-4.23.817 1.226Zm1.076 0 .864 3.293 1.444-.288-1.491-4.23-.817 1.226Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M18.102 17.91s.12 1.393.744 2.475v-2.788s-.41.24-.744.312Zm3.004.047s-.12 1.394-.745 2.475v-2.787c-.001 0 .408.24.745.312Z",
|
||||
fill: "#BF9300"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M18.39 13.197s.167-.168.648.168c.313.218.59.384.59.384s.197-.208.486-.16c.29.048.127.45.175 1.29.048.841.385 1.201.385 1.201l-.41-.24.025.265-.457-.217-.217.312-.216-.337-.351.214-.106-.286-.41.217s.602-.745.65-1.563c.013-.245-.048-.794-.048-.794s-.383-.479-.745-.454Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M16.226 25.625c-.275.164-.168.264 0 .337.168.072 1.177.193 3.222.24 2.09.047 3.389-.193 3.557-.29.167-.095.192-.264-.096-.312-.289-.048-1.73.192-3.486.192-2.163.002-3.077-.24-3.197-.167Z",
|
||||
fill: "#BF9300"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgEgp);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,34 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgEur = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H-1.538a6.154 6.154 0 0 0-6.154 6.154v27.692A6.154 6.154 0 0 0-1.538 40h43.077a6.154 6.154 0 0 0 6.153-6.154V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#039"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m20.83 7.238 1.306-.949h-1.614l-.5-1.535-.499 1.535H17.91l1.306.95-.5 1.535 1.306-.95 1.306.95-.498-1.536Zm0 26.667 1.306-.95h-1.614l-.5-1.535-.499 1.535H17.91l1.306.95-.5 1.535 1.306-.95 1.306.95-.498-1.535ZM7.496 20.57l1.306-.95H7.188l-.499-1.535-.5 1.536H4.576l1.306.949-.499 1.535 1.306-.949 1.307.95-.499-1.536ZM9.2 13.978l1.306-.949H8.891l-.498-1.535-.499 1.535H6.28l1.306.95-.499 1.535 1.307-.95 1.306.95-.499-1.535Zm0 13.26 1.306-.949H8.891l-.498-1.535-.499 1.535H6.28l1.306.95-.499 1.535 1.307-.95 1.306.95-.499-1.536Zm4.963-18.213 1.306-.95h-1.615l-.498-1.535-.499 1.535h-1.615l1.306.95-.498 1.535 1.306-.95 1.306.95-.499-1.535Zm0 23.18 1.306-.95h-1.615l-.498-1.535-.499 1.535h-1.615l1.306.95-.498 1.535 1.306-.948 1.306.948-.499-1.535Zm18.34-11.634-1.306-.95h1.616l.498-1.535.5 1.536h1.614l-1.306.949.498 1.535-1.306-.949-1.306.95.498-1.536ZM30.8 13.978l-1.306-.949h1.616l.498-1.535.498 1.535h1.616l-1.306.95.498 1.535-1.306-.95-1.306.95.498-1.535Zm0 13.26-1.306-.949h1.616l.498-1.535.498 1.535h1.616l-1.306.95.498 1.535-1.306-.95-1.306.95.498-1.536ZM25.837 9.025l-1.306-.95h1.615l.499-1.535.498 1.535h1.616l-1.306.95.498 1.535-1.306-.95-1.306.95.498-1.535Zm0 23.18-1.306-.95h1.615l.499-1.535.498 1.535h1.616l-1.306.95.498 1.535-1.306-.948-1.306.948.498-1.535Z",
|
||||
fill: "#FC0"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgEur);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,40 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgGbp = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.5 6.245v6.063h8.658L-7.5 6.245ZM-.325 40H12.5v-8.98L-.325 40Zm28.21-8.979V40h12.823l-12.823-8.979ZM-7.5 27.692v6.063l8.662-6.063H-7.5ZM40.71 0H27.886v8.98L40.71 0Zm7.175 33.757v-6.065h-8.663l8.663 6.065Zm0-21.45V6.246l-8.66 6.063h8.66ZM12.5 0H-.325L12.5 8.98V0Z",
|
||||
fill: "#00247D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m31.177 27.692 14.941 10.463a6.119 6.119 0 0 0 1.524-2.69l-11.1-7.773h-5.365Zm-18.677 0H9.206l-14.94 10.462a6.14 6.14 0 0 0 2.982 1.67L12.5 29.143v-1.452Zm15.385-15.384h3.293l14.94-10.462a6.135 6.135 0 0 0-2.98-1.67l-15.253 10.68v1.452Zm-18.679 0L-5.734 1.846a6.145 6.145 0 0 0-1.524 2.69l11.1 7.772h5.364Z",
|
||||
fill: "#CF1B2B"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.885 24.615H24.808V40h3.077v-8.979L40.708 40h1.023c1.718 0 3.27-.71 4.387-1.845L31.177 27.692h5.364l11.1 7.773a6.054 6.054 0 0 0 .244-1.619v-.09l-8.663-6.064h8.663v-3.077Zm-55.385 0v3.077h8.662L-7.5 33.755v.091c0 1.679.675 3.197 1.766 4.308l14.94-10.462H12.5v1.451L-2.752 39.821c.452.108.92.179 1.406.179h1.021L12.5 31.02V40h3.077V24.615H-7.5ZM47.885 6.154a6.128 6.128 0 0 0-1.767-4.308l-14.94 10.462h-3.293v-1.451L43.138.177A6.156 6.156 0 0 0 41.731 0h-1.02L27.885 8.98V0h-3.077v15.385h23.077v-3.077h-8.66l8.66-6.063v-.091ZM12.5 0v8.98L-.325 0h-1.021c-1.72 0-3.27.71-4.388 1.846l14.94 10.462H3.842l-11.1-7.771A6.105 6.105 0 0 0-7.5 6.154v.09l8.658 6.064H-7.5v3.077h23.077V0H12.5Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M24.808 15.385V0h-9.231v15.385H-7.5v9.23h23.077V40h9.23V24.615h23.078v-9.23H24.808Z",
|
||||
fill: "#CF1B2B"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgGbp);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,58 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgGel = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.53 0H23.839v16.154h23.847v-10A6.154 6.154 0 0 0 41.53 0Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M23.838 0h-7.692v16.154H-7.7v7.692h23.846V40h7.692V23.846h23.847v-7.692H23.838V0Z",
|
||||
fill: "#E8112D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M36.785 7.054c.047-.959.16-1.914.34-2.862-.905.113-1.82.113-2.724 0 .18.946.293 1.903.34 2.862a20.892 20.892 0 0 1-2.861-.34c.112.904.112 1.82 0 2.723.946-.18 1.903-.292 2.862-.34-.048.958-.16 1.914-.34 2.862.904-.113 1.82-.113 2.723 0a20.865 20.865 0 0 1-.34-2.862c.958.048 1.913.16 2.861.34a11.047 11.047 0 0 1 0-2.723 20.42 20.42 0 0 1-2.861.34Z",
|
||||
fill: "#E8112D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M16.146 0H-1.546A6.154 6.154 0 0 0-7.7 6.154v10h23.846V0Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M5.246 7.054c.048-.959.16-1.914.34-2.862-.904.113-1.82.113-2.723 0 .18.946.292 1.903.34 2.862a20.89 20.89 0 0 1-2.861-.34c.112.904.112 1.82 0 2.723.946-.18 1.903-.292 2.861-.34-.048.958-.16 1.914-.34 2.862.905-.113 1.82-.113 2.723 0a20.864 20.864 0 0 1-.34-2.862c.959.048 1.914.16 2.862.34a11.046 11.046 0 0 1 0-2.723c-.948.181-1.903.294-2.862.34Z",
|
||||
fill: "#E8112D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.685 33.846v-10H23.838V40h17.693a6.154 6.154 0 0 0 6.154-6.154Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M36.785 32.946c.047.959.16 1.914.34 2.862a11.047 11.047 0 0 0-2.724 0c.18-.947.293-1.903.34-2.862-.958.048-1.913.16-2.861.34.112-.904.112-1.82 0-2.723.946.18 1.903.292 2.862.34a20.893 20.893 0 0 0-.34-2.861c.904.112 1.82.112 2.723 0-.18.946-.293 1.903-.34 2.861.958-.048 1.913-.16 2.861-.34-.112.905-.112 1.82 0 2.723a20.404 20.404 0 0 0-2.861-.34Z",
|
||||
fill: "#E8112D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M16.146 23.846H-7.7v10A6.154 6.154 0 0 0-1.546 40h17.692V23.846Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M5.246 32.946c.048.959.16 1.914.34 2.862a11.047 11.047 0 0 0-2.723 0c.18-.947.292-1.903.34-2.862-.958.048-1.914.16-2.861.34.112-.904.112-1.82 0-2.723.946.18 1.903.292 2.861.34a20.891 20.891 0 0 0-.34-2.861c.905.112 1.82.112 2.723 0-.18.946-.292 1.903-.34 2.861.959-.048 1.914-.16 2.862-.34-.113.905-.113 1.82 0 2.723a20.405 20.405 0 0 0-2.862-.34Z",
|
||||
fill: "#E8112D"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.7)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgGel);
|
||||
export { ForwardRef as ReactComponent };
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,38 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgHkd = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.385 33.846A6.154 6.154 0 0 1 41.23 40H-1.846A6.154 6.154 0 0 1-8 33.846V6.154A6.154 6.154 0 0 1-1.846 0H41.23a6.154 6.154 0 0 1 6.154 6.154v27.692Z",
|
||||
fill: "#DE2910"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M22.51 6.463c-.93-.483-1.984-.74-3.131-.477-1.394.32-3.094 1.766-3.557 3.446-.219.793-.402 1.493-.391 2.14.008.447.006 1.191.06 1.927.037.521.297 1.647.71 2.641l.025-.01c.227.756.974 1.928 1.707 2.89.84 1.103 1.497 1.6 1.629 1.599a.87.87 0 0 1-.25-.211c-.48-.602-.96-1.699-1.058-2.442-.19-1.45.055-2.5.457-3.76.1-.315.308-.406.445-.324.01.006.017.02.027.029.085.078.137.221.062.483-.193.674-.663 2.37-.413 3.572.231 1.11.56 1.77.95 2.239-.156-.311-.331-.911-.343-1.53-.006-.344-.036-.686.137-.995.289-.518.71-.797 1.198-1.06.337-.181.654-.43.945-.615 1.323-.843 1.767-2.511 1.73-3.185l-.032-.503c.028-.183-.055-.686-.275-1.19-.165-.38-.425-.752-.634-1.036-.106-.146-.166-.314-.225-.417-.226-.392-.226-.837-.223-1.119.002-.332.045-.37.14-.529.076-.126.157-.297.413-.434.187-.098.61-.069.86.059.212.106.252.097.361.157.099.054.355.189.34.135-.06-.203-.805-1.034-1.665-1.48Zm-5.751 15.18c-1.448-.198-2.397-.712-3.508-1.432-.275-.179-.31-.402-.2-.512l.01-.005c.09-.08.255-.102.51.052.601.363 2.112 1.263 3.339 1.34.998.062 1.672-.047 2.2-.247a4.063 4.063 0 0 1-1.37-.105c-.334-.088-.67-.153-.923-.4-.42-.417-.575-.899-.698-1.44-.085-.374-.237-.745-.339-1.075-.454-1.502-1.94-2.38-2.6-2.527l-.492-.103c-.17-.077-.677-.129-1.222-.057-.409.056-.836.208-1.167.333-.171.064-.346.075-.462.104-.44.112-.868-.008-1.137-.086-.32-.092-.346-.145-.472-.28-.102-.106-.245-.228-.308-.512-.044-.206.099-.606.288-.813.16-.172.161-.215.248-.306.078-.081.278-.29.221-.289-.21 0-1.21.492-1.87 1.2-.716.766-1.248 1.71-1.304 2.886-.066 1.43.868 3.457 2.36 4.357.702.422 1.328.79 1.956.953.432.112 1.147.315 1.87.463.513.103 1.667.16 2.734.03v-.029c.79-.014 2.119-.418 3.24-.861 1.417-.564 2.11-1.133 2.005-1.185l-.018.015c-.014.016-.04.02-.068.025-.06.044-.1.092-.192.132-.704.302-1.89.477-2.631.374Zm3.87 1.802c-.093-1.33-.35-2.09-.47-2.214.009.04.027.058.034.104.093.764-.073 1.95-.38 2.634-.599 1.334-1.359 2.099-2.362 2.965-.166.141-.33.183-.443.152a.188.188 0 0 1-.145-.144c-.023-.111.037-.271.231-.448.517-.476 1.808-1.67 2.226-2.828.323-.897.414-1.552.385-2.1a3.974 3.974 0 0 1-.528 1.342c-.183.29-.346.592-.66.757-.524.275-1.03.277-1.583.227-.38-.03-.782.003-1.128-.003-1.569-.021-2.855 1.13-3.193 1.714l-.248.438c-.125.137-.328.605-.422 1.147-.072.407-.057.861-.038 1.213.01.182-.034.353-.04.473-.028.452-.27.825-.428 1.058-.184.276-.241.285-.407.365-.131.063-.293.163-.584.138-.209-.02-.547-.276-.686-.52-.117-.204-.157-.218-.217-.329-.054-.098-.192-.354-.209-.298-.063.2.103 1.303.577 2.144.514.917 1.254 1.708 2.359 2.117 1.34.496 3.555.22 4.864-.932.617-.542 1.155-1.03 1.502-1.575.238-.377.647-.997 1.007-1.642.254-.455.654-1.541.856-2.597l-.026-.008c.223-.755.241-2.144.157-3.35Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M29.996 27.797c-.279-.774-.533-1.45-.917-1.974-.263-.36-.691-.968-1.16-1.54-.331-.403-1.193-1.172-2.103-1.748l-.014.022c-.623-.485-1.91-1.01-3.062-1.374-1.204-.378-2.017-.438-2.235-.388a.843.843 0 0 1 .335.033c.739.217 1.76.844 2.266 1.397.986 1.081 1.382 2.083 1.777 3.347.1.319-.021.514-.184.519-.005 0-.005.007-.01.007-.007 0-.009-.009-.013-.012-.116-.01-.245-.098-.336-.363-.229-.663-.812-2.322-1.706-3.168-.823-.777-1.472-1.13-2.06-1.293-.11-.03-.166-.077-.225-.122-.007.006-.015.005-.023.014l.22.13c.306.165.797.553 1.163 1.051.202.28.424.542.462.894.063.588-.12 1.059-.365 1.559-.169.343-.286.727-.417 1.047-.595 1.451.003 3.07.424 3.599l.316.392c.083.166.444.528.913.812.352.217.781.368 1.118.483.171.057.314.159.423.21.411.189.668.554.828.786.19.272.177.33.19.514.012.144.044.33-.085.59-.096.188-.459.41-.734.451-.234.033-.262.065-.386.08-.111.014-.402.05-.354.086.161.133 1.249.382 2.206.25 1.041-.142 2.05-.542 2.834-1.417.95-1.073 1.503-3.236.914-4.874Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M33.87 15.49c-.764-1.209-2.688-2.336-4.428-2.22-.816.055-1.54.113-2.146.336-.42.154-1.123.397-1.8.69-.48.209-1.456.827-2.259 1.542l.017.02c-.64.465-1.502 1.557-2.166 2.565-.7 1.06-.97 1.802-.977 2.02.021-.088.041-.177.112-.29.41-.653 1.29-1.465 1.96-1.802 1.308-.654 2.379-.766 3.702-.803.334-.01.487.158.45.315a.215.215 0 0 1-.038.07c-.063.088-.178.165-.417.178-.698.04-2.454.152-3.509.783-.972.583-1.49 1.112-1.805 1.632a.564.564 0 0 1-.18.186c.003.008 0 .014.006.023l.188-.177c.242-.247.751-.612 1.33-.827.323-.12.636-.26.987-.2.583.1.986.407 1.396.781.284.257.621.476.89.688 1.234.97 2.956.841 3.58.585l.465-.199c.18-.032.626-.28 1.032-.652.303-.28.568-.648.768-.94.103-.151.24-.259.32-.35.295-.342.715-.489.981-.58.314-.106.365-.078.547-.04.143.03.33.048.544.245.156.143.268.554.228.831-.032.234-.006.27-.028.392-.018.111-.06.399-.014.365.171-.12.711-1.097.848-2.054.148-1.038.043-2.117-.585-3.112Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m19.685 11.72-.563.85-.965-.227-.026-.006.632.798-.514.847-.013.024.955-.355.666.772-.044-1.02.913-.385.027-.01-.984-.273-.084-1.015Zm-7.045 6.246-.003-.028-.526.873-1.003-.193.666.773-.477.867-.014.025.94-.395.677.721.02.022-.086-1.016.897-.421.026-.012-.992-.233-.125-.983Zm15.92-.295-.989-.251-.108-1.014-.543.862-.97-.205-.027-.006.651.785-.497.858-.012.025.946-.379.663.737.02.02-.065-1.017.905-.403.026-.012ZM16.5 26.26l-.003-.026-.523.874-.973-.18-.027-.006.669.768-.471.872-.014.025.937-.402.682.719.02.021-.093-1.014.896-.429.024-.012-.994-.225-.13-.984Zm8.887-.78-.001-.027-.574.844-.962-.24-.027-.006.623.806-.525.842-.014.023.959-.345.635.759.019.023-.028-1.018.917-.374.028-.01-.979-.286-.07-.99Z",
|
||||
fill: "#DE2910"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgHkd);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,37 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgIdr = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H-1.538a6.154 6.154 0 0 0-6.154 6.154V20h55.384V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#DC1F26"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.692 33.846A6.154 6.154 0 0 1 41.538 40H-1.538a6.154 6.154 0 0 1-6.154-6.154V20h55.384v13.846Z",
|
||||
fill: "#EEE"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgIdr);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,46 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgIls = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m23.794 21.538-.719 1.245h1.437l-.718-1.245Zm-4.102 4.028.719-1.244h-1.437l.718 1.244Z",
|
||||
fill: "#EDECEC"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-8 30.77h55.385V9.23H-8v21.54Zm.452-26.924h54.482A6.155 6.155 0 0 0 41.23 0H-1.846a6.152 6.152 0 0 0-5.702 3.846Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M24.512 17.217h-1.437l.719 1.245.718-1.245Zm-8.203 0h-1.437l.719 1.245.718-1.245Zm4.99 5.566L22.905 20l-1.608-2.783h-3.212L16.478 20l1.608 2.783h3.212Zm-5.708-1.245-.719 1.245h1.437l-.718-1.245Zm4.101-7.104-.718 1.245h1.437l-.719-1.245Z",
|
||||
fill: "#EDECEC"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.548 3.846A6.126 6.126 0 0 0-8 6.154V9.23h55.385V6.154c0-.817-.163-1.594-.453-2.308h-54.48Z",
|
||||
fill: "#0038B8"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.548 36.154h54.482A6.155 6.155 0 0 1 41.23 40H-1.846a6.152 6.152 0 0 1-5.702-3.846Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.548 36.154A6.127 6.127 0 0 1-8 33.846V30.77h55.385v3.077c0 .817-.163 1.594-.453 2.308h-54.48Zm24.745-11.832 2.495 4.321 2.496-4.321h4.989L24.683 20l2.495-4.322H22.19l-2.497-4.321-2.495 4.322h-4.99L14.702 20l-2.495 4.322h4.99Zm2.495 1.244-.718-1.244h1.437l-.719 1.244Zm4.82-8.349-.718 1.245-.719-1.244 1.437-.001Zm-.718 4.322.718 1.243h-1.437l.719-1.244Zm-4.102-7.105.719 1.245h-1.437l.718-1.245Zm-1.606 2.783H21.3L22.906 20 21.3 22.783h-3.214L16.48 20l1.607-2.783Zm-1.777 0-.718 1.245-.719-1.244 1.437-.001Zm-.718 4.322.718 1.243h-1.437l.719-1.244Z",
|
||||
fill: "#0038B8"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgIls);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,44 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgInr = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.7 33.846A6.154 6.154 0 0 0-1.546 40H41.53a6.154 6.154 0 0 0 6.154-6.154v-7.692H-7.7v7.692Z",
|
||||
fill: "#138808"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.685 13.846V6.154A6.154 6.154 0 0 0 41.53 0H-1.546A6.154 6.154 0 0 0-7.7 6.154v7.692h55.385Z",
|
||||
fill: "#F93"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.7 13.334h55.385v13.334H-7.7V13.334Z",
|
||||
fill: "#F7F7F7"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M19.992 26.154a6.154 6.154 0 1 0 0-12.308 6.154 6.154 0 0 0 0 12.308Z",
|
||||
fill: "navy"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M19.992 25.192a5.192 5.192 0 1 0 0-10.384 5.192 5.192 0 0 0 0 10.384Z",
|
||||
fill: "#F7F7F7"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m20.146 18.077-.154 1-.154-1 .154-3 .154 3Zm-1.428-2.832.628 2.937.408.926-.11-1.005-.926-2.858Zm-1.187.492 1.366 2.674.634.789-.366-.943-1.634-2.52Zm-1.02.781 2.012 2.231.817.599-.599-.817-2.23-2.013Zm-.782 1.02 2.52 1.634.943.366-.789-.633-2.674-1.367Zm-.492 1.188 2.858.925 1.005.11-.926-.407-2.937-.628ZM15.069 20l3 .154 1-.154-1-.154-3 .154Zm.168 1.274 2.937-.628.926-.408-1.005.111-2.858.925Zm.492 1.188 2.674-1.367.79-.633-.944.366-2.52 1.634Zm.782 1.02 2.23-2.013.599-.817-.817.599-2.012 2.23Zm1.02.781 1.634-2.52.366-.943-.634.79-1.366 2.673Zm1.187.492.925-2.858.11-1.005-.407.926-.628 2.937Zm1.274.168.154-3-.154-1-.154 1 .154 3Zm1.274-.168-.628-2.937-.407-.926.11 1.005.925 2.858Zm1.188-.492-1.366-2.674-.634-.789.366.943 1.634 2.52Zm1.02-.782-2.012-2.23-.817-.599.598.817 2.23 2.012Zm.781-1.02-2.52-1.633-.943-.366.79.633 2.673 1.367Zm.493-1.187-2.859-.925-1.004-.11.926.407 2.937.628ZM24.915 20l-3-.154-1 .154 1 .154 3-.154Zm-.167-1.274-2.937.628-.926.408 1.004-.111 2.859-.925Zm-.493-1.188-2.674 1.367-.789.633.943-.366 2.52-1.634Zm-.781-1.02-2.23 2.013-.6.817.818-.599 2.012-2.23Zm-1.02-.781-1.634 2.52-.366.943.634-.79 1.366-2.673Zm-1.188-.492-.924 2.858-.111 1.005.407-.927.628-2.936Z",
|
||||
fill: "#6666B3"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M19.315 15.168a.308.308 0 1 0 0-.616.308.308 0 0 0 0 .616ZM18.008 15.518a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .615ZM16.835 16.194a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .615ZM15.878 17.15a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .616ZM15.203 18.323a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .615ZM14.852 19.63a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .616ZM14.852 20.985a.308.308 0 1 0 0-.616.308.308 0 0 0 0 .616ZM15.203 22.292a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .615ZM15.878 23.465a.308.308 0 1 0 0-.616.308.308 0 0 0 0 .616ZM16.835 24.422a.308.308 0 1 0 0-.616.308.308 0 0 0 0 .616ZM18.008 25.097a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .615ZM19.315 25.448a.308.308 0 1 0 0-.616.308.308 0 0 0 0 .616ZM20.67 25.448a.308.308 0 1 0 0-.616.308.308 0 0 0 0 .616ZM21.977 25.097a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .615ZM23.15 24.422a.308.308 0 1 0 0-.616.308.308 0 0 0 0 .616ZM24.106 23.465a.308.308 0 1 0 0-.616.308.308 0 0 0 0 .616ZM24.781 22.292a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .615ZM25.132 20.985a.308.308 0 1 0 0-.616.308.308 0 0 0 0 .616ZM25.132 19.63a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .616ZM24.781 18.323a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .615ZM24.106 17.15a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .616ZM23.15 16.194a.308.308 0 1 0 0-.616.308.308 0 0 0 0 .616ZM21.977 15.518a.308.308 0 1 0 0-.615.308.308 0 0 0 0 .615ZM20.67 15.168a.308.308 0 1 0 0-.616.308.308 0 0 0 0 .616ZM19.992 21.385a1.385 1.385 0 1 0 0-2.77 1.385 1.385 0 0 0 0 2.77Z",
|
||||
fill: "navy"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgInr);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,37 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgJpy = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.692 33.846A6.154 6.154 0 0 1 41.538 40H-1.538a6.154 6.154 0 0 1-6.154-6.154V6.154A6.154 6.154 0 0 1-1.538 0h43.076a6.154 6.154 0 0 1 6.154 6.154v27.692Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M20 30.77c5.948 0 10.77-4.822 10.77-10.77 0-5.948-4.822-10.77-10.77-10.77-5.948 0-10.77 4.822-10.77 10.77 0 5.948 4.822 10.77 10.77 10.77Z",
|
||||
fill: "#ED1B2F"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgJpy);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,35 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgKrw = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.685 33.846A6.154 6.154 0 0 1 41.53 40H-1.546A6.154 6.154 0 0 1-7.7 33.846V6.154A6.154 6.154 0 0 1-1.546 0H41.53a6.154 6.154 0 0 1 6.154 6.154v27.692Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M25.286 12.438c-4.175-2.923-9.93-1.907-12.855 2.268a4.617 4.617 0 0 0 1.134 6.43A4.619 4.619 0 0 0 19.992 20a4.616 4.616 0 0 1 7.562 5.295c2.924-4.175 1.91-9.93-2.268-12.857Z",
|
||||
fill: "#C60C30"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M26.42 18.868A4.616 4.616 0 0 0 19.992 20a4.617 4.617 0 0 1-7.562-5.295c-2.924 4.178-1.909 9.932 2.267 12.855a9.228 9.228 0 0 0 12.855-2.268 4.61 4.61 0 0 0-1.132-6.424Z",
|
||||
fill: "#003478"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m29.737 31.65 2.966-3.536 1.179.99-2.967 3.535-1.178-.99Zm3.954-4.713 2.966-3.534 1.178.99-2.966 3.533-1.178-.99Zm-1.597 6.694 2.966-3.534 1.178.99-2.966 3.533-1.178-.99Zm3.957-4.717 2.969-3.534 1.178.99-2.969 3.533-1.178-.99Zm-1.602 6.695 2.97-3.534 1.176.99-2.967 3.534-1.179-.99Zm3.956-4.715 2.964-3.539 1.18.99-2.964 3.538-1.18-.99Zm.006-21.788 1.178-.99 2.97 3.538-1.18.99-2.968-3.538ZM34.454 4.39l1.178-.989L38.6 6.937l-1.18.988-2.965-3.536Zm-2.359 1.982 1.179-.99 6.923 8.25-1.178.989-6.924-8.25Zm-2.357 1.975 1.18-.99 2.965 3.536-1.178.988-2.966-3.534Zm3.954 4.716 1.179-.99 2.969 3.534-1.177.99-2.97-3.534ZM2.146 24.39l1.179-.99 6.921 8.251-1.18.99-6.92-8.251Zm-2.354 1.978 1.177-.988 2.968 3.536-1.18.99-2.965-3.538Zm3.95 4.717 1.178-.99 2.97 3.535-1.18.989-2.968-3.534Zm-6.31-2.74 1.179-.99 6.923 8.25-1.18.99-6.922-8.25Zm-.001-16.695L4.35 3.4l1.18.988-6.923 8.251-1.177-.99Zm2.357 1.98L6.71 5.38l1.178.99-6.923 8.248-1.178-.987Zm2.358 1.977L9.07 7.357l1.179.99-6.923 8.25-1.179-.99Z",
|
||||
fill: "#292F33"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgKrw);
|
||||
export { ForwardRef as ReactComponent };
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,64 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgMdl = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H29.231v40h12.307a6.154 6.154 0 0 0 6.154-6.154V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#DD2E44"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-1.538 0a6.154 6.154 0 0 0-6.154 6.154v27.692A6.154 6.154 0 0 0-1.538 40h12.307V0H-1.538Z",
|
||||
fill: "#265FB5"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M10.77 0h18.46v40H10.77V0Z",
|
||||
fill: "#FFCC4D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M16.923 15.385h6.154V20h-6.154v-4.615Z",
|
||||
fill: "#DD2E44"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M16.923 20v3.077L20 24.615l3.077-1.538V20h-6.154Z",
|
||||
fill: "#269"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M16.923 9.23v1.54h1.539v3.076h3.076V9.231h-4.615Zm4.616 15.385L20 25.577l-1.538-.962-1.539 4.616L20 30.769l3.077-1.538-1.539-4.616Zm-6.154-12.307-1.539-1.539-1.538 1.539v15.384l3.077-3.077V13.846h1.538l-1.538-1.538Zm10.769-1.539-1.539 1.539-1.538 1.538h1.538v10.77l3.077 3.076V12.308l-1.538-1.539Z",
|
||||
fill: "#A0724A"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M17.283 19.375h.817V20h-.817v-.625Zm4.615 0h.817V20h-.817v-.625Z",
|
||||
fill: "#FFCC4D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M16.365 27.297c-.163.095-.405-.015-.539-.245l-3.434-5.947c-.132-.231-.107-.494.057-.59l.21-.12c.163-.095.404.016.536.245l3.434 5.95c.134.228.108.491-.055.587l-.21.12Z",
|
||||
fill: "#77B255"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M27.41 20.605c.165.093.193.354.06.58l-3.37 5.843c-.132.226-.37.332-.535.238l-.208-.12c-.163-.095-.19-.354-.06-.581l3.372-5.844c.131-.224.37-.333.534-.236l.208.12Z",
|
||||
fill: "#FFCC4D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m16.923 24.615-1.538 1.539v1.538l1.538-1.538v-1.539Zm6.154 0v1.539l1.538 1.538v-1.538l-1.538-1.539Z",
|
||||
fill: "#DD2E44"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m20 18.462-1.538-1.539v4.55L20 23.078l1.538-1.603v-4.55L20 18.461Z",
|
||||
fill: "#FFCC4D"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgMdl);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,61 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgMxn = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-1.538 0a6.154 6.154 0 0 0-6.154 6.154v27.692A6.154 6.154 0 0 0-1.538 40H9.23V0H-1.54Z",
|
||||
fill: "#006847"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H30.77v40h10.77a6.154 6.154 0 0 0 6.153-6.154V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#CE1126"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M9.23 0h21.54v40H9.23V0Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M27.692 20a7.692 7.692 0 1 1-15.385 0H10.77a9.231 9.231 0 0 0 18.462 0h-1.539Z",
|
||||
fill: "#A6D388"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M13.143 23.49a.767.767 0 0 0-.72-.416.77.77 0 0 0-.652 1.117c.138.272.29.538.455.794l.006.01.013.019.004.01.002.004.006.007.005.01v.003l.004.007.002.003.004.008.002.003.005.006.002.005.004.005.001.004.005.008.001.002.003.004.005.01.002.002.004.008.002.003.01.015v.002l.008.01c.08.12.162.235.248.35a.766.766 0 0 0 1.072.155.767.767 0 0 0 .159-1.075 9.169 9.169 0 0 1-.662-1.092Zm-.764-2.433a8.104 8.104 0 0 1-.071-1.282.77.77 0 0 0-.746-.79l-.056.001a.768.768 0 0 0-.735.746c-.003.16-.005.319-.002.479v.138l.002.008v.043l.001.005-.001.003v.004l.001.003v.045l.002.005v.017l.001.029.002.014v.017c.014.246.038.49.07.733a.77.77 0 0 0 .865.654.774.774 0 0 0 .667-.872Zm8.144 6.615-.01.002-.19.012a7.836 7.836 0 0 1-1.092-.032.77.77 0 0 0-.154 1.53l.192.017.006.002.004-.002.004.002h.003l.01.002h.009l.004.001.011-.001.005.001h.007l.01.002.007.001h.02l.01.002h.02c.233.015.469.023.706.018h.06l.01-.001.01.001h.023l.007-.001h.03l.009-.002.01.002v-.002l.01.002h.001l.008-.002h.012l.01-.001h.009l.001.001.01-.001h.01l.008-.002h.03l.008-.002h.007l.006-.001.006.002h.008l.006-.002h.008c.064-.002.13-.008.195-.01a.76.76 0 0 0 .697-.81.758.758 0 0 0-.79-.728Zm-3.752-.689a7.801 7.801 0 0 1-1.114-.632.762.762 0 0 0-.466-.134.769.769 0 0 0-.405 1.402l.002.001.009.005.01.009.008.006.01.008c.409.278.843.523 1.295.732a.766.766 0 0 0 1.02-.374.766.766 0 0 0-.37-1.023Zm7.738-.612a.765.765 0 0 0-.381.123c-.359.227-.74.43-1.13.595a.766.766 0 0 0-.41 1.008.774.774 0 0 0 1.004.41l.207-.092h.003l.009-.006.003-.001.006-.003h.006l.006-.004.003-.003.01-.001.003-.003.004-.003.008-.003.005-.002.007-.003.003-.002.008-.003.003-.001c.005-.003.005-.005.008-.005l.003-.001.01-.005h.002l.01-.005.009-.004.003-.002.008-.004.003-.002.009-.004.001-.002.011-.002.01-.006.004-.001.006-.005h.003l.01-.006.012-.003.009-.006.012-.006.002-.002.021-.01.011-.004.022-.012.012-.005.01-.004.022-.012.01-.005.035-.019.01-.003.022-.012.01-.006h.002c.002-.002.005-.003.011-.003a.02.02 0 0 1 .01-.008l.012-.006.009-.005v-.001l.021-.01.013-.006.001-.001.008-.005.012-.006.01-.005h.003l.009-.006.01-.006.002-.001.01-.005.009-.005.003-.001.006-.005.005-.001.007-.005.003-.002.008-.004.003-.002.01-.003c-.002-.001 0-.001 0-.001l.01-.005.003-.001.006-.005.003-.002.01-.004.003-.002c0-.003.003-.003.006-.004l.005-.002.006-.003.004-.003.006-.003.005-.003.005-.003.004-.005.008-.001.006-.002.003-.003.006-.003.006-.005.003-.001.007-.003.006-.005.005-.003c.002.002.004 0 .007-.002l.003-.003.006-.003.005-.003.005-.003.006-.003.006-.005.003-.001c.003-.002.01-.002.012-.005-.003-.001-.003 0 0 0l.007-.004.01-.008.003-.002.011-.004.018-.01.013-.009a.145.145 0 0 1 .03-.017c.098-.058.2-.118.294-.18a.77.77 0 0 0 .234-1.061.853.853 0 0 0-.703-.346Zm3.956-7.105-.037.002a.769.769 0 0 0-.737.766c0 .426-.039.857-.111 1.275a.77.77 0 1 0 1.519.259v-.008l.001-.003.002-.003-.002-.003.002-.003v-.003l.001-.004v-.004l.002-.003v-.014c.003-.002.003-.005.003-.006v-.01c.032-.198.06-.398.08-.6l-.002-.003.002-.004.001-.008v-.017l.003-.004-.001-.006v-.003l.001-.005v-.006l.003-.002-.003-.005v-.006c.003-.001.003-.003.003-.004v-.03l.003-.004c.02-.25.033-.506.033-.763a.77.77 0 0 0-.766-.768Zm-.682 4.148a.77.77 0 0 0-1.046.301 7.46 7.46 0 0 1-.712 1.065.77.77 0 0 0 1.204.957c.179-.225.35-.46.508-.7.003-.01.01-.022.017-.03l.001-.002.007-.01.006-.012c.003-.003.006-.006.006-.01l.001.002.007-.009v-.001a.017.017 0 0 0 .004-.011l.003-.002.006-.009c.003-.002.003-.006.005-.01h.002l.006-.01.001-.003.003-.008.005-.003.003-.008h.003l.003-.009.002-.003.006-.006.001-.003c.002-.003.002-.006.005-.008l.002-.004.006-.005c0-.002 0-.003.003-.005v-.006l.004-.003.005-.008.002-.003.004-.009.003-.003.003-.006.003-.005c0-.001 0-.003.003-.004 0-.002 0-.003.003-.005l.005-.008.002-.004.003-.005.003-.004c.003-.002.003-.003.003-.005.003-.002.003-.003.003-.006l.003-.005.005-.006.004-.006v-.005l.003-.004.005-.007.005-.004v-.005l.006-.007v-.005c.003-.002.004-.003.004-.006l.004-.003.003-.005.004-.008.003-.004v-.003l.006-.008c0-.002 0-.003.004-.005l.001-.004.005-.006.003-.006.003-.005c.001-.002 0-.005.003-.006 0-.002 0-.003.003-.003l.003-.008.003-.003.003-.01h.003l.003-.007.003-.003.003-.008.003-.003.004-.01c.003 0 0-.002 0-.002l.006-.008.001-.003.006-.008v-.001l.005-.01.003-.003.003-.009.008-.009.005-.01.006-.012.003-.001.038-.072a.767.767 0 0 0-.306-1.034Z",
|
||||
fill: "#5C913B"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M20 26.154c2.549 0 4.615-.689 4.615-1.539S22.55 23.077 20 23.077c-2.549 0-4.615.689-4.615 1.538 0 .85 2.066 1.539 4.615 1.539Z",
|
||||
fill: "#55ACEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M20.77 26.154c1.274 0 2.307-.689 2.307-1.539s-1.033-1.538-2.308-1.538c-1.274 0-2.307.689-2.307 1.538 0 .85 1.033 1.539 2.307 1.539Z",
|
||||
fill: "#FFCC4D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M21.718 25.037a.769.769 0 0 1-.677-1.137c.247-.452.505-.863.773-1.223-.214.01-.436.014-.662.014-.424 0-.812-.346-.812-.771 0-.425.3-.77.726-.77l.126.002c.456 0 .923-.027 1.342-.066a.755.755 0 0 1 .63.24 3.716 3.716 0 0 1 .497-.295.753.753 0 0 1 .325-.145l.055-.01c.29-.095.493-.107.574-.107a.766.766 0 0 1 .734.996c-.126.409-.407.501-.901.6a1.847 1.847 0 0 0-.367.197.78.78 0 0 1-.921-.053c.21.273.22.663-.003.945-.262.334-.518.73-.763 1.181a.765.765 0 0 1-.675.402Zm-2.184-2.445a.751.751 0 0 1-.102-.006 10.728 10.728 0 0 1-1.624-.34.77.77 0 0 1-.519-.957l.01-.03-.019.035a.768.768 0 0 1-1.048.295 6.347 6.347 0 0 1-1.395-1.047.77.77 0 0 1 1.088-1.088c.303.303.658.57 1.058.792.33.185.47.576.352.919a.77.77 0 0 1 .908-.394c.425.126.89.223 1.385.289a.77.77 0 0 1 .663.863.76.76 0 0 1-.757.67Zm-3.772-3.598c-.656 0-1.504-.254-2.017-.86-.788-.93-1.251-2.122-1.18-3.036.018-.244-.22-.441-.454-.503-.134-.035-.37-.056-.48.182a.385.385 0 0 1-.699-.323c.24-.522.779-.754 1.373-.603.55.143 1.078.638 1.026 1.307-.056.711.348 1.707 1 2.477.343.406.94.571 1.346.586.33.017.498-.058.534-.09-.086-.205-1.226-.805-1.712-1.06-.414-.217-.538-.516-.568-.726-.103-.7.615-1.41 1.31-2.093.245-.241.478-.469.604-.637.143-.189.12-.315.092-.393-.106-.288-.566-.573-1.12-.696-.512-.114-.858-.361-1.028-.737-.223-.494-.104-1.14.36-1.977a.384.384 0 1 1 .672.374c-.438.788-.395 1.145-.33 1.288.064.141.229.241.492.3.65.145 1.434.53 1.674 1.18.137.37.068.77-.197 1.123-.16.214-.412.462-.679.725-.396.39-1.136 1.118-1.089 1.432.01.064.094.121.165.157 1.155.606 1.923 1.044 2.08 1.581.055.19.032.38-.065.553-.149.26-.46.42-.9.46-.066.006-.138.009-.21.009Z",
|
||||
fill: "#5C913B"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M22.308 21.538c.425 0 .769-.688.769-1.538 0-.85-.345-1.538-.77-1.538-.424 0-.768.688-.768 1.538 0 .85.344 1.538.769 1.538ZM18.91 18.75c0 .444-.53.802-1.185.802-.654 0-1.187-.358-1.187-.801 0-.443.531-.802 1.187-.802.653 0 1.186.359 1.186.802Zm-1.825-7.118c.076.327-.35.708-.953.851-.603.143-1.154-.006-1.232-.332-.077-.328.35-.71.95-.852.605-.142 1.158.006 1.235.333Z",
|
||||
fill: "#FFCC4D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M26.974 19.93c.138.108.374-1.12.338-1.504 0-.026-.044-.84.128-1.421.106-.197.112-1.666-.05-2.053.128-.01.284-.052.302-.209-.597.22-.737-1.257-1.31-2.106-.557-.85-1.248-1.346-1.97-1.863.054-.145.14-.28.25-.415-.885.443-2.264-1.162-4.3-1.042-.457.045-.674.072-.791.352-.38.031-.766.117-.766.617 0 .12.109.339.352.34.332.097.603.022.83.486l.06.48s-.298-.38-.46-.44l.1-.204c-.155-.09-.427-.017-.427-.017s-.592-.277-1.068-.203l-.092-.385c-.083.237-.27.225-.295.448-.053-.16-.122-.359-.171-.519-.168.228-.119.474-.179.711-.064.056-.197.057-.23-.095-.017-.188-.04-.205-.04-.428-.12.21-.265.314-.313.675l-.127-.4c.004.473-.402.754-.787 1.088-.109.2.017.202.027.305l.203.101.364-.026c.06.075.011.082.17.13.424.118.953-.392 1.369.41-.191.16-.383.534-.322.605.077 0-.154.107.157.009-.323.314-.541.728-.541.752-.037.09.129-.012.095.15l.077-.01c-.737.797-.025 1.654-.103 2.114.123.198.138-.005.292-.024.13.566.502.909.73 1.356l-.48.005c.01.212.203.414.355.6l-.322.101c-.229.117-.38.242-.541.422-.107.258.512.32.81.366l-.01.313c.466.044 1.004-.094 1.004-.12l.117-.091.263.144c.088 0 .225-.35.162-.62.17.202.33.526.498.73l.159-.022c.144.23.343.457.488.686l.161.062c.094-.033.174-.043.225-.228l.074.13.255-.176.178-.035.134.218c.079-.03.155-.2.16-.381.08.158.102.146.16.187l.119-.25.638.598.483.027c.172.117.645.191.725.002.387.166.844-.021.821-.206.357.142.907.046.907.023.066-.008.235-.174.075-.299-1.18-.821-2.93-2.181-3.605-2.509 0-.243-.183-1.118-.38-1.358l.16-.268c.46.43.626.388.871.455.261.208.352.524.614.811l.234.043c-.162-.41-.363-.809-.853-1.343.253.127.671.463.951.708.185.31.239.555.408.943.123.079.25.366.232.128-.03-.448-.345-1.157-.345-1.208.502.397.496 1.015.648 1.392.128.191.192.447.248.386l-.148-1.163-.086-.426c.37.214.503 1.03.677 2.008 0 .155.063.326.054.426.08.099.17.37.17.21 0 0 0-1.591-.11-1.956-.028-.195.046-.512.046-.512.135.66.28 1.375.417 2.034v.484l.203.205c.038-.4.085-.797.125-1.194l-.153-1.423v-.406c-.003-.143.131-.117.216.046.02.35.02.621.034.97.06.396.101.687.13 1.193.017.41.036 1.39.122 1.374Z",
|
||||
fill: "#C1694F"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgMxn);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,45 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgMyr = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M55.385 33.846A6.154 6.154 0 0 1 49.23 40H6.154A6.154 6.154 0 0 1 0 33.846V6.154A6.154 6.154 0 0 1 6.154 0H49.23a6.154 6.154 0 0 1 6.154 6.154v27.692Z",
|
||||
fill: "#DD2E44"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M.854 36.923h53.678c.528-.91.853-1.95.853-3.077H0c0 1.126.325 2.168.854 3.077ZM0 27.693h55.385v3.076H0v-3.077Zm0-6.155h55.385v3.077H0V21.54Zm0-6.153h55.385v3.077H0v-3.077ZM0 9.23h55.385v3.077H0V9.23Zm.854-6.154A6.085 6.085 0 0 0 0 6.154h55.385c0-1.126-.325-2.17-.854-3.077H.854Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M27.692 0H6.154A6.154 6.154 0 0 0 0 6.154v15.384h27.692V0Z",
|
||||
fill: "#010066"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M14.668 18.82A8.051 8.051 0 1 1 17.77 3.342a9.166 9.166 0 0 0-5.463-1.804 9.231 9.231 0 0 0 0 18.462 9.167 9.167 0 0 0 5.463-1.803c-.956.4-2.003.623-3.103.623Z",
|
||||
fill: "#FFCC4D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m19.88 5.89.514 2.493 1.543-2.023-.619 2.468 2.27-1.153-1.63 1.956 2.545-.054-2.315 1.055 2.315 1.056-2.544-.054 1.629 1.955-2.27-1.152.619 2.47-1.543-2.025-.514 2.493-.514-2.493-1.543 2.024.619-2.47-2.27 1.153 1.628-1.955-2.543.054 2.315-1.056-2.315-1.055 2.543.054-1.628-1.956 2.27 1.153-.619-2.468 1.543 2.023.514-2.492Z",
|
||||
fill: "#FFCC4D"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgMyr);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,40 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgNok = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M10.692 0h-9.23a6.154 6.154 0 0 0-6.154 6.154v9.23h15.384V0Zm33.846 0H19.923v15.385h30.77V6.154A6.154 6.154 0 0 0 44.537 0ZM10.692 40h-9.23a6.154 6.154 0 0 1-6.154-6.154v-9.23h15.384V40Zm33.846 0H19.923V24.615h30.77v9.231A6.154 6.154 0 0 1 44.537 40Z",
|
||||
fill: "#EF2B2D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M17.615 0h-4.529l-.038 17.692h-17.74v4.616h17.73L13 40h4.615V22.308h33.077v-4.616H17.615V0Z",
|
||||
fill: "#002868"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M17.615 40h2.308V24.615h30.77v-2.307H17.614V40Zm2.308-40h-2.308v17.692h33.077v-2.307H19.923V0ZM13 0h-2.308v15.385H-4.692v2.307H13V0ZM-4.692 22.308v2.307h15.384V40H13V22.308H-4.692Z",
|
||||
fill: "#EEE"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-4.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgNok);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,70 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgNzd = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.23 0H-1.845c-.316 0-.626.023-.93.07l-.006 2.698-4.2-.006A6.13 6.13 0 0 0-8 6.154v27.692A6.154 6.154 0 0 0-1.846 40H41.23a6.154 6.154 0 0 0 6.154-6.154V6.154A6.154 6.154 0 0 0 41.23 0Z",
|
||||
fill: "#00247D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M36.914 6.923H34.97l-.299-.892-.364-1.086-.365 1.086-.298.892H31.7l.824.682.726.6-.306.903-.411 1.203 1.01-.776.764-.589.764.59 1.01.775-.411-1.203-.306-.903.726-.6.823-.682Z",
|
||||
fill: "#EEEDED"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m34.308 6.154-.386 1.154h-1.153l.931.77-.392 1.153 1-.77 1 .77-.393-1.153.931-.77h-1.152l-.386-1.154Z",
|
||||
fill: "#CF1B2B"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M36.914 31.923H34.97l-.299-.892-.364-1.086-.365 1.086-.298.892H31.7l.824.682.726.6-.306.903-.411 1.203 1.01-.776.764-.589.764.59 1.01.775-.411-1.203-.306-.903.726-.6.823-.682Z",
|
||||
fill: "#EEEDED"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m34.308 31.154-.386 1.154h-1.153l.931.77-.392 1.153 1-.77 1 .77-.393-1.153.931-.77h-1.152l-.386-1.154Z",
|
||||
fill: "#CF1B2B"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M43.068 13.077h-1.943l-.299-.892-.364-1.087-.365 1.087-.299.892h-1.943l.824.681.726.6-.306.903-.411 1.204 1.009-.776.764-.589.765.59 1.01.775-.411-1.204-.306-.902.726-.6.823-.682Z",
|
||||
fill: "#EEEDED"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m40.462 12.308-.387 1.153h-1.152l.93.771-.392 1.153 1-.77 1 .77-.392-1.153.931-.77h-1.152l-.386-1.154Z",
|
||||
fill: "#CF1B2B"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M30.76 16.154h-1.943l-.299-.893-.364-1.086-.365 1.086-.298.893h-1.943l.823.681.726.6-.306.903-.411 1.203 1.01-.775.764-.59.765.59 1.009.776-.411-1.204-.306-.903.726-.6.823-.681Z",
|
||||
fill: "#EEEDED"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m28.154 15.385-.386 1.153h-1.153l.931.771-.392 1.152 1-.769 1 .77-.392-1.153.93-.77H28.54l-.386-1.154Z",
|
||||
fill: "#CF1B2B"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M21.23 20V0H-1.845c-.492 0-.93.07-.93.07l-.006 2.698-4.2-.006s-.064.09-.195.315A6.136 6.136 0 0 0-8 6.154V20h29.23Z",
|
||||
fill: "#00247D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M21.23 0h-3.585L10.46 5.03V0H2.77v3.952L-2.775.07c-.945.145-1.831.5-2.573 1.023l7.234 5.062h-2.67L-6.513 2.14c-.17.198-.325.403-.47.622l4.848 3.392H-8v7.692h5.977L-8 18.102V20h5.126l5.643-3.95V20h7.692v-5.03L17.643 20h3.588v-3.122L16.9 13.846h4.33V6.154h-4.329l4.33-3.032V0Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M8.923 0H4.308v7.692H-8v4.616H4.308V20h4.615v-7.692h12.308V7.692H8.923V0Z",
|
||||
fill: "#CF1B2B"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M21.23 0h-2.247l-8.522 5.968v.186h2.418L21.23.304V0ZM-5.347 1.092c-.432.3-.821.651-1.164 1.048l5.727 4.014h2.67l-7.233-5.062Zm7.251 12.754L-6.87 20h2.657l6.983-4.89v-1.264h-.866Zm19.328 5.85v-1.878l-5.673-3.972h-2.681l8.354 5.85Z",
|
||||
fill: "#CF1B2B"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-8)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgNzd);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,37 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgPln = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H-1.538a6.154 6.154 0 0 0-6.154 6.154V20h55.384V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.692 33.846A6.154 6.154 0 0 0-1.538 40h43.077a6.154 6.154 0 0 0 6.153-6.154V20H-7.692v13.846Z",
|
||||
fill: "#DC143C"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgPln);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,40 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgRon = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-1.538 0a6.154 6.154 0 0 0-6.154 6.154v27.692A6.154 6.154 0 0 0-1.538 40h12.307V0H-1.538Z",
|
||||
fill: "#002B7F"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M10.77 0h18.46v40H10.77V0Z",
|
||||
fill: "#FCD116"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H29.231v40h12.307a6.154 6.154 0 0 0 6.154-6.154V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#CE1126"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgRon);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,73 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgRsd = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-3.692 12.308h55.384v15.384H-3.692V12.308Z",
|
||||
fill: "#0C4076"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-3.692 33.846A6.154 6.154 0 0 0 2.462 40h43.076a6.154 6.154 0 0 0 6.154-6.154v-6.154H-3.692v6.154Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M51.692 6.154A6.154 6.154 0 0 0 45.538 0H2.462a6.154 6.154 0 0 0-6.154 6.154v6.154h55.384V6.154ZM7.077 12.308v14.615a8.462 8.462 0 0 0 16.923 0V12.308H7.077Z",
|
||||
fill: "#C6363C"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M15.539 3.172c-6.059 0-7.957 2.573-7.453 3.534.505.962 2.019 3.437 2.019 3.437s-.48.192 0 1.154c.48.961 2.355.312 5.432.312 3.077 0 4.952.65 5.432-.312.48-.962 0-1.154 0-1.154s1.514-2.475 2.02-3.437c.506-.961-1.392-3.534-7.45-3.534Zm-5.29 4.568c-.435.135 0 1.466-.154.89-.126-.475-.615-.673-.615-.408 0 .264-.192 0-.145-.48.048-.482-.095-.77-.384-1.179-.288-.41-.288-.77.074-1.01.36-.24 1.153-.433 1.153-.433s.313 1.37.48 1.683c.168.312.48.517.48.517s-.144.228 0 .348c.145.12.313.409.313.409s-.528-.432-.623-.337c-.096.095.12.217.095.385-.024.169-.29-.505-.674-.385Zm4.905.025c-.12.12-.217-.097-.457-.265-.24-.168-.385-.07-.337.122.048.192-.29.167-.29.456 0 .29-.312.168-.312.168s.385-1.01-.264-.986c-.368.014-.24.77 0 1.034-.106-.162-.41-.168-.662-.36-.252-.192.036-.506-.157-.434-.192.072-.312.385-.504.457-.192.072-.096-.219 0-.457.095-.24-.111-.36-.111-.36s.015-.168.16-.265c.145-.095.192-.264 0-.457-.192-.192-.888-1.273-.672-1.635.217-.36.937-.77 2.957-.721.36 1.658-.193 2.475-.193 2.475s.41.265.53.41c-.29.12-.073.24.12.408.192.17.312.29.192.41Zm3.75-.265c.096.24.193.53 0 .457-.192-.072-.312-.385-.504-.457-.192-.072.095.242-.157.434s-.554.198-.662.36c.24-.265.368-1.02 0-1.034-.649-.025-.264.986-.264.986s-.312.12-.312-.168c0-.287-.337-.264-.29-.456.048-.193-.095-.29-.337-.122-.24.168-.337.385-.457.265s0-.24.193-.41c.194-.167.41-.287.121-.407.12-.145.53-.41.53-.41s-.553-.816-.193-2.475c2.019-.048 2.74.36 2.957.722.217.36-.48 1.443-.674 1.633-.194.191-.144.36 0 .457.145.096.16.265.16.265s-.207.12-.11.36Zm3.22-.937c-.289.41-.432.697-.384 1.179.048.48-.145.744-.145.48 0-.265-.489-.065-.615.409-.154.575.282-.754-.154-.891-.384-.12-.89 1.034-.77.914s.29-.817.193-.914c-.095-.097-.624.337-.624.337s.167-.29.312-.41c.144-.12 0-.347 0-.347s.312-.205.48-.517c.168-.312.48-1.683.48-1.683s.794.192 1.154.432c.36.24.363.602.074 1.011Z",
|
||||
fill: "#EDB92E"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M15.706 3.45a.278.278 0 0 1-.277.276.278.278 0 0 1-.277-.277V1.022c0-.153.125-.277.277-.277.153 0 .277.124.277.277v2.427Z",
|
||||
fill: "#FFAC33"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M16.26 1.67c0 .14-.112.253-.252.253h-1.202a.251.251 0 0 1-.252-.252c0-.14.112-.253.252-.253h1.202c.14 0 .252.113.252.253Z",
|
||||
fill: "#EDB92E"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M16.332 3.172a.926.926 0 1 1-1.852 0 .926.926 0 0 1 1.852 0Zm-5.249 8.022c0 .226-.26.41-.581.41-.322 0-.582-.184-.582-.41 0-.225.26-.408.582-.408.321 0 .581.182.581.408Z",
|
||||
fill: "#0C4076"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M13.423 11.054c0 .226-.26.41-.582.41-.321 0-.581-.184-.581-.41 0-.225.26-.408.582-.408.32 0 .581.183.581.408Zm5.192 0c0 .226-.26.41-.581.41-.322 0-.582-.184-.582-.41 0-.225.26-.408.582-.408.32 0 .581.183.581.408Z",
|
||||
fill: "#C6363C"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M21.018 11.194c0 .226-.26.41-.581.41-.322 0-.582-.184-.582-.41 0-.225.26-.408.582-.408.322 0 .581.182.581.408Zm-5.006-.17c0 .227-.26.41-.581.41-.322 0-.582-.183-.582-.41 0-.225.26-.407.582-.407.321 0 .581.181.581.408Z",
|
||||
fill: "#0C4076"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M12.132 27.018c-.526 1.194-.581 1.782-1.204 1.74-.625-.041-1.065-.147-1.065.105 0 .25.992.146.992.146s-.937.4-.752.86c.183.462.992-.586.992-.586s.165.042.477-.21c.313-.251 1.139-1.467 1.139-1.467l-.579-.588Zm6.788 0c.526 1.194.581 1.782 1.205 1.74.624-.041 1.064-.147 1.064.105 0 .25-.99.146-.99.146s.936.4.752.86c-.183.462-.993-.586-.993-.586s-.164.042-.476-.21c-.313-.251-1.139-1.467-1.139-1.467l.577-.588Z",
|
||||
fill: "#EDB92E"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M22.637 16.443c-.27-1.858-2.02-1.282-2.763 0-.743 1.282-1.385 2.05-2.072 1.154-.688-.897-1.142-1.859-.148-3.077l.994-1.218c-.142-.737-.737-.577-1.59-.225-.852.352-1.39.192-1.306.577.086.384.397.417.397.417s-.537.523-.678 2.327c-.142-1.804-.679-2.327-.679-2.327s.313-.033.397-.417c.085-.385-.454-.225-1.306-.577-.852-.352-1.448-.512-1.59.225l.995 1.218c.993 1.218.54 2.18-.148 3.077-.686.897-1.33.224-2.072-1.059-.743-1.281-2.494-1.858-2.763 0-.271 1.859.043 5.096.043 5.096s-.171 1.763.17 3.27c.34 1.505.54 2.851 0 4.005.596-.16.965-.929.965-.929s-.198.93.17.834c.37-.096.455-.802.738-1.059.284-.255.512-.832.512-.832s.597-.225 0 .77c.483.032.795-.29.795-.29l.17.899.284-.48.142.864.51-.834.336.385s.063-1.634.517-1.314c.454.32.482 1.379.17 2.019-.312.64 0 .898 0 .898s-.453.674-.685 1.058c-.233.385.12.833.12.833s-.88 1.314-.636 1.827c.237.493 1.703.807 2.776.83l.009.004.06-.001.06.001.009-.004c1.072-.023 2.538-.337 2.775-.83.246-.512-.635-1.827-.635-1.827s.35-.448.12-.833a33.433 33.433 0 0 0-.688-1.058s.313-.259 0-.898c-.31-.64-.283-1.699.171-2.019.454-.32.515 1.314.515 1.314l.336-.385.51.834.142-.864.285.48.169-.899s.312.32.795.29c-.596-.995 0-.77 0-.77s.228.577.511.834c.283.257.37.961.739 1.058.369.096.17-.834.17-.834s.37.77.965.93c-.539-1.154-.34-2.502 0-4.006.341-1.507.17-3.27.17-3.27s.318-3.334.047-5.192Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M14.601 14.326c-.676-.65-2.366-1.49-2.926-1.37-.56.12-1.009.506-.592 1.107.417.602.592.577.592.577s.666-.601.956-.265c.289.337.047.457-.48.505-.53.048-1.066-.312-1.066-.312s.173.624.907.697c.494.48 1.117.12 1.431.12.314 0 1.778-.48 1.178-1.059Zm1.74 0c.677-.65 2.367-1.49 2.927-1.37.56.12 1.009.504.592 1.106-.417.601-.592.577-.592.577s-.666-.602-.956-.265c-.289.337-.047.457.48.505.53.047 1.066-.313 1.066-.313s-.173.625-.907.697c-.494.482-1.117.122-1.431.122-.314 0-1.78-.48-1.178-1.059Zm-4.696 16.75c.21-.487.063-.556-.107-.725a1.219 1.219 0 0 1-.255-.403s-.085.234-.255.403c-.171.168-.319.237-.108.724-.512-.303-.597.253-.362.59.067-.303.47-.234.47.135 0 .37-.334.202-.294.352.041.153.346.471.547.471.202 0 .508-.318.548-.47.042-.153-.292.016-.292-.353 0-.37.401-.438.47-.135.236-.337.151-.893-.362-.59Zm8.366 0c.21-.487.063-.556-.108-.725-.17-.168-.255-.403-.255-.403s-.085.234-.256.403c-.17.168-.318.237-.107.724-.513-.303-.597.253-.362.59.066-.303.47-.234.47.135 0 .37-.335.202-.293.352.04.153.346.471.548.471.201 0 .507-.318.547-.47.042-.153-.292.016-.292-.353 0-.37.402-.438.47-.135.235-.337.152-.893-.362-.59Z",
|
||||
fill: "#EDB92E"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M12.068 18.27v5.936a3.438 3.438 0 0 0 6.874 0V18.27h-6.874Z",
|
||||
fill: "#C6363C"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M18.942 21.803h-2.696V18.27h-1.48v3.534H12.07v1.482h2.697v4.275c.239.052.485.085.74.085s.502-.033.742-.085v-4.275h2.697v-1.482h-.003Z",
|
||||
fill: "#EEE"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-3.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgRsd);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,37 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgRub = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.692 33.846A6.154 6.154 0 0 1 41.538 40H-1.538a6.154 6.154 0 0 1-6.154-6.154v-6.154h55.384v6.154Z",
|
||||
fill: "#CE2028"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.692 12.308h55.384v15.384H-7.692V12.308Z",
|
||||
fill: "#22408C"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H-1.538a6.154 6.154 0 0 0-6.154 6.154v6.154h55.384V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#EEE"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgRub);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,58 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgSar = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.538 0H-1.538a6.154 6.154 0 0 0-6.154 6.154v27.692A6.154 6.154 0 0 0-1.538 40h43.076a6.154 6.154 0 0 0 6.154-6.154V6.154A6.154 6.154 0 0 0 41.538 0Z",
|
||||
fill: "#006C35"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M6.03 13.923c.972.092.435-1.645.787-1.96.066-.155.19-.157.198.04v1.474c-.009.48.307.62.551.72.256-.02.425-.01.525.237l.12 2.55s.59.17.618-1.435c.03-.941-.187-1.729-.06-1.912.005-.18.234-.19.394-.103.254.178.368.4.762.312.601-.165.961-.457.97-.918-.035-.439-.084-.877-.274-1.316.027-.08-.115-.286-.089-.366.108.17.273.155.31 0-.102-.337-.26-.66-.519-.8-.212-.188-.523-.15-.637.242-.052.449.163.984.49 1.42.069.17.167.454.124.709-.174.098-.35.058-.494-.095 0 0-.478-.359-.478-.439.127-.812.029-.904-.042-1.13-.05-.31-.197-.41-.317-.622-.12-.126-.281-.126-.358 0-.213.366-.114 1.154.04 1.506.109.323.278.528.198.528-.066.183-.201.14-.3-.071-.141-.437-.169-1.088-.169-1.382-.043-.363-.09-1.14-.328-1.337-.146-.198-.363-.103-.438.08a6.47 6.47 0 0 0 .023 1.056c.163.583.215 1.097.295 1.695.022.802-.463.348-.441-.05.112-.514.083-1.327-.017-1.533-.079-.204-.172-.257-.363-.223-.151-.012-.542.415-.653 1.123 0 0-.093.365-.133.69-.054.366-.294.624-.463-.051-.147-.491-.236-1.702-.48-1.419-.071.946-.156 2.61.647 2.78Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M7.492 14.614c-.8.015-1.97 1.05-2.003 1.624.843-.406 1.673-.796 2.531-1.215-.138-.208-.008-.394-.528-.41Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M11.903 17.717c.37-1.235-.06-2.146.142-2.142.426.46 1.023.062 1.153-.098.057-.08.197-.132.296-.028.334.24.921.126 1.043-.295.07-.412.128-.84.141-1.282-.272.085-.475.142-.493.254l-.057.366c-.023.119-.259.123-.268-.027-.103-.47-.53-.531-.79.197-.173.141-.487.169-.52-.042.04-.488-.156-.554-.55-.325-.126-.967-.254-1.892-.38-2.86.165-.004.315.117.465-.07-.165-.513-.513-1.559-.705-1.634-.094-.114-.174-.043-.295-.014-.207.066-.399.245-.339.59.245 1.485.405 2.616.648 4.1.037.175-.108.404-.296.38-.318-.215-.398-.652-.943-.633-.395.005-.846.432-.901.846-.066.328-.09.685 0 .972.277.333.61.3.901.225.239-.098.437-.338.52-.282.057.07.014.859-1.126 1.465-.69.31-1.24.38-1.535-.183-.183-.352.014-1.69-.437-1.38-1.334 3.438 3.123 3.915 3.621.142.048-.156.236-.311.268-.057-.103 3.418-3.448 3.653-4.015 2.578-.142-.254-.183-.817-.197-1.155-.085-.673-.437-.414-.492.252-.057.37-.042.475-.042.83.177 2.7 4.485 1.54 5.183-.69Zm-1.662-2.335c-.027.052-.149.03-.238.03-.101-.004-.15-.021-.21-.103-.028-.092.058-.18.096-.249.048-.082.305-.166.396.061.04.104.004.21-.043.26Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M13.234 12.322c.268-.099 1.537-1.55 1.537-1.55-.066-.057-.125-.098-.191-.155-.07-.062-.063-.123 0-.183.314-.183.214-.585.05-.768a.762.762 0 0 0-.684.006c-.22.211-.272.55-.098.762.169.08.338.25.226.345-.519.553-1.94 1.509-1.776 1.543.036.046.908.044.936 0Zm.94-2.279c.081-.02.186.052.235.16.05.108.023.21-.057.23h-.003c-.08.02-.184-.051-.234-.16-.047-.108-.021-.21.059-.23ZM5.942 18.86c-.21.426-.297.133-.316-.105-.032-.453.01-.87.06-1.199.052-.338 0-.235-.108-.098-.475.757-.516 1.89-.253 2.226.138.16.367.23.538.178.299-.129.43-.735.359-.955-.102-.155-.18-.18-.28-.047Zm15.663-8.013a52.992 52.992 0 0 1 1.576 2.248c.1.661.173 1.308.216 1.95a30.97 30.97 0 0 1 .032 3.878c.231.009.605-.376.734-.937.085-.777-.03-2.16-.038-2.619a34.245 34.245 0 0 0-.042-.861c.606.99 1.197 2.027 1.774 3.18.21-.099.165-1.277.041-1.444-.461-.989-1.096-1.967-1.3-2.342a18.309 18.309 0 0 0-.638-.984c-.048-.516-.095-.935-.13-1.073-.095-.659.273.072.222-.311-.118-.659-.484-1.103-.912-1.706-.139-.196-.134-.236-.348.047-.089.202-.106.376-.101.54a3.811 3.811 0 0 0-.214-.284c-.37-.319-.392-.337-.7-.597-.155-.111-.534-.311-.602.021-.034.294-.015.453.034.699.04.164.279.438.396.595Zm1.138-.037c.03.128.06.256.08.386l.023.125a5.514 5.514 0 0 0-.201-.265c-.253-.298-.043-.233.098-.246Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M26.03 17.99c-.536.558-1.309 1.245-2.149 1.564-.09.101.225.537.631.537.682-.08 1.282-.463 1.837-1.471.15-.234.411-.737.417-1.128.05-2.286-.114-4.066-.457-5.718-.023-.16-.009-.35.019-.399.043-.052.194 0 .274-.129.115-.12-.31-1.104-.553-1.483-.086-.17-.115-.283-.258.02-.151.246-.251.676-.239 1.075.325 2.251.425 4.222.637 6.473.017.217-.015.534-.16.658Zm8.968-5.708c-.023-.16-.093-.533-.066-.58.043-.114.267.012.346-.119.117-.118-.575-1.008-.816-1.386-.088-.17-.117-.283-.26.02-.151.246-.203.688-.143 1.075.361 2.445.63 4.282.686 6.45-.033.206-.039.316-.136.575-.214.274-.449.615-.672.782-.222.164-.694.323-.85.444-.487.285-.489.61-.092.62.68-.08 1.486-.135 2.042-.975.15-.234.326-.87.334-1.26.05-2.286-.03-3.994-.373-5.646Zm-5.155 1.903c.006-.314.035-.73.052-.99.008-.097.031-.206.123-.23.094-.025.26.095.262-.006-.018-.199-.059-.494-.17-.634-.155-.228-.562-.173-.635.184.002.133.062.203.051.323-.018.068-.09.114-.257.034.028-.024-.109-.214-.109-.214-.13-.08-.306.005-.419.077a.638.638 0 0 0-.036.508c.184.35.829.941 1.138.948Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M29.626 11.51c.45.552.91 1.112 1.374 1.68.1 1.272.126 2.312.225 3.582-.014.539-.18 1.008-.339 1.076 0 0-.238.138-.398-.014-.117-.048-.583-.777-.583-.777-.239-.218-.396-.157-.565 0-.468.45-.678 1.297-.995 1.878-.083.131-.314.242-.571-.009-.65-.89-.27-2.157-.35-1.83-.58.653-.324 1.735-.193 1.969.19.381.346.627.718.817.339.249.603.092.748-.082.341-.355.346-1.255.506-1.437.11-.328.395-.272.532-.126.134.19.291.314.485.42.319.282.699.332 1.072.075.256-.143.423-.329.573-.697.166-.443.075-2.48.041-3.701.239.308.47.63.706.95a22.95 22.95 0 0 1 .128 3.073c-.025.208.723-.615.717-1.006-.003-.316 0-.602 0-.871.36.542.71 1.1 1.04 1.69.206-.107.138-1.268.008-1.428-.38-.637-.887-1.3-1.236-1.774-.023-.06-.035-.128-.063-.185-.14-.324-.052-.586-.118-.93-.065-.347-.048-.864-.148-1.274-.028-.16-.11-.674-.086-.722.04-.115.194.003.27-.13.111-.122-.39-1.422-.646-1.795-.092-.166-.258-.109-.464.162-.19.178-.119.585-.046.97.18.936.33 1.833.46 2.72-.248-.33-.548-.72-.839-1.096l-.012-.068c0-.017-.042-.806-.079-.994-.006-.075-.024-.098.056-.09.085.072.095.076.15.1.085.016.16-.13.11-.264l-.796-1.464c-.063-.063-.146-.131-.246.017a.575.575 0 0 0-.197.435c.025.346.085.7.108 1.048l.034.187c-.035-.041-.078-.093-.097-.112-.675-.71.31-.115-.13-.665-.371-.409-.48-.536-.8-.783-.16-.103-.256-.3-.309.036-.02.294-.041.637-.023.884 0 .142.143.4.268.554Zm-13.694 1.66c.388.16.636-.58.796-1.388.107-.228.19-.253.246-.136-.014 1.077.077 1.316.354 1.643.617.477 1.127.06 1.169.02l.48-.48c.106-.112.25-.12.4-.02.148.133.128.363.441.523.265.106.831.025.962-.203.177-.301.22-.406.3-.52.126-.167.342-.092.342-.04-.02.094-.147.188-.06.356.15.112.184.04.273.015.314-.15.548-.83.548-.83.014-.255-.128-.233-.22-.18-.12.072-.128.096-.248.17-.154.023-.45.125-.597-.103-.15-.274-.153-.655-.267-.93 0-.02-.2-.436-.014-.462.094.017.292.069.325-.097.096-.163-.211-.628-.42-.863-.184-.2-.437-.225-.682-.02-.172.158-.148.333-.182.501a.782.782 0 0 0 .162.682c.17.337.483.772.38 1.381 0 0-.182.29-.5.253-.132-.03-.348-.087-.462-.933-.086-.641.022-1.538-.25-1.958-.099-.254-.17-.499-.41-.065-.064.17-.341.43-.14.963.165.337.231.886.157 1.499-.114.174-.138.232-.287.406-.21.225-.436.168-.61.083-.163-.11-.289-.166-.363-.514.014-.554.045-1.461-.056-1.654-.15-.298-.396-.19-.502-.1-.506.463-.756 1.243-.908 1.863-.14.453-.289.323-.394.14-.255-.24-.272-2.112-.581-1.803-.497 1.406.28 2.951.818 2.8Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m23.288 16.19-.148-.084-2.894-.014c-.15-.057-.104-.106 0-.146.69-.094 1.92-.294 2.002-1.474-.014-.614-.265-1.017-1.019-1.127-.552.043-.947.58-.884 1.169-.026.16.052.47-.11.506-1.063.097-2.221.761-2.26 1.239-.064.044-.209-.085-.19-.288a5.683 5.683 0 0 0-.731-2.471c-.336-.335-.23-.225-.456-.066-.144.166-.17.28-.163.61 0 .013.271.768.5 1.297.153.544.296 1.164.193 1.75-.357.775-1.076 1.47-1.768 1.848-.357.115-.663.073-.739-.007-.22-.147-.209-.42-.192-.424.583-.408 1.251-.736 1.774-1.833.154-.418.2-.672.048-1.32-.06-.243-.137-.44-.303-.612.093-.062.363.143.404.022-.061-.311-.272-.726-.509-.939-.208-.19-.434-.21-.625-.037-.215.12-.261.548-.158.923.114.283.423.331.645.899 0 .012.08.424-.034.586-.091.283-1.268 1.208-1.333 1.25-.032.04-.018-.02-.023-.175-.007-.187.076-.63.053-.633-.383.247-.511 1.006-.58 1.23-.97.67-2.066 1.168-2.7 1.848-.331.515 2.274-.592 2.577-.726.067.049.06.281.241.489.27.366.843.592 1.405.452.938-.34 1.481-.98 2.032-1.689.079-.115.202-.203.316-.115.378.847 1.472 1.447 2.883 1.51.327-.398.169-.59.036-.673 0-.013-.697-.277-.803-.542-.064-.24.093-.45.407-.61.906-.11 1.796-.232 2.66-.508.009-.29.176-.724.292-.911.11-.19.17-.134.154-.203Zm-2.38-1.802c.043-.073.186-.07.32.009.133.077.209.2.164.272-.043.074-.187.07-.321-.009-.134-.077-.206-.199-.163-.272Zm-1.165 2.923c-.31.106-.61.189-.61.638.116.625-.158.411-.32.325-.19-.137-.727-.468-.804-1.182-.012-.17.122-.313.336-.313.321.087.797.093 1.209.136.337.022.504.287.19.396ZM9.025 10.38c.332.16.96.092.932-.446 0-.048-.012-.208-.017-.25-.068-.16-.252-.12-.295.044-.014.054.023.14-.025.167-.028.028-.134.011-.13-.137 0-.047-.035-.098-.055-.127-.021-.014-.033-.019-.072-.019-.046.002-.046.014-.07.054-.011.039-.027.079-.027.123-.006.053-.026.071-.064.08-.044 0-.034.005-.068-.018-.022-.023-.048-.033-.048-.071 0-.04-.01-.105-.021-.132-.019-.025-.048-.036-.082-.045-.181 0-.194.208-.183.288-.017.014-.023.386.225.489Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M19.25 13.888c0-.048-.036-.097-.056-.128-.022-.014-.034-.018-.072-.018-.047.001-.045.013-.071.053-.011.04-.026.079-.026.123-.005.054-.027.073-.065.08-.043 0-.034.005-.07-.016-.02-.023-.047-.033-.047-.071 0-.04-.01-.106-.021-.133-.019-.024-.048-.035-.082-.043-.182 0-.194.208-.185.287-.014.015-.021.386.227.49.333.159 1.126.066.932-.446 0-.048-.012-.208-.017-.252-.068-.159-.254-.119-.296.044-.012.054.025.14-.024.168-.025.028-.132.01-.128-.138Zm5.225-1.088c.333.16.959.092.931-.445 0-.047-.012-.207-.017-.252-.067-.158-.252-.118-.294.045-.014.053.023.14-.026.167-.027.028-.134.013-.129-.136 0-.048-.035-.099-.055-.128-.022-.014-.034-.019-.074-.019-.046.003-.045.014-.071.054-.01.04-.026.079-.026.123-.006.054-.026.072-.065.08-.043 0-.034.005-.069-.017-.022-.023-.046-.032-.046-.07 0-.04-.01-.107-.022-.134-.02-.025-.047-.036-.083-.043-.181 0-.194.207-.183.286-.01.015-.018.386.23.489Zm.225-2.08c.118.332-.09.65.034.695.112.053.272-.343.33-.707.07-.296-.14-.9-.44-1.025-.18-.043-.44.065-.356.308-.042.117.366.514.432.729Zm3.07 7.79c.232.002.5-.53.613-1.058.063-.726-.043-1.167-.061-1.595-.02-.426-.482-3.68-.577-4.003-.113-.61.45-.082.389-.437-.196-.448-.68-1.098-.834-1.488-.092-.166-.052-.314-.259-.043-.189.623-.255 1.13-.183 1.519.49 2.554.991 4.676.911 7.106Zm5.778-6.676c.053.166-.082.703.03.752.103.056.248-.37.302-.766.03-.217-.13-.974-.402-1.11-.166-.045-.401.07-.324.335-.039.127.334.555.394.789Zm-20.183 5.625c.1.041.236-.273.289-.564.03-.16-.125-.715-.385-.815-.16-.034-.378.01-.31.246-.008.128.353.282.375.579.052.123-.077.518.03.553Zm-7.01-7.1c.051.127-.05.535.056.573.097.043.234-.283.284-.583.03-.166.007-.729-.378-.844-.159-.036-.379.052-.306.253-.037.096.287.422.344.6Zm7.542 1.804c-.294.16-.41.634-.225.91.171.244.442.153.479.153.289.035.46-.541.46-.541s.009-.162-.334.144c-.145.028-.163-.026-.199-.109a.701.701 0 0 1 .045-.45c.05-.142-.061-.205-.226-.107Zm2.218-1.774a.396.396 0 0 0 .182-.268c.044-.224-.239.107-.274-.144-.063-.232.119-.328.29-.552.007-.156.004-.265-.207-.139-.148.1-.443.405-.452.755-.01.199-.046.197.084.324.094.136.188.123.377.024Zm1.999.12c.19-.517.19-.735.204-.955-.058-.334-.284-.323-.433.048-.065.14-.14.877-.128.877-.05.22.23.313.357.03Zm12.57 3.666s-1.544 1.097-1.58 1.136c-.155.135-.078.615 0 .56.108.043 1.66-1.011 1.63-1.134.072.003.107-.617-.05-.562Zm-.19 2.976c.103.055.375-.282.364-.702.031-.217-.078-1.012-.349-1.148-.166-.046-.387.096-.31.359-.039.126.19.568.25.802.054.167-.068.64.045.689Zm-8.739 2.301c0 .014.131.126.285.037.323-.124.526-.244.978-.344.119-.002.111-.32-.076-.331-.245.012-.473.024-.717.218-.151.034-.176-.057-.21-.14-.037-.204.085-.346.059-.498.01.01-.14-.128-.293-.05-.007 0-.34.224-.446.38-.066.051-.058.095-.038.18.05.116.141.08.243.025.135-.018.2.071.19.233-.065.204.025.28.025.29Zm10.079.256c-.05.087-.085.22.072.261.29.082.956-.352.956-.36.107-.081.072-.234.063-.234-.063-.072-.205-.03-.3-.041-.045 0-.196-.023-.123-.155a.92.92 0 0 0 .12-.233c.044-.1.006-.166-.157-.22-.165-.03-.231-.015-.414 0-.099.022-.133.065-.151.185.008.181.117.172.23.244.067.085.11.162-.004.299-.108.1-.183.155-.292.254Zm-.296 7.984h-2.307v-.769a.77.77 0 0 0-1.539 0v.77H9.231s0 1.538 4.615 1.538h13.846V30a.77.77 0 0 0 1.539 0v-.77h1.538V30a.77.77 0 0 0 1.539 0v-1.538a.77.77 0 0 0-.77-.77Z",
|
||||
fill: "#fff"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-7.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgSar);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,37 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgSek = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M19.154 40h25.384c3.399 0 6.154-2.755 6.154-6.923v-9.23H19.154V40ZM44.538 0H19.154v16.154h31.538v-10A6.154 6.154 0 0 0 44.538 0ZM11.462 0h-10a6.154 6.154 0 0 0-6.154 6.15v10.004h16.154V0ZM-4.692 23.846v9.237C-4.69 37.248-1.935 40 1.462 40h10V23.846H-4.693Z",
|
||||
fill: "#006AA7"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M19.154 0H11.46v16.154H-4.691v7.692h16.154V40h7.692V23.846h31.538v-7.692H19.154V0Z",
|
||||
fill: "#FECC00"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-4.692)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgSek);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,42 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgSgd = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M55.385 33.846A6.154 6.154 0 0 1 49.23 40H6.154A6.154 6.154 0 0 1 0 33.846V6.154A6.154 6.154 0 0 1 6.154 0H49.23a6.154 6.154 0 0 1 6.154 6.154v27.692Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M55.385 20V6.154A6.154 6.154 0 0 0 49.23 0H6.154A6.154 6.154 0 0 0 0 6.154V20h55.385Z",
|
||||
fill: "#ED2939"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M14.23 10c0-3.977 2.5-7.305 5.862-8.21a8.458 8.458 0 0 0-2.015-.252A8.46 8.46 0 0 0 9.615 10a8.46 8.46 0 0 0 8.462 8.462 8.38 8.38 0 0 0 2.015-.253c-3.363-.904-5.861-4.232-5.861-8.209Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m23.462 3.077.346 1.063h1.117l-.905.657.346 1.063-.904-.657-.905.657.346-1.063L22 4.14h1.116l.347-1.063Zm-3.077 10.77.346 1.062h1.117l-.905.657.346 1.063-.904-.657-.905.657.346-1.063-.904-.657h1.116l.347-1.063Zm6.153 0 .347 1.062H28l-.904.657.346 1.063-.905-.657-.904.657.346-1.063-.905-.657h1.117l.346-1.063Zm-7.692-6.155.346 1.063h1.117l-.904.657.346 1.063-.905-.657-.904.657.346-1.063-.905-.657H18.5l.346-1.063Zm9.23 0 .347 1.063h1.117l-.905.657.346 1.063-.904-.657-.905.657.346-1.063-.904-.657h1.117l.346-1.063Z",
|
||||
fill: "#EEE"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgSgd);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,36 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgTry = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M51.472 33.754A6.246 6.246 0 0 1 45.226 40H1.503a6.246 6.246 0 0 1-6.246-6.246V5.646A6.246 6.246 0 0 1 1.503-.6h43.723a6.246 6.246 0 0 1 6.246 6.246v28.108Z",
|
||||
fill: "#E30917"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M20.242 29.07a9.368 9.368 0 0 1-9.37-9.37 9.369 9.369 0 0 1 9.37-9.37c2.045 0 3.935.664 5.476 1.778-2.105-2.38-5.172-3.89-8.6-3.89-6.34 0-11.481 5.14-11.481 11.482 0 6.343 5.14 11.483 11.482 11.483 3.427 0 6.496-1.51 8.6-3.89a9.31 9.31 0 0 1-5.477 1.776Zm6.11-9.01 3.81.877.344 3.893 2.011-3.351 3.81.876-2.567-2.949 2.01-3.352-3.597 1.53-2.567-2.95.344 3.895-3.598 1.53Z",
|
||||
fill: "#EEE"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
d: "M0 0h40v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgTry);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,43 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgTwd = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M43.23 0H20.155v20H-6v13.846A6.154 6.154 0 0 0 .154 40H43.23a6.154 6.154 0 0 0 6.154-6.154V6.154A6.154 6.154 0 0 0 43.23 0Z",
|
||||
fill: "#FE0000"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M20.154 0h-20A6.154 6.154 0 0 0-6 6.154V20h26.154V0Zm-9.328 7.092 3.13-.843-2.293 2.288a4.434 4.434 0 0 0-.837-1.445ZM11.212 10a3.75 3.75 0 1 1-7.501 0 3.75 3.75 0 0 1 7.501 0Zm0-6.495-.843 3.13c-.42-.364-.909-.65-1.444-.837l2.287-2.293ZM7.462 2.5l.833 3.13c-.269-.052-.549-.08-.833-.08-.285 0-.565.028-.834.08l.834-3.13ZM5.998 5.798a4.433 4.433 0 0 0-1.444.837l-.843-3.13 2.287 2.293ZM4.097 7.092c-.365.42-.65.91-.837 1.445L.966 6.249l3.13.843ZM3.09 9.166a4.39 4.39 0 0 0 0 1.668L-.04 10l3.13-.834Zm.169 2.295c.186.536.474 1.025.837 1.445l-3.13.843 2.293-2.288Zm.45 5.034.844-3.13c.42.363.91.65 1.444.836l-2.287 2.294ZM7.463 17.5l-.834-3.13a4.391 4.391 0 0 0 1.667 0l-.833 3.13Zm1.463-3.299a4.442 4.442 0 0 0 1.444-.836l.843 3.13-2.287-2.294Zm1.901-1.293c.365-.42.65-.91.837-1.445l2.294 2.288-3.13-.843Zm1.006-2.074a4.39 4.39 0 0 0 0-1.668l3.13.834-3.13.834Z",
|
||||
fill: "#000095"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M8.295 5.63 7.462 2.5l-.834 3.13c.269-.052.549-.08.834-.08.284 0 .564.028.833.08ZM3.011 10c0-.285.027-.565.08-.834L-.04 10l3.13.834c-.051-.27-.08-.55-.08-.834Zm3.617 4.37.834 3.13.833-3.13a4.391 4.391 0 0 1-1.667 0ZM11.912 10c0 .285-.027.565-.08.834l3.13-.834-3.13-.834c.051.27.08.55.08.834Zm-.7-6.495L8.925 5.798a4.472 4.472 0 0 1 1.444.837l.843-3.13Zm-.386 9.403 3.13.843-2.293-2.288a4.433 4.433 0 0 1-.837 1.445Zm-7.115 3.587 2.287-2.294a4.443 4.443 0 0 1-1.444-.836l-.843 3.13Zm.386-9.403L.967 6.25 3.26 8.537a4.433 4.433 0 0 1 .837-1.445Zm4.828 7.11 2.287 2.293-.843-3.13c-.421.364-.909.65-1.444.836Zm-5.665-2.74L.966 13.748l3.13-.843a4.4 4.4 0 0 1-.836-1.445Zm2.738-5.664L3.711 3.505l.843 3.13c.421-.364.91-.65 1.444-.837Zm7.959.451-3.13.843c.364.42.65.91.836 1.445l2.294-2.288Z",
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M7.462 13.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z",
|
||||
fill: "#fff"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-6)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgTwd);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,37 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgUah = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#b)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.23 0H-1.845A6.154 6.154 0 0 0-8 6.154V20h55.385V6.154A6.154 6.154 0 0 0 41.23 0Z",
|
||||
fill: "#005BBB"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.385 33.846A6.154 6.154 0 0 1 41.23 40H-1.846A6.154 6.154 0 0 1-8 33.846V20h55.385v13.846Z",
|
||||
fill: "#FFD500"
|
||||
})))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})), /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "b"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
transform: "translate(-8)",
|
||||
d: "M0 0h55.385v40H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgUah);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,40 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgUsd = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M46.838 3.077C45.772 1.245 43.811 0 41.538 0H20v3.077h26.838Zm-54.53 27.692h55.384v3.077H-7.692V30.77ZM20 18.462h27.692v3.076H20v-3.076Zm0-6.154h27.692v3.077H20v-3.077ZM-7.692 24.615h55.384v3.077H-7.692v-3.077ZM-1.54 40h43.077c2.273 0 4.234-1.245 5.3-3.077H-6.839C-5.772 38.755-3.81 40-1.539 40ZM20 6.154h27.692V9.23H20V6.154Z",
|
||||
fill: "#B22334"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M-7.588 34.89c.026.144.056.287.091.427.04.155.09.305.142.455.136.399.303.783.512 1.143l.004.008h53.677l.004-.006c.207-.358.373-.743.51-1.14.053-.152.103-.305.143-.463.036-.139.065-.28.091-.423.063-.339.106-.686.106-1.045H-7.692c0 .359.043.705.104 1.045Zm-.104-7.198h55.384v3.077H-7.692v-3.077Zm0-6.154v3.077h55.384V21.54H-7.692ZM20 15.386h27.692v3.077H20v-3.077Zm0-6.154h27.692v3.077H20V9.23ZM-7.692 6.154Zm.197-1.47c.038-.158.092-.307.141-.458-.052.15-.101.302-.141.457ZM20 6.153h27.692c0-.359-.043-.706-.106-1.046a5.584 5.584 0 0 0-.09-.422 5.818 5.818 0 0 0-.145-.464 6.475 6.475 0 0 0-.513-1.145H20v3.077Z",
|
||||
fill: "#EEE"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M20 0H-1.54a6.154 6.154 0 0 0-6.153 6.154v15.384H20V0Z",
|
||||
fill: "#3C3B6E"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "m-4.614 4.194.95.69L-4.025 6l.949-.69.95.69-.362-1.115.95-.691h-1.175l-.363-1.117-.362 1.117h-1.175Zm3.077 3.077.95.69-.362 1.116.949-.69.95.69-.362-1.115.95-.691H.363L0 6.154-.362 7.27h-1.175Zm6.154 0 .95.69-.362 1.116.949-.69.95.69-.363-1.115.951-.691H6.517l-.363-1.117-.362 1.117H4.617Zm6.154 0 .95.69-.363 1.116.95-.69.95.69-.363-1.115.951-.691h-1.175l-.363-1.117-.362 1.117h-1.175Zm-12.308 6.154.95.69-.362 1.116.949-.69.95.69-.362-1.116.95-.69H.363L0 12.308l-.362 1.117h-1.175Zm6.154 0 .95.69-.362 1.116.949-.69.95.69-.363-1.116.951-.69H6.517l-.363-1.117-.362 1.117H4.617Zm6.154 0 .95.69-.363 1.116.95-.69.95.69-.363-1.116.951-.69h-1.175l-.363-1.117-.362 1.117h-1.175ZM1.54 4.194l.95.69L2.129 6l.949-.69.95.69-.362-1.115.95-.691H3.44l-.363-1.117-.362 1.117H1.54Zm6.154 0 .95.69L8.282 6l.95-.69.95.69-.363-1.115.951-.691H9.594L9.23 3.077l-.362 1.117H7.694Zm6.154 0 .95.69L14.435 6l.95-.69.95.69-.363-1.115.951-.691h-1.175l-.364-1.117-.361 1.117h-1.175Zm-18.462 6.154.95.69-.362 1.116.949-.69.95.69-.362-1.115.95-.691h-1.175l-.363-1.117-.362 1.117h-1.175Zm6.742 1.806.949-.69.95.69-.362-1.115.95-.691H3.44L3.077 9.23l-.362 1.117H1.54l.95.69-.362 1.116Zm5.566-1.806.95.69-.363 1.116.95-.69.95.69-.363-1.115.951-.691H9.594L9.23 9.23l-.362 1.117H7.694Zm6.154 0 .95.69-.363 1.116.95-.69.95.69-.363-1.115.951-.691h-1.175l-.364-1.117-.361 1.117h-1.175ZM-4.614 16.5l.95.691-.362 1.116.949-.69.95.69-.362-1.116.95-.69h-1.175l-.363-1.117-.362 1.117h-1.175Zm6.742 1.807.949-.69.95.69-.362-1.116.95-.69H3.44l-.363-1.117-.362 1.117H1.54l.95.69-.362 1.116Zm5.566-1.806.95.69-.363 1.116.95-.69.95.69-.363-1.116.951-.69H9.594l-.363-1.117-.362 1.117H7.694Zm6.154 0 .95.69-.363 1.116.95-.69.95.69-.363-1.116.951-.69h-1.175l-.364-1.117-.361 1.117h-1.175Z",
|
||||
fill: "#fff"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "#fff"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgUsd);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,18 @@
|
|||
var _rect;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgDefault = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 40,
|
||||
height: 40,
|
||||
viewBox: "0 0 40 40",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _rect || (_rect = /*#__PURE__*/React.createElement("rect", {
|
||||
width: 40,
|
||||
height: 40,
|
||||
rx: 20,
|
||||
fill: "var(--quaternary-fill-background)"
|
||||
})));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgDefault);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,23 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { forwardRef, memo } from 'react';
|
||||
|
||||
import animationData from './btc_logo.json';
|
||||
|
||||
const BtcAppearance = forwardRef<
|
||||
HTMLDivElement,
|
||||
{ className?: string; onComplete?: () => void }
|
||||
>(({ className, onComplete }, ref) => {
|
||||
return (
|
||||
<div ref={ref}>
|
||||
<Lottie
|
||||
className={className}
|
||||
loop={false}
|
||||
alt="logo"
|
||||
onComplete={onComplete}
|
||||
animationData={animationData}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
||||
export default memo(BtcAppearance);
|
|
@ -0,0 +1,23 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { forwardRef, memo } from 'react';
|
||||
|
||||
import animationData from './ton_logo.json';
|
||||
|
||||
const TonAppearance = forwardRef<
|
||||
HTMLDivElement,
|
||||
{ className?: string; onComplete?: () => void }
|
||||
>(({ className, onComplete }, ref) => {
|
||||
return (
|
||||
<div ref={ref}>
|
||||
<Lottie
|
||||
className={className}
|
||||
loop={false}
|
||||
alt="logo"
|
||||
onComplete={onComplete}
|
||||
animationData={animationData}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
||||
export default memo(TonAppearance);
|
|
@ -0,0 +1,54 @@
|
|||
import Lottie, { LottieRefCurrentProps } from 'lottie-react';
|
||||
import { FC, memo, useRef, useState } from 'react';
|
||||
|
||||
import simpleAnimationData from './dollars_logo.json';
|
||||
import complexAnimationData from './usdt_logo.json';
|
||||
|
||||
const UsdtAppearance: FC<{
|
||||
className?: string;
|
||||
onComplete?: () => void;
|
||||
loop?: boolean;
|
||||
variant?: 'simple' | 'complex';
|
||||
}> = ({ className, onComplete, variant = 'simple', loop = false }) => {
|
||||
const lottieRef = useRef<LottieRefCurrentProps>(null);
|
||||
const [fragment, setFragment] = useState<[number, number]>([30, 55]);
|
||||
const [animating, setAnimating] = useState(false);
|
||||
|
||||
return (
|
||||
<div
|
||||
onClick={() => {
|
||||
if (variant === 'simple' && !animating && lottieRef.current && !loop) {
|
||||
window.Telegram.WebApp.HapticFeedback.impactOccurred('light');
|
||||
lottieRef.current.playSegments(fragment, true);
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Lottie
|
||||
className={className}
|
||||
loop={loop}
|
||||
autoplay={variant !== 'simple' || loop}
|
||||
alt="logo"
|
||||
lottieRef={lottieRef}
|
||||
onSegmentStart={() => {
|
||||
variant === 'simple' && setAnimating(true);
|
||||
}}
|
||||
onComplete={() => {
|
||||
if (variant === 'simple') {
|
||||
if (fragment[0] === 30) {
|
||||
setFragment([90, 115]);
|
||||
} else {
|
||||
setFragment([30, 55]);
|
||||
}
|
||||
setAnimating(false);
|
||||
}
|
||||
onComplete && onComplete();
|
||||
}}
|
||||
animationData={
|
||||
variant === 'simple' ? simpleAnimationData : complexAnimationData
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default memo(UsdtAppearance);
|
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"root":"lvS5","top":"CSEU","topAvatar":"xzEy","title__apple":"qqAj","title__material":"gBPK","text__apple":"i5Bg","text__material":"obWT","digitContainer":"yEDC","digitInput":"eEki","digitInput__apple":"yqMe","digitInput__material":"ip1F","errored":"OOmk","shake":"p_R7","inboxIcon":"bisi","bottom__apple":"ONqg","bottom__material":"fjpO","supportLink":"FQfG"};
|
316
data/mini_app/wallet/src/components/EmailCode/EmailCode.tsx
Normal file
316
data/mini_app/wallet/src/components/EmailCode/EmailCode.tsx
Normal file
|
@ -0,0 +1,316 @@
|
|||
import classNames from 'classnames';
|
||||
import { useContext, useEffect, useRef, useState } from 'react';
|
||||
import Countdown from 'react-countdown';
|
||||
import { Trans, useTranslation } from 'react-i18next';
|
||||
|
||||
import API from 'api/wallet-v2';
|
||||
import { EmailCodeReasonEnum } from 'api/wallet-v2/generated';
|
||||
|
||||
import { WALLET_SUPPORT_BOT_LINK } from 'config';
|
||||
|
||||
import { useAppSelector } from 'store';
|
||||
|
||||
import { SnackbarContext } from 'components/Snackbar/SnackbarProvider';
|
||||
import { Text } from 'components/Text/Text';
|
||||
|
||||
import { censorEmail } from 'utils/common/sanitize';
|
||||
|
||||
import { usePreventContentHideUnderKeyboard } from 'hooks/common/ReceiverSearch/usePreventContentHideUnderKeyboard';
|
||||
import { useTheme } from 'hooks/utils/useTheme';
|
||||
|
||||
import { ReactComponent as MailboxSVG } from 'images/mailbox.svg';
|
||||
|
||||
import styles from './EmailCode.module.scss';
|
||||
|
||||
const EMAIL_TIMEOUT_SEC = 59;
|
||||
const EMAIL_TIMEOUT_MS = EMAIL_TIMEOUT_SEC * 1000;
|
||||
|
||||
export interface EmailCodeProps {
|
||||
reason: EmailCodeReasonEnum;
|
||||
email?: string;
|
||||
onComplete: (emailCode: string) => void;
|
||||
onClear?: () => void;
|
||||
}
|
||||
|
||||
const EmailCode: React.FC<EmailCodeProps> = ({
|
||||
reason,
|
||||
email,
|
||||
onComplete,
|
||||
onClear,
|
||||
}) => {
|
||||
const { t } = useTranslation();
|
||||
const { themeClassName } = useTheme(styles);
|
||||
const snackbarContext = useContext(SnackbarContext);
|
||||
const { contentStyle } = usePreventContentHideUnderKeyboard();
|
||||
const { recoveryEmail } = useAppSelector((state) => state.passcode);
|
||||
|
||||
const digits: React.MutableRefObject<HTMLInputElement | null>[] = [
|
||||
useRef(null),
|
||||
useRef(null),
|
||||
useRef(null),
|
||||
useRef(null),
|
||||
useRef(null),
|
||||
useRef(null),
|
||||
];
|
||||
|
||||
const [emailCode, setEmailCode] = useState('');
|
||||
const [highlightRed, setHighlightRed] = useState(false);
|
||||
const [canResend, setCanResend] = useState(false);
|
||||
const [countdownEnd, setCountdownEnd] = useState(
|
||||
Date.now() + EMAIL_TIMEOUT_MS,
|
||||
);
|
||||
const [countdownSeconds, setCountdownSeconds] = useState(EMAIL_TIMEOUT_SEC);
|
||||
const displayMinutes = Math.floor(countdownSeconds / 60);
|
||||
const displaySeconds = String(countdownSeconds % 60).padStart(2, '0');
|
||||
const isResettingPasscode = reason === EmailCodeReasonEnum.ChangePasscode;
|
||||
|
||||
const customStyle = {
|
||||
display: 'flex',
|
||||
'flex-direction': 'column',
|
||||
height: contentStyle.height === 'initial' ? 'inherit' : contentStyle.height,
|
||||
overflowY: contentStyle.overflowY,
|
||||
};
|
||||
|
||||
// send another email to user with code
|
||||
const handleResendCode = () => {
|
||||
if (!email) {
|
||||
// just in case, in theory this should not occur
|
||||
snackbarContext.showSnackbar({
|
||||
snackbarId: 'email_code',
|
||||
icon: 'warning',
|
||||
text: t('recovery_email.must_enter_email_again'),
|
||||
action: (
|
||||
<a href={WALLET_SUPPORT_BOT_LINK}>{t('common.contact_support')}</a>
|
||||
),
|
||||
actionPosition: 'bottom',
|
||||
});
|
||||
return;
|
||||
}
|
||||
API.RecoveryEmail.requestEmailCode({ email, reason });
|
||||
};
|
||||
|
||||
const focusOnIndex = (index: number) => {
|
||||
const nextRef = digits[index];
|
||||
if (nextRef && nextRef.current) {
|
||||
nextRef.current.focus();
|
||||
}
|
||||
};
|
||||
|
||||
const handleChange = (value: string, index: number) => {
|
||||
if (value.length === 1) {
|
||||
if (value in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']) {
|
||||
// append digit
|
||||
const newEmailCode = emailCode.substring(0, index) + value;
|
||||
|
||||
// prevent retyping last cell without delete
|
||||
if (emailCode.length !== newEmailCode.length) {
|
||||
setEmailCode(newEmailCode);
|
||||
// submit when finishing last digit
|
||||
if (index === digits.length - 1) {
|
||||
onComplete(newEmailCode);
|
||||
}
|
||||
}
|
||||
// move forwards to next cell
|
||||
if (index < digits.length) {
|
||||
focusOnIndex(index + 1);
|
||||
}
|
||||
}
|
||||
} else if (value.length > 1) {
|
||||
if (/^\d+$/.test(value)) {
|
||||
const trimmedValue = value.substring(0, digits.length);
|
||||
setEmailCode(trimmedValue);
|
||||
focusOnIndex(trimmedValue.length);
|
||||
if (trimmedValue.length === digits.length) {
|
||||
onComplete(trimmedValue);
|
||||
}
|
||||
} else {
|
||||
snackbarContext.showSnackbar({
|
||||
snackbarId: 'email_code',
|
||||
icon: 'warning',
|
||||
text: t('recovery_email.pasted_invalid_code', {
|
||||
code: value,
|
||||
}),
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const handleKeyPress = (
|
||||
event: React.KeyboardEvent<HTMLInputElement>,
|
||||
index: number,
|
||||
) => {
|
||||
if (event.key === 'Backspace') {
|
||||
// backspace on empty cell, move backwards
|
||||
if (emailCode.length === index) {
|
||||
if (index > 0) {
|
||||
focusOnIndex(index - 1);
|
||||
}
|
||||
} else {
|
||||
// backspace on non-empty cell, empty cell and keep index
|
||||
setEmailCode(emailCode.substring(0, index));
|
||||
focusOnIndex(index);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const handleFocus = (index: number) => {
|
||||
const trimmedEmailCode = emailCode.trim();
|
||||
|
||||
// Clear code after focused cell
|
||||
if (trimmedEmailCode.length > index) {
|
||||
setEmailCode(trimmedEmailCode.substring(0, index));
|
||||
}
|
||||
};
|
||||
|
||||
const handleClick = (index: number) => {
|
||||
// Focus on last cell before first blank, instead of clicked cell
|
||||
if (emailCode.length < index) {
|
||||
focusOnIndex(emailCode.length);
|
||||
}
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
// trigger resize incase virtual keyboard already open
|
||||
if (window.visualViewport) {
|
||||
window.visualViewport.dispatchEvent(new Event('resize'));
|
||||
}
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (onClear) {
|
||||
setHighlightRed(true);
|
||||
setTimeout(() => {
|
||||
setHighlightRed(false);
|
||||
focusOnIndex(0);
|
||||
setEmailCode('');
|
||||
onClear();
|
||||
}, 1000);
|
||||
}
|
||||
}, [onClear]);
|
||||
|
||||
return (
|
||||
<div className={themeClassName('root')}>
|
||||
<div style={customStyle}>
|
||||
<div className={themeClassName('top')}>
|
||||
<div className={themeClassName('topAvatar')}>
|
||||
<MailboxSVG className={styles.inboxIcon} />
|
||||
</div>
|
||||
<h1 className={themeClassName('title')}>
|
||||
{t(
|
||||
isResettingPasscode
|
||||
? 'recovery_email.check_your_email'
|
||||
: 'recovery_email.email_code',
|
||||
)}
|
||||
</h1>
|
||||
<p className={themeClassName('text')}>
|
||||
{isResettingPasscode ? (
|
||||
<Trans
|
||||
i18nKey="recovery_email.for_recovery_check_email"
|
||||
t={t}
|
||||
components={[<b key="highlight" />]}
|
||||
values={{
|
||||
email: censorEmail(recoveryEmail || ''),
|
||||
}}
|
||||
/>
|
||||
) : (
|
||||
t('recovery_email.check_email_for_code')
|
||||
)}
|
||||
</p>
|
||||
<div className={styles.digitContainer}>
|
||||
{digits.map((ref, index) => (
|
||||
<input
|
||||
key={index}
|
||||
inputMode="numeric"
|
||||
className={classNames(themeClassName('digitInput'), {
|
||||
[styles.errored]: highlightRed,
|
||||
})}
|
||||
ref={ref}
|
||||
onKeyDown={(event) => {
|
||||
handleKeyPress(event, index);
|
||||
}}
|
||||
onChange={(event) => {
|
||||
handleChange(event.target.value, index);
|
||||
}}
|
||||
value={emailCode.length > index ? emailCode[index] : ''}
|
||||
onFocus={() => {
|
||||
handleFocus(index);
|
||||
}}
|
||||
onClick={() => {
|
||||
handleClick(index);
|
||||
}}
|
||||
autoFocus={index === 0 && emailCode.length === 0}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
{/* Countdown used outside of MainButton because MainButton only
|
||||
accepts text and not component
|
||||
*/}
|
||||
<Countdown
|
||||
key={countdownEnd}
|
||||
date={countdownEnd}
|
||||
onComplete={() => {
|
||||
setCanResend(true);
|
||||
}}
|
||||
onTick={() => {
|
||||
setCountdownSeconds(countdownSeconds - 1);
|
||||
}}
|
||||
renderer={() => ''}
|
||||
/>
|
||||
</div>
|
||||
<div className={themeClassName('bottom')}>
|
||||
{isResettingPasscode && (
|
||||
<div className={styles.supportLink}>
|
||||
<Text
|
||||
apple={{
|
||||
variant: 'body',
|
||||
weight: 'regular',
|
||||
color: 'link',
|
||||
}}
|
||||
material={{
|
||||
variant: 'body',
|
||||
weight: 'regular',
|
||||
color: 'link',
|
||||
}}
|
||||
onClick={() => {
|
||||
window.Telegram.WebApp.openTelegramLink(
|
||||
WALLET_SUPPORT_BOT_LINK,
|
||||
);
|
||||
}}
|
||||
>
|
||||
{t('recovery_email.cant_access_your_email')}
|
||||
</Text>
|
||||
</div>
|
||||
)}
|
||||
<Text
|
||||
apple={{
|
||||
variant: 'body',
|
||||
weight: 'regular',
|
||||
color: canResend ? 'link' : 'hint',
|
||||
}}
|
||||
material={{
|
||||
variant: 'body',
|
||||
weight: 'regular',
|
||||
color: canResend ? 'link' : 'hint',
|
||||
}}
|
||||
onClick={() => {
|
||||
if (canResend) {
|
||||
setCanResend(false);
|
||||
setCountdownEnd(Date.now() + EMAIL_TIMEOUT_MS);
|
||||
setCountdownSeconds(EMAIL_TIMEOUT_SEC);
|
||||
handleResendCode();
|
||||
}
|
||||
}}
|
||||
>
|
||||
{canResend && t('recovery_email.resend_code')}
|
||||
{!canResend &&
|
||||
t('recovery_email.request_another_code', {
|
||||
timeRemaining: `${displayMinutes}:${displaySeconds}`,
|
||||
})}
|
||||
</Text>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default EmailCode;
|
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"skeleton":"OAs9","root":"gSiE","root__apple":"Osdr","root__material":"iWfQ","numberSign":"N_98"};
|
|
@ -0,0 +1,49 @@
|
|||
import { FC, useContext } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import Mono from 'components/Mono/Mono';
|
||||
import Skeleton from 'components/Skeleton/Skeleton';
|
||||
import { SnackbarContext } from 'components/Snackbar/SnackbarProvider';
|
||||
|
||||
import { copyToClipboard } from 'utils/common/common';
|
||||
|
||||
import { useTheme } from 'hooks/utils/useTheme';
|
||||
|
||||
import styles from './Identificator.module.scss';
|
||||
|
||||
interface Props {
|
||||
number: string | number;
|
||||
isLoading?: boolean;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export const Identificator: FC<Props> = ({ number, isLoading, className }) => {
|
||||
const { t } = useTranslation();
|
||||
const { themeClassName } = useTheme(styles);
|
||||
const snackbarContext = useContext(SnackbarContext);
|
||||
|
||||
const handleClick = () => {
|
||||
copyToClipboard(String(number)).then(() => {
|
||||
snackbarContext.showSnackbar({
|
||||
text: t('common.copied_to_clipboard'),
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
return (
|
||||
<Skeleton
|
||||
skeleton={
|
||||
<div className={styles.skeleton}>
|
||||
<div className={themeClassName('root')} />
|
||||
</div>
|
||||
}
|
||||
skeletonShown={isLoading}
|
||||
className={className}
|
||||
>
|
||||
<Mono className={themeClassName('root')} onClick={handleClick}>
|
||||
<span className={styles.numberSign}>#</span>
|
||||
{number}
|
||||
</Mono>
|
||||
</Skeleton>
|
||||
);
|
||||
};
|
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"title":"jkMH","title__material":"T_M4","title__apple":"AS5F","options":"LpoM","options__apple":"VVoW","options__material":"ESay"};
|
|
@ -0,0 +1,30 @@
|
|||
import { FC, ReactNode } from 'react';
|
||||
|
||||
import Page from 'components/Page/Page';
|
||||
import { Text } from 'components/Text/Text';
|
||||
|
||||
import { useTheme } from 'hooks/utils/useTheme';
|
||||
|
||||
import styles from './PageWithOptions.module.scss';
|
||||
|
||||
export const PageWithOptions: FC<{
|
||||
backButton?: ReactNode;
|
||||
title: ReactNode;
|
||||
}> = ({ backButton, title, children }) => {
|
||||
const { themeClassName } = useTheme(styles);
|
||||
|
||||
return (
|
||||
<Page expandOnMount mode="secondary">
|
||||
{backButton}
|
||||
<Text
|
||||
apple={{ variant: 'title1' }}
|
||||
material={{ variant: 'headline5' }}
|
||||
align="center"
|
||||
className={themeClassName('title')}
|
||||
>
|
||||
{title}
|
||||
</Text>
|
||||
<div className={themeClassName('options')}>{children}</div>
|
||||
</Page>
|
||||
);
|
||||
};
|
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"root":"nrmr","top":"zKIK","topAvatar":"HKMs","title__apple":"cFaj","title__material":"iN1C","text__apple":"tFSc","text__material":"HWs8","error":"j0zS","error__apple":"aUcy","error__material":"EwjI","passCodeInput":"pexR","bottom__apple":"XPJ0","bottom__material":"JgzZ"};
|
156
data/mini_app/wallet/src/components/Passcode/Passcode.tsx
Normal file
156
data/mini_app/wallet/src/components/Passcode/Passcode.tsx
Normal file
|
@ -0,0 +1,156 @@
|
|||
import { useEffect, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import { PasscodeTypeEnum } from 'api/wallet-v2/generated';
|
||||
|
||||
import PasscodeDots from 'components/PasscodeDots/PasscodeDots';
|
||||
import { Text } from 'components/Text/Text';
|
||||
|
||||
import { usePreventContentHideUnderKeyboard } from 'hooks/common/ReceiverSearch/usePreventContentHideUnderKeyboard';
|
||||
import { useTheme } from 'hooks/utils/useTheme';
|
||||
|
||||
import styles from './Passcode.module.scss';
|
||||
import { ReactComponent as SecretMonkey } from './secret_monkey.svg';
|
||||
|
||||
export interface PassCodeProps {
|
||||
title: string;
|
||||
onComplete: (passcode: string, passcodeOption: PasscodeTypeEnum) => void;
|
||||
showOptions?: boolean;
|
||||
error?: string;
|
||||
onClear?: () => void;
|
||||
defaultPasscodeType?: PasscodeTypeEnum;
|
||||
}
|
||||
|
||||
const Passcode: React.FC<PassCodeProps> = ({
|
||||
title,
|
||||
onComplete,
|
||||
showOptions,
|
||||
error,
|
||||
onClear,
|
||||
defaultPasscodeType = PasscodeTypeEnum._4Digit,
|
||||
}) => {
|
||||
const { t } = useTranslation();
|
||||
const { themeClassName } = useTheme(styles);
|
||||
const { contentStyle } = usePreventContentHideUnderKeyboard();
|
||||
|
||||
const [formPasscode, setFormPasscode] = useState('');
|
||||
const [formPasscodeType, setFormPasscodeType] = useState(defaultPasscodeType);
|
||||
const [shake, setShake] = useState(false);
|
||||
const customStyle = {
|
||||
display: 'flex',
|
||||
'flex-direction': 'column',
|
||||
height: contentStyle.height === 'initial' ? 'inherit' : contentStyle.height,
|
||||
overflowY: contentStyle.overflowY,
|
||||
};
|
||||
|
||||
const passcodeMaxLength =
|
||||
formPasscodeType === PasscodeTypeEnum._6Digit ? 6 : 4;
|
||||
|
||||
useEffect(() => {
|
||||
// trigger resize incase virtual keyboard already open
|
||||
if (window.visualViewport) {
|
||||
window.visualViewport.dispatchEvent(new Event('resize'));
|
||||
}
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (onClear) {
|
||||
setShake(true);
|
||||
setTimeout(() => {
|
||||
setShake(false);
|
||||
setFormPasscode('');
|
||||
setFormPasscodeType(defaultPasscodeType);
|
||||
onClear();
|
||||
}, 1000);
|
||||
}
|
||||
}, [onClear]);
|
||||
|
||||
const handleUpdatePasscode = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
const eventPasscode = e.target.value;
|
||||
if (eventPasscode.length <= passcodeMaxLength) {
|
||||
setFormPasscode(eventPasscode);
|
||||
}
|
||||
if (eventPasscode.length == passcodeMaxLength) {
|
||||
onComplete(eventPasscode, formPasscodeType);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={themeClassName('root')}>
|
||||
<div style={customStyle}>
|
||||
<label htmlFor="passCodeInput" className={themeClassName('top')}>
|
||||
<SecretMonkey className={themeClassName('topAvatar')} />
|
||||
<h1 className={themeClassName('title')}>{title}</h1>
|
||||
<p className={themeClassName('text')}>
|
||||
{t('passcode.enter_passcode', {
|
||||
passcodeLength: passcodeMaxLength,
|
||||
})}
|
||||
</p>
|
||||
<PasscodeDots
|
||||
passcodeLength={formPasscode.length}
|
||||
passcodeMaxLength={passcodeMaxLength}
|
||||
shake={shake}
|
||||
/>
|
||||
{error && <div className={themeClassName('error')}>{error}</div>}
|
||||
<input
|
||||
id="tgcrawl"
|
||||
type="number"
|
||||
pattern="[0-9]*"
|
||||
onChange={handleUpdatePasscode}
|
||||
onBlur={(e) => {
|
||||
e.preventDefault();
|
||||
return;
|
||||
}}
|
||||
value={formPasscode}
|
||||
autoFocus
|
||||
className={styles.passCodeInput}
|
||||
/>
|
||||
</label>
|
||||
{showOptions && (
|
||||
<div className={themeClassName('bottom')}>
|
||||
<Text
|
||||
apple={{
|
||||
variant: 'body',
|
||||
weight: 'regular',
|
||||
color: 'link',
|
||||
}}
|
||||
material={{
|
||||
variant: 'body',
|
||||
weight: 'regular',
|
||||
color: 'link',
|
||||
}}
|
||||
onClick={() => {
|
||||
window.Telegram.WebApp.showPopup(
|
||||
{
|
||||
message: t('passcode.select_passcode_type'),
|
||||
buttons: [
|
||||
{
|
||||
id: PasscodeTypeEnum._4Digit,
|
||||
text: t('passcode.4_digit_code'),
|
||||
},
|
||||
{
|
||||
id: PasscodeTypeEnum._6Digit,
|
||||
text: t('passcode.6_digit_code'),
|
||||
},
|
||||
],
|
||||
},
|
||||
(id: string) => {
|
||||
const option = Object.entries(PasscodeTypeEnum).find(
|
||||
([, value]) => value === id,
|
||||
);
|
||||
if (!option) return;
|
||||
setFormPasscodeType(option[1]);
|
||||
},
|
||||
);
|
||||
}}
|
||||
>
|
||||
{t('passcode.passcode_options')}
|
||||
</Text>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Passcode;
|
244
data/mini_app/wallet/src/components/Passcode/secret_monkey.svg
Normal file
244
data/mini_app/wallet/src/components/Passcode/secret_monkey.svg
Normal file
|
@ -0,0 +1,244 @@
|
|||
var _g, _defs;
|
||||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
const SvgSecretMonkey = (props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
||||
width: 124,
|
||||
height: 124,
|
||||
viewBox: "0 0 124 124",
|
||||
fill: "none",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
ref: ref
|
||||
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
||||
clipPath: "url(#a)"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M90.928 29.094c4.547-.3 11.278-.558 16.379 5.739 5.631 6.95 5.739 20.624-5.141 29.65-11.395 9.455-23.912-34.552-11.238-35.39Z",
|
||||
fill: "#9E763D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M93.439 35.342s6.695-1.957 10.576 4.603c3.163 5.346 1.22 14.336-3.755 18.392-5.917 4.822-10.9-23.444-6.821-22.995Z",
|
||||
fill: "#EDACAA"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M108.914 43.5s-1.112-9.144-9.468-11.487",
|
||||
stroke: "#BC9259",
|
||||
strokeWidth: 2.301,
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M90.928 29.094c4.547-.3 11.278-.558 16.379 5.739 5.631 6.95 5.739 20.624-5.141 29.65-11.395 9.455-23.912-34.552-11.238-35.39Z",
|
||||
stroke: "#5E421F",
|
||||
strokeWidth: 1.841,
|
||||
strokeMiterlimit: 10
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M92.121 41.456c9.81-5.098 13.437 6.412 13.437 6.412.002 0 .003-.003.005-.003.295-2.86-.14-5.702-1.451-7.92-3.88-6.56-10.575-4.603-10.575-4.603-1.276-.14-1.665 2.527-1.416 6.114Z",
|
||||
fill: "#DB9897"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M35.357 29.094c-4.547-.3-11.278-.558-16.38 5.739-5.63 6.95-5.738 20.624 5.142 29.65 11.395 9.455 23.912-34.552 11.238-35.39Z",
|
||||
fill: "#9E763D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M35.357 29.094c-4.547-.3-11.278-.558-16.38 5.739-5.63 6.95-5.738 20.624 5.142 29.65 11.395 9.455 23.912-34.552 11.238-35.39Z",
|
||||
stroke: "#5E421F",
|
||||
strokeWidth: 1.841,
|
||||
strokeMiterlimit: 10
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M17.336 43.27s1.112-9.145 9.469-11.487",
|
||||
stroke: "#BC9259",
|
||||
strokeWidth: 2.301,
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M35.357 29.094c-4.547-.3-11.278-.558-16.38 5.739-5.63 6.95-5.738 20.624 5.142 29.65 11.395 9.455 23.912-34.552 11.238-35.39Z",
|
||||
stroke: "#5E421F",
|
||||
strokeWidth: 1.841,
|
||||
strokeMiterlimit: 10
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M32.847 35.342s-6.696-1.957-10.577 4.603c-3.163 5.346-1.22 14.336 3.755 18.392 5.917 4.822 10.9-23.444 6.822-22.995Z",
|
||||
fill: "#EDACAA"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M34.262 41.456c-9.81-5.098-13.438 6.412-13.438 6.412-.002 0-.002-.003-.004-.003-.295-2.86.14-5.702 1.45-7.92 3.88-6.56 10.576-4.603 10.576-4.603 1.276-.14 1.665 2.527 1.416 6.114Z",
|
||||
fill: "#DB9897"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M101.018 57.188c-5.061-10.122-2.383-10.587-5.42-20.684-3.499-11.628-14.605-22.152-32.378-22.152-17.964 0-28.879 10.524-32.377 22.152-3.038 10.097-.36 10.562-5.421 20.684-5.557 11.114-7.904 41.414 37.798 41.414s43.356-30.3 37.798-41.414Z",
|
||||
fill: "#9E763D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M97.918 57.13c-4.647-9.291-2.188-9.719-4.977-18.987-3.21-10.674-13.406-20.335-29.72-20.335-16.492 0-26.51 9.66-29.722 20.335-2.789 9.268-.33 9.696-4.976 18.987-5.102 10.202-7.256 38.017 34.697 38.017S103.02 67.332 97.918 57.13Z",
|
||||
fill: "#BC9259"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M84.285 27.809c0 5.415-9.367 9.805-20.923 9.805-11.555 0-20.922-4.39-20.922-9.805s9.367-9.805 20.922-9.805c11.556 0 20.923 4.39 20.923 9.805Z",
|
||||
fill: "#C79F6B"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M76.43 20.35c.347.114.708.237 1.079.37M71.566 19.104s1.12.175 2.876.652",
|
||||
stroke: "#fff",
|
||||
strokeWidth: 1.38,
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M101.018 57.188c-5.061-10.122-2.383-10.587-5.42-20.684-3.499-11.628-14.605-22.152-32.378-22.152-17.964 0-28.879 10.524-32.377 22.152-3.038 10.097-.36 10.562-5.421 20.684-5.557 11.114-7.904 41.414 37.798 41.414s43.356-30.3 37.798-41.414Z",
|
||||
stroke: "#5E421F",
|
||||
strokeWidth: 1.841,
|
||||
strokeMiterlimit: 10
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M82.38 44.526c-8.927-2.164-15.287 3.833-17.874 6.911-.672.8-1.9.8-2.572 0-2.587-3.078-8.947-9.075-17.874-6.911-11.836 2.87-13.63 13.151-12.434 18.532 1.117 5.025 5.258 9.842 11.84 12.209a1.676 1.676 0 0 1 1.077 1.934c-.799 3.646-2.393 13.195 1.334 18.592a4.065 4.065 0 0 0 2.792 1.712c1.698.233 4.637.869 7.108 2.583 3.905 2.71 7.443 2.544 7.443 2.544s3.538.166 7.443-2.544c2.47-1.714 5.41-2.35 7.108-2.583a4.066 4.066 0 0 0 2.792-1.712c3.727-5.397 2.133-14.946 1.334-18.592a1.676 1.676 0 0 1 1.077-1.934c6.582-2.367 10.724-7.184 11.84-12.21 1.196-5.38-.598-15.662-12.434-18.531Z",
|
||||
fill: "#F0D8B3"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M92.852 53.724a2.968 2.968 0 0 1-1.297 3.743c-9.134 5.05-21.027 2.91-26.202 1.853-1.535-.313-3.12-.3-4.646.058-12.914 3.029-21.603-.252-25.51-2.269-1.437-.741-2.034-2.5-1.31-3.946 1.261-2.523 3.952-6.205 10.555-7.903 8.895-2.288 14.905 3.098 17.493 6.176.672.801 1.898.801 2.57 0 2.588-3.078 8.767-8.22 17.694-6.058 6.163 1.495 9.112 4.683 10.653 8.346Z",
|
||||
fill: "#DBBF97"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M82.38 44.526c-8.927-2.164-15.287 3.833-17.874 6.911-.672.8-1.9.8-2.572 0-2.587-3.078-8.947-9.075-17.874-6.911-11.836 2.87-13.63 13.151-12.434 18.532 1.117 5.025 5.258 9.842 11.84 12.209a1.676 1.676 0 0 1 1.077 1.934c-.799 3.646-2.393 13.195 1.334 18.592a4.065 4.065 0 0 0 2.792 1.712c1.698.233 4.637.869 7.108 2.583 3.905 2.71 7.443 2.544 7.443 2.544s3.538.166 7.443-2.544c2.47-1.714 5.41-2.58 7.108-2.813 1.128-.155 2.145-.545 2.792-1.482 3.727-5.397 2.133-14.946 1.334-18.592a1.676 1.676 0 0 1 1.077-1.934c6.582-2.367 10.724-7.184 11.84-12.21 1.196-5.38-.598-15.662-12.434-18.531Z",
|
||||
stroke: "#F0D8B3",
|
||||
strokeWidth: 1.841,
|
||||
strokeMiterlimit: 10
|
||||
}), /*#__PURE__*/React.createElement("g", {
|
||||
opacity: 0.11
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M83.134 92.284c-.384 1.519-1.207 3.195-1.854 4.132-.646.936-2.381.935-3.508 1.089-1.698.232-4.639.87-7.11 2.584-3.904 2.71-7.443 2.542-7.443 2.542s-3.536.168-7.443-2.542c-2.469-1.714-5.409-2.352-7.107-2.584-1.127-.154-2.556-.143-3.34-.968-.883-.93-1.65-3.07-2.012-4.243 2.833.785 11.43 3.244 14.748 5.147 4.126 2.367 8.663 1.302 10.596 0 1.815-1.225 8.756-4.234 14.473-5.157Z",
|
||||
fill: "#9E763D"
|
||||
})), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M45.668 96.72c3.96 1.18 7.396 1.813 9.925 3.414 4.282 2.711 7.627 2.498 7.627 2.498s3.537.166 7.443-2.544c2.343-1.625 5.753-2.268 10.045-3.367",
|
||||
stroke: "#B29572",
|
||||
strokeWidth: 1.841,
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M70.255 81.755c-.339-.15-1.398-.116-2.925-.261a48.435 48.435 0 0 0-3.967-.18c-1.631 0-3.404.1-4.022.152-1.529.13-2.614.14-2.954.289-.46.202-.088 1.282.488 2.155.815 1.238 3.82 3.123 6.447 3.123 2.627 0 5.632-1.885 6.447-3.123.576-.873.947-1.953.486-2.155Z",
|
||||
fill: "#DBBF97"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M69.878 82.477c-.379-.05-1.083.407-2.666.249a41.67 41.67 0 0 0-3.849-.183 49.42 49.42 0 0 0-3.914.156c-1.585.142-2.316-.329-2.683-.222-.701.204-.384 1.876.213 2.749.846 1.237 3.613 3.39 6.34 3.39s5.555-2.092 6.401-3.33c.597-.873.892-2.714.158-2.809Z",
|
||||
fill: "#FFF4E9"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M69.878 82.477c-.339-.15-1.174-.132-2.701-.278a45.698 45.698 0 0 0-3.814-.163c-1.63 0-3.256.084-3.874.137-1.528.13-2.384.155-2.723.304-.46.203-.089 1.066.487 1.94.815 1.237 3.442 3.123 6.07 3.123 2.626 0 5.253-1.886 6.069-3.123.575-.874.947-1.737.486-1.94Z",
|
||||
fill: "#3F0A24"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M67.297 86.287c-1.134.702-2.555 1.253-3.975 1.253-1.46 0-2.92-.626-4.07-1.355-.054 0 .55.362.873.362 1.473 0 3.153.207 3.153.207s1.772-.409 3.205-.15c.308.057.97-.317.814-.317Z",
|
||||
fill: "#B24660"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M69.843 83.64c.087-.323.056-.568-.155-.664-.33-.15-1.245-.178-2.73-.313-.598-.055-2.012-.127-3.594-.127-1.584 0-3.061.054-3.663.103-1.484.12-2.414.187-2.744.337-.212.097-.242.34-.156.663-.274-.561-.355-1.02-.035-1.161.34-.15 1.195-.175 2.724-.305a54.475 54.475 0 0 1 3.873-.137c1.63 0 3.196.105 3.813.163 1.528.146 2.362.13 2.702.279.321.14.238.601-.035 1.162Z",
|
||||
fill: "#040001"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M67.507 68.868c-.835-.022-2.08.37-2.78.682-.726.321-2.03.321-2.755 0-.701-.311-1.946-.704-2.78-.682-2.597.067-3.802 1.547-3.778 3.955.018 1.818 1.072 5.433 7.935 5.433 6.795 0 7.833-3.555 7.935-5.433.131-2.404-1.18-3.888-3.777-3.955Z",
|
||||
fill: "#DBBF97"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M61.938 72.81c.577 1.13.113 2.524-.795 2.987-.908.464-2.022-.04-2.67-1.133-.971-1.641-.56-2.952.348-3.415.908-.464 2.213-.21 3.117 1.561Z",
|
||||
fill: "#F0D8B4"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M61.659 72.298c.577 1.13.309 2.423-.6 2.887-.908.463-2.112-.078-2.69-1.208-.577-1.13-.308-2.423.6-2.887.908-.464 2.112.077 2.69 1.208Z",
|
||||
fill: "#674430"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M61.658 72.298c.108.211.188.43.237.647-.58-1.116-1.86-1.444-2.72-1.004-.862.44-.984 1.488-.414 2.614a2.836 2.836 0 0 1-.392-.578c-.577-1.132-.309-2.424.6-2.887.908-.464 2.112.076 2.69 1.208Z",
|
||||
fill: "#361609"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M64.787 72.81c-.578 1.13-.114 2.524.795 2.987.908.464 2.022-.04 2.669-1.133.972-1.641.561-2.952-.347-3.415-.908-.464-2.213-.21-3.117 1.561Z",
|
||||
fill: "#F0D8B4"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M65.066 72.298c-.577 1.13-.309 2.423.6 2.887.908.463 2.112-.078 2.689-1.208s.309-2.423-.6-2.887c-.908-.464-2.112.077-2.689 1.208Z",
|
||||
fill: "#674430"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M65.066 72.298c-.108.211-.187.43-.236.647.58-1.116 1.86-1.444 2.72-1.004.862.44.984 1.488.414 2.614.148-.17.282-.363.392-.578.577-1.132.309-2.424-.6-2.887-.908-.464-2.112.076-2.69 1.208Z",
|
||||
fill: "#361609"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M73.183 63.8c0 1.558 2.733 2.723 5.814 2.723 3.082 0 5.815-1.654 5.815-2.608 0-2.67-2.733 1.303-5.815 1.303-3.081 0-5.814-3.8-5.814-1.418Z",
|
||||
fill: "#DBBF97"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M73.41 63.097c0 1.541 2.492 2.982 5.574 2.982 3.081 0 5.585-1.786 5.585-2.982 0-1.248-2.504 1.879-5.585 1.879-3.082 0-5.574-3.156-5.574-1.879Z",
|
||||
fill: "#111"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M75.89 64.665c0-.058 1.403.664 3.096.664 1.692 0 3.06-.773 3.06-.714 0 .037-1.368.707-3.06.707-1.693 0-3.096-.62-3.096-.657Z",
|
||||
fill: "#F5F5F5"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M75.946 65.227c0 .504 1.957.66 3.051.66s2.934-.242 2.934-.747c0-.257-1.84.405-2.933.405-1.094 0-3.052-.46-3.052-.318Z",
|
||||
fill: "#484949"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M53.132 63.8c0 1.558-2.733 2.723-5.815 2.723-3.081 0-5.814-1.654-5.814-2.608 0-2.67 2.733 1.303 5.814 1.303 3.082 0 5.815-3.8 5.815-1.418Z",
|
||||
fill: "#DBBF97"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M52.904 63.097c0 1.541-2.492 2.982-5.573 2.982-3.082 0-5.586-1.786-5.586-2.982 0-1.248 2.504 1.879 5.586 1.879 3.081 0 5.573-3.156 5.573-1.879Z",
|
||||
fill: "#111"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M50.425 64.665c0-.058-1.403.664-3.096.664s-3.06-.773-3.06-.714c0 .037 1.367.707 3.06.707s3.096-.62 3.096-.657Z",
|
||||
fill: "#F5F5F5"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M50.368 65.227c0 .504-1.957.66-3.05.66-1.094 0-2.935-.242-2.935-.747 0-.257 1.84.405 2.933.405 1.094 0 3.052-.46 3.052-.318Z",
|
||||
fill: "#484949"
|
||||
}), /*#__PURE__*/React.createElement("g", {
|
||||
opacity: 0.2
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M61.188 50.291c-.815 2.846-2.73 6.686-3.604 10.994-1.581 7.802-3.915 15.468-9.747 19.277-1.777 1.13-3.67 3.103-4.366 5.718-.505 1.894.998 7.849 8.34 12.345-7.978-1.632-19.728-6.624-23.245-9.6 1.236-5.166 2.005-7.032 2.205-8.585.353-2.74-.304-5.13-.871-6.582a6.608 6.608 0 0 1-.69-1.48s-2.359-4.629-.904-11.506c1.42-6.711 5.589-14.318 10.416-13.63 0 0 4.735-8.493 9.156-10.276 3.323-1.34 5.15.877 5.192 2.647 0 0-.257-1.833 2.665-1.53 2.923.301 2.084.453 1.455 3.352 0 0 7.098-1.974 3.998 8.856Z",
|
||||
fill: "#9E763D"
|
||||
})), /*#__PURE__*/React.createElement("g", {
|
||||
opacity: 0.2
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M64.763 50.533c.815 2.846 2.731 6.686 3.604 10.994 1.582 7.802 3.915 15.468 9.748 19.277 1.777 1.13 3.67 3.104 4.366 5.718.505 1.894-.999 7.849-8.341 12.346 7.979-1.633 19.729-6.625 23.245-9.601-1.236-5.166-2.005-7.032-2.205-8.585-.352-2.74.305-5.13.872-6.582a6.61 6.61 0 0 0 .69-1.48s2.358-4.629.903-11.506c-1.42-6.71-5.588-14.317-10.416-13.63 0 0-4.734-8.493-9.156-10.276-3.323-1.34-5.15.878-5.191 2.647 0 0 .257-1.832-2.666-1.53-2.922.301-2.083.453-1.454 3.352 0 0-7.099-1.974-3.999 8.856Z",
|
||||
fill: "#9E763D"
|
||||
})), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M99.049 70.239s2.549-4.225 1.642-10.84c-.885-6.456-4.313-13.949-8.936-13.63 0 0-3.905-8.37-7.97-10.362-3.058-1.498-4.942.479-5.102 2.152 0 0-1.833-2.642-4.623-2.556-2.79.085-3.905 2.875-3.507 5.665 0 0-2.727-.963-3.905 2.152-1.116 2.949 3.1 10.204 3.972 14.966 1.049 5.731 1.646 12.863 6.946 17.714 5.3 4.85 19.131.637 21.483-5.261Z",
|
||||
fill: "#E9C9A5"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M67.053 46.92c.186-.375.288-.77.27-1.15-.125-2.39 1.813-3.959 4.77.92 3.15 5.195 3.676 7.896 4.734 8.492 1.391.785 1.336-1.224 1.336-1.224-.674-2.68-3.069-6.796-4.7-9.465-1.633-2.667-2.119-4.22-2.119-4.22 1.185-4.141 3.984-2.714 6.82.79 2.56 3.163 4.539 8.045 5.579 10.095 1.04 2.053 2.354.909 2.427.672.076-.237-.15-.883-.15-.883-.98-3.484-5.484-11.502-5.484-11.502.315-2.605 2.489-2.528 6.12 2.326 4.212 5.632 5.174 12.984 6.612 13.727 1.264.652 1.767-.755 1.767-.755l-1.183-3.92c.838-3.654 3.818-.742 3.933-.627-1.553-2.724-3.599-4.59-5.955-4.426 0 0-3.906-8.37-7.97-10.363-3.057-1.498-4.942.479-5.103 2.154 0 0-1.831-2.644-4.622-2.559-2.789.087-3.905 2.876-3.507 5.667 0 0-2.726-.964-3.906 2.151-.37.978-.154 2.425.33 4.1Z",
|
||||
fill: "#FCE3C7"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M69.565 54.103c.46 1.306.85 2.564 1.055 3.682 1.048 5.733 1.646 12.863 6.947 17.715 5.298 4.85 19.13.637 21.48-5.261 0 0 2.551-4.226 1.644-10.84a28.336 28.336 0 0 0-.618-3.153s-.237 13.605-10.055 14.358c-7.708.592-14.553-.393-20.453-16.501Z",
|
||||
fill: "#DCB07F"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M99.049 70.239s2.549-4.225 1.642-10.84c-.885-6.456-4.313-13.949-8.936-13.63 0 0-3.905-8.37-7.97-10.362-3.058-1.498-4.942.479-5.102 2.152 0 0-1.833-2.642-4.623-2.556-2.79.085-3.905 2.875-3.507 5.665 0 0-2.727-.963-3.905 2.152-1.116 2.949 3.1 10.204 3.972 14.966 1.049 5.731 1.646 12.863 6.946 17.714 5.3 4.85 19.131.637 21.483-5.261Z",
|
||||
stroke: "#946037",
|
||||
strokeWidth: 1.841,
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M78.683 37.56s5.34 6.934 7.413 13.868M91.755 45.77s2.392 5.26 3.268 9.245M70.553 40.668s4.862 5.5 7.665 13.47",
|
||||
stroke: "#946037",
|
||||
strokeWidth: 1.841,
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M104.832 109.919s-7.506-27.854-7.75-32.153c-.245-4.3.719-6.802.719-6.802l-2.157 2.258-.892-2.862c-.13-.417-.676-.56-.978-.23l-1.855 2.028-2.53-3.207c-.288-.36-.878-.26-1.007.187l-1.208 3.969-4.012-1.597a.582.582 0 0 0-.791.533v4.53l-4.487-1.841s5.033 3.522 5.838 7.707c.806 4.185 3.553 27.71 3.553 27.71s3.278 1.783 7.808 1.769c7.894-.015 9.749-1.999 9.749-1.999Z",
|
||||
fill: "#9E763D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M91.344 111.53s3.264.819 7.449.259c4.946-.662 6.039-1.87 6.039-1.87s-5.105-18.809-7.017-27.825l-.46.92c-.633-3.365-4.703-6.873-7.406-3.81-1.898 2.157-1.165 7.78-.216 15.53.92 7.435 1.61 16.796 1.61 16.796Z",
|
||||
fill: "#BC9259"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M104.602 109.459s-7.276-27.394-7.52-31.693c-.144-2.617.632-4.832 1.265-6.17M78 75.853s5.047 2.747 5.722 6.586c.734 4.2 3.553 27.02 3.553 27.02",
|
||||
stroke: "#5E421F",
|
||||
strokeWidth: 1.841,
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M27.373 70.239s-2.55-4.225-1.642-10.84c.885-6.456 4.313-13.949 8.936-13.63 0 0 3.905-8.37 7.97-10.362 3.058-1.498 4.942.479 5.102 2.152 0 0 1.833-2.642 4.623-2.556 2.79.085 3.905 2.875 3.507 5.665 0 0 2.727-.963 3.905 2.152 1.116 2.949-3.1 10.204-3.972 14.966-1.049 5.731-1.646 12.863-6.946 17.714-5.3 4.85-19.131.637-21.483-5.261Z",
|
||||
fill: "#E9C9A5"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M59.369 46.92c-.186-.375-.288-.77-.27-1.15.125-2.39-1.813-3.959-4.771.92-3.15 5.195-3.675 7.896-4.733 8.492-1.392.785-1.337-1.224-1.337-1.224.675-2.68 3.07-6.796 4.7-9.465 1.634-2.667 2.12-4.22 2.12-4.22-1.185-4.141-3.984-2.714-6.82.79-2.56 3.163-4.539 8.045-5.579 10.095-1.04 2.053-2.354.909-2.427.672-.076-.237.15-.883.15-.883.98-3.484 5.484-11.502 5.484-11.502-.315-2.605-2.489-2.528-6.12 2.326-4.212 5.632-5.174 12.984-6.612 13.727-1.264.652-1.767-.755-1.767-.755l1.182-3.92c-.837-3.654-3.817-.742-3.932-.627 1.553-2.724 3.599-4.59 5.955-4.426 0 0 3.906-8.37 7.97-10.363 3.057-1.498 4.942.479 5.103 2.154 0 0 1.831-2.644 4.622-2.559 2.788.087 3.905 2.876 3.507 5.667 0 0 2.726-.964 3.906 2.151.37.978.154 2.425-.331 4.1Z",
|
||||
fill: "#FCE3C7"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M56.857 54.103c-.46 1.306-.85 2.564-1.055 3.682-1.049 5.733-1.646 12.863-6.947 17.715-5.298 4.85-19.13.637-21.48-5.261 0 0-2.55-4.226-1.644-10.84.142-1.037.349-2.1.618-3.153 0 0 .237 13.605 10.055 14.358 7.708.592 14.553-.393 20.453-16.501Z",
|
||||
fill: "#DCB07F"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M27.373 70.239s-2.55-4.225-1.642-10.84c.885-6.456 4.313-13.949 8.936-13.63 0 0 3.905-8.37 7.97-10.362 3.058-1.498 4.942.479 5.102 2.152 0 0 1.833-2.642 4.623-2.556 2.79.085 3.905 2.875 3.507 5.665 0 0 2.727-.963 3.905 2.152 1.116 2.949-3.1 10.204-3.972 14.966-1.049 5.731-1.646 12.863-6.946 17.714-5.3 4.85-19.131.637-21.483-5.261Z",
|
||||
stroke: "#946037",
|
||||
strokeWidth: 1.841,
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M47.739 37.56s-5.34 6.934-7.413 13.868M34.667 45.77s-2.392 5.26-3.268 9.245M55.869 40.668s-4.862 5.5-7.666 13.47",
|
||||
stroke: "#946037",
|
||||
strokeWidth: 1.841,
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M21.59 109.919s7.506-27.854 7.75-32.153c.245-4.3-.719-6.802-.719-6.802l2.157 2.258.892-2.862c.13-.417.676-.56.978-.23l1.855 2.028 2.53-3.207c.288-.36.878-.26 1.007.187l1.208 3.969 4.012-1.597a.582.582 0 0 1 .791.533v4.53l4.487-1.841s-5.033 3.522-5.839 7.707c-.805 4.185-3.551 27.71-3.551 27.71s-3.279 1.783-7.809 1.769c-7.894-.015-9.75-1.999-9.75-1.999Z",
|
||||
fill: "#9E763D"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M35.078 111.53s-3.264.819-7.449.259c-4.946-.662-6.04-1.87-6.04-1.87s5.106-18.809 7.018-27.825l.46.92c.633-3.365 4.702-6.873 7.406-3.81 1.898 2.157 1.165 7.78.216 15.53-.92 7.435-1.61 16.796-1.61 16.796Z",
|
||||
fill: "#BC9259"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M21.82 109.459s7.276-27.394 7.52-31.693c.144-2.617-.632-4.832-1.265-6.17M48.423 75.853s-5.048 2.747-5.724 6.586c-.733 4.2-3.551 27.02-3.551 27.02",
|
||||
stroke: "#5E421F",
|
||||
strokeWidth: 1.841,
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round"
|
||||
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
||||
id: "a"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
fill: "#fff",
|
||||
d: "M0 0h124v124H0z"
|
||||
})))));
|
||||
const ForwardRef = /*#__PURE__*/forwardRef(SvgSecretMonkey);
|
||||
export { ForwardRef as ReactComponent };
|
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"root":"hzzZ","top":"SLaq","topAvatar":"u_uD","title__apple":"jOWv","title__material":"SMbK","text__apple":"FytK","text__material":"entY","textInput":"e9OZ","textInput__apple":"yChz","textInput__material":"cUVJ","error":"NExJ","error__apple":"tOj8","error__material":"FCNp","passCodeInput":"BXuY","passCodeContainer":"mIP9","svgContainer":"UqLc","full":"lfIB","active":"DXYr"};
|
|
@ -0,0 +1,94 @@
|
|||
import { useContext, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import { MainButton } from 'components/MainButton/MainButton';
|
||||
import { SnackbarContext } from 'components/Snackbar/SnackbarProvider';
|
||||
|
||||
import { isValidEmail } from 'utils/common/sanitize';
|
||||
|
||||
import { useTheme } from 'hooks/utils/useTheme';
|
||||
|
||||
import styles from './RecoveryEmail.module.scss';
|
||||
import { ReactComponent as Monkey } from './monkey.svg';
|
||||
|
||||
export enum CreateRecoveryEmailIntents {
|
||||
scw = 'scw',
|
||||
}
|
||||
|
||||
export interface RecoveryEmailProps {
|
||||
onComplete: (text: string) => void;
|
||||
error?: string;
|
||||
intent?: CreateRecoveryEmailIntents;
|
||||
}
|
||||
|
||||
const RecoveryEmail: React.FC<RecoveryEmailProps> = ({
|
||||
onComplete,
|
||||
error,
|
||||
intent,
|
||||
}) => {
|
||||
const { t } = useTranslation();
|
||||
const { themeClassName } = useTheme(styles);
|
||||
const snackbarContext = useContext(SnackbarContext);
|
||||
|
||||
const [recoveryEmail, setRecoveryEmail] = useState('');
|
||||
|
||||
const handleUpdateEmail = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
setRecoveryEmail(e.target.value);
|
||||
};
|
||||
|
||||
const handleConfirmEmail = () => {
|
||||
if (isValidEmail(recoveryEmail)) {
|
||||
onComplete(recoveryEmail);
|
||||
} else {
|
||||
snackbarContext.showSnackbar({
|
||||
snackbarId: 'recovery_email',
|
||||
icon: 'warning',
|
||||
text: t('recovery_email.please_enter_valid_email'),
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const getTitle = () => {
|
||||
if (intent === CreateRecoveryEmailIntents.scw) {
|
||||
return t('recovery_email.add_recovery_email');
|
||||
}
|
||||
return t('recovery_email.recovery_email');
|
||||
};
|
||||
|
||||
const getDescription = () => {
|
||||
if (intent === CreateRecoveryEmailIntents.scw) {
|
||||
return t('recovery_email.email_can_restore_ton_space');
|
||||
}
|
||||
return t('recovery_email.email_can_reset_passcode');
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={themeClassName('root')}>
|
||||
<label htmlFor="recoveryEmailInput" className={themeClassName('top')}>
|
||||
<Monkey className={themeClassName('topAvatar')} />
|
||||
<h1 className={themeClassName('title')}>{getTitle()}</h1>
|
||||
<p className={themeClassName('text')}>{getDescription()}</p>
|
||||
<input
|
||||
id="tgcrawl"
|
||||
type="email"
|
||||
onChange={handleUpdateEmail}
|
||||
onBlur={(e) => {
|
||||
e.preventDefault();
|
||||
return;
|
||||
}}
|
||||
placeholder={t('recovery_email.your_email_address')}
|
||||
value={recoveryEmail}
|
||||
className={themeClassName('textInput')}
|
||||
autoFocus
|
||||
/>
|
||||
{error && <div className={themeClassName('error')}>{error}</div>}
|
||||
</label>
|
||||
<MainButton
|
||||
text={t('recovery_email.confirm_email')}
|
||||
onClick={handleConfirmEmail}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default RecoveryEmail;
|
31
data/mini_app/wallet/src/components/RecoveryEmail/monkey.svg
Normal file
31
data/mini_app/wallet/src/components/RecoveryEmail/monkey.svg
Normal file
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"tooltip":"oh0f","arrow":"a02f"};
|
217
data/mini_app/wallet/src/components/Tooltip/Tooltip.tsx
Normal file
217
data/mini_app/wallet/src/components/Tooltip/Tooltip.tsx
Normal file
|
@ -0,0 +1,217 @@
|
|||
import {
|
||||
FloatingArrow,
|
||||
FloatingPortal,
|
||||
arrow as arrowFunc,
|
||||
autoUpdate,
|
||||
flip,
|
||||
offset as offsetFunc,
|
||||
shift,
|
||||
useDelayGroup,
|
||||
useDelayGroupContext,
|
||||
useDismiss,
|
||||
useFloating,
|
||||
useFocus,
|
||||
useHover,
|
||||
useId,
|
||||
useInteractions,
|
||||
useMergeRefs,
|
||||
useRole,
|
||||
useTransitionStyles,
|
||||
} from '@floating-ui/react';
|
||||
import type { Placement } from '@floating-ui/react';
|
||||
import classNames from 'classnames';
|
||||
import * as React from 'react';
|
||||
import { useRef } from 'react';
|
||||
|
||||
import s from './Tooltip.module.scss';
|
||||
|
||||
const ARROW_WIDTH = 18;
|
||||
const ARROW_HEIGHT = 9;
|
||||
const DEFAULT_OFFSET = 7;
|
||||
|
||||
interface TooltipOptions {
|
||||
initialOpen?: boolean;
|
||||
placement?: Placement;
|
||||
open?: boolean;
|
||||
onOpenChange?: (open: boolean) => void;
|
||||
arrow?: boolean;
|
||||
offset?: number;
|
||||
}
|
||||
|
||||
export function useTooltip({
|
||||
initialOpen = false,
|
||||
placement = 'top',
|
||||
open: controlledOpen,
|
||||
onOpenChange: setControlledOpen,
|
||||
arrow = false,
|
||||
offset,
|
||||
}: TooltipOptions = {}) {
|
||||
const [uncontrolledOpen, setUncontrolledOpen] = React.useState(initialOpen);
|
||||
|
||||
const arrowRef = useRef(null);
|
||||
const open = controlledOpen ?? uncontrolledOpen;
|
||||
const setOpen = setControlledOpen ?? setUncontrolledOpen;
|
||||
|
||||
const { delay } = useDelayGroupContext();
|
||||
const data = useFloating({
|
||||
placement,
|
||||
open,
|
||||
onOpenChange: setOpen,
|
||||
whileElementsMounted: autoUpdate,
|
||||
middleware: [
|
||||
offsetFunc((offset ? offset : arrow ? ARROW_HEIGHT : 0) + DEFAULT_OFFSET),
|
||||
flip(),
|
||||
shift(),
|
||||
arrow &&
|
||||
arrowFunc({
|
||||
element: arrowRef,
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
||||
const context = data.context;
|
||||
|
||||
const hover = useHover(context, {
|
||||
move: false,
|
||||
enabled: controlledOpen == null,
|
||||
delay,
|
||||
});
|
||||
const focus = useFocus(context, {
|
||||
enabled: controlledOpen == null,
|
||||
});
|
||||
const dismiss = useDismiss(context);
|
||||
const role = useRole(context, { role: 'tooltip' });
|
||||
|
||||
const interactions = useInteractions([hover, focus, dismiss, role]);
|
||||
|
||||
return React.useMemo(
|
||||
() => ({
|
||||
open,
|
||||
setOpen,
|
||||
...interactions,
|
||||
...data,
|
||||
arrowRef,
|
||||
showArrow: arrow,
|
||||
}),
|
||||
[open, setOpen, interactions, data, arrowRef, arrow],
|
||||
);
|
||||
}
|
||||
|
||||
type ContextType = ReturnType<typeof useTooltip> | null;
|
||||
|
||||
const TooltipContext = React.createContext<ContextType>(null);
|
||||
|
||||
export const useTooltipState = () => {
|
||||
const context = React.useContext(TooltipContext);
|
||||
|
||||
if (context == null) {
|
||||
throw new Error('Tooltip components must be wrapped in <Tooltip />');
|
||||
}
|
||||
|
||||
return context;
|
||||
};
|
||||
|
||||
export function Tooltip({
|
||||
children,
|
||||
...options
|
||||
}: { children: React.ReactNode } & TooltipOptions) {
|
||||
const tooltip = useTooltip(options);
|
||||
return (
|
||||
<TooltipContext.Provider value={tooltip}>
|
||||
{children}
|
||||
</TooltipContext.Provider>
|
||||
);
|
||||
}
|
||||
|
||||
const TooltipTrigger = React.forwardRef<
|
||||
HTMLElement,
|
||||
React.HTMLProps<HTMLElement> & { asChild?: boolean }
|
||||
>(function TooltipTrigger({ children, asChild = false, ...props }, propRef) {
|
||||
const state = useTooltipState();
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const childrenRef = children && (children as any).ref;
|
||||
const ref = useMergeRefs([state.refs.setReference, propRef, childrenRef]);
|
||||
|
||||
if (asChild && React.isValidElement(children)) {
|
||||
return React.cloneElement(
|
||||
children,
|
||||
state.getReferenceProps({
|
||||
ref,
|
||||
...props,
|
||||
...children.props,
|
||||
'data-state': state.open ? 'open' : 'closed',
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<button
|
||||
ref={ref}
|
||||
data-state={state.open ? 'open' : 'closed'}
|
||||
{...state.getReferenceProps(props)}
|
||||
>
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
});
|
||||
|
||||
const TooltipContent = React.forwardRef<
|
||||
HTMLDivElement,
|
||||
React.HTMLProps<HTMLDivElement>
|
||||
>(function TooltipContent(props, propRef) {
|
||||
const state = useTooltipState();
|
||||
const id = useId();
|
||||
const { isInstantPhase, currentId } = useDelayGroupContext();
|
||||
const ref = useMergeRefs([state.refs.setFloating, propRef]);
|
||||
|
||||
useDelayGroup(state.context, { id });
|
||||
|
||||
const instantDuration = 0;
|
||||
const duration = 250;
|
||||
|
||||
const { isMounted, styles } = useTransitionStyles(state.context, {
|
||||
duration: isInstantPhase
|
||||
? {
|
||||
open: instantDuration,
|
||||
close: currentId === id ? duration : instantDuration,
|
||||
}
|
||||
: duration,
|
||||
initial: {
|
||||
opacity: 0,
|
||||
},
|
||||
});
|
||||
|
||||
if (!isMounted) return null;
|
||||
|
||||
return (
|
||||
<FloatingPortal>
|
||||
<div
|
||||
ref={ref}
|
||||
style={{
|
||||
...state.floatingStyles,
|
||||
...props.style,
|
||||
...styles,
|
||||
}}
|
||||
{...state.getFloatingProps(props)}
|
||||
className={classNames(s.tooltip, props.className)}
|
||||
>
|
||||
{props.children}
|
||||
{state.showArrow && props.children && (
|
||||
<FloatingArrow
|
||||
ref={state.arrowRef}
|
||||
context={state.context}
|
||||
width={ARROW_WIDTH}
|
||||
height={ARROW_HEIGHT}
|
||||
className={s.arrow}
|
||||
fill="var(--tooltip-background)"
|
||||
style={{ ...styles }}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</FloatingPortal>
|
||||
);
|
||||
});
|
||||
|
||||
Tooltip.Trigger = TooltipTrigger;
|
||||
Tooltip.Content = TooltipContent;
|
|
@ -0,0 +1,34 @@
|
|||
import classNames from 'classnames';
|
||||
import Lottie from 'lottie-react';
|
||||
import { CSSProperties, FC } from 'react';
|
||||
|
||||
import { useTheme } from 'hooks/utils/useTheme';
|
||||
|
||||
import styles from './AttachesAnimation.module.scss';
|
||||
import appleAnimationData from './apple_banner.json';
|
||||
import materialAnimationData from './material_banner.json';
|
||||
|
||||
const AttachesAnimation: FC<{
|
||||
className?: string;
|
||||
style?: CSSProperties;
|
||||
}> = ({ className, style }) => {
|
||||
const { theme, themeClassName } = useTheme(styles);
|
||||
|
||||
return (
|
||||
<div
|
||||
className={classNames(themeClassName('root'), className)}
|
||||
style={style}
|
||||
>
|
||||
<Lottie
|
||||
loop={false}
|
||||
className={styles.lottie}
|
||||
alt="attachments"
|
||||
animationData={
|
||||
theme === 'apple' ? appleAnimationData : materialAnimationData
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default AttachesAnimation;
|
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"root":"H9I7","boomstick":"NNGS","confetti":"Cu4C"};
|
|
@ -0,0 +1,51 @@
|
|||
import classNames from 'classnames';
|
||||
import Lottie, { LottieRefCurrentProps } from 'lottie-react';
|
||||
import { FC, useEffect, useRef } from 'react';
|
||||
|
||||
import styles from './BoomstickAnimation.module.scss';
|
||||
import BoomstickAnimationData from './boomstick.json';
|
||||
import ConfettiAnimationData from './confetti.json';
|
||||
|
||||
const BoomstickAnimation: FC<{ className?: string }> = ({ className }) => {
|
||||
const confettiRef = useRef<LottieRefCurrentProps>(null);
|
||||
const boomstickRef = useRef<LottieRefCurrentProps>(null);
|
||||
const confettiDelay = 1200;
|
||||
|
||||
useEffect(() => {
|
||||
play();
|
||||
}, []);
|
||||
|
||||
const play = () => {
|
||||
boomstickRef.current?.goToAndPlay(0);
|
||||
setTimeout(() => {
|
||||
confettiRef.current?.goToAndPlay(0);
|
||||
}, confettiDelay);
|
||||
};
|
||||
|
||||
return (
|
||||
<div
|
||||
className={classNames(styles.root, className)}
|
||||
onClick={() => {
|
||||
play();
|
||||
}}
|
||||
>
|
||||
<Lottie
|
||||
lottieRef={confettiRef}
|
||||
className={styles.confetti}
|
||||
animationData={ConfettiAnimationData}
|
||||
autoplay={false}
|
||||
loop={false}
|
||||
/>
|
||||
<Lottie
|
||||
autoplay={false}
|
||||
loop={false}
|
||||
lottieRef={boomstickRef}
|
||||
alt="boomstick"
|
||||
className={styles.boomstick}
|
||||
animationData={BoomstickAnimationData}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default BoomstickAnimation;
|
|
@ -0,0 +1,17 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { CSSProperties, FC } from 'react';
|
||||
|
||||
import CrystalAnimationData from './crystal.json';
|
||||
|
||||
const CrystalAnimation: FC<{ className?: string; style?: CSSProperties }> = ({
|
||||
className,
|
||||
style,
|
||||
}) => {
|
||||
return (
|
||||
<div className={className} style={style}>
|
||||
<Lottie loop alt="crystal" animationData={CrystalAnimationData} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CrystalAnimation;
|
|
@ -0,0 +1,16 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { FC } from 'react';
|
||||
|
||||
import FaceAnimationData from './face.json';
|
||||
|
||||
const FaceAnimation: FC<{ className?: string }> = ({ className }) => {
|
||||
return (
|
||||
<Lottie
|
||||
className={className}
|
||||
alt="face"
|
||||
animationData={FaceAnimationData}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default FaceAnimation;
|
|
@ -0,0 +1,37 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { FC } from 'react';
|
||||
|
||||
import styles from './FeaturesAnimation.module.scss';
|
||||
import bunny from './bunny.json';
|
||||
import shield from './shield.json';
|
||||
import stars from './stars.json';
|
||||
import { FeaturesAnimationFeature } from './types';
|
||||
|
||||
const ANIMATION_DATA: {
|
||||
// Comment any to avoid typescript errors
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
[key in FeaturesAnimationFeature]: any;
|
||||
} = {
|
||||
transactions: bunny,
|
||||
crypto: stars,
|
||||
security: shield,
|
||||
// TODO: add animation for it https://wallet-bot.atlassian.net/browse/WAL-1103
|
||||
flexibility: null,
|
||||
};
|
||||
|
||||
const FeaturesAnimation: FC<{
|
||||
feature: FeaturesAnimationFeature;
|
||||
}> = ({ feature }) => {
|
||||
if (!ANIMATION_DATA[feature]) return null;
|
||||
|
||||
return (
|
||||
<Lottie
|
||||
className={styles.root}
|
||||
autoplay
|
||||
animationData={ANIMATION_DATA[feature]}
|
||||
loop={false}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default FeaturesAnimation;
|
|
@ -0,0 +1,16 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { FC } from 'react';
|
||||
|
||||
import IdCardAnimationData from './idCard.json';
|
||||
|
||||
const IdCardAnimation: FC<{ className?: string }> = ({ className }) => {
|
||||
return (
|
||||
<Lottie
|
||||
loop={false}
|
||||
className={className}
|
||||
animationData={IdCardAnimationData}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default IdCardAnimation;
|
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"root":"Je3B","lottie":"sfQb"};
|
|
@ -0,0 +1,38 @@
|
|||
import classNames from 'classnames';
|
||||
import Lottie, { LottieRef } from 'lottie-react';
|
||||
import { ButtonHTMLAttributes, FC } from 'react';
|
||||
|
||||
import styles from './InvertButtonAnimation.module.scss';
|
||||
import InvertButtonAnimationData from './invert_button.json';
|
||||
|
||||
interface InvertButtonAnimationProps
|
||||
extends ButtonHTMLAttributes<HTMLButtonElement> {
|
||||
lottieRef?: LottieRef;
|
||||
'data-testid'?: string;
|
||||
}
|
||||
|
||||
const InvertButtonAnimation: FC<InvertButtonAnimationProps> = ({
|
||||
className,
|
||||
lottieRef,
|
||||
onClick,
|
||||
'data-testid': dataTestId,
|
||||
}) => {
|
||||
return (
|
||||
<button
|
||||
type="button"
|
||||
className={classNames(styles.root, className)}
|
||||
onClick={onClick}
|
||||
data-testid={dataTestId}
|
||||
>
|
||||
<Lottie
|
||||
lottieRef={lottieRef}
|
||||
className={styles.lottie}
|
||||
loop={false}
|
||||
alt="invert"
|
||||
animationData={InvertButtonAnimationData}
|
||||
/>
|
||||
</button>
|
||||
);
|
||||
};
|
||||
|
||||
export default InvertButtonAnimation;
|
|
@ -0,0 +1,17 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { FC } from 'react';
|
||||
|
||||
import LockAnimationData from './lock.json';
|
||||
|
||||
const LockAnimation: FC<{ className?: string }> = ({ className }) => {
|
||||
return (
|
||||
<Lottie
|
||||
autoplay={true}
|
||||
loop={false}
|
||||
className={className}
|
||||
animationData={LockAnimationData}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default LockAnimation;
|
|
@ -0,0 +1,16 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { FC } from 'react';
|
||||
|
||||
import MoneyAnimationData from './money.json';
|
||||
|
||||
const MoneyAnimation: FC<{ className?: string }> = ({ className }) => {
|
||||
return (
|
||||
<Lottie
|
||||
className={className}
|
||||
alt="money"
|
||||
animationData={MoneyAnimationData}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default MoneyAnimation;
|
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"root":"YbN1","svg":"E2fz"};
|
|
@ -0,0 +1,32 @@
|
|||
import classNames from 'classnames';
|
||||
import Lottie, { LottieRefCurrentProps } from 'lottie-react';
|
||||
import { FC, useEffect, useRef } from 'react';
|
||||
|
||||
import styles from './NotFoundUtkaAnimation.module.scss';
|
||||
import animationData from './utka.json';
|
||||
|
||||
const NotFoundUtkaAnimation: FC<{ className?: string }> = ({ className }) => {
|
||||
const clockRef = useRef<LottieRefCurrentProps>(null);
|
||||
|
||||
const play = () => {
|
||||
clockRef.current?.goToAndPlay(0);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
play();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className={classNames(styles.root, className)}>
|
||||
<Lottie
|
||||
lottieRef={clockRef}
|
||||
className={styles.svg}
|
||||
animationData={animationData}
|
||||
autoplay={false}
|
||||
loop={false}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default NotFoundUtkaAnimation;
|
|
@ -0,0 +1,16 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { FC } from 'react';
|
||||
|
||||
import NotebookAnimationData from './notebook.json';
|
||||
|
||||
const NotebookAnimation: FC<{ className?: string }> = ({ className }) => {
|
||||
return (
|
||||
<Lottie
|
||||
loop={false}
|
||||
className={className}
|
||||
animationData={NotebookAnimationData}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default NotebookAnimation;
|
|
@ -0,0 +1,18 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { FC } from 'react';
|
||||
|
||||
import SadSmileAnimationData from './sad.json';
|
||||
|
||||
const SadSmileAnimation: FC<{ className?: string }> = ({ className }) => {
|
||||
return (
|
||||
<Lottie
|
||||
autoplay={true}
|
||||
loop={false}
|
||||
className={className}
|
||||
alt="sad"
|
||||
animationData={SadSmileAnimationData}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default SadSmileAnimation;
|
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"root":"j82N","clock":"sYj9"};
|
|
@ -0,0 +1,32 @@
|
|||
import classNames from 'classnames';
|
||||
import Lottie, { LottieRefCurrentProps } from 'lottie-react';
|
||||
import { FC, useEffect, useRef } from 'react';
|
||||
|
||||
import styles from './SandClockAnimation.module.scss';
|
||||
import animationData from './sand_clock.json';
|
||||
|
||||
const SandClockAnimation: FC<{ className?: string }> = ({ className }) => {
|
||||
const clockRef = useRef<LottieRefCurrentProps>(null);
|
||||
|
||||
const play = () => {
|
||||
clockRef.current?.goToAndPlay(0);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
play();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className={classNames(styles.root, className)}>
|
||||
<Lottie
|
||||
lottieRef={clockRef}
|
||||
className={styles.clock}
|
||||
animationData={animationData}
|
||||
autoplay={false}
|
||||
loop={false}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default SandClockAnimation;
|
|
@ -0,0 +1,18 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { FC } from 'react';
|
||||
|
||||
import TeacherAnimationData from './teacher.json';
|
||||
|
||||
const TeacherAnimation: FC<{ className?: string }> = ({ className }) => {
|
||||
return (
|
||||
<Lottie
|
||||
autoplay={true}
|
||||
loop={false}
|
||||
className={className}
|
||||
alt="teacher"
|
||||
animationData={TeacherAnimationData}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default TeacherAnimation;
|
|
@ -0,0 +1,17 @@
|
|||
import Lottie from 'lottie-react';
|
||||
import { CSSProperties, FC } from 'react';
|
||||
|
||||
import WriteAnimationData from './write.json';
|
||||
|
||||
const WriteAnimation: FC<{ className?: string; style?: CSSProperties }> = ({
|
||||
className,
|
||||
style,
|
||||
}) => {
|
||||
return (
|
||||
<div className={className} style={style}>
|
||||
<Lottie loop alt="write" animationData={WriteAnimationData} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default WriteAnimation;
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,2 @@
|
|||
// extracted by mini-css-extract-plugin
|
||||
export default {"root__apple":"aVj5","root__material":"jd4E","comment":"IPiM","comment__apple":"Nkd5","comment__material":"U0Hw","bold":"QZGT","charactersLeft":"bDIh"};
|
|
@ -0,0 +1,150 @@
|
|||
// eslint-disable-next-line
|
||||
// @ts-ignore
|
||||
import autosize from 'autosize';
|
||||
import cn from 'classnames';
|
||||
import { useCallback, useEffect, useRef } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { generatePath, useNavigate } from 'react-router-dom';
|
||||
|
||||
import routePaths from 'routePaths';
|
||||
|
||||
import { DetailCell } from 'components/Cells';
|
||||
import { MainButton } from 'components/MainButton/MainButton';
|
||||
import Section from 'components/Section/Section';
|
||||
|
||||
import { logEvent } from 'utils/common/logEvent';
|
||||
|
||||
import { useTheme } from 'hooks/utils/useTheme';
|
||||
|
||||
import { useCreateEditOfferPageContext } from '../../CreateEditOffer';
|
||||
import StepsTitle from '../StepsTitle/StepsTitle';
|
||||
import styles from './AddComment.module.scss';
|
||||
|
||||
const AddComment = () => {
|
||||
const { draftOffer, setDraftOffer, mode, offerId, offerType, settings } =
|
||||
useCreateEditOfferPageContext();
|
||||
|
||||
const { t } = useTranslation();
|
||||
const { themeClassName } = useTheme(styles);
|
||||
const commentRef = useRef<HTMLTextAreaElement>(null);
|
||||
const navigate = useNavigate();
|
||||
|
||||
const MAX_COMMENT_LENGTH =
|
||||
settings?.offerSettings?.commentMaxLengthInclusive || 0;
|
||||
|
||||
useEffect(() => {
|
||||
const commentEl = commentRef?.current;
|
||||
|
||||
if (commentEl) {
|
||||
autosize(commentEl);
|
||||
}
|
||||
}, []);
|
||||
|
||||
const handleCommentChange = useCallback(
|
||||
(e: React.ChangeEvent<HTMLTextAreaElement>) => {
|
||||
const comment = e.target.value;
|
||||
|
||||
const newLinesCount = (comment.match(/\n/g) || []).length;
|
||||
|
||||
const commentLength = comment.length + newLinesCount;
|
||||
|
||||
if (commentLength > MAX_COMMENT_LENGTH) {
|
||||
// If user copy-pasted a long text, we need to trim it
|
||||
if (!draftOffer.comment.length) {
|
||||
setDraftOffer((offer) => ({
|
||||
...offer,
|
||||
comment: comment.slice(0, MAX_COMMENT_LENGTH - newLinesCount),
|
||||
}));
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
setDraftOffer((offer) => ({
|
||||
...offer,
|
||||
comment,
|
||||
}));
|
||||
},
|
||||
[MAX_COMMENT_LENGTH, draftOffer.comment.length, setDraftOffer],
|
||||
);
|
||||
|
||||
const handleCompleteAddCommentStep = useCallback(() => {
|
||||
navigate(
|
||||
mode === 'create'
|
||||
? routePaths.P2P_OFFER_CREATE_PREVIEW_OFFER
|
||||
: generatePath(routePaths.P2P_OFFER_EDIT_PREVIEW_OFFER, {
|
||||
id: offerId!,
|
||||
}),
|
||||
);
|
||||
|
||||
logEvent('Maker. Creation step comment completed', {
|
||||
category: 'p2p.merchant.ad',
|
||||
type: offerType === 'SALE' ? 'sell' : 'buy',
|
||||
});
|
||||
}, [mode, navigate, offerId, offerType]);
|
||||
|
||||
const commentNewLinesCount = (draftOffer.comment.match(/\n/g) || []).length;
|
||||
const commentLength = draftOffer.comment.length + commentNewLinesCount;
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className={themeClassName('root')}>
|
||||
<StepsTitle
|
||||
title={t('p2p.create_offer_page.add_comment_optional')}
|
||||
step={3}
|
||||
total={4}
|
||||
/>
|
||||
<Section
|
||||
separator
|
||||
description={
|
||||
<>
|
||||
{draftOffer.comment &&
|
||||
commentLength > MAX_COMMENT_LENGTH - 20 && (
|
||||
<p className={styles.charactersLeft}>
|
||||
{t('p2p.create_offer_page.xx_characters_left', {
|
||||
count:
|
||||
MAX_COMMENT_LENGTH - commentLength > 0
|
||||
? MAX_COMMENT_LENGTH - commentLength
|
||||
: 0,
|
||||
})}
|
||||
</p>
|
||||
)}
|
||||
|
||||
<p className={styles.bold}>
|
||||
{t('p2p.create_offer_page.sample_message')}
|
||||
</p>
|
||||
<p>
|
||||
{offerType === 'PURCHASE'
|
||||
? t(
|
||||
'p2p.create_offer_page.description_about_message_for_buy_offer',
|
||||
)
|
||||
: t('p2p.create_offer_page.description_about_message')}
|
||||
</p>
|
||||
</>
|
||||
}
|
||||
material={{ descriptionLayout: 'outer' }}
|
||||
>
|
||||
<DetailCell>
|
||||
<textarea
|
||||
ref={commentRef}
|
||||
placeholder={t('p2p.create_offer_page.enter_message')}
|
||||
onChange={handleCommentChange}
|
||||
value={draftOffer.comment}
|
||||
className={cn(themeClassName('comment'))}
|
||||
maxLength={MAX_COMMENT_LENGTH}
|
||||
rows={5}
|
||||
data-testid="tgcrawl"
|
||||
/>
|
||||
</DetailCell>
|
||||
</Section>
|
||||
</div>
|
||||
<MainButton
|
||||
text={t('p2p.create_offer_page.continue').toLocaleUpperCase()}
|
||||
onClick={handleCompleteAddCommentStep}
|
||||
data-testid="tgcrawl"
|
||||
/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default AddComment;
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue