@metamask/browser-playground 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/LICENSE +20 -0
- package/README.md +114 -0
- package/build/alt-fox.svg +1 -0
- package/build/asset-manifest.json +23 -0
- package/build/index.html +1 -0
- package/build/robots.txt +3 -0
- package/build/static/css/main.895faede.css +2 -0
- package/build/static/css/main.895faede.css.map +1 -0
- package/build/static/js/29.ca05a909.chunk.js +2 -0
- package/build/static/js/29.ca05a909.chunk.js.map +1 -0
- package/build/static/js/435.8081f498.chunk.js +2 -0
- package/build/static/js/435.8081f498.chunk.js.map +1 -0
- package/build/static/js/578.67e35af4.chunk.js +3 -0
- package/build/static/js/578.67e35af4.chunk.js.LICENSE.txt +1 -0
- package/build/static/js/578.67e35af4.chunk.js.map +1 -0
- package/build/static/js/700.06adf8f4.chunk.js +2 -0
- package/build/static/js/700.06adf8f4.chunk.js.map +1 -0
- package/build/static/js/817.1749786b.chunk.js +2 -0
- package/build/static/js/817.1749786b.chunk.js.map +1 -0
- package/build/static/js/main.e41514ec.js +3 -0
- package/build/static/js/main.e41514ec.js.LICENSE.txt +230 -0
- package/build/static/js/main.e41514ec.js.map +1 -0
- package/index.js +3 -0
- package/package.json +127 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.1.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Initial release
|
|
15
|
+
|
|
16
|
+
[Unreleased]: https://github.com/MetaMask/connect-monorepo/compare/@metamask/browser-playground@0.1.0...HEAD
|
|
17
|
+
[0.1.0]: https://github.com/MetaMask/connect-monorepo/releases/tag/@metamask/browser-playground@0.1.0
|
package/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 MetaMask
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
package/README.md
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Browser Playground
|
|
2
|
+
|
|
3
|
+
A browser-based test dapp for the MetaMask Connect
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
This playground is part of the MetaMask Connect monorepo and provides a comprehensive testing environment for:
|
|
8
|
+
|
|
9
|
+
- **Multichain API**: Connect to multiple chains simultaneously (Ethereum, Linea, Polygon, Solana, etc.)
|
|
10
|
+
- **Legacy EVM Connector**: Backwards-compatible connection for EVM chains
|
|
11
|
+
- **Wagmi Integration**: Test the wagmi connector for React applications
|
|
12
|
+
|
|
13
|
+
## Prerequisites
|
|
14
|
+
|
|
15
|
+
- Node.js (>=20.19.0)
|
|
16
|
+
- Yarn (v4.1.1+)
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
From the **monorepo root**:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Install all dependencies
|
|
24
|
+
yarn install
|
|
25
|
+
|
|
26
|
+
# Build workspace packages
|
|
27
|
+
yarn build
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Configuration
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
cp .env.example .env
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Then fill out the resulting `.env` file:
|
|
37
|
+
|
|
38
|
+
```env
|
|
39
|
+
INFURA_API_KEY=your_infura_api_key
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Usage
|
|
43
|
+
|
|
44
|
+
From the **monorepo root**:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
yarn workspace @metamask/browser-playground start
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Or from this directory:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
yarn start
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
This launches the development server at `http://localhost:3000`.
|
|
57
|
+
|
|
58
|
+
## Features
|
|
59
|
+
|
|
60
|
+
### Multichain Connection
|
|
61
|
+
|
|
62
|
+
Connect to multiple blockchain networks in a single session:
|
|
63
|
+
- Ethereum Mainnet & Testnets
|
|
64
|
+
- Layer 2 networks (Linea, Arbitrum, Polygon, etc.)
|
|
65
|
+
- Solana
|
|
66
|
+
|
|
67
|
+
### Legacy EVM Connector
|
|
68
|
+
|
|
69
|
+
Toggle between multichain and legacy EVM modes to test backwards compatibility with existing dapps.
|
|
70
|
+
|
|
71
|
+
### Wagmi Connector
|
|
72
|
+
|
|
73
|
+
Test the wagmi integration for React applications with persistent sessions and multichain support.
|
|
74
|
+
|
|
75
|
+
## Project Structure
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
browser-playground/
|
|
79
|
+
├── src/
|
|
80
|
+
│ ├── App.tsx # Main application component
|
|
81
|
+
│ ├── components/
|
|
82
|
+
│ │ ├── DynamicInputs.tsx # Checkbox selection UI
|
|
83
|
+
│ │ ├── FeaturedNetworks.tsx # Network selection component
|
|
84
|
+
│ │ ├── LegacyEVMCard.tsx # Legacy EVM connector card
|
|
85
|
+
│ │ ├── ScopeCard.tsx # Network scope with method invocation
|
|
86
|
+
│ │ ├── WagmiCard.tsx # Wagmi connector card
|
|
87
|
+
│ │ └── WalletList.tsx # Wallet selection component
|
|
88
|
+
│ ├── helpers/ # Platform-specific helpers
|
|
89
|
+
│ ├── sdk/
|
|
90
|
+
│ │ ├── SDKProvider.tsx # Multichain SDK context
|
|
91
|
+
│ │ ├── LegacyEVMSDKProvider.tsx # Legacy EVM SDK context
|
|
92
|
+
│ │ └── index.ts
|
|
93
|
+
│ └── wagmi/
|
|
94
|
+
│ ├── config.ts # Wagmi configuration
|
|
95
|
+
│ └── metamask-connector.ts # Auto-generated connector
|
|
96
|
+
├── scripts/
|
|
97
|
+
│ ├── copy-wagmi-connector.js # Copies wagmi connector from integrations/
|
|
98
|
+
│ └── README.md # Script documentation
|
|
99
|
+
└── public/
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Shared Code
|
|
103
|
+
|
|
104
|
+
This playground uses `@metamask/playground-ui` for shared constants, helpers, and types. See the [playground-ui README](../playground-ui/README.md) for details.
|
|
105
|
+
|
|
106
|
+
## Auto-Generated Files
|
|
107
|
+
|
|
108
|
+
The `src/wagmi/metamask-connector.ts` file is **auto-generated** from `integrations/wagmi/metamask-connector.ts`. See [scripts/README.md](./scripts/README.md) for details on why and how this works.
|
|
109
|
+
|
|
110
|
+
**Important**: Never edit `src/wagmi/metamask-connector.ts` directly. Edit `integrations/wagmi/metamask-connector.ts` instead.
|
|
111
|
+
|
|
112
|
+
## Contributing
|
|
113
|
+
|
|
114
|
+
See the [main repository contributing guide](../../docs/contributing.md) for development setup and guidelines.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="128" height="128" version="1.1" xmlns="http://www.w3.org/2000/svg" desc="Created with imagetracer.js version 1.2.6" ><path fill="rgb(49,91,220)" stroke="rgb(49,91,220)" stroke-width="1" opacity="0.6705882352941176" d="M 126.5 24 L 127 26.5 L 125.5 31 L 125 27.5 L 126.5 24 Z " /><path fill="rgb(49,91,220)" stroke="rgb(49,91,220)" stroke-width="1" opacity="0.6705882352941176" d="M 124.5 32 L 125 35.5 L 124 35.5 L 124.5 32 Z " /><path fill="rgb(49,91,220)" stroke="rgb(49,91,220)" stroke-width="1" opacity="0.6705882352941176" d="M 123.5 37 L 124 40.5 L 123 40.5 L 123.5 37 Z " /><path fill="rgb(49,91,220)" stroke="rgb(49,91,220)" stroke-width="1" opacity="0.6705882352941176" d="M 122.5 42 L 125 48 L 122 49.5 L 124 52.5 L 121.5 56 Q 123.8 55.3 123 57.5 L 117.5 64 L 118 62.5 L 122 57.5 Q 117.5 55 123 52.5 L 121 49.5 Q 126.5 47 122 44.5 L 122.5 42 Z " /><path fill="rgb(0,0,0)" stroke="rgb(0,0,0)" stroke-width="1" opacity="0" d="M 0 0 L 128 0 L 128 128 L 0 128 L 0 0 Z M 9 6 L 1 26 L 5 41 Q 6 46 3 48 L 6 50 L 4 53 Q 10 55 5 58 L 10 64 L 2 90 L 9 115 L 12 118 L 38 110 L 54 122 L 75 122 L 89 111 L 94 111 L 118 118 L 126 92 L 126 89 L 118 67 L 118 64 L 123 58 Q 124 55 122 56 L 124 53 L 122 50 L 125 48 L 123 45 L 127 27 L 121 6 L 110 9 L 80 21 L 48 21 L 9 6 Z " /><path fill="rgb(107,59,29)" stroke="rgb(107,59,29)" stroke-width="1" opacity="0.984313725490196" d="M 7 7 L 9.5 7 L 54 40.5 Q 54.5 45.5 50.5 46 L 38.5 56 L 31.5 57 L 10.5 64 L 5 57.5 Q 9.5 55 4 52.5 L 6 49.5 L 3 47.5 Q 5.8 45.8 5 40.5 L 1 25.5 L 7 7 Z " /><path fill="rgb(107,59,29)" stroke="rgb(107,59,29)" stroke-width="1" opacity="0.984313725490196" d="M 49.5 75 L 53 81.5 L 50.5 82 L 42 78.5 L 49.5 75 Z " /><path fill="rgb(107,59,29)" stroke="rgb(107,59,29)" stroke-width="1" opacity="0.984313725490196" d="M 78.5 75 L 86 79.5 L 75.5 83 L 75 80.5 L 78.5 75 Z " /><path fill="rgb(107,59,29)" stroke="rgb(107,59,29)" stroke-width="1" opacity="0.984313725490196" d="M 55.5 100 L 70.5 100 L 73 101 L 74 111.5 L 72.5 111 L 55.5 111 L 53 112 L 54 101.5 L 55.5 100 Z " /><path fill="rgb(246,130,27)" stroke="rgb(246,130,27)" stroke-width="1" opacity="0.5176470588235295" d="M 48.5 21 L 63 21.5 L 48.5 22 L 48.5 21 Z " /><path fill="rgb(246,130,27)" stroke="rgb(246,130,27)" stroke-width="1" opacity="0.5176470588235295" d="M 10.5 64 L 11 66.5 L 6.5 79 L 6 76.5 L 10.5 64 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 8.5 6 L 12 7.5 L 10.5 8 L 8.5 6 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 13.5 8 L 20 10.5 L 18.5 11 L 13.5 9 L 13.5 8 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 21.5 11 L 28 13.5 L 26.5 14 L 21.5 12 L 21.5 11 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 29.5 14 L 36 16.5 L 34.5 17 L 29.5 15 L 29.5 14 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 37.5 17 L 44 19.5 L 42.5 20 L 37.5 18 L 37.5 17 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 4.5 95 L 6 100.5 L 5 100.5 L 4.5 95 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 6.5 102 L 8 107.5 L 7 107.5 L 6.5 102 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 34.5 110 L 37 110.5 L 34.5 111 L 34.5 110 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 30.5 111 L 33 111.5 L 27.5 113 L 27.5 112 L 30.5 111 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 9.5 112 L 11 116.5 L 10 116.5 L 9.5 112 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 23.5 113 L 26 113.5 L 23.5 114 L 23.5 113 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 19.5 114 L 22 114.5 L 16.5 116 L 16.5 115 L 19.5 114 Z " /><path fill="rgb(225,118,36)" stroke="rgb(225,118,36)" stroke-width="1" opacity="0.5137254901960784" d="M 12.5 116 L 15 116.5 L 12.5 117 L 12.5 116 Z " /><path fill="rgb(187,201,241)" stroke="rgb(187,201,241)" stroke-width="1" opacity="0.996078431372549" d="M 64 21 L 79.5 21 L 80 22.5 L 73 40.5 L 72 65.5 L 71 66.5 L 71 94.5 L 72 94.5 L 74 83 L 88 80 L 87 88.5 L 89 87.5 L 99 68.5 L 92 57.5 L 93.5 57 L 117 64 L 125 90 L 87.5 90 L 72.5 101 L 71.5 100 L 64 100 L 64 21 Z " /><path fill="rgb(187,201,241)" stroke="rgb(187,201,241)" stroke-width="1" opacity="0.996078431372549" d="M 53.5 101 L 54 105.5 L 53 112 L 72.5 111 L 74 111.5 L 73 102 L 89 109.5 L 74.5 121 L 53.5 121 L 38 109.5 L 53.5 101 Z " /><path fill="rgb(44,86,221)" stroke="rgb(44,86,221)" stroke-width="1" opacity="0.996078431372549" d="M 119.5 7 L 121 8.5 L 126 26.5 L 122 44.5 L 124 46.5 Q 118.5 49 123 51.5 L 120 55.5 L 122 57.5 L 118 61.5 Q 118.9 64.9 113.5 63 L 90.5 56 L 73 41.5 L 119.5 7 Z " /><path fill="rgb(44,86,221)" stroke="rgb(44,86,221)" stroke-width="1" opacity="0.996078431372549" d="M 81.5 76 L 87 78.5 L 85.5 79 L 81.5 77 L 81.5 76 Z " /><path fill="rgb(244,132,32)" stroke="rgb(244,132,32)" stroke-width="1" opacity="0.996078431372549" d="M 47.5 21 L 48.5 22 L 62.5 22 L 64 21.5 L 64 99.5 Q 63.8 100.8 57.5 100 L 55.5 99 Q 53 103.5 50.5 98 L 40.5 90 L 3 90 L 11 64 L 36.5 57 L 36 58.5 L 30 68.5 L 39.5 87 L 40 79 L 51.5 82 L 55 84.5 L 56.5 92 L 57 79.5 L 56 78.5 L 56 63.5 L 55 62.5 L 55 46.5 L 54 43.5 L 55 41.5 L 49 28.5 L 47.5 21 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 11.5 8 L 13.5 11 L 11.5 8 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 15.5 11 L 16.5 13 L 15.5 11 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 19.5 14 L 20.5 16 L 19.5 14 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 23.5 17 L 24.5 19 L 23.5 17 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 27.5 20 L 28.5 22 L 27.5 20 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 31.5 23 L 32.5 25 L 31.5 23 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 35.5 26 L 36.5 28 L 35.5 26 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 38.5 28 L 40.5 31 L 38.5 28 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 42.5 31 L 43.5 33 L 42.5 31 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 46.5 34 L 47.5 36 L 46.5 34 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 50.5 37 L 51.5 39 L 50.5 37 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 49.5 46 L 47.5 49 L 49.5 46 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 43.5 51 L 40.5 55 L 43.5 51 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 31 68 L 48.5 68 L 49.5 69 L 56 69 L 54 81.5 L 52.5 83 L 52 80.5 L 49.5 75 L 42 78.5 L 42.5 80 L 31 69.5 L 31 68 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 26.5 91 L 40.5 91 L 41 94.5 L 40 95.5 L 39 109 Q 36.3 110.1 37 107.5 L 27 93.5 L 26.5 91 Z " /><path fill="rgb(201,98,39)" stroke="rgb(201,98,39)" stroke-width="1" opacity="0.9921568627450981" d="M 55.5 111 L 63 111.5 L 55.5 112 L 55.5 111 Z " /><path fill="rgb(178,198,232)" stroke="rgb(178,198,232)" stroke-width="1" opacity="0.34901960784313724" d="M 109.5 9 L 111 9.5 L 107.5 11 L 107.5 10 L 109.5 9 Z " /><path fill="rgb(178,198,232)" stroke="rgb(178,198,232)" stroke-width="1" opacity="0.34901960784313724" d="M 101.5 12 L 103 12.5 L 99.5 14 L 99.5 13 L 101.5 12 Z " /><path fill="rgb(178,198,232)" stroke="rgb(178,198,232)" stroke-width="1" opacity="0.34901960784313724" d="M 117.5 64 L 126 88.5 L 126 91.5 L 125 91.5 L 125 88.5 L 117 66.5 L 117.5 64 Z " /><path fill="rgb(178,198,232)" stroke="rgb(178,198,232)" stroke-width="1" opacity="0.34901960784313724" d="M 124.5 93 L 125 95.5 L 124 95.5 L 124.5 93 Z " /><path fill="rgb(178,198,232)" stroke="rgb(178,198,232)" stroke-width="1" opacity="0.34901960784313724" d="M 38.5 110 L 53 120.5 L 50.5 119 Q 42.5 115.5 38.5 110 Z " /><path fill="rgb(178,198,232)" stroke="rgb(178,198,232)" stroke-width="1" opacity="0.34901960784313724" d="M 88.5 110 L 93 110.5 L 88.5 111 L 74.5 122 L 54.5 122 L 54.5 121 L 74.5 121 L 88.5 110 Z " /><path fill="rgb(178,198,232)" stroke="rgb(178,198,232)" stroke-width="1" opacity="0.34901960784313724" d="M 108.5 115 L 111 115.5 L 108.5 116 L 108.5 115 Z " /><path fill="rgb(103,144,248)" stroke="rgb(103,144,248)" stroke-width="1" opacity="0.9725490196078431" d="M 117.5 7 L 119 7.5 L 73.5 41 L 74 39.5 L 80 21 L 117.5 7 Z " /><path fill="rgb(103,144,248)" stroke="rgb(103,144,248)" stroke-width="1" opacity="0.9725490196078431" d="M 73 42 L 92 56 L 99 68.5 L 87.5 89 L 87 85.5 L 88 80 L 86 79.5 L 86.5 78 L 77 75 L 74 81.5 L 71.5 95 L 71 66.5 L 72 65.5 L 72 49.5 L 73 48.5 L 73 42 Z " /><path fill="rgb(103,144,248)" stroke="rgb(103,144,248)" stroke-width="1" opacity="0.9725490196078431" d="M 87.5 90 L 124.5 90 L 125 92.5 L 118 117 L 89.5 110 L 73 101.5 L 87.5 90 Z " /><path fill="rgb(225,118,37)" stroke="rgb(225,118,37)" stroke-width="1" opacity="0.996078431372549" d="M 12.5 8 L 47 21 L 54 39.5 L 50.5 37 L 14.5 11 L 12.5 8 Z " /><path fill="rgb(225,118,37)" stroke="rgb(225,118,37)" stroke-width="1" opacity="0.996078431372549" d="M 52.5 44 Q 54.8 43.3 54 45.5 L 55 46.5 L 55 62.5 L 56 69 L 49.5 69 L 48.5 68 L 31.5 68 L 30 68.5 L 37 57.5 L 36.5 56 L 40.5 55 L 52.5 44 Z " /><path fill="rgb(225,118,37)" stroke="rgb(225,118,37)" stroke-width="1" opacity="0.996078431372549" d="M 31.5 70 L 41 78.5 L 39.5 87 L 31.5 70 Z " /><path fill="rgb(225,118,37)" stroke="rgb(225,118,37)" stroke-width="1" opacity="0.996078431372549" d="M 55.5 71 L 57 79.5 L 57 91.5 L 56 91.5 L 55 84.5 L 53 82.5 L 55.5 71 Z " /><path fill="rgb(225,118,37)" stroke="rgb(225,118,37)" stroke-width="1" opacity="0.996078431372549" d="M 3 90 L 40.5 90 L 53 100.5 Q 53.8 102.8 51.5 102 L 39 108 L 41 91 L 26 91.5 L 38 109.5 L 11.5 117 L 3 90 Z " /></svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"files": {
|
|
3
|
+
"main.css": "./static/css/main.895faede.css",
|
|
4
|
+
"main.js": "./static/js/main.e41514ec.js",
|
|
5
|
+
"static/js/435.8081f498.chunk.js": "./static/js/435.8081f498.chunk.js",
|
|
6
|
+
"static/js/817.1749786b.chunk.js": "./static/js/817.1749786b.chunk.js",
|
|
7
|
+
"static/js/700.06adf8f4.chunk.js": "./static/js/700.06adf8f4.chunk.js",
|
|
8
|
+
"static/js/578.67e35af4.chunk.js": "./static/js/578.67e35af4.chunk.js",
|
|
9
|
+
"static/js/29.ca05a909.chunk.js": "./static/js/29.ca05a909.chunk.js",
|
|
10
|
+
"index.html": "./index.html",
|
|
11
|
+
"main.895faede.css.map": "./static/css/main.895faede.css.map",
|
|
12
|
+
"main.e41514ec.js.map": "./static/js/main.e41514ec.js.map",
|
|
13
|
+
"435.8081f498.chunk.js.map": "./static/js/435.8081f498.chunk.js.map",
|
|
14
|
+
"817.1749786b.chunk.js.map": "./static/js/817.1749786b.chunk.js.map",
|
|
15
|
+
"700.06adf8f4.chunk.js.map": "./static/js/700.06adf8f4.chunk.js.map",
|
|
16
|
+
"578.67e35af4.chunk.js.map": "./static/js/578.67e35af4.chunk.js.map",
|
|
17
|
+
"29.ca05a909.chunk.js.map": "./static/js/29.ca05a909.chunk.js.map"
|
|
18
|
+
},
|
|
19
|
+
"entrypoints": [
|
|
20
|
+
"static/css/main.895faede.css",
|
|
21
|
+
"static/js/main.e41514ec.js"
|
|
22
|
+
]
|
|
23
|
+
}
|
package/build/index.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./alt-fox.svg"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><title>Multichain Test Dapp</title><script defer="defer" src="./static/js/main.e41514ec.js"></script><link href="./static/css/main.895faede.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
package/build/robots.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-blue-50:oklch(97% .014 254.604);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-slate-800:oklch(27.9% .041 260.031);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:1.33333;--text-sm:.875rem;--text-sm--line-height:1.42857;--text-base:1rem;--text-base--line-height:1.5;--text-lg:1.125rem;--text-lg--line-height:1.55556;--text-2xl:1.5rem;--text-2xl--line-height:1.33333;--text-4xl:2.25rem;--text-4xl--line-height:1.11111;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::-webkit-file-upload-button{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:var(--default-font-feature-settings,normal);-webkit-tap-highlight-color:transparent;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:var(--default-mono-font-feature-settings,normal);font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{font-feature-settings:inherit;background-color:#0000;border-radius:0;color:inherit;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}::-webkit-file-upload-button{font-feature-settings:inherit;background-color:#0000;border-radius:0;color:inherit;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}::file-selector-button{font-feature-settings:inherit;background-color:#0000;border-radius:0;color:inherit;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{-webkit-padding-start:20px;padding-inline-start:20px}::-webkit-file-upload-button{-webkit-margin-end:4px;margin-inline-end:4px}::file-selector-button{-webkit-margin-end:4px;margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.relative{position:relative}.static{position:static}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.block{display:block}.flex{display:flex}.grid{display:grid}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-12{height:calc(var(--spacing)*12)}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[400px\]{max-height:400px}.min-h-\[200px\]{min-height:200px}.min-h-screen{min-height:100vh}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-12{width:calc(var(--spacing)*12)}.w-full{width:100%}.max-w-6xl{max-width:var(--container-6xl)}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-y{resize:vertical}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;-webkit-margin-before:calc(var(--spacing)*2*var(--tw-space-y-reverse));-webkit-margin-after:calc(var(--spacing)*2*(1 - var(--tw-space-y-reverse)));margin-block-end:calc(var(--spacing)*2*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*2*var(--tw-space-y-reverse))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;-webkit-margin-before:calc(var(--spacing)*3*var(--tw-space-y-reverse));-webkit-margin-after:calc(var(--spacing)*3*(1 - var(--tw-space-y-reverse)));margin-block-end:calc(var(--spacing)*3*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*3*var(--tw-space-y-reverse))}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e+38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-blue-200{border-color:var(--color-blue-200)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-green-200{border-color:var(--color-green-200)}.border-purple-200{border-color:var(--color-purple-200)}.border-red-200{border-color:var(--color-red-200)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-white{background-color:var(--color-white)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-purple-600{--tw-gradient-from:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-600{--tw-gradient-to:var(--color-blue-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-4{padding-top:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-all{word-break:break-all}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-purple-700{color:var(--color-purple-700)}.text-purple-800{color:var(--color-purple-800)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-slate-800{color:var(--color-slate-800)}.text-white{color:var(--color-white)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition-all{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-colors{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-shadow{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-transform{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-green-600:hover{background-color:var(--color-green-600)}.hover\:bg-purple-600:hover{background-color:var(--color-purple-600)}.hover\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\:from-purple-700:hover{--tw-gradient-from:var(--color-purple-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\:to-blue-700:hover{--tw-gradient-to:var(--color-blue-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a)}.hover\:shadow-lg:hover,.hover\:shadow-md:hover{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a)}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:border-purple-500:focus{border-color:var(--color-purple-500)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:ring-purple-500:focus{--tw-ring-color:var(--color-purple-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-gray-300:disabled{background-color:var(--color-gray-300)}.disabled\:bg-gray-400:disabled{background-color:var(--color-gray-400)}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-70:disabled{opacity:.7}@media (min-width:48rem){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:64rem){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}details[open] summary svg{transform:rotate(90deg)}details summary{list-style:none}details summary::-webkit-details-marker{display:none}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
|
|
2
|
+
/*# sourceMappingURL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gC,UAAU,CAAC,cAAc,CAAC,iCAAiC,UAAU,CAAC,cAAc,CAAC,uBAAuB,CAAC,0BAA0B,UAAU,CAAC,cAAc,CAAC,iCAAiC,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,iCAAiC,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC,kCAAkC,UAAU,CAAC,cAAc,CAAC,uBAAuB,CAAC,wBAAwB,UAAU,CAAC,cAAc,CAAC,uBAAuB,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,uBAAuB,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,uBAAuB,UAAU,CAAC,cAAc,CAAC,eAAe","sources":["index.css"],"sourcesContent":["/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-blue-50:oklch(97% .014 254.604);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-slate-800:oklch(27.9% .041 260.031);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.relative{position:relative}.static{position:static}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.block{display:block}.flex{display:flex}.grid{display:grid}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-12{height:calc(var(--spacing)*12)}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\\[400px\\]{max-height:400px}.min-h-\\[200px\\]{min-height:200px}.min-h-screen{min-height:100vh}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-12{width:calc(var(--spacing)*12)}.w-full{width:100%}.max-w-6xl{max-width:var(--container-6xl)}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-y{resize:vertical}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-blue-200{border-color:var(--color-blue-200)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-green-200{border-color:var(--color-green-200)}.border-purple-200{border-color:var(--color-purple-200)}.border-red-200{border-color:var(--color-red-200)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-white{background-color:var(--color-white)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-purple-600{--tw-gradient-from:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-600{--tw-gradient-to:var(--color-blue-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-4{padding-top:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-all{word-break:break-all}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-purple-700{color:var(--color-purple-700)}.text-purple-800{color:var(--color-purple-800)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-slate-800{color:var(--color-slate-800)}.text-white{color:var(--color-white)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-green-600:hover{background-color:var(--color-green-600)}.hover\\:bg-purple-600:hover{background-color:var(--color-purple-600)}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:from-purple-700:hover{--tw-gradient-from:var(--color-purple-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:to-blue-700:hover{--tw-gradient-to:var(--color-blue-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\\:border-purple-500:focus{border-color:var(--color-purple-500)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\\:ring-purple-500:focus{--tw-ring-color:var(--color-purple-500)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-gray-300:disabled{background-color:var(--color-gray-300)}.disabled\\:bg-gray-400:disabled{background-color:var(--color-gray-400)}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:opacity-70:disabled{opacity:.7}@media (min-width:48rem){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:64rem){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}details[open] summary svg{transform:rotate(90deg)}details summary{list-style:none}details summary::-webkit-details-marker{display:none}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:\"*\";inherits:false}@property --tw-gradient-from{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:\"*\";inherits:false}@property --tw-gradient-via-stops{syntax:\"*\";inherits:false}@property --tw-gradient-from-position{syntax:\"<length-percentage>\";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:\"<length-percentage>\";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:\"<length-percentage>\";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}"],"names":[],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_metamask_browser_playground=self.webpackChunk_metamask_browser_playground||[]).push([[29],{2029:(t,e,i)=>{i.r(e),i.d(e,{mm_install_modal:()=>p,mm_otp_modal:()=>f});var n=i(1134);const o={fontFamily:'"Euclid Circular B", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif'},r=(t,e)=>{let{className:i}=t;return(0,n.h)("div",{style:o,class:i},e)},s=()=>(0,n.h)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.h)("path",{d:"M10.4249 12.6668C10.0613 12.6668 9.81883 12.4002 9.81883 12.0002C9.81883 11.6002 10.0613 11.3335 10.4249 11.3335C12.1219 11.3335 13.4552 9.86683 13.4552 8.00016C13.4552 6.1335 12.1219 4.66683 10.4249 4.66683C8.72792 4.66683 7.39459 6.1335 7.39459 8.00016C7.39459 8.40016 7.15217 8.66683 6.78853 8.66683C6.42489 8.66683 6.18247 8.40016 6.18247 8.00016C6.18247 5.40016 8.06126 3.3335 10.4249 3.3335C12.7885 3.3335 14.6673 5.40016 14.6673 8.00016C14.6673 10.6002 12.7885 12.6668 10.4249 12.6668ZM5.4552 12.5335C3.15217 12.5335 1.33398 10.4668 1.33398 8.00016C1.33398 5.5335 3.15217 3.46683 5.4552 3.46683C5.81883 3.46683 6.06126 3.7335 6.06126 4.1335C6.06126 4.5335 5.81883 4.80016 5.4552 4.80016C3.81883 4.80016 2.54611 6.26683 2.54611 8.00016C2.54611 9.7335 3.81883 11.2002 5.4552 11.2002C7.09156 11.2002 8.36429 9.80016 8.36429 8.00016C8.36429 7.60016 8.60671 7.3335 8.97035 7.3335C9.33398 7.3335 9.57641 7.60016 9.57641 8.00016C9.5158 10.4668 7.69762 12.5335 5.4552 12.5335Z",fill:"white"}));function a(t){let{version:e}=t;return(0,n.h)("div",{class:"version-title"},"SDK Version ",e?"v".concat(e):"unknown")}const c=()=>(0,n.h)("svg",{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.h)("path",{d:"M1.25861 10.9543C1.08083 10.9543 0.962312 10.895 0.843793 10.7765C0.606756 10.5394 0.606756 10.1839 0.843793 9.94686L10.3253 0.465375C10.5623 0.228338 10.9179 0.228338 11.1549 0.465375C11.3919 0.702412 11.3919 1.05797 11.1549 1.295L1.67342 10.7765C1.5549 10.895 1.43639 10.9543 1.25861 10.9543Z",fill:"#141618"}),(0,n.h)("path",{d:"M10.7401 10.9543C10.5623 10.9543 10.4438 10.895 10.3253 10.7765L0.843793 1.295C0.606756 1.05797 0.606756 0.702412 0.843793 0.465375C1.08083 0.228338 1.43639 0.228338 1.67342 0.465375L11.1549 9.94686C11.3919 10.1839 11.3919 10.5394 11.1549 10.7765C11.0364 10.895 10.9179 10.9543 10.7401 10.9543Z",fill:"#141618"}));"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof i.g?i.g:"undefined"!==typeof self&&self;function h(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var d={exports:{}};!function(t){var e;e=()=>(()=>{var t={873:(t,e)=>{var i,n,o=function(){var t=function(t,e){var i=t,n=s[e],o=null,r=0,c=null,w=[],m={},_=function(t,e){o=function(t){for(var e=new Array(t),i=0;i<t;i+=1){e[i]=new Array(t);for(var n=0;n<t;n+=1)e[i][n]=null}return e}(r=4*i+17),y(0,0),y(r-7,0),y(0,r-7),b(),x(),C(t,e),i>=7&&M(t),null==c&&(c=S(i,n,w)),N(c,e)},y=function(t,e){for(var i=-1;i<=7;i+=1)if(!(t+i<=-1||r<=t+i))for(var n=-1;n<=7;n+=1)e+n<=-1||r<=e+n||(o[t+i][e+n]=0<=i&&i<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==i||6==i)||2<=i&&i<=4&&2<=n&&n<=4)},x=function(){for(var t=8;t<r-8;t+=1)null==o[t][6]&&(o[t][6]=t%2==0);for(var e=8;e<r-8;e+=1)null==o[6][e]&&(o[6][e]=e%2==0)},b=function(){for(var t=a.getPatternPosition(i),e=0;e<t.length;e+=1)for(var n=0;n<t.length;n+=1){var r=t[e],s=t[n];if(null==o[r][s])for(var c=-2;c<=2;c+=1)for(var h=-2;h<=2;h+=1)o[r+c][s+h]=-2==c||2==c||-2==h||2==h||0==c&&0==h}},M=function(t){for(var e=a.getBCHTypeNumber(i),n=0;n<18;n+=1){var s=!t&&1==(e>>n&1);o[Math.floor(n/3)][n%3+r-8-3]=s}for(n=0;n<18;n+=1)s=!t&&1==(e>>n&1),o[n%3+r-8-3][Math.floor(n/3)]=s},C=function(t,e){for(var i=n<<3|e,s=a.getBCHTypeInfo(i),c=0;c<15;c+=1){var h=!t&&1==(s>>c&1);c<6?o[c][8]=h:c<8?o[c+1][8]=h:o[r-15+c][8]=h}for(c=0;c<15;c+=1)h=!t&&1==(s>>c&1),c<8?o[8][r-c-1]=h:c<9?o[8][15-c-1+1]=h:o[8][15-c-1]=h;o[r-8][8]=!t},N=function(t,e){for(var i=-1,n=r-1,s=7,c=0,h=a.getMaskFunction(e),d=r-1;d>0;d-=2)for(6==d&&(d-=1);;){for(var l=0;l<2;l+=1)if(null==o[n][d-l]){var u=!1;c<t.length&&(u=1==(t[c]>>>s&1)),h(n,d-l)&&(u=!u),o[n][d-l]=u,-1==(s-=1)&&(c+=1,s=7)}if((n+=i)<0||r<=n){n-=i,i=-i;break}}},S=function(t,e,i){for(var n=d.getRSBlocks(t,e),o=l(),r=0;r<i.length;r+=1){var s=i[r];o.put(s.getMode(),4),o.put(s.getLength(),a.getLengthInBits(s.getMode(),t)),s.write(o)}var c=0;for(r=0;r<n.length;r+=1)c+=n[r].dataCount;if(o.getLengthInBits()>8*c)throw"code length overflow. ("+o.getLengthInBits()+">"+8*c+")";for(o.getLengthInBits()+4<=8*c&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*c||(o.put(236,8),o.getLengthInBits()>=8*c));)o.put(17,8);return function(t,e){for(var i=0,n=0,o=0,r=new Array(e.length),s=new Array(e.length),c=0;c<e.length;c+=1){var d=e[c].dataCount,l=e[c].totalCount-d;n=Math.max(n,d),o=Math.max(o,l),r[c]=new Array(d);for(var u=0;u<r[c].length;u+=1)r[c][u]=255&t.getBuffer()[u+i];i+=d;var g=a.getErrorCorrectPolynomial(l),p=h(r[c],g.getLength()-1).mod(g);for(s[c]=new Array(g.getLength()-1),u=0;u<s[c].length;u+=1){var f=u+p.getLength()-s[c].length;s[c][u]=f>=0?p.getAt(f):0}}var w=0;for(u=0;u<e.length;u+=1)w+=e[u].totalCount;var m=new Array(w),v=0;for(u=0;u<n;u+=1)for(c=0;c<e.length;c+=1)u<r[c].length&&(m[v]=r[c][u],v+=1);for(u=0;u<o;u+=1)for(c=0;c<e.length;c+=1)u<s[c].length&&(m[v]=s[c][u],v+=1);return m}(o,n)};m.addData=function(t,e){var i=null;switch(e=e||"Byte"){case"Numeric":i=u(t);break;case"Alphanumeric":i=g(t);break;case"Byte":i=p(t);break;case"Kanji":i=f(t);break;default:throw"mode:"+e}w.push(i),c=null},m.isDark=function(t,e){if(t<0||r<=t||e<0||r<=e)throw t+","+e;return o[t][e]},m.getModuleCount=function(){return r},m.make=function(){if(i<1){for(var t=1;t<40;t++){for(var e=d.getRSBlocks(t,n),o=l(),r=0;r<w.length;r++){var s=w[r];o.put(s.getMode(),4),o.put(s.getLength(),a.getLengthInBits(s.getMode(),t)),s.write(o)}var c=0;for(r=0;r<e.length;r++)c+=e[r].dataCount;if(o.getLengthInBits()<=8*c)break}i=t}_(!1,function(){for(var t=0,e=0,i=0;i<8;i+=1){_(!0,i);var n=a.getLostPoint(m);(0==i||t>n)&&(t=n,e=i)}return e}())},m.createTableTag=function(t,e){t=t||2;var i="";i+='<table style="',i+=" border-width: 0px; border-style: none;",i+=" border-collapse: collapse;",i+=" padding: 0px; margin: "+(e=void 0===e?4*t:e)+"px;",i+='">',i+="<tbody>";for(var n=0;n<m.getModuleCount();n+=1){i+="<tr>";for(var o=0;o<m.getModuleCount();o+=1)i+='<td style="',i+=" border-width: 0px; border-style: none;",i+=" border-collapse: collapse;",i+=" padding: 0px; margin: 0px;",i+=" width: "+t+"px;",i+=" height: "+t+"px;",i+=" background-color: ",i+=m.isDark(n,o)?"#000000":"#ffffff",i+=";",i+='"/>';i+="</tr>"}return(i+="</tbody>")+"</table>"},m.createSvgTag=function(t,e,i,n){var o={};"object"==typeof arguments[0]&&(t=(o=arguments[0]).cellSize,e=o.margin,i=o.alt,n=o.title),t=t||2,e=void 0===e?4*t:e,(i="string"==typeof i?{text:i}:i||{}).text=i.text||null,i.id=i.text?i.id||"qrcode-description":null,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-title":null;var r,s,a,c,h=m.getModuleCount()*t+2*e,d="";for(c="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ",d+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',d+=o.scalable?"":' width="'+h+'px" height="'+h+'px"',d+=' viewBox="0 0 '+h+" "+h+'" ',d+=' preserveAspectRatio="xMinYMin meet"',d+=n.text||i.text?' role="img" aria-labelledby="'+O([n.id,i.id].join(" ").trim())+'"':"",d+=">",d+=n.text?'<title id="'+O(n.id)+'">'+O(n.text)+"</title>":"",d+=i.text?'<description id="'+O(i.id)+'">'+O(i.text)+"</description>":"",d+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',d+='<path d="',s=0;s<m.getModuleCount();s+=1)for(a=s*t+e,r=0;r<m.getModuleCount();r+=1)m.isDark(s,r)&&(d+="M"+(r*t+e)+","+a+c);return(d+='" stroke="transparent" fill="black"/>')+"</svg>"},m.createDataURL=function(t,e){t=t||2,e=void 0===e?4*t:e;var i=m.getModuleCount()*t+2*e,n=e,o=i-e;return v(i,i,function(e,i){if(n<=e&&e<o&&n<=i&&i<o){var r=Math.floor((e-n)/t),s=Math.floor((i-n)/t);return m.isDark(s,r)?0:1}return 1})},m.createImgTag=function(t,e,i){t=t||2,e=void 0===e?4*t:e;var n=m.getModuleCount()*t+2*e,o="";return o+="<img",o+=' src="',o+=m.createDataURL(t,e),o+='"',o+=' width="',o+=n,o+='"',o+=' height="',o+=n,o+='"',i&&(o+=' alt="',o+=O(i),o+='"'),o+"/>"};var O=function(t){for(var e="",i=0;i<t.length;i+=1){var n=t.charAt(i);switch(n){case"<":e+="<";break;case">":e+=">";break;case"&":e+="&";break;case'"':e+=""";break;default:e+=n}}return e};return m.createASCII=function(t,e){if((t=t||1)<2)return function(t){t=void 0===t?2:t;var e,i,n,o,r,s=1*m.getModuleCount()+2*t,a=t,c=s-t,h={"\u2588\u2588":"\u2588","\u2588 ":"\u2580"," \u2588":"\u2584"," ":" "},d={"\u2588\u2588":"\u2580","\u2588 ":"\u2580"," \u2588":" "," ":" "},l="";for(e=0;e<s;e+=2){for(n=Math.floor((e-a)/1),o=Math.floor((e+1-a)/1),i=0;i<s;i+=1)r="\u2588",a<=i&&i<c&&a<=e&&e<c&&m.isDark(n,Math.floor((i-a)/1))&&(r=" "),a<=i&&i<c&&a<=e+1&&e+1<c&&m.isDark(o,Math.floor((i-a)/1))?r+=" ":r+="\u2588",l+=t<1&&e+1>=c?d[r]:h[r];l+="\n"}return s%2&&t>0?l.substring(0,l.length-s-1)+Array(s+1).join("\u2580"):l.substring(0,l.length-1)}(e);t-=1,e=void 0===e?2*t:e;var i,n,o,r,s=m.getModuleCount()*t+2*e,a=e,c=s-e,h=Array(t+1).join("\u2588\u2588"),d=Array(t+1).join(" "),l="",u="";for(i=0;i<s;i+=1){for(o=Math.floor((i-a)/t),u="",n=0;n<s;n+=1)r=1,a<=n&&n<c&&a<=i&&i<c&&m.isDark(o,Math.floor((n-a)/t))&&(r=0),u+=r?h:d;for(o=0;o<t;o+=1)l+=u+"\n"}return l.substring(0,l.length-1)},m.renderTo2dContext=function(t,e){e=e||2;for(var i=m.getModuleCount(),n=0;n<i;n++)for(var o=0;o<i;o++)t.fillStyle=m.isDark(n,o)?"black":"white",t.fillRect(n*e,o*e,e,e)},m};t.stringToBytes=(t.stringToBytesFuncs={default:function(t){for(var e=[],i=0;i<t.length;i+=1){var n=t.charCodeAt(i);e.push(255&n)}return e}}).default,t.createStringToBytes=function(t,e){var i=function(){for(var i=m(t),n=function(){var t=i.read();if(-1==t)throw"eof";return t},o=0,r={};;){var s=i.read();if(-1==s)break;var a=n(),c=n()<<8|n();r[String.fromCharCode(s<<8|a)]=c,o+=1}if(o!=e)throw o+" != "+e;return r}(),n="?".charCodeAt(0);return function(t){for(var e=[],o=0;o<t.length;o+=1){var r=t.charCodeAt(o);if(r<128)e.push(r);else{var s=i[t.charAt(o)];"number"==typeof s?(255&s)==s?e.push(s):(e.push(s>>>8),e.push(255&s)):e.push(n)}}return e}};var e,i,n,o,r,s={L:1,M:0,Q:3,H:2},a=(e=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],i=1335,n=7973,r=function(t){for(var e=0;0!=t;)e+=1,t>>>=1;return e},(o={}).getBCHTypeInfo=function(t){for(var e=t<<10;r(e)-r(i)>=0;)e^=i<<r(e)-r(i);return 21522^(t<<10|e)},o.getBCHTypeNumber=function(t){for(var e=t<<12;r(e)-r(n)>=0;)e^=n<<r(e)-r(n);return t<<12|e},o.getPatternPosition=function(t){return e[t-1]},o.getMaskFunction=function(t){switch(t){case 0:return function(t,e){return(t+e)%2==0};case 1:return function(t,e){return t%2==0};case 2:return function(t,e){return e%3==0};case 3:return function(t,e){return(t+e)%3==0};case 4:return function(t,e){return(Math.floor(t/2)+Math.floor(e/3))%2==0};case 5:return function(t,e){return t*e%2+t*e%3==0};case 6:return function(t,e){return(t*e%2+t*e%3)%2==0};case 7:return function(t,e){return(t*e%3+(t+e)%2)%2==0};default:throw"bad maskPattern:"+t}},o.getErrorCorrectPolynomial=function(t){for(var e=h([1],0),i=0;i<t;i+=1)e=e.multiply(h([1,c.gexp(i)],0));return e},o.getLengthInBits=function(t,e){if(1<=e&&e<10)switch(t){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+t}else if(e<27)switch(t){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+t}else{if(!(e<41))throw"type:"+e;switch(t){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+t}}},o.getLostPoint=function(t){for(var e=t.getModuleCount(),i=0,n=0;n<e;n+=1)for(var o=0;o<e;o+=1){for(var r=0,s=t.isDark(n,o),a=-1;a<=1;a+=1)if(!(n+a<0||e<=n+a))for(var c=-1;c<=1;c+=1)o+c<0||e<=o+c||0==a&&0==c||s==t.isDark(n+a,o+c)&&(r+=1);r>5&&(i+=3+r-5)}for(n=0;n<e-1;n+=1)for(o=0;o<e-1;o+=1){var h=0;t.isDark(n,o)&&(h+=1),t.isDark(n+1,o)&&(h+=1),t.isDark(n,o+1)&&(h+=1),t.isDark(n+1,o+1)&&(h+=1),0!=h&&4!=h||(i+=3)}for(n=0;n<e;n+=1)for(o=0;o<e-6;o+=1)t.isDark(n,o)&&!t.isDark(n,o+1)&&t.isDark(n,o+2)&&t.isDark(n,o+3)&&t.isDark(n,o+4)&&!t.isDark(n,o+5)&&t.isDark(n,o+6)&&(i+=40);for(o=0;o<e;o+=1)for(n=0;n<e-6;n+=1)t.isDark(n,o)&&!t.isDark(n+1,o)&&t.isDark(n+2,o)&&t.isDark(n+3,o)&&t.isDark(n+4,o)&&!t.isDark(n+5,o)&&t.isDark(n+6,o)&&(i+=40);var d=0;for(o=0;o<e;o+=1)for(n=0;n<e;n+=1)t.isDark(n,o)&&(d+=1);return i+Math.abs(100*d/e/e-50)/5*10},o),c=function(){for(var t=new Array(256),e=new Array(256),i=0;i<8;i+=1)t[i]=1<<i;for(i=8;i<256;i+=1)t[i]=t[i-4]^t[i-5]^t[i-6]^t[i-8];for(i=0;i<255;i+=1)e[t[i]]=i;return{glog:function(t){if(t<1)throw"glog("+t+")";return e[t]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t[e]}}}();function h(t,e){if(void 0===t.length)throw t.length+"/"+e;var i=function(){for(var i=0;i<t.length&&0==t[i];)i+=1;for(var n=new Array(t.length-i+e),o=0;o<t.length-i;o+=1)n[o]=t[o+i];return n}(),n={getAt:function(t){return i[t]},getLength:function(){return i.length},multiply:function(t){for(var e=new Array(n.getLength()+t.getLength()-1),i=0;i<n.getLength();i+=1)for(var o=0;o<t.getLength();o+=1)e[i+o]^=c.gexp(c.glog(n.getAt(i))+c.glog(t.getAt(o)));return h(e,0)},mod:function(t){if(n.getLength()-t.getLength()<0)return n;for(var e=c.glog(n.getAt(0))-c.glog(t.getAt(0)),i=new Array(n.getLength()),o=0;o<n.getLength();o+=1)i[o]=n.getAt(o);for(o=0;o<t.getLength();o+=1)i[o]^=c.gexp(c.glog(t.getAt(o))+e);return h(i,0).mod(t)}};return n}var d=function(){var t=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],e=function(t,e){var i={};return i.totalCount=t,i.dataCount=e,i},i={getRSBlocks:function(i,n){var o=function(e,i){switch(i){case s.L:return t[4*(e-1)+0];case s.M:return t[4*(e-1)+1];case s.Q:return t[4*(e-1)+2];case s.H:return t[4*(e-1)+3];default:return}}(i,n);if(void 0===o)throw"bad rs block @ typeNumber:"+i+"/errorCorrectionLevel:"+n;for(var r=o.length/3,a=[],c=0;c<r;c+=1)for(var h=o[3*c+0],d=o[3*c+1],l=o[3*c+2],u=0;u<h;u+=1)a.push(e(d,l));return a}};return i}(),l=function(){var t=[],e=0,i={getBuffer:function(){return t},getAt:function(e){var i=Math.floor(e/8);return 1==(t[i]>>>7-e%8&1)},put:function(t,e){for(var n=0;n<e;n+=1)i.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return e},putBit:function(i){var n=Math.floor(e/8);t.length<=n&&t.push(0),i&&(t[n]|=128>>>e%8),e+=1}};return i},u=function(t){var e=t,i={getMode:function(){return 1},getLength:function(t){return e.length},write:function(t){for(var i=e,o=0;o+2<i.length;)t.put(n(i.substring(o,o+3)),10),o+=3;o<i.length&&(i.length-o==1?t.put(n(i.substring(o,o+1)),4):i.length-o==2&&t.put(n(i.substring(o,o+2)),7))}},n=function(t){for(var e=0,i=0;i<t.length;i+=1)e=10*e+o(t.charAt(i));return e},o=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+t};return i},g=function(t){var e=t,i={getMode:function(){return 2},getLength:function(t){return e.length},write:function(t){for(var i=e,o=0;o+1<i.length;)t.put(45*n(i.charAt(o))+n(i.charAt(o+1)),11),o+=2;o<i.length&&t.put(n(i.charAt(o)),6)}},n=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);if("A"<=t&&t<="Z")return t.charCodeAt(0)-"A".charCodeAt(0)+10;switch(t){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+t}};return i},p=function(e){var i=t.stringToBytes(e);return{getMode:function(){return 4},getLength:function(t){return i.length},write:function(t){for(var e=0;e<i.length;e+=1)t.put(i[e],8)}}},f=function(e){var i=t.stringToBytesFuncs.SJIS;if(!i)throw"sjis not supported.";!function(){var t=i("\u53cb");if(2!=t.length||38726!=(t[0]<<8|t[1]))throw"sjis not supported."}();var n=i(e),o={getMode:function(){return 8},getLength:function(t){return~~(n.length/2)},write:function(t){for(var e=n,i=0;i+1<e.length;){var o=(255&e[i])<<8|255&e[i+1];if(33088<=o&&o<=40956)o-=33088;else{if(!(57408<=o&&o<=60351))throw"illegal char at "+(i+1)+"/"+o;o-=49472}o=192*(o>>>8&255)+(255&o),t.put(o,13),i+=2}if(i<e.length)throw"illegal char at "+(i+1)}};return o},w=function(){var t=[],e={writeByte:function(e){t.push(255&e)},writeShort:function(t){e.writeByte(t),e.writeByte(t>>>8)},writeBytes:function(t,i,n){i=i||0,n=n||t.length;for(var o=0;o<n;o+=1)e.writeByte(t[o+i])},writeString:function(t){for(var i=0;i<t.length;i+=1)e.writeByte(t.charCodeAt(i))},toByteArray:function(){return t},toString:function(){var e="";e+="[";for(var i=0;i<t.length;i+=1)i>0&&(e+=","),e+=t[i];return e+"]"}};return e},m=function(t){var e=t,i=0,n=0,o=0,r={read:function(){for(;o<8;){if(i>=e.length){if(0==o)return-1;throw"unexpected end of file./"+o}var t=e.charAt(i);if(i+=1,"="==t)return o=0,-1;t.match(/^\s$/)||(n=n<<6|s(t.charCodeAt(0)),o+=6)}var r=n>>>o-8&255;return o-=8,r}},s=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return r},v=function(t,e,i){for(var n=function(t,e){var i=t,n=e,o=new Array(t*e),r={setPixel:function(t,e,n){o[e*i+t]=n},write:function(t){t.writeString("GIF87a"),t.writeShort(i),t.writeShort(n),t.writeByte(128),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(255),t.writeByte(255),t.writeByte(255),t.writeString(","),t.writeShort(0),t.writeShort(0),t.writeShort(i),t.writeShort(n),t.writeByte(0);var e=s(2);t.writeByte(2);for(var o=0;e.length-o>255;)t.writeByte(255),t.writeBytes(e,o,255),o+=255;t.writeByte(e.length-o),t.writeBytes(e,o,e.length-o),t.writeByte(0),t.writeString(";")}},s=function(t){for(var e=1<<t,i=1+(1<<t),n=t+1,r=a(),s=0;s<e;s+=1)r.add(String.fromCharCode(s));r.add(String.fromCharCode(e)),r.add(String.fromCharCode(i));var c,h,d,l=w(),u=(c=l,h=0,d=0,{write:function(t,e){if(t>>>e!=0)throw"length over";for(;h+e>=8;)c.writeByte(255&(t<<h|d)),e-=8-h,t>>>=8-h,d=0,h=0;d|=t<<h,h+=e},flush:function(){h>0&&c.writeByte(d)}});u.write(e,n);var g=0,p=String.fromCharCode(o[g]);for(g+=1;g<o.length;){var f=String.fromCharCode(o[g]);g+=1,r.contains(p+f)?p+=f:(u.write(r.indexOf(p),n),r.size()<4095&&(r.size()==1<<n&&(n+=1),r.add(p+f)),p=f)}return u.write(r.indexOf(p),n),u.write(i,n),u.flush(),l.toByteArray()},a=function(){var t={},e=0,i={add:function(n){if(i.contains(n))throw"dup key:"+n;t[n]=e,e+=1},size:function(){return e},indexOf:function(e){return t[e]},contains:function(e){return void 0!==t[e]}};return i};return r}(t,e),o=0;o<e;o+=1)for(var r=0;r<t;r+=1)n.setPixel(r,o,i(r,o));var s=w();n.write(s);for(var a=function(){var t=0,e=0,i=0,n="",o={},r=function(t){n+=String.fromCharCode(s(63&t))},s=function(t){if(t<0);else{if(t<26)return 65+t;if(t<52)return t-26+97;if(t<62)return t-52+48;if(62==t)return 43;if(63==t)return 47}throw"n:"+t};return o.writeByte=function(n){for(t=t<<8|255&n,e+=8,i+=1;e>=6;)r(t>>>e-6),e-=6},o.flush=function(){if(e>0&&(r(t<<6-e),t=0,e=0),i%3!=0)for(var o=3-i%3,s=0;s<o;s+=1)n+="="},o.toString=function(){return n},o}(),c=s.toByteArray(),h=0;h<c.length;h+=1)a.writeByte(c[h]);return a.flush(),"data:image/gif;base64,"+a};return t}();o.stringToBytesFuncs["UTF-8"]=function(t){return function(t){for(var e=[],i=0;i<t.length;i++){var n=t.charCodeAt(i);n<128?e.push(n):n<2048?e.push(192|n>>6,128|63&n):n<55296||n>=57344?e.push(224|n>>12,128|n>>6&63,128|63&n):(i++,n=65536+((1023&n)<<10|1023&t.charCodeAt(i)),e.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return e}(t)},void 0===(n="function"==typeof(i=function(){return o})?i.apply(e,[]):i)||(t.exports=n)}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n={};return(()=>{i.d(n,{default:()=>O});const t=t=>!!t&&"object"==typeof t&&!Array.isArray(t);function e(i){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];if(!o.length)return i;const s=o.shift();return void 0!==s&&t(i)&&t(s)?(i=Object.assign({},i),Object.keys(s).forEach(n=>{const o=i[n],r=s[n];Array.isArray(o)&&Array.isArray(r)?i[n]=r:t(o)&&t(r)?i[n]=e(Object.assign({},o),r):i[n]=r}),e(i,...o)):i}function o(t,e){const i=document.createElement("a");i.download=e,i.href=t,document.body.appendChild(i),i.click(),document.body.removeChild(i)}const r={L:.07,M:.15,Q:.25,H:.3};class s{constructor(t){let{svg:e,type:i,window:n}=t;this._svg=e,this._type=i,this._window=n}draw(t,e,i,n){let o;switch(this._type){case"dots":o=this._drawDot;break;case"classy":o=this._drawClassy;break;case"classy-rounded":o=this._drawClassyRounded;break;case"rounded":o=this._drawRounded;break;case"extra-rounded":o=this._drawExtraRounded;break;default:o=this._drawSquare}o.call(this,{x:t,y:e,size:i,getNeighbor:n})}_rotateFigure(t){let{x:e,y:i,size:n,rotation:o=0,draw:r}=t;var s;const a=e+n/2,c=i+n/2;r(),null===(s=this._element)||void 0===s||s.setAttribute("transform","rotate(".concat(180*o/Math.PI,",").concat(a,",").concat(c,")"))}_basicDot(t){const{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(i+e/2)),this._element.setAttribute("cy",String(n+e/2)),this._element.setAttribute("r",String(e/2))}}))}_basicSquare(t){const{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(i)),this._element.setAttribute("y",String(n)),this._element.setAttribute("width",String(e)),this._element.setAttribute("height",String(e))}}))}_basicSideRounded(t){const{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d","M ".concat(i," ").concat(n,"v ").concat(e,"h ")+e/2+"a ".concat(e/2," ").concat(e/2,", 0, 0, 0, 0 ").concat(-e))}}))}_basicCornerRounded(t){const{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d","M ".concat(i," ").concat(n,"v ").concat(e,"h ").concat(e,"v ")+-e/2+"a ".concat(e/2," ").concat(e/2,", 0, 0, 0, ").concat(-e/2," ").concat(-e/2))}}))}_basicCornerExtraRounded(t){const{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d","M ".concat(i," ").concat(n,"v ").concat(e,"h ").concat(e,"a ").concat(e," ").concat(e,", 0, 0, 0, ").concat(-e," ").concat(-e))}}))}_basicCornersRounded(t){const{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d","M ".concat(i," ").concat(n,"v ")+e/2+"a ".concat(e/2," ").concat(e/2,", 0, 0, 0, ").concat(e/2," ").concat(e/2,"h ")+e/2+"v "+-e/2+"a ".concat(e/2," ").concat(e/2,", 0, 0, 0, ").concat(-e/2," ").concat(-e/2))}}))}_drawDot(t){let{x:e,y:i,size:n}=t;this._basicDot({x:e,y:i,size:n,rotation:0})}_drawSquare(t){let{x:e,y:i,size:n}=t;this._basicSquare({x:e,y:i,size:n,rotation:0})}_drawRounded(t){let{x:e,y:i,size:n,getNeighbor:o}=t;const r=o?+o(-1,0):0,s=o?+o(1,0):0,a=o?+o(0,-1):0,c=o?+o(0,1):0,h=r+s+a+c;if(0!==h)if(h>2||r&&s||a&&c)this._basicSquare({x:e,y:i,size:n,rotation:0});else{if(2===h){let t=0;return r&&a?t=Math.PI/2:a&&s?t=Math.PI:s&&c&&(t=-Math.PI/2),void this._basicCornerRounded({x:e,y:i,size:n,rotation:t})}if(1===h){let t=0;return a?t=Math.PI/2:s?t=Math.PI:c&&(t=-Math.PI/2),void this._basicSideRounded({x:e,y:i,size:n,rotation:t})}}else this._basicDot({x:e,y:i,size:n,rotation:0})}_drawExtraRounded(t){let{x:e,y:i,size:n,getNeighbor:o}=t;const r=o?+o(-1,0):0,s=o?+o(1,0):0,a=o?+o(0,-1):0,c=o?+o(0,1):0,h=r+s+a+c;if(0!==h)if(h>2||r&&s||a&&c)this._basicSquare({x:e,y:i,size:n,rotation:0});else{if(2===h){let t=0;return r&&a?t=Math.PI/2:a&&s?t=Math.PI:s&&c&&(t=-Math.PI/2),void this._basicCornerExtraRounded({x:e,y:i,size:n,rotation:t})}if(1===h){let t=0;return a?t=Math.PI/2:s?t=Math.PI:c&&(t=-Math.PI/2),void this._basicSideRounded({x:e,y:i,size:n,rotation:t})}}else this._basicDot({x:e,y:i,size:n,rotation:0})}_drawClassy(t){let{x:e,y:i,size:n,getNeighbor:o}=t;const r=o?+o(-1,0):0,s=o?+o(1,0):0,a=o?+o(0,-1):0,c=o?+o(0,1):0;0!==r+s+a+c?r||a?s||c?this._basicSquare({x:e,y:i,size:n,rotation:0}):this._basicCornerRounded({x:e,y:i,size:n,rotation:Math.PI/2}):this._basicCornerRounded({x:e,y:i,size:n,rotation:-Math.PI/2}):this._basicCornersRounded({x:e,y:i,size:n,rotation:Math.PI/2})}_drawClassyRounded(t){let{x:e,y:i,size:n,getNeighbor:o}=t;const r=o?+o(-1,0):0,s=o?+o(1,0):0,a=o?+o(0,-1):0,c=o?+o(0,1):0;0!==r+s+a+c?r||a?s||c?this._basicSquare({x:e,y:i,size:n,rotation:0}):this._basicCornerExtraRounded({x:e,y:i,size:n,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:e,y:i,size:n,rotation:-Math.PI/2}):this._basicCornersRounded({x:e,y:i,size:n,rotation:Math.PI/2})}}const a={dot:"dot",square:"square",extraRounded:"extra-rounded"},c=Object.values(a);class h{constructor(t){let{svg:e,type:i,window:n}=t;this._svg=e,this._type=i,this._window=n}draw(t,e,i,n){let o;switch(this._type){case a.square:o=this._drawSquare;break;case a.extraRounded:o=this._drawExtraRounded;break;default:o=this._drawDot}o.call(this,{x:t,y:e,size:i,rotation:n})}_rotateFigure(t){let{x:e,y:i,size:n,rotation:o=0,draw:r}=t;var s;const a=e+n/2,c=i+n/2;r(),null===(s=this._element)||void 0===s||s.setAttribute("transform","rotate(".concat(180*o/Math.PI,",").concat(a,",").concat(c,")"))}_basicDot(t){const{size:e,x:i,y:n}=t,o=e/7;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d","M ".concat(i+e/2," ").concat(n,"a ").concat(e/2," ").concat(e/2," 0 1 0 0.1 0zm 0 ").concat(o,"a ").concat(e/2-o," ").concat(e/2-o," 0 1 1 -0.1 0Z"))}}))}_basicSquare(t){const{size:e,x:i,y:n}=t,o=e/7;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d","M ".concat(i," ").concat(n,"v ").concat(e,"h ").concat(e,"v ")+-e+"z"+"M ".concat(i+o," ").concat(n+o,"h ")+(e-2*o)+"v "+(e-2*o)+"h "+(2*o-e)+"z")}}))}_basicExtraRounded(t){const{size:e,x:i,y:n}=t,o=e/7;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d","M ".concat(i," ").concat(n+2.5*o,"v ")+2*o+"a ".concat(2.5*o," ").concat(2.5*o,", 0, 0, 0, ").concat(2.5*o," ").concat(2.5*o,"h ")+2*o+"a ".concat(2.5*o," ").concat(2.5*o,", 0, 0, 0, ").concat(2.5*o," ").concat(2.5*-o,"v ")+-2*o+"a ".concat(2.5*o," ").concat(2.5*o,", 0, 0, 0, ").concat(2.5*-o," ").concat(2.5*-o,"h ")+-2*o+"a ".concat(2.5*o," ").concat(2.5*o,", 0, 0, 0, ").concat(2.5*-o," ").concat(2.5*o)+"M ".concat(i+2.5*o," ").concat(n+o,"h ")+2*o+"a ".concat(1.5*o," ").concat(1.5*o,", 0, 0, 1, ").concat(1.5*o," ").concat(1.5*o,"v ")+2*o+"a ".concat(1.5*o," ").concat(1.5*o,", 0, 0, 1, ").concat(1.5*-o," ").concat(1.5*o,"h ")+-2*o+"a ".concat(1.5*o," ").concat(1.5*o,", 0, 0, 1, ").concat(1.5*-o," ").concat(1.5*-o,"v ")+-2*o+"a ".concat(1.5*o," ").concat(1.5*o,", 0, 0, 1, ").concat(1.5*o," ").concat(1.5*-o))}}))}_drawDot(t){let{x:e,y:i,size:n,rotation:o}=t;this._basicDot({x:e,y:i,size:n,rotation:o})}_drawSquare(t){let{x:e,y:i,size:n,rotation:o}=t;this._basicSquare({x:e,y:i,size:n,rotation:o})}_drawExtraRounded(t){let{x:e,y:i,size:n,rotation:o}=t;this._basicExtraRounded({x:e,y:i,size:n,rotation:o})}}const d={dot:"dot",square:"square"},l=Object.values(d);class u{constructor(t){let{svg:e,type:i,window:n}=t;this._svg=e,this._type=i,this._window=n}draw(t,e,i,n){let o;o=this._type===d.square?this._drawSquare:this._drawDot,o.call(this,{x:t,y:e,size:i,rotation:n})}_rotateFigure(t){let{x:e,y:i,size:n,rotation:o=0,draw:r}=t;var s;const a=e+n/2,c=i+n/2;r(),null===(s=this._element)||void 0===s||s.setAttribute("transform","rotate(".concat(180*o/Math.PI,",").concat(a,",").concat(c,")"))}_basicDot(t){const{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(i+e/2)),this._element.setAttribute("cy",String(n+e/2)),this._element.setAttribute("r",String(e/2))}}))}_basicSquare(t){const{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(i)),this._element.setAttribute("y",String(n)),this._element.setAttribute("width",String(e)),this._element.setAttribute("height",String(e))}}))}_drawDot(t){let{x:e,y:i,size:n,rotation:o}=t;this._basicDot({x:e,y:i,size:n,rotation:o})}_drawSquare(t){let{x:e,y:i,size:n,rotation:o}=t;this._basicSquare({x:e,y:i,size:n,rotation:o})}}const g="circle",p=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],f=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];class w{constructor(t,e){this._roundSize=t=>this._options.dotsOptions.roundSize?Math.floor(t):t,this._window=e,this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(t.width)),this._element.setAttribute("height",String(t.height)),this._element.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),t.dotsOptions.roundSize||this._element.setAttribute("shape-rendering","crispEdges"),this._element.setAttribute("viewBox","0 0 ".concat(t.width," ").concat(t.height)),this._defs=this._window.document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._imageUri=t.image,this._instanceId=w.instanceCount++,this._options=t}get width(){return this._options.width}get height(){return this._options.height}getElement(){return this._element}async drawQR(t){const e=t.getModuleCount(),i=Math.min(this._options.width,this._options.height)-2*this._options.margin,n=this._options.shape===g?i/Math.sqrt(2):i,o=this._roundSize(n/e);let s={hideXDots:0,hideYDots:0,width:0,height:0};if(this._qr=t,this._options.image){if(await this.loadImage(),!this._image)return;const{imageOptions:t,qrOptions:i}=this._options,n=t.imageSize*r[i.errorCorrectionLevel],a=Math.floor(n*e*e);s=function(t){let{originalHeight:e,originalWidth:i,maxHiddenDots:n,maxHiddenAxisDots:o,dotSize:r}=t;const s={x:0,y:0},a={x:0,y:0};if(e<=0||i<=0||n<=0||r<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};const c=e/i;return s.x=Math.floor(Math.sqrt(n/c)),s.x<=0&&(s.x=1),o&&o<s.x&&(s.x=o),s.x%2==0&&s.x--,a.x=s.x*r,s.y=1+2*Math.ceil((s.x*c-1)/2),a.y=Math.round(a.x*c),(s.y*s.x>n||o&&o<s.y)&&(o&&o<s.y?(s.y=o,s.y%2==0&&s.x--):s.y-=2,a.y=s.y*r,s.x=1+2*Math.ceil((s.y/c-1)/2),a.x=Math.round(a.y/c)),{height:a.y,width:a.x,hideYDots:s.y,hideXDots:s.x}}({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:a,maxHiddenAxisDots:e-14,dotSize:o})}this.drawBackground(),this.drawDots((t,i)=>{var n,o,r,a,c,h;return!(this._options.imageOptions.hideBackgroundDots&&t>=(e-s.hideYDots)/2&&t<(e+s.hideYDots)/2&&i>=(e-s.hideXDots)/2&&i<(e+s.hideXDots)/2||(null===(n=p[t])||void 0===n?void 0:n[i])||(null===(o=p[t-e+7])||void 0===o?void 0:o[i])||(null===(r=p[t])||void 0===r?void 0:r[i-e+7])||(null===(a=f[t])||void 0===a?void 0:a[i])||(null===(c=f[t-e+7])||void 0===c?void 0:c[i])||(null===(h=f[t])||void 0===h?void 0:h[i-e+7]))}),this.drawCorners(),this._options.image&&await this.drawImage({width:s.width,height:s.height,count:e,dotSize:o})}drawBackground(){var t,e,i;const n=this._element,o=this._options;if(n){const n=null===(t=o.backgroundOptions)||void 0===t?void 0:t.gradient,r=null===(e=o.backgroundOptions)||void 0===e?void 0:e.color;let s=o.height,a=o.width;if(n||r){const t=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id","clip-path-background-color-".concat(this._instanceId)),this._defs.appendChild(this._backgroundClipPath),(null===(i=o.backgroundOptions)||void 0===i?void 0:i.round)&&(s=a=Math.min(o.width,o.height),t.setAttribute("rx",String(s/2*o.backgroundOptions.round))),t.setAttribute("x",String(this._roundSize((o.width-a)/2))),t.setAttribute("y",String(this._roundSize((o.height-s)/2))),t.setAttribute("width",String(a)),t.setAttribute("height",String(s)),this._backgroundClipPath.appendChild(t),this._createColor({options:n,color:r,additionalRotation:0,x:0,y:0,height:o.height,width:o.width,name:"background-color-".concat(this._instanceId)})}}}drawDots(t){var e,i;if(!this._qr)throw"QR code is not defined";const n=this._options,o=this._qr.getModuleCount();if(o>n.width||o>n.height)throw"The canvas is too small.";const r=Math.min(n.width,n.height)-2*n.margin,a=n.shape===g?r/Math.sqrt(2):r,c=this._roundSize(a/o),h=this._roundSize((n.width-o*c)/2),d=this._roundSize((n.height-o*c)/2),l=new s({svg:this._element,type:n.dotsOptions.type,window:this._window});this._dotsClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id","clip-path-dot-color-".concat(this._instanceId)),this._defs.appendChild(this._dotsClipPath),this._createColor({options:null===(e=n.dotsOptions)||void 0===e?void 0:e.gradient,color:n.dotsOptions.color,additionalRotation:0,x:0,y:0,height:n.height,width:n.width,name:"dot-color-".concat(this._instanceId)});for(let s=0;s<o;s++)for(let e=0;e<o;e++)t&&!t(s,e)||(null===(i=this._qr)||void 0===i?void 0:i.isDark(s,e))&&(l.draw(h+e*c,d+s*c,c,(i,n)=>!(e+i<0||s+n<0||e+i>=o||s+n>=o)&&!(t&&!t(s+n,e+i))&&!!this._qr&&this._qr.isDark(s+n,e+i)),l._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(l._element));if(n.shape===g){const t=this._roundSize((r/c-o)/2),e=o+2*t,i=h-t*c,n=d-t*c,s=[],a=this._roundSize(e/2);for(let r=0;r<e;r++){s[r]=[];for(let i=0;i<e;i++)r>=t-1&&r<=e-t&&i>=t-1&&i<=e-t||Math.sqrt((r-a)*(r-a)+(i-a)*(i-a))>a?s[r][i]=0:s[r][i]=this._qr.isDark(i-2*t<0?i:i>=o?i-2*t:i-t,r-2*t<0?r:r>=o?r-2*t:r-t)?1:0}for(let o=0;o<e;o++)for(let t=0;t<e;t++)s[o][t]&&(l.draw(i+t*c,n+o*c,c,(e,i)=>{var n;return!!(null===(n=s[o+i])||void 0===n?void 0:n[t+e])}),l._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(l._element))}}drawCorners(){if(!this._qr)throw"QR code is not defined";const t=this._element,e=this._options;if(!t)throw"Element code is not defined";const i=this._qr.getModuleCount(),n=Math.min(e.width,e.height)-2*e.margin,o=e.shape===g?n/Math.sqrt(2):n,r=this._roundSize(o/i),a=7*r,d=3*r,w=this._roundSize((e.width-i*r)/2),m=this._roundSize((e.height-i*r)/2);[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(t=>{let[n,o,g]=t;var v,_,y,x,b,M,C,N,S,O,A,D,I,T;const k=w+n*r*(i-7),j=m+o*r*(i-7);let L=this._dotsClipPath,E=this._dotsClipPath;if(((null===(v=e.cornersSquareOptions)||void 0===v?void 0:v.gradient)||(null===(_=e.cornersSquareOptions)||void 0===_?void 0:_.color))&&(L=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),L.setAttribute("id","clip-path-corners-square-color-".concat(n,"-").concat(o,"-").concat(this._instanceId)),this._defs.appendChild(L),this._cornersSquareClipPath=this._cornersDotClipPath=E=L,this._createColor({options:null===(y=e.cornersSquareOptions)||void 0===y?void 0:y.gradient,color:null===(x=e.cornersSquareOptions)||void 0===x?void 0:x.color,additionalRotation:g,x:k,y:j,height:a,width:a,name:"corners-square-color-".concat(n,"-").concat(o,"-").concat(this._instanceId)})),(null===(b=e.cornersSquareOptions)||void 0===b?void 0:b.type)&&c.includes(e.cornersSquareOptions.type)){const t=new h({svg:this._element,type:e.cornersSquareOptions.type,window:this._window});t.draw(k,j,a,g),t._element&&L&&L.appendChild(t._element)}else{const t=new s({svg:this._element,type:(null===(M=e.cornersSquareOptions)||void 0===M?void 0:M.type)||e.dotsOptions.type,window:this._window});for(let e=0;e<p.length;e++)for(let i=0;i<p[e].length;i++)(null===(C=p[e])||void 0===C?void 0:C[i])&&(t.draw(k+i*r,j+e*r,r,(t,n)=>{var o;return!!(null===(o=p[e+n])||void 0===o?void 0:o[i+t])}),t._element&&L&&L.appendChild(t._element))}if(((null===(N=e.cornersDotOptions)||void 0===N?void 0:N.gradient)||(null===(S=e.cornersDotOptions)||void 0===S?void 0:S.color))&&(E=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),E.setAttribute("id","clip-path-corners-dot-color-".concat(n,"-").concat(o,"-").concat(this._instanceId)),this._defs.appendChild(E),this._cornersDotClipPath=E,this._createColor({options:null===(O=e.cornersDotOptions)||void 0===O?void 0:O.gradient,color:null===(A=e.cornersDotOptions)||void 0===A?void 0:A.color,additionalRotation:g,x:k+2*r,y:j+2*r,height:d,width:d,name:"corners-dot-color-".concat(n,"-").concat(o,"-").concat(this._instanceId)})),(null===(D=e.cornersDotOptions)||void 0===D?void 0:D.type)&&l.includes(e.cornersDotOptions.type)){const t=new u({svg:this._element,type:e.cornersDotOptions.type,window:this._window});t.draw(k+2*r,j+2*r,d,g),t._element&&E&&E.appendChild(t._element)}else{const t=new s({svg:this._element,type:(null===(I=e.cornersDotOptions)||void 0===I?void 0:I.type)||e.dotsOptions.type,window:this._window});for(let e=0;e<f.length;e++)for(let i=0;i<f[e].length;i++)(null===(T=f[e])||void 0===T?void 0:T[i])&&(t.draw(k+i*r,j+e*r,r,(t,n)=>{var o;return!!(null===(o=f[e+n])||void 0===o?void 0:o[i+t])}),t._element&&E&&E.appendChild(t._element))}})}loadImage(){return new Promise((t,e)=>{var i;const n=this._options;if(!n.image)return e("Image is not defined");if(null===(i=n.nodeCanvas)||void 0===i?void 0:i.loadImage)n.nodeCanvas.loadImage(n.image).then(e=>{var i,o;if(this._image=e,this._options.imageOptions.saveAsBlob){const t=null===(i=n.nodeCanvas)||void 0===i?void 0:i.createCanvas(this._image.width,this._image.height);null===(o=null==t?void 0:t.getContext("2d"))||void 0===o||o.drawImage(e,0,0),this._imageUri=null==t?void 0:t.toDataURL()}t()}).catch(e);else{const e=new this._window.Image;"string"==typeof n.imageOptions.crossOrigin&&(e.crossOrigin=n.imageOptions.crossOrigin),this._image=e,e.onload=async()=>{this._options.imageOptions.saveAsBlob&&(this._imageUri=await async function(t,e){return new Promise(i=>{const n=new e.XMLHttpRequest;n.onload=function(){const t=new e.FileReader;t.onloadend=function(){i(t.result)},t.readAsDataURL(n.response)},n.open("GET",t),n.responseType="blob",n.send()})}(n.image||"",this._window)),t()},e.src=n.image}})}async drawImage(t){let{width:e,height:i,count:n,dotSize:o}=t;const r=this._options,s=this._roundSize((r.width-n*o)/2),a=this._roundSize((r.height-n*o)/2),c=s+this._roundSize(r.imageOptions.margin+(n*o-e)/2),h=a+this._roundSize(r.imageOptions.margin+(n*o-i)/2),d=e-2*r.imageOptions.margin,l=i-2*r.imageOptions.margin,u=this._window.document.createElementNS("http://www.w3.org/2000/svg","image");u.setAttribute("href",this._imageUri||""),u.setAttribute("xlink:href",this._imageUri||""),u.setAttribute("x",String(c)),u.setAttribute("y",String(h)),u.setAttribute("width","".concat(d,"px")),u.setAttribute("height","".concat(l,"px")),this._element.appendChild(u)}_createColor(t){let{options:e,color:i,additionalRotation:n,x:o,y:r,height:s,width:a,name:c}=t;const h=a>s?a:s,d=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");if(d.setAttribute("x",String(o)),d.setAttribute("y",String(r)),d.setAttribute("height",String(s)),d.setAttribute("width",String(a)),d.setAttribute("clip-path","url('#clip-path-".concat(c,"')")),e){let t;if("radial"===e.type)t=this._window.document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),t.setAttribute("id",c),t.setAttribute("gradientUnits","userSpaceOnUse"),t.setAttribute("fx",String(o+a/2)),t.setAttribute("fy",String(r+s/2)),t.setAttribute("cx",String(o+a/2)),t.setAttribute("cy",String(r+s/2)),t.setAttribute("r",String(h/2));else{const i=((e.rotation||0)+n)%(2*Math.PI),h=(i+2*Math.PI)%(2*Math.PI);let d=o+a/2,l=r+s/2,u=o+a/2,g=r+s/2;h>=0&&h<=.25*Math.PI||h>1.75*Math.PI&&h<=2*Math.PI?(d-=a/2,l-=s/2*Math.tan(i),u+=a/2,g+=s/2*Math.tan(i)):h>.25*Math.PI&&h<=.75*Math.PI?(l-=s/2,d-=a/2/Math.tan(i),g+=s/2,u+=a/2/Math.tan(i)):h>.75*Math.PI&&h<=1.25*Math.PI?(d+=a/2,l+=s/2*Math.tan(i),u-=a/2,g-=s/2*Math.tan(i)):h>1.25*Math.PI&&h<=1.75*Math.PI&&(l+=s/2,d+=a/2/Math.tan(i),g-=s/2,u-=a/2/Math.tan(i)),t=this._window.document.createElementNS("http://www.w3.org/2000/svg","linearGradient"),t.setAttribute("id",c),t.setAttribute("gradientUnits","userSpaceOnUse"),t.setAttribute("x1",String(Math.round(d))),t.setAttribute("y1",String(Math.round(l))),t.setAttribute("x2",String(Math.round(u))),t.setAttribute("y2",String(Math.round(g)))}e.colorStops.forEach(e=>{let{offset:i,color:n}=e;const o=this._window.document.createElementNS("http://www.w3.org/2000/svg","stop");o.setAttribute("offset",100*i+"%"),o.setAttribute("stop-color",n),t.appendChild(o)}),d.setAttribute("fill","url('#".concat(c,"')")),this._defs.appendChild(t)}else i&&d.setAttribute("fill",i);this._element.appendChild(d)}}w.instanceCount=0;const m=w,v="canvas",_={};for(let i=0;i<=40;i++)_[i]=i;const y={type:v,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:_[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{saveAsBlob:!0,hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000",roundSize:!0},backgroundOptions:{round:0,color:"#fff"}};function x(t){const e=Object.assign({},t);if(!e.colorStops||!e.colorStops.length)throw"Field 'colorStops' is required in gradient";return e.rotation?e.rotation=Number(e.rotation):e.rotation=0,e.colorStops=e.colorStops.map(t=>Object.assign(Object.assign({},t),{offset:Number(t.offset)})),e}function b(t){const e=Object.assign({},t);return e.width=Number(e.width),e.height=Number(e.height),e.margin=Number(e.margin),e.imageOptions=Object.assign(Object.assign({},e.imageOptions),{hideBackgroundDots:Boolean(e.imageOptions.hideBackgroundDots),imageSize:Number(e.imageOptions.imageSize),margin:Number(e.imageOptions.margin)}),e.margin>Math.min(e.width,e.height)&&(e.margin=Math.min(e.width,e.height)),e.dotsOptions=Object.assign({},e.dotsOptions),e.dotsOptions.gradient&&(e.dotsOptions.gradient=x(e.dotsOptions.gradient)),e.cornersSquareOptions&&(e.cornersSquareOptions=Object.assign({},e.cornersSquareOptions),e.cornersSquareOptions.gradient&&(e.cornersSquareOptions.gradient=x(e.cornersSquareOptions.gradient))),e.cornersDotOptions&&(e.cornersDotOptions=Object.assign({},e.cornersDotOptions),e.cornersDotOptions.gradient&&(e.cornersDotOptions.gradient=x(e.cornersDotOptions.gradient))),e.backgroundOptions&&(e.backgroundOptions=Object.assign({},e.backgroundOptions),e.backgroundOptions.gradient&&(e.backgroundOptions.gradient=x(e.backgroundOptions.gradient))),e}var M=i(873),C=i.n(M);function N(t){if(!t)throw new Error("Extension must be defined");"."===t[0]&&(t=t.substring(1));const e={bmp:"image/bmp",gif:"image/gif",ico:"image/vnd.microsoft.icon",jpeg:"image/jpeg",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",tif:"image/tiff",tiff:"image/tiff",webp:"image/webp",pdf:"application/pdf"}[t.toLowerCase()];if(!e)throw new Error('Extension "'.concat(t,'" is not supported'));return e}class S{constructor(t){(null==t?void 0:t.jsdom)?this._window=new t.jsdom("",{resources:"usable"}).window:this._window=window,this._options=t?b(e(y,t)):y,this.update()}static _clearContainer(t){t&&(t.innerHTML="")}_setupSvg(){if(!this._qr)return;const t=new m(this._options,this._window);this._svg=t.getElement(),this._svgDrawingPromise=t.drawQR(this._qr).then(()=>{var e;this._svg&&(null===(e=this._extension)||void 0===e||e.call(this,t.getElement(),this._options))})}_setupCanvas(){var t,e;this._qr&&((null===(t=this._options.nodeCanvas)||void 0===t?void 0:t.createCanvas)?(this._nodeCanvas=this._options.nodeCanvas.createCanvas(this._options.width,this._options.height),this._nodeCanvas.width=this._options.width,this._nodeCanvas.height=this._options.height):(this._domCanvas=document.createElement("canvas"),this._domCanvas.width=this._options.width,this._domCanvas.height=this._options.height),this._setupSvg(),this._canvasDrawingPromise=null===(e=this._svgDrawingPromise)||void 0===e?void 0:e.then(()=>{var t;if(!this._svg)return;const e=this._svg,i=(new this._window.XMLSerializer).serializeToString(e),n=btoa(i),o="data:".concat(N("svg"),";base64,").concat(n);if(null===(t=this._options.nodeCanvas)||void 0===t?void 0:t.loadImage)return this._options.nodeCanvas.loadImage(o).then(t=>{var e,i;t.width=this._options.width,t.height=this._options.height,null===(i=null===(e=this._nodeCanvas)||void 0===e?void 0:e.getContext("2d"))||void 0===i||i.drawImage(t,0,0)});{const t=new this._window.Image;return new Promise(e=>{t.onload=()=>{var i,n;null===(n=null===(i=this._domCanvas)||void 0===i?void 0:i.getContext("2d"))||void 0===n||n.drawImage(t,0,0),e()},t.src=o})}}))}async _getElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"png";if(!this._qr)throw"QR code is empty";return"svg"===t.toLowerCase()?(this._svg&&this._svgDrawingPromise||this._setupSvg(),await this._svgDrawingPromise,this._svg):((this._domCanvas||this._nodeCanvas)&&this._canvasDrawingPromise||this._setupCanvas(),await this._canvasDrawingPromise,this._domCanvas||this._nodeCanvas)}update(t){S._clearContainer(this._container),this._options=t?b(e(this._options,t)):this._options,this._options.data&&(this._qr=C()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(t){switch(!0){case/^[0-9]*$/.test(t):return"Numeric";case/^[0-9A-Z $%*+\-./:]*$/.test(t):return"Alphanumeric";default:return"Byte"}}(this._options.data)),this._qr.make(),this._options.type===v?this._setupCanvas():this._setupSvg(),this.append(this._container))}append(t){if(t){if("function"!=typeof t.appendChild)throw"Container should be a single DOM node";this._options.type===v?this._domCanvas&&t.appendChild(this._domCanvas):this._svg&&t.appendChild(this._svg),this._container=t}}applyExtension(t){if(!t)throw"Extension function should be defined.";this._extension=t,this.update()}deleteExtension(){this._extension=void 0,this.update()}async getRawData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"png";if(!this._qr)throw"QR code is empty";const e=await this._getElement(t),i=N(t);if(!e)return null;if("svg"===t.toLowerCase()){const t='<?xml version="1.0" standalone="no"?>\r\n'.concat((new this._window.XMLSerializer).serializeToString(e));return"undefined"==typeof Blob||this._options.jsdom?Buffer.from(t):new Blob([t],{type:i})}return new Promise(t=>{const n=e;if("toBuffer"in n)if("image/png"===i)t(n.toBuffer(i));else if("image/jpeg"===i)t(n.toBuffer(i));else{if("application/pdf"!==i)throw Error("Unsupported extension");t(n.toBuffer(i))}else"toBlob"in n&&n.toBlob(t,i,1)})}async download(t){if(!this._qr)throw"QR code is empty";if("undefined"==typeof Blob)throw"Cannot download in Node.js, call getRawData instead.";let e="png",i="qr";"string"==typeof t?(e=t,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):"object"==typeof t&&null!==t&&(t.name&&(i=t.name),t.extension&&(e=t.extension));const n=await this._getElement(e);if(n)if("svg"===e.toLowerCase()){let t=(new XMLSerializer).serializeToString(n);t='<?xml version="1.0" standalone="no"?>\r\n'+t,o("data:".concat(N(e),";charset=utf-8,").concat(encodeURIComponent(t)),"".concat(i,".svg"))}else o(n.toDataURL(N(e)),"".concat(i,".").concat(e))}}const O=S})(),n.default})(),t.exports=e()}(d);const l=h(d.exports),u={CONNECT_WITH_METAMASK:"Connect with Metamask",USE_EXTENSION:"Use extension",USE_MOBILE:"Use mobile",ONE_CLICK_CONNECT:"Connect in one click to the MetaMask extension.",CONNECT_WITH_EXTENSION:"Connect With Extension",SCAN_TO_CONNECT:"Scan to connect with the MetaMask mobile app.",DESKTOP:"Desktop",MOBILE:"Mobile",META_MASK_MOBILE_APP:"MetaMask mobile app",INSTALL_MODAL:{TRUSTED_BY_USERS:"Trusted by over 30 million users to buy, store, send and swap crypto securely",LEADING_CRYPTO_WALLET:"The leading crypto wallet & gateway to blockchain apps built on Ethereum Mainnet, Polygon, Optimism, and many other networks",CONTROL_DIGITAL_INTERACTIONS:"Puts you in control of your digital interactions by making power of cryptography more accessible",INSTALL_META_MASK_EXTENSION_BUTTON:"Install MetaMask Extension",INSTALL_META_MASK_EXTENSION_TEXT:"Install and try the MetaMask browser extension."},PENDING_MODAL:{OPEN_META_MASK_SELECT_CODE:"Please open the MetaMask wallet app and select the code on the screen OR disconnect",OPEN_META_MASK_CONTINUE:"Open the MetaMask app to continue with your session.",NUMBER_AFTER_OPEN_NOTICE:"If a number doesn't appear after opening MetaMask, please click disconnect and re-scan the QRCode.",DISCONNECT:"Disconnect"},SELECT_MODAL:{CRYPTO_TAKE_CONTROL_TEXT:"Take control of your crypto and explore the blockchain with the wallet trusted by over 30 million people worldwide"},META_MASK_MODAL:{ADDRESS_COPIED:"Address copied to clipboard!",DISCONNECT:"Disconnect",ACTIVE_NETWORK:"Active Network"}};class g{constructor(t){var e;this.translations=u,this.supportedLocales=["es","fr","he","it","pt","tr"],this.baseUrl=null!==(e=null===t||void 0===t?void 0:t.baseUrl)&&void 0!==e?e:"https://raw.githubusercontent.com/MetaMask/metamask-sdk/refs/heads/gh-pages/locales"}getBrowserLanguage(){if((navigator.languages||[navigator.language]).some(t=>t.toLowerCase().startsWith("en")))return"en";const t=navigator.language.toLowerCase().split("-")[0];return this.supportedLocales.includes(t)?t:"en"}async init(t){const e=this.getBrowserLanguage()||t.fallbackLng;await this.loadTranslations(e)}async loadTranslations(t){const e=t.split("-")[0];if("en"!==e&&this.supportedLocales.includes(e))try{const t="".concat(this.baseUrl,"/").concat(e,".json"),i=await fetch(t);if(!i.ok)throw new Error("HTTP error! status: ".concat(i.status));this.translations=await i.json()}catch(i){console.warn("\u274c Failed to load ".concat(e," translations, falling back to English:"),i),this.translations=u}else this.translations=u}t(t){return this.getNestedTranslation(t,this.translations)||t}getNestedTranslation(t,e){const i=t.split(".");let n=e;for(const o of i){if("object"!==typeof n)return"";n=n[o]}return"string"===typeof n?n:""}}const p=class{constructor(t){(0,n.r)(this,t),this.close=(0,n.c)(this,"close",7),this.startDesktopOnboarding=(0,n.c)(this,"startDesktopOnboarding",7),this.updateLink=(0,n.c)(this,"updateLink",7),this.updateExpiresIn=(0,n.c)(this,"updateExpiresIn",7),this.link=void 0,this.expiresIn=void 0,this.sdkVersion=void 0,this.showInstallModal=void 0,this.translationsLoaded=!1,this.onClose=this.onClose.bind(this),this.onStartDesktopOnboardingHandler=this.onStartDesktopOnboardingHandler.bind(this),this.render=this.render.bind(this),this.i18nInstance=new g}componentDidLoad(){this.generateQRCode(this.link)}async connectedCallback(){await this.i18nInstance.init({fallbackLng:"en"}),this.translationsLoaded=!0}generateQRCode(t){if(!this.qrCodeContainer)return;const e=new l({data:t,type:"svg",image:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxNDIgMTM3Ij4KICA8cGF0aCBmaWxsPSIjRkY1QzE2IiBkPSJtMTMyLjI0IDEzMS43NTEtMzAuNDgxLTkuMDc2LTIyLjk4NiAxMy43NDEtMTYuMDM4LS4wMDctMjMtMTMuNzM0LTMwLjQ2NyA5LjA3NkwwIDEwMC40NjVsOS4yNjgtMzQuNzIzTDAgMzYuMzg1IDkuMjY4IDBsNDcuNjA3IDI4LjQ0M2gyNy43NTdMMTMyLjI0IDBsOS4yNjggMzYuMzg1LTkuMjY4IDI5LjM1NyA5LjI2OCAzNC43MjMtOS4yNjggMzEuMjg2WiIvPgogIDxwYXRoIGZpbGw9IiNGRjVDMTYiIGQ9Im05LjI3NCAwIDQ3LjYwOCAyOC40NjMtMS44OTMgMTkuNTM0TDkuMjc0IDBabTMwLjQ2OCAxMDAuNDc4IDIwLjk0NyAxNS45NTctMjAuOTQ3IDYuMjR2LTIyLjE5N1ptMTkuMjczLTI2LjM4MUw1NC45ODkgNDguMDFsLTI1Ljc3IDE3Ljc0LS4wMTQtLjAwN3YuMDEzbC4wOCAxOC4yNi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+CiAgPHBhdGggZmlsbD0iIzY2MTgwMCIgZD0iTTkuMjY4IDAgMCAzNi4zODVsOS4yNjggMjkuMzU3aDE5LjkzbDI1Ljc4NC0xNy43NDVMOS4yNjggMFptNDMuOTggODEuNjY1aC05LjAyOWwtNC45MTYgNC44MTkgMTcuNDY2IDQuMzMtMy41MjEtOS4xNTV2LjAwNlpNMTMyLjI0IDBsOS4yNjggMzYuMzg1LTkuMjY4IDI5LjM1N2gtMTkuOTMxTDg2LjUyNiA0Ny45OTcgMTMyLjI0IDBaTTg4LjI3MyA4MS42NjVoOS4wNDJsNC45MTYgNC44MjUtMTcuNDg2IDQuMzM4IDMuNTI4LTkuMTd2LjAwN1ptLTkuNTA3IDQyLjMwNSAyLjA2LTcuNTQyLTQuMTQ2LTQuNjE4SDY0LjgybC00LjE0NSA0LjYxOCAyLjA1OSA3LjU0MiIvPgogIDxwYXRoIGZpbGw9IiNDMEM0Q0QiIGQ9Ik03OC43NjYgMTIzLjk2OXYxMi40NTNINjIuNzM1di0xMi40NTNoMTYuMDNaIi8+CiAgPHBhdGggZmlsbD0iI0U3RUJGNiIgZD0ibTM5Ljc0MiAxMjIuNjYyIDIzLjAwNiAxMy43NTR2LTEyLjQ1M2wtMi4wNi03LjU0MS0yMC45NDYgNi4yNFptNjIuMDMxIDAtMjMuMDA3IDEzLjc1NHYtMTIuNDUzbDIuMDYtNy41NDEgMjAuOTQ3IDYuMjRaIi8+Cjwvc3ZnPgo=",imageOptions:{hideBackgroundDots:!0,crossOrigin:"anonymous",imageSize:.3},dotsOptions:{color:"#222222",type:"square",gradient:void 0,roundSize:!1},cornersSquareOptions:{color:"#222222",type:"square",gradient:void 0},cornersDotOptions:{color:"#ff5c16"},backgroundOptions:{color:"transparent"},qrOptions:{typeNumber:0,mode:"Byte",errorCorrectionLevel:"Q"}});this.qrCodeContainer.innerHTML="",e.append(this.qrCodeContainer)}onClose(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.close.emit({shouldTerminate:t})}onStartDesktopOnboardingHandler(){this.startDesktopOnboarding.emit()}updateLinkHandler(t){this.generateQRCode(t)}updateExpiresInHandler(t){console.debug("QRCode expires in:",t)}render(){if(!this.translationsLoaded)return null;const t=t=>this.i18nInstance.t(t),e=this.showInstallModal;return(0,n.h)(r,{className:"install-model"},(0,n.h)("div",{class:"backdrop",onClick:()=>this.onClose(!0)}),(0,n.h)("div",{class:"modal"},(0,n.h)("div",{class:"closeButtonContainer"},(0,n.h)("div",{class:"right"},(0,n.h)("span",{class:"closeButton",onClick:()=>this.onClose(!0)},(0,n.h)(c,null)))),(0,n.h)("div",{class:"modalHeader"},(0,n.h)("h2",{class:"modalTitle"},t("CONNECT_WITH_METAMASK"))),(0,n.h)("div",{class:"modalContent"},e?(0,n.h)("div",null,(0,n.h)("div",{class:"connectionSection"},(0,n.h)("h3",{class:"sectionTitle"},t("USE_EXTENSION")),(0,n.h)("p",{class:"sectionDescription"},t("ONE_CLICK_CONNECT")),(0,n.h)("button",{class:"button extensionButton",onClick:()=>this.onStartDesktopOnboardingHandler()},(0,n.h)(s,null),(0,n.h)("span",{class:"buttonText"},t("CONNECT_WITH_EXTENSION")))),(0,n.h)("div",{class:"sectionDivider"}),(0,n.h)("div",{class:"connectionSection"},(0,n.h)("h3",{class:"sectionTitle"},t("USE_MOBILE")),(0,n.h)("p",{class:"sectionDescription"},t("SCAN_TO_CONNECT")),(0,n.h)("div",{class:"qrContainer"},(0,n.h)("div",{id:"sdk-mm-qrcode",class:"qrCode",ref:t=>{t&&(this.qrCodeContainer=t)}})))):(0,n.h)("div",null,(0,n.h)("div",{class:"connectionSection"},(0,n.h)("h3",{class:"sectionTitle"},t("USE_MOBILE")),(0,n.h)("p",{class:"sectionDescription"},t("SCAN_TO_CONNECT")),(0,n.h)("div",{class:"qrContainer"},(0,n.h)("div",{id:"sdk-mm-qrcode",class:"qrCode",ref:t=>{t&&(this.qrCodeContainer=t)}}))),(0,n.h)("div",{class:"sectionDivider"}),(0,n.h)("div",{class:"connectionSection"},(0,n.h)("h3",{class:"sectionTitle"},t("USE_EXTENSION")),(0,n.h)("p",{class:"sectionDescription"},t("INSTALL_MODAL.INSTALL_META_MASK_EXTENSION_TEXT")),(0,n.h)("button",{class:"button extensionButton",onClick:()=>this.onStartDesktopOnboardingHandler()},(0,n.h)(s,null),(0,n.h)("span",{class:"buttonText"},t("INSTALL_MODAL.INSTALL_META_MASK_EXTENSION_BUTTON")))))),(0,n.h)(a,{version:this.sdkVersion})))}get el(){return(0,n.g)(this)}static get watchers(){return{link:["updateLinkHandler"],expiresIn:["updateExpiresInHandler"]}}};p.style="@font-face{font-family:'Euclid Circular B';src:url('../assets/fonts/Euclid Circular B Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}.flexContainer{display:flex;justify-content:center;align-items:center;flex-direction:row}.flexItem11{flex:11;justify-content:center;align-items:center}.flexItem1{flex:1;justify-content:center;align-items:center}.button{margin-top:41.5px;margin-bottom:20px;width:100%;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:12px 20px;background:#0376C9;border-radius:32px;color:white;border:0;font-size:14px;cursor:pointer}.backdrop{visibility:visible;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;z-index:99998;background:rgba(0, 0, 0, 0.87);opacity:0.3}.modal{visibility:visible;position:fixed;left:50%;transform:translate(-50%, -50%);z-index:99999;background:white;padding:20px;border-radius:8px;top:50%;max-width:360px;width:460px;min-width:300px;box-shadow:rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;-webkit-font-smoothing:antialiased}.sectionDivider{height:1px;background-color:#B7BBC866;margin-top:17px;margin-bottom:10px}.closeButtonContainer{position:absolute;right:15px;top:15px;padding:10px;user-select:none}.buttonText{margin-left:10px}.closeButton{color:#BBC0C5;cursor:pointer;user-select:none}.right{display:flex;align-items:center;justify-content:right}#sdk-mm-qrcode{margin-top:10px;margin-bottom:10px;display:flex;justify-content:center;align-items:center;border:none !important;outline:none !important;box-shadow:none !important}#sdk-mm-qrcode svg{width:100% !important;height:auto !important;border:none !important;outline:none !important;box-shadow:none !important;stroke:none !important;stroke-width:0 !important;background:transparent !important}*{font-family:'Euclid Circular B', sans-serif}.modalTitle{font-size:16px;font-weight:700;letter-spacing:0px;line-height:24px;color:#141618;margin-top:4px;text-align:center;user-select:none}.sectionTitle{text-align:center;font-size:14px;font-weight:500;margin-bottom:0px;margin-top:20px;font-weight:bold}.sectionDescription{text-align:center;font-size:14px;font-weight:400;margin-top:5px;color:#6A737D}.extensionButton{padding:15px 20px;margin-top:15px;margin-bottom:0px}.qrContainer{display:flex;justify-content:center;align-items:center;width:100%}.qrCode{margin:0 auto;display:flex;justify-content:center;align-items:center}.version-title{text-align:center;font-size:10px;font-weight:400;margin-top:5px;color:#6A737D}";const f=class{constructor(t){(0,n.r)(this,t),this.close=(0,n.c)(this,"close",7),this.disconnect=(0,n.c)(this,"disconnect",7),this.updateOTPCode=(0,n.c)(this,"updateOTPCode",7),this.displayOTP=void 0,this.sdkVersion=void 0,this.otpCode=void 0,this.translationsLoaded=!1,this.i18nInstance=new g}async connectedCallback(){await this.i18nInstance.init({fallbackLng:"en"}),this.translationsLoaded=!0}onClose(){this.close.emit()}onDisconnect(){this.disconnect.emit()}onUpdateOTPValueHandler(t){this.updateOTPCode.emit({otpCode:t})}disconnectedCallback(){this.onClose()}render(){var t;if(!this.translationsLoaded)return null;const e=null===(t=this.displayOTP)||void 0===t||t,i=this.sdkVersion,o=t=>this.i18nInstance.t(t);return(0,n.h)(r,{className:"pending-modal"},(0,n.h)("div",{class:"backdrop",onClick:()=>this.onClose()}),(0,n.h)("div",{class:"modal"},(0,n.h)("div",{class:"closeButtonContainer"},(0,n.h)("div",{class:"right"},(0,n.h)("span",{class:"closeButton",onClick:()=>this.onClose()},(0,n.h)(c,null)))),(0,n.h)("div",{class:"logoContainer"},(0,n.h)(s,null)),(0,n.h)("div",null,(0,n.h)("div",{class:"flexContainer",style:{flexDirection:"column",color:"black"}},(0,n.h)("div",{class:"flexItem",style:{textAlign:"center",marginTop:"30px",marginBottom:"30px",fontSize:"16px"}},o(e?"PENDING_MODAL.OPEN_META_MASK_SELECT_CODE":"PENDING_MODAL.OPEN_META_MASK_CONTINUE")),(0,n.h)("div",{id:"sdk-mm-otp-value",style:{padding:"10px",fontSize:"32px",display:this.otpCode?"block":"none"}},this.otpCode),e&&(0,n.h)("div",{class:"notice"},"* ",o("PENDING_MODAL.NUMBER_AFTER_OPEN_NOTICE"))),(0,n.h)("div",{style:{marginTop:"20px"}},(0,n.h)("button",{class:"button blue",style:{marginTop:"5px",color:"#0376C9",borderColor:"#0376C9",borderWidth:"1px",borderStyle:"solid",backgroundColor:"white"},onClick:()=>this.onDisconnect()},o("PENDING_MODAL.DISCONNECT")))),(0,n.h)(a,{version:i})))}get el(){return(0,n.g)(this)}};f.style="@font-face{font-family:'Euclid Circular B';src:url('../assets/fonts/Euclid Circular B Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}.flexContainer{display:flex;justify-content:center;align-items:center;flex-direction:row}.flexItem11{flex:11;justify-content:center;align-items:center}.flexItem1{flex:1;justify-content:center;align-items:center}.button{margin-top:41.5px;margin-bottom:20px;width:100%;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:12px 20px;background:#0376C9;border-radius:32px;color:white;border:0;font-size:14px;cursor:pointer}.backdrop{visibility:visible;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;z-index:99998;background:rgba(0, 0, 0, 0.87);opacity:0.3}.modal{visibility:visible;position:fixed;left:50%;transform:translate(-50%, -50%);z-index:99999;background:white;padding:20px;border-radius:8px;top:50%;max-width:360px;width:460px;min-width:300px;box-shadow:rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;-webkit-font-smoothing:antialiased}.sectionDivider{height:1px;background-color:#B7BBC866;margin-top:17px;margin-bottom:10px}.closeButtonContainer{position:absolute;right:15px;top:15px;padding:10px;user-select:none}.buttonText{margin-left:10px}.closeButton{color:#BBC0C5;cursor:pointer;user-select:none}.right{display:flex;align-items:center;justify-content:right}#sdk-mm-qrcode{margin-top:10px;margin-bottom:10px;display:flex;justify-content:center;align-items:center;border:none !important;outline:none !important;box-shadow:none !important}#sdk-mm-qrcode svg{width:100% !important;height:auto !important;border:none !important;outline:none !important;box-shadow:none !important;stroke:none !important;stroke-width:0 !important;background:transparent !important}*{font-family:'Euclid Circular B', sans-serif}.modalTitle{font-size:16px;font-weight:700;letter-spacing:0px;line-height:24px;color:#141618;margin-top:4px;text-align:center;user-select:none}.sectionTitle{text-align:center;font-size:14px;font-weight:500;margin-bottom:0px;margin-top:20px;font-weight:bold}.sectionDescription{text-align:center;font-size:14px;font-weight:400;margin-top:5px;color:#6A737D}.extensionButton{padding:15px 20px;margin-top:15px;margin-bottom:0px}.qrContainer{display:flex;justify-content:center;align-items:center;width:100%}.qrCode{margin:0 auto;display:flex;justify-content:center;align-items:center}.version-title{text-align:center;font-size:10px;font-weight:400;margin-top:5px;color:#6A737D}"}}]);
|
|
2
|
+
//# sourceMappingURL=29.ca05a909.chunk.js.map
|