diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml
index 15c4000..4241a07 100644
--- a/.github/workflows/static.yml
+++ b/.github/workflows/static.yml
@@ -29,22 +29,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- # - uses: actions/cache@v4
- # with:
- # path: |
- # ~/.cargo
- # target/
- # key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- # restore-keys: ${{ runner.os }}-cargo-
- # - uses: mozilla-actions/sccache-action@v0.0.5
- # - uses: dtolnay/rust-toolchain@master
- # with:
- # toolchain: stable
- # targets: wasm32-unknown-unknown
- # - name: Download and install Trunk binary
- # run: wget -qO- https://github.com/trunk-rs/trunk/releases/download/v0.21.1/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
- # - name: Build with Trunk
- # run: ./trunk build --release --public-url "${GITHUB_REPOSITORY#*/}"
+ - uses: actions/cache@v4
+ with:
+ path: |
+ ~/.cargo
+ target/
+ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
+ restore-keys: ${{ runner.os }}-cargo-
+ - uses: mozilla-actions/sccache-action@v0.0.5
+ - uses: dtolnay/rust-toolchain@master
+ with:
+ toolchain: stable
+ targets: wasm32-unknown-unknown
+ - name: Download and install Trunk binary
+ run: wget -qO- https://github.com/trunk-rs/trunk/releases/download/v0.21.1/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
+ - name: Build with Trunk
+ run: ./trunk build --release --public-url "${GITHUB_REPOSITORY#*/}"
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
diff --git a/.gitignore b/.gitignore
index 2974ceb..71aa1f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,4 +3,4 @@
!.github
/target
-# /dist
+/dist
diff --git a/Cargo.lock b/Cargo.lock
index f80cb75..977af2c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -136,9 +136,9 @@ dependencies = [
[[package]]
name = "anyhow"
-version = "1.0.89"
+version = "1.0.90"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6"
+checksum = "37bf3594c4c988a53154954629820791dde498571819ae4ca50ca811e060cc95"
[[package]]
name = "anymap2"
@@ -1800,9 +1800,9 @@ dependencies = [
[[package]]
name = "ibc-proto"
-version = "0.49.0"
+version = "0.49.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "873b573edee1ac325770ae1db824702e1c3b63b0db91edaeeed263a2d72d7643"
+checksum = "694657ebe503dc1cb1c67ed5c7ca880479c026a37004808ee94505df5b0cbf60"
dependencies = [
"base64 0.22.1",
"bytes",
@@ -1956,7 +1956,9 @@ dependencies = [
[[package]]
name = "keplr-sys"
-version = "0.0.2"
+version = "0.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8a074be277cc00d41556ab153eee025e125ea042ea08efd8adc71f5d091c995"
dependencies = [
"wasm-bindgen",
"wasm-bindgen-futures",
@@ -2159,9 +2161,9 @@ dependencies = [
[[package]]
name = "libc"
-version = "0.2.159"
+version = "0.2.161"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
+checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1"
[[package]]
name = "libgit2-sys"
@@ -2632,9 +2634,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.87"
+version = "1.0.88"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a"
+checksum = "7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9"
dependencies = [
"unicode-ident",
]
@@ -2907,6 +2909,7 @@ dependencies = [
[[package]]
name = "rsecret"
version = "0.1.0"
+source = "git+https://github.com/kent-3/secret-clients#273eb66f8d5840b202a88ffdec6a7598d8af7109"
dependencies = [
"aes-siv",
"async-trait",
@@ -2973,9 +2976,9 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.23.14"
+version = "0.23.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "415d9944693cb90382053259f89fbb077ea730ad7273047ec63b19bc9b160ba8"
+checksum = "5fbb44d7acc4e873d613422379f69f237a1b141928c02f6bc6ccfddddc2d7993"
dependencies = [
"log",
"once_cell",
@@ -3154,6 +3157,8 @@ dependencies = [
[[package]]
name = "secret-sdk-proto"
version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28abca64e5f0cc54c81810be6b479930e77783a8301dbbc4b05294601de85b43"
dependencies = [
"bumpalo",
"cosmos-sdk-proto",
@@ -3296,7 +3301,9 @@ dependencies = [
[[package]]
name = "secretrs"
-version = "0.1.2"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b94b75e8d61143cb2174463af50ebdef77ab2542ddea875f543c40c8f5a32687"
dependencies = [
"aes-siv",
"async-trait",
@@ -3422,9 +3429,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.128"
+version = "1.0.131"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
+checksum = "67d42a0bd4ac281beff598909bb56a86acaf979b84483e1c79c10dcaf98f8cf3"
dependencies = [
"itoa",
"memchr",
@@ -4351,9 +4358,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]]
name = "uuid"
-version = "1.10.0"
+version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
+checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a"
dependencies = [
"getrandom",
]
diff --git a/Cargo.toml b/Cargo.toml
index d99f6b3..d82c032 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -76,14 +76,15 @@ tracing-subscriber = "0.3.18"
tracing-subscriber-wasm = "0.1.0"
# Secret
-keplr-sys = "0.0.2"
+keplr-sys = "0.0.3"
cosmwasm-std = { package = "secret-cosmwasm-std", version = "1.1.11" }
secret-toolkit-snip20 = { version = "0.10.0" }
-secretrs = { version = "0.1.2", default-features = false }
-rsecret = { path = "../secret-clients/rsecret" }
+secretrs = { version = "0.1.3", default-features = false }
+rsecret = { git = "https://github.com/kent-3/secret-clients" }
shade-protocol = { git = "https://github.com/securesecrets/shade.git", branch = "orderbook/library", features = ["liquidity-book"] }
lb-libraries = { git = "https://github.com/securesecrets/shade.git", branch = "orderbook/library" }
-[patch.crates-io]
-keplr-sys = { path = "../keplr/keplr-sys" }
-secretrs = { path = "../secret-rust/secretrs" }
+# Uncomment during local development
+# [patch.crates-io]
+# keplr-sys = { path = "../keplr/keplr-sys" }
+# secretrs = { path = "../secret-rust/secretrs" }
diff --git a/dist/favicon-e9cbd8f50cc65bf2.ico b/dist/favicon-e9cbd8f50cc65bf2.ico
deleted file mode 100644
index 2ba8527..0000000
Binary files a/dist/favicon-e9cbd8f50cc65bf2.ico and /dev/null differ
diff --git a/dist/icons/leptos_sphere.svg b/dist/icons/leptos_sphere.svg
deleted file mode 100644
index 96b3a4a..0000000
--- a/dist/icons/leptos_sphere.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/icons/scrt-black-192.png b/dist/icons/scrt-black-192.png
deleted file mode 100644
index 987c72b..0000000
Binary files a/dist/icons/scrt-black-192.png and /dev/null differ
diff --git a/dist/icons/scrt-black-512.png b/dist/icons/scrt-black-512.png
deleted file mode 100644
index 2681d5a..0000000
Binary files a/dist/icons/scrt-black-512.png and /dev/null differ
diff --git a/dist/icons/scrt-black.svg b/dist/icons/scrt-black.svg
deleted file mode 100644
index 8d39641..0000000
--- a/dist/icons/scrt-black.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
diff --git a/dist/icons/trader-crow-logo.png b/dist/icons/trader-crow-logo.png
deleted file mode 100644
index 2d03cda..0000000
Binary files a/dist/icons/trader-crow-logo.png and /dev/null differ
diff --git a/dist/icons/trader-crow-logo.webp b/dist/icons/trader-crow-logo.webp
deleted file mode 100644
index 3446bb4..0000000
Binary files a/dist/icons/trader-crow-logo.webp and /dev/null differ
diff --git a/dist/images/feather.webp b/dist/images/feather.webp
deleted file mode 100644
index 0f40ff3..0000000
Binary files a/dist/images/feather.webp and /dev/null differ
diff --git a/dist/images/medieval1.webp b/dist/images/medieval1.webp
deleted file mode 100644
index a2cf56c..0000000
Binary files a/dist/images/medieval1.webp and /dev/null differ
diff --git a/dist/images/medieval2.webp b/dist/images/medieval2.webp
deleted file mode 100644
index 63802d3..0000000
Binary files a/dist/images/medieval2.webp and /dev/null differ
diff --git a/dist/images/mountains1.webp b/dist/images/mountains1.webp
deleted file mode 100644
index cb8f794..0000000
Binary files a/dist/images/mountains1.webp and /dev/null differ
diff --git a/dist/images/mountains2.webp b/dist/images/mountains2.webp
deleted file mode 100644
index 7459a59..0000000
Binary files a/dist/images/mountains2.webp and /dev/null differ
diff --git a/dist/images/mountains3.webp b/dist/images/mountains3.webp
deleted file mode 100644
index 20de252..0000000
Binary files a/dist/images/mountains3.webp and /dev/null differ
diff --git a/dist/images/mountains4.webp b/dist/images/mountains4.webp
deleted file mode 100644
index 9566781..0000000
Binary files a/dist/images/mountains4.webp and /dev/null differ
diff --git a/dist/images/mountains5.webp b/dist/images/mountains5.webp
deleted file mode 100644
index e39b43a..0000000
Binary files a/dist/images/mountains5.webp and /dev/null differ
diff --git a/dist/images/screenshot1.png b/dist/images/screenshot1.png
deleted file mode 100644
index 8c2f0ac..0000000
Binary files a/dist/images/screenshot1.png and /dev/null differ
diff --git a/dist/images/screenshot2.png b/dist/images/screenshot2.png
deleted file mode 100644
index 25f4d3b..0000000
Binary files a/dist/images/screenshot2.png and /dev/null differ
diff --git a/dist/index.html b/dist/index.html
deleted file mode 100644
index 790adcd..0000000
--- a/dist/index.html
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Loading...
-
-
-
diff --git a/dist/input-cfd888e987e0a136.css b/dist/input-cfd888e987e0a136.css
deleted file mode 100644
index 90c1cf4..0000000
--- a/dist/input-cfd888e987e0a136.css
+++ /dev/null
@@ -1,1001 +0,0 @@
-/* @import "style/leptonic/leptonic-themes"; */
-
-/* @tailwind base; */
-
-.container {
- width: 100%;
-}
-
-@media (min-width: 640px) {
- .container {
- max-width: 640px;
- }
-}
-
-@media (min-width: 768px) {
- .container {
- max-width: 768px;
- }
-}
-
-@media (min-width: 1024px) {
- .container {
- max-width: 1024px;
- }
-}
-
-@media (min-width: 1280px) {
- .container {
- max-width: 1280px;
- }
-}
-
-@media (min-width: 1536px) {
- .container {
- max-width: 1536px;
- }
-}
-
-.pointer-events-none {
- pointer-events: none;
-}
-
-.invisible {
- visibility: hidden;
-}
-
-.static {
- position: static;
-}
-
-.absolute {
- position: absolute;
-}
-
-.inset-0 {
- inset: 0px;
-}
-
-.z-\[50\] {
- z-index: 50;
-}
-
-.mx-auto {
- margin-left: auto;
- margin-right: auto;
-}
-
-.my-1 {
- margin-top: 0.25rem;
- margin-bottom: 0.25rem;
-}
-
-.my-3 {
- margin-top: 0.75rem;
- margin-bottom: 0.75rem;
-}
-
-.\!mt-6 {
- margin-top: 1.5rem !important;
-}
-
-.mb-1 {
- margin-bottom: 0.25rem;
-}
-
-.mb-4 {
- margin-bottom: 1rem;
-}
-
-.mr-3 {
- margin-right: 0.75rem;
-}
-
-.mr-auto {
- margin-right: auto;
-}
-
-.mt-12 {
- margin-top: 3rem;
-}
-
-.mt-4 {
- margin-top: 1rem;
-}
-
-.box-border {
- box-sizing: border-box;
-}
-
-.line-clamp-1 {
- overflow: hidden;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 1;
-}
-
-.block {
- display: block;
-}
-
-.flex {
- display: flex;
-}
-
-.inline-flex {
- display: inline-flex;
-}
-
-.grid {
- display: grid;
-}
-
-.hidden {
- display: none;
-}
-
-.h-8 {
- height: 2rem;
-}
-
-.max-h-\[50vh\] {
- max-height: 50vh;
-}
-
-.w-28 {
- width: 7rem;
-}
-
-.w-64 {
- width: 16rem;
-}
-
-.w-8 {
- width: 2rem;
-}
-
-.w-full {
- width: 100%;
-}
-
-.max-w-\[320px\] {
- max-width: 320px;
-}
-
-.max-w-lg {
- max-width: 32rem;
-}
-
-.max-w-sm {
- max-width: 24rem;
-}
-
-.max-w-xs {
- max-width: 20rem;
-}
-
-.basis-1\/3 {
- flex-basis: 33.333333%;
-}
-
-.basis-2\/3 {
- flex-basis: 66.666667%;
-}
-
-.transform {
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
-}
-
-@keyframes spin {
- to {
- transform: rotate(360deg);
- }
-}
-
-.animate-spin {
- animation: spin 1s linear infinite;
-}
-
-.cursor-default {
- cursor: default;
-}
-
-.cursor-pointer {
- cursor: pointer;
-}
-
-.list-none {
- list-style-type: none;
-}
-
-.grid-cols-2 {
- grid-template-columns: repeat(2, minmax(0, 1fr));
-}
-
-.flex-col {
- flex-direction: column;
-}
-
-.flex-wrap {
- flex-wrap: wrap;
-}
-
-.items-center {
- align-items: center;
-}
-
-.justify-center {
- justify-content: center;
-}
-
-.justify-between {
- justify-content: space-between;
-}
-
-.gap-2 {
- gap: 0.5rem;
-}
-
-.gap-4 {
- gap: 1rem;
-}
-
-.gap-x-4 {
- -moz-column-gap: 1rem;
- column-gap: 1rem;
-}
-
-.gap-y-2 {
- row-gap: 0.5rem;
-}
-
-.space-x-2 > :not([hidden]) ~ :not([hidden]) {
- --tw-space-x-reverse: 0;
- margin-right: calc(0.5rem * var(--tw-space-x-reverse));
- margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
-}
-
-.space-x-4 > :not([hidden]) ~ :not([hidden]) {
- --tw-space-x-reverse: 0;
- margin-right: calc(1rem * var(--tw-space-x-reverse));
- margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
-}
-
-.space-y-2 > :not([hidden]) ~ :not([hidden]) {
- --tw-space-y-reverse: 0;
- margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
- margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
-}
-
-.space-y-4 > :not([hidden]) ~ :not([hidden]) {
- --tw-space-y-reverse: 0;
- margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
- margin-bottom: calc(1rem * var(--tw-space-y-reverse));
-}
-
-.space-y-6 > :not([hidden]) ~ :not([hidden]) {
- --tw-space-y-reverse: 0;
- margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
- margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
-}
-
-.self-stretch {
- align-self: stretch;
-}
-
-.overflow-hidden {
- overflow: hidden;
-}
-
-.overflow-clip {
- overflow: clip;
-}
-
-.overflow-x-auto {
- overflow-x: auto;
-}
-
-.text-ellipsis {
- text-overflow: ellipsis;
-}
-
-.whitespace-nowrap {
- white-space: nowrap;
-}
-
-.rounded {
- border-radius: 0.25rem;
-}
-
-.rounded-sm {
- border-radius: 0.125rem;
-}
-
-.border-solid {
- border-style: solid;
-}
-
-.border-blue-500 {
- --tw-border-opacity: 1;
- border-color: rgb(59 130 246 / var(--tw-border-opacity));
-}
-
-.bg-\[initial\] {
- background-color: initial;
-}
-
-.bg-neutral-400 {
- --tw-bg-opacity: 1;
- background-color: rgb(163 163 163 / var(--tw-bg-opacity));
-}
-
-.bg-opacity-50 {
- --tw-bg-opacity: 0.5;
-}
-
-.stroke-\[\#75b6e7\] {
- stroke: #75b6e7;
-}
-
-.stroke-neutral-900 {
- stroke: #171717;
-}
-
-.p-1 {
- padding: 0.25rem;
-}
-
-.p-2 {
- padding: 0.5rem;
-}
-
-.px-2 {
- padding-left: 0.5rem;
- padding-right: 0.5rem;
-}
-
-.py-0 {
- padding-top: 0px;
- padding-bottom: 0px;
-}
-
-.py-0\.5 {
- padding-top: 0.125rem;
- padding-bottom: 0.125rem;
-}
-
-.py-1 {
- padding-top: 0.25rem;
- padding-bottom: 0.25rem;
-}
-
-.py-2 {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
-}
-
-.py-3 {
- padding-top: 0.75rem;
- padding-bottom: 0.75rem;
-}
-
-.pl-4 {
- padding-left: 1rem;
-}
-
-.pt-1 {
- padding-top: 0.25rem;
-}
-
-.text-center {
- text-align: center;
-}
-
-.font-mono {
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
-}
-
-.text-2xl {
- font-size: 1.5rem;
- line-height: 2rem;
-}
-
-.text-3xl {
- font-size: 1.875rem;
- line-height: 2.25rem;
-}
-
-.text-base {
- font-size: 1rem;
- line-height: 1.5rem;
-}
-
-.text-lg {
- font-size: 1.125rem;
- line-height: 1.75rem;
-}
-
-.text-sm {
- font-size: 0.875rem;
- line-height: 1.25rem;
-}
-
-.text-xl {
- font-size: 1.25rem;
- line-height: 1.75rem;
-}
-
-.text-xs {
- font-size: 0.75rem;
- line-height: 1rem;
-}
-
-.font-bold {
- font-weight: 700;
-}
-
-.font-extrabold {
- font-weight: 800;
-}
-
-.font-normal {
- font-weight: 400;
-}
-
-.font-semibold {
- font-weight: 600;
-}
-
-.italic {
- font-style: italic;
-}
-
-.text-blue-500 {
- --tw-text-opacity: 1;
- color: rgb(59 130 246 / var(--tw-text-opacity));
-}
-
-.text-neutral-200 {
- --tw-text-opacity: 1;
- color: rgb(229 229 229 / var(--tw-text-opacity));
-}
-
-.text-neutral-200\/50 {
- color: rgb(229 229 229 / 0.5);
-}
-
-.text-neutral-300 {
- --tw-text-opacity: 1;
- color: rgb(212 212 212 / var(--tw-text-opacity));
-}
-
-.text-neutral-400 {
- --tw-text-opacity: 1;
- color: rgb(163 163 163 / var(--tw-text-opacity));
-}
-
-.text-violet-400 {
- --tw-text-opacity: 1;
- color: rgb(167 139 250 / var(--tw-text-opacity));
-}
-
-.text-white {
- --tw-text-opacity: 1;
- color: rgb(255 255 255 / var(--tw-text-opacity));
-}
-
-.no-underline {
- text-decoration-line: none;
-}
-
-.opacity-80 {
- opacity: 0.8;
-}
-
-.outline {
- outline-style: solid;
-}
-
-.outline-1 {
- outline-width: 1px;
-}
-
-.outline-2 {
- outline-width: 2px;
-}
-
-.outline-offset-2 {
- outline-offset: 2px;
-}
-
-.outline-offset-8 {
- outline-offset: 8px;
-}
-
-.outline-neutral-500 {
- outline-color: #737373;
-}
-
-.outline-neutral-500\/50 {
- outline-color: rgb(115 115 115 / 0.5);
-}
-
-.blur {
- --tw-blur: blur(8px);
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
-}
-
-.backdrop-filter {
- -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
- backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
-}
-
-/* Base styles */
-
-html {
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizelegibility;
- font-family:
- Segoe UI,
- SegoeUI,
- Helvetica Neue,
- Helvetica,
- Arial,
- sans-serif;
- color-scheme: dark;
-}
-
-/* .card { */
-
-/* background-color: rgba(255, 255, 255, 0.8); */
-
-/* border: 1px solid #e0e0e0; */
-
-/* border-radius: 8px; */
-
-/* padding: 20px; */
-
-/* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
-
-/* } */
-
-/* Light mode default */
-
-body {
- margin-left: auto;
- margin-right: auto;
- max-width: 64rem;
- padding-left: 0.5rem;
- padding-right: 0.5rem;
-}
-
-@media (min-width: 640px) {
- body {
- padding-left: 1rem;
- padding-right: 1rem;
- }
-}
-
-body {
- --tw-bg-opacity: 1;
- background-color: rgb(23 23 23 / var(--tw-bg-opacity));
- --tw-text-opacity: 1;
- color: rgb(229 229 229 / var(--tw-text-opacity));
-}
-
-::-moz-selection {
- --tw-bg-opacity: 1;
- background-color: rgb(124 58 237 / var(--tw-bg-opacity));
- --tw-text-opacity: 1;
- color: rgb(255 255 255 / var(--tw-text-opacity));
-}
-
-::selection {
- --tw-bg-opacity: 1;
- background-color: rgb(124 58 237 / var(--tw-bg-opacity));
- --tw-text-opacity: 1;
- color: rgb(255 255 255 / var(--tw-text-opacity));
-}
-
-a[aria-current] {
- font-weight: bold;
-}
-
-a:hover {
- text-decoration: underline;
-}
-
-.background-image {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background:
- linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
- url("images/mountains2.webp") center / cover no-repeat fixed;
- z-index: -1;
-}
-
-nav a {
- /* microsoft docs blue */
- color: #75b6e7;
- text-decoration: none;
- padding: 0.5rem 0.5rem;
-}
-
-nav a:hover {
- color: #278cda;
- text-decoration: underline;
-}
-
-/* Light mode styles */
-
-@media (prefers-color-scheme: light) {
- html {
- color-scheme: light;
- }
-
- body {
- --tw-bg-opacity: 1;
- background-color: rgb(255 255 255 / var(--tw-bg-opacity));
- --tw-text-opacity: 1;
- color: rgb(23 23 23 / var(--tw-text-opacity));
- }
-
- .background-image {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background:
- linear-gradient(
- rgba(255, 255, 255, 1) 0%,
- rgba(255, 255, 255, 0.8) 60%,
- rgba(255, 255, 255, 0) 100%
- ),
- url("images/mountains4.webp") center / cover no-repeat fixed;
- z-index: -1;
- translate: 0 10px;
- }
-
- nav a {
- text-decoration: none;
- color: #0065b3;
- }
-
- nav a:hover {
- color: #0065b3;
- text-decoration: underline;
- }
-}
-
-/* code { */
-
-/* font-family: */
-
-/* JetBrains Mono, */
-
-/* monospace; */
-
-/* font-size: 1rem; */
-
-/* color: #75b6e7; */
-
-/* background-color: rgb(117 182 231 / 0.3); */
-
-/* padding-top: 0.125rem; */
-
-/* padding-bottom: 0.125rem; */
-
-/* padding-left: 0.25rem; */
-
-/* padding-right: 0.25rem; */
-
-/* border-radius: 0.25rem; */
-
-/* } */
-
-::backdrop {
- --tw-border-spacing-x: 0;
- --tw-border-spacing-y: 0;
- --tw-translate-x: 0;
- --tw-translate-y: 0;
- --tw-rotate: 0;
- --tw-skew-x: 0;
- --tw-skew-y: 0;
- --tw-scale-x: 1;
- --tw-scale-y: 1;
- --tw-pan-x: ;
- --tw-pan-y: ;
- --tw-pinch-zoom: ;
- --tw-scroll-snap-strictness: proximity;
- --tw-gradient-from-position: ;
- --tw-gradient-via-position: ;
- --tw-gradient-to-position: ;
- --tw-ordinal: ;
- --tw-slashed-zero: ;
- --tw-numeric-figure: ;
- --tw-numeric-spacing: ;
- --tw-numeric-fraction: ;
- --tw-ring-inset: ;
- --tw-ring-offset-width: 0px;
- --tw-ring-offset-color: #fff;
- --tw-ring-color: rgb(59 130 246 / 0.5);
- --tw-ring-offset-shadow: 0 0 #0000;
- --tw-ring-shadow: 0 0 #0000;
- --tw-shadow: 0 0 #0000;
- --tw-shadow-colored: 0 0 #0000;
- --tw-blur: ;
- --tw-brightness: ;
- --tw-contrast: ;
- --tw-grayscale: ;
- --tw-hue-rotate: ;
- --tw-invert: ;
- --tw-saturate: ;
- --tw-sepia: ;
- --tw-drop-shadow: ;
- --tw-backdrop-blur: ;
- --tw-backdrop-brightness: ;
- --tw-backdrop-contrast: ;
- --tw-backdrop-grayscale: ;
- --tw-backdrop-hue-rotate: ;
- --tw-backdrop-invert: ;
- --tw-backdrop-opacity: ;
- --tw-backdrop-saturate: ;
- --tw-backdrop-sepia: ;
- --tw-contain-size: ;
- --tw-contain-layout: ;
- --tw-contain-paint: ;
- --tw-contain-style: ;
-}
-
-/* Open state of the dialog */
-
-dialog[open] {
- opacity: 1;
- transform: scale(1);
-}
-
-/* Closed state of the dialog */
-
-dialog {
- opacity: 0;
- transform: scale(0.5);
- transition: all 300ms cubic-bezier(0, 0, 0, 1) allow-discrete;
-}
-
-/* Before-open state */
-
-/* Needs to be after the previous dialog[open] rule to take effect, */
-
-/* as the specificity is the same */
-
-@starting-style {
- dialog[open] {
- opacity: 0;
- transform: scale(0.8);
- }
-}
-
-/* Transition the :backdrop when the dialog modal is promoted to the top layer */
-
-dialog[open]::backdrop {
- -webkit-backdrop-filter: blur(8px);
- backdrop-filter: blur(8px);
- background-color: rgb(0 0 0 / 25%);
- /* background-image: linear-gradient(to top right, */
- /* rgb(245 158 11 / 0.3), */
- /* rgb(59 130 246 / 0.3)); */
-}
-
-dialog::backdrop {
- -webkit-backdrop-filter: blur(0px);
- backdrop-filter: blur(0px);
- background-color: rgb(0 0 0 / 0%);
- transition: all 150ms cubic-bezier(0, 0, 0, 1) allow-discrete;
-}
-
-/* This starting-style rule cannot be nested inside the above selector */
-
-/* because the nesting selector cannot represent pseudo-elements. */
-
-@starting-style {
- dialog[open]::backdrop {
- -webkit-backdrop-filter: blur(0px);
- backdrop-filter: blur(0px);
- background-color: rgb(0 0 0 / 0%);
- }
-}
-
-.btn {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
- padding-left: 1rem;
- padding-right: 1rem;
- font-weight: 700;
-}
-
-.success {
- background-color: green;
-}
-
-.error {
- color: #efd9fd;
- background-color: #3b2e58;
- border: 1px solid #3b2e58;
- padding: 1rem 1rem;
-}
-
-.error p,
-ul {
- margin-block: 0;
-}
-
-.fadeIn {
- animation: 300ms fadeIn cubic-bezier(0.2, 0, 0, 1);
- /* Hold final state of animation */
- animation-fill-mode: forwards;
-}
-
-.fadeOut {
- animation: 150ms fadeOut cubic-bezier(0.3, 0.1, 1, 1);
- /* Hold final state of animation */
- animation-fill-mode: forwards;
-}
-
-@keyframes fadeIn {
- from {
- opacity: 0;
- }
-
- to {
- opacity: 1;
- }
-}
-
-@keyframes fadeOut {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- }
-}
-
-/* transitionTimingFunction: { */
-
-/* 'standard': 'cubic-bezier(0.2, 0, 0, 1)', */
-
-/* 'standard-decelerate': 'cubic-bezier(0, 0, 0, 1)', */
-
-/* 'standard-accelerate': 'cubic-bezier(0.3, 0.1, 1, 1)', */
-
-/* 'emphasized-decelerate': 'cubic-bezier(0.05, 0.7, 0.1, 1.0)', */
-
-/* 'emphasized-accelerate': 'cubic-bezier(0.3, 0.0, 0.8, 0.15)' */
-
-/* } */
-
-.slideIn {
- animation: 450ms slideIn cubic-bezier(0.2, 0, 0, 1);
-}
-
-.slideOut {
- animation: 200ms slideOut cubic-bezier(0.2, 0, 0, 1);
-}
-
-@keyframes slideIn {
- from {
- opacity: 0;
- transform: translate(100px, 0px);
- }
-
- to {
- opacity: 1;
- transform: translate(0px, 0px);
- }
-}
-
-@keyframes slideOut {
- from {
- opacity: 1;
- transform: translate(0px, 0px);
- }
-
- to {
- opacity: 0;
- transform: translate(-25vw, 0);
- }
-}
-
-.slideInBack {
- animation: 450ms slideInBack cubic-bezier(0.2, 0, 0, 1);
-}
-
-.slideOutBack {
- animation: 200ms slideOutBack cubic-bezier(0.2, 0, 0, 1);
-}
-
-@keyframes slideInBack {
- from {
- opacity: 0;
- transform: translate(-100px, 0);
- }
-
- to {
- opacity: 1;
- transform: translate(0px, 0px);
- }
-}
-
-@keyframes slideOutBack {
- from {
- opacity: 1;
- transform: translate(0px, 0px);
- }
-
- to {
- opacity: 0;
- transform: translate(25vw, 0);
- }
-}
-
-.hover\:bg-neutral-800:hover {
- --tw-bg-opacity: 1;
- background-color: rgb(38 38 38 / var(--tw-bg-opacity));
-}
-
-.hover\:bg-violet-500\/20:hover {
- background-color: rgb(139 92 246 / 0.2);
-}
-
-.peer:focus ~ .peer-focus\:block {
- display: block;
-}
-
-@media (prefers-color-scheme: dark) {
- .dark\:bg-\[\#28292a\] {
- --tw-bg-opacity: 1;
- background-color: rgb(40 41 42 / var(--tw-bg-opacity));
- }
-
- .dark\:bg-neutral-800 {
- --tw-bg-opacity: 1;
- background-color: rgb(38 38 38 / var(--tw-bg-opacity));
- }
-
- .dark\:bg-neutral-900 {
- --tw-bg-opacity: 1;
- background-color: rgb(23 23 23 / var(--tw-bg-opacity));
- }
-
- .dark\:bg-opacity-50 {
- --tw-bg-opacity: 0.5;
- }
-
- .dark\:stroke-\[\#75b6e7\] {
- stroke: #75b6e7;
- }
-
- .dark\:stroke-neutral-200 {
- stroke: #e5e5e5;
- }
-}
-
-@media (min-width: 640px) {
- .sm\:mx-0 {
- margin-left: 0px;
- margin-right: 0px;
- }
-
- .sm\:block {
- display: block;
- }
-
- .sm\:text-left {
- text-align: left;
- }
-}
diff --git a/dist/manifest.json b/dist/manifest.json
deleted file mode 100644
index 381eba2..0000000
--- a/dist/manifest.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "short_name": "Trader Crow",
- "name": "Trader Crow",
- "icons": [
- {
- "src": "/trader-crow-leptos/icons/scrt-black.svg",
- "type": "image/svg+xml",
- "sizes": "148x148",
- "purpose": "any"
- },
- {
- "src": "/trader-crow-leptos/icons/scrt-black-192.png",
- "type": "image/png",
- "sizes": "192x192"
- },
- {
- "src": "/trader-crow-leptos/icons/scrt-black-512.png",
- "type": "image/png",
- "sizes": "512x512"
- }
- ],
- "id": "/trader-crow-leptos",
- "start_url": "/trader-crow-leptos",
- "background_color": "#171717",
- "display": "standalone",
- "scope": "/trader-crow-leptos",
- "theme_color": "#000000",
- "description": "ho ho ho",
- "screenshots": [
- {
- "src": "/trader-crow-leptos/images/screenshot2.png",
- "type": "image/png",
- "sizes": "540x720",
- "form_factor": "narrow"
- },
- {
- "src": "/trader-crow-leptos/images/screenshot1.png",
- "type": "image/png",
- "sizes": "720x540",
- "form_factor": "wide"
- }
- ]
-}
diff --git a/dist/trader-leptos-aba9e4dcc44a5878.js b/dist/trader-leptos-aba9e4dcc44a5878.js
deleted file mode 100644
index f04650b..0000000
--- a/dist/trader-leptos-aba9e4dcc44a5878.js
+++ /dev/null
@@ -1,1434 +0,0 @@
-let wasm;
-
-const heap = new Array(128).fill(undefined);
-
-heap.push(undefined, null, true, false);
-
-function getObject(idx) { return heap[idx]; }
-
-let heap_next = heap.length;
-
-function addHeapObject(obj) {
- if (heap_next === heap.length) heap.push(heap.length + 1);
- const idx = heap_next;
- heap_next = heap[idx];
-
- heap[idx] = obj;
- return idx;
-}
-
-const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
-
-if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
-
-let cachedUint8ArrayMemory0 = null;
-
-function getUint8ArrayMemory0() {
- if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
- cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
- }
- return cachedUint8ArrayMemory0;
-}
-
-function getStringFromWasm0(ptr, len) {
- ptr = ptr >>> 0;
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
-}
-
-function dropObject(idx) {
- if (idx < 132) return;
- heap[idx] = heap_next;
- heap_next = idx;
-}
-
-function takeObject(idx) {
- const ret = getObject(idx);
- dropObject(idx);
- return ret;
-}
-
-let WASM_VECTOR_LEN = 0;
-
-const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
-
-const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
- ? function (arg, view) {
- return cachedTextEncoder.encodeInto(arg, view);
-}
- : function (arg, view) {
- const buf = cachedTextEncoder.encode(arg);
- view.set(buf);
- return {
- read: arg.length,
- written: buf.length
- };
-});
-
-function passStringToWasm0(arg, malloc, realloc) {
-
- if (realloc === undefined) {
- const buf = cachedTextEncoder.encode(arg);
- const ptr = malloc(buf.length, 1) >>> 0;
- getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
- WASM_VECTOR_LEN = buf.length;
- return ptr;
- }
-
- let len = arg.length;
- let ptr = malloc(len, 1) >>> 0;
-
- const mem = getUint8ArrayMemory0();
-
- let offset = 0;
-
- for (; offset < len; offset++) {
- const code = arg.charCodeAt(offset);
- if (code > 0x7F) break;
- mem[ptr + offset] = code;
- }
-
- if (offset !== len) {
- if (offset !== 0) {
- arg = arg.slice(offset);
- }
- ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
- const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
- const ret = encodeString(arg, view);
-
- offset += ret.written;
- ptr = realloc(ptr, len, offset, 1) >>> 0;
- }
-
- WASM_VECTOR_LEN = offset;
- return ptr;
-}
-
-function isLikeNone(x) {
- return x === undefined || x === null;
-}
-
-let cachedDataViewMemory0 = null;
-
-function getDataViewMemory0() {
- if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
- cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
- }
- return cachedDataViewMemory0;
-}
-
-function debugString(val) {
- // primitive types
- const type = typeof val;
- if (type == 'number' || type == 'boolean' || val == null) {
- return `${val}`;
- }
- if (type == 'string') {
- return `"${val}"`;
- }
- if (type == 'symbol') {
- const description = val.description;
- if (description == null) {
- return 'Symbol';
- } else {
- return `Symbol(${description})`;
- }
- }
- if (type == 'function') {
- const name = val.name;
- if (typeof name == 'string' && name.length > 0) {
- return `Function(${name})`;
- } else {
- return 'Function';
- }
- }
- // objects
- if (Array.isArray(val)) {
- const length = val.length;
- let debug = '[';
- if (length > 0) {
- debug += debugString(val[0]);
- }
- for(let i = 1; i < length; i++) {
- debug += ', ' + debugString(val[i]);
- }
- debug += ']';
- return debug;
- }
- // Test for built-in
- const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
- let className;
- if (builtInMatches.length > 1) {
- className = builtInMatches[1];
- } else {
- // Failed to match the standard '[object ClassName]'
- return toString.call(val);
- }
- if (className == 'Object') {
- // we're a user defined class or Object
- // JSON.stringify avoids problems with cycles, and is generally much
- // easier than looping through ownProperties of `val`.
- try {
- return 'Object(' + JSON.stringify(val) + ')';
- } catch (_) {
- return 'Object';
- }
- }
- // errors
- if (val instanceof Error) {
- return `${val.name}: ${val.message}\n${val.stack}`;
- }
- // TODO we could test for more things here, like `Set`s and `Map`s.
- return className;
-}
-
-const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
- ? { register: () => {}, unregister: () => {} }
- : new FinalizationRegistry(state => {
- wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b)
-});
-
-function makeMutClosure(arg0, arg1, dtor, f) {
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
- const real = (...args) => {
- // First up with a closure we increment the internal reference
- // count. This ensures that the Rust closure environment won't
- // be deallocated while we're invoking it.
- state.cnt++;
- const a = state.a;
- state.a = 0;
- try {
- return f(a, state.b, ...args);
- } finally {
- if (--state.cnt === 0) {
- wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
- CLOSURE_DTORS.unregister(state);
- } else {
- state.a = a;
- }
- }
- };
- real.original = state;
- CLOSURE_DTORS.register(real, state, state);
- return real;
-}
-function __wbg_adapter_48(arg0, arg1, arg2) {
- wasm.__wbindgen_export_3(arg0, arg1, addHeapObject(arg2));
-}
-
-function makeClosure(arg0, arg1, dtor, f) {
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
- const real = (...args) => {
- // First up with a closure we increment the internal reference
- // count. This ensures that the Rust closure environment won't
- // be deallocated while we're invoking it.
- state.cnt++;
- try {
- return f(state.a, state.b, ...args);
- } finally {
- if (--state.cnt === 0) {
- wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
- state.a = 0;
- CLOSURE_DTORS.unregister(state);
- }
- }
- };
- real.original = state;
- CLOSURE_DTORS.register(real, state, state);
- return real;
-}
-function __wbg_adapter_51(arg0, arg1) {
- wasm.__wbindgen_export_4(arg0, arg1);
-}
-
-function __wbg_adapter_54(arg0, arg1) {
- wasm.__wbindgen_export_5(arg0, arg1);
-}
-
-function handleError(f, args) {
- try {
- return f.apply(this, args);
- } catch (e) {
- wasm.__wbindgen_export_7(addHeapObject(e));
- }
-}
-
-function getArrayJsValueFromWasm0(ptr, len) {
- ptr = ptr >>> 0;
- const mem = getDataViewMemory0();
- const result = [];
- for (let i = ptr; i < ptr + 4 * len; i += 4) {
- result.push(takeObject(mem.getUint32(i, true)));
- }
- return result;
-}
-function __wbg_adapter_149(arg0, arg1, arg2, arg3) {
- wasm.__wbindgen_export_8(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
-}
-
-function getArrayU8FromWasm0(ptr, len) {
- ptr = ptr >>> 0;
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
-}
-
-const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
- ? { register: () => {}, unregister: () => {} }
- : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr >>> 0, 1));
-/**
-*/
-export class IntoUnderlyingByteSource {
-
- __destroy_into_raw() {
- const ptr = this.__wbg_ptr;
- this.__wbg_ptr = 0;
- IntoUnderlyingByteSourceFinalization.unregister(this);
- return ptr;
- }
-
- free() {
- const ptr = this.__destroy_into_raw();
- wasm.__wbg_intounderlyingbytesource_free(ptr, 0);
- }
- /**
- * @returns {string}
- */
- get type() {
- let deferred1_0;
- let deferred1_1;
- try {
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
- wasm.intounderlyingbytesource_type(retptr, this.__wbg_ptr);
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
- deferred1_0 = r0;
- deferred1_1 = r1;
- return getStringFromWasm0(r0, r1);
- } finally {
- wasm.__wbindgen_add_to_stack_pointer(16);
- wasm.__wbindgen_export_6(deferred1_0, deferred1_1, 1);
- }
- }
- /**
- * @returns {number}
- */
- get autoAllocateChunkSize() {
- const ret = wasm.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr);
- return ret >>> 0;
- }
- /**
- * @param {ReadableByteStreamController} controller
- */
- start(controller) {
- wasm.intounderlyingbytesource_start(this.__wbg_ptr, addHeapObject(controller));
- }
- /**
- * @param {ReadableByteStreamController} controller
- * @returns {Promise}
- */
- pull(controller) {
- const ret = wasm.intounderlyingbytesource_pull(this.__wbg_ptr, addHeapObject(controller));
- return takeObject(ret);
- }
- /**
- */
- cancel() {
- const ptr = this.__destroy_into_raw();
- wasm.intounderlyingbytesource_cancel(ptr);
- }
-}
-
-const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
- ? { register: () => {}, unregister: () => {} }
- : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0, 1));
-/**
-*/
-export class IntoUnderlyingSink {
-
- __destroy_into_raw() {
- const ptr = this.__wbg_ptr;
- this.__wbg_ptr = 0;
- IntoUnderlyingSinkFinalization.unregister(this);
- return ptr;
- }
-
- free() {
- const ptr = this.__destroy_into_raw();
- wasm.__wbg_intounderlyingsink_free(ptr, 0);
- }
- /**
- * @param {any} chunk
- * @returns {Promise}
- */
- write(chunk) {
- const ret = wasm.intounderlyingsink_write(this.__wbg_ptr, addHeapObject(chunk));
- return takeObject(ret);
- }
- /**
- * @returns {Promise}
- */
- close() {
- const ptr = this.__destroy_into_raw();
- const ret = wasm.intounderlyingsink_close(ptr);
- return takeObject(ret);
- }
- /**
- * @param {any} reason
- * @returns {Promise}
- */
- abort(reason) {
- const ptr = this.__destroy_into_raw();
- const ret = wasm.intounderlyingsink_abort(ptr, addHeapObject(reason));
- return takeObject(ret);
- }
-}
-
-const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
- ? { register: () => {}, unregister: () => {} }
- : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0, 1));
-/**
-*/
-export class IntoUnderlyingSource {
-
- __destroy_into_raw() {
- const ptr = this.__wbg_ptr;
- this.__wbg_ptr = 0;
- IntoUnderlyingSourceFinalization.unregister(this);
- return ptr;
- }
-
- free() {
- const ptr = this.__destroy_into_raw();
- wasm.__wbg_intounderlyingsource_free(ptr, 0);
- }
- /**
- * @param {ReadableStreamDefaultController} controller
- * @returns {Promise}
- */
- pull(controller) {
- const ret = wasm.intounderlyingsource_pull(this.__wbg_ptr, addHeapObject(controller));
- return takeObject(ret);
- }
- /**
- */
- cancel() {
- const ptr = this.__destroy_into_raw();
- wasm.intounderlyingsource_cancel(ptr);
- }
-}
-
-async function __wbg_load(module, imports) {
- if (typeof Response === 'function' && module instanceof Response) {
- if (typeof WebAssembly.instantiateStreaming === 'function') {
- try {
- return await WebAssembly.instantiateStreaming(module, imports);
-
- } catch (e) {
- if (module.headers.get('Content-Type') != 'application/wasm') {
- console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
-
- } else {
- throw e;
- }
- }
- }
-
- const bytes = await module.arrayBuffer();
- return await WebAssembly.instantiate(bytes, imports);
-
- } else {
- const instance = await WebAssembly.instantiate(module, imports);
-
- if (instance instanceof WebAssembly.Instance) {
- return { instance, module };
-
- } else {
- return instance;
- }
- }
-}
-
-function __wbg_get_imports() {
- const imports = {};
- imports.wbg = {};
- imports.wbg.__wbg_remove_5b68b70c39041e2a = function(arg0) {
- getObject(arg0).remove();
- };
- imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
- const ret = getObject(arg0);
- return addHeapObject(ret);
- };
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
- const ret = getStringFromWasm0(arg0, arg1);
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_log_1f7f93998ab961f7 = function(arg0, arg1) {
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
- wasm.__wbindgen_export_6(arg0, arg1 * 4, 4);
- console.log(...v0);
- };
- imports.wbg.__wbg_warn_0b90a269a514ae1d = function(arg0, arg1) {
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
- wasm.__wbindgen_export_6(arg0, arg1 * 4, 4);
- console.warn(...v0);
- };
- imports.wbg.__wbg_error_71d6845bf00a930f = function(arg0, arg1) {
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
- wasm.__wbindgen_export_6(arg0, arg1 * 4, 4);
- console.error(...v0);
- };
- imports.wbg.__wbg_remove_81fdfdc9088ee033 = function(arg0) {
- getObject(arg0).remove();
- };
- imports.wbg.__wbg_preventDefault_c55d86c27b2dfa6e = function(arg0) {
- getObject(arg0).preventDefault();
- };
- imports.wbg.__wbg_disable_03e464e5c95fbc3e = function(arg0, arg1) {
- window.keplr.disable(getStringFromWasm0(arg0, arg1));
- };
- imports.wbg.__wbg_open_e1cebf2dfae8bdba = function(arg0) {
- const ret = getObject(arg0).open;
- return ret;
- };
- imports.wbg.__wbg_close_1a7c6f85879ea3c4 = function(arg0) {
- getObject(arg0).close();
- };
- imports.wbg.__wbg_body_b3bb488e8e54bf4b = function(arg0) {
- const ret = getObject(arg0).body;
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
- };
- imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
- const ret = new Error();
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
- const ret = getObject(arg1).stack;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
- let deferred0_0;
- let deferred0_1;
- try {
- deferred0_0 = arg0;
- deferred0_1 = arg1;
- console.error(getStringFromWasm0(arg0, arg1));
- } finally {
- wasm.__wbindgen_export_6(deferred0_0, deferred0_1, 1);
- }
- };
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
- takeObject(arg0);
- };
- imports.wbg.__wbindgen_is_object = function(arg0) {
- const val = getObject(arg0);
- const ret = typeof(val) === 'object' && val !== null;
- return ret;
- };
- imports.wbg.__wbg_crypto_1d1f22824a6a080c = function(arg0) {
- const ret = getObject(arg0).crypto;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_process_4a72847cc503995b = function(arg0) {
- const ret = getObject(arg0).process;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_versions_f686565e586dd935 = function(arg0) {
- const ret = getObject(arg0).versions;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_node_104a2ff8d6ea03a2 = function(arg0) {
- const ret = getObject(arg0).node;
- return addHeapObject(ret);
- };
- imports.wbg.__wbindgen_is_string = function(arg0) {
- const ret = typeof(getObject(arg0)) === 'string';
- return ret;
- };
- imports.wbg.__wbg_require_cca90b1a94a0255b = function() { return handleError(function () {
- const ret = module.require;
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_msCrypto_eb05e62b530a1508 = function(arg0) {
- const ret = getObject(arg0).msCrypto;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_newwithlength_ec548f448387c968 = function(arg0) {
- const ret = new Uint8Array(arg0 >>> 0);
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_debug_783a3d4910bc24c7 = function(arg0, arg1) {
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
- wasm.__wbindgen_export_6(arg0, arg1 * 4, 4);
- console.debug(...v0);
- };
- imports.wbg.__wbindgen_is_function = function(arg0) {
- const ret = typeof(getObject(arg0)) === 'function';
- return ret;
- };
- imports.wbg.__wbg_call_1084a111329e68ce = function() { return handleError(function (arg0, arg1) {
- const ret = getObject(arg0).call(getObject(arg1));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_get_3baa728f9d58d3f6 = function(arg0, arg1) {
- const ret = getObject(arg0)[arg1 >>> 0];
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_length_ae22078168b726f5 = function(arg0) {
- const ret = getObject(arg0).length;
- return ret;
- };
- imports.wbg.__wbg_next_f9cb570345655b9a = function() { return handleError(function (arg0) {
- const ret = getObject(arg0).next();
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_done_bfda7aa8f252b39f = function(arg0) {
- const ret = getObject(arg0).done;
- return ret;
- };
- imports.wbg.__wbg_value_6d39332ab4788d86 = function(arg0) {
- const ret = getObject(arg0).value;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_iterator_888179a48810a9fe = function() {
- const ret = Symbol.iterator;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_next_de3e9db4440638b2 = function(arg0) {
- const ret = getObject(arg0).next;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_get_224d16597dbbfd96 = function() { return handleError(function (arg0, arg1) {
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
- const obj = getObject(arg1);
- const ret = typeof(obj) === 'string' ? obj : undefined;
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- var len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbg_self_3093d5d1f7bcb682 = function() { return handleError(function () {
- const ret = self.self;
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_window_3bcfc4d31bc012f8 = function() { return handleError(function () {
- const ret = window.window;
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_globalThis_86b222e13bdf32ed = function() { return handleError(function () {
- const ret = globalThis.globalThis;
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_global_e5a3fe56f8be9485 = function() { return handleError(function () {
- const ret = global.global;
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
- const ret = getObject(arg0) === undefined;
- return ret;
- };
- imports.wbg.__wbg_newnoargs_76313bd6ff35d0f2 = function(arg0, arg1) {
- const ret = new Function(getStringFromWasm0(arg0, arg1));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_decodeURI_27d956972029c70b = function() { return handleError(function (arg0, arg1) {
- const ret = decodeURI(getStringFromWasm0(arg0, arg1));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_isArray_8364a5371e9737d8 = function(arg0) {
- const ret = Array.isArray(getObject(arg0));
- return ret;
- };
- imports.wbg.__wbg_call_89af060b4e1523f2 = function() { return handleError(function (arg0, arg1, arg2) {
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_set_eacc7d73fefaafdf = function() { return handleError(function (arg0, arg1, arg2) {
- const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
- return ret;
- }, arguments) };
- imports.wbg.__wbindgen_memory = function() {
- const ret = wasm.memory;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_buffer_b7b08af79b0b0974 = function(arg0) {
- const ret = getObject(arg0).buffer;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9 = function(arg0, arg1, arg2) {
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_new_ea1883e1e5e86686 = function(arg0) {
- const ret = new Uint8Array(getObject(arg0));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_set_d1e79e2388520f18 = function(arg0, arg1, arg2) {
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
- };
- imports.wbg.__wbg_length_8339fcf5d8ecd12e = function(arg0) {
- const ret = getObject(arg0).length;
- return ret;
- };
- imports.wbg.__wbg_location_af118da6c50d4c3f = function(arg0) {
- const ret = getObject(arg0).location;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) {
- const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
- return ret;
- }, arguments) };
- imports.wbg.__wbg_error_09480e4aadca50ad = function(arg0) {
- console.error(getObject(arg0));
- };
- imports.wbg.__wbg_history_489e13d0b625263c = function() { return handleError(function (arg0) {
- const ret = getObject(arg0).history;
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_pushState_fc8b2d0c45854901 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
- getObject(arg0).pushState(getObject(arg1), getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5));
- }, arguments) };
- imports.wbg.__wbg_replaceState_c3213575ed65bac2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
- getObject(arg0).replaceState(getObject(arg1), getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5));
- }, arguments) };
- imports.wbg.__wbg_getElementById_f56c8e6a15a6926d = function(arg0, arg1, arg2) {
- const ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
- };
- imports.wbg.__wbg_scrollIntoView_4b805e2532108e71 = function(arg0) {
- getObject(arg0).scrollIntoView();
- };
- imports.wbg.__wbg_scrollTo_19dc1dbbc8c19fa8 = function(arg0, arg1, arg2) {
- getObject(arg0).scrollTo(arg1, arg2);
- };
- imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
- const ret = getObject(arg0) === getObject(arg1);
- return ret;
- };
- imports.wbg.__wbg_decodeURIComponent_e4bdc451fcc55015 = function() { return handleError(function (arg0, arg1) {
- const ret = decodeURIComponent(getStringFromWasm0(arg0, arg1));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_encodeURIComponent_960b6322e916bf7c = function(arg0, arg1) {
- const ret = encodeURIComponent(getStringFromWasm0(arg0, arg1));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_pathname_adec1eb7f76356a8 = function(arg0, arg1) {
- const ret = getObject(arg1).pathname;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbg_search_f384756d8e27fd66 = function(arg0, arg1) {
- const ret = getObject(arg1).search;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbg_searchParams_8b40e0942f870b44 = function(arg0) {
- const ret = getObject(arg0).searchParams;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_hash_50828fbc16613897 = function(arg0, arg1) {
- const ret = getObject(arg1).hash;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbg_pathname_6e6871539b48a0e5 = function() { return handleError(function (arg0, arg1) {
- const ret = getObject(arg1).pathname;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- }, arguments) };
- imports.wbg.__wbg_newwithstr_0d8abdf36e230305 = function() { return handleError(function (arg0, arg1) {
- const ret = new URLSearchParams(getStringFromWasm0(arg0, arg1));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_defaultPrevented_9e2309e82258aee7 = function(arg0) {
- const ret = getObject(arg0).defaultPrevented;
- return ret;
- };
- imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) {
- const ret = getObject(arg0).button;
- return ret;
- };
- imports.wbg.__wbg_metaKey_be0158b14b1cef4a = function(arg0) {
- const ret = getObject(arg0).metaKey;
- return ret;
- };
- imports.wbg.__wbg_altKey_d3fbce7596aac8cf = function(arg0) {
- const ret = getObject(arg0).altKey;
- return ret;
- };
- imports.wbg.__wbg_ctrlKey_957c6c31b62b4550 = function(arg0) {
- const ret = getObject(arg0).ctrlKey;
- return ret;
- };
- imports.wbg.__wbg_shiftKey_8c0f9a5ca3ff8f93 = function(arg0) {
- const ret = getObject(arg0).shiftKey;
- return ret;
- };
- imports.wbg.__wbg_composedPath_d1052062308beae5 = function(arg0) {
- const ret = getObject(arg0).composedPath();
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_href_31456ceb26f92368 = function(arg0, arg1) {
- const ret = getObject(arg1).href;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbg_target_fed794e9a6ed73fe = function(arg0, arg1) {
- const ret = getObject(arg1).target;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbg_getAttribute_e867e037f066c410 = function(arg0, arg1, arg2, arg3) {
- const ret = getObject(arg1).getAttribute(getStringFromWasm0(arg2, arg3));
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- var len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbg_instanceof_HtmlAnchorElement_7a88f0b97085fa30 = function(arg0) {
- let result;
- try {
- result = getObject(arg0) instanceof HTMLAnchorElement;
- } catch (_) {
- result = false;
- }
- const ret = result;
- return ret;
- };
- imports.wbg.__wbindgen_boolean_get = function(arg0) {
- const v = getObject(arg0);
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
- return ret;
- };
- imports.wbg.__wbg_randomFillSync_5c9c955aa56b6049 = function() { return handleError(function (arg0, arg1) {
- getObject(arg0).randomFillSync(takeObject(arg1));
- }, arguments) };
- imports.wbg.__wbg_subarray_7c2e3576afe181d1 = function(arg0, arg1, arg2) {
- const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_getRandomValues_3aa56aa6edec874c = function() { return handleError(function (arg0, arg1) {
- getObject(arg0).getRandomValues(getObject(arg1));
- }, arguments) };
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
- const ret = new Error(getStringFromWasm0(arg0, arg1));
- return addHeapObject(ret);
- };
- imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
- const ret = getObject(arg0) == getObject(arg1);
- return ret;
- };
- imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
- const obj = getObject(arg1);
- const ret = typeof(obj) === 'number' ? obj : undefined;
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
- };
- imports.wbg.__wbg_instanceof_Uint8Array_247a91427532499e = function(arg0) {
- let result;
- try {
- result = getObject(arg0) instanceof Uint8Array;
- } catch (_) {
- result = false;
- }
- const ret = result;
- return ret;
- };
- imports.wbg.__wbg_instanceof_ArrayBuffer_61dfc3198373c902 = function(arg0) {
- let result;
- try {
- result = getObject(arg0) instanceof ArrayBuffer;
- } catch (_) {
- result = false;
- }
- const ret = result;
- return ret;
- };
- imports.wbg.__wbg_new_525245e2b9901204 = function() {
- const ret = new Object();
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_set_f975102236d3c502 = function(arg0, arg1, arg2) {
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
- };
- imports.wbg.__wbg_document_8554450897a855b9 = function(arg0) {
- const ret = getObject(arg0).document;
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
- };
- imports.wbg.__wbg_createComment_7a1d9856e50567bb = function(arg0, arg1, arg2) {
- const ret = getObject(arg0).createComment(getStringFromWasm0(arg1, arg2));
- return addHeapObject(ret);
- };
- imports.wbg.__wbindgen_is_falsy = function(arg0) {
- const ret = !getObject(arg0);
- return ret;
- };
- imports.wbg.__wbg_cancelBubble_0374b329f66f59b5 = function(arg0) {
- const ret = getObject(arg0).cancelBubble;
- return ret;
- };
- imports.wbg.__wbg_instanceof_ShadowRoot_72d8e783f8e0093c = function(arg0) {
- let result;
- try {
- result = getObject(arg0) instanceof ShadowRoot;
- } catch (_) {
- result = false;
- }
- const ret = result;
- return ret;
- };
- imports.wbg.__wbg_host_fdfe1258b06fe937 = function(arg0) {
- const ret = getObject(arg0).host;
- return addHeapObject(ret);
- };
- imports.wbg.__wbindgen_is_null = function(arg0) {
- const ret = getObject(arg0) === null;
- return ret;
- };
- imports.wbg.__wbg_setAttribute_d5540a19be09f8dc = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
- getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
- }, arguments) };
- imports.wbg.__wbg_removeAttribute_c80e298b60689065 = function() { return handleError(function (arg0, arg1, arg2) {
- getObject(arg0).removeAttribute(getStringFromWasm0(arg1, arg2));
- }, arguments) };
- imports.wbg.__wbg_deleteProperty_9f9c4a61cc6cbf09 = function() { return handleError(function (arg0, arg1) {
- const ret = Reflect.deleteProperty(getObject(arg0), getObject(arg1));
- return ret;
- }, arguments) };
- imports.wbg.__wbg_setinnerHTML_ea7e3c6a3c4790c6 = function(arg0, arg1, arg2) {
- getObject(arg0).innerHTML = getStringFromWasm0(arg1, arg2);
- };
- imports.wbg.__wbg_content_ccb8ca407a305b95 = function(arg0) {
- const ret = getObject(arg0).content;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_cloneNode_6aee15a370b0878f = function() { return handleError(function (arg0, arg1) {
- const ret = getObject(arg0).cloneNode(arg1 !== 0);
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_createElementNS_78308ee7091c53f7 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
- const ret = getObject(arg0).createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_createTextNode_8bce33cf33bf8f6e = function(arg0, arg1, arg2) {
- const ret = getObject(arg0).createTextNode(getStringFromWasm0(arg1, arg2));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_cloneNode_629a1b180e91c467 = function() { return handleError(function (arg0) {
- const ret = getObject(arg0).cloneNode();
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_insertBefore_5830cdd4d29c3830 = function() { return handleError(function (arg0, arg1, arg2) {
- const ret = getObject(arg0).insertBefore(getObject(arg1), getObject(arg2));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_instanceof_Element_cc034878d52a64fa = function(arg0) {
- let result;
- try {
- result = getObject(arg0) instanceof Element;
- } catch (_) {
- result = false;
- }
- const ret = result;
- return ret;
- };
- imports.wbg.__wbg_toString_e17a6671146f47c1 = function(arg0) {
- const ret = getObject(arg0).toString();
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_read_e48a676fb81ea800 = function(arg0) {
- const ret = getObject(arg0).read();
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_done_510de141aaf69a99 = function(arg0) {
- const ret = getObject(arg0).done;
- return ret;
- };
- imports.wbg.__wbg_value_3ef4965e9c7085be = function(arg0) {
- const ret = getObject(arg0).value;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_new_e27c93803e1acc42 = function() { return handleError(function () {
- const ret = new Headers();
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_setmethod_dc68a742c2db5c6a = function(arg0, arg1, arg2) {
- getObject(arg0).method = getStringFromWasm0(arg1, arg2);
- };
- imports.wbg.__wbg_setheaders_be10a5ab566fd06f = function(arg0, arg1) {
- getObject(arg0).headers = getObject(arg1);
- };
- imports.wbg.__wbg_setbody_734cb3d7ee8e6e96 = function(arg0, arg1) {
- getObject(arg0).body = getObject(arg1);
- };
- imports.wbg.__wbg_setcredentials_2b67800db3f7b621 = function(arg0, arg1) {
- getObject(arg0).credentials = ["omit","same-origin","include",][arg1];
- };
- imports.wbg.__wbg_newwithstrandinit_a31c69e4cc337183 = function() { return handleError(function (arg0, arg1, arg2) {
- const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_setcache_c75a0b02602d486b = function(arg0, arg1) {
- getObject(arg0).cache = ["default","no-store","reload","no-cache","force-cache","only-if-cached",][arg1];
- };
- imports.wbg.__wbg_setintegrity_54bb7edb99d51873 = function(arg0, arg1, arg2) {
- getObject(arg0).integrity = getStringFromWasm0(arg1, arg2);
- };
- imports.wbg.__wbg_setmode_a781aae2bd3df202 = function(arg0, arg1) {
- getObject(arg0).mode = ["same-origin","no-cors","cors","navigate",][arg1];
- };
- imports.wbg.__wbg_setredirect_e33e7153977bbd2b = function(arg0, arg1) {
- getObject(arg0).redirect = ["follow","error","manual",][arg1];
- };
- imports.wbg.__wbg_setreferrer_f7fd8739611aba35 = function(arg0, arg1, arg2) {
- getObject(arg0).referrer = getStringFromWasm0(arg1, arg2);
- };
- imports.wbg.__wbg_setreferrerpolicy_b3db9b9b13557412 = function(arg0, arg1) {
- getObject(arg0).referrerPolicy = ["","no-referrer","no-referrer-when-downgrade","origin","origin-when-cross-origin","unsafe-url","same-origin","strict-origin","strict-origin-when-cross-origin",][arg1];
- };
- imports.wbg.__wbg_has_4bfbc01db38743f7 = function() { return handleError(function (arg0, arg1) {
- const ret = Reflect.has(getObject(arg0), getObject(arg1));
- return ret;
- }, arguments) };
- imports.wbg.__wbg_fetch_38acb46318f7afdb = function(arg0, arg1) {
- const ret = fetch(getObject(arg0), getObject(arg1));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_fetch_cb9aad23a79a40a1 = function(arg0, arg1, arg2) {
- const ret = getObject(arg0).fetch(getObject(arg1), getObject(arg2));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_status_ae8de515694c5c7c = function(arg0) {
- const ret = getObject(arg0).status;
- return ret;
- };
- imports.wbg.__wbg_headers_5e283e8345689121 = function(arg0) {
- const ret = getObject(arg0).headers;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_body_40b0ed27714d00ce = function(arg0) {
- const ret = getObject(arg0).body;
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
- };
- imports.wbg.__wbg_getReader_584431a478f1339c = function() { return handleError(function (arg0) {
- const ret = getObject(arg0).getReader();
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_cancel_97a2795574a4f522 = function(arg0) {
- const ret = getObject(arg0).cancel();
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_catch_a279b1da46d132d8 = function(arg0, arg1) {
- const ret = getObject(arg0).catch(getObject(arg1));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_isSafeInteger_7f1ed56200d90674 = function(arg0) {
- const ret = Number.isSafeInteger(getObject(arg0));
- return ret;
- };
- imports.wbg.__wbindgen_as_number = function(arg0) {
- const ret = +getObject(arg0);
- return ret;
- };
- imports.wbg.__wbindgen_in = function(arg0, arg1) {
- const ret = getObject(arg0) in getObject(arg1);
- return ret;
- };
- imports.wbg.__wbg_getwithrefkey_edc2c8960f0f1191 = function(arg0, arg1) {
- const ret = getObject(arg0)[getObject(arg1)];
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_entries_7a0e06255456ebcd = function(arg0) {
- const ret = Object.entries(getObject(arg0));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_String_b9412f8799faab3e = function(arg0, arg1) {
- const ret = String(getObject(arg1));
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbindgen_number_new = function(arg0) {
- const ret = arg0;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_new_a220cf903aa02ca2 = function() {
- const ret = new Array();
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_set_673dda6c73d19609 = function(arg0, arg1, arg2) {
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
- };
- imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
- const ret = BigInt.asUintN(64, arg0);
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_getSecret20ViewingKey_8effe2b7d89e78d6 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
- const ret = window.keplr.getSecret20ViewingKey(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_getEnigmaUtils_187c1795176c7ce9 = function(arg0, arg1) {
- const ret = window.keplr.getEnigmaUtils(getStringFromWasm0(arg0, arg1));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_decrypt_42a52edc920f6e7a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
- const ret = getObject(arg0).decrypt(getArrayU8FromWasm0(arg1, arg2), getArrayU8FromWasm0(arg3, arg4));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_message_e18bae0a0e2c097a = function(arg0) {
- const ret = getObject(arg0).message;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_encrypt_6f24c53d780be43b = function() { return handleError(function (arg0, arg1, arg2, arg3) {
- let deferred0_0;
- let deferred0_1;
- try {
- deferred0_0 = arg1;
- deferred0_1 = arg2;
- const ret = getObject(arg0).encrypt(getStringFromWasm0(arg1, arg2), takeObject(arg3));
- return addHeapObject(ret);
- } finally {
- wasm.__wbindgen_export_6(deferred0_0, deferred0_1, 1);
- }
- }, arguments) };
- imports.wbg.__wbg_getKey_7380498f352a9580 = function() { return handleError(function (arg0, arg1) {
- const ret = window.keplr.getKey(getStringFromWasm0(arg0, arg1));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_setvalue_d953be6ed053da1b = function(arg0, arg1, arg2) {
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
- };
- imports.wbg.__wbg_getOfflineSignerOnlyAmino_d7a2490996f36c82 = function(arg0, arg1) {
- const ret = window.keplr.getOfflineSignerOnlyAmino(getStringFromWasm0(arg0, arg1));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_now_b7a162010a9e75b4 = function() {
- const ret = Date.now();
- return ret;
- };
- imports.wbg.__wbg_new_b85e72ed1bfd57f9 = function(arg0, arg1) {
- try {
- var state0 = {a: arg0, b: arg1};
- var cb0 = (arg0, arg1) => {
- const a = state0.a;
- state0.a = 0;
- try {
- return __wbg_adapter_149(a, state0.b, arg0, arg1);
- } finally {
- state0.a = a;
- }
- };
- const ret = new Promise(cb0);
- return addHeapObject(ret);
- } finally {
- state0.a = state0.b = 0;
- }
- };
- imports.wbg.__wbg_setTimeout_73b734ca971c19f4 = function() { return handleError(function (arg0, arg1, arg2) {
- const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
- return ret;
- }, arguments) };
- imports.wbg.__wbg_signAmino_eb6d32542ce67a73 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
- let deferred0_0;
- let deferred0_1;
- try {
- deferred0_0 = arg1;
- deferred0_1 = arg2;
- const ret = getObject(arg0).signAmino(getStringFromWasm0(arg1, arg2), takeObject(arg3));
- return addHeapObject(ret);
- } finally {
- wasm.__wbindgen_export_6(deferred0_0, deferred0_1, 1);
- }
- }, arguments) };
- imports.wbg.__wbg_getAccounts_97006ab287fce38f = function() { return handleError(function (arg0) {
- const ret = getObject(arg0).getAccounts();
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_from_0791d740a9d37830 = function(arg0) {
- const ret = Array.from(getObject(arg0));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_enable_9547ad0f903dc6da = function() { return handleError(function (arg0, arg1) {
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
- wasm.__wbindgen_export_6(arg0, arg1 * 4, 4);
- const ret = window.keplr.enable(v0);
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_warn_2b3adb99ce26c314 = function(arg0) {
- console.warn(getObject(arg0));
- };
- imports.wbg.__wbindgen_throw = function(arg0, arg1) {
- throw new Error(getStringFromWasm0(arg0, arg1));
- };
- imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
- const ret = debugString(getObject(arg1));
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
- const obj = takeObject(arg0).original;
- if (obj.cnt-- == 1) {
- obj.a = 0;
- return true;
- }
- const ret = false;
- return ret;
- };
- imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) {
- const ret = getObject(arg0).then(getObject(arg1));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_queueMicrotask_12a30234db4045d3 = function(arg0) {
- queueMicrotask(getObject(arg0));
- };
- imports.wbg.__wbg_then_876bb3c633745cc6 = function(arg0, arg1, arg2) {
- const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_queueMicrotask_48421b3cc9052b68 = function(arg0) {
- const ret = getObject(arg0).queueMicrotask;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_resolve_570458cb99d56a43 = function(arg0) {
- const ret = Promise.resolve(getObject(arg0));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_byobRequest_b32c77640da946ac = function(arg0) {
- const ret = getObject(arg0).byobRequest;
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
- };
- imports.wbg.__wbg_view_2a901bda0727aeb3 = function(arg0) {
- const ret = getObject(arg0).view;
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
- };
- imports.wbg.__wbg_byteLength_850664ef28f3e42f = function(arg0) {
- const ret = getObject(arg0).byteLength;
- return ret;
- };
- imports.wbg.__wbg_close_aca7442e6619206b = function() { return handleError(function (arg0) {
- getObject(arg0).close();
- }, arguments) };
- imports.wbg.__wbg_new_796382978dfd4fb0 = function(arg0, arg1) {
- const ret = new Error(getStringFromWasm0(arg0, arg1));
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_buffer_0710d1b9dbe2eea6 = function(arg0) {
- const ret = getObject(arg0).buffer;
- return addHeapObject(ret);
- };
- imports.wbg.__wbg_byteOffset_ea14c35fa6de38cc = function(arg0) {
- const ret = getObject(arg0).byteOffset;
- return ret;
- };
- imports.wbg.__wbg_close_cef2400b120c9c73 = function() { return handleError(function (arg0) {
- getObject(arg0).close();
- }, arguments) };
- imports.wbg.__wbg_enqueue_6f3d433b5e457aea = function() { return handleError(function (arg0, arg1) {
- getObject(arg0).enqueue(getObject(arg1));
- }, arguments) };
- imports.wbg.__wbg_instanceof_Window_5012736c80a01584 = function(arg0) {
- let result;
- try {
- result = getObject(arg0) instanceof Window;
- } catch (_) {
- result = false;
- }
- const ret = result;
- return ret;
- };
- imports.wbg.__wbg_createElement_5921e9eb06b9ec89 = function() { return handleError(function (arg0, arg1, arg2) {
- const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_hasAttribute_a17d49194d050f19 = function(arg0, arg1, arg2) {
- const ret = getObject(arg0).hasAttribute(getStringFromWasm0(arg1, arg2));
- return ret;
- };
- imports.wbg.__wbg_target_b7cb1739bee70928 = function(arg0) {
- const ret = getObject(arg0).target;
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
- };
- imports.wbg.__wbg_addEventListener_e167f012cbedfa4e = function() { return handleError(function (arg0, arg1, arg2, arg3) {
- getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
- }, arguments) };
- imports.wbg.__wbg_removeEventListener_b6cef5ad085bea8f = function() { return handleError(function (arg0, arg1, arg2, arg3) {
- getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
- }, arguments) };
- imports.wbg.__wbg_append_f3a4426bb50622c5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
- getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
- }, arguments) };
- imports.wbg.__wbg_showModal_00bbe6a6a9bb2e03 = function() { return handleError(function (arg0) {
- getObject(arg0).showModal();
- }, arguments) };
- imports.wbg.__wbg_value_d4a95e7a0d390578 = function(arg0, arg1) {
- const ret = getObject(arg1).value;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbg_sethref_9d76f6c9356e9638 = function() { return handleError(function (arg0, arg1, arg2) {
- getObject(arg0).href = getStringFromWasm0(arg1, arg2);
- }, arguments) };
- imports.wbg.__wbg_origin_648082c4831a5be8 = function() { return handleError(function (arg0, arg1) {
- const ret = getObject(arg1).origin;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- }, arguments) };
- imports.wbg.__wbg_search_20c15d493b8602c5 = function() { return handleError(function (arg0, arg1) {
- const ret = getObject(arg1).search;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- }, arguments) };
- imports.wbg.__wbg_hash_313d7fdf42f6e7d3 = function() { return handleError(function (arg0, arg1) {
- const ret = getObject(arg1).hash;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- }, arguments) };
- imports.wbg.__wbg_parentNode_3e06cf96d7693d57 = function(arg0) {
- const ret = getObject(arg0).parentNode;
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
- };
- imports.wbg.__wbg_setnodeValue_5e8ffb02184e8759 = function(arg0, arg1, arg2) {
- getObject(arg0).nodeValue = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2);
- };
- imports.wbg.__wbg_respond_a799bab31a44f2d7 = function() { return handleError(function (arg0, arg1) {
- getObject(arg0).respond(arg1 >>> 0);
- }, arguments) };
- imports.wbg.__wbg_releaseLock_1d2d93e9dc8d76e2 = function(arg0) {
- getObject(arg0).releaseLock();
- };
- imports.wbg.__wbg_href_f1d20018a97415a0 = function(arg0, arg1) {
- const ret = getObject(arg1).href;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbg_origin_b1cdab9cfa04b734 = function(arg0, arg1) {
- const ret = getObject(arg1).origin;
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
- const len1 = WASM_VECTOR_LEN;
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
- };
- imports.wbg.__wbg_newwithbase_ba5e3790a41efd02 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
- const ret = new URL(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
- return addHeapObject(ret);
- }, arguments) };
- imports.wbg.__wbg_alert_c1d5ffe256491b29 = function() { return handleError(function (arg0, arg1, arg2) {
- getObject(arg0).alert(getStringFromWasm0(arg1, arg2));
- }, arguments) };
- imports.wbg.__wbindgen_closure_wrapper1856 = function(arg0, arg1, arg2) {
- const ret = makeMutClosure(arg0, arg1, 193, __wbg_adapter_48);
- return addHeapObject(ret);
- };
- imports.wbg.__wbindgen_closure_wrapper1859 = function(arg0, arg1, arg2) {
- const ret = makeClosure(arg0, arg1, 224, __wbg_adapter_51);
- return addHeapObject(ret);
- };
- imports.wbg.__wbindgen_closure_wrapper2863 = function(arg0, arg1, arg2) {
- const ret = makeMutClosure(arg0, arg1, 193, __wbg_adapter_54);
- return addHeapObject(ret);
- };
- imports.wbg.__wbindgen_closure_wrapper3665 = function(arg0, arg1, arg2) {
- const ret = makeMutClosure(arg0, arg1, 408, __wbg_adapter_48);
- return addHeapObject(ret);
- };
- imports.wbg.__wbindgen_closure_wrapper5311 = function(arg0, arg1, arg2) {
- const ret = makeMutClosure(arg0, arg1, 636, __wbg_adapter_48);
- return addHeapObject(ret);
- };
-
- return imports;
-}
-
-function __wbg_init_memory(imports, memory) {
-
-}
-
-function __wbg_finalize_init(instance, module) {
- wasm = instance.exports;
- __wbg_init.__wbindgen_wasm_module = module;
- cachedDataViewMemory0 = null;
- cachedUint8ArrayMemory0 = null;
-
-
- wasm.__wbindgen_start();
- return wasm;
-}
-
-function initSync(module) {
- if (wasm !== undefined) return wasm;
-
-
- if (typeof module !== 'undefined' && Object.getPrototypeOf(module) === Object.prototype)
- ({module} = module)
- else
- console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
-
- const imports = __wbg_get_imports();
-
- __wbg_init_memory(imports);
-
- if (!(module instanceof WebAssembly.Module)) {
- module = new WebAssembly.Module(module);
- }
-
- const instance = new WebAssembly.Instance(module, imports);
-
- return __wbg_finalize_init(instance, module);
-}
-
-async function __wbg_init(module_or_path) {
- if (wasm !== undefined) return wasm;
-
-
- if (typeof module_or_path !== 'undefined' && Object.getPrototypeOf(module_or_path) === Object.prototype)
- ({module_or_path} = module_or_path)
- else
- console.warn('using deprecated parameters for the initialization function; pass a single object instead')
-
- if (typeof module_or_path === 'undefined') {
- module_or_path = new URL('trader-leptos_bg.wasm', import.meta.url);
- }
- const imports = __wbg_get_imports();
-
- if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
- module_or_path = fetch(module_or_path);
- }
-
- __wbg_init_memory(imports);
-
- const { instance, module } = await __wbg_load(await module_or_path, imports);
-
- return __wbg_finalize_init(instance, module);
-}
-
-export { initSync };
-export default __wbg_init;
diff --git a/dist/trader-leptos-aba9e4dcc44a5878_bg.wasm b/dist/trader-leptos-aba9e4dcc44a5878_bg.wasm
deleted file mode 100644
index 8b9f61b..0000000
Binary files a/dist/trader-leptos-aba9e4dcc44a5878_bg.wasm and /dev/null differ