Compare commits

..

No commits in common. "master" and "45e1f886aa4636857b6516b80a2e44f8328ecf92" have entirely different histories.

293 changed files with 31884 additions and 18249 deletions

110
.gitignore vendored Normal file
View File

@ -0,0 +1,110 @@
# Dependencies
**/node_modules
.pnpm-store/
# Build outputs
dist/
build/
*.dist
# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
*.bak
# Coverage directory used by tools like istanbul
coverage/
*.lcov
# nyc test coverage
.nyc_output
# Dependency directories
jspm_packages/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
# Nuxt.js build / generate output
.nuxt
# Gatsby files
.cache/
# Storybook build outputs
.out
.storybook-out
# Temporary folders
tmp/
temp/
# Database
*.db
*.sqlite
*.sqlite3
# Webdev artifacts (checkpoint zips, migrations, etc.)
.webdev/

0
.gitkeep Normal file
View File

View File

@ -0,0 +1,106 @@
{
"query": "DESCRIBE trc20_purchases;",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway03.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 3Bq4cgN2KNKQqNu.8160cd2033e0 --database Ngki3MumDNGduV3xJt3mga --execute DESCRIBE trc20_purchases;",
"rows": [
{
"Field": "id",
"Type": "int",
"Null": "NO",
"Key": "PRI",
"Default": "NULL",
"Extra": "auto_increment"
},
{
"Field": "txHash",
"Type": "varchar(128)",
"Null": "NO",
"Key": "UNI",
"Default": "NULL",
"Extra": ""
},
{
"Field": "fromAddress",
"Type": "varchar(64)",
"Null": "NO",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "usdtAmount",
"Type": "decimal(20,6)",
"Null": "NO",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "xicAmount",
"Type": "decimal(30,6)",
"Null": "NO",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "blockNumber",
"Type": "bigint",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "status",
"Type": "enum('pending','confirmed','distributed','failed')",
"Null": "NO",
"Key": "",
"Default": "pending",
"Extra": ""
},
{
"Field": "distributedAt",
"Type": "timestamp",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "distributeTxHash",
"Type": "varchar(128)",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "createdAt",
"Type": "timestamp",
"Null": "NO",
"Key": "",
"Default": "CURRENT_TIMESTAMP",
"Extra": ""
},
{
"Field": "updatedAt",
"Type": "timestamp",
"Null": "NO",
"Key": "",
"Default": "CURRENT_TIMESTAMP",
"Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP"
},
{
"Field": "evmAddress",
"Type": "varchar(64)",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
}
],
"messages": [],
"stdout": "Field\tType\tNull\tKey\tDefault\tExtra\nid\tint\tNO\tPRI\tNULL\tauto_increment\ntxHash\tvarchar(128)\tNO\tUNI\tNULL\t\nfromAddress\tvarchar(64)\tNO\t\tNULL\t\nusdtAmount\tdecimal(20,6)\tNO\t\tNULL\t\nxicAmount\tdecimal(30,6)\tNO\t\tNULL\t\nblockNumber\tbigint\tYES\t\tNULL\t\nstatus\tenum('pending','confirmed','distributed','failed')\tNO\t\tpending\t\ndistributedAt\ttimestamp\tYES\t\tNULL\t\ndistributeTxHash\tvarchar(128)\tYES\t\tNULL\t\ncreatedAt\ttimestamp\tNO\t\tCURRENT_TIMESTAMP\t\nupdatedAt\ttimestamp\tNO\t\tCURRENT_TIMESTAMP\tDEFAULT_GENERATED on update CURRENT_TIMESTAMP\nevmAddress\tvarchar(64)\tYES\t\tNULL\t\n",
"stderr": "",
"execution_time_ms": 1590
}

View File

@ -0,0 +1,58 @@
{
"query": "SELECT COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'trc20_purchases' ORDER BY ORDINAL_POSITION;",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway03.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 3Bq4cgN2KNKQqNu.8160cd2033e0 --database Ngki3MumDNGduV3xJt3mga --execute SELECT COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'trc20_purchases' ORDER BY ORDINAL_POSITION;",
"rows": [
{
"COLUMN_NAME": "id",
"DATA_TYPE": "int"
},
{
"COLUMN_NAME": "txHash",
"DATA_TYPE": "varchar"
},
{
"COLUMN_NAME": "fromAddress",
"DATA_TYPE": "varchar"
},
{
"COLUMN_NAME": "usdtAmount",
"DATA_TYPE": "decimal"
},
{
"COLUMN_NAME": "xicAmount",
"DATA_TYPE": "decimal"
},
{
"COLUMN_NAME": "blockNumber",
"DATA_TYPE": "bigint"
},
{
"COLUMN_NAME": "status",
"DATA_TYPE": "enum"
},
{
"COLUMN_NAME": "distributedAt",
"DATA_TYPE": "timestamp"
},
{
"COLUMN_NAME": "distributeTxHash",
"DATA_TYPE": "varchar"
},
{
"COLUMN_NAME": "createdAt",
"DATA_TYPE": "timestamp"
},
{
"COLUMN_NAME": "updatedAt",
"DATA_TYPE": "timestamp"
},
{
"COLUMN_NAME": "evmAddress",
"DATA_TYPE": "varchar"
}
],
"messages": [],
"stdout": "COLUMN_NAME\tDATA_TYPE\nid\tint\ntxHash\tvarchar\nfromAddress\tvarchar\nusdtAmount\tdecimal\nxicAmount\tdecimal\nblockNumber\tbigint\nstatus\tenum\ndistributedAt\ttimestamp\ndistributeTxHash\tvarchar\ncreatedAt\ttimestamp\nupdatedAt\ttimestamp\nevmAddress\tvarchar\n",
"stderr": "",
"execution_time_ms": 1492
}

View File

@ -0,0 +1,106 @@
{
"query": "SHOW COLUMNS FROM trc20_purchases;",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway03.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 3Bq4cgN2KNKQqNu.8160cd2033e0 --database Ngki3MumDNGduV3xJt3mga --execute SHOW COLUMNS FROM trc20_purchases;",
"rows": [
{
"Field": "id",
"Type": "int",
"Null": "NO",
"Key": "PRI",
"Default": "NULL",
"Extra": "auto_increment"
},
{
"Field": "txHash",
"Type": "varchar(128)",
"Null": "NO",
"Key": "UNI",
"Default": "NULL",
"Extra": ""
},
{
"Field": "fromAddress",
"Type": "varchar(64)",
"Null": "NO",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "usdtAmount",
"Type": "decimal(20,6)",
"Null": "NO",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "xicAmount",
"Type": "decimal(30,6)",
"Null": "NO",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "blockNumber",
"Type": "bigint",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "status",
"Type": "enum('pending','confirmed','distributed','failed')",
"Null": "NO",
"Key": "",
"Default": "pending",
"Extra": ""
},
{
"Field": "distributedAt",
"Type": "timestamp",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "distributeTxHash",
"Type": "varchar(128)",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "createdAt",
"Type": "timestamp",
"Null": "NO",
"Key": "",
"Default": "CURRENT_TIMESTAMP",
"Extra": ""
},
{
"Field": "updatedAt",
"Type": "timestamp",
"Null": "NO",
"Key": "",
"Default": "CURRENT_TIMESTAMP",
"Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP"
},
{
"Field": "evmAddress",
"Type": "varchar(64)",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
}
],
"messages": [],
"stdout": "Field\tType\tNull\tKey\tDefault\tExtra\nid\tint\tNO\tPRI\tNULL\tauto_increment\ntxHash\tvarchar(128)\tNO\tUNI\tNULL\t\nfromAddress\tvarchar(64)\tNO\t\tNULL\t\nusdtAmount\tdecimal(20,6)\tNO\t\tNULL\t\nxicAmount\tdecimal(30,6)\tNO\t\tNULL\t\nblockNumber\tbigint\tYES\t\tNULL\t\nstatus\tenum('pending','confirmed','distributed','failed')\tNO\t\tpending\t\ndistributedAt\ttimestamp\tYES\t\tNULL\t\ndistributeTxHash\tvarchar(128)\tYES\t\tNULL\t\ncreatedAt\ttimestamp\tNO\t\tCURRENT_TIMESTAMP\t\nupdatedAt\ttimestamp\tNO\t\tCURRENT_TIMESTAMP\tDEFAULT_GENERATED on update CURRENT_TIMESTAMP\nevmAddress\tvarchar(64)\tYES\t\tNULL\t\n",
"stderr": "",
"execution_time_ms": 1499
}

View File

@ -0,0 +1,13 @@
{
"query": "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'trc20_purchases' AND COLUMN_NAME LIKE '%vm%';",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway03.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 3Bq4cgN2KNKQqNu.8160cd2033e0 --database Ngki3MumDNGduV3xJt3mga --execute SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'trc20_purchases' AND COLUMN_NAME LIKE '%vm%';",
"rows": [
{
"COLUMN_NAME": "evmAddress"
}
],
"messages": [],
"stdout": "COLUMN_NAME\nevmAddress\n",
"stderr": "",
"execution_time_ms": 1512
}

View File

@ -0,0 +1,46 @@
{
"query": "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'trc20_purchases';",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway03.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 3Bq4cgN2KNKQqNu.8160cd2033e0 --database Ngki3MumDNGduV3xJt3mga --execute SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'trc20_purchases';",
"rows": [
{
"COLUMN_NAME": "id"
},
{
"COLUMN_NAME": "txHash"
},
{
"COLUMN_NAME": "fromAddress"
},
{
"COLUMN_NAME": "usdtAmount"
},
{
"COLUMN_NAME": "xicAmount"
},
{
"COLUMN_NAME": "blockNumber"
},
{
"COLUMN_NAME": "status"
},
{
"COLUMN_NAME": "distributedAt"
},
{
"COLUMN_NAME": "distributeTxHash"
},
{
"COLUMN_NAME": "createdAt"
},
{
"COLUMN_NAME": "updatedAt"
},
{
"COLUMN_NAME": "evmAddress"
}
],
"messages": [],
"stdout": "COLUMN_NAME\nid\ntxHash\nfromAddress\nusdtAmount\nxicAmount\nblockNumber\nstatus\ndistributedAt\ndistributeTxHash\ncreatedAt\nupdatedAt\nevmAddress\n",
"stderr": "",
"execution_time_ms": 1493
}

View File

@ -0,0 +1,58 @@
{
"query": "SELECT COLUMN_NAME, COLUMN_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'trc20_purchases' ORDER BY ORDINAL_POSITION;",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway03.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 3Bq4cgN2KNKQqNu.8160cd2033e0 --database Ngki3MumDNGduV3xJt3mga --execute SELECT COLUMN_NAME, COLUMN_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'trc20_purchases' ORDER BY ORDINAL_POSITION;",
"rows": [
{
"COLUMN_NAME": "id",
"COLUMN_TYPE": "int"
},
{
"COLUMN_NAME": "txHash",
"COLUMN_TYPE": "varchar(128)"
},
{
"COLUMN_NAME": "fromAddress",
"COLUMN_TYPE": "varchar(64)"
},
{
"COLUMN_NAME": "usdtAmount",
"COLUMN_TYPE": "decimal(20,6)"
},
{
"COLUMN_NAME": "xicAmount",
"COLUMN_TYPE": "decimal(30,6)"
},
{
"COLUMN_NAME": "blockNumber",
"COLUMN_TYPE": "bigint"
},
{
"COLUMN_NAME": "status",
"COLUMN_TYPE": "enum('pending','confirmed','distributed','failed')"
},
{
"COLUMN_NAME": "distributedAt",
"COLUMN_TYPE": "timestamp"
},
{
"COLUMN_NAME": "distributeTxHash",
"COLUMN_TYPE": "varchar(128)"
},
{
"COLUMN_NAME": "createdAt",
"COLUMN_TYPE": "timestamp"
},
{
"COLUMN_NAME": "updatedAt",
"COLUMN_TYPE": "timestamp"
},
{
"COLUMN_NAME": "evmAddress",
"COLUMN_TYPE": "varchar(64)"
}
],
"messages": [],
"stdout": "COLUMN_NAME\tCOLUMN_TYPE\nid\tint\ntxHash\tvarchar(128)\nfromAddress\tvarchar(64)\nusdtAmount\tdecimal(20,6)\nxicAmount\tdecimal(30,6)\nblockNumber\tbigint\nstatus\tenum('pending','confirmed','distributed','failed')\ndistributedAt\ttimestamp\ndistributeTxHash\tvarchar(128)\ncreatedAt\ttimestamp\nupdatedAt\ttimestamp\nevmAddress\tvarchar(64)\n",
"stderr": "",
"execution_time_ms": 1572
}

View File

@ -0,0 +1,13 @@
{
"query": "SELECT 1 FROM trc20_purchases LIMIT 0; SELECT evmAddress FROM trc20_purchases LIMIT 1;",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway03.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 3Bq4cgN2KNKQqNu.8160cd2033e0 --database Ngki3MumDNGduV3xJt3mga --execute SELECT 1 FROM trc20_purchases LIMIT 0; SELECT evmAddress FROM trc20_purchases LIMIT 1;",
"rows": [
{
"evmAddress": "NULL"
}
],
"messages": [],
"stdout": "evmAddress\nNULL\n",
"stderr": "",
"execution_time_ms": 1778
}

View File

@ -0,0 +1,70 @@
{
"query": "SELECT COLUMN_NAME, COLUMN_TYPE, IS_NULLABLE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'trc20_purchases';",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway03.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 3Bq4cgN2KNKQqNu.8160cd2033e0 --database Ngki3MumDNGduV3xJt3mga --execute SELECT COLUMN_NAME, COLUMN_TYPE, IS_NULLABLE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'trc20_purchases';",
"rows": [
{
"COLUMN_NAME": "id",
"COLUMN_TYPE": "int",
"IS_NULLABLE": "NO"
},
{
"COLUMN_NAME": "txHash",
"COLUMN_TYPE": "varchar(128)",
"IS_NULLABLE": "NO"
},
{
"COLUMN_NAME": "fromAddress",
"COLUMN_TYPE": "varchar(64)",
"IS_NULLABLE": "NO"
},
{
"COLUMN_NAME": "usdtAmount",
"COLUMN_TYPE": "decimal(20,6)",
"IS_NULLABLE": "NO"
},
{
"COLUMN_NAME": "xicAmount",
"COLUMN_TYPE": "decimal(30,6)",
"IS_NULLABLE": "NO"
},
{
"COLUMN_NAME": "blockNumber",
"COLUMN_TYPE": "bigint",
"IS_NULLABLE": "YES"
},
{
"COLUMN_NAME": "status",
"COLUMN_TYPE": "enum('pending','confirmed','distributed','failed')",
"IS_NULLABLE": "NO"
},
{
"COLUMN_NAME": "distributedAt",
"COLUMN_TYPE": "timestamp",
"IS_NULLABLE": "YES"
},
{
"COLUMN_NAME": "distributeTxHash",
"COLUMN_TYPE": "varchar(128)",
"IS_NULLABLE": "YES"
},
{
"COLUMN_NAME": "createdAt",
"COLUMN_TYPE": "timestamp",
"IS_NULLABLE": "NO"
},
{
"COLUMN_NAME": "updatedAt",
"COLUMN_TYPE": "timestamp",
"IS_NULLABLE": "NO"
},
{
"COLUMN_NAME": "evmAddress",
"COLUMN_TYPE": "varchar(64)",
"IS_NULLABLE": "YES"
}
],
"messages": [],
"stdout": "COLUMN_NAME\tCOLUMN_TYPE\tIS_NULLABLE\nid\tint\tNO\ntxHash\tvarchar(128)\tNO\nfromAddress\tvarchar(64)\tNO\nusdtAmount\tdecimal(20,6)\tNO\nxicAmount\tdecimal(30,6)\tNO\nblockNumber\tbigint\tYES\nstatus\tenum('pending','confirmed','distributed','failed')\tNO\ndistributedAt\ttimestamp\tYES\ndistributeTxHash\tvarchar(128)\tYES\ncreatedAt\ttimestamp\tNO\nupdatedAt\ttimestamp\tNO\nevmAddress\tvarchar(64)\tYES\n",
"stderr": "",
"execution_time_ms": 1482
}

View File

@ -0,0 +1,13 @@
{
"query": "SELECT `evmAddress` FROM trc20_purchases LIMIT 1;",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway03.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 3Bq4cgN2KNKQqNu.8160cd2033e0 --database Ngki3MumDNGduV3xJt3mga --execute SELECT `evmAddress` FROM trc20_purchases LIMIT 1;",
"rows": [
{
"evmAddress": "NULL"
}
],
"messages": [],
"stdout": "evmAddress\nNULL\n",
"stderr": "",
"execution_time_ms": 1511
}

View File

@ -0,0 +1,106 @@
{
"query": "SHOW COLUMNS FROM trc20_purchases;",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway03.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 3Bq4cgN2KNKQqNu.8160cd2033e0 --database Ngki3MumDNGduV3xJt3mga --execute SHOW COLUMNS FROM trc20_purchases;",
"rows": [
{
"Field": "id",
"Type": "int",
"Null": "NO",
"Key": "PRI",
"Default": "NULL",
"Extra": "auto_increment"
},
{
"Field": "txHash",
"Type": "varchar(128)",
"Null": "NO",
"Key": "UNI",
"Default": "NULL",
"Extra": ""
},
{
"Field": "fromAddress",
"Type": "varchar(64)",
"Null": "NO",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "usdtAmount",
"Type": "decimal(20,6)",
"Null": "NO",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "xicAmount",
"Type": "decimal(30,6)",
"Null": "NO",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "blockNumber",
"Type": "bigint",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "status",
"Type": "enum('pending','confirmed','distributed','failed')",
"Null": "NO",
"Key": "",
"Default": "pending",
"Extra": ""
},
{
"Field": "distributedAt",
"Type": "timestamp",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "distributeTxHash",
"Type": "varchar(128)",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
},
{
"Field": "createdAt",
"Type": "timestamp",
"Null": "NO",
"Key": "",
"Default": "CURRENT_TIMESTAMP",
"Extra": ""
},
{
"Field": "updatedAt",
"Type": "timestamp",
"Null": "NO",
"Key": "",
"Default": "CURRENT_TIMESTAMP",
"Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP"
},
{
"Field": "evmAddress",
"Type": "varchar(64)",
"Null": "YES",
"Key": "",
"Default": "NULL",
"Extra": ""
}
],
"messages": [],
"stdout": "Field\tType\tNull\tKey\tDefault\tExtra\nid\tint\tNO\tPRI\tNULL\tauto_increment\ntxHash\tvarchar(128)\tNO\tUNI\tNULL\t\nfromAddress\tvarchar(64)\tNO\t\tNULL\t\nusdtAmount\tdecimal(20,6)\tNO\t\tNULL\t\nxicAmount\tdecimal(30,6)\tNO\t\tNULL\t\nblockNumber\tbigint\tYES\t\tNULL\t\nstatus\tenum('pending','confirmed','distributed','failed')\tNO\t\tpending\t\ndistributedAt\ttimestamp\tYES\t\tNULL\t\ndistributeTxHash\tvarchar(128)\tYES\t\tNULL\t\ncreatedAt\ttimestamp\tNO\t\tCURRENT_TIMESTAMP\t\nupdatedAt\ttimestamp\tNO\t\tCURRENT_TIMESTAMP\tDEFAULT_GENERATED on update CURRENT_TIMESTAMP\nevmAddress\tvarchar(64)\tYES\t\tNULL\t\n",
"stderr": "",
"execution_time_ms": 1594
}

View File

@ -0,0 +1,46 @@
{
"query": "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'trc20_purchases' ORDER BY ORDINAL_POSITION;",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway03.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 3Bq4cgN2KNKQqNu.8160cd2033e0 --database Ngki3MumDNGduV3xJt3mga --execute SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'trc20_purchases' ORDER BY ORDINAL_POSITION;",
"rows": [
{
"COLUMN_NAME": "id"
},
{
"COLUMN_NAME": "txHash"
},
{
"COLUMN_NAME": "fromAddress"
},
{
"COLUMN_NAME": "usdtAmount"
},
{
"COLUMN_NAME": "xicAmount"
},
{
"COLUMN_NAME": "blockNumber"
},
{
"COLUMN_NAME": "status"
},
{
"COLUMN_NAME": "distributedAt"
},
{
"COLUMN_NAME": "distributeTxHash"
},
{
"COLUMN_NAME": "createdAt"
},
{
"COLUMN_NAME": "updatedAt"
},
{
"COLUMN_NAME": "evmAddress"
}
],
"messages": [],
"stdout": "COLUMN_NAME\nid\ntxHash\nfromAddress\nusdtAmount\nxicAmount\nblockNumber\nstatus\ndistributedAt\ndistributeTxHash\ncreatedAt\nupdatedAt\nevmAddress\n",
"stderr": "",
"execution_time_ms": 1593
}

35
.prettierignore Normal file
View File

@ -0,0 +1,35 @@
# Dependencies
node_modules/
.pnpm-store/
# Build outputs
dist/
build/
*.dist
# Generated files
*.tsbuildinfo
coverage/
# Package files
package-lock.json
pnpm-lock.yaml
# Database
*.db
*.sqlite
*.sqlite3
# Logs
*.log
# Environment files
.env*
# IDE files
.vscode/
.idea/
# OS files
.DS_Store
Thumbs.db

15
.prettierrc Normal file
View File

@ -0,0 +1,15 @@
{
"semi": true,
"trailingComma": "es5",
"singleQuote": false,
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "avoid",
"endOfLine": "lf",
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"proseWrap": "preserve"
}

View File

@ -1 +0,0 @@
const s=/[.*+?^${}()|[\]\\]/gu,e=/[0-9,.]/u,t="https://reown.com";export{t as R,e as n,s};

View File

@ -1,201 +0,0 @@
import{i as g,r as h,e as p,a as w,b as u,O as m,u as v,d as f}from"./index-B6fu-u6K.js";import{n as s,c as b,U as x}from"./if-defined-D6swbWyQ.js";import"./index-CuJMoJHR.js";import"./index-DUZ-8KUm.js";const N={URLS:{FAQ:"https://walletconnect.com/faq"}},y=g`
a {
border: 1px solid var(--wui-color-gray-glass-010);
border-radius: var(--wui-border-radius-3xl);
}
wui-image {
border-radius: var(--wui-border-radius-3xl);
overflow: hidden;
}
a.disabled > wui-icon:not(.image-icon),
a.disabled > wui-image {
filter: grayscale(1);
}
a[data-variant='fill'] {
color: var(--wui-color-inverse-100);
background-color: var(--wui-color-accent-100);
}
a[data-variant='shade'],
a[data-variant='shadeSmall'] {
background-color: transparent;
background-color: var(--wui-color-gray-glass-010);
color: var(--wui-color-fg-200);
}
a[data-variant='success'] {
column-gap: var(--wui-spacing-xxs);
border: 1px solid var(--wui-color-success-glass-010);
background-color: var(--wui-color-success-glass-010);
color: var(--wui-color-success-100);
}
a[data-variant='error'] {
column-gap: var(--wui-spacing-xxs);
border: 1px solid var(--wui-color-error-glass-010);
background-color: var(--wui-color-error-glass-010);
color: var(--wui-color-error-100);
}
a[data-variant='transparent'] {
column-gap: var(--wui-spacing-xxs);
background-color: transparent;
color: var(--wui-color-fg-150);
}
a[data-variant='transparent'],
a[data-variant='success'],
a[data-variant='shadeSmall'],
a[data-variant='error'] {
padding: 7px var(--wui-spacing-s) 7px 10px;
}
a[data-variant='transparent']:has(wui-text:first-child),
a[data-variant='success']:has(wui-text:first-child),
a[data-variant='shadeSmall']:has(wui-text:first-child),
a[data-variant='error']:has(wui-text:first-child) {
padding: 7px var(--wui-spacing-s);
}
a[data-variant='fill'],
a[data-variant='shade'] {
column-gap: var(--wui-spacing-xs);
padding: var(--wui-spacing-xxs) var(--wui-spacing-m) var(--wui-spacing-xxs)
var(--wui-spacing-xs);
}
a[data-variant='fill']:has(wui-text:first-child),
a[data-variant='shade']:has(wui-text:first-child) {
padding: 9px var(--wui-spacing-m) 9px var(--wui-spacing-m);
}
a[data-variant='fill'] > wui-image,
a[data-variant='shade'] > wui-image {
width: 24px;
height: 24px;
}
a[data-variant='fill'] > wui-image {
box-shadow: inset 0 0 0 1px var(--wui-color-accent-090);
}
a[data-variant='shade'] > wui-image,
a[data-variant='shadeSmall'] > wui-image {
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-010);
}
a[data-variant='fill'] > wui-icon:not(.image-icon),
a[data-variant='shade'] > wui-icon:not(.image-icon) {
width: 14px;
height: 14px;
}
a[data-variant='transparent'] > wui-image,
a[data-variant='success'] > wui-image,
a[data-variant='shadeSmall'] > wui-image,
a[data-variant='error'] > wui-image {
width: 14px;
height: 14px;
}
a[data-variant='transparent'] > wui-icon:not(.image-icon),
a[data-variant='success'] > wui-icon:not(.image-icon),
a[data-variant='shadeSmall'] > wui-icon:not(.image-icon),
a[data-variant='error'] > wui-icon:not(.image-icon) {
width: 12px;
height: 12px;
}
a[data-variant='fill']:focus-visible {
background-color: var(--wui-color-accent-090);
}
a[data-variant='shade']:focus-visible,
a[data-variant='shadeSmall']:focus-visible {
background-color: var(--wui-color-gray-glass-015);
}
a[data-variant='transparent']:focus-visible {
background-color: var(--wui-color-gray-glass-005);
}
a[data-variant='success']:focus-visible {
background-color: var(--wui-color-success-glass-015);
}
a[data-variant='error']:focus-visible {
background-color: var(--wui-color-error-glass-015);
}
a.disabled {
color: var(--wui-color-gray-glass-015);
background-color: var(--wui-color-gray-glass-015);
pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
a[data-variant='fill']:hover {
background-color: var(--wui-color-accent-090);
}
a[data-variant='shade']:hover,
a[data-variant='shadeSmall']:hover {
background-color: var(--wui-color-gray-glass-015);
}
a[data-variant='transparent']:hover {
background-color: var(--wui-color-gray-glass-005);
}
a[data-variant='success']:hover {
background-color: var(--wui-color-success-glass-015);
}
a[data-variant='error']:hover {
background-color: var(--wui-color-error-glass-015);
}
}
a[data-variant='fill']:active {
background-color: var(--wui-color-accent-080);
}
a[data-variant='shade']:active,
a[data-variant='shadeSmall']:active {
background-color: var(--wui-color-gray-glass-020);
}
a[data-variant='transparent']:active {
background-color: var(--wui-color-gray-glass-010);
}
a[data-variant='success']:active {
background-color: var(--wui-color-success-glass-020);
}
a[data-variant='error']:active {
background-color: var(--wui-color-error-glass-020);
}
`;var o=function(a,t,i,n){var c=arguments.length,e=c<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(a,t,i,n);else for(var d=a.length-1;d>=0;d--)(l=a[d])&&(e=(c<3?l(e):c>3?l(t,i,e):l(t,i))||e);return c>3&&e&&Object.defineProperty(t,i,e),e};let r=class extends w{constructor(){super(...arguments),this.variant="fill",this.imageSrc=void 0,this.imageIcon=void 0,this.imageIconSize="md",this.disabled=!1,this.icon="externalLink",this.href="",this.text=void 0}render(){const i=this.variant==="success"||this.variant==="transparent"||this.variant==="shadeSmall"?"small-600":"paragraph-600";return u`
<a
rel="noreferrer"
target="_blank"
href=${this.href}
class=${this.disabled?"disabled":""}
data-variant=${this.variant}
>
${this.imageTemplate()}
<wui-text variant=${i} color="inherit">
${this.title?this.title:x.getHostName(this.href)}
</wui-text>
<wui-icon name=${this.icon} color="inherit" size="inherit"></wui-icon>
</a>
`}imageTemplate(){return this.imageSrc?u`<wui-image src=${this.imageSrc}></wui-image>`:this.imageIcon?u`<wui-icon
name=${this.imageIcon}
color="inherit"
size=${this.imageIconSize}
class="image-icon"
></wui-icon>`:null}};r.styles=[h,p,y];o([s()],r.prototype,"variant",void 0);o([s()],r.prototype,"imageSrc",void 0);o([s()],r.prototype,"imageIcon",void 0);o([s()],r.prototype,"imageIconSize",void 0);o([s({type:Boolean})],r.prototype,"disabled",void 0);o([s()],r.prototype,"icon",void 0);o([s()],r.prototype,"href",void 0);o([s()],r.prototype,"text",void 0);r=o([b("wui-chip")],r);const z={getTabsByNamespace(a){var i;return!!a&&a===f.CHAIN.EVM?((i=m.state.remoteFeatures)==null?void 0:i.activity)===!1?v.ACCOUNT_TABS.filter(n=>n.label!=="Activity"):v.ACCOUNT_TABS:[]},isValidReownName(a){return/^[a-zA-Z0-9]+$/gu.test(a)},validateReownName(a){return a.replace(/\^/gu,"").toLowerCase().replace(/[^a-zA-Z0-9]/gu,"")}};export{z as H,N};

File diff suppressed because one or more lines are too long

View File

@ -1,15 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const o=l`<svg
width="14"
height="14"
viewBox="0 0 14 14"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill="currentColor"
fill-rule="evenodd"
clip-rule="evenodd"
d="M7.0023 0.875C7.48571 0.875 7.8776 1.26675 7.8776 1.75V6.125H12.2541C12.7375 6.125 13.1294 6.51675 13.1294 7C13.1294 7.48325 12.7375 7.875 12.2541 7.875H7.8776V12.25C7.8776 12.7332 7.48571 13.125 7.0023 13.125C6.51889 13.125 6.12701 12.7332 6.12701 12.25V7.875H1.75054C1.26713 7.875 0.875244 7.48325 0.875244 7C0.875244 6.51675 1.26713 6.125 1.75054 6.125H6.12701V1.75C6.12701 1.26675 6.51889 0.875 7.0023 0.875Z"
fill="#667dff"
/></svg
>`;export{o as addSvg};

View File

@ -1,6 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const o=l`<svg fill="none" viewBox="0 0 24 24">
<path
style="fill: var(--wui-color-accent-100);"
d="M10.2 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM10.2 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0Z"
/>
</svg>`;export{o as allWalletsSvg};

View File

@ -1,17 +0,0 @@
import{w as t}from"./index-B6fu-u6K.js";const e=t`
<svg width="36" height="36">
<path
d="M28.724 0H7.271A7.269 7.269 0 0 0 0 7.272v21.46A7.268 7.268 0 0 0 7.271 36H28.73A7.272 7.272 0 0 0 36 28.728V7.272A7.275 7.275 0 0 0 28.724 0Z"
fill="url(#a)"
/>
<path
d="m17.845 8.271.729-1.26a1.64 1.64 0 1 1 2.843 1.638l-7.023 12.159h5.08c1.646 0 2.569 1.935 1.853 3.276H6.434a1.632 1.632 0 0 1-1.638-1.638c0-.909.73-1.638 1.638-1.638h4.176l5.345-9.265-1.67-2.898a1.642 1.642 0 0 1 2.844-1.638l.716 1.264Zm-6.317 17.5-1.575 2.732a1.64 1.64 0 1 1-2.844-1.638l1.17-2.025c1.323-.41 2.398-.095 3.249.931Zm13.56-4.954h4.262c.909 0 1.638.729 1.638 1.638 0 .909-.73 1.638-1.638 1.638h-2.367l1.597 2.772c.45.788.185 1.782-.602 2.241a1.642 1.642 0 0 1-2.241-.603c-2.69-4.666-4.711-8.159-6.052-10.485-1.372-2.367-.391-4.743.576-5.549 1.075 1.846 2.682 4.631 4.828 8.348Z"
fill="#fff"
/>
<defs>
<linearGradient id="a" x1="18" y1="0" x2="18" y2="36" gradientUnits="userSpaceOnUse">
<stop stop-color="#18BFFB" />
<stop offset="1" stop-color="#2072F3" />
</linearGradient>
</defs>
</svg>`;export{e as appStoreSvg};

View File

@ -1,18 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const f=l`<svg fill="none" viewBox="0 0 40 40">
<g clip-path="url(#a)">
<g clip-path="url(#b)">
<circle cx="20" cy="19.89" r="20" fill="#000" />
<g clip-path="url(#c)">
<path
fill="#fff"
d="M28.77 23.3c-.69 1.99-2.75 5.52-4.87 5.56-1.4.03-1.86-.84-3.46-.84-1.61 0-2.12.81-3.45.86-2.25.1-5.72-5.1-5.72-9.62 0-4.15 2.9-6.2 5.42-6.25 1.36-.02 2.64.92 3.47.92.83 0 2.38-1.13 4.02-.97.68.03 2.6.28 3.84 2.08-3.27 2.14-2.76 6.61.75 8.25ZM24.2 7.88c-2.47.1-4.49 2.69-4.2 4.84 2.28.17 4.47-2.39 4.2-4.84Z"
/>
</g>
</g>
</g>
<defs>
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
</defs>
</svg>`;export{f as appleSvg};

View File

@ -1,8 +0,0 @@
import{w as o}from"./index-B6fu-u6K.js";const e=o`<svg fill="none" viewBox="0 0 14 15">
<path
fill="currentColor"
fill-rule="evenodd"
d="M7 1.99a1 1 0 0 1 1 1v7.58l2.46-2.46a1 1 0 0 1 1.41 1.42L7.7 13.69a1 1 0 0 1-1.41 0L2.12 9.53A1 1 0 0 1 3.54 8.1L6 10.57V3a1 1 0 0 1 1-1Z"
clip-rule="evenodd"
/>
</svg>`;export{e as arrowBottomSvg};

View File

@ -1,11 +0,0 @@
import{w as C}from"./index-B6fu-u6K.js";const e=C`<svg
fill="none"
viewBox="0 0 21 20"
>
<path
fill="currentColor"
fill-rule="evenodd"
d="M10.5 2.42908C6.31875 2.42908 2.92859 5.81989 2.92859 10.0034C2.92859 14.1869 6.31875 17.5777 10.5 17.5777C14.6813 17.5777 18.0714 14.1869 18.0714 10.0034C18.0714 5.81989 14.6813 2.42908 10.5 2.42908ZM0.928589 10.0034C0.928589 4.71596 5.21355 0.429077 10.5 0.429077C15.7865 0.429077 20.0714 4.71596 20.0714 10.0034C20.0714 15.2908 15.7865 19.5777 10.5 19.5777C5.21355 19.5777 0.928589 15.2908 0.928589 10.0034ZM10.5 5.75003C11.0523 5.75003 11.5 6.19774 11.5 6.75003L11.5 10.8343L12.7929 9.54137C13.1834 9.15085 13.8166 9.15085 14.2071 9.54137C14.5976 9.9319 14.5976 10.5651 14.2071 10.9556L11.2071 13.9556C10.8166 14.3461 10.1834 14.3461 9.79291 13.9556L6.79291 10.9556C6.40239 10.5651 6.40239 9.9319 6.79291 9.54137C7.18343 9.15085 7.8166 9.15085 8.20712 9.54137L9.50002 10.8343L9.50002 6.75003C9.50002 6.19774 9.94773 5.75003 10.5 5.75003Z"
clip-rule="evenodd"
/></svg
>`;export{e as arrowBottomCircleSvg};

View File

@ -1,8 +0,0 @@
import{w as e}from"./index-B6fu-u6K.js";const o=e`<svg fill="none" viewBox="0 0 14 15">
<path
fill="currentColor"
fill-rule="evenodd"
d="M13 7.99a1 1 0 0 1-1 1H4.4l2.46 2.46a1 1 0 1 1-1.41 1.41L1.29 8.7a1 1 0 0 1 0-1.41L5.46 3.1a1 1 0 0 1 1.41 1.42L4.41 6.99H12a1 1 0 0 1 1 1Z"
clip-rule="evenodd"
/>
</svg>`;export{o as arrowLeftSvg};

View File

@ -1,8 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const e=l`<svg fill="none" viewBox="0 0 14 15">
<path
fill="currentColor"
fill-rule="evenodd"
d="M1 7.99a1 1 0 0 1 1-1h7.58L7.12 4.53A1 1 0 1 1 8.54 3.1l4.16 4.17a1 1 0 0 1 0 1.41l-4.16 4.17a1 1 0 1 1-1.42-1.41l2.46-2.46H2a1 1 0 0 1-1-1Z"
clip-rule="evenodd"
/>
</svg>`;export{e as arrowRightSvg};

View File

@ -1,8 +0,0 @@
import{w as o}from"./index-B6fu-u6K.js";const e=o`<svg fill="none" viewBox="0 0 14 15">
<path
fill="currentColor"
fill-rule="evenodd"
d="M7 13.99a1 1 0 0 1-1-1V5.4L3.54 7.86a1 1 0 0 1-1.42-1.41L6.3 2.28a1 1 0 0 1 1.41 0l4.17 4.17a1 1 0 1 1-1.41 1.41L8 5.4v7.59a1 1 0 0 1-1 1Z"
clip-rule="evenodd"
/>
</svg>`;export{e as arrowTopSvg};

View File

@ -1,14 +0,0 @@
import{w as e}from"./index-B6fu-u6K.js";const o=e`<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
height="13"
viewBox="0 0 12 13"
fill="none"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M5.61391 1.57124C5.85142 1.42873 6.14813 1.42873 6.38564 1.57124L11.0793 4.38749C11.9179 4.89067 11.5612 6.17864 10.5832 6.17864H9.96398V10.0358H10.2854C10.6996 10.0358 11.0354 10.3716 11.0354 10.7858C11.0354 11.2 10.6996 11.5358 10.2854 11.5358H1.71416C1.29995 11.5358 0.964172 11.2 0.964172 10.7858C0.964172 10.3716 1.29995 10.0358 1.71416 10.0358H2.03558L2.03558 6.17864H1.41637C0.438389 6.17864 0.0816547 4.89066 0.920263 4.38749L5.61391 1.57124ZM3.53554 6.17864V10.0358H5.24979V6.17864H3.53554ZM6.74976 6.17864V10.0358H8.46401V6.17864H6.74976ZM8.64913 4.67864H3.35043L5.99978 3.089L8.64913 4.67864Z"
fill="currentColor"
/></svg
>`;export{o as bankSvg};

View File

@ -1,4 +0,0 @@
import{w as C}from"./index-B6fu-u6K.js";const o=C`<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.90029 1.71429C4.09883 0.736183 4.96358 0 6.00028 0C7.03698 0 7.90173 0.736183 8.10027 1.71429H9.41533C9.42361 1.71417 9.4319 1.71417 9.44022 1.71429H10.286C10.7594 1.71429 11.1431 2.09804 11.1431 2.57143C11.1431 3.04482 10.7594 3.42857 10.286 3.42857H10.1855L9.73675 7.01877C9.6785 7.48493 9.6279 7.88983 9.55601 8.22075C9.47948 8.57304 9.36472 8.91574 9.13613 9.22925C8.91553 9.53181 8.63151 9.78254 8.30392 9.96392C7.96448 10.1519 7.61019 10.2232 7.25112 10.2555C6.91385 10.2858 6.50581 10.2857 6.03603 10.2857H5.96453C5.49475 10.2857 5.08671 10.2858 4.74944 10.2555C4.39037 10.2232 4.03608 10.1519 3.69664 9.96392C3.36905 9.78254 3.08503 9.53181 2.86442 9.22925C2.63583 8.91574 2.52108 8.57304 2.44455 8.22075C2.37266 7.88984 2.32206 7.48496 2.26382 7.0188L1.81504 3.42857H1.71456C1.24118 3.42857 0.857422 3.04482 0.857422 2.57143C0.857422 2.09804 1.24118 1.71429 1.71456 1.71429H2.56034C2.56866 1.71417 2.57695 1.71417 2.58522 1.71429H3.90029ZM3.54266 3.42857L3.96043 6.77068C4.02441 7.2825 4.06617 7.61016 4.11976 7.85681C4.17051 8.09045 4.21726 8.17492 4.2496 8.21928C4.32314 8.32013 4.41781 8.4037 4.52701 8.46416C4.57504 8.49076 4.66465 8.52666 4.90278 8.54805C5.15417 8.57063 5.48448 8.57143 6.00028 8.57143C6.51608 8.57143 6.84638 8.57063 7.09778 8.54805C7.33591 8.52666 7.42552 8.49076 7.47355 8.46416C7.58275 8.4037 7.67742 8.32013 7.75096 8.21928C7.7833 8.17491 7.83005 8.09045 7.8808 7.85681C7.93439 7.61016 7.97615 7.2825 8.04013 6.77068L8.4579 3.42857H3.54266Z" fill="currentColor"/>
</svg>
`;export{o as binSvg};

View File

@ -1,13 +0,0 @@
import{w as L}from"./index-B6fu-u6K.js";const i=L`
<svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_24458_3947)">
<path d="M12.6542 7.45143C11.8528 10.6657 8.59691 12.6219 5.38191 11.8204C2.16827 11.019 0.211924 7.76324 1.01369 4.54918C1.81476 1.33451 5.07063 -0.621803 8.28463 0.17954C11.4994 0.980884 13.4556 4.23702 12.6541 7.45149L12.6542 7.45143H12.6542Z" fill="var(--wui-color-gray-glass-005)"/>
<path d="M9.48002 5.14517C9.59946 4.3467 8.9915 3.91749 8.16017 3.63117L8.42986 2.54957L7.7714 2.38551L7.50886 3.43863C7.33576 3.39546 7.15799 3.35479 6.9813 3.31446L7.24574 2.25439L6.58769 2.09033L6.31786 3.17158C6.17461 3.13896 6.03391 3.10673 5.89741 3.07277L5.89817 3.06937L4.99014 2.84264L4.81498 3.54585C4.81498 3.54585 5.3035 3.65783 5.29321 3.66472C5.55985 3.73126 5.60807 3.90775 5.60006 4.04765L5.29286 5.27984C5.31122 5.2845 5.33503 5.29125 5.36131 5.3018C5.33935 5.29635 5.31597 5.2904 5.29171 5.28459L4.86112 7.01072C4.82853 7.09172 4.74582 7.21328 4.5594 7.16712C4.566 7.17668 4.08082 7.0477 4.08082 7.0477L3.75391 7.80135L4.61079 8.01495C4.77019 8.05492 4.92641 8.09674 5.08024 8.13607L4.80777 9.23007L5.46547 9.39413L5.7353 8.31174C5.91498 8.36051 6.08935 8.4055 6.26005 8.44791L5.99112 9.52519L6.64961 9.68925L6.92206 8.5973C8.04487 8.80978 8.88914 8.72411 9.2445 7.70862C9.53085 6.89103 9.23025 6.41944 8.63954 6.11192C9.06978 6.0127 9.39385 5.72975 9.48026 5.14525L9.48005 5.14511L9.48002 5.14517ZM7.9756 7.25457C7.7721 8.07216 6.39541 7.6302 5.94906 7.51937L6.31064 6.07001C6.75696 6.18142 8.18827 6.40191 7.97562 7.25457H7.9756ZM8.17923 5.13332C7.9936 5.877 6.84776 5.49918 6.47606 5.40653L6.80389 4.09205C7.17559 4.18469 8.37261 4.35761 8.17929 5.13332H8.17923Z" fill="var(--wui-color-gray-glass-090)"/>
</g>
<defs>
<clipPath id="clip0_24458_3947">
<rect width="11.9997" height="12" fill="white" transform="translate(0.833984)"/>
</clipPath>
</defs>
</svg>
`;export{i as bitcoinSvg};

View File

@ -1,14 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const a=l`<svg fill="none" viewBox="0 0 20 20">
<path
fill="currentColor"
fill-rule="evenodd"
d="M4 6.4a1 1 0 0 1-.46.89 6.98 6.98 0 0 0 .38 6.18A7 7 0 0 0 16.46 7.3a1 1 0 0 1-.47-.92 7 7 0 0 0-12 .03Zm-2.02-.5a9 9 0 1 1 16.03 8.2A9 9 0 0 1 1.98 5.9Z"
clip-rule="evenodd"
/>
<path
fill="currentColor"
fill-rule="evenodd"
d="M6.03 8.63c-1.46-.3-2.72-.75-3.6-1.35l-.02-.01-.14-.11a1 1 0 0 1 1.2-1.6l.1.08c.6.4 1.52.74 2.69 1 .16-.99.39-1.88.67-2.65.3-.79.68-1.5 1.15-2.02A2.58 2.58 0 0 1 9.99 1c.8 0 1.45.44 1.92.97.47.52.84 1.23 1.14 2.02.29.77.52 1.66.68 2.64a8 8 0 0 0 2.7-1l.26-.18h.48a1 1 0 0 1 .12 2c-.86.51-2.01.91-3.34 1.18a22.24 22.24 0 0 1-.03 3.19c1.45.29 2.7.73 3.58 1.31a1 1 0 0 1-1.1 1.68c-.6-.4-1.56-.76-2.75-1-.15.8-.36 1.55-.6 2.2-.3.79-.67 1.5-1.14 2.02-.47.53-1.12.97-1.92.97-.8 0-1.45-.44-1.91-.97a6.51 6.51 0 0 1-1.15-2.02c-.24-.65-.44-1.4-.6-2.2-1.18.24-2.13.6-2.73.99a1 1 0 1 1-1.1-1.67c.88-.58 2.12-1.03 3.57-1.31a22.03 22.03 0 0 1-.04-3.2Zm2.2-1.7c.15-.86.34-1.61.58-2.24.24-.65.51-1.12.76-1.4.25-.28.4-.29.42-.29.03 0 .17.01.42.3.25.27.52.74.77 1.4.23.62.43 1.37.57 2.22a19.96 19.96 0 0 1-3.52 0Zm-.18 4.6a20.1 20.1 0 0 1-.03-2.62 21.95 21.95 0 0 0 3.94 0 20.4 20.4 0 0 1-.03 2.63 21.97 21.97 0 0 0-3.88 0Zm.27 2c.13.66.3 1.26.49 1.78.24.65.51 1.12.76 1.4.25.28.4.29.42.29.03 0 .17-.01.42-.3.25-.27.52-.74.77-1.4.19-.5.36-1.1.49-1.78a20.03 20.03 0 0 0-3.35 0Z"
clip-rule="evenodd"
/>
</svg>`;export{a as browserSvg};

View File

@ -1,14 +0,0 @@
import{w as C}from"./index-B6fu-u6K.js";const l=C`<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
height="13"
viewBox="0 0 12 13"
fill="none"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M4.16072 2C4.17367 2 4.18665 2 4.19968 2L7.83857 2C8.36772 1.99998 8.82398 1.99996 9.19518 2.04018C9.5895 2.0829 9.97577 2.17811 10.3221 2.42971C10.5131 2.56849 10.6811 2.73647 10.8198 2.92749C11.0714 3.27379 11.1666 3.66007 11.2094 4.0544C11.2496 4.42561 11.2496 4.88188 11.2495 5.41105V7.58896C11.2496 8.11812 11.2496 8.57439 11.2094 8.94561C11.1666 9.33994 11.0714 9.72621 10.8198 10.0725C10.6811 10.2635 10.5131 10.4315 10.3221 10.5703C9.97577 10.8219 9.5895 10.9171 9.19518 10.9598C8.82398 11 8.36772 11 7.83856 11H4.16073C3.63157 11 3.17531 11 2.80411 10.9598C2.40979 10.9171 2.02352 10.8219 1.67722 10.5703C1.48621 10.4315 1.31824 10.2635 1.17946 10.0725C0.927858 9.72621 0.832652 9.33994 0.78993 8.94561C0.749713 8.5744 0.749733 8.11813 0.749757 7.58896L0.749758 5.45C0.749758 5.43697 0.749758 5.42399 0.749757 5.41104C0.749733 4.88188 0.749713 4.42561 0.78993 4.0544C0.832652 3.66007 0.927858 3.27379 1.17946 2.92749C1.31824 2.73647 1.48621 2.56849 1.67722 2.42971C2.02352 2.17811 2.40979 2.0829 2.80411 2.04018C3.17531 1.99996 3.63157 1.99998 4.16072 2ZM2.96567 3.53145C2.69897 3.56034 2.60687 3.60837 2.55888 3.64324C2.49521 3.6895 2.43922 3.74549 2.39296 3.80916C2.35809 3.85715 2.31007 3.94926 2.28117 4.21597C2.26629 4.35335 2.25844 4.51311 2.25431 4.70832H9.74498C9.74085 4.51311 9.733 4.35335 9.71812 4.21597C9.68922 3.94926 9.6412 3.85715 9.60633 3.80916C9.56007 3.74549 9.50408 3.6895 9.44041 3.64324C9.39242 3.60837 9.30031 3.56034 9.03362 3.53145C8.75288 3.50103 8.37876 3.5 7.79961 3.5H4.19968C3.62053 3.5 3.24641 3.50103 2.96567 3.53145ZM9.74956 6.20832H2.24973V7.55C2.24973 8.12917 2.25076 8.5033 2.28117 8.78404C2.31007 9.05074 2.35809 9.14285 2.39296 9.19084C2.43922 9.25451 2.49521 9.31051 2.55888 9.35677C2.60687 9.39163 2.69897 9.43966 2.96567 9.46856C3.24641 9.49897 3.62053 9.5 4.19968 9.5H7.79961C8.37876 9.5 8.75288 9.49897 9.03362 9.46856C9.30032 9.43966 9.39242 9.39163 9.44041 9.35677C9.50408 9.31051 9.56007 9.25451 9.60633 9.19084C9.6412 9.14285 9.68922 9.05075 9.71812 8.78404C9.74854 8.5033 9.74956 8.12917 9.74956 7.55V6.20832ZM6.74963 8C6.74963 7.58579 7.08541 7.25 7.49961 7.25H8.2496C8.6638 7.25 8.99958 7.58579 8.99958 8C8.99958 8.41422 8.6638 8.75 8.2496 8.75H7.49961C7.08541 8.75 6.74963 8.41422 6.74963 8Z"
fill="currentColor"
/></svg
>`;export{l as cardSvg};

View File

@ -1,11 +0,0 @@
import{w as e}from"./index-B6fu-u6K.js";const o=e`<svg
width="28"
height="28"
viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M25.5297 4.92733C26.1221 5.4242 26.1996 6.30724 25.7027 6.89966L12.2836 22.8997C12.0316 23.2001 11.6652 23.3811 11.2735 23.3986C10.8817 23.4161 10.5006 23.2686 10.2228 22.9919L2.38218 15.1815C1.83439 14.6358 1.83268 13.7494 2.37835 13.2016C2.92403 12.6538 3.81046 12.6521 4.35825 13.1978L11.1183 19.9317L23.5573 5.10036C24.0542 4.50794 24.9372 4.43047 25.5297 4.92733Z"
fill="currentColor"/>
</svg>
`;export{o as checkmarkSvg};

View File

@ -1,8 +0,0 @@
import{w as e}from"./index-B6fu-u6K.js";const o=e`<svg fill="none" viewBox="0 0 14 14">
<path
fill="currentColor"
fill-rule="evenodd"
d="M12.9576 2.23383C13.3807 2.58873 13.4361 3.21947 13.0812 3.64263L6.37159 11.6426C6.19161 11.8572 5.92989 11.9865 5.65009 11.999C5.3703 12.0115 5.09808 11.9062 4.89965 11.7085L0.979321 7.80331C0.588042 7.41354 0.586817 6.78038 0.976585 6.3891C1.36635 5.99782 1.99952 5.99659 2.3908 6.38636L5.53928 9.52268L11.5488 2.35742C11.9037 1.93426 12.5344 1.87893 12.9576 2.23383Z"
clip-rule="evenodd"
/>
</svg>`;export{o as checkmarkBoldSvg};

View File

@ -1,8 +0,0 @@
import{w as o}from"./index-B6fu-u6K.js";const e=o`<svg fill="none" viewBox="0 0 16 16">
<path
fill="currentColor"
fill-rule="evenodd"
d="M1.46 4.96a1 1 0 0 1 1.41 0L8 10.09l5.13-5.13a1 1 0 1 1 1.41 1.41l-5.83 5.84a1 1 0 0 1-1.42 0L1.46 6.37a1 1 0 0 1 0-1.41Z"
clip-rule="evenodd"
/>
</svg>`;export{e as chevronBottomSvg};

View File

@ -1,8 +0,0 @@
import{w as e}from"./index-B6fu-u6K.js";const o=e`<svg fill="none" viewBox="0 0 16 16">
<path
fill="currentColor"
fill-rule="evenodd"
d="M11.04 1.46a1 1 0 0 1 0 1.41L5.91 8l5.13 5.13a1 1 0 1 1-1.41 1.41L3.79 8.71a1 1 0 0 1 0-1.42l5.84-5.83a1 1 0 0 1 1.41 0Z"
clip-rule="evenodd"
/>
</svg>`;export{o as chevronLeftSvg};

View File

@ -1,8 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const o=l`<svg fill="none" viewBox="0 0 16 16">
<path
fill="currentColor"
fill-rule="evenodd"
d="M4.96 14.54a1 1 0 0 1 0-1.41L10.09 8 4.96 2.87a1 1 0 0 1 1.41-1.41l5.84 5.83a1 1 0 0 1 0 1.42l-5.84 5.83a1 1 0 0 1-1.41 0Z"
clip-rule="evenodd"
/>
</svg>`;export{o as chevronRightSvg};

View File

@ -1,8 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const e=l`<svg fill="none" viewBox="0 0 16 16">
<path
fill="currentColor"
fill-rule="evenodd"
d="M14.54 11.04a1 1 0 0 1-1.41 0L8 5.92l-5.13 5.12a1 1 0 1 1-1.41-1.41l5.83-5.84a1 1 0 0 1 1.42 0l5.83 5.84a1 1 0 0 1 0 1.41Z"
clip-rule="evenodd"
/>
</svg>`;export{e as chevronTopSvg};

View File

@ -1,61 +0,0 @@
import{w as t}from"./index-B6fu-u6K.js";const o=t`<svg width="36" height="36" fill="none">
<path
fill="#fff"
fill-opacity=".05"
d="M0 14.94c0-5.55 0-8.326 1.182-10.4a9 9 0 0 1 3.359-3.358C6.614 0 9.389 0 14.94 0h6.12c5.55 0 8.326 0 10.4 1.182a9 9 0 0 1 3.358 3.359C36 6.614 36 9.389 36 14.94v6.12c0 5.55 0 8.326-1.182 10.4a9 9 0 0 1-3.359 3.358C29.386 36 26.611 36 21.06 36h-6.12c-5.55 0-8.326 0-10.4-1.182a9 9 0 0 1-3.358-3.359C0 29.386 0 26.611 0 21.06v-6.12Z"
/>
<path
stroke="#fff"
stroke-opacity=".05"
d="M14.94.5h6.12c2.785 0 4.84 0 6.46.146 1.612.144 2.743.43 3.691.97a8.5 8.5 0 0 1 3.172 3.173c.541.948.826 2.08.971 3.692.145 1.62.146 3.675.146 6.459v6.12c0 2.785 0 4.84-.146 6.46-.145 1.612-.43 2.743-.97 3.691a8.5 8.5 0 0 1-3.173 3.172c-.948.541-2.08.826-3.692.971-1.62.145-3.674.146-6.459.146h-6.12c-2.784 0-4.84 0-6.46-.146-1.612-.145-2.743-.43-3.691-.97a8.5 8.5 0 0 1-3.172-3.173c-.541-.948-.827-2.08-.971-3.692C.5 25.9.5 23.845.5 21.06v-6.12c0-2.784 0-4.84.146-6.46.144-1.612.43-2.743.97-3.691A8.5 8.5 0 0 1 4.79 1.617C5.737 1.076 6.869.79 8.48.646 10.1.5 12.156.5 14.94.5Z"
/>
<path
fill="url(#a)"
d="M17.998 10.8h12.469a14.397 14.397 0 0 0-24.938.001l6.234 10.798.006-.001a7.19 7.19 0 0 1 6.23-10.799Z"
/>
<path
fill="url(#b)"
d="m24.237 21.598-6.234 10.798A14.397 14.397 0 0 0 30.47 10.798H18.002l-.002.006a7.191 7.191 0 0 1 6.237 10.794Z"
/>
<path
fill="url(#c)"
d="M11.765 21.601 5.531 10.803A14.396 14.396 0 0 0 18.001 32.4l6.235-10.798-.004-.004a7.19 7.19 0 0 1-12.466.004Z"
/>
<path fill="#fff" d="M18 25.2a7.2 7.2 0 1 0 0-14.4 7.2 7.2 0 0 0 0 14.4Z" />
<path fill="#1A73E8" d="M18 23.7a5.7 5.7 0 1 0 0-11.4 5.7 5.7 0 0 0 0 11.4Z" />
<defs>
<linearGradient
id="a"
x1="6.294"
x2="41.1"
y1="5.995"
y2="5.995"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#D93025" />
<stop offset="1" stop-color="#EA4335" />
</linearGradient>
<linearGradient
id="b"
x1="20.953"
x2="37.194"
y1="32.143"
y2="2.701"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#FCC934" />
<stop offset="1" stop-color="#FBBC04" />
</linearGradient>
<linearGradient
id="c"
x1="25.873"
x2="9.632"
y1="31.2"
y2="1.759"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#1E8E3E" />
<stop offset="1" stop-color="#34A853" />
</linearGradient>
</defs>
</svg>`;export{o as chromeStoreSvg};

View File

@ -1,4 +0,0 @@
import{w as i}from"./index-B6fu-u6K.js";const t=i`<svg width="4" height="4" viewBox="0 0 4 4" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="2" cy="2" r="2" fill="white" fill-opacity="0.2"/>
</svg>
`;export{t as circleSvg};

View File

@ -1,8 +0,0 @@
import{w as C}from"./index-B6fu-u6K.js";const l=C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M7.00235 2C4.24 2 2.00067 4.23858 2.00067 7C2.00067 9.76142 4.24 12 7.00235 12C9.7647 12 12.004 9.76142 12.004 7C12.004 4.23858 9.7647 2 7.00235 2ZM0 7C0 3.13401 3.13506 0 7.00235 0C10.8696 0 14.0047 3.13401 14.0047 7C14.0047 10.866 10.8696 14 7.00235 14C3.13506 14 0 10.866 0 7ZM7.00235 3C7.55482 3 8.00269 3.44771 8.00269 4V6.58579L9.85327 8.43575C10.2439 8.82627 10.2439 9.45944 9.85327 9.84996C9.46262 10.2405 8.82924 10.2405 8.43858 9.84996L6.29501 7.70711C6.10741 7.51957 6.00201 7.26522 6.00201 7V4C6.00201 3.44771 6.44988 3 7.00235 3Z"
fill="currentColor"
/>
</svg>`;export{l as clockSvg};

View File

@ -1,8 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const o=l`<svg fill="none" viewBox="0 0 16 16">
<path
fill="currentColor"
fill-rule="evenodd"
d="M2.54 2.54a1 1 0 0 1 1.42 0L8 6.6l4.04-4.05a1 1 0 1 1 1.42 1.42L9.4 8l4.05 4.04a1 1 0 0 1-1.42 1.42L8 9.4l-4.04 4.05a1 1 0 0 1-1.42-1.42L6.6 8 2.54 3.96a1 1 0 0 1 0-1.42Z"
clip-rule="evenodd"
/>
</svg>`;export{o as closeSvg};

View File

@ -1,8 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const o=l`<svg fill="none" viewBox="0 0 20 20">
<path
fill="currentColor"
fill-rule="evenodd"
d="M10 3a7 7 0 0 0-6.85 8.44l8.29-8.3C10.97 3.06 10.49 3 10 3Zm3.49.93-9.56 9.56c.32.55.71 1.06 1.16 1.5L15 5.1a7.03 7.03 0 0 0-1.5-1.16Zm2.7 2.8-9.46 9.46a7 7 0 0 0 9.46-9.46ZM1.99 5.9A9 9 0 1 1 18 14.09 9 9 0 0 1 1.98 5.91Z"
clip-rule="evenodd"
/>
</svg>`;export{o as coinPlaceholderSvg};

View File

@ -1,8 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const e=l`<svg fill="none" viewBox="0 0 16 16">
<path
fill="currentColor"
fill-rule="evenodd"
d="M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm10.66-2.65a1 1 0 0 1 .23 1.06L9.83 9.24a1 1 0 0 1-.59.58l-2.83 1.06A1 1 0 0 1 5.13 9.6l1.06-2.82a1 1 0 0 1 .58-.59L9.6 5.12a1 1 0 0 1 1.06.23ZM7.9 7.89l-.13.35.35-.13.12-.35-.34.13Z"
clip-rule="evenodd"
/>
</svg>`;export{e as compassSvg};

View File

@ -1,15 +0,0 @@
import{w as C}from"./index-B6fu-u6K.js";const o=C`<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
viewBox="0 0 16 16"
fill="none"
>
<path
fill="currentColor"
fill-rule="evenodd"
clip-rule="evenodd"
d="M9.21498 1.28565H10.5944C11.1458 1.28562 11.6246 1.2856 12.0182 1.32093C12.4353 1.35836 12.853 1.44155 13.2486 1.66724C13.7005 1.92498 14.0749 2.29935 14.3326 2.75122C14.5583 3.14689 14.6415 3.56456 14.6789 3.9817C14.7143 4.37531 14.7142 4.85403 14.7142 5.40545V6.78489C14.7142 7.33631 14.7143 7.81503 14.6789 8.20865C14.6415 8.62578 14.5583 9.04345 14.3326 9.43912C14.0749 9.89099 13.7005 10.2654 13.2486 10.5231C12.853 10.7488 12.4353 10.832 12.0182 10.8694C11.7003 10.8979 11.3269 10.9034 10.9045 10.9045C10.9034 11.3269 10.8979 11.7003 10.8694 12.0182C10.832 12.4353 10.7488 12.853 10.5231 13.2486C10.2654 13.7005 9.89099 14.0749 9.43912 14.3326C9.04345 14.5583 8.62578 14.6415 8.20865 14.6789C7.81503 14.7143 7.33631 14.7142 6.78489 14.7142H5.40545C4.85403 14.7142 4.37531 14.7143 3.9817 14.6789C3.56456 14.6415 3.14689 14.5583 2.75122 14.3326C2.29935 14.0749 1.92498 13.7005 1.66724 13.2486C1.44155 12.853 1.35836 12.4353 1.32093 12.0182C1.2856 11.6246 1.28562 11.1458 1.28565 10.5944V9.21498C1.28562 8.66356 1.2856 8.18484 1.32093 7.79122C1.35836 7.37409 1.44155 6.95642 1.66724 6.56074C1.92498 6.10887 2.29935 5.73451 2.75122 5.47677C3.14689 5.25108 3.56456 5.16789 3.9817 5.13045C4.2996 5.10192 4.67301 5.09645 5.09541 5.09541C5.09645 4.67302 5.10192 4.2996 5.13045 3.9817C5.16789 3.56456 5.25108 3.14689 5.47676 2.75122C5.73451 2.29935 6.10887 1.92498 6.56074 1.66724C6.95642 1.44155 7.37409 1.35836 7.79122 1.32093C8.18484 1.2856 8.66356 1.28562 9.21498 1.28565ZM5.09541 7.09552C4.68397 7.09667 4.39263 7.10161 4.16046 7.12245C3.88053 7.14757 3.78516 7.18949 3.74214 7.21403C3.60139 7.29431 3.48478 7.41091 3.4045 7.55166C3.37997 7.59468 3.33804 7.69005 3.31292 7.96999C3.28659 8.26345 3.28565 8.65147 3.28565 9.25708V10.5523C3.28565 11.1579 3.28659 11.5459 3.31292 11.8394C3.33804 12.1193 3.37997 12.2147 3.4045 12.2577C3.48478 12.3985 3.60139 12.5151 3.74214 12.5954C3.78516 12.6199 3.88053 12.6618 4.16046 12.6869C4.45393 12.7133 4.84195 12.7142 5.44755 12.7142H6.74279C7.3484 12.7142 7.73641 12.7133 8.02988 12.6869C8.30981 12.6618 8.40518 12.6199 8.44821 12.5954C8.58895 12.5151 8.70556 12.3985 8.78584 12.2577C8.81038 12.2147 8.8523 12.1193 8.87742 11.8394C8.89825 11.6072 8.90319 11.3159 8.90435 10.9045C8.48219 10.9034 8.10898 10.8979 7.79122 10.8694C7.37409 10.832 6.95641 10.7488 6.56074 10.5231C6.10887 10.2654 5.73451 9.89099 5.47676 9.43912C5.25108 9.04345 5.16789 8.62578 5.13045 8.20865C5.10194 7.89089 5.09645 7.51767 5.09541 7.09552ZM7.96999 3.31292C7.69005 3.33804 7.59468 3.37997 7.55166 3.4045C7.41091 3.48478 7.29431 3.60139 7.21403 3.74214C7.18949 3.78516 7.14757 3.88053 7.12245 4.16046C7.09611 4.45393 7.09517 4.84195 7.09517 5.44755V6.74279C7.09517 7.3484 7.09611 7.73641 7.12245 8.02988C7.14757 8.30981 7.18949 8.40518 7.21403 8.4482C7.29431 8.58895 7.41091 8.70556 7.55166 8.78584C7.59468 8.81038 7.69005 8.8523 7.96999 8.87742C8.26345 8.90376 8.65147 8.9047 9.25708 8.9047H10.5523C11.1579 8.9047 11.5459 8.90376 11.8394 8.87742C12.1193 8.8523 12.2147 8.81038 12.2577 8.78584C12.3985 8.70556 12.5151 8.58895 12.5954 8.4482C12.6199 8.40518 12.6618 8.30981 12.6869 8.02988C12.7133 7.73641 12.7142 7.3484 12.7142 6.74279V5.44755C12.7142 4.84195 12.7133 4.45393 12.6869 4.16046C12.6618 3.88053 12.6199 3.78516 12.5954 3.74214C12.5151 3.60139 12.3985 3.48478 12.2577 3.4045C12.2147 3.37997 12.1193 3.33804 11.8394 3.31292C11.5459 3.28659 11.1579 3.28565 10.5523 3.28565H9.25708C8.65147 3.28565 8.26345 3.28659 7.96999 3.31292Z"
fill="#788181"
/></svg
>`;export{o as copySvg};

View File

@ -1,3 +0,0 @@
import{w as o}from"./index-B6fu-u6K.js";const l=o` <svg fill="none" viewBox="0 0 13 4">
<path fill="currentColor" d="M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z" />
</svg>`;export{l as cursorSvg};

View File

@ -1,12 +0,0 @@
import{w as o}from"./index-B6fu-u6K.js";const l=o`<svg fill="none" viewBox="0 0 14 6">
<path style="fill: var(--wui-color-bg-150);" d="M0 1h14L9.21 5.12a3.31 3.31 0 0 1-4.49 0L0 1Z" />
<path
style="stroke: var(--wui-color-inverse-100);"
stroke-opacity=".05"
d="M1.33 1.5h11.32L8.88 4.75l-.01.01a2.81 2.81 0 0 1-3.8 0l-.02-.01L1.33 1.5Z"
/>
<path
style="fill: var(--wui-color-bg-150);"
d="M1.25.71h11.5L9.21 3.88a3.31 3.31 0 0 1-4.49 0L1.25.71Z"
/>
</svg> `;export{l as cursorTransparentSvg};

View File

@ -1,242 +0,0 @@
import{i as y,a as $,b as l,O as m,R as p,f,S as h,D as E,F as R}from"./index-B6fu-u6K.js";import{n as S,c as x,r as u,U as _}from"./if-defined-D6swbWyQ.js";import{W as C}from"./index-DPKK9P02.js";import{ReownAuthentication as v}from"./features-C1ep8yJF.js";import"./index-BEFi7f_e.js";import"./index-BqLefJXm.js";const D=y`
.email-sufixes {
display: flex;
flex-direction: row;
gap: var(--wui-spacing-3xs);
overflow-x: auto;
max-width: 100%;
margin-top: var(--wui-spacing-s);
margin-bottom: calc(-1 * var(--wui-spacing-m));
padding-bottom: var(--wui-spacing-m);
margin-left: calc(-1 * var(--wui-spacing-m));
margin-right: calc(-1 * var(--wui-spacing-m));
padding-left: var(--wui-spacing-m);
padding-right: var(--wui-spacing-m);
&::-webkit-scrollbar {
display: none;
}
}
`;var O=function(o,t,i,a){var n=arguments.length,e=n<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,i):a,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,t,i,a);else for(var s=o.length-1;s>=0;s--)(r=o[s])&&(e=(n<3?r(e):n>3?r(t,i,e):r(t,i))||e);return n>3&&e&&Object.defineProperty(t,i,e),e};const I=["@gmail.com","@outlook.com","@yahoo.com","@hotmail.com","@aol.com","@icloud.com","@zoho.com"];let g=class extends ${constructor(){super(...arguments),this.email=""}render(){const t=I.filter(this.filter.bind(this)).map(this.item.bind(this));return t.length===0?null:l`<div class="email-sufixes">${t}</div>`}filter(t){if(!this.email)return!1;const i=this.email.split("@");if(i.length<2)return!0;const a=i.pop();return t.includes(a)&&t!==`@${a}`}item(t){return l`<wui-button variant="neutral" size="sm" @click=${()=>{const a=this.email.split("@");a.length>1&&a.pop();const n=a[0]+t;this.dispatchEvent(new CustomEvent("change",{detail:n,bubbles:!0,composed:!0}))}}
>${t}</wui-button
>`}};g.styles=[D];O([S()],g.prototype,"email",void 0);g=O([x("w3m-email-suffixes-widget")],g);const j=y`
.recent-emails {
display: flex;
flex-direction: column;
padding: var(--wui-spacing-s) 0;
border-top: 1px solid var(--wui-color-gray-glass-005);
border-bottom: 1px solid var(--wui-color-gray-glass-005);
}
.recent-emails-heading {
margin-bottom: var(--wui-spacing-s);
}
.recent-emails-list-item {
--wui-color-gray-glass-002: transparent;
}
`;var W=function(o,t,i,a){var n=arguments.length,e=n<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,i):a,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,t,i,a);else for(var s=o.length-1;s>=0;s--)(r=o[s])&&(e=(n<3?r(e):n>3?r(t,i,e):r(t,i))||e);return n>3&&e&&Object.defineProperty(t,i,e),e};let w=class extends ${constructor(){super(...arguments),this.emails=[]}render(){return this.emails.length===0?null:l`<div class="recent-emails">
<wui-text variant="micro-600" color="fg-200" class="recent-emails-heading"
>Recently used emails</wui-text
>
${this.emails.map(this.item.bind(this))}
</div>`}item(t){return l`<wui-list-item
@click=${()=>{this.dispatchEvent(new CustomEvent("select",{detail:t,bubbles:!0,composed:!0}))}}
?chevron=${!0}
icon="mail"
iconVariant="overlay"
class="recent-emails-list-item"
>
<wui-text variant="paragraph-500" color="fg-100">${t}</wui-text>
</wui-list-item>`}};w.styles=[j];W([S()],w.prototype,"emails",void 0);w=W([x("w3m-recent-emails-widget")],w);var A=function(o,t,i,a){var n=arguments.length,e=n<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,i):a,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,t,i,a);else for(var s=o.length-1;s>=0;s--)(r=o[s])&&(e=(n<3?r(e):n>3?r(t,i,e):r(t,i))||e);return n>3&&e&&Object.defineProperty(t,i,e),e};let b=class extends C{constructor(){super(...arguments),this.siwx=m.state.siwx,this.onOtpSubmit=async t=>{await this.siwx.confirmEmailOtp({code:t}),p.replace("SIWXSignMessage")},this.onOtpResend=async t=>{const i=f.getAccountData();if(!(i!=null&&i.caipAddress))throw new Error("No account data found");await this.siwx.requestEmailOtp({email:t,account:i.caipAddress})}}connectedCallback(){(!this.siwx||!(this.siwx instanceof v))&&h.showError("ReownAuthentication is not initialized."),super.connectedCallback()}shouldSubmitOnOtpChange(){return this.otp.length===C.OTP_LENGTH}};A([u()],b.prototype,"siwx",void 0);b=A([x("w3m-data-capture-otp-confirm-view")],b);const P=y`
.hero {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: var(--wui-spacing-3xs);
transition-property: margin, height;
transition-duration: var(--wui-duration-md);
transition-timing-function: var(--wui-ease-out-power-1);
margin-top: -100px;
&[data-state='loading'] {
margin-top: 0px;
}
position: relative;
&:after {
content: '';
position: absolute;
bottom: 0;
height: 252px;
width: 360px;
background: radial-gradient(
96.11% 53.95% at 50% 51.28%,
transparent 0%,
color-mix(in srgb, var(--wui-color-bg-100) 5%, transparent) 49%,
color-mix(in srgb, var(--wui-color-bg-100) 65%, transparent) 99.43%
);
}
}
.hero-main-icon {
width: 176px;
transition-property: background-color;
transition-duration: var(--wui-duration-lg);
transition-timing-function: var(--wui-ease-out-power-1);
&[data-state='loading'] {
width: 56px;
}
}
.hero-row {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: var(--wui-spacing-3xs);
flex-wrap: nowrap;
min-width: fit-content;
&:nth-child(1) {
transform: translateX(-30px);
}
&:nth-child(2) {
transform: translateX(30px);
}
&:nth-child(4) {
transform: translateX(40px);
}
transition-property: height;
transition-duration: var(--wui-duration-md);
transition-timing-function: var(--wui-ease-out-power-1);
height: 68px;
&[data-state='loading'] {
height: 0px;
}
}
.hero-row-icon {
opacity: 0.1;
transition-property: opacity;
transition-duration: var(--wui-duration-md);
transition-timing-function: var(--wui-ease-out-power-1);
&[data-state='loading'] {
opacity: 0;
}
}
`;var d=function(o,t,i,a){var n=arguments.length,e=n<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,i):a,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,t,i,a);else for(var s=o.length-1;s>=0;s--)(r=o[s])&&(e=(n<3?r(e):n>3?r(t,i,e):r(t,i))||e);return n>3&&e&&Object.defineProperty(t,i,e),e};let c=class extends ${constructor(){var t,i,a,n,e,r,s;super(...arguments),this.email=((t=p.state.data)==null?void 0:t.email)??((a=(i=f.getAccountData())==null?void 0:i.user)==null?void 0:a.email)??"",this.address=((n=f.getAccountData())==null?void 0:n.address)??"",this.loading=!1,this.appName=((e=m.state.metadata)==null?void 0:e.name)??"AppKit",this.siwx=m.state.siwx,this.isRequired=Array.isArray((r=m.state.remoteFeatures)==null?void 0:r.emailCapture)&&((s=m.state.remoteFeatures)==null?void 0:s.emailCapture.includes("required")),this.recentEmails=this.getRecentEmails()}connectedCallback(){(!this.siwx||!(this.siwx instanceof v))&&h.showError("ReownAuthentication is not initialized. Please contact support."),super.connectedCallback()}firstUpdated(){this.loading=!1,this.recentEmails=this.getRecentEmails(),this.email&&this.onSubmit()}render(){return l`
<wui-flex flexDirection="column" .padding=${["3xs","m","m","m"]} gap="l">
${this.hero()} ${this.paragraph()} ${this.emailInput()} ${this.recentEmailsWidget()}
${this.footerActions()}
</wui-flex>
`}hero(){return l`
<div class="hero" data-state=${this.loading?"loading":"default"}>
${this.heroRow(["id","mail","wallet","x","solana","qrCode"])}
${this.heroRow(["mail","farcaster","wallet","discord","mobile","qrCode"])}
<div class="hero-row">
${this.heroIcon("github")} ${this.heroIcon("bank")}
<wui-icon-box
size="xl"
iconSize="xxl"
iconColor=${this.loading?"fg-100":"accent-100"}
backgroundColor=${this.loading?"fg-100":"accent-100"}
icon=${this.loading?"id":"user"}
isOpaque
class="hero-main-icon"
data-state=${this.loading?"loading":"default"}
>
</wui-icon-box>
${this.heroIcon("id")} ${this.heroIcon("card")}
</div>
${this.heroRow(["google","id","github","verify","apple","mobile"])}
</div>
`}heroRow(t){return l`
<div class="hero-row" data-state=${this.loading?"loading":"default"}>
${t.map(this.heroIcon.bind(this))}
</div>
`}heroIcon(t){return l`
<wui-icon-box
size="xl"
iconSize="xxl"
iconColor="fg-100"
backgroundColor="fg-100"
icon=${t}
data-state=${this.loading?"loading":"default"}
isOpaque
class="hero-row-icon"
>
</wui-icon-box>
`}paragraph(){return this.loading?l`
<wui-text variant="paragraph-400" color="fg-200" align="center"
>We are verifying your account with email
<wui-text variant="paragraph-600" color="accent-100">${this.email}</wui-text> and address
<wui-text variant="paragraph-600" color="fg-100">
${_.getTruncateString({string:this.address,charsEnd:4,charsStart:4,truncate:"middle"})} </wui-text
>, please wait a moment.</wui-text
>
`:this.isRequired?l`
<wui-text variant="paragraph-600" color="fg-100" align="center">
${this.appName} requires your email for authentication.
</wui-text>
`:l`
<wui-flex flexDirection="column" gap="xs" alignItems="center">
<wui-text variant="paragraph-600" color="fg-100" align="center" size>
${this.appName} would like to collect your email.
</wui-text>
<wui-text variant="small-400" color="fg-200" align="center">
Don't worry, it's optional&mdash;you can skip this step.
</wui-text>
</wui-flex>
`}emailInput(){if(this.loading)return null;const t=a=>{a.key==="Enter"&&this.onSubmit()},i=a=>{this.email=a.detail};return l`
<wui-flex flexDirection="column">
<wui-email-input
.value=${this.email}
.disabled=${this.loading}
@inputChange=${i}
@keydown=${t}
></wui-email-input>
<w3m-email-suffixes-widget
.email=${this.email}
@change=${i}
></w3m-email-suffixes-widget>
</wui-flex>
`}recentEmailsWidget(){if(this.recentEmails.length===0||this.loading)return null;const t=i=>{this.email=i.detail,this.onSubmit()};return l`
<w3m-recent-emails-widget
.emails=${this.recentEmails}
@select=${t}
></w3m-recent-emails-widget>
`}footerActions(){return l`
<wui-flex flexDirection="row" fullWidth gap="s">
${this.isRequired?null:l`<wui-button
size="lg"
variant="neutral"
fullWidth
.disabled=${this.loading}
@click=${this.onSkip.bind(this)}
>Skip this step</wui-button
>`}
<wui-button
size="lg"
variant="main"
type="submit"
fullWidth
.disabled=${!this.email||!this.isValidEmail(this.email)}
.loading=${this.loading}
@click=${this.onSubmit.bind(this)}
>
Continue
</wui-button>
</wui-flex>
`}async onSubmit(){if(!(this.siwx instanceof v)){h.showError("ReownAuthentication is not initialized. Please contact support.");return}const t=f.getActiveCaipAddress();if(!t)throw new Error("Account is not connected.");if(!this.isValidEmail(this.email)){h.showError("Please provide a valid email.");return}try{this.loading=!0;const i=await this.siwx.requestEmailOtp({email:this.email,account:t});this.pushRecentEmail(this.email),i.uuid===null?p.replace("SIWXSignMessage"):p.replace("DataCaptureOtpConfirm",{email:this.email})}catch{h.showError("Failed to send email OTP"),this.loading=!1}}onSkip(){p.replace("SIWXSignMessage")}getRecentEmails(){const t=E.getItem(R.RECENT_EMAILS);return(t?t.split(","):[]).filter(this.isValidEmail.bind(this)).slice(0,3)}pushRecentEmail(t){const i=this.getRecentEmails(),a=Array.from(new Set([t,...i])).slice(0,3);E.setItem(R.RECENT_EMAILS,a.join(","))}isValidEmail(t){return/^\S+@\S+\.\S+$/u.test(t)}};c.styles=[P];d([u()],c.prototype,"email",void 0);d([u()],c.prototype,"address",void 0);d([u()],c.prototype,"loading",void 0);d([u()],c.prototype,"appName",void 0);d([u()],c.prototype,"siwx",void 0);d([u()],c.prototype,"isRequired",void 0);d([u()],c.prototype,"recentEmails",void 0);c=d([x("w3m-data-capture-view")],c);export{b as W3mDataCaptureOtpConfirmView,c as W3mDataCaptureView,g as W3mEmailSuffixesWidget,w as W3mRecentEmailsWidget};

View File

@ -1,9 +0,0 @@
import{w as c}from"./index-B6fu-u6K.js";const l=c`<svg fill="none" viewBox="0 0 20 20">
<path
fill="currentColor"
fill-rule="evenodd"
d="M13.66 2H6.34c-1.07 0-1.96 0-2.68.08-.74.08-1.42.25-2.01.68a4 4 0 0 0-.89.89c-.43.6-.6 1.27-.68 2.01C0 6.38 0 7.26 0 8.34v.89c0 1.07 0 1.96.08 2.68.08.74.25 1.42.68 2.01a4 4 0 0 0 .89.89c.6.43 1.27.6 2.01.68a27 27 0 0 0 2.68.08h7.32a27 27 0 0 0 2.68-.08 4.03 4.03 0 0 0 2.01-.68 4 4 0 0 0 .89-.89c.43-.6.6-1.27.68-2.01.08-.72.08-1.6.08-2.68v-.89c0-1.07 0-1.96-.08-2.68a4.04 4.04 0 0 0-.68-2.01 4 4 0 0 0-.89-.89c-.6-.43-1.27-.6-2.01-.68C15.62 2 14.74 2 13.66 2ZM2.82 4.38c.2-.14.48-.25 1.06-.31C4.48 4 5.25 4 6.4 4h7.2c1.15 0 1.93 0 2.52.07.58.06.86.17 1.06.31a2 2 0 0 1 .44.44c.14.2.25.48.31 1.06.07.6.07 1.37.07 2.52v.77c0 1.15 0 1.93-.07 2.52-.06.58-.17.86-.31 1.06a2 2 0 0 1-.44.44c-.2.14-.48.25-1.06.32-.6.06-1.37.06-2.52.06H6.4c-1.15 0-1.93 0-2.52-.06-.58-.07-.86-.18-1.06-.32a2 2 0 0 1-.44-.44c-.14-.2-.25-.48-.31-1.06C2 11.1 2 10.32 2 9.17V8.4c0-1.15 0-1.93.07-2.52.06-.58.17-.86.31-1.06a2 2 0 0 1 .44-.44Z"
clip-rule="evenodd"
/>
<path fill="currentColor" d="M6.14 17.57a1 1 0 1 0 0 2h7.72a1 1 0 1 0 0-2H6.14Z" />
</svg>`;export{l as desktopSvg};

View File

@ -1,8 +0,0 @@
import{w as a}from"./index-B6fu-u6K.js";const e=a`<svg fill="none" viewBox="0 0 16 16">
<path
fill="currentColor"
fill-rule="evenodd"
d="M6.07 1h.57a1 1 0 0 1 0 2h-.52c-.98 0-1.64 0-2.14.06-.48.05-.7.14-.84.24-.13.1-.25.22-.34.35-.1.14-.2.35-.25.83-.05.5-.05 1.16-.05 2.15v2.74c0 .99 0 1.65.05 2.15.05.48.14.7.25.83.1.14.2.25.34.35.14.1.36.2.84.25.5.05 1.16.05 2.14.05h.52a1 1 0 0 1 0 2h-.57c-.92 0-1.69 0-2.3-.07a3.6 3.6 0 0 1-1.8-.61c-.3-.22-.57-.49-.8-.8a3.6 3.6 0 0 1-.6-1.79C.5 11.11.5 10.35.5 9.43V6.58c0-.92 0-1.7.06-2.31a3.6 3.6 0 0 1 .62-1.8c.22-.3.48-.57.79-.79a3.6 3.6 0 0 1 1.8-.61C4.37 1 5.14 1 6.06 1ZM9.5 3a1 1 0 0 1 1.42 0l4.28 4.3a1 1 0 0 1 0 1.4L10.93 13a1 1 0 0 1-1.42-1.42L12.1 9H6.8a1 1 0 1 1 0-2h5.3L9.51 4.42a1 1 0 0 1 0-1.41Z"
clip-rule="evenodd"
/>
</svg>`;export{e as disconnectSvg};

View File

@ -1,17 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const i=l`<svg fill="none" viewBox="0 0 40 40">
<g clip-path="url(#a)">
<g clip-path="url(#b)">
<circle cx="20" cy="19.89" r="20" fill="#5865F2" />
<path
fill="#fff"
fill-rule="evenodd"
d="M25.71 28.15C30.25 28 32 25.02 32 25.02c0-6.61-2.96-11.98-2.96-11.98-2.96-2.22-5.77-2.15-5.77-2.15l-.29.32c3.5 1.07 5.12 2.61 5.12 2.61a16.75 16.75 0 0 0-10.34-1.93l-.35.04a15.43 15.43 0 0 0-5.88 1.9s1.71-1.63 5.4-2.7l-.2-.24s-2.81-.07-5.77 2.15c0 0-2.96 5.37-2.96 11.98 0 0 1.73 2.98 6.27 3.13l1.37-1.7c-2.6-.79-3.6-2.43-3.6-2.43l.58.35.09.06.08.04.02.01.08.05a17.25 17.25 0 0 0 4.52 1.58 14.4 14.4 0 0 0 8.3-.86c.72-.27 1.52-.66 2.37-1.21 0 0-1.03 1.68-3.72 2.44.61.78 1.35 1.67 1.35 1.67Zm-9.55-9.6c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28.01-1.25-.93-2.28-2.1-2.28Zm7.5 0c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28 0-1.25-.93-2.28-2.1-2.28Z"
clip-rule="evenodd"
/>
</g>
</g>
<defs>
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
</defs>
</svg>`;export{i as discordSvg};

View File

@ -1,5 +0,0 @@
import{w as C}from"./index-B6fu-u6K.js";const V=C`<svg viewBox="0 0 14 16" fill="none">
<path d="M8.16261 7.29409H7.45708V4.00146H7.69226C8.12886 4.00146 8.54759 4.17491 8.85632 4.48365C9.16505 4.7924 9.33849 5.21114 9.33849 5.64777C9.33849 5.8349 9.41282 6.01436 9.54513 6.14668C9.67745 6.279 9.8569 6.35334 10.044 6.35334C10.2311 6.35334 10.4106 6.279 10.5429 6.14668C10.6752 6.01436 10.7495 5.8349 10.7495 5.64777C10.7486 4.83718 10.4262 4.06004 9.85306 3.48686C9.2799 2.91368 8.50281 2.59126 7.69226 2.59033H7.45708V1.88476C7.45708 1.69764 7.38275 1.51817 7.25043 1.38585C7.11812 1.25354 6.93867 1.1792 6.75155 1.1792C6.56443 1.1792 6.38498 1.25354 6.25267 1.38585C6.12035 1.51817 6.04602 1.69764 6.04602 1.88476V2.59033H5.81085C5 2.59033 4.22237 2.91245 3.64901 3.48583C3.07566 4.05922 2.75356 4.83689 2.75356 5.64777C2.75356 6.45866 3.07566 7.23633 3.64901 7.80972C4.22237 8.3831 5 8.70522 5.81085 8.70522H6.04602V11.9979H5.34049C4.90388 11.9979 4.48516 11.8244 4.17643 11.5157C3.8677 11.2069 3.69426 10.7882 3.69426 10.3515C3.69426 10.1644 3.61993 9.98495 3.48762 9.85263C3.3553 9.72031 3.17585 9.64597 2.98873 9.64597C2.80161 9.64597 2.62216 9.72031 2.48985 9.85263C2.35754 9.98495 2.2832 10.1644 2.2832 10.3515C2.28414 11.1621 2.60654 11.9393 3.17969 12.5124C3.75284 13.0856 4.52994 13.408 5.34049 13.409H6.04602V14.1145C6.04602 14.3017 6.12035 14.4811 6.25267 14.6135C6.38498 14.7458 6.56443 14.8201 6.75155 14.8201C6.93867 14.8201 7.11812 14.7458 7.25043 14.6135C7.38275 14.4811 7.45708 14.3017 7.45708 14.1145V13.409H8.16261C8.97345 13.409 9.75108 13.0869 10.3244 12.5135C10.8978 11.9401 11.2199 11.1624 11.2199 10.3515C11.2199 9.54065 10.8978 8.76298 10.3244 8.1896C9.75108 7.61621 8.97345 7.29409 8.16261 7.29409ZM5.81085 7.29409C5.37424 7.29409 4.95551 7.12064 4.64678 6.8119C4.33805 6.50315 4.16461 6.08441 4.16461 5.64777C4.16461 5.21114 4.33805 4.7924 4.64678 4.48365C4.95551 4.17491 5.37424 4.00146 5.81085 4.00146H6.04602V7.29409H5.81085ZM8.16261 11.9979H7.45708V8.70522H8.16261C8.59922 8.70522 9.01794 8.87867 9.32667 9.18742C9.6354 9.49616 9.80884 9.91491 9.80884 10.3515C9.80884 10.7882 9.6354 11.2069 9.32667 11.5157C9.01794 11.8244 8.59922 11.9979 8.16261 11.9979Z" fill="currentColor"/>
<path d="M3.69319 10.352C3.69319 10.1884 3.63606 10.0305 3.53335 9.905L3.48633 9.85285C3.37056 9.73708 3.21874 9.66545 3.05723 9.64942L2.98714 9.646C2.80019 9.64609 2.62103 9.72068 2.48881 9.85285L2.44179 9.905C2.33903 10.0305 2.28195 10.1884 2.28195 10.352C2.28296 11.1625 2.60553 11.9398 3.17861 12.5129C3.71583 13.0501 4.43222 13.367 5.18734 13.4053L5.33949 13.4096H6.04469V14.1148L6.04811 14.1849C6.06421 14.3463 6.13586 14.4983 6.25154 14.614C6.3673 14.7296 6.51921 14.8005 6.68064 14.8166L6.74988 14.82C6.91379 14.82 7.07217 14.7632 7.19778 14.6601L7.24907 14.614C7.36476 14.4983 7.4364 14.3463 7.45251 14.1849L7.45593 14.1148V13.4096H8.16112L8.31327 13.4053C9.01849 13.3703 9.69006 13.0921 10.2134 12.6181L10.3229 12.5138C10.8604 11.9762 11.1778 11.259 11.2152 10.5033L11.2187 10.352C11.2187 9.59191 10.9357 8.86056 10.428 8.29972L10.3229 8.18945C9.78545 7.65219 9.06865 7.33547 8.31327 7.29792L8.16112 7.2945V7.03208C9.04161 7.03208 9.8866 7.38134 10.5092 8.00397C11.1317 8.62659 11.4811 9.47156 11.4811 10.352C11.481 11.2324 11.1316 12.0767 10.5092 12.6993C9.92554 13.283 9.1466 13.627 8.32609 13.6677L8.16112 13.672H7.71834V14.1148C7.71834 14.3715 7.61611 14.6179 7.43456 14.7995C7.25302 14.9809 7.00655 15.0832 6.74988 15.0832C6.49337 15.0831 6.24749 14.9808 6.06606 14.7995C5.9072 14.6406 5.80855 14.4321 5.78654 14.2105L5.78227 14.1148V13.672H5.33864C4.45875 13.6709 3.61535 13.3206 2.99312 12.6984C2.4098 12.1151 2.06547 11.3371 2.02381 10.517L2.01953 10.352C2.01953 10.0953 2.12176 9.84893 2.30332 9.66737C2.48478 9.48595 2.73055 9.38367 2.98714 9.38358C3.2439 9.38358 3.49026 9.48581 3.67182 9.66737C3.83073 9.82629 3.92851 10.0346 3.95048 10.2563L3.95561 10.352C3.95568 10.7188 4.10147 11.0705 4.36077 11.3299C4.62026 11.5894 4.97253 11.7351 5.33949 11.7351V11.9983L5.17623 11.9898C4.8532 11.9577 4.54687 11.8306 4.29581 11.6248L4.17528 11.5163C3.90514 11.2461 3.73829 10.8913 3.70088 10.5145L3.69319 10.352ZM9.54501 10.352C9.54501 9.98508 9.39929 9.63282 9.13984 9.37332C8.88036 9.11382 8.52808 8.96816 8.16112 8.96816H7.71834V11.7351H8.16112V11.9983H7.45593V8.70574H8.16112L8.32438 8.71343C8.70113 8.75092 9.05527 8.91776 9.32533 9.18784C9.63402 9.49657 9.80743 9.91544 9.80743 10.352L9.79973 10.5145C9.76232 10.8913 9.59548 11.2461 9.32533 11.5163L9.20481 11.6248C8.95375 11.8306 8.64741 11.9577 8.32438 11.9898L8.16112 11.9983V11.7351C8.52808 11.7351 8.88036 11.5894 9.13984 11.3299C9.39913 11.0705 9.54493 10.7188 9.54501 10.352ZM6.04469 4.00189V7.2945H5.80962L5.64721 7.28595C5.32407 7.25392 5.01711 7.12764 4.76594 6.92182L4.64541 6.8124C4.37524 6.54222 4.2084 6.18754 4.17101 5.8106L4.16332 5.6482C4.16332 5.26615 4.29599 4.89746 4.536 4.60451L4.64541 4.48399C4.91563 4.21375 5.27023 4.04694 5.64721 4.00958L5.80962 4.00189H6.04469ZM9.07488 5.6482C9.07488 5.28127 8.92911 4.92896 8.66971 4.66947C8.41668 4.41643 8.0754 4.27222 7.71834 4.26516V7.03208H8.16112V7.2945H7.45593V4.00189H7.69099L7.8534 4.00958C8.23038 4.04694 8.58499 4.21376 8.8552 4.48399C9.16385 4.79272 9.3373 5.21163 9.3373 5.6482L9.34072 5.71743C9.35669 5.87904 9.42834 6.03069 9.54415 6.14653C9.65998 6.26236 9.81166 6.33397 9.97325 6.34997L10.0425 6.35339C10.2062 6.35339 10.364 6.29636 10.4895 6.19354L10.5417 6.14653C10.6574 6.0307 10.7292 5.87898 10.7451 5.71743L10.7485 5.6482C10.7477 4.88818 10.4639 4.15738 9.95616 3.59673L9.85187 3.48731C9.31448 2.94989 8.59774 2.6323 7.84229 2.59407L7.69099 2.59065H7.45593V1.8846C7.45584 1.72094 7.39894 1.56303 7.29608 1.43755L7.24907 1.38627C7.13328 1.27047 6.98151 1.19885 6.81997 1.18283L6.74988 1.17941C6.56291 1.17952 6.38376 1.25405 6.25154 1.38627L6.20453 1.43755C6.10166 1.56303 6.04477 1.72093 6.04469 1.8846V2.59065H5.80962L5.65833 2.59407C4.90255 2.63148 4.18549 2.94883 3.64789 3.48646L3.5436 3.59587C3.03567 4.15676 2.75208 4.8879 2.75208 5.6482L2.75635 5.79949C2.79382 6.55521 3.11035 7.27236 3.64789 7.80993C4.18547 8.34752 4.90259 8.66405 5.65833 8.70147L5.80962 8.70574H6.04469V11.9983H5.33949V11.7351H5.78227V8.9673C4.91168 8.96015 4.07855 8.61156 3.4624 7.99542C2.83985 7.37284 2.48972 6.52864 2.48966 5.6482C2.48966 4.76767 2.8398 3.92274 3.4624 3.30012C4.07852 2.68411 4.91178 2.33539 5.78227 2.32823V1.8846C5.78237 1.62799 5.88461 1.38225 6.06606 1.20078C6.24751 1.01931 6.49327 0.917102 6.74988 0.916992C7.00664 0.916992 7.253 1.01921 7.43456 1.20078C7.616 1.38225 7.71825 1.62799 7.71834 1.8846V2.32823C8.58867 2.33631 9.42142 2.68585 10.0374 3.30183C10.6595 3.92408 11.0099 4.7674 11.011 5.64734V5.6482C11.0109 5.90489 10.9087 6.15136 10.7272 6.33287C10.5683 6.49166 10.3598 6.58958 10.1382 6.61153L10.0425 6.61581C9.78582 6.61573 9.5393 6.51437 9.35781 6.33287C9.17633 6.15136 9.07493 5.90487 9.07488 5.6482ZM4.43257 5.78496C4.46405 6.1015 4.6041 6.39909 4.8309 6.62606C5.08393 6.87911 5.42521 7.02332 5.78227 7.03037V4.26516C5.4252 4.27221 5.08394 4.41642 4.8309 4.66947C4.57149 4.92896 4.42573 5.28126 4.42573 5.6482L4.43257 5.78496Z" fill="currentColor"/>
</svg>
`;export{V as dollarSvg};

View File

@ -1,4 +0,0 @@
import{w as C}from"./index-B6fu-u6K.js";const o=C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.00231 1.87549C4.17118 1.87549 1.87559 4.17065 1.87559 7.0025C1.87559 9.83435 4.17118 12.1295 7.00231 12.1295C9.83344 12.1295 12.129 9.83435 12.129 7.0025C12.129 4.17065 9.83344 1.87549 7.00231 1.87549ZM0.125 7.0025C0.125 3.20471 3.2038 0.125488 7.00231 0.125488C10.8008 0.125488 13.8796 3.20471 13.8796 7.0025C13.8796 10.8003 10.8008 13.8795 7.00231 13.8795C3.2038 13.8795 0.125 10.8003 0.125 7.0025ZM7.00231 3.85015C7.48572 3.85015 7.8776 4.2419 7.8776 4.72515L7.8776 7.16163L8.48409 6.55535C8.82591 6.21364 9.38012 6.21364 9.72194 6.55535C10.0638 6.89706 10.0638 7.45108 9.72194 7.79279L7.62124 9.89279C7.27941 10.2345 6.72521 10.2345 6.38338 9.89279L4.28268 7.79279C3.94085 7.45108 3.94085 6.89706 4.28268 6.55535C4.6245 6.21364 5.17871 6.21364 5.52053 6.55535L6.12702 7.16163L6.12702 4.72515C6.12702 4.2419 6.5189 3.85015 7.00231 3.85015Z" fill="#949E9E"/>
</svg>
`;export{o as downloadSvg};

View File

@ -1,100 +0,0 @@
import{f as D,C as y,O as p,E as c,M as _,R as s,S as f,h as C,i as R,a as b,p as d,b as u,H as W,d as $}from"./index-B6fu-u6K.js";import{c as m,r as E}from"./if-defined-D6swbWyQ.js";import{W as O}from"./index-DPKK9P02.js";import"./index-Bl7lS5oY.js";import"./index-BEFi7f_e.js";import{e as N,n as P}from"./ref-CNdtRDdT.js";import"./index-CaabtizE.js";import"./index-Cu_OxD_1.js";import"./index-BqLefJXm.js";import"./index-CuJMoJHR.js";import"./index-CS6mdpde.js";var T=function(o,e,t,r){var n=arguments.length,i=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,t):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,e,t,r);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i};let x=class extends O{constructor(){super(...arguments),this.onOtpSubmit=async e=>{var t,r;try{if(this.authConnector){const n=D.state.activeChain,i=y.getConnections(n),a=(t=p.state.remoteFeatures)==null?void 0:t.multiWallet,l=i.length>0;if(await this.authConnector.provider.connectOtp({otp:e}),c.sendEvent({type:"track",event:"EMAIL_VERIFICATION_CODE_PASS"}),n)await y.connectExternal(this.authConnector,n);else throw new Error("Active chain is not set on ChainControll");if(c.sendEvent({type:"track",event:"CONNECT_SUCCESS",properties:{method:"email",name:this.authConnector.name||"Unknown"}}),(r=p.state.remoteFeatures)!=null&&r.emailCapture)return;if(p.state.siwx){_.close();return}if(l&&a){s.replace("ProfileWallets"),f.showSuccess("New Wallet Added");return}_.close()}}catch(n){throw c.sendEvent({type:"track",event:"EMAIL_VERIFICATION_CODE_FAIL",properties:{message:C.parseError(n)}}),n}},this.onOtpResend=async e=>{this.authConnector&&(await this.authConnector.provider.connectEmail({email:e}),c.sendEvent({type:"track",event:"EMAIL_VERIFICATION_CODE_SENT"}))}}};x=T([m("w3m-email-verify-otp-view")],x);const U=R`
wui-icon-box {
height: var(--wui-icon-box-size-xl);
width: var(--wui-icon-box-size-xl);
}
`;var S=function(o,e,t,r){var n=arguments.length,i=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,t):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,e,t,r);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i};let w=class extends b{constructor(){var e;super(),this.email=(e=s.state.data)==null?void 0:e.email,this.authConnector=d.getAuthConnector(),this.loading=!1,this.listenForDeviceApproval()}render(){if(!this.email)throw new Error("w3m-email-verify-device-view: No email provided");if(!this.authConnector)throw new Error("w3m-email-verify-device-view: No auth connector provided");return u`
<wui-flex
flexDirection="column"
alignItems="center"
.padding=${["xxl","s","xxl","s"]}
gap="l"
>
<wui-icon-box
size="xl"
iconcolor="accent-100"
backgroundcolor="accent-100"
icon="verify"
background="opaque"
></wui-icon-box>
<wui-flex flexDirection="column" alignItems="center" gap="s">
<wui-flex flexDirection="column" alignItems="center">
<wui-text variant="paragraph-400" color="fg-100">
Approve the login link we sent to
</wui-text>
<wui-text variant="paragraph-400" color="fg-100"><b>${this.email}</b></wui-text>
</wui-flex>
<wui-text variant="small-400" color="fg-200" align="center">
The code expires in 20 minutes
</wui-text>
<wui-flex alignItems="center" id="w3m-resend-section" gap="xs">
<wui-text variant="small-400" color="fg-100" align="center">
Didn't receive it?
</wui-text>
<wui-link @click=${this.onResendCode.bind(this)} .disabled=${this.loading}>
Resend email
</wui-link>
</wui-flex>
</wui-flex>
</wui-flex>
`}async listenForDeviceApproval(){if(this.authConnector)try{await this.authConnector.provider.connectDevice(),c.sendEvent({type:"track",event:"DEVICE_REGISTERED_FOR_EMAIL"}),c.sendEvent({type:"track",event:"EMAIL_VERIFICATION_CODE_SENT"}),s.replace("EmailVerifyOtp",{email:this.email})}catch{s.goBack()}}async onResendCode(){try{if(!this.loading){if(!this.authConnector||!this.email)throw new Error("w3m-email-login-widget: Unable to resend email");this.loading=!0,await this.authConnector.provider.connectEmail({email:this.email}),this.listenForDeviceApproval(),f.showSuccess("Code email resent")}}catch(e){f.showError(e)}finally{this.loading=!1}}};w.styles=U;S([E()],w.prototype,"loading",void 0);w=S([m("w3m-email-verify-device-view")],w);const F=R`
wui-email-input {
width: 100%;
}
form {
width: 100%;
display: block;
position: relative;
}
`;var g=function(o,e,t,r){var n=arguments.length,i=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,t):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,e,t,r);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i};let h=class extends b{constructor(){var e,t;super(...arguments),this.formRef=N(),this.initialEmail=((e=s.state.data)==null?void 0:e.email)??"",this.redirectView=(t=s.state.data)==null?void 0:t.redirectView,this.email="",this.loading=!1}firstUpdated(){var e;(e=this.formRef.value)==null||e.addEventListener("keydown",t=>{t.key==="Enter"&&this.onSubmitEmail(t)})}render(){return u`
<wui-flex flexDirection="column" padding="m" gap="m">
<form ${P(this.formRef)} @submit=${this.onSubmitEmail.bind(this)}>
<wui-email-input
value=${this.initialEmail}
.disabled=${this.loading}
@inputChange=${this.onEmailInputChange.bind(this)}
>
</wui-email-input>
<input type="submit" hidden />
</form>
${this.buttonsTemplate()}
</wui-flex>
`}onEmailInputChange(e){this.email=e.detail}async onSubmitEmail(e){try{if(this.loading)return;this.loading=!0,e.preventDefault();const t=d.getAuthConnector();if(!t)throw new Error("w3m-update-email-wallet: Auth connector not found");const r=await t.provider.updateEmail({email:this.email});c.sendEvent({type:"track",event:"EMAIL_EDIT"}),r.action==="VERIFY_SECONDARY_OTP"?s.push("UpdateEmailSecondaryOtp",{email:this.initialEmail,newEmail:this.email,redirectView:this.redirectView}):s.push("UpdateEmailPrimaryOtp",{email:this.initialEmail,newEmail:this.email,redirectView:this.redirectView})}catch(t){f.showError(t),this.loading=!1}}buttonsTemplate(){const e=!this.loading&&this.email.length>3&&this.email!==this.initialEmail;return this.redirectView?u`
<wui-flex gap="s">
<wui-button size="md" variant="neutral" fullWidth @click=${s.goBack}>
Cancel
</wui-button>
<wui-button
size="md"
variant="main"
fullWidth
@click=${this.onSubmitEmail.bind(this)}
.disabled=${!e}
.loading=${this.loading}
>
Save
</wui-button>
</wui-flex>
`:u`
<wui-button
size="md"
variant="main"
fullWidth
@click=${this.onSubmitEmail.bind(this)}
.disabled=${!e}
.loading=${this.loading}
>
Save
</wui-button>
`}};h.styles=F;g([E()],h.prototype,"email",void 0);g([E()],h.prototype,"loading",void 0);h=g([m("w3m-update-email-wallet-view")],h);var j=function(o,e,t,r){var n=arguments.length,i=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,t):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,e,t,r);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i};let I=class extends O{constructor(){var e;super(),this.email=(e=s.state.data)==null?void 0:e.email,this.onOtpSubmit=async t=>{try{this.authConnector&&(await this.authConnector.provider.updateEmailPrimaryOtp({otp:t}),c.sendEvent({type:"track",event:"EMAIL_VERIFICATION_CODE_PASS"}),s.replace("UpdateEmailSecondaryOtp",s.state.data))}catch(r){throw c.sendEvent({type:"track",event:"EMAIL_VERIFICATION_CODE_FAIL",properties:{message:C.parseError(r)}}),r}},this.onStartOver=()=>{s.replace("UpdateEmailWallet",s.state.data)}}};I=j([m("w3m-update-email-primary-otp-view")],I);var L=function(o,e,t,r){var n=arguments.length,i=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,t):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,e,t,r);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i};let A=class extends O{constructor(){var e,t;super(),this.email=(e=s.state.data)==null?void 0:e.newEmail,this.redirectView=(t=s.state.data)==null?void 0:t.redirectView,this.onOtpSubmit=async r=>{try{this.authConnector&&(await this.authConnector.provider.updateEmailSecondaryOtp({otp:r}),c.sendEvent({type:"track",event:"EMAIL_VERIFICATION_CODE_PASS"}),this.redirectView&&s.reset(this.redirectView))}catch(n){throw c.sendEvent({type:"track",event:"EMAIL_VERIFICATION_CODE_FAIL",properties:{message:C.parseError(n)}}),n}},this.onStartOver=()=>{s.replace("UpdateEmailWallet",s.state.data)}}};A=L([m("w3m-update-email-secondary-otp-view")],A);var V=function(o,e,t,r){var n=arguments.length,i=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,t):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,e,t,r);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i};let v=class extends b{constructor(){var e;super(),this.authConnector=d.getAuthConnector(),this.isEmailEnabled=(e=p.state.remoteFeatures)==null?void 0:e.email,this.isAuthEnabled=this.checkIfAuthEnabled(d.state.connectors),this.connectors=d.state.connectors,d.subscribeKey("connectors",t=>{this.connectors=t,this.isAuthEnabled=this.checkIfAuthEnabled(this.connectors)})}render(){if(!this.isEmailEnabled)throw new Error("w3m-email-login-view: Email is not enabled");if(!this.isAuthEnabled)throw new Error("w3m-email-login-view: No auth connector provided");return u`<wui-flex
flexDirection="column"
.padding=${["3xs","m","m","m"]}
gap="l"
>
<w3m-email-login-widget></w3m-email-login-widget>
</wui-flex> `}checkIfAuthEnabled(e){const t=e.filter(n=>n.type===W.CONNECTOR_TYPE_AUTH).map(n=>n.chain);return $.AUTH_CONNECTOR_SUPPORTED_CHAINS.some(n=>t.includes(n))}};V([E()],v.prototype,"connectors",void 0);v=V([m("w3m-email-login-view")],v);export{v as W3mEmailLoginView,O as W3mEmailOtpWidget,w as W3mEmailVerifyDeviceView,x as W3mEmailVerifyOtpView,I as W3mUpdateEmailPrimaryOtpView,A as W3mUpdateEmailSecondaryOtpView,h as W3mUpdateEmailWalletView};

View File

@ -1,206 +0,0 @@
import{i as y,a as g,M as N,O as W,b as l,p as P,T as _,K as j,n as A,r as k,d as C,L as m,k as I,h as U,E as v,g as x,f as $,W as R,S as F,R as H}from"./index-B6fu-u6K.js";import{r as p,c as w,n as h,o as K}from"./if-defined-D6swbWyQ.js";import{H as T,N as V}from"./HelpersUtil-C5MO_6Gi.js";import{e as z,n as G}from"./ref-CNdtRDdT.js";import"./index-BqLefJXm.js";import"./index-CS6mdpde.js";import"./index-CuJMoJHR.js";import"./index-CWdYHdXq.js";import"./index-Dd9NGLEL.js";import"./index-CaabtizE.js";import"./index-Bl7lS5oY.js";import"./index-BEFi7f_e.js";import"./index-DUZ-8KUm.js";const L=y`
div {
width: 100%;
}
[data-ready='false'] {
transform: scale(1.05);
}
@media (max-width: 430px) {
[data-ready='false'] {
transform: translateY(-50px);
}
}
`;var M=function(a,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(a,e,t,n);else for(var r=a.length-1;r>=0;r--)(o=a[r])&&(i=(s<3?o(i):s>3?o(e,t,i):o(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};const S=600,O=360,Y=64;let b=class extends g{constructor(){super(),this.bodyObserver=void 0,this.unsubscribe=[],this.iframe=document.getElementById("w3m-iframe"),this.ready=!1,this.unsubscribe.push(N.subscribeKey("open",e=>{e||this.onHideIframe()}),N.subscribeKey("shake",e=>{e?this.iframe.style.animation="w3m-shake 500ms var(--wui-ease-out-power-2)":this.iframe.style.animation="none"}))}disconnectedCallback(){var e;this.onHideIframe(),this.unsubscribe.forEach(t=>t()),(e=this.bodyObserver)==null||e.unobserve(window.document.body)}async firstUpdated(){var t;await this.syncTheme(),this.iframe.style.display="block";const e=(t=this==null?void 0:this.renderRoot)==null?void 0:t.querySelector("div");this.bodyObserver=new ResizeObserver(n=>{var o,r;const s=(o=n==null?void 0:n[0])==null?void 0:o.contentBoxSize,i=(r=s==null?void 0:s[0])==null?void 0:r.inlineSize;this.iframe.style.height=`${S}px`,e.style.height=`${S}px`,W.state.enableEmbedded?this.updateFrameSizeForEmbeddedMode():i&&i<=430?(this.iframe.style.width="100%",this.iframe.style.left="0px",this.iframe.style.bottom="0px",this.iframe.style.top="unset",this.onShowIframe()):(this.iframe.style.width=`${O}px`,this.iframe.style.left=`calc(50% - ${O/2}px)`,this.iframe.style.top=`calc(50% - ${S/2}px + ${Y/2}px)`,this.iframe.style.bottom="unset",this.onShowIframe())}),this.bodyObserver.observe(window.document.body)}render(){return l`<div data-ready=${this.ready} id="w3m-frame-container"></div>`}onShowIframe(){const e=window.innerWidth<=430;this.ready=!0,this.iframe.style.animation=e?"w3m-iframe-zoom-in-mobile 200ms var(--wui-ease-out-power-2)":"w3m-iframe-zoom-in 200ms var(--wui-ease-out-power-2)"}onHideIframe(){this.iframe.style.display="none",this.iframe.style.animation="w3m-iframe-fade-out 200ms var(--wui-ease-out-power-2)"}async syncTheme(){const e=P.getAuthConnector();if(e){const t=_.getSnapshot().themeMode,n=_.getSnapshot().themeVariables;await e.provider.syncTheme({themeVariables:n,w3mThemeVariables:j(n,t)})}}async updateFrameSizeForEmbeddedMode(){var n;const e=(n=this==null?void 0:this.renderRoot)==null?void 0:n.querySelector("div");await new Promise(s=>{setTimeout(s,300)});const t=this.getBoundingClientRect();e.style.width="100%",this.iframe.style.left=`${t.left}px`,this.iframe.style.top=`${t.top}px`,this.iframe.style.width=`${t.width}px`,this.iframe.style.height=`${t.height}px`,this.onShowIframe()}};b.styles=L;M([p()],b.prototype,"ready",void 0);b=M([w("w3m-approve-transaction-view")],b);var B=function(a,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(a,e,t,n);else for(var r=a.length-1;r>=0;r--)(o=a[r])&&(i=(s<3?o(i):s>3?o(e,t,i):o(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};let D=class extends g{render(){return l`
<wui-flex flexDirection="column" alignItems="center" gap="xl" padding="xl">
<wui-text variant="paragraph-400" color="fg-100">Follow the instructions on</wui-text>
<wui-chip
icon="externalLink"
variant="fill"
href=${A.SECURE_SITE_DASHBOARD}
imageSrc=${A.SECURE_SITE_FAVICON}
data-testid="w3m-secure-website-button"
>
</wui-chip>
<wui-text variant="small-400" color="fg-200">
You will have to reconnect for security reasons
</wui-text>
</wui-flex>
`}};D=B([w("w3m-upgrade-wallet-view")],D);const q=y`
:host {
position: relative;
width: 100%;
display: inline-block;
color: var(--wui-color-fg-275);
}
.error {
margin: var(--wui-spacing-xxs) var(--wui-spacing-m) var(--wui-spacing-0) var(--wui-spacing-m);
}
.base-name {
position: absolute;
right: 45px;
top: 15px;
text-align: right;
}
`;var f=function(a,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(a,e,t,n);else for(var r=a.length-1;r>=0;r--)(o=a[r])&&(i=(s<3?o(i):s>3?o(e,t,i):o(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};let c=class extends g{constructor(){super(...arguments),this.disabled=!1,this.loading=!1}render(){return l`
<wui-input-text
value=${K(this.value)}
?disabled=${this.disabled}
.value=${this.value||""}
data-testid="wui-ens-input"
inputRightPadding="5xl"
.onKeyDown=${this.onKeyDown}
>
${this.baseNameTemplate()} ${this.errorTemplate()}${this.loadingTemplate()}
</wui-input-text>
`}baseNameTemplate(){return l`<wui-text variant="paragraph-400" color="fg-200" class="base-name">
${C.WC_NAME_SUFFIX}
</wui-text>`}loadingTemplate(){return this.loading?l`<wui-loading-spinner size="md" color="accent-100"></wui-loading-spinner>`:null}errorTemplate(){return this.errorMessage?l`<wui-text variant="tiny-500" color="error-100" class="error"
>${this.errorMessage}</wui-text
>`:null}};c.styles=[k,q];f([h()],c.prototype,"errorMessage",void 0);f([h({type:Boolean})],c.prototype,"disabled",void 0);f([h()],c.prototype,"value",void 0);f([h({type:Boolean})],c.prototype,"loading",void 0);f([h({attribute:!1})],c.prototype,"onKeyDown",void 0);c=f([w("wui-ens-input")],c);const X=y`
wui-flex {
width: 100%;
}
.suggestion {
border: none;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
background: var(--wui-color-gray-glass-002);
border-radius: var(--wui-border-radius-xs);
padding: var(--wui-spacing-m);
}
.suggestion:disabled {
opacity: 0.5;
cursor: default;
}
.suggestion:focus-visible:not(:disabled) {
outline: 1px solid var(--wui-color-gray-glass-020);
background-color: var(--wui-color-gray-glass-005);
}
.suggestion:hover:not(:disabled) {
background-color: var(--wui-color-gray-glass-005);
}
.suggested-name {
max-width: 75%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
form {
width: 100%;
position: relative;
}
.input-submit-button,
.input-loading-spinner {
position: absolute;
top: 26px;
transform: translateY(-50%);
right: 10px;
}
`;var d=function(a,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(a,e,t,n);else for(var r=a.length-1;r>=0;r--)(o=a[r])&&(i=(s<3?o(i):s>3?o(e,t,i):o(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};let u=class extends g{constructor(){super(),this.formRef=z(),this.usubscribe=[],this.name="",this.error="",this.loading=m.state.loading,this.suggestions=m.state.suggestions,this.profileName=I.state.profileName,this.onDebouncedNameInputChange=U.debounce(e=>{e.length<4?this.error="Name must be at least 4 characters long":T.isValidReownName(e)?(this.error="",m.getSuggestions(e)):this.error="The value is not a valid username"}),this.usubscribe.push(m.subscribe(e=>{this.suggestions=e.suggestions,this.loading=e.loading}),I.subscribeKey("profileName",e=>{this.profileName=e,e&&(this.error="You already own a name")}))}firstUpdated(){var e;(e=this.formRef.value)==null||e.addEventListener("keydown",this.onEnterKey.bind(this))}disconnectedCallback(){var e;super.disconnectedCallback(),this.usubscribe.forEach(t=>t()),(e=this.formRef.value)==null||e.removeEventListener("keydown",this.onEnterKey.bind(this))}render(){return l`
<wui-flex
flexDirection="column"
alignItems="center"
gap="m"
.padding=${["0","s","m","s"]}
>
<form ${G(this.formRef)} @submit=${this.onSubmitName.bind(this)}>
<wui-ens-input
@inputChange=${this.onNameInputChange.bind(this)}
.errorMessage=${this.error}
.value=${this.name}
.onKeyDown=${this.onKeyDown.bind(this)}
>
</wui-ens-input>
${this.submitButtonTemplate()}
<input type="submit" hidden />
</form>
${this.templateSuggestions()}
</wui-flex>
`}submitButtonTemplate(){const e=this.suggestions.find(n=>{var s,i;return((i=(s=n.name)==null?void 0:s.split("."))==null?void 0:i[0])===this.name&&n.registered});if(this.loading)return l`<wui-loading-spinner
class="input-loading-spinner"
color="fg-200"
></wui-loading-spinner>`;const t=`${this.name}${C.WC_NAME_SUFFIX}`;return l`
<wui-icon-link
.disabled=${e}
class="input-submit-button"
size="sm"
icon="chevronRight"
iconColor=${e?"fg-200":"accent-100"}
@click=${()=>this.onSubmitName(t)}
>
</wui-icon-link>
`}onNameInputChange(e){const t=T.validateReownName(e.detail||"");this.name=t,this.onDebouncedNameInputChange(t)}onKeyDown(e){e.key.length===1&&!T.isValidReownName(e.key)&&e.preventDefault()}nameSuggestionTagTemplate(e){return this.loading?l`<wui-loading-spinner color="fg-200"></wui-loading-spinner>`:e.registered?l`<wui-tag variant="shade" size="lg">Registered</wui-tag>`:l`<wui-tag variant="success" size="lg">Available</wui-tag>`}templateSuggestions(){return!this.name||this.name.length<4||this.error?null:l`<wui-flex flexDirection="column" gap="xxs" alignItems="center">
${this.suggestions.map(e=>l`<button
.disabled=${e.registered||this.loading}
data-testid="account-name-suggestion"
class="suggestion"
@click=${()=>this.onSubmitName(e.name)}
>
<wui-text color="fg-100" variant="paragraph-400" class="suggested-name">
${e.name}</wui-text
>${this.nameSuggestionTagTemplate(e)}
</button>`)}
</wui-flex>`}isAllowedToSubmit(e){var s;const t=(s=e.split("."))==null?void 0:s[0],n=this.suggestions.find(i=>{var o,r;return((r=(o=i.name)==null?void 0:o.split("."))==null?void 0:r[0])===t&&i.registered});return!this.loading&&!this.error&&!this.profileName&&t&&m.validateName(t)&&!n}async onSubmitName(e){try{if(!this.isAllowedToSubmit(e))return;v.sendEvent({type:"track",event:"REGISTER_NAME_INITIATED",properties:{isSmartAccount:x($.state.activeChain)===R.ACCOUNT_TYPES.SMART_ACCOUNT,ensName:e}}),await m.registerName(e),v.sendEvent({type:"track",event:"REGISTER_NAME_SUCCESS",properties:{isSmartAccount:x($.state.activeChain)===R.ACCOUNT_TYPES.SMART_ACCOUNT,ensName:e}})}catch(t){F.showError(t.message),v.sendEvent({type:"track",event:"REGISTER_NAME_ERROR",properties:{isSmartAccount:x($.state.activeChain)===R.ACCOUNT_TYPES.SMART_ACCOUNT,ensName:e,error:(t==null?void 0:t.message)||"Unknown error"}})}}onEnterKey(e){if(e.key==="Enter"&&this.name&&this.isAllowedToSubmit(this.name)){const t=`${this.name}${C.WC_NAME_SUFFIX}`;this.onSubmitName(t)}}};u.styles=X;d([h()],u.prototype,"errorMessage",void 0);d([p()],u.prototype,"name",void 0);d([p()],u.prototype,"error",void 0);d([p()],u.prototype,"loading",void 0);d([p()],u.prototype,"suggestions",void 0);d([p()],u.prototype,"profileName",void 0);u=d([w("w3m-register-account-name-view")],u);const Q=y`
.continue-button-container {
width: 100%;
}
`;var J=function(a,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(a,e,t,n);else for(var r=a.length-1;r>=0;r--)(o=a[r])&&(i=(s<3?o(i):s>3?o(e,t,i):o(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};let E=class extends g{render(){return l`
<wui-flex
flexDirection="column"
alignItems="center"
gap="xxl"
.padding=${["0","0","l","0"]}
>
${this.onboardingTemplate()} ${this.buttonsTemplate()}
<wui-link
@click=${()=>{U.openHref(V.URLS.FAQ,"_blank")}}
>
Learn more
<wui-icon color="inherit" slot="iconRight" name="externalLink"></wui-icon>
</wui-link>
</wui-flex>
`}onboardingTemplate(){return l` <wui-flex
flexDirection="column"
gap="xxl"
alignItems="center"
.padding=${["0","xxl","0","xxl"]}
>
<wui-flex gap="s" alignItems="center" justifyContent="center">
<wui-icon-box
size="xl"
iconcolor="success-100"
backgroundcolor="success-100"
icon="checkmark"
background="opaque"
></wui-icon-box>
</wui-flex>
<wui-flex flexDirection="column" alignItems="center" gap="s">
<wui-text align="center" variant="medium-600" color="fg-100">
Account name chosen successfully
</wui-text>
<wui-text align="center" variant="paragraph-400" color="fg-100">
You can now fund your account and trade crypto
</wui-text>
</wui-flex>
</wui-flex>`}buttonsTemplate(){return l`<wui-flex
.padding=${["0","2l","0","2l"]}
gap="s"
class="continue-button-container"
>
<wui-button fullWidth size="lg" borderRadius="xs" @click=${this.redirectToAccount.bind(this)}
>Let's Go!
</wui-button>
</wui-flex>`}redirectToAccount(){H.replace("Account")}};E.styles=Q;E=J([w("w3m-register-account-name-success-view")],E);export{b as W3mApproveTransactionView,E as W3mRegisterAccountNameSuccess,u as W3mRegisterAccountNameView,D as W3mUpgradeWalletView};

View File

@ -1,10 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const r=l`<svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.66686 12C9.9805 12 12.6667 9.31371 12.6667 6C12.6667 2.68629 9.9805 0 6.66686 0C3.35323 0 0.666992 2.68629 0.666992 6C0.666992 9.31371 3.35323 12 6.66686 12Z" fill="var(--wui-color-gray-glass-005)"/>
<path d="M6.6658 1.50098V4.82739L9.47712 6.08381L6.6658 1.50098Z" fill="var(--wui-color-gray-glass-060)"/>
<path d="M6.6658 1.50098L3.85449 6.08381L6.6658 4.82739V1.50098Z" fill="var(--wui-color-gray-glass-090)"/>
<path d="M6.6658 8.23909V10.4993L9.47876 6.60705L6.6658 8.23909Z" fill="var(--wui-color-gray-glass-060)"/>
<path d="M6.6658 10.4993V8.23909L3.85449 6.60705L6.6658 10.4993Z" fill="var(--wui-color-gray-glass-090)"/>
<path d="M6.6658 7.71585L9.47712 6.08381L6.6658 4.82739V7.71585Z" fill="var(--wui-color-gray-glass-020)"/>
<path d="M3.85449 6.08381L6.6658 7.71585V4.82739L3.85449 6.08381Z" fill="var(--wui-color-gray-glass-060)"/>
</svg>
`;export{r as ethereumSvg};

View File

@ -1,6 +0,0 @@
import{w as c}from"./index-B6fu-u6K.js";const a=c`<svg fill="none" viewBox="0 0 16 16">
<path
fill="currentColor"
d="M4.25 7a.63.63 0 0 0-.63.63v3.97c0 .28-.2.51-.47.54l-.75.07a.93.93 0 0 1-.9-.47A7.51 7.51 0 0 1 5.54.92a7.5 7.5 0 0 1 9.54 4.62c.12.35.06.72-.16 1-.74.97-1.68 1.78-2.6 2.44V4.44a.64.64 0 0 0-.63-.64h-1.06c-.35 0-.63.3-.63.64v5.5c0 .23-.12.42-.32.5l-.52.23V6.05c0-.36-.3-.64-.64-.64H7.45c-.35 0-.64.3-.64.64v4.97c0 .25-.17.46-.4.52a5.8 5.8 0 0 0-.45.11v-4c0-.36-.3-.65-.64-.65H4.25ZM14.07 12.4A7.49 7.49 0 0 1 3.6 14.08c4.09-.58 9.14-2.5 11.87-6.6v.03a7.56 7.56 0 0 1-1.41 4.91Z"
/>
</svg>`;export{a as etherscanSvg};

View File

@ -1,4 +0,0 @@
import{w as C}from"./index-B6fu-u6K.js";const t=C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
</svg>
`;export{t as exclamationTriangleSvg};

View File

@ -1,8 +0,0 @@
import{w as a}from"./index-B6fu-u6K.js";const e=a`<svg fill="none" viewBox="0 0 14 15">
<path
fill="currentColor"
fill-rule="evenodd"
d="M6.71 2.99a.57.57 0 0 0-.57.57 1 1 0 0 1-1 1c-.58 0-.96 0-1.24.03-.27.03-.37.07-.42.1a.97.97 0 0 0-.36.35c-.04.08-.09.21-.11.67a2.57 2.57 0 0 1 0 5.13c.02.45.07.6.11.66.09.15.21.28.36.36.07.04.21.1.67.12a2.57 2.57 0 0 1 5.12 0c.46-.03.6-.08.67-.12a.97.97 0 0 0 .36-.36c.03-.04.07-.14.1-.41.02-.29.03-.66.03-1.24a1 1 0 0 1 1-1 .57.57 0 0 0 0-1.15 1 1 0 0 1-1-1c0-.58 0-.95-.03-1.24a1.04 1.04 0 0 0-.1-.42.97.97 0 0 0-.36-.36 1.04 1.04 0 0 0-.42-.1c-.28-.02-.65-.02-1.24-.02a1 1 0 0 1-1-1 .57.57 0 0 0-.57-.57ZM5.15 13.98a1 1 0 0 0 .99-1v-.78a.57.57 0 0 1 1.14 0v.78a1 1 0 0 0 .99 1H8.36a66.26 66.26 0 0 0 .73 0 3.78 3.78 0 0 0 1.84-.38c.46-.26.85-.64 1.1-1.1.23-.4.32-.8.36-1.22.02-.2.03-.4.03-.63a2.57 2.57 0 0 0 0-4.75c0-.23-.01-.44-.03-.63a2.96 2.96 0 0 0-.35-1.22 2.97 2.97 0 0 0-1.1-1.1c-.4-.22-.8-.31-1.22-.35a8.7 8.7 0 0 0-.64-.04 2.57 2.57 0 0 0-4.74 0c-.23 0-.44.02-.63.04-.42.04-.83.13-1.22.35-.46.26-.84.64-1.1 1.1-.33.57-.37 1.2-.39 1.84a21.39 21.39 0 0 0 0 .72v.1a1 1 0 0 0 1 .99h.78a.57.57 0 0 1 0 1.15h-.77a1 1 0 0 0-1 .98v.1a63.87 63.87 0 0 0 0 .73c0 .64.05 1.27.38 1.83.26.47.64.85 1.1 1.11.56.32 1.2.37 1.84.38a20.93 20.93 0 0 0 .72 0h.1Z"
clip-rule="evenodd"
/>
</svg>`;export{e as extensionSvg};

View File

@ -1,8 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const o=l`<svg fill="none" viewBox="0 0 14 15">
<path
fill="currentColor"
fill-rule="evenodd"
d="M3.74 3.99a1 1 0 0 1 1-1H11a1 1 0 0 1 1 1v6.26a1 1 0 0 1-2 0V6.4l-6.3 6.3a1 1 0 0 1-1.4-1.42l6.29-6.3H4.74a1 1 0 0 1-1-1Z"
clip-rule="evenodd"
/>
</svg>`;export{o as externalLinkSvg};

View File

@ -1,26 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const f=l`<svg fill="none" viewBox="0 0 40 40">
<g clip-path="url(#a)">
<g clip-path="url(#b)">
<circle cx="20" cy="19.89" r="20" fill="#1877F2" />
<g clip-path="url(#c)">
<path
fill="#fff"
d="M26 12.38h-2.89c-.92 0-1.61.38-1.61 1.34v1.66H26l-.36 4.5H21.5v12H17v-12h-3v-4.5h3V12.5c0-3.03 1.6-4.62 5.2-4.62H26v4.5Z"
/>
</g>
</g>
<path
fill="#1877F2"
d="M40 20a20 20 0 1 0-23.13 19.76V25.78H11.8V20h5.07v-4.4c0-5.02 3-7.79 7.56-7.79 2.19 0 4.48.4 4.48.4v4.91h-2.53c-2.48 0-3.25 1.55-3.25 3.13V20h5.54l-.88 5.78h-4.66v13.98A20 20 0 0 0 40 20Z"
/>
<path
fill="#fff"
d="m27.79 25.78.88-5.78h-5.55v-3.75c0-1.58.78-3.13 3.26-3.13h2.53V8.2s-2.3-.39-4.48-.39c-4.57 0-7.55 2.77-7.55 7.78V20H11.8v5.78h5.07v13.98a20.15 20.15 0 0 0 6.25 0V25.78h4.67Z"
/>
</g>
<defs>
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
</defs>
</svg>`;export{f as facebookSvg};

View File

@ -1,12 +0,0 @@
import{w as h}from"./index-B6fu-u6K.js";const a=h`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
<rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
<path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
<path
fill="#fff"
d="M320 248h354v504h-51.96V521.13h-.5c-5.76-63.8-59.31-113.81-124.54-113.81s-118.78 50-124.53 113.81h-.5V752H320V248Z"
/>
<path
fill="#fff"
d="m225 320 21.16 71.46h17.9v289.09a16.29 16.29 0 0 0-16.28 16.24v19.49h-3.25a16.3 16.3 0 0 0-16.28 16.24V752h182.26v-19.48a16.22 16.22 0 0 0-16.28-16.24h-3.25v-19.5a16.22 16.22 0 0 0-16.28-16.23h-19.52V320H225Zm400.3 360.55a16.3 16.3 0 0 0-15.04 10.02 16.2 16.2 0 0 0-1.24 6.22v19.49h-3.25a16.29 16.29 0 0 0-16.27 16.24V752h182.24v-19.48a16.23 16.23 0 0 0-16.27-16.24h-3.25v-19.5a16.2 16.2 0 0 0-10.04-15 16.3 16.3 0 0 0-6.23-1.23v-289.1h17.9L775 320H644.82v360.55H625.3Z"
/>
</svg>`;export{a as farcasterSvg};

View File

@ -1,5 +0,0 @@
import{f,ap as w,F as g,aq as A,d as y,D as u,B as N,k as p,ad as m}from"./index-B6fu-u6K.js";class I{constructor(e){this.getNonce=e.getNonce}async createMessage(e){const t={accountAddress:e.accountAddress,chainId:e.chainId,version:"1",domain:typeof document>"u"?"Unknown Domain":document.location.host,uri:typeof document>"u"?"Unknown URI":document.location.href,resources:this.resources,nonce:await this.getNonce(e),issuedAt:this.stringifyDate(new Date),statement:void 0,expirationTime:void 0,notBefore:void 0};return Object.assign(t,{toString:()=>this.stringify(t)})}stringify(e){var s;const t=this.getNetworkName(e.chainId);return[`${e.domain} wants you to sign in with your ${t} account:`,e.accountAddress,e.statement?`
${e.statement}
`:"",`URI: ${e.uri}`,`Version: ${e.version}`,`Chain ID: ${e.chainId}`,`Nonce: ${e.nonce}`,e.issuedAt&&`Issued At: ${e.issuedAt}`,e.expirationTime&&`Expiration Time: ${e.expirationTime}`,e.notBefore&&`Not Before: ${e.notBefore}`,e.requestId&&`Request ID: ${e.requestId}`,((s=e.resources)==null?void 0:s.length)&&e.resources.reduce((n,o)=>`${n}
- ${o}`,"Resources:")].filter(n=>typeof n=="string").join(`
`).trim()}getNetworkName(e){const t=f.getAllRequestedCaipNetworks();return w.getNetworkNameByCaipNetworkId(t,e)}stringifyDate(e){return e.toISOString()}}class C{constructor(e={}){this.otpUuid=null,this.listeners={sessionChanged:[]},this.localAuthStorageKey=e.localAuthStorageKey||g.SIWX_AUTH_TOKEN,this.localNonceStorageKey=e.localNonceStorageKey||g.SIWX_NONCE_TOKEN,this.required=e.required??!0,this.messenger=new I({getNonce:this.getNonce.bind(this)})}async createMessage(e){return this.messenger.createMessage(e)}async addSession(e){const t=await this.request({method:"POST",key:"authenticate",body:{data:e.data,message:e.message,signature:e.signature,clientId:this.getClientId(),walletInfo:this.getWalletInfo()},headers:["nonce","otp"]});this.setStorageToken(t.token,this.localAuthStorageKey),this.emit("sessionChanged",e),this.setAppKitAccountUser(T(t.token)),this.otpUuid=null}async getSessions(e,t){try{if(!this.getStorageToken(this.localAuthStorageKey))return[];const s=await this.request({method:"GET",key:"me",query:{},headers:["auth"]});if(!s)return[];const n=s.address.toLowerCase()===t.toLowerCase(),o=s.caip2Network===e;if(!n||!o)return[];const r={data:{accountAddress:s.address,chainId:s.caip2Network},message:"",signature:""};return this.emit("sessionChanged",r),this.setAppKitAccountUser(s),[r]}catch{return[]}}async revokeSession(e,t){return Promise.resolve(this.clearStorageTokens())}async setSessions(e){if(e.length===0)this.clearStorageTokens();else{const t=e.find(s=>{var n;return s.data.chainId===((n=A())==null?void 0:n.caipNetworkId)})||e[0];await this.addSession(t)}}getRequired(){return this.required}async getSessionAccount(){if(!this.getStorageToken(this.localAuthStorageKey))throw new Error("Not authenticated");return this.request({method:"GET",key:"me",body:void 0,query:{includeAppKitAccount:!0},headers:["auth"]})}async setSessionAccountMetadata(e=null){if(!this.getStorageToken(this.localAuthStorageKey))throw new Error("Not authenticated");return this.request({method:"PUT",key:"account-metadata",body:{metadata:e},headers:["auth"]})}on(e,t){return this.listeners[e].push(t),()=>{this.listeners[e]=this.listeners[e].filter(s=>s!==t)}}removeAllListeners(){Object.keys(this.listeners).forEach(t=>{this.listeners[t]=[]})}async requestEmailOtp({email:e,account:t}){const s=await this.request({method:"POST",key:"otp",body:{email:e,account:t}});return this.otpUuid=s.uuid,this.messenger.resources=[`email:${e}`],s}confirmEmailOtp({code:e}){return this.request({method:"PUT",key:"otp",body:{code:e},headers:["otp"]})}async request({method:e,key:t,query:s,body:n,headers:o}){var l;const{projectId:r,st:k,sv:S}=this.getSDKProperties(),a=new URL(`${y.W3M_API_URL}/auth/v1/${String(t)}`);a.searchParams.set("projectId",r),a.searchParams.set("st",k),a.searchParams.set("sv",S),s&&Object.entries(s).forEach(([i,h])=>a.searchParams.set(i,String(h)));const c=await fetch(a,{method:e,body:n?JSON.stringify(n):void 0,headers:Array.isArray(o)?o.reduce((i,h)=>{switch(h){case"nonce":i["x-nonce-jwt"]=`Bearer ${this.getStorageToken(this.localNonceStorageKey)}`;break;case"auth":i.Authorization=`Bearer ${this.getStorageToken(this.localAuthStorageKey)}`;break;case"otp":this.otpUuid&&(i["x-otp"]=this.otpUuid);break}return i},{}):void 0});if(!c.ok)throw new Error(await c.text());return(l=c.headers.get("content-type"))!=null&&l.includes("application/json")?c.json():null}getStorageToken(e){return u.getItem(e)}setStorageToken(e,t){u.setItem(t,e)}clearStorageTokens(){this.otpUuid=null,u.removeItem(this.localAuthStorageKey),u.removeItem(this.localNonceStorageKey),this.emit("sessionChanged",void 0)}async getNonce(){const{nonce:e,token:t}=await this.request({method:"GET",key:"nonce"});return this.setStorageToken(t,this.localNonceStorageKey),e}getClientId(){return N.state.clientId}getWalletInfo(){const{connectedWalletInfo:e}=p.state;if(!e)return;if("social"in e){const o=e.social,r=e.identifier;return{type:"social",social:o,identifier:r}}const{name:t,icon:s}=e;let n="unknown";switch(e.type){case"EXTERNAL":case"INJECTED":case"ANNOUNCED":n="extension";break;case"WALLET_CONNECT":n="walletconnect";break;default:n="unknown"}return{type:n,name:t,icon:s}}getSDKProperties(){return m._getSdkProperties()}emit(e,t){this.listeners[e].forEach(s=>s(t))}setAppKitAccountUser(e){const{email:t}=e;t&&Object.values(y.CHAIN).forEach(s=>{f.setAccountProp("user",{email:t},s)})}}function T(d){const e=d.split(".");if(e.length!==3)throw new Error("Invalid token");const t=e[1];if(typeof t!="string")throw new Error("Invalid token");const s=t.replace(/-/gu,"+").replace(/_/gu,"/"),n=s.padEnd(s.length+(4-s.length%4)%4,"=");return JSON.parse(atob(n))}export{C as ReownAuthentication,I as ReownAuthenticationMessenger};

View File

@ -1,8 +0,0 @@
import{w as e}from"./index-B6fu-u6K.js";const a=e`<svg fill="none" viewBox="0 0 16 16">
<path
fill="currentColor"
fill-rule="evenodd"
d="M0 3a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1Zm2.63 5.25a1 1 0 0 1 1-1h8.75a1 1 0 1 1 0 2H3.63a1 1 0 0 1-1-1Zm2.62 5.25a1 1 0 0 1 1-1h3.5a1 1 0 0 1 0 2h-3.5a1 1 0 0 1-1-1Z"
clip-rule="evenodd"
/>
</svg>`;export{a as filtersSvg};

View File

@ -1,18 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const c=l`<svg fill="none" viewBox="0 0 40 40">
<g clip-path="url(#a)">
<g clip-path="url(#b)">
<circle cx="20" cy="19.89" r="20" fill="#1B1F23" />
<g clip-path="url(#c)">
<path
fill="#fff"
d="M8 19.89a12 12 0 1 1 15.8 11.38c-.6.12-.8-.26-.8-.57v-3.3c0-1.12-.4-1.85-.82-2.22 2.67-.3 5.48-1.31 5.48-5.92 0-1.31-.47-2.38-1.24-3.22.13-.3.54-1.52-.12-3.18 0 0-1-.32-3.3 1.23a11.54 11.54 0 0 0-6 0c-2.3-1.55-3.3-1.23-3.3-1.23a4.32 4.32 0 0 0-.12 3.18 4.64 4.64 0 0 0-1.24 3.22c0 4.6 2.8 5.63 5.47 5.93-.34.3-.65.83-.76 1.6-.69.31-2.42.84-3.5-1 0 0-.63-1.15-1.83-1.23 0 0-1.18-.02-.09.73 0 0 .8.37 1.34 1.76 0 0 .7 2.14 4.03 1.41v2.24c0 .31-.2.68-.8.57A12 12 0 0 1 8 19.9Z"
/>
</g>
</g>
</g>
<defs>
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
</defs>
</svg>`;export{c as githubSvg};

View File

@ -1,18 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const o=l`<svg fill="none" viewBox="0 0 40 40">
<path
fill="#4285F4"
d="M32.74 20.3c0-.93-.08-1.81-.24-2.66H20.26v5.03h7a6 6 0 0 1-2.62 3.91v3.28h4.22c2.46-2.27 3.88-5.6 3.88-9.56Z"
/>
<path
fill="#34A853"
d="M20.26 33a12.4 12.4 0 0 0 8.6-3.14l-4.22-3.28a7.74 7.74 0 0 1-4.38 1.26 7.76 7.76 0 0 1-7.28-5.36H8.65v3.36A12.99 12.99 0 0 0 20.26 33Z"
/>
<path
fill="#FBBC05"
d="M12.98 22.47a7.79 7.79 0 0 1 0-4.94v-3.36H8.65a12.84 12.84 0 0 0 0 11.66l3.37-2.63.96-.73Z"
/>
<path
fill="#EA4335"
d="M20.26 12.18a7.1 7.1 0 0 1 4.98 1.93l3.72-3.72A12.47 12.47 0 0 0 20.26 7c-5.08 0-9.47 2.92-11.6 7.17l4.32 3.36a7.76 7.76 0 0 1 7.28-5.35Z"
/>
</svg>`;export{o as googleSvg};

View File

@ -1,12 +0,0 @@
import{w as l}from"./index-B6fu-u6K.js";const o=l`<svg fill="none" viewBox="0 0 16 16">
<path
fill="currentColor"
d="M8.51 5.66a.83.83 0 0 0-.57-.2.83.83 0 0 0-.52.28.8.8 0 0 0-.25.52 1 1 0 0 1-2 0c0-.75.34-1.43.81-1.91a2.75 2.75 0 0 1 4.78 1.92c0 1.24-.8 1.86-1.25 2.2l-.04.03c-.47.36-.5.43-.5.65a1 1 0 1 1-2 0c0-1.25.8-1.86 1.24-2.2l.04-.04c.47-.36.5-.43.5-.65 0-.3-.1-.49-.24-.6ZM9.12 11.87a1.13 1.13 0 1 1-2.25 0 1.13 1.13 0 0 1 2.25 0Z"
/>
<path
fill="currentColor"
fill-rule="evenodd"
d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"
clip-rule="evenodd"
/>
</svg>`;export{o as helpCircleSvg};

View File

@ -1,12 +0,0 @@
import{w as c}from"./index-B6fu-u6K.js";const e=c`<svg
xmlns="http://www.w3.org/2000/svg"
width="28"
height="28"
viewBox="0 0 28 28"
fill="none">
<path
fill="currentColor"
fill-rule="evenodd"
d="M7.974 2.975h12.052c1.248 0 2.296 0 3.143.092.89.096 1.723.307 2.461.844a4.9 4.9 0 0 1 1.084 1.084c.537.738.748 1.57.844 2.461.092.847.092 1.895.092 3.143v6.802c0 1.248 0 2.296-.092 3.143-.096.89-.307 1.723-.844 2.461a4.9 4.9 0 0 1-1.084 1.084c-.738.537-1.57.748-2.461.844-.847.092-1.895.092-3.143.092H7.974c-1.247 0-2.296 0-3.143-.092-.89-.096-1.723-.307-2.461-.844a4.901 4.901 0 0 1-1.084-1.084c-.537-.738-.748-1.571-.844-2.461C.35 19.697.35 18.649.35 17.4v-6.802c0-1.248 0-2.296.092-3.143.096-.89.307-1.723.844-2.461A4.9 4.9 0 0 1 2.37 3.91c.738-.537 1.571-.748 2.461-.844.847-.092 1.895-.092 3.143-.092ZM5.133 5.85c-.652.071-.936.194-1.117.326a2.1 2.1 0 0 0-.465.465c-.132.181-.255.465-.325 1.117-.074.678-.076 1.573-.076 2.917v6.65c0 1.344.002 2.239.076 2.917.07.652.193.936.325 1.117a2.1 2.1 0 0 0 .465.465c.181.132.465.255 1.117.326.678.073 1.574.075 2.917.075h11.9c1.344 0 2.239-.002 2.917-.075.652-.071.936-.194 1.117-.326.179-.13.335-.286.465-.465.132-.181.255-.465.326-1.117.073-.678.075-1.573.075-2.917v-6.65c0-1.344-.002-2.239-.075-2.917-.071-.652-.194-.936-.326-1.117a2.1 2.1 0 0 0-.465-.465c-.181-.132-.465-.255-1.117-.326-.678-.073-1.573-.075-2.917-.075H8.05c-1.343 0-2.239.002-2.917.075Zm.467 7.275a3.15 3.15 0 1 1 6.3 0 3.15 3.15 0 0 1-6.3 0Zm8.75-1.75a1.4 1.4 0 0 1 1.4-1.4h3.5a1.4 1.4 0 0 1 0 2.8h-3.5a1.4 1.4 0 0 1-1.4-1.4Zm0 5.25a1.4 1.4 0 0 1 1.4-1.4H21a1.4 1.4 0 1 1 0 2.8h-5.25a1.4 1.4 0 0 1-1.4-1.4Z"
clip-rule="evenodd"/>
</svg>`;export{e as idSvg};

View File

@ -1,191 +0,0 @@
import{a6 as x,a7 as S,G as C,i as m,r as v,a as y,b as $,A as z}from"./index-B6fu-u6K.js";const p={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:r}){return t.length<=e+i?t:r==="end"?`${t.substring(0,e)}...`:r==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),r=this.hexToRgb(i),o=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),s=100-3*Number(o==null?void 0:o.replace("px","")),a=`${s}% ${s}% at 65% 40%`,f=[];for(let h=0;h<5;h+=1){const w=this.tintColor(r,.15*h);f.push(`rgb(${w[0]}, ${w[1]}, ${w[2]})`)}return`
--local-color-1: ${f[0]};
--local-color-2: ${f[1]};
--local-color-3: ${f[2]};
--local-color-4: ${f[3]};
--local-color-5: ${f[4]};
--local-radial-circle: ${a}
`},hexToRgb(t){const e=parseInt(t,16),i=e>>16&255,r=e>>8&255,o=e&255;return[i,r,o]},tintColor(t,e){const[i,r,o]=t,n=Math.round(i+(255-i)*e),s=Math.round(r+(255-r)*e),a=Math.round(o+(255-o)*e);return[n,s,a]},isNumber(t){return{number:/^[0-9]+$/u}.number.test(t)},getColorTheme(t){var e;return t||(typeof window<"u"&&window.matchMedia&&typeof window.matchMedia=="function"?(e=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&e.matches?"dark":"light":"dark")},splitBalance(t){const e=t.split(".");return e.length===2?[e[0],e[1]]:["0","00"]},roundNumber(t,e,i){return t.toString().length>=e?Number(t).toFixed(i):t}};function T(t,e){const{kind:i,elements:r}=e;return{kind:i,elements:r,finisher(o){customElements.get(t)||customElements.define(t,o)}}}function _(t,e){return customElements.get(t)||customElements.define(t,e),e}function b(t){return function(i){return typeof i=="function"?_(t,i):T(t,i)}}/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const j={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:x},M=(t=j,e,i)=>{const{kind:r,metadata:o}=i;let n=globalThis.litPropertyMetadata.get(o);if(n===void 0&&globalThis.litPropertyMetadata.set(o,n=new Map),r==="setter"&&((t=Object.create(t)).wrapped=!0),n.set(i.name,t),r==="accessor"){const{name:s}=i;return{set(a){const f=e.get.call(this);e.set.call(this,a),this.requestUpdate(s,f,t,!0,a)},init(a){return a!==void 0&&this.C(s,void 0,t,a),a}}}if(r==="setter"){const{name:s}=i;return function(a){const f=this[s];e.call(this,a),this.requestUpdate(s,f,t,!0,a)}}throw Error("Unsupported decorator location: "+r)};function l(t){return(e,i)=>typeof i=="object"?M(t,e,i):((r,o,n)=>{const s=o.hasOwnProperty(n);return o.constructor.createProperty(n,r),s?Object.getOwnPropertyDescriptor(o,n):void 0})(t,e,i)}/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/function k(t){return l({...t,state:!0,attribute:!1})}/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const U={ATTRIBUTE:1,CHILD:2},A=t=>(...e)=>({_$litDirective$:t,values:e});class E{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,i,r){this._$Ct=e,this._$AM=i,this._$Ci=r}_$AS(e,i){return this.update(e,i)}update(e,i){return this.render(...i)}}/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const R=A(class extends E{constructor(t){var e;if(super(t),t.type!==U.ATTRIBUTE||t.name!=="class"||((e=t.strings)==null?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){var r,o;if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(const n in e)e[n]&&!((r=this.nt)!=null&&r.has(n))&&this.st.add(n);return this.render(e)}const i=t.element.classList;for(const n of this.st)n in e||(i.remove(n),this.st.delete(n));for(const n in e){const s=!!e[n];s===this.st.has(n)||(o=this.nt)!=null&&o.has(n)||(s?(i.add(n),this.st.add(n)):(i.remove(n),this.st.delete(n)))}return C}}),G=m`
:host {
display: inline-flex !important;
}
slot {
width: 100%;
display: inline-block;
font-style: normal;
font-family: var(--wui-font-family);
font-feature-settings:
'tnum' on,
'lnum' on,
'case' on;
line-height: 130%;
font-weight: var(--wui-font-weight-regular);
overflow: inherit;
text-overflow: inherit;
text-align: var(--local-align);
color: var(--local-color);
}
.wui-line-clamp-1 {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.wui-line-clamp-2 {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.wui-font-medium-400 {
font-size: var(--wui-font-size-medium);
font-weight: var(--wui-font-weight-light);
letter-spacing: var(--wui-letter-spacing-medium);
}
.wui-font-medium-600 {
font-size: var(--wui-font-size-medium);
letter-spacing: var(--wui-letter-spacing-medium);
}
.wui-font-title-600 {
font-size: var(--wui-font-size-title);
letter-spacing: var(--wui-letter-spacing-title);
}
.wui-font-title-6-600 {
font-size: var(--wui-font-size-title-6);
letter-spacing: var(--wui-letter-spacing-title-6);
}
.wui-font-mini-700 {
font-size: var(--wui-font-size-mini);
letter-spacing: var(--wui-letter-spacing-mini);
text-transform: uppercase;
}
.wui-font-large-500,
.wui-font-large-600,
.wui-font-large-700 {
font-size: var(--wui-font-size-large);
letter-spacing: var(--wui-letter-spacing-large);
}
.wui-font-2xl-500,
.wui-font-2xl-600,
.wui-font-2xl-700 {
font-size: var(--wui-font-size-2xl);
letter-spacing: var(--wui-letter-spacing-2xl);
}
.wui-font-paragraph-400,
.wui-font-paragraph-500,
.wui-font-paragraph-600,
.wui-font-paragraph-700 {
font-size: var(--wui-font-size-paragraph);
letter-spacing: var(--wui-letter-spacing-paragraph);
}
.wui-font-small-400,
.wui-font-small-500,
.wui-font-small-600 {
font-size: var(--wui-font-size-small);
letter-spacing: var(--wui-letter-spacing-small);
}
.wui-font-tiny-400,
.wui-font-tiny-500,
.wui-font-tiny-600 {
font-size: var(--wui-font-size-tiny);
letter-spacing: var(--wui-letter-spacing-tiny);
}
.wui-font-micro-700,
.wui-font-micro-600,
.wui-font-micro-500 {
font-size: var(--wui-font-size-micro);
letter-spacing: var(--wui-letter-spacing-micro);
text-transform: uppercase;
}
.wui-font-tiny-400,
.wui-font-small-400,
.wui-font-medium-400,
.wui-font-paragraph-400 {
font-weight: var(--wui-font-weight-light);
}
.wui-font-large-700,
.wui-font-paragraph-700,
.wui-font-micro-700,
.wui-font-mini-700 {
font-weight: var(--wui-font-weight-bold);
}
.wui-font-medium-600,
.wui-font-medium-title-600,
.wui-font-title-6-600,
.wui-font-large-600,
.wui-font-paragraph-600,
.wui-font-small-600,
.wui-font-tiny-600,
.wui-font-micro-600 {
font-weight: var(--wui-font-weight-medium);
}
:host([disabled]) {
opacity: 0.4;
}
`;var g=function(t,e,i,r){var o=arguments.length,n=o<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(o<3?s(n):o>3?s(e,i,n):s(e,i))||n);return o>3&&n&&Object.defineProperty(e,i,n),n};let d=class extends y{constructor(){super(...arguments),this.variant="paragraph-500",this.color="fg-300",this.align="left",this.lineClamp=void 0}render(){const e={[`wui-font-${this.variant}`]:!0,[`wui-color-${this.color}`]:!0,[`wui-line-clamp-${this.lineClamp}`]:!!this.lineClamp};return this.style.cssText=`
--local-align: ${this.align};
--local-color: var(--wui-color-${this.color});
`,$`<slot class=${R(e)}></slot>`}};d.styles=[v,G];g([l()],d.prototype,"variant",void 0);g([l()],d.prototype,"color",void 0);g([l()],d.prototype,"align",void 0);g([l()],d.prototype,"lineClamp",void 0);d=g([b("wui-text")],d);const P=m`
:host {
display: flex;
width: inherit;
height: inherit;
}
`;var c=function(t,e,i,r){var o=arguments.length,n=o<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(o<3?s(n):o>3?s(e,i,n):s(e,i))||n);return o>3&&n&&Object.defineProperty(e,i,n),n};let u=class extends y{render(){return this.style.cssText=`
flex-direction: ${this.flexDirection};
flex-wrap: ${this.flexWrap};
flex-basis: ${this.flexBasis};
flex-grow: ${this.flexGrow};
flex-shrink: ${this.flexShrink};
align-items: ${this.alignItems};
justify-content: ${this.justifyContent};
column-gap: ${this.columnGap&&`var(--wui-spacing-${this.columnGap})`};
row-gap: ${this.rowGap&&`var(--wui-spacing-${this.rowGap})`};
gap: ${this.gap&&`var(--wui-spacing-${this.gap})`};
padding-top: ${this.padding&&p.getSpacingStyles(this.padding,0)};
padding-right: ${this.padding&&p.getSpacingStyles(this.padding,1)};
padding-bottom: ${this.padding&&p.getSpacingStyles(this.padding,2)};
padding-left: ${this.padding&&p.getSpacingStyles(this.padding,3)};
margin-top: ${this.margin&&p.getSpacingStyles(this.margin,0)};
margin-right: ${this.margin&&p.getSpacingStyles(this.margin,1)};
margin-bottom: ${this.margin&&p.getSpacingStyles(this.margin,2)};
margin-left: ${this.margin&&p.getSpacingStyles(this.margin,3)};
`,$`<slot></slot>`}};u.styles=[v,P];c([l()],u.prototype,"flexDirection",void 0);c([l()],u.prototype,"flexWrap",void 0);c([l()],u.prototype,"flexBasis",void 0);c([l()],u.prototype,"flexGrow",void 0);c([l()],u.prototype,"flexShrink",void 0);c([l()],u.prototype,"alignItems",void 0);c([l()],u.prototype,"justifyContent",void 0);c([l()],u.prototype,"columnGap",void 0);c([l()],u.prototype,"rowGap",void 0);c([l()],u.prototype,"gap",void 0);c([l()],u.prototype,"padding",void 0);c([l()],u.prototype,"margin",void 0);u=c([b("wui-flex")],u);/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const W=t=>t??z;export{p as U,R as a,b as c,A as e,E as i,l as n,W as o,k as r,U as t};

View File

@ -1,4 +0,0 @@
import{w as C}from"./index-B6fu-u6K.js";const l=C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
<path d="M4.98926 3.73932C4.2989 3.73932 3.73926 4.29896 3.73926 4.98932C3.73926 5.67968 4.2989 6.23932 4.98926 6.23932C5.67962 6.23932 6.23926 5.67968 6.23926 4.98932C6.23926 4.29896 5.67962 3.73932 4.98926 3.73932Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.60497 0.500001H6.39504C5.41068 0.499977 4.59185 0.499958 3.93178 0.571471C3.24075 0.64634 2.60613 0.809093 2.04581 1.21619C1.72745 1.44749 1.44749 1.72745 1.21619 2.04581C0.809093 2.60613 0.64634 3.24075 0.571471 3.93178C0.499958 4.59185 0.499977 5.41065 0.500001 6.39501V7.57815C0.499998 8.37476 0.499995 9.05726 0.534869 9.62725C0.570123 10.2034 0.644114 10.7419 0.828442 11.2302C0.925651 11.4877 1.05235 11.7287 1.21619 11.9542C1.44749 12.2726 1.72745 12.5525 2.04581 12.7838C2.60613 13.1909 3.24075 13.3537 3.93178 13.4285C4.59185 13.5001 5.41066 13.5 6.39503 13.5H7.60496C8.58933 13.5 9.40815 13.5001 10.0682 13.4285C10.7593 13.3537 11.3939 13.1909 11.9542 12.7838C12.2726 12.5525 12.5525 12.2726 12.7838 11.9542C13.1909 11.3939 13.3537 10.7593 13.4285 10.0682C13.5 9.40816 13.5 8.58935 13.5 7.60497V6.39505C13.5 5.41068 13.5 4.59185 13.4285 3.93178C13.3537 3.24075 13.1909 2.60613 12.7838 2.04581C12.5525 1.72745 12.2726 1.44749 11.9542 1.21619C11.3939 0.809093 10.7593 0.64634 10.0682 0.571471C9.40816 0.499958 8.58933 0.499977 7.60497 0.500001ZM3.22138 2.83422C3.38394 2.71612 3.62634 2.61627 4.14721 2.55984C4.68679 2.50138 5.39655 2.5 6.45 2.5H7.55C8.60345 2.5 9.31322 2.50138 9.8528 2.55984C10.3737 2.61627 10.6161 2.71612 10.7786 2.83422C10.9272 2.94216 11.0578 3.07281 11.1658 3.22138C11.2839 3.38394 11.3837 3.62634 11.4402 4.14721C11.4986 4.68679 11.5 5.39655 11.5 6.45V6.49703C10.9674 6.11617 10.386 5.84936 9.74213 5.81948C8.40536 5.75745 7.3556 6.73051 6.40509 7.84229C6.33236 7.92737 6.27406 7.98735 6.22971 8.02911L6.1919 8.00514L6.17483 7.99427C6.09523 7.94353 5.98115 7.87083 5.85596 7.80302C5.56887 7.64752 5.18012 7.4921 4.68105 7.4921C4.66697 7.4921 4.6529 7.49239 4.63884 7.49299C3.79163 7.52878 3.09922 8.1106 2.62901 8.55472C2.58751 8.59392 2.54594 8.6339 2.50435 8.6745C2.50011 8.34653 2.5 7.97569 2.5 7.55V6.45C2.5 5.39655 2.50138 4.68679 2.55984 4.14721C2.61627 3.62634 2.71612 3.38394 2.83422 3.22138C2.94216 3.07281 3.07281 2.94216 3.22138 2.83422ZM10.3703 8.14825C10.6798 8.37526 11.043 8.71839 11.4832 9.20889C11.4744 9.44992 11.4608 9.662 11.4402 9.8528C11.3837 10.3737 11.2839 10.6161 11.1658 10.7786C11.0578 10.9272 10.9272 11.0578 10.7786 11.1658C10.6161 11.2839 10.3737 11.3837 9.8528 11.4402C9.31322 11.4986 8.60345 11.5 7.55 11.5H6.45C5.39655 11.5 4.68679 11.4986 4.14721 11.4402C3.62634 11.3837 3.38394 11.2839 3.22138 11.1658C3.15484 11.1174 3.0919 11.0645 3.03298 11.0075C3.10126 10.9356 3.16806 10.8649 3.23317 10.7959L3.29772 10.7276C3.55763 10.4525 3.78639 10.2126 4.00232 10.0087C4.22016 9.80294 4.39412 9.66364 4.53524 9.57742C4.63352 9.51738 4.69022 9.49897 4.71275 9.49345C4.76387 9.49804 4.81803 9.51537 4.90343 9.56162C4.96409 9.59447 5.02355 9.63225 5.11802 9.69238L5.12363 9.69595C5.20522 9.74789 5.32771 9.82587 5.46078 9.89278C5.76529 10.0459 6.21427 10.186 6.74977 10.0158C7.21485 9.86796 7.59367 9.52979 7.92525 9.14195C8.91377 7.98571 9.38267 7.80495 9.64941 7.81733C9.7858 7.82366 10.0101 7.884 10.3703 8.14825Z" fill="currentColor"/>
</svg>`;export{l as imageSvg};

File diff suppressed because one or more lines are too long

View File

@ -1,116 +0,0 @@
import{i as h,r as p,e as f,a as g,N as w,b as m}from"./index-B6fu-u6K.js";import{n as t,c as x,U as b}from"./if-defined-D6swbWyQ.js";import"./index-CuJMoJHR.js";import"./index-DUZ-8KUm.js";const y=h`
button {
padding: 6.5px var(--wui-spacing-l) 6.5px var(--wui-spacing-xs);
display: flex;
justify-content: space-between;
width: 100%;
border-radius: var(--wui-border-radius-xs);
background-color: var(--wui-color-gray-glass-002);
}
button[data-clickable='false'] {
pointer-events: none;
background-color: transparent;
}
wui-image,
wui-icon {
width: var(--wui-spacing-3xl);
height: var(--wui-spacing-3xl);
}
wui-image {
border-radius: var(--wui-border-radius-3xl);
}
`;var u=function(a,o,r,i){var l=arguments.length,e=l<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(a,o,r,i);else for(var s=a.length-1;s>=0;s--)(c=a[s])&&(e=(l<3?c(e):l>3?c(o,r,e):c(o,r))||e);return l>3&&e&&Object.defineProperty(o,r,e),e};let n=class extends g{constructor(){super(...arguments),this.tokenName="",this.tokenImageUrl="",this.tokenValue=0,this.tokenAmount="0.0",this.tokenCurrency="",this.clickable=!1}render(){return m`
<button data-clickable=${String(this.clickable)}>
<wui-flex gap="s" alignItems="center">
${this.visualTemplate()}
<wui-flex flexDirection="column" justifyContent="spaceBetween">
<wui-text variant="paragraph-500" color="fg-100">${this.tokenName}</wui-text>
<wui-text variant="small-400" color="fg-200">
${w.formatNumberToLocalString(this.tokenAmount,4)} ${this.tokenCurrency}
</wui-text>
</wui-flex>
</wui-flex>
<wui-text variant="paragraph-500" color="fg-100">$${this.tokenValue.toFixed(2)}</wui-text>
</button>
`}visualTemplate(){return this.tokenName&&this.tokenImageUrl?m`<wui-image alt=${this.tokenName} src=${this.tokenImageUrl}></wui-image>`:m`<wui-icon name="coinPlaceholder" color="fg-100"></wui-icon>`}};n.styles=[p,f,y];u([t()],n.prototype,"tokenName",void 0);u([t()],n.prototype,"tokenImageUrl",void 0);u([t({type:Number})],n.prototype,"tokenValue",void 0);u([t()],n.prototype,"tokenAmount",void 0);u([t()],n.prototype,"tokenCurrency",void 0);u([t({type:Boolean})],n.prototype,"clickable",void 0);n=u([x("wui-list-token")],n);const k=h`
:host {
display: block;
width: var(--local-width);
height: var(--local-height);
border-radius: var(--wui-border-radius-3xl);
box-shadow: 0 0 0 8px var(--wui-color-gray-glass-005);
overflow: hidden;
position: relative;
}
:host([data-variant='generated']) {
--mixed-local-color-1: var(--local-color-1);
--mixed-local-color-2: var(--local-color-2);
--mixed-local-color-3: var(--local-color-3);
--mixed-local-color-4: var(--local-color-4);
--mixed-local-color-5: var(--local-color-5);
}
@supports (background: color-mix(in srgb, white 50%, black)) {
:host([data-variant='generated']) {
--mixed-local-color-1: color-mix(
in srgb,
var(--w3m-color-mix) var(--w3m-color-mix-strength),
var(--local-color-1)
);
--mixed-local-color-2: color-mix(
in srgb,
var(--w3m-color-mix) var(--w3m-color-mix-strength),
var(--local-color-2)
);
--mixed-local-color-3: color-mix(
in srgb,
var(--w3m-color-mix) var(--w3m-color-mix-strength),
var(--local-color-3)
);
--mixed-local-color-4: color-mix(
in srgb,
var(--w3m-color-mix) var(--w3m-color-mix-strength),
var(--local-color-4)
);
--mixed-local-color-5: color-mix(
in srgb,
var(--w3m-color-mix) var(--w3m-color-mix-strength),
var(--local-color-5)
);
}
}
:host([data-variant='generated']) {
box-shadow: 0 0 0 8px var(--wui-color-gray-glass-005);
background: radial-gradient(
var(--local-radial-circle),
#fff 0.52%,
var(--mixed-local-color-5) 31.25%,
var(--mixed-local-color-3) 51.56%,
var(--mixed-local-color-2) 65.63%,
var(--mixed-local-color-1) 82.29%,
var(--mixed-local-color-4) 100%
);
}
:host([data-variant='default']) {
box-shadow: 0 0 0 8px var(--wui-color-gray-glass-005);
background: radial-gradient(
75.29% 75.29% at 64.96% 24.36%,
#fff 0.52%,
#f5ccfc 31.25%,
#dba4f5 51.56%,
#9a8ee8 65.63%,
#6493da 82.29%,
#6ebdea 100%
);
}
`;var v=function(a,o,r,i){var l=arguments.length,e=l<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(a,o,r,i);else for(var s=a.length-1;s>=0;s--)(c=a[s])&&(e=(l<3?c(e):l>3?c(o,r,e):c(o,r))||e);return l>3&&e&&Object.defineProperty(o,r,e),e};let d=class extends g{constructor(){super(...arguments),this.imageSrc=void 0,this.alt=void 0,this.address=void 0,this.size="xl"}render(){return this.style.cssText=`
--local-width: var(--wui-icon-box-size-${this.size});
--local-height: var(--wui-icon-box-size-${this.size});
`,m`${this.visualTemplate()}`}visualTemplate(){if(this.imageSrc)return this.dataset.variant="image",m`<wui-image src=${this.imageSrc} alt=${this.alt??"avatar"}></wui-image>`;if(this.address){this.dataset.variant="generated";const o=b.generateAvatarColors(this.address);return this.style.cssText+=`
${o}`,null}return this.dataset.variant="default",null}};d.styles=[p,k];v([t()],d.prototype,"imageSrc",void 0);v([t()],d.prototype,"alt",void 0);v([t()],d.prototype,"address",void 0);v([t()],d.prototype,"size",void 0);d=v([x("wui-avatar")],d);

File diff suppressed because one or more lines are too long

View File

@ -1,157 +0,0 @@
import{s as $,q as _,t as R,i as f,r as m,a as b,b as l,O as a,e as O}from"./index-B6fu-u6K.js";import{n as j,c as w,o as P,r as y}from"./if-defined-D6swbWyQ.js";import{e as T,n as U}from"./ref-CNdtRDdT.js";import"./index-CuJMoJHR.js";import{R as B}from"./ConstantsUtil-Dmg8YACJ.js";const u=R({isLegalCheckboxChecked:!1}),g={state:u,subscribe(n){return _(u,()=>n(u))},subscribeKey(n,e){return $(u,n,e)},setIsLegalCheckboxChecked(n){u.isLegalCheckboxChecked=n}},E=f`
label {
display: flex;
align-items: center;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
column-gap: var(--wui-spacing-1xs);
}
label > input[type='checkbox'] {
height: 0;
width: 0;
opacity: 0;
pointer-events: none;
position: absolute;
}
label > span {
width: var(--wui-spacing-xl);
height: var(--wui-spacing-xl);
min-width: var(--wui-spacing-xl);
min-height: var(--wui-spacing-xl);
border-radius: var(--wui-border-radius-3xs);
border-width: 1px;
border-style: solid;
border-color: var(--wui-color-gray-glass-010);
display: flex;
align-items: center;
justify-content: center;
transition: background-color var(--wui-ease-out-power-1) var(--wui-duration-lg);
will-change: background-color;
}
label > span:hover,
label > input[type='checkbox']:focus-visible + span {
background-color: var(--wui-color-gray-glass-010);
}
label input[type='checkbox']:checked + span {
background-color: var(--wui-color-blue-base-90);
}
label > span > wui-icon {
opacity: 0;
transition: opacity var(--wui-ease-out-power-1) var(--wui-duration-lg);
will-change: opacity;
}
label > input[type='checkbox']:checked + span wui-icon {
opacity: 1;
}
`;var v=function(n,e,r,o){var i=arguments.length,t=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,r,o);else for(var s=n.length-1;s>=0;s--)(c=n[s])&&(t=(i<3?c(t):i>3?c(e,r,t):c(e,r))||t);return i>3&&t&&Object.defineProperty(e,r,t),t};let h=class extends b{constructor(){super(...arguments),this.inputElementRef=T(),this.checked=void 0}render(){return l`
<label>
<input
${U(this.inputElementRef)}
?checked=${P(this.checked)}
type="checkbox"
@change=${this.dispatchChangeEvent}
/>
<span>
<wui-icon name="checkmarkBold" color="inverse-100" size="xxs"></wui-icon>
</span>
<slot></slot>
</label>
`}dispatchChangeEvent(){var e;this.dispatchEvent(new CustomEvent("checkboxChange",{detail:(e=this.inputElementRef.value)==null?void 0:e.checked,bubbles:!0,composed:!0}))}};h.styles=[m,E];v([j({type:Boolean})],h.prototype,"checked",void 0);h=v([w("wui-checkbox")],h);const L=f`
:host {
display: flex;
align-items: center;
justify-content: center;
}
wui-checkbox {
padding: var(--wui-spacing-s);
}
a {
text-decoration: none;
color: var(--wui-color-fg-150);
font-weight: 500;
}
`;var k=function(n,e,r,o){var i=arguments.length,t=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,r,o);else for(var s=n.length-1;s>=0;s--)(c=n[s])&&(t=(i<3?c(t):i>3?c(e,r,t):c(e,r))||t);return i>3&&t&&Object.defineProperty(e,r,t),t};let p=class extends b{constructor(){super(),this.unsubscribe=[],this.checked=g.state.isLegalCheckboxChecked,this.unsubscribe.push(g.subscribeKey("isLegalCheckboxChecked",e=>{this.checked=e}))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){var i;const{termsConditionsUrl:e,privacyPolicyUrl:r}=a.state,o=(i=a.state.features)==null?void 0:i.legalCheckbox;return!e&&!r||!o?null:l`
<wui-checkbox
?checked=${this.checked}
@checkboxChange=${this.onCheckboxChange.bind(this)}
data-testid="wui-checkbox"
>
<wui-text color="fg-250" variant="small-400" align="left">
I agree to our ${this.termsTemplate()} ${this.andTemplate()} ${this.privacyTemplate()}
</wui-text>
</wui-checkbox>
`}andTemplate(){const{termsConditionsUrl:e,privacyPolicyUrl:r}=a.state;return e&&r?"and":""}termsTemplate(){const{termsConditionsUrl:e}=a.state;return e?l`<a rel="noreferrer" target="_blank" href=${e}>terms of service</a>`:null}privacyTemplate(){const{privacyPolicyUrl:e}=a.state;return e?l`<a rel="noreferrer" target="_blank" href=${e}>privacy policy</a>`:null}onCheckboxChange(){g.setIsLegalCheckboxChecked(!this.checked)}};p.styles=[L];k([y()],p.prototype,"checked",void 0);p=k([w("w3m-legal-checkbox")],p);const W=f`
.reown-logo {
height: var(--wui-spacing-xxl);
}
a {
text-decoration: none;
cursor: pointer;
}
a:hover {
opacity: 0.9;
}
`;var F=function(n,e,r,o){var i=arguments.length,t=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,r,o);else for(var s=n.length-1;s>=0;s--)(c=n[s])&&(t=(i<3?c(t):i>3?c(e,r,t):c(e,r))||t);return i>3&&t&&Object.defineProperty(e,r,t),t};let x=class extends b{render(){return l`
<a
data-testid="ux-branding-reown"
href=${B}
rel="noreferrer"
target="_blank"
style="text-decoration: none;"
>
<wui-flex
justifyContent="center"
alignItems="center"
gap="xs"
.padding=${["0","0","l","0"]}
>
<wui-text variant="small-500" color="fg-100"> UX by </wui-text>
<wui-icon name="reown" size="xxxl" class="reown-logo"></wui-icon>
</wui-flex>
</a>
`}};x.styles=[m,O,W];x=F([w("wui-ux-by-reown")],x);const D=f`
:host > wui-flex {
background-color: var(--wui-color-gray-glass-005);
}
:host wui-ux-by-reown {
padding-top: 0;
}
:host wui-ux-by-reown.branding-only {
padding-top: var(--wui-spacing-m);
}
a {
text-decoration: none;
color: var(--wui-color-fg-175);
font-weight: 500;
}
`;var C=function(n,e,r,o){var i=arguments.length,t=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,r,o);else for(var s=n.length-1;s>=0;s--)(c=n[s])&&(t=(i<3?c(t):i>3?c(e,r,t):c(e,r))||t);return i>3&&t&&Object.defineProperty(e,r,t),t};let d=class extends b{constructor(){super(),this.unsubscribe=[],this.remoteFeatures=a.state.remoteFeatures,this.unsubscribe.push(a.subscribeKey("remoteFeatures",e=>this.remoteFeatures=e))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){var t;const{termsConditionsUrl:e,privacyPolicyUrl:r}=a.state,o=(t=a.state.features)==null?void 0:t.legalCheckbox;return!e&&!r||o?l`
<wui-flex flexDirection="column"> ${this.reownBrandingTemplate(!0)} </wui-flex>
`:l`
<wui-flex flexDirection="column">
<wui-flex .padding=${["m","s","s","s"]} justifyContent="center">
<wui-text color="fg-250" variant="small-400" align="center">
By connecting your wallet, you agree to our <br />
${this.termsTemplate()} ${this.andTemplate()} ${this.privacyTemplate()}
</wui-text>
</wui-flex>
${this.reownBrandingTemplate()}
</wui-flex>
`}andTemplate(){const{termsConditionsUrl:e,privacyPolicyUrl:r}=a.state;return e&&r?"and":""}termsTemplate(){const{termsConditionsUrl:e}=a.state;return e?l`<a href=${e} target="_blank" rel="noopener noreferrer"
>Terms of Service</a
>`:null}privacyTemplate(){const{privacyPolicyUrl:e}=a.state;return e?l`<a href=${e} target="_blank" rel="noopener noreferrer"
>Privacy Policy</a
>`:null}reownBrandingTemplate(e=!1){var r;return(r=this.remoteFeatures)!=null&&r.reownBranding?e?l`<wui-ux-by-reown class="branding-only"></wui-ux-by-reown>`:l`<wui-ux-by-reown></wui-ux-by-reown>`:null}};d.styles=[D];C([y()],d.prototype,"remoteFeatures",void 0);d=C([w("w3m-legal-footer")],d);export{g as O};

View File

@ -1,25 +0,0 @@
import{i as u,r as b,e as p,a as f,b as v}from"./index-B6fu-u6K.js";import{n as d,c as m,o as g}from"./if-defined-D6swbWyQ.js";const h=u`
button {
padding: var(--wui-spacing-4xs) var(--wui-spacing-xxs);
border-radius: var(--wui-border-radius-3xs);
background-color: transparent;
color: var(--wui-color-accent-100);
}
button:disabled {
background-color: transparent;
color: var(--wui-color-gray-glass-015);
}
button:hover {
background-color: var(--wui-color-gray-glass-005);
}
`;var l=function(n,o,r,i){var s=arguments.length,t=s<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,o,r,i);else for(var c=n.length-1;c>=0;c--)(a=n[c])&&(t=(s<3?a(t):s>3?a(o,r,t):a(o,r))||t);return s>3&&t&&Object.defineProperty(o,r,t),t};let e=class extends f{constructor(){super(...arguments),this.tabIdx=void 0,this.disabled=!1,this.color="inherit"}render(){return v`
<button ?disabled=${this.disabled} tabindex=${g(this.tabIdx)}>
<slot name="iconLeft"></slot>
<wui-text variant="small-600" color=${this.color}>
<slot></slot>
</wui-text>
<slot name="iconRight"></slot>
</button>
`}};e.styles=[b,p,h];l([d()],e.prototype,"tabIdx",void 0);l([d({type:Boolean})],e.prototype,"disabled",void 0);l([d()],e.prototype,"color",void 0);e=l([m("wui-link")],e);

View File

@ -1,13 +0,0 @@
import{i as p,a as u,R as f,M as b,b as d}from"./index-B6fu-u6K.js";import{n as g,r as m,c as M}from"./if-defined-D6swbWyQ.js";import{T as l}from"./index-BmxH4wsL.js";const T={interpolate(i,e,o){if(i.length!==2||e.length!==2)throw new Error("inputRange and outputRange must be an array of length 2");const n=i[0]||0,r=i[1]||0,t=e[0]||0,s=e[1]||0;return o<n?t:o>r?s:(s-t)/(r-n)*(o-n)+t}},v=p`
:host {
width: 100%;
display: block;
}
`;var a=function(i,e,o,n){var r=arguments.length,t=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(i,e,o,n);else for(var c=i.length-1;c>=0;c--)(s=i[c])&&(t=(r<3?s(t):r>3?s(e,o,t):s(e,o))||t);return r>3&&t&&Object.defineProperty(e,o,t),t};let h=class extends u{constructor(){super(),this.unsubscribe=[],this.text="",this.open=l.state.open,this.unsubscribe.push(f.subscribeKey("view",()=>{l.hide()}),b.subscribeKey("open",e=>{e||l.hide()}),l.subscribeKey("open",e=>{this.open=e}))}disconnectedCallback(){this.unsubscribe.forEach(e=>e()),l.hide()}render(){return d`
<div
@pointermove=${this.onMouseEnter.bind(this)}
@pointerleave=${this.onMouseLeave.bind(this)}
>
${this.renderChildren()}
</div>
`}renderChildren(){return d`<slot></slot> `}onMouseEnter(){const e=this.getBoundingClientRect();this.open||l.showTooltip({message:this.text,triggerRect:{width:e.width,height:e.height,left:e.left,top:e.top},variant:"shade"})}onMouseLeave(e){this.contains(e.relatedTarget)||l.hide()}};h.styles=[v];a([g()],h.prototype,"text",void 0);a([m()],h.prototype,"open",void 0);h=a([M("w3m-tooltip-trigger")],h);export{T as M};

View File

@ -1,201 +0,0 @@
import{i as g,r as v,e as y,a as f,b as d,w as m}from"./index-B6fu-u6K.js";import{n,c as b}from"./if-defined-D6swbWyQ.js";import"./index-CuJMoJHR.js";import"./index-DUZ-8KUm.js";import"./index-Bl7lS5oY.js";const z=g`
:host {
position: relative;
}
button {
display: flex;
justify-content: center;
align-items: center;
height: 48px;
width: 100%;
background-color: var(--wui-color-accent-glass-010);
border-radius: var(--wui-border-radius-xs);
border: 1px solid var(--wui-color-accent-glass-010);
transition: background-color var(--wui-ease-out-power-1) var(--wui-duration-md);
will-change: background-color;
}
wui-tooltip {
padding: 7px var(--wui-spacing-s) 8px var(--wui-spacing-s);
position: absolute;
top: -8px;
left: 50%;
transform: translate(-50%, -100%);
opacity: 0;
display: none;
}
@media (hover: hover) and (pointer: fine) {
button:hover:enabled {
background-color: var(--wui-color-accent-glass-015);
}
button:active:enabled {
background-color: var(--wui-color-accent-glass-020);
}
}
`;var x=function(o,t,i,r){var a=arguments.length,e=a<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,t,i,r);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(e=(a<3?s(e):a>3?s(t,i,e):s(t,i))||e);return a>3&&e&&Object.defineProperty(t,i,e),e};let w=class extends f{constructor(){super(...arguments),this.text="",this.icon="card"}render(){return d`<button>
<wui-icon color="accent-100" name=${this.icon} size="lg"></wui-icon>
</button>`}};w.styles=[v,y,z];x([n()],w.prototype,"text",void 0);x([n()],w.prototype,"icon",void 0);w=x([b("wui-icon-button")],w);const $=m`<svg width="86" height="96" fill="none">
<path
d="M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z"
/>
</svg>`,S=m`<svg viewBox="0 0 48 54" fill="none">
<path
d="M43.4605 10.7248L28.0485 1.61089C25.5438 0.129705 22.4562 0.129705 19.9515 1.61088L4.53951 10.7248C2.03626 12.2051 0.5 14.9365 0.5 17.886V36.1139C0.5 39.0635 2.03626 41.7949 4.53951 43.2752L19.9515 52.3891C22.4562 53.8703 25.5438 53.8703 28.0485 52.3891L43.4605 43.2752C45.9637 41.7949 47.5 39.0635 47.5 36.114V17.8861C47.5 14.9365 45.9637 12.2051 43.4605 10.7248Z"
/>
</svg>`,I=m`
<svg fill="none" viewBox="0 0 36 40">
<path
d="M15.4 2.1a5.21 5.21 0 0 1 5.2 0l11.61 6.7a5.21 5.21 0 0 1 2.61 4.52v13.4c0 1.87-1 3.59-2.6 4.52l-11.61 6.7c-1.62.93-3.6.93-5.22 0l-11.6-6.7a5.21 5.21 0 0 1-2.61-4.51v-13.4c0-1.87 1-3.6 2.6-4.52L15.4 2.1Z"
/>
</svg>
`,k=g`
:host {
position: relative;
border-radius: inherit;
display: flex;
justify-content: center;
align-items: center;
width: var(--local-width);
height: var(--local-height);
}
:host([data-round='true']) {
background: var(--wui-color-gray-glass-002);
border-radius: 100%;
outline: 1px solid var(--wui-color-gray-glass-005);
}
svg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
fill: var(--wui-color-gray-glass-002);
}
svg > path {
stroke: var(--local-stroke);
}
wui-image {
width: 100%;
height: 100%;
-webkit-clip-path: var(--local-path);
clip-path: var(--local-path);
background: var(--wui-color-gray-glass-002);
}
wui-icon {
transform: translateY(-5%);
width: var(--local-icon-size);
height: var(--local-icon-size);
}
`;var h=function(o,t,i,r){var a=arguments.length,e=a<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,t,i,r);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(e=(a<3?s(e):a>3?s(t,i,e):s(t,i))||e);return a>3&&e&&Object.defineProperty(t,i,e),e};let c=class extends f{constructor(){super(...arguments),this.size="md",this.name="uknown",this.networkImagesBySize={sm:I,md:S,lg:$},this.selected=!1,this.round=!1}render(){return this.round?(this.dataset.round="true",this.style.cssText=`
--local-width: var(--wui-spacing-3xl);
--local-height: var(--wui-spacing-3xl);
--local-icon-size: var(--wui-spacing-l);
`):this.style.cssText=`
--local-path: var(--wui-path-network-${this.size});
--local-width: var(--wui-width-network-${this.size});
--local-height: var(--wui-height-network-${this.size});
--local-icon-size: var(--wui-icon-size-network-${this.size});
`,d`${this.templateVisual()} ${this.svgTemplate()} `}svgTemplate(){return this.round?null:this.networkImagesBySize[this.size]}templateVisual(){return this.imageSrc?d`<wui-image src=${this.imageSrc} alt=${this.name}></wui-image>`:d`<wui-icon size="inherit" color="fg-200" name="networkPlaceholder"></wui-icon>`}};c.styles=[v,k];h([n()],c.prototype,"size",void 0);h([n()],c.prototype,"name",void 0);h([n({type:Object})],c.prototype,"networkImagesBySize",void 0);h([n()],c.prototype,"imageSrc",void 0);h([n({type:Boolean})],c.prototype,"selected",void 0);h([n({type:Boolean})],c.prototype,"round",void 0);c=h([b("wui-network-image")],c);const j=g`
:host {
position: relative;
background-color: var(--wui-color-gray-glass-002);
display: flex;
justify-content: center;
align-items: center;
width: var(--local-size);
height: var(--local-size);
border-radius: inherit;
border-radius: var(--local-border-radius);
}
:host > wui-flex {
overflow: hidden;
border-radius: inherit;
border-radius: var(--local-border-radius);
}
:host::after {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: inherit;
border: 1px solid var(--wui-color-gray-glass-010);
pointer-events: none;
}
:host([name='Extension'])::after {
border: 1px solid var(--wui-color-accent-glass-010);
}
:host([data-wallet-icon='allWallets']) {
background-color: var(--wui-all-wallets-bg-100);
}
:host([data-wallet-icon='allWallets'])::after {
border: 1px solid var(--wui-color-accent-glass-010);
}
wui-icon[data-parent-size='inherit'] {
width: 75%;
height: 75%;
align-items: center;
}
wui-icon[data-parent-size='sm'] {
width: 18px;
height: 18px;
}
wui-icon[data-parent-size='md'] {
width: 24px;
height: 24px;
}
wui-icon[data-parent-size='lg'] {
width: 42px;
height: 42px;
}
wui-icon[data-parent-size='full'] {
width: 100%;
height: 100%;
}
:host > wui-icon-box {
position: absolute;
overflow: hidden;
right: -1px;
bottom: -2px;
z-index: 1;
border: 2px solid var(--wui-color-bg-150, #1e1f1f);
padding: 1px;
}
`;var p=function(o,t,i,r){var a=arguments.length,e=a<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,t,i,r);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(e=(a<3?s(e):a>3?s(t,i,e):s(t,i))||e);return a>3&&e&&Object.defineProperty(t,i,e),e};let u=class extends f{constructor(){super(...arguments),this.size="md",this.name="",this.installed=!1,this.badgeSize="xs"}render(){let t="xxs";return this.size==="lg"?t="m":this.size==="md"?t="xs":t="xxs",this.style.cssText=`
--local-border-radius: var(--wui-border-radius-${t});
--local-size: var(--wui-wallet-image-size-${this.size});
`,this.walletIcon&&(this.dataset.walletIcon=this.walletIcon),d`
<wui-flex justifyContent="center" alignItems="center"> ${this.templateVisual()} </wui-flex>
`}templateVisual(){return this.imageSrc?d`<wui-image src=${this.imageSrc} alt=${this.name}></wui-image>`:this.walletIcon?d`<wui-icon
data-parent-size="md"
size="md"
color="inherit"
name=${this.walletIcon}
></wui-icon>`:d`<wui-icon
data-parent-size=${this.size}
size="inherit"
color="inherit"
name="walletPlaceholder"
></wui-icon>`}};u.styles=[y,v,j];p([n()],u.prototype,"size",void 0);p([n()],u.prototype,"name",void 0);p([n()],u.prototype,"imageSrc",void 0);p([n()],u.prototype,"walletIcon",void 0);p([n({type:Boolean})],u.prototype,"installed",void 0);p([n()],u.prototype,"badgeSize",void 0);u=p([b("wui-wallet-image")],u);export{S as n};

File diff suppressed because one or more lines are too long

View File

@ -1,131 +0,0 @@
import{i as b,r as v,e as g,a as h,b as l}from"./index-B6fu-u6K.js";import{n as r,c as w}from"./if-defined-D6swbWyQ.js";import"./index-CuJMoJHR.js";import"./index-DUZ-8KUm.js";const p=b`
button {
border: none;
border-radius: var(--wui-border-radius-3xl);
}
button[data-variant='main'] {
background-color: var(--wui-color-accent-100);
color: var(--wui-color-inverse-100);
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-010);
}
button[data-variant='accent'] {
background-color: var(--wui-color-accent-glass-010);
color: var(--wui-color-accent-100);
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-005);
}
button[data-variant='gray'] {
background-color: transparent;
color: var(--wui-color-fg-200);
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-010);
}
button[data-variant='shade'] {
background-color: transparent;
color: var(--wui-color-accent-100);
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-010);
}
button[data-size='sm'] {
height: 32px;
padding: 0 var(--wui-spacing-s);
}
button[data-size='md'] {
height: 40px;
padding: 0 var(--wui-spacing-l);
}
button[data-size='sm'] > wui-image {
width: 16px;
height: 16px;
}
button[data-size='md'] > wui-image {
width: 24px;
height: 24px;
}
button[data-size='sm'] > wui-icon {
width: 12px;
height: 12px;
}
button[data-size='md'] > wui-icon {
width: 14px;
height: 14px;
}
wui-image {
border-radius: var(--wui-border-radius-3xl);
overflow: hidden;
}
button.disabled > wui-icon,
button.disabled > wui-image {
filter: grayscale(1);
}
button[data-variant='main'] > wui-image {
box-shadow: inset 0 0 0 1px var(--wui-color-accent-090);
}
button[data-variant='shade'] > wui-image,
button[data-variant='gray'] > wui-image {
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-010);
}
@media (hover: hover) and (pointer: fine) {
button[data-variant='main']:focus-visible {
background-color: var(--wui-color-accent-090);
}
button[data-variant='main']:hover:enabled {
background-color: var(--wui-color-accent-090);
}
button[data-variant='main']:active:enabled {
background-color: var(--wui-color-accent-080);
}
button[data-variant='accent']:hover:enabled {
background-color: var(--wui-color-accent-glass-015);
}
button[data-variant='accent']:active:enabled {
background-color: var(--wui-color-accent-glass-020);
}
button[data-variant='shade']:focus-visible,
button[data-variant='gray']:focus-visible,
button[data-variant='shade']:hover,
button[data-variant='gray']:hover {
background-color: var(--wui-color-gray-glass-002);
}
button[data-variant='gray']:active,
button[data-variant='shade']:active {
background-color: var(--wui-color-gray-glass-005);
}
}
button.disabled {
color: var(--wui-color-gray-glass-020);
background-color: var(--wui-color-gray-glass-002);
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-002);
pointer-events: none;
}
`;var i=function(n,t,e,s){var c=arguments.length,o=c<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,e):s,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,t,e,s);else for(var d=n.length-1;d>=0;d--)(u=n[d])&&(o=(c<3?u(o):c>3?u(t,e,o):u(t,e))||o);return c>3&&o&&Object.defineProperty(t,e,o),o};let a=class extends h{constructor(){super(...arguments),this.variant="accent",this.imageSrc="",this.disabled=!1,this.icon="externalLink",this.size="md",this.text=""}render(){const t=this.size==="sm"?"small-600":"paragraph-600";return l`
<button
class=${this.disabled?"disabled":""}
data-variant=${this.variant}
data-size=${this.size}
?disabled=${this.disabled}
>
${this.imageSrc?l`<wui-image src=${this.imageSrc}></wui-image>`:null}
<wui-text variant=${t} color="inherit"> ${this.text} </wui-text>
${this.icon?l`<wui-icon name=${this.icon} color="inherit" size="inherit"></wui-icon>`:null}
</button>
`}};a.styles=[v,g,p];i([r()],a.prototype,"variant",void 0);i([r()],a.prototype,"imageSrc",void 0);i([r({type:Boolean})],a.prototype,"disabled",void 0);i([r()],a.prototype,"icon",void 0);i([r()],a.prototype,"size",void 0);i([r()],a.prototype,"text",void 0);a=i([w("wui-chip-button")],a);

View File

@ -1,29 +0,0 @@
import{i as h,r as g,e as p,a as v,b as f}from"./index-B6fu-u6K.js";import{n as c,c as x}from"./if-defined-D6swbWyQ.js";import"./index-CuJMoJHR.js";const y=h`
:host {
display: inline-flex;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
background-color: var(--wui-color-gray-glass-020);
border-radius: var(--local-border-radius);
border: var(--local-border);
box-sizing: content-box;
width: var(--local-size);
height: var(--local-size);
min-height: var(--local-size);
min-width: var(--local-size);
}
@supports (background: color-mix(in srgb, white 50%, black)) {
:host {
background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);
}
}
`;var i=function(d,e,t,l){var a=arguments.length,r=a<3?e:l===null?l=Object.getOwnPropertyDescriptor(e,t):l,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(d,e,t,l);else for(var s=d.length-1;s>=0;s--)(n=d[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let o=class extends v{constructor(){super(...arguments),this.size="md",this.backgroundColor="accent-100",this.iconColor="accent-100",this.background="transparent",this.border=!1,this.borderColor="wui-color-bg-125",this.icon="copy"}render(){const e=this.iconSize||this.size,t=this.size==="lg",l=this.size==="xl",a=t?"12%":"16%",r=t?"xxs":l?"s":"3xl",n=this.background==="gray",s=this.background==="opaque",b=this.backgroundColor==="accent-100"&&s||this.backgroundColor==="success-100"&&s||this.backgroundColor==="error-100"&&s||this.backgroundColor==="inverse-100"&&s;let u=`var(--wui-color-${this.backgroundColor})`;return b?u=`var(--wui-icon-box-bg-${this.backgroundColor})`:n&&(u=`var(--wui-color-gray-${this.backgroundColor})`),this.style.cssText=`
--local-bg-value: ${u};
--local-bg-mix: ${b||n?"100%":a};
--local-border-radius: var(--wui-border-radius-${r});
--local-size: var(--wui-icon-box-size-${this.size});
--local-border: ${this.borderColor==="wui-color-bg-125"?"2px":"1px"} solid ${this.border?`var(--${this.borderColor})`:"transparent"}
`,f` <wui-icon color=${this.iconColor} size=${e} name=${this.icon}></wui-icon> `}};o.styles=[g,p,y];i([c()],o.prototype,"size",void 0);i([c()],o.prototype,"backgroundColor",void 0);i([c()],o.prototype,"iconColor",void 0);i([c()],o.prototype,"iconSize",void 0);i([c()],o.prototype,"background",void 0);i([c({type:Boolean})],o.prototype,"border",void 0);i([c()],o.prototype,"borderColor",void 0);i([c()],o.prototype,"icon",void 0);o=i([x("wui-icon-box")],o);

View File

@ -1,74 +0,0 @@
import{c as g,s as m,q as w,t as f,i as v,a as b,b as x}from"./index-B6fu-u6K.js";import{r as u,c as h}from"./if-defined-D6swbWyQ.js";import"./index-CuJMoJHR.js";const e=f({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),y={state:e,subscribe(o){return w(e,()=>o(e))},subscribeKey(o,t){return m(e,o,t)},showTooltip({message:o,triggerRect:t,variant:i}){e.open=!0,e.message=o,e.triggerRect=t,e.variant=i},hide(){e.open=!1,e.message="",e.triggerRect={width:0,height:0,top:0,left:0}}},s=g(y),R=v`
:host {
pointer-events: none;
}
:host > wui-flex {
display: var(--w3m-tooltip-display);
opacity: var(--w3m-tooltip-opacity);
padding: 9px var(--wui-spacing-s) 10px var(--wui-spacing-s);
border-radius: var(--wui-border-radius-xxs);
color: var(--wui-color-bg-100);
position: fixed;
top: var(--w3m-tooltip-top);
left: var(--w3m-tooltip-left);
transform: translate(calc(-50% + var(--w3m-tooltip-parent-width)), calc(-100% - 8px));
max-width: calc(var(--w3m-modal-width) - var(--wui-spacing-xl));
transition: opacity 0.2s var(--wui-ease-out-power-2);
will-change: opacity;
}
:host([data-variant='shade']) > wui-flex {
background-color: var(--wui-color-bg-150);
border: 1px solid var(--wui-color-gray-glass-005);
}
:host([data-variant='shade']) > wui-flex > wui-text {
color: var(--wui-color-fg-150);
}
:host([data-variant='fill']) > wui-flex {
background-color: var(--wui-color-fg-100);
border: none;
}
wui-icon {
position: absolute;
width: 12px !important;
height: 4px !important;
color: var(--wui-color-bg-150);
}
wui-icon[data-placement='top'] {
bottom: 0px;
left: 50%;
transform: translate(-50%, 95%);
}
wui-icon[data-placement='bottom'] {
top: 0;
left: 50%;
transform: translate(-50%, -95%) rotate(180deg);
}
wui-icon[data-placement='right'] {
top: 50%;
left: 0;
transform: translate(-65%, -50%) rotate(90deg);
}
wui-icon[data-placement='left'] {
top: 50%;
right: 0%;
transform: translate(65%, -50%) rotate(270deg);
}
`;var n=function(o,t,i,l){var p=arguments.length,r=p<3?t:l===null?l=Object.getOwnPropertyDescriptor(t,i):l,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,t,i,l);else for(var d=o.length-1;d>=0;d--)(c=o[d])&&(r=(p<3?c(r):p>3?c(t,i,r):c(t,i))||r);return p>3&&r&&Object.defineProperty(t,i,r),r};let a=class extends b{constructor(){super(),this.unsubscribe=[],this.open=s.state.open,this.message=s.state.message,this.triggerRect=s.state.triggerRect,this.variant=s.state.variant,this.unsubscribe.push(s.subscribe(t=>{this.open=t.open,this.message=t.message,this.triggerRect=t.triggerRect,this.variant=t.variant}))}disconnectedCallback(){this.unsubscribe.forEach(t=>t())}render(){this.dataset.variant=this.variant;const t=this.triggerRect.top,i=this.triggerRect.left;return this.style.cssText=`
--w3m-tooltip-top: ${t}px;
--w3m-tooltip-left: ${i}px;
--w3m-tooltip-parent-width: ${this.triggerRect.width/2}px;
--w3m-tooltip-display: ${this.open?"flex":"none"};
--w3m-tooltip-opacity: ${this.open?1:0};
`,x`<wui-flex>
<wui-icon data-placement="top" color="fg-100" size="inherit" name="cursor"></wui-icon>
<wui-text color="inherit" variant="small-500">${this.message}</wui-text>
</wui-flex>`}};a.styles=[R];n([u()],a.prototype,"open",void 0);n([u()],a.prototype,"message",void 0);n([u()],a.prototype,"triggerRect",void 0);n([u()],a.prototype,"variant",void 0);a=n([h("w3m-tooltip"),h("w3m-tooltip")],a);export{s as T};

View File

@ -1,71 +0,0 @@
import{i as d,r as f,a as p,b as g}from"./index-B6fu-u6K.js";import{n as c,c as u}from"./if-defined-D6swbWyQ.js";const m=d`
:host {
display: flex;
}
:host([data-size='sm']) > svg {
width: 12px;
height: 12px;
}
:host([data-size='md']) > svg {
width: 16px;
height: 16px;
}
:host([data-size='lg']) > svg {
width: 24px;
height: 24px;
}
:host([data-size='xl']) > svg {
width: 32px;
height: 32px;
}
svg {
animation: rotate 2s linear infinite;
}
circle {
fill: none;
stroke: var(--local-color);
stroke-width: 4px;
stroke-dasharray: 1, 124;
stroke-dashoffset: 0;
stroke-linecap: round;
animation: dash 1.5s ease-in-out infinite;
}
:host([data-size='md']) > svg > circle {
stroke-width: 6px;
}
:host([data-size='sm']) > svg > circle {
stroke-width: 8px;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
@keyframes dash {
0% {
stroke-dasharray: 1, 124;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 90, 124;
stroke-dashoffset: -35;
}
100% {
stroke-dashoffset: -125;
}
}
`;var l=function(o,t,s,r){var a=arguments.length,e=a<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,s):r,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,t,s,r);else for(var h=o.length-1;h>=0;h--)(n=o[h])&&(e=(a<3?n(e):a>3?n(t,s,e):n(t,s))||e);return a>3&&e&&Object.defineProperty(t,s,e),e};let i=class extends p{constructor(){super(...arguments),this.color="accent-100",this.size="lg"}render(){return this.style.cssText=`--local-color: ${this.color==="inherit"?"inherit":`var(--wui-color-${this.color})`}`,this.dataset.size=this.size,g`<svg viewBox="25 25 50 50">
<circle r="20" cy="50" cx="50"></circle>
</svg>`}};i.styles=[f,m];l([c()],i.prototype,"color",void 0);l([c()],i.prototype,"size",void 0);i=l([u("wui-loading-spinner")],i);

View File

@ -1,19 +0,0 @@
import{i as p,r as f,a as d,b as u}from"./index-B6fu-u6K.js";import{n as g,c as m}from"./if-defined-D6swbWyQ.js";const h=p`
:host {
position: relative;
display: flex;
width: 100%;
height: 1px;
background-color: var(--wui-color-gray-glass-005);
justify-content: center;
align-items: center;
}
:host > wui-text {
position: absolute;
padding: 0px 10px;
background-color: var(--wui-color-modal-bg);
transition: background-color var(--wui-duration-lg) var(--wui-ease-out-power-1);
will-change: background-color;
}
`;var c=function(o,e,r,i){var n=arguments.length,t=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(o,e,r,i);else for(var s=o.length-1;s>=0;s--)(a=o[s])&&(t=(n<3?a(t):n>3?a(e,r,t):a(e,r))||t);return n>3&&t&&Object.defineProperty(e,r,t),t};let l=class extends d{constructor(){super(...arguments),this.text=""}render(){return u`${this.template()}`}template(){return this.text?u`<wui-text variant="small-500" color="fg-200">${this.text}</wui-text>`:null}};l.styles=[f,h];c([g()],l.prototype,"text",void 0);l=c([m("wui-separator")],l);

View File

@ -1,111 +0,0 @@
import{i as h,r as b,e as w,a as g,b as r}from"./index-B6fu-u6K.js";import{n as o,c as v,o as p}from"./if-defined-D6swbWyQ.js";import"./index-CuJMoJHR.js";import"./index-DUZ-8KUm.js";import"./index-BqLefJXm.js";import"./index-Bl7lS5oY.js";const m=h`
button {
column-gap: var(--wui-spacing-s);
padding: 11px 18px 11px var(--wui-spacing-s);
width: 100%;
background-color: var(--wui-color-gray-glass-002);
border-radius: var(--wui-border-radius-xs);
color: var(--wui-color-fg-250);
transition:
color var(--wui-ease-out-power-1) var(--wui-duration-md),
background-color var(--wui-ease-out-power-1) var(--wui-duration-md);
will-change: color, background-color;
}
button[data-iconvariant='square'],
button[data-iconvariant='square-blue'] {
padding: 6px 18px 6px 9px;
}
button > wui-flex {
flex: 1;
}
button > wui-image {
width: 32px;
height: 32px;
box-shadow: 0 0 0 2px var(--wui-color-gray-glass-005);
border-radius: var(--wui-border-radius-3xl);
}
button > wui-icon {
width: 36px;
height: 36px;
transition: opacity var(--wui-ease-out-power-1) var(--wui-duration-md);
will-change: opacity;
}
button > wui-icon-box[data-variant='blue'] {
box-shadow: 0 0 0 2px var(--wui-color-accent-glass-005);
}
button > wui-icon-box[data-variant='overlay'] {
box-shadow: 0 0 0 2px var(--wui-color-gray-glass-005);
}
button > wui-icon-box[data-variant='square-blue'] {
border-radius: var(--wui-border-radius-3xs);
position: relative;
border: none;
width: 36px;
height: 36px;
}
button > wui-icon-box[data-variant='square-blue']::after {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: inherit;
border: 1px solid var(--wui-color-accent-glass-010);
pointer-events: none;
}
button > wui-icon:last-child {
width: 14px;
height: 14px;
}
button:disabled {
color: var(--wui-color-gray-glass-020);
}
button[data-loading='true'] > wui-icon {
opacity: 0;
}
wui-loading-spinner {
position: absolute;
right: 18px;
top: 50%;
transform: translateY(-50%);
}
`;var t=function(u,a,e,s){var l=arguments.length,n=l<3?a:s===null?s=Object.getOwnPropertyDescriptor(a,e):s,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(u,a,e,s);else for(var d=u.length-1;d>=0;d--)(c=u[d])&&(n=(l<3?c(n):l>3?c(a,e,n):c(a,e))||n);return l>3&&n&&Object.defineProperty(a,e,n),n};let i=class extends g{constructor(){super(...arguments),this.tabIdx=void 0,this.variant="icon",this.disabled=!1,this.imageSrc=void 0,this.alt=void 0,this.chevron=!1,this.loading=!1}render(){return r`
<button
?disabled=${this.loading?!0:!!this.disabled}
data-loading=${this.loading}
data-iconvariant=${p(this.iconVariant)}
tabindex=${p(this.tabIdx)}
>
${this.loadingTemplate()} ${this.visualTemplate()}
<wui-flex gap="3xs">
<slot></slot>
</wui-flex>
${this.chevronTemplate()}
</button>
`}visualTemplate(){if(this.variant==="image"&&this.imageSrc)return r`<wui-image src=${this.imageSrc} alt=${this.alt??"list item"}></wui-image>`;if(this.iconVariant==="square"&&this.icon&&this.variant==="icon")return r`<wui-icon name=${this.icon}></wui-icon>`;if(this.variant==="icon"&&this.icon&&this.iconVariant){const a=["blue","square-blue"].includes(this.iconVariant)?"accent-100":"fg-200",e=this.iconVariant==="square-blue"?"mdl":"md",s=this.iconSize?this.iconSize:e;return r`
<wui-icon-box
data-variant=${this.iconVariant}
icon=${this.icon}
iconSize=${s}
background="transparent"
iconColor=${a}
backgroundColor=${a}
size=${e}
></wui-icon-box>
`}return null}loadingTemplate(){return this.loading?r`<wui-loading-spinner
data-testid="wui-list-item-loading-spinner"
color="fg-300"
></wui-loading-spinner>`:r``}chevronTemplate(){return this.chevron?r`<wui-icon size="inherit" color="fg-200" name="chevronRight"></wui-icon>`:null}};i.styles=[b,w,m];t([o()],i.prototype,"icon",void 0);t([o()],i.prototype,"iconSize",void 0);t([o()],i.prototype,"tabIdx",void 0);t([o()],i.prototype,"variant",void 0);t([o()],i.prototype,"iconVariant",void 0);t([o({type:Boolean})],i.prototype,"disabled",void 0);t([o()],i.prototype,"imageSrc",void 0);t([o()],i.prototype,"alt",void 0);t([o({type:Boolean})],i.prototype,"chevron",void 0);t([o({type:Boolean})],i.prototype,"loading",void 0);i=t([v("wui-list-item")],i);

View File

@ -1,64 +0,0 @@
import{k as d,f as w,E as _,R as f,p as m,S as v,h as c,y as E,d as $,i as y,r as b,a as x,b as h,e as R}from"./index-B6fu-u6K.js";import{n as u,c as C,o as O}from"./if-defined-D6swbWyQ.js";import"./index-CuJMoJHR.js";function T(){try{return c.returnOpenHref(`${$.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function U(){f.push("ConnectingFarcaster");const t=m.getAuthConnector();if(t&&!d.state.farcasterUrl)try{const{url:o}=await t.provider.getFarcasterUri();d.setFarcasterUrl(o,w.state.activeChain)}catch(o){f.goBack(),v.showError(o)}}async function j(t){f.push("ConnectingSocial");const o=m.getAuthConnector();let e=null;try{const i=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&t){if(c.isTelegram()||(e=T()),e)d.setSocialWindow(e,w.state.activeChain);else if(!c.isTelegram())throw new Error("Could not create social popup");const{uri:n}=await o.provider.getSocialRedirectUri({provider:t});if(!n)throw e==null||e.close(),new Error("Could not fetch the social redirect uri");if(e&&(e.location.href=n),c.isTelegram()){E.setTelegramSocialProvider(t);const r=c.formatTelegramSocialLoginUrl(n);c.openHref(r,"_top")}clearTimeout(i)}}catch(i){e==null||e.close(),v.showError(i==null?void 0:i.message)}}async function F(t){d.setSocialProvider(t,w.state.activeChain),_.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:t}}),t==="farcaster"?await U():await j(t)}const L=y`
:host {
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
border-radius: var(--wui-border-radius-3xl);
border: 1px solid var(--wui-color-gray-glass-005);
overflow: hidden;
}
wui-icon {
width: 100%;
height: 100%;
}
`;var S=function(t,o,e,i){var n=arguments.length,r=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,e):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,o,e,i);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(r=(n<3?a(r):n>3?a(o,e,r):a(o,e))||r);return n>3&&r&&Object.defineProperty(o,e,r),r};let p=class extends x{constructor(){super(...arguments),this.logo="google"}render(){return h`<wui-icon color="inherit" size="inherit" name=${this.logo}></wui-icon> `}};p.styles=[b,L];S([u()],p.prototype,"logo",void 0);p=S([C("wui-logo")],p);const I=y`
button {
column-gap: var(--wui-spacing-s);
padding: 7px var(--wui-spacing-l) 7px var(--wui-spacing-xs);
width: 100%;
justify-content: flex-start;
background-color: var(--wui-color-gray-glass-002);
border-radius: var(--wui-border-radius-xs);
color: var(--wui-color-fg-100);
}
wui-text {
text-transform: capitalize;
}
wui-text[data-align='left'] {
display: flex;
flex: 1;
}
wui-text[data-align='center'] {
display: flex;
flex: 1;
justify-content: center;
}
.invisible {
opacity: 0;
pointer-events: none;
}
button:disabled {
background-color: var(--wui-color-gray-glass-015);
color: var(--wui-color-gray-glass-015);
}
`;var g=function(t,o,e,i){var n=arguments.length,r=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,e):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,o,e,i);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(r=(n<3?a(r):n>3?a(o,e,r):a(o,e))||r);return n>3&&r&&Object.defineProperty(o,e,r),r};let l=class extends x{constructor(){super(...arguments),this.logo="google",this.name="Continue with google",this.align="left",this.disabled=!1}render(){return h`
<button ?disabled=${this.disabled} tabindex=${O(this.tabIdx)}>
<wui-logo logo=${this.logo}></wui-logo>
<wui-text
data-align=${this.align}
variant="paragraph-500"
color="inherit"
align=${this.align}
>${this.name}</wui-text
>
${this.templatePlacement()}
</button>
`}templatePlacement(){return this.align==="center"?h` <wui-logo class="invisible" logo=${this.logo}></wui-logo>`:null}};l.styles=[b,R,I];g([u()],l.prototype,"logo",void 0);g([u()],l.prototype,"name",void 0);g([u()],l.prototype,"align",void 0);g([u()],l.prototype,"tabIdx",void 0);g([u({type:Boolean})],l.prototype,"disabled",void 0);l=g([C("wui-list-social")],l);export{F as e};

File diff suppressed because one or more lines are too long

View File

@ -1,203 +0,0 @@
import{i as w,r as g,e as h,a as v,b as l}from"./index-B6fu-u6K.js";import{n as a,c as x,a as m,o as c}from"./if-defined-D6swbWyQ.js";import{e as b,n as f}from"./ref-CNdtRDdT.js";import"./index-CuJMoJHR.js";const y=w`
:host {
position: relative;
width: 100%;
display: inline-block;
color: var(--wui-color-fg-275);
}
input {
width: 100%;
border-radius: var(--wui-border-radius-xs);
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-002);
background: var(--wui-color-gray-glass-002);
font-size: var(--wui-font-size-paragraph);
letter-spacing: var(--wui-letter-spacing-paragraph);
color: var(--wui-color-fg-100);
transition:
background-color var(--wui-ease-inout-power-1) var(--wui-duration-md),
border-color var(--wui-ease-inout-power-1) var(--wui-duration-md),
box-shadow var(--wui-ease-inout-power-1) var(--wui-duration-md);
will-change: background-color, border-color, box-shadow;
caret-color: var(--wui-color-accent-100);
}
input:disabled {
cursor: not-allowed;
border: 1px solid var(--wui-color-gray-glass-010);
}
input:disabled::placeholder,
input:disabled + wui-icon {
color: var(--wui-color-fg-300);
}
input::placeholder {
color: var(--wui-color-fg-275);
}
input:focus:enabled {
background-color: var(--wui-color-gray-glass-005);
-webkit-box-shadow:
inset 0 0 0 1px var(--wui-color-accent-100),
0px 0px 0px 4px var(--wui-box-shadow-blue);
-moz-box-shadow:
inset 0 0 0 1px var(--wui-color-accent-100),
0px 0px 0px 4px var(--wui-box-shadow-blue);
box-shadow:
inset 0 0 0 1px var(--wui-color-accent-100),
0px 0px 0px 4px var(--wui-box-shadow-blue);
}
input:hover:enabled {
background-color: var(--wui-color-gray-glass-005);
}
wui-icon {
position: absolute;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
}
.wui-size-sm {
padding: 9px var(--wui-spacing-m) 10px var(--wui-spacing-s);
}
wui-icon + .wui-size-sm {
padding: 9px var(--wui-spacing-m) 10px 36px;
}
wui-icon[data-input='sm'] {
left: var(--wui-spacing-s);
}
.wui-size-md {
padding: 15px var(--wui-spacing-m) var(--wui-spacing-l) var(--wui-spacing-m);
}
wui-icon + .wui-size-md,
wui-loading-spinner + .wui-size-md {
padding: 10.5px var(--wui-spacing-3xl) 10.5px var(--wui-spacing-3xl);
}
wui-icon[data-input='md'] {
left: var(--wui-spacing-l);
}
.wui-size-lg {
padding: var(--wui-spacing-s) var(--wui-spacing-s) var(--wui-spacing-s) var(--wui-spacing-l);
letter-spacing: var(--wui-letter-spacing-medium-title);
font-size: var(--wui-font-size-medium-title);
font-weight: var(--wui-font-weight-light);
line-height: 130%;
color: var(--wui-color-fg-100);
height: 64px;
}
.wui-padding-right-xs {
padding-right: var(--wui-spacing-xs);
}
.wui-padding-right-s {
padding-right: var(--wui-spacing-s);
}
.wui-padding-right-m {
padding-right: var(--wui-spacing-m);
}
.wui-padding-right-l {
padding-right: var(--wui-spacing-l);
}
.wui-padding-right-xl {
padding-right: var(--wui-spacing-xl);
}
.wui-padding-right-2xl {
padding-right: var(--wui-spacing-2xl);
}
.wui-padding-right-3xl {
padding-right: var(--wui-spacing-3xl);
}
.wui-padding-right-4xl {
padding-right: var(--wui-spacing-4xl);
}
.wui-padding-right-5xl {
padding-right: var(--wui-spacing-5xl);
}
wui-icon + .wui-size-lg,
wui-loading-spinner + .wui-size-lg {
padding-left: 50px;
}
wui-icon[data-input='lg'] {
left: var(--wui-spacing-l);
}
.wui-size-mdl {
padding: 17.25px var(--wui-spacing-m) 17.25px var(--wui-spacing-m);
}
wui-icon + .wui-size-mdl,
wui-loading-spinner + .wui-size-mdl {
padding: 17.25px var(--wui-spacing-3xl) 17.25px 40px;
}
wui-icon[data-input='mdl'] {
left: var(--wui-spacing-m);
}
input:placeholder-shown ~ ::slotted(wui-input-element),
input:placeholder-shown ~ ::slotted(wui-icon) {
opacity: 0;
pointer-events: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type='number'] {
-moz-appearance: textfield;
}
::slotted(wui-input-element),
::slotted(wui-icon) {
position: absolute;
top: 50%;
transform: translateY(-50%);
}
::slotted(wui-input-element) {
right: var(--wui-spacing-m);
}
::slotted(wui-icon) {
right: 0px;
}
`;var e=function(s,t,o,r){var p=arguments.length,n=p<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,o):r,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(s,t,o,r);else for(var d=s.length-1;d>=0;d--)(u=s[d])&&(n=(p<3?u(n):p>3?u(t,o,n):u(t,o))||n);return p>3&&n&&Object.defineProperty(t,o,n),n};let i=class extends v{constructor(){super(...arguments),this.inputElementRef=b(),this.size="md",this.disabled=!1,this.placeholder="",this.type="text",this.value=""}render(){const t=`wui-padding-right-${this.inputRightPadding}`,r={[`wui-size-${this.size}`]:!0,[t]:!!this.inputRightPadding};return l`${this.templateIcon()}
<input
data-testid="wui-input-text"
${f(this.inputElementRef)}
class=${m(r)}
type=${this.type}
enterkeyhint=${c(this.enterKeyHint)}
?disabled=${this.disabled}
placeholder=${this.placeholder}
@input=${this.dispatchInputChangeEvent.bind(this)}
@keydown=${this.onKeyDown}
.value=${this.value||""}
tabindex=${c(this.tabIdx)}
/>
<slot></slot>`}templateIcon(){return this.icon?l`<wui-icon
data-input=${this.size}
size=${this.size}
color="inherit"
name=${this.icon}
></wui-icon>`:null}dispatchInputChangeEvent(){var t;this.dispatchEvent(new CustomEvent("inputChange",{detail:(t=this.inputElementRef.value)==null?void 0:t.value,bubbles:!0,composed:!0}))}};i.styles=[g,h,y];e([a()],i.prototype,"size",void 0);e([a()],i.prototype,"icon",void 0);e([a({type:Boolean})],i.prototype,"disabled",void 0);e([a()],i.prototype,"placeholder",void 0);e([a()],i.prototype,"type",void 0);e([a()],i.prototype,"keyHint",void 0);e([a()],i.prototype,"value",void 0);e([a()],i.prototype,"inputRightPadding",void 0);e([a()],i.prototype,"tabIdx",void 0);e([a({attribute:!1})],i.prototype,"onKeyDown",void 0);i=e([x("wui-input-text")],i);

View File

@ -1,43 +0,0 @@
import{i as u,r as b,e as p,v,a as w,b as h}from"./index-B6fu-u6K.js";import{n as l,c as f}from"./if-defined-D6swbWyQ.js";import"./index-CuJMoJHR.js";const g=u`
button {
border-radius: var(--local-border-radius);
color: var(--wui-color-fg-100);
padding: var(--local-padding);
}
@media (max-width: 700px) {
:host(:not([size='sm'])) button {
padding: var(--wui-spacing-s);
}
}
button > wui-icon {
pointer-events: none;
}
button:disabled > wui-icon {
color: var(--wui-color-bg-300) !important;
}
button:disabled {
background-color: transparent;
}
button:hover:not(:disabled) {
background-color: var(--wui-color-accent-glass-015);
}
button:focus-visible:not(:disabled) {
background-color: var(--wui-color-accent-glass-015);
box-shadow:
inset 0 0 0 1px var(--wui-color-accent-100),
0 0 0 4px var(--wui-color-accent-glass-020);
}
`;var s=function(r,o,i,n){var a=arguments.length,e=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,i):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(r,o,i,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(e=(a<3?c(e):a>3?c(o,i,e):c(o,i))||e);return a>3&&e&&Object.defineProperty(o,i,e),e};let t=class extends w{constructor(){super(...arguments),this.size="md",this.disabled=!1,this.icon="copy",this.iconColor="inherit"}render(){this.dataset.size=this.size;let o="",i="";switch(this.size){case"lg":o="--wui-border-radius-xs",i="--wui-spacing-1xs";break;case"sm":o="--wui-border-radius-3xs",i="--wui-spacing-xxs";break;default:o="--wui-border-radius-xxs",i="--wui-spacing-2xs";break}return this.style.cssText=`
--local-border-radius: var(${o});
--local-padding: var(${i});
`,h`
<button ?disabled=${this.disabled}>
<wui-icon color=${this.iconColor} size=${this.size} name=${this.icon}></wui-icon>
</button>
`}};t.styles=[b,p,v,g];s([l()],t.prototype,"size",void 0);s([l({type:Boolean})],t.prototype,"disabled",void 0);s([l()],t.prototype,"icon",void 0);s([l()],t.prototype,"iconColor",void 0);t=s([f("wui-icon-link")],t);

View File

@ -1,38 +0,0 @@
import{i as h,r as c,a as l,b as f}from"./index-B6fu-u6K.js";import{n as m,c as p}from"./if-defined-D6swbWyQ.js";const v=h`
:host {
display: block;
width: var(--wui-box-size-md);
height: var(--wui-box-size-md);
}
svg {
width: var(--wui-box-size-md);
height: var(--wui-box-size-md);
}
rect {
fill: none;
stroke: var(--wui-color-accent-100);
stroke-width: 4px;
stroke-linecap: round;
animation: dash 1s linear infinite;
}
@keyframes dash {
to {
stroke-dashoffset: 0px;
}
}
`;var u=function(o,t,s,r){var i=arguments.length,e=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,s):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,t,s,r);else for(var d=o.length-1;d>=0;d--)(a=o[d])&&(e=(i<3?a(e):i>3?a(t,s,e):a(t,s))||e);return i>3&&e&&Object.defineProperty(t,s,e),e};let n=class extends l{constructor(){super(...arguments),this.radius=36}render(){return this.svgLoaderTemplate()}svgLoaderTemplate(){const t=this.radius>50?50:this.radius,r=36-t,i=116+r,e=245+r,a=360+r*1.75;return f`
<svg viewBox="0 0 110 110" width="110" height="110">
<rect
x="2"
y="2"
width="106"
height="106"
rx=${t}
stroke-dasharray="${i} ${e}"
stroke-dashoffset=${a}
/>
</svg>
`}};n.styles=[c,v];u([m({type:Number})],n.prototype,"radius",void 0);n=u([p("wui-loading-thumbnail")],n);

View File

@ -1,39 +0,0 @@
import{i as c,r as g,e as h,a as w,b as u}from"./index-B6fu-u6K.js";import{n as d,c as x}from"./if-defined-D6swbWyQ.js";import"./index-DUZ-8KUm.js";import"./index-DmDFCnkv.js";import"./index-Bl7lS5oY.js";const m=c`
:host {
display: block;
}
:host > button,
:host > wui-flex {
gap: var(--wui-spacing-xxs);
padding: var(--wui-spacing-xs);
padding-right: var(--wui-spacing-1xs);
height: 40px;
border-radius: var(--wui-border-radius-l);
background: var(--wui-color-gray-glass-002);
border-width: 0px;
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-002);
}
:host > button wui-image {
width: 24px;
height: 24px;
border-radius: var(--wui-border-radius-s);
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-010);
}
`;var l=function(o,t,r,s){var n=arguments.length,e=n<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,r):s,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,t,r,s);else for(var p=o.length-1;p>=0;p--)(a=o[p])&&(e=(n<3?a(e):n>3?a(t,r,e):a(t,r))||e);return n>3&&e&&Object.defineProperty(t,r,e),e};let i=class extends w{constructor(){super(...arguments),this.text="",this.loading=!1}render(){return this.loading?u` <wui-flex alignItems="center" gap="xxs" padding="xs">
<wui-shimmer width="24px" height="24px"></wui-shimmer>
<wui-shimmer width="40px" height="20px" borderRadius="4xs"></wui-shimmer>
</wui-flex>`:u`
<button>
${this.tokenTemplate()}
<wui-text variant="paragraph-600" color="fg-100">${this.text}</wui-text>
</button>
`}tokenTemplate(){return this.imageSrc?u`<wui-image src=${this.imageSrc}></wui-image>`:u`
<wui-icon-box
size="sm"
iconColor="fg-200"
backgroundColor="fg-300"
icon="networkPlaceholder"
></wui-icon-box>
`}};i.styles=[g,h,m];l([d()],i.prototype,"imageSrc",void 0);l([d()],i.prototype,"text",void 0);l([d({type:Boolean})],i.prototype,"loading",void 0);i=l([x("wui-token-button")],i);

View File

@ -1,263 +0,0 @@
import{i as v,r as b,e as p,a as w,b as d}from"./index-B6fu-u6K.js";import{n as r,c as h}from"./if-defined-D6swbWyQ.js";import"./index-BqLefJXm.js";const x=v`
:host {
width: var(--local-width);
position: relative;
}
button {
border: none;
border-radius: var(--local-border-radius);
width: var(--local-width);
white-space: nowrap;
}
/* -- Sizes --------------------------------------------------- */
button[data-size='xs'] {
padding: var(--wui-spacing-3xs) var(--wui-spacing-s) var(--wui-spacing-3xs) var(--wui-spacing-s);
height: 24px;
}
button[data-size='xs'][data-icon-left='true'][data-icon-right='false'] {
padding: var(--wui-spacing-3xs) var(--wui-spacing-s) var(--wui-spacing-3xs) var(--wui-spacing-s);
}
button[data-size='xs'][data-icon-right='true'][data-icon-left='false'] {
padding: var(--wui-spacing-3xs) var(--wui-spacing-s) var(--wui-spacing-3xs) var(--wui-spacing-s);
}
button[data-size='sm'] {
padding: 7.2px var(--wui-spacing-s) 7.2px var(--wui-spacing-s);
height: 32px;
}
button[data-size='sm'][data-icon-left='true'][data-icon-right='false'] {
padding: 7.2px var(--wui-spacing-s) 7.2px var(--wui-spacing-s);
}
button[data-size='sm'][data-icon-right='true'][data-icon-left='false'] {
padding: 7.2px var(--wui-spacing-s) 7.2px var(--wui-spacing-s);
}
button[data-size='md'] {
padding: 8.2px var(--wui-spacing-l) 9px var(--wui-spacing-l);
height: 36px;
}
button[data-size='md'][data-icon-left='true'][data-icon-right='false'] {
padding: 8.2px var(--wui-spacing-l) 9px var(--wui-spacing-s);
}
button[data-size='md'][data-icon-right='true'][data-icon-left='false'] {
padding: 8.2px var(--wui-spacing-s) 9px var(--wui-spacing-l);
}
button[data-size='lg'] {
padding: var(--wui-spacing-m) var(--wui-spacing-2l);
height: 48px;
}
/* -- Variants --------------------------------------------------------- */
button[data-variant='main'] {
background-color: var(--wui-color-accent-100);
color: var(--wui-color-inverse-100);
border: none;
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-010);
}
button[data-variant='inverse'] {
background-color: var(--wui-color-inverse-100);
color: var(--wui-color-inverse-000);
border: none;
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-010);
}
button[data-variant='accent'] {
background-color: var(--wui-color-accent-glass-010);
color: var(--wui-color-accent-100);
border: none;
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-005);
}
button[data-variant='accent-error'] {
background: var(--wui-color-error-glass-015);
color: var(--wui-color-error-100);
border: none;
box-shadow: inset 0 0 0 1px var(--wui-color-error-glass-010);
}
button[data-variant='accent-success'] {
background: var(--wui-color-success-glass-015);
color: var(--wui-color-success-100);
border: none;
box-shadow: inset 0 0 0 1px var(--wui-color-success-glass-010);
}
button[data-variant='neutral'] {
background: transparent;
color: var(--wui-color-fg-100);
border: none;
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-005);
}
button[data-variant='shade'] {
background: var(--wui-color-gray-glass-002);
color: var(--wui-color-fg-200);
border: none;
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-005);
}
/* -- Focus states --------------------------------------------------- */
button[data-variant='main']:focus-visible:enabled {
background-color: var(--wui-color-accent-090);
box-shadow:
inset 0 0 0 1px var(--wui-color-accent-100),
0 0 0 4px var(--wui-color-accent-glass-020);
}
button[data-variant='inverse']:focus-visible:enabled {
background-color: var(--wui-color-inverse-100);
box-shadow:
inset 0 0 0 1px var(--wui-color-gray-glass-010),
0 0 0 4px var(--wui-color-accent-glass-020);
}
button[data-variant='accent']:focus-visible:enabled {
background-color: var(--wui-color-accent-glass-010);
box-shadow:
inset 0 0 0 1px var(--wui-color-accent-100),
0 0 0 4px var(--wui-color-accent-glass-020);
}
button[data-variant='accent-error']:focus-visible:enabled {
background: var(--wui-color-error-glass-015);
box-shadow:
inset 0 0 0 1px var(--wui-color-error-100),
0 0 0 4px var(--wui-color-error-glass-020);
}
button[data-variant='accent-success']:focus-visible:enabled {
background: var(--wui-color-success-glass-015);
box-shadow:
inset 0 0 0 1px var(--wui-color-success-100),
0 0 0 4px var(--wui-color-success-glass-020);
}
button[data-variant='neutral']:focus-visible:enabled {
background: var(--wui-color-gray-glass-005);
box-shadow:
inset 0 0 0 1px var(--wui-color-gray-glass-010),
0 0 0 4px var(--wui-color-gray-glass-002);
}
button[data-variant='shade']:focus-visible:enabled {
background: var(--wui-color-gray-glass-005);
box-shadow:
inset 0 0 0 1px var(--wui-color-gray-glass-010),
0 0 0 4px var(--wui-color-gray-glass-002);
}
/* -- Hover & Active states ----------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
button[data-variant='main']:hover:enabled {
background-color: var(--wui-color-accent-090);
}
button[data-variant='main']:active:enabled {
background-color: var(--wui-color-accent-080);
}
button[data-variant='accent']:hover:enabled {
background-color: var(--wui-color-accent-glass-015);
}
button[data-variant='accent']:active:enabled {
background-color: var(--wui-color-accent-glass-020);
}
button[data-variant='accent-error']:hover:enabled {
background: var(--wui-color-error-glass-020);
color: var(--wui-color-error-100);
}
button[data-variant='accent-error']:active:enabled {
background: var(--wui-color-error-glass-030);
color: var(--wui-color-error-100);
}
button[data-variant='accent-success']:hover:enabled {
background: var(--wui-color-success-glass-020);
color: var(--wui-color-success-100);
}
button[data-variant='accent-success']:active:enabled {
background: var(--wui-color-success-glass-030);
color: var(--wui-color-success-100);
}
button[data-variant='neutral']:hover:enabled {
background: var(--wui-color-gray-glass-002);
}
button[data-variant='neutral']:active:enabled {
background: var(--wui-color-gray-glass-005);
}
button[data-size='lg'][data-icon-left='true'][data-icon-right='false'] {
padding-left: var(--wui-spacing-m);
}
button[data-size='lg'][data-icon-right='true'][data-icon-left='false'] {
padding-right: var(--wui-spacing-m);
}
button[data-variant='shade']:hover:enabled {
background: var(--wui-color-gray-glass-002);
}
button[data-variant='shade']:active:enabled {
background: var(--wui-color-gray-glass-005);
}
}
/* -- Disabled state --------------------------------------------------- */
button:disabled {
background-color: var(--wui-color-gray-glass-002);
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-002);
color: var(--wui-color-gray-glass-020);
cursor: not-allowed;
}
button > wui-text {
transition: opacity var(--wui-ease-out-power-1) var(--wui-duration-md);
will-change: opacity;
opacity: var(--local-opacity-100);
}
::slotted(*) {
transition: opacity var(--wui-ease-out-power-1) var(--wui-duration-md);
will-change: opacity;
opacity: var(--local-opacity-100);
}
wui-loading-spinner {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
opacity: var(--local-opacity-000);
}
`;var t=function(e,o,s,n){var c=arguments.length,i=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,s):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,s,n);else for(var u=e.length-1;u>=0;u--)(l=e[u])&&(i=(c<3?l(i):c>3?l(o,s,i):l(o,s))||i);return c>3&&i&&Object.defineProperty(o,s,i),i};const g={main:"inverse-100",inverse:"inverse-000",accent:"accent-100","accent-error":"error-100","accent-success":"success-100",neutral:"fg-100",disabled:"gray-glass-020",shade:"fg-100"},f={lg:"paragraph-600",md:"small-600",sm:"small-600",xs:"tiny-600"},y={lg:"md",md:"md",sm:"sm",xs:"sm"};let a=class extends w{constructor(){super(...arguments),this.size="lg",this.disabled=!1,this.fullWidth=!1,this.loading=!1,this.variant="main",this.hasIconLeft=!1,this.hasIconRight=!1,this.borderRadius="m"}render(){this.style.cssText=`
--local-width: ${this.fullWidth?"100%":"auto"};
--local-opacity-100: ${this.loading?0:1};
--local-opacity-000: ${this.loading?1:0};
--local-border-radius: var(--wui-border-radius-${this.borderRadius});
`;const o=this.textVariant??f[this.size];return d`
<button
data-variant=${this.variant}
data-icon-left=${this.hasIconLeft}
data-icon-right=${this.hasIconRight}
data-size=${this.size}
?disabled=${this.disabled}
>
${this.loadingTemplate()}
<slot name="iconLeft" @slotchange=${()=>this.handleSlotLeftChange()}></slot>
<wui-text variant=${o} color="inherit">
<slot></slot>
</wui-text>
<slot name="iconRight" @slotchange=${()=>this.handleSlotRightChange()}></slot>
</button>
`}handleSlotLeftChange(){this.hasIconLeft=!0}handleSlotRightChange(){this.hasIconRight=!0}loadingTemplate(){if(this.loading){const o=y[this.size],s=this.disabled?g.disabled:g[this.variant];return d`<wui-loading-spinner color=${s} size=${o}></wui-loading-spinner>`}return d``}};a.styles=[b,p,x];t([r()],a.prototype,"size",void 0);t([r({type:Boolean})],a.prototype,"disabled",void 0);t([r({type:Boolean})],a.prototype,"fullWidth",void 0);t([r({type:Boolean})],a.prototype,"loading",void 0);t([r()],a.prototype,"variant",void 0);t([r({type:Boolean})],a.prototype,"hasIconLeft",void 0);t([r({type:Boolean})],a.prototype,"hasIconRight",void 0);t([r()],a.prototype,"borderRadius",void 0);t([r()],a.prototype,"textVariant",void 0);a=t([h("wui-button")],a);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,22 +0,0 @@
import{i as c,r as m,a as f,b as d}from"./index-B6fu-u6K.js";import{n as u,c as v,o as b}from"./if-defined-D6swbWyQ.js";import"./index-CS6mdpde.js";const w=c`
:host {
position: relative;
display: inline-block;
}
wui-text {
margin: var(--wui-spacing-xxs) var(--wui-spacing-m) var(--wui-spacing-0) var(--wui-spacing-m);
}
`;var a=function(o,i,r,n){var s=arguments.length,e=s<3?i:n===null?n=Object.getOwnPropertyDescriptor(i,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,i,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(e=(s<3?l(e):s>3?l(i,r,e):l(i,r))||e);return s>3&&e&&Object.defineProperty(i,r,e),e};let t=class extends f{constructor(){super(...arguments),this.disabled=!1}render(){return d`
<wui-input-text
type="email"
placeholder="Email"
icon="mail"
size="mdl"
.disabled=${this.disabled}
.value=${this.value}
data-testid="wui-email-input"
tabIdx=${b(this.tabIdx)}
></wui-input-text>
${this.templateError()}
`}templateError(){return this.errorMessage?d`<wui-text variant="tiny-500" color="error-100">${this.errorMessage}</wui-text>`:null}};t.styles=[m,w];a([u()],t.prototype,"errorMessage",void 0);a([u({type:Boolean})],t.prototype,"disabled",void 0);a([u()],t.prototype,"value",void 0);a([u()],t.prototype,"tabIdx",void 0);t=a([v("wui-email-input")],t);

View File

@ -1,138 +0,0 @@
import{i as v,r as $,e as C,a as b,b as l,z as g,R,p as T,h as S,S as O}from"./index-B6fu-u6K.js";import{n as h,c as x,r as d,U as E}from"./if-defined-D6swbWyQ.js";import"./index-BEFi7f_e.js";import"./index-BqLefJXm.js";const L=v`
:host {
position: relative;
display: inline-block;
}
input {
width: 50px;
height: 50px;
background: var(--wui-color-gray-glass-010);
border-radius: var(--wui-border-radius-xs);
border: 1px solid var(--wui-color-gray-glass-005);
font-family: var(--wui-font-family);
font-size: var(--wui-font-size-large);
font-weight: var(--wui-font-weight-regular);
letter-spacing: var(--wui-letter-spacing-large);
text-align: center;
color: var(--wui-color-fg-100);
caret-color: var(--wui-color-accent-100);
transition:
background-color var(--wui-ease-inout-power-1) var(--wui-duration-md),
border-color var(--wui-ease-inout-power-1) var(--wui-duration-md),
box-shadow var(--wui-ease-inout-power-1) var(--wui-duration-md);
will-change: background-color, border-color, box-shadow;
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: textfield;
padding: 0px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type='number'] {
-moz-appearance: textfield;
}
input:disabled {
cursor: not-allowed;
border: 1px solid var(--wui-color-gray-glass-010);
background: var(--wui-color-gray-glass-005);
}
input:focus:enabled {
background-color: var(--wui-color-gray-glass-015);
border: 1px solid var(--wui-color-accent-100);
-webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);
-moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);
box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);
}
@media (hover: hover) and (pointer: fine) {
input:hover:enabled {
background-color: var(--wui-color-gray-glass-015);
}
}
`;var y=function(a,t,e,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(a,t,e,i);else for(var s=a.length-1;s>=0;s--)(r=a[s])&&(n=(o<3?r(n):o>3?r(t,e,n):r(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n};let c=class extends b{constructor(){super(...arguments),this.disabled=!1,this.value=""}render(){return l`<input
type="number"
maxlength="1"
inputmode="numeric"
autofocus
?disabled=${this.disabled}
value=${this.value}
/> `}};c.styles=[$,C,L];y([h({type:Boolean})],c.prototype,"disabled",void 0);y([h({type:String})],c.prototype,"value",void 0);c=y([x("wui-input-numeric")],c);const P=v`
:host {
position: relative;
display: block;
}
`;var m=function(a,t,e,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(a,t,e,i);else for(var s=a.length-1;s>=0;s--)(r=a[s])&&(n=(o<3?r(n):o>3?r(t,e,n):r(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n};let p=class extends b{constructor(){super(...arguments),this.length=6,this.otp="",this.values=Array.from({length:this.length}).map(()=>""),this.numerics=[],this.shouldInputBeEnabled=t=>this.values.slice(0,t).every(i=>i!==""),this.handleKeyDown=(t,e)=>{const i=t.target,o=this.getInputElement(i),n=["ArrowLeft","ArrowRight","Shift","Delete"];if(!o)return;n.includes(t.key)&&t.preventDefault();const r=o.selectionStart;switch(t.key){case"ArrowLeft":r&&o.setSelectionRange(r+1,r+1),this.focusInputField("prev",e);break;case"ArrowRight":this.focusInputField("next",e);break;case"Shift":this.focusInputField("next",e);break;case"Delete":o.value===""?this.focusInputField("prev",e):this.updateInput(o,e,"");break;case"Backspace":o.value===""?this.focusInputField("prev",e):this.updateInput(o,e,"");break}},this.focusInputField=(t,e)=>{if(t==="next"){const i=e+1;if(!this.shouldInputBeEnabled(i))return;const o=this.numerics[i<this.length?i:e],n=o?this.getInputElement(o):void 0;n&&(n.disabled=!1,n.focus())}if(t==="prev"){const i=e-1,o=this.numerics[i>-1?i:e],n=o?this.getInputElement(o):void 0;n&&n.focus()}}}firstUpdated(){var e,i;this.otp&&(this.values=this.otp.split(""));const t=(e=this.shadowRoot)==null?void 0:e.querySelectorAll("wui-input-numeric");t&&(this.numerics=Array.from(t)),(i=this.numerics[0])==null||i.focus()}render(){return l`
<wui-flex gap="xxs" data-testid="wui-otp-input">
${Array.from({length:this.length}).map((t,e)=>l`
<wui-input-numeric
@input=${i=>this.handleInput(i,e)}
@click=${i=>this.selectInput(i)}
@keydown=${i=>this.handleKeyDown(i,e)}
.disabled=${!this.shouldInputBeEnabled(e)}
.value=${this.values[e]||""}
>
</wui-input-numeric>
`)}
</wui-flex>
`}updateInput(t,e,i){const o=this.numerics[e],n=t||(o?this.getInputElement(o):void 0);n&&(n.value=i,this.values=this.values.map((r,s)=>s===e?i:r))}selectInput(t){const e=t.target;if(e){const i=this.getInputElement(e);i==null||i.select()}}handleInput(t,e){const i=t.target,o=this.getInputElement(i);if(o){const n=o.value;t.inputType==="insertFromPaste"?this.handlePaste(o,n,e):E.isNumber(n)&&t.data?(this.updateInput(o,e,t.data),this.focusInputField("next",e)):this.updateInput(o,e,"")}this.dispatchInputChangeEvent()}handlePaste(t,e,i){const o=e[0];if(o&&E.isNumber(o)){this.updateInput(t,i,o);const r=e.substring(1);if(i+1<this.length&&r.length){const s=this.numerics[i+1],I=s?this.getInputElement(s):void 0;I&&this.handlePaste(I,r,i+1)}else this.focusInputField("next",i)}else this.updateInput(t,i,"")}getInputElement(t){var e;return(e=t.shadowRoot)!=null&&e.querySelector("input")?t.shadowRoot.querySelector("input"):null}dispatchInputChangeEvent(){const t=this.values.join("");this.dispatchEvent(new CustomEvent("inputChange",{detail:t,bubbles:!0,composed:!0}))}};p.styles=[$,P];m([h({type:Number})],p.prototype,"length",void 0);m([h({type:String})],p.prototype,"otp",void 0);m([d()],p.prototype,"values",void 0);p=m([x("wui-otp")],p);const k=v`
wui-loading-spinner {
margin: 9px auto;
}
.email-display,
.email-display wui-text {
max-width: 100%;
}
`;var f=function(a,t,e,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(a,t,e,i);else for(var s=a.length-1;s>=0;s--)(r=a[s])&&(n=(o<3?r(n):o>3?r(t,e,n):r(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},w;let u=w=class extends b{firstUpdated(){this.startOTPTimeout()}disconnectedCallback(){clearTimeout(this.OTPTimeout)}constructor(){var t;super(),this.loading=!1,this.timeoutTimeLeft=g.getTimeToNextEmailLogin(),this.error="",this.otp="",this.email=(t=R.state.data)==null?void 0:t.email,this.authConnector=T.getAuthConnector()}render(){if(!this.email)throw new Error("w3m-email-otp-widget: No email provided");const t=!!this.timeoutTimeLeft,e=this.getFooterLabels(t);return l`
<wui-flex
flexDirection="column"
alignItems="center"
.padding=${["l","0","l","0"]}
gap="l"
>
<wui-flex
class="email-display"
flexDirection="column"
alignItems="center"
.padding=${["0","xl","0","xl"]}
>
<wui-text variant="paragraph-400" color="fg-100" align="center">
Enter the code we sent to
</wui-text>
<wui-text variant="paragraph-500" color="fg-100" lineClamp="1" align="center">
${this.email}
</wui-text>
</wui-flex>
<wui-text variant="small-400" color="fg-200">The code expires in 20 minutes</wui-text>
${this.loading?l`<wui-loading-spinner size="xl" color="accent-100"></wui-loading-spinner>`:l` <wui-flex flexDirection="column" alignItems="center" gap="xs">
<wui-otp
dissabled
length="6"
@inputChange=${this.onOtpInputChange.bind(this)}
.otp=${this.otp}
></wui-otp>
${this.error?l`
<wui-text variant="small-400" align="center" color="error-100">
${this.error}. Try Again
</wui-text>
`:null}
</wui-flex>`}
<wui-flex alignItems="center" gap="xs">
<wui-text variant="small-400" color="fg-200">${e.title}</wui-text>
<wui-link @click=${this.onResendCode.bind(this)} .disabled=${t}>
${e.action}
</wui-link>
</wui-flex>
</wui-flex>
`}startOTPTimeout(){this.timeoutTimeLeft=g.getTimeToNextEmailLogin(),this.OTPTimeout=setInterval(()=>{this.timeoutTimeLeft>0?this.timeoutTimeLeft=g.getTimeToNextEmailLogin():clearInterval(this.OTPTimeout)},1e3)}async onOtpInputChange(t){var e;try{this.loading||(this.otp=t.detail,this.shouldSubmitOnOtpChange()&&(this.loading=!0,await((e=this.onOtpSubmit)==null?void 0:e.call(this,this.otp))))}catch(i){this.error=S.parseError(i),this.loading=!1}}async onResendCode(){try{if(this.onOtpResend){if(!this.loading&&!this.timeoutTimeLeft){if(this.error="",this.otp="",!T.getAuthConnector()||!this.email)throw new Error("w3m-email-otp-widget: Unable to resend email");this.loading=!0,await this.onOtpResend(this.email),this.startOTPTimeout(),O.showSuccess("Code email resent")}}else this.onStartOver&&this.onStartOver()}catch(t){O.showError(t)}finally{this.loading=!1}}getFooterLabels(t){return this.onStartOver?{title:"Something wrong?",action:`Try again ${t?`in ${this.timeoutTimeLeft}s`:""}`}:{title:"Didn't receive it?",action:`Resend ${t?`in ${this.timeoutTimeLeft}s`:"Code"}`}}shouldSubmitOnOtpChange(){return this.authConnector&&this.otp.length===w.OTP_LENGTH}};u.OTP_LENGTH=6;u.styles=k;f([d()],u.prototype,"loading",void 0);f([d()],u.prototype,"timeoutTimeLeft",void 0);f([d()],u.prototype,"error",void 0);u=w=f([x("w3m-email-otp-widget")],u);export{u as W};

View File

@ -1,27 +0,0 @@
import{i as d,r as p,v as u,a as b,b as f}from"./index-B6fu-u6K.js";import{n as h,c as m}from"./if-defined-D6swbWyQ.js";const v=d`
:host {
display: block;
width: var(--local-width);
height: var(--local-height);
}
:host([data-object-fit='cover']) img {
object-fit: cover;
object-position: center center;
}
:host([data-object-fit='contain']) img {
object-fit: contain;
object-position: center center;
}
img {
display: block;
width: 100%;
height: 100%;
border-radius: inherit;
}
`;var r=function(s,i,o,c){var n=arguments.length,t=n<3?i:c===null?c=Object.getOwnPropertyDescriptor(i,o):c,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(s,i,o,c);else for(var l=s.length-1;l>=0;l--)(a=s[l])&&(t=(n<3?a(t):n>3?a(i,o,t):a(i,o))||t);return n>3&&t&&Object.defineProperty(i,o,t),t};let e=class extends b{constructor(){super(...arguments),this.src="./path/to/image.jpg",this.alt="Image",this.size=void 0,this.objectFit="cover"}render(){return this.objectFit&&(this.dataset.objectFit=this.objectFit),this.style.cssText=`
--local-width: ${this.size?`var(--wui-icon-size-${this.size});`:"100%"};
--local-height: ${this.size?`var(--wui-icon-size-${this.size});`:"100%"};
`,f`<img src=${this.src} alt=${this.alt} @error=${this.handleImageError} />`}handleImageError(){this.dispatchEvent(new CustomEvent("onLoadError",{bubbles:!0,composed:!0}))}};e.styles=[p,u,v];r([h()],e.prototype,"src",void 0);r([h()],e.prototype,"alt",void 0);r([h()],e.prototype,"size",void 0);r([h()],e.prototype,"objectFit",void 0);e=r([m("wui-image")],e);

File diff suppressed because one or more lines are too long

View File

@ -1,59 +0,0 @@
import{i as d,r as v,a as g,b as h}from"./index-B6fu-u6K.js";import{n as l,c as p}from"./if-defined-D6swbWyQ.js";const w=d`
:host {
display: flex;
justify-content: center;
align-items: center;
height: var(--wui-spacing-m);
padding: 0 var(--wui-spacing-3xs) !important;
border-radius: var(--wui-border-radius-5xs);
transition:
border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1),
background-color var(--wui-duration-lg) var(--wui-ease-out-power-1);
will-change: border-radius, background-color;
}
:host > wui-text {
transform: translateY(5%);
}
:host([data-variant='main']) {
background-color: var(--wui-color-accent-glass-015);
color: var(--wui-color-accent-100);
}
:host([data-variant='shade']) {
background-color: var(--wui-color-gray-glass-010);
color: var(--wui-color-fg-200);
}
:host([data-variant='success']) {
background-color: var(--wui-icon-box-bg-success-100);
color: var(--wui-color-success-100);
}
:host([data-variant='error']) {
background-color: var(--wui-icon-box-bg-error-100);
color: var(--wui-color-error-100);
}
:host([data-size='lg']) {
padding: 11px 5px !important;
}
:host([data-size='lg']) > wui-text {
transform: translateY(2%);
}
:host([data-size='xs']) {
height: var(--wui-spacing-2l);
padding: 0 var(--wui-spacing-3xs) !important;
}
:host([data-size='xs']) > wui-text {
transform: translateY(2%);
}
`;var u=function(o,t,a,e){var s=arguments.length,r=s<3?t:e===null?e=Object.getOwnPropertyDescriptor(t,a):e,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,t,a,e);else for(var c=o.length-1;c>=0;c--)(n=o[c])&&(r=(s<3?n(r):s>3?n(t,a,r):n(t,a))||r);return s>3&&r&&Object.defineProperty(t,a,r),r};let i=class extends g{constructor(){super(...arguments),this.variant="main",this.size="lg"}render(){this.dataset.variant=this.variant,this.dataset.size=this.size;const t=this.size==="md"||this.size==="xs"?"mini-700":"micro-700";return h`
<wui-text data-variant=${this.variant} variant=${t} color="inherit">
<slot></slot>
</wui-text>
`}};i.styles=[v,w];u([l()],i.prototype,"variant",void 0);u([l()],i.prototype,"size",void 0);i=u([p("wui-tag")],i);

View File

@ -1,45 +0,0 @@
import{i as d,a as b,b as g}from"./index-B6fu-u6K.js";import{n,c as h}from"./if-defined-D6swbWyQ.js";const p=d`
:host {
display: block;
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-005);
background: linear-gradient(
120deg,
var(--wui-color-bg-200) 5%,
var(--wui-color-bg-200) 48%,
var(--wui-color-bg-300) 55%,
var(--wui-color-bg-300) 60%,
var(--wui-color-bg-300) calc(60% + 10px),
var(--wui-color-bg-200) calc(60% + 12px),
var(--wui-color-bg-200) 100%
);
background-size: 250%;
animation: shimmer 3s linear infinite reverse;
}
:host([variant='light']) {
background: linear-gradient(
120deg,
var(--wui-color-bg-150) 5%,
var(--wui-color-bg-150) 48%,
var(--wui-color-bg-200) 55%,
var(--wui-color-bg-200) 60%,
var(--wui-color-bg-200) calc(60% + 10px),
var(--wui-color-bg-150) calc(60% + 12px),
var(--wui-color-bg-150) 100%
);
background-size: 250%;
}
@keyframes shimmer {
from {
background-position: -250% 0;
}
to {
background-position: 250% 0;
}
}
`;var t=function(a,i,e,c){var s=arguments.length,r=s<3?i:c===null?c=Object.getOwnPropertyDescriptor(i,e):c,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(a,i,e,c);else for(var u=a.length-1;u>=0;u--)(l=a[u])&&(r=(s<3?l(r):s>3?l(i,e,r):l(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};let o=class extends b{constructor(){super(...arguments),this.width="",this.height="",this.borderRadius="m",this.variant="default"}render(){return this.style.cssText=`
width: ${this.width};
height: ${this.height};
border-radius: ${`clamp(0px,var(--wui-border-radius-${this.borderRadius}), 40px)`};
`,g`<slot></slot>`}};o.styles=[p];t([n()],o.prototype,"width",void 0);t([n()],o.prototype,"height",void 0);t([n()],o.prototype,"borderRadius",void 0);t([n()],o.prototype,"variant",void 0);o=t([h("wui-shimmer")],o);

View File

@ -1,468 +0,0 @@
import{w as t,i as d,r as p,a as n,b as w}from"./index-B6fu-u6K.js";import{n as f,c as k}from"./if-defined-D6swbWyQ.js";const v=t`<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="64" height="64" fill="#F7931A"/>
<g clip-path="url(#clip0_1045_17)">
<path d="M63.0394 39.7409C58.7654 56.8839 41.4024 67.3169 24.2574 63.0419C7.11937 58.7679 -3.31363 41.4039 0.962367 24.2619C5.23437 7.11686 22.5974 -3.31714 39.7374 0.956863C56.8814 5.23086 67.3134 22.5969 63.0394 39.7409Z" fill="#F7931A"/>
<path d="M46.1092 27.4409C46.7462 23.1829 43.5042 20.8939 39.0712 19.3669L40.5092 13.5989L36.9982 12.7239L35.5982 18.3399C34.6752 18.1099 33.7272 17.8929 32.7852 17.6779L34.1952 12.0249L30.6862 11.1499L29.2472 16.9159C28.4832 16.7419 27.7332 16.5699 27.0052 16.3889L27.0092 16.3709L22.1672 15.1619L21.2332 18.9119C21.2332 18.9119 23.8382 19.5089 23.7832 19.5459C25.2052 19.9009 25.4622 20.8419 25.4192 21.5879L23.7812 28.1589C23.8792 28.1839 24.0062 28.2199 24.1462 28.2759C24.0292 28.2469 23.9042 28.2149 23.7752 28.1839L21.4792 37.3889C21.3052 37.8209 20.8642 38.4689 19.8702 38.2229C19.9052 38.2739 17.3182 37.5859 17.3182 37.5859L15.5752 41.6049L20.1442 42.7439C20.9942 42.9569 21.8272 43.1799 22.6472 43.3899L21.1942 49.2239L24.7012 50.0989L26.1402 44.3269C27.0982 44.5869 28.0282 44.8269 28.9382 45.0529L27.5042 50.7979L31.0152 51.6729L32.4682 45.8499C38.4552 46.9829 42.9572 46.5259 44.8522 41.1109C46.3792 36.7509 44.7762 34.2359 41.6262 32.5959C43.9202 32.0669 45.6482 30.5579 46.1092 27.4409ZM38.0872 38.6899C37.0022 43.0499 29.6612 40.6929 27.2812 40.1019L29.2092 32.3729C31.5892 32.9669 39.2212 34.1429 38.0872 38.6899ZM39.1732 27.3779C38.1832 31.3439 32.0732 29.3289 30.0912 28.8349L31.8392 21.8249C33.8212 22.3189 40.2042 23.2409 39.1732 27.3779Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_1045_17">
<rect width="64" height="64" fill="white"/>
</clipPath>
</defs>
</svg>
`,g=t`<svg fill="none" viewBox="0 0 60 60">
<rect width="60" height="60" fill="#1DC956" rx="30" />
<circle cx="30" cy="30" r="3" fill="#fff" />
<path
fill="#2BEE6C"
stroke="#fff"
stroke-width="2"
d="m45.32 17.9-.88-.42.88.42.02-.05c.1-.2.21-.44.26-.7l-.82-.15.82.16a2 2 0 0 0-.24-1.4c-.13-.23-.32-.42-.47-.57a8.42 8.42 0 0 1-.04-.04l-.04-.04a2.9 2.9 0 0 0-.56-.47l-.51.86.5-.86a2 2 0 0 0-1.4-.24c-.26.05-.5.16-.69.26l-.05.02-15.05 7.25-.1.05c-1.14.55-1.85.89-2.46 1.37a7 7 0 0 0-1.13 1.14c-.5.6-.83 1.32-1.38 2.45l-.05.11-7.25 15.05-.02.05c-.1.2-.21.43-.26.69a2 2 0 0 0 .24 1.4l.85-.5-.85.5c.13.23.32.42.47.57l.04.04.04.04c.15.15.34.34.56.47a2 2 0 0 0 1.41.24l-.2-.98.2.98c.25-.05.5-.17.69-.26l.05-.02-.42-.87.42.87 15.05-7.25.1-.05c1.14-.55 1.85-.89 2.46-1.38a7 7 0 0 0 1.13-1.13 12.87 12.87 0 0 0 1.43-2.56l7.25-15.05Z"
/>
<path
fill="#1DC956"
d="M33.38 32.72 30.7 29.3 15.86 44.14l.2.2a1 1 0 0 0 1.14.2l15.1-7.27a3 3 0 0 0 1.08-4.55Z"
/>
<path
fill="#86F999"
d="m26.62 27.28 2.67 3.43 14.85-14.85-.2-.2a1 1 0 0 0-1.14-.2l-15.1 7.27a3 3 0 0 0-1.08 4.55Z"
/>
<circle cx="30" cy="30" r="3" fill="#fff" transform="rotate(45 30 30)" />
<rect width="59" height="59" x=".5" y=".5" stroke="#062B2B" stroke-opacity=".1" rx="29.5" />
</svg> `,u=t`<svg viewBox="0 0 60 60" fill="none">
<g clip-path="url(#clip0_7734_50402)">
<path
d="M0 24.9C0 15.6485 0 11.0228 1.97053 7.56812C3.3015 5.23468 5.23468 3.3015 7.56812 1.97053C11.0228 0 15.6485 0 24.9 0H35.1C44.3514 0 48.9772 0 52.4319 1.97053C54.7653 3.3015 56.6985 5.23468 58.0295 7.56812C60 11.0228 60 15.6485 60 24.9V35.1C60 44.3514 60 48.9772 58.0295 52.4319C56.6985 54.7653 54.7653 56.6985 52.4319 58.0295C48.9772 60 44.3514 60 35.1 60H24.9C15.6485 60 11.0228 60 7.56812 58.0295C5.23468 56.6985 3.3015 54.7653 1.97053 52.4319C0 48.9772 0 44.3514 0 35.1V24.9Z"
fill="#EB8B47"
/>
<path
d="M0.5 24.9C0.5 20.2652 0.50047 16.8221 0.744315 14.105C0.987552 11.3946 1.46987 9.45504 2.40484 7.81585C3.69145 5.56019 5.56019 3.69145 7.81585 2.40484C9.45504 1.46987 11.3946 0.987552 14.105 0.744315C16.8221 0.50047 20.2652 0.5 24.9 0.5H35.1C39.7348 0.5 43.1779 0.50047 45.895 0.744315C48.6054 0.987552 50.545 1.46987 52.1841 2.40484C54.4398 3.69145 56.3086 5.56019 57.5952 7.81585C58.5301 9.45504 59.0124 11.3946 59.2557 14.105C59.4995 16.8221 59.5 20.2652 59.5 24.9V35.1C59.5 39.7348 59.4995 43.1779 59.2557 45.895C59.0124 48.6054 58.5301 50.545 57.5952 52.1841C56.3086 54.4398 54.4398 56.3086 52.1841 57.5952C50.545 58.5301 48.6054 59.0124 45.895 59.2557C43.1779 59.4995 39.7348 59.5 35.1 59.5H24.9C20.2652 59.5 16.8221 59.4995 14.105 59.2557C11.3946 59.0124 9.45504 58.5301 7.81585 57.5952C5.56019 56.3086 3.69145 54.4398 2.40484 52.1841C1.46987 50.545 0.987552 48.6054 0.744315 45.895C0.50047 43.1779 0.5 39.7348 0.5 35.1V24.9Z"
stroke="#062B2B"
stroke-opacity="0.1"
/>
<path
d="M19 52C24.5228 52 29 47.5228 29 42C29 36.4772 24.5228 32 19 32C13.4772 32 9 36.4772 9 42C9 47.5228 13.4772 52 19 52Z"
fill="#FF974C"
stroke="white"
stroke-width="2"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M42.8437 8.3264C42.4507 7.70891 41.5493 7.70891 41.1564 8.32641L28.978 27.4638C28.5544 28.1295 29.0326 29.0007 29.8217 29.0007H54.1783C54.9674 29.0007 55.4456 28.1295 55.022 27.4638L42.8437 8.3264Z"
fill="white"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M42.3348 11.6456C42.659 11.7608 42.9061 12.1492 43.4005 12.926L50.7332 24.4488C51.2952 25.332 51.5763 25.7737 51.5254 26.1382C51.4915 26.3808 51.3698 26.6026 51.1833 26.7614C50.9031 27 50.3796 27 49.3327 27H34.6673C33.6204 27 33.0969 27 32.8167 26.7614C32.6302 26.6026 32.5085 26.3808 32.4746 26.1382C32.4237 25.7737 32.7048 25.332 33.2669 24.4488L40.5995 12.926C41.0939 12.1492 41.341 11.7608 41.6652 11.6456C41.8818 11.5687 42.1182 11.5687 42.3348 11.6456ZM35.0001 26.999C38.8661 26.999 42.0001 23.865 42.0001 19.999C42.0001 23.865 45.1341 26.999 49.0001 26.999H35.0001Z"
fill="#FF974C"
/>
<path
d="M10.1061 9.35712C9.9973 9.67775 9.99867 10.0388 9.99978 10.3323C9.99989 10.3611 10 10.3893 10 10.4167V25.5833C10 25.6107 9.99989 25.6389 9.99978 25.6677C9.99867 25.9612 9.9973 26.3222 10.1061 26.6429C10.306 27.2317 10.7683 27.694 11.3571 27.8939C11.6777 28.0027 12.0388 28.0013 12.3323 28.0002C12.3611 28.0001 12.3893 28 12.4167 28H19C24.5228 28 29 23.5228 29 18C29 12.4772 24.5228 8 19 8H12.4167C12.3893 8 12.3611 7.99989 12.3323 7.99978C12.0388 7.99867 11.6778 7.9973 11.3571 8.10614C10.7683 8.306 10.306 8.76834 10.1061 9.35712Z"
fill="#FF974C"
stroke="white"
stroke-width="2"
/>
<circle cx="19" cy="18" r="4" fill="#EB8B47" stroke="white" stroke-width="2" />
<circle cx="19" cy="42" r="4" fill="#EB8B47" stroke="white" stroke-width="2" />
</g>
<defs>
<clipPath id="clip0_7734_50402">
<rect width="60" height="60" fill="white" />
</clipPath>
</defs>
</svg> `,M=t`<svg fill="none" viewBox="0 0 60 60">
<g clip-path="url(#a)">
<path
fill="#1DC956"
d="M0 25.01c0-9.25 0-13.88 1.97-17.33a15 15 0 0 1 5.6-5.6C11.02.11 15.65.11 24.9.11h10.2c9.25 0 13.88 0 17.33 1.97a15 15 0 0 1 5.6 5.6C60 11.13 60 15.76 60 25v10.2c0 9.25 0 13.88-1.97 17.33a15 15 0 0 1-5.6 5.6c-3.45 1.97-8.08 1.97-17.33 1.97H24.9c-9.25 0-13.88 0-17.33-1.97a15 15 0 0 1-5.6-5.6C0 49.1 0 44.46 0 35.21v-10.2Z"
/>
<path
fill="#2BEE6C"
d="M16.1 60c-3.82-.18-6.4-.64-8.53-1.86a15 15 0 0 1-5.6-5.6C.55 50.06.16 46.97.04 41.98L4.2 40.6a4 4 0 0 0 2.48-2.39l4.65-12.4a2 2 0 0 1 2.5-1.2l2.53.84a2 2 0 0 0 2.43-1l2.96-5.94a2 2 0 0 1 3.7.32l3.78 12.58a2 2 0 0 0 3.03 1.09l3.34-2.23a2 2 0 0 0 .65-.7l5.3-9.72a2 2 0 0 1 1.42-1.01l4.14-.69a2 2 0 0 1 1.6.44l3.9 3.24a2 2 0 0 0 2.7-.12l4.62-4.63c.08 2.2.08 4.8.08 7.93v10.2c0 9.25 0 13.88-1.97 17.33a15 15 0 0 1-5.6 5.6c-2.13 1.22-4.7 1.68-8.54 1.86H16.11Z"
/>
<path
fill="#fff"
d="m.07 43.03-.05-2.1 3.85-1.28a3 3 0 0 0 1.86-1.79l4.66-12.4a3 3 0 0 1 3.75-1.8l2.53.84a1 1 0 0 0 1.21-.5l2.97-5.94a3 3 0 0 1 5.56.48l3.77 12.58a1 1 0 0 0 1.51.55l3.34-2.23a1 1 0 0 0 .33-.35l5.3-9.71a3 3 0 0 1 2.14-1.53l4.13-.69a3 3 0 0 1 2.41.66l3.9 3.24a1 1 0 0 0 1.34-.06l5.28-5.28c.05.85.08 1.75.1 2.73L56 22.41a3 3 0 0 1-4.04.19l-3.9-3.25a1 1 0 0 0-.8-.21l-4.13.69a1 1 0 0 0-.72.5l-5.3 9.72a3 3 0 0 1-.97 1.05l-3.34 2.23a3 3 0 0 1-4.53-1.63l-3.78-12.58a1 1 0 0 0-1.85-.16l-2.97 5.94a3 3 0 0 1-3.63 1.5l-2.53-.84a1 1 0 0 0-1.25.6l-4.65 12.4a5 5 0 0 1-3.1 3L.07 43.02Z"
/>
<path
fill="#fff"
fill-rule="evenodd"
d="M49.5 19a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z"
clip-rule="evenodd"
/>
<path fill="#fff" d="M45 .28v59.66l-2 .1V.19c.7.02 1.37.05 2 .1Z" />
<path fill="#2BEE6C" d="M47.5 19a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z" />
<path
stroke="#fff"
stroke-opacity=".1"
d="M.5 25.01c0-4.63 0-8.08.24-10.8.25-2.7.73-4.64 1.66-6.28a14.5 14.5 0 0 1 5.42-5.41C9.46 1.58 11.39 1.1 14.1.85A133 133 0 0 1 24.9.61h10.2c4.63 0 8.08 0 10.8.24 2.7.25 4.65.73 6.28 1.67a14.5 14.5 0 0 1 5.42 5.4c.93 1.65 1.41 3.58 1.66 6.3.24 2.71.24 6.16.24 10.79v10.2c0 4.64 0 8.08-.24 10.8-.25 2.7-.73 4.65-1.66 6.28a14.5 14.5 0 0 1-5.42 5.42c-1.63.93-3.57 1.41-6.28 1.66-2.72.24-6.17.24-10.8.24H24.9c-4.63 0-8.08 0-10.8-.24-2.7-.25-4.64-.73-6.28-1.66a14.5 14.5 0 0 1-5.42-5.42C1.47 50.66 1 48.72.74 46.01A133 133 0 0 1 .5 35.2v-10.2Z"
/>
</g>
<defs>
<clipPath id="a"><path fill="#fff" d="M0 0h60v60H0z" /></clipPath>
</defs>
</svg>`,x=t`<svg fill="none" viewBox="0 0 60 60">
<g clip-path="url(#a)">
<rect width="60" height="60" fill="#C653C6" rx="30" />
<path
fill="#E87DE8"
d="M57.98.01v19.5a4.09 4.09 0 0 0-2.63 2.29L50.7 34.2a2 2 0 0 1-2.5 1.2l-2.53-.84a2 2 0 0 0-2.42 1l-2.97 5.94a2 2 0 0 1-3.7-.32L32.8 28.6a2 2 0 0 0-3.02-1.09l-3.35 2.23a2 2 0 0 0-.64.7l-5.3 9.72a2 2 0 0 1-1.43 1.01l-4.13.69a2 2 0 0 1-1.61-.44l-3.9-3.24a2 2 0 0 0-2.69.12L2.1 42.93.02 43V.01h57.96Z"
/>
<path
fill="#fff"
d="m61.95 16.94.05 2.1-3.85 1.28a3 3 0 0 0-1.86 1.79l-4.65 12.4a3 3 0 0 1-3.76 1.8l-2.53-.84a1 1 0 0 0-1.2.5l-2.98 5.94a3 3 0 0 1-5.55-.48l-3.78-12.58a1 1 0 0 0-1.5-.55l-3.35 2.23a1 1 0 0 0-.32.35l-5.3 9.72a3 3 0 0 1-2.14 1.52l-4.14.69a3 3 0 0 1-2.41-.66l-3.9-3.24a1 1 0 0 0-1.34.06l-5.28 5.28c-.05-.84-.08-1.75-.1-2.73l3.97-3.96a3 3 0 0 1 4.04-.19l3.89 3.25a1 1 0 0 0 .8.21l4.14-.68a1 1 0 0 0 .71-.51l5.3-9.71a3 3 0 0 1 .97-1.06l3.34-2.23a3 3 0 0 1 4.54 1.63l3.77 12.58a1 1 0 0 0 1.86.16l2.96-5.93a3 3 0 0 1 3.64-1.5l2.52.83a1 1 0 0 0 1.25-.6l4.66-12.4a5 5 0 0 1 3.1-2.99l4.43-1.48Z"
/>
<path
fill="#fff"
fill-rule="evenodd"
d="M35.5 27a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z"
clip-rule="evenodd"
/>
<path fill="#fff" d="M31 0v60h-2V0h2Z" />
<path fill="#E87DE8" d="M33.5 27a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z" />
</g>
<rect width="59" height="59" x=".5" y=".5" stroke="#fff" stroke-opacity=".1" rx="29.5" />
<defs>
<clipPath id="a"><rect width="60" height="60" fill="#fff" rx="30" /></clipPath>
</defs>
</svg> `,Z=t`<svg fill="none" viewBox="0 0 60 60">
<g clip-path="url(#a)">
<rect width="60" height="60" fill="#987DE8" rx="30" />
<path
fill="#fff"
fill-rule="evenodd"
d="m15.48 28.37 11.97-19.3a3 3 0 0 1 5.1 0l11.97 19.3a6 6 0 0 1 .9 3.14v.03a6 6 0 0 1-1.16 3.56L33.23 50.2a4 4 0 0 1-6.46 0L15.73 35.1a6 6 0 0 1-1.15-3.54v-.03a6 6 0 0 1 .9-3.16Z"
clip-rule="evenodd"
/>
<path
fill="#643CDD"
d="M30.84 10.11a1 1 0 0 0-.84-.46V24.5l12.6 5.53a2 2 0 0 0-.28-1.4L30.84 10.11Z"
/>
<path
fill="#BDADEB"
d="M30 9.65a1 1 0 0 0-.85.46L17.66 28.64a2 2 0 0 0-.26 1.39L30 24.5V9.65Z"
/>
<path
fill="#643CDD"
d="M30 50.54a1 1 0 0 0 .8-.4l11.24-15.38c.3-.44-.2-1-.66-.73l-9.89 5.68a3 3 0 0 1-1.5.4v10.43Z"
/>
<path
fill="#BDADEB"
d="m17.97 34.76 11.22 15.37c.2.28.5.41.8.41V40.11a3 3 0 0 1-1.49-.4l-9.88-5.68c-.47-.27-.97.3-.65.73Z"
/>
<path
fill="#401AB3"
d="M42.6 30.03 30 24.5v13.14a3 3 0 0 0 1.5-.4l10.14-5.83a2 2 0 0 0 .95-1.38Z"
/>
<path
fill="#7C5AE2"
d="M30 37.64V24.46l-12.6 5.57a2 2 0 0 0 .97 1.39l10.13 5.82a3 3 0 0 0 1.5.4Z"
/>
</g>
<rect width="59" height="59" x=".5" y=".5" stroke="#fff" stroke-opacity=".1" rx="29.5" />
<defs>
<clipPath id="a"><rect width="60" height="60" fill="#fff" rx="30" /></clipPath>
</defs>
</svg> `,L=t`<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="64" height="64" rx="30" fill="#1DC956"/>
<rect x="0.5" y="0.5" width="63" height="63" rx="29.5" stroke="#141414" stroke-opacity="0.1"/>
<path d="M32.4053 19.8031C35.3901 19.8031 38.0431 20.8349 40.1619 22.8247L45.9656 17.0211C42.4465 13.7416 37.8773 11.7333 32.4053 11.7333C24.4829 11.7333 17.6475 16.2841 14.3127 22.9168L21.056 28.1493C22.6589 23.359 27.136 19.8031 32.4053 19.8031Z" fill="#1DC956" stroke="white" stroke-width="2" stroke-linejoin="round"/>
<path d="M32.4053 52.2667C37.8773 52.2667 42.465 50.4611 45.8182 47.3658L39.2407 42.2623C37.4351 43.4783 35.1321 44.2153 32.4053 44.2153C27.136 44.2153 22.6589 40.6594 21.056 35.8691L14.3127 41.1016C17.6475 47.7159 24.4829 52.2667 32.4053 52.2667Z" fill="#2BEE6C"/>
<path d="M21.056 35.8507L19.5636 36.993L14.3127 41.0832M39.2407 42.2623L45.8182 47.3658C42.465 50.4611 37.8773 52.2667 32.4053 52.2667C24.4829 52.2667 17.6475 47.7159 14.3127 41.1016L21.056 35.8691C22.6589 40.6594 27.136 44.2153 32.4053 44.2153C35.1321 44.2153 37.4351 43.4783 39.2407 42.2623Z" stroke="white" stroke-width="2" stroke-linejoin="round"/>
<path d="M51.8613 32.4606C51.8613 31.0235 51.7323 29.6417 51.4928 28.3151H32.4053V36.1638H43.3124C42.8334 38.688 41.3963 40.8252 39.2407 42.2623L45.8181 47.3658C49.6503 43.8283 51.8613 38.6327 51.8613 32.4606Z" fill="#1FAD7E" stroke="white" stroke-width="2" stroke-linejoin="round"/>
<path d="M21.056 35.8507C20.6507 34.6347 20.4111 33.345 20.4111 32C20.4111 30.655 20.6507 29.3653 21.056 28.1493L14.3127 22.9169C12.9309 25.6437 12.1387 28.7205 12.1387 32C12.1387 35.2795 12.9309 38.3564 14.3127 41.0831L19.5636 36.993L21.056 35.8507Z" fill="#86F999"/>
<path d="M21.056 35.8691L14.3127 41.1016M21.056 35.8507C20.6507 34.6347 20.4111 33.345 20.4111 32C20.4111 30.655 20.6507 29.3653 21.056 28.1493L14.3127 22.9169C12.9309 25.6437 12.1387 28.7205 12.1387 32C12.1387 35.2795 12.9309 38.3564 14.3127 41.0831L19.5636 36.993L21.056 35.8507Z" stroke="white" stroke-width="2" stroke-linejoin="round"/>
</svg>
`,E=t`<svg fill="none" viewBox="0 0 60 60">
<rect width="60" height="60" fill="#1DC956" rx="3" />
<path
fill="#1FAD7E"
stroke="#fff"
stroke-width="2"
d="m30.49 29.13-.49-.27-.49.27-12.77 7.1-.05.02c-.86.48-1.58.88-2.1 1.24-.54.37-1.04.81-1.28 1.45a3 3 0 0 0 0 2.12c.24.63.74 1.08 1.27 1.45.53.36 1.25.76 2.11 1.24l.05.03 6.33 3.51.17.1c2.33 1.3 3.72 2.06 5.22 2.32a9 9 0 0 0 3.08 0c1.5-.26 2.9-1.03 5.22-2.32l.18-.1 6.32-3.51.05-.03a26.9 26.9 0 0 0 2.1-1.24 3.21 3.21 0 0 0 1.28-1.45l-.94-.35.94.35a3 3 0 0 0 0-2.12l-.94.35.94-.35a3.21 3.21 0 0 0-1.27-1.45c-.53-.36-1.25-.76-2.11-1.24l-.05-.03-12.77-7.1Z"
/>
<path
fill="#2BEE6C"
stroke="#fff"
stroke-width="2"
d="m30.49 19.13-.49-.27-.49.27-12.77 7.1-.05.02c-.86.48-1.58.88-2.1 1.24-.54.37-1.04.81-1.28 1.45a3 3 0 0 0 0 2.12c.24.63.74 1.08 1.27 1.45.53.36 1.25.76 2.11 1.24l.05.03 6.33 3.51.17.1c2.33 1.3 3.72 2.06 5.22 2.32a9 9 0 0 0 3.08 0c1.5-.26 2.9-1.03 5.22-2.32l.18-.1 6.32-3.51.05-.03a26.9 26.9 0 0 0 2.1-1.24 3.21 3.21 0 0 0 1.28-1.45l-.94-.35.94.35a3 3 0 0 0 0-2.12l-.94.35.94-.35a3.21 3.21 0 0 0-1.27-1.45c-.53-.36-1.25-.76-2.11-1.24l-.05-.03-12.77-7.1Z"
/>
<path
fill="#86F999"
stroke="#fff"
stroke-width="2"
d="m46.69 21.06-.94-.35.94.35a3 3 0 0 0 0-2.12l-.94.35.94-.35a3.21 3.21 0 0 0-1.27-1.45c-.53-.36-1.25-.76-2.11-1.24l-.05-.03-6.32-3.51-.18-.1c-2.33-1.3-3.72-2.06-5.22-2.33a9 9 0 0 0-3.08 0c-1.5.27-2.9 1.04-5.22 2.33l-.17.1-6.33 3.51-.05.03c-.86.48-1.58.88-2.1 1.24-.54.37-1.04.81-1.28 1.45a3 3 0 0 0 0 2.12c.24.63.74 1.08 1.27 1.45.53.36 1.25.76 2.11 1.24l.05.03 6.33 3.51.17.1c2.33 1.3 3.72 2.06 5.22 2.32a9 9 0 0 0 3.08 0c1.5-.26 2.9-1.03 5.22-2.32l.18-.1 6.32-3.51.05-.03a26.9 26.9 0 0 0 2.1-1.24 3.21 3.21 0 0 0 1.28-1.45Z"
/>
<rect width="59" height="59" x=".5" y=".5" stroke="#fff" stroke-opacity=".1" rx="2.5" />
</svg>`,V=t`<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_241_31636)">
<path d="M0 26.5595C0 16.6913 0 11.7572 2.1019 8.07217C3.5216 5.58318 5.58366 3.52111 8.07266 2.10141C11.7577 -0.000488281 16.6918 -0.000488281 26.56 -0.000488281H37.44C47.3082 -0.000488281 52.2423 -0.000488281 55.9273 2.10141C58.4163 3.52111 60.4784 5.58318 61.8981 8.07217C64 11.7572 64 16.6913 64 26.5595V37.4395C64 47.3077 64 52.2418 61.8981 55.9269C60.4784 58.4159 58.4163 60.4779 55.9273 61.8976C52.2423 63.9995 47.3082 63.9995 37.44 63.9995H26.56C16.6918 63.9995 11.7577 63.9995 8.07266 61.8976C5.58366 60.4779 3.5216 58.4159 2.1019 55.9269C0 52.2418 0 47.3077 0 37.4395V26.5595Z" fill="#794CFF"/>
<path d="M0.5 26.5595C0.5 21.6163 0.50047 17.942 0.760736 15.0418C1.02039 12.1485 1.53555 10.0742 2.53621 8.3199C3.91155 5.90869 5.90917 3.91106 8.32039 2.53572C10.0747 1.53506 12.1489 1.01991 15.0423 0.760247C17.9425 0.499981 21.6168 0.499512 26.56 0.499512H37.44C42.3832 0.499512 46.0575 0.499981 48.9577 0.760247C51.8511 1.01991 53.9253 1.53506 55.6796 2.53572C58.0908 3.91106 60.0885 5.90869 61.4638 8.3199C62.4645 10.0742 62.9796 12.1485 63.2393 15.0418C63.4995 17.942 63.5 21.6163 63.5 26.5595V37.4395C63.5 42.3827 63.4995 46.057 63.2393 48.9572C62.9796 51.8506 62.4645 53.9248 61.4638 55.6791C60.0885 58.0903 58.0908 60.088 55.6796 61.4633C53.9253 62.464 51.8511 62.9791 48.9577 63.2388C46.0575 63.499 42.3832 63.4995 37.44 63.4995H26.56C21.6168 63.4995 17.9425 63.499 15.0423 63.2388C12.1489 62.9791 10.0747 62.464 8.32039 61.4633C5.90917 60.088 3.91155 58.0903 2.53621 55.6791C1.53555 53.9248 1.02039 51.8506 0.760736 48.9572C0.50047 46.057 0.5 42.3827 0.5 37.4395V26.5595Z" stroke="#141414" stroke-opacity="0.1"/>
<path d="M40 39.4595C44.7824 36.693 48 31.5222 48 25.6C48 16.7634 40.8366 9.59998 32 9.59998C23.1634 9.59998 16 16.7634 16 25.6C16 31.5222 19.2176 36.693 24 39.4595V45.8144H40V39.4595Z" fill="#906EF7"/>
<path d="M24 49.9689C24 51.8192 24 52.7444 24.3941 53.4353C24.6603 53.902 25.0469 54.2886 25.5136 54.5548C26.2046 54.9489 27.1297 54.9489 28.98 54.9489H35.02C36.8703 54.9489 37.7954 54.9489 38.4864 54.5548C38.9531 54.2886 39.3397 53.902 39.6059 53.4353C40 52.7444 40 51.8192 40 49.9689V45.8144H24V49.9689Z" fill="#906EF7"/>
<path d="M24 45.8144V39.4595C19.2176 36.693 16 31.5222 16 25.6C16 16.7634 23.1634 9.59998 32 9.59998C40.8366 9.59998 48 16.7634 48 25.6C48 31.5222 44.7824 36.693 40 39.4595V45.8144M24 45.8144H40M24 45.8144V49.9689C24 51.8192 24 52.7444 24.3941 53.4353C24.6603 53.902 25.0469 54.2886 25.5136 54.5548C26.2046 54.9489 27.1297 54.9489 28.98 54.9489H35.02C36.8703 54.9489 37.7954 54.9489 38.4864 54.5548C38.9531 54.2886 39.3397 53.902 39.6059 53.4353C40 52.7444 40 51.8192 40 49.9689V45.8144" stroke="white" stroke-width="2" stroke-linejoin="round"/>
<path d="M24 49.9689C24 51.8192 24 52.7444 24.3941 53.4353C24.6603 53.902 25.0469 54.2886 25.5136 54.5548C26.2046 54.9489 27.1297 54.9489 28.98 54.9489H35.02C36.8703 54.9489 37.7954 54.9489 38.4864 54.5548C38.9531 54.2886 39.3397 53.902 39.6059 53.4353C40 52.7444 40 51.8192 40 49.9689V45.8144H24V49.9689Z" fill="#643CDD" stroke="white" stroke-width="2" stroke-linejoin="round"/>
<path d="M29.6735 26.9101V29.1109H34.0753V26.9101C34.0753 25.6945 35.0607 24.7092 36.2762 24.7092C37.4917 24.7092 38.4771 25.6945 38.4771 26.9101C38.4771 28.1256 37.4917 29.1109 36.2762 29.1109H34.0753H29.6735H27.4726C26.2571 29.1109 25.2717 28.1256 25.2717 26.9101C25.2717 25.6945 26.2571 24.7092 27.4726 24.7092C28.6881 24.7092 29.6735 25.6945 29.6735 26.9101Z" fill="#906EF7"/>
<path d="M29.6735 45.3183V26.9101C29.6735 25.6945 28.6881 24.7092 27.4726 24.7092V24.7092C26.2571 24.7092 25.2717 25.6945 25.2717 26.9101V26.9101C25.2717 28.1256 26.2571 29.1109 27.4726 29.1109H36.2762C37.4917 29.1109 38.4771 28.1256 38.4771 26.9101V26.9101C38.4771 25.6945 37.4917 24.7092 36.2762 24.7092V24.7092C35.0607 24.7092 34.0753 25.6945 34.0753 26.9101V45.3183" stroke="white" stroke-width="2" stroke-linejoin="round"/>
</g>
<defs>
<clipPath id="clip0_241_31636">
<rect width="64" height="64" fill="white"/>
</clipPath>
</defs>
</svg>
`,y=t`<svg fill="none" viewBox="0 0 60 60">
<rect width="60" height="60" fill="#C653C6" rx="3" />
<path
fill="#fff"
d="M20.03 15.22C20 15.6 20 16.07 20 17v2.8c0 1.14 0 1.7-.2 2.12-.15.31-.3.5-.58.71-.37.28-1.06.42-2.43.7-.59.12-1.11.29-1.6.51a9 9 0 0 0-4.35 4.36C10 30 10 32.34 10 37c0 4.66 0 7 .84 8.8a9 9 0 0 0 4.36 4.36C17 51 19.34 51 24 51h12c4.66 0 7 0 8.8-.84a9 9 0 0 0 4.36-4.36C50 44 50 41.66 50 37c0-4.66 0-7-.84-8.8a9 9 0 0 0-4.36-4.36c-.48-.22-1-.39-1.6-.5-1.36-.29-2.05-.43-2.42-.7-.27-.22-.43-.4-.58-.72-.2-.42-.2-.98-.2-2.11V17c0-.93 0-1.4-.03-1.78a9 9 0 0 0-8.19-8.19C31.4 7 30.93 7 30 7s-1.4 0-1.78.03a9 9 0 0 0-8.19 8.19Z"
/>
<path
fill="#E87DE8"
d="M22 17c0-.93 0-1.4.04-1.78a7 7 0 0 1 6.18-6.18C28.6 9 29.07 9 30 9s1.4 0 1.78.04a7 7 0 0 1 6.18 6.18c.04.39.04.85.04 1.78v4.5a1.5 1.5 0 0 1-3 0V17c0-.93 0-1.4-.08-1.78a4 4 0 0 0-3.14-3.14C31.39 12 30.93 12 30 12s-1.4 0-1.78.08a4 4 0 0 0-3.14 3.14c-.08.39-.08.85-.08 1.78v4.5a1.5 1.5 0 0 1-3 0V17Z"
/>
<path
fill="#E87DE8"
fill-rule="evenodd"
d="M12 36.62c0-4.32 0-6.48.92-8.09a7 7 0 0 1 2.61-2.61C17.14 25 19.3 25 23.62 25h6.86c.46 0 .7 0 .9.02 2.73.22 4.37 2.43 4.62 4.98.27-2.7 2.11-5 5.02-5A6.98 6.98 0 0 1 48 31.98v5.4c0 4.32 0 6.48-.92 8.09a7 7 0 0 1-2.61 2.61c-1.61.92-3.77.92-8.09.92h-5.86c-.46 0-.7 0-.9-.02-2.73-.22-4.37-2.43-4.62-4.98-.26 2.58-1.94 4.82-4.71 4.99l-.7.01c-.55 0-.82 0-1.05-.02a7 7 0 0 1-6.52-6.52c-.02-.23-.02-.5-.02-1.05v-4.79Zm21.24-.27a4 4 0 1 0-6.48 0 31.28 31.28 0 0 1 1.57 2.23c.17.4.17.81.17 1.24V42.5a1.5 1.5 0 0 0 3 0V39.82c0-.43 0-.85.17-1.24.09-.2.58-.87 1.57-2.23Z"
clip-rule="evenodd"
/>
<rect width="59" height="59" x=".5" y=".5" stroke="#fff" stroke-opacity=".1" rx="2.5" />
</svg>`,B=t`<svg fill="none" viewBox="0 0 60 60">
<g clip-path="url(#a)">
<path
fill="#EB8B47"
d="M0 24.9c0-9.25 0-13.88 1.97-17.33a15 15 0 0 1 5.6-5.6C11.02 0 15.65 0 24.9 0h10.2c9.25 0 13.88 0 17.33 1.97a15 15 0 0 1 5.6 5.6C60 11.02 60 15.65 60 24.9v10.2c0 9.25 0 13.88-1.97 17.33a15 15 0 0 1-5.6 5.6C48.98 60 44.35 60 35.1 60H24.9c-9.25 0-13.88 0-17.33-1.97a15 15 0 0 1-5.6-5.6C0 48.98 0 44.35 0 35.1V24.9Z"
/>
<path
stroke="#062B2B"
stroke-opacity=".1"
d="M.5 24.9c0-4.64 0-8.08.24-10.8.25-2.7.73-4.65 1.66-6.28A14.5 14.5 0 0 1 7.82 2.4C9.46 1.47 11.39 1 14.1.74A133 133 0 0 1 24.9.5h10.2c4.63 0 8.08 0 10.8.24 2.7.25 4.65.73 6.28 1.66a14.5 14.5 0 0 1 5.42 5.42c.93 1.63 1.41 3.57 1.66 6.28.24 2.72.24 6.16.24 10.8v10.2c0 4.63 0 8.08-.24 10.8-.25 2.7-.73 4.64-1.66 6.28a14.5 14.5 0 0 1-5.42 5.41c-1.63.94-3.57 1.42-6.28 1.67-2.72.24-6.17.24-10.8.24H24.9c-4.63 0-8.08 0-10.8-.24-2.7-.25-4.64-.73-6.28-1.67a14.5 14.5 0 0 1-5.42-5.4C1.47 50.53 1 48.6.74 45.88A133 133 0 0 1 .5 35.1V24.9Z"
/>
<path
fill="#FF974C"
stroke="#fff"
stroke-width="2"
d="M39.2 29.2a13 13 0 1 0-18.4 0l1.3 1.28a12.82 12.82 0 0 1 2.1 2.39 6 6 0 0 1 .6 1.47c.2.76.2 1.56.2 3.17v11.24c0 1.08 0 1.61.13 2.12a4 4 0 0 0 .41.98c.26.45.64.83 1.4 1.6l.3.29c.65.65.98.98 1.36 1.09.26.07.54.07.8 0 .38-.11.7-.44 1.36-1.1l3.48-3.47c.65-.65.98-.98 1.09-1.36a1.5 1.5 0 0 0 0-.8c-.1-.38-.44-.7-1.1-1.36l-.47-.48c-.65-.65-.98-.98-1.09-1.36a1.5 1.5 0 0 1 0-.8c.1-.38.44-.7 1.1-1.36l.47-.48c.65-.65.98-.98 1.09-1.36a1.5 1.5 0 0 0 0-.8c-.1-.38-.44-.7-1.1-1.36l-.48-.5c-.65-.64-.98-.97-1.08-1.35a1.5 1.5 0 0 1 0-.79c.1-.38.42-.7 1.06-1.36l5.46-5.55Z"
/>
<circle cx="30" cy="17" r="4" fill="#EB8B47" stroke="#fff" stroke-width="2" />
</g>
<defs>
<clipPath id="a"><path fill="#fff" d="M0 0h60v60H0z" /></clipPath>
</defs>
</svg> `,H=t`<svg width="40" height="42" viewBox="0 0 40 42" fill="none">
<path opacity="0.7" d="M19.9526 41.9076L7.3877 34.655V26.1226L19.9526 33.3751V41.9076Z" fill="url(#paint0_linear_2113_32117)"/>
<path opacity="0.7" d="M19.9521 41.9076L32.5171 34.655V26.1226L19.9521 33.3751V41.9076Z" fill="url(#paint1_linear_2113_32117)"/>
<path opacity="0.7" d="M39.9095 7.34521V21.8562L32.5166 26.1225V11.6114L39.9095 7.34521Z" fill="url(#paint2_linear_2113_32117)"/>
<path d="M39.9099 7.34536L27.345 0.0927734L19.9521 4.359L32.5171 11.6116L39.9099 7.34536Z" fill="url(#paint3_linear_2113_32117)"/>
<path d="M0 7.34536L12.5649 0.0927734L19.9519 4.359L7.387 11.6116L0 7.34536Z" fill="#F969D3"/>
<path opacity="0.7" d="M0 7.34521V21.8562L7.387 26.1225V11.6114L0 7.34521Z" fill="url(#paint4_linear_2113_32117)"/>
<defs>
<linearGradient id="paint0_linear_2113_32117" x1="18.6099" y1="41.8335" x2="7.73529" y2="8.31842" gradientUnits="userSpaceOnUse">
<stop stop-color="#E98ADA"/>
<stop offset="1" stop-color="#7E4DBD"/>
</linearGradient>
<linearGradient id="paint1_linear_2113_32117" x1="26.2346" y1="26.1226" x2="26.2346" y2="41.9076" gradientUnits="userSpaceOnUse">
<stop stop-color="#719DED"/>
<stop offset="1" stop-color="#2545BE"/>
</linearGradient>
<linearGradient id="paint2_linear_2113_32117" x1="36.213" y1="7.34521" x2="36.213" y2="26.1225" gradientUnits="userSpaceOnUse">
<stop stop-color="#93EBFF"/>
<stop offset="1" stop-color="#197DDB"/>
</linearGradient>
<linearGradient id="paint3_linear_2113_32117" x1="29.931" y1="0.0927734" x2="38.2156" y2="14.8448" gradientUnits="userSpaceOnUse">
<stop stop-color="#F969D3"/>
<stop offset="1" stop-color="#4F51C0"/>
</linearGradient>
<linearGradient id="paint4_linear_2113_32117" x1="18.1251" y1="44.2539" x2="-7.06792" y2="15.2763" gradientUnits="userSpaceOnUse">
<stop stop-color="#E98ADA"/>
<stop offset="1" stop-color="#7E4DBD"/>
</linearGradient>
</defs>
</svg>`,F=t`<svg fill="none" viewBox="0 0 60 60">
<g clip-path="url(#a)">
<rect width="60" height="60" fill="#00ACE6" rx="30" />
<circle cx="64" cy="39" r="50" fill="#1AC6FF" stroke="#fff" stroke-width="2" />
<circle cx="78" cy="30" r="50" fill="#4DD2FF" stroke="#fff" stroke-width="2" />
<circle cx="72" cy="15" r="35" fill="#80DFFF" stroke="#fff" stroke-width="2" />
<circle cx="34" cy="-17" r="45" stroke="#fff" stroke-width="2" />
<circle cx="34" cy="-5" r="50" stroke="#fff" stroke-width="2" />
<circle cx="30" cy="45" r="4" fill="#4DD2FF" stroke="#fff" stroke-width="2" />
<circle cx="39.5" cy="27.5" r="4" fill="#80DFFF" stroke="#fff" stroke-width="2" />
<circle cx="16" cy="24" r="4" fill="#19C6FF" stroke="#fff" stroke-width="2" />
</g>
<rect width="59" height="59" x=".5" y=".5" stroke="#062B2B" stroke-opacity=".1" rx="29.5" />
<defs>
<clipPath id="a"><rect width="60" height="60" fill="#fff" rx="30" /></clipPath>
</defs>
</svg>`,_=t`<svg fill="none" viewBox="0 0 60 60">
<g clip-path="url(#a)">
<rect width="60" height="60" fill="#C653C6" rx="3" />
<path
fill="#E87DE8"
stroke="#fff"
stroke-width="2"
d="M52.1 47.34c0-4.24-1.44-9.55-5.9-12.4a2.86 2.86 0 0 0-1.6-3.89v-.82c0-1.19-.52-2.26-1.35-3a4.74 4.74 0 0 0-2.4-6.26v-5.5a11.31 11.31 0 1 0-22.63 0v2.15a3.34 3.34 0 0 0-1.18 5.05 4.74 4.74 0 0 0-.68 6.44A5.22 5.22 0 0 0 14 35.92c-3.06 4.13-6.1 8.3-6.1 15.64 0 2.67.37 4.86.74 6.39a20.3 20.3 0 0 0 .73 2.39l.02.04v.01l.92-.39-.92.4.26.6h38.26l.3-.49-.87-.51.86.5.02-.01.03-.07a16.32 16.32 0 0 0 .57-1.05c.36-.72.85-1.74 1.33-2.96a25.51 25.51 0 0 0 1.94-9.07Z"
/>
<path
fill="#fff"
fill-rule="evenodd"
d="M26.5 29.5c-3-.5-5.5-3-5.5-7v-7c0-.47 0-.7.03-.9a3 3 0 0 1 2.58-2.57c.2-.03.42-.03.89-.03 2 0 2.5-2.5 2.5-2.5s0 2.5 2.5 2.5c1.4 0 2.1 0 2.65.23a3 3 0 0 1 1.62 1.62c.23.55.23 1.25.23 2.65v6c0 4-3 7-6.5 7 1.35.23 4 0 6.5-2v9.53C34 38.5 31.5 40 28 40s-6-1.5-6-2.97L24 34l2.5 1.5v-6ZM26 47h4.5c2.5 0 3 4 3 5.5h-3l-1-1.5H26v-4Zm-6.25 5.5H24V57h-8c0-1 1-4.5 3.75-4.5Z"
clip-rule="evenodd"
/>
</g>
<rect width="59" height="59" x=".5" y=".5" stroke="#fff" stroke-opacity=".1" rx="2.5" />
<defs>
<clipPath id="a"><rect width="60" height="60" fill="#fff" rx="3" /></clipPath>
</defs>
</svg> `,D=t`<svg fill="none" viewBox="0 0 60 60">
<rect width="60" height="60" fill="#794CFF" rx="3" />
<path
fill="#987DE8"
stroke="#fff"
stroke-width="2"
d="M33 22.5v-1H16v5H8.5V36H13v-5h3v7.5h17V31h1v7.5h17v-17H34v5h-1v-4Z"
/>
<path fill="#fff" d="M37.5 25h10v10h-10z" />
<path fill="#4019B2" d="M42.5 25h5v10h-5z" />
<path fill="#fff" d="M19.5 25h10v10h-10z" />
<path fill="#4019B2" d="M24.5 25h5v10h-5z" />
<path fill="#fff" d="M12 30.5h4V37h-4v-6.5Z" />
<rect width="59" height="59" x=".5" y=".5" stroke="#fff" stroke-opacity=".1" rx="2.5" />
</svg>`,m=t`<svg width="60" height="60" viewBox="0 0 60 60" fill="none">
<g clip-path="url(#clip0_13859_31161)">
<path d="M0 24.8995C0 15.6481 0 11.0223 1.97053 7.56763C3.3015 5.2342 5.23468 3.30101 7.56812 1.97004C11.0228 -0.000488281 15.6485 -0.000488281 24.9 -0.000488281H35.1C44.3514 -0.000488281 48.9772 -0.000488281 52.4319 1.97004C54.7653 3.30101 56.6985 5.2342 58.0295 7.56763C60 11.0223 60 15.6481 60 24.8995V35.0995C60 44.351 60 48.9767 58.0295 52.4314C56.6985 54.7648 54.7653 56.698 52.4319 58.029C48.9772 59.9995 44.3514 59.9995 35.1 59.9995H24.9C15.6485 59.9995 11.0228 59.9995 7.56812 58.029C5.23468 56.698 3.3015 54.7648 1.97053 52.4314C0 48.9767 0 44.351 0 35.0995V24.8995Z" fill="#EB8B47"/>
<path d="M0.5 24.8995C0.5 20.2647 0.50047 16.8216 0.744315 14.1045C0.987552 11.3941 1.46987 9.45455 2.40484 7.81536C3.69145 5.55971 5.56019 3.69096 7.81585 2.40435C9.45504 1.46938 11.3946 0.987064 14.105 0.743826C16.8221 0.499981 20.2652 0.499512 24.9 0.499512H35.1C39.7348 0.499512 43.1779 0.499981 45.895 0.743826C48.6054 0.987064 50.545 1.46938 52.1841 2.40435C54.4398 3.69096 56.3086 5.55971 57.5952 7.81536C58.5301 9.45455 59.0124 11.3941 59.2557 14.1045C59.4995 16.8216 59.5 20.2647 59.5 24.8995V35.0995C59.5 39.7343 59.4995 43.1774 59.2557 45.8945C59.0124 48.6049 58.5301 50.5445 57.5952 52.1837C56.3086 54.4393 54.4398 56.3081 52.1841 57.5947C50.545 58.5296 48.6054 59.012 45.895 59.2552C43.1779 59.499 39.7348 59.4995 35.1 59.4995H24.9C20.2652 59.4995 16.8221 59.499 14.105 59.2552C11.3946 59.012 9.45504 58.5296 7.81585 57.5947C5.56019 56.3081 3.69145 54.4393 2.40484 52.1837C1.46987 50.5445 0.987552 48.6049 0.744315 45.8945C0.50047 43.1774 0.5 39.7343 0.5 35.0995V24.8995Z" stroke="#141414" stroke-opacity="0.1"/>
<path d="M13 26.0335C13 21.7838 13 19.659 14.0822 18.1694C14.4318 17.6883 14.8548 17.2653 15.3359 16.9157C16.8255 15.8335 18.9503 15.8335 23.2 15.8335H36.8C41.0497 15.8335 43.1745 15.8335 44.6641 16.9157C45.1452 17.2653 45.5682 17.6883 45.9178 18.1694C47 19.659 47 21.7838 47 26.0335V33.9668C47 38.2165 47 40.3414 45.9178 41.831C45.5682 42.312 45.1452 42.7351 44.6641 43.0846C43.1745 44.1668 41.0497 44.1668 36.8 44.1668H23.2C18.9503 44.1668 16.8255 44.1668 15.3359 43.0846C14.8548 42.7351 14.4318 42.312 14.0822 41.831C13 40.3414 13 38.2165 13 33.9668V26.0335Z" fill="#FF974C" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M39.5 36.667H36.6666" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M45.2 23.0645H14.8C14.0501 23.0645 13.6751 23.0645 13.4122 23.2554C13.3273 23.3171 13.2527 23.3918 13.191 23.4767C13 23.7395 13 24.1145 13 24.8645V27.2645C13 28.0144 13 28.3894 13.191 28.6522C13.2527 28.7371 13.3273 28.8118 13.4122 28.8735C13.6751 29.0645 14.0501 29.0645 14.8 29.0645H45.2C45.9499 29.0645 46.3249 29.0645 46.5878 28.8735C46.6727 28.8118 46.7473 28.7371 46.809 28.6522C47 28.3894 47 28.0144 47 27.2645V24.8645C47 24.1145 47 23.7395 46.809 23.4767C46.7473 23.3918 46.6727 23.3171 46.5878 23.2554C46.3249 23.0645 45.9499 23.0645 45.2 23.0645Z" fill="white" fill-opacity="0.4" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</g>
<defs>
<clipPath id="clip0_13859_31161">
<rect width="60" height="60" fill="white"/>
</clipPath>
</defs>
</svg>`,P=t`<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_241_31635)">
<path d="M0 26.5595C0 16.6913 0 11.7572 2.1019 8.07217C3.5216 5.58317 5.58366 3.52111 8.07266 2.10141C11.7577 -0.000488281 16.6918 -0.000488281 26.56 -0.000488281H37.44C47.3082 -0.000488281 52.2423 -0.000488281 55.9273 2.10141C58.4163 3.52111 60.4784 5.58317 61.8981 8.07217C64 11.7572 64 16.6913 64 26.5595V37.4395C64 47.3077 64 52.2418 61.8981 55.9268C60.4784 58.4158 58.4163 60.4779 55.9273 61.8976C52.2423 63.9995 47.3082 63.9995 37.44 63.9995H26.56C16.6918 63.9995 11.7577 63.9995 8.07266 61.8976C5.58366 60.4779 3.5216 58.4158 2.1019 55.9268C0 52.2418 0 47.3077 0 37.4395V26.5595Z" fill="#EB8B47"/>
<path d="M0.5 26.5595C0.5 21.6163 0.50047 17.942 0.760736 15.0418C1.02039 12.1485 1.53555 10.0742 2.53621 8.3199C3.91155 5.90869 5.90917 3.91106 8.32039 2.53572C10.0747 1.53506 12.1489 1.01991 15.0423 0.760247C17.9425 0.499981 21.6168 0.499512 26.56 0.499512H37.44C42.3832 0.499512 46.0575 0.499981 48.9577 0.760247C51.8511 1.01991 53.9253 1.53506 55.6796 2.53572C58.0908 3.91106 60.0885 5.90869 61.4638 8.3199C62.4645 10.0742 62.9796 12.1485 63.2393 15.0418C63.4995 17.942 63.5 21.6163 63.5 26.5595V37.4395C63.5 42.3827 63.4995 46.057 63.2393 48.9572C62.9796 51.8506 62.4645 53.9248 61.4638 55.6791C60.0885 58.0903 58.0908 60.088 55.6796 61.4633C53.9253 62.464 51.8511 62.9791 48.9577 63.2388C46.0575 63.499 42.3832 63.4995 37.44 63.4995H26.56C21.6168 63.4995 17.9425 63.499 15.0423 63.2388C12.1489 62.9791 10.0747 62.464 8.32039 61.4633C5.90917 60.088 3.91155 58.0903 2.53621 55.6791C1.53555 53.9248 1.02039 51.8506 0.760736 48.9572C0.50047 46.057 0.5 42.3827 0.5 37.4395V26.5595Z" stroke="#141414" stroke-opacity="0.1"/>
<path d="M28.1042 49.2329L13.1024 51.2077L15.0772 36.2059L37.1015 14.1815C39.2441 12.039 40.3154 10.9677 41.5718 10.624C42.4205 10.3918 43.3159 10.3918 44.1645 10.624C45.421 10.9677 46.4922 12.039 48.6348 14.1815L50.1286 15.6753C52.2711 17.8179 53.3424 18.8891 53.6861 20.1456C53.9183 20.9942 53.9183 21.8896 53.6861 22.7383C53.3424 23.9947 52.2711 25.066 50.1286 27.2086L28.1042 49.2329Z" fill="#FF974C" stroke="#E4E7E7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M38.5962 20.5376L22.4199 36.7139" stroke="#E4E7E7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M43.7727 25.714L27.5964 41.8903" stroke="#E4E7E7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M22.3703 36.7635C19.3258 39.808 16.0198 36.6395 16.2616 35.0324" stroke="#E4E7E7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M27.5466 41.9399C24.5034 44.9831 28.155 48.7098 29.2738 48.0475" stroke="#E4E7E7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M27.5468 41.9398C23.428 46.0586 18.2516 40.8822 22.3704 36.7634" stroke="#E4E7E7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M15.8191 50.5214C15.4711 49.5823 14.728 48.8392 13.7889 48.4912" stroke="#E4E7E7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M49.2862 29.5805L34.7275 15.0219" stroke="#E4E7E7" stroke-width="2" stroke-linejoin="round"/>
</g>
<defs>
<clipPath id="clip0_241_31635">
<rect width="64" height="64" fill="white"/>
</clipPath>
</defs>
</svg>
`,A=t`<svg
viewBox="0 0 60 60"
fill="none"
>
<g clip-path="url(#1)">
<rect width="60" height="60" rx="30" fill="#00ACE6" />
<path
d="M59 73C59 89.0163 46.0163 102 30 102C13.9837 102 1 89.0163 1 73C1 56.9837 12 44 30 44C48 44 59 56.9837 59 73Z"
fill="#1AC6FF"
stroke="white"
stroke-width="2"
/>
<path
d="M18.6904 19.9015C19.6264 15.3286 23.3466 11.8445 27.9708 11.2096C29.3231 11.024 30.6751 11.0238 32.0289 11.2096C36.6532 11.8445 40.3733 15.3286 41.3094 19.9015C41.4868 20.7681 41.6309 21.6509 41.7492 22.5271C41.8811 23.5041 41.8811 24.4944 41.7492 25.4715C41.6309 26.3476 41.4868 27.2304 41.3094 28.097C40.3733 32.6699 36.6532 36.154 32.0289 36.7889C30.6772 36.9744 29.3216 36.9743 27.9708 36.7889C23.3466 36.154 19.6264 32.6699 18.6904 28.097C18.513 27.2304 18.3689 26.3476 18.2506 25.4715C18.1186 24.4944 18.1186 23.5041 18.2506 22.5271C18.3689 21.6509 18.513 20.7681 18.6904 19.9015Z"
fill="#1AC6FF"
stroke="white"
stroke-width="2"
/>
<circle cx="24.5" cy="23.5" r="1.5" fill="white" />
<circle cx="35.5" cy="23.5" r="1.5" fill="white" />
<path
d="M31 20L28 28H32"
stroke="white"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</g>
<rect x="0.5" y="0.5" width="59" height="59" rx="29.5" stroke="white" stroke-opacity="0.1" />
<defs>
<clipPath id="1">
<rect width="60" height="60" rx="30" fill="white" />
</clipPath>
</defs>
</svg> `,S=t`<svg fill="none" viewBox="0 0 80 80">
<g clip-path="url(#a)">
<path fill="url(#b)" d="M40 80a40 40 0 1 0 0-80 40 40 0 0 0 0 80Z" />
<path
stroke="#fff"
stroke-opacity=".1"
d="M79.5 40a39.5 39.5 0 1 1-79 0 39.5 39.5 0 0 1 79 0Z"
/>
<path
fill="#fff"
d="m62.62 51.54-7.54 7.91a1.75 1.75 0 0 1-1.29.55H18.02a.9.9 0 0 1-.8-.52.84.84 0 0 1 .16-.92l7.55-7.92a1.75 1.75 0 0 1 1.28-.55h35.77a.87.87 0 0 1 .8.52.84.84 0 0 1-.16.93Zm-7.54-15.95a1.75 1.75 0 0 0-1.29-.54H18.02a.89.89 0 0 0-.8.51.84.84 0 0 0 .16.93l7.55 7.92a1.75 1.75 0 0 0 1.28.54h35.77a.89.89 0 0 0 .8-.51.84.84 0 0 0-.16-.93l-7.54-7.92ZM18.02 29.9h35.77a1.79 1.79 0 0 0 1.29-.54l7.54-7.92a.85.85 0 0 0 .16-.93.87.87 0 0 0-.8-.51H26.21a1.79 1.79 0 0 0-1.28.54l-7.55 7.92a.85.85 0 0 0-.16.93.89.89 0 0 0 .8.52Z"
/>
</g>
<defs>
<linearGradient id="b" x1="6.75" x2="80.68" y1="81.91" y2="7.37" gradientUnits="userSpaceOnUse">
<stop offset=".08" stop-color="#9945FF" />
<stop offset=".3" stop-color="#8752F3" />
<stop offset=".5" stop-color="#5497D5" />
<stop offset=".6" stop-color="#43B4CA" />
<stop offset=".72" stop-color="#28E0B9" />
<stop offset=".97" stop-color="#19FB9B" />
</linearGradient>
<clipPath id="a"><path fill="#fff" d="M0 0h80v80H0z" /></clipPath>
</defs>
</svg> `,j=t`<svg viewBox="0 0 60 60" fill="none">
<g clip-path="url(#1)">
<path
d="M0 24.9C0 15.6485 0 11.0228 1.97053 7.56812C3.3015 5.23468 5.23468 3.3015 7.56812 1.97053C11.0228 0 15.6485 0 24.9 0H35.1C44.3514 0 48.9772 0 52.4319 1.97053C54.7653 3.3015 56.6985 5.23468 58.0295 7.56812C60 11.0228 60 15.6485 60 24.9V35.1C60 44.3514 60 48.9772 58.0295 52.4319C56.6985 54.7653 54.7653 56.6985 52.4319 58.0295C48.9772 60 44.3514 60 35.1 60H24.9C15.6485 60 11.0228 60 7.56812 58.0295C5.23468 56.6985 3.3015 54.7653 1.97053 52.4319C0 48.9772 0 44.3514 0 35.1V24.9Z"
fill="#794CFF"
/>
<path
d="M0.5 24.9C0.5 20.2652 0.50047 16.8221 0.744315 14.105C0.987552 11.3946 1.46987 9.45504 2.40484 7.81585C3.69145 5.56019 5.56019 3.69145 7.81585 2.40484C9.45504 1.46987 11.3946 0.987552 14.105 0.744315C16.8221 0.50047 20.2652 0.5 24.9 0.5H35.1C39.7348 0.5 43.1779 0.50047 45.895 0.744315C48.6054 0.987552 50.545 1.46987 52.1841 2.40484C54.4398 3.69145 56.3086 5.56019 57.5952 7.81585C58.5301 9.45504 59.0124 11.3946 59.2557 14.105C59.4995 16.8221 59.5 20.2652 59.5 24.9V35.1C59.5 39.7348 59.4995 43.1779 59.2557 45.895C59.0124 48.6054 58.5301 50.545 57.5952 52.1841C56.3086 54.4398 54.4398 56.3086 52.1841 57.5952C50.545 58.5301 48.6054 59.0124 45.895 59.2557C43.1779 59.4995 39.7348 59.5 35.1 59.5H24.9C20.2652 59.5 16.8221 59.4995 14.105 59.2557C11.3946 59.0124 9.45504 58.5301 7.81585 57.5952C5.56019 56.3086 3.69145 54.4398 2.40484 52.1841C1.46987 50.545 0.987552 48.6054 0.744315 45.895C0.50047 43.1779 0.5 39.7348 0.5 35.1V24.9Z"
stroke="#062B2B"
stroke-opacity="0.1"
/>
<path
d="M35.1403 31.5016C35.1193 30.9637 35.388 30.4558 35.8446 30.1707C36.1207 29.9982 36.4761 29.8473 36.7921 29.7685C37.3143 29.6382 37.8664 29.7977 38.2386 30.1864C38.8507 30.8257 39.3004 31.6836 39.8033 32.408C40.2796 33.0942 41.4695 33.2512 41.9687 32.5047C42.4839 31.7341 42.9405 30.8229 43.572 30.1399C43.9375 29.7447 44.4866 29.5756 45.0111 29.6967C45.3283 29.7701 45.6863 29.9147 45.9655 30.0823C46.4269 30.3595 46.7045 30.8626 46.6928 31.4008C46.6731 32.3083 46.3764 33.2571 46.2158 34.1473C46.061 35.0048 46.9045 35.8337 47.7592 35.664C48.6464 35.4878 49.5899 35.1747 50.497 35.1391C51.0348 35.1181 51.5427 35.3868 51.8279 35.8433C52.0004 36.1195 52.1513 36.4749 52.2301 36.7908C52.3604 37.3131 52.2009 37.8651 51.8121 38.2374C51.1729 38.8495 50.3151 39.2991 49.5908 39.8019C48.9046 40.2782 48.7473 41.4683 49.4939 41.9675C50.2644 42.4827 51.1757 42.9393 51.8587 43.5708C52.2539 43.9362 52.423 44.4854 52.3018 45.0099C52.2285 45.3271 52.0839 45.6851 51.9162 45.9642C51.6391 46.4257 51.1359 46.7032 50.5978 46.6916C49.6903 46.6719 48.7417 46.3753 47.8516 46.2146C46.9939 46.0598 46.1648 46.9035 46.3346 47.7583C46.5108 48.6454 46.8239 49.5888 46.8594 50.4958C46.8805 51.0336 46.6117 51.5415 46.1552 51.8267C45.879 51.9992 45.5236 52.15 45.2077 52.2289C44.6854 52.3592 44.1334 52.1997 43.7611 51.8109C43.1491 51.1718 42.6996 50.314 42.1968 49.5897C41.7203 48.9034 40.5301 48.7463 40.0309 49.493C39.5157 50.2634 39.0592 51.1746 38.4278 51.8574C38.0623 52.2527 37.5132 52.4218 36.9887 52.3006C36.6715 52.2273 36.3135 52.0826 36.0343 51.915C35.5729 51.6379 35.2953 51.1347 35.307 50.5966C35.3267 49.6891 35.6233 48.7405 35.7839 47.8505C35.9388 46.9928 35.0951 46.1636 34.2402 46.3334C33.3531 46.5096 32.4098 46.8227 31.5028 46.8582C30.9649 46.8793 30.457 46.6105 30.1719 46.154C29.9994 45.8778 29.8485 45.5224 29.7697 45.2065C29.6394 44.6842 29.7989 44.1322 30.1877 43.7599C30.8269 43.1479 31.6847 42.6982 32.4091 42.1954C33.0954 41.7189 33.2522 40.5289 32.5056 40.0297C31.7351 39.5145 30.824 39.058 30.1411 38.4265C29.7459 38.0611 29.5768 37.5119 29.698 36.9875C29.7713 36.6702 29.9159 36.3122 30.0836 36.0331C30.3607 35.5717 30.8638 35.2941 31.402 35.3058C32.3095 35.3255 33.2583 35.6221 34.1485 35.7828C35.006 35.9376 35.8349 35.094 35.6652 34.2393C35.489 33.3521 35.1759 32.4087 35.1403 31.5016Z"
fill="#906EF7"
stroke="white"
stroke-width="2"
/>
<path
d="M20.7706 8.22357C20.9036 7.51411 21.5231 7 22.2449 7H23.7551C24.4769 7 25.0964 7.51411 25.2294 8.22357C25.5051 9.69403 25.4829 11.6321 27.1202 12.2606C27.3092 12.3331 27.4958 12.4105 27.6798 12.4926C29.2818 13.2072 30.6374 11.8199 31.8721 10.9752C32.4678 10.5676 33.2694 10.6421 33.7798 11.1525L34.8477 12.2204C35.3581 12.7308 35.4326 13.5323 35.025 14.128C34.1802 15.3627 32.7931 16.7183 33.5077 18.3202C33.5898 18.5043 33.6672 18.6909 33.7398 18.88C34.3683 20.5171 36.3061 20.4949 37.7764 20.7706C38.4859 20.9036 39 21.5231 39 22.2449V23.7551C39 24.4769 38.4859 25.0964 37.7764 25.2294C36.3061 25.5051 34.3685 25.483 33.7401 27.1201C33.6675 27.3093 33.59 27.4961 33.5079 27.6803C32.7934 29.282 34.1803 30.6374 35.025 31.8719C35.4326 32.4677 35.3581 33.2692 34.8477 33.7796L33.7798 34.8475C33.2694 35.3579 32.4678 35.4324 31.8721 35.0248C30.6376 34.1801 29.2823 32.7934 27.6806 33.508C27.4962 33.5903 27.3093 33.6678 27.12 33.7405C25.483 34.3688 25.5051 36.3062 25.2294 37.7764C25.0964 38.4859 24.4769 39 23.7551 39H22.2449C21.5231 39 20.9036 38.4859 20.7706 37.7764C20.4949 36.3062 20.517 34.3688 18.88 33.7405C18.6908 33.6678 18.5039 33.5903 18.3196 33.5081C16.7179 32.7936 15.3625 34.1804 14.1279 35.0251C13.5322 35.4327 12.7307 35.3582 12.2203 34.8478L11.1524 33.7799C10.642 33.2695 10.5675 32.4679 10.9751 31.8722C11.8198 30.6376 13.2067 29.2822 12.4922 27.6804C12.41 27.4962 12.3325 27.3093 12.2599 27.1201C11.6315 25.483 9.69392 25.5051 8.22357 25.2294C7.51411 25.0964 7 24.4769 7 23.7551V22.2449C7 21.5231 7.51411 20.9036 8.22357 20.7706C9.69394 20.4949 11.6317 20.5171 12.2602 18.88C12.3328 18.6909 12.4103 18.5042 12.4924 18.3201C13.207 16.7181 11.8198 15.3625 10.975 14.1278C10.5674 13.5321 10.6419 12.7305 11.1523 12.2201L12.2202 11.1522C12.7306 10.6418 13.5322 10.5673 14.1279 10.9749C15.3626 11.8197 16.7184 13.2071 18.3204 12.4925C18.5044 12.4105 18.6909 12.3331 18.8799 12.2606C20.5171 11.6321 20.4949 9.69403 20.7706 8.22357Z"
fill="#906EF7"
stroke="white"
stroke-width="2"
/>
<circle cx="23" cy="23" r="6" fill="#794CFF" stroke="white" stroke-width="2" />
<circle cx="41" cy="41" r="4" fill="#794CFF" stroke="white" stroke-width="2" />
</g>
<defs>
<clipPath id="1">
<rect width="60" height="60" fill="white" />
</clipPath>
</defs>
</svg> `,b=d`
:host {
display: block;
width: var(--local-size);
height: var(--local-size);
}
:host svg {
width: 100%;
height: 100%;
}
`;var c=function(a,i,e,o){var r=arguments.length,l=r<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,e):o,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(a,i,e,o);else for(var s=a.length-1;s>=0;s--)(h=a[s])&&(l=(r<3?h(l):r>3?h(i,e,l):h(i,e))||l);return r>3&&l&&Object.defineProperty(i,e,l),l};const z={browser:g,dao:u,defi:M,defiAlt:x,eth:Z,layers:E,lock:y,login:B,network:F,nft:_,noun:D,profile:A,system:j,meld:H,onrampCard:m,google:L,pencil:P,lightbulb:V,solana:S,bitcoin:v};let C=class extends n{constructor(){super(...arguments),this.name="browser",this.size="md"}render(){return this.style.cssText=`
--local-size: var(--wui-visual-size-${this.size});
`,w`${z[this.name]}`}};C.styles=[p,b];c([f()],C.prototype,"name",void 0);c([f()],C.prototype,"size",void 0);C=c([k("wui-visual")],C);

Some files were not shown because too many files have changed in this diff Show More